68 StarObject(
char const *passwd, std::shared_ptr<STOFFOLEParser> &oleParser, std::shared_ptr<STOFFOLEParser::OleDirectory> &directory);
111 std::shared_ptr<StarItemPool>
getCurrentPool(
bool onlyInside=
true);
148 std::shared_ptr<StarObjectInternal::State>
m_state;
virtual ~StarObject()
destructor
Definition: StarObject.cxx:102
bool readStarFrameworkConfigItem(STOFFEntry &entry, STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
try to read an item in a "Star Framework Config File"
Definition: StarObject.cxx:764
std::shared_ptr< StarFormatManager > getFormatManager()
returns the format manager
Definition: StarObject.cxx:125
bool readSfxStyleSheets(STOFFInputStreamPtr input, std::string const &name)
try to read a spreadshet style zone: SfxStyleSheets
Definition: StarObject.cxx:638
bool readPersistElements(STOFFInputStreamPtr input, std::string const &name)
the "persist elements" small ole: the list of object
Definition: StarObject.cxx:287
std::shared_ptr< STOFFOLEParser::OleDirectory > m_directory
the directory
Definition: StarObject.hxx:145
void cleanPools()
clean each pool
Definition: StarObject.cxx:106
the main class to read/.
Definition: StarAttribute.hxx:1080
Definition: STOFFDebug.hxx:210
Type
the known item pool
Definition: StarItemPool.hxx:75
bool readSfxPreview(STOFFInputStreamPtr input, std::string const &name)
try to read the preview : "SfxPreview"
Definition: StarObject.cxx:800
StarObject(char const *passwd, std::shared_ptr< STOFFOLEParser > &oleParser, std::shared_ptr< STOFFOLEParser::OleDirectory > &directory)
constructor
Definition: StarObject.cxx:80
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
StarObject & operator=(StarObject const &orig)=delete
std::shared_ptr< StarObjectInternal::State > m_state
the state
Definition: StarObject.hxx:148
char const * getPassword() const
returns the document password (the password given by the user)
Definition: StarObject.hxx:81
Internal: the structures of a StarObject.
Definition: StarObject.cxx:51
bool parse()
try to parse data
Definition: StarObject.cxx:170
bool readItemSet(StarZone &zone, std::vector< STOFFVec2i > const &limits, long endPos, StarItemSet &itemSet, StarItemPool *pool=nullptr, bool isDirect=false)
try to read a list of item
Definition: StarObject.cxx:229
bool readSfxWindows(STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
try to read the windows information : "SfxWindows"
Definition: StarObject.cxx:824
std::shared_ptr< StarItemPool > getNewItemPool(StarItemPool::Type type)
returns a new item pool for this document
Definition: StarObject.cxx:142
bool readSfxDocumentInformation(STOFFInputStreamPtr input, std::string const &name)
try to read the document information : "SfxDocumentInformation"
Definition: StarObject.cxx:488
char const * m_password
the document password
Definition: StarObject.hxx:141
librevenge::RVNGPropertyList m_metaData
the meta data
Definition: StarObject.hxx:150
std::shared_ptr< StarItemPool > getCurrentPool(bool onlyInside=true)
returns the current all/inside pool
Definition: StarObject.cxx:149
std::shared_ptr< StarItemPool > findItemPool(StarItemPool::Type type, bool isInside)
check if a pool corresponding to a given type is opened if so returned it.
Definition: StarObject.cxx:159
class to store a list of item
Definition: StarItem.hxx:87
librevenge::RVNGString getUserNameMetaData(int i) const
returns the ith user meta data
Definition: StarObject.cxx:130
Kind
an enum to define the kind of document
Definition: STOFFDocument.hxx:66
librevenge::RVNGPropertyList const & getMetaData() const
returns the meta data (filled by readSfxDocumentInformation)
Definition: StarObject.hxx:95
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: StarObject.hxx:143
std::shared_ptr< StarAttributeManager > getAttributeManager()
returns the attribute manager
Definition: StarObject.cxx:120
the main class to read/.
Definition: StarItemPool.hxx:70
STOFFDocument::Kind getDocumentKind() const
returns the document kind
Definition: StarObject.cxx:115
bool readStarFrameworkConfigFile(STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
try to read the "Star Framework Config File"
Definition: StarObject.cxx:687
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
a zone in a StarOffice file
Definition: StarZone.hxx:56
bool readPersistData(StarZone &zone, long endPos)
try to read persist data
Definition: StarObject.cxx:363
std::shared_ptr< STOFFOLEParser::OleDirectory > getOLEDirectory()
returns the object directory
Definition: StarObject.hxx:86