X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e37870dd38374cce7ca0fe0fabf2070ebc8218b3..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/html/htmprint.h diff --git a/interface/wx/html/htmprint.h b/interface/wx/html/htmprint.h index ea13f16f99..62b011d369 100644 --- a/interface/wx/html/htmprint.h +++ b/interface/wx/html/htmprint.h @@ -2,8 +2,7 @@ // Name: html/htmprint.h // Purpose: interface of wxHtmlDCRenderer // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -190,6 +189,14 @@ public: wxHtmlEasyPrinting(const wxString& name = "Printing", wxWindow* parentWindow = NULL); + /** + Returns the current name being used for preview frames and setup + dialogs. + + @since 2.8.11 / 2.9.1 + */ + const wxString& GetName() const; + /** Returns a pointer to wxPageSetupDialogData instance used by this class. You can set its parameters (via SetXXXX methods). @@ -264,6 +271,13 @@ public: void SetFonts(const wxString& normal_face, const wxString& fixed_face, const int* sizes = NULL); + /** + Sets the name used for preview frames and setup dialogs. + + @since 2.8.11 / 2.9.1 + */ + void SetName(const wxString& name); + /** Sets default font sizes and/or default font size. See wxHtmlDCRenderer::SetStandardFonts for detailed description. @@ -333,6 +347,12 @@ private: }; +enum { + wxPAGE_ODD, + wxPAGE_EVEN, + wxPAGE_ALL +}; + /** @class wxHtmlPrintout