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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user