LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes | Static Private Attributes | List of all members
oox::drawingml::DrawingML Class Reference

#include <drawingml.hxx>

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

Public Member Functions

 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 (sal_uInt16 nStop, ::Color nColor, sal_Int32 nAlpha=MAX_PERCENT)
 
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 WriteFillColor (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 (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, 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)
 
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)
 
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 char *sContentType, const char *sRelationshipType, OUString *pRelationshipId)
 

Static Public Member Functions

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 ResetCounters ()
 
static void ResetMlCounters ()
 
static void PushExportGraphics ()
 
static void PopExportGraphics ()
 
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

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

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

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...
 

Private Attributes

DocumentType meDocumentType
 To specify where write eg. the images to (like 'ppt', or 'word' - according to the OPC). More...
 
DMLTextExportmpTextExport
 Parent exporter, used for text callback. More...
 

Static Private Attributes

static int mnImageCounter = 1
 
static int mnWdpImageCounter = 1
 
static std::map< OUString, OUString > maWdpCache
 
static sal_Int32 mnDrawingMLCount = 0
 
static sal_Int32 mnVmlCount = 0
 
static std::stack< std::unordered_map< BitmapChecksum, OUString > > maExportGraphics
 

Detailed Description

Definition at line 142 of file drawingml.hxx.

Constructor & Destructor Documentation

◆ DrawingML()

oox::drawingml::DrawingML::DrawingML ( ::sax_fastparser::FSHelperPtr  pFS,
::oox::core::XmlFilterBase pFB,
DocumentType  eDocumentType = DOCUMENT_PPTX,
DMLTextExport pTextExport = nullptr 
)
inline

Definition at line 216 of file drawingml.hxx.

Member Function Documentation

◆ ColorWithIntensity()

Color oox::drawingml::DrawingML::ColorWithIntensity ( sal_uInt32  nColor,
sal_uInt32  nIntensity 
)
static

Definition at line 633 of file drawingml.cxx.

References ColorTransparency.

◆ CreateOutputStream()

sax_fastparser::FSHelperPtr oox::drawingml::DrawingML::CreateOutputStream ( const OUString &  sFullStream,
std::u16string_view  sRelativeStream,
const css::uno::Reference< css::io::XOutputStream > &  xParentRelation,
const char *  sContentType,
const char *  sRelationshipType,
OUString *  pRelationshipId 
)

◆ EqualGradients()

bool oox::drawingml::DrawingML::EqualGradients ( css::awt::Gradient  aGradient1,
css::awt::Gradient  aGradient2 
)
staticprotected

Definition at line 640 of file drawingml.cxx.

◆ GetAlignment()

const char * oox::drawingml::DrawingML::GetAlignment ( css::style::ParagraphAdjust  nAlignment)
static

Definition at line 2981 of file drawingml.cxx.

Referenced by WriteParagraphProperties().

◆ getBulletMarginIndentation()

sal_Int32 oox::drawingml::DrawingML::getBulletMarginIndentation ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
sal_Int16  nLevel,
std::u16string_view  propName 
)

Definition at line 2952 of file drawingml.cxx.

References aPropName, GetProperty(), mAny, and SAL_INFO.

Referenced by WriteParagraphProperties().

◆ GetComponentDir()

const char * oox::drawingml::DrawingML::GetComponentDir ( ) const
protected

◆ GetDatetimeTypeFromDate()

OUString oox::drawingml::DrawingML::GetDatetimeTypeFromDate ( SvxDateFormat  eDate)
staticprotected

Gets OOXML datetime field type from LO Date format.

Parameters
eDateLO Date format

Definition at line 2522 of file drawingml.cxx.

References GetDatetimeTypeFromDateTime().

Referenced by GetFieldValue().

◆ GetDatetimeTypeFromDateTime()

OUString oox::drawingml::DrawingML::GetDatetimeTypeFromDateTime ( SvxDateFormat  eDate,
SvxTimeFormat  eTime 
)
staticprotected

Gets OOXML datetime field type from combination of LO Time and Date formats.

Parameters
eDateLO Date format
eTimeLO Time format

Definition at line 2532 of file drawingml.cxx.

Referenced by GetDatetimeTypeFromDate(), and GetDatetimeTypeFromTime().

◆ GetDatetimeTypeFromTime()

OUString oox::drawingml::DrawingML::GetDatetimeTypeFromTime ( SvxTimeFormat  eTime)
staticprotected

Gets OOXML datetime field type from LO Time format.

Parameters
eTimeLO Time format

Definition at line 2527 of file drawingml.cxx.

References GetDatetimeTypeFromDateTime().

Referenced by GetFieldValue().

◆ GetDocumentType()

DocumentType oox::drawingml::DrawingML::GetDocumentType ( ) const
inline

◆ GetFB()

::oox::core::XmlFilterBase * oox::drawingml::DrawingML::GetFB ( )
inline

◆ GetFieldValue()

OUString oox::drawingml::DrawingML::GetFieldValue ( const css::uno::Reference< css::text::XTextRange > &  rRun,
bool &  bIsURLField 
)
protected

◆ GetFS()

const ::sax_fastparser::FSHelperPtr & oox::drawingml::DrawingML::GetFS ( ) const
inline

Definition at line 219 of file drawingml.hxx.

Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::DMLPresetShapeExporter::EndAVListWriting(), oox::drawingml::ChartExport::exportAdditionalShapes(), oox::drawingml::ChartExport::exportAreaChart(), oox::drawingml::ChartExport::exportAxesId(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportBubbleChart(), oox::drawingml::ChartExport::exportCandleStickSeries(), oox::drawingml::ChartExport::exportChart(), oox::drawingml::ChartExport::exportChartSpace(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportDoughnutChart(), oox::drawingml::ChartExport::exportErrorBar(), oox::drawingml::ChartExport::exportExternalData(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHiLowLines(), oox::drawingml::ChartExport::exportLegend(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportManualLayout(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportMissingValueTreatment(), oox::drawingml::ChartExport::exportPieChart(), oox::drawingml::ChartExport::exportPlotArea(), oox::drawingml::ChartExport::exportRadarChart(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSeriesText(), oox::drawingml::ChartExport::exportSeriesValues(), oox::drawingml::ChartExport::exportShapeProps(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportStockChart(), oox::drawingml::ChartExport::exportSurfaceChart(), oox::drawingml::ChartExport::exportTextProps(), oox::drawingml::ChartExport::exportTitle(), oox::drawingml::ChartExport::exportTrendlines(), oox::drawingml::ChartExport::exportUpDownBars(), oox::drawingml::ChartExport::exportVaryColors(), oox::drawingml::ChartExport::exportView3D(), oox::drawingml::DMLPresetShapeExporter::StartAVListWriting(), oox::drawingml::DMLPresetShapeExporter::WriteAV(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteGroupShape(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WriteMathShape(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteNonVisualDrawingProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), oox::drawingml::ShapeExport::WriteTableShape(), oox::drawingml::ShapeExport::WriteTextBox(), and oox::drawingml::ShapeExport::WriteTextShape().

◆ getNewDrawingUniqueId()

static sal_Int32 oox::drawingml::DrawingML::getNewDrawingUniqueId ( )
inlinestatic

Definition at line 354 of file drawingml.hxx.

Referenced by oox::drawingml::ChartExport::exportAdditionalShapes().

◆ getNewVMLUniqueId()

static sal_Int32 oox::drawingml::DrawingML::getNewVMLUniqueId ( )
inlinestatic

Definition at line 355 of file drawingml.hxx.

◆ GetProperty()

bool oox::drawingml::DrawingML::GetProperty ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  aName 
)
protected

Definition at line 291 of file drawingml.cxx.

References aName, Exception, and mAny.

Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHatch(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportSolidFill(), oox::drawingml::ChartExport::exportView3D(), getBulletMarginIndentation(), GetFieldValue(), oox::drawingml::ShapeExport::GetShapeName(), oox::drawingml::ChartExport::isDeep3dChart(), IsFontworkShape(), Write3DEffects(), WriteArtisticEffect(), WriteBlipOrNormalFill(), oox::drawingml::ChartExport::WriteChartObj(), WriteFill(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImageBrightnessContrastTransparence(), WriteOutline(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WriteRun(), WriteRunProperties(), WriteShapeEffects(), WriteShapeStyle(), WriteText(), oox::drawingml::ShapeExport::WriteTextShape(), WriteXGraphicBlipFill(), WriteXGraphicBlipMode(), and WriteXGraphicStretch().

◆ GetPropertyAndState()

bool oox::drawingml::DrawingML::GetPropertyAndState ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const css::uno::Reference< css::beans::XPropertyState > &  rXPropState,
const OUString &  aName,
css::beans::PropertyState &  eState 
)
protected

Definition at line 306 of file drawingml.cxx.

References aName, Exception, and mAny.

Referenced by WriteParagraphProperties(), and WriteRunProperties().

◆ GetRelationCompPrefix()

const char * oox::drawingml::DrawingML::GetRelationCompPrefix ( ) const
protected

◆ GetScriptType()

sal_Int16 oox::drawingml::DrawingML::GetScriptType ( const OUString &  rStr)
static

Definition at line 244 of file drawingml.cxx.

References comphelper::getProcessComponentContext(), and nPos.

Referenced by WriteLstStyles(), and WriteRun().

◆ GetTextExport()

DMLTextExport * oox::drawingml::DrawingML::GetTextExport ( )
inline

The application-specific text exporter callback, if there is one.

Definition at line 223 of file drawingml.hxx.

Referenced by oox::vml::VMLExport::EndShape(), and oox::drawingml::ShapeExport::WriteTextBox().

◆ IsFontworkShape()

bool oox::drawingml::DrawingML::IsFontworkShape ( const css::uno::Reference< css::beans::XPropertySet > &  rXShapePropSet)
protected

◆ IsGroupShape()

bool oox::drawingml::DrawingML::IsGroupShape ( const css::uno::Reference< css::drawing::XShape > &  rXShape)
static

Definition at line 2941 of file drawingml.cxx.

Referenced by WriteShapeTransformation().

◆ PopExportGraphics()

void oox::drawingml::DrawingML::PopExportGraphics ( )
static

Definition at line 286 of file drawingml.cxx.

References maExportGraphics.

◆ PushExportGraphics()

void oox::drawingml::DrawingML::PushExportGraphics ( )
static

Definition at line 281 of file drawingml.cxx.

References maExportGraphics.

◆ ResetCounters()

void oox::drawingml::DrawingML::ResetCounters ( )
static

Definition at line 268 of file drawingml.cxx.

References maWdpCache, mnImageCounter, and mnWdpImageCounter.

◆ ResetMlCounters()

void oox::drawingml::DrawingML::ResetMlCounters ( )
static

Definition at line 275 of file drawingml.cxx.

References mnDrawingMLCount, and mnVmlCount.

◆ SetBackgroundDark()

void oox::drawingml::DrawingML::SetBackgroundDark ( bool  bIsDark)
inline

Definition at line 225 of file drawingml.hxx.

◆ SetFS()

void oox::drawingml::DrawingML::SetFS ( ::sax_fastparser::FSHelperPtr  pFS)
inline

Definition at line 218 of file drawingml.hxx.

Referenced by oox::drawingml::ChartExport::WriteChartObj().

◆ SubstituteBullet()

sal_Unicode oox::drawingml::DrawingML::SubstituteBullet ( sal_Unicode  cBulletId,
css::awt::FontDescriptor &  rFontDesc 
)
static

Definition at line 4867 of file drawingml.cxx.

References msfilter::util::bestFitOpenSymbolToMSFont(), and IsStarSymbol().

Referenced by WriteParagraphNumbering().

◆ Write3DEffects()

void oox::drawingml::DrawingML::Write3DEffects ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
bool  bIsText 
)

Populates scene3d tag.

Parameters
rXPropSetProp set
bIsTextTrue if the 3D effects are for a text body, false if it is for a shape

Definition at line 5387 of file drawingml.cxx.

References GetProperty(), mAny, oox::drawingml::MAX_PERCENT, mpFS, nToken, oox::drawingml::PER_PERCENT, u, WriteColor(), and XML_none.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), and WriteText().

◆ WriteArtisticEffect()

void oox::drawingml::DrawingML::WriteArtisticEffect ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WriteBlipFill() [1/2]

void oox::drawingml::DrawingML::WriteBlipFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  sURLPropName 
)

Referenced by WriteBlipOrNormalFill(), and WriteFill().

◆ WriteBlipFill() [2/2]

void oox::drawingml::DrawingML::WriteBlipFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  sURLPropName,
sal_Int32  nXmlNamespace 
)

◆ WriteBlipOrNormalFill()

void oox::drawingml::DrawingML::WriteBlipOrNormalFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  rURLPropName 
)

◆ WriteCharColor()

bool oox::drawingml::DrawingML::WriteCharColor ( const css::uno::Reference< css::beans::XPropertySet > &  xPropertySet)

Definition at line 431 of file drawingml.cxx.

References mpFS.

Referenced by WriteRunProperties().

◆ WriteColor() [1/3]

void oox::drawingml::DrawingML::WriteColor ( ::Color  nColor,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteColor() [2/3]

void oox::drawingml::DrawingML::WriteColor ( const ::Color  nColor,
const css::uno::Sequence< css::beans::PropertyValue > &  aTransformations,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteColor() [3/3]

void oox::drawingml::DrawingML::WriteColor ( const OUString &  sColorSchemeName,
const css::uno::Sequence< css::beans::PropertyValue > &  aTransformations,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteColorTransformations()

void oox::drawingml::DrawingML::WriteColorTransformations ( const css::uno::Sequence< css::beans::PropertyValue > &  aTransformations,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteConnectorConnections()

void oox::drawingml::DrawingML::WriteConnectorConnections ( sal_Int32  nStartGlueId,
sal_Int32  nEndGlueId,
sal_Int32  nStartID,
sal_Int32  nEndID 
)

Definition at line 4851 of file drawingml.cxx.

References mpFS.

Referenced by oox::drawingml::ShapeExport::WriteConnectorShape().

◆ WriteCustomGeometry()

bool oox::drawingml::DrawingML::WriteCustomGeometry ( const css::uno::Reference< css::drawing::XShape > &  rXShape,
const SdrObjCustomShape rSdrObjCustomShape 
)

◆ WriteCustomGeometryPoint()

void oox::drawingml::DrawingML::WriteCustomGeometryPoint ( const css::drawing::EnhancedCustomShapeParameterPair &  rParamPair,
const EnhancedCustomShape2d rCustomShape2d,
const bool  bReplaceGeoWidth,
const bool  bReplaceGeoHeight 
)
protected

Definition at line 4734 of file drawingml.cxx.

References mpFS.

Referenced by WriteCustomGeometrySegment().

◆ WriteCustomGeometrySegment()

bool oox::drawingml::DrawingML::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 
)
protected

◆ WriteDiagram()

void oox::drawingml::DrawingML::WriteDiagram ( const css::uno::Reference< css::drawing::XShape > &  rXShape,
int  nDiagramId 
)

◆ writeDiagramRels()

void oox::drawingml::DrawingML::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 
)

◆ WriteEmptyCustomGeometry()

void oox::drawingml::DrawingML::WriteEmptyCustomGeometry ( )

Definition at line 4747 of file drawingml.cxx.

References mpFS.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape().

◆ WriteFill()

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

◆ WriteFillColor()

bool oox::drawingml::DrawingML::WriteFillColor ( const css::uno::Reference< css::beans::XPropertySet > &  xPropertySet)

Definition at line 587 of file drawingml.cxx.

References mpFS.

◆ WriteFromTo()

void oox::drawingml::DrawingML::WriteFromTo ( const css::uno::Reference< css::drawing::XShape > &  rXShape,
const css::awt::Size &  aPageSize,
const sax_fastparser::FSHelperPtr pDrawing 
)
static

◆ WriteGlowEffect()

void oox::drawingml::DrawingML::WriteGlowEffect ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)
protected

◆ WriteGrabBagGradientFill()

void oox::drawingml::DrawingML::WriteGrabBagGradientFill ( const css::uno::Sequence< css::beans::PropertyValue > &  aGradientStops,
css::awt::Gradient  rGradient 
)

◆ WriteGradientFill() [1/2]

void oox::drawingml::DrawingML::WriteGradientFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WriteGradientFill() [2/2]

void oox::drawingml::DrawingML::WriteGradientFill ( css::awt::Gradient  rGradient,
css::awt::Gradient  rTransparenceGradient,
const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet = css::uno::Reference< css::beans::XPropertySet >() 
)

◆ WriteGradientStop()

void oox::drawingml::DrawingML::WriteGradientStop ( sal_uInt16  nStop,
::Color  nColor,
sal_Int32  nAlpha = MAX_PERCENT 
)

Definition at line 626 of file drawingml.cxx.

References mpFS, and WriteColor().

◆ WriteGraphicCropProperties()

void oox::drawingml::DrawingML::WriteGraphicCropProperties ( css::uno::Reference< css::beans::XPropertySet > const &  rxPropertySet,
Size const &  rOriginalSize,
MapMode const &  rMapMode 
)

◆ WriteImage()

OUString oox::drawingml::DrawingML::WriteImage ( const Graphic rGraphic,
bool  bRelPathToMedia = false 
)

◆ WriteImageBrightnessContrastTransparence()

void oox::drawingml::DrawingML::WriteImageBrightnessContrastTransparence ( css::uno::Reference< css::beans::XPropertySet > const &  rXPropSet)

Definition at line 1532 of file drawingml.cxx.

References GetProperty(), mAny, mpFS, oox::drawingml::PER_PERCENT, and sax_fastparser::UseIf().

Referenced by WriteXGraphicBlip().

◆ WriteLineArrow()

void oox::drawingml::DrawingML::WriteLineArrow ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
bool  bLineStart 
)

◆ WriteLinespacing()

void oox::drawingml::DrawingML::WriteLinespacing ( const css::style::LineSpacing &  rLineSpacing,
float  fFirstCharHeight 
)

Definition at line 3003 of file drawingml.cxx.

References mpFS.

Referenced by WriteParagraphProperties().

◆ WriteLstStyles()

void oox::drawingml::DrawingML::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.

Definition at line 3171 of file drawingml.cxx.

References Any, GetScriptType(), mpFS, WriteParagraphProperties(), and WriteRunProperties().

Referenced by WriteText().

◆ WriteMediaNonVisualProperties()

void oox::drawingml::DrawingML::WriteMediaNonVisualProperties ( const css::uno::Reference< css::drawing::XShape > &  xShape)
protected

◆ WriteOutline()

void oox::drawingml::DrawingML::WriteOutline ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
css::uno::Reference< css::frame::XModel > const &  xModel = nullptr 
)

◆ WriteParagraph()

void oox::drawingml::DrawingML::WriteParagraph ( const css::uno::Reference< css::text::XTextContent > &  rParagraph,
bool &  rbOverridingCharHeight,
sal_Int32 &  rnCharHeight,
const css::uno::Reference< css::beans::XPropertySet > &  rXShapePropSet 
)

Definition at line 3210 of file drawingml.cxx.

References any, Any, mpFS, run(), WriteParagraphProperties(), WriteRun(), and WriteRunProperties().

Referenced by WriteText().

◆ WriteParagraphNumbering()

void oox::drawingml::DrawingML::WriteParagraphNumbering ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
float  fFirstCharHeight,
sal_Int16  nLevel 
)

◆ WriteParagraphProperties()

bool oox::drawingml::DrawingML::WriteParagraphProperties ( const css::uno::Reference< css::text::XTextContent > &  rParagraph,
float  fFirstCharHeight,
sal_Int32  nElement 
)

◆ WriteParagraphTabStops()

void oox::drawingml::DrawingML::WriteParagraphTabStops ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

Definition at line 2907 of file drawingml.cxx.

References oox::drawingml::GetPointFromCoordinate(), GetProperty(), mAny, and mpFS.

Referenced by WriteParagraphProperties().

◆ WritePattFill() [1/2]

void oox::drawingml::DrawingML::WritePattFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WritePattFill() [2/2]

void oox::drawingml::DrawingML::WritePattFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const css::drawing::Hatch &  rHatch 
)

◆ WritePolyPolygon()

void oox::drawingml::DrawingML::WritePolyPolygon ( const css::uno::Reference< css::drawing::XShape > &  rXShape,
const bool  bClosed 
)

◆ WritePresetShape() [1/3]

void oox::drawingml::DrawingML::WritePresetShape ( const OString &  pShape)

Definition at line 3897 of file drawingml.cxx.

References mpFS.

◆ WritePresetShape() [2/3]

void oox::drawingml::DrawingML::WritePresetShape ( const OString &  pShape,
MSO_SPT  eShapeType,
bool  bPredefinedHandlesUsed,
const css::beans::PropertyValue &  rProp 
)

References WritePolyPolygon().

◆ WritePresetShape() [3/3]

void oox::drawingml::DrawingML::WritePresetShape ( const OString &  pShape,
std::vector< std::pair< sal_Int32, sal_Int32 > > &  rAvList 
)

◆ WriteRun()

void oox::drawingml::DrawingML::WriteRun ( const css::uno::Reference< css::text::XTextRange > &  rRun,
bool &  rbOverridingCharHeight,
sal_Int32 &  rnCharHeight,
const css::uno::Reference< css::beans::XPropertySet > &  rXShapePropSet 
)

◆ WriteRunProperties()

void oox::drawingml::DrawingML::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 = {} 
)

◆ WriteShapeEffect()

void oox::drawingml::DrawingML::WriteShapeEffect ( std::u16string_view  sName,
const css::uno::Sequence< css::beans::PropertyValue > &  aEffectProps 
)

◆ WriteShapeEffects()

void oox::drawingml::DrawingML::WriteShapeEffects ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WriteShapeStyle()

void oox::drawingml::DrawingML::WriteShapeStyle ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WriteShapeTransformation()

void oox::drawingml::DrawingML::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 
)

◆ WriteSoftEdgeEffect()

void oox::drawingml::DrawingML::WriteSoftEdgeEffect ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)
protected

◆ WriteSolidFill() [1/4]

void oox::drawingml::DrawingML::WriteSolidFill ( ::Color  nColor,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteSolidFill() [2/4]

void oox::drawingml::DrawingML::WriteSolidFill ( const ::Color  nColor,
const css::uno::Sequence< css::beans::PropertyValue > &  aTransformations,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteSolidFill() [3/4]

void oox::drawingml::DrawingML::WriteSolidFill ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet)

◆ WriteSolidFill() [4/4]

void oox::drawingml::DrawingML::WriteSolidFill ( const OUString &  sSchemeName,
const css::uno::Sequence< css::beans::PropertyValue > &  aTransformations,
sal_Int32  nAlpha = MAX_PERCENT 
)

◆ WriteSrcRectXGraphic()

void oox::drawingml::DrawingML::WriteSrcRectXGraphic ( css::uno::Reference< css::beans::XPropertySet > const &  rxPropertySet,
css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic 
)

◆ WriteStyleProperties()

void oox::drawingml::DrawingML::WriteStyleProperties ( sal_Int32  nTokenId,
const css::uno::Sequence< css::beans::PropertyValue > &  aProperties 
)
protected

Definition at line 4951 of file drawingml.cxx.

References aProperties, mpFS, and WriteColor().

Referenced by WriteShapeStyle().

◆ WriteText()

void oox::drawingml::DrawingML::WriteText ( const css::uno::Reference< css::uno::XInterface > &  rXIface,
bool  bBodyPr,
bool  bText = true,
sal_Int32  nXmlNamespace = 0,
bool  bWritePropertiesAsLstStyles = false 
)

◆ WriteTransformation()

void oox::drawingml::DrawingML::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 
)

◆ WriteWdpPicture()

OString oox::drawingml::DrawingML::WriteWdpPicture ( const OUString &  rFileId,
const css::uno::Sequence< sal_Int8 > &  rPictureData 
)

◆ WriteXGraphicBlip()

OUString oox::drawingml::DrawingML::WriteXGraphicBlip ( css::uno::Reference< css::beans::XPropertySet > const &  rXPropSet,
css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic,
bool  bRelPathToMedia 
)

◆ WriteXGraphicBlipFill()

void oox::drawingml::DrawingML::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 
)

◆ WriteXGraphicBlipMode()

void oox::drawingml::DrawingML::WriteXGraphicBlipMode ( css::uno::Reference< css::beans::XPropertySet > const &  rXPropSet,
css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic 
)

Definition at line 1604 of file drawingml.cxx.

References GetProperty(), mAny, mpFS, SAL_INFO, and WriteXGraphicStretch().

Referenced by WriteXGraphicBlipFill().

◆ WriteXGraphicStretch()

void oox::drawingml::DrawingML::WriteXGraphicStretch ( css::uno::Reference< css::beans::XPropertySet > const &  rXPropSet,
css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic 
)

Member Data Documentation

◆ m_xParent

css::uno::Reference<css::drawing::XShape> oox::drawingml::DrawingML::m_xParent
protected

◆ maExportGraphics

std::stack< std::unordered_map< BitmapChecksum, OUString > > oox::drawingml::DrawingML::maExportGraphics
staticprivate

Definition at line 151 of file drawingml.hxx.

Referenced by PopExportGraphics(), PushExportGraphics(), and WriteImage().

◆ mAny

css::uno::Any oox::drawingml::DrawingML::mAny
protected

Definition at line 160 of file drawingml.hxx.

Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHatch(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportSolidFill(), oox::drawingml::ChartExport::exportView3D(), getBulletMarginIndentation(), GetFieldValue(), GetProperty(), GetPropertyAndState(), oox::drawingml::ShapeExport::GetShapeName(), oox::drawingml::ChartExport::isDeep3dChart(), IsFontworkShape(), Write3DEffects(), WriteArtisticEffect(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteFill(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImageBrightnessContrastTransparence(), WriteOutline(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WriteRun(), WriteRunProperties(), WriteShapeEffects(), WriteShapeStyle(), WriteText(), oox::drawingml::ShapeExport::WriteTextShape(), WriteXGraphicBlipFill(), WriteXGraphicBlipMode(), and WriteXGraphicStretch().

◆ maWdpCache

std::map< OUString, OUString > oox::drawingml::DrawingML::maWdpCache
staticprivate

Definition at line 148 of file drawingml.hxx.

Referenced by ResetCounters(), and WriteWdpPicture().

◆ mbIsBackgroundDark

bool oox::drawingml::DrawingML::mbIsBackgroundDark
protected

Definition at line 165 of file drawingml.hxx.

Referenced by WriteParagraphNumbering(), and WriteRunProperties().

◆ mbPlaceholder

bool oox::drawingml::DrawingML::mbPlaceholder
protected

True when exporting presentation placeholder shape.

Definition at line 168 of file drawingml.hxx.

Referenced by WriteParagraphProperties(), and oox::drawingml::ShapeExport::WriteShape().

◆ meDocumentType

DocumentType oox::drawingml::DrawingML::meDocumentType
private

To specify where write eg. the images to (like 'ppt', or 'word' - according to the OPC).

Definition at line 154 of file drawingml.hxx.

Referenced by GetComponentDir(), and GetRelationCompPrefix().

◆ mnDrawingMLCount

sal_Int32 oox::drawingml::DrawingML::mnDrawingMLCount = 0
staticprivate

Definition at line 149 of file drawingml.hxx.

Referenced by ResetMlCounters().

◆ mnImageCounter

int oox::drawingml::DrawingML::mnImageCounter = 1
staticprivate

Definition at line 146 of file drawingml.hxx.

Referenced by ResetCounters(), WriteImage(), and WriteMediaNonVisualProperties().

◆ mnVmlCount

sal_Int32 oox::drawingml::DrawingML::mnVmlCount = 0
staticprivate

Definition at line 150 of file drawingml.hxx.

Referenced by ResetMlCounters().

◆ mnWdpImageCounter

int oox::drawingml::DrawingML::mnWdpImageCounter = 1
staticprivate

Definition at line 147 of file drawingml.hxx.

Referenced by ResetCounters(), and WriteWdpPicture().

◆ mpFB

::oox::core::XmlFilterBase* oox::drawingml::DrawingML::mpFB
protected

◆ mpFS

::sax_fastparser::FSHelperPtr oox::drawingml::DrawingML::mpFS
protected

Definition at line 161 of file drawingml.hxx.

Referenced by oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportGradientFill(), oox::drawingml::ChartExport::exportSolidFill(), Write3DEffects(), WriteArtisticEffect(), oox::drawingml::ShapeExport::WriteBorderLine(), WriteCharColor(), oox::drawingml::ChartExport::WriteChartObj(), WriteColor(), WriteColorTransformations(), WriteConnectorConnections(), WriteCustomGeometry(), WriteCustomGeometryPoint(), WriteCustomGeometrySegment(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteDiagram(), WriteEmptyCustomGeometry(), WriteFill(), WriteFillColor(), WriteGrabBagGradientFill(), WriteGradientStop(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImage(), WriteImageBrightnessContrastTransparence(), WriteLineArrow(), WriteLinespacing(), WriteLstStyles(), oox::drawingml::ShapeExport::WriteMathShape(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), WriteOutline(), WriteParagraph(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WritePolyPolygon(), WritePresetShape(), WriteRun(), WriteRunProperties(), WriteShapeEffect(), WriteShapeEffects(), WriteShapeStyle(), WriteSolidFill(), WriteStyleProperties(), oox::drawingml::ShapeExport::WriteTable(), oox::drawingml::ShapeExport::WriteTableCellProperties(), WriteText(), oox::drawingml::ShapeExport::WriteTextBox(), oox::drawingml::ShapeExport::WriteTextShape(), WriteTransformation(), WriteWdpPicture(), WriteXGraphicBlip(), WriteXGraphicBlipFill(), WriteXGraphicBlipMode(), and WriteXGraphicStretch().

◆ mpTextExport

DMLTextExport* oox::drawingml::DrawingML::mpTextExport
private

Parent exporter, used for text callback.

Definition at line 156 of file drawingml.hxx.

Referenced by WriteText().


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