]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextxml.h
Rename wxSTREAM_FILEEXTENSION to wxSTREAM_FILEEXT.
[wxWidgets.git] / include / wx / richtext / richtextxml.h
index 791e37e7980c6bf409d0ee8f24acf68b2ff63ae8..ef282fc67ef7fcbe77a4f583f5fc5457e044c948 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #include "wx/richtext/richtextbuffer.h"
+#include "wx/richtext/richtextstyles.h"
 
 #if wxUSE_RICHTEXT && wxUSE_XML
 
@@ -37,9 +38,11 @@ public:
 #if wxUSE_STREAMS
     /// Recursively export an object
     bool ExportXML(wxOutputStream& stream, wxMBConv* convMem, wxMBConv* convFile, wxRichTextObject& obj, int level);
+    bool ExportStyleDefinition(wxOutputStream& stream, wxMBConv* convMem, wxMBConv* convFile, wxRichTextStyleDefinition* def, int level);
 
     /// Recursively import an object
     bool ImportXML(wxRichTextBuffer* buffer, wxXmlNode* node);
+    bool ImportStyleDefinition(wxRichTextStyleSheet* sheet, wxXmlNode* node);
 
     /// Create style parameters
     wxString CreateStyle(const wxTextAttrEx& attr, bool isPara = false);