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(shared_ptr<HanMacWrdKZone> zone);
113  bool readPicture(shared_ptr<HanMacWrdKZone> zone);
115  void prepareStructures();
116 
117  // interface with mainParser
118 
120  bool sendFrame(long frameId, MWAWPosition pos);
122  bool sendPicture(long pictId, MWAWPosition pos);
123 
125  bool sendText(long textId, long id, MWAWListenerPtr 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 
140  bool sendFrame(HanMacWrdKGraphInternal::Frame const &frame, MWAWPosition pos);
146  bool sendEmptyPicture(MWAWPosition pos);
150  bool sendTableUnformatted(long fId);
151 
153  bool sendGroup(long fId, MWAWPosition pos);
155  bool sendGroup(HanMacWrdKGraphInternal::Group const &group, MWAWPosition pos);
159  void sendGroupChild(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos);
162 
164  shared_ptr<HanMacWrdKGraphInternal::ShapeGraph> readShapeGraph(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
166  shared_ptr<HanMacWrdKGraphInternal::FootnoteFrame> readFootnoteFrame(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
168  shared_ptr<HanMacWrdKGraphInternal::Group> readGroup(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
170  shared_ptr<HanMacWrdKGraphInternal::PictureFrame> readPictureFrame(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
172  shared_ptr<HanMacWrdKGraphInternal::Table> readTable(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header);
174  shared_ptr<HanMacWrdKGraphInternal::TextBox> readTextBox(shared_ptr<HanMacWrdKZone> zone, HanMacWrdKGraphInternal::Frame const &header, bool isMemo);
175 
176 private:
179 
180 protected:
181  //
182  // data
183  //
186 
188  shared_ptr<HanMacWrdKGraphInternal::State> m_state;
189 
192 };
193 #endif
194 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWPosition::CharBaseLine
@ CharBaseLine
Definition: MWAWPosition.hxx:51
MWAWTable::numCells
int numCells() const
returns the number of cell
Definition: MWAWTable.hxx:101
MWAWGraphicStyle::Pattern::getUniqueColor
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
HanMacWrdKGraphInternal::Group::~Group
~Group()
destructor
Definition: HanMacWrdKGraph.cxx:306
HanMacWrdKGraphInternal::FootnoteFrame::~FootnoteFrame
virtual ~FootnoteFrame()
destructor
Definition: HanMacWrdKGraph.cxx:255
HanMacWrdKGraphInternal::operator<<
std::ostream & operator<<(std::ostream &o, Frame const &grph)
Definition: HanMacWrdKGraph.cxx:124
HanMacWrdKGraphInternal::Frame::m_inGroup
bool m_inGroup
true if the frame is a child of a group
Definition: HanMacWrdKGraph.cxx:113
HanMacWrdKGraph::m_state
shared_ptr< HanMacWrdKGraphInternal::State > m_state
the state
Definition: HanMacWrdKGraph.hxx:188
HanMacWrdKGraphInternal::ShapeGraph::m_shape
MWAWGraphicShape m_shape
the shape m_shape
Definition: HanMacWrdKGraph.cxx:217
HanMacWrdKGraphInternal::TableCell::m_extra
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:382
MWAWGraphicStyle::hasSurfaceColor
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:288
MWAWTextListenerPtr
shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:519
HanMacWrdKGraphInternal::TableCell::m_id
long m_id
the cell id ( corresponding to the last data in the main zones list )
Definition: HanMacWrdKGraph.cxx:376
HanMacWrdKGraphInternal::Table::m_numCells
int m_numCells
the number of cells
Definition: HanMacWrdKGraph.cxx:451
HanMacWrdKParser
the main class to read a HanMac Word-K file
Definition: HanMacWrdKParser.hxx:186
HanMacWrdKGraphInternal::Picture::~Picture
~Picture()
destructor
Definition: HanMacWrdKGraph.cxx:587
HanMacWrdKGraphInternal::Frame::m_fileSubId
long m_fileSubId
the file sub id
Definition: HanMacWrdKGraph.cxx:95
MWAWNote
a note
Definition: libmwaw_internal.hxx:406
HanMacWrdKGraph::sendGroup
bool sendGroup(long fId, MWAWPosition pos)
try to send a group to the listener
Definition: HanMacWrdKGraph.cxx:1949
HanMacWrdKGraphInternal::Table::Table
Table(Frame const &orig, HanMacWrdKGraph &parser)
constructor
Definition: HanMacWrdKGraph.cxx:403
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
HanMacWrdKGraphInternal::SubDocument::Type
Type
the document type
Definition: HanMacWrdKGraph.cxx:773
HanMacWrdKGraph.hxx
HanMacWrdKGraphInternal::SubDocument::operator==
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: HanMacWrdKGraph.cxx:788
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
HanMacWrdKGraphInternal::Picture::m_pos
long m_pos[2]
the first and last position of the picture data in the zone
Definition: HanMacWrdKGraph.cxx:601
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:453
HanMacWrdKGraphInternal::Group::Group
Group(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:264
MWAWBorder::m_type
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:355
HanMacWrdKGraph::getColor
bool getColor(int colId, int patternId, MWAWColor &color) const
returns the color associated with a pattern
Definition: HanMacWrdKGraph.cxx:892
HanMacWrdKGraphInternal::TextBox::m_commentBox
bool m_commentBox
a flag to know if this is a comment textbox
Definition: HanMacWrdKGraph.cxx:556
MWAWGraphicStyle::setSurfaceColor
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:282
HanMacWrdKGraphInternal::SubDocument::operator=
SubDocument & operator=(SubDocument const &orig)
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:221
HanMacWrdKGraphInternal::TableCell::sendContent
virtual bool sendContent(MWAWListenerPtr listener, MWAWTable &table)
call when the content of a cell must be send
Definition: HanMacWrdKGraph.cxx:571
HanMacWrdKParser::canSendTextAsGraphic
bool canSendTextAsGraphic(long id, long subId)
check if we can send a textzone as graphic
Definition: HanMacWrdKParser.cxx:174
MWAWPosition::setPage
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:189
HanMacWrdKGraphInternal::Table::~Table
~Table()
destructor
Definition: HanMacWrdKGraph.cxx:459
MWAWGraphicStyle::Arrow::plain
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
MWAWGraphicStyle::m_surfaceOpacity
float m_surfaceOpacity
true if the surface has some color
Definition: MWAWGraphicStyle.hxx:387
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
MWAWTable.hxx
HanMacWrdKGraphInternal::Picture::m_parsed
bool m_parsed
a flag to know if the picture was send to the receiver
Definition: HanMacWrdKGraph.cxx:607
libmwaw::BottomBit
@ BottomBit
Definition: libmwaw_internal.hxx:168
HanMacWrdKGraphInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: HanMacWrdKGraph.cxx:813
HanMacWrdKGraphInternal::State::m_picturesMap
std::map< long, shared_ptr< Picture > > m_picturesMap
a map fileId -> picture
Definition: HanMacWrdKGraph.cxx:691
HanMacWrdKGraph::numPages
int numPages() const
returns the number of pages
Definition: HanMacWrdKGraph.cxx:909
HanMacWrdKGraphInternal::Picture
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:580
MWAWGraphicListener::startDocument
void startDocument()
starts a new document
Definition: MWAWGraphicListener.cxx:432
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
MWAWTable::get
shared_ptr< MWAWCell > get(int id)
returns the i^th cell
Definition: MWAWTable.cxx:114
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:182
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
MWAWTable::sendTable
bool sendTable(MWAWListenerPtr listener, bool inFrame=true)
try to send the table
Definition: MWAWTable.cxx:465
HanMacWrdKGraphInternal::Table::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:431
HanMacWrdKGraph::sendPictureFrame
bool sendPictureFrame(HanMacWrdKGraphInternal::PictureFrame const &pict, MWAWPosition pos)
try to send a picture frame
Definition: HanMacWrdKGraph.cxx:1364
MWAWGraphicShape::line
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
MWAWGraphicStyle::setBackgroundColor
void setBackgroundColor(MWAWColor const &col, float opacity=1)
set the background color
Definition: MWAWGraphicStyle.hxx:314
HanMacWrdKGraphInternal::TextBox::m_isLinked
bool m_isLinked
a flag to know if this textbox is linked to a previous box
Definition: HanMacWrdKGraph.cxx:564
HanMacWrdKGraph::sendPicture
bool sendPicture(long pictId, MWAWPosition pos)
try to send a picture to the listener
Definition: HanMacWrdKGraph.cxx:1163
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:1063
HanMacWrdKGraphInternal::FootnoteFrame::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:241
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:231
MWAWListener::Graphic
@ Graphic
Definition: MWAWListener.hxx:56
HanMacWrdKGraphInternal::Group::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:310
MWAWGraphicListener::endDocument
void endDocument(bool delayed=true)
ends the actual document
Definition: MWAWGraphicListener.cxx:443
MWAWBorder::None
@ None
Definition: libmwaw_internal.hxx:316
HanMacWrdKGraph::readGroup
shared_ptr< HanMacWrdKGraphInternal::Group > readGroup(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the group data
Definition: HanMacWrdKGraph.cxx:1608
HanMacWrdKGraphInternal::TextBox
Internal: the textbox of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:465
HanMacWrdKGraphInternal::Picture::m_extra
std::string m_extra
extra data
Definition: HanMacWrdKGraph.cxx:609
MWAWBorder::m_width
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
HanMacWrdKGraphInternal::Frame::m_type
int m_type
the graph type
Definition: HanMacWrdKGraph.cxx:91
MWAWParserStatePtr
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
HanMacWrdKGraphInternal::TableCell::TableCell
TableCell()
constructor
Definition: HanMacWrdKGraph.cxx:368
HanMacWrdKGraphInternal::Frame::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:93
HanMacWrdKGraphInternal::Group::Child::m_values
int m_values[2]
two values
Definition: HanMacWrdKGraph.cxx:302
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr input, MWAWPosition pos, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:779
HanMacWrdKGraphInternal::Picture::operator<<
friend std::ostream & operator<<(std::ostream &o, Picture const &pict)
operator<<
Definition: HanMacWrdKGraph.cxx:591
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:322
HanMacWrdKGraphInternal::TextBox::m_dim
float m_dim[2]
two auxilliary dim for memo textbox
Definition: HanMacWrdKGraph.cxx:560
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:193
HanMacWrdKGraphInternal::State::m_patternList
std::vector< Pattern > m_patternList
the patterns list
Definition: HanMacWrdKGraph.cxx:695
HanMacWrdKGraph::sendShapeGraph
bool sendShapeGraph(HanMacWrdKGraphInternal::ShapeGraph const &shape, MWAWPosition pos)
try to send a basic picture to the listener
Definition: HanMacWrdKGraph.cxx:1397
MWAWGraphicStyle::hasLine
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:277
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:247
HanMacWrdKGraphInternal::SubDocument::EmptyPicture
@ EmptyPicture
Definition: HanMacWrdKGraph.cxx:773
HanMacWrdKGraphInternal::Group::Child::m_fileId
long m_fileId
the child id
Definition: HanMacWrdKGraph.cxx:300
MWAWPosition::setOrder
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:248
HanMacWrdKGraphInternal::Pattern::Pattern
Pattern(uint16_t const *pat=0)
constructor ( 4 int by patterns )
Definition: HanMacWrdKGraph.cxx:616
HanMacWrdKGraphInternal::Picture::Picture
Picture(shared_ptr< HanMacWrdKZone > zone)
constructor
Definition: HanMacWrdKGraph.cxx:582
HanMacWrdKGraphInternal::Pattern::m_percent
float m_percent
the percentage
Definition: HanMacWrdKGraph.cxx:641
HanMacWrdKGraphInternal::SubDocument::m_subId
long m_subId
the zone subId ( for table cell )
Definition: HanMacWrdKGraph.cxx:804
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:381
MWAWGraphicListener::insertShape
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style)
adds a shape picture in given position
Definition: MWAWGraphicListener.cxx:995
MWAWCell.hxx
HanMacWrdKGraph::readFrames
bool readFrames(shared_ptr< HanMacWrdKZone > zone)
try to read the frame definition (type 2)
Definition: HanMacWrdKGraph.cxx:984
HanMacWrdKGraphInternal::PictureFrame::operator<<
friend std::ostream & operator<<(std::ostream &o, PictureFrame const &picture)
operator<<
Definition: HanMacWrdKGraph.cxx:329
HanMacWrdKGraphInternal::SubDocument::m_pos
MWAWPosition m_pos
the position in a frame
Definition: HanMacWrdKGraph.cxx:806
HanMacWrdKGraphInternal::TableCell::m_flags
int m_flags
the cell data
Definition: HanMacWrdKGraph.cxx:380
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:171
MWAWSubDocument.hxx
HanMacWrdKGraphInternal::Group::Child::Child
Child()
constructor
Definition: HanMacWrdKGraph.cxx:283
HanMacWrdKGraphInternal::PictureFrame::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:336
MWAWPosition::size
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:119
HanMacWrdKGraphInternal::ShapeGraph
Internal: the geometrical graph of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:186
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:205
MWAWGraphicStyle::hasPattern
bool hasPattern() const
returns true if the pattern is defined
Definition: MWAWGraphicStyle.hxx:299
MWAWBox2::getUnion
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1070
HanMacWrdKGraphInternal::PictureFrame::~PictureFrame
~PictureFrame()
destructor
Definition: HanMacWrdKGraph.cxx:360
MWAWGraphicShape::Rectangle
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:178
HanMacWrdKGraphInternal::Table::Table
Table(Table const &orig)
HanMacWrdKGraphInternal::TableCell
a table cell in a table in HanMacWrdKGraph
Definition: HanMacWrdKGraph.cxx:366
HanMacWrdKGraphInternal::State::m_colorList
std::vector< MWAWColor > m_colorList
a list colorId -> color
Definition: HanMacWrdKGraph.cxx:693
HanMacWrdKGraphInternal::Frame::m_id
int m_id
the local id
Definition: HanMacWrdKGraph.cxx:97
MWAWBorder::m_widthsList
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:361
HanMacWrdKGraph::prepareStructures
void prepareStructures()
check the group structures, the linked textbox
Definition: HanMacWrdKGraph.cxx:2170
HanMacWrdKGraphInternal::Group::Child
struct to store child data in HanMacWrdKGraphInternal::Group
Definition: HanMacWrdKGraph.cxx:281
HanMacWrdKParser.hxx
HanMacWrdKGraphInternal::State::getPattern
bool getPattern(int id, Pattern &pattern)
returns a pattern correspond to an id
Definition: HanMacWrdKGraph.cxx:665
MWAWGraphicStyle::m_surfaceColor
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:385
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
MWAWGraphicEncoder.hxx
HanMacWrdKGraphInternal::Picture::m_fileSubId
long m_fileSubId
the file subid
Definition: HanMacWrdKGraph.cxx:605
HanMacWrdKGraphInternal::PictureFrame::m_values
int m_values[7]
some unknown int
Definition: HanMacWrdKGraph.cxx:357
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:620
HanMacWrdKGraphInternal::TextBox::~TextBox
~TextBox()
destructor
Definition: HanMacWrdKGraph.cxx:567
MWAWGraphicListenerPtr
shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:501
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:197
libmwaw_internal.hxx
MWAWGraphicStyle::m_lineWidth
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
MWAWPosition.hxx
MWAWPosition::setSize
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:199
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:615
MWAWTable::hasExtraLines
bool hasExtraLines()
returns true if the table has extralines
Definition: MWAWTable.hxx:132
HanMacWrdKGraphInternal::Frame::getBdBox
MWAWBox2f getBdBox() const
return the frame bdbox
Definition: HanMacWrdKGraph.cxx:77
HanMacWrdKGraphInternal::Frame::m_pos
MWAWBox2f m_pos
the position
Definition: HanMacWrdKGraph.cxx:101
HanMacWrdKGraphInternal::Table::m_columns
int m_columns
the number of columns
Definition: HanMacWrdKGraph.cxx:449
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:314
MWAWGraphicShape::m_vertices
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:201
HanMacWrdKGraphInternal::SubDocument::Picture
@ Picture
Definition: HanMacWrdKGraph.cxx:773
HanMacWrdKGraphInternal::State::State
State()
constructor
Definition: HanMacWrdKGraph.cxx:652
M_PI
#define M_PI
Definition: libmwaw_internal.hxx:49
HanMacWrdKGraphInternal::TextBox::addTo
void addTo(MWAWGraphicStyle &style) const
add property to frame extra values
Definition: HanMacWrdKGraph.cxx:481
MWAWGraphicStyle::Pattern::m_dim
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:242
MWAWGraphicEncoder::getBinaryResult
bool getBinaryResult(MWAWEmbeddedObject &result)
return the final graphic
Definition: MWAWGraphicEncoder.cxx:74
HanMacWrdKGraphInternal::Table::operator=
Table & operator=(Table const &orig)
MWAWGraphicStyle::setBorders
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
HanMacWrdKGraphInternal::Table::m_parser
HanMacWrdKGraph * m_parser
the graph parser
Definition: HanMacWrdKGraph.cxx:445
HanMacWrdKGraphInternal::Frame::~Frame
virtual ~Frame()
destructor
Definition: HanMacWrdKGraph.cxx:120
HanMacWrdKGraphInternal::ShapeGraph::getStyle
MWAWGraphicStyle getStyle() const
return the current style
Definition: HanMacWrdKGraph.cxx:201
HanMacWrdKGraphInternal::Group::operator<<
friend std::ostream & operator<<(std::ostream &o, Group const &group)
operator<<
Definition: HanMacWrdKGraph.cxx:270
HanMacWrdKGraphInternal::PictureFrame
Internal: the picture of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:320
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:191
HanMacWrdKGraphInternal::ShapeGraph::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:209
libmwaw::RightBit
@ RightBit
Definition: libmwaw_internal.hxx:168
MWAWVec2< float >
HanMacWrdKGraph::sendTableUnformatted
bool sendTableUnformatted(long fId)
try to send a table unformatted
Definition: HanMacWrdKGraph.cxx:1409
MWAWGraphicListener.hxx
MWAWPictMac.hxx
HanMacWrdKGraphInternal::Group
Internal: the group of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:261
MWAWGraphicShape.hxx
MWAWDebug.hxx
MWAWPosition::setOrigin
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:194
HanMacWrdKGraph::version
int version() const
returns the file version
Definition: HanMacWrdKGraph.cxx:887
HanMacWrdKGraphInternal::Frame::m_borders
MWAWVec2f m_borders[4]
the border default size (before using width), 0 means Top, other unknown
Definition: HanMacWrdKGraph.cxx:111
MWAWGraphicStyle::m_arrows
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:430
MWAWGraphicStyle::setPattern
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
HanMacWrdKGraph::readTextBox
shared_ptr< HanMacWrdKGraphInternal::TextBox > readTextBox(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header, bool isMemo)
try to read the textbox data
Definition: HanMacWrdKGraph.cxx:1726
HanMacWrdKGraph::sendFrame
bool sendFrame(long frameId, MWAWPosition pos)
try to send a frame to the listener
Definition: HanMacWrdKGraph.cxx:1208
HanMacWrdKGraphInternal::PictureFrame::m_pictureType
int m_pictureType
a type
Definition: HanMacWrdKGraph.cxx:351
HanMacWrdKGraph::HanMacWrdKGraph
HanMacWrdKGraph(HanMacWrdKGraph const &orig)
HanMacWrdKGraphInternal::Frame::m_baseline
float m_baseline
the baseline
Definition: HanMacWrdKGraph.cxx:103
MWAWTable::updateTable
bool updateTable()
try to build the table structures
Definition: MWAWTable.cxx:452
MWAWGraphicShape::Pie
@ Pie
Definition: MWAWGraphicShape.hxx:49
MWAWGraphicShape::m_cornerWidth
MWAWVec2f m_cornerWidth
the rectangle round corner
Definition: MWAWGraphicShape.hxx:197
HanMacWrdKGraph::checkGroupStructures
bool checkGroupStructures(long fileId, long fileSubId, std::multimap< long, long > &seens, bool inGroup)
check the graph structures: ie.
Definition: HanMacWrdKGraph.cxx:2200
HanMacWrdKGraphInternal::Frame::m_style
MWAWGraphicStyle m_style
the style
Definition: HanMacWrdKGraph.cxx:107
HanMacWrdKGraphInternal::FootnoteFrame::m_textFileId
long m_textFileId
the text file id
Definition: HanMacWrdKGraph.cxx:249
HanMacWrdKGraphInternal::State::initPatterns
void initPatterns()
init the pattenr list
Definition: HanMacWrdKGraph.cxx:698
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::TextBox::TextBox
TextBox(Frame const &orig, bool isComment)
constructor
Definition: HanMacWrdKGraph.cxx:467
HanMacWrdKGraphInternal::SubDocument::m_type
Type m_type
the zone type
Definition: HanMacWrdKGraph.cxx:800
HanMacWrdKGraphInternal::Picture::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:603
HanMacWrdKGraphInternal::Frame::m_extra
std::string m_extra
an extra string
Definition: HanMacWrdKGraph.cxx:117
MWAWGraphicStyle::Pattern::m_colors
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
HanMacWrdKGraphInternal::Table::get
TableCell * get(int i)
return the i^th table cell
Definition: HanMacWrdKGraph.cxx:411
HanMacWrdKGraph::readShapeGraph
shared_ptr< HanMacWrdKGraphInternal::ShapeGraph > readShapeGraph(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the basic graph data
Definition: HanMacWrdKGraph.cxx:1428
HanMacWrdKGraphInternal::TextBox::print
std::string print() const
print local data
Definition: HanMacWrdKGraph.cxx:539
HanMacWrdKGraphInternal::Frame::operator<<
friend std::ostream & operator<<(std::ostream &o, Frame const &grph)
operator<<
Definition: HanMacWrdKGraph.cxx:124
MWAWInputStreamPtr
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
HanMacWrdKGraph::sendPageGraphics
bool sendPageGraphics(std::vector< long > const &doNotSendIds)
try to send the page graphic
Definition: HanMacWrdKGraph.cxx:2236
MWAWBorder::m_style
Style m_style
the border style
Definition: libmwaw_internal.hxx:350
MWAWCell::VALIGN_CENTER
@ VALIGN_CENTER
Definition: MWAWCell.hxx:122
HanMacWrdKGraphInternal::FootnoteFrame::FootnoteFrame
FootnoteFrame(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:228
MWAWGraphicStyle::m_lineColor
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
HanMacWrdKGraphInternal::Pattern
Internal: the pattern of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:614
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:425
HanMacWrdKGraphInternal::SubDocument::operator!=
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: HanMacWrdKGraph.cxx:861
HanMacWrdKGraphInternal::State::getColor
bool getColor(int id, MWAWColor &col)
returns a color correspond to an id
Definition: HanMacWrdKGraph.cxx:654
MWAWCell::E_Cross
@ E_Cross
Definition: MWAWCell.hxx:125
MWAWGraphicShape::Line
@ Line
Definition: MWAWGraphicShape.hxx:49
HanMacWrdKGraphInternal::Table
Internal: the table of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:401
MWAWBorder::Double
@ Double
Definition: libmwaw_internal.hxx:318
libmwaw::LeftBit
@ LeftBit
Definition: libmwaw_internal.hxx:168
HanMacWrdKGraph::operator=
HanMacWrdKGraph & operator=(HanMacWrdKGraph const &orig)
HanMacWrdKGraphInternal::ShapeGraph::operator<<
friend std::ostream & operator<<(std::ostream &o, ShapeGraph const &graph)
operator<<
Definition: HanMacWrdKGraph.cxx:194
HanMacWrdKGraphInternal::Table::m_rows
int m_rows
the number of row
Definition: HanMacWrdKGraph.cxx:447
MWAWGraphicStyle.hxx
HanMacWrdKGraph
the main class to read the graphic part of a HanMac Word file
Definition: HanMacWrdKGraph.hxx:78
HanMacWrdKGraphInternal::State::m_framesMap
std::multimap< long, shared_ptr< Frame > > m_framesMap
a map fileId -> frame
Definition: HanMacWrdKGraph.cxx:689
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:558
HanMacWrdKGraphInternal::Frame::m_parsed
bool m_parsed
true if we have send the data
Definition: HanMacWrdKGraph.cxx:115
HanMacWrdKGraph::sendText
bool sendText(long textId, long id, MWAWListenerPtr listener=MWAWListenerPtr())
ask main parser to send a text zone
Definition: HanMacWrdKGraph.cxx:927
MWAWGraphicStyle::m_frameNextName
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:427
MWAWTextListener.hxx
HanMacWrdKGraphInternal::Pattern::~Pattern
virtual ~Pattern()
destructor
Definition: HanMacWrdKGraph.cxx:644
HanMacWrdKGraphInternal::SubDocument::m_id
long m_id
the zone id
Definition: HanMacWrdKGraph.cxx:802
HanMacWrdKParser::sendText
bool sendText(long id, long subId, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdKParser.cxx:169
HanMacWrdKGraphInternal::PictureFrame::m_borderDim
MWAWVec2f m_borderDim
the border dim?
Definition: HanMacWrdKGraph.cxx:355
MWAWCell::E_Line1
@ E_Line1
Definition: MWAWCell.hxx:125
HanMacWrdKGraph::readPictureFrame
shared_ptr< HanMacWrdKGraphInternal::PictureFrame > readPictureFrame(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the picture data
Definition: HanMacWrdKGraph.cxx:1646
HanMacWrdKGraphInternal::SubDocument
Internal: the subdocument of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:770
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:677
libmwaw::TopBit
@ TopBit
Definition: libmwaw_internal.hxx:168
HanMacWrdKGraphInternal::FootnoteFrame::operator<<
friend std::ostream & operator<<(std::ostream &o, FootnoteFrame const &ftn)
operator<<
Definition: HanMacWrdKGraph.cxx:234
HanMacWrdKGraph::readPicture
bool readPicture(shared_ptr< HanMacWrdKZone > zone)
try to read a picture zone (type d)
Definition: HanMacWrdKGraph.cxx:1106
HanMacWrdKGraphInternal::Frame::m_posFlags
int m_posFlags
the graph anchor flags
Definition: HanMacWrdKGraph.cxx:105
HanMacWrdKGraphInternal::TableCell::operator<<
friend std::ostream & operator<<(std::ostream &o, TableCell const &cell)
operator<<
Definition: HanMacWrdKGraph.cxx:385
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:773
HanMacWrdKGraphInternal::Table::sendText
bool sendText(long textId, long id) const
send a text zone
Definition: HanMacWrdKGraph.cxx:419
MWAWPosition::origin
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:114
HanMacWrdKGraph::canCreateGraphic
bool canCreateGraphic(HanMacWrdKGraphInternal::Group const &group)
check if we can send a group as graphic
Definition: HanMacWrdKGraph.cxx:1973
HanMacWrdKGraphInternal::Group::m_childsList
std::vector< Child > m_childsList
the list of child
Definition: HanMacWrdKGraph.cxx:279
HanMacWrdKGraph::sendEmptyPicture
bool sendEmptyPicture(MWAWPosition pos)
try to send an empty picture
Definition: HanMacWrdKGraph.cxx:1337
HanMacWrdKGraphInternal::TextBox::m_linkedIdList
std::vector< long > m_linkedIdList
the list of linked remaining textbox id
Definition: HanMacWrdKGraph.cxx:562
HanMacWrdKGraphInternal::FootnoteFrame
Internal: the footnote of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:226
HanMacWrdKGraphInternal::TextBox::operator<<
friend std::ostream & operator<<(std::ostream &o, TextBox const &textbox)
operator<<
Definition: HanMacWrdKGraph.cxx:532
MWAWTable::sendAsText
bool sendAsText(MWAWListenerPtr listener)
try to send the table as basic text
Definition: MWAWTable.cxx:496
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
MWAWPosition::Frame
@ Frame
Definition: MWAWPosition.hxx:51
HanMacWrdKGraphInternal::Frame::m_page
int m_page
the page
Definition: HanMacWrdKGraph.cxx:99
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:773
HanMacWrdKGraphInternal::TextBox::isLinked
bool isLinked() const
returns true if the box is linked to other textbox
Definition: HanMacWrdKGraph.cxx:476
MWAWNote::FootNote
@ FootNote
Definition: libmwaw_internal.hxx:408
HanMacWrdKGraph::readTable
shared_ptr< HanMacWrdKGraphInternal::Table > readTable(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the table data
Definition: HanMacWrdKGraph.cxx:1773
MWAWGraphicShape::m_arcAngles
MWAWVec2f m_arcAngles
the start and end value which defines an arc
Definition: MWAWGraphicShape.hxx:199
HanMacWrdKGraphInternal::SubDocument::m_graphParser
HanMacWrdKGraph * m_graphParser
the graph parser
Definition: HanMacWrdKGraph.cxx:798
HanMacWrdKGraph::sendGroupChild
void sendGroupChild(HanMacWrdKGraphInternal::Group const &group, MWAWPosition const &pos)
try to send a group elements by elements
Definition: HanMacWrdKGraph.cxx:2046
HanMacWrdKGraph::sendTextBox
bool sendTextBox(HanMacWrdKGraphInternal::TextBox const &textbox, MWAWPosition pos)
try to send a textbox to the listener
Definition: HanMacWrdKGraph.cxx:1374
MWAWInputStream.hxx
MWAWGraphicShape::Circle
@ Circle
Definition: MWAWGraphicShape.hxx:49
HanMacWrdKGraph::HanMacWrdKGraph
HanMacWrdKGraph(HanMacWrdKParser &parser)
constructor
Definition: HanMacWrdKGraph.cxx:878
HanMacWrdKGraphInternal::Group::Child::operator<<
friend std::ostream & operator<<(std::ostream &o, Child const &ch)
operator<<
Definition: HanMacWrdKGraph.cxx:288
MWAWFont.hxx
HanMacWrdKGraphInternal::SubDocument::~SubDocument
virtual ~SubDocument()
destructor
Definition: HanMacWrdKGraph.cxx:783
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
HanMacWrdKGraphInternal::SubDocument::UnformattedTable
@ UnformattedTable
Definition: HanMacWrdKGraph.cxx:773
HanMacWrdKZone
Small class used to store the decoded zone of HanMacWrdKParser.
Definition: HanMacWrdKParser.hxx:58
HanMacWrdKGraph::~HanMacWrdKGraph
virtual ~HanMacWrdKGraph()
destructor
Definition: HanMacWrdKGraph.cxx:884
HanMacWrdKGraphInternal::TableCell::m_fileId
long m_fileId
the file id
Definition: HanMacWrdKGraph.cxx:378
HanMacWrdKGraph::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdKGraph.cxx:2256
HanMacWrdKGraphInternal::Table::operator<<
friend std::ostream & operator<<(std::ostream &o, Table const &table)
operator<<
Definition: HanMacWrdKGraph.cxx:424
MWAWCell::E_Line2
@ E_Line2
Definition: MWAWCell.hxx:125
MWAWSubDocumentPtr
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
MWAWBox2< float >
MWAWGraphicListener::insertTextBox
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr subDocument, MWAWGraphicStyle const &style)
adds a textbox in given position
Definition: MWAWGraphicListener.cxx:1074
HanMacWrdKGraphInternal::SubDocument::Text
@ Text
Definition: HanMacWrdKGraph.cxx:773
MWAWCell
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(SubDocument const &orig)
MWAWGraphicShape::rectangle
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
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:932
HanMacWrdKGraphInternal::ShapeGraph::~ShapeGraph
~ShapeGraph()
destructor
Definition: HanMacWrdKGraph.cxx:220
MWAWBorder::m_color
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
HanMacWrdKGraphInternal::Frame::m_borderType
int m_borderType
the border type
Definition: HanMacWrdKGraph.cxx:109
HanMacWrdKGraphInternal::State::m_numPages
int m_numPages
Definition: HanMacWrdKGraph.cxx:687
HanMacWrdKGraph::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: HanMacWrdKGraph.hxx:185
HanMacWrdKGraph::readFootnoteFrame
shared_ptr< HanMacWrdKGraphInternal::FootnoteFrame > readFootnoteFrame(shared_ptr< HanMacWrdKZone > zone, HanMacWrdKGraphInternal::Frame const &header)
try to read the footnote data
Definition: HanMacWrdKGraph.cxx:1690
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWListenerPtr
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
HanMacWrdKGraphInternal::PictureFrame::m_dim
MWAWVec2i m_dim
a dim?
Definition: HanMacWrdKGraph.cxx:353
HanMacWrdKGraphInternal::ShapeGraph::ShapeGraph
ShapeGraph(Frame const &orig)
constructor
Definition: HanMacWrdKGraph.cxx:188
MWAWSubDocument::m_input
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
HanMacWrdKGraphInternal::State
Internal: the state of a HanMacWrdKGraph.
Definition: HanMacWrdKGraph.cxx:650
MWAWGraphicListener
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
HanMacWrdKGraphInternal::Picture::m_zone
shared_ptr< HanMacWrdKZone > m_zone
the main zone
Definition: HanMacWrdKGraph.cxx:599
MWAWGraphicShape::m_formBox
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:195
HanMacWrdKGraphInternal::State::initColors
void initColors()
init the color list
Definition: HanMacWrdKGraph.cxx:725
HanMacWrdKGraphInternal::SubDocument::SubDocument
SubDocument(HanMacWrdKGraph &pars, MWAWInputStreamPtr input, Type type, long id, long subId=0)
constructor
Definition: HanMacWrdKGraph.cxx:775
HanMacWrdKGraphInternal::FootnoteFrame::m_textFileSubId
long m_textFileSubId
the text file subId
Definition: HanMacWrdKGraph.cxx:251
MWAWGraphicStyle::Arrow
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:58
MWAWTable::CellPositionBit
@ CellPositionBit
Definition: MWAWTable.hxx:56

Generated on Wed Jun 17 2020 06:30:10 for libmwaw by doxygen 1.8.18