#include <xmlpars.h>


Public Member Functions | |
| a2dIOHandlerCVGIn () | |
| Constructor. | |
| ~a2dIOHandlerCVGIn () | |
| Destructor. | |
| virtual bool | CanLoad (a2dDocumentInputStream &stream, const wxObject *obj=NULL, wxClassInfo *docClassInfo=NULL) |
| test header of the file to see if its CVG format | |
| bool | LoadLayers (a2dDocumentInputStream &stream, a2dLayers *layers) |
| load a layer definition from a CVG file. | |
| bool | Load (a2dDocumentStringInputStream &stream, a2dCanvasDocument *doc, a2dCanvasObject *parent) |
| reading a CVG document and add the contents as children to a given a2dCanvasObject parent. | |
Protected Attributes | |
| a2dCanvasDocument * | m_doc |
| the document to store/load the data found into | |
The CVG format is the native file format of wxArt2d. It's a XML format and each a2dCanvasObject is able to load its data from CVG. There's no specification of the CVG, please have a look into the DoLoad methods of the a2dCanvasObject derived classes to see details.
In general the following is done.
Definition at line 61 of file xmlpars.h.
| bool a2dIOHandlerCVGIn::Load | ( | a2dDocumentStringInputStream & | stream, | |
| a2dCanvasDocument * | doc, | |||
| a2dCanvasObject * | parent | |||
| ) |
reading a CVG document and add the contents as children to a given a2dCanvasObject parent.
This can be used to include a CVG document in an existing document. Also clipboard action might use this.
Definition at line 147 of file xmlpars.cpp.