HanMacWrdKGraph.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2 
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33 
34 /*
35  * Parser to HanMac Word text document ( graphic part )
36  *
37  */
38 #ifndef HAN_MAC_WRD_K_GRAPH
39 # define HAN_MAC_WRD_K_GRAPH
40 
41 #include <map>
42 #include <string>
43 #include <vector>
44 
45 #include <librevenge/librevenge.h>
46 
47 #include "libmwaw_internal.hxx"
48 
49 #include "MWAWDebug.hxx"
50 #include "MWAWInputStream.hxx"
51 
53 {
54 struct Frame;
55 struct ShapeGraph;
56 struct FootnoteFrame;
57 struct Group;
58 struct PictureFrame;
59 struct Table;
60 struct TableCell;
61 struct TextBox;
62 
63 struct Picture;
64 
65 struct State;
66 class SubDocument;
67 }
68 
69 struct HanMacWrdKZone;
70 class HanMacWrdKParser;
71 
78 {
79  friend class HanMacWrdKParser;
82 
83 public:
85  explicit HanMacWrdKGraph(HanMacWrdKParser &parser);
87  virtual ~HanMacWrdKGraph();
88 
90  int version() const;
91 
93  int numPages() const;
94 
95 protected:
96 
98  bool getColor(int colId, int patternId, MWAWColor &color) const;
99 
101  bool sendPageGraphics(std::vector<long> const &doNotSendIds);
103  void flushExtra();
104 
105 
106  //
107  // Intermediate level
108  //
109 
111  bool readFrames(std::shared_ptr<HanMacWrdKZone> zone);
113  bool readPicture(std::shared_ptr<HanMacWrdKZone> zone);
115  void prepareStructures();
116 
117  // interface with mainParser
118 
120  bool sendFrame(long frameId, MWAWPosition const &pos);
122  bool sendPicture(long pictId, MWAWPosition const &pos);
123 
125  bool sendText(long textId, long id, MWAWListenerPtr const &listener=MWAWListenerPtr());
128  std::map<long,int> getTextFrameInformations() const;
129 
130  //
131  // low level
132  //
133 
135  bool checkGroupStructures(long fileId, long fileSubId, std::multimap<long, long> &seens, bool inGroup);
136 
138  bool sendPicture(HanMacWrdKGraphInternal::Picture const &picture, MWAWPosition const &pos);
140  bool sendFrame(HanMacWrdKGraphInternal::Frame const &frame, MWAWPosition const &pos);
142  bool sendShapeGraph(HanMacWrdKGraphInternal::ShapeGraph const &shape, MWAWPosition const &pos);
146  bool sendEmptyPicture(MWAWPosition const &pos);
148  bool sendTextBox(HanMacWrdKGraphInternal::TextBox const &textbox, MWAWPosition const &pos);
150  bool sendTableUnformatted(long fId);
151 
153  bool sendGroup(long fId, MWAWPosition const &pos);
155  bool sendGroup(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos);
159  void sendGroupChild(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos);
162 
164  std::shared_ptr<HanMacWrdKGraphInternal::ShapeGraph> readShapeGraph(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
166  std::shared_ptr<HanMacWrdKGraphInternal::FootnoteFrame> readFootnoteFrame(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
168  std::shared_ptr<HanMacWrdKGraphInternal::Group> readGroup(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
170  std::shared_ptr<HanMacWrdKGraphInternal::PictureFrame> readPictureFrame(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
172  std::shared_ptr<HanMacWrdKGraphInternal::Table> readTable(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
174  std::shared_ptr<HanMacWrdKGraphInternal::TextBox> readTextBox(std::shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header, bool isMemo);
175 
176 private:
177  HanMacWrdKGraph(HanMacWrdKGraph const &orig) = delete;
178  HanMacWrdKGraph &operator=(HanMacWrdKGraph const &orig) = delete;
179 
180 protected:
181  //
182  // data
183  //
186 
188  std::shared_ptr<HanMacWrdKGraphInternal::State> m_state;
189 
192 };
193 #endif
194 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
HanMacWrdKGraph::readFrames
bool readFrames(std::shared_ptr< HanMacWrdKZone > zone)
try to read the frame definition (type 2)
Definition: HanMacWrdKGraph.cxx:1042
MWAWTextListenerPtr
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
HanMacWrdKGraphInternal::TextBox::~TextBox
~TextBox() final
destructor
Definition: HanMacWrdKGraph.cxx:604
MWAWPosition::CharBaseLine
@ CharBaseLine
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::Pattern::operator=
Pattern & operator=(Pattern const &)=default
MWAWGraphicStyle::Pattern::getUniqueColor
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
HanMacWrdKGraphInternal::operator<<
std::ostream & operator<<(std::ostream &o, Frame const &grph)
Definition: HanMacWrdKGraph.cxx:137
HanMacWrdKGraphInternal::Frame::m_inGroup
bool m_inGroup
true if the frame is a child of a group
Definition: HanMacWrdKGraph.cxx:126
HanMacWrdKGraphInternal::ShapeGraph::m_shape
MWAWGraphicShape m_shape
the shape m_shape
Definition: HanMacWrdKGraph.cxx:233
HanMacWrdKGraphInternal::TableCell::m_extra
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:413
MWAWGraphicStyle::hasSurfaceColor
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:421
HanMacWrdKGraph::readGroup
std::shared_ptr< HanMacWrdKGraphInternal::Group > readGroup(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the group data
Definition: HanMacWrdKGraph.cxx:1662
HanMacWrdKGraphInternal::SubDocument::operator=
SubDocument & operator=(SubDocument const &orig)=delete
HanMacWrdKGraphInternal::TableCell::m_id
long m_id
the cell id ( corresponding to the last data in the main zones list )
Definition: HanMacWrdKGraph.cxx:407
HanMacWrdKGraphInternal::Table::m_numCells
int m_numCells
the number of cells
Definition: HanMacWrdKGraph.cxx:485
HanMacWrdKParser
the main class to read a HanMac Word-K file
Definition: HanMacWrdKParser.hxx:186
HanMacWrdKGraph::sendShapeGraph
bool sendShapeGraph(HanMacWrdKGraphInternal::ShapeGraph const &shape, MWAWPosition const &pos)
try to send a basic picture to the listener
Definition: HanMacWrdKGraph.cxx:1453
HanMacWrdKGraphInternal::Picture::~Picture
~Picture()
destructor
Definition: HanMacWrdKGraph.cxx:629
HanMacWrdKGraphInternal::Frame::m_fileSubId
long m_fileSubId
the file sub id
Definition: HanMacWrdKGraph.cxx:108
MWAWGraphicListenerPtr
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
MWAWNote
a note
Definition: libmwaw_internal.hxx:445
HanMacWrdKGraph::sendText
bool sendText(long textId, long id, MWAWListenerPtr const &listener=MWAWListenerPtr())
ask main parser to send a text zone
Definition: HanMacWrdKGraph.cxx:989
HanMacWrdKGraphInternal::Table::Table
Table(Frame const &orig, HanMacWrdKGraph &parser)
constructor
Definition: HanMacWrdKGraph.cxx:434
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
HanMacWrdKGraphInternal::SubDocument::Type
Type
the document type
Definition: HanMacWrdKGraph.cxx:827
HanMacWrdKGraph.hxx
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
HanMacWrdKGraphInternal::Picture::m_pos
long m_pos[2]
the first and last position of the picture data in the zone
Definition: HanMacWrdKGraph.cxx:643
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
HanMacWrdKGraphInternal::Table::m_textFileId
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:487
HanMacWrdKGraphInternal::Group::Group
Group(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:283
MWAWBorder::m_type
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:385
HanMacWrdKGraph::getColor
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdKGraph.cxx:956
HanMacWrdKGraphInternal::TextBox::m_commentBox
bool m_commentBox
a flag to know if this is a comment textbox
Definition: HanMacWrdKGraph.cxx:593
MWAWGraphicStyle::setSurfaceColor
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:415
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
HanMacWrdKGraph::operator=
HanMacWrdKGraph & operator=(HanMacWrdKGraph const &orig)=delete
HanMacWrdKParser::canSendTextAsGraphic
bool canSendTextAsGraphic(long id, long subId)
check if we can send a textzone as graphic
Definition: HanMacWrdKParser.cxx:177
HanMacWrdKGraphInternal::Pattern::Pattern
Pattern(uint16_t const *pat=nullptr)
constructor ( 4 int by patterns )
Definition: HanMacWrdKGraph.cxx:658
MWAWPosition::setPage
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:205
MWAWGraphicStyle::Arrow::plain
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
HanMacWrdKGraphInternal::ShapeGraph::~ShapeGraph
~ShapeGraph() final
destructor
Definition: HanMacWrdKGraph.cxx:236
MWAWGraphicStyle::m_surfaceOpacity
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:520
HanMacWrdKGraphInternal::Pattern::operator=
Pattern & operator=(Pattern &&)=default
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
MWAWTable.hxx
HanMacWrdKGraphInternal::Picture::m_parsed
bool m_parsed
a flag to know if the picture was send to the receiver
Definition: HanMacWrdKGraph.cxx:649
libmwaw::BottomBit
@ BottomBit
Definition: libmwaw_internal.hxx:178
HanMacWrdKGraph::numPages
int numPages() const
returns the number of pages
Definition: HanMacWrdKGraph.cxx:973
HanMacWrdKGraphInternal::Picture
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:617
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
HanMacWrdKGraphInternal::Table::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:465
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr const &input, MWAWPosition const &pos, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:840
MWAWSubDocumentPtr
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:565
MWAWGraphicShape::line
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
MWAWGraphicStyle::setBackgroundColor
void setBackgroundColor(MWAWColor const &col, float opacity=1)
set the background color
Definition: MWAWGraphicStyle.hxx:447
HanMacWrdKGraphInternal::TextBox::m_isLinked
bool m_isLinked
a flag to know if this textbox is linked to a previous box
Definition: HanMacWrdKGraph.cxx:601
HanMacWrdKGraphInternal::PictureFrame::~PictureFrame
~PictureFrame() final
destructor
Definition: HanMacWrdKGraph.cxx:386
MWAWGraphicStyle::Pattern::getAverageColor
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
MWAWBox2::extend
void extend(T val)
extends the bdbox by (val, val) keeping the center
Definition: libmwaw_internal.hxx:1122
HanMacWrdKGraphInternal::FootnoteFrame::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:260
HanMacWrdKGraphInternal::Frame::Frame
Frame()
constructor
Definition: HanMacWrdKGraph.cxx:70
MWAWColor::str
std::string str() const
print the color in the form #rrggbb
Definition: libmwaw_internal.cxx:232
HanMacWrdKGraphInternal::State::m_picturesMap
std::map< long, std::shared_ptr< Picture > > m_picturesMap
a map fileId -> picture
Definition: HanMacWrdKGraph.cxx:745
MWAWListener::Graphic
@ Graphic
Definition: MWAWListener.hxx:56
HanMacWrdKGraph::sendTextBox
bool sendTextBox(HanMacWrdKGraphInternal::TextBox const &textbox, MWAWPosition const &pos)
try to send a textbox to the listener
Definition: HanMacWrdKGraph.cxx:1429
HanMacWrdKGraphInternal::Group::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:332
MWAWBorder::None
@ None
Definition: libmwaw_internal.hxx:335
HanMacWrdKGraphInternal::TextBox
Internal: the textbox of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:499
MWAW_FALLTHROUGH
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
HanMacWrdKGraphInternal::Picture::m_extra
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:651
MWAWBorder::m_width
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
HanMacWrdKGraphInternal::Frame::m_type
int m_type
the graph type
Definition: HanMacWrdKGraph.cxx:104
HanMacWrdKGraphInternal::TableCell::TableCell
TableCell()
constructor
Definition: HanMacWrdKGraph.cxx:394
HanMacWrdKGraphInternal::Frame::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:106
HanMacWrdKGraphInternal::Group::Child::m_values
int m_values[2]
two values
Definition: HanMacWrdKGraph.cxx:324
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
HanMacWrdKGraphInternal::Picture::operator<<
friend std::ostream & operator<<(std::ostream &o, Picture const &pict)
operator<<
Definition: HanMacWrdKGraph.cxx:633
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
HanMacWrdKGraphInternal::PictureFrame::PictureFrame
PictureFrame(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:344
HanMacWrdKGraphInternal::TextBox::m_dim
float m_dim[2]
two auxilliary dim for memo textbox
Definition: HanMacWrdKGraph.cxx:597
MWAWGraphicStyle
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWGraphicShape::m_bdBox
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:218
HanMacWrdKGraphInternal::State::m_patternList
std::vector< Pattern > m_patternList
the patterns list
Definition: HanMacWrdKGraph.cxx:749
MWAWGraphicStyle::hasLine
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:410
MWAWGraphicStyle::Pattern::m_data
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
HanMacWrdKGraphInternal::SubDocument::EmptyPicture
@ EmptyPicture
Definition: HanMacWrdKGraph.cxx:827
HanMacWrdKGraphInternal::Group::Child::m_fileId
long m_fileId
the child id
Definition: HanMacWrdKGraph.cxx:322
MWAWPosition::setOrder
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:264
HanMacWrdKGraphInternal::Pattern::m_percent
float m_percent
the percentage
Definition: HanMacWrdKGraph.cxx:688
HanMacWrdKGraphInternal::SubDocument::m_subId
long m_subId
the zone subId ( for table cell )
Definition: HanMacWrdKGraph.cxx:867
HanMacWrdKGraph::m_mainParser
HanMacWrdKParser * m_mainParser
the main parser;
Definition: HanMacWrdKGraph.hxx:191
MWAWGraphicStyle::m_lineOpacity
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:514
MWAWCell.hxx
Defines MWAWCell (cell content and format)
HanMacWrdKGraph::sendFrame
bool sendFrame(long frameId, MWAWPosition const &pos)
try to send a frame to the listener
Definition: HanMacWrdKGraph.cxx:1264
HanMacWrdKGraph::sendPictureFrame
bool sendPictureFrame(HanMacWrdKGraphInternal::PictureFrame const &pict, MWAWPosition const &pos)
try to send a picture frame
Definition: HanMacWrdKGraph.cxx:1418
HanMacWrdKGraphInternal::SubDocument::m_pos
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdKGraph.cxx:869
HanMacWrdKGraphInternal::TableCell::m_flags
int m_flags
the cell data
Definition: HanMacWrdKGraph.cxx:411
HanMacWrdKGraphInternal::Frame
Internal: the frame header of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:68
MWAWGraphicStyle::Pattern
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
MWAWSubDocument.hxx
HanMacWrdKGraphInternal::Group::Child::Child
Child()
constructor
Definition: HanMacWrdKGraph.cxx:304
HanMacWrdKGraphInternal::PictureFrame::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:362
MWAWPosition::size
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
HanMacWrdKGraphInternal::ShapeGraph
Internal: the geometrical graph of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:200
MWAWGraphicShape::Polygon
@ Polygon
Definition: MWAWGraphicShape.hxx:49
MWAWColor::barycenter
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:206
MWAWGraphicStyle::hasPattern
bool hasPattern() const
returns true if the pattern is defined
Definition: MWAWGraphicStyle.hxx:432
MWAWBox2::getUnion
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1129
HanMacWrdKGraph::sendEmptyPicture
bool sendEmptyPicture(MWAWPosition const &pos)
try to send an empty picture
Definition: HanMacWrdKGraph.cxx:1391
HanMacWrdKGraph::sendGroup
bool sendGroup(long fId, MWAWPosition const &pos)
try to send a group to the listener
Definition: HanMacWrdKGraph.cxx:1998
MWAWGraphicShape::Rectangle
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
HanMacWrdKGraphInternal::TableCell
a table cell in a table in HanMacWrdKGraph
Definition: HanMacWrdKGraph.cxx:392
HanMacWrdKGraphInternal::State::m_colorList
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdKGraph.cxx:747
HanMacWrdKGraphInternal::Frame::m_id
int m_id
the local id
Definition: HanMacWrdKGraph.cxx:110
MWAWBorder::m_widthsList
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:391
HanMacWrdKGraph::prepareStructures
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdKGraph.cxx:2211
HanMacWrdKGraphInternal::Group::Child
struct to store child data in HanMacWrdKGraphInternal::Group
Definition: HanMacWrdKGraph.cxx:302
HanMacWrdKParser.hxx
HanMacWrdKGraphInternal::State::getPattern
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdKGraph.cxx:719
HanMacWrdKGraph::readPicture
bool readPicture(std::shared_ptr< HanMacWrdKZone > zone)
try to read a picture zone (type d)
Definition: HanMacWrdKGraph.cxx:1163
MWAWGraphicStyle::m_surfaceColor
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:518
HanMacWrdKGraphInternal::Frame::Frame
Frame(Frame const &)=default
HanMacWrdKGraph::sendPicture
bool sendPicture(long pictId, MWAWPosition const &pos)
try to send a picture to the listener
Definition: HanMacWrdKGraph.cxx:1220
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
MWAWGraphicEncoder.hxx
HanMacWrdKGraphInternal::Picture::m_fileSubId
long m_fileSubId
the file subid
Definition: HanMacWrdKGraph.cxx:647
HanMacWrdKGraphInternal::PictureFrame::m_values
int m_values[7]
some unknown int
Definition: HanMacWrdKGraph.cxx:383
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:673
libmwaw::Debug::dumpFile
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
libmwaw_internal.hxx
MWAWGraphicStyle::m_lineWidth
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
MWAWGraphicListener::endDocument
void endDocument(bool delayed=true) final
ends the actual document
Definition: MWAWGraphicListener.cxx:481
MWAWPosition.hxx
MWAWPosition::setSize
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:215
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:668
HanMacWrdKGraphInternal::Frame::getBdBox
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdKGraph.cxx:90
HanMacWrdKGraphInternal::Frame::m_pos
MWAWBox2f m_pos
the position
Definition: HanMacWrdKGraph.cxx:114
HanMacWrdKGraphInternal::Table::m_columns
int m_columns
the number of columns
Definition: HanMacWrdKGraph.cxx:483
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
MWAWBorder
a border
Definition: libmwaw_internal.hxx:333
MWAWGraphicShape::m_vertices
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:226
HanMacWrdKGraphInternal::State::State
State()
constructor
Definition: HanMacWrdKGraph.cxx:699
HanMacWrdKGraphInternal::Group::~Group
~Group() final
destructor
Definition: HanMacWrdKGraph.cxx:328
HanMacWrdKGraph::readFootnoteFrame
std::shared_ptr< HanMacWrdKGraphInternal::FootnoteFrame > readFootnoteFrame(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the footnote data
Definition: HanMacWrdKGraph.cxx:1742
M_PI
#define M_PI
Definition: libmwaw_internal.hxx:52
HanMacWrdKGraphInternal::TextBox::addTo
void addTo(MWAWGraphicStyle &style) const
add property to frame extra values
Definition: HanMacWrdKGraph.cxx:518
MWAWGraphicStyle::Pattern::m_dim
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:358
MWAWGraphicEncoder::getBinaryResult
bool getBinaryResult(MWAWEmbeddedObject &result)
return the final graphic
Definition: MWAWGraphicEncoder.cxx:77
MWAWGraphicStyle::setBorders
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:232
HanMacWrdKGraphInternal::Table::m_parser
HanMacWrdKGraph * m_parser
the graph parser
Definition: HanMacWrdKGraph.cxx:479
HanMacWrdKGraphInternal::Frame::~Frame
virtual ~Frame()
destructor
Definition: HanMacWrdKGraph.cxx:133
HanMacWrdKGraphInternal::ShapeGraph::getStyle
MWAWGraphicStyle getStyle() const
return the current style
Definition: HanMacWrdKGraph.cxx:217
HanMacWrdKGraphInternal::PictureFrame
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:342
MWAWTable
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:52
MWAWGraphicShape::m_type
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
HanMacWrdKGraphInternal::ShapeGraph::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:225
libmwaw::RightBit
@ RightBit
Definition: libmwaw_internal.hxx:178
MWAWVec2< float >
HanMacWrdKGraph::sendTableUnformatted
bool sendTableUnformatted(long fId)
try to send a table unformatted
Definition: HanMacWrdKGraph.cxx:1466
MWAWGraphicListener.hxx
MWAWPictMac.hxx
HanMacWrdKGraph::m_state
std::shared_ptr< HanMacWrdKGraphInternal::State > m_state
the state
Definition: HanMacWrdKGraph.hxx:188
HanMacWrdKGraphInternal::Group
Internal: the group of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:280
MWAWGraphicShape.hxx
MWAWDebug.hxx
HanMacWrdKGraph::HanMacWrdKGraph
HanMacWrdKGraph(HanMacWrdKGraph const &orig)=delete
MWAWPosition::setOrigin
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:210
HanMacWrdKGraph::version
int version() const
returns the file version
Definition: HanMacWrdKGraph.cxx:951
HanMacWrdKGraphInternal::Frame::m_borders
MWAWVec2f m_borders[4]
the border default size (before using width), 0 means Top, other unknown
Definition: HanMacWrdKGraph.cxx:124
MWAWGraphicListener::insertShape
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style) final
adds a shape picture in given position
Definition: MWAWGraphicListener.cxx:1032
MWAWGraphicStyle::m_arrows
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:553
MWAWGraphicStyle::setPattern
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:426
HanMacWrdKGraph::readPictureFrame
std::shared_ptr< HanMacWrdKGraphInternal::PictureFrame > readPictureFrame(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the picture data
Definition: HanMacWrdKGraph.cxx:1700
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
HanMacWrdKGraphInternal::Picture::Picture
Picture(std::shared_ptr< HanMacWrdKZone > const &zone)
constructor
Definition: HanMacWrdKGraph.cxx:619
HanMacWrdKGraphInternal::PictureFrame::m_pictureType
int m_pictureType
a type
Definition: HanMacWrdKGraph.cxx:377
HanMacWrdKGraphInternal::Frame::m_baseline
float m_baseline
the baseline
Definition: HanMacWrdKGraph.cxx:116
MWAWGraphicShape::Pie
@ Pie
Definition: MWAWGraphicShape.hxx:49
MWAWGraphicListener::insertTextBox
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr const &subDocument, MWAWGraphicStyle const &style) final
adds a textbox in given position
Definition: MWAWGraphicListener.cxx:1111
MWAWGraphicShape::m_cornerWidth
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:222
HanMacWrdKGraph::checkGroupStructures
bool checkGroupStructures(long fileId, long fileSubId, std::multimap< long, long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdKGraph.cxx:2239
HanMacWrdKGraphInternal::Frame::m_style
MWAWGraphicStyle m_style
the style
Definition: HanMacWrdKGraph.cxx:120
HanMacWrdKGraphInternal::FootnoteFrame::m_textFileId
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:268
HanMacWrdKGraphInternal::State::initPatterns
void initPatterns()
init the pattenr list
Definition: HanMacWrdKGraph.cxx:752
HanMacWrdKGraphInternal::Table::Table
Table(Table const &orig)=delete
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::TextBox::TextBox
TextBox(Frame const &orig, bool isComment)
constructor
Definition: HanMacWrdKGraph.cxx:501
HanMacWrdKGraphInternal::SubDocument::m_type
Type m_type
the zone type
Definition: HanMacWrdKGraph.cxx:863
HanMacWrdKGraphInternal::Picture::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:645
HanMacWrdKGraphInternal::SubDocument::operator!=
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: HanMacWrdKGraph.cxx:924
HanMacWrdKGraphInternal::Frame::m_extra
std::string m_extra
an extra string
Definition: HanMacWrdKGraph.cxx:130
MWAWGraphicStyle::Pattern::m_colors
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:361
HanMacWrdKGraphInternal::Table::get
TableCell * get(int i)
return the i^th table cell
Definition: HanMacWrdKGraph.cxx:447
HanMacWrdKGraphInternal::TextBox::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:576
HanMacWrdKGraphInternal::Frame::operator<<
friend std::ostream & operator<<(std::ostream &o, Frame const &grph)
operator<<
Definition: HanMacWrdKGraph.cxx:137
HanMacWrdKGraph::sendPageGraphics
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdKGraph.cxx:2274
MWAWBorder::m_style
Style m_style
the border style
Definition: libmwaw_internal.hxx:380
MWAWCell::VALIGN_CENTER
@ VALIGN_CENTER
Definition: MWAWCell.hxx:134
HanMacWrdKGraphInternal::FootnoteFrame::FootnoteFrame
FootnoteFrame(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:244
MWAWGraphicStyle::m_lineColor
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:516
HanMacWrdKGraphInternal::Pattern
Internal: the pattern of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:656
MWAWGraphicEncoder
main class used to define store librevenge::RVNGDrawingInterface lists of command in a librevenge::RV...
Definition: MWAWGraphicEncoder.hxx:56
MWAWGraphicStyle::m_frameName
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:548
HanMacWrdKGraphInternal::State::getColor
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdKGraph.cxx:708
MWAWCell::E_Cross
@ E_Cross
Definition: MWAWCell.hxx:137
MWAWGraphicShape::Line
@ Line
Definition: MWAWGraphicShape.hxx:49
HanMacWrdKGraphInternal::Table
Internal: the table of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:432
MWAWBorder::Double
@ Double
Definition: libmwaw_internal.hxx:337
libmwaw::LeftBit
@ LeftBit
Definition: libmwaw_internal.hxx:178
MWAWGraphicStyle::Pattern::Pattern
Pattern()
constructor
Definition: MWAWGraphicStyle.hxx:279
HanMacWrdKGraphInternal::Pattern::Pattern
Pattern(Pattern const &)=default
HanMacWrdKGraphInternal::State::m_framesMap
std::multimap< long, std::shared_ptr< Frame > > m_framesMap
a map fileId -> frame
Definition: HanMacWrdKGraph.cxx:743
HanMacWrdKGraphInternal::Table::m_rows
int m_rows
the number of row
Definition: HanMacWrdKGraph.cxx:481
HanMacWrdKGraph::readTable
std::shared_ptr< HanMacWrdKGraphInternal::Table > readTable(std::shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the table data
Definition: HanMacWrdKGraph.cxx:1825
MWAWGraphicStyle.hxx
HanMacWrdKGraph
the main class to read the graphic part of a HanMac Word file
Definition: HanMacWrdKGraph.hxx:78
MWAWTable::SizeBit
@ SizeBit
Definition: MWAWTable.hxx:56
HanMacWrdKGraphInternal
Internal: the structures of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:65
HanMacWrdKGraphInternal::TextBox::m_textFileId
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:595
MWAWGraphicListener::startDocument
void startDocument() final
starts a new document
Definition: MWAWGraphicListener.cxx:470
HanMacWrdKGraphInternal::Frame::m_parsed
bool m_parsed
true if we have send the data
Definition: HanMacWrdKGraph.cxx:128
MWAWGraphicStyle::m_frameNextName
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:550
MWAWTextListener.hxx
Defines MWAWTextListener: the libmwaw word processor listener.
HanMacWrdKGraphInternal::SubDocument::m_id
long m_id
the zone id
Definition: HanMacWrdKGraph.cxx:865
HanMacWrdKParser::sendText
bool sendText(long id, long subId, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdKParser.cxx:172
HanMacWrdKGraphInternal::PictureFrame::m_borderDim
MWAWVec2f m_borderDim
the border dim?
Definition: HanMacWrdKGraph.cxx:381
MWAWCell::E_Line1
@ E_Line1
Definition: MWAWCell.hxx:137
HanMacWrdKGraphInternal::SubDocument
Internal: the subdocument of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:824
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::State::getColor
static MWAWColor getColor(MWAWColor col, float pattern)
returns a color corresponding to a pattern and a color
Definition: HanMacWrdKGraph.cxx:731
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
libmwaw::TopBit
@ TopBit
Definition: libmwaw_internal.hxx:178
HanMacWrdKGraphInternal::Frame::m_posFlags
int m_posFlags
the graph anchor flags
Definition: HanMacWrdKGraph.cxx:118
HanMacWrdKGraphInternal::TableCell::operator<<
friend std::ostream & operator<<(std::ostream &o, TableCell const &cell)
operator<<
Definition: HanMacWrdKGraph.cxx:416
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
HanMacWrdKGraphInternal::SubDocument::FrameInFrame
@ FrameInFrame
Definition: HanMacWrdKGraph.cxx:827
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr const &input, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:829
HanMacWrdKGraphInternal::Picture::m_zone
std::shared_ptr< HanMacWrdKZone > m_zone
the main zone
Definition: HanMacWrdKGraph.cxx:641
HanMacWrdKGraphInternal::Table::sendText
bool sendText(long textId, long id) const
send a text zone
Definition: HanMacWrdKGraph.cxx:453
MWAWPosition::origin
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
HanMacWrdKGraph::canCreateGraphic
bool canCreateGraphic(HanMacWrdKGraphInternal::Group const &group)
check if we can send a group as graphic
Definition: HanMacWrdKGraph.cxx:2021
HanMacWrdKGraphInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: HanMacWrdKGraph.cxx:876
HanMacWrdKGraphInternal::Group::m_childsList
std::vector< Child > m_childsList
the list of child
Definition: HanMacWrdKGraph.cxx:300
HanMacWrdKGraphInternal::Table::~Table
~Table() final
destructor
Definition: HanMacWrdKGraph.cxx:493
HanMacWrdKGraphInternal::TextBox::m_linkedIdList
std::vector< long > m_linkedIdList
the list of linked remaining textbox id
Definition: HanMacWrdKGraph.cxx:599
HanMacWrdKGraphInternal::FootnoteFrame
Internal: the footnote of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:242
HanMacWrdKGraphInternal::TableCell::sendContent
bool sendContent(MWAWListenerPtr listener, MWAWTable &table) final
call when the content of a cell must be send
Definition: HanMacWrdKGraph.cxx:608
HanMacWrdKGraphInternal::TextBox::operator<<
friend std::ostream & operator<<(std::ostream &o, TextBox const &textbox)
operator<<
Definition: HanMacWrdKGraph.cxx:569
MWAWTable::sendAsText
bool sendAsText(MWAWListenerPtr listener)
try to send the table as basic text
Definition: MWAWTable.cxx:502
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
MWAWPosition::Frame
@ Frame
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::Frame::m_page
int m_page
the page
Definition: HanMacWrdKGraph.cxx:112
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
HanMacWrdKGraphInternal::SubDocument::Group
@ Group
Definition: HanMacWrdKGraph.cxx:827
HanMacWrdKGraph::readTextBox
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:1778
HanMacWrdKGraphInternal::TextBox::isLinked
bool isLinked() const
returns true if the box is linked to other textbox
Definition: HanMacWrdKGraph.cxx:513
MWAWNote::FootNote
@ FootNote
Definition: libmwaw_internal.hxx:447
MWAWGraphicShape::m_arcAngles
MWAWVec2f m_arcAngles
the start and end value which defines an arc
Definition: MWAWGraphicShape.hxx:224
HanMacWrdKGraphInternal::SubDocument::m_graphParser
HanMacWrdKGraph * m_graphParser
the graph parser
Definition: HanMacWrdKGraph.cxx:861
HanMacWrdKGraph::sendGroupChild
void sendGroupChild(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdKGraph.cxx:2090
MWAWInputStream.hxx
MWAWGraphicShape::Circle
@ Circle
Definition: MWAWGraphicShape.hxx:49
HanMacWrdKGraph::HanMacWrdKGraph
HanMacWrdKGraph(HanMacWrdKParser &parser)
constructor
Definition: HanMacWrdKGraph.cxx:941
HanMacWrdKGraphInternal::Group::Child::operator<<
friend std::ostream & operator<<(std::ostream &o, Child const &ch)
operator<<
Definition: HanMacWrdKGraph.cxx:310
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWFont.hxx
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
HanMacWrdKGraphInternal::SubDocument::UnformattedTable
@ UnformattedTable
Definition: HanMacWrdKGraph.cxx:827
HanMacWrdKZone
Small class used to store the decoded zone of HanMacWrdKParser.
Definition: HanMacWrdKParser.hxx:58
HanMacWrdKGraph::~HanMacWrdKGraph
virtual ~HanMacWrdKGraph()
destructor
Definition: HanMacWrdKGraph.cxx:948
HanMacWrdKGraphInternal::Table::operator=
Table & operator=(Table const &orig)=delete
HanMacWrdKGraphInternal::TableCell::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:409
HanMacWrdKGraphInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: HanMacWrdKGraph.cxx:851
HanMacWrdKGraphInternal::Pattern::~Pattern
~Pattern() final
destructor
Definition: HanMacWrdKGraph.cxx:691
HanMacWrdKGraph::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdKGraph.cxx:2292
HanMacWrdKGraphInternal::Table::operator<<
friend std::ostream & operator<<(std::ostream &o, Table const &table)
operator<<
Definition: HanMacWrdKGraph.cxx:458
MWAWCell::E_Line2
@ E_Line2
Definition: MWAWCell.hxx:137
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(SubDocument const &orig)=delete
HanMacWrdKGraphInternal::FootnoteFrame::~FootnoteFrame
~FootnoteFrame() final
destructor
Definition: HanMacWrdKGraph.cxx:274
MWAWTable::get
std::shared_ptr< MWAWCell > get(int id)
returns the i^th cell
Definition: MWAWTable.cxx:122
HanMacWrdKGraph::readShapeGraph
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:1484
MWAWBox2< float >
HanMacWrdKGraphInternal::SubDocument::Text
@ Text
Definition: HanMacWrdKGraph.cxx:827
MWAWCell
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
MWAWGraphicShape::rectangle
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:120
HanMacWrdKGraph::getTextFrameInformations
std::map< long, int > getTextFrameInformations() const
return a list textZId -> type which 3(footnote), 4(textbox), 9(table), 10(comment)
Definition: HanMacWrdKGraph.cxx:994
MWAWBorder::m_color
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
HanMacWrdKGraphInternal::Frame::m_borderType
int m_borderType
the border type
Definition: HanMacWrdKGraph.cxx:122
HanMacWrdKGraph::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: HanMacWrdKGraph.hxx:185
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
HanMacWrdKGraphInternal::PictureFrame::m_dim
MWAWVec2i m_dim
a dim?
Definition: HanMacWrdKGraph.cxx:379
HanMacWrdKGraphInternal::ShapeGraph::ShapeGraph
ShapeGraph(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:202
HanMacWrdKGraphInternal::State
Internal: the state of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:697
MWAWGraphicListener
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
MWAWGraphicShape::m_formBox
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:220
HanMacWrdKGraphInternal::State::initColors
void initColors()
init the color list
Definition: HanMacWrdKGraph.cxx:779
HanMacWrdKGraphInternal::FootnoteFrame::m_textFileSubId
long m_textFileSubId
the text file subId
Definition: HanMacWrdKGraph.cxx:270
MWAWGraphicStyle::Arrow
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:56
MWAWTable::CellPositionBit
@ CellPositionBit
Definition: MWAWTable.hxx:56

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20