38 #ifndef MS_WKS_MWAW_GRAPH
39 # define MS_WKS_MWAW_GRAPH
106 void sendAll(
int zoneId,
bool mainZone);
129 void computePositions(
int zoneId, std::vector<int> &linesHeight, std::vector<int> &pagesHeight);
212 o << static_cast<MWAWGraphicStyle const &>(st);
239 shared_ptr<MsWksGraphInternal::State>
m_state;
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:441
MsWksGraph(MsWksDocument &document)
constructor
Definition: MsWksGraph.cxx:927
MsWksDocument & m_document
the main document
Definition: MsWksGraph.hxx:244
the main class to read a Microsoft Works database file and convert it in a spreadsheet file ...
Definition: MsWksDBParser.hxx:65
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: MsWksGraph.cxx:2916
bool readText(MsWksGraphInternal::TextBox &textBox)
try to read a text zone
Definition: MsWksGraph.cxx:2437
MWAWPosition::AnchorTo m_anchor
the anchor
Definition: MsWksGraph.hxx:119
int m_page
the page ( used if anchor==page)
Definition: MsWksGraph.hxx:121
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:322
Style()
constructor
Definition: MsWksGraph.hxx:205
int m_id
the rbil id
Definition: MsWksGraph.hxx:117
the main class to read a Microsoft Works file: v1-v4
Definition: MsWksParser.hxx:59
friend std::ostream & operator<<(std::ostream &o, Style const &st)
operator<<
Definition: MsWksGraph.hxx:210
bool readPictHeader(MsWksGraphInternal::Zone &pict)
read the picture header
Definition: MsWksGraph.cxx:1007
void sendTextBox(int zId, MWAWListenerPtr listener)
try to send a text box zone v1-3
Definition: MsWksGraph.cxx:2632
virtual ~MsWksGraph()
destructor
Definition: MsWksGraph.cxx:935
enum MsWksGraph::SendData::Type m_type
void sendChart(int zoneId)
try to send a chart
Definition: MsWksGraph.cxx:972
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:318
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
void sendObjects(SendData const &what)
sends all the object of a page, frame, ...
Definition: MsWksGraph.cxx:2840
int getEntryPicture(int zoneId, MWAWEntry &zone, bool autoSend=true, int order=-1000)
checks if the next zone is a v2 picture and returns a zone id ( or -1)
Definition: MsWksGraph.cxx:1312
void setPageLeftTop(MWAWVec2f const &leftTop)
define the page left top dimension in point
Definition: MsWksGraph.cxx:938
Internal: a list of zones ( for v4)
Definition: MsWksGraph.cxx:67
bool readPictureV4(MWAWInputStreamPtr input, MWAWEntry const &entry)
reads a Pict zone: a zone which seems to code in v4 : header/footer picture
Definition: MsWksGraph.cxx:2151
bool readFont(MWAWFont &font)
reads the textbox font
Definition: MsWksGraph.cxx:2584
void sendTable(int id)
try to a table zone
Definition: MsWksGraph.cxx:977
the class to store a color
Definition: libmwaw_internal.hxx:177
Definition: MsWksGraph.hxx:115
shared_ptr< MsWksTable > m_tableParser
the table manager
Definition: MsWksGraph.hxx:247
void sendGroupChild(int zoneId, MWAWPosition const &pos)
try to send a group elements by elemenys
Definition: MsWksGraph.cxx:2222
Class to store font.
Definition: MWAWFont.hxx:44
Internal: the subdocument of a MsWksGraph.
Definition: MsWksGraph.cxx:822
the main class to read the table ( or a chart ) of a Microsoft Works file
Definition: MsWksTable.hxx:58
Type
the type
Definition: MsWksGraph.hxx:115
AnchorTo
a list of enum used to defined the anchor
Definition: MWAWPosition.hxx:51
bool getZonePosition(int zoneId, MWAWPosition::AnchorTo anchor, MWAWPosition &pos) const
returns the position of the zone defined by zoneId
Definition: MsWksGraph.cxx:997
The class which parses the main zones of a mac MS Works document v4.
Definition: MsWks4Zone.hxx:73
bool canCreateGraphic(MsWksGraphInternal::GroupZone const &group) const
returns true if we can create a graphic for the whole group
Definition: MsWksGraph.cxx:2325
int numPages(int zoneId) const
returns the number of pages
Definition: MsWksGraph.cxx:950
Internal: the textbox of a MsWksGraph ( v2-v3)
Definition: MsWksGraph.cxx:527
void computePositions(int zoneId, std::vector< int > &linesHeight, std::vector< int > &pagesHeight)
try to update positions knowing pages and lines height
Definition: MsWksGraph.cxx:1835
Internal: the structures of a MsWksGraph.
Definition: MsWksGraph.cxx:63
MWAWColor m_baseSurfaceColor
the 2D surface color
Definition: MsWksGraph.hxx:224
SendData()
constructor
Definition: MsWksGraph.hxx:111
bool m_fillRuleEvenOdd
true if the fill rule is evenod
Definition: MWAWGraphicStyle.hxx:320
the main class to read a Microsoft Works graphic file
Definition: MsWksDRParser.hxx:59
MWAWVec2i m_size
the size of the data ( used by rbil )
Definition: MsWksGraph.hxx:123
MWAWColor m_baseLineColor
the line color
Definition: MsWksGraph.hxx:222
bool readRB(MWAWInputStreamPtr input, MWAWEntry const &entry, int kind)
reads the RBDR or a RBIL zone: a zone which seems to regroup all pages pictures in v3-v4 document ...
Definition: MsWksGraph.cxx:1935
MsWksGraph & operator=(MsWksGraph const &orig)
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
the main class to read the graphic of a Microsoft Works file
Definition: MsWksGraph.hxx:73
void checkTextBoxLinks(MsWksGraphInternal::RBZone &rbZone)
check the text box link v4
Definition: MsWksGraph.cxx:2091
the main class to read a Microsoft Works spreadsheet file
Definition: MsWksSSParser.hxx:65
shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:437
int getEntryPictureV1(int zoneId, MWAWEntry &zone, bool autoSend=true)
checks if the next zone is a v1 picture and returns a zone id ( or -1).
Definition: MsWksGraph.cxx:1870
shared_ptr< MsWksGraphInternal::GroupZone > readGroup(MsWksGraphInternal::Zone &group)
try to read the group data
Definition: MsWksGraph.cxx:2396
int version() const
returns the file version
Definition: MsWksGraph.cxx:943
Internal: the graphic style of MsWksGraph.
Definition: MsWksGraph.hxx:203
MWAWParserStatePtr m_parserState
the parser state
Definition: MsWksGraph.hxx:236
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:445
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:97
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
Definition: MsWksGraph.hxx:115
Internal: the generic pict.
Definition: MsWksGraph.cxx:86
void send(int id, MWAWPosition const &pos)
send a zone (textbox, ...).
Definition: MsWksGraph.cxx:2700
bool readGradient(Style &style)
read the gradient structure ( v4)
Definition: MsWksGraph.cxx:1213
MWAWParser * m_mainParser
the main parser;
Definition: MsWksGraph.hxx:242
Definition: MsWksGraph.hxx:115
void sendFrameText(MWAWEntry const &entry, std::string const &frame)
ask m_mainParser to send a frame text(v4)
Definition: MsWksGraph.cxx:967
bool getZoneGraphicStyle(int zoneId, MWAWGraphicStyle &style) const
returns the graphic style of the zone defined by zoneId
Definition: MsWksGraph.cxx:987
small struct used which picture need to be send
Definition: MsWksGraph.hxx:109
void sendGroup(int zoneId, MWAWPosition const &pos)
try to send a group
Definition: MsWksGraph.cxx:2183
shared_ptr< MsWksGraphInternal::State > m_state
the state
Definition: MsWksGraph.hxx:239
Internal: the group of a MsWksGraph.
Definition: MsWksGraph.cxx:294
the main class to read/store generic data of a MsWorks document v1-v3
Definition: MsWksDocument.hxx:67
void sendAll(int zoneId, bool mainZone)
send all the picture corresponding to a zone
Definition: MsWksGraph.cxx:2826