X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e37870dd38374cce7ca0fe0fabf2070ebc8218b3..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/html/htmprint.h?ds=inline 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