34#ifndef FREEHAND_PARSER
35# define FREEHAND_PARSER
40#include <librevenge/librevenge.h>
Internal: the subdocument of a FreeHandParser.
Definition: FreeHandParser.cxx:653
the main class to read a FreeHand v0,v1 file
Definition: FreeHandParser.hxx:63
bool readStyleGroup(int zId)
try to read a style group zone
Definition: FreeHandParser.cxx:1563
void closeLayer()
try to close a layer
Definition: FreeHandParser.cxx:3304
bool readShapeHeader(FreeHandParserInternal::ShapeHeader &shape)
try to read a shape header
Definition: FreeHandParser.cxx:1676
bool readTransformGroup(int zId)
try to read a node which contain the group transformation
Definition: FreeHandParser.cxx:1499
bool readRootGroup(int zId)
try to read the list of group
Definition: FreeHandParser.cxx:1227
bool sendGroup(FreeHandParserInternal::Shape const &group, MWAWTransformation const &transform)
try to send a group shape
Definition: FreeHandParser.cxx:3338
bool readLineStyle(int zId)
try to read a line style zone
Definition: FreeHandParser.cxx:2188
bool readTextboxV1(int zId)
try to read a textbox zone: version 1
Definition: FreeHandParser.cxx:2732
bool sendText(int zId)
try to send the text of a text box
Definition: FreeHandParser.cxx:3524
std::shared_ptr< FreeHandParserInternal::State > m_state
the state
Definition: FreeHandParser.hxx:165
bool sendShape(FreeHandParserInternal::Shape const &shape, MWAWTransformation const &transform)
try to send a basic shape
Definition: FreeHandParser.cxx:3469
bool readFillStyle(int zId)
try to read a fill zone
Definition: FreeHandParser.cxx:2004
void init()
inits all internal variables
Definition: FreeHandParser.cxx:715
bool readBackgroundPicture(int zId)
try to read a background picture zone
Definition: FreeHandParser.cxx:2405
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: FreeHandParser.cxx:1016
bool readPictureZone(int zId)
try to read a picture node
Definition: FreeHandParser.cxx:2444
bool sendBackgroundPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform)
try to send a background picture
Definition: FreeHandParser.cxx:3388
bool readGroupV1(int zId)
try to read a group zone: version 1
Definition: FreeHandParser.cxx:1310
bool openLayer(int zId)
try to open a layer
Definition: FreeHandParser.cxx:3287
bool readGroupV2(int zId)
try to read a group zone: version 2
Definition: FreeHandParser.cxx:1365
bool readShape(int zId)
try to read a shape
Definition: FreeHandParser.cxx:2526
bool createZones()
finds the different objects zones
Definition: FreeHandParser.cxx:781
bool readTextboxV2(int zId)
try to read a textbox zone: version 2
Definition: FreeHandParser.cxx:2947
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: FreeHandParser.cxx:728
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: FreeHandParser.cxx:3598
~FreeHandParser() final
destructor
Definition: FreeHandParser.cxx:711
static bool decomposeMatrix(MWAWTransformation const &matrix, float &rotation, MWAWTransformation &transform, MWAWVec2f const ¢er)
try to decompose the matrix in a rotation + scaling/translation matrix.
Definition: FreeHandParser.cxx:3620
bool readPostscriptStyle(int zId)
try to read a postscript zone
Definition: FreeHandParser.cxx:2333
bool sendTextbox(FreeHandParserInternal::Textbox const &textbox, MWAWTransformation const &transform)
try to send a basic textbox
Definition: FreeHandParser.cxx:3494
bool readZoneV2(int zId)
try to read a zone: version 2
Definition: FreeHandParser.cxx:944
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: FreeHandParser.cxx:759
bool readStyleHeader(FreeHandParserInternal::StyleHeader &style)
try to read a style header
Definition: FreeHandParser.cxx:1765
bool readDataZone(int zId)
try to read a data zone
Definition: FreeHandParser.cxx:3204
bool readScreenMode(FreeHandParserInternal::ScreenMode &screen)
try to read a special scren mode
Definition: FreeHandParser.cxx:1753
bool readStringZone(int zId)
try to read a label/font name zone
Definition: FreeHandParser.cxx:1634
bool sendZone(int zId, MWAWTransformation const &transform)
try to send a zone
Definition: FreeHandParser.cxx:3312
bool readJoinGroup(int zId)
try to read a join zone (used to put text around path)
Definition: FreeHandParser.cxx:1440
bool readZoneV1(int zId)
try to read a zone: version 1
Definition: FreeHandParser.cxx:872
bool readDash(int zId)
try to read the dash zone
Definition: FreeHandParser.cxx:1947
bool readColor(int zId)
try to read a color zone
Definition: FreeHandParser.cxx:1805
bool sendPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform)
try to send a picture
Definition: FreeHandParser.cxx:3421
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Internal: the structures of a FreeHandParser.
Definition: FreeHandParser.cxx:63
Definition: MWAWDocument.hxx:57