64 enum Type { A_None, A_Numeric, A_Logarithmic, A_Sequence, A_Sequence_Skip_Empty };
67 Axis &operator=(
Axis const &)=
default;
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);
92 , m_autoPosition(true)
100 void addContentTo(librevenge::RVNGPropertyList &propList)
const;
102 void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr<MWAWFontConverter> fontConverter)
const;
121 enum Type { S_Area, S_Bar, S_Column, S_Line, S_Pie, S_Scatter, S_Stock };
128 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
130 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
132 static std::string getSeriesTypeName(
Type type);
145 enum Type { T_Title, T_SubTitle, T_AxisX, T_AxisY, T_AxisZ };
156 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
158 void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr<MWAWFontConverter> fontConverter)
const;
190 m_dataStacked=dataStacked;
204 void add(
int coord,
Axis const &axis);
206 Axis const &getAxis(
int coord)
const;
220 void add(
Series const &series);
a legend in a chart
Definition: MWAWChart.hxx:88
MWAWEntry m_textEntry
the text entry
Definition: MWAWChart.hxx:170
Type m_type
the type
Definition: MWAWChart.hxx:136
Type
the text type
Definition: MWAWChart.hxx:145
Type
the series type
Definition: MWAWChart.hxx:121
MWAWFont m_font
the zone format
Definition: MWAWChart.hxx:172
Internal: the subdocument of a MWAWChart.
Definition: MWAWChart.cxx:61
Internal: the structures of a MWAWChart.
Definition: MWAWChart.cxx:57
ContentType
the text content type
Definition: MWAWChart.hxx:147
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: BeagleWksDRParser.cxx:107
ContentType m_contentType
the content type
Definition: MWAWChart.hxx:164
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
bool m_autoPosition
automatic position
Definition: MWAWChart.hxx:108
std::shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:563
Legend m_legend
the legend
Definition: MWAWChart.hxx:248
bool m_showGrid
show or not the grid
Definition: MWAWChart.hxx:79
std::string m_sheetName
the sheet name
Definition: MWAWChart.hxx:238
a series in a chart
Definition: MWAWChart.hxx:119
MWAWVec2f m_position
the position in points
Definition: MWAWChart.hxx:112
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
void setDataType(Series::Type type, bool dataStacked)
sets the chart type
Definition: MWAWChart.hxx:187
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:50
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:140
std::vector< Series > m_seriesList
the list of series
Definition: MWAWChart.hxx:250
Type
the axis content
Definition: MWAWChart.hxx:64
void setDimension(MWAWVec2f const &dim)
return the chart dimension
Definition: MWAWChart.hxx:199
Legend()
constructor
Definition: MWAWChart.hxx:90
a axis in a chart
Definition: MWAWChart.hxx:62
Class to store font.
Definition: MWAWFont.hxx:43
MWAWFont m_font
the font
Definition: MWAWChart.hxx:114
MWAWVec2f m_dim
the chart dimension in point
Definition: MWAWChart.hxx:240
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:85
Series::Type m_type
the chart type (if no series)
Definition: MWAWChart.hxx:242
Type m_type
the sequence type
Definition: MWAWChart.hxx:77
bool m_dataStacked
a flag to know if the data are stacked or not
Definition: MWAWChart.hxx:244
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:174
std::map< TextZone::Type, TextZone > m_textZoneMap
a map text zone type to text zone
Definition: MWAWChart.hxx:252
bool m_show
show or not the legend
Definition: MWAWChart.hxx:106
MWAWVec2i m_cell
the cell position ( for title and subtitle )
Definition: MWAWChart.hxx:168
Definition: libmwaw_internal.hxx:178
Legend const & getLegend() const
return the legend
Definition: MWAWChart.hxx:214
std::vector< Series > const & getSeries() const
return the list of series
Definition: MWAWChart.hxx:222
std::shared_ptr< MWAWFontConverter > MWAWFontConverterPtr
a smart pointer of MWAWFontConverter
Definition: libmwaw_internal.hxx:543
MWAWVec2f const & getDimension() const
return the chart dimension
Definition: MWAWChart.hxx:194
int m_relativePosition
the automatic position libmwaw::LeftBit|...
Definition: MWAWChart.hxx:110
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWChart.hxx:254
a text zone a chart
Definition: MWAWChart.hxx:143
Type m_type
the zone type
Definition: MWAWChart.hxx:162
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWVec2f m_position
the position in the zone
Definition: MWAWChart.hxx:166
MWAWBox2i m_labelRange
the label range if defined
Definition: MWAWChart.hxx:83
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:116
a class used to store a chart associated to a spreadsheet ....
Definition: MWAWChart.hxx:57
MWAWBox2i m_range
the data range
Definition: MWAWChart.hxx:138