LibreOffice Module xmloff (master)  1
Typedefs | Functions | Variables
ximpcustomshape.cxx File Reference
#include "ximpcustomshape.hxx"
#include <o3tl/any.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <xmloff/xmltoken.hxx>
#include <EnhancedCustomShapeToken.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlement.hxx>
#include <xexptran.hxx>
#include <com/sun/star/drawing/Direction3D.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeTextPathMode.hpp>
#include <com/sun/star/drawing/ProjectionMode.hpp>
#include <com/sun/star/drawing/Position3D.hpp>
#include <sax/tools/converter.hxx>
#include <comphelper/sequence.hxx>
#include <memory>
#include <unordered_map>
Include dependency graph for ximpcustomshape.cxx:

Go to the source code of this file.

Typedefs

typedef std::unordered_map< OUString, sal_Int32 > EquationHashMap
 

Functions

static void GetBool (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetInt32 (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetDouble (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetString (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
template<typename EnumT >
static void GetEnum (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp, const SvXMLEnumMapEntry< EnumT > &rMap)
 
static void GetDoublePercentage (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetB3DVector (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static bool GetEquationName (const OUString &rEquation, const sal_Int32 nStart, OUString &rEquationName)
 
static bool GetNextParameter (css::drawing::EnhancedCustomShapeParameter &rParameter, sal_Int32 &nIndex, const OUString &rParaString)
 
static void GetPosition3D (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp, SvXMLUnitConverter &rUnitConverter)
 
static void GetDoubleSequence (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetSizeSequence (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetEnhancedParameter (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetEnhancedParameterPair (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static sal_Int32 GetEnhancedParameterPairSequence (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetEnhancedRectangleSequence (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue, const EnhancedCustomShapeTokenEnum eDestProp)
 
static void GetEnhancedPath (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue)
 
static void GetAdjustmentValues (std::vector< css::beans::PropertyValue > &rDest, const OUString &rValue)
 
static void SdXMLCustomShapePropertyMerge (std::vector< css::beans::PropertyValue > &rPropVec, const std::vector< beans::PropertyValues > &rElement, const OUString &rElementName)
 
static void SdXMLCustomShapePropertyMerge (std::vector< css::beans::PropertyValue > &rPropVec, const std::vector< OUString > &rElement, const OUString &rElementName)
 
static void SdXMLCustomShapePropertyMerge (std::vector< css::beans::PropertyValue > &rPropVec, const std::vector< css::beans::PropertyValue > &rElement, const OUString &rElementName)
 
static void CheckAndResolveEquationParameter (css::drawing::EnhancedCustomShapeParameter &rPara, EquationHashMap *pH)
 

Variables

const SvXMLEnumMapEntry< sal_uInt16 > aXML_GluePointEnumMap []
 

Typedef Documentation

typedef std::unordered_map< OUString, sal_Int32 > EquationHashMap

Definition at line 1160 of file ximpcustomshape.cxx.

Function Documentation

static void CheckAndResolveEquationParameter ( css::drawing::EnhancedCustomShapeParameter &  rPara,
EquationHashMap pH 
)
static

Definition at line 1164 of file ximpcustomshape.cxx.

References nIndex.

Referenced by XMLEnhancedCustomShapeContext::EndElement().

static void GetAdjustmentValues ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue 
)
static
static void GetB3DVector ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetBool ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetDouble ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetDoublePercentage ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetDoubleSequence ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetEnhancedParameter ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetEnhancedParameterPair ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static sal_Int32 GetEnhancedParameterPairSequence ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetEnhancedPath ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue 
)
static
static void GetEnhancedRectangleSequence ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
template<typename EnumT >
static void GetEnum ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp,
const SvXMLEnumMapEntry< EnumT > &  rMap 
)
static
static bool GetEquationName ( const OUString &  rEquation,
const sal_Int32  nStart,
OUString &  rEquationName 
)
static

Definition at line 171 of file ximpcustomshape.cxx.

References nIndex.

Referenced by XMLEnhancedCustomShapeContext::EndElement(), and GetNextParameter().

static void GetInt32 ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static bool GetNextParameter ( css::drawing::EnhancedCustomShapeParameter &  rParameter,
sal_Int32 &  nIndex,
const OUString &  rParaString 
)
static
static void GetPosition3D ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp,
SvXMLUnitConverter rUnitConverter 
)
static
static void GetSizeSequence ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void GetString ( std::vector< css::beans::PropertyValue > &  rDest,
const OUString &  rValue,
const EnhancedCustomShapeTokenEnum  eDestProp 
)
static
static void SdXMLCustomShapePropertyMerge ( std::vector< css::beans::PropertyValue > &  rPropVec,
const std::vector< beans::PropertyValues > &  rElement,
const OUString &  rElementName 
)
static
static void SdXMLCustomShapePropertyMerge ( std::vector< css::beans::PropertyValue > &  rPropVec,
const std::vector< OUString > &  rElement,
const OUString &  rElementName 
)
static

Definition at line 1134 of file ximpcustomshape.cxx.

References comphelper::containerToSequence().

static void SdXMLCustomShapePropertyMerge ( std::vector< css::beans::PropertyValue > &  rPropVec,
const std::vector< css::beans::PropertyValue > &  rElement,
const OUString &  rElementName 
)
static

Definition at line 1147 of file ximpcustomshape.cxx.

References comphelper::containerToSequence().

Variable Documentation

const SvXMLEnumMapEntry<sal_uInt16> aXML_GluePointEnumMap[]