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;
~ShapeGraph() final
destructor
Definition: HanMacWrdJGraph.cxx:752
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
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:47
std::vector< Pattern > m_patternList
a list patternId -> pattern
Definition: HanMacWrdJGraph.cxx:875
long m_zId
the picture id
Definition: HanMacWrdJGraph.cxx:544
@ CharBaseLine
Definition: MWAWPosition.hxx:51
int numCells() const
returns the number of cell
Definition: MWAWTable.hxx:113
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:551
bool sendTableUnformatted(long zId)
try to send a table unformatted
Definition: HanMacWrdJGraph.cxx:2199
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: HanMacWrdJGraph.cxx:1001
Table(HanMacWrdJGraph &parser)
constructor
Definition: HanMacWrdJGraph.cxx:167
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdJGraph.cxx:3039
@ Text
Definition: HanMacWrdJGraph.cxx:956
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdJGraph.cxx:340
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:421
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
~SeparatorFrame() final
destructor
Definition: HanMacWrdJGraph.cxx:572
std::string m_extra
extra data
Definition: HanMacWrdJGraph.cxx:128
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:638
#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:2571
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:1116
SubDocument(HanMacWrdJGraph &pars, MWAWInputStreamPtr const &input, MWAWPosition const &pos, Type type, long id, int firstChar=0)
constructor
Definition: HanMacWrdJGraph.cxx:967
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
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:1095
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:385
std::string m_extra
extra data
Definition: MWAWGraphicStyle.hxx:568
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:415
Internal: the table of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:165
Pattern(Pattern const &)=default
long m_zId
the group id
Definition: HanMacWrdJGraph.cxx:504
Pattern & operator=(Pattern const &)=default
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdJGraph.cxx:873
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:499
bool sendContent(MWAWListenerPtr listener, MWAWTable &table) final
call when the content of a cell must be send
Definition: HanMacWrdJGraph.cxx:208
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
virtual ~HanMacWrdJGraph()
destructor
Definition: HanMacWrdJGraph.cxx:1071
std::map< long, int > m_framesMap
a map zId->frame pos in frames list
Definition: HanMacWrdJGraph.cxx:868
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:1175
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:2138
bool readTableFormatsList(HanMacWrdJGraphInternal::Table &table, long endPos)
try to read a list of format
Definition: HanMacWrdJGraph.cxx:1916
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:205
long m_zId
the cell zone id
Definition: HanMacWrdJGraph.cxx:116
~Group() final
destructor
Definition: HanMacWrdJGraph.cxx:509
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
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:2801
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:533
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:520
the main class to read the graphic part of a HanMac Word-J file
Definition: HanMacWrdJGraph.hxx:79
Internal: the subdocument of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:953
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:63
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:663
@ BottomBit
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
@ Group
Definition: HanMacWrdJGraph.cxx:956
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
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:565
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:447
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
Pattern & operator=(Pattern &&)=default
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:1122
bool sendShapeGraph(HanMacWrdJGraphInternal::ShapeGraph const &pict, MWAWPosition const &pos)
try to send a basic picture to the listener
Definition: HanMacWrdJGraph.cxx:2049
@ UnformattedTable
Definition: HanMacWrdJGraph.cxx:956
@ Graphic
Definition: MWAWListener.hxx:56
@ None
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:1152
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:685
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
void setBackgroundColor(MWAWColor color)
sets the background color
Definition: MWAWCell.hxx:332
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:2533
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
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
void initColors()
init the color list
Definition: HanMacWrdJGraph.cxx:907
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:42
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:218
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:410
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:363
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdJGraph.cxx:2715
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:264
bool hasExtraLine() const
returns true if we have some extra lines
Definition: MWAWCell.hxx:337
void setExtraLine(ExtraLine extrLine, MWAWBorder const &type=MWAWBorder())
sets the extraline
Definition: MWAWCell.hxx:352
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:725
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:514
ExtraLine extraLine() const
returns the extra lines
Definition: MWAWCell.hxx:342
Defines MWAWCell (cell content and format)
@ TableDimBit
Definition: MWAWTable.hxx:56
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:1701
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdJGraph.cxx:994
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
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:2450
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
int version() const
returns the file version
Definition: HanMacWrdJGraph.cxx:1075
Internal: the state of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:799
@ Polygon
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:990
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdJGraph.cxx:844
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1129
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
std::shared_ptr< HanMacWrdJGraphInternal::Frame > readFrame(int id)
try to read a frame
Definition: HanMacWrdJGraph.cxx:1395
SubDocumentType
Definition: libmwaw_internal.hxx:188
std::vector< CellFormat > m_formatsList
a list of cell format
Definition: HanMacWrdJGraph.cxx:197
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:592
long m_firstChar
the first char position
Definition: HanMacWrdJGraph.cxx:992
State()
constructor
Definition: HanMacWrdJGraph.cxx:801
Internal: the geometrical graph of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:714
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:566
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:1507
void sendGroupChild(HanMacWrdJGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdJGraph.cxx:2905
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:518
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:110
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
@ Bottom
Definition: libmwaw_internal.hxx:176
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
void endDocument(bool delayed=true) final
ends the actual document
Definition: MWAWGraphicListener.cxx:481
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:215
Internal: the pattern of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:758
Table(Table const &orig)=delete
std::vector< std::shared_ptr< Frame > > m_framesList
the list of frames
Definition: HanMacWrdJGraph.cxx:866
void updateCells()
update all cells using the formats list
Definition: HanMacWrdJGraph.cxx:215
FrameFormat const & getFrameFormat(int id) const
returns the frame format corresponding to an id
Definition: HanMacWrdJGraph.cxx:825
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdJGraph.cxx:833
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
TableCell(long tId)
constructor
Definition: HanMacWrdJGraph.cxx:98
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:153
~SubDocument() final
destructor
Definition: HanMacWrdJGraph.cxx:976
a border
Definition: libmwaw_internal.hxx:333
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:226
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:705
#define M_PI
Definition: libmwaw_internal.hxx:52
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:358
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:93
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:232
a table cell in a table in HanMacWrdJGraph
Definition: HanMacWrdJGraph.cxx:96
Type m_type
the zone type
Definition: HanMacWrdJGraph.cxx:988
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:52
friend std::ostream & operator<<(std::ostream &o, TableCell const &cell)
operator<<
Definition: HanMacWrdJGraph.cxx:146
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
@ RightBit
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:2228
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:210
~TableFrame() final
destructor
Definition: HanMacWrdJGraph.cxx:617
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style) final
adds a shape picture in given position
Definition: MWAWGraphicListener.cxx:1032
~Pattern() final
destructor
Definition: HanMacWrdJGraph.cxx:793
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:553
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:426
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:610
HanMacWrdJGraph(HanMacWrdJParser &parser)
constructor
Definition: HanMacWrdJGraph.cxx:1064
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
@ FrameInFrame
Definition: HanMacWrdJGraph.cxx:956
@ Pie
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:1111
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:703
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:222
int m_type
the graph type
Definition: HanMacWrdJGraph.cxx:359
void initPatterns()
init the pattenr list
Definition: HanMacWrdJGraph.cxx:880
@ Char
Definition: MWAWPosition.hxx:51
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:361
bool sendPictureFrame(HanMacWrdJGraphInternal::PictureFrame const &pict, MWAWPosition const &pos)
try to send a picture frame
Definition: HanMacWrdJGraph.cxx:2071
@ Top
Definition: libmwaw_internal.hxx:176
friend std::ostream & operator<<(std::ostream &o, Frame const &grph)
operator<<
Definition: HanMacWrdJGraph.cxx:384
Style m_style
the border style
Definition: libmwaw_internal.hxx:380
long m_zId
the text id
Definition: HanMacWrdJGraph.cxx:659
@ VALIGN_CENTER
Definition: MWAWCell.hxx:134
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:516
SubDocument(SubDocument const &orig)=delete
std::shared_ptr< Frame > findFrame(int type, int lId) const
tries to find the lId the frame of a given type
Definition: HanMacWrdJGraph.cxx:810
main class used to define store librevenge::RVNGDrawingInterface lists of command in a librevenge::RV...
Definition: MWAWGraphicEncoder.hxx:56
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:548
@ EmptyPicture
Definition: HanMacWrdJGraph.cxx:956
@ E_Cross
Definition: MWAWCell.hxx:137
@ Line
Definition: MWAWGraphicShape.hxx:49
HanMacWrdJGraph * m_graphParser
the graph parser
Definition: HanMacWrdJGraph.cxx:986
std::ostream & operator<<(std::ostream &o, TableCell const &cell)
Definition: HanMacWrdJGraph.cxx:146
~TextFrame() final
destructor
Definition: HanMacWrdJGraph.cxx:708
TableFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:581
@ Double
Definition: libmwaw_internal.hxx:337
@ LeftBit
Definition: libmwaw_internal.hxx:178
Pattern()
constructor
Definition: MWAWGraphicStyle.hxx:279
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:855
~TextboxFrame() final
destructor
Definition: HanMacWrdJGraph.cxx:670
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:2828
void startDocument() final
starts a new document
Definition: MWAWGraphicListener.cxx:470
HanMacWrdJGraph(HanMacWrdJGraph const &orig)=delete
float m_percent
the percentage
Definition: HanMacWrdJGraph.cxx:790
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:550
PictureFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:517
Defines MWAWTextListener: the libmwaw word processor listener.
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:2401
Type
the document type
Definition: HanMacWrdJGraph.cxx:956
~PictureFrame() final
destructor
Definition: HanMacWrdJGraph.cxx:551
@ Right
Definition: libmwaw_internal.hxx:176
@ E_Line1
Definition: MWAWCell.hxx:137
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdJGraph.cxx:1080
@ Page
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:557
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: HanMacWrdJGraph.cxx:1047
@ TopBit
Definition: libmwaw_internal.hxx:178
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWCell.cxx:382
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:3064
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
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:958
@ Left
Definition: libmwaw_internal.hxx:176
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
@ Frame
Definition: MWAWPosition.hxx:51
bool valid() const final
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:528
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
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:224
bool m_isLinked
true if this zone is linked
Definition: HanMacWrdJGraph.cxx:667
@ Circle
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:2110
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
bool checkGroupStructures(long zId, std::set< long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdJGraph.cxx:2771
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
MWAWBox2f m_pos
the position
Definition: HanMacWrdJGraph.cxx:369
@ E_Line2
Definition: MWAWCell.hxx:137
std::shared_ptr< HanMacWrdJGraphInternal::TextboxFrame > readTextboxData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read a textbox data
Definition: HanMacWrdJGraph.cxx:2493
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:251
int m_rows
the number of row
Definition: HanMacWrdJGraph.cxx:189
std::shared_ptr< MWAWCell > get(int id)
returns the i^th cell
Definition: MWAWTable.cxx:122
Table & operator=(Table const &orig)=delete
bool readGraphData(MWAWEntry const &entry, int actZone)
try to read the graph data (zone 8)
Definition: HanMacWrdJGraph.cxx:1582
Internal: the textbox frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:623
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
bool sendText(long id, long cPos) const
send a text zone
Definition: HanMacWrdJGraph.cxx:182
Frame(Frame const &)=default
SubDocument & operator=(SubDocument const &orig)=delete
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:120
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:1111
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
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
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:2350
virtual ~Frame()
destructor
Definition: HanMacWrdJGraph.cxx:380
bool sendTextbox(HanMacWrdJGraphInternal::TextboxFrame const &textbox, MWAWPosition const &pos)
try to send a textbox to the listener
Definition: HanMacWrdJGraph.cxx:2170
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:877
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:1659
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:60
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:220
~Table() final
destructor
Definition: HanMacWrdJGraph.cxx:204
std::vector< FrameFormat > m_frameFormatsList
the list of frame format
Definition: HanMacWrdJGraph.cxx:870
@ CellPositionBit
Definition: MWAWTable.hxx:56
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20