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:395
MSWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MSWParser.cxx:286
bool readZone17(MSWEntry &entry)
read the zone 17( some bdbox + text position ?)
Definition: MSWParser.cxx:1085
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
Definition: ACText.hxx:44
shared_ptr< MSWText > m_textParser
the text parser
Definition: MSWParser.hxx:201
the main class to read/store the text font, paragraph, section stylesread
Definition: MSWTextStyles.hxx:69
Definition: MWAWPosition.hxx:51
bool readDocSum(MSWEntry &entry)
read the document sumary
Definition: MSWParser.cxx:1209
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MSWParser.cxx:695
bool readObjects()
read the objects
Definition: MSWParser.cxx:1321
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:1445
bool readPrinter(MSWEntry &entry)
read the printer name
Definition: MSWParser.cxx:1162
the main class to read the text part of Microsoft Word file
Definition: MSWText.hxx:67
bool readStringsZone(MSWEntry &entry, std::vector< std::string > &list)
read a zone which consists in a list of string
Definition: MSWParser.cxx:1264
MSWEntry()
Definition: MSWParser.hxx:64
friend std::ostream & operator<<(std::ostream &o, MSWEntry const &entry)
operator<<
Definition: MSWParser.cxx:273
the class to store a color
Definition: libmwaw_internal.hxx:161
bool readObjectList(MSWEntry &entry)
read the object list
Definition: MSWParser.cxx:1371
bool isFilePos(long pos)
check if an entry is in file
Definition: MSWParser.cxx:359
Internal: the object of MSWParser.
Definition: MSWParser.cxx:61
void sendFieldComment(int id)
try to send a bookmark field id
Definition: MSWParser.cxx:382
bool readHeaderEndV3()
finish reading the header (v3)
Definition: MSWParser.cxx:835
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MSWParser.cxx:453
AnchorTo
a list of enum used to defined the anchor
Definition: MWAWPosition.hxx:51
bool createZones()
finds the different zones
Definition: MSWParser.cxx:503
void newPage(int number)
adds a new page
Definition: MSWParser.cxx:312
MSWEntry readEntry(std::string type, int id=-1)
read a file entry
Definition: MSWParser.cxx:974
bool getColor(int id, MWAWColor &col) const
returns the color corresponding to an id
Definition: MSWParser.cxx:325
shared_ptr< MSWParserInternal::State > m_state
the state
Definition: MSWParser.hxx:195
bool readPrintInfo(MSWEntry &entry)
read the print info zone
Definition: MSWParser.cxx:1850
void sendPicture(long fPos, int cPos, MWAWPosition::AnchorTo anchor=MWAWPosition::Char)
send a picture
Definition: MSWParser.cxx:1788
bool readPicture(MSWEntry &entry)
read a picture data
Definition: MSWParser.cxx:1709
bool readObject(MSWParserInternal::Object &obj)
read an object
Definition: MSWParser.cxx:1502
void init()
inits all internal variables
Definition: MSWParser.cxx:296
virtual ~MSWParser()
destructor
Definition: MSWParser.cxx:292
bool checkPicturePos(long pos, int type)
check if a position corresponds or not to a picture entry
Definition: MSWParser.cxx:1674
std::multimap< std::string, MSWEntry > m_entryMap
the list of entries
Definition: MSWParser.hxx:198
void parse(WPXDocumentInterface *documentInterface)
the main parse function
Definition: MSWParser.cxx:417
void sendFootnote(int id)
try to send a footnote id
Definition: MSWParser.cxx:373
bool readDocumentInfo(MSWEntry &entry)
read the page dimensions + ?
Definition: MSWParser.cxx:1015
bool readZoneList()
read the list of zones
Definition: MSWParser.cxx:565
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:98
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:202
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
Definition: MWAWParser.hxx:56