37#ifndef MS_WRD_MWAW_PARSER
38# define MS_WRD_MWAW_PARSER
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
Internal: the subdocument of a MsWrdParser.
Definition: MsWrdParser.cxx:231
the main class to read a Microsoft Word file
Definition: MsWrdParser.hxx:98
bool readZone17(MsWrdEntry &entry)
read the zone 17( some bdbox + text position ?)
Definition: MsWrdParser.cxx:1151
void sendSimpleTextZone(MWAWListenerPtr &listener, MWAWEntry const &entry)
try to send a simple text zone(ie. a comment)
Definition: MsWrdParser.cxx:414
bool readPrintInfo(MsWrdEntry &entry)
read the print info zone
Definition: MsWrdParser.cxx:1939
void send(int id, libmwaw::SubDocumentType type)
try to send a footnote, a field to the textParser
Definition: MsWrdParser.cxx:465
void init()
inits all internal variables
Definition: MsWrdParser.cxx:351
void sendFootnote(int id)
try to send a footnote id
Definition: MsWrdParser.cxx:443
void sendPicture(long fPos, int cPos, MWAWPosition::AnchorTo anchor=MWAWPosition::Char)
send a picture
Definition: MsWrdParser.cxx:1871
bool readObject(MsWrdParserInternal::Object &obj)
read an object
Definition: MsWrdParser.cxx:1584
bool readDocSum(MsWrdEntry &entry)
read the document sumary
Definition: MsWrdParser.cxx:1275
bool readPicture(MsWrdEntry &entry)
read a picture data
Definition: MsWrdParser.cxx:1795
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MsWrdParser.cxx:757
bool readObjects()
read the objects
Definition: MsWrdParser.cxx:1403
bool readZoneList()
read the list of zones
Definition: MsWrdParser.cxx:627
std::shared_ptr< MsWrdParserInternal::State > m_state
the state
Definition: MsWrdParser.hxx:203
bool readObjectFlags(MsWrdEntry &entry)
read the object flags
Definition: MsWrdParser.cxx:1527
bool readHeaderEndV3()
finish reading the header (v3)
Definition: MsWrdParser.cxx:898
bool getColor(int id, MWAWColor &col) const
returns the color corresponding to an id
Definition: MsWrdParser.cxx:380
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWrdParser.cxx:514
bool readDocumentInfo(MsWrdEntry &entry)
read the page dimensions + ?
Definition: MsWrdParser.cxx:1080
void newPage(int number)
adds a new page
Definition: MsWrdParser.cxx:367
~MsWrdParser() final
destructor
Definition: MsWrdParser.cxx:347
std::shared_ptr< MsWrdText > m_textParser
the text parser
Definition: MsWrdParser.hxx:209
bool readPrinter(MsWrdEntry &entry)
read the printer name
Definition: MsWrdParser.cxx:1228
MsWrdEntry readEntry(std::string type, int id=-1)
read a file entry
Definition: MsWrdParser.cxx:1039
std::multimap< std::string, MsWrdEntry > m_entryMap
the list of entries
Definition: MsWrdParser.hxx:206
bool readObjectList(MsWrdEntry &entry)
read the object list
Definition: MsWrdParser.cxx:1454
void parse(librevenge::RVNGTextInterface *documentInterface) final
the main parse function
Definition: MsWrdParser.cxx:479
bool checkPicturePos(long pos, int type)
check if a position corresponds or not to a picture entry
Definition: MsWrdParser.cxx:1760
bool createZones()
finds the different zones
Definition: MsWrdParser.cxx:566
void sendFieldComment(int id)
try to send a bookmark field id
Definition: MsWrdParser.cxx:452
bool readStringsZone(MsWrdEntry &entry, std::vector< std::string > &list)
read a zone which consists in a list of string
Definition: MsWrdParser.cxx:1346
the main class to read/store the text font, paragraph, section stylesread
Definition: MsWrdTextStyles.hxx:67
the main class to read the text part of Microsoft Word file
Definition: MsWrdText.hxx:65
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Internal: the structures of a MsWrdParser.
Definition: MsWrdParser.cxx:59
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:51
Definition: MWAWDocument.hxx:57
the class to store a color
Definition: libmwaw_internal.hxx:192
the entry of MsWrdParser
Definition: MsWrdParser.hxx:63
int m_pictType
the picture identificator
Definition: MsWrdParser.hxx:89
~MsWrdEntry() final
destructor
Definition: MsWrdParser.cxx:321
int pictType() const
returns the text id
Definition: MsWrdParser.hxx:77
MsWrdEntry()
constructor
Definition: MsWrdParser.hxx:65
MsWrdEntry(MsWrdEntry const &)=default
friend std::ostream & operator<<(std::ostream &o, MsWrdEntry const &entry)
operator<<
Definition: MsWrdParser.cxx:325
void setPictType(int newId)
sets the picture id
Definition: MsWrdParser.hxx:82