20#ifndef INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPCONVERTER_HXX
21#define INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPCONVERTER_HXX
26 namespace chart2 {
class XChartType; }
27 namespace chart2 {
class XCoordinateSystem; }
28 namespace chart2 {
class XDataSeries; }
29 namespace chart2 {
class XDiagram; }
30 namespace chart2::data {
class XLabeledDataSequence; }
102 const css::uno::Reference< css::chart2::XChartType >& rxChartType );
137 css::uno::Reference< css::chart2::XCoordinateSystem >
140 css::uno::Reference< css::chart2::data::XLabeledDataSequence >
145 const css::uno::Reference< css::chart2::XDiagram >& rxDiagram,
146 const css::uno::Reference< css::chart2::XCoordinateSystem >& rxCoordSystem,
147 sal_Int32 nAxesSetIdx,
bool bSupportsVaryColorsByPoint );
164 const css::uno::Reference< css::chart2::XChartType >& rxChartType,
165 const css::uno::Reference< css::chart2::XDataSeries >& rxSeries,
166 sal_Int32 nAxesSetIdx );
A wrapper for a UNO property set.
Base class of all converter classes.
void convertBarGeometry(PropertySet &rPropSet, sal_Int32 nOoxShape) const
Sets the passed OOXML bar 3D geometry at the passed property set.
bool is3dChart() const
Returns true, if the chart is three-dimensional.
void convertPieExplosion(PropertySet &rPropSet, sal_Int32 nOoxExplosion) const
Sets the passed OOXML pie explosion at the passed property set.
bool isWall3dChart() const
Returns true, if chart type supports wall and floor format in 3D mode.
void insertDataSeries(const css::uno::Reference< css::chart2::XChartType > &rxChartType, const css::uno::Reference< css::chart2::XDataSeries > &rxSeries, sal_Int32 nAxesSetIdx)
Inserts the passed series into the chart type.
virtual ~TypeGroupConverter() override
bool isSeriesFrameFormat() const
Returns true, if this chart type supports area formatting for its series.
css::uno::Reference< css::chart2::data::XLabeledDataSequence > createCategorySequence()
Creates a labeled data sequence object for axis categories.
css::uno::Reference< css::chart2::XCoordinateSystem > createCoordinateSystem()
Creates a coordinate system according to the contained chart type.
void convertMarker(PropertySet &rPropSet, sal_Int32 nOoxSymbol, sal_Int32 nOoxSize, const ModelRef< Shape > &xShapeProps) const
Sets the passed OOXML marker style at the passed property set.
TypeGroupConverter(const ConverterRoot &rParent, TypeGroupModel &rModel)
ObjectType getSeriesObjectType() const
Returns the object type for a series depending on the chart type.
bool mb3dChart
Extended type info for contained chart type model.
void convertPieRotation(PropertySet &rPropSet, sal_Int32 nOoxAngle) const
Sets the passed OOXML pie rotation at the passed property set.
OUString getSingleSeriesTitle() const
Returns series title, if the chart type group contains only one single series.
void convertLineSmooth(PropertySet &rPropSet, bool bOoxSmooth) const
Sets the passed OOXML line smoothing at the passed property set.
bool isDeep3dChart() const
Returns true, if the series in this chart type group are ordered on the Z axis.
bool isStacked() const
Returns true, if the series in this chart type group are stacked on each other (no percentage).
void convertFromModel(const css::uno::Reference< css::chart2::XDiagram > &rxDiagram, const css::uno::Reference< css::chart2::XCoordinateSystem > &rxCoordSystem, sal_Int32 nAxesSetIdx, bool bSupportsVaryColorsByPoint)
Converts the OOXML type group model into a chart2 coordinate system.
bool isPercent() const
Returns true, if the series in this chart type group are stacked on each other as percentage.
const TypeGroupInfo & getTypeInfo() const
Returns the type info struct that describes this chart type group.
virtual ~UpDownBarsConverter() override
UpDownBarsConverter(const ConverterRoot &rParent, UpDownBarsModel &rModel)
void convertFromModel(const css::uno::Reference< css::chart2::XChartType > &rxChartType)
Converts the OOXML up/down bars.
TypeCategory
Enumerates different categories of similar chart types.
@ TYPECATEGORY_RADAR
Line charts (line, area, stock charts).
@ TYPECATEGORY_SURFACE
Scatter and bubble charts.
@ TYPECATEGORY_SCATTER
Pie and donut charts.
@ TYPECATEGORY_PIE
Radar charts (linear or filled).
@ TYPECATEGORY_LINE
Bar charts (horizontal or vertical).
const TypeGroupInfo & GetTypeGroupInfo(TypeId eType)
ObjectType
Enumerates different object types for specific automatic formatting behaviour.
TypeId
Enumerates different chart types.
@ TYPEID_RADARLINE
Stock chart.
@ TYPEID_SURFACE
Bubble chart.
@ TYPEID_OFPIE
Doughnut (ring) chart.
@ TYPEID_LINE
Horizontal bar chart.
@ TYPEID_HORBAR
Vertical bar chart.
@ TYPEID_PIE
Filled radar chart.
@ TYPEID_UNKNOWN
Surface chart.
@ TYPEID_DOUGHNUT
Pie chart.
@ TYPEID_BUBBLE
Scatter (XY) chart.
@ TYPEID_RADARAREA
Linear radar chart.
@ TYPEID_SCATTER
Pie-to-pie or pie-to-bar chart.
@ TYPEID_STOCK
Area chart.
VarPointMode
Enumerates modes for varying point colors in a series.
@ VARPOINTMODE_MULTI
Only supported, if type group contains only one series.
@ VARPOINTMODE_SINGLE
No varied colors supported.
Contains info for a chart type related to the OpenOffice.org chart module.
VarPointMode meVarPointMode
Service name of the type.
bool mbSeriesIsFrame2d
True = polar, false = cartesian.
bool mbSingleSeriesVis
True = 2D type series with area formatting.
bool mbSwappedAxesSet
True = X axis contains categories.
bool mbSupportsStacking
True = X axis and Y axis are swapped.
sal_Int32 mnDefLabelPos
Mode for varying point colors.
bool mbPictureOptions
True = data points can be stacked on each other.
bool mbPolarCoordSystem
Default data label position (API constant).
bool mbCategoryAxis
True = only first series visible (e.g. pie charts).
const char * mpcServiceName
Category this chart type belongs to.
TypeCategory meTypeCategory
Unique chart type identifier.