LibreOffice Module oox (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::drawingml::ChartExport Class Referencefinal

#include <chartexport.hxx>

Inheritance diagram for oox::drawingml::ChartExport:
[legend]
Collaboration diagram for oox::drawingml::ChartExport:
[legend]

Public Types

typedef ::std::vector< AxisIdPairAxisVector
 

Public Member Functions

 ChartExport (sal_Int32 nXmlNamespace, ::sax_fastparser::FSHelperPtr pFS, css::uno::Reference< css::frame::XModel > const &xModel, ::oox::core::XmlFilterBase *pFB, DocumentType eDocumentType)
 
virtual ~ChartExport ()
 
void SetURLTranslator (const std::shared_ptr< URLTransformer > &pTransformer)
 
const css::uno::Reference< css::frame::XModel > & getModel () const
 
void WriteChartObj (const css::uno::Reference< css::drawing::XShape > &xShape, sal_Int32 nID, sal_Int32 nChartCount)
 
void exportTextProps (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void ExportContent ()
 
void InitRangeSegmentationProperties (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc)
 
- Public Member Functions inherited from oox::drawingml::DrawingML
 DrawingML (::sax_fastparser::FSHelperPtr pFS, ::oox::core::XmlFilterBase *pFB, DocumentType eDocumentType=DOCUMENT_PPTX, DMLTextExport *pTextExport=nullptr)
 
void SetFS (::sax_fastparser::FSHelperPtr pFS)
 
const ::sax_fastparser::FSHelperPtrGetFS () const
 
::oox::core::XmlFilterBaseGetFB ()
 
DocumentType GetDocumentType () const
 
DMLTextExportGetTextExport ()
 The application-specific text exporter callback, if there is one. More...
 
void SetBackgroundDark (bool bIsDark)
 
OUString WriteImage (const Graphic &rGraphic, bool bRelPathToMedia=false)
 If bRelPathToMedia is true add "../" to image folder path while adding the image relationship. More...
 
void WriteColor (::Color nColor, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteColor (const OUString &sColorSchemeName, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteColor (const ::Color nColor, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteColorTransformations (const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteGradientStop (double fOffset, const basegfx::BColor &rColor, const basegfx::BColor &rAlpha)
 
void WriteLineArrow (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, bool bLineStart)
 
void WriteConnectorConnections (sal_Int32 nStartGlueId, sal_Int32 nEndGlueId, sal_Int32 nStartID, sal_Int32 nEndID)
 
bool WriteCharColor (const css::uno::Reference< css::beans::XPropertySet > &xPropertySet)
 
bool WriteSchemeColor (OUString const &rPropertyName, const css::uno::Reference< css::beans::XPropertySet > &xPropertySet)
 
void WriteSolidFill (::Color nColor, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteSolidFill (const OUString &sSchemeName, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteSolidFill (const ::Color nColor, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteSolidFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteGradientFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteGradientFill (const basegfx::BGradient *pColorGradient, sal_Int32 nFixColor, const basegfx::BGradient *pTransparenceGradient, double fFixTransparence=0.0)
 
void WriteGrabBagGradientFill (const css::uno::Sequence< css::beans::PropertyValue > &aGradientStops, const basegfx::BGradient &rGradient)
 
void WriteBlipOrNormalFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rURLPropName, const css::awt::Size &rSize={})
 
void WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &sURLPropName, const css::awt::Size &rSize={})
 
void WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::awt::Size &rSize, const OUString &sURLPropName, sal_Int32 nXmlNamespace)
 
void WriteXGraphicBlipFill (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, sal_Int32 nXmlNamespace, bool bWriteMode, bool bRelPathToMedia=false, css::awt::Size const &rSize={})
 
void WritePattFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WritePattFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::drawing::Hatch &rHatch)
 
void WriteGraphicCropProperties (css::uno::Reference< css::beans::XPropertySet > const &rxPropertySet, Size const &rOriginalSize, MapMode const &rMapMode)
 
void WriteSrcRectXGraphic (css::uno::Reference< css::beans::XPropertySet > const &rxPropertySet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
void WriteOutline (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, css::uno::Reference< css::frame::XModel > const &xModel=nullptr)
 
void WriteXGraphicStretch (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
void WriteXGraphicTile (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize)
 
void WriteXGraphicCustomPosition (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize)
 
void WriteLinespacing (const css::style::LineSpacing &rLineSpacing, float fFirstCharHeight)
 
OUString WriteXGraphicBlip (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, bool bRelPathToMedia)
 
void WriteImageBrightnessContrastTransparence (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet)
 
void WriteXGraphicBlipMode (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize)
 
void WriteShapeTransformation (const css::uno::Reference< css::drawing::XShape > &rXShape, sal_Int32 nXmlNamespace, bool bFlipH=false, bool bFlipV=false, bool bSuppressRotation=false, bool bSuppressFlipping=false, bool bFlippedBeforeRotation=false)
 
void WriteTransformation (const css::uno::Reference< css::drawing::XShape > &xShape, const tools::Rectangle &rRectangle, sal_Int32 nXmlNamespace, bool bFlipH=false, bool bFlipV=false, sal_Int32 nRotation=0, bool bIsGroupShape=false)
 
void WriteText (const css::uno::Reference< css::uno::XInterface > &rXIface, bool bBodyPr, bool bText=true, sal_Int32 nXmlNamespace=0, bool bWritePropertiesAsLstStyles=false)
 
void WriteLstStyles (const css::uno::Reference< css::text::XTextContent > &rParagraph, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet)
 Populates the lstStyle with the shape's text run and paragraph properties. More...
 
void WriteParagraph (const css::uno::Reference< css::text::XTextContent > &rParagraph, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet)
 
bool WriteParagraphProperties (const css::uno::Reference< css::text::XTextContent > &rParagraph, float fFirstCharHeight, sal_Int32 nElement)
 Writes paragraph properties. More...
 
void WriteParagraphNumbering (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, float fFirstCharHeight, sal_Int16 nLevel)
 
void WriteParagraphTabStops (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteRun (const css::uno::Reference< css::text::XTextRange > &rRun, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet)
 
void WriteRunProperties (const css::uno::Reference< css::beans::XPropertySet > &rRun, bool bIsField, sal_Int32 nElement, bool bCheckDirect, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, sal_Int16 nScriptType=css::i18n::ScriptType::LATIN, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet={})
 
void WritePresetShape (const OString &pShape, std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList)
 
void WritePresetShape (const OString &pShape)
 
void WritePresetShape (const OString &pShape, MSO_SPT eShapeType, bool bPredefinedHandlesUsed, const css::beans::PropertyValue &rProp)
 
bool WriteCustomGeometry (const css::uno::Reference< css::drawing::XShape > &rXShape, const SdrObjCustomShape &rSdrObjCustomShape)
 
void WriteEmptyCustomGeometry ()
 
void WritePolyPolygon (const css::uno::Reference< css::drawing::XShape > &rXShape, const bool bClosed)
 
void WriteFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::awt::Size &rSize={})
 
void WriteShapeStyle (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteShapeEffects (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteShapeEffect (std::u16string_view sName, const css::uno::Sequence< css::beans::PropertyValue > &aEffectProps)
 
void Write3DEffects (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, bool bIsText)
 Populates scene3d tag. More...
 
void WriteArtisticEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
OString WriteWdpPicture (const OUString &rFileId, const css::uno::Sequence< sal_Int8 > &rPictureData)
 
void WriteDiagram (const css::uno::Reference< css::drawing::XShape > &rXShape, int nDiagramId)
 
void writeDiagramRels (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &xRelSeq, const css::uno::Reference< css::io::XOutputStream > &xOutStream, std::u16string_view sGrabBagProperyName, int nDiagramId)
 
sal_Int32 getBulletMarginIndentation (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, sal_Int16 nLevel, std::u16string_view propName)
 
sax_fastparser::FSHelperPtr CreateOutputStream (const OUString &sFullStream, std::u16string_view sRelativeStream, const css::uno::Reference< css::io::XOutputStream > &xParentRelation, const OUString &sContentType, const OUString &sRelationshipType, OUString *pRelationshipId)
 

Private Member Functions

sal_Int32 getChartType ()
 
css::uno::Sequence< css::uno::Sequence< rtl::OUString > > getSplitCategoriesList (const OUString &rRange)
 
OUString parseFormula (const OUString &rRange)
 
void InitPlotArea ()
 
void ExportContent_ ()
 
void exportChartSpace (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc, bool bIncludeTable)
 
void exportChart (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc)
 
void exportExternalData (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc)
 
void exportLegend (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc)
 
void exportTitle (const css::uno::Reference< css::drawing::XShape > &xShape, const OUString *pSubText=nullptr)
 
void exportPlotArea (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc)
 
void exportAdditionalShapes (const css::uno::Reference< css::chart::XChartDocument > &rChartDoc)
 
void exportFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportSolidFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportGradientFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportBitmapFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportHatch (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportDataTable ()
 
void exportAreaChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportBarChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportBubbleChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportDoughnutChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportLineChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportPieChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportRadarChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportScatterChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportScatterChartSeries (const css::uno::Reference< css::chart2::XChartType > &xChartType, const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > *pSeries)
 
void exportStockChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportSurfaceChart (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportHiLowLines ()
 
void exportUpDownBars (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportAllSeries (const css::uno::Reference< css::chart2::XChartType > &xChartType, bool &rPrimaryAxes)
 
void exportSeries (const css::uno::Reference< css::chart2::XChartType > &xChartType, const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &rSeriesSeq, bool &rPrimaryAxes)
 
void exportVaryColors (const css::uno::Reference< css::chart2::XChartType > &xChartType)
 
void exportCandleStickSeries (const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &aSeriesSeq, bool &rPrimaryAxes)
 
void exportSeriesText (const css::uno::Reference< css::chart2::data::XDataSequence > &xValueSeq)
 
void exportSeriesCategory (const css::uno::Reference< css::chart2::data::XDataSequence > &xValueSeq, sal_Int32 nValueType=XML_cat)
 
void exportSeriesValues (const css::uno::Reference< css::chart2::data::XDataSequence > &xValueSeq, sal_Int32 nValueType=XML_val)
 
void exportShapeProps (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportDataPoints (const css::uno::Reference< css::beans::XPropertySet > &xSeriesProperties, sal_Int32 nSeriesLength, sal_Int32 eChartType)
 
void exportDataLabels (const css::uno::Reference< css::chart2::XDataSeries > &xSeries, sal_Int32 nSeriesLength, sal_Int32 eChartType, DataLabelsRange &rDLblsRange)
 
void exportGrouping (bool isBar=false)
 
void exportTrendlines (const css::uno::Reference< css::chart2::XDataSeries > &xSeries)
 
void exportMarker (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
void exportSmooth ()
 
void exportFirstSliceAng ()
 
void exportErrorBar (const css::uno::Reference< css::beans::XPropertySet > &xErrorBarProps, bool bYError)
 
void exportManualLayout (const css::chart2::RelativePosition &rPos, const css::chart2::RelativeSize &rSize, const bool bIsExcludingDiagramPositioning)
 
void exportAxes ()
 
void exportAxis (const AxisIdPair &rAxisIdPair)
 
void _exportAxis (const css::uno::Reference< css::beans::XPropertySet > &xAxisProp, const css::uno::Reference< css::drawing::XShape > &xAxisTitle, const css::uno::Reference< css::beans::XPropertySet > &xMajorGrid, const css::uno::Reference< css::beans::XPropertySet > &xMinorGrid, sal_Int32 nAxisType, const char *sAxisPos, const AxisIdPair &rAxisIdPair)
 
void exportAxesId (bool bPrimaryAxes, bool bCheckCombinedAxes=false)
 
void exportView3D ()
 
bool isDeep3dChart ()
 
void exportMissingValueTreatment (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
OUString getNumberFormatCode (sal_Int32 nKey) const
 

Private Attributes

sal_Int32 mnXmlNamespace
 
sal_Int32 mnSeriesCount
 
css::uno::Reference< css::frame::XModel > mxChartModel
 
css::uno::Reference< css::chart::XDiagram > mxDiagram
 
css::uno::Reference< css::chart2::XDiagram > mxNewDiagram
 
std::shared_ptr< URLTransformermpURLTransformer
 
bool mbHasCategoryLabels
 
css::uno::Reference< css::chart2::data::XDataSequence > mxCategoriesValues
 
AxisVector maAxes
 
bool mbHasZAxis
 
bool mbIs3DChart
 
bool mbStacked
 
bool mbPercent
 
bool mbHasDateCategories
 
std::set< sal_Int32 > maExportedAxis
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::drawingml::DrawingML
static void WriteFromTo (const css::uno::Reference< css::drawing::XShape > &rXShape, const css::awt::Size &aPageSize, const sax_fastparser::FSHelperPtr &pDrawing)
 
static bool IsGroupShape (const css::uno::Reference< css::drawing::XShape > &rXShape)
 
static void ResetMlCounters ()
 
static sal_Int32 getNewDrawingUniqueId ()
 
static sal_Int32 getNewVMLUniqueId ()
 
static sal_Int32 getNewChartUniqueId ()
 
static sal_Int16 GetScriptType (const OUString &rStr)
 
static sal_Unicode SubstituteBullet (sal_Unicode cBulletId, css::awt::FontDescriptor &rFontDesc)
 
::Color ColorWithIntensity (sal_uInt32 nColor, sal_uInt32 nIntensity)
 
static const char * GetAlignment (css::style::ParagraphAdjust nAlignment)
 
- Protected Member Functions inherited from oox::drawingml::DrawingML
bool GetProperty (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &aName)
 
bool GetPropertyAndState (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::uno::Reference< css::beans::XPropertyState > &rXPropState, const OUString &aName, css::beans::PropertyState &eState)
 
OUString GetFieldValue (const css::uno::Reference< css::text::XTextRange > &rRun, bool &bIsURLField)
 
void WriteMediaNonVisualProperties (const css::uno::Reference< css::drawing::XShape > &xShape)
 Output the media (including copying a video from vnd.sun.star.Package: to the output if necessary). More...
 
void WriteStyleProperties (sal_Int32 nTokenId, const css::uno::Sequence< css::beans::PropertyValue > &aProperties)
 
const char * GetComponentDir () const
 
const char * GetRelationCompPrefix () const
 
bool IsFontworkShape (const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet)
 
void WriteGlowEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteSoftEdgeEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteCustomGeometryPoint (const css::drawing::EnhancedCustomShapeParameterPair &rParamPair, const EnhancedCustomShape2d &rCustomShape2d, const bool bReplaceGeoWidth, const bool bReplaceGeoHeight)
 
bool WriteCustomGeometrySegment (const sal_Int16 eCommand, const sal_Int32 nCount, const css::uno::Sequence< css::drawing::EnhancedCustomShapeParameterPair > &rPairs, sal_Int32 &rnPairIndex, double &rfCurrentX, double &rfCurrentY, bool &rbCurrentValid, const EnhancedCustomShape2d &rCustomShape2d, const bool bReplaceGeoWidth, const bool bReplaceGeoHeight)
 
- Static Protected Member Functions inherited from oox::drawingml::DrawingML
static OUString GetDatetimeTypeFromDate (SvxDateFormat eDate)
 Gets OOXML datetime field type from LO Date format. More...
 
static OUString GetDatetimeTypeFromTime (SvxTimeFormat eTime)
 Gets OOXML datetime field type from LO Time format. More...
 
static OUString GetDatetimeTypeFromDateTime (SvxDateFormat eDate, SvxTimeFormat eTime)
 Gets OOXML datetime field type from combination of LO Time and Date formats. More...
 
static bool EqualGradients (const css::awt::Gradient2 &rGradient1, const css::awt::Gradient2 &rGradient2)
 
- Protected Attributes inherited from oox::drawingml::DrawingML
css::uno::Any mAny
 
::sax_fastparser::FSHelperPtr mpFS
 
::oox::core::XmlFilterBasempFB
 
css::uno::Reference< css::drawing::XShape > m_xParent
 If set, this is the parent of the currently handled shape. More...
 
bool mbIsBackgroundDark
 
bool mbPlaceholder
 True when exporting presentation placeholder shape. More...
 
- Static Protected Attributes inherited from oox::drawingml::DrawingML
static sal_Int32 mnChartCount = 0
 

Detailed Description

Definition at line 131 of file chartexport.hxx.

Member Typedef Documentation

◆ AxisVector

Definition at line 135 of file chartexport.hxx.

Constructor & Destructor Documentation

◆ ChartExport()

oox::drawingml::ChartExport::ChartExport ( sal_Int32  nXmlNamespace,
::sax_fastparser::FSHelperPtr  pFS,
css::uno::Reference< css::frame::XModel > const &  xModel,
::oox::core::XmlFilterBase pFB,
DocumentType  eDocumentType 
)

Definition at line 524 of file chartexport.cxx.

References make_shared(), and xModel.

◆ ~ChartExport()

virtual oox::drawingml::ChartExport::~ChartExport ( )
inlinevirtual

Definition at line 260 of file chartexport.hxx.

Member Function Documentation

◆ _exportAxis()

void oox::drawingml::ChartExport::_exportAxis ( const css::uno::Reference< css::beans::XPropertySet > &  xAxisProp,
const css::uno::Reference< css::drawing::XShape > &  xAxisTitle,
const css::uno::Reference< css::beans::XPropertySet > &  xMajorGrid,
const css::uno::Reference< css::beans::XPropertySet > &  xMinorGrid,
sal_Int32  nAxisType,
const char *  sAxisPos,
const AxisIdPair rAxisIdPair 
)
private

◆ exportAdditionalShapes()

void oox::drawingml::ChartExport::exportAdditionalShapes ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private

◆ exportAllSeries()

void oox::drawingml::ChartExport::exportAllSeries ( const css::uno::Reference< css::chart2::XChartType > &  xChartType,
bool &  rPrimaryAxes 
)
private

◆ exportAreaChart()

void oox::drawingml::ChartExport::exportAreaChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportAxes()

void oox::drawingml::ChartExport::exportAxes ( )
private

◆ exportAxesId()

void oox::drawingml::ChartExport::exportAxesId ( bool  bPrimaryAxes,
bool  bCheckCombinedAxes = false 
)
private

◆ exportAxis()

void oox::drawingml::ChartExport::exportAxis ( const AxisIdPair rAxisIdPair)
private

◆ exportBarChart()

void oox::drawingml::ChartExport::exportBarChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportBitmapFill()

void oox::drawingml::ChartExport::exportBitmapFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportBubbleChart()

void oox::drawingml::ChartExport::exportBubbleChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportCandleStickSeries()

void oox::drawingml::ChartExport::exportCandleStickSeries ( const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &  aSeriesSeq,
bool &  rPrimaryAxes 
)
private

◆ exportChart()

void oox::drawingml::ChartExport::exportChart ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private

◆ exportChartSpace()

void oox::drawingml::ChartExport::exportChartSpace ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc,
bool  bIncludeTable 
)
private

◆ ExportContent()

void oox::drawingml::ChartExport::ExportContent ( )

Definition at line 894 of file chartexport.cxx.

References ExportContent_(), getModel(), and InitRangeSegmentationProperties().

Referenced by WriteChartObj().

◆ ExportContent_()

void oox::drawingml::ChartExport::ExportContent_ ( )
private

Definition at line 905 of file chartexport.cxx.

References exportChartSpace(), and getModel().

Referenced by ExportContent().

◆ exportDataLabels()

void oox::drawingml::ChartExport::exportDataLabels ( const css::uno::Reference< css::chart2::XDataSeries > &  xSeries,
sal_Int32  nSeriesLength,
sal_Int32  eChartType,
DataLabelsRange rDLblsRange 
)
private

◆ exportDataPoints()

void oox::drawingml::ChartExport::exportDataPoints ( const css::uno::Reference< css::beans::XPropertySet > &  xSeriesProperties,
sal_Int32  nSeriesLength,
sal_Int32  eChartType 
)
private

◆ exportDataTable()

void oox::drawingml::ChartExport::exportDataTable ( )
private

◆ exportDoughnutChart()

void oox::drawingml::ChartExport::exportDoughnutChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportErrorBar()

void oox::drawingml::ChartExport::exportErrorBar ( const css::uno::Reference< css::beans::XPropertySet > &  xErrorBarProps,
bool  bYError 
)
private

◆ exportExternalData()

void oox::drawingml::ChartExport::exportExternalData ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private

◆ exportFill()

void oox::drawingml::ChartExport::exportFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportFirstSliceAng()

void oox::drawingml::ChartExport::exportFirstSliceAng ( )
private

◆ exportGradientFill()

void oox::drawingml::ChartExport::exportGradientFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportGrouping()

void oox::drawingml::ChartExport::exportGrouping ( bool  isBar = false)
private

◆ exportHatch()

void oox::drawingml::ChartExport::exportHatch ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportHiLowLines()

void oox::drawingml::ChartExport::exportHiLowLines ( )
private

◆ exportLegend()

void oox::drawingml::ChartExport::exportLegend ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private

◆ exportLineChart()

void oox::drawingml::ChartExport::exportLineChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportManualLayout()

void oox::drawingml::ChartExport::exportManualLayout ( const css::chart2::RelativePosition &  rPos,
const css::chart2::RelativeSize &  rSize,
const bool  bIsExcludingDiagramPositioning 
)
private

Definition at line 1768 of file chartexport.cxx.

References FSNS(), oox::drawingml::DrawingML::GetFS(), h, SAL_WARN, w, x, and y.

Referenced by exportPlotArea().

◆ exportMarker()

void oox::drawingml::ChartExport::exportMarker ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportMissingValueTreatment()

void oox::drawingml::ChartExport::exportMissingValueTreatment ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

Definition at line 1229 of file chartexport.cxx.

References FSNS(), oox::drawingml::DrawingML::GetFS(), and SAL_WARN.

Referenced by exportChart().

◆ exportPieChart()

void oox::drawingml::ChartExport::exportPieChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportPlotArea()

void oox::drawingml::ChartExport::exportPlotArea ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private

◆ exportRadarChart()

void oox::drawingml::ChartExport::exportRadarChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportScatterChart()

void oox::drawingml::ChartExport::exportScatterChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

Definition at line 2406 of file chartexport.cxx.

References exportScatterChartSeries().

Referenced by exportPlotArea().

◆ exportScatterChartSeries()

void oox::drawingml::ChartExport::exportScatterChartSeries ( const css::uno::Reference< css::chart2::XChartType > &  xChartType,
const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > *  pSeries 
)
private

◆ exportSeries()

void oox::drawingml::ChartExport::exportSeries ( const css::uno::Reference< css::chart2::XChartType > &  xChartType,
const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &  rSeriesSeq,
bool &  rPrimaryAxes 
)
private

◆ exportSeriesCategory()

void oox::drawingml::ChartExport::exportSeriesCategory ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq,
sal_Int32  nValueType = XML_cat 
)
private

◆ exportSeriesText()

void oox::drawingml::ChartExport::exportSeriesText ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq)
private

◆ exportSeriesValues()

void oox::drawingml::ChartExport::exportSeriesValues ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq,
sal_Int32  nValueType = XML_val 
)
private

◆ exportShapeProps()

void oox::drawingml::ChartExport::exportShapeProps ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportSmooth()

void oox::drawingml::ChartExport::exportSmooth ( )
private

◆ exportSolidFill()

void oox::drawingml::ChartExport::exportSolidFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private

◆ exportStockChart()

void oox::drawingml::ChartExport::exportStockChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportSurfaceChart()

void oox::drawingml::ChartExport::exportSurfaceChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportTextProps()

void oox::drawingml::ChartExport::exportTextProps ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)

◆ exportTitle()

void oox::drawingml::ChartExport::exportTitle ( const css::uno::Reference< css::drawing::XShape > &  xShape,
const OUString *  pSubText = nullptr 
)
private

◆ exportTrendlines()

void oox::drawingml::ChartExport::exportTrendlines ( const css::uno::Reference< css::chart2::XDataSeries > &  xSeries)
private

Definition at line 4230 of file chartexport.cxx.

References aName, exportShapeProps(), FSNS(), oox::drawingml::DrawingML::GetFS(), and ToPsz10().

Referenced by exportSeries().

◆ exportUpDownBars()

void oox::drawingml::ChartExport::exportUpDownBars ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportVaryColors()

void oox::drawingml::ChartExport::exportVaryColors ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

◆ exportView3D()

void oox::drawingml::ChartExport::exportView3D ( )
private

◆ getChartType()

sal_Int32 oox::drawingml::ChartExport::getChartType ( )
private

◆ getModel()

const css::uno::Reference< css::frame::XModel > & oox::drawingml::ChartExport::getModel ( ) const
inline

◆ getNumberFormatCode()

OUString oox::drawingml::ChartExport::getNumberFormatCode ( sal_Int32  nKey) const
private

◆ getSplitCategoriesList()

Sequence< Sequence< OUString > > oox::drawingml::ChartExport::getSplitCategoriesList ( const OUString &  rRange)
private

◆ InitPlotArea()

void oox::drawingml::ChartExport::InitPlotArea ( )
private

◆ InitRangeSegmentationProperties()

void oox::drawingml::ChartExport::InitRangeSegmentationProperties ( const css::uno::Reference< css::chart2::XChartDocument > &  xChartDoc)

◆ isDeep3dChart()

bool oox::drawingml::ChartExport::isDeep3dChart ( )
private

◆ parseFormula()

OUString oox::drawingml::ChartExport::parseFormula ( const OUString &  rRange)
private

◆ SetURLTranslator()

void oox::drawingml::ChartExport::SetURLTranslator ( const std::shared_ptr< URLTransformer > &  pTransformer)

Definition at line 539 of file chartexport.cxx.

References mpURLTransformer.

◆ WriteChartObj()

void oox::drawingml::ChartExport::WriteChartObj ( const css::uno::Reference< css::drawing::XShape > &  xShape,
sal_Int32  nID,
sal_Int32  nChartCount 
)

Member Data Documentation

◆ maAxes

AxisVector oox::drawingml::ChartExport::maAxes
private

Definition at line 151 of file chartexport.hxx.

Referenced by exportAxes(), and exportAxesId().

◆ maExportedAxis

std::set<sal_Int32> oox::drawingml::ChartExport::maExportedAxis
private

Definition at line 158 of file chartexport.hxx.

Referenced by _exportAxis().

◆ mbHasCategoryLabels

bool oox::drawingml::ChartExport::mbHasCategoryLabels
private

Definition at line 146 of file chartexport.hxx.

Referenced by InitPlotArea(), and InitRangeSegmentationProperties().

◆ mbHasDateCategories

bool oox::drawingml::ChartExport::mbHasDateCategories
private

Definition at line 156 of file chartexport.hxx.

Referenced by exportSeriesCategory(), and InitPlotArea().

◆ mbHasZAxis

bool oox::drawingml::ChartExport::mbHasZAxis
private

Definition at line 152 of file chartexport.hxx.

Referenced by exportAxesId(), and InitPlotArea().

◆ mbIs3DChart

bool oox::drawingml::ChartExport::mbIs3DChart
private

◆ mbPercent

bool oox::drawingml::ChartExport::mbPercent
private

Definition at line 155 of file chartexport.hxx.

Referenced by exportBarChart(), exportDataLabels(), and exportGrouping().

◆ mbStacked

bool oox::drawingml::ChartExport::mbStacked
private

Definition at line 154 of file chartexport.hxx.

Referenced by exportBarChart(), exportDataLabels(), and exportGrouping().

◆ mnSeriesCount

sal_Int32 oox::drawingml::ChartExport::mnSeriesCount
private

Definition at line 139 of file chartexport.hxx.

Referenced by exportPlotArea(), and exportSeries().

◆ mnXmlNamespace

sal_Int32 oox::drawingml::ChartExport::mnXmlNamespace
private

Definition at line 138 of file chartexport.hxx.

Referenced by WriteChartObj().

◆ mpURLTransformer

std::shared_ptr<URLTransformer> oox::drawingml::ChartExport::mpURLTransformer
private

Definition at line 143 of file chartexport.hxx.

Referenced by SetURLTranslator(), and WriteChartObj().

◆ mxCategoriesValues

css::uno::Reference< css::chart2::data::XDataSequence > oox::drawingml::ChartExport::mxCategoriesValues
private

Definition at line 149 of file chartexport.hxx.

Referenced by exportCandleStickSeries(), exportSeries(), and InitPlotArea().

◆ mxChartModel

css::uno::Reference< css::frame::XModel > oox::drawingml::ChartExport::mxChartModel
private

Definition at line 140 of file chartexport.hxx.

Referenced by exportAdditionalShapes(), exportTitle(), and getNumberFormatCode().

◆ mxDiagram

css::uno::Reference< css::chart::XDiagram > oox::drawingml::ChartExport::mxDiagram
private

◆ mxNewDiagram

css::uno::Reference< css::chart2::XDiagram > oox::drawingml::ChartExport::mxNewDiagram
private

The documentation for this class was generated from the following files: