38 #ifndef FP_MWAW_PARSER
39 # define FP_MWAW_PARSER
45 #include <libwpd/libwpd.h>
52 namespace FWParserInternal
82 void parse(WPXDocumentInterface *documentInterface);
Vec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: FWParser.cxx:313
shared_ptr< Entry > EntryPtr
Definition: FWStruct.hxx:144
the main class to read the graphic part of a FullWrite Text file
Definition: FWGraph.hxx:67
bool createFileZones()
create the file zone ( first step of create zones)
Definition: FWParser.cxx:504
int getNumDocZoneStruct() const
returns the number of zone struct
Definition: FWParser.cxx:324
the main class to read a FullWrite file
Definition: FWParser.hxx:66
bool readCitationDocInfo(FWStruct::EntryPtr zone)
try to read the list of citation (at the end of doc info)
Definition: FWParser.cxx:945
bool readDocZoneData(FWStruct::EntryPtr zone)
try to read the zone containing the data of each doc zone (ie. Zone0)
Definition: FWParser.cxx:1087
bool readDocInfo(FWStruct::EntryPtr zone)
try to read zone2, a zone which stores the document information zone, ...
Definition: FWParser.cxx:649
bool readEndDocInfo(FWStruct::EntryPtr zone)
try to read the end of zone2 (only v2) ?
Definition: FWParser.cxx:888
bool createZones()
finds the different objects zones
Definition: FWParser.cxx:537
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:180
SubDocumentType
Definition: libmwaw_internal.hxx:162
void sendGraphic(int docId)
try to send a graphic
Definition: FWParser.cxx:336
the class to store a color
Definition: libmwaw_internal.hxx:166
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: FWParser.cxx:623
Type
enum to define note type
Definition: libmwaw_internal.hxx:306
Internal: the subdocument of a MWParser.
Definition: FWParser.cxx:220
void sendVariable(int docId)
try to send a variable, in pratice do nothing
Definition: FWParser.cxx:1918
shared_ptr< FWText > m_textParser
the text parser
Definition: FWParser.hxx:179
bool readDocPosition()
find the last position of the document and read data
Definition: FWParser.cxx:1816
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
void init()
inits all internal variables
Definition: FWParser.cxx:283
void sendReference(int docId)
try to send a reference, in pratice do nothing
Definition: FWParser.cxx:1888
shared_ptr< FWParserInternal::State > m_state
the state
Definition: FWParser.hxx:174
bool readGenericDocData(FWStruct::EntryPtr zone, FWStruct::ZoneHeader &doc)
try to read the data of a zone which begins with a generic header
Definition: FWParser.cxx:1421
void sendText(int docId, libmwaw::SubDocumentType type, MWAWNote::Type which=MWAWNote::FootNote)
try to send a footnote/endnote entry
Definition: FWParser.cxx:1961
bool readPrintInfo(FWStruct::EntryPtr zone)
try read the print info zone
Definition: FWParser.cxx:1010
bool readFileZoneFlags(FWStruct::EntryPtr zone)
try to read the file zones main flags
Definition: FWParser.cxx:1584
bool readDocZoneStruct(FWStruct::EntryPtr zone)
try to read the zone which stores the structure of zone0, ... (ie. Zone1)
Definition: FWParser.cxx:1277
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
the main class to read the text part of writenow file
Definition: FWText.hxx:66
Definition: libmwaw_internal.hxx:306
virtual ~FWParser()
destructor
Definition: FWParser.cxx:274
Internal: class to store a border which appear in docInfo.
Definition: FWStruct.hxx:60
bool readFileZonePos(FWStruct::EntryPtr zone)
try to read the file zones position
Definition: FWParser.cxx:1680
shared_ptr< FWGraph > m_graphParser
the graph parser
Definition: FWParser.hxx:177
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
bool send(int fileId, MWAWColor fontColor=MWAWColor::black())
ask the text parser to send a zone
Definition: FWParser.cxx:350
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: FWParser.cxx:362
bool getBorder(int bId, FWStruct::Border &border) const
try to return a border corresponding to an id
Definition: FWParser.cxx:319
void newPage(int number)
adds a new page
Definition: FWParser.cxx:300
FWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: FWParser.cxx:268
std::string getDocumentTypeName(int zId) const
returns a the type of a document zone ( mainly used for debugging)
Definition: FWParser.cxx:329
bool readReferenceData(FWStruct::EntryPtr zone)
try to read the reference data
Definition: FWParser.cxx:1520
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: FWParser.cxx:434