69 void addContentTo(librevenge::RVNGString
const &sheetName,
int coord, librevenge::RVNGPropertyList &propList)
const;
71 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
73 friend std::ostream &
operator<<(std::ostream &o,
Axis const &axis);
94 void addContentTo(librevenge::RVNGPropertyList &propList)
const;
96 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
123 void addContentTo(librevenge::RVNGString
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
125 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
151 void addContentTo(librevenge::RVNGString
const &sheetName, librevenge::RVNGPropertyList &propList)
const;
153 void addStyleTo(librevenge::RVNGPropertyList &propList)
const;
201 void add(
int coord, Axis
const &axis);
203 Axis
const &
getAxis(
int coord)
const;
217 void add(Series
const &series);
225 void add(TextZone
const &textZone);
std::vector< Series > m_seriesList
the list of series
Definition: STOFFChart.hxx:247
friend std::ostream & operator<<(std::ostream &o, Series const &series)
operator<<
Definition: STOFFChart.cxx:518
STOFFVec2f m_position
the position in points
Definition: STOFFChart.hxx:106
void setDimension(STOFFVec2f const &dim)
return the chart dimension
Definition: STOFFChart.hxx:196
ContentType m_contentType
the content type
Definition: STOFFChart.hxx:159
Definition: STOFFChart.hxx:142
std::vector< Series > const & getSeries() const
return the list of series
Definition: STOFFChart.hxx:219
Type m_type
the sequence type
Definition: STOFFChart.hxx:75
Definition: STOFFChart.hxx:144
Series()
constructor
Definition: STOFFChart.cxx:462
Legend m_legend
the legend
Definition: STOFFChart.hxx:245
void addContentTo(librevenge::RVNGString const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: STOFFChart.cxx:493
Definition: libstaroffice_internal.hxx:184
Definition: STOFFChart.hxx:117
Legend const & getLegend() const
return the legend
Definition: STOFFChart.hxx:211
void set(Legend const &legend)
set the legend
Definition: STOFFChart.hxx:206
bool getTextZone(TextZone::Type type, TextZone &textZone)
returns a textzone content(if set)
Definition: STOFFChart.cxx:150
a text zone a chart
Definition: STOFFChart.hxx:140
STOFFFont m_font
the font
Definition: STOFFChart.hxx:108
STOFFVec2i m_cell
the cell position ( for title and subtitle )
Definition: STOFFChart.hxx:163
shared_ptr< STOFFSpreadsheetListener > STOFFSpreadsheetListenerPtr
a smart pointer of STOFFSpreadsheetListener
Definition: libstaroffice_internal.hxx:496
void addContentTo(librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: STOFFChart.cxx:408
ContentType
the text content type
Definition: STOFFChart.hxx:144
Definition: STOFFChart.hxx:117
a axis in a chart
Definition: STOFFChart.hxx:61
a legend in a chart
Definition: STOFFChart.hxx:88
Type m_type
the type
Definition: STOFFChart.hxx:131
TextZone()
constructor
Definition: STOFFChart.cxx:554
Axis()
constructor
Definition: STOFFChart.cxx:329
Definition: STOFFChart.hxx:142
STOFFChart(librevenge::RVNGString const &sheetName, STOFFVec2f const &dim=STOFFVec2f())
the constructor
Definition: STOFFChart.cxx:117
Definition: STOFFChart.hxx:117
Definition: STOFFChart.hxx:117
void add(int coord, Axis const &axis)
adds an axis (corresponding to a coord)
Definition: STOFFChart.cxx:127
Legend()
constructor
Definition: STOFFChart.hxx:90
shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:490
Definition: STOFFChart.hxx:117
Type
the axis content
Definition: STOFFChart.hxx:63
friend std::ostream & operator<<(std::ostream &o, Legend const &legend)
operator<<
Definition: STOFFChart.cxx:434
static librevenge::RVNGString getSeriesTypeName(Type type)
returns a string corresponding to a series type
Definition: STOFFChart.cxx:470
Definition: STOFFChart.hxx:117
Type
the series type
Definition: STOFFChart.hxx:117
bool m_dataStacked
a flag to know if the data are stacked or not
Definition: STOFFChart.hxx:241
a class used to store a chart associated to a spreadsheet ....
Definition: STOFFChart.hxx:56
Definition: STOFFChart.hxx:63
STOFFEntry m_textEntry
the text entry
Definition: STOFFChart.hxx:165
~Axis()
destructor
Definition: STOFFChart.cxx:334
Type m_type
the zone type
Definition: STOFFChart.hxx:157
Internal: the subdocument of a STOFFChart.
Definition: STOFFChart.cxx:60
STOFFVec2f m_dim
the chart dimension in point
Definition: STOFFChart.hxx:237
Definition: STOFFChart.hxx:142
Axis const & getAxis(int coord) const
return an axis (corresponding to a coord)
Definition: STOFFChart.cxx:136
void addContentTo(librevenge::RVNGString const &sheetName, int coord, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: STOFFChart.cxx:338
STOFFVec2f const & getDimension() const
return the chart dimension
Definition: STOFFChart.hxx:191
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libstaroffice_internal.cxx:50
void sendTextZoneContent(TextZone::Type type, STOFFListenerPtr &listener)
sends a textzone content
Definition: STOFFChart.cxx:158
Definition: STOFFChart.hxx:142
Definition: STOFFChart.hxx:117
void addContentTo(librevenge::RVNGString const &sheetName, librevenge::RVNGPropertyList &propList) const
add content to the propList
Definition: STOFFChart.cxx:564
Series::Type m_type
the chart type (if no series)
Definition: STOFFChart.hxx:239
STOFFFont m_font
the zone format
Definition: STOFFChart.hxx:167
friend std::ostream & operator<<(std::ostream &o, Axis const &axis)
operator<<
Definition: STOFFChart.cxx:375
friend std::ostream & operator<<(std::ostream &o, TextZone const &zone)
operator<<
Definition: STOFFChart.cxx:602
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: STOFFChart.cxx:428
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: STOFFChart.cxx:514
bool m_showGrid
show or not the grid
Definition: STOFFChart.hxx:77
std::map< TextZone::Type, TextZone > m_textZoneMap
a map text zone type to text zone
Definition: STOFFChart.hxx:249
~TextZone()
destructor
Definition: STOFFChart.cxx:560
Definition: STOFFChart.hxx:63
Axis m_axis[4]
the x,y,z axis and a bad axis
Definition: STOFFChart.hxx:243
void setDataType(Series::Type type, bool dataStacked)
sets the chart type
Definition: STOFFChart.hxx:184
Class to store font.
Definition: STOFFFont.hxx:43
bool m_show
show or not the legend
Definition: STOFFChart.hxx:100
Definition: STOFFChart.hxx:63
virtual ~STOFFChart()
the destructor
Definition: STOFFChart.cxx:123
virtual void sendContent(TextZone const &zone, STOFFListenerPtr &listener)=0
send the zone content (called when the zone is of text type)
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add to the propList
Definition: STOFFChart.cxx:597
STOFFChart & operator=(STOFFChart const &orig)
virtual ~Series()
destructor
Definition: STOFFChart.cxx:466
bool m_autoPosition
automatic position
Definition: STOFFChart.hxx:102
librevenge::RVNGString m_sheetName
the sheet name
Definition: STOFFChart.hxx:235
a series in a chart
Definition: STOFFChart.hxx:115
Definition: STOFFChart.hxx:144
STOFFVec2f m_position
the position in the zone
Definition: STOFFChart.hxx:161
STOFFBox2i m_labelRange
the label range if defined
Definition: STOFFChart.hxx:81
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
STOFFVec2< float > STOFFVec2f
STOFFVec2 of float.
Definition: libstaroffice_internal.hxx:766
Definition: STOFFChart.hxx:142
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: STOFFChart.cxx:366
int m_relativePosition
the automatic position libstoff::LeftBit|...
Definition: STOFFChart.hxx:104
Type
the text type
Definition: STOFFChart.hxx:142
Definition: STOFFChart.hxx:63
Class to store a graphic style.
Definition: STOFFGraphicStyle.hxx:44
void sendChart(STOFFSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: STOFFChart.cxx:172
Definition: STOFFChart.hxx:63
Internal: the structures of a STOFFChart.
Definition: STOFFChart.cxx:56
bool m_showLabel
show or not the label
Definition: STOFFChart.hxx:79
STOFFBox2i m_range
the data range
Definition: STOFFChart.hxx:133