the main class to read a SwPageStyleSheets zone More...
#include <StarObjectPageStyle.hxx>
Public Member Functions | |
StarObjectPageStyle (StarObject const &orig, bool duplicateState) | |
constructor More... | |
~StarObjectPageStyle () override | |
destructor More... | |
bool | read (StarZone &zone) |
try to read a PageStyle zone More... | |
bool | updatePageSpans (std::vector< librevenge::RVNGString > const &listNames, std::vector< STOFFPageSpan > &pageSpan, int &numPages) |
try to update the page span (to create text document) More... | |
![]() | |
StarObject (char const *passwd, std::shared_ptr< STOFFOLEParser > &oleParser, std::shared_ptr< STOFFOLEParser::OleDirectory > &directory) | |
constructor More... | |
virtual | ~StarObject () |
destructor More... | |
bool | parse () |
try to parse data More... | |
STOFFDocument::Kind | getDocumentKind () const |
returns the document kind More... | |
const char * | getPassword () const |
returns the document password (the password given by the user) More... | |
std::shared_ptr< STOFFOLEParser::OleDirectory > | getOLEDirectory () |
returns the object directory More... | |
std::shared_ptr< StarAttributeManager > | getAttributeManager () |
returns the attribute manager More... | |
std::shared_ptr< StarFormatManager > | getFormatManager () |
returns the format manager More... | |
const librevenge::RVNGPropertyList & | getMetaData () const |
returns the meta data (filled by readSfxDocumentInformation) More... | |
librevenge::RVNGString | getUserNameMetaData (int i) const |
returns the ith user meta data More... | |
void | cleanPools () |
clean each pool More... | |
std::shared_ptr< StarItemPool > | getNewItemPool (StarItemPool::Type type) |
returns a new item pool for this document More... | |
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. More... | |
std::shared_ptr< StarItemPool > | getCurrentPool (bool onlyInside=true) |
returns the current all/inside pool More... | |
bool | readPersistData (StarZone &zone, long endPos) |
try to read persist data More... | |
bool | readSfxStyleSheets (STOFFInputStreamPtr input, std::string const &name) |
try to read a spreadshet style zone: SfxStyleSheets More... | |
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 More... | |
Protected Member Functions | |
bool | updatePageSpan (librevenge::RVNGString const &name, StarState &state) |
try to update the pagespan More... | |
![]() | |
bool | readPersistElements (STOFFInputStreamPtr input, std::string const &name) |
the "persist elements" small ole: the list of object More... | |
bool | readSfxDocumentInformation (STOFFInputStreamPtr input, std::string const &name) |
try to read the document information : "SfxDocumentInformation" More... | |
bool | readSfxPreview (STOFFInputStreamPtr input, std::string const &name) |
try to read the preview : "SfxPreview" More... | |
bool | readSfxWindows (STOFFInputStreamPtr input, libstoff::DebugFile &ascii) |
try to read the windows information : "SfxWindows" More... | |
bool | readStarFrameworkConfigFile (STOFFInputStreamPtr input, libstoff::DebugFile &ascii) |
try to read the "Star Framework Config File" More... | |
bool | readStarFrameworkConfigItem (STOFFEntry &entry, STOFFInputStreamPtr input, libstoff::DebugFile &ascii) |
try to read an item in a "Star Framework Config File" More... | |
StarObject (StarObject const &orig, bool duplicateState) | |
copy constructor More... | |
Protected Attributes | |
std::shared_ptr< StarObjectPageStyleInternal::State > | m_pageStyleState |
the state More... | |
![]() | |
const char * | m_password |
the document password More... | |
std::shared_ptr< STOFFOLEParser > | m_oleParser |
the ole parser More... | |
std::shared_ptr< STOFFOLEParser::OleDirectory > | m_directory |
the directory More... | |
std::shared_ptr< StarObjectInternal::State > | m_state |
the state More... | |
librevenge::RVNGPropertyList | m_metaData |
the meta data More... | |
Private Member Functions | |
StarObjectPageStyle & | operator= (StarObjectPageStyle const &orig)=delete |
the main class to read a SwPageStyleSheets zone
StarObjectPageStyle::StarObjectPageStyle | ( | StarObject const & | orig, |
bool | duplicateState | ||
) |
constructor
|
override |
destructor
|
privatedelete |
bool StarObjectPageStyle::read | ( | StarZone & | zone | ) |
try to read a PageStyle zone
|
protected |
try to update the pagespan
bool StarObjectPageStyle::updatePageSpans | ( | std::vector< librevenge::RVNGString > const & | listNames, |
std::vector< STOFFPageSpan > & | pageSpan, | ||
int & | numPages | ||
) |
try to update the page span (to create text document)
|
protected |
the state
Referenced by read(), and updatePageSpan().