37 #ifndef MSW_MWAW_PARSER
38 # define MSW_MWAW_PARSER
52 namespace MSWParserInternal
104 void parse(WPXDocumentInterface *documentInterface);
void send(int id, libmwaw::SubDocumentType type)
try to send a footnote, a field to the textParser
Definition: MSWParser.cxx:379
MSWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MSWParser.cxx:284
bool readZone17(MSWEntry &entry)
read the zone 17( some bdbox + text position ?)
Definition: MSWParser.cxx:1069
shared_ptr< MSWText > m_textParser
the text parser
Definition: MSWParser.hxx:198
the main class to read/store the text font, paragraph, section stylesread
Definition: MSWTextStyles.hxx:66
Definition: MWAWPosition.hxx:51
bool readDocSum(MSWEntry &entry)
read the document sumary
Definition: MSWParser.cxx:1193
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MSWParser.cxx:679
bool readObjects()
read the objects
Definition: MSWParser.cxx:1305
int pictType() const
returns the text id
Definition: MSWParser.hxx:70
the main class to read a Microsoft Word file
Definition: MSWParser.hxx:88
the entry of MSWParser
Definition: MSWParser.hxx:63
SubDocumentType
Definition: libmwaw_internal.hxx:157
bool readObjectFlags(MSWEntry &entry)
read the object flags
Definition: MSWParser.cxx:1428
bool readPrinter(MSWEntry &entry)
read the printer name
Definition: MSWParser.cxx:1146
the main class to read the text part of Microsoft Word file
Definition: MSWText.hxx:64
bool readStringsZone(MSWEntry &entry, std::vector< std::string > &list)
read a zone which consists in a list of string
Definition: MSWParser.cxx:1248
MSWEntry()
Definition: MSWParser.hxx:64
friend std::ostream & operator<<(std::ostream &o, MSWEntry const &entry)
operator<<
Definition: MSWParser.cxx:271
the class to store a color
Definition: libmwaw_internal.hxx:161
bool readObjectList(MSWEntry &entry)
read the object list
Definition: MSWParser.cxx:1355
Internal: the object of MSWParser.
Definition: MSWParser.cxx:61
void sendFieldComment(int id)
try to send a bookmark field id
Definition: MSWParser.cxx:366
bool readHeaderEndV3()
finish reading the header (v3)
Definition: MSWParser.cxx:819
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MSWParser.cxx:437
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:340
AnchorTo
a list of enum used to defined the anchor
Definition: MWAWPosition.hxx:51
bool createZones()
finds the different zones
Definition: MSWParser.cxx:487
void newPage(int number)
adds a new page
Definition: MSWParser.cxx:310
MSWEntry readEntry(std::string type, int id=-1)
read a file entry
Definition: MSWParser.cxx:958
bool getColor(int id, MWAWColor &col) const
returns the color corresponding to an id
Definition: MSWParser.cxx:323
shared_ptr< MSWParserInternal::State > m_state
the state
Definition: MSWParser.hxx:192
bool readPrintInfo(MSWEntry &entry)
read the print info zone
Definition: MSWParser.cxx:1832
void sendPicture(long fPos, int cPos, MWAWPosition::AnchorTo anchor=MWAWPosition::Char)
send a picture
Definition: MSWParser.cxx:1771
bool readPicture(MSWEntry &entry)
read a picture data
Definition: MSWParser.cxx:1692
bool readObject(MSWParserInternal::Object &obj)
read an object
Definition: MSWParser.cxx:1485
void init()
inits all internal variables
Definition: MSWParser.cxx:294
virtual ~MSWParser()
destructor
Definition: MSWParser.cxx:290
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:336
bool checkPicturePos(long pos, int type)
check if a position corresponds or not to a picture entry
Definition: MSWParser.cxx:1657
std::multimap< std::string, MSWEntry > m_entryMap
the list of entries
Definition: MSWParser.hxx:195
void parse(WPXDocumentInterface *documentInterface)
the main parse function
Definition: MSWParser.cxx:401
void sendFootnote(int id)
try to send a footnote id
Definition: MSWParser.cxx:357
bool readDocumentInfo(MSWEntry &entry)
read the page dimensions + ?
Definition: MSWParser.cxx:999
bool readZoneList()
read the list of zones
Definition: MSWParser.cxx:549
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:87
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
void setPictType(int newId)
sets the picture id
Definition: MSWParser.hxx:74
int m_pictType
the picture identificator
Definition: MSWParser.hxx:80
Internal: the subdocument of a MSWParser.
Definition: MSWParser.cxx:200