STOFFOLEParser::OleContent Struct Reference

structure use to store an object content More...

#include <STOFFOLEParser.hxx>

List of all members.

Public Member Functions

 OleContent (std::string const &dir, std::string const &base)
 constructor
std::string getBaseName ()
 returns the base name
std::string getOleName () const
 returns the ole name
bool isParsed () const
 returns true if the object if parsed
void setParsed (bool flag=true)
 sets the parsed flag
STOFFPosition const & getPosition () const
 return the image position
void setPosition (STOFFPosition const &pos)
 set the image position
bool getImageData (librevenge::RVNGBinaryData &data, std::string &type) const
 returns the image data
void setImageData (librevenge::RVNGBinaryData const &data, std::string const &type)
 sets the image data

Protected Attributes

std::string m_dir
 the directory
std::string m_base
 the base name
bool m_isParsed
 true if the data has been parsed
STOFFPosition m_position
 the image position (if known)
librevenge::RVNGBinaryData m_imageData
 the image content ( if known )
std::string m_imageType
 the image type ( if known)

Detailed Description

structure use to store an object content


Constructor & Destructor Documentation

STOFFOLEParser::OleContent::OleContent ( std::string const &  dir,
std::string const &  base 
) [inline]

constructor


Member Function Documentation

bool STOFFOLEParser::OleContent::getImageData ( librevenge::RVNGBinaryData &  data,
std::string &  type 
) const [inline]

returns the image data

return the image position

bool STOFFOLEParser::OleContent::isParsed ( ) const [inline]

returns true if the object if parsed

Referenced by StarObject::parse().

void STOFFOLEParser::OleContent::setImageData ( librevenge::RVNGBinaryData const &  data,
std::string const &  type 
) [inline]

Member Data Documentation

std::string STOFFOLEParser::OleContent::m_base [protected]

the base name

Referenced by getBaseName(), and getOleName().

std::string STOFFOLEParser::OleContent::m_dir [protected]

the directory

Referenced by getOleName().

librevenge::RVNGBinaryData STOFFOLEParser::OleContent::m_imageData [protected]

the image content ( if known )

Referenced by getImageData(), and setImageData().

std::string STOFFOLEParser::OleContent::m_imageType [protected]

the image type ( if known)

Referenced by getImageData(), and setImageData().

true if the data has been parsed

Referenced by isParsed(), and setParsed().

the image position (if known)

Referenced by getPosition(), and setPosition().


The documentation for this struct was generated from the following file: