Internal: the property decoder. More...
Public Member Functions | |
MWAWPropertyHandlerDecoder (MWAWPropertyHandler *hdl=0L) | |
constructor given a MWAWPropertyHandler More... | |
bool | readData (WPXBinaryData const &encoded) |
tries to read the data More... | |
Protected Member Functions | |
bool | readStartElement (WPXInputStream &input) |
reads an startElement More... | |
bool | readStartElementWithVector (WPXInputStream &input) |
reads an startElement More... | |
bool | readStartElementWithBinary (WPXInputStream &input) |
reads an startElement More... | |
bool | readInsertElement (WPXInputStream &input) |
reads an simple element More... | |
bool | readEndElement (WPXInputStream &input) |
reads an endElement More... | |
bool | readCharacters (WPXInputStream &input) |
reads a set of characters More... | |
bool | readPropertyListVector (WPXInputStream &input, WPXPropertyListVector &vect) |
low level: reads a property vector: number of properties list followed by list of properties list More... | |
bool | readPropertyList (WPXInputStream &input, WPXPropertyList &lists) |
low level: reads a property list: number of properties followed by list of properties More... | |
bool | readProperty (WPXInputStream &input, WPXPropertyList &list) |
low level: reads a property and its value, adds it to list More... | |
bool | readString (WPXInputStream &input, std::string &s) |
low level: reads a string : size and string More... | |
Static Protected Member Functions | |
static bool | readInteger (WPXInputStream &input, int &val) |
low level: reads an integer value More... | |
static bool | readLong (WPXInputStream &input, long &val) |
low level: reads an long value More... | |
Protected Attributes | |
MWAWPropertyHandler * | m_handler |
the streamfile More... | |
std::stack< std::string > | m_openTag |
the list of open tags More... | |
Private Member Functions | |
MWAWPropertyHandlerDecoder (MWAWPropertyHandlerDecoder const &orig) | |
MWAWPropertyHandlerDecoder & | operator= (MWAWPropertyHandlerDecoder const &) |
Internal: the property decoder.
In order to be read by writerperfect, we must code document consisting in tag and propertyList in an intermediar format:
|
inline |
constructor given a MWAWPropertyHandler
|
private |
|
private |
|
inlineprotected |
reads a set of characters
|
inline |
tries to read the data
Referenced by MWAWPropertyHandler::checkData(), and MWAWPropertyHandler::readData().
|
inlineprotected |
reads an endElement
|
inlineprotected |
reads an simple element
|
inlinestaticprotected |
low level: reads an integer value
|
inlinestaticprotected |
low level: reads an long value
|
inlineprotected |
low level: reads a property and its value, adds it to list
|
inlineprotected |
low level: reads a property list: number of properties followed by list of properties
|
inlineprotected |
low level: reads a property vector: number of properties list followed by list of properties list
|
inlineprotected |
reads an startElement
|
inlineprotected |
reads an startElement
|
inlineprotected |
reads an startElement
|
inlineprotected |
low level: reads a string : size and string
|
protected |
the streamfile
|
protected |
the list of open tags