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);
 
  101  void writeString(
const librevenge::RVNGString &name);
 
  103  void writeProperty(
const char *key, 
const librevenge::RVNGProperty &prop);
 
 
void insertElement(const char *psName)
inserts an element
Definition STOFFPropertyHandler.cxx:60
void writePropertyListVector(const librevenge::RVNGPropertyListVector &vect)
adds a property vector: a int: #vect followed by vect[0], vect[1], ...
Definition STOFFPropertyHandler.cxx:124
void writeString(const librevenge::RVNGString &name)
adds a string: size and string
Definition STOFFPropertyHandler.cxx:81
STOFFPropertyHandlerEncoder()
constructor
Definition STOFFPropertyHandler.cxx:55
void characters(librevenge::RVNGString const &sCharacters)
writes a list of characters
Definition STOFFPropertyHandler.cxx:74
void writeLong(long val)
adds a long value if f
Definition STOFFPropertyHandler.cxx:88
bool getData(librevenge::RVNGBinaryData &data)
retrieves the data
Definition STOFFPropertyHandler.cxx:131
void writeProperty(const char *key, const librevenge::RVNGProperty &prop)
adds a property: a string key, a string corresponding to value
Definition STOFFPropertyHandler.cxx:95
void writePropertyList(const librevenge::RVNGPropertyList &prop)
adds a property list: int #prop followed by the different properties
Definition STOFFPropertyHandler.cxx:105
std::stringstream m_f
the streamfile
Definition STOFFPropertyHandler.hxx:110
virtual void characters(librevenge::RVNGString const &sCharacters)=0
writes a list of characters
virtual ~STOFFPropertyHandler()
destructor
Definition STOFFPropertyHandler.cxx:359
bool readData(librevenge::RVNGBinaryData const &encoded)
reads a encoded librevenge::RVNGBinaryData created by STOFFPropertyHandlerEncoder
Definition STOFFPropertyHandler.cxx:369
bool checkData(librevenge::RVNGBinaryData const &encoded)
checks a encoded librevenge::RVNGBinaryData created by STOFFPropertyHandlerEncoder
Definition STOFFPropertyHandler.cxx:363
virtual void insertElement(const char *psName, const librevenge::RVNGPropertyList &xPropList)=0
inserts an element ( given a property list )
virtual void insertElement(const char *psName)=0
inserts a simple element
STOFFPropertyHandler()
constructor
Definition STOFFPropertyHandler.hxx:47