diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-18 08:16:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-18 08:30:12 +0200 |
commit | 3168756d6e34e7dc86eacafd54905e5a527f2bb2 (patch) | |
tree | bf07256a3bae50c7aec622bc09c7fb924292d268 /oox | |
parent | 17196e613b61e4f5ae3b714006dd2f449c75188d (diff) |
Remove now unused oox::drawingml::CustomShapeProperties::PresetsMap
Change-Id: I25a713094089f4d6df9fbb3ce9e5015ea66eb34a
Diffstat (limited to 'oox')
-rw-r--r-- | oox/Library_oox.mk | 6 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets1.cxx | 11094 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets2.cxx | 9429 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets3.cxx | 6896 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets4.cxx | 8940 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets5.cxx | 9881 | ||||
-rw-r--r-- | oox/source/drawingml/customshapepresets6.cxx | 3556 | ||||
-rw-r--r-- | oox/source/drawingml/customshapeproperties.cxx | 1 |
8 files changed, 0 insertions, 49803 deletions
diff --git a/oox/Library_oox.mk b/oox/Library_oox.mk index f27d0fa4e596..791c2f0d543e 100644 --- a/oox/Library_oox.mk +++ b/oox/Library_oox.mk @@ -132,12 +132,6 @@ $(eval $(call gb_Library_add_exception_objects,oox,\ oox/source/drawingml/color \ oox/source/drawingml/connectorshapecontext \ oox/source/drawingml/customshapegeometry \ - oox/source/drawingml/customshapepresets1 \ - oox/source/drawingml/customshapepresets2 \ - oox/source/drawingml/customshapepresets3 \ - oox/source/drawingml/customshapepresets4 \ - oox/source/drawingml/customshapepresets5 \ - oox/source/drawingml/customshapepresets6 \ oox/source/drawingml/customshapepresetdata \ oox/source/drawingml/customshapeproperties \ oox/source/drawingml/diagram/constraintlistcontext \ diff --git a/oox/source/drawingml/customshapepresets1.cxx b/oox/source/drawingml/customshapepresets1.cxx deleted file mode 100644 index 639b64407f8d..000000000000 --- a/oox/source/drawingml/customshapepresets1.cxx +++ /dev/null @@ -1,11094 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeCaccentBorderCallout1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -38333); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentBorderCallout1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCaccentBorderCallout2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (6); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -46667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentBorderCallout2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCaccentBorderCallout3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 100000); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - { - Any aAny ((sal_Int32) 112963); - aAdjSequence [6].Value = aAny; - aAdjSequence [6].Name = "adj7"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [7].Value = aAny; - aAdjSequence [7].Name = "adj8"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logheight*$6 /100000", - "logwidth*$7 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 7); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 6); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentBorderCallout3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCaccentCallout1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -38333); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentCallout1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCaccentCallout2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (6); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -46667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentCallout2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCaccentCallout3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 100000); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - { - Any aAny ((sal_Int32) 112963); - aAdjSequence [6].Value = aAny; - aAdjSequence [6].Name = "adj7"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [7].Value = aAny; - aAdjSequence [7].Name = "adj8"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logheight*$6 /100000", - "logwidth*$7 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 7); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 6); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-accentCallout3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonBackPrevious : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,2, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonBackPrevious")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonBeginning : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *1/8", - "?8 *1/4", - "?6 +?9 -0", - "?6 +?10 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonBeginning")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonBlank : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonBlank")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonDocument : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "?0 *9/32", - "logwidth/2", - "?6 +0-?5 ", - "?6 +?5 -0", - "?0 *3/16", - "?8 +0-?9 ", - "?3 +?9 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 12, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 12, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,4, - 4,0, - 7,0, - 5,0, - 1,1, - 2,5, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,4, - 4,0, - 1,1, - 2,2, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonDocument")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonEnd : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *3/4", - "?8 *7/8", - "?6 +?9 -0", - "?6 +?10 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonEnd")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonForwardNext : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,2, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonForwardNext")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonHelp : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "logwidth/2", - "?4 +0-?1 ", - "?0 *3/4", - "?6 *1/7", - "?6 *3/14", - "?6 *2/7", - "?6 *3/7", - "?6 *4/7", - "?6 *17/28", - "?6 *21/28", - "?6 *11/14", - "?3 +?9 -0", - "?3 +?12 -0", - "?3 +?13 -0", - "?3 +?14 -0", - "?5 +?8 -0", - "?5 +?10 -0", - "?5 +?11 -0", - "?6 *1/14", - "?6 *3/28", - "logwidth", - "logheight", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 24, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 57 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 59 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 62, 63 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 64, 65 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 66, 67 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 24, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 25 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 17,3, - 2,3, - 17,3, - 4,0, - 1,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,3, - 2,3, - 17,3, - 4,0, - 1,1, - 17,1, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 17,3, - 2,3, - 17,3, - 4,0, - 1,1, - 17,1, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonHelp")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonHome : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *1/16", - "?8 *1/8", - "?8 *3/16", - "?8 *5/16", - "?8 *7/16", - "?8 *9/16", - "?8 *11/16", - "?8 *3/4", - "?8 *13/16", - "?8 *7/8", - "?3 +?9 -0", - "?3 +?11 -0", - "?3 +?12 -0", - "?3 +?16 -0", - "?6 +?10 -0", - "?6 +?13 -0", - "?6 +?14 -0", - "?6 +?15 -0", - "?6 +?17 -0", - "?6 +?18 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 29, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 29, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 30 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,10, - 4,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 1,1, - 2,7, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,3, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,10, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,3, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonHome")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonInformation : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "logwidth/2", - "?4 +0-?1 ", - "?0 *3/4", - "?6 *1/32", - "?6 *5/16", - "?6 *3/8", - "?6 *13/32", - "?6 *19/32", - "?6 *11/16", - "?6 *13/16", - "?6 *7/8", - "?3 +?7 -0", - "?3 +?8 -0", - "?3 +?9 -0", - "?3 +?13 -0", - "?3 +?14 -0", - "?5 +?8 -0", - "?5 +?10 -0", - "?5 +?11 -0", - "?5 +?12 -0", - "?6 *3/32", - "logwidth", - "logheight", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(16200000)/60000.0", - "(21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 25, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 25, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 26 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 4,0, - 1,1, - 17,1, - 1,1, - 2,9, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 17,1, - 1,1, - 2,9, - 4,0, - 20,0, - 7,0, - 5,0, - 1,1, - 17,1, - 4,0, - 1,1, - 17,1, - 1,1, - 2,9, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonInformation")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonMovie : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *1455/21600", - "?8 *1905/21600", - "?8 *2325/21600", - "?8 *16155/21600", - "?8 *17010/21600", - "?8 *19335/21600", - "?8 *19725/21600", - "?8 *20595/21600", - "?8 *5280/21600", - "?8 *5730/21600", - "?8 *6630/21600", - "?8 *7492/21600", - "?8 *9067/21600", - "?8 *9555/21600", - "?8 *13342/21600", - "?8 *14580/21600", - "?8 *15592/21600", - "?6 +?9 -0", - "?6 +?10 -0", - "?6 +?11 -0", - "?6 +?12 -0", - "?6 +?13 -0", - "?6 +?14 -0", - "?6 +?15 -0", - "?6 +?16 -0", - "?3 +?17 -0", - "?3 +?18 -0", - "?3 +?19 -0", - "?3 +?20 -0", - "?3 +?21 -0", - "?3 +?22 -0", - "?3 +?23 -0", - "?3 +?24 -0", - "?3 +?25 -0", - "?3 +?26 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 44, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 39 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 44, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 45 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,18, - 4,0, - 7,0, - 5,0, - 1,1, - 2,18, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,18, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonMovie")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonReturn : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *7/8", - "?8 *3/4", - "?8 *5/8", - "?8 *3/8", - "?8 *1/4", - "?3 +?10 -0", - "?3 +?11 -0", - "?3 +?13 -0", - "?6 +?9 -0", - "?6 +?10 -0", - "?6 +?11 -0", - "?6 +?12 -0", - "?6 +?13 -0", - "?8 *1/8", - "logwidth", - "logheight", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,4, - 17,1, - 2,1, - 17,1, - 2,3, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 2,4, - 17,1, - 2,1, - 17,1, - 2,3, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,2, - 17,1, - 2,1, - 17,1, - 2,3, - 17,1, - 2,1, - 17,1, - 2,3, - 4,0, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonReturn")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCactionButtonSound : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *3/8", - "logheight/2", - "?2 +0-?1 ", - "?2 +?1 -0", - "logwidth/2", - "?5 +0-?1 ", - "?5 +?1 -0", - "?0 *3/4", - "?8 *1/8", - "?8 *5/16", - "?8 *5/8", - "?8 *11/16", - "?8 *3/4", - "?8 *7/8", - "?3 +?9 -0", - "?3 +?10 -0", - "?3 +?12 -0", - "?3 +?14 -0", - "?6 +?10 -0", - "?6 +?11 -0", - "?6 +?13 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 18 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 23 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,5, - 4,0, - 7,0, - 5,0, - 1,1, - 2,5, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,5, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-actionButtonSound")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCarc : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16200000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))", - "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))", - "?1 +0-?0 ", - "?2 +21600000-0", - "if(?2 ,?2 ,?3 )", - "logwidth/2", - "?5 *sin(pi*(?0 )/10800000)", - "logheight/2", - "?7 *cos(pi*(?0 )/10800000)", - "?5 *(cos(atan2(?6 ,?8 )))", - "?7 *(sin(atan2(?6 ,?8 )))", - "?5 *sin(pi*(?1 )/10800000)", - "?7 *cos(pi*(?1 )/10800000)", - "?5 *(cos(atan2(?11 ,?12 )))", - "?7 *(sin(atan2(?11 ,?12 )))", - "logwidth/2", - "?15 +?9 -0", - "logheight/2", - "?17 +?10 -0", - "?15 +?13 -0", - "?17 +?14 -0", - "21600000+0-?0 ", - "?4 +0-?21 ", - "max(?16 ,?19 )", - "if(?22 ,logwidth,?23 )", - "5400000+0-?0 ", - "27000000+0-?0 ", - "if(?25 ,?25 ,?26 )", - "?4 +0-?27 ", - "max(?18 ,?20 )", - "if(?28 ,logheight,?29 )", - "10800000+0-?0 ", - "32400000+0-?0 ", - "if(?31 ,?31 ,?32 )", - "?4 +0-?33 ", - "min(?16 ,?19 )", - "if(?34 ,0,?35 )", - "16200000+0-?0 ", - "37800000+0-?0 ", - "if(?37 ,?37 ,?38 )", - "?4 +0-?39 ", - "min(?18 ,?20 )", - "if(?40 ,0,?41 )", - "?0 +0-5400000", - "?1 +5400000-0", - "(?43 +?44 )/2", - "(?0 )/60000.0", - "(?4 )/60000.0", - "(?0 )/60000.0", - "(?4 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 42 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-arc")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 43750); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))", - "min(logwidth,logheight)", - "?4 *?2 /100000", - "?4 *?0 /100000", - "?5 *1/2", - "?6 +0-?7 ", - "?4 *?3 /100000", - "logwidth+0-?9 ", - "logheight+0-?8 ", - "min(?10 ,?11 )", - "100000*?12 /?4 ", - "if(0-$3 ,0,if(?13 -$3 ,$3 ,?13 ))", - "?4 *?14 /100000", - "?15 +0-?5 ", - "max(?16 ,0)", - "?5 +?17 -0", - "logwidth+0-?9 ", - "?8 +?5 -0", - "?20 +?8 -0", - "?8 +?15 -0", - "?20 +?17 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 15, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 13); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 24 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,6, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 24 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentConnector2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentConnector2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentConnector3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logheight/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentConnector3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentConnector4 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "(?0 +logwidth)/2", - "logheight*$1 /100000", - "(0+?2 )/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 5 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentConnector4")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentConnector5 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logwidth*$2 /100000", - "(?0 +?1 )/2", - "logheight*$1 /100000", - "(0+?3 )/2", - "(logheight+?3 )/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentConnector5")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbentUpArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))", - "min(logwidth,logheight)", - "?3 *?2 /100000", - "?3 *?1 /50000", - "logwidth+0-?5 ", - "?3 *?1 /100000", - "logwidth+0-?7 ", - "?3 *?0 /200000", - "?8 +0-?9 ", - "?8 +?9 -0", - "?3 *?0 /100000", - "logheight+0-?12 ", - "?11 *1/2", - "(?13 +logheight)/2", - "(?4 +logheight)/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 17 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,8, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 17 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bentUpArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbevel : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 21,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 20,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 18,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 1,1, - 2,3, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bevel")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCblockArc : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 10800000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))", - "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))", - "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))", - "?1 +0-?0 ", - "?3 +21600000-0", - "if(?3 ,?3 ,?4 )", - "0+0-?5 ", - "logwidth/2", - "?7 *sin(pi*(?0 )/10800000)", - "logheight/2", - "?9 *cos(pi*(?0 )/10800000)", - "?7 *sin(pi*(?1 )/10800000)", - "?9 *cos(pi*(?1 )/10800000)", - "?7 *(cos(atan2(?8 ,?10 )))", - "?9 *(sin(atan2(?8 ,?10 )))", - "?7 *(cos(atan2(?11 ,?12 )))", - "?9 *(sin(atan2(?11 ,?12 )))", - "logwidth/2", - "?17 +?13 -0", - "logheight/2", - "?19 +?14 -0", - "?17 +?15 -0", - "?19 +?16 -0", - "min(logwidth,logheight)", - "?23 *?2 /100000", - "?7 +0-?24 ", - "?9 +0-?24 ", - "?25 *sin(pi*(?1 )/10800000)", - "?26 *cos(pi*(?1 )/10800000)", - "?25 *sin(pi*(?0 )/10800000)", - "?26 *cos(pi*(?0 )/10800000)", - "?25 *(cos(atan2(?27 ,?28 )))", - "?26 *(sin(atan2(?27 ,?28 )))", - "?25 *(cos(atan2(?29 ,?30 )))", - "?26 *(sin(atan2(?29 ,?30 )))", - "?17 +?31 -0", - "?19 +?32 -0", - "?17 +?33 -0", - "?19 +?34 -0", - "21600000+0-?0 ", - "?5 +0-?39 ", - "max(?18 ,?35 )", - "max(?21 ,?37 )", - "max(?41 ,?42 )", - "if(?40 ,logwidth,?43 )", - "5400000+0-?0 ", - "27000000+0-?0 ", - "if(?45 ,?45 ,?46 )", - "?5 +0-?47 ", - "max(?20 ,?36 )", - "max(?22 ,?38 )", - "max(?49 ,?50 )", - "if(?48 ,logheight,?51 )", - "10800000+0-?0 ", - "32400000+0-?0 ", - "if(?53 ,?53 ,?54 )", - "?5 +0-?55 ", - "min(?18 ,?35 )", - "min(?21 ,?37 )", - "min(?57 ,?58 )", - "if(?56 ,0,?59 )", - "16200000+0-?0 ", - "37800000+0-?0 ", - "if(?61 ,?61 ,?62 )", - "?5 +0-?63 ", - "min(?20 ,?36 )", - "min(?22 ,?38 )", - "min(?65 ,?66 )", - "if(?64 ,0,?67 )", - "(?18 +?37 )/2", - "(?20 +?38 )/2", - "(?21 +?35 )/2", - "(?22 +?36 )/2", - "?0 +0-5400000", - "?1 +5400000-0", - "(?73 +?74 )/2", - "(?0 )/60000.0", - "(?5 )/60000.0", - "(?1 )/60000.0", - "(?6 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 76, 77 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 78, 79 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 68 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 52 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-blockArc")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCborderCallout1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -38333); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-borderCallout1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCborderCallout2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (6); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -46667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-borderCallout2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCborderCallout3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 100000); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - { - Any aAny ((sal_Int32) 112963); - aAdjSequence [6].Value = aAny; - aAdjSequence [6].Name = "adj7"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [7].Value = aAny; - aAdjSequence [7].Name = "adj8"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logheight*$6 /100000", - "logwidth*$7 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 7); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 6); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-borderCallout3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbracePair : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 8333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "?1 *?0 /50000", - "logwidth+0-?3 ", - "logwidth+0-?2 ", - "logheight/2", - "?6 +0-?2 ", - "?6 +?2 -0", - "logheight+0-?2 ", - "?2 *29289/100000", - "?2 +?10 -0", - "logwidth+0-?11 ", - "logheight+0-?10 ", - "logwidth/2", - "logheight", - "logwidth", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 11 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bracePair")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCbracketPair : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "?2 *29289/100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 1,1, - 17,1, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-bracketPair")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcallout1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -38333); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-callout1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcallout2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (6); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 112500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -46667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-callout2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcallout3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 100000); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - { - Any aAny ((sal_Int32) -16667); - aAdjSequence [5].Value = aAny; - aAdjSequence [5].Name = "adj6"; - } - { - Any aAny ((sal_Int32) 112963); - aAdjSequence [6].Value = aAny; - aAdjSequence [6].Name = "adj7"; - } - { - Any aAny ((sal_Int32) -8333); - aAdjSequence [7].Value = aAny; - aAdjSequence [7].Name = "adj8"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight*$0 /100000", - "logwidth*$1 /100000", - "logheight*$2 /100000", - "logwidth*$3 /100000", - "logheight*$4 /100000", - "logwidth*$5 /100000", - "logheight*$6 /100000", - "logwidth*$7 /100000", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 5); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 7); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 6); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-callout3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap1() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout1" ) ] = new ShapeCaccentBorderCallout1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout2" ) ] = new ShapeCaccentBorderCallout2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout3" ) ] = new ShapeCaccentBorderCallout3(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentCallout1" ) ] = new ShapeCaccentCallout1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentCallout2" ) ] = new ShapeCaccentCallout2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentCallout3" ) ] = new ShapeCaccentCallout3(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBackPrevious" ) ] = new ShapeCactionButtonBackPrevious(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBeginning" ) ] = new ShapeCactionButtonBeginning(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBlank" ) ] = new ShapeCactionButtonBlank(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonDocument" ) ] = new ShapeCactionButtonDocument(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonEnd" ) ] = new ShapeCactionButtonEnd(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonForwardNext" ) ] = new ShapeCactionButtonForwardNext(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonHelp" ) ] = new ShapeCactionButtonHelp(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonHome" ) ] = new ShapeCactionButtonHome(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonInformation" ) ] = new ShapeCactionButtonInformation(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonMovie" ) ] = new ShapeCactionButtonMovie(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonReturn" ) ] = new ShapeCactionButtonReturn(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonSound" ) ] = new ShapeCactionButtonSound(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "arc" ) ] = new ShapeCarc(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentArrow" ) ] = new ShapeCbentArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector2" ) ] = new ShapeCbentConnector2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector3" ) ] = new ShapeCbentConnector3(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector4" ) ] = new ShapeCbentConnector4(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector5" ) ] = new ShapeCbentConnector5(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentUpArrow" ) ] = new ShapeCbentUpArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bevel" ) ] = new ShapeCbevel(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "blockArc" ) ] = new ShapeCblockArc(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout1" ) ] = new ShapeCborderCallout1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout2" ) ] = new ShapeCborderCallout2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout3" ) ] = new ShapeCborderCallout3(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bracePair" ) ] = new ShapeCbracePair(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bracketPair" ) ] = new ShapeCbracketPair(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout1" ) ] = new ShapeCcallout1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout2" ) ] = new ShapeCcallout2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout3" ) ] = new ShapeCcallout3(); -} - -} } // oox // drawingml - diff --git a/oox/source/drawingml/customshapepresets2.cxx b/oox/source/drawingml/customshapepresets2.cxx deleted file mode 100644 index c45200fcd35b..000000000000 --- a/oox/source/drawingml/customshapepresets2.cxx +++ /dev/null @@ -1,9429 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeCcan : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /200000", - "?3 +?3 -0", - "logheight+0-?3 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/2", - "(10800000)/60000.0", - "(-10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,2, - 4,0, - 20,0, - 7,0, - 5,0, - 1,1, - 17,2, - 2,1, - 17,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-can")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCchartPlus : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Equations, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 7,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (2); - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [1] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 400000; - aRectangle.Height = 400000; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-chartPlus")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCchartStar : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Equations, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 7,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (2); - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [1] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 400000; - aRectangle.Height = 400000; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-chartStar")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCchartX : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Equations, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 7,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (2); - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [1] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 400000; - aRectangle.Height = 400000; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-chartX")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCchevron : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /100000", - "logwidth+0-?3 ", - "?4 *1/2", - "?4 +0-?3 ", - "if(?6 ,?3 ,0)", - "if(?6 ,?4 ,logwidth)", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 10 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-chevron")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCchord : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 2700000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 16200000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))", - "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))", - "?1 +0-?0 ", - "?2 +21600000-0", - "if(?2 ,?2 ,?3 )", - "logwidth/2", - "?5 *sin(pi*(?0 )/10800000)", - "logheight/2", - "?7 *cos(pi*(?0 )/10800000)", - "?5 *(cos(atan2(?6 ,?8 )))", - "?7 *(sin(atan2(?6 ,?8 )))", - "?5 *sin(pi*(?1 )/10800000)", - "?7 *cos(pi*(?1 )/10800000)", - "?5 *(cos(atan2(?11 ,?12 )))", - "?7 *(sin(atan2(?11 ,?12 )))", - "logwidth/2", - "?15 +?9 -0", - "logheight/2", - "?17 +?10 -0", - "?15 +?13 -0", - "?17 +?14 -0", - "(?16 +?19 )/2", - "(?18 +?20 )/2", - "?4 *1/2", - "?0 +?23 -10800000", - "?5 *cos(pi*(2700000)/10800000)", - "?7 *sin(pi*(2700000)/10800000)", - "?15 +0-?25 ", - "?15 +?25 -0", - "?17 +0-?26 ", - "?17 +?26 -0", - "(?0 )/60000.0", - "(?4 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 29 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-chord")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcircularArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 1142319); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 20457681); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 10800000); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))", - "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))", - "min(logwidth,logheight)", - "?5 *?2 /100000", - "?5 *?0 /100000", - "?6 *1/2", - "logwidth/2", - "?9 +?8 -?7 ", - "logheight/2", - "?11 +?8 -?7 ", - "?10 +0-?6 ", - "?12 +0-?6 ", - "?13 +?8 -0", - "?14 +?8 -0", - "?15 *sin(pi*(?3 )/10800000)", - "?16 *cos(pi*(?3 )/10800000)", - "?15 *(cos(atan2(?17 ,?18 )))", - "?16 *(sin(atan2(?17 ,?18 )))", - "logwidth/2", - "?21 +?19 -0", - "logheight/2", - "?23 +?20 -0", - "min(?13 ,?14 )", - "?19 *?19 /1", - "?20 *?20 /1", - "?25 *?25 /1", - "?26 +0-?28 ", - "?27 +0-?28 ", - "?29 *?30 /?26 ", - "?31 *1/?27 ", - "1+0-?32 ", - "sqrt(?33 )", - "?29 *1/?19 ", - "?35 *1/?20 ", - "(1+?34 )/?36 ", - "(10800000*atan2(?37 ,1))/pi", - "?38 +21600000-0", - "if(?38 ,?38 ,?39 )", - "?40 +0-?3 ", - "?41 +21600000-0", - "if(?41 ,?41 ,?42 )", - "?43 +0-10800000", - "?43 +0-21600000", - "if(?44 ,?45 ,?43 )", - "abs(?46 )", - "if(0-$1 ,0,if(?47 -$1 ,$1 ,?47 ))", - "?3 +?48 -0", - "?15 *sin(pi*(?49 )/10800000)", - "?16 *cos(pi*(?49 )/10800000)", - "?15 *(cos(atan2(?50 ,?51 )))", - "?16 *(sin(atan2(?50 ,?51 )))", - "?21 +?52 -0", - "?23 +?53 -0", - "?10 *sin(pi*(?4 )/10800000)", - "?12 *cos(pi*(?4 )/10800000)", - "?10 *(cos(atan2(?56 ,?57 )))", - "?12 *(sin(atan2(?56 ,?57 )))", - "?21 +?58 -0", - "?23 +?59 -0", - "?7 *cos(pi*(?49 )/10800000)", - "?7 *sin(pi*(?49 )/10800000)", - "?22 +?62 -0", - "?24 +?63 -0", - "?7 *cos(pi*(?49 )/10800000)", - "?7 *sin(pi*(?49 )/10800000)", - "?22 +0-?66 ", - "?24 +0-?67 ", - "?68 +0-?21 ", - "?69 +0-?23 ", - "?64 +0-?21 ", - "?65 +0-?23 ", - "min(?10 ,?12 )", - "?70 *?74 /?10 ", - "?71 *?74 /?12 ", - "?72 *?74 /?10 ", - "?73 *?74 /?12 ", - "?77 +0-?75 ", - "?78 +0-?76 ", - "sqrt(?79 *?79 +?80 *?80 +0*0)", - "?75 *?78 /1", - "?77 *?76 /1", - "?82 +0-?83 ", - "?74 *?74 /1", - "?81 *?81 /1", - "?85 *?86 /1", - "?84 *?84 /1", - "?87 +0-?88 ", - "max(?89 ,0)", - "sqrt(?90 )", - "?80 *-1/1", - "if(?92 ,-1,1)", - "?93 *?79 /1", - "?94 *?91 /1", - "?84 *?80 /1", - "(?96 +?95 )/?86 ", - "?96 +0-?95 ", - "?98 *1/?86 ", - "abs(?80 )", - "?100 *?91 /1", - "?84 *?79 /-1", - "(?102 +?101 )/?86 ", - "?102 +0-?101 ", - "?104 *1/?86 ", - "?77 +0-?97 ", - "?77 +0-?99 ", - "?78 +0-?103 ", - "?78 +0-?105 ", - "sqrt(?106 *?106 +?108 *?108 +0*0)", - "sqrt(?107 *?107 +?109 *?109 +0*0)", - "?111 +0-?110 ", - "if(?112 ,?97 ,?99 )", - "if(?112 ,?103 ,?105 )", - "?113 *?10 /?74 ", - "?114 *?12 /?74 ", - "?21 +?115 -0", - "?23 +?116 -0", - "?70 *?25 /?13 ", - "?71 *?25 /?14 ", - "?72 *?25 /?13 ", - "?73 *?25 /?14 ", - "?121 +0-?119 ", - "?122 +0-?120 ", - "sqrt(?123 *?123 +?124 *?124 +0*0)", - "?119 *?122 /1", - "?121 *?120 /1", - "?126 +0-?127 ", - "?25 *?25 /1", - "?125 *?125 /1", - "?129 *?130 /1", - "?128 *?128 /1", - "?131 +0-?132 ", - "max(?133 ,0)", - "sqrt(?134 )", - "?93 *?123 /1", - "?136 *?135 /1", - "?128 *?124 /1", - "(?138 +?137 )/?130 ", - "?138 +0-?137 ", - "?140 *1/?130 ", - "abs(?124 )", - "?142 *?135 /1", - "?128 *?123 /-1", - "(?144 +?143 )/?130 ", - "?144 +0-?143 ", - "?146 *1/?130 ", - "?119 +0-?139 ", - "?119 +0-?141 ", - "?120 +0-?145 ", - "?120 +0-?147 ", - "sqrt(?148 *?148 +?150 *?150 +0*0)", - "sqrt(?149 *?149 +?151 *?151 +0*0)", - "?153 +0-?152 ", - "if(?154 ,?139 ,?141 )", - "if(?154 ,?145 ,?147 )", - "?155 *?13 /?25 ", - "?156 *?14 /?25 ", - "?21 +?157 -0", - "?23 +?158 -0", - "(10800000*atan2(?158 ,?157 ))/pi", - "?161 +21600000-0", - "if(?161 ,?161 ,?162 )", - "?4 +0-?163 ", - "?164 +0-21600000", - "if(?164 ,?165 ,?164 )", - "?117 +0-?159 ", - "?118 +0-?160 ", - "sqrt(?167 *?167 +?168 *?168 +0*0)", - "?169 *1/2", - "?170 +0-?7 ", - "if(?171 ,?117 ,?64 )", - "if(?171 ,?118 ,?65 )", - "if(?171 ,?159 ,?68 )", - "if(?171 ,?160 ,?69 )", - "(10800000*atan2(?116 ,?115 ))/pi", - "?176 +21600000-0", - "if(?176 ,?176 ,?177 )", - "?178 +0-?4 ", - "?179 +21600000-0", - "if(?179 ,?179 ,?180 )", - "?15 *sin(pi*(?4 )/10800000)", - "?16 *cos(pi*(?4 )/10800000)", - "?15 *(cos(atan2(?182 ,?183 )))", - "?16 *(sin(atan2(?182 ,?183 )))", - "?21 +?184 -0", - "?23 +?185 -0", - "?4 +0-5400000", - "?49 +5400000-0", - "?49 +10800000-0", - "?10 *cos(pi*(2700000)/10800000)", - "?12 *sin(pi*(2700000)/10800000)", - "?21 +0-?191 ", - "?21 +?191 -0", - "?23 +0-?192 ", - "?23 +?192 -0", - "(?4 )/60000.0", - "(?181 )/60000.0", - "(?163 )/60000.0", - "(?166 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 117, 118 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 68, 69 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 197, 198 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 172, 173 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 174, 175 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 159, 160 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 199, 200 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,4, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 193, 195 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 194, 196 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-circularArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcloud : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*2977/21600", - "logheight*3262/21600", - "logwidth*17087/21600", - "logheight*17337/21600", - "logwidth*67/21600", - "logheight*21577/21600", - "logwidth*21582/21600", - "logheight*1235/21600", - "logheight/2", - "logwidth/2", - "(-11429249)/60000.0", - "(7426832)/60000.0", - "(-8646143)/60000.0", - "(5396714)/60000.0", - "(-8748475)/60000.0", - "(5983381)/60000.0", - "(-7859164)/60000.0", - "(7034504)/60000.0", - "(-4722533)/60000.0", - "(6541615)/60000.0", - "(-2776035)/60000.0", - "(7816140)/60000.0", - "(37501)/60000.0", - "(6842000)/60000.0", - "(1347096)/60000.0", - "(6910353)/60000.0", - "(3974558)/60000.0", - "(4542661)/60000.0", - "(-16496525)/60000.0", - "(8804134)/60000.0", - "(-14809710)/60000.0", - "(9151131)/60000.0", - "(5204520)/60000.0", - "(1585770)/60000.0", - "(4416628)/60000.0", - "(686848)/60000.0", - "(8257449)/60000.0", - "(844866)/60000.0", - "(387196)/60000.0", - "(959901)/60000.0", - "(-4217541)/60000.0", - "(4255042)/60000.0", - "(1819082)/60000.0", - "(1665090)/60000.0", - "(-824660)/60000.0", - "(891534)/60000.0", - "(-8950887)/60000.0", - "(1091722)/60000.0", - "(-9809656)/60000.0", - "(1061181)/60000.0", - "(-4002417)/60000.0", - "(739161)/60000.0", - "(9459261)/60000.0", - "(711490)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3900, 14370 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7267 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4365, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7273 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6775, 9220 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5785, 7867 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7720, 10543 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4360, 5918 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4345, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 31 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4693, 26177 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4345, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6928, 34899 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4360, 5918 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16478, 39090 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 37 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 28827, 34751 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 39 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 34129, 22954 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5785, 7867 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 41798, 15354 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7273 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 38324, 5426 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 29078, 3952 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 22141, 4720 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4365, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14000, 5192 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4127, 15789 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,11, - 4,0, - 5,0, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (2); - { - awt::Size aSize; - aSize.Width = 43200; - aSize.Height = 43200; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 43200; - aSize.Height = 43200; - aSizeSequence [1] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-cloud")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcloudCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) -20833); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 62500); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logheight*$1 /100000", - "logwidth/2", - "?2 +?0 -0", - "logheight/2", - "?4 +?1 -0", - "logheight/2", - "?6 *(cos(atan2(?1 ,?0 )))", - "logwidth/2", - "?8 *(sin(atan2(?1 ,?0 )))", - "?8 *(cos(atan2(?9 ,?7 )))", - "?6 *(sin(atan2(?9 ,?7 )))", - "?2 +?10 -0", - "?4 +?11 -0", - "?12 +0-?3 ", - "?13 +0-?5 ", - "sqrt(?14 *?14 +?15 *?15 +0*0)", - "min(logwidth,logheight)", - "?17 *6600/21600", - "?16 +0-?18 ", - "?19 *1/3", - "?17 *1800/21600", - "?20 +?21 -0", - "?22 *?14 /?16 ", - "?22 *?15 /?16 ", - "?23 +?3 -0", - "?24 +?5 -0", - "?17 *4800/21600", - "?20 *2/1", - "?27 +?28 -0", - "?29 *?14 /?16 ", - "?29 *?15 /?16 ", - "?30 +?3 -0", - "?31 +?5 -0", - "?17 *1200/21600", - "?17 *600/21600", - "?3 +?35 -0", - "?25 +?34 -0", - "?32 +?21 -0", - "logwidth*2977/21600", - "logheight*3262/21600", - "logwidth*17087/21600", - "logheight*17337/21600", - "logwidth*67/21600", - "logheight*21577/21600", - "logwidth*21582/21600", - "logheight*1235/21600", - "(10800000*atan2(?1 ,?0 ))/pi", - "(-11429249)/60000.0", - "(7426832)/60000.0", - "(-8646143)/60000.0", - "(5396714)/60000.0", - "(-8748475)/60000.0", - "(5983381)/60000.0", - "(-7859164)/60000.0", - "(7034504)/60000.0", - "(-4722533)/60000.0", - "(6541615)/60000.0", - "(-2776035)/60000.0", - "(7816140)/60000.0", - "(37501)/60000.0", - "(6842000)/60000.0", - "(1347096)/60000.0", - "(6910353)/60000.0", - "(3974558)/60000.0", - "(4542661)/60000.0", - "(-16496525)/60000.0", - "(8804134)/60000.0", - "(-14809710)/60000.0", - "(9151131)/60000.0", - "(0)/60000.0", - "(21600000)/60000.0", - "(0)/60000.0", - "(21600000)/60000.0", - "(0)/60000.0", - "(21600000)/60000.0", - "(5204520)/60000.0", - "(1585770)/60000.0", - "(4416628)/60000.0", - "(686848)/60000.0", - "(8257449)/60000.0", - "(844866)/60000.0", - "(387196)/60000.0", - "(959901)/60000.0", - "(-4217541)/60000.0", - "(4255042)/60000.0", - "(1819082)/60000.0", - "(1665090)/60000.0", - "(-824660)/60000.0", - "(891534)/60000.0", - "(-8950887)/60000.0", - "(1091722)/60000.0", - "(-9809656)/60000.0", - "(1061181)/60000.0", - "(-4002417)/60000.0", - "(739161)/60000.0", - "(9459261)/60000.0", - "(711490)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3900, 14370 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7267 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4365, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7273 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 57 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6775, 9220 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 59 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5785, 7867 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 62, 63 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7720, 10543 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 64, 65 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4360, 5918 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 66, 67 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4345, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 68, 69 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 70, 71 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 72, 73 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 74, 75 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4693, 26177 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4345, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 76, 77 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6928, 34899 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4360, 5918 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 78, 79 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16478, 39090 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 80, 81 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 28827, 34751 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6752, 9215 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 82, 83 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 34129, 22954 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5785, 7867 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 84, 85 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 41798, 15354 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5333, 7273 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 86, 87 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 38324, 5426 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 88, 89 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 29078, 3952 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4857, 6595 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 90, 91 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 22141, 4720 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4365, 5945 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 92, 93 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14000, 5192 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 94, 95 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4127, 15789 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6753, 9190 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 96, 97 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,11, - 4,0, - 5,0, - 1,1, - 17,1, - 4,0, - 5,0, - 1,1, - 17,1, - 4,0, - 5,0, - 1,1, - 17,1, - 4,0, - 5,0, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 1,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (5); - { - awt::Size aSize; - aSize.Width = 43200; - aSize.Height = 43200; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 0; - aSize.Height = 0; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 0; - aSize.Height = 0; - aSizeSequence [2] = aSize; - } - { - awt::Size aSize; - aSize.Width = 0; - aSize.Height = 0; - aSizeSequence [3] = aSize; - } - { - awt::Size aSize; - aSize.Width = 43200; - aSize.Height = 43200; - aSizeSequence [4] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-cloudCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcorner : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logheight/?0 ", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))", - "?0 *?4 /100000", - "?0 *?3 /100000", - "logheight+0-?6 ", - "?5 *1/2", - "(?7 +logheight)/2", - "logwidth+0-logheight", - "if(?10 ,?7 ,0)", - "if(?10 ,logwidth,?5 )", - "logwidth", - "logwidth/2", - "logheight", - "logheight/2" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 15 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-corner")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcornerTabs : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "sqrt(logwidth*logwidth+logheight*logheight+0*0)", - "1*?0 /20", - "0+logheight-?1 ", - "0+logwidth-?1 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 5,0, - 1,1, - 2,2, - 4,0, - 5,0, - 1,1, - 2,2, - 4,0, - 5,0, - 1,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-cornerTabs")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcube : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logheight+0-?2 ", - "?3 *1/2", - "(?2 +logheight)/2", - "logwidth+0-?2 ", - "?6 *1/2", - "(?2 +logwidth)/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,3, - 4,0, - 21,0, - 7,0, - 5,0, - 1,1, - 2,5, - 4,0, - 1,1, - 2,2, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-cube")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedConnector2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth", - "logheight", - "logwidth/2", - "logheight/2" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedConnector2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedConnector3 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "(0+?0 )/2", - "(logwidth+?0 )/2", - "logheight*3/4", - "logheight/2", - "logwidth", - "logheight", - "logheight/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,2, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 6 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedConnector3")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedConnector4 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "(0+?0 )/2", - "(logwidth+?0 )/2", - "(?0 +?2 )/2", - "(?2 +logwidth)/2", - "logheight*$1 /100000", - "(0+?5 )/2", - "(0+?6 )/2", - "(?6 +?5 )/2", - "(logheight+?5 )/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,3, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedConnector4")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedConnector5 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logwidth*$2 /100000", - "(?0 +?1 )/2", - "(0+?0 )/2", - "(?0 +?2 )/2", - "(?1 +?2 )/2", - "(?1 +logwidth)/2", - "logheight*$1 /100000", - "(0+?7 )/2", - "(0+?8 )/2", - "(?8 +?7 )/2", - "(logheight+?7 )/2", - "(?11 +?7 )/2", - "(?11 +logheight)/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 11 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,4, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedConnector5")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedDownArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "?0 *?3 /100000", - "?0 *?2 /100000", - "(?4 +?5 )/4", - "logwidth/2", - "?7 +0-?6 ", - "?8 *2/1", - "?9 *?9 /1", - "?4 *?4 /1", - "?10 +0-?11 ", - "sqrt(?12 )", - "?13 *logheight/?9 ", - "100000*?14 /?0 ", - "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))", - "?0 *$2 /100000", - "?8 +?4 -0", - "logheight*logheight/1", - "?17 *?17 /1", - "?19 +0-?20 ", - "sqrt(?21 )", - "?22 *?8 /logheight", - "?8 +?23 -0", - "?18 +?23 -0", - "?5 +0-?4 ", - "?26 *1/2", - "?24 +0-?27 ", - "?25 +?27 -0", - "?5 *1/2", - "logwidth+0-?30 ", - "logheight+0-?17 ", - "(10800000*atan2(?23 ,?17 ))/pi", - "0+0-?33 ", - "logheight+0-?14 ", - "(?8 +?18 )/2", - "?4 *1/2", - "(10800000*atan2(?37 ,?14 ))/pi", - "16200000+?33 -0", - "16200000+0-?38 ", - "?38 +0-5400000", - "5400000+?38 -0", - "logheight", - "logwidth", - "logheight", - "(?39 )/60000.0", - "(?34 )/60000.0", - "(16200000)/60000.0", - "(?33 )/60000.0", - "(?40 )/60000.0", - "(?41 )/60000.0", - "(10800000)/60000.0", - "(?42 )/60000.0", - "(?40 )/60000.0", - "(?41 )/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(?33 )/60000.0", - "(?39 )/60000.0", - "(?34 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::ADJUSTMENT; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 43 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 32 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 15); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 18, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 57 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 18, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 59 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,4, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 43 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedDownArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedLeftArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))", - "?0 *?3 /100000", - "?0 *?2 /100000", - "(?4 +?5 )/4", - "logheight/2", - "?7 +0-?6 ", - "?8 *2/1", - "?9 *?9 /1", - "?4 *?4 /1", - "?10 +0-?11 ", - "sqrt(?12 )", - "?13 *logwidth/?9 ", - "100000*?14 /?0 ", - "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))", - "?0 *?16 /100000", - "?8 +?4 -0", - "logwidth*logwidth/1", - "?17 *?17 /1", - "?19 +0-?20 ", - "sqrt(?21 )", - "?22 *?8 /logwidth", - "?8 +?23 -0", - "?18 +?23 -0", - "?5 +0-?4 ", - "?26 *1/2", - "?24 +0-?27 ", - "?25 +?27 -0", - "?5 *1/2", - "logheight+0-?30 ", - "0+?17 -0", - "(10800000*atan2(?23 ,?17 ))/pi", - "0+0-?33 ", - "0+?14 -0", - "(?8 +?18 )/2", - "?4 *1/2", - "(10800000*atan2(?37 ,?14 ))/pi", - "?38 +0-?33 ", - "?33 +?38 -0", - "0+0-?38 ", - "logwidth", - "logheight", - "logwidth", - "(?33 )/60000.0", - "(?39 )/60000.0", - "(?41 )/60000.0", - "(?40 )/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(?33 )/60000.0", - "(?33 )/60000.0", - "(?39 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 28 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 43 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 15); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 53, 54 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 55, 56 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 58 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 29 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 59, 60 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 17,2, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,4, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedLeftArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedRightArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))", - "?0 *?3 /100000", - "?0 *?2 /100000", - "(?4 +?5 )/4", - "logheight/2", - "?7 +0-?6 ", - "?8 *2/1", - "?9 *?9 /1", - "?4 *?4 /1", - "?10 +0-?11 ", - "sqrt(?12 )", - "?13 *logwidth/?9 ", - "100000*?14 /?0 ", - "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))", - "?0 *?16 /100000", - "?8 +?4 -0", - "logwidth*logwidth/1", - "?17 *?17 /1", - "?19 +0-?20 ", - "sqrt(?21 )", - "?22 *?8 /logwidth", - "?8 +?23 -0", - "?18 +?23 -0", - "?5 +0-?4 ", - "?26 *1/2", - "?24 +0-?27 ", - "?25 +?27 -0", - "?5 *1/2", - "logheight+0-?30 ", - "logwidth+0-?17 ", - "(10800000*atan2(?23 ,?17 ))/pi", - "10800000+0-?33 ", - "0+0-?33 ", - "logwidth+0-?14 ", - "(?8 +?18 )/2", - "?4 *1/2", - "(10800000*atan2(?38 ,?14 ))/pi", - "?39 +0-5400000", - "5400000+?39 -0", - "10800000+0-?39 ", - "logwidth", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(?35 )/60000.0", - "(?34 )/60000.0", - "(?33 )/60000.0", - "(16200000)/60000.0", - "(?40 )/60000.0", - "(?42 )/60000.0", - "(?41 )/60000.0", - "(10800000)/60000.0", - "(?35 )/60000.0", - "(?34 )/60000.0", - "(?33 )/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(?40 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 28 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 44 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 15); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 57 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 59 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 61 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,4, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,2, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,4, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedRightArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCcurvedUpArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "?0 *?3 /100000", - "?0 *?2 /100000", - "(?4 +?5 )/4", - "logwidth/2", - "?7 +0-?6 ", - "?8 *2/1", - "?9 *?9 /1", - "?4 *?4 /1", - "?10 +0-?11 ", - "sqrt(?12 )", - "?13 *logheight/?9 ", - "100000*?14 /?0 ", - "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))", - "?0 *$2 /100000", - "?8 +?4 -0", - "logheight*logheight/1", - "?17 *?17 /1", - "?19 +0-?20 ", - "sqrt(?21 )", - "?22 *?8 /logheight", - "?8 +?23 -0", - "?18 +?23 -0", - "?5 +0-?4 ", - "?26 *1/2", - "?24 +0-?27 ", - "?25 +?27 -0", - "?5 *1/2", - "logwidth+0-?30 ", - "0+?17 -0", - "(10800000*atan2(?23 ,?17 ))/pi", - "0+0-?33 ", - "0+?14 -0", - "(?8 +?18 )/2", - "?4 *1/2", - "(10800000*atan2(?37 ,?14 ))/pi", - "?38 +0-?33 ", - "0+0-?39 ", - "5400000+0-?33 ", - "?33 +?38 -0", - "5400000+0-?38 ", - "logwidth", - "logheight", - "logheight", - "(?41 )/60000.0", - "(?42 )/60000.0", - "(?43 )/60000.0", - "(?39 )/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(?43 )/60000.0", - "(?39 )/60000.0", - "(?41 )/60000.0", - "(?33 )/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 28, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 32 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 15); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 31, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 53, 54 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 55, 56 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 31, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 58 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 59, 60 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 61, 62 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 17,2, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,4, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-curvedUpArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdecagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 105146); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logheight/2", - "?0 *$0 /100000", - "logwidth/2", - "?2 *cos(pi*(2160000)/10800000)", - "?2 *cos(pi*(4320000)/10800000)", - "logwidth/2", - "?5 +0-?3 ", - "?5 +0-?4 ", - "?5 +?4 -0", - "?5 +?3 -0", - "?1 *sin(pi*(4320000)/10800000)", - "?1 *sin(pi*(2160000)/10800000)", - "logheight/2", - "?12 +0-?10 ", - "?12 +0-?11 ", - "?12 +?11 -0", - "?12 +?10 -0", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,9, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-decagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdiagStripe : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "logwidth*?0 /100000", - "?1 *1/2", - "(?1 +logwidth)/2", - "logheight*?0 /100000", - "?4 *1/2", - "(?4 +logheight)/2", - "logwidth/2", - "logheight/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 6 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-diagStripe")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdiamond : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logheight*3/4", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/4", - "logheight/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-diamond")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdodecagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*2894/21600", - "logwidth*7906/21600", - "logwidth*13694/21600", - "logwidth*18706/21600", - "logheight*2894/21600", - "logheight*7906/21600", - "logheight*13694/21600", - "logheight*18706/21600", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-dodecagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdonut : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth/2", - "?3 +0-?2 ", - "logheight/2", - "?5 +0-?2 ", - "?3 *cos(pi*(2700000)/10800000)", - "?5 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?9 +0-?7 ", - "?9 +?7 -0", - "logheight/2", - "?12 +0-?8 ", - "?12 +?8 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 12 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 1,1, - 17,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 13 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 14 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-donut")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdoubleWave : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 6250); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(12500-$0 ,$0 ,12500))", - "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))", - "logheight*?0 /100000", - "?2 *10/3", - "?2 +0-?3 ", - "?2 +?3 -0", - "logheight+0-?2 ", - "?6 +0-?3 ", - "?6 +?3 -0", - "logwidth*?1 /100000", - "logwidth*?1 /50000", - "abs(?9 )", - "if(?10 ,0,?10 )", - "0+0-?12 ", - "if(?10 ,?10 ,0)", - "logwidth+0-?14 ", - "(?12 +?15 )/6", - "?13 +?16 -0", - "(?12 +?15 )/3", - "?13 +?18 -0", - "(?13 +?15 )/2", - "?20 +?16 -0", - "(?21 +?15 )/2", - "0+?14 -0", - "logwidth+?12 -0", - "?23 +?16 -0", - "?23 +?18 -0", - "(?23 +?24 )/2", - "?27 +?16 -0", - "(?28 +?24 )/2", - "logwidth+0-?11 ", - "logwidth/2", - "?31 +?9 -0", - "max(?13 ,?23 )", - "min(?15 ,?24 )", - "logheight*?0 /50000", - "logheight+0-?35 ", - "logheight", - "logheight/2" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 12500); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 37 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 10000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -10000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,2, - 2,1, - 3,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 35 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-doubleWave")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdownArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logheight/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "logheight+0-?4 ", - "logwidth*?2 /200000", - "logwidth/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logwidth/2", - "?8 *?4 /?10 ", - "?5 +?11 -0", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-downArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCdownArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 64977); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "100000*logheight/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "?6 *?0 /logheight", - "100000+0-?7 ", - "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logwidth/2", - "?12 +0-?10 ", - "?12 +0-?11 ", - "?12 +?11 -0", - "?12 +?10 -0", - "?0 *?6 /100000", - "logheight+0-?17 ", - "logheight*?9 /100000", - "?19 *1/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 8); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,10, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 19 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-downArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCellipse : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +0-?1 ", - "?4 +?1 -0", - "logheight/2", - "?7 +0-?3 ", - "?7 +?3 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-ellipse")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCellipseRibbon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))", - "100000+0-?0 ", - "?2 *1/2", - "?0 +0-?3 ", - "max(0,?4 )", - "if(?5 -$2 ,?5 ,if(?0 -$2 ,$2 ,?0 ))", - "logwidth*?1 /200000", - "logwidth/2", - "?8 +0-?7 ", - "logwidth/8", - "?9 +?10 -0", - "logwidth+0-?11 ", - "logwidth+0-?9 ", - "logwidth+0-?10 ", - "logheight*?6 /100000", - "4*?15 /logwidth", - "?11 *?11 /logwidth", - "?11 +0-?17 ", - "?16 *?18 /1", - "?11 *1/2", - "?16 *?20 /1", - "logwidth+0-?20 ", - "logheight*?0 /100000", - "?23 +0-?15 ", - "?9 *?9 /logwidth", - "?9 +0-?25 ", - "?16 *?26 /1", - "?27 +?24 -0", - "?15 +?24 -?28 ", - "?29 +?15 -0", - "?30 +?24 -0", - "logheight+0-?23 ", - "?15 *14/16", - "(?33 +?32 )/2", - "?27 +?32 -0", - "?28 +?32 -0", - "?9 *1/2", - "?16 *?37 /1", - "?38 +?32 -0", - "logwidth+0-?37 ", - "?31 +?32 -0", - "?19 +?24 -0", - "?23 +?23 -?42 ", - "logheight+0-?15 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 23 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 45 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 75000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 44 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 46, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 39 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 42 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 46, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 39 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,2, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 16,1, - 2,2, - 16,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,2, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,1, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 23 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-ellipseRibbon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCellipseRibbon2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))", - "100000+0-?0 ", - "?2 *1/2", - "?0 +0-?3 ", - "max(0,?4 )", - "if(?5 -$2 ,?5 ,if(?0 -$2 ,$2 ,?0 ))", - "logwidth*?1 /200000", - "logwidth/2", - "?8 +0-?7 ", - "logwidth/8", - "?9 +?10 -0", - "logwidth+0-?11 ", - "logwidth+0-?9 ", - "logwidth+0-?10 ", - "logheight*?6 /100000", - "4*?15 /logwidth", - "?11 *?11 /logwidth", - "?11 +0-?17 ", - "?16 *?18 /1", - "logheight+0-?19 ", - "?11 *1/2", - "?16 *?21 /1", - "logheight+0-?22 ", - "logwidth+0-?21 ", - "logheight*?0 /100000", - "?25 +0-?15 ", - "?9 *?9 /logwidth", - "?9 +0-?27 ", - "?16 *?28 /1", - "?29 +?26 -0", - "logheight+0-?30 ", - "?15 +?26 -?30 ", - "?32 +?15 -0", - "?33 +?26 -0", - "logheight+0-?34 ", - "logheight+0-?25 ", - "?15 *14/16", - "(?37 +?36 )/2", - "logheight+0-?38 ", - "?29 +?36 -0", - "logheight+0-?40 ", - "?30 +?36 -0", - "logheight+0-?42 ", - "?9 *1/2", - "?16 *?44 /1", - "?45 +?36 -0", - "logheight+0-?46 ", - "logwidth+0-?44 ", - "?34 +?36 -0", - "logheight+0-?49 ", - "?19 +?26 -0", - "logheight+0-?51 ", - "?25 +?25 -?51 ", - "logheight+0-?53 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 36 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 15 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 47 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 54 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 52 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 39 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 52 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,2, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 16,1, - 2,2, - 16,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,2, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 2,2, - 16,1, - 2,1, - 16,1, - 2,1, - 16,1, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 43 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-ellipseRibbon2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartAlternateProcess : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)/6", - "logwidth+0-?0 ", - "logheight+0-?0 ", - "?0 *29289/100000", - "logwidth+0-?3 ", - "logheight+0-?3 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 5 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartAlternateProcess")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartCollate : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logheight*3/4", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth/4", - "logheight/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 6 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartCollate")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartConnector : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +0-?1 ", - "?4 +?1 -0", - "logheight/2", - "?7 +0-?3 ", - "?7 +?3 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartConnector")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartDecision : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logheight*3/4", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/4", - "logheight/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartDecision")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap2() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "can" ) ] = new ShapeCcan(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartPlus" ) ] = new ShapeCchartPlus(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartStar" ) ] = new ShapeCchartStar(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartX" ) ] = new ShapeCchartX(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chevron" ) ] = new ShapeCchevron(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chord" ) ] = new ShapeCchord(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "circularArrow" ) ] = new ShapeCcircularArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cloud" ) ] = new ShapeCcloud(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cloudCallout" ) ] = new ShapeCcloudCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "corner" ) ] = new ShapeCcorner(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cornerTabs" ) ] = new ShapeCcornerTabs(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cube" ) ] = new ShapeCcube(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector2" ) ] = new ShapeCcurvedConnector2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector3" ) ] = new ShapeCcurvedConnector3(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector4" ) ] = new ShapeCcurvedConnector4(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector5" ) ] = new ShapeCcurvedConnector5(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedDownArrow" ) ] = new ShapeCcurvedDownArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedLeftArrow" ) ] = new ShapeCcurvedLeftArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedRightArrow" ) ] = new ShapeCcurvedRightArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedUpArrow" ) ] = new ShapeCcurvedUpArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "decagon" ) ] = new ShapeCdecagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "diagStripe" ) ] = new ShapeCdiagStripe(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "diamond" ) ] = new ShapeCdiamond(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "dodecagon" ) ] = new ShapeCdodecagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "donut" ) ] = new ShapeCdonut(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "doubleWave" ) ] = new ShapeCdoubleWave(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrow" ) ] = new ShapeCdownArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrowCallout" ) ] = new ShapeCdownArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipse" ) ] = new ShapeCellipse(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipseRibbon" ) ] = new ShapeCellipseRibbon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipseRibbon2" ) ] = new ShapeCellipseRibbon2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartAlternateProcess" ) ] = new ShapeCflowChartAlternateProcess(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartCollate" ) ] = new ShapeCflowChartCollate(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartConnector" ) ] = new ShapeCflowChartConnector(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDecision" ) ] = new ShapeCflowChartDecision(); -} - -} } // oox // drawingml - diff --git a/oox/source/drawingml/customshapepresets3.cxx b/oox/source/drawingml/customshapepresets3.cxx deleted file mode 100644 index 8516928edb94..000000000000 --- a/oox/source/drawingml/customshapepresets3.cxx +++ /dev/null @@ -1,6896 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeCflowChartDelay : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +?1 -0", - "logheight/2", - "?6 +0-?3 ", - "?6 +?3 -0", - "logheight", - "logwidth", - "(16200000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 12 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartDelay")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartDisplay : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*5/6", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/6", - "(16200000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartDisplay")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartDocument : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*17322/21600", - "logheight*20172/21600", - "logwidth/2", - "logheight/2", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 17322 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10800, 17322 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10800, 23922 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 20172 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 3,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 0 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartDocument")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartExtract : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logwidth/2", - "logwidth/4", - "logheight/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartExtract")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartInputOutput : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*2/5", - "logwidth*3/5", - "logwidth*4/5", - "logwidth*9/10", - "logwidth/2", - "logwidth/10", - "logheight/2", - "logheight", - "logwidth/5" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 5; - aSize.Height = 5; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartInputOutput")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartInternalStorage : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/8", - "logheight/8" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 1; - aSize.Height = 1; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 8; - aSize.Height = 8; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 1; - aSize.Height = 1; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartInternalStorage")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartMagneticDisk : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*5/6", - "logwidth/2", - "logheight/3", - "logheight/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 6,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 0 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartMagneticDisk")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartMagneticDrum : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*2/3", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/6", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 6 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 6 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 6 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 6,0, - 5,0, - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartMagneticDrum")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartMagneticTape : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +0-?1 ", - "?4 +?1 -0", - "logheight/2", - "?7 +0-?3 ", - "?7 +?3 -0", - "(10800000*atan2(logheight,logwidth))/pi", - "logheight", - "logwidth", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(?10 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 11 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartMagneticTape")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartManualInput : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "logheight/10", - "logheight/2", - "logheight", - "logwidth", - "logheight/5" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 5; - aSize.Height = 5; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartManualInput")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartManualOperation : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*4/5", - "logwidth*9/10", - "logwidth/2", - "logwidth/10", - "logheight/2", - "logheight", - "logwidth/5" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 5; - aSize.Height = 5; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartManualOperation")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartMerge : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logwidth/2", - "logwidth/4", - "logheight/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartMerge")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartMultidocument : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*3675/21600", - "logheight*20782/21600", - "logwidth*9298/21600", - "logwidth*12286/21600", - "logwidth*18595/21600", - "logheight/2", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 20782 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 23542 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 19298, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20800, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 23542 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 20782 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 19298, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20800, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 20782 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 23542 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9298, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 18022 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18595, 16352 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 19298, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 16252 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20000, 14467 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20800, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 14392 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2972, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 1815 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1532, 3675 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 3675 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,1, - 2,2, - 4,0, - 1,1, - 2,3, - 3,1, - 2,1, - 4,0, - 1,1, - 2,3, - 3,1, - 2,1, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 3,1, - 4,0, - 1,1, - 2,3, - 3,1, - 1,1, - 2,3, - 3,1, - 6,0, - 5,0, - 1,1, - 3,1, - 2,1, - 3,1, - 2,1, - 3,1, - 2,6, - 4,0, - 6,0, - 7,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartMultidocument")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartOfflineStorage : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logheight/2", - "logwidth/2", - "logheight", - "logwidth/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,2, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 5; - aSize.Height = 5; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartOfflineStorage")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartOffpageConnector : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*4/5", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 8 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 0 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartOffpageConnector")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartOnlineStorage : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*5/6", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth/6", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 6 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 6 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 6; - aSize.Height = 6; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartOnlineStorage")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartOr : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +0-?1 ", - "?4 +?1 -0", - "logheight/2", - "?7 +0-?3 ", - "?7 +?3 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 17,4, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartOr")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartPredefinedProcess : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*7/8", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/8" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 1; - aSize.Height = 1; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 8; - aSize.Height = 8; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 1; - aSize.Height = 1; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartPredefinedProcess")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartPreparation : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*4/5", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/5" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 10 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 10; - aSize.Height = 10; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartPreparation")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartProcess : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 1; - aSize.Height = 1; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartProcess")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartPunchedCard : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logheight/5" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 5; - aSize.Height = 5; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartPunchedCard")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartPunchedTape : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*9/10", - "logheight*4/5", - "logwidth/2", - "logheight/10", - "logheight/2", - "logwidth", - "logheight/5", - "(10800000)/60000.0", - "(-10800000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 20, 18 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 12 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,2, - 2,1, - 17,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 20; - aSize.Height = 20; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 6 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartPunchedTape")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartSort : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*3/4", - "logheight*3/4", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "logwidth/4", - "logheight/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 2, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 2,3, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (3); - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [0] = aSize; - } - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [1] = aSize; - } - { - awt::Size aSize; - aSize.Width = 2; - aSize.Height = 2; - aSizeSequence [2] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartSort")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartSummingJunction : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?2 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?4 +0-?1 ", - "?4 +?1 -0", - "logheight/2", - "?7 +0-?3 ", - "?7 +?3 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 7,0, - 5,0, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0, - 1,1, - 17,4, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartSummingJunction")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCflowChartTerminator : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*1018/21600", - "logwidth*20582/21600", - "logheight*3163/21600", - "logheight*18437/21600", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3475, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18125, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3475, 10800 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3475, 21600 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3475, 10800 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 3 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-flowChartTerminator")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCfoldedCorner : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "?2 *1/5", - "logwidth+0-?2 ", - "?4 +?3 -0", - "logheight+0-?2 ", - "?6 +?3 -0", - "logheight", - "logwidth/2", - "logheight/2", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 7,0, - 5,0, - 1,1, - 2,2, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,7, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 6 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-foldedCorner")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCframe : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-frame")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCfunnel : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "?0 *1/20", - "logwidth/2", - "?2 +0-?1 ", - "logheight/4", - "?4 +0-?1 ", - "?2 *cos(pi*(480000)/10800000)", - "?4 *sin(pi*(480000)/10800000)", - "(10800000*atan2(?7 ,?6 ))/pi", - "?8 *2/1", - "10800000+0-?8 ", - "10800000+2-0", - "10800000+0-2", - "?2 *1/4", - "?4 *1/4", - "?4 *cos(pi*(?10 )/10800000)", - "?2 *sin(pi*(?10 )/10800000)", - "sqrt(?15 *?15 +?16 *?16 +0*0)", - "?2 *?4 /?17 ", - "?18 *cos(pi*(?10 )/10800000)", - "?18 *sin(pi*(?10 )/10800000)", - "logwidth/2", - "?21 +?19 -0", - "?4 +?20 -0", - "?14 *cos(pi*(?8 )/10800000)", - "?13 *sin(pi*(?8 )/10800000)", - "sqrt(?24 *?24 +?25 *?25 +0*0)", - "?13 *?14 /?26 ", - "?27 *cos(pi*(?8 )/10800000)", - "?27 *sin(pi*(?8 )/10800000)", - "?21 +?28 -0", - "logheight+0-?14 ", - "?31 +?29 -0", - "?2 +0-?3 ", - "10800000*2/1", - "logwidth", - "logheight", - "(?10 )/60000.0", - "(?11 )/60000.0", - "(?8 )/60000.0", - "(?12 )/60000.0", - "(10800000)/60000.0", - "(-21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 1,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-funnel")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCgear6 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 15000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 3526); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))", - "if(0-$1 ,0,if(5358-$1 ,$1 ,5358))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "?2 *?1 /100000", - "?3 *1/2", - "?4 *1/2", - "?5 +?6 -0", - "logheight/2", - "?8 +0-?3 ", - "logwidth/2", - "?10 +0-?3 ", - "?11 +0-?9 ", - "if(?12 ,?9 ,?11 )", - "(10800000*atan2(?7 ,?13 ))/pi", - "19800000+0-?14 ", - "19800000+?14 -0", - "?11 *cos(pi*(?15 )/10800000)", - "?9 *sin(pi*(?15 )/10800000)", - "(10800000*atan2(?18 ,?17 ))/pi", - "?9 *cos(pi*(?19 )/10800000)", - "?11 *sin(pi*(?19 )/10800000)", - "sqrt(?20 *?20 +?21 *?21 +0*0)", - "?11 *?9 /?22 ", - "?23 *cos(pi*(?19 )/10800000)", - "?23 *sin(pi*(?19 )/10800000)", - "logwidth/2", - "?26 +?24 -0", - "logheight/2", - "?28 +?25 -0", - "?11 *cos(pi*(?16 )/10800000)", - "?9 *sin(pi*(?16 )/10800000)", - "(10800000*atan2(?31 ,?30 ))/pi", - "?9 *cos(pi*(?32 )/10800000)", - "?11 *sin(pi*(?32 )/10800000)", - "sqrt(?33 *?33 +?34 *?34 +0*0)", - "?11 *?9 /?35 ", - "?36 *cos(pi*(?32 )/10800000)", - "?36 *sin(pi*(?32 )/10800000)", - "?26 +?37 -0", - "?28 +?38 -0", - "?27 +0-?39 ", - "?29 +0-?40 ", - "sqrt(?41 *?41 +?42 *?42 +0*0)", - "(10800000*atan2(?41 ,?42 ))/pi", - "?4 *sin(pi*(?44 )/10800000)", - "?4 *cos(pi*(?44 )/10800000)", - "?39 +?45 -0", - "?40 +?46 -0", - "?27 +0-?45 ", - "?29 +0-?46 ", - "?3 *sin(pi*(?44 )/10800000)", - "?3 *cos(pi*(?44 )/10800000)", - "?48 +?51 -0", - "?47 +0-?52 ", - "?50 +?51 -0", - "?49 +0-?52 ", - "16200000+?14 -0", - "?11 *cos(pi*(?57 )/10800000)", - "?9 *sin(pi*(?57 )/10800000)", - "(10800000*atan2(?59 ,?58 ))/pi", - "?9 *cos(pi*(?60 )/10800000)", - "?11 *sin(pi*(?60 )/10800000)", - "sqrt(?61 *?61 +?62 *?62 +0*0)", - "?11 *?9 /?63 ", - "?64 *cos(pi*(?60 )/10800000)", - "?64 *sin(pi*(?60 )/10800000)", - "?26 +?65 -0", - "?28 +?66 -0", - "?26 +0-?65 ", - "?67 +0-?4 ", - "?69 +?4 -0", - "?68 +0-?3 ", - "?19 +0-?60 ", - "1800000+0-?14 ", - "1800000+?14 -0", - "?11 *cos(pi*(?74 )/10800000)", - "?9 *sin(pi*(?74 )/10800000)", - "(10800000*atan2(?77 ,?76 ))/pi", - "logheight+0-?40 ", - "?11 *cos(pi*(?75 )/10800000)", - "?9 *sin(pi*(?75 )/10800000)", - "(10800000*atan2(?81 ,?80 ))/pi", - "logheight+0-?29 ", - "logheight+0-?55 ", - "logheight+0-?53 ", - "?54 ", - "?78 +0-?32 ", - "5400000+?14 -0", - "?11 *cos(pi*(?88 )/10800000)", - "?9 *sin(pi*(?88 )/10800000)", - "(10800000*atan2(?90 ,?89 ))/pi", - "logheight+0-?68 ", - "logheight+0-?72 ", - "9000000+?14 -0", - "?11 *cos(pi*(?94 )/10800000)", - "?9 *sin(pi*(?94 )/10800000)", - "(10800000*atan2(?96 ,?95 ))/pi", - "logwidth+0-?39 ", - "logwidth+0-?54 ", - "logwidth+0-?56 ", - "12600000+?14 -0", - "?11 *cos(pi*(?101 )/10800000)", - "?9 *sin(pi*(?101 )/10800000)", - "(10800000*atan2(?103 ,?102 ))/pi", - "logwidth+0-?27 ", - "logwidth+0-?56 ", - "logwidth+0-?54 ", - "(?56 +?54 )/2", - "(?55 +?53 )/2", - "logheight+0-?109 ", - "(logwidth+0)/?108 ", - "(?32 )/60000.0", - "(?87 )/60000.0", - "(?82 )/60000.0", - "(?73 )/60000.0", - "(?91 )/60000.0", - "(?73 )/60000.0", - "(?97 )/60000.0", - "(?87 )/60000.0", - "(?104 )/60000.0", - "(?73 )/60000.0", - "(?60 )/60000.0", - "(?73 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 67, 68 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 20000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 69, 68 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5358); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 112, 113 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 85 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 84 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 83 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 114, 115 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 70, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 71, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 69, 92 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 116, 117 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 100, 84 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 99, 85 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 98, 79 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 118, 119 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 107, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 106, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 105, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 120, 121 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 71, 72 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 70, 72 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 67, 68 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 122, 123 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 105, 29 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 83 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-gear6")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCgear9 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 10000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 1763); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))", - "if(0-$1 ,0,if(2679-$1 ,$1 ,2679))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "?2 *?1 /100000", - "?3 *1/2", - "?4 *1/2", - "?5 +?6 -0", - "logheight/2", - "?8 +0-?3 ", - "logwidth/2", - "?10 +0-?3 ", - "?11 +0-?9 ", - "if(?12 ,?9 ,?11 )", - "(10800000*atan2(?7 ,?13 ))/pi", - "18600000+0-?14 ", - "18600000+?14 -0", - "?11 *cos(pi*(?15 )/10800000)", - "?9 *sin(pi*(?15 )/10800000)", - "(10800000*atan2(?18 ,?17 ))/pi", - "?9 *cos(pi*(?19 )/10800000)", - "?11 *sin(pi*(?19 )/10800000)", - "sqrt(?20 *?20 +?21 *?21 +0*0)", - "?11 *?9 /?22 ", - "?23 *cos(pi*(?19 )/10800000)", - "?23 *sin(pi*(?19 )/10800000)", - "logwidth/2", - "?26 +?24 -0", - "logheight/2", - "?28 +?25 -0", - "?11 *cos(pi*(?16 )/10800000)", - "?9 *sin(pi*(?16 )/10800000)", - "(10800000*atan2(?31 ,?30 ))/pi", - "?9 *cos(pi*(?32 )/10800000)", - "?11 *sin(pi*(?32 )/10800000)", - "sqrt(?33 *?33 +?34 *?34 +0*0)", - "?11 *?9 /?35 ", - "?36 *cos(pi*(?32 )/10800000)", - "?36 *sin(pi*(?32 )/10800000)", - "?26 +?37 -0", - "?28 +?38 -0", - "?27 +0-?39 ", - "?29 +0-?40 ", - "sqrt(?41 *?41 +?42 *?42 +0*0)", - "(10800000*atan2(?41 ,?42 ))/pi", - "?4 *sin(pi*(?44 )/10800000)", - "?4 *cos(pi*(?44 )/10800000)", - "?39 +?45 -0", - "?40 +?46 -0", - "?27 +0-?45 ", - "?29 +0-?46 ", - "?3 *sin(pi*(?44 )/10800000)", - "?3 *cos(pi*(?44 )/10800000)", - "?48 +?51 -0", - "?47 +0-?52 ", - "?50 +?51 -0", - "?49 +0-?52 ", - "21000000+0-?14 ", - "21000000+?14 -0", - "?11 *cos(pi*(?57 )/10800000)", - "?9 *sin(pi*(?57 )/10800000)", - "(10800000*atan2(?60 ,?59 ))/pi", - "?9 *cos(pi*(?61 )/10800000)", - "?11 *sin(pi*(?61 )/10800000)", - "sqrt(?62 *?62 +?63 *?63 +0*0)", - "?11 *?9 /?64 ", - "?65 *cos(pi*(?61 )/10800000)", - "?65 *sin(pi*(?61 )/10800000)", - "?26 +?66 -0", - "?28 +?67 -0", - "?11 *cos(pi*(?58 )/10800000)", - "?9 *sin(pi*(?58 )/10800000)", - "(10800000*atan2(?71 ,?70 ))/pi", - "?9 *cos(pi*(?72 )/10800000)", - "?11 *sin(pi*(?72 )/10800000)", - "sqrt(?73 *?73 +?74 *?74 +0*0)", - "?11 *?9 /?75 ", - "?76 *cos(pi*(?72 )/10800000)", - "?76 *sin(pi*(?72 )/10800000)", - "?26 +?77 -0", - "?28 +?78 -0", - "?68 +0-?79 ", - "?69 +0-?80 ", - "sqrt(?81 *?81 +?82 *?82 +0*0)", - "(10800000*atan2(?81 ,?82 ))/pi", - "?4 *sin(pi*(?84 )/10800000)", - "?4 *cos(pi*(?84 )/10800000)", - "?79 +?85 -0", - "?80 +?86 -0", - "?68 +0-?85 ", - "?69 +0-?86 ", - "?3 *sin(pi*(?84 )/10800000)", - "?3 *cos(pi*(?84 )/10800000)", - "?88 +?91 -0", - "?87 +0-?92 ", - "?90 +?91 -0", - "?89 +0-?92 ", - "?61 +0-?32 ", - "1800000+0-?14 ", - "1800000+?14 -0", - "?11 *cos(pi*(?98 )/10800000)", - "?9 *sin(pi*(?98 )/10800000)", - "(10800000*atan2(?101 ,?100 ))/pi", - "?9 *cos(pi*(?102 )/10800000)", - "?11 *sin(pi*(?102 )/10800000)", - "sqrt(?103 *?103 +?104 *?104 +0*0)", - "?11 *?9 /?105 ", - "?106 *cos(pi*(?102 )/10800000)", - "?106 *sin(pi*(?102 )/10800000)", - "?26 +?107 -0", - "?28 +?108 -0", - "?11 *cos(pi*(?99 )/10800000)", - "?9 *sin(pi*(?99 )/10800000)", - "(10800000*atan2(?112 ,?111 ))/pi", - "?9 *cos(pi*(?113 )/10800000)", - "?11 *sin(pi*(?113 )/10800000)", - "sqrt(?114 *?114 +?115 *?115 +0*0)", - "?11 *?9 /?116 ", - "?117 *cos(pi*(?113 )/10800000)", - "?117 *sin(pi*(?113 )/10800000)", - "?26 +?118 -0", - "?28 +?119 -0", - "?109 +0-?120 ", - "?110 +0-?121 ", - "sqrt(?122 *?122 +?123 *?123 +0*0)", - "(10800000*atan2(?122 ,?123 ))/pi", - "?4 *sin(pi*(?125 )/10800000)", - "?4 *cos(pi*(?125 )/10800000)", - "?120 +?126 -0", - "?121 +?127 -0", - "?109 +0-?126 ", - "?110 +0-?127 ", - "?3 *sin(pi*(?125 )/10800000)", - "?3 *cos(pi*(?125 )/10800000)", - "?129 +?132 -0", - "?128 +0-?133 ", - "?131 +?132 -0", - "?130 +0-?133 ", - "?102 +0-?72 ", - "4200000+0-?14 ", - "4200000+?14 -0", - "?11 *cos(pi*(?139 )/10800000)", - "?9 *sin(pi*(?139 )/10800000)", - "(10800000*atan2(?142 ,?141 ))/pi", - "?9 *cos(pi*(?143 )/10800000)", - "?11 *sin(pi*(?143 )/10800000)", - "sqrt(?144 *?144 +?145 *?145 +0*0)", - "?11 *?9 /?146 ", - "?147 *cos(pi*(?143 )/10800000)", - "?147 *sin(pi*(?143 )/10800000)", - "?26 +?148 -0", - "?28 +?149 -0", - "?11 *cos(pi*(?140 )/10800000)", - "?9 *sin(pi*(?140 )/10800000)", - "(10800000*atan2(?153 ,?152 ))/pi", - "?9 *cos(pi*(?154 )/10800000)", - "?11 *sin(pi*(?154 )/10800000)", - "sqrt(?155 *?155 +?156 *?156 +0*0)", - "?11 *?9 /?157 ", - "?158 *cos(pi*(?154 )/10800000)", - "?158 *sin(pi*(?154 )/10800000)", - "?26 +?159 -0", - "?28 +?160 -0", - "?150 +0-?161 ", - "?151 +0-?162 ", - "sqrt(?163 *?163 +?164 *?164 +0*0)", - "(10800000*atan2(?163 ,?164 ))/pi", - "?4 *sin(pi*(?166 )/10800000)", - "?4 *cos(pi*(?166 )/10800000)", - "?161 +?167 -0", - "?162 +?168 -0", - "?150 +0-?167 ", - "?151 +0-?168 ", - "?3 *sin(pi*(?166 )/10800000)", - "?3 *cos(pi*(?166 )/10800000)", - "?170 +?173 -0", - "?169 +0-?174 ", - "?172 +?173 -0", - "?171 +0-?174 ", - "?143 +0-?113 ", - "6600000+0-?14 ", - "6600000+?14 -0", - "?11 *cos(pi*(?180 )/10800000)", - "?9 *sin(pi*(?180 )/10800000)", - "(10800000*atan2(?183 ,?182 ))/pi", - "?11 *cos(pi*(?181 )/10800000)", - "?9 *sin(pi*(?181 )/10800000)", - "(10800000*atan2(?186 ,?185 ))/pi", - "logwidth+0-?150 ", - "logwidth+0-?178 ", - "logwidth+0-?176 ", - "?184 +0-?154 ", - "9000000+?14 -0", - "?11 *cos(pi*(?192 )/10800000)", - "?9 *sin(pi*(?192 )/10800000)", - "(10800000*atan2(?194 ,?193 ))/pi", - "logwidth+0-?109 ", - "logwidth+0-?137 ", - "logwidth+0-?135 ", - "11400000+?14 -0", - "?11 *cos(pi*(?199 )/10800000)", - "?9 *sin(pi*(?199 )/10800000)", - "(10800000*atan2(?201 ,?200 ))/pi", - "logwidth+0-?68 ", - "logwidth+0-?96 ", - "logwidth+0-?94 ", - "13800000+?14 -0", - "?11 *cos(pi*(?206 )/10800000)", - "?9 *sin(pi*(?206 )/10800000)", - "(10800000*atan2(?208 ,?207 ))/pi", - "logwidth+0-?39 ", - "logwidth+0-?27 ", - "logwidth+0-?56 ", - "logwidth+0-?54 ", - "16200000+0-?14 ", - "16200000+?14 -0", - "?11 *cos(pi*(?215 )/10800000)", - "?9 *sin(pi*(?215 )/10800000)", - "(10800000*atan2(?217 ,?216 ))/pi", - "?9 *cos(pi*(?218 )/10800000)", - "?11 *sin(pi*(?218 )/10800000)", - "sqrt(?219 *?219 +?220 *?220 +0*0)", - "?11 *?9 /?221 ", - "?222 *cos(pi*(?218 )/10800000)", - "?222 *sin(pi*(?218 )/10800000)", - "?26 +?223 -0", - "?28 +?224 -0", - "?11 *cos(pi*(?214 )/10800000)", - "?9 *sin(pi*(?214 )/10800000)", - "(10800000*atan2(?228 ,?227 ))/pi", - "?26 +0-?223 ", - "?225 +0-?4 ", - "?230 +?4 -0", - "?226 +0-?3 ", - "?229 +0-?209 ", - "(?56 +?54 )/2", - "(?55 +?53 )/2", - "(?96 +?94 )/2", - "(?95 +?93 )/2", - "(?137 +?135 )/2", - "(?136 +?134 )/2", - "(?178 +?176 )/2", - "(?177 +?175 )/2", - "(logwidth+0)/?241 ", - "(logwidth+0)/?239 ", - "(logwidth+0)/?237 ", - "(logwidth+0)/?235 ", - "(?32 )/60000.0", - "(?97 )/60000.0", - "(?72 )/60000.0", - "(?138 )/60000.0", - "(?113 )/60000.0", - "(?179 )/60000.0", - "(?154 )/60000.0", - "(?191 )/60000.0", - "(?187 )/60000.0", - "(?179 )/60000.0", - "(?195 )/60000.0", - "(?138 )/60000.0", - "(?202 )/60000.0", - "(?97 )/60000.0", - "(?209 )/60000.0", - "(?234 )/60000.0", - "(?218 )/60000.0", - "(?234 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 225, 226 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 20000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 230, 226 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2679); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 247, 248 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 96, 95 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 94, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 79, 80 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 249, 250 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 137, 136 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 135, 134 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 120, 121 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 251, 252 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 178, 177 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 176, 175 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 161, 162 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 253, 254 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 190, 175 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 189, 177 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 188, 151 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 255, 256 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 198, 134 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 197, 136 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 196, 110 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 257, 258 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 205, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 204, 95 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 203, 69 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 259, 260 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 213, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 212, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 211, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 261, 262 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 232, 233 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 231, 233 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 225, 226 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 263, 264 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 2,3, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 210, 40 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 121 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-gear9")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeChalfFrame : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 33333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 33333); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?2 /100000", - "logheight*?3 /logwidth", - "logheight+0-?4 ", - "100000*?5 /?0 ", - "if(0-$0 ,0,if(?6 -$0 ,$0 ,?6 ))", - "?0 *?7 /100000", - "?8 *logwidth/logheight", - "logwidth+0-?9 ", - "?3 *logheight/logwidth", - "logheight+0-?11 ", - "?3 *1/2", - "(?12 +logheight)/2", - "(?10 +logwidth)/2", - "?8 *1/2", - "logheight/2", - "logwidth/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 6); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 12 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 20 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-halfFrame")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCheart : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*49/48", - "logwidth*10/48", - "logwidth/2", - "?2 +0-?0 ", - "?2 +0-?1 ", - "?2 +?1 -0", - "?2 +?0 -0", - "logheight/3", - "0+0-?7 ", - "logwidth*1/6", - "logwidth*5/6", - "logheight*2/3", - "logheight/4", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 12 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-heart")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCheptagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 102572); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "hf"; - } - { - Any aAny ((sal_Int32) 105210); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *$0 /100000", - "logheight/2", - "?2 *$1 /100000", - "logheight/2", - "?4 *$1 /100000", - "?1 *97493/100000", - "?1 *78183/100000", - "?1 *43388/100000", - "?3 *62349/100000", - "?3 *22252/100000", - "?3 *90097/100000", - "logwidth/2", - "?12 +0-?6 ", - "?12 +0-?7 ", - "?12 +0-?8 ", - "?12 +?8 -0", - "?12 +?7 -0", - "?12 +?6 -0", - "?5 +0-?9 ", - "?5 +?10 -0", - "?5 +?11 -0", - "logheight+0-?19 " - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 12, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 21 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 22 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-heptagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeChexagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - { - Any aAny ((sal_Int32) 115470); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "logheight/2", - "?3 *$1 /100000", - "?0 *?2 /100000", - "logwidth+0-?5 ", - "?4 *sin(pi*(3600000)/10800000)", - "logheight/2", - "?8 +0-?7 ", - "?8 +?7 -0", - "?1 *-1/2", - "?2 +?11 -0", - "if(?12 ,4,2)", - "if(?12 ,3,2)", - "if(?12 ,?11 ,0)", - "(?2 +?15 )/?11 ", - "?16 *?14 /-1", - "?13 +?17 -0", - "logwidth*?18 /24", - "logheight*?18 /24", - "logwidth+0-?19 ", - "logheight+0-?20 ", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 10 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-hexagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeChomePlate : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /100000", - "logwidth+0-?3 ", - "(?4 +logwidth)/2", - "?4 *1/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-homePlate")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap3() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDelay" ) ] = new ShapeCflowChartDelay(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDisplay" ) ] = new ShapeCflowChartDisplay(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDocument" ) ] = new ShapeCflowChartDocument(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartExtract" ) ] = new ShapeCflowChartExtract(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartInputOutput" ) ] = new ShapeCflowChartInputOutput(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartInternalStorage" ) ] = new ShapeCflowChartInternalStorage(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticDisk" ) ] = new ShapeCflowChartMagneticDisk(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticDrum" ) ] = new ShapeCflowChartMagneticDrum(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticTape" ) ] = new ShapeCflowChartMagneticTape(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartManualInput" ) ] = new ShapeCflowChartManualInput(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartManualOperation" ) ] = new ShapeCflowChartManualOperation(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMerge" ) ] = new ShapeCflowChartMerge(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMultidocument" ) ] = new ShapeCflowChartMultidocument(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOfflineStorage" ) ] = new ShapeCflowChartOfflineStorage(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOffpageConnector" ) ] = new ShapeCflowChartOffpageConnector(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOnlineStorage" ) ] = new ShapeCflowChartOnlineStorage(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOr" ) ] = new ShapeCflowChartOr(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPredefinedProcess" ) ] = new ShapeCflowChartPredefinedProcess(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPreparation" ) ] = new ShapeCflowChartPreparation(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartProcess" ) ] = new ShapeCflowChartProcess(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPunchedCard" ) ] = new ShapeCflowChartPunchedCard(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPunchedTape" ) ] = new ShapeCflowChartPunchedTape(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartSort" ) ] = new ShapeCflowChartSort(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartSummingJunction" ) ] = new ShapeCflowChartSummingJunction(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartTerminator" ) ] = new ShapeCflowChartTerminator(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "foldedCorner" ) ] = new ShapeCfoldedCorner(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "frame" ) ] = new ShapeCframe(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "funnel" ) ] = new ShapeCfunnel(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "gear6" ) ] = new ShapeCgear6(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "gear9" ) ] = new ShapeCgear9(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "halfFrame" ) ] = new ShapeChalfFrame(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "heart" ) ] = new ShapeCheart(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "heptagon" ) ] = new ShapeCheptagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "hexagon" ) ] = new ShapeChexagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "homePlate" ) ] = new ShapeChomePlate(); -} - -} } // oox // drawingml - diff --git a/oox/source/drawingml/customshapepresets4.cxx b/oox/source/drawingml/customshapepresets4.cxx deleted file mode 100644 index 14d10013e7c5..000000000000 --- a/oox/source/drawingml/customshapepresets4.cxx +++ /dev/null @@ -1,8940 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeChorizontalScroll : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "?2 *1/2", - "?2 *1/4", - "?2 +?3 -0", - "?2 +?2 -0", - "logheight+0-?2 ", - "logheight+0-?3 ", - "?7 +0-?3 ", - "logwidth+0-?2 ", - "logwidth+0-?3 ", - "logwidth/2", - "logheight/2", - "logwidth", - "(0)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(-16200000)/60000.0", - "(10800000)/60000.0", - "(-10800000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 7 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 4,0, - 1,1, - 17,2, - 4,0, - 7,0, - 5,0, - 1,1, - 17,2, - 4,0, - 1,1, - 17,2, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,2, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 4,0, - 1,1, - 2,1, - 17,1, - 1,1, - 2,1, - 17,1, - 1,1, - 2,1, - 17,2, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-horizontalScroll")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCirregularSeal1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*4627/21600", - "logwidth*8485/21600", - "logwidth*16702/21600", - "logwidth*14522/21600", - "logheight*6320/21600", - "logheight*8615/21600", - "logheight*13937/21600", - "logheight*13290/21600", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10800, 5800 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14522, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14155, 5325 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18380, 4457 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16702, 7315 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21097, 8137 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 17607, 10475 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 13290 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16837, 12942 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18145, 18095 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14020, 14457 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 13247, 19737 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10532, 14935 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8485, 21600 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7715, 15627 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4762, 17617 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5667, 13937 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 135, 14587 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3722, 11775 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 8615 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4627, 7617 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 370, 2295 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7312, 6320 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8352, 2295 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,23, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 6 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-irregularSeal1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCirregularSeal2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*9722/21600", - "logwidth*5372/21600", - "logwidth*11612/21600", - "logwidth*14640/21600", - "logheight*1887/21600", - "logheight*6382/21600", - "logheight*12877/21600", - "logheight*19712/21600", - "logheight*18842/21600", - "logheight*15935/21600", - "logheight*6645/21600", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 11462, 4342 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14790, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14525, 5777 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18007, 3172 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16380, 6532 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 6645 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16985, 9402 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18270, 11290 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16380, 12310 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 18877, 15632 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14640, 14350 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14942, 17370 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 12180, 15935 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 11612, 18842 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9872, 17370 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8700, 19712 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7527, 18125 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4917, 21600 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4805, 18240 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1285, 17825 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3330, 15370 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 12877 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 3935, 11592 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 1172, 8270 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5372, 7817 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 4502, 3625 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8550, 6382 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 9722, 1887 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,27, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-irregularSeal2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "0+?4 -0", - "logheight*?2 /200000", - "logheight/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logheight/2", - "?8 *?4 /?10 ", - "?5 +0-?11 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 64977); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "100000*logwidth/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "?6 *?0 /logwidth", - "100000+0-?7 ", - "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logheight/2", - "?12 +0-?10 ", - "?12 +0-?11 ", - "?12 +?11 -0", - "?12 +?10 -0", - "?0 *?6 /100000", - "logwidth*?9 /100000", - "logwidth+0-?18 ", - "(?19 +logwidth)/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 17, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 8); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 16 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,10, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 21 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftBrace : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 8333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(100000-$1 ,$1 ,100000))", - "100000+0-?0 ", - "min(?1 ,?0 )", - "?2 *1/2", - "min(logwidth,logheight)", - "?3 *logheight/?4 ", - "if(0-$0 ,0,if(?5 -$0 ,$0 ,?5 ))", - "?4 *?6 /100000", - "logheight*?0 /100000", - "?8 +?7 -0", - "logwidth/2", - "?10 *cos(pi*(2700000)/10800000)", - "?7 *sin(pi*(2700000)/10800000)", - "logwidth+0-?11 ", - "?7 +0-?12 ", - "logheight+?12 -?7 ", - "logwidth/2", - "logwidth", - "logheight", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftBrace")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftBracket : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 8333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /100000", - "logheight+0-?3 ", - "logwidth*cos(pi*(2700000)/10800000)", - "?3 *sin(pi*(2700000)/10800000)", - "logwidth+0-?5 ", - "?3 +0-?6 ", - "logheight+?6 -?3 ", - "logwidth", - "logheight/2", - "logheight", - "logwidth", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftBracket")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftCircularArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) -1142319); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 1142319); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 10800000); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))", - "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))", - "min(logwidth,logheight)", - "?5 *?2 /100000", - "?5 *?0 /100000", - "?6 *1/2", - "logwidth/2", - "?9 +?8 -?7 ", - "logheight/2", - "?11 +?8 -?7 ", - "?10 +0-?6 ", - "?12 +0-?6 ", - "?13 +?8 -0", - "?14 +?8 -0", - "?15 *sin(pi*(?3 )/10800000)", - "?16 *cos(pi*(?3 )/10800000)", - "?15 *(cos(atan2(?17 ,?18 )))", - "?16 *(sin(atan2(?17 ,?18 )))", - "logwidth/2", - "?21 +?19 -0", - "logheight/2", - "?23 +?20 -0", - "min(?13 ,?14 )", - "?19 *?19 /1", - "?20 *?20 /1", - "?25 *?25 /1", - "?26 +0-?28 ", - "?27 +0-?28 ", - "?29 *?30 /?26 ", - "?31 *1/?27 ", - "1+0-?32 ", - "sqrt(?33 )", - "?29 *1/?19 ", - "?35 *1/?20 ", - "(1+?34 )/?36 ", - "(10800000*atan2(?37 ,1))/pi", - "?38 +21600000-0", - "if(?38 ,?38 ,?39 )", - "?40 +0-?3 ", - "?41 +21600000-0", - "if(?41 ,?41 ,?42 )", - "?43 +0-10800000", - "?43 +0-21600000", - "if(?44 ,?45 ,?43 )", - "abs(?46 )", - "?47 *-1/1", - "abs($1 )", - "?49 *-1/1", - "if(?48 -?50 ,?48 ,if(0-?50 ,?50 ,0))", - "?3 +?51 -0", - "?15 *sin(pi*(?52 )/10800000)", - "?16 *cos(pi*(?52 )/10800000)", - "?15 *(cos(atan2(?53 ,?54 )))", - "?16 *(sin(atan2(?53 ,?54 )))", - "?21 +?55 -0", - "?23 +?56 -0", - "?10 *sin(pi*(?4 )/10800000)", - "?12 *cos(pi*(?4 )/10800000)", - "?10 *(cos(atan2(?59 ,?60 )))", - "?12 *(sin(atan2(?59 ,?60 )))", - "?21 +?61 -0", - "?23 +?62 -0", - "?13 *sin(pi*(?4 )/10800000)", - "?14 *cos(pi*(?4 )/10800000)", - "?13 *(cos(atan2(?65 ,?66 )))", - "?14 *(sin(atan2(?65 ,?66 )))", - "?21 +?67 -0", - "?23 +?68 -0", - "?7 *cos(pi*(?52 )/10800000)", - "?7 *sin(pi*(?52 )/10800000)", - "?22 +?71 -0", - "?24 +?72 -0", - "?7 *cos(pi*(?52 )/10800000)", - "?7 *sin(pi*(?52 )/10800000)", - "?22 +0-?75 ", - "?24 +0-?76 ", - "?77 +0-?21 ", - "?78 +0-?23 ", - "?73 +0-?21 ", - "?74 +0-?23 ", - "min(?10 ,?12 )", - "?79 *?83 /?10 ", - "?80 *?83 /?12 ", - "?81 *?83 /?10 ", - "?82 *?83 /?12 ", - "?86 +0-?84 ", - "?87 +0-?85 ", - "sqrt(?88 *?88 +?89 *?89 +0*0)", - "?84 *?87 /1", - "?86 *?85 /1", - "?91 +0-?92 ", - "?83 *?83 /1", - "?90 *?90 /1", - "?94 *?95 /1", - "?93 *?93 /1", - "?96 +0-?97 ", - "max(?98 ,0)", - "sqrt(?99 )", - "?89 *-1/1", - "if(?101 ,-1,1)", - "?102 *?88 /1", - "?103 *?100 /1", - "?93 *?89 /1", - "(?105 +?104 )/?95 ", - "?105 +0-?104 ", - "?107 *1/?95 ", - "abs(?89 )", - "?109 *?100 /1", - "?93 *?88 /-1", - "(?111 +?110 )/?95 ", - "?111 +0-?110 ", - "?113 *1/?95 ", - "?86 +0-?106 ", - "?86 +0-?108 ", - "?87 +0-?112 ", - "?87 +0-?114 ", - "sqrt(?115 *?115 +?117 *?117 +0*0)", - "sqrt(?116 *?116 +?118 *?118 +0*0)", - "?120 +0-?119 ", - "if(?121 ,?106 ,?108 )", - "if(?121 ,?112 ,?114 )", - "?122 *?10 /?83 ", - "?123 *?12 /?83 ", - "?21 +?124 -0", - "?23 +?125 -0", - "?79 *?25 /?13 ", - "?80 *?25 /?14 ", - "?81 *?25 /?13 ", - "?82 *?25 /?14 ", - "?130 +0-?128 ", - "?131 +0-?129 ", - "sqrt(?132 *?132 +?133 *?133 +0*0)", - "?128 *?131 /1", - "?130 *?129 /1", - "?135 +0-?136 ", - "?25 *?25 /1", - "?134 *?134 /1", - "?138 *?139 /1", - "?137 *?137 /1", - "?140 +0-?141 ", - "max(?142 ,0)", - "sqrt(?143 )", - "?102 *?132 /1", - "?145 *?144 /1", - "?137 *?133 /1", - "(?147 +?146 )/?139 ", - "?147 +0-?146 ", - "?149 *1/?139 ", - "abs(?133 )", - "?151 *?144 /1", - "?137 *?132 /-1", - "(?153 +?152 )/?139 ", - "?153 +0-?152 ", - "?155 *1/?139 ", - "?128 +0-?148 ", - "?128 +0-?150 ", - "?129 +0-?154 ", - "?129 +0-?156 ", - "sqrt(?157 *?157 +?159 *?159 +0*0)", - "sqrt(?158 *?158 +?160 *?160 +0*0)", - "?162 +0-?161 ", - "if(?163 ,?148 ,?150 )", - "if(?163 ,?154 ,?156 )", - "?164 *?13 /?25 ", - "?165 *?14 /?25 ", - "?21 +?166 -0", - "?23 +?167 -0", - "(10800000*atan2(?167 ,?166 ))/pi", - "?170 +21600000-0", - "if(?170 ,?170 ,?171 )", - "?4 +0-?172 ", - "?173 +21600000-0", - "if(?173 ,?173 ,?174 )", - "?172 +?175 -0", - "0+0-?175 ", - "?126 +0-?168 ", - "?127 +0-?169 ", - "sqrt(?178 *?178 +?179 *?179 +0*0)", - "?180 *1/2", - "?181 +0-?7 ", - "if(?182 ,?126 ,?73 )", - "if(?182 ,?127 ,?74 )", - "if(?182 ,?168 ,?77 )", - "if(?182 ,?169 ,?78 )", - "(10800000*atan2(?125 ,?124 ))/pi", - "?187 +21600000-0", - "if(?187 ,?187 ,?188 )", - "?189 +0-?4 ", - "?190 +0-21600000", - "if(?190 ,?191 ,?190 )", - "?4 +?192 -0", - "0+0-?192 ", - "?15 *sin(pi*(?4 )/10800000)", - "?16 *cos(pi*(?4 )/10800000)", - "?15 *(cos(atan2(?195 ,?196 )))", - "?16 *(sin(atan2(?195 ,?196 )))", - "?21 +?197 -0", - "?23 +?198 -0", - "?4 +5400000-0", - "?52 +0-5400000", - "?52 +10800000-0", - "?10 *cos(pi*(2700000)/10800000)", - "?12 *sin(pi*(2700000)/10800000)", - "?21 +0-?204 ", - "?21 +?204 -0", - "?23 +0-?205 ", - "?23 +?205 -0", - "(?176 )/60000.0", - "(?177 )/60000.0", - "(?193 )/60000.0", - "(?194 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 58 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 63, 64 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 126, 127 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 77, 78 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 63, 64 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 69, 70 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 210, 211 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 185, 186 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 58 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 183, 184 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 126, 127 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 212, 213 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,4, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 206, 208 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 207, 209 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftCircularArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftRightArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "logwidth+0-?4 ", - "logheight*?2 /200000", - "logheight/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logheight/2", - "?8 *?4 /?10 ", - "?4 +0-?11 ", - "?5 +?11 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,9, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftRightArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftRightArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 48123); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "50000*logwidth/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "logwidth/2", - "?6 *?0 /?7 ", - "100000+0-?8 ", - "if(0-$3 ,0,if(?9 -$3 ,$3 ,?9 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logheight/2", - "?13 +0-?11 ", - "?13 +0-?12 ", - "?13 +?12 -0", - "?13 +?11 -0", - "?0 *?6 /100000", - "logwidth+0-?18 ", - "logwidth*?10 /200000", - "logwidth/2", - "?21 +0-?20 ", - "?21 +?20 -0", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 15 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 18, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 9); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 17 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,17, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 22, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftRightArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftRightCircularArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 1142319); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 20457681); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 11942319); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))", - "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))", - "min(logwidth,logheight)", - "?5 *?2 /100000", - "?5 *?0 /100000", - "?6 *1/2", - "logwidth/2", - "?9 +?8 -?7 ", - "logheight/2", - "?11 +?8 -?7 ", - "?10 +0-?6 ", - "?12 +0-?6 ", - "?13 +?8 -0", - "?14 +?8 -0", - "?15 *sin(pi*(?3 )/10800000)", - "?16 *cos(pi*(?3 )/10800000)", - "?15 *(cos(atan2(?17 ,?18 )))", - "?16 *(sin(atan2(?17 ,?18 )))", - "logwidth/2", - "?21 +?19 -0", - "logheight/2", - "?23 +?20 -0", - "min(?13 ,?14 )", - "?19 *?19 /1", - "?20 *?20 /1", - "?25 *?25 /1", - "?26 +0-?28 ", - "?27 +0-?28 ", - "?29 *?30 /?26 ", - "?31 *1/?27 ", - "1+0-?32 ", - "sqrt(?33 )", - "?29 *1/?19 ", - "?35 *1/?20 ", - "(1+?34 )/?36 ", - "(10800000*atan2(?37 ,1))/pi", - "?38 +21600000-0", - "if(?38 ,?38 ,?39 )", - "?40 +0-?3 ", - "?41 +21600000-0", - "if(?41 ,?41 ,?42 )", - "?43 +0-10800000", - "?43 +0-21600000", - "if(?44 ,?45 ,?43 )", - "abs(?46 )", - "if(0-$1 ,0,if(?47 -$1 ,$1 ,?47 ))", - "?3 +?48 -0", - "?15 *sin(pi*(?49 )/10800000)", - "?16 *cos(pi*(?49 )/10800000)", - "?15 *(cos(atan2(?50 ,?51 )))", - "?16 *(sin(atan2(?50 ,?51 )))", - "?21 +?52 -0", - "?23 +?53 -0", - "?7 *cos(pi*(?49 )/10800000)", - "?7 *sin(pi*(?49 )/10800000)", - "?22 +?56 -0", - "?24 +?57 -0", - "?7 *cos(pi*(?49 )/10800000)", - "?7 *sin(pi*(?49 )/10800000)", - "?22 +0-?60 ", - "?24 +0-?61 ", - "?62 +0-?21 ", - "?63 +0-?23 ", - "?58 +0-?21 ", - "?59 +0-?23 ", - "min(?10 ,?12 )", - "?64 *?68 /?10 ", - "?65 *?68 /?12 ", - "?66 *?68 /?10 ", - "?67 *?68 /?12 ", - "?71 +0-?69 ", - "?72 +0-?70 ", - "sqrt(?73 *?73 +?74 *?74 +0*0)", - "?69 *?72 /1", - "?71 *?70 /1", - "?76 +0-?77 ", - "?68 *?68 /1", - "?75 *?75 /1", - "?79 *?80 /1", - "?78 *?78 /1", - "?81 +0-?82 ", - "max(?83 ,0)", - "sqrt(?84 )", - "?74 *-1/1", - "if(?86 ,-1,1)", - "?87 *?73 /1", - "?88 *?85 /1", - "?78 *?74 /1", - "(?90 +?89 )/?80 ", - "?90 +0-?89 ", - "?92 *1/?80 ", - "abs(?74 )", - "?94 *?85 /1", - "?78 *?73 /-1", - "(?96 +?95 )/?80 ", - "?96 +0-?95 ", - "?98 *1/?80 ", - "?71 +0-?91 ", - "?71 +0-?93 ", - "?72 +0-?97 ", - "?72 +0-?99 ", - "sqrt(?100 *?100 +?102 *?102 +0*0)", - "sqrt(?101 *?101 +?103 *?103 +0*0)", - "?105 +0-?104 ", - "if(?106 ,?91 ,?93 )", - "if(?106 ,?97 ,?99 )", - "?107 *?10 /?68 ", - "?108 *?12 /?68 ", - "?21 +?109 -0", - "?23 +?110 -0", - "?64 *?25 /?13 ", - "?65 *?25 /?14 ", - "?66 *?25 /?13 ", - "?67 *?25 /?14 ", - "?115 +0-?113 ", - "?116 +0-?114 ", - "sqrt(?117 *?117 +?118 *?118 +0*0)", - "?113 *?116 /1", - "?115 *?114 /1", - "?120 +0-?121 ", - "?25 *?25 /1", - "?119 *?119 /1", - "?123 *?124 /1", - "?122 *?122 /1", - "?125 +0-?126 ", - "max(?127 ,0)", - "sqrt(?128 )", - "?87 *?117 /1", - "?130 *?129 /1", - "?122 *?118 /1", - "(?132 +?131 )/?124 ", - "?132 +0-?131 ", - "?134 *1/?124 ", - "abs(?118 )", - "?136 *?129 /1", - "?122 *?117 /-1", - "(?138 +?137 )/?124 ", - "?138 +0-?137 ", - "?140 *1/?124 ", - "?113 +0-?133 ", - "?113 +0-?135 ", - "?114 +0-?139 ", - "?114 +0-?141 ", - "sqrt(?142 *?142 +?144 *?144 +0*0)", - "sqrt(?143 *?143 +?145 *?145 +0*0)", - "?147 +0-?146 ", - "if(?148 ,?133 ,?135 )", - "if(?148 ,?139 ,?141 )", - "?149 *?13 /?25 ", - "?150 *?14 /?25 ", - "?21 +?151 -0", - "?23 +?152 -0", - "?15 *sin(pi*(?4 )/10800000)", - "?16 *cos(pi*(?4 )/10800000)", - "?15 *(cos(atan2(?155 ,?156 )))", - "?16 *(sin(atan2(?155 ,?156 )))", - "?21 +?157 -0", - "?23 +?158 -0", - "?4 +0-?48 ", - "?15 *sin(pi*(?161 )/10800000)", - "?16 *cos(pi*(?161 )/10800000)", - "?15 *(cos(atan2(?162 ,?163 )))", - "?16 *(sin(atan2(?162 ,?163 )))", - "?21 +?164 -0", - "?23 +?165 -0", - "?7 *cos(pi*(?161 )/10800000)", - "?7 *sin(pi*(?161 )/10800000)", - "?159 +?168 -0", - "?160 +?169 -0", - "?7 *cos(pi*(?161 )/10800000)", - "?7 *sin(pi*(?161 )/10800000)", - "?159 +0-?172 ", - "?160 +0-?173 ", - "?111 +0-?153 ", - "?112 +0-?154 ", - "sqrt(?176 *?176 +?177 *?177 +0*0)", - "?178 *1/2", - "?179 +0-?7 ", - "if(?180 ,?111 ,?58 )", - "if(?180 ,?112 ,?59 )", - "if(?180 ,?153 ,?62 )", - "if(?180 ,?154 ,?63 )", - "(10800000*atan2(?110 ,?109 ))/pi", - "?185 +21600000-0", - "if(?185 ,?185 ,?186 )", - "?187 +0-?3 ", - "?188 +21600000-0", - "if(?188 ,?188 ,?189 )", - "?4 +0-?190 ", - "?191 +21600000-0", - "if(?191 ,?191 ,?192 )", - "?187 +0-?193 ", - "?194 +21600000-0", - "if(?194 ,?194 ,?195 )", - "(10800000*atan2(?152 ,?151 ))/pi", - "?197 +21600000-0", - "if(?197 ,?197 ,?198 )", - "?199 +0-?3 ", - "?200 +0-21600000", - "if(?200 ,?201 ,?200 )", - "?4 +0-?202 ", - "?203 +0-21600000", - "if(?204 ,?204 ,?203 )", - "?205 +0-?199 ", - "?206 +0-21600000", - "if(?206 ,?207 ,?206 )", - "?10 *sin(pi*(?193 )/10800000)", - "?12 *cos(pi*(?193 )/10800000)", - "?10 *(cos(atan2(?209 ,?210 )))", - "?12 *(sin(atan2(?209 ,?210 )))", - "?21 +?211 -0", - "?23 +?212 -0", - "?13 *sin(pi*(?205 )/10800000)", - "?14 *cos(pi*(?205 )/10800000)", - "?13 *(cos(atan2(?215 ,?216 )))", - "?14 *(sin(atan2(?215 ,?216 )))", - "?21 +?217 -0", - "?23 +?218 -0", - "if(?180 ,?213 ,?170 )", - "if(?180 ,?214 ,?171 )", - "if(?180 ,?219 ,?174 )", - "if(?180 ,?220 ,?175 )", - "?161 +0-5400000", - "?49 +5400000-0", - "?49 +10800000-0", - "?161 +10800000-0", - "?10 *cos(pi*(2700000)/10800000)", - "?12 *sin(pi*(2700000)/10800000)", - "?21 +0-?229 ", - "?21 +?229 -0", - "?23 +0-?230 ", - "?23 +?230 -0", - "(?193 )/60000.0", - "(?196 )/60000.0", - "(?199 )/60000.0", - "(?208 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 213, 214 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 111, 112 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 62, 63 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 166, 167 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 221, 222 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 213, 214 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 235, 236 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 181, 182 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 183, 184 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 153, 154 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 237, 238 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 223, 224 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 17,1, - 2,4, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 231, 233 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 232, 234 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftRightCircularArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftRightRibbon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$2 ,0,if(33333-$2 ,$2 ,33333))", - "100000+0-?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "logwidth/2", - "logwidth/32", - "?3 +0-?4 ", - "min(logwidth,logheight)", - "100000*?5 /?6 ", - "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))", - "?6 *?8 /100000", - "logwidth+0-?9 ", - "logheight*?2 /200000", - "logheight*?0 /-200000", - "logheight/2", - "?13 +?12 -?11 ", - "?13 +?11 -?12 ", - "?14 +?11 -0", - "logheight+0-?16 ", - "?16 *2/1", - "logheight+0-?18 ", - "?18 +0-?14 ", - "logheight+0-?20 ", - "?0 *?6 /400000", - "logwidth/2", - "?23 +0-?4 ", - "?23 +?4 -0", - "?14 +?22 -0", - "?21 +0-?22 ", - "logwidth", - "logheight", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 7); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 33333); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 21 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 20 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 17,2, - 2,6, - 17,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 17,2, - 2,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,3, - 17,2, - 2,6, - 17,1, - 2,3, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftRightRibbon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftRightUpArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "100000+0-?1 ", - "?3 *1/2", - "if(0-$2 ,0,if(?4 -$2 ,$2 ,?4 ))", - "min(logwidth,logheight)", - "?6 *?5 /100000", - "?6 *?0 /100000", - "logwidth/2", - "?9 +0-?8 ", - "?9 +?8 -0", - "?6 *?2 /200000", - "?9 +0-?12 ", - "?9 +?12 -0", - "logwidth+0-?7 ", - "?6 *?0 /50000", - "logheight+0-?16 ", - "logheight+0-?8 ", - "?18 +0-?12 ", - "?18 +?12 -0", - "?12 *?7 /?8 ", - "logwidth+0-?21 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 4); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 24 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,16, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 19 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 20 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftRightUpArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCleftUpArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "100000+0-?1 ", - "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))", - "min(logwidth,logheight)", - "?5 *?4 /100000", - "?5 *?0 /50000", - "logwidth+0-?7 ", - "logheight+0-?7 ", - "?5 *?0 /100000", - "logwidth+0-?10 ", - "logheight+0-?10 ", - "?5 *?2 /200000", - "?11 +0-?13 ", - "?11 +?13 -0", - "?12 +0-?13 ", - "?12 +?13 -0", - "?13 *?6 /?10 ", - "(?6 +?15 )/2", - "(?6 +?17 )/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 16 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 6 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 21 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 16 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 17 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-leftUpArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeClightningBolt : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*5022/21600", - "logwidth*8472/21600", - "logwidth*8757/21600", - "logwidth*10012/21600", - "logwidth*12860/21600", - "logwidth*13917/21600", - "logwidth*16577/21600", - "logheight*3890/21600", - "logheight*6080/21600", - "logheight*7437/21600", - "logheight*9705/21600", - "logheight*12007/21600", - "logheight*14277/21600", - "logheight*14915/21600", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 8472, 0 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 12860, 6080 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 11050, 6797 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 16577, 12007 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 14767, 12877 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 21600, 21600 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 10012, 14915 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 12222, 13987 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 5022, 9705 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 7602, 8382 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 3890 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,10, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "SubViewSize"; - Sequence< awt::Size > aSizeSequence (1); - { - awt::Size aSize; - aSize.Width = 21600; - aSize.Height = 21600; - aSizeSequence [0] = aSize; - } - aPropSequence [2].Value = makeAny (aSizeSequence); - } - { - aPropSequence [3].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 9 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 12 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [3].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-lightningBolt")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCline : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (2); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-line")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeClineInv : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (2); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-lineInv")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathDivide : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 5880); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 11760); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(1000-$0 ,1000,if(36745-$0 ,$0 ,36745))", - "0+0-?0 ", - "(73490+?1 )/4", - "36745*logwidth/logheight", - "min(?2 ,?3 )", - "if(1000-$2 ,1000,if(?4 -$2 ,$2 ,?4 ))", - "-4*?5 /1", - "73490+?6 -?0 ", - "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))", - "logheight*?0 /200000", - "logheight*?8 /100000", - "logheight*?5 /100000", - "logwidth*73490/200000", - "logheight/2", - "?13 +0-?9 ", - "?13 +?9 -0", - "?10 +?11 -0", - "?14 +0-?16 ", - "?17 +0-?11 ", - "logheight+0-?18 ", - "logwidth/2", - "?20 +0-?12 ", - "?20 +?12 -0", - "?20 +0-?11 ", - "logwidth", - "(16200000)/60000.0", - "(21600000)/60000.0", - "(5400000)/60000.0", - "(21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 36745); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 17 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 7); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 4); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 15 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 4,0, - 1,1, - 17,1, - 4,0, - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathDivide")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathEqual : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 11760); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(36745-$0 ,$0 ,36745))", - "?0 *2/1", - "100000+0-2", - "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))", - "logheight*?0 /100000", - "logheight*?3 /200000", - "logwidth*73490/200000", - "logheight/2", - "?7 +0-?5 ", - "?7 +?5 -0", - "?8 +0-?4 ", - "?9 +?4 -0", - "logwidth/2", - "?12 +0-?6 ", - "?12 +?6 -0", - "(?10 +?8 )/2", - "(?9 +?11 )/2", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 36745); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 11 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 10 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathEqual")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathMinus : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "logheight*?0 /200000", - "logwidth*73490/200000", - "logheight/2", - "?3 +0-?1 ", - "?3 +?1 -0", - "logwidth/2", - "?6 +0-?2 ", - "?6 +?2 -0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathMinus")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathMultiply : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(51965-$0 ,$0 ,51965))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "(10800000*atan2(logheight,logwidth))/pi", - "1*sin(pi*(?3 )/10800000)", - "1*cos(pi*(?3 )/10800000)", - "1*tan(pi*(?3 )/10800000)", - "sqrt(logwidth*logwidth+logheight*logheight+0*0)", - "?7 *51965/100000", - "?7 +0-?8 ", - "?5 *?9 /2", - "?4 *?9 /2", - "?4 *?2 /2", - "?5 *?2 /2", - "?10 +0-?12 ", - "?11 +?13 -0", - "?10 +?12 -0", - "?11 +0-?13 ", - "logwidth/2", - "?18 +0-?16 ", - "?19 *?6 /1", - "?20 +?17 -0", - "logwidth+0-?16 ", - "logwidth+0-?14 ", - "logheight/2", - "?24 +0-?15 ", - "?25 *1/?6 ", - "?23 +0-?26 ", - "?14 +?26 -0", - "logheight+0-?15 ", - "logheight+0-?17 ", - "logheight+0-?21 ", - "logwidth+0-?10 ", - "logheight+0-?11 " - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 51965); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 24 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 17 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathMultiply")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathNotEqual : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 6600000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 11760); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(4200000-$1 ,4200000,if(6600000-$1 ,$1 ,6600000))", - "?0 *2/1", - "100000+0-2", - "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))", - "logheight*?0 /100000", - "logheight*?4 /200000", - "logwidth*73490/200000", - "logwidth/2", - "?8 +0-?7 ", - "?8 +?7 -0", - "logheight/2", - "?11 +0-?6 ", - "?11 +?6 -0", - "?12 +0-?5 ", - "?13 +?5 -0", - "?1 +0-5400000", - "logheight/2", - "?17 *tan(pi*(?16 )/10800000)", - "sqrt(?18 *?18 +?17 *?17 +0*0)", - "?19 *?5 /?17 ", - "?20 *1/2", - "?8 +?18 -?21 ", - "?18 *?14 /?17 ", - "?22 +0-?23 ", - "?18 *?12 /?17 ", - "?22 +0-?25 ", - "?18 *?13 /?17 ", - "?22 +0-?27 ", - "?18 *?15 /?17 ", - "?22 +0-?29 ", - "?18 *2/1", - "?22 +0-?31 ", - "?22 +?20 -0", - "?24 +?20 -0", - "?26 +?20 -0", - "?28 +?20 -0", - "?30 +?20 -0", - "?32 +?20 -0", - "?5 *?17 /?19 ", - "?22 +?39 -0", - "?33 +0-?39 ", - "if(?16 ,?40 ,?33 )", - "if(?16 ,?22 ,?41 )", - "?5 *?18 /?19 ", - "0+0-?44 ", - "if(?16 ,?44 ,0)", - "if(?16 ,0,?45 )", - "logwidth+0-?42 ", - "logwidth+0-?43 ", - "logheight+0-?46 ", - "logheight+0-?47 ", - "(?42 +?43 )/2", - "(?49 +?48 )/2", - "(?46 +?47 )/2", - "(?14 +?12 )/2", - "(?13 +?15 )/2", - "(?51 +?50 )/2", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 43, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 12 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 51 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,19, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathNotEqual")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmathPlus : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 23520); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(73490-$0 ,$0 ,73490))", - "logwidth*73490/200000", - "logheight*73490/200000", - "min(logwidth,logheight)", - "?3 *?0 /200000", - "logwidth/2", - "?5 +0-?1 ", - "?5 +0-?4 ", - "?5 +?4 -0", - "?5 +?1 -0", - "logheight/2", - "?10 +0-?2 ", - "?10 +0-?4 ", - "?10 +?4 -0", - "?10 +?2 -0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 73490); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 12 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-mathPlus")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCmoon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(87500-$0 ,$0 ,87500))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "?2 *logwidth/?1 ", - "?1 +0-?2 ", - "?2 *?2 /?4 ", - "?1 *?1 /?4 ", - "?6 *2/1", - "?7 +0-?5 ", - "?8 +0-?2 ", - "?9 *logwidth/?1 ", - "?8 *1/2", - "?11 +0-?2 ", - "logheight/2", - "?12 *?13 /?1 ", - "logheight/2", - "?15 +0-?14 ", - "?15 +?14 -0", - "?2 *9598/32768", - "?18 *logwidth/?1 ", - "?1 +0-?18 ", - "?1 *?1 /1", - "?20 *?20 /1", - "?21 +0-?22 ", - "sqrt(?23 )", - "?24 *?13 /?1 ", - "?15 +0-?25 ", - "?15 +?25 -0", - "?10 +0-?3 ", - "?28 *1/2", - "?3 +?29 -logwidth", - "?30 *-1/1", - "?13 *-1/1", - "(10800000*atan2(?32 ,?31 ))/pi", - "(10800000*atan2(?13 ,?31 ))/pi", - "?34 +0-21600000", - "?35 +0-?33 ", - "logwidth", - "logheight", - "logwidth", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(?33 )/60000.0", - "(?36 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 15 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 87500); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 26 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 27 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-moon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCnoSmoking : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 18750); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth/2", - "?3 +0-?2 ", - "logheight/2", - "?5 +0-?2 ", - "(10800000*atan2(logheight,logwidth))/pi", - "?6 *cos(pi*(?7 )/10800000)", - "?4 *sin(pi*(?7 )/10800000)", - "sqrt(?8 *?8 +?9 *?9 +0*0)", - "?4 *?6 /?10 ", - "?2 *1/2", - "(10800000*atan2(?12 ,?11 ))/pi", - "?13 *2/1", - "-10800000+2-0", - "(10800000*atan2(logheight,logwidth))/pi", - "?16 +0-?13 ", - "?17 +0-10800000", - "?6 *cos(pi*(?17 )/10800000)", - "?4 *sin(pi*(?17 )/10800000)", - "sqrt(?19 *?19 +?20 *?20 +0*0)", - "?4 *?6 /?21 ", - "?22 *cos(pi*(?17 )/10800000)", - "?22 *sin(pi*(?17 )/10800000)", - "logwidth/2", - "?25 +?23 -0", - "logheight/2", - "?27 +?24 -0", - "?25 +0-?23 ", - "?27 +0-?24 ", - "?3 *cos(pi*(2700000)/10800000)", - "?5 *sin(pi*(2700000)/10800000)", - "?25 +0-?31 ", - "?25 +?31 -0", - "?27 +0-?32 ", - "?27 +?32 -0", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(?17 )/60000.0", - "(?15 )/60000.0", - "(?18 )/60000.0", - "(?15 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 27 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RadiusRangeMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RadiusRangeMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,4, - 4,0, - 1,1, - 17,1, - 4,0, - 1,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 35 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-noSmoking")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCnonIsoscelesTrapezoid : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?2 /200000", - "?0 *?2 /100000", - "?0 *?3 /100000", - "logwidth+0-?6 ", - "(logwidth+?7 )/2", - "logwidth/3", - "?9 *?2 /?1 ", - "max(?2 ,?3 )", - "logheight/3", - "?12 *?11 /?1 ", - "?9 *?3 /?1 ", - "logwidth+0-?14 ", - "logheight/2", - "logwidth/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 18 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 13 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 18 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-nonIsoscelesTrapezoid")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCnotchedRightArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "logwidth+0-?4 ", - "logheight*?2 /200000", - "logheight/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logheight/2", - "?6 *?4 /?10 ", - "logwidth+0-?11 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,7, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-notchedRightArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCoctagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 29289); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "?2 *1/2", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,7, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-octagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCparallelogram : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /200000", - "?0 *?2 /100000", - "logwidth+0-?3 ", - "logwidth+0-?4 ", - "?6 *1/2", - "logwidth+0-?7 ", - "logwidth/2", - "?9 *?2 /?1 ", - "5*?2 /?1 ", - "(1+?11 )/12", - "?12 *logwidth/1", - "?12 *logheight/1", - "logwidth+0-?13 ", - "logheight+0-?14 ", - "logwidth/2", - "logheight*?17 /?4 ", - "if(0-?18 ,0,if(logheight-?18 ,?18 ,logheight))", - "logheight+0-?19 ", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 22 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 14 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-parallelogram")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCpentagon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 105146); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "hf"; - } - { - Any aAny ((sal_Int32) 110557); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth/2", - "?0 *$0 /100000", - "logheight/2", - "?2 *$1 /100000", - "logheight/2", - "?4 *$1 /100000", - "?1 *cos(pi*(1080000)/10800000)", - "?1 *cos(pi*(18360000)/10800000)", - "?3 *sin(pi*(1080000)/10800000)", - "?3 *sin(pi*(18360000)/10800000)", - "logwidth/2", - "?10 +0-?6 ", - "?10 +0-?7 ", - "?10 +?7 -0", - "?10 +?6 -0", - "?5 +0-?8 ", - "?5 +0-?9 ", - "?15 *?7 /?6 ", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 16 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 17 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 16 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-pentagon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCpie : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 0); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 16200000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))", - "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))", - "?1 +0-?0 ", - "?2 +21600000-0", - "if(?2 ,?2 ,?3 )", - "logwidth/2", - "?5 *sin(pi*(?0 )/10800000)", - "logheight/2", - "?7 *cos(pi*(?0 )/10800000)", - "?5 *(cos(atan2(?6 ,?8 )))", - "?7 *(sin(atan2(?6 ,?8 )))", - "logwidth/2", - "?11 +?9 -0", - "logheight/2", - "?13 +?10 -0", - "?5 *sin(pi*(?1 )/10800000)", - "?7 *cos(pi*(?1 )/10800000)", - "?5 *(cos(atan2(?15 ,?16 )))", - "?7 *(sin(atan2(?15 ,?16 )))", - "?11 +?17 -0", - "?13 +?18 -0", - "?5 *cos(pi*(2700000)/10800000)", - "?7 *sin(pi*(2700000)/10800000)", - "?11 +0-?21 ", - "?11 +?21 -0", - "?13 +0-?22 ", - "?13 +?22 -0", - "logwidth", - "logheight", - "(?0 )/60000.0", - "(?4 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (1); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-pie")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCpieWedge : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth*cos(pi*(13500000)/10800000)", - "logheight*sin(pi*(13500000)/10800000)", - "logwidth+?0 -0", - "logheight+?1 -0", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight", - "logwidth", - "logheight", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-pieWedge")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCplaque : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "?2 *70711/100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-plaque")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCplaqueTabs : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "sqrt(logwidth*logwidth+logheight*logheight+0*0)", - "1*?0 /20", - "0+logheight-?1 ", - "0+logwidth-?1 ", - "logheight", - "logwidth", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 4,0, - 5,0, - 1,1, - 17,1, - 2,1, - 4,0, - 5,0, - 1,1, - 2,1, - 17,1, - 4,0, - 5,0, - 1,1, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-plaqueTabs")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCplus : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "logwidth+0-logheight", - "if(?5 ,0,?2 )", - "if(?5 ,logwidth,?3 )", - "if(?5 ,?2 ,0)", - "if(?5 ,?4 ,logheight)", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-plus")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap4() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "horizontalScroll" ) ] = new ShapeChorizontalScroll(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "irregularSeal1" ) ] = new ShapeCirregularSeal1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "irregularSeal2" ) ] = new ShapeCirregularSeal2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftArrow" ) ] = new ShapeCleftArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftArrowCallout" ) ] = new ShapeCleftArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftBrace" ) ] = new ShapeCleftBrace(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftBracket" ) ] = new ShapeCleftBracket(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftCircularArrow" ) ] = new ShapeCleftCircularArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightArrow" ) ] = new ShapeCleftRightArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightArrowCallout" ) ] = new ShapeCleftRightArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightCircularArrow" ) ] = new ShapeCleftRightCircularArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightRibbon" ) ] = new ShapeCleftRightRibbon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightUpArrow" ) ] = new ShapeCleftRightUpArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftUpArrow" ) ] = new ShapeCleftUpArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lightningBolt" ) ] = new ShapeClightningBolt(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "line" ) ] = new ShapeCline(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lineInv" ) ] = new ShapeClineInv(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathDivide" ) ] = new ShapeCmathDivide(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathEqual" ) ] = new ShapeCmathEqual(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathMinus" ) ] = new ShapeCmathMinus(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathMultiply" ) ] = new ShapeCmathMultiply(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathNotEqual" ) ] = new ShapeCmathNotEqual(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathPlus" ) ] = new ShapeCmathPlus(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "moon" ) ] = new ShapeCmoon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "noSmoking" ) ] = new ShapeCnoSmoking(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "nonIsoscelesTrapezoid" ) ] = new ShapeCnonIsoscelesTrapezoid(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "notchedRightArrow" ) ] = new ShapeCnotchedRightArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "octagon" ) ] = new ShapeCoctagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "parallelogram" ) ] = new ShapeCparallelogram(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pentagon" ) ] = new ShapeCpentagon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pie" ) ] = new ShapeCpie(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pieWedge" ) ] = new ShapeCpieWedge(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaque" ) ] = new ShapeCplaque(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaqueTabs" ) ] = new ShapeCplaqueTabs(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plus" ) ] = new ShapeCplus(); -} - -} } // oox // drawingml - diff --git a/oox/source/drawingml/customshapepresets5.cxx b/oox/source/drawingml/customshapepresets5.cxx deleted file mode 100644 index 71f841f16d5f..000000000000 --- a/oox/source/drawingml/customshapepresets5.cxx +++ /dev/null @@ -1,9881 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeCquadArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 22500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 22500); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 22500); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "100000+0-?1 ", - "?3 *1/2", - "if(0-$2 ,0,if(?4 -$2 ,$2 ,?4 ))", - "min(logwidth,logheight)", - "?6 *?5 /100000", - "?6 *?0 /100000", - "logwidth/2", - "?9 +0-?8 ", - "?9 +?8 -0", - "?6 *?2 /200000", - "?9 +0-?12 ", - "?9 +?12 -0", - "logwidth+0-?7 ", - "logheight/2", - "?16 +0-?8 ", - "?16 +?8 -0", - "?16 +0-?12 ", - "?16 +?12 -0", - "logheight+0-?7 ", - "?12 *?7 /?8 ", - "logwidth+0-?22 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 4); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 18 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,23, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 19 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 20 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-quadArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCquadArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 18515); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 18515); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 18515); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 48123); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "50000+0-?0 ", - "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))", - "?4 *2/1", - "100000+0-?5 ", - "if(?2 -$3 ,?2 ,if(?6 -$3 ,$3 ,?6 ))", - "min(logwidth,logheight)", - "?8 *?0 /100000", - "?8 *?2 /200000", - "?8 *?4 /100000", - "logwidth*?7 /200000", - "logheight*?7 /200000", - "logwidth+0-?11 ", - "logwidth/2", - "?15 +0-?12 ", - "?15 +?12 -0", - "?15 +0-?9 ", - "?15 +?9 -0", - "?15 +0-?10 ", - "?15 +?10 -0", - "logheight+0-?11 ", - "logheight/2", - "?23 +0-?13 ", - "?23 +?13 -0", - "?23 +0-?9 ", - "?23 +?9 -0", - "?23 +0-?10 ", - "?23 +?10 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 11 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 18, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 11 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 6); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 15, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 27 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,31, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 24 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 25 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-quadArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCribbon : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(33333-$0 ,$0 ,33333))", - "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))", - "logwidth/8", - "logwidth+0-?2 ", - "logwidth*?1 /200000", - "logwidth/2", - "?5 +0-?4 ", - "?5 +?4 -0", - "logwidth/32", - "?6 +?8 -0", - "?7 +0-?8 ", - "?6 +?2 -0", - "?7 +0-?2 ", - "?11 +0-?8 ", - "?12 +?8 -0", - "logheight*?0 /200000", - "logheight*?0 /100000", - "logheight+0-?16 ", - "?17 *1/2", - "logheight*?0 /400000", - "logheight+0-?19 ", - "?16 +0-?19 ", - "logheight", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "logwidth", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 16 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 33333); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 75000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 31, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 16 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 31, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,5, - 17,1, - 2,1, - 17,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,5, - 17,1, - 2,1, - 17,1, - 2,3, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 22 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-ribbon")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCribbon2 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(33333-$0 ,$0 ,33333))", - "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))", - "logwidth/8", - "logwidth+0-?2 ", - "logwidth*?1 /200000", - "logwidth/2", - "?5 +0-?4 ", - "?5 +?4 -0", - "logwidth/32", - "?6 +?8 -0", - "?7 +0-?8 ", - "?6 +?2 -0", - "?7 +0-?2 ", - "?11 +0-?8 ", - "?12 +?8 -0", - "logheight*?0 /200000", - "logheight+0-?15 ", - "logheight*?0 /100000", - "logheight+0-?17 ", - "0+?17 -0", - "(?19 +logheight)/2", - "logheight*?0 /400000", - "logheight+0-?21 ", - "?16 +0-?21 ", - "logheight", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "logwidth", - "(0)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(-10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 33333); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 24 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 75000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 19 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 44, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 18 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 20 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 46, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 10, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 51 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 53 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 55 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 57 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 23 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,5, - 17,1, - 2,1, - 17,1, - 2,3, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,4, - 17,1, - 2,1, - 17,1, - 2,6, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 18 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-ribbon2")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrightArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logwidth/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "logwidth+0-?4 ", - "logheight*?2 /200000", - "logheight/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logheight/2", - "?8 *?4 /?10 ", - "?5 +?11 -0", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rightArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrightArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 64977); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "100000*logwidth/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "?6 *?0 /logwidth", - "100000+0-?7 ", - "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logheight/2", - "?12 +0-?10 ", - "?12 +0-?11 ", - "?12 +?11 -0", - "?12 +?10 -0", - "?0 *?6 /100000", - "logwidth+0-?17 ", - "logwidth*?9 /100000", - "?19 *1/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 18, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 22 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 8); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 19, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 22 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,10, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 22 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rightArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrightBrace : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 8333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(100000-$1 ,$1 ,100000))", - "100000+0-?0 ", - "min(?1 ,?0 )", - "?2 *1/2", - "min(logwidth,logheight)", - "?3 *logheight/?4 ", - "if(0-$0 ,0,if(?5 -$0 ,$0 ,?5 ))", - "?4 *?6 /100000", - "logheight*?0 /100000", - "?8 +0-?7 ", - "logheight+0-?7 ", - "logwidth/2", - "?11 *cos(pi*(2700000)/10800000)", - "?7 *sin(pi*(2700000)/10800000)", - "0+?12 -0", - "?7 +0-?13 ", - "logheight+?13 -?7 ", - "logwidth/2", - "logwidth", - "logheight", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 7 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,2, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 15 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 16 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rightBrace")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrightBracket : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 8333); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /100000", - "logheight+0-?3 ", - "logwidth*cos(pi*(2700000)/10800000)", - "?3 *sin(pi*(2700000)/10800000)", - "0+?5 -0", - "?3 +0-?6 ", - "logheight+?6 -?3 ", - "logwidth", - "logheight", - "logheight/2", - "logwidth", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 3 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 2,1, - 17,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rightBracket")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCround1Rect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "?2 *29289/100000", - "logwidth+0-?4 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(16200000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-round1Rect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCround2DiagRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "logheight+0-?3 ", - "?2 *?1 /100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "?3 *29289/100000", - "?5 *29289/100000", - "?8 +0-?9 ", - "if(?10 ,?8 ,?9 )", - "logwidth+0-?11 ", - "logheight+0-?11 ", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 11 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-round2DiagRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCround2SameRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "logwidth+0-?3 ", - "?2 *?1 /100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "?3 +0-?5 ", - "?3 *29289/100000", - "?5 *29289/100000", - "if(?8 ,?9 ,?10 )", - "logwidth+0-?11 ", - "logheight+0-?10 ", - "logheight", - "logwidth", - "logheight/2", - "logwidth/2", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 9 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-round2SameRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCroundRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "logheight+0-?2 ", - "?2 *29289/100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 19 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 7 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-roundRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCrtTriangle : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logheight*7/12", - "logwidth*7/12", - "logheight*11/12", - "logheight/2", - "logheight", - "logwidth/2", - "logwidth", - "logwidth/12" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-rtTriangle")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsmileyFace : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 4653); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(-4653-$0 ,-4653,if(4653-$0 ,$0 ,4653))", - "logwidth*4969/21699", - "logwidth*6215/21600", - "logwidth*13135/21600", - "logwidth*16640/21600", - "logheight*7570/21600", - "logheight*16515/21600", - "logheight*?0 /100000", - "?6 +0-?7 ", - "?6 +?7 -0", - "logheight*?0 /50000", - "?9 +?10 -0", - "logwidth/2", - "?12 *cos(pi*(2700000)/10800000)", - "logheight/2", - "?14 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?16 +0-?13 ", - "?16 +?13 -0", - "logheight/2", - "?19 +0-?15 ", - "?19 +?15 -0", - "logwidth*1125/21600", - "logheight*1125/21600", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(21600000)/60000.0", - "(10800000)/60000.0", - "(21600000)/60000.0", - "(10800000)/60000.0", - "(21600000)/60000.0", - "(10800000)/60000.0", - "(21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 9 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 4653); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -4653); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 33 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 4,0, - 7,0, - 5,0, - 1,1, - 17,1, - 1,1, - 17,1, - 19,0, - 5,0, - 1,1, - 16,1, - 6,0, - 5,0, - 1,1, - 17,1, - 4,0, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 20 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 21 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-smileyFace")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsnip1Rect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "logwidth+0-?2 ", - "?2 *1/2", - "(?3 +logwidth)/2", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,4, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-snip1Rect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsnip2DiagRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 0); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "logwidth+0-?3 ", - "logheight+0-?3 ", - "?2 *?1 /100000", - "logwidth+0-?6 ", - "logheight+0-?6 ", - "?3 +0-?6 ", - "if(?9 ,?3 ,?6 )", - "?10 *1/2", - "logwidth+0-?11 ", - "logheight+0-?11 ", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 17 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,7, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 11 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-snip2DiagRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsnip2SameRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "logwidth+0-?3 ", - "?2 *?1 /100000", - "logwidth+0-?5 ", - "logheight+0-?5 ", - "?3 +0-?5 ", - "if(?8 ,?3 ,?5 )", - "?9 *1/2", - "logwidth+0-?10 ", - "?3 *1/2", - "(?7 +logheight)/2", - "logheight", - "logwidth", - "logheight/2", - "logwidth/2" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 14 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 7 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,7, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 12 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-snip2SameRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsnipRoundRect : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))", - "min(logwidth,logheight)", - "?2 *?0 /100000", - "?2 *?1 /100000", - "logwidth+0-?4 ", - "?3 *29289/100000", - "(?5 +logwidth)/2", - "logwidth", - "logheight/2", - "logwidth/2", - "logheight", - "(10800000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 11 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,5, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 6 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-snipRoundRect")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsquareTabs : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "sqrt(logwidth*logwidth+logheight*logheight+0*0)", - "1*?0 /20", - "0+logheight-?1 ", - "0+logwidth-?1 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 1, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 4 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 1 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,3, - 4,0, - 5,0, - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 1 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 2 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-squareTabs")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar10 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 42533); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - { - Any aAny ((sal_Int32) 105146); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "hf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *$1 /100000", - "?2 *95106/100000", - "?2 *58779/100000", - "logwidth/2", - "?5 +0-?3 ", - "?5 +0-?4 ", - "?5 +?4 -0", - "?5 +?3 -0", - "logheight/2", - "?10 *80902/100000", - "?10 *30902/100000", - "logheight/2", - "?13 +0-?11 ", - "?13 +0-?12 ", - "?13 +?12 -0", - "?13 +?11 -0", - "?2 *?0 /50000", - "?10 *?0 /50000", - "?18 *80902/100000", - "?18 *30902/100000", - "?19 *95106/100000", - "?19 *58779/100000", - "?5 +0-?18 ", - "?5 +0-?20 ", - "?5 +0-?21 ", - "?5 +?21 -0", - "?5 +?20 -0", - "?5 +?18 -0", - "?13 +0-?22 ", - "?13 +0-?23 ", - "?13 +?23 -0", - "?13 +?22 -0", - "?13 +0-?19 ", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 34 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 13 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,19, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 32 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star10")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar12 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 37500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *cos(pi*(1800000)/10800000)", - "logheight/2", - "?3 *sin(pi*(3600000)/10800000)", - "logwidth/2", - "?5 +0-?2 ", - "logwidth*3/4", - "?5 +?2 -0", - "logheight/2", - "?9 +0-?4 ", - "logheight*3/4", - "?9 +?4 -0", - "?1 *?0 /50000", - "?3 *?0 /50000", - "?13 *cos(pi*(900000)/10800000)", - "?13 *cos(pi*(2700000)/10800000)", - "?13 *cos(pi*(4500000)/10800000)", - "?14 *sin(pi*(4500000)/10800000)", - "?14 *sin(pi*(2700000)/10800000)", - "?14 *sin(pi*(900000)/10800000)", - "?5 +0-?15 ", - "?5 +0-?16 ", - "?5 +0-?17 ", - "?5 +?17 -0", - "?5 +?16 -0", - "?5 +?15 -0", - "?9 +0-?18 ", - "?9 +0-?19 ", - "?9 +0-?20 ", - "?9 +?20 -0", - "?9 +?19 -0", - "?9 +?18 -0", - "?9 +0-?14 ", - "logheight/4", - "logwidth", - "logheight", - "logwidth/4" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 33 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 30 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,23, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 28 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star12")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar16 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 37500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *92388/100000", - "?1 *70711/100000", - "?1 *38268/100000", - "logheight/2", - "?5 *92388/100000", - "?5 *70711/100000", - "?5 *38268/100000", - "logwidth/2", - "?9 +0-?2 ", - "?9 +0-?3 ", - "?9 +0-?4 ", - "?9 +?4 -0", - "?9 +?3 -0", - "?9 +?2 -0", - "logheight/2", - "?16 +0-?6 ", - "?16 +0-?7 ", - "?16 +0-?8 ", - "?16 +?8 -0", - "?16 +?7 -0", - "?16 +?6 -0", - "?1 *?0 /50000", - "?5 *?0 /50000", - "?23 *98079/100000", - "?23 *83147/100000", - "?23 *55557/100000", - "?23 *19509/100000", - "?24 *98079/100000", - "?24 *83147/100000", - "?24 *55557/100000", - "?24 *19509/100000", - "?9 +0-?25 ", - "?9 +0-?26 ", - "?9 +0-?27 ", - "?9 +0-?28 ", - "?9 +?28 -0", - "?9 +?27 -0", - "?9 +?26 -0", - "?9 +?25 -0", - "?16 +0-?29 ", - "?16 +0-?30 ", - "?16 +0-?31 ", - "?16 +0-?32 ", - "?16 +?32 -0", - "?16 +?31 -0", - "?16 +?30 -0", - "?16 +?29 -0", - "?23 *cos(pi*(2700000)/10800000)", - "?24 *sin(pi*(2700000)/10800000)", - "?9 +0-?49 ", - "?16 +0-?50 ", - "?9 +?49 -0", - "?16 +?50 -0", - "?16 +0-?24 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 55 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 9, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 40, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 57 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 36, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 10, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 45 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,31, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 53, 54 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star16")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar24 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 37500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *cos(pi*(900000)/10800000)", - "?1 *cos(pi*(1800000)/10800000)", - "?1 *cos(pi*(2700000)/10800000)", - "logwidth/4", - "?5 ", - "?1 *cos(pi*(4500000)/10800000)", - "logheight/2", - "?8 *sin(pi*(4500000)/10800000)", - "?8 *sin(pi*(3600000)/10800000)", - "?8 *sin(pi*(2700000)/10800000)", - "logheight/4", - "?12 ", - "?8 *sin(pi*(900000)/10800000)", - "logwidth/2", - "?15 +0-?2 ", - "?15 +0-?3 ", - "?15 +0-?4 ", - "?15 +0-?6 ", - "?15 +0-?7 ", - "?15 +?7 -0", - "?15 +?6 -0", - "?15 +?4 -0", - "?15 +?3 -0", - "?15 +?2 -0", - "logheight/2", - "?26 +0-?9 ", - "?26 +0-?10 ", - "?26 +0-?11 ", - "?26 +0-?13 ", - "?26 +0-?14 ", - "?26 +?14 -0", - "?26 +?13 -0", - "?26 +?11 -0", - "?26 +?10 -0", - "?26 +?9 -0", - "?1 *?0 /50000", - "?8 *?0 /50000", - "?37 *99144/100000", - "?37 *92388/100000", - "?37 *79335/100000", - "?37 *60876/100000", - "?37 *38268/100000", - "?37 *13053/100000", - "?38 *99144/100000", - "?38 *92388/100000", - "?38 *79335/100000", - "?38 *60876/100000", - "?38 *38268/100000", - "?38 *13053/100000", - "?15 +0-?39 ", - "?15 +0-?40 ", - "?15 +0-?41 ", - "?15 +0-?42 ", - "?15 +0-?43 ", - "?15 +0-?44 ", - "?15 +?44 -0", - "?15 +?43 -0", - "?15 +?42 -0", - "?15 +?41 -0", - "?15 +?40 -0", - "?15 +?39 -0", - "?26 +0-?45 ", - "?26 +0-?46 ", - "?26 +0-?47 ", - "?26 +0-?48 ", - "?26 +0-?49 ", - "?26 +0-?50 ", - "?26 +?50 -0", - "?26 +?49 -0", - "?26 +?48 -0", - "?26 +?47 -0", - "?26 +?46 -0", - "?26 +?45 -0", - "?37 *cos(pi*(2700000)/10800000)", - "?38 *sin(pi*(2700000)/10800000)", - "?15 +0-?75 ", - "?26 +0-?76 ", - "?15 +?75 -0", - "?26 +?76 -0", - "?26 +0-?38 ", - "min(logwidth,logheight)/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 81 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 82); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 68 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 67 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 53, 66 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 65 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 55, 64 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 63 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 15, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 63 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 64 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 59, 65 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 66 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 61, 67 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 62, 68 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 84, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 62, 69 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 61, 70 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 60, 71 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 59, 72 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 58, 73 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 57, 74 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 83 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 56, 74 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 55, 73 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 54, 72 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 53, 71 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 52, 70 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 69 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,47, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 77, 78 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 79, 80 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star24")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar32 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 37500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *98079/100000", - "?1 *92388/100000", - "?1 *83147/100000", - "?1 *cos(pi*(2700000)/10800000)", - "?1 *55557/100000", - "?1 *38268/100000", - "?1 *19509/100000", - "logheight/2", - "?9 *98079/100000", - "?9 *92388/100000", - "?9 *83147/100000", - "?9 *sin(pi*(2700000)/10800000)", - "?9 *55557/100000", - "?9 *38268/100000", - "?9 *19509/100000", - "logwidth/2", - "?17 +0-?2 ", - "?17 +0-?3 ", - "?17 +0-?4 ", - "?17 +0-?5 ", - "?17 +0-?6 ", - "?17 +0-?7 ", - "?17 +0-?8 ", - "?17 +?8 -0", - "?17 +?7 -0", - "?17 +?6 -0", - "?17 +?5 -0", - "?17 +?4 -0", - "?17 +?3 -0", - "?17 +?2 -0", - "logheight/2", - "?32 +0-?10 ", - "?32 +0-?11 ", - "?32 +0-?12 ", - "?32 +0-?13 ", - "?32 +0-?14 ", - "?32 +0-?15 ", - "?32 +0-?16 ", - "?32 +?16 -0", - "?32 +?15 -0", - "?32 +?14 -0", - "?32 +?13 -0", - "?32 +?12 -0", - "?32 +?11 -0", - "?32 +?10 -0", - "?1 *?0 /50000", - "?9 *?0 /50000", - "?47 *99518/100000", - "?47 *95694/100000", - "?47 *88192/100000", - "?47 *77301/100000", - "?47 *63439/100000", - "?47 *47140/100000", - "?47 *29028/100000", - "?47 *9802/100000", - "?48 *99518/100000", - "?48 *95694/100000", - "?48 *88192/100000", - "?48 *77301/100000", - "?48 *63439/100000", - "?48 *47140/100000", - "?48 *29028/100000", - "?48 *9802/100000", - "?17 +0-?49 ", - "?17 +0-?50 ", - "?17 +0-?51 ", - "?17 +0-?52 ", - "?17 +0-?53 ", - "?17 +0-?54 ", - "?17 +0-?55 ", - "?17 +0-?56 ", - "?17 +?56 -0", - "?17 +?55 -0", - "?17 +?54 -0", - "?17 +?53 -0", - "?17 +?52 -0", - "?17 +?51 -0", - "?17 +?50 -0", - "?17 +?49 -0", - "?32 +0-?57 ", - "?32 +0-?58 ", - "?32 +0-?59 ", - "?32 +0-?60 ", - "?32 +0-?61 ", - "?32 +0-?62 ", - "?32 +0-?63 ", - "?32 +0-?64 ", - "?32 +?64 -0", - "?32 +?63 -0", - "?32 +?62 -0", - "?32 +?61 -0", - "?32 +?60 -0", - "?32 +?59 -0", - "?32 +?58 -0", - "?32 +?57 -0", - "?47 *cos(pi*(2700000)/10800000)", - "?48 *sin(pi*(2700000)/10800000)", - "?17 +0-?97 ", - "?32 +0-?98 ", - "?17 +?97 -0", - "?32 +?98 -0", - "?32 +0-?48 ", - "min(logwidth,logheight)/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 103 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 104); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 65, 88 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 66, 87 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 67, 86 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 68, 85 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 69, 84 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 70, 83 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 71, 82 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 72, 81 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 17, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 73, 81 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 74, 82 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 75, 83 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 76, 84 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 77, 85 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 78, 86 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 79, 87 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 80, 88 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 106, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 80, 89 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 79, 90 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 78, 91 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 77, 92 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 76, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 75, 94 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 74, 95 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 73, 96 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 105 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 72, 96 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 71, 95 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 70, 94 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 69, 93 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 68, 92 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 67, 91 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 66, 90 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 65, 89 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,63, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 99, 100 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 101, 102 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star32")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar4 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *?0 /50000", - "logheight/2", - "?3 *?0 /50000", - "?2 *cos(pi*(2700000)/10800000)", - "?4 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?7 +0-?5 ", - "?7 +?5 -0", - "logheight/2", - "?10 +0-?6 ", - "?10 +?6 -0", - "?10 +0-?4 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 12 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,7, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 11 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 12 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star4")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar5 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 19098); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - { - Any aAny ((sal_Int32) 105146); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "hf"; - } - { - Any aAny ((sal_Int32) 110557); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *$1 /100000", - "logheight/2", - "?3 *$2 /100000", - "logheight/2", - "?5 *$2 /100000", - "?2 *cos(pi*(1080000)/10800000)", - "?2 *cos(pi*(18360000)/10800000)", - "?4 *sin(pi*(1080000)/10800000)", - "?4 *sin(pi*(18360000)/10800000)", - "logwidth/2", - "?11 +0-?7 ", - "?11 +0-?8 ", - "?11 +?8 -0", - "?11 +?7 -0", - "?6 +0-?9 ", - "?6 +0-?10 ", - "?2 *?0 /50000", - "?4 *?0 /50000", - "?18 *cos(pi*(20520000)/10800000)", - "?18 *cos(pi*(3240000)/10800000)", - "?19 *sin(pi*(3240000)/10800000)", - "?19 *sin(pi*(20520000)/10800000)", - "?11 +0-?20 ", - "?11 +0-?21 ", - "?11 +?21 -0", - "?11 +?20 -0", - "?6 +0-?22 ", - "?6 +0-?23 ", - "?6 +?19 -0", - "?6 +0-?19 " - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 31 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 29 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,9, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 28 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star5")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar6 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 28868); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - { - Any aAny ((sal_Int32) 115470); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "hf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *$1 /100000", - "?2 *cos(pi*(1800000)/10800000)", - "logwidth/2", - "?4 +0-?3 ", - "?4 +?3 -0", - "logheight/2", - "logheight/4", - "?7 +?8 -0", - "?2 *?0 /50000", - "logheight/2", - "?11 *?0 /50000", - "?10 *1/2", - "?4 +0-?10 ", - "?4 +0-?13 ", - "?4 +?13 -0", - "?4 +?10 -0", - "?12 *sin(pi*(3600000)/10800000)", - "?7 +0-?18 ", - "?7 +?18 -0", - "?7 +0-?12 ", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 21 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 7 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,11, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 20 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star6")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar7 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) 34601); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - { - Any aAny ((sal_Int32) 102572); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "hf"; - } - { - Any aAny ((sal_Int32) 105210); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "vf"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *$1 /100000", - "logheight/2", - "?3 *$2 /100000", - "logheight/2", - "?5 *$2 /100000", - "?2 *97493/100000", - "?2 *78183/100000", - "?2 *43388/100000", - "?4 *62349/100000", - "?4 *22252/100000", - "?4 *90097/100000", - "logwidth/2", - "?13 +0-?7 ", - "?13 +0-?8 ", - "?13 +0-?9 ", - "?13 +?9 -0", - "?13 +?8 -0", - "?13 +?7 -0", - "?6 +0-?10 ", - "?6 +?11 -0", - "?6 +?12 -0", - "?2 *?0 /50000", - "?4 *?0 /50000", - "?23 *97493/100000", - "?23 *78183/100000", - "?23 *43388/100000", - "?13 +0-?25 ", - "?13 +0-?26 ", - "?13 +0-?27 ", - "?13 +?27 -0", - "?13 +?26 -0", - "?13 +?25 -0", - "?24 *90097/100000", - "?24 *22252/100000", - "?24 *62349/100000", - "?6 +0-?34 ", - "?6 +0-?35 ", - "?6 +?36 -0", - "?6 +?24 -0", - "?6 +0-?24 " - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 41 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 39 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,13, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 37 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 39 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star7")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstar8 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 37500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))", - "logwidth/2", - "?1 *cos(pi*(2700000)/10800000)", - "logwidth/2", - "?3 +0-?2 ", - "?3 +?2 -0", - "logheight/2", - "?6 *sin(pi*(2700000)/10800000)", - "logheight/2", - "?8 +0-?7 ", - "?8 +?7 -0", - "?1 *?0 /50000", - "?6 *?0 /50000", - "?11 *92388/100000", - "?11 *38268/100000", - "?12 *92388/100000", - "?12 *38268/100000", - "?3 +0-?13 ", - "?3 +0-?14 ", - "?3 +?14 -0", - "?3 +?13 -0", - "?8 +0-?15 ", - "?8 +0-?16 ", - "?8 +?16 -0", - "?8 +?15 -0", - "?8 +0-?12 ", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 25 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 50000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 3, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 23 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,15, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 21 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 24 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-star8")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstraightConnector1 : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - aPropertyMap.setProperty(PROP_AdjustmentValues, Sequence< OUString >(0)); - } - { - static const char *aStrings[] = { - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - aPropertyMap.setProperty(PROP_Handles, Sequence< OUString >(0)); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 0, 1 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-straightConnector1")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCstripedRightArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "84375*logwidth/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *5/32", - "?0 *?3 /100000", - "logwidth+0-?5 ", - "logheight*?2 /200000", - "logheight/2", - "?8 +0-?7 ", - "?8 +?7 -0", - "logheight/2", - "?7 *?5 /?11 ", - "logwidth+0-?12 ", - "logheight", - "logwidth", - "min(logwidth,logheight)/32", - "min(logwidth,logheight)/16", - "min(logwidth,logheight)/8" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 10 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 9 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 6, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 10 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 1,1, - 2,3, - 4,0, - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 9 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 10 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-stripedRightArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCsun : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(12500-$0 ,12500,if(46875-$0 ,$0 ,46875))", - "50000+0-?0 ", - "?1 *30274/32768", - "?1 *12540/32768", - "?2 +50000-0", - "?3 +50000-0", - "50000+0-?2 ", - "50000+0-?3 ", - "?1 *23170/32768", - "50000+?8 -0", - "50000+0-?8 ", - "?6 *3/4", - "?7 *3/4", - "?11 +3662-0", - "?12 +3662-0", - "?12 +12500-0", - "100000+0-?11 ", - "100000+0-?13 ", - "100000+0-?14 ", - "100000+0-?15 ", - "logwidth*18436/21600", - "logheight*3163/21600", - "logwidth*3163/21600", - "logheight*18436/21600", - "logwidth*?9 /100000", - "logwidth*?10 /100000", - "logwidth*?11 /100000", - "logwidth*?13 /100000", - "logwidth*?14 /100000", - "logwidth*?15 /100000", - "logwidth*?16 /100000", - "logwidth*?17 /100000", - "logwidth*?18 /100000", - "logwidth*?19 /100000", - "logwidth*?0 /100000", - "logwidth*?1 /100000", - "logheight*?1 /100000", - "logheight*?9 /100000", - "logheight*?10 /100000", - "logheight*?11 /100000", - "logheight*?13 /100000", - "logheight*?14 /100000", - "logheight*?15 /100000", - "logheight*?16 /100000", - "logheight*?17 /100000", - "logheight*?18 /100000", - "logheight*?19 /100000", - "logheight/2", - "logwidth/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(21600000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 47 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 46875); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 12500); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 50, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 30, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 48, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 39 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 21 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 41 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 48, 49 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 43 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 32, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 45 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 47 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 2,2, - 4,0, - 1,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 38 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 37 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-sun")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCswooshArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(1-$0 ,1,if(75000-$0 ,$0 ,75000))", - "min(logwidth,logheight)", - "70000*logwidth/?1 ", - "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))", - "logheight*?0 /100000", - "?1 *?3 /100000", - "logwidth+0-?5 ", - "min(logwidth,logheight)/8", - "0+?7 -0", - "5400000*1/14", - "?7 *tan(pi*(?9 )/10800000)", - "?6 +0-?10 ", - "?4 *tan(pi*(?9 )/10800000)", - "?8 +?4 -0", - "?6 +?12 -0", - "?14 +?10 -0", - "?13 +?7 -0", - "?16 +0-0", - "?17 *1/2", - "logheight*1/20", - "0+?18 -?19 ", - "logheight/6", - "?21 *1/1", - "?21 +?22 -0", - "logwidth/6", - "?24 ", - "?21 *1/2", - "?13 +?26 -0", - "logwidth/4", - "?28 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 75000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 8 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 27 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 30 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 16,1, - 2,4, - 16,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-swooshArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCteardrop : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 100000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(200000-$0 ,$0 ,200000))", - "sqrt(2)", - "logwidth/2", - "?2 *?1 /1", - "logheight/2", - "?4 *?1 /1", - "?3 *?0 /100000", - "?5 *?0 /100000", - "?6 *cos(pi*(2700000)/10800000)", - "?7 *sin(pi*(2700000)/10800000)", - "logwidth/2", - "?10 +?8 -0", - "logheight/2", - "?12 +0-?9 ", - "(?10 +?11 )/2", - "(?12 +?13 )/2", - "?2 *cos(pi*(2700000)/10800000)", - "?4 *sin(pi*(2700000)/10800000)", - "?10 +0-?16 ", - "?10 +?16 -0", - "?12 +0-?17 ", - "?12 +?17 -0", - "logwidth", - "logheight", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 11, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 200000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 14, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 12 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 27 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 29 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 16,2, - 17,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 20 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 21 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-teardrop")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap5() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "quadArrow" ) ] = new ShapeCquadArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "quadArrowCallout" ) ] = new ShapeCquadArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rect" ) ] = new ShapeCrect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ribbon" ) ] = new ShapeCribbon(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ribbon2" ) ] = new ShapeCribbon2(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightArrow" ) ] = new ShapeCrightArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightArrowCallout" ) ] = new ShapeCrightArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBrace" ) ] = new ShapeCrightBrace(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBracket" ) ] = new ShapeCrightBracket(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round1Rect" ) ] = new ShapeCround1Rect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round2DiagRect" ) ] = new ShapeCround2DiagRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round2SameRect" ) ] = new ShapeCround2SameRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "roundRect" ) ] = new ShapeCroundRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rtTriangle" ) ] = new ShapeCrtTriangle(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "smileyFace" ) ] = new ShapeCsmileyFace(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip1Rect" ) ] = new ShapeCsnip1Rect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip2DiagRect" ) ] = new ShapeCsnip2DiagRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip2SameRect" ) ] = new ShapeCsnip2SameRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snipRoundRect" ) ] = new ShapeCsnipRoundRect(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "squareTabs" ) ] = new ShapeCsquareTabs(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star10" ) ] = new ShapeCstar10(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star12" ) ] = new ShapeCstar12(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star16" ) ] = new ShapeCstar16(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star24" ) ] = new ShapeCstar24(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star32" ) ] = new ShapeCstar32(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star4" ) ] = new ShapeCstar4(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star5" ) ] = new ShapeCstar5(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star6" ) ] = new ShapeCstar6(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star7" ) ] = new ShapeCstar7(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star8" ) ] = new ShapeCstar8(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "straightConnector1" ) ] = new ShapeCstraightConnector1(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "stripedRightArrow" ) ] = new ShapeCstripedRightArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "sun" ) ] = new ShapeCsun(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "swooshArrow" ) ] = new ShapeCswooshArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "teardrop" ) ] = new ShapeCteardrop(); -} - -} } // oox // drawingml - diff --git a/oox/source/drawingml/customshapepresets6.cxx b/oox/source/drawingml/customshapepresets6.cxx deleted file mode 100644 index c31e632dae48..000000000000 --- a/oox/source/drawingml/customshapepresets6.cxx +++ /dev/null @@ -1,3556 +0,0 @@ - -// This file was generated by: ./generatePresetsCXX.pl - -// Please, DO NOT EDIT. - -// We mean it. - -#include <oox/drawingml/customshapeproperties.hxx> -#include <oox/token/tokenmap.hxx> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> -#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> - -using namespace ::com::sun::star; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::uno; - -namespace oox { namespace drawingml { - -namespace -{ -class ShapeCtrapezoid : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "?0 *?2 /200000", - "?0 *?2 /100000", - "logwidth+0-?4 ", - "logwidth+0-?3 ", - "logwidth/3", - "?7 *?2 /?1 ", - "logheight/3", - "?9 *?2 /?1 ", - "logwidth+0-?8 ", - "logwidth/2", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 4, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 14 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 10 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 14 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-trapezoid")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCtriangle : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "logwidth*?0 /200000", - "logwidth*?0 /100000", - "logwidth/2", - "?1 +?3 -0", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 2, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,2, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 1, 5 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 6 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-triangle")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCupArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "100000*logheight/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "0+?4 -0", - "logwidth*?2 /200000", - "logwidth/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logwidth/2", - "?8 *?4 /?10 ", - "?5 +0-?11 ", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 13 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,6, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 12 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-upArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCupArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 64977); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "100000*logheight/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "?6 *?0 /logheight", - "100000+0-?7 ", - "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logwidth/2", - "?12 +0-?10 ", - "?12 +0-?11 ", - "?12 +?11 -0", - "?12 +?10 -0", - "?0 *?6 /100000", - "logheight*?9 /100000", - "logheight+0-?18 ", - "(?19 +logheight)/2", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 17 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 17 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 8); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 12, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,10, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-upArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCupDownArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 50000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logheight/?0 ", - "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?0 *?3 /100000", - "logheight+0-?4 ", - "logwidth*?2 /200000", - "logwidth/2", - "?7 +0-?6 ", - "?7 +?6 -0", - "logwidth/2", - "?8 *?4 /?10 ", - "?4 +0-?11 ", - "?5 +?11 -0", - "logheight/2", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 7, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 15 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 4 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,9, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 8, 12 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 9, 13 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-upDownArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCupDownArrowCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 48123); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "min(logwidth,logheight)", - "50000*logwidth/?0 ", - "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))", - "?2 *2/1", - "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))", - "50000*logheight/?0 ", - "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))", - "logheight/2", - "?6 *?0 /?7 ", - "100000+0-?8 ", - "if(0-$3 ,0,if(?9 -$3 ,$3 ,?9 ))", - "?0 *?2 /100000", - "?0 *?4 /200000", - "logwidth/2", - "?13 +0-?11 ", - "?13 +0-?12 ", - "?13 +?12 -0", - "?13 +?11 -0", - "?0 *?6 /100000", - "logheight+0-?18 ", - "logheight*?10 /200000", - "logheight/2", - "?21 +0-?20 ", - "?21 +?20 -0", - "logwidth", - "logheight" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 3); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 14, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 18 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 5); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 9); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 16, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 23 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 23 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,17, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 22 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 24, 23 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-upDownArrowCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCuturnArrow : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5); - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 25000); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - { - Any aAny ((sal_Int32) 43750); - aAdjSequence [3].Value = aAny; - aAdjSequence [3].Name = "adj4"; - } - { - Any aAny ((sal_Int32) 75000); - aAdjSequence [4].Value = aAny; - aAdjSequence [4].Name = "adj5"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$1 ,0,if(25000-$1 ,$1 ,25000))", - "?0 *2/1", - "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))", - "min(logwidth,logheight)", - "?2 *?3 /logheight", - "100000+0-?4 ", - "?5 *logheight/?3 ", - "if(0-$2 ,0,if(?6 -$2 ,$2 ,?6 ))", - "?7 +?2 -0", - "?8 *?3 /logheight", - "if(?9 -$4 ,?9 ,if(100000-$4 ,$4 ,100000))", - "?3 *?2 /100000", - "?3 *?0 /100000", - "?11 *1/2", - "?12 +0-?13 ", - "logheight*?10 /100000", - "?3 *?7 /100000", - "?15 +0-?16 ", - "logwidth+0-?14 ", - "?18 *1/2", - "min(?19 ,?17 )", - "?20 *100000/?3 ", - "if(0-$3 ,0,if(?21 -$3 ,$3 ,?21 ))", - "?3 *?22 /100000", - "?23 +0-?11 ", - "max(?24 ,0)", - "?11 +?25 -0", - "logwidth+0-?12 ", - "?27 +0-?12 ", - "?28 +?14 -0", - "?18 +0-?23 ", - "?29 +0-?25 ", - "(?11 +?29 )/2", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(-5400000)/60000.0", - "(16200000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (5); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 33 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 1); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 33 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 17 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 6); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 2); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [2] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 23, 0 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 21); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 3); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [3] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 15 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 100000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 9); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::EQUATION; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 4); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [4] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 33 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 30, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 23 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 15 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 26, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 25 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 33 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,6, - 17,1, - 2,1, - 17,1, - 2,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 33 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-uturnArrow")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCverticalScroll : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))", - "min(logwidth,logheight)", - "?1 *?0 /100000", - "?2 *1/2", - "?2 *1/4", - "?2 +?3 -0", - "?2 +?2 -0", - "logwidth+0-?2 ", - "logwidth+0-?3 ", - "?7 +0-?3 ", - "logheight+0-?2 ", - "logheight+0-?3 ", - "logwidth/2", - "logheight/2", - "logheight", - "(5400000)/60000.0", - "(-5400000)/60000.0", - "(5400000)/60000.0", - "(-10800000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(16200000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(10800000)/60000.0", - "(16200000)/60000.0", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(-5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 25000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 20 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 22 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 24 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 26 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 28 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 30 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 31, 32 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 33, 34 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 38 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 8, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 41, 42 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 5, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 6, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 5, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 10 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 4, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 11 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 14 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 3 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 51, 52 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 10 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 4,0, - 1,1, - 17,2, - 4,0, - 7,0, - 5,0, - 1,1, - 17,2, - 4,0, - 1,1, - 17,2, - 4,0, - 19,0, - 7,0, - 5,0, - 1,1, - 2,1, - 17,1, - 2,1, - 17,1, - 2,2, - 17,1, - 2,1, - 17,1, - 4,0, - 1,1, - 17,2, - 2,1, - 1,1, - 2,1, - 1,1, - 17,1, - 2,1, - 1,1, - 17,1, - 2,1, - 6,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 2, 2 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 7, 11 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-verticalScroll")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCwave : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) 12500); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 0); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))", - "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))", - "logheight*?0 /100000", - "?2 *10/3", - "?2 +0-?3 ", - "?2 +?3 -0", - "logheight+0-?2 ", - "?6 +0-?3 ", - "?6 +?3 -0", - "logwidth*?1 /100000", - "logwidth*?1 /50000", - "abs(?9 )", - "if(?10 ,0,?10 )", - "0+0-?12 ", - "if(?10 ,?10 ,0)", - "logwidth+0-?14 ", - "(?12 +?15 )/3", - "?13 +?16 -0", - "(?17 +?15 )/2", - "0+?14 -0", - "logwidth+?12 -0", - "?19 +?16 -0", - "(?21 +?20 )/2", - "logwidth+0-?11 ", - "logwidth/2", - "?24 +?9 -0", - "?24 +0-?9 ", - "max(?13 ,?19 )", - "min(?15 ,?20 )", - "logheight*?0 /50000", - "logheight+0-?29 ", - "logheight", - "logheight/2" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2); - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 2 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 20000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 0); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefY"; - Any aAny ((sal_Int32) 0); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - { - Sequence< PropertyValue > aPropSequence (4); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 31 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 10000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -10000); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RefX"; - Any aAny ((sal_Int32) 1); - aPropSequence [3].Value = makeAny (aAny); - } - aPropSequenceSequence [1] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 17, 4 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 18, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 2 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 20, 6 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 22, 8 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 7 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 6 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 3,1, - 2,1, - 3,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 29 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 30 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-wave")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCwedgeEllipseCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) -20833); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 62500); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logheight*$1 /100000", - "logwidth/2", - "?2 +?0 -0", - "logheight/2", - "?4 +?1 -0", - "?0 *logheight/1", - "?1 *logwidth/1", - "(10800000*atan2(?7 ,?6 ))/pi", - "?8 +660000-0", - "?8 +0-660000", - "logwidth/2", - "?11 *cos(pi*(?9 )/10800000)", - "logheight/2", - "?13 *sin(pi*(?9 )/10800000)", - "?2 +?12 -0", - "?4 +?14 -0", - "?11 *cos(pi*(?10 )/10800000)", - "?13 *sin(pi*(?10 )/10800000)", - "?2 +?17 -0", - "?4 +?18 -0", - "(10800000*atan2(?14 ,?12 ))/pi", - "(10800000*atan2(?18 ,?17 ))/pi", - "?22 +0-?21 ", - "?23 +21600000-0", - "if(?23 ,?23 ,?24 )", - "?11 *cos(pi*(2700000)/10800000)", - "?13 *sin(pi*(2700000)/10800000)", - "?2 +0-?26 ", - "?2 +?26 -0", - "?4 +0-?27 ", - "?4 +?27 -0", - "logheight", - "logwidth", - "(?21 )/60000.0", - "(?25 )/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 11, 13 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 34, 35 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,1, - 17,1, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 28, 30 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 29, 31 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-wedgeEllipseCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCwedgeRectCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2); - { - Any aAny ((sal_Int32) -20833); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 62500); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logheight*$1 /100000", - "logwidth/2", - "?2 +?0 -0", - "logheight/2", - "?4 +?1 -0", - "?3 +0-?2 ", - "?5 +0-?4 ", - "?0 *logheight/logwidth", - "abs(?1 )", - "abs(?8 )", - "?9 +0-?10 ", - "if(?0 ,7,2)", - "if(?0 ,10,5)", - "logwidth*?12 /12", - "logwidth*?13 /12", - "if(?1 ,7,2)", - "if(?1 ,10,5)", - "logheight*?16 /12", - "logheight*?17 /12", - "if(?0 ,0,?3 )", - "if(?11 ,0,?20 )", - "if(?1 ,?14 ,?3 )", - "if(?11 ,?22 ,?14 )", - "if(?0 ,?3 ,logwidth)", - "if(?11 ,logwidth,?24 )", - "if(?1 ,?3 ,?14 )", - "if(?11 ,?26 ,?14 )", - "if(?0 ,?18 ,?5 )", - "if(?11 ,?18 ,?28 )", - "if(?1 ,0,?5 )", - "if(?11 ,?30 ,0)", - "if(?0 ,?5 ,?18 )", - "if(?11 ,?18 ,?32 )", - "if(?1 ,?5 ,logheight)", - "if(?11 ,?34 ,logheight)", - "logheight", - "logwidth" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 14, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 15, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 37, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 18 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 15, 36 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 27, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 14, 36 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 36 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 19 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 29 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 18 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 2,15, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::NORMAL, - 0, 0 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 37, 36 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-wedgeRectCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -class ShapeCwedgeRoundRectCallout : public CustomShapeProvider -{ - virtual PropertyMap getProperties() SAL_OVERRIDE - { - PropertyMap aPropertyMap; - - { - Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3); - { - Any aAny ((sal_Int32) -20833); - aAdjSequence [0].Value = aAny; - aAdjSequence [0].Name = "adj1"; - } - { - Any aAny ((sal_Int32) 62500); - aAdjSequence [1].Value = aAny; - aAdjSequence [1].Name = "adj2"; - } - { - Any aAny ((sal_Int32) 16667); - aAdjSequence [2].Value = aAny; - aAdjSequence [2].Name = "adj3"; - } - aPropertyMap.setProperty(PROP_AdjustmentValues, aAdjSequence); - } - { - static const char *aStrings[] = { - "logwidth*$0 /100000", - "logheight*$1 /100000", - "logwidth/2", - "?2 +?0 -0", - "logheight/2", - "?4 +?1 -0", - "?0 *logheight/logwidth", - "abs(?1 )", - "abs(?6 )", - "?7 +0-?8 ", - "if(?0 ,7,2)", - "if(?0 ,10,5)", - "logwidth*?10 /12", - "logwidth*?11 /12", - "if(?1 ,7,2)", - "if(?1 ,10,5)", - "logheight*?14 /12", - "logheight*?15 /12", - "if(?0 ,0,?3 )", - "if(?9 ,0,?18 )", - "if(?1 ,?12 ,?3 )", - "if(?9 ,?20 ,?12 )", - "if(?0 ,?3 ,logwidth)", - "if(?9 ,logwidth,?22 )", - "if(?1 ,?3 ,?12 )", - "if(?9 ,?24 ,?12 )", - "if(?0 ,?16 ,?5 )", - "if(?9 ,?16 ,?26 )", - "if(?1 ,0,?5 )", - "if(?9 ,?28 ,0)", - "if(?0 ,?5 ,?16 )", - "if(?9 ,?16 ,?30 )", - "if(?1 ,?5 ,logheight)", - "if(?9 ,?32 ,logheight)", - "min(logwidth,logheight)", - "?34 *$2 /100000", - "logwidth+0-?35 ", - "logheight+0-?35 ", - "?35 *29289/100000", - "logwidth+0-?38 ", - "logheight+0-?38 ", - "logheight", - "logwidth", - "(10800000)/60000.0", - "(5400000)/60000.0", - "(16200000)/60000.0", - "(5400000)/60000.0", - "(0)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0", - "(5400000)/60000.0" - }; - aPropertyMap.setProperty(PROP_Equations, createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings )); - } - { - Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1); - { - Sequence< PropertyValue > aPropSequence (7); - { - aPropSequence [0].Name = "Position"; - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 3, 5 - }; - aPropSequence [0].Value = makeAny (createParameterPair(&aData)); - } - { - aPropSequence [1].Name = "RangeXMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [1].Value = makeAny (aParameter); - } - { - aPropSequence [2].Name = "RangeXMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [2].Value = makeAny (aParameter); - } - { - aPropSequence [3].Name = "RangeYMaximum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) 2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [3].Value = makeAny (aParameter); - } - { - aPropSequence [4].Name = "RangeYMinimum"; - EnhancedCustomShapeParameter aParameter; - Any aAny ((sal_Int32) -2147483647); - aParameter.Value = aAny; - aParameter.Type = EnhancedCustomShapeParameterType::NORMAL; - aPropSequence [4].Value = makeAny (aParameter); - } - { - aPropSequence [5].Name = "RefX"; - Any aAny ((sal_Int32) 0); - aPropSequence [5].Value = makeAny (aAny); - } - { - aPropSequence [6].Name = "RefY"; - Any aAny ((sal_Int32) 1); - aPropSequence [6].Value = makeAny (aAny); - } - aPropSequenceSequence [0] = aPropSequence; - } - aPropertyMap.setProperty(PROP_Handles, aPropSequenceSequence); - } - { - aPropertyMap.setProperty(PROP_MirroredX, (sal_Bool) sal_False); - } - { - aPropertyMap.setProperty(PROP_MirroredY, (sal_Bool) sal_False); - } - { - Sequence< PropertyValue > aPropSequence (3); - { - aPropSequence [0].Name = "Coordinates"; - static const CustomShapeProvider::ParameterPairData aData[] = { - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 43, 44 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 12, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 21, 29 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 13, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::NORMAL, - 36, 0 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 45, 46 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 16 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 23, 31 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 42, 37 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 47, 48 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 13, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 25, 33 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 12, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 41 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 35, 35 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 49, 50 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 17 - }, - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 19, 27 - }, - { - EnhancedCustomShapeParameterType::NORMAL, - EnhancedCustomShapeParameterType::EQUATION, - 0, 16 - } - }; - aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData)); - } - { - aPropSequence [1].Name = "Segments"; - static const sal_uInt16 nValues[] = { - // Command, Count - 1,1, - 17,1, - 2,4, - 17,1, - 2,4, - 17,1, - 2,4, - 17,1, - 2,3, - 4,0, - 5,0 - }; - aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues )); - } - { - aPropSequence [2].Name = "TextFrames"; - Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1); - { - EnhancedCustomShapeTextFrame aTextFrame; - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 38, 38 - }; - aTextFrame.TopLeft = createParameterPair(&aData); - } - { - static const CustomShapeProvider::ParameterPairData aData = - { - EnhancedCustomShapeParameterType::EQUATION, - EnhancedCustomShapeParameterType::EQUATION, - 39, 40 - }; - aTextFrame.BottomRight = createParameterPair(&aData); - } - aTextFrameSeq [0] = aTextFrame; - } - aPropSequence [2].Value = makeAny (aTextFrameSeq); - } - aPropertyMap.setProperty(PROP_Path, aPropSequence); - } - { - awt::Rectangle aRectangle; - aRectangle.X = 0; - aRectangle.Y = 0; - aRectangle.Width = 0; - aRectangle.Height = 0; - aPropertyMap.setProperty(PROP_ViewBox, aRectangle); - } - aPropertyMap.setProperty( PROP_Type, OUString("ooxml-wedgeRoundRectCallout")); - - return aPropertyMap; - } -}; - -// This is a generated source file. DO NOT EDIT. - -} // anonymous namespace -void CustomShapeProperties::initializePresetsMap6() -{ - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "trapezoid" ) ] = new ShapeCtrapezoid(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "triangle" ) ] = new ShapeCtriangle(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upArrow" ) ] = new ShapeCupArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upArrowCallout" ) ] = new ShapeCupArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upDownArrow" ) ] = new ShapeCupDownArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upDownArrowCallout" ) ] = new ShapeCupDownArrowCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "uturnArrow" ) ] = new ShapeCuturnArrow(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "verticalScroll" ) ] = new ShapeCverticalScroll(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wave" ) ] = new ShapeCwave(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeEllipseCallout" ) ] = new ShapeCwedgeEllipseCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeRectCallout" ) ] = new ShapeCwedgeRectCallout(); - maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeRoundRectCallout" ) ] = new ShapeCwedgeRoundRectCallout(); -} - -} } // oox // drawingml - - -void ::oox::drawingml::CustomShapeProperties::initializePresetsMap() -{ -initializePresetsMap1(); -initializePresetsMap2(); -initializePresetsMap3(); -initializePresetsMap4(); -initializePresetsMap5(); -initializePresetsMap6(); -} diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx index 7a07c2adae87..4048cbc0a3a2 100644 --- a/oox/source/drawingml/customshapeproperties.cxx +++ b/oox/source/drawingml/customshapeproperties.cxx @@ -90,7 +90,6 @@ sal_Int32 CustomShapeProperties::GetCustomShapeGuideValue( const std::vector< Cu return nIndex; } -CustomShapeProperties::PresetsMap CustomShapeProperties::maPresetsMap; CustomShapeProperties::PresetDataMap CustomShapeProperties::maPresetDataMap; static OUString GetConnectorShapeType( sal_Int32 nType ) |