the main class to read/. More...
#include <StarFileManager.hxx>
Public Member Functions | |
| StarFileManager () | |
| constructor | |
| virtual | ~StarFileManager () |
| destructor | |
Static Public Member Functions | |
| static void | checkUnparsed (STOFFInputStreamPtr input, shared_ptr< STOFFOLEParser > oleParser, char const *password) |
| low level | |
| static bool | readOLEDirectory (shared_ptr< STOFFOLEParser > oleParser, shared_ptr< STOFFOLEParser::OleDirectory > ole, STOFFEmbeddedObject &image) |
| try to read a Ole directory | |
| static bool | readImageDocument (STOFFInputStreamPtr input, librevenge::RVNGBinaryData &data, std::string const &fileName) |
| try to read a image zone: "StarImageDocument" or "StarImageDocument 4.0 | |
| static bool | readMathDocument (STOFFInputStreamPtr input, std::string const &fileName, StarObject &doc) |
| try to read a math zone: "StarMathDocument" (v 3 or v4) .sdf | |
| static bool | readEmbeddedPicture (shared_ptr< STOFFOLEParser > oleParser, std::string const &fileName, STOFFEmbeddedObject &image) |
| try to read a embedded picture file: Embedded/PicXXXXXX | |
| static bool | readEmbeddedPicture (STOFFInputStreamPtr input, librevenge::RVNGBinaryData &data, std::string &dataType, std::string const &fileName) |
| try to read a embedded picture file: Embedded/PicXXXXXX | |
| static bool | readOleObject (STOFFInputStreamPtr input, librevenge::RVNGBinaryData &data, std::string const &fileName) |
| try to read a "Ole-Object" zone | |
| static bool | readOutPlaceObject (STOFFInputStreamPtr input, libstoff::DebugFile &ascii) |
| try to read the "OutPlace Object" | |
| static bool | readJobSetUp (StarZone &zone, bool usePrinterLen) |
| try to read a printer zone | |
| static bool | readFont (StarZone &zone) |
| try to read a font | |
| static bool | readSVGDI (StarZone &zone) |
| try to read a SVGDI object | |
Private Attributes | |
| shared_ptr < StarFileManagerInternal::State > | m_state |
| the state | |
the main class to read/.
. some basic StarOffice OLEs
constructor
| StarFileManager::~StarFileManager | ( | ) | [virtual] |
destructor
| void StarFileManager::checkUnparsed | ( | STOFFInputStreamPtr | input, |
| shared_ptr< STOFFOLEParser > | oleParser, | ||
| char const * | password | ||
| ) | [static] |
low level
check for unparsed zone
Referenced by SDAParser::parse(), SDWParser::parse(), and SDCParser::parse().
| bool StarFileManager::readEmbeddedPicture | ( | shared_ptr< STOFFOLEParser > | oleParser, |
| std::string const & | fileName, | ||
| STOFFEmbeddedObject & | image | ||
| ) | [static] |
try to read a embedded picture file: Embedded/PicXXXXXX
Referenced by checkUnparsed(), SDXParser::createZones(), and StarObjectTextInternal::GraphZone::send().
| bool StarFileManager::readEmbeddedPicture | ( | STOFFInputStreamPtr | input, |
| librevenge::RVNGBinaryData & | data, | ||
| std::string & | dataType, | ||
| std::string const & | fileName | ||
| ) | [static] |
try to read a embedded picture file: Embedded/PicXXXXXX
| bool StarFileManager::readFont | ( | StarZone & | zone | ) | [static] |
try to read a font
Referenced by StarFormatManager::readNumberFormat().
| bool StarFileManager::readImageDocument | ( | STOFFInputStreamPtr | input, |
| librevenge::RVNGBinaryData & | data, | ||
| std::string const & | fileName | ||
| ) | [static] |
try to read a image zone: "StarImageDocument" or "StarImageDocument 4.0
Referenced by checkUnparsed(), SDXParser::createZones(), and readOLEDirectory().
| bool StarFileManager::readJobSetUp | ( | StarZone & | zone, |
| bool | usePrinterLen | ||
| ) | [static] |
try to read a printer zone
Referenced by StarObjectSpreadsheet::readCalcDocument(), StarObjectChart::readChartDocument(), StarObjectDraw::readPresentationData(), and StarObjectText::readSWJobSetUp().
| bool StarFileManager::readMathDocument | ( | STOFFInputStreamPtr | input, |
| std::string const & | fileName, | ||
| StarObject & | doc | ||
| ) | [static] |
try to read a math zone: "StarMathDocument" (v 3 or v4) .sdf
Referenced by checkUnparsed(), SDXParser::createZones(), and readOLEDirectory().
| bool StarFileManager::readOLEDirectory | ( | shared_ptr< STOFFOLEParser > | oleParser, |
| shared_ptr< STOFFOLEParser::OleDirectory > | ole, | ||
| STOFFEmbeddedObject & | image | ||
| ) | [static] |
try to read a Ole directory
Referenced by StarObjectSmallGraphicInternal::SdrGraphicOLE::send().
| bool StarFileManager::readOleObject | ( | STOFFInputStreamPtr | input, |
| librevenge::RVNGBinaryData & | data, | ||
| std::string const & | fileName | ||
| ) | [static] |
try to read a "Ole-Object" zone
Referenced by checkUnparsed(), SDXParser::createZones(), and readOLEDirectory().
| bool StarFileManager::readOutPlaceObject | ( | STOFFInputStreamPtr | input, |
| libstoff::DebugFile & | ascii | ||
| ) | [static] |
try to read the "OutPlace Object"
Referenced by checkUnparsed(), SDXParser::createZones(), and readOLEDirectory().
| bool StarFileManager::readSVGDI | ( | StarZone & | zone | ) | [static] |
try to read a SVGDI object
Referenced by StarGraphicStruct::StarGraphic::read(), readEmbeddedPicture(), and StarObject::readSfxPreview().
shared_ptr<StarFileManagerInternal::State> StarFileManager::m_state [private] |
the state