38 #ifndef MSK_MWAW_GRAPH
39 # define MSK_MWAW_GRAPH
50 namespace MSKGraphInternal
92 void sendAll(
int zoneId,
bool mainZone);
112 void computePositions(
int zoneId, std::vector<int> &linesHeight, std::vector<int> &pagesHeight);
Definition: MSKGraph.hxx:98
int getEntryPictureV1(int zoneId, MWAWEntry &zone)
checks if the next zone is a v1 picture and returns a zone id.
Definition: MSKGraph.cxx:1679
void send(int id, MWAWPosition::AnchorTo anchor)
send a zone (textbox, ...)
Definition: MSKGraph.cxx:2603
bool readRB(MWAWInputStreamPtr input, MWAWEntry const &entry)
reads the RBDR or a RBIL zone: a zone which seems to regroup all pages pictures
Definition: MSKGraph.cxx:1746
Definition: MSKGraph.hxx:98
Definition: MSKGraph.hxx:98
virtual ~MSKGraph()
destructor
Definition: MSKGraph.cxx:1004
Internal: the generic pict.
Definition: MSKGraph.cxx:157
bool readChart(MSKGraphInternal::Zone &zone)
try to read a chart (very incomplete)
Definition: MSKGraph.cxx:2262
the main class to read the text part of Claris Works file
Definition: MSKGraph.hxx:71
void sendTable(int id)
try to a table zone
Definition: MSKGraph.cxx:2476
MWAWPosition::AnchorTo m_anchor
the anchor
Definition: MSKGraph.hxx:102
Internal: the subdocument of a MSKGraph.
Definition: MSKGraph.cxx:900
void checkTextBoxLinks(int zId)
check the text box link
Definition: MSKGraph.cxx:1858
Internal: the fonts.
Definition: MSKGraph.cxx:66
bool readTable(MSKGraphInternal::Table &table)
try to read a table zone
Definition: MSKGraph.cxx:2141
SendData()
Definition: MSKGraph.cxx:2782
Definition: MSKGraph.hxx:94
bool readText(MSKGraphInternal::TextBox &textBox)
try to read a text zone
Definition: MSKGraph.cxx:1994
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: MSKGraph.cxx:2770
Type
the type
Definition: MSKGraph.hxx:98
AnchorTo
a list of enum used to defined the anchor
Definition: MWAWPosition.hxx:51
generic parser for Microsoft Works file
Definition: MSKParser.hxx:57
int m_page
the page ( used if anchor==page)
Definition: MSKGraph.hxx:104
MSKGraph(MSKParser &parser)
constructor
Definition: MSKGraph.cxx:998
void sendTextBox(int id)
send a textbox to the listener
Definition: MSKGraph.cxx:2411
the main class to read a Microsoft Works file
Definition: MSK3Parser.hxx:62
MSKGraph & operator=(MSKGraph const &orig)
The class which parses the main zones of a mac MS Works document v4.
Definition: MSK4Zone.hxx:76
int version() const
returns the file version
Definition: MSKGraph.cxx:1007
Internal: the textbox of a MSKGraph ( v2-v3)
Definition: MSKGraph.cxx:770
shared_ptr< MSKGraphInternal::State > m_state
the state
Definition: MSKGraph.hxx:183
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:336
int m_id
the rbil id
Definition: MSKGraph.hxx:100
bool readPictHeader(MSKGraphInternal::Zone &pict)
read the picture header
Definition: MSKGraph.cxx:1041
void sendAll(int zoneId, bool mainZone)
send all the picture corresponding to a zone
Definition: MSKGraph.cxx:2686
int numPages(int zoneId) const
returns the number of pages
Definition: MSKGraph.cxx:1014
bool readPictureV4(MWAWInputStreamPtr input, MWAWEntry const &entry)
reads a Pict zone: a zone which seems to code in v4 : header/footer picture
Definition: MSKGraph.cxx:1922
void sendObjects(SendData const what)
sends all the object of a page, frame, ...
Definition: MSKGraph.cxx:2696
void sendFrameText(MWAWEntry const &entry, std::string const &frame)
ask m_mainParser to send a frame text(v4)
Definition: MSKGraph.cxx:1031
MWAWParserStatePtr m_parserState
the parser state
Definition: MSKGraph.hxx:180
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
void computePositions(int zoneId, std::vector< int > &linesHeight, std::vector< int > &pagesHeight)
try to update positions knowing pages and lines height
Definition: MSKGraph.cxx:1646
bool readFont(MSKGraphInternal::Font &font)
reads the textbox font
Definition: MSKGraph.cxx:2558
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
enum MSKGraph::SendData::Type m_type
Internal: the table of a MSKGraph.
Definition: MSKGraph.cxx:722
shared_ptr< MSKGraphInternal::GroupZone > readGroup(MSKGraphInternal::Zone &group)
try to read the group data
Definition: MSKGraph.cxx:1954
int getEntryPicture(int zoneId, MWAWEntry &zone)
checks if the next zone is a v2 picture and returns a zone id.
Definition: MSKGraph.cxx:1172
MSKParser * m_mainParser
the main parser;
Definition: MSKGraph.hxx:186
Vec2i m_size
the size of the data ( used by rbil )
Definition: MSKGraph.hxx:106