// Purpose: interface of wxRichTextHTMLHandler
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
- wxRICHTEXT_HANDLER_NO_HEADER_FOOTER
Don't include header and footer tags (HTML, HEAD, BODY), so that the HTML
can be used as part of a larger document.
-
+ - wxRICHTEXT_HANDLER_USE_CSS
+ Use CSS where possible, otherwise use workarounds that will show in wxHtmlWindow.
@library{wxrichtext}
@category{richtext}
/**
Constructor.
*/
- wxRichTextHTMLHandler(const wxString& name = wxT("HTML"),
- const wxString& ext = wxT("html"),
+ wxRichTextHTMLHandler(const wxString& name = "HTML",
+ const wxString& ext = "html",
int type = wxRICHTEXT_TYPE_HTML);
/**
static bool DeleteTemporaryImages(int flags,
const wxArrayString& imageLocations);
- /**
- Saves the buffer content to the HTML stream.
- */
- virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
-
/**
Returns the mapping for converting point sizes to HTML font sizes.
*/
Sets the list of image locations generated by the last operation.
*/
void SetTemporaryImageLocations(const wxArrayString& locations);
+
+protected:
+ /**
+ Saves the buffer content to the HTML stream.
+ */
+ virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
};