15 #ifndef _WX_CANVASXMLIO_H_
16 #define _WX_CANVASXMLIO_H_
18 #include "a2dprivate.h"
20 #if wxART2D_USE_XMLPARSE
23 #include <wx/string.h>
25 #if wxCHECK_VERSION(2, 5, 3)
26 #include <wx/sstream.h>
113 bool CanSave(
const wxObject* obj = NULL ) {
return true; }
123 void WriteCvgEndDocument();
133 #endif //wxART2D_USE_CVGIO
135 #endif // wxART2D_USE_XMLPARSE
bool CanSave(const wxObject *obj=NULL)
this handler can also save as CVG
virtual bool Load(a2dDocumentInputStream &stream, wxObject *doc)
load a complete document
a2dDrawing * m_drawing
the document to store/load the data found into
wxOutputStream a2dDocumentOutputStream
output stream based wxStreams
Input and output handler for the XmlSer format.
The base class for all drawable objects in a a2dCanvasDocument.
a2dCanvasObject is the base class for Canvas Objects.
output handler for the CVG format.
XML I/O classes which is Pull parser based for reading XML files.
wxStringInputStream a2dDocumentStringInputStream
string input stream based wxStreams
Input and output handler for the XmlSer format.
bool CanLoad(a2dDocumentInputStream &stream, const wxObject *obj, wxClassInfo *docClassInfo=NULL)
test header of the file to see if its CVG format
functions for encoding characters in xml
wxInputStream a2dDocumentInputStream
input stream based wxStreams
Input handler for the CVG format.
Contain one drawing as hierarchical tree of a2dCanvasObject's.