write in WPXBinaryData a list of tags/and properties More...
#include <MWAWPropertyHandler.hxx>
Public Member Functions | |
MWAWPropertyHandlerEncoder () | |
constructor More... | |
void | startElement (const char *psName, const WPXPropertyList &xPropList) |
starts an element More... | |
void | endElement (const char *psName) |
ends an element More... | |
void | characters (std::string const &sCharacters) |
writes a list of characters More... | |
bool | getData (WPXBinaryData &data) |
retrieves the data More... | |
Protected Member Functions | |
void | writeString (const char *name) |
adds a string : size and string More... | |
void | writeInteger (int val) |
adds an integer value in f More... | |
Protected Attributes | |
std::stringstream | m_f |
the streamfile More... | |
write in WPXBinaryData a list of tags/and properties
In order to be read by writerperfect, we must code document consisting in tag and propertyList in an intermediar format:
MWAWPropertyHandlerEncoder::MWAWPropertyHandlerEncoder | ( | ) |
constructor
void MWAWPropertyHandlerEncoder::characters | ( | std::string const & | sCharacters) |
writes a list of characters
void MWAWPropertyHandlerEncoder::endElement | ( | const char * | psName) |
bool MWAWPropertyHandlerEncoder::getData | ( | WPXBinaryData & | data) |
retrieves the data
Referenced by MWAWPictLine::getODGBinary(), MWAWPictRectangle::getODGBinary(), MWAWPictCircle::getODGBinary(), MWAWPictArc::getODGBinary(), MWAWPictPath::getODGBinary(), and MWAWPictPolygon::getODGBinary().
void MWAWPropertyHandlerEncoder::startElement | ( | const char * | psName, |
const WPXPropertyList & | xPropList | ||
) |
|
protected |
adds an integer value in f
Referenced by writeString().
|
protected |
adds a string : size and string
Referenced by characters(), and endElement().
|
protected |
the streamfile
Referenced by characters(), endElement(), getData(), writeInteger(), and writeString().