// Purpose: interface of wxRichTextXMLHandler
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
/**
Constructor.
*/
- wxRichTextXMLHandler(const wxString& name = wxT("XML"),
- const wxString& ext = wxT("xml"),
- int type = wxRICHTEXT_TYPE_XML) const;
+ wxRichTextXMLHandler(const wxString& name = "XML",
+ const wxString& ext = "xml",
+ int type = wxRICHTEXT_TYPE_XML);
/**
Returns @true.
*/
wxString CreateStyle(const wxTextAttr& attr, bool isPara = false);
- /**
- Loads buffer context from the given stream.
- */
- bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
-
- /**
- Saves buffer context to the given stream.
- */
- bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
-
/**
Recursively exports an object to the stream.
*/
Recursively imports an object.
*/
bool ImportXML(wxRichTextBuffer* buffer, wxXmlNode* node);
+
+protected:
+
+ /**
+ Loads buffer context from the given stream.
+ */
+ virtual bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
+
+ /**
+ Saves buffer context to the given stream.
+ */
+ virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
};