the main class to read a StarOffice sdw file More...
#include <StarObjectText.hxx>
Public Member Functions | |
StarObjectText (StarObject const &orig, bool duplicateState) | |
constructor More... | |
virtual | ~StarObjectText () |
destructor More... | |
bool | parse () |
bool | updatePageSpans (std::vector< STOFFPageSpan > &pageSpan, int &numPages) |
try to update the page span (to create draw document) More... | |
bool | sendPages (STOFFTextListenerPtr listener) |
try to send the different page More... | |
bool | readSWContent (StarZone &zone, shared_ptr< StarObjectTextInternal::Content > &content) |
try to read some content : 'N' More... | |
![]() | |
StarObject (char const *passwd, shared_ptr< STOFFOLEParser > oleParser, 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... | |
char const * | getPassword () const |
returns the document password (the password given by the user) More... | |
shared_ptr < STOFFOLEParser::OleDirectory > | getOLEDirectory () |
returns the object directory More... | |
shared_ptr< StarAttributeManager > | getAttributeManager () |
returns the attribute manager More... | |
shared_ptr< StarFormatManager > | getFormatManager () |
returns the format manager More... | |
librevenge::RVNGPropertyList const & | 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... | |
shared_ptr< StarItemPool > | getNewItemPool (StarItemPool::Type type) |
returns a new item pool for this document More... | |
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... | |
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=0, bool isDirect=false) |
try to read a list of item More... | |
Static Public Member Functions | |
static bool | readSWImageMap (StarZone &zone) |
try to read a image map zone : 'X' More... | |
Protected Member Functions | |
bool | readSfxStyleSheets (STOFFInputStreamPtr input, std::string const &fileName) |
try to read a text style zone: SfxStyleSheets More... | |
bool | readWriterDocument (STOFFInputStreamPtr input, std::string const &fileName) |
the main zone More... | |
bool | readDrawingLayer (STOFFInputStreamPtr input, std::string const &fileName) |
the drawing layers ? More... | |
bool | readSWGraphNode (StarZone &zone, shared_ptr< StarObjectTextInternal::GraphZone > &graphZone) |
try to read a OLE node : 'g' More... | |
bool | readSWJobSetUp (StarZone &zone) |
try to read a SW zone setup : 'J' More... | |
bool | readSWOLENode (StarZone &zone) |
try to read a OLE node : 'O' More... | |
bool | readSWSection (StarZone &zone, shared_ptr< StarObjectTextInternal::SectionZone > §ion) |
try to read a section : 'I' More... | |
bool | readSWTextZone (StarZone &zone, shared_ptr< StarObjectTextInternal::TextZone > &textZone) |
try to read some content : 'T' 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... | |
StarObject (StarObject const &orig, bool duplicateState) | |
copy constructor More... | |
Protected Attributes | |
shared_ptr < StarObjectTextInternal::State > | m_textState |
the state More... | |
![]() | |
char const * | m_password |
the document password More... | |
shared_ptr< STOFFOLEParser > | m_oleParser |
the ole parser More... | |
shared_ptr < STOFFOLEParser::OleDirectory > | m_directory |
the directory More... | |
shared_ptr < StarObjectInternal::State > | m_state |
the state More... | |
librevenge::RVNGPropertyList | m_metaData |
the meta data More... | |
Private Member Functions | |
StarObjectText & | operator= (StarObjectText const &orig) |
the main class to read a StarOffice sdw file
StarObjectText::StarObjectText | ( | StarObject const & | orig, |
bool | duplicateState | ||
) |
constructor
|
virtual |
destructor
|
private |
bool StarObjectText::parse | ( | ) |
Referenced by StarFileManager::checkUnparsed(), SDXParser::createZones(), and StarFileManager::readOLEDirectory().
|
protected |
the drawing layers ?
Referenced by parse().
|
protected |
try to read a text style zone: SfxStyleSheets
Referenced by parse().
bool StarObjectText::readSWContent | ( | StarZone & | zone, |
shared_ptr< StarObjectTextInternal::Content > & | content | ||
) |
try to read some content : 'N'
Referenced by StarCharAttribute::StarCAttributeContent::read(), StarCharAttribute::StarCAttributeFootnote::read(), readSWSection(), and readWriterDocument().
|
protected |
try to read a OLE node : 'g'
Referenced by readSWContent().
|
static |
try to read a image map zone : 'X'
Referenced by StarAttributeManager::readAttribute(), and readSWGraphNode().
|
protected |
try to read a SW zone setup : 'J'
Referenced by readWriterDocument().
|
protected |
try to read a OLE node : 'O'
Referenced by readSWContent().
|
protected |
try to read a section : 'I'
Referenced by readSWContent().
|
protected |
try to read some content : 'T'
Referenced by readSWContent().
|
protected |
the main zone
Referenced by parse().
bool StarObjectText::sendPages | ( | STOFFTextListenerPtr | listener | ) |
try to send the different page
bool StarObjectText::updatePageSpans | ( | std::vector< STOFFPageSpan > & | pageSpan, |
int & | numPages | ||
) |
try to update the page span (to create draw document)
|
protected |
the state
Referenced by parse(), readDrawingLayer(), readWriterDocument(), sendPages(), and updatePageSpans().