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:1061
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:1185
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MSWParser.cxx:671
bool readObjects()
read the objects
Definition: MSWParser.cxx:1297
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:162
bool readObjectFlags(MSWEntry &entry)
read the object flags
Definition: MSWParser.cxx:1420
bool readPrinter(MSWEntry &entry)
read the printer name
Definition: MSWParser.cxx:1138
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:1240
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:166
bool readObjectList(MSWEntry &entry)
read the object list
Definition: MSWParser.cxx:1347
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:811
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MSWParser.cxx:429
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
AnchorTo
a list of enum used to defined the anchor
Definition: MWAWPosition.hxx:51
bool createZones()
finds the different zones
Definition: MSWParser.cxx:479
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:950
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:1824
void sendPicture(long fPos, int cPos, MWAWPosition::AnchorTo anchor=MWAWPosition::Char)
send a picture
Definition: MSWParser.cxx:1763
bool readPicture(MSWEntry &entry)
read a picture data
Definition: MSWParser.cxx:1684
bool readObject(MSWParserInternal::Object &obj)
read an object
Definition: MSWParser.cxx:1477
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:348
bool checkPicturePos(long pos, int type)
check if a position corresponds or not to a picture entry
Definition: MSWParser.cxx:1649
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:393
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:991
bool readZoneList()
read the list of zones
Definition: MSWParser.cxx:541
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
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