1) Enables the PageSeq frame to specify the "gap" of gray space around

it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
2002-02-14 23:18:09 +00:00
parent e206b014b9
commit 1d1f95e7c0
10 changed files with 172 additions and 48 deletions

View File

@@ -98,6 +98,11 @@ interface nsIWebBrowserPrint : nsISupports
*/
readonly attribute boolean isFramesetDocument;
/**
* This returns the total number of pages for the Print Preview
*/
readonly attribute long printPreviewNumPages;
/**
* Print the specified DOM window
*