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 | readEndElement (WPXInputStream &input) |
| reads an endElement More... | |
| bool | readCharacters (WPXInputStream &input) |
| reads a set of characters 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... | |
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
|
inlineprotected |
reads an endElement
|
inlinestaticprotected |
low level: reads an integer value
|
inlineprotected |
low level: reads a property and its value, adds it to list
|
inlineprotected |
reads an startElement
|
inlineprotected |
low level: reads a string : size and string
|
protected |
the streamfile
|
protected |
the list of open tags