This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze. It adds several new attrs to the nsIWebBrowserPrint API and implments them in DocumentViewer. It also adds a new platform specific interface for PrintSettings that will be used when the "pluggable" dialog work gets checked in. Although these have been tested via BUg 115136, these little nto no risk now because no one is using them yet. Bug 132827 r=dcone sr=attinasi a=asa git-svn-id: svn://10.0.0.236/trunk@117396 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -141,6 +141,21 @@ interface nsIWebBrowserPrint : nsISupports
|
||||
*/
|
||||
readonly attribute boolean isFramesetDocument;
|
||||
|
||||
/**
|
||||
* This returns whether the current document is a frameset document
|
||||
*/
|
||||
readonly attribute boolean isFramesetFrameSelected;
|
||||
|
||||
/**
|
||||
* This returns whether there is an IFrame selected
|
||||
*/
|
||||
readonly attribute boolean isIFrameSelected;
|
||||
|
||||
/**
|
||||
* This returns whether there is a "range" selection
|
||||
*/
|
||||
readonly attribute boolean isRangeSelection;
|
||||
|
||||
/**
|
||||
* This returns the total number of pages for the Print Preview
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user