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:
@@ -883,6 +883,13 @@ PluginViewerImpl::GetIsFramesetDocument(PRBool *aIsFramesetDocument)
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/* readonly attribute long printPreviewNumPages; */
|
||||
NS_IMETHODIMP
|
||||
PluginViewerImpl::GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/* void exitPrintPreview (); */
|
||||
NS_IMETHODIMP
|
||||
PluginViewerImpl::ExitPrintPreview()
|
||||
|
||||
Reference in New Issue
Block a user