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, OUString *pFileName=nullptr)
 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 (sal_uInt16 nStop,::Color nColor, sal_Int32 nAlpha=MAX_PERCENT)
 
void WriteLineArrow (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, bool bLineStart)
 
void WriteConnectorConnections (EscherConnectorListEntry &rConnectorEntry, sal_Int32 nStartID, sal_Int32 nEndID)
 
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 (css::awt::Gradient rGradient, css::awt::Gradient rTransparenceGradient, const css::uno::Reference< css::beans::XPropertySet > &rXPropSet=css::uno::Reference< css::beans::XPropertySet >())
 
void WriteGrabBagGradientFill (const css::uno::Sequence< css::beans::PropertyValue > &aGradientStops, css::awt::Gradient rGradient)
 
void WriteBlipOrNormalFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rURLPropName)
 
void WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &sURLPropName)
 
void WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, 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)
 
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 WriteLinespacing (const css::style::LineSpacing &rLineSpacing)
 
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)
 
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 char *pShape, std::vector< std::pair< sal_Int32, sal_Int32 >> &rAvList)
 
void WritePresetShape (const char *pShape)
 
void WritePresetShape (const char *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 WriteCustomGeometryPoint (const css::drawing::EnhancedCustomShapeParameterPair &rParamPair, const SdrObjCustomShape &rSdrObjCustomShape)
 
void WritePolyPolygon (const css::uno::Reference< css::drawing::XShape > &rXShape, const tools::PolyPolygon &rPolyPolygon, const bool bClosed)
 
void WriteFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
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 WriteShape3DEffects (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
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 char *sContentType, const char *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)
 
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
 
std::set< sal_Int32 > maExportedAxis
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::drawingml::DrawingML
static sal_Int32 GetCustomGeometryPointValue (const css::drawing::EnhancedCustomShapeParameter &rParam, const SdrObjCustomShape &rSdrObjCustomShape)
 
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 bool IsDiagram (const css::uno::Reference< css::drawing::XShape > &rXShape)
 
static void ResetCounters ()
 
static void ResetMlCounters ()
 
static sal_Int32 getNewDrawingUniqueId ()
 
static sal_Int32 getNewVMLUniqueId ()
 
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)
 
bool HasEnhancedCustomShapeSegmentCommand (const css::uno::Reference< css::drawing::XShape > &rXShape, const sal_Int16 nCommand)
 
- 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 (css::awt::Gradient aGradient1, css::awt::Gradient aGradient2)
 
- 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
 

Detailed Description

Definition at line 94 of file chartexport.hxx.

Member Typedef Documentation

Definition at line 98 of file chartexport.hxx.

Constructor & Destructor Documentation

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 487 of file chartexport.cxx.

References make_shared().

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

Definition at line 221 of file chartexport.hxx.

Member Function Documentation

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
void oox::drawingml::ChartExport::exportAdditionalShapes ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private
void oox::drawingml::ChartExport::exportAllSeries ( const css::uno::Reference< css::chart2::XChartType > &  xChartType,
bool &  rPrimaryAxes 
)
private
void oox::drawingml::ChartExport::exportAreaChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportAxes ( )
private
void oox::drawingml::ChartExport::exportAxesId ( bool  bPrimaryAxes,
bool  bCheckCombinedAxes = false 
)
private
void oox::drawingml::ChartExport::exportAxis ( const AxisIdPair rAxisIdPair)
private
void oox::drawingml::ChartExport::exportBarChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportBitmapFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportBubbleChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportCandleStickSeries ( const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &  aSeriesSeq,
bool &  rPrimaryAxes 
)
private
void oox::drawingml::ChartExport::exportChart ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private
void oox::drawingml::ChartExport::exportChartSpace ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc,
bool  bIncludeTable 
)
private
void oox::drawingml::ChartExport::ExportContent ( )

Definition at line 856 of file chartexport.cxx.

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

Referenced by WriteChartObj().

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

Definition at line 867 of file chartexport.cxx.

References exportChartSpace(), and getModel().

Referenced by ExportContent().

void oox::drawingml::ChartExport::exportDataLabels ( const css::uno::Reference< css::chart2::XDataSeries > &  xSeries,
sal_Int32  nSeriesLength,
sal_Int32  eChartType 
)
private
void oox::drawingml::ChartExport::exportDataPoints ( const css::uno::Reference< css::beans::XPropertySet > &  xSeriesProperties,
sal_Int32  nSeriesLength,
sal_Int32  eChartType 
)
private
void oox::drawingml::ChartExport::exportDataTable ( )
private
void oox::drawingml::ChartExport::exportDoughnutChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportErrorBar ( const css::uno::Reference< css::beans::XPropertySet > &  xErrorBarProps,
bool  bYError 
)
private
void oox::drawingml::ChartExport::exportExternalData ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private
void oox::drawingml::ChartExport::exportFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportFirstSliceAng ( )
private
void oox::drawingml::ChartExport::exportGradientFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportGrouping ( bool  isBar = false)
private
void oox::drawingml::ChartExport::exportHatch ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportHiLowLines ( )
private
void oox::drawingml::ChartExport::exportLegend ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private
void oox::drawingml::ChartExport::exportLineChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportManualLayout ( const css::chart2::RelativePosition &  rPos,
const css::chart2::RelativeSize &  rSize,
const bool  bIsExcludingDiagramPositioning 
)
private

Definition at line 1727 of file chartexport.cxx.

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

Referenced by exportPlotArea().

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

Definition at line 1189 of file chartexport.cxx.

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

Referenced by exportChart().

void oox::drawingml::ChartExport::exportPieChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportPlotArea ( const css::uno::Reference< css::chart::XChartDocument > &  rChartDoc)
private
void oox::drawingml::ChartExport::exportRadarChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportScatterChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private

Definition at line 2304 of file chartexport.cxx.

References exportScatterChartSeries().

Referenced by exportPlotArea().

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
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
void oox::drawingml::ChartExport::exportSeriesCategory ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq,
sal_Int32  nValueType = XML_cat 
)
private
void oox::drawingml::ChartExport::exportSeriesText ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq)
private
void oox::drawingml::ChartExport::exportSeriesValues ( const css::uno::Reference< css::chart2::data::XDataSequence > &  xValueSeq,
sal_Int32  nValueType = XML_val 
)
private
void oox::drawingml::ChartExport::exportShapeProps ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportSmooth ( )
private
void oox::drawingml::ChartExport::exportSolidFill ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
private
void oox::drawingml::ChartExport::exportStockChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportSurfaceChart ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportTextProps ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)
void oox::drawingml::ChartExport::exportTitle ( const css::uno::Reference< css::drawing::XShape > &  xShape,
const OUString *  pSubText = nullptr 
)
private
void oox::drawingml::ChartExport::exportTrendlines ( const css::uno::Reference< css::chart2::XDataSeries > &  xSeries)
private

Definition at line 4069 of file chartexport.cxx.

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

Referenced by exportSeries().

void oox::drawingml::ChartExport::exportUpDownBars ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportVaryColors ( const css::uno::Reference< css::chart2::XChartType > &  xChartType)
private
void oox::drawingml::ChartExport::exportView3D ( )
private
sal_Int32 oox::drawingml::ChartExport::getChartType ( )
private
const css::uno::Reference< css::frame::XModel >& oox::drawingml::ChartExport::getModel ( ) const
inline
OUString oox::drawingml::ChartExport::getNumberFormatCode ( sal_Int32  nKey) const
private
Sequence< Sequence< OUString > > oox::drawingml::ChartExport::getSplitCategoriesList ( const OUString &  rRange)
private
void oox::drawingml::ChartExport::InitPlotArea ( )
private
void oox::drawingml::ChartExport::InitRangeSegmentationProperties ( const css::uno::Reference< css::chart2::XChartDocument > &  xChartDoc)
bool oox::drawingml::ChartExport::isDeep3dChart ( )
private
OUString oox::drawingml::ChartExport::parseFormula ( const OUString &  rRange)
private
void oox::drawingml::ChartExport::SetURLTranslator ( const std::shared_ptr< URLTransformer > &  pTransformer)

Definition at line 501 of file chartexport.cxx.

References mpURLTransformer.

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

Member Data Documentation

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

Definition at line 114 of file chartexport.hxx.

Referenced by exportAxes(), and exportAxesId().

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

Definition at line 120 of file chartexport.hxx.

Referenced by _exportAxis().

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

Definition at line 109 of file chartexport.hxx.

Referenced by InitPlotArea(), and InitRangeSegmentationProperties().

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

Definition at line 115 of file chartexport.hxx.

Referenced by exportAxesId(), and InitPlotArea().

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

Definition at line 118 of file chartexport.hxx.

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

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

Definition at line 117 of file chartexport.hxx.

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

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

Definition at line 102 of file chartexport.hxx.

Referenced by exportPlotArea(), and exportSeries().

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

Definition at line 101 of file chartexport.hxx.

Referenced by WriteChartObj().

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

Definition at line 106 of file chartexport.hxx.

Referenced by SetURLTranslator(), and WriteChartObj().

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

Definition at line 112 of file chartexport.hxx.

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

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

Definition at line 103 of file chartexport.hxx.

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

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

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