40 #include <libwpd/libwpd.h>
47 namespace MORParserInternal
91 void parse(WPXDocumentInterface *documentInterface);
bool readUnknown9(MWAWEntry const &entry)
read a unknown zone ( block 9 )
Definition: MORParser.cxx:957
bool readFreePos(MWAWEntry const &entry)
read the list of free file position
Definition: MORParser.cxx:627
bool checkAndFindSize(MWAWEntry &entry)
check if the entry is valid defined by the begin pos points to a zone: dataSz data ...
Definition: MORParser.cxx:199
MWAWColor m_frontColor
the front color
Definition: MORParser.hxx:69
Definition: MORParser.hxx:59
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: MORParser.cxx:247
bool checkAndStore(MWAWEntry const &entry)
check if the entry is valid, if so store it in the list of entry
Definition: MORParser.cxx:185
the main class to read a More file
Definition: MORParser.hxx:77
bool readPrintInfo(MWAWEntry const &entry)
read a PrintInfo zone ( first block )
Definition: MORParser.cxx:459
MWAWColor m_backColor
the back color
Definition: MORParser.hxx:71
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
shared_ptr< MORText > m_textParser
the text parser
Definition: MORParser.hxx:173
bool readPattern(long endPos, MORStruct::Pattern &pattern)
read a pattern ( some sub zone of block 9)
Definition: MORParser.cxx:1136
bool getColor(int id, MWAWColor &col) const
return the color which corresponds to an id (if possible)
Definition: MORParser.cxx:231
bool readSlide(MWAWEntry const &entry)
read a slide definitions
Definition: MORParser.cxx:818
Vec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: MORParser.cxx:179
the class to store a color
Definition: libmwaw_internal.hxx:166
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MORParser.cxx:276
void init()
inits all internal variables
Definition: MORParser.cxx:153
bool readGraphic(MWAWEntry const &entry)
read a graphic ( in a slide )
Definition: MORParser.cxx:903
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
bool readColors(long endPos)
read a color zone ( beginning of block 9 )
Definition: MORParser.cxx:1044
Internal: the subdocument of a MORParser.
Definition: MORParser.cxx:100
friend std::ostream & operator<<(std::ostream &o, Pattern const &pat)
operator<<
Definition: MORParser.cxx:1271
bool readBackside(long endPos, std::string &extra)
read a backside ( some sub zone of block 9)
Definition: MORParser.cxx:1086
virtual ~MORParser()
destructor
Definition: MORParser.cxx:149
bool readSlideList(MWAWEntry const &entry)
read the list of slide definitions
Definition: MORParser.cxx:758
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
bool readDocumentInfo(MWAWEntry const &entry)
read a docinfo zone ( second block )
Definition: MORParser.cxx:512
Pattern()
constructor
Definition: MORParser.hxx:61
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: MORParser.cxx:171
the main class to read the text part of More Text file
Definition: MORText.hxx:64
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: MORParser.cxx:166
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MORParser.cxx:704
bool createZones()
finds the different objects zones
Definition: MORParser.cxx:320
shared_ptr< MORParserInternal::State > m_state
the state
Definition: MORParser.hxx:170
MORParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MORParser.cxx:143
bool readUnkn9Sub(long endPos)
read the last subzone find in a block 9 ( unknown meaning)
Definition: MORParser.cxx:1165
void newPage(int number)
adds a new page
Definition: MORParser.cxx:218
bool readZonesList()
read the list of zones ( v2-3) : first 0x80 bytes
Definition: MORParser.cxx:391
unsigned char m_pattern[8]
the pattern
Definition: MORParser.hxx:67