Files
lazarus-ccr/components/geckoport/version2/gecko10/nsiwebbrowserprint.inc
loesje_ 625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00

41 lines
2.1 KiB
PHP

type
nsIWebBrowserPrint = interface(nsISupports)
['{9A7CA4B0-FBBA-11d4-A869-00105A183419}']
function GetglobalPrintSettings(): nsIPrintSettings; safecall;
property globalPrintSettings : nsIPrintSettings read GetglobalPrintSettings;
function GetcurrentPrintSettings(): nsIPrintSettings; safecall;
property currentPrintSettings : nsIPrintSettings read GetcurrentPrintSettings;
function GetcurrentChildDOMWindow(): nsIDOMWindow; safecall;
property currentChildDOMWindow : nsIDOMWindow read GetcurrentChildDOMWindow;
function GetdoingPrint(): longbool; safecall;
property doingPrint : longbool read GetdoingPrint;
function GetdoingPrintPreview(): longbool; safecall;
property doingPrintPreview : longbool read GetdoingPrintPreview;
function GetisFramesetDocument(): longbool; safecall;
property isFramesetDocument : longbool read GetisFramesetDocument;
function GetisFramesetFrameSelected(): longbool; safecall;
property isFramesetFrameSelected : longbool read GetisFramesetFrameSelected;
function GetisIFrameSelected(): longbool; safecall;
property isIFrameSelected : longbool read GetisIFrameSelected;
function GetisRangeSelection(): longbool; safecall;
property isRangeSelection : longbool read GetisRangeSelection;
function GetprintPreviewNumPages(): idllong; safecall;
property printPreviewNumPages : idllong read GetprintPreviewNumPages;
procedure print(aThePrintSettings: nsIPrintSettings; aWPListener: nsIWebProgressListener); safecall;
procedure printPreview(aThePrintSettings: nsIPrintSettings; aChildDOMWin: nsIDOMWindow; aWPListener: nsIWebProgressListener); safecall;
procedure printPreviewNavigate(aNavType: idlshort; aPageNum: idllong); safecall;
procedure cancel(); safecall;
procedure enumerateDocumentNames(out aCount: PRUint32; out aResult: PWideChar); safecall;
procedure exitPrintPreview(); safecall;
end;
const
nsIWebBrowserPrint_PRINTPREVIEW_GOTO_PAGENUM=0;
nsIWebBrowserPrint_PRINTPREVIEW_PREV_PAGE=1;
nsIWebBrowserPrint_PRINTPREVIEW_NEXT_PAGE=2;
nsIWebBrowserPrint_PRINTPREVIEW_HOME=3;
nsIWebBrowserPrint_PRINTPREVIEW_END=4;