LibreOffice Module xmloff (master) 1
Functions | Variables
ximpshap.cxx File Reference
#include <config_wasm_strip.h>
#include <cassert>
#include <sal/log.hxx>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <utility>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <com/sun/star/drawing/XGluePointsSupplier.hpp>
#include <com/sun/star/drawing/GluePoint2.hpp>
#include <com/sun/star/drawing/Alignment.hpp>
#include <com/sun/star/drawing/EscapeDirection.hpp>
#include <com/sun/star/media/ZoomLevel.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include "ximpshap.hxx"
#include <xmloff/XMLBase64ImportContext.hxx>
#include <xmloff/XMLShapeStyleContext.hxx>
#include <xmloff/xmluconv.hxx>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
#include <com/sun/star/drawing/PointSequence.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/beans/XMultiPropertyStates.hpp>
#include <xexptran.hxx>
#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/style/XStyle.hpp>
#include <sax/tools/converter.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <comphelper/mediamimetype.hxx>
#include <xmloff/families.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <EnhancedCustomShapeToken.hxx>
#include <XMLReplacementImageContext.hxx>
#include <XMLImageMapContext.hxx>
#include "sdpropls.hxx"
#include "eventimp.hxx"
#include "descriptionimp.hxx"
#include "SignatureLineContext.hxx"
#include "QRCodeContext.hxx"
#include "ximpcustomshape.hxx"
#include <XMLEmbeddedObjectImportContext.hxx>
#include <xmloff/xmlerror.hxx>
#include <xmloff/table/XMLTableImport.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <tools/urlobj.hxx>
#include <o3tl/any.hxx>
#include <o3tl/safeint.hxx>
Include dependency graph for ximpshap.cxx:

Go to the source code of this file.

Functions

static bool ImpIsEmptyURL (std::u16string_view rURL)
 
static OUString lcl_GetMediaReference (SvXMLImport const &rImport, OUString const &rURL)
 

Variables

SvXMLEnumMapEntry< drawing::Alignment > const aXML_GlueAlignment_EnumMap []
 
SvXMLEnumMapEntry< drawing::EscapeDirection > const aXML_GlueEscapeDirection_EnumMap []
 

Function Documentation

◆ ImpIsEmptyURL()

static bool ImpIsEmptyURL ( std::u16string_view  rURL)
static

Definition at line 132 of file ximpshap.cxx.

References u.

Referenced by SdXMLObjectShapeContext::startFastElement().

◆ lcl_GetMediaReference()

static OUString lcl_GetMediaReference ( SvXMLImport const &  rImport,
OUString const &  rURL 
)
static

Definition at line 2957 of file ximpshap.cxx.

Referenced by SdXMLPluginShapeContext::processAttribute().

Variable Documentation

◆ aXML_GlueAlignment_EnumMap

SvXMLEnumMapEntry<drawing::Alignment> const aXML_GlueAlignment_EnumMap[]
Initial value:
=
{
{ XML_TOP_LEFT, drawing::Alignment_TOP_LEFT },
{ XML_TOP, drawing::Alignment_TOP },
{ XML_TOP_RIGHT, drawing::Alignment_TOP_RIGHT },
{ XML_LEFT, drawing::Alignment_LEFT },
{ XML_CENTER, drawing::Alignment_CENTER },
{ XML_RIGHT, drawing::Alignment_RIGHT },
{ XML_BOTTOM_LEFT, drawing::Alignment_BOTTOM_LEFT },
{ XML_BOTTOM, drawing::Alignment_BOTTOM },
{ XML_BOTTOM_RIGHT, drawing::Alignment_BOTTOM_RIGHT },
{ XML_TOKEN_INVALID, drawing::Alignment(0) }
}

Definition at line 106 of file ximpshap.cxx.

Referenced by SdXMLShapeContext::addGluePoint(), and XMLShapeExport::ImpExportGluePoints().

◆ aXML_GlueEscapeDirection_EnumMap

SvXMLEnumMapEntry<drawing::EscapeDirection> const aXML_GlueEscapeDirection_EnumMap[]
Initial value:
=
{
{ XML_AUTO, drawing::EscapeDirection_SMART },
{ XML_LEFT, drawing::EscapeDirection_LEFT },
{ XML_RIGHT, drawing::EscapeDirection_RIGHT },
{ XML_UP, drawing::EscapeDirection_UP },
{ XML_DOWN, drawing::EscapeDirection_DOWN },
{ XML_HORIZONTAL, drawing::EscapeDirection_HORIZONTAL },
{ XML_VERTICAL, drawing::EscapeDirection_VERTICAL },
{ XML_TOKEN_INVALID, drawing::EscapeDirection(0) }
}

Definition at line 120 of file ximpshap.cxx.

Referenced by SdXMLShapeContext::addGluePoint(), and XMLShapeExport::ImpExportGluePoints().