34 #ifndef MWAW_PROPERTY_HANDLER 35 # define MWAW_PROPERTY_HANDLER 53 virtual void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList) = 0;
55 virtual void characters(librevenge::RVNGString
const &sCharacters) = 0;
58 bool checkData(librevenge::RVNGBinaryData
const &encoded);
60 bool readData(librevenge::RVNGBinaryData
const &encoded);
90 void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList);
92 void characters(librevenge::RVNGString
const &sCharacters);
94 bool getData(librevenge::RVNGBinaryData &data);
98 void writeLong(
long val);
100 void writeString(
const librevenge::RVNGString &name);
102 void writeProperty(
const char *key,
const librevenge::RVNGProperty &prop);
104 void writePropertyList(
const librevenge::RVNGPropertyList &prop);
106 void writePropertyListVector(
const librevenge::RVNGPropertyListVector &vect);
bool checkData(librevenge::RVNGBinaryData const &encoded)
checks a encoded librevenge::RVNGBinaryData created by MWAWPropertyHandlerEncoder ...
Definition: MWAWPropertyHandler.cxx:366
virtual ~MWAWPropertyHandler()
destructor
Definition: MWAWPropertyHandler.hxx:48
write in librevenge::RVNGBinaryData a list of tags/and properties
Definition: MWAWPropertyHandler.hxx:81
virtual void characters(librevenge::RVNGString const &sCharacters)=0
writes a list of characters
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:372
std::stringstream m_f
the streamfile
Definition: MWAWPropertyHandler.hxx:109
a generic property handler
Definition: MWAWPropertyHandler.hxx:42