29#include <oox/token/namespaces.hxx>
46 bool bMSO2007Document = getFilter().isMSO2007Document();
47 switch( getCurrentElement() )
52 case C_TOKEN( chartSpace ):
57 case C_TOKEN( chartSpace ):
60 case C_TOKEN(
chart ):
64 case C_TOKEN( style ):
69 case C_TOKEN( userShapes ):
72 case C_TOKEN( pivotSource ):
75 case C_TOKEN (externalData):
81 case C_TOKEN(
chart ):
84 case C_TOKEN( autoTitleDeleted ):
90 case C_TOKEN( backWall ):
92 case C_TOKEN( dispBlanksAs ):
98 case C_TOKEN( floor ):
100 case C_TOKEN( legend ):
102 case C_TOKEN( plotArea ):
104 case C_TOKEN( plotVisOnly ):
107 case C_TOKEN( showDLblsOverMax ):
110 case C_TOKEN( sideWall ):
112 case C_TOKEN( title ):
114 case C_TOKEN( view3D ):
Provides access to attribute values of an element.
OUString getStringDefaulted(sal_Int32 nAttrToken) const
Returns the string value of the specified attribute, returns an empty string if attribute not present...
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
std::optional< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
std::optional< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
virtual ~ChartSpaceFragment() override
ChartSpaceFragment(::oox::core::XmlFilterBase &rFilter, const OUString &rFragmentPath, ChartSpaceModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
ChartSpaceModel & mrModel
Handler for a chart legend context (c:legend element).
Handler for a chart plot area context (c:plotArea element).
Handler for a chart title context (c:title element).
Handler for a chart plot area context (c:plotArea element).
Handler for a chart wall/floor context (c:backWall, c:floor, c:sideWall elements).
const sal_Int32 XML_ROOT_CONTEXT
PlotAreaRef mxPlotArea
Global chart text formatting.
bool mbPivotChart
True = show labels over chart maximum.
OUString maDrawingPath
Chart legend.
WallFloorRef mxSideWall
Back wall formatting in 3D charts.
TextBodyRef mxTextProp
Chart frame formatting.
LegendRef mxLegend
Chart main title.
TitleRef mxTitle
3D settings.
bool mbAutoTitleDel
Index to default formatting.
bool mbPlotVisOnly
True = automatic title deleted manually.
WallFloorRef mxBackWall
Floor formatting in 3D charts.
sal_Int32 mnDispBlanksAs
Path to embedded charts.
sal_Int32 mnStyle
Mode how to display blank values.
View3DRef mxView3D
Side wall formatting in 3D charts.
WallFloorRef mxFloor
Plot area of the chart.
bool mbShowLabelsOverMax
True = plot visible cells in a sheet only.
OUString maSheetPath
Path to drawing fragment with embedded shapes.