34 #ifndef RAG_TIME_PARSER
35 # define RAG_TIME_PARSER
75 void parse(librevenge::RVNGTextInterface *documentInterface);
89 void createDocument(librevenge::RVNGTextInterface *documentInterface);
184 shared_ptr<RagTimeParserInternal::State>
m_state;
shared_ptr< RagTimeParserInternal::State > m_state
the state
Definition: RagTimeParser.hxx:184
shared_ptr< RagTimeText > m_textParser
the text parser
Definition: RagTimeParser.hxx:188
bool readRsrcfppr(MWAWEntry &entry)
try to read the fppr zone (zone with id=0)
Definition: RagTimeParser.cxx:2085
RagTimeParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: RagTimeParser.cxx:338
void init()
inits all internal variables
Definition: RagTimeParser.cxx:348
bool sendPicture(int zId, MWAWPosition const &pos)
sends the picture
Definition: RagTimeParser.cxx:2402
bool findPagesZones()
try to sort the zone on each page
Definition: RagTimeParser.cxx:665
bool sendZones()
try to send the different zones
Definition: RagTimeParser.cxx:2555
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: RagTimeParser.cxx:427
Internal: the subdocument of a RagTimeParser.
Definition: RagTimeParser.cxx:285
bool sendBasicPicture(int zId, MWAWPosition const &pos)
sends a basic shape
Definition: RagTimeParser.cxx:2519
the main class to read the text part of ragTime file
Definition: RagTimeText.hxx:69
bool readRsrcSele(MWAWEntry &entry)
try to read the Sele zone (zone with id=0), maybe related to selection
Definition: RagTimeParser.cxx:2121
bool readRsrcFHwl(MWAWEntry &entry)
try to read the FHwl zone ( one by file with id=0), maybe width length?
Definition: RagTimeParser.cxx:1896
bool readLinks(MWAWEntry &entry)
try to read the File Link zone: FLink
Definition: RagTimeParser.cxx:1517
void flushExtra()
flush unsent zone (debugging function)
Definition: RagTimeParser.cxx:2609
bool findRsrcZones()
try to create the resource zones list
Definition: RagTimeParser.cxx:953
bool readRsrcSpDI(MWAWEntry &entry)
try to read the SpDI zone (zone with id=0)
Definition: RagTimeParser.cxx:1951
the main class to read a RagTime v3 file
Definition: RagTimeParser.hxx:59
bool readPictZone(MWAWEntry &entry)
try to read pictZone ( a big zone)
Definition: RagTimeParser.cxx:1019
void newPage(int number)
adds a new page
Definition: RagTimeParser.cxx:375
bool createZones()
finds the different objects zones
Definition: RagTimeParser.cxx:465
virtual ~RagTimeParser()
destructor
Definition: RagTimeParser.cxx:344
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:388
bool send(int zId)
try to send a zone
Definition: RagTimeParser.cxx:2562
bool readZone6(MWAWEntry &entry)
try to read zone6 ( a big zone)
Definition: RagTimeParser.cxx:1374
bool findDataZones()
try to create the main data zones list
Definition: RagTimeParser.cxx:618
the main class to read the spreadsheet part of ragTime file
Definition: RagTimeSpreadsheet.hxx:69
bool sendText(int zId)
try to send the text zone (interface of RagTimeText)
Definition: RagTimeParser.cxx:367
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: RagTimeParser.cxx:2322
bool readRsrcCalc(MWAWEntry &entry)
try to read the Calc zone (zone with id=0)
Definition: RagTimeParser.cxx:1808
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:260
bool readRsrcBtch(MWAWEntry &entry)
try to read the Btch zone (zone with id=0)
Definition: RagTimeParser.cxx:2053
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: RagTimeParser.cxx:391
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:380
Internal: the structures of a RagTimeParser.
Definition: RagTimeParser.cxx:61
bool readPrintInfo(MWAWEntry &entry)
read a printInfo block (a PREC rsrc)
Definition: RagTimeParser.cxx:1306
bool readRsrcStructured(MWAWEntry &entry)
try to read a structured zone
Definition: RagTimeParser.cxx:2222
bool readColorMapV2(MWAWEntry &entry)
try to read the color map:v2
Definition: RagTimeParser.cxx:1209
bool readRsrcBeDc(MWAWEntry &entry)
try to read the BeDc zone ( zone of size 52, one by file with id=0);
Definition: RagTimeParser.cxx:2008
bool readRsrcUnamed(MWAWEntry &entry)
try to read a unamed zone (5 by file, all with id=0)
Definition: RagTimeParser.cxx:2270
bool readDataZoneHeader(int id, long endPos)
try to read a data zone header
Definition: RagTimeParser.cxx:705
bool readRsrcCHTa(MWAWEntry &entry)
try to read the char table zone (CHTa) ?
Definition: RagTimeParser.cxx:1670
bool readRsrcFHsl(MWAWEntry &entry)
try to read the FHsl zone (s=style?)
Definition: RagTimeParser.cxx:1851
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
int getFontId(int localId) const
returns a mac font id corresponding to a local id
Definition: RagTimeParser.cxx:362
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readPageZone(MWAWEntry &entry)
try to read page zone ( unknown content of size 40).
Definition: RagTimeParser.cxx:1472
bool sendPageZone(int page)
try to send the different zones of a page
Definition: RagTimeParser.cxx:2545
bool readPictZoneV2(MWAWEntry &entry)
try to read pictZone ( a big zone):v2
Definition: RagTimeParser.cxx:1090
shared_ptr< RagTimeSpreadsheet > m_spreadsheetParser
the spreadsheet parser
Definition: RagTimeParser.hxx:186
bool readRsrcSpDo(MWAWEntry &entry)
try to read the SpDo zone (zone with id=0)
Definition: RagTimeParser.cxx:2166
bool readRsrcFormat(MWAWEntry &entry)
try to read the format table zone: FoTa
Definition: RagTimeParser.cxx:1587
bool readItemFormats(MWAWEntry &entry)
try to read the item format zone: RTml zones
Definition: RagTimeParser.cxx:1741