Go to the documentation of this file.
38 #ifndef HAN_MAC_WRD_J_GRAPH
39 # define HAN_MAC_WRD_J_GRAPH
46 #include <librevenge/librevenge.h>
114 std::shared_ptr<HanMacWrdJGraphInternal::Frame>
readFrame(
int id);
196 std::shared_ptr<HanMacWrdJGraphInternal::State>
m_state;
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:565
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:352
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::vector< Pattern > m_patternList
a list patternId -> pattern
Definition: HanMacWrdJGraph.cxx:874
long m_zId
the picture id
Definition: HanMacWrdJGraph.cxx:544
Definition: MWAWPosition.hxx:51
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
bool sendTableUnformatted(long zId)
try to send a table unformatted
Definition: HanMacWrdJGraph.cxx:2198
Table(HanMacWrdJGraph &parser)
constructor
Definition: HanMacWrdJGraph.cxx:167
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdJGraph.cxx:3038
Definition: HanMacWrdJGraph.cxx:955
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdJGraph.cxx:340
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:328
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:547
std::string m_extra
extra data
Definition: HanMacWrdJGraph.cxx:128
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
std::shared_ptr< HanMacWrdJGraphInternal::ShapeGraph > readShapeGraph(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the basic graph data
Definition: HanMacWrdJGraph.cxx:2570
MWAWVec2f m_scale
the scale
Definition: HanMacWrdJGraph.cxx:548
std::map< long, int > getTextFrameInformations() const
return a list textZId -> type which type=0(main), 1(header), 2(footer), 3(footnote),...
Definition: HanMacWrdJGraph.cxx:1115
SubDocument(HanMacWrdJGraph &pars, MWAWInputStreamPtr const &input, MWAWPosition const &pos, Type type, long id, int firstChar=0)
constructor
Definition: HanMacWrdJGraph.cxx:966
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
const FrameFormat & getFrameFormat(int id) const
returns the frame format corresponding to an id
Definition: HanMacWrdJGraph.cxx:824
MWAWParserStatePtr m_parserState
the parser state
Definition: HanMacWrdJGraph.hxx:193
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
int numPages() const
returns the number of pages
Definition: HanMacWrdJGraph.cxx:1094
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:385
std::string m_extra
extra data
Definition: MWAWGraphicStyle.hxx:482
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:322
Internal: the table of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:165
long m_zId
the group id
Definition: HanMacWrdJGraph.cxx:504
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdJGraph.cxx:872
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:236
virtual ~HanMacWrdJGraph()
destructor
Definition: HanMacWrdJGraph.cxx:1070
std::map< long, int > m_framesMap
a map zId->frame pos in frames list
Definition: HanMacWrdJGraph.cxx:867
HanMacWrdJParser * m_mainParser
the main parser;
Definition: HanMacWrdJGraph.hxx:199
bool readFrames(MWAWEntry const &entry)
try to read the frames definition (type 3)
Definition: HanMacWrdJGraph.cxx:1174
std::ostream & operator<<(std::ostream &o, Frame const &grph)
Definition: HanMacWrdJGraph.cxx:384
bool sendComment(HanMacWrdJGraphInternal::CommentFrame const &textbox, MWAWPosition const &pos, librevenge::RVNGPropertyList const &extras=librevenge::RVNGPropertyList())
try to send a comment box to the listener
Definition: HanMacWrdJGraph.cxx:2137
bool readTableFormatsList(HanMacWrdJGraphInternal::Table &table, long endPos)
try to read a list of format
Definition: HanMacWrdJGraph.cxx:1915
long m_zId
the cell zone id
Definition: HanMacWrdJGraph.cxx:116
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:76
friend std::ostream & operator<<(std::ostream &o, ShapeGraph const &graph)
operator<<
Definition: HanMacWrdJGraph.cxx:730
bool sendGroup(long zId, MWAWPosition const &pos)
try to send a group to the listener
Definition: HanMacWrdJGraph.cxx:2800
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:533
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:427
the main class to read the graphic part of a HanMac Word-J file
Definition: HanMacWrdJGraph.hxx:78
Internal: the subdocument of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:951
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
std::shared_ptr< Table > m_table
the table
Definition: HanMacWrdJGraph.cxx:614
Internal: the structures of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:62
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:663
Definition: libmwaw_internal.hxx:178
MWAWEntry m_entry
the picture entry
Definition: HanMacWrdJGraph.cxx:542
long m_fileId
the file id
Definition: HanMacWrdJGraph.cxx:361
int m_arrowsFlag
the lines arrow flag
Definition: HanMacWrdJGraph.cxx:749
bool isLinked() const
returns true if the box is linked to other textbox
Definition: HanMacWrdJGraph.cxx:643
SeparatorFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:560
Definition: HanMacWrdJGraph.cxx:955
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 m_extra
an extra string
Definition: HanMacWrdJGraph.cxx:377
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
Internal: the table frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:578
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:648
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:661
long m_zId
the text id
Definition: HanMacWrdJGraph.cxx:701
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
bool sendShapeGraph(HanMacWrdJGraphInternal::ShapeGraph const &pict, MWAWPosition const &pos)
try to send a basic picture to the listener
Definition: HanMacWrdJGraph.cxx:2048
Definition: HanMacWrdJGraph.cxx:955
Definition: MWAWListener.hxx:56
Definition: libmwaw_internal.hxx:335
bool readClassicHeader(HanMacWrdJZoneHeader &header, long endPos=-1)
try to read a header of classic zone
Definition: HanMacWrdJParser.cxx:237
bool getFootnoteInformations(long &textZId, std::vector< long > &fPosList) const
return the footnote text zone id and the list of first char position
Definition: HanMacWrdJGraph.cxx:1151
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
long m_length
related to text length?
Definition: HanMacWrdJGraph.cxx:612
bool m_inGroup
true if this node is a group's child
Definition: HanMacWrdJGraph.cxx:373
std::shared_ptr< HanMacWrdJGraphInternal::TextFrame > readTextData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read a text data (text, header/footer, footnote)
Definition: HanMacWrdJGraph.cxx:2532
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:125
TextboxFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:626
bool sendText(long id, long cPos, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdJParser.cxx:190
int m_formatId
the format id
Definition: HanMacWrdJGraph.cxx:365
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:217
const MWAWVec2f & size() const
returns the frame size
Definition: MWAWPosition.hxx:134
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdJGraph.cxx:2714
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:263
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:421
ShapeGraph(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:716
HanMacWrdJGraph & operator=(HanMacWrdJGraph const &orig)=delete
Frame()
constructor
Definition: HanMacWrdJGraph.cxx:323
Pattern(uint16_t const *pat=nullptr)
constructor ( 4 int by patterns )
Definition: HanMacWrdJGraph.cxx:760
bool readTable(MWAWEntry const &entry, int actZone)
try to read a table (zone 7)
Definition: HanMacWrdJGraph.cxx:1700
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdJGraph.cxx:993
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
bool canSendTextAsGraphic(long id, long cPos)
check if we can send a textzone as graphic
Definition: HanMacWrdJParser.cxx:195
long m_linkToFId
the next link zone
Definition: HanMacWrdJGraph.cxx:665
std::shared_ptr< HanMacWrdJGraphInternal::TableFrame > readTableData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the table data
Definition: HanMacWrdJGraph.cxx:2449
int version() const
returns the file version
Definition: HanMacWrdJGraph.cxx:1074
Internal: the state of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:798
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
long m_id
the zone id
Definition: HanMacWrdJGraph.cxx:989
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdJGraph.cxx:843
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1127
Definition: MWAWGraphicShape.hxx:49
std::shared_ptr< HanMacWrdJGraphInternal::Frame > readFrame(int id)
try to read a frame
Definition: HanMacWrdJGraph.cxx:1394
SubDocumentType
Definition: libmwaw_internal.hxx:188
std::vector< CellFormat > m_formatsList
a list of cell format
Definition: HanMacWrdJGraph.cxx:197
long m_firstChar
the first char position
Definition: HanMacWrdJGraph.cxx:991
State()
constructor
Definition: HanMacWrdJGraph.cxx:800
Internal: the geometrical graph of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:714
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:391
bool readGroupData(MWAWEntry const &entry, int actZone)
try to read the groupd data ( type 9 )
Definition: HanMacWrdJGraph.cxx:1506
void sendGroupChild(HanMacWrdJGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdJGraph.cxx:2904
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:425
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
int m_id
the local id
Definition: HanMacWrdJGraph.cxx:363
int m_formatId
the cell format id
Definition: HanMacWrdJGraph.cxx:124
the main class to read a HanMac Word-J file
Definition: HanMacWrdJParser.hxx:109
int m_flags
the cell flags
Definition: HanMacWrdJGraph.cxx:126
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
Definition: libmwaw_internal.hxx:176
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:415
void endDocument(bool delayed=true) final
ends the actual document
Definition: MWAWGraphicListener.cxx:480
Internal: the text frame (basic, header, footer, footnote) of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:676
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:214
Internal: the pattern of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:758
std::vector< std::shared_ptr< Frame > > m_framesList
the list of frames
Definition: HanMacWrdJGraph.cxx:865
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdJGraph.cxx:832
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
TableCell(long tId)
constructor
Definition: HanMacWrdJGraph.cxx:98
~SubDocument() final
destructor
Definition: HanMacWrdJGraph.cxx:975
a border
Definition: libmwaw_internal.hxx:333
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:225
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:705
#define M_PI
Definition: libmwaw_internal.hxx:52
bool getBinaryResult(MWAWEmbeddedObject &result)
return the final graphic
Definition: MWAWGraphicEncoder.cxx:77
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:737
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:92
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
a table cell in a table in HanMacWrdJGraph
Definition: HanMacWrdJGraph.cxx:96
Type m_type
the zone type
Definition: HanMacWrdJGraph.cxx:987
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:51
Type m_type
the type
Definition: MWAWGraphicShape.hxx:215
Definition: libmwaw_internal.hxx:178
bool sendFrame(HanMacWrdJGraphInternal::Frame const &frame, MWAWPosition const &pos)
try to send a frame to the listener
Definition: HanMacWrdJGraph.cxx:2227
TextFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:679
MWAWVec2i m_dim
the picture size
Definition: HanMacWrdJGraph.cxx:546
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:209
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:82
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
long m_textFileId
the text file id
Definition: HanMacWrdJGraph.cxx:195
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:333
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1191
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:610
HanMacWrdJGraph(HanMacWrdJParser &parser)
constructor
Definition: HanMacWrdJGraph.cxx:1063
int m_page
the page
Definition: HanMacWrdJGraph.cxx:367
long m_cPos
the first character position in m_zId
Definition: HanMacWrdJGraph.cxx:120
bool m_parsed
true if we have send the data
Definition: HanMacWrdJGraph.cxx:375
Definition: HanMacWrdJGraph.cxx:955
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
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:703
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:221
int m_type
the graph type
Definition: HanMacWrdJGraph.cxx:359
Definition: MWAWPosition.hxx:51
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:263
bool sendPictureFrame(HanMacWrdJGraphInternal::PictureFrame const &pict, MWAWPosition const &pos)
try to send a picture frame
Definition: HanMacWrdJGraph.cxx:2070
Definition: libmwaw_internal.hxx:176
Style m_style
the border style
Definition: libmwaw_internal.hxx:380
long m_zId
the text id
Definition: HanMacWrdJGraph.cxx:659
Definition: MWAWCell.hxx:133
long end() const
returns the end offset
Definition: MWAWEntry.hxx:87
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:423
std::shared_ptr< Frame > findFrame(int type, int lId) const
tries to find the lId the frame of a given type
Definition: HanMacWrdJGraph.cxx:809
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
Definition: HanMacWrdJGraph.cxx:955
Definition: MWAWCell.hxx:136
Definition: MWAWGraphicShape.hxx:49
HanMacWrdJGraph * m_graphParser
the graph parser
Definition: HanMacWrdJGraph.cxx:985
TableFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:581
Definition: libmwaw_internal.hxx:337
Definition: libmwaw_internal.hxx:178
std::vector< long > m_childsList
the child list
Definition: HanMacWrdJGraph.cxx:506
int m_height
the table height
Definition: HanMacWrdJGraph.cxx:193
float m_baseline
the baseline
Definition: HanMacWrdJGraph.cxx:371
static MWAWColor getColor(MWAWColor col, float pattern)
returns a color corresponding to a pattern and a color
Definition: HanMacWrdJGraph.cxx:854
std::shared_ptr< HanMacWrdJGraphInternal::State > m_state
the state
Definition: HanMacWrdJGraph.hxx:196
long m_zId
the textzone id
Definition: HanMacWrdJGraph.cxx:608
bool canCreateGraphic(HanMacWrdJGraphInternal::Group const &group)
check if we can send a group as graphic
Definition: HanMacWrdJGraph.cxx:2827
void startDocument() final
starts a new document
Definition: MWAWGraphicListener.cxx:469
const MWAWVec2f & origin() const
return the frame origin
Definition: MWAWPosition.hxx:129
float m_percent
the percentage
Definition: HanMacWrdJGraph.cxx:789
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:467
PictureFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:517
long m_fileId
the file id
Definition: HanMacWrdJGraph.cxx:122
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:690
std::shared_ptr< HanMacWrdJGraphInternal::PictureFrame > readPictureData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the picture data
Definition: HanMacWrdJGraph.cxx:2400
Type
the document type
Definition: HanMacWrdJGraph.cxx:955
Definition: libmwaw_internal.hxx:176
Definition: MWAWCell.hxx:136
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdJGraph.cxx:1079
Definition: MWAWPosition.hxx:51
Group(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:490
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
Definition: libmwaw_internal.hxx:178
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
void update(CellFormat const &format)
use cell format to finish updating cell
Definition: HanMacWrdJGraph.cxx:132
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdJGraph.cxx:3063
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:98
long m_tId
the cell text zone id
Definition: HanMacWrdJGraph.cxx:118
SubDocument(HanMacWrdJGraph &pars, MWAWInputStreamPtr const &input, Type type, long id, long firstChar=0)
constructor
Definition: HanMacWrdJGraph.cxx:957
Definition: libmwaw_internal.hxx:176
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1065
Definition: MWAWPosition.hxx:51
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
HanMacWrdJGraph * m_parser
the graph parser
Definition: HanMacWrdJGraph.cxx:187
MWAWVec2f m_arcAngles
the start and end value which defines an arc
Definition: MWAWGraphicShape.hxx:223
bool m_isLinked
true if this zone is linked
Definition: HanMacWrdJGraph.cxx:667
Definition: MWAWGraphicShape.hxx:49
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:289
bool sendEmptyPicture(MWAWPosition const &pos)
try to send an empty picture
Definition: HanMacWrdJGraph.cxx:2109
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
bool checkGroupStructures(long zId, std::set< long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdJGraph.cxx:2770
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:269
MWAWBox2f m_pos
the position
Definition: HanMacWrdJGraph.cxx:369
Definition: MWAWCell.hxx:136
std::shared_ptr< HanMacWrdJGraphInternal::TextboxFrame > readTextboxData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read a textbox data
Definition: HanMacWrdJGraph.cxx:2492
void addTo(librevenge::RVNGPropertyList &pList, bool only1d=false) const
add all the parameters to the propList excepted the frame parameter: the background and the borders
Definition: MWAWGraphicStyle.cxx:191
int m_rows
the number of row
Definition: HanMacWrdJGraph.cxx:189
bool readGraphData(MWAWEntry const &entry, int actZone)
try to read the graph data (zone 8)
Definition: HanMacWrdJGraph.cxx:1581
Internal: the textbox frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:623
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
bool sendText(long id, long cPos) const
send a text zone
Definition: HanMacWrdJGraph.cxx:182
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:119
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
bool sendText(long textId, long fPos, MWAWListenerPtr const &listener=MWAWListenerPtr())
ask main parser to send a text zone
Definition: HanMacWrdJGraph.cxx:1110
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:836
Internal: a group of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:487
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
const std::string & name() const
name of the entry
Definition: MWAWEntry.hxx:152
Internal: the frame header of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:321
std::shared_ptr< HanMacWrdJGraphInternal::CommentFrame > readCommentData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the comment data
Definition: HanMacWrdJGraph.cxx:2349
bool sendTextbox(HanMacWrdJGraphInternal::TextboxFrame const &textbox, MWAWPosition const &pos)
try to send a textbox to the listener
Definition: HanMacWrdJGraph.cxx:2169
int m_columns
the number of columns
Definition: HanMacWrdJGraph.cxx:191
FrameFormat m_defaultFormat
empty format used to return a default format
Definition: HanMacWrdJGraph.cxx:876
Internal: the picture frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:514
bool readPicture(MWAWEntry const &entry, int actZone)
try to read the pictures definition (type 6)
Definition: HanMacWrdJGraph.cxx:1658
Internal: a footnote separator of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:557
MWAWGraphicShape m_shape
the shape m_shape
Definition: HanMacWrdJGraph.cxx:747
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:59
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:597
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:219
std::vector< FrameFormat > m_frameFormatsList
the list of frame format
Definition: HanMacWrdJGraph.cxx:869
Generated on Wed Jul 24 2024 02:19:04 for libmwaw by
doxygen 1.8.16