Go to the documentation of this file.
80 void parse(librevenge::RVNGTextInterface *documentInterface)
override;
84 void createDocument(librevenge::RVNGTextInterface *documentInterface);
102 std::shared_ptr<SDWParserInternal::State>
m_state;
word processing file
Definition: STOFFDocument.hxx:75
the main class to read/.
Definition: StarAttribute.hxx:1080
bool createZones()
parses the different OLE, ...
Definition: SDWParser.cxx:118
STOFFTextListenerPtr & getTextListener()
returns the text listener
Definition: STOFFParser.hxx:138
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
void setDocumentPassword(char const *passwd)
set the document password
Definition: SDWParser.hxx:72
void parse(librevenge::RVNGTextInterface *documentInterface) override
virtual function used to parse the input
Definition: SDWParser.cxx:90
int m_numPages
the number of page of the final document
Definition: SDWParser.cxx:65
int m_actPage
the actual page
Definition: SDWParser.cxx:65
const char * m_password
the password
Definition: SDWParser.hxx:98
A class which defines the page properties.
Definition: STOFFPageSpan.hxx:75
This class contains the code needed to create Text document.
Definition: STOFFTextListener.hxx:59
bool checkHeader(STOFFHeader *header, bool strict=false) override
checks if the document header is correct (or not)
Definition: SDWParser.cxx:174
std::shared_ptr< StarObjectText > m_mainText
the main graphic document
Definition: SDWParser.cxx:67
State()
constructor
Definition: SDWParser.cxx:58
void setTextListener(STOFFTextListenerPtr &listener)
sets the text listener
Definition: STOFFParser.cxx:100
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: SDWParser.cxx:140
the main class to read a StarOffice sdw file
Definition: StarObjectText.hxx:100
static void reset()
Definition: STOFFDebug.hxx:228
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: SDWParser.hxx:100
SDWParser(STOFFInputStreamPtr &input, STOFFHeader *header)
constructor
Definition: SDWParser.cxx:75
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
SDWParser & operator=(SDWParser const &orig)=delete
int m_pageSpan
the number of page
Definition: STOFFPageSpan.hxx:104
libstoff::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: STOFFParser.hxx:143
Internal: the state of a SDWParser.
Definition: SDWParser.cxx:56
~SDWParser() final
destructor
Definition: SDWParser.cxx:83
Definition: libstaroffice_internal.hxx:143
void resetTextListener()
resets the text listener
Definition: STOFFParser.cxx:105
a class used to parse some basic oles Tries to read the different ole parts and stores their contents...
Definition: STOFFOLEParser.hxx:86
static void checkUnparsed(STOFFInputStreamPtr input, std::shared_ptr< STOFFOLEParser > oleParser, char const *password)
low level
Definition: StarFileManager.cxx:435
STOFFParserStatePtr getParserState()
returns the parser state
Definition: STOFFParser.hxx:103
const STOFFPageSpan & getPageSpan() const
returns the actual page dimension
Definition: STOFFParser.hxx:118
STOFFDocument::Kind getDocumentKind() const
returns the document kind
Definition: StarObject.cxx:115
std::shared_ptr< SDWParserInternal::State > m_state
the state
Definition: SDWParser.hxx:102
virtual class which defines the ancestor of all text zone parser
Definition: STOFFParser.hxx:194
the main class to read a StarOffice sdw file
Definition: SDWParser.hxx:64
STOFFInputStreamPtr & getInput()
returns the actual input
Definition: STOFFParser.hxx:113
std::shared_ptr< STOFFTextListener > STOFFTextListenerPtr
a smart pointer of STOFFTextListener
Definition: libstaroffice_internal.hxx:497
Internal: the structures of a SDWParser.
Definition: SDWParser.cxx:52
Generated on Mon Jan 20 2020 23:02:16 for libstaroffice by
doxygen 1.8.16