Go to the documentation of this file.
80 void parse(librevenge::RVNGDrawingInterface *documentInterface)
final;
82 void parse(librevenge::RVNGPresentationInterface *documentInterface)
final;
86 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
88 void createDocument(librevenge::RVNGPresentationInterface *documentInterface);
106 std::shared_ptr<SDAParserInternal::State>
m_state;
std::shared_ptr< SDAParserInternal::State > m_state
the state
Definition: SDAParser.hxx:106
@ STOFF_K_DRAW
vectorized graphic: .sda
Definition: STOFFDocument.hxx:71
Internal: the structures of a SDAParser.
Definition: SDAParser.cxx:53
the main class to read/.
Definition: StarAttribute.hxx:1081
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
bool checkHeader(STOFFHeader *header, bool strict=false) override
checks if the document header is correct (or not)
Definition: SDAParser.cxx:223
int m_numPages
the number of page of the final document
Definition: SDAParser.cxx:65
A class which defines the page properties.
Definition: STOFFPageSpan.hxx:76
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: SDAParser.cxx:166
This class contains the code needed to create Graphic document.
Definition: STOFFGraphicListener.hxx:60
Internal: the state of a SDAParser.
Definition: SDAParser.cxx:56
static void reset()
Definition: STOFFDebug.hxx:228
void setDocumentPassword(char const *passwd)
set the document password
Definition: SDAParser.hxx:72
char const * m_password
the password
Definition: SDAParser.hxx:102
the main class to read a StarOffice draw
Definition: StarObjectDraw.hxx:62
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
virtual class which defines the ancestor of all graphic/presentation zone parser
Definition: STOFFParser.hxx:210
void resetGraphicListener()
resets the graphic listener
Definition: STOFFParser.cxx:83
a zone in a StarOffice file
Definition: StarZone.hxx:57
an object corresponding to an OLE directory
Definition: StarObject.hxx:65
int m_actPage
the actual page
Definition: SDAParser.cxx:65
SDAParser(STOFFInputStreamPtr &input, STOFFHeader *header)
constructor
Definition: SDAParser.cxx:74
int m_pageSpan
the number of page
Definition: STOFFPageSpan.hxx:108
libstoff::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: STOFFParser.hxx:143
the main class to read a StarOffice sda/sdd file
Definition: SDAParser.hxx:65
Definition: libstaroffice_internal.hxx:144
std::shared_ptr< STOFFGraphicListener > STOFFGraphicListenerPtr
a smart pointer of STOFFGraphicListener
Definition: libstaroffice_internal.hxx:485
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: SDAParser.hxx:104
bool getCompObjName(STOFFInputStreamPtr fileInput, std::string &programName)
returns the main compobj program name
Definition: STOFFOLEParser.cxx:372
a class used to parse some basic oles Tries to read the different ole parts and stores their contents...
Definition: STOFFOLEParser.hxx:87
static void checkUnparsed(STOFFInputStreamPtr input, std::shared_ptr< STOFFOLEParser > oleParser, char const *password)
low level
Definition: StarFileManager.cxx:435
State()
constructor
Definition: SDAParser.cxx:58
@ STOFF_K_PRESENTATION
presentation
Definition: STOFFDocument.hxx:73
SDAParser(SDAParser const &orig)=delete
std::shared_ptr< StarObjectDraw > m_mainGraphic
Definition: SDAParser.cxx:66
STOFFPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: STOFFParser.hxx:118
bool createZones()
parses the different OLE, ...
Definition: SDAParser.cxx:143
STOFFParserStatePtr getParserState()
returns the parser state
Definition: STOFFParser.hxx:103
SDAParser & operator=(SDAParser const &orig)=delete
STOFFDocument::Kind getDocumentKind() const
returns the document kind
Definition: StarObject.cxx:115
STOFFGraphicListenerPtr & getGraphicListener()
returns the graphic listener
Definition: STOFFParser.hxx:128
void setGraphicListener(STOFFGraphicListenerPtr &listener)
sets the graphic listener
Definition: STOFFParser.cxx:78
STOFFInputStreamPtr & getInput()
returns the actual input
Definition: STOFFParser.hxx:113
~SDAParser() final
destructor
Definition: SDAParser.cxx:82
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: SDAParser.cxx:89
Generated on Wed Sep 16 2020 18:42:39 for libstaroffice by
doxygen 1.8.18