LibreOffice Module xmloff (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
XMLShapeExport Class Reference

#include <shapeexport.hxx>

Inheritance diagram for XMLShapeExport:
[legend]
Collaboration diagram for XMLShapeExport:
[legend]

Public Member Functions

 XMLShapeExport (SvXMLExport &rExp, SvXMLExportPropertyMapper *pExtMapper=nullptr)
 
virtual ~XMLShapeExport () override
 
void collectShapeAutoStyles (const css::uno::Reference< css::drawing::XShape > &xShape)
 
void exportShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr, comphelper::AttributeList *pAttrList=nullptr)
 
void collectShapesAutoStyles (const css::uno::Reference< css::drawing::XShapes > &xShapes)
 
void exportShapes (const css::uno::Reference< css::drawing::XShapes > &xShapes, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
void seekShapes (const css::uno::Reference< css::drawing::XShapes > &xShapes) noexcept
 initializes some internal structures for fast access to the given XShapes collection More...
 
void exportAutoStyles ()
 
void setAnimationsExporter (rtl::Reference< XMLAnimationsExporter > const &xAnimExport)
 sets a new reference to an XMLAnimationExporter. More...
 
const rtl::Reference< XMLAnimationsExporter > & getAnimationsExporter () const
 returns the last set XMLAnimationExport More...
 
void enableLayerExport ()
 
void enableHandleProgressBar ()
 defines if the export should increment the progress bar or not More...
 
bool IsHandleProgressBarEnabled () const
 
void setPresentationStylePrefix (const OUString &rPrefix)
 
void export3DSceneAttributes (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 helper for chart that adds all attributes of a 3d scene element to the export More...
 
void export3DLamps (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 helper for chart that exports all lamps from the propertyset More...
 
css::uno::Reference< css::drawing::XShape > checkForCustomShapeReplacement (const css::uno::Reference< css::drawing::XShape > &)
 sj: replacing CustomShapes with standard objects that are also supported in OpenOffice.org format More...
 
void ExportGraphicDefaults ()
 helper to export the style for graphic defaults More...
 
virtual void onExport (const css::uno::Reference< css::drawing::XShape > &xShape)
 is called before a shape element for the given XShape is exported More...
 
const rtl::Reference< XMLTableExport > & GetShapeTableExport ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static SvXMLExportPropertyMapperCreateShapePropMapper (SvXMLExport &rExport)
 returns the export property mapper for external chaining More...
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Protected Member Functions

SvXMLExportGetExport ()
 
const SvXMLExportGetExport () const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

SAL_DLLPRIVATE const rtl::Reference< SvXMLExportPropertyMapper > & GetPropertySetMapper () const
 
SAL_DLLPRIVATE void ImpCalcShapeType (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType &eShapeType)
 
SAL_DLLPRIVATE void ImpExportNewTrans (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, XMLShapeExportFlags nFeatures, css::awt::Point *pRefPoint)
 
SAL_DLLPRIVATE void ImpExportNewTrans_GetB2DHomMatrix (::basegfx::B2DHomMatrix &rMatrix, const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
SAL_DLLPRIVATE void ImpExportNewTrans_FeaturesAndWrite (::basegfx::B2DTuple const &rTRScale, double fTRShear, double fTRRotate, ::basegfx::B2DTuple const &rTRTranslate, const XMLShapeExportFlags nFeatures)
 
SAL_DLLPRIVATE bool ImpExportPresentationAttributes (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const OUString &rClass)
 
SAL_DLLPRIVATE void ImpExportText (const css::uno::Reference< css::drawing::XShape > &xShape, TextPNS eExtensionNS=TextPNS::ODF)
 
SAL_DLLPRIVATE void ImpExportEvents (const css::uno::Reference< css::drawing::XShape > &xShape)
 
SAL_DLLPRIVATE void ImpExportDescription (const css::uno::Reference< css::drawing::XShape > &xShape)
 #i68101# export shape Title and Description More...
 
SAL_DLLPRIVATE void ImpExportGluePoints (const css::uno::Reference< css::drawing::XShape > &xShape)
 exports all user defined gluepoints More...
 
SAL_DLLPRIVATE void ImpExportSignatureLine (const css::uno::Reference< css::drawing::XShape > &xShape)
 
SAL_DLLPRIVATE void ImpExportQRCode (const css::uno::Reference< css::drawing::XShape > &xShape)
 
SAL_DLLPRIVATE void ImpExportGroupShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExport3DSceneShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportRectangleShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportLineShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportEllipseShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportPolygonShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportTextBoxShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportGraphicObjectShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportChartShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr, comphelper::AttributeList *pAttrList=nullptr)
 
SAL_DLLPRIVATE void ImpExportControlShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportConnectorShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportMeasureShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point const *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportOLE2Shape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr, comphelper::AttributeList *pAttrList=nullptr)
 
SAL_DLLPRIVATE void ImpExportPageShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportCaptionShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExport3DShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType)
 
SAL_DLLPRIVATE void ImpExportFrameShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportPluginShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportAppletShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportCustomShape (const css::uno::Reference< css::drawing::XShape > &xShape, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportMediaShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 
SAL_DLLPRIVATE void ImpExportTableShape (const css::uno::Reference< css::drawing::XShape > &xShape, XmlShapeType eShapeType, XMLShapeExportFlags nFeatures=SEF_DEFAULT, css::awt::Point *pRefPoint=nullptr)
 

Static Private Member Functions

static SAL_DLLPRIVATE void ImpExportNewTrans_DecomposeAndRefPoint (const ::basegfx::B2DHomMatrix &rMat, ::basegfx::B2DTuple &rTRScale, double &fTRShear, double &fTRRotate, ::basegfx::B2DTuple &rTRTranslate, css::awt::Point *pRefPoint)
 

Private Attributes

SvXMLExportmrExport
 
rtl::Reference< SvXMLExportPropertyMappermxPropertySetMapper
 
rtl::Reference< XMLAnimationsExportermxAnimationsExporter
 
ShapesInfos maShapesInfos
 
ShapesInfos::iterator maCurrentShapesIter
 
bool mbExportLayer
 
OUString msPresentationStylePrefix
 
bool mbHandleProgressBar
 
rtl::Reference< XMLTableExportmxShapeTableExport
 
OUStringBuffer msBuffer
 

Additional Inherited Members

- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 157 of file shapeexport.hxx.

Constructor & Destructor Documentation

◆ XMLShapeExport()

XMLShapeExport::XMLShapeExport ( SvXMLExport rExp,
SvXMLExportPropertyMapper pExtMapper = nullptr 
)

◆ ~XMLShapeExport()

XMLShapeExport::~XMLShapeExport ( )
overridevirtual

Definition at line 215 of file shapeexport.cxx.

Member Function Documentation

◆ checkForCustomShapeReplacement()

uno::Reference< drawing::XShape > XMLShapeExport::checkForCustomShapeReplacement ( const css::uno::Reference< css::drawing::XShape > &  )

sj: replacing CustomShapes with standard objects that are also supported in OpenOffice.org format

Definition at line 220 of file shapeexport.cxx.

References GetExport(), comphelper::makePropertyValue(), and OASIS.

Referenced by collectShapeAutoStyles().

◆ collectShapeAutoStyles()

void XMLShapeExport::collectShapeAutoStyles ( const css::uno::Reference< css::drawing::XShape > &  xShape)

◆ collectShapesAutoStyles()

void XMLShapeExport::collectShapesAutoStyles ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)

◆ CreateShapePropMapper()

SvXMLExportPropertyMapper * XMLShapeExport::CreateShapePropMapper ( SvXMLExport rExport)
static

returns the export property mapper for external chaining

Definition at line 1127 of file shapeexport.cxx.

References SvXMLExport::GetModel(), SvXMLExport::GetTextParagraphExport(), and xFactory.

Referenced by ExportGraphicDefaults(), XMLChartExportPropertyMapper::XMLChartExportPropertyMapper(), and XMLShapeExport().

◆ enableHandleProgressBar()

void XMLShapeExport::enableHandleProgressBar ( )
inline

defines if the export should increment the progress bar or not

Definition at line 277 of file shapeexport.hxx.

◆ enableLayerExport()

void XMLShapeExport::enableLayerExport ( )
inline

Definition at line 274 of file shapeexport.hxx.

◆ export3DLamps()

void XMLShapeExport::export3DLamps ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)

◆ export3DSceneAttributes()

void XMLShapeExport::export3DSceneAttributes ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet)

◆ exportAutoStyles()

void XMLShapeExport::exportAutoStyles ( )

◆ ExportGraphicDefaults()

void XMLShapeExport::ExportGraphicDefaults ( )

◆ exportShape()

void XMLShapeExport::exportShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr,
comphelper::AttributeList pAttrList = nullptr 
)

Definition at line 570 of file shapeexport.cxx.

References SvXMLExport::AddAttribute(), SvXMLExport::AddAttributeIdLegacy(), SvXMLExport::AddAttributeList(), aName, bVisible, SvXMLExport::CheckAttrList(), SvXMLExport::ClearAttrList(), DBG_UNHANDLED_EXCEPTION, SvtModuleOptions::DRAW, Draw3DCubeObject, Draw3DExtrudeObject, Draw3DLatheObject, Draw3DSceneObject, Draw3DSphereObject, DrawAppletShape, DrawCaptionShape, DrawChartShape, DrawClosedBezierShape, DrawConnectorShape, DrawControlShape, DrawCustomShape, DrawEllipseShape, DrawFrameShape, DrawGraphicObjectShape, DrawGroupShape, DrawLineShape, DrawMeasureShape, DrawMediaShape, DrawOLE2Shape, DrawOpenBezierShape, DrawPageShape, DrawPluginShape, DrawPolyLineShape, DrawPolyPolygonShape, DrawRectangleShape, DrawSheetShape, DrawTableShape, DrawTextShape, SvXMLExport::EncodeStyleName(), GetExport(), comphelper::UnoInterfaceToUniqueIdentifierMapper::getIdentifier(), SvXMLExport::getInterfaceToIdentifierMapper(), SvXMLExport::GetProgressBarHelper(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), gsBookmark(), gsHyperlink(), gsOnClick(), gsPrintable(), gsVisible(), gsZIndex(), HandoutShape, ImpCalcShapeType(), ImpExport3DSceneShape(), ImpExport3DShape(), ImpExportAppletShape(), ImpExportCaptionShape(), ImpExportChartShape(), ImpExportConnectorShape(), ImpExportControlShape(), ImpExportCustomShape(), ImpExportEllipseShape(), ImpExportFrameShape(), ImpExportGraphicObjectShape(), ImpExportGroupShape(), ImpExportLineShape(), ImpExportMeasureShape(), ImpExportMediaShape(), ImpExportOLE2Shape(), ImpExportPageShape(), ImpExportPluginShape(), ImpExportPolygonShape(), ImpExportRectangleShape(), ImpExportTableShape(), ImpExportTextBoxShape(), ProgressBarHelper::Increment(), maCurrentShapesIter, maShapesInfos, mbExportLayer, ImplXMLShapeExportInfo::meShapeType, ImplXMLShapeExportInfo::mnFamily, mrExport, ImplXMLShapeExportInfo::msStyleName, ImplXMLShapeExportInfo::msTextStyleName, mxAnimationsExporter, NotYetSet, OASIS, SvtSaveOptions::ODFSVER_EXTENDED, onExport(), PresChartShape, PresDateTimeShape, PresFooterShape, PresGraphicObjectShape, PresHeaderShape, PresMediaShape, PresNotesShape, PresOLE2Shape, PresOrgChartShape, PresOutlinerShape, PresPageShape, PresSheetShape, PresSlideNumberShape, PresSubtitleShape, PresTableShape, PresTitleTextShape, SAL_INFO, SAL_WARN, SAL_WARN_IF, SD_GRAPHICS_ID, TOOLS_WARN_EXCEPTION, Unknown, SvtModuleOptions::WRITER, SvtModuleOptions::WRITERGLOBAL, SvtModuleOptions::WRITERWEB, ImplXMLShapeExportInfo::xCustomShapeReplacement, xmloff::token::XML_A, xmloff::token::XML_DISPLAY, xmloff::token::XML_EMBED, xmloff::token::XML_HREF, xmloff::token::XML_LAYER, xmloff::token::XML_NAME, XML_NAMESPACE_DRAW, XML_NAMESPACE_DRAW_EXT, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_XLINK, xmloff::token::XML_NONE, xmloff::token::XML_PRINTER, xmloff::token::XML_SCREEN, xmloff::token::XML_SHOW, xmloff::token::XML_SIMPLE, xmloff::token::XML_STYLE_NAME, xmloff::token::XML_TEXT_STYLE_NAME, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TYPE.

Referenced by exportShapes().

◆ exportShapes()

void XMLShapeExport::exportShapes ( const css::uno::Reference< css::drawing::XShapes > &  xShapes,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)

◆ getAnimationsExporter()

const rtl::Reference< XMLAnimationsExporter > & XMLShapeExport::getAnimationsExporter ( ) const
inline

returns the last set XMLAnimationExport

Definition at line 269 of file shapeexport.hxx.

◆ GetExport() [1/2]

SvXMLExport & XMLShapeExport::GetExport ( )
inlineprotected

◆ GetExport() [2/2]

const SvXMLExport & XMLShapeExport::GetExport ( ) const
inlineprotected

Definition at line 176 of file shapeexport.hxx.

◆ GetPropertySetMapper()

SAL_DLLPRIVATE const rtl::Reference< SvXMLExportPropertyMapper > & XMLShapeExport::GetPropertySetMapper ( ) const
inlineprivate

Definition at line 179 of file shapeexport.hxx.

Referenced by collectShapeAutoStyles(), and XMLShapeExport().

◆ GetShapeTableExport()

const rtl::Reference< XMLTableExport > & XMLShapeExport::GetShapeTableExport ( )

◆ ImpCalcShapeType()

void XMLShapeExport::ImpCalcShapeType ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType eShapeType 
)
private

◆ ImpExport3DSceneShape()

void XMLShapeExport::ImpExport3DSceneShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExport3DShape()

void XMLShapeExport::ImpExport3DShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType 
)
private

◆ ImpExportAppletShape()

void XMLShapeExport::ImpExportAppletShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportCaptionShape()

void XMLShapeExport::ImpExportCaptionShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportChartShape()

void XMLShapeExport::ImpExportChartShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr,
comphelper::AttributeList pAttrList = nullptr 
)
private

Definition at line 2585 of file shapeexport.cxx.

References ImpExportOLE2Shape().

Referenced by exportShape().

◆ ImpExportConnectorShape()

void XMLShapeExport::ImpExportConnectorShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportControlShape()

void XMLShapeExport::ImpExportControlShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportCustomShape()

void XMLShapeExport::ImpExportCustomShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportDescription()

void XMLShapeExport::ImpExportDescription ( const css::uno::Reference< css::drawing::XShape > &  xShape)
private

◆ ImpExportEllipseShape()

void XMLShapeExport::ImpExportEllipseShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportEvents()

void XMLShapeExport::ImpExportEvents ( const css::uno::Reference< css::drawing::XShape > &  xShape)
private

Definition at line 1700 of file shapeexport.cxx.

References SvXMLExport::AddAttribute(), aXML_AnimationDirection_EnumMap, aXML_AnimationEffect_EnumMap, aXML_AnimationSpeed_EnumMap, SvXMLUnitConverter::convertEnum(), sax::Converter::convertPercent(), ED_none, EK_none, GetExport(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), xmloff::token::GetXMLToken(), gsBookmark(), gsClickAction(), gsEffect(), gsEventType(), gsLibrary(), gsMacroName(), gsOnClick(), gsPlayFull(), gsPresentation(), gsScript(), gsSoundURL(), gsSpeed(), gsStarBasic(), gsVerb(), mrExport, msBuffer, SAL_WARN_IF, SdXMLImplSetEffect(), xmloff::token::XML_ACTION, xmloff::token::XML_ACTUATE, xmloff::token::XML_APPLICATION, xmloff::token::XML_DIRECTION, xmloff::token::XML_DOCUMENT, xmloff::token::XML_EFFECT, xmloff::token::XML_EMBED, xmloff::token::XML_EVENT_LISTENER, xmloff::token::XML_EVENT_LISTENERS, xmloff::token::XML_EVENT_NAME, xmloff::token::XML_EXECUTE, xmloff::token::XML_EXECUTE_MACRO, xmloff::token::XML_FADE_OUT, xmloff::token::XML_FIRST_PAGE, xmloff::token::XML_HIDE, xmloff::token::XML_HREF, xmloff::token::XML_LANGUAGE, xmloff::token::XML_LAST_PAGE, xmloff::token::XML_MACRO_NAME, XML_NAMESPACE_DOM, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_XLINK, xmloff::token::XML_NEW, xmloff::token::XML_NEXT_PAGE, xmloff::token::XML_ONREQUEST, xmloff::token::XML_PLAY_FULL, xmloff::token::XML_PREVIOUS_PAGE, xmloff::token::XML_SCRIPT, xmloff::token::XML_SHOW, xmloff::token::XML_SIMPLE, xmloff::token::XML_SOUND, xmloff::token::XML_SPEED, xmloff::token::XML_START_SCALE, xmloff::token::XML_STOP, xmloff::token::XML_TRUE, xmloff::token::XML_TYPE, xmloff::token::XML_UNKNOWN, and xmloff::token::XML_VERB.

Referenced by ImpExport3DSceneShape(), ImpExportCaptionShape(), ImpExportConnectorShape(), ImpExportCustomShape(), ImpExportEllipseShape(), ImpExportGraphicObjectShape(), ImpExportGroupShape(), ImpExportLineShape(), ImpExportMeasureShape(), ImpExportOLE2Shape(), ImpExportPolygonShape(), ImpExportRectangleShape(), ImpExportTableShape(), and ImpExportTextBoxShape().

◆ ImpExportFrameShape()

void XMLShapeExport::ImpExportFrameShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportGluePoints()

void XMLShapeExport::ImpExportGluePoints ( const css::uno::Reference< css::drawing::XShape > &  xShape)
private

◆ ImpExportGraphicObjectShape()

void XMLShapeExport::ImpExportGraphicObjectShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportGroupShape()

void XMLShapeExport::ImpExportGroupShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportLineShape()

void XMLShapeExport::ImpExportLineShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportMeasureShape()

void XMLShapeExport::ImpExportMeasureShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point const *  pRefPoint = nullptr 
)
private

◆ ImpExportMediaShape()

void XMLShapeExport::ImpExportMediaShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportNewTrans()

void XMLShapeExport::ImpExportNewTrans ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
XMLShapeExportFlags  nFeatures,
css::awt::Point *  pRefPoint 
)
private

◆ ImpExportNewTrans_DecomposeAndRefPoint()

void XMLShapeExport::ImpExportNewTrans_DecomposeAndRefPoint ( const ::basegfx::B2DHomMatrix rMat,
::basegfx::B2DTuple rTRScale,
double &  fTRShear,
double &  fTRRotate,
::basegfx::B2DTuple rTRTranslate,
css::awt::Point *  pRefPoint 
)
staticprivate

◆ ImpExportNewTrans_FeaturesAndWrite()

void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite ( ::basegfx::B2DTuple const &  rTRScale,
double  fTRShear,
double  fTRRotate,
::basegfx::B2DTuple const &  rTRTranslate,
const XMLShapeExportFlags  nFeatures 
)
private

◆ ImpExportNewTrans_GetB2DHomMatrix()

void XMLShapeExport::ImpExportNewTrans_GetB2DHomMatrix ( ::basegfx::B2DHomMatrix rMatrix,
const css::uno::Reference< css::beans::XPropertySet > &  xPropSet 
)
private

◆ ImpExportOLE2Shape()

void XMLShapeExport::ImpExportOLE2Shape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr,
comphelper::AttributeList pAttrList = nullptr 
)
private

◆ ImpExportPageShape()

void XMLShapeExport::ImpExportPageShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportPluginShape()

void XMLShapeExport::ImpExportPluginShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportPolygonShape()

void XMLShapeExport::ImpExportPolygonShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportPresentationAttributes()

bool XMLShapeExport::ImpExportPresentationAttributes ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const OUString &  rClass 
)
private

◆ ImpExportQRCode()

void XMLShapeExport::ImpExportQRCode ( const css::uno::Reference< css::drawing::XShape > &  xShape)
private

◆ ImpExportRectangleShape()

void XMLShapeExport::ImpExportRectangleShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportSignatureLine()

void XMLShapeExport::ImpExportSignatureLine ( const css::uno::Reference< css::drawing::XShape > &  xShape)
private

◆ ImpExportTableShape()

void XMLShapeExport::ImpExportTableShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ ImpExportText()

void XMLShapeExport::ImpExportText ( const css::uno::Reference< css::drawing::XShape > &  xShape,
TextPNS  eExtensionNS = TextPNS::ODF 
)
private

◆ ImpExportTextBoxShape()

void XMLShapeExport::ImpExportTextBoxShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
XmlShapeType  eShapeType,
XMLShapeExportFlags  nFeatures = SEF_DEFAULT,
css::awt::Point *  pRefPoint = nullptr 
)
private

◆ IsHandleProgressBarEnabled()

bool XMLShapeExport::IsHandleProgressBarEnabled ( ) const
inline

Definition at line 278 of file shapeexport.hxx.

◆ onExport()

void XMLShapeExport::onExport ( const css::uno::Reference< css::drawing::XShape > &  xShape)
virtual

is called before a shape element for the given XShape is exported

Definition at line 1447 of file shapeexport.cxx.

Referenced by exportShape().

◆ seekShapes()

void XMLShapeExport::seekShapes ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)
noexcept

initializes some internal structures for fast access to the given XShapes collection

This method has to be called before you use exportShape or collectShapeAutoStyles. It is automatically called if you use collectShapesAutoStyles and exportShapes.

See also
collectShapeAutoStyles
exportShape
collectShapesAutoStyles
exportShapes

Definition at line 1085 of file shapeexport.cxx.

References SAL_WARN_IF.

Referenced by collectShapesAutoStyles(), and exportShapes().

◆ setAnimationsExporter()

void XMLShapeExport::setAnimationsExporter ( rtl::Reference< XMLAnimationsExporter > const &  xAnimExport)
inline

sets a new reference to an XMLAnimationExporter.

If this is a non NULL reference, the animation information from all shapes given to exportShape() from now on are collected.

Definition at line 266 of file shapeexport.hxx.

◆ setPresentationStylePrefix()

void XMLShapeExport::setPresentationStylePrefix ( const OUString &  rPrefix)
inline

Definition at line 280 of file shapeexport.hxx.

Member Data Documentation

◆ maCurrentShapesIter

ShapesInfos::iterator XMLShapeExport::maCurrentShapesIter
private

◆ maShapesInfos

ShapesInfos XMLShapeExport::maShapesInfos
private

Definition at line 164 of file shapeexport.hxx.

Referenced by collectShapeAutoStyles(), and exportShape().

◆ mbExportLayer

bool XMLShapeExport::mbExportLayer
private

Definition at line 166 of file shapeexport.hxx.

Referenced by exportShape().

◆ mbHandleProgressBar

bool XMLShapeExport::mbHandleProgressBar
private

Definition at line 170 of file shapeexport.hxx.

◆ mrExport

SvXMLExport& XMLShapeExport::mrExport
private

◆ msBuffer

OUStringBuffer XMLShapeExport::msBuffer
private

Definition at line 181 of file shapeexport.hxx.

Referenced by ImpExportCaptionShape(), ImpExportEvents(), and ImpExportGluePoints().

◆ msPresentationStylePrefix

OUString XMLShapeExport::msPresentationStylePrefix
private

Definition at line 167 of file shapeexport.hxx.

Referenced by collectShapeAutoStyles().

◆ mxAnimationsExporter

rtl::Reference< XMLAnimationsExporter > XMLShapeExport::mxAnimationsExporter
private

Definition at line 163 of file shapeexport.hxx.

Referenced by collectShapeAutoStyles(), and exportShape().

◆ mxPropertySetMapper

rtl::Reference< SvXMLExportPropertyMapper > XMLShapeExport::mxPropertySetMapper
private

Definition at line 162 of file shapeexport.hxx.

Referenced by XMLShapeExport().

◆ mxShapeTableExport

rtl::Reference< XMLTableExport > XMLShapeExport::mxShapeTableExport
private

Definition at line 172 of file shapeexport.hxx.

Referenced by exportAutoStyles(), and GetShapeTableExport().


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