Go to the documentation of this file.
38 #ifndef HAN_MAC_WRD_K_GRAPH
39 # define HAN_MAC_WRD_K_GRAPH
45 #include <librevenge/librevenge.h>
111 bool readFrames(std::shared_ptr<HanMacWrdKZone> zone);
113 bool readPicture(std::shared_ptr<HanMacWrdKZone> zone);
135 bool checkGroupStructures(
long fileId,
long fileSubId, std::multimap<long, long> &seens,
bool inGroup);
188 std::shared_ptr<HanMacWrdKGraphInternal::State>
m_state;
bool readFrames(std::shared_ptr< HanMacWrdKZone > zone)
try to read the frame definition (type 2)
Definition: HanMacWrdKGraph.cxx:1041
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:565
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
~TextBox() final
destructor
Definition: HanMacWrdKGraph.cxx:604
Definition: MWAWPosition.hxx:51
Pattern & operator=(Pattern const &)=default
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
std::ostream & operator<<(std::ostream &o, Frame const &grph)
Definition: HanMacWrdKGraph.cxx:137
bool m_inGroup
true if the frame is a child of a group
Definition: HanMacWrdKGraph.cxx:126
MWAWGraphicShape m_shape
the shape m_shape
Definition: HanMacWrdKGraph.cxx:233
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:413
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:328
std::shared_ptr< HanMacWrdKGraphInternal::Group > readGroup(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the group data
Definition: HanMacWrdKGraph.cxx:1661
long m_id
the cell id ( corresponding to the last data in the main zones list )
Definition: HanMacWrdKGraph.cxx:407
int m_numCells
the number of cells
Definition: HanMacWrdKGraph.cxx:485
the main class to read a HanMac Word-K file
Definition: HanMacWrdKParser.hxx:185
bool sendShapeGraph(HanMacWrdKGraphInternal::ShapeGraph const &shape, MWAWPosition const &pos)
try to send a basic picture to the listener
Definition: HanMacWrdKGraph.cxx:1452
~Picture()
destructor
Definition: HanMacWrdKGraph.cxx:629
long m_fileSubId
the file sub id
Definition: HanMacWrdKGraph.cxx:108
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:547
a note
Definition: libmwaw_internal.hxx:445
bool sendText(long textId, long id, MWAWListenerPtr const &listener=MWAWListenerPtr())
ask main parser to send a text zone
Definition: HanMacWrdKGraph.cxx:988
Table(Frame const &orig, HanMacWrdKGraph &parser)
constructor
Definition: HanMacWrdKGraph.cxx:434
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
Type
the document type
Definition: HanMacWrdKGraph.cxx:826
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
long m_pos[2]
the first and last position of the picture data in the zone
Definition: HanMacWrdKGraph.cxx:643
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:487
Group(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:283
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:385
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdKGraph.cxx:955
bool m_commentBox
a flag to know if this is a comment textbox
Definition: HanMacWrdKGraph.cxx:593
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:322
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:236
HanMacWrdKGraph & operator=(HanMacWrdKGraph const &orig)=delete
bool canSendTextAsGraphic(long id, long subId)
check if we can send a textzone as graphic
Definition: HanMacWrdKParser.cxx:177
Pattern(uint16_t const *pat=nullptr)
constructor ( 4 int by patterns )
Definition: HanMacWrdKGraph.cxx:658
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:76
~ShapeGraph() final
destructor
Definition: HanMacWrdKGraph.cxx:236
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:427
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
bool m_parsed
a flag to know if the picture was send to the receiver
Definition: HanMacWrdKGraph.cxx:649
Definition: libmwaw_internal.hxx:178
int numPages() const
returns the number of pages
Definition: HanMacWrdKGraph.cxx:972
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:617
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:45
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:465
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr const &input, MWAWPosition const &pos, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:839
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:563
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
void setBackgroundColor(MWAWColor const &col, float opacity=1)
set the background color
Definition: MWAWGraphicStyle.hxx:354
bool m_isLinked
a flag to know if this textbox is linked to a previous box
Definition: HanMacWrdKGraph.cxx:601
~PictureFrame() final
destructor
Definition: HanMacWrdKGraph.cxx:386
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
void extend(T val)
extends the bdbox by (val, val) keeping the center
Definition: libmwaw_internal.hxx:1120
Frame()
constructor
Definition: HanMacWrdKGraph.cxx:70
std::string str() const
print the color in the form #rrggbb
Definition: libmwaw_internal.cxx:232
std::map< long, std::shared_ptr< Picture > > m_picturesMap
a map fileId -> picture
Definition: HanMacWrdKGraph.cxx:744
Definition: MWAWListener.hxx:56
bool sendTextBox(HanMacWrdKGraphInternal::TextBox const &textbox, MWAWPosition const &pos)
try to send a textbox to the listener
Definition: HanMacWrdKGraph.cxx:1428
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:332
Definition: libmwaw_internal.hxx:335
Internal: the textbox of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:499
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:651
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
int m_type
the graph type
Definition: HanMacWrdKGraph.cxx:104
TableCell()
constructor
Definition: HanMacWrdKGraph.cxx:394
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:106
int m_values[2]
two values
Definition: HanMacWrdKGraph.cxx:324
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
friend std::ostream & operator<<(std::ostream &o, Picture const &pict)
operator<<
Definition: HanMacWrdKGraph.cxx:633
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
PictureFrame(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:344
float m_dim[2]
two auxilliary dim for memo textbox
Definition: HanMacWrdKGraph.cxx:597
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:217
std::vector< Pattern > m_patternList
the patterns list
Definition: HanMacWrdKGraph.cxx:748
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:317
std::vector< unsigned char > m_data
the pattern data: a sequence of data: p[0..7,0],p[8..15,0]...p[0..7,1],p[8..15,1],...
Definition: MWAWGraphicStyle.hxx:265
const MWAWVec2f & size() const
returns the frame size
Definition: MWAWPosition.hxx:134
Definition: HanMacWrdKGraph.cxx:826
long m_fileId
the child id
Definition: HanMacWrdKGraph.cxx:322
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:263
float m_percent
the percentage
Definition: HanMacWrdKGraph.cxx:687
long m_subId
the zone subId ( for table cell )
Definition: HanMacWrdKGraph.cxx:866
HanMacWrdKParser * m_mainParser
the main parser;
Definition: HanMacWrdKGraph.hxx:191
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:421
bool sendFrame(long frameId, MWAWPosition const &pos)
try to send a frame to the listener
Definition: HanMacWrdKGraph.cxx:1263
bool sendPictureFrame(HanMacWrdKGraphInternal::PictureFrame const &pict, MWAWPosition const &pos)
try to send a picture frame
Definition: HanMacWrdKGraph.cxx:1417
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdKGraph.cxx:868
int m_flags
the cell data
Definition: HanMacWrdKGraph.cxx:411
Internal: the frame header of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:68
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
Child()
constructor
Definition: HanMacWrdKGraph.cxx:304
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:362
Internal: the geometrical graph of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:200
Definition: MWAWGraphicShape.hxx:49
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:206
bool hasPattern() const
returns true if the pattern is defined
Definition: MWAWGraphicStyle.hxx:339
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1127
bool sendEmptyPicture(MWAWPosition const &pos)
try to send an empty picture
Definition: HanMacWrdKGraph.cxx:1390
bool sendGroup(long fId, MWAWPosition const &pos)
try to send a group to the listener
Definition: HanMacWrdKGraph.cxx:1997
Definition: MWAWGraphicShape.hxx:49
SubDocumentType
Definition: libmwaw_internal.hxx:188
a table cell in a table in HanMacWrdKGraph
Definition: HanMacWrdKGraph.cxx:392
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdKGraph.cxx:746
int m_id
the local id
Definition: HanMacWrdKGraph.cxx:110
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:391
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdKGraph.cxx:2210
struct to store child data in HanMacWrdKGraphInternal::Group
Definition: HanMacWrdKGraph.cxx:302
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdKGraph.cxx:718
bool readPicture(std::shared_ptr< HanMacWrdKZone > zone)
try to read a picture zone (type d)
Definition: HanMacWrdKGraph.cxx:1162
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:425
bool sendPicture(long pictId, MWAWPosition const &pos)
try to send a picture to the listener
Definition: HanMacWrdKGraph.cxx:1219
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
long m_fileSubId
the file subid
Definition: HanMacWrdKGraph.cxx:647
int m_values[7]
some unknown int
Definition: HanMacWrdKGraph.cxx:383
T y() const
second element
Definition: libmwaw_internal.hxx:671
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:193
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:415
void endDocument(bool delayed=true) final
ends the actual document
Definition: MWAWGraphicListener.cxx:480
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:214
T x() const
first element
Definition: libmwaw_internal.hxx:666
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdKGraph.cxx:90
MWAWBox2f m_pos
the position
Definition: HanMacWrdKGraph.cxx:114
int m_columns
the number of columns
Definition: HanMacWrdKGraph.cxx:483
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
a border
Definition: libmwaw_internal.hxx:333
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:225
State()
constructor
Definition: HanMacWrdKGraph.cxx:698
~Group() final
destructor
Definition: HanMacWrdKGraph.cxx:328
std::shared_ptr< HanMacWrdKGraphInternal::FootnoteFrame > readFootnoteFrame(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the footnote data
Definition: HanMacWrdKGraph.cxx:1741
#define M_PI
Definition: libmwaw_internal.hxx:52
void addTo(MWAWGraphicStyle &style) const
add property to frame extra values
Definition: HanMacWrdKGraph.cxx:518
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:260
bool getBinaryResult(MWAWEmbeddedObject &result)
return the final graphic
Definition: MWAWGraphicEncoder.cxx:77
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
HanMacWrdKGraph * m_parser
the graph parser
Definition: HanMacWrdKGraph.cxx:479
virtual ~Frame()
destructor
Definition: HanMacWrdKGraph.cxx:133
MWAWGraphicStyle getStyle() const
return the current style
Definition: HanMacWrdKGraph.cxx:217
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:342
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:51
Type m_type
the type
Definition: MWAWGraphicShape.hxx:215
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:225
Definition: libmwaw_internal.hxx:178
bool sendTableUnformatted(long fId)
try to send a table unformatted
Definition: HanMacWrdKGraph.cxx:1465
std::shared_ptr< HanMacWrdKGraphInternal::State > m_state
the state
Definition: HanMacWrdKGraph.hxx:188
Internal: the group of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:280
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:209
int version() const
returns the file version
Definition: HanMacWrdKGraph.cxx:950
MWAWVec2f m_borders[4]
the border default size (before using width), 0 means Top, other unknown
Definition: HanMacWrdKGraph.cxx:124
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style) final
adds a shape picture in given position
Definition: MWAWGraphicListener.cxx:1031
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:470
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:333
std::shared_ptr< HanMacWrdKGraphInternal::PictureFrame > readPictureFrame(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the picture data
Definition: HanMacWrdKGraph.cxx:1699
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1191
Picture(std::shared_ptr< HanMacWrdKZone > const &zone)
constructor
Definition: HanMacWrdKGraph.cxx:619
int m_pictureType
a type
Definition: HanMacWrdKGraph.cxx:377
float m_baseline
the baseline
Definition: HanMacWrdKGraph.cxx:116
Definition: MWAWGraphicShape.hxx:49
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr const &subDocument, MWAWGraphicStyle const &style) final
adds a textbox in given position
Definition: MWAWGraphicListener.cxx:1110
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:221
bool checkGroupStructures(long fileId, long fileSubId, std::multimap< long, long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdKGraph.cxx:2238
MWAWGraphicStyle m_style
the style
Definition: HanMacWrdKGraph.cxx:120
void initPatterns()
init the pattenr list
Definition: HanMacWrdKGraph.cxx:751
Definition: MWAWPosition.hxx:51
TextBox(Frame const &orig, bool isComment)
constructor
Definition: HanMacWrdKGraph.cxx:501
Type m_type
the zone type
Definition: HanMacWrdKGraph.cxx:862
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:645
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: HanMacWrdKGraph.cxx:923
std::string m_extra
an extra string
Definition: HanMacWrdKGraph.cxx:130
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:263
TableCell * get(int i)
return the i^th table cell
Definition: HanMacWrdKGraph.cxx:447
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:576
friend std::ostream & operator<<(std::ostream &o, Frame const &grph)
operator<<
Definition: HanMacWrdKGraph.cxx:137
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdKGraph.cxx:2273
Style m_style
the border style
Definition: libmwaw_internal.hxx:380
Definition: MWAWCell.hxx:133
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:423
Internal: the pattern of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:656
main class used to define store librevenge::RVNGDrawingInterface lists of command in a librevenge::RV...
Definition: MWAWGraphicEncoder.hxx:55
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:465
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdKGraph.cxx:707
Definition: MWAWCell.hxx:136
Definition: MWAWGraphicShape.hxx:49
Internal: the table of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:432
Definition: libmwaw_internal.hxx:337
Definition: libmwaw_internal.hxx:178
Pattern()
constructor
Definition: MWAWGraphicStyle.hxx:182
std::multimap< long, std::shared_ptr< Frame > > m_framesMap
a map fileId -> frame
Definition: HanMacWrdKGraph.cxx:742
int m_rows
the number of row
Definition: HanMacWrdKGraph.cxx:481
std::shared_ptr< HanMacWrdKGraphInternal::Table > readTable(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the table data
Definition: HanMacWrdKGraph.cxx:1824
the main class to read the graphic part of a HanMac Word file
Definition: HanMacWrdKGraph.hxx:77
Definition: MWAWTable.hxx:56
Internal: the structures of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:64
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:595
void startDocument() final
starts a new document
Definition: MWAWGraphicListener.cxx:469
bool m_parsed
true if we have send the data
Definition: HanMacWrdKGraph.cxx:128
const MWAWVec2f & origin() const
return the frame origin
Definition: MWAWPosition.hxx:129
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:467
long m_id
the zone id
Definition: HanMacWrdKGraph.cxx:864
bool sendText(long id, long subId, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdKParser.cxx:172
MWAWVec2f m_borderDim
the border dim?
Definition: HanMacWrdKGraph.cxx:381
Definition: MWAWCell.hxx:136
Internal: the subdocument of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:822
Definition: MWAWPosition.hxx:51
static MWAWColor getColor(MWAWColor col, float pattern)
returns a color corresponding to a pattern and a color
Definition: HanMacWrdKGraph.cxx:730
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
Definition: libmwaw_internal.hxx:178
int m_posFlags
the graph anchor flags
Definition: HanMacWrdKGraph.cxx:118
friend std::ostream & operator<<(std::ostream &o, TableCell const &cell)
operator<<
Definition: HanMacWrdKGraph.cxx:416
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
Definition: HanMacWrdKGraph.cxx:826
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr const &input, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:828
std::shared_ptr< HanMacWrdKZone > m_zone
the main zone
Definition: HanMacWrdKGraph.cxx:641
bool sendText(long textId, long id) const
send a text zone
Definition: HanMacWrdKGraph.cxx:453
bool canCreateGraphic(HanMacWrdKGraphInternal::Group const &group)
check if we can send a group as graphic
Definition: HanMacWrdKGraph.cxx:2020
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: HanMacWrdKGraph.cxx:875
std::vector< Child > m_childsList
the list of child
Definition: HanMacWrdKGraph.cxx:300
~Table() final
destructor
Definition: HanMacWrdKGraph.cxx:493
std::vector< long > m_linkedIdList
the list of linked remaining textbox id
Definition: HanMacWrdKGraph.cxx:599
bool sendContent(MWAWListenerPtr listener, MWAWTable &table) final
call when the content of a cell must be send
Definition: HanMacWrdKGraph.cxx:608
friend std::ostream & operator<<(std::ostream &o, TextBox const &textbox)
operator<<
Definition: HanMacWrdKGraph.cxx:569
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1065
Definition: MWAWPosition.hxx:51
int m_page
the page
Definition: HanMacWrdKGraph.cxx:112
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
Definition: HanMacWrdKGraph.cxx:826
std::shared_ptr< HanMacWrdKGraphInternal::TextBox > readTextBox(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header, bool isMemo)
try to read the textbox data
Definition: HanMacWrdKGraph.cxx:1777
bool isLinked() const
returns true if the box is linked to other textbox
Definition: HanMacWrdKGraph.cxx:513
Definition: libmwaw_internal.hxx:447
MWAWVec2f m_arcAngles
the start and end value which defines an arc
Definition: MWAWGraphicShape.hxx:223
HanMacWrdKGraph * m_graphParser
the graph parser
Definition: HanMacWrdKGraph.cxx:860
void sendGroupChild(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdKGraph.cxx:2089
Definition: MWAWGraphicShape.hxx:49
HanMacWrdKGraph(HanMacWrdKParser &parser)
constructor
Definition: HanMacWrdKGraph.cxx:940
friend std::ostream & operator<<(std::ostream &o, Child const &ch)
operator<<
Definition: HanMacWrdKGraph.cxx:310
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:269
Definition: HanMacWrdKGraph.cxx:826
Small class used to store the decoded zone of HanMacWrdKParser.
Definition: HanMacWrdKParser.hxx:58
virtual ~HanMacWrdKGraph()
destructor
Definition: HanMacWrdKGraph.cxx:947
Table & operator=(Table const &orig)=delete
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:409
~SubDocument() final
destructor
Definition: HanMacWrdKGraph.cxx:850
~Pattern() final
destructor
Definition: HanMacWrdKGraph.cxx:690
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdKGraph.cxx:2291
friend std::ostream & operator<<(std::ostream &o, Table const &table)
operator<<
Definition: HanMacWrdKGraph.cxx:458
Definition: MWAWCell.hxx:136
std::shared_ptr< MWAWCell > get(int id)
returns the i^th cell
Definition: MWAWTable.cxx:122
std::shared_ptr< HanMacWrdKGraphInternal::ShapeGraph > readShapeGraph(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the basic graph data
Definition: HanMacWrdKGraph.cxx:1483
Definition: HanMacWrdKGraph.cxx:826
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:119
std::map< long, int > getTextFrameInformations() const
return a list textZId -> type which 3(footnote), 4(textbox), 9(table), 10(comment)
Definition: HanMacWrdKGraph.cxx:993
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
int m_borderType
the border type
Definition: HanMacWrdKGraph.cxx:122
MWAWParserStatePtr m_parserState
the parser state
Definition: HanMacWrdKGraph.hxx:185
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:836
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWVec2i m_dim
a dim?
Definition: HanMacWrdKGraph.cxx:379
ShapeGraph(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:202
Internal: the state of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:696
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:59
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:219
void initColors()
init the color list
Definition: HanMacWrdKGraph.cxx:778
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:58
Definition: MWAWTable.hxx:56
Generated on Sun Aug 18 2019 09:48:29 for libmwaw by
doxygen 1.8.16