34 #ifndef MWAW_PROPERTY_HANDLER 35 # define MWAW_PROPERTY_HANDLER 55 virtual void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList) = 0;
57 virtual void characters(librevenge::RVNGString
const &sCharacters) = 0;
60 bool checkData(librevenge::RVNGBinaryData
const &encoded);
62 bool readData(librevenge::RVNGBinaryData
const &encoded);
92 void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList);
94 void characters(librevenge::RVNGString
const &sCharacters);
96 bool getData(librevenge::RVNGBinaryData &data);
100 void writeLong(
long val);
102 void writeString(
const librevenge::RVNGString &name);
104 void writeProperty(
const char *key,
const librevenge::RVNGProperty &prop);
106 void writePropertyList(
const librevenge::RVNGPropertyList &prop);
108 void writePropertyListVector(
const librevenge::RVNGPropertyListVector &vect);
bool checkData(librevenge::RVNGBinaryData const &encoded)
checks a encoded librevenge::RVNGBinaryData created by MWAWPropertyHandlerEncoder ...
Definition: MWAWPropertyHandler.cxx:373
write in librevenge::RVNGBinaryData a list of tags/and properties
Definition: MWAWPropertyHandler.hxx:83
virtual void characters(librevenge::RVNGString const &sCharacters)=0
writes a list of characters
virtual ~MWAWPropertyHandler()
destructor
Definition: MWAWPropertyHandler.cxx:60
virtual void insertElement(const char *psName)=0
inserts a simple element
MWAWPropertyHandler()
constructor
Definition: MWAWPropertyHandler.hxx:46
bool readData(librevenge::RVNGBinaryData const &encoded)
reads a encoded librevenge::RVNGBinaryData created by MWAWPropertyHandlerEncoder
Definition: MWAWPropertyHandler.cxx:379
std::stringstream m_f
the streamfile
Definition: MWAWPropertyHandler.hxx:111
a generic property handler
Definition: MWAWPropertyHandler.hxx:42