LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
oox::core::PowerPointShapeExport Class Reference
Inheritance diagram for oox::core::PowerPointShapeExport:
[legend]
Collaboration diagram for oox::core::PowerPointShapeExport:
[legend]

Public Member Functions

 PowerPointShapeExport (FSHelperPtr pFS, ShapeHashMap *pShapeMap, PowerPointExport *pFB)
 
void SetMaster (bool bMaster)
 
void SetPageType (PageType ePageType)
 
ShapeExportWriteNonVisualProperties (const Reference< XShape > &xShape) override
 
ShapeExportWriteTextShape (const Reference< XShape > &xShape) override
 
ShapeExportWriteUnknownShape (const Reference< XShape > &xShape) override
 
ShapeExportWritePlaceholderShape (const Reference< XShape > &xShape, PlaceholderType ePlaceholder)
 
ShapeExportWritePlaceholderReferenceShape (PlaceholderType ePlaceholder, sal_Int32 nReferencedPlaceholderIdx, PageType ePageType, const Reference< XPropertySet > &rXPagePropSet)
 Writes a placeholder shape that references the placeholder on the master slide. More...
 
ShapeExportWritePageShape (const Reference< XShape > &xShape, PageType ePageType, bool bPresObj)
 
ShapeExportWritePlaceholderReferenceTextBody (PlaceholderType ePlaceholder, PageType ePageType, const Reference< XPropertySet > xPagePropSet)
 Writes textbody of a placeholder that references the placeholder on the master slide. More...
 
bool WritePlaceholder (const Reference< XShape > &xShape, PlaceholderType ePlaceholder, bool bMaster)
 
- Public Member Functions inherited from oox::drawingml::ShapeExport
 ShapeExport (sal_Int32 nXmlNamespace, ::sax_fastparser::FSHelperPtr pFS, ShapeHashMap *pShapeMap, ::oox::core::XmlFilterBase *pFB, DocumentType eDocumentType=DOCUMENT_PPTX, DMLTextExport *pTextExport=nullptr, bool bUserShapes=false)
 
virtual ~ShapeExport ()
 
void SetURLTranslator (const std::shared_ptr< URLTransformer > &pTransformer)
 
ShapeExportWritePolyPolygonShape (const css::uno::Reference< css::drawing::XShape > &xShape, bool bClosed)
 
ShapeExportWriteClosedPolyPolygonShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteConnectorShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteCustomShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteEllipseShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteGraphicObjectShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteGroupShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteLineShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteNonVisualDrawingProperties (const css::uno::Reference< css::drawing::XShape > &xShape, const char *sName)
 
virtual ShapeExportWriteNonVisualProperties (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteOpenPolyPolygonShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteRectangleShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteTextBox (const css::uno::Reference< css::uno::XInterface > &xIface, sal_Int32 nXmlNamespace, bool bWritePropertiesAsLstStyles=false)
 
virtual ShapeExportWriteTextShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
ShapeExportWriteTableShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
void WriteMathShape (css::uno::Reference< css::drawing::XShape > const &xShape)
 
ShapeExportWriteOLE2Shape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
virtual ShapeExportWriteUnknownShape (const css::uno::Reference< css::drawing::XShape > &xShape)
 
void WriteTable (const css::uno::Reference< css::drawing::XShape > &rXShape)
 
void WriteTableCellProperties (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
void WriteBorderLine (const sal_Int32 XML_line, const css::table::BorderLine2 &rBorderLine)
 
void WriteTableCellBorders (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
sal_Int32 GetNewShapeID (const css::uno::Reference< css::drawing::XShape > &rShape)
 
sal_Int32 GetNewShapeID (const css::uno::Reference< css::drawing::XShape > &rShape, ::oox::core::XmlFilterBase *pFB)
 
sal_Int32 GetShapeID (const css::uno::Reference< css::drawing::XShape > &rShape)
 
- 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 ()
 
void SetBackgroundDark (bool bIsDark)
 
OUString WriteImage (const Graphic &rGraphic, bool bRelPathToMedia=false)
 
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)
 
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)
 
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)
 
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 Attributes

PowerPointExportmrExport
 
PageType mePageType
 
bool mbMaster
 

Additional Inherited Members

- Public Types inherited from oox::drawingml::ShapeExport
typedef std::unordered_map< css::uno::Reference< css::drawing::XShape >, sal_Int32 > ShapeHashMap
 
- Static Public Member Functions inherited from oox::drawingml::ShapeExport
static bool NonEmptyText (const css::uno::Reference< css::uno::XInterface > &xIface)
 
static sal_Int32 GetShapeID (const css::uno::Reference< css::drawing::XShape > &rShape, ShapeHashMap *pShapeMap)
 
- 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::ShapeExport
void WriteGraphicObjectShapePart (const css::uno::Reference< css::drawing::XShape > &xShape, const Graphic *pGraphic=nullptr)
 
OUString GetShapeName (const css::uno::Reference< css::drawing::XShape > &xShape)
 
- 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)
 
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)
 
static OUString GetDatetimeTypeFromTime (SvxTimeFormat eTime)
 
static OUString GetDatetimeTypeFromDateTime (SvxDateFormat eDate, SvxTimeFormat eTime)
 
static bool EqualGradients (const css::awt::Gradient2 &rGradient1, const css::awt::Gradient2 &rGradient2)
 
- Protected Attributes inherited from oox::drawingml::ShapeExport
sal_Int32 mnShapeIdMax
 
bool mbUserShapes
 
- 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
 
bool mbIsBackgroundDark
 
bool mbPlaceholder
 
- Static Protected Attributes inherited from oox::drawingml::DrawingML
static sal_Int32 mnChartCount
 

Detailed Description

Definition at line 121 of file pptx-epptooxml.cxx.

Constructor & Destructor Documentation

◆ PowerPointShapeExport()

PowerPointShapeExport::PowerPointShapeExport ( FSHelperPtr  pFS,
ShapeHashMap pShapeMap,
PowerPointExport pFB 
)

Definition at line 282 of file pptx-epptooxml.cxx.

References UNDEFINED.

Member Function Documentation

◆ SetMaster()

void PowerPointShapeExport::SetMaster ( bool  bMaster)

Definition at line 291 of file pptx-epptooxml.cxx.

References mbMaster.

Referenced by oox::core::PowerPointExport::WriteShapeTree().

◆ SetPageType()

void PowerPointShapeExport::SetPageType ( PageType  ePageType)

Definition at line 296 of file pptx-epptooxml.cxx.

References mePageType.

Referenced by oox::core::PowerPointExport::WriteShapeTree().

◆ WriteNonVisualProperties()

ShapeExport & PowerPointShapeExport::WriteNonVisualProperties ( const Reference< XShape > &  xShape)
override

Definition at line 301 of file pptx-epptooxml.cxx.

References oox::drawingml::DrawingML::GetFS().

◆ WritePageShape()

ShapeExport & PowerPointShapeExport::WritePageShape ( const Reference< XShape > &  xShape,
PageType  ePageType,
bool  bPresObj 
)

◆ WritePlaceholder()

bool PowerPointShapeExport::WritePlaceholder ( const Reference< XShape > &  xShape,
PlaceholderType  ePlaceholder,
bool  bMaster 
)

Definition at line 1702 of file pptx-epptooxml.cxx.

References Exception, SAL_INFO, and WritePlaceholderShape().

Referenced by WriteTextShape(), and WriteUnknownShape().

◆ WritePlaceholderReferenceShape()

ShapeExport & PowerPointShapeExport::WritePlaceholderReferenceShape ( PlaceholderType  ePlaceholder,
sal_Int32  nReferencedPlaceholderIdx,
PageType  ePageType,
const Reference< XPropertySet > &  rXPagePropSet 
)

◆ WritePlaceholderReferenceTextBody()

ShapeExport & PowerPointShapeExport::WritePlaceholderReferenceTextBody ( PlaceholderType  ePlaceholder,
PageType  ePageType,
const Reference< XPropertySet xPagePropSet 
)

◆ WritePlaceholderShape()

ShapeExport & PowerPointShapeExport::WritePlaceholderShape ( const Reference< XShape > &  xShape,
PlaceholderType  ePlaceholder 
)

◆ WriteTextShape()

ShapeExport & PowerPointShapeExport::WriteTextShape ( const Reference< XShape > &  xShape)
override

◆ WriteUnknownShape()

ShapeExport & PowerPointShapeExport::WriteUnknownShape ( const Reference< XShape > &  xShape)
override

Member Data Documentation

◆ mbMaster

bool oox::core::PowerPointShapeExport::mbMaster
private

Definition at line 125 of file pptx-epptooxml.cxx.

Referenced by SetMaster(), WriteTextShape(), and WriteUnknownShape().

◆ mePageType

PageType oox::core::PowerPointShapeExport::mePageType
private

◆ mrExport

PowerPointExport& oox::core::PowerPointShapeExport::mrExport
private

Definition at line 123 of file pptx-epptooxml.cxx.

Referenced by WriteTextShape(), and WriteUnknownShape().


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