34 #ifndef STOFF_PROPERTY_HANDLER 35 # define STOFF_PROPERTY_HANDLER 54 virtual void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList) = 0;
56 virtual void characters(librevenge::RVNGString
const &sCharacters) = 0;
59 bool checkData(librevenge::RVNGBinaryData
const &encoded);
61 bool readData(librevenge::RVNGBinaryData
const &encoded);
91 void insertElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList);
93 void characters(librevenge::RVNGString
const &sCharacters);
95 bool getData(librevenge::RVNGBinaryData &data);
99 void writeLong(
long val);
101 void writeString(
const librevenge::RVNGString &name);
103 void writeProperty(
const char *key,
const librevenge::RVNGProperty &prop);
105 void writePropertyList(
const librevenge::RVNGPropertyList &prop);
107 void writePropertyListVector(
const librevenge::RVNGPropertyListVector &vect);
virtual ~STOFFPropertyHandler()
destructor
Definition: STOFFPropertyHandler.cxx:366
virtual void characters(librevenge::RVNGString const &sCharacters)=0
writes a list of characters
bool checkData(librevenge::RVNGBinaryData const &encoded)
checks a encoded librevenge::RVNGBinaryData created by STOFFPropertyHandlerEncoder ...
Definition: STOFFPropertyHandler.cxx:370
std::stringstream m_f
the streamfile
Definition: STOFFPropertyHandler.hxx:110
STOFFPropertyHandler()
constructor
Definition: STOFFPropertyHandler.hxx:47
virtual void insertElement(const char *psName)=0
inserts a simple element
write in librevenge::RVNGBinaryData a list of tags/and properties
Definition: STOFFPropertyHandler.hxx:82
bool readData(librevenge::RVNGBinaryData const &encoded)
reads a encoded librevenge::RVNGBinaryData created by STOFFPropertyHandlerEncoder ...
Definition: STOFFPropertyHandler.cxx:376
a generic property handler
Definition: STOFFPropertyHandler.hxx:43