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 shared_ptr<HanMacWrdJGraphInternal::Frame>
readFrame(
int id);
196 shared_ptr<HanMacWrdJGraphInternal::State>
m_state;
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:323
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:806
long m_zId
the picture id
Definition: HanMacWrdJGraph.cxx:501
@ CharBaseLine
Definition: MWAWPosition.hxx:51
int numCells() const
returns the number of cell
Definition: MWAWTable.hxx:101
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
~Pattern()
destructor
Definition: HanMacWrdJGraph.cxx:731
bool sendTableUnformatted(long zId)
try to send a table unformatted
Definition: HanMacWrdJGraph.cxx:2140
Table(HanMacWrdJGraph &parser)
constructor
Definition: HanMacWrdJGraph.cxx:156
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdJGraph.cxx:2998
@ Text
Definition: HanMacWrdJGraph.cxx:887
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdJGraph.cxx:311
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:288
shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:519
std::string m_extra
extra data
Definition: HanMacWrdJGraph.cxx:117
SubDocument(HanMacWrdJGraph &pars, MWAWInputStreamPtr input, Type type, long id, long firstChar=0)
constructor
Definition: HanMacWrdJGraph.cxx:889
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2f m_scale
the scale
Definition: HanMacWrdJGraph.cxx:505
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:631
std::map< long, int > getTextFrameInformations() const
return a list textZId -> type which type=0(main), 1(header), 2(footer), 3(footnote),...
Definition: HanMacWrdJGraph.cxx:1042
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
int m_numPages
Definition: HanMacWrdJGraph.cxx:802
HanMacWrdJGraph(HanMacWrdJGraph const &orig)
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
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: HanMacWrdJGraph.cxx:973
int numPages() const
returns the number of pages
Definition: HanMacWrdJGraph.cxx:1019
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:355
std::string m_extra
extra data
Definition: MWAWGraphicStyle.hxx:442
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:282
Internal: the table of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:154
long m_zId
the group id
Definition: HanMacWrdJGraph.cxx:466
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdJGraph.cxx:804
shared_ptr< HanMacWrdJGraphInternal::TableFrame > readTableData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the table data
Definition: HanMacWrdJGraph.cxx:2395
virtual ~TextFrame()
destructor
Definition: HanMacWrdJGraph.cxx:654
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:221
virtual ~HanMacWrdJGraph()
destructor
Definition: HanMacWrdJGraph.cxx:996
shared_ptr< HanMacWrdJGraphInternal::ShapeGraph > readShapeGraph(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the basic graph data
Definition: HanMacWrdJGraph.cxx:2516
std::map< long, int > m_framesMap
a map zId->frame pos in frames list
Definition: HanMacWrdJGraph.cxx:799
Table & operator=(Table const &orig)
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:1105
virtual bool sendContent(MWAWListenerPtr listener, MWAWTable &table)
call when the content of a cell must be send
Definition: HanMacWrdJGraph.cxx:191
bool readTableFormatsList(HanMacWrdJGraphInternal::Table &table, long endPos)
try to read a list of format
Definition: HanMacWrdJGraph.cxx:1857
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:189
long m_zId
the cell zone id
Definition: HanMacWrdJGraph.cxx:105
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: HanMacWrdJGraph.cxx:902
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
friend std::ostream & operator<<(std::ostream &o, ShapeGraph const &graph)
operator<<
Definition: HanMacWrdJGraph.cxx:673
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:490
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:387
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:884
bool sendGroup(long zId, MWAWPosition pos)
try to send a group to the listener
Definition: HanMacWrdJGraph.cxx:2751
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
Internal: the structures of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:63
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:609
@ BottomBit
Definition: libmwaw_internal.hxx:168
MWAWEntry m_entry
the picture entry
Definition: HanMacWrdJGraph.cxx:499
long m_fileId
the file id
Definition: HanMacWrdJGraph.cxx:332
void startDocument()
starts a new document
Definition: MWAWGraphicListener.cxx:432
int m_arrowsFlag
the lines arrow flag
Definition: HanMacWrdJGraph.cxx:692
bool isLinked() const
returns true if the box is linked to other textbox
Definition: HanMacWrdJGraph.cxx:589
SeparatorFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:517
HanMacWrdJGraph & operator=(HanMacWrdJGraph const &orig)
@ Group
Definition: HanMacWrdJGraph.cxx:887
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
shared_ptr< MWAWCell > get(int id)
returns the i^th cell
Definition: MWAWTable.cxx:114
the class to store a color
Definition: libmwaw_internal.hxx:182
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
bool sendTable(MWAWListenerPtr listener, bool inFrame=true)
try to send the table
Definition: MWAWTable.cxx:465
std::string m_extra
an extra string
Definition: HanMacWrdJGraph.cxx:348
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
void setBackgroundColor(MWAWColor const &col, float opacity=1)
set the background color
Definition: MWAWGraphicStyle.hxx:314
Internal: the table frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:535
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:594
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:607
SubDocument & operator=(SubDocument const &orig)
long m_zId
the text id
Definition: HanMacWrdJGraph.cxx:647
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:1063
@ UnformattedTable
Definition: HanMacWrdJGraph.cxx:887
bool sendTextbox(HanMacWrdJGraphInternal::TextboxFrame const &textbox, MWAWPosition pos)
try to send a textbox to the listener
Definition: HanMacWrdJGraph.cxx:2111
bool sendPictureFrame(HanMacWrdJGraphInternal::PictureFrame const &pict, MWAWPosition pos)
try to send a picture frame
Definition: HanMacWrdJGraph.cxx:2013
SubDocument(SubDocument const &orig)
@ Graphic
Definition: MWAWListener.hxx:56
void endDocument(bool delayed=true)
ends the actual document
Definition: MWAWGraphicListener.cxx:443
@ None
Definition: libmwaw_internal.hxx:316
bool readClassicHeader(HanMacWrdJZoneHeader &header, long endPos=-1)
try to read a header of classic zone
Definition: HanMacWrdJParser.cxx:232
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:1080
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
long m_length
related to text length?
Definition: HanMacWrdJGraph.cxx:564
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: HanMacWrdJGraph.cxx:927
bool m_inGroup
true if this node is a group's child
Definition: HanMacWrdJGraph.cxx:344
void setBackgroundColor(MWAWColor color)
sets the background color
Definition: MWAWCell.hxx:296
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
virtual ~SeparatorFrame()
destructor
Definition: HanMacWrdJGraph.cxx:529
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:115
TextboxFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:578
bool sendText(long id, long cPos, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdJParser.cxx:185
bool sendShapeGraph(HanMacWrdJGraphInternal::ShapeGraph const &pict, MWAWPosition pos)
try to send a basic picture to the listener
Definition: HanMacWrdJGraph.cxx:1991
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:523
void initColors()
init the color list
Definition: HanMacWrdJGraph.cxx:838
int m_formatId
the format id
Definition: HanMacWrdJGraph.cxx:336
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
shared_ptr< HanMacWrdJGraphInternal::Frame > readFrame(int id)
try to read a frame
Definition: HanMacWrdJGraph.cxx:1327
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:193
shared_ptr< HanMacWrdJGraphInternal::TextFrame > readTextData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read a text data (text, header/footer, footnote)
Definition: HanMacWrdJGraph.cxx:2478
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:277
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:668
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:247
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdJGraph.cxx:2661
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:248
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:584
bool hasExtraLine() const
returns true if we have some extra lines
Definition: MWAWCell.hxx:301
void setExtraLine(ExtraLine extrLine, MWAWBorder const &type=MWAWBorder())
sets the extraline
Definition: MWAWCell.hxx:316
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:381
ExtraLine extraLine() const
returns the extra lines
Definition: MWAWCell.hxx:306
virtual ~PictureFrame()
destructor
Definition: HanMacWrdJGraph.cxx:508
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style)
adds a shape picture in given position
Definition: MWAWGraphicListener.cxx:995
@ TableDimBit
Definition: MWAWTable.hxx:56
ShapeGraph(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:662
shared_ptr< HanMacWrdJGraphInternal::State > m_state
the state
Definition: HanMacWrdJGraph.hxx:196
Frame()
constructor
Definition: HanMacWrdJGraph.cxx:304
bool readTable(MWAWEntry const &entry, int actZone)
try to read a table (zone 7)
Definition: HanMacWrdJGraph.cxx:1640
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdJGraph.cxx:920
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
bool canSendTextAsGraphic(long id, long cPos)
check if we can send a textzone as graphic
Definition: HanMacWrdJParser.cxx:190
long m_linkToFId
the next link zone
Definition: HanMacWrdJGraph.cxx:611
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:119
int version() const
returns the file version
Definition: HanMacWrdJGraph.cxx:999
Internal: the state of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:737
@ 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:205
bool hasPattern() const
returns true if the pattern is defined
Definition: MWAWGraphicStyle.hxx:299
long m_id
the zone id
Definition: HanMacWrdJGraph.cxx:916
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdJGraph.cxx:775
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1070
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
SubDocumentType
Definition: libmwaw_internal.hxx:178
std::vector< CellFormat > m_formatsList
a list of cell format
Definition: HanMacWrdJGraph.cxx:180
long m_firstChar
the first char position
Definition: HanMacWrdJGraph.cxx:918
State()
constructor
Definition: HanMacWrdJGraph.cxx:739
Internal: the geometrical graph of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:660
bool sendFrame(HanMacWrdJGraphInternal::Frame const &frame, MWAWPosition pos)
try to send a frame to the listener
Definition: HanMacWrdJGraph.cxx:2169
Pattern(uint16_t const *pat=0)
constructor ( 4 int by patterns )
Definition: HanMacWrdJGraph.cxx:703
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:361
bool readGroupData(MWAWEntry const &entry, int actZone)
try to read the groupd data ( type 9 )
Definition: HanMacWrdJGraph.cxx:1441
void sendGroupChild(HanMacWrdJGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdJGraph.cxx:2861
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:385
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
int m_id
the local id
Definition: HanMacWrdJGraph.cxx:334
SubDocument(HanMacWrdJGraph &pars, MWAWInputStreamPtr input, MWAWPosition pos, Type type, long id, int firstChar=0)
constructor
Definition: HanMacWrdJGraph.cxx:893
int m_formatId
the cell format id
Definition: HanMacWrdJGraph.cxx:113
the main class to read a HanMac Word-J file
Definition: HanMacWrdJParser.hxx:105
int m_flags
the cell flags
Definition: HanMacWrdJGraph.cxx:115
shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:501
std::vector< shared_ptr< Frame > > m_framesList
the list of frames
Definition: HanMacWrdJGraph.cxx:797
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:197
@ Bottom
Definition: libmwaw_internal.hxx:166
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
Internal: the text frame (basic, header, footer, footnote) of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:622
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:199
Internal: the pattern of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:701
bool hasExtraLines()
returns true if the table has extralines
Definition: MWAWTable.hxx:132
void updateCells()
update all cells using the formats list
Definition: HanMacWrdJGraph.cxx:198
FrameFormat const & getFrameFormat(int id) const
returns the frame format corresponding to an id
Definition: HanMacWrdJGraph.cxx:756
bool sendComment(HanMacWrdJGraphInternal::CommentFrame const &textbox, MWAWPosition pos, librevenge::RVNGPropertyList extras=librevenge::RVNGPropertyList())
try to send a comment box to the listener
Definition: HanMacWrdJGraph.cxx:2079
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdJGraph.cxx:764
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
TableCell(long tId)
constructor
Definition: HanMacWrdJGraph.cxx:95
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:142
a border
Definition: libmwaw_internal.hxx:314
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:201
virtual ~SubDocument()
destructor
Definition: HanMacWrdJGraph.cxx:897
long m_cPos
the first char pos
Definition: HanMacWrdJGraph.cxx:651
#define M_PI
Definition: libmwaw_internal.hxx:49
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:242
bool getBinaryResult(MWAWEmbeddedObject &result)
return the final graphic
Definition: MWAWGraphicEncoder.cxx:74
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:680
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
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:93
Type m_type
the zone type
Definition: HanMacWrdJGraph.cxx:914
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:135
Type m_type
the type
Definition: MWAWGraphicShape.hxx:191
@ RightBit
Definition: libmwaw_internal.hxx:168
TextFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:625
MWAWVec2i m_dim
the picture size
Definition: HanMacWrdJGraph.cxx:503
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:194
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:430
long m_textFileId
the text file id
Definition: HanMacWrdJGraph.cxx:178
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:562
HanMacWrdJGraph(HanMacWrdJParser &parser)
constructor
Definition: HanMacWrdJGraph.cxx:990
shared_ptr< Frame > findFrame(int type, int lId) const
tries to find the lId the frame of a given type
Definition: HanMacWrdJGraph.cxx:741
int m_page
the page
Definition: HanMacWrdJGraph.cxx:338
long m_cPos
the first character position in m_zId
Definition: HanMacWrdJGraph.cxx:109
bool m_parsed
true if we have send the data
Definition: HanMacWrdJGraph.cxx:346
bool updateTable()
try to build the table structures
Definition: MWAWTable.cxx:452
@ FrameInFrame
Definition: HanMacWrdJGraph.cxx:887
@ Pie
Definition: MWAWGraphicShape.hxx:49
double m_width
the zone width
Definition: HanMacWrdJGraph.cxx:649
~ShapeGraph()
destructor
Definition: HanMacWrdJGraph.cxx:695
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:197
shared_ptr< Table > m_table
the table
Definition: HanMacWrdJGraph.cxx:566
int m_type
the graph type
Definition: HanMacWrdJGraph.cxx:330
virtual ~Group()
destructor
Definition: HanMacWrdJGraph.cxx:471
void initPatterns()
init the pattenr list
Definition: HanMacWrdJGraph.cxx:811
@ Char
Definition: MWAWPosition.hxx:51
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
@ Top
Definition: libmwaw_internal.hxx:166
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
~TableFrame()
destructor
Definition: HanMacWrdJGraph.cxx:569
friend std::ostream & operator<<(std::ostream &o, Frame const &grph)
operator<<
Definition: HanMacWrdJGraph.cxx:355
Style m_style
the border style
Definition: libmwaw_internal.hxx:350
long m_zId
the text id
Definition: HanMacWrdJGraph.cxx:605
@ VALIGN_CENTER
Definition: MWAWCell.hxx:122
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
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:425
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:544
@ EmptyPicture
Definition: HanMacWrdJGraph.cxx:887
@ E_Cross
Definition: MWAWCell.hxx:125
@ Line
Definition: MWAWGraphicShape.hxx:49
HanMacWrdJGraph * m_graphParser
the graph parser
Definition: HanMacWrdJGraph.cxx:912
std::ostream & operator<<(std::ostream &o, TableCell const &cell)
Definition: HanMacWrdJGraph.cxx:135
TableFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:538
@ Double
Definition: libmwaw_internal.hxx:318
@ LeftBit
Definition: libmwaw_internal.hxx:168
std::vector< long > m_childsList
the child list
Definition: HanMacWrdJGraph.cxx:468
int m_height
the table height
Definition: HanMacWrdJGraph.cxx:176
float m_baseline
the baseline
Definition: HanMacWrdJGraph.cxx:342
static MWAWColor getColor(MWAWColor col, float pattern)
returns a color corresponding to a pattern and a color
Definition: HanMacWrdJGraph.cxx:786
long m_zId
the textzone id
Definition: HanMacWrdJGraph.cxx:560
bool canCreateGraphic(HanMacWrdJGraphInternal::Group const &group)
check if we can send a group as graphic
Definition: HanMacWrdJGraph.cxx:2778
float m_percent
the percentage
Definition: HanMacWrdJGraph.cxx:728
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:427
PictureFrame(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:479
long m_fileId
the file id
Definition: HanMacWrdJGraph.cxx:111
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:636
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:485
Type
the document type
Definition: HanMacWrdJGraph.cxx:887
@ Right
Definition: libmwaw_internal.hxx:166
@ E_Line1
Definition: MWAWCell.hxx:125
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdJGraph.cxx:1004
@ Page
Definition: MWAWPosition.hxx:51
Group(Frame const &orig)
constructor
Definition: HanMacWrdJGraph.cxx:455
@ TopBit
Definition: libmwaw_internal.hxx:168
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:379
void update(CellFormat const &format)
use cell format to finish updating cell
Definition: HanMacWrdJGraph.cxx:121
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdJGraph.cxx:3024
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:114
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
long m_tId
the cell text zone id
Definition: HanMacWrdJGraph.cxx:107
@ Left
Definition: libmwaw_internal.hxx:166
bool sendAsText(MWAWListenerPtr listener)
try to send the table as basic text
Definition: MWAWTable.cxx:496
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
@ Frame
Definition: MWAWPosition.hxx:51
bool sendEmptyPicture(MWAWPosition pos)
try to send an empty picture
Definition: HanMacWrdJGraph.cxx:2051
virtual ~TextboxFrame()
destructor
Definition: HanMacWrdJGraph.cxx:616
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:170
MWAWVec2f m_arcAngles
the start and end value which defines an arc
Definition: MWAWGraphicShape.hxx:199
shared_ptr< HanMacWrdJGraphInternal::CommentFrame > readCommentData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the comment data
Definition: HanMacWrdJGraph.cxx:2292
bool m_isLinked
true if this zone is linked
Definition: HanMacWrdJGraph.cxx:613
@ Circle
Definition: MWAWGraphicShape.hxx:49
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:270
bool checkGroupStructures(long zId, std::set< long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdJGraph.cxx:2721
~Table()
destructor
Definition: HanMacWrdJGraph.cxx:187
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
MWAWBox2f m_pos
the position
Definition: HanMacWrdJGraph.cxx:340
@ E_Line2
Definition: MWAWCell.hxx:125
int m_rows
the number of row
Definition: HanMacWrdJGraph.cxx:172
shared_ptr< HanMacWrdJGraphInternal::TextboxFrame > readTextboxData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read a textbox data
Definition: HanMacWrdJGraph.cxx:2438
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr subDocument, MWAWGraphicStyle const &style)
adds a textbox in given position
Definition: MWAWGraphicListener.cxx:1074
bool readGraphData(MWAWEntry const &entry, int actZone)
try to read the graph data (zone 8)
Definition: HanMacWrdJGraph.cxx:1518
Internal: the textbox frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:575
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:165
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
shared_ptr< HanMacWrdJGraphInternal::PictureFrame > readPictureData(HanMacWrdJGraphInternal::Frame const &header, long endPos)
try to read the picture data
Definition: HanMacWrdJGraph.cxx:2344
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
virtual bool valid() const
returns true if the frame data are read
Definition: HanMacWrdJGraph.cxx:461
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
Internal: a group of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:452
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
Internal: the frame header of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:302
bool sendText(long textId, long fPos, MWAWListenerPtr listener=MWAWListenerPtr())
ask main parser to send a text zone
Definition: HanMacWrdJGraph.cxx:1037
virtual ~Frame()
destructor
Definition: HanMacWrdJGraph.cxx:351
int m_columns
the number of columns
Definition: HanMacWrdJGraph.cxx:174
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
FrameFormat m_defaultFormat
empty format used to return a default format
Definition: HanMacWrdJGraph.cxx:808
Internal: the picture frame of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:476
bool readPicture(MWAWEntry const &entry, int actZone)
try to read the pictures definition (type 6)
Definition: HanMacWrdJGraph.cxx:1597
Internal: a footnote separator of a HanMacWrdJGraph.
Definition: HanMacWrdJGraph.cxx:514
MWAWGraphicShape m_shape
the shape m_shape
Definition: HanMacWrdJGraph.cxx:690
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
std::string print() const
print local data
Definition: HanMacWrdJGraph.cxx:549
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:195
std::vector< FrameFormat > m_frameFormatsList
the list of frame format
Definition: HanMacWrdJGraph.cxx:801
@ CellPositionBit
Definition: MWAWTable.hxx:56
Generated on Wed Jun 17 2020 06:30:10 for libmwaw by
doxygen 1.8.18