71 void addContentTo(std::string
const &sheetName,
int coord, librevenge::RVNGPropertyList &propList)
const;
73 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
75 friend std::ostream &
operator<<(std::ostream &o,
Axis const &axis);
94 void addContentTo(librevenge::RVNGPropertyList &propList)
const;
96 void addStyleTo(librevenge::RVNGPropertyList &propList, shared_ptr<MWAWFontConverter> fontConverter)
const;
121 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
123 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
147 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
149 void addStyleTo(librevenge::RVNGPropertyList &propList, shared_ptr<MWAWFontConverter> fontConverter)
const;
195 void add(
int coord, Axis
const &axis);
197 Axis
const &
getAxis(
int coord)
const;
211 void add(Series
const &series);
219 void add(TextZone
const &textZone);
friend std::ostream & operator<<(std::ostream &o, TextZone const &zone)
operator<<
Definition: MWAWChart.cxx:615
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:403
a legend in a chart
Definition: MWAWChart.hxx:88
MWAWEntry m_textEntry
the text entry
Definition: MWAWChart.hxx:161
Type m_type
the type
Definition: MWAWChart.hxx:129
Type
the text type
Definition: MWAWChart.hxx:138
Type
the series type
Definition: MWAWChart.hxx:115
MWAWFont m_font
the zone format
Definition: MWAWChart.hxx:163
Definition: MWAWChart.hxx:140
Internal: the subdocument of a MWAWChart.
Definition: MWAWChart.cxx:61
Internal: the structures of a MWAWChart.
Definition: MWAWChart.cxx:57
Vec2i m_cell
the cell position ( for title and subtitle )
Definition: MWAWChart.hxx:159
ContentType
the text content type
Definition: MWAWChart.hxx:140
Definition: MWAWChart.hxx:115
ContentType m_contentType
the content type
Definition: MWAWChart.hxx:155
bool m_autoPosition
automatic position
Definition: MWAWChart.hxx:102
virtual ~Series()
destructor
Definition: MWAWChart.cxx:475
Axis const & getAxis(int coord) const
return an axis (corresponding to a coord)
Definition: MWAWChart.cxx:137
Vec2< float > Vec2f
Vec2 of float.
Definition: libmwaw_internal.hxx:683
Legend m_legend
the legend
Definition: MWAWChart.hxx:239
bool m_showGrid
show or not the grid
Definition: MWAWChart.hxx:79
static std::string getSeriesTypeName(Type type)
returns a string corresponding to a series type
Definition: MWAWChart.cxx:479
std::string m_sheetName
the sheet name
Definition: MWAWChart.hxx:229
a series in a chart
Definition: MWAWChart.hxx:113
Definition: MWAWChart.hxx:65
TextZone()
constructor
Definition: MWAWChart.cxx:565
Axis()
constructor
Definition: MWAWChart.cxx:331
void addStyleTo(librevenge::RVNGPropertyList &propList, shared_ptr< MWAWFontConverter > fontConverter) const
add to the propList
Definition: MWAWChart.cxx:609
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
~TextZone()
destructor
Definition: MWAWChart.cxx:572
Definition: MWAWChart.hxx:115
Vec2f m_dim
the chart dimension in point
Definition: MWAWChart.hxx:231
void setDataType(Series::Type type, bool dataStacked)
sets the chart type
Definition: MWAWChart.hxx:178
bool m_showLabel
show or not the label
Definition: MWAWChart.hxx:81
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:47
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:133
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: MWAWChart.cxx:369
Definition: MWAWChart.hxx:115
Definition: MWAWChart.hxx:65
std::vector< Series > m_seriesList
the list of series
Definition: MWAWChart.hxx:241
friend std::ostream & operator<<(std::ostream &o, Series const &series)
operator<<
Definition: MWAWChart.cxx:528
MWAWChart & operator=(MWAWChart const &orig)
Type
the axis content
Definition: MWAWChart.hxx:65
bool getTextZone(TextZone::Type type, TextZone &textZone)
returns a textzone content(if set)
Definition: MWAWChart.cxx:152
Box2i m_labelRange
the label range if defined
Definition: MWAWChart.hxx:83
Definition: MWAWChart.hxx:115
Definition: MWAWChart.hxx:65
Legend()
constructor
Definition: MWAWChart.hxx:90
~Axis()
destructor
Definition: MWAWChart.cxx:337
a axis in a chart
Definition: MWAWChart.hxx:63
void addContentTo(librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:413
Class to store font.
Definition: MWAWFont.hxx:44
Vec2f m_position
the position in points
Definition: MWAWChart.hxx:106
MWAWFont m_font
the font
Definition: MWAWChart.hxx:108
void addContentTo(std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:502
Definition: MWAWChart.hxx:115
Vec2f const & getDimension() const
return the chart dimension
Definition: MWAWChart.hxx:185
Definition: MWAWChart.hxx:138
shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:413
Definition: MWAWChart.hxx:115
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:85
void sendChart(MWAWSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: MWAWChart.cxx:174
Series::Type m_type
the chart type (if no series)
Definition: MWAWChart.hxx:233
void addContentTo(std::string const &sheetName, int coord, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:341
Legend const & getLegend() const
return the legend
Definition: MWAWChart.hxx:205
Type m_type
the sequence type
Definition: MWAWChart.hxx:77
Definition: MWAWChart.hxx:138
Definition: MWAWChart.hxx:138
Box2i m_range
the data range
Definition: MWAWChart.hxx:131
void sendTextZoneContent(TextZone::Type type, MWAWListenerPtr &listener)
sends a textzone content
Definition: MWAWChart.cxx:160
bool m_dataStacked
a flag to know if the data are stacked or not
Definition: MWAWChart.hxx:235
friend std::ostream & operator<<(std::ostream &o, Axis const &axis)
operator<<
Definition: MWAWChart.cxx:379
std::vector< Series > const & getSeries() const
return the list of series
Definition: MWAWChart.hxx:213
Definition: MWAWChart.hxx:138
Series()
constructor
Definition: MWAWChart.cxx:469
void set(Legend const &legend)
set the legend
Definition: MWAWChart.hxx:200
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:165
std::map< TextZone::Type, TextZone > m_textZoneMap
a map text zone type to text zone
Definition: MWAWChart.hxx:243
virtual void sendContent(TextZone const &zone, MWAWListenerPtr &listener)=0
send the zone content (called when the zone is of text type)
Axis m_axis[3]
the x,y,z axis
Definition: MWAWChart.hxx:237
bool m_show
show or not the legend
Definition: MWAWChart.hxx:100
void setDimension(Vec2f const &dim)
return the chart dimension
Definition: MWAWChart.hxx:190
void add(int coord, Axis const &axis)
adds an axis (corresponding to a coord)
Definition: MWAWChart.cxx:128
Definition: libmwaw_internal.hxx:157
shared_ptr< MWAWFontConverter > MWAWFontConverterPtr
a smart pointer of MWAWFontConverter
Definition: libmwaw_internal.hxx:395
MWAWChart(std::string const &sheetName, MWAWFontConverterPtr fontConverter, Vec2f const &dim=Vec2f())
the constructor
Definition: MWAWChart.cxx:118
virtual ~MWAWChart()
the destructor
Definition: MWAWChart.cxx:124
friend std::ostream & operator<<(std::ostream &o, Legend const &legend)
operator<<
Definition: MWAWChart.cxx:440
Definition: MWAWChart.hxx:140
int m_relativePosition
the automatic position libmwaw::LeftBit|...
Definition: MWAWChart.hxx:104
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWChart.hxx:245
Vec2f m_position
the position in the zone
Definition: MWAWChart.hxx:157
Definition: MWAWChart.hxx:115
a text zone a chart
Definition: MWAWChart.hxx:136
Definition: MWAWChart.hxx:65
Type m_type
the zone type
Definition: MWAWChart.hxx:153
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
void addStyleTo(librevenge::RVNGPropertyList &propList, shared_ptr< MWAWFontConverter > fontConverter) const
add style to the propList
Definition: MWAWChart.cxx:433
void addContentTo(std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:576
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: MWAWChart.cxx:523
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:110
a class used to store a chart associated to a spreadsheet ....
Definition: MWAWChart.hxx:58
Definition: MWAWChart.hxx:138
Definition: MWAWChart.hxx:65