Go to the documentation of this file.
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);
100 void addContentTo(librevenge::RVNGPropertyList &propList)
const;
102 void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr<MWAWFontConverter> fontConverter)
const;
128 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
130 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
156 void addContentTo(std::string
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
158 void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr<MWAWFontConverter> fontConverter)
const;
204 void add(
int coord, Axis
const &axis);
206 Axis
const &
getAxis(
int coord)
const;
220 void add(Series
const &series);
228 void add(TextZone
const &textZone);
void sendTextZoneContent(TextZone::Type type, MWAWListenerPtr &listener)
sends a textzone content
Definition: MWAWChart.cxx:162
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
Axis m_axis[4]
the x,y,z and a bad axis
Definition: MWAWChart.hxx:246
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
@ S_Pie
Definition: MWAWChart.hxx:121
virtual ~MWAWChart()
the destructor
Definition: MWAWChart.cxx:127
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:140
MWAWVec2i m_cell
the cell position ( for title and subtitle )
Definition: MWAWChart.hxx:168
int m_relativePosition
the automatic position libmwaw::LeftBit|...
Definition: MWAWChart.hxx:110
~SubDocument() final
destructor
Definition: MWAWChart.cxx:72
MWAWChart & operator=(MWAWChart const &orig)=delete
ContentType
the text content type
Definition: MWAWChart.hxx:147
MWAWVec2f const & getDimension() const
return the chart dimension
Definition: MWAWChart.hxx:194
std::shared_ptr< MWAWFontConverter > MWAWFontConverterPtr
a smart pointer of MWAWFontConverter
Definition: libmwaw_internal.hxx:543
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
std::ostream & operator<<(std::ostream &o, MWAWChart::Axis const &axis)
Definition: MWAWChart.cxx:388
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
MWAWVec2f m_dim
the chart dimension in point
Definition: MWAWChart.hxx:240
a axis in a chart
Definition: MWAWChart.hxx:62
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:415
Internal: the structures of a MWAWChart.
Definition: MWAWChart.cxx:58
@ A_Numeric
Definition: MWAWChart.hxx:64
void addContentTo(std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:518
void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
add to the propList
Definition: MWAWChart.cxx:634
@ T_Title
Definition: MWAWChart.hxx:145
@ A_Logarithmic
Definition: MWAWChart.hxx:64
@ BottomBit
Definition: libmwaw_internal.hxx:178
@ DOC_CHART_ZONE
Definition: libmwaw_internal.hxx:188
@ A_None
Definition: MWAWChart.hxx:64
bool m_dataStacked
a flag to know if the data are stacked or not
Definition: MWAWChart.hxx:244
void set(Legend const &legend)
set the legend
Definition: MWAWChart.hxx:209
the class to store a color
Definition: libmwaw_internal.hxx:192
@ C_Text
Definition: MWAWChart.hxx:147
MWAWChart(MWAWChart const &orig)=delete
@ S_Bar
Definition: MWAWChart.hxx:121
friend std::ostream & operator<<(std::ostream &o, Legend const &legend)
operator<<
Definition: MWAWChart.cxx:451
@ T_AxisY
Definition: MWAWChart.hxx:145
Series(Series const &)=default
MWAWChart::TextZone::Type m_textZone
the textzone type
Definition: MWAWChart.cxx:90
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:116
void setDataType(Series::Type type, bool dataStacked)
sets the chart type
Definition: MWAWChart.hxx:187
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
static std::string getSeriesTypeName(Type type)
returns a string corresponding to a series type
Definition: MWAWChart.cxx:493
a legend in a chart
Definition: MWAWChart.hxx:88
@ C_Cell
Definition: MWAWChart.hxx:147
MWAWEntry m_textEntry
the text entry
Definition: MWAWChart.hxx:170
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
MWAWVec2f m_position
the position in points
Definition: MWAWChart.hxx:112
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
TextZone(TextZone const &)=default
Internal: the subdocument of a MWAWChart.
Definition: MWAWChart.cxx:62
@ S_Line
Definition: MWAWChart.hxx:121
virtual ~Series()
destructor
Definition: MWAWChart.cxx:489
Type
the series type
Definition: MWAWChart.hxx:121
a text zone a chart
Definition: MWAWChart.hxx:143
Series()
constructor
Definition: MWAWChart.cxx:480
@ S_Stock
Definition: MWAWChart.hxx:121
void addContentTo(std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:599
Legend()
constructor
Definition: MWAWChart.hxx:90
friend std::ostream & operator<<(std::ostream &o, Axis const &axis)
operator<<
Definition: MWAWChart.cxx:388
friend std::ostream & operator<<(std::ostream &o, Series const &series)
operator<<
Definition: MWAWChart.cxx:544
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:174
std::vector< Series > m_seriesList
the list of series
Definition: MWAWChart.hxx:250
SubDocumentType
Definition: libmwaw_internal.hxx:188
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: MWAWChart.cxx:96
virtual void sendContent(TextZone const &zone, MWAWListenerPtr &listener)=0
send the zone content (called when the zone is of text type)
std::shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:563
@ T_AxisZ
Definition: MWAWChart.hxx:145
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
TextZone()
constructor
Definition: MWAWChart.cxx:583
@ S_Column
Definition: MWAWChart.hxx:121
void add(int coord, Axis const &axis)
adds an axis (corresponding to a coord)
Definition: MWAWChart.cxx:131
@ S_Area
Definition: MWAWChart.hxx:121
~TextZone()
destructor
Definition: MWAWChart.cxx:595
void addStyleTo(librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
add style to the propList
Definition: MWAWChart.cxx:444
bool m_showLabel
show or not the label
Definition: MWAWChart.hxx:81
TextZone & operator=(TextZone const &)=default
@ RightBit
Definition: libmwaw_internal.hxx:178
Axis & operator=(Axis const &)=default
bool m_showGrid
show or not the grid
Definition: MWAWChart.hxx:79
bool m_autoPosition
automatic position
Definition: MWAWChart.hxx:108
bool getTextZone(TextZone::Type type, TextZone &textZone)
returns a textzone content(if set)
Definition: MWAWChart.cxx:154
void addContentTo(std::string const &sheetName, int coord, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:346
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: MWAWChart.cxx:75
@ A_Sequence
Definition: MWAWChart.hxx:64
MWAWBox2i m_range
the data range
Definition: MWAWChart.hxx:138
@ T_SubTitle
Definition: MWAWChart.hxx:145
std::string m_sheetName
the sheet name
Definition: MWAWChart.hxx:238
SubDocument(SubDocument const &orig)=delete
Legend const & getLegend() const
return the legend
Definition: MWAWChart.hxx:214
MWAWChart * m_chart
the chart
Definition: MWAWChart.cxx:88
Axis const & getAxis(int coord) const
return an axis (corresponding to a coord)
Definition: MWAWChart.cxx:140
MWAWBox2i m_labelRange
the label range if defined
Definition: MWAWChart.hxx:83
Series::Type m_type
the chart type (if no series)
Definition: MWAWChart.hxx:242
@ LeftBit
Definition: libmwaw_internal.hxx:178
SubDocument(MWAWChart *chart, MWAWChart::TextZone::Type textZone)
Definition: MWAWChart.cxx:64
MWAWChart(std::string const &sheetName, MWAWFontConverterPtr const &fontConverter, MWAWVec2f const &dim=MWAWVec2f())
the constructor
Definition: MWAWChart.cxx:115
Type m_type
the zone type
Definition: MWAWChart.hxx:162
@ A_Sequence_Skip_Empty
Definition: MWAWChart.hxx:64
a series in a chart
Definition: MWAWChart.hxx:119
@ S_Scatter
Definition: MWAWChart.hxx:121
Axis()
constructor
Definition: MWAWChart.cxx:332
@ TopBit
Definition: libmwaw_internal.hxx:178
a class used to store a chart associated to a spreadsheet ....
Definition: MWAWChart.hxx:58
ContentType m_contentType
the content type
Definition: MWAWChart.hxx:164
Type
the text type
Definition: MWAWChart.hxx:145
MWAWFont m_font
the zone format
Definition: MWAWChart.hxx:172
Defines MWAWSpreadsheetListener: the libmwaw spreadsheet processor listener.
~Axis()
destructor
Definition: MWAWChart.cxx:342
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
std::map< TextZone::Type, TextZone > m_textZoneMap
a map text zone type to text zone
Definition: MWAWChart.hxx:252
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWChart.hxx:254
SubDocument & operator=(SubDocument const &orig)=delete
MWAWVec2f m_position
the position in the zone
Definition: MWAWChart.hxx:166
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:51
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
friend std::ostream & operator<<(std::ostream &o, TextZone const &zone)
operator<<
Definition: MWAWChart.cxx:640
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: MWAWChart.cxx:539
Class to store font.
Definition: MWAWFont.hxx:44
bool m_show
show or not the legend
Definition: MWAWChart.hxx:106
void sendChart(MWAWSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: MWAWChart.cxx:176
MWAWGraphicStyle m_style
the graphic style
Definition: MWAWChart.hxx:85
Legend m_legend
the legend
Definition: MWAWChart.hxx:248
Type m_type
the type
Definition: MWAWChart.hxx:136
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: MWAWChart.cxx:378
Type
the axis content
Definition: MWAWChart.hxx:64
void setDimension(MWAWVec2f const &dim)
return the chart dimension
Definition: MWAWChart.hxx:199
Type m_type
the sequence type
Definition: MWAWChart.hxx:77
MWAWFont m_font
the font
Definition: MWAWChart.hxx:114
std::vector< Series > const & getSeries() const
return the list of series
Definition: MWAWChart.hxx:222
void addContentTo(librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: MWAWChart.cxx:424
@ T_AxisX
Definition: MWAWChart.hxx:145
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20