You've already forked lazarus-ccr
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
41 lines
2.1 KiB
PHP
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;
|
|
|