LibreOffice Module oox (master) 1
Namespaces | Typedefs | Functions
shapes.cxx File Reference
#include <config_wasm_strip.h>
#include <sal/config.h>
#include <sal/log.hxx>
#include <filter/msfilter/util.hxx>
#include <o3tl/string_view.hxx>
#include <o3tl/any.hxx>
#include <oox/core/xmlfilterbase.hxx>
#include <oox/export/shapes.hxx>
#include <oox/export/utils.hxx>
#include <oox/token/namespaces.hxx>
#include <oox/token/relationship.hxx>
#include <oox/token/tokens.hxx>
#include <initializer_list>
#include <string_view>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <com/sun/star/drawing/CircleKind.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/ConnectorType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/XEmbedPersist.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/text/XSimpleText.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/table/XTable.hpp>
#include <com/sun/star/table/XMergeableCell.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
#include <com/sun/star/drawing/XGluePointsSupplier.hpp>
#include <com/sun/star/container/XIdentifierAccess.hpp>
#include <com/sun/star/table/BorderLineStyle.hpp>
#include <tools/globname.hxx>
#include <comphelper/classids.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/storagehelper.hxx>
#include <sot/exchange.hxx>
#include <utility>
#include <vcl/graph.hxx>
#include <vcl/outdev.hxx>
#include <filter/msfilter/escherex.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svdoole2.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <oox/export/chartexport.hxx>
#include <oox/mathml/imexport.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <oox/export/DMLPresetShapeExport.hxx>
Include dependency graph for shapes.cxx:

Go to the source code of this file.

Namespaces

namespace  oox
 
namespace  oox::drawingml
 

Typedefs

typedef ShapeExport &(ShapeExport::* oox::drawingml::ShapeConverter) (const Reference< XShape > &)
 
typedef std::unordered_map< const char *, ShapeConverter, rtl::CStringHash, rtl::CStringEqual > oox::drawingml::NameToConvertMapType
 

Functions

static void oox::lcl_ConvertProgID (std::u16string_view rProgID, OUString &o_rMediaType, OUString &o_rRelationType, OUString &o_rFileExtension)
 
static uno::Reference< io::XInputStream > oox::lcl_StoreOwnAsOOXML (uno::Reference< uno::XComponentContext > const &xContext, uno::Reference< embed::XEmbeddedObject > const &xObj, char const *&o_rpProgID, OUString &o_rMediaType, OUString &o_rRelationType, OUString &o_rSuffix)
 
uno::Reference< io::XInputStream > oox::GetOLEObjectStream (uno::Reference< uno::XComponentContext > const &xContext, uno::Reference< embed::XEmbeddedObject > const &xObj, std::u16string_view i_rProgID, OUString &o_rMediaType, OUString &o_rRelationType, OUString &o_rSuffix, const char *&o_rpProgID)
 
static bool oox::drawingml::IsNonEmptySimpleText (const Reference< XInterface > &xIface)
 
static void oox::drawingml::AddExtLst (FSHelperPtr const &pFS, Reference< XPropertySet > const &xShape)
 
static bool oox::drawingml::lcl_IsOnDenylist (OUString const &rShapeType)
 
static bool oox::drawingml::lcl_IsOnAllowlist (OUString const &rShapeType)
 
static bool oox::drawingml::lcl_GetHandlePosition (sal_Int32 &nValue, const EnhancedCustomShapeParameter &rParam, const Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq)
 
static void oox::drawingml::lcl_AnalyzeHandles (const uno::Sequence< beans::PropertyValues > &rHandles, std::vector< std::pair< sal_Int32, sal_Int32 > > &rHandlePositionList, const Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq)
 
static void oox::drawingml::lcl_AppendAdjustmentValue (std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList, sal_Int32 nAdjIdx, sal_Int32 nValue)
 
static sal_Int32 oox::drawingml::lcl_NormalizeAngle (sal_Int32 nAngle)
 
static sal_Int32 oox::drawingml::lcl_CircleAngle2CustomShapeEllipseAngleOOX (const sal_Int32 nInternAngle, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
static OUString oox::drawingml::lcl_GetTarget (const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view rURL)
 
static void oox::drawingml::lcl_Rotate (sal_Int32 nAngle, Point center, awt::Point &pt)
 
static void oox::drawingml::lcl_FlipHFlipV (tools::Polygon aPoly, sal_Int32 nAngle, bool &rFlipH, bool &rFlipV)
 
static sal_Int32 oox::drawingml::lcl_GetAngle (tools::Polygon aPoly)
 
static void oox::drawingml::lcl_GetConnectorAdjustValue (const Reference< XShape > &xShape, tools::Polygon aPoly, ConnectorType eConnectorType, std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList)
 
static sal_Int32 oox::drawingml::lcl_GetGluePointId (const Reference< XShape > &xShape, sal_Int32 nGluePointId)
 
static const NameToConvertMapType & oox::drawingml::lcl_GetConverters ()
 
static bool oox::drawingml::lcl_isTextBox (const Reference< XInterface > &xIface)