|
LibreOffice Module xmloff (master) 1
|
#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/namespacemap.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/EnhancedCustomShapeMetalType.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 <o3tl/string_view.hxx>#include <memory>#include <string_view>#include <unordered_map>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, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetInt32 (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetDouble (std::vector< css::beans::PropertyValue > &rDest, std::string_view 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, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp, const SvXMLEnumMapEntry< EnumT > &rMap) |
| static void | GetDoublePercentage (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetB3DVector (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static bool | GetEquationName (std::u16string_view rEquation, const sal_Int32 nStart, OUString &rEquationName) |
| static bool | GetNextParameter (css::drawing::EnhancedCustomShapeParameter &rParameter, sal_Int32 &nIndex, std::u16string_view rParaString) |
| static void | GetPosition3D (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp, const SvXMLUnitConverter &rUnitConverter) |
| static void | GetDoubleSequence (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetSizeSequence (std::vector< css::beans::PropertyValue > &rDest, std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetEnhancedParameter (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetEnhancedParameterPair (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static sal_Int32 | GetEnhancedParameterPairSequence (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetEnhancedRectangleSequence (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp) |
| static void | GetEnhancedPath (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view rValue, std::u16string_view rType) |
| static void | GetAdjustmentValues (std::vector< css::beans::PropertyValue > &rDest, std::u16string_view 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 std::unordered_map< OUString, sal_Int32 > EquationHashMap |
Definition at line 1201 of file ximpcustomshape.cxx.
|
static |
Definition at line 1205 of file ximpcustomshape.cxx.
References nIndex.
Referenced by XMLEnhancedCustomShapeContext::endFastElement().
|
static |
Definition at line 852 of file ximpcustomshape.cxx.
References comphelper::containerToSequence(), xmloff::EnhancedCustomShapeToken::EAS_AdjustmentValues, xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 160 of file ximpcustomshape.cxx.
References SvXMLUnitConverter::convertB3DVector(), xmloff::EnhancedCustomShapeToken::EASGet(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getY(), and basegfx::Tuple3D< typename TYPE >::getZ().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 76 of file ximpcustomshape.cxx.
References sax::Converter::convertBool(), and xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::createFastChildContext(), and XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 102 of file ximpcustomshape.cxx.
References sax::Converter::convertDouble(), and xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 139 of file ximpcustomshape.cxx.
References xmloff::EnhancedCustomShapeToken::EASGet(), and sax::Converter::GetUnitFromString().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 443 of file ximpcustomshape.cxx.
References comphelper::containerToSequence(), sax::Converter::convertDouble(), xmloff::EnhancedCustomShapeToken::EASGet(), o3tl::getToken(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 505 of file ximpcustomshape.cxx.
References xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::createFastChildContext().
|
static |
Definition at line 519 of file ximpcustomshape.cxx.
References xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::createFastChildContext(), and XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 534 of file ximpcustomshape.cxx.
References comphelper::containerToSequence(), xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 581 of file ximpcustomshape.cxx.
References comphelper::containerToSequence(), xmloff::EnhancedCustomShapeToken::EAS_Coordinates, xmloff::EnhancedCustomShapeToken::EAS_Segments, xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), nIndex, and u.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 556 of file ximpcustomshape.cxx.
References comphelper::containerToSequence(), xmloff::EnhancedCustomShapeToken::EASGet(), GetNextParameter(), and nIndex.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 125 of file ximpcustomshape.cxx.
References SvXMLUnitConverter::convertEnum(), and xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 174 of file ximpcustomshape.cxx.
References nIndex.
Referenced by XMLEnhancedCustomShapeContext::endFastElement(), and GetNextParameter().
|
static |
Definition at line 89 of file ximpcustomshape.cxx.
References sax::Converter::convertNumber(), and xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 197 of file ximpcustomshape.cxx.
References sax::Converter::convertDouble(), sax::Converter::convertNumber(), GetEquationName(), o3tl::matchIgnoreAsciiCase(), nIndex, nValue, and u.
Referenced by GetAdjustmentValues(), GetEnhancedParameter(), GetEnhancedParameterPair(), GetEnhancedParameterPairSequence(), GetEnhancedPath(), GetEnhancedRectangleSequence(), and XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 429 of file ximpcustomshape.cxx.
References SvXMLUnitConverter::convertPosition3D(), and xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 468 of file ximpcustomshape.cxx.
References sax::Converter::convertNumber(), xmloff::EnhancedCustomShapeToken::EASGet(), o3tl::getToken(), n, nIndex, and pValues.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 115 of file ximpcustomshape.cxx.
References xmloff::EnhancedCustomShapeToken::EASGet().
Referenced by XMLEnhancedCustomShapeContext::startFastElement().
|
static |
Definition at line 1162 of file ximpcustomshape.cxx.
References comphelper::containerToSequence().
Referenced by XMLEnhancedCustomShapeContext::endFastElement().
|
static |
Definition at line 1188 of file ximpcustomshape.cxx.
References comphelper::containerToSequence().
|
static |
Definition at line 1175 of file ximpcustomshape.cxx.
References comphelper::containerToSequence().
| const SvXMLEnumMapEntry<sal_uInt16> aXML_GluePointEnumMap[] |
Definition at line 68 of file ximpcustomshape.cxx.
Referenced by XMLEnhancedCustomShapeContext::startFastElement().