|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefPrintHandlerin cef_print_handler.h
Implement this interface to handle printing on Linux. Each browser will have only one print job in progress at a time. The methods of this class will be called on the browser process UI thread.
Method Summary | |
virtual CefSize |
GetPdfPaperSize( int device_units_per_inch )
Return the PDF paper size in device units. |
virtual bool |
OnPrintDialog( CefRefPtr< CefBrowser > browser, bool has_selection, CefRefPtr< CefPrintDialogCallback > callback )= 0
Show the print dialog. |
virtual bool |
OnPrintJob( CefRefPtr< CefBrowser > browser, const CefString& document_name, const CefString& pdf_file_path, CefRefPtr< CefPrintJobCallback > callback )= 0
Send the print job to the printer. |
virtual void |
OnPrintReset( CefRefPtr< CefBrowser > browser )= 0
Reset client state related to printing. |
virtual void |
OnPrintSettings( CefRefPtr< CefBrowser > browser, CefRefPtr< CefPrintSettings > settings, bool get_defaults )= 0
Synchronize |settings| with client state. |
virtual void |
OnPrintStart( CefRefPtr< CefBrowser > browser )= 0
Called when printing has started for the specified |browser|. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual CefSize GetPdfPaperSize( int device_units_per_inch );
public virtual bool OnPrintDialog( CefRefPtr< CefBrowser > browser, bool has_selection, CefRefPtr< CefPrintDialogCallback > callback )= 0;
public virtual bool OnPrintJob( CefRefPtr< CefBrowser > browser, const CefString& document_name, const CefString& pdf_file_path, CefRefPtr< CefPrintJobCallback > callback )= 0;
public virtual void OnPrintReset( CefRefPtr< CefBrowser > browser )= 0;
public virtual void OnPrintSettings( CefRefPtr< CefBrowser > browser, CefRefPtr< CefPrintSettings > settings, bool get_defaults )= 0;
public virtual void OnPrintStart( CefRefPtr< CefBrowser > browser )= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |