LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/oox/source/drawingml - customshapepresets4.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 149 2177 6.8 %
Date: 2013-07-09 Functions: 40 147 27.2 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // this file was generated by: ./generatePresetsCXX.pl
       2             : // please do not edit
       3             : 
       4             : #include "oox/drawingml/customshapeproperties.hxx"
       5             : #include "oox/token/tokenmap.hxx"
       6             : #include <com/sun/star/awt/Rectangle.hpp>
       7             : #include <com/sun/star/awt/Size.hpp>
       8             : #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
       9             : #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
      10             : #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
      11             : #include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
      12             : 
      13             : using namespace ::com::sun::star;
      14             : using namespace ::com::sun::star::beans;
      15             : using namespace ::com::sun::star::drawing;
      16             : using namespace ::com::sun::star::uno;
      17             : 
      18             : namespace oox { namespace drawingml {
      19             : 
      20             : namespace
      21             : {
      22           2 : class ShapeCteardrop : public CustomShapeProvider
      23             : {
      24           0 :   virtual PropertyMap getProperties()
      25             :   {
      26           0 :     PropertyMap aPropertyMap;
      27             : 
      28             :     {
      29           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
      30             :         {
      31           0 :             Any aAny ((sal_Int32) 100000);
      32           0 :             aAdjSequence [0].Value = aAny;
      33           0 :             aAdjSequence [0].Name = "adj";
      34             :         }
      35           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
      36             :     }
      37             :     {
      38             :         static const char *aStrings[] = {
      39             :             "if(0-$0 ,0,if(200000-$0 ,$0 ,200000))",
      40             :             "sqrt(2)",
      41             :             "logwidth/2",
      42             :             "?2 *?1 /1",
      43             :             "logheight/2",
      44             :             "?4 *?1 /1",
      45             :             "?3 *?0 /100000",
      46             :             "?5 *?0 /100000",
      47             :             "?6 *cos(pi*(2700000)/10800000)",
      48             :             "?7 *sin(pi*(2700000)/10800000)",
      49             :             "logwidth/2",
      50             :             "?10 +?8 -0",
      51             :             "logheight/2",
      52             :             "?12 +0-?9 ",
      53             :             "(?10 +?11 )/2",
      54             :             "(?12 +?13 )/2",
      55             :             "?2 *cos(pi*(2700000)/10800000)",
      56             :             "?4 *sin(pi*(2700000)/10800000)",
      57             :             "?10 +0-?16 ",
      58             :             "?10 +?16 -0",
      59             :             "?12 +0-?17 ",
      60             :             "?12 +?17 -0",
      61             :             "logwidth",
      62             :             "logheight",
      63             :             "(10800000)/60000.0",
      64             :             "(5400000)/60000.0",
      65             :             "(0)/60000.0",
      66             :             "(5400000)/60000.0",
      67             :             "(5400000)/60000.0",
      68             :             "(5400000)/60000.0"
      69             :         };
      70           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
      71             :     }
      72             :     {
      73           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
      74             :         {
      75           0 :             Sequence< PropertyValue > aPropSequence (4);
      76             :             {
      77           0 :                 aPropSequence [0].Name = "Position";
      78             :                 static const CustomShapeProvider::ParameterPairData aData =
      79             :                 {
      80             :                     EnhancedCustomShapeParameterType::EQUATION,
      81             :                     EnhancedCustomShapeParameterType::NORMAL,
      82             :                     11, 0
      83             :                 };
      84           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
      85             :             }
      86             :             {
      87           0 :                 aPropSequence [1].Name = "RangeXMaximum";
      88           0 :                 EnhancedCustomShapeParameter aParameter;
      89           0 :                 Any aAny ((sal_Int32) 200000);
      90           0 :                 aParameter.Value = aAny;
      91           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
      92           0 :                 aPropSequence [1].Value = makeAny (aParameter);
      93             :             }
      94             :             {
      95           0 :                 aPropSequence [2].Name = "RangeXMinimum";
      96           0 :                 EnhancedCustomShapeParameter aParameter;
      97           0 :                 Any aAny ((sal_Int32) 0);
      98           0 :                 aParameter.Value = aAny;
      99           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     100           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     101             :             }
     102             :             {
     103           0 :                 aPropSequence [3].Name = "RefX";
     104           0 :                 Any aAny ((sal_Int32) 0);
     105           0 :                 aPropSequence [3].Value = makeAny (aAny);
     106             :             }
     107           0 :             aPropSequenceSequence [0] = aPropSequence;
     108             :         }
     109           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
     110             :     }
     111             :     {
     112           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
     113             :     }
     114             :     {
     115           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
     116             :     }
     117             :     {
     118           0 :         Sequence< PropertyValue > aPropSequence (3);
     119             :         {
     120           0 :             aPropSequence [0].Name = "Coordinates";
     121             :             static const CustomShapeProvider::ParameterPairData aData[] = {
     122             :                 {
     123             :                     EnhancedCustomShapeParameterType::NORMAL,
     124             :                     EnhancedCustomShapeParameterType::EQUATION,
     125             :                     0, 12
     126             :                 },
     127             :                 {
     128             :                     EnhancedCustomShapeParameterType::EQUATION,
     129             :                     EnhancedCustomShapeParameterType::EQUATION,
     130             :                     2, 4
     131             :                 },
     132             :                 {
     133             :                     EnhancedCustomShapeParameterType::EQUATION,
     134             :                     EnhancedCustomShapeParameterType::EQUATION,
     135             :                     24, 25
     136             :                 },
     137             :                 {
     138             :                     EnhancedCustomShapeParameterType::EQUATION,
     139             :                     EnhancedCustomShapeParameterType::NORMAL,
     140             :                     14, 0
     141             :                 },
     142             :                 {
     143             :                     EnhancedCustomShapeParameterType::EQUATION,
     144             :                     EnhancedCustomShapeParameterType::EQUATION,
     145             :                     11, 13
     146             :                 },
     147             :                 {
     148             :                     EnhancedCustomShapeParameterType::EQUATION,
     149             :                     EnhancedCustomShapeParameterType::EQUATION,
     150             :                     22, 15
     151             :                 },
     152             :                 {
     153             :                     EnhancedCustomShapeParameterType::EQUATION,
     154             :                     EnhancedCustomShapeParameterType::EQUATION,
     155             :                     22, 12
     156             :                 },
     157             :                 {
     158             :                     EnhancedCustomShapeParameterType::EQUATION,
     159             :                     EnhancedCustomShapeParameterType::EQUATION,
     160             :                     2, 4
     161             :                 },
     162             :                 {
     163             :                     EnhancedCustomShapeParameterType::EQUATION,
     164             :                     EnhancedCustomShapeParameterType::EQUATION,
     165             :                     26, 27
     166             :                 },
     167             :                 {
     168             :                     EnhancedCustomShapeParameterType::EQUATION,
     169             :                     EnhancedCustomShapeParameterType::EQUATION,
     170             :                     2, 4
     171             :                 },
     172             :                 {
     173             :                     EnhancedCustomShapeParameterType::EQUATION,
     174             :                     EnhancedCustomShapeParameterType::EQUATION,
     175             :                     28, 29
     176             :                 }
     177             :             };
     178           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
     179             :         }
     180             :         {
     181           0 :             aPropSequence [1].Name = "Segments";
     182             :             static const sal_uInt16 nValues[] = {
     183             :             // Command, Count
     184             :                 1,1,
     185             :                 17,1,
     186             :                 16,2,
     187             :                 17,2,
     188             :                 4,0,
     189             :                 5,0
     190             :             };
     191           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
     192             :         }
     193             :         {
     194           0 :             aPropSequence [2].Name = "TextFrames";
     195           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
     196             :             {
     197           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
     198             :                 {
     199             :                     static const CustomShapeProvider::ParameterPairData aData =
     200             :                     {
     201             :                         EnhancedCustomShapeParameterType::EQUATION,
     202             :                         EnhancedCustomShapeParameterType::EQUATION,
     203             :                         18, 20
     204             :                     };
     205           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
     206             :                 }
     207             :                 {
     208             :                     static const CustomShapeProvider::ParameterPairData aData =
     209             :                     {
     210             :                         EnhancedCustomShapeParameterType::EQUATION,
     211             :                         EnhancedCustomShapeParameterType::EQUATION,
     212             :                         19, 21
     213             :                     };
     214           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
     215             :                 }
     216           0 :                 aTextFrameSeq [0] = aTextFrame;
     217             :             }
     218           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
     219             :         }
     220           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
     221             :     }
     222             :     {
     223           0 :         awt::Rectangle aRectangle;
     224           0 :         aRectangle.X = 0;
     225           0 :         aRectangle.Y = 0;
     226           0 :         aRectangle.Width = 0;
     227           0 :         aRectangle.Height = 0;
     228           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
     229             :     }
     230           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-teardrop");
     231             : 
     232           0 :     return aPropertyMap;
     233             :   }
     234             : };
     235           2 : class ShapeCflowChartDocument : public CustomShapeProvider
     236             : {
     237           0 :   virtual PropertyMap getProperties()
     238             :   {
     239           0 :     PropertyMap aPropertyMap;
     240             : 
     241             :     {
     242           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
     243             :     }
     244             :     {
     245             :         static const char *aStrings[] = {
     246             :             "logheight*17322/21600",
     247             :             "logheight*20172/21600",
     248             :             "logwidth/2",
     249             :             "logheight/2",
     250             :             "logwidth"
     251             :         };
     252           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
     253             :     }
     254             :     {
     255           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
     256             :     }
     257             :     {
     258           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
     259             :     }
     260             :     {
     261           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
     262             :     }
     263             :     {
     264           0 :         Sequence< PropertyValue > aPropSequence (4);
     265             :         {
     266           0 :             aPropSequence [0].Name = "Coordinates";
     267             :             static const CustomShapeProvider::ParameterPairData aData[] = {
     268             :                 {
     269             :                     EnhancedCustomShapeParameterType::NORMAL,
     270             :                     EnhancedCustomShapeParameterType::NORMAL,
     271             :                     0, 0
     272             :                 },
     273             :                 {
     274             :                     EnhancedCustomShapeParameterType::NORMAL,
     275             :                     EnhancedCustomShapeParameterType::NORMAL,
     276             :                     21600, 0
     277             :                 },
     278             :                 {
     279             :                     EnhancedCustomShapeParameterType::NORMAL,
     280             :                     EnhancedCustomShapeParameterType::NORMAL,
     281             :                     21600, 17322
     282             :                 },
     283             :                 {
     284             :                     EnhancedCustomShapeParameterType::NORMAL,
     285             :                     EnhancedCustomShapeParameterType::NORMAL,
     286             :                     10800, 17322
     287             :                 },
     288             :                 {
     289             :                     EnhancedCustomShapeParameterType::NORMAL,
     290             :                     EnhancedCustomShapeParameterType::NORMAL,
     291             :                     10800, 23922
     292             :                 },
     293             :                 {
     294             :                     EnhancedCustomShapeParameterType::NORMAL,
     295             :                     EnhancedCustomShapeParameterType::NORMAL,
     296             :                     0, 20172
     297             :                 }
     298             :             };
     299           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
     300             :         }
     301             :         {
     302           0 :             aPropSequence [1].Name = "Segments";
     303             :             static const sal_uInt16 nValues[] = {
     304             :             // Command, Count
     305             :                 1,1,
     306             :                 2,2,
     307             :                 3,1,
     308             :                 4,0,
     309             :                 5,0
     310             :             };
     311           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
     312             :         }
     313             :         {
     314           0 :             aPropSequence [2].Name = "SubViewSize";
     315           0 :             Sequence< awt::Size > aSizeSequence (1);
     316             :             {
     317           0 :                 awt::Size aSize;
     318           0 :                 aSize.Width = 21600;
     319           0 :                 aSize.Height = 21600;
     320           0 :                 aSizeSequence [0] = aSize;
     321             :             }
     322           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
     323             :         }
     324             :         {
     325           0 :             aPropSequence [3].Name = "TextFrames";
     326           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
     327             :             {
     328           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
     329             :                 {
     330             :                     static const CustomShapeProvider::ParameterPairData aData =
     331             :                     {
     332             :                         EnhancedCustomShapeParameterType::NORMAL,
     333             :                         EnhancedCustomShapeParameterType::NORMAL,
     334             :                         0, 0
     335             :                     };
     336           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
     337             :                 }
     338             :                 {
     339             :                     static const CustomShapeProvider::ParameterPairData aData =
     340             :                     {
     341             :                         EnhancedCustomShapeParameterType::EQUATION,
     342             :                         EnhancedCustomShapeParameterType::EQUATION,
     343             :                         4, 0
     344             :                     };
     345           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
     346             :                 }
     347           0 :                 aTextFrameSeq [0] = aTextFrame;
     348             :             }
     349           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
     350             :         }
     351           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
     352             :     }
     353             :     {
     354           0 :         awt::Rectangle aRectangle;
     355           0 :         aRectangle.X = 0;
     356           0 :         aRectangle.Y = 0;
     357           0 :         aRectangle.Width = 0;
     358           0 :         aRectangle.Height = 0;
     359           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
     360             :     }
     361           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartDocument");
     362             : 
     363           0 :     return aPropertyMap;
     364             :   }
     365             : };
     366           2 : class ShapeCrightArrowCallout : public CustomShapeProvider
     367             : {
     368           0 :   virtual PropertyMap getProperties()
     369             :   {
     370           0 :     PropertyMap aPropertyMap;
     371             : 
     372             :     {
     373           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
     374             :         {
     375           0 :             Any aAny ((sal_Int32) 25000);
     376           0 :             aAdjSequence [0].Value = aAny;
     377           0 :             aAdjSequence [0].Name = "adj1";
     378             :         }
     379             :         {
     380           0 :             Any aAny ((sal_Int32) 25000);
     381           0 :             aAdjSequence [1].Value = aAny;
     382           0 :             aAdjSequence [1].Name = "adj2";
     383             :         }
     384             :         {
     385           0 :             Any aAny ((sal_Int32) 25000);
     386           0 :             aAdjSequence [2].Value = aAny;
     387           0 :             aAdjSequence [2].Name = "adj3";
     388             :         }
     389             :         {
     390           0 :             Any aAny ((sal_Int32) 64977);
     391           0 :             aAdjSequence [3].Value = aAny;
     392           0 :             aAdjSequence [3].Name = "adj4";
     393             :         }
     394           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
     395             :     }
     396             :     {
     397             :         static const char *aStrings[] = {
     398             :             "min(logwidth,logheight)",
     399             :             "50000*logheight/?0 ",
     400             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
     401             :             "?2 *2/1",
     402             :             "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
     403             :             "100000*logwidth/?0 ",
     404             :             "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
     405             :             "?6 *?0 /logwidth",
     406             :             "100000+0-?7 ",
     407             :             "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))",
     408             :             "?0 *?2 /100000",
     409             :             "?0 *?4 /200000",
     410             :             "logheight/2",
     411             :             "?12 +0-?10 ",
     412             :             "?12 +0-?11 ",
     413             :             "?12 +?11 -0",
     414             :             "?12 +?10 -0",
     415             :             "?0 *?6 /100000",
     416             :             "logwidth+0-?17 ",
     417             :             "logwidth*?9 /100000",
     418             :             "?19 *1/2",
     419             :             "logwidth",
     420             :             "logheight"
     421             :         };
     422           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
     423             :     }
     424             :     {
     425           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
     426             :         {
     427           0 :             Sequence< PropertyValue > aPropSequence (4);
     428             :             {
     429           0 :                 aPropSequence [0].Name = "Position";
     430             :                 static const CustomShapeProvider::ParameterPairData aData =
     431             :                 {
     432             :                     EnhancedCustomShapeParameterType::EQUATION,
     433             :                     EnhancedCustomShapeParameterType::EQUATION,
     434             :                     18, 14
     435             :                 };
     436           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     437             :             }
     438             :             {
     439           0 :                 aPropSequence [1].Name = "RangeYMaximum";
     440           0 :                 EnhancedCustomShapeParameter aParameter;
     441           0 :                 Any aAny ((sal_Int32) 3);
     442           0 :                 aParameter.Value = aAny;
     443           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
     444           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     445             :             }
     446             :             {
     447           0 :                 aPropSequence [2].Name = "RangeYMinimum";
     448           0 :                 EnhancedCustomShapeParameter aParameter;
     449           0 :                 Any aAny ((sal_Int32) 0);
     450           0 :                 aParameter.Value = aAny;
     451           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     452           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     453             :             }
     454             :             {
     455           0 :                 aPropSequence [3].Name = "RefY";
     456           0 :                 Any aAny ((sal_Int32) 0);
     457           0 :                 aPropSequence [3].Value = makeAny (aAny);
     458             :             }
     459           0 :             aPropSequenceSequence [0] = aPropSequence;
     460             :         }
     461             :         {
     462           0 :             Sequence< PropertyValue > aPropSequence (4);
     463             :             {
     464           0 :                 aPropSequence [0].Name = "Position";
     465             :                 static const CustomShapeProvider::ParameterPairData aData =
     466             :                 {
     467             :                     EnhancedCustomShapeParameterType::EQUATION,
     468             :                     EnhancedCustomShapeParameterType::EQUATION,
     469             :                     21, 13
     470             :                 };
     471           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     472             :             }
     473             :             {
     474           0 :                 aPropSequence [1].Name = "RangeYMaximum";
     475           0 :                 EnhancedCustomShapeParameter aParameter;
     476           0 :                 Any aAny ((sal_Int32) 1);
     477           0 :                 aParameter.Value = aAny;
     478           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
     479           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     480             :             }
     481             :             {
     482           0 :                 aPropSequence [2].Name = "RangeYMinimum";
     483           0 :                 EnhancedCustomShapeParameter aParameter;
     484           0 :                 Any aAny ((sal_Int32) 0);
     485           0 :                 aParameter.Value = aAny;
     486           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     487           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     488             :             }
     489             :             {
     490           0 :                 aPropSequence [3].Name = "RefY";
     491           0 :                 Any aAny ((sal_Int32) 1);
     492           0 :                 aPropSequence [3].Value = makeAny (aAny);
     493             :             }
     494           0 :             aPropSequenceSequence [1] = aPropSequence;
     495             :         }
     496             :         {
     497           0 :             Sequence< PropertyValue > aPropSequence (4);
     498             :             {
     499           0 :                 aPropSequence [0].Name = "Position";
     500             :                 static const CustomShapeProvider::ParameterPairData aData =
     501             :                 {
     502             :                     EnhancedCustomShapeParameterType::EQUATION,
     503             :                     EnhancedCustomShapeParameterType::NORMAL,
     504             :                     18, 0
     505             :                 };
     506           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     507             :             }
     508             :             {
     509           0 :                 aPropSequence [1].Name = "RangeXMaximum";
     510           0 :                 EnhancedCustomShapeParameter aParameter;
     511           0 :                 Any aAny ((sal_Int32) 5);
     512           0 :                 aParameter.Value = aAny;
     513           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
     514           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     515             :             }
     516             :             {
     517           0 :                 aPropSequence [2].Name = "RangeXMinimum";
     518           0 :                 EnhancedCustomShapeParameter aParameter;
     519           0 :                 Any aAny ((sal_Int32) 0);
     520           0 :                 aParameter.Value = aAny;
     521           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     522           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     523             :             }
     524             :             {
     525           0 :                 aPropSequence [3].Name = "RefX";
     526           0 :                 Any aAny ((sal_Int32) 2);
     527           0 :                 aPropSequence [3].Value = makeAny (aAny);
     528             :             }
     529           0 :             aPropSequenceSequence [2] = aPropSequence;
     530             :         }
     531             :         {
     532           0 :             Sequence< PropertyValue > aPropSequence (4);
     533             :             {
     534           0 :                 aPropSequence [0].Name = "Position";
     535             :                 static const CustomShapeProvider::ParameterPairData aData =
     536             :                 {
     537             :                     EnhancedCustomShapeParameterType::EQUATION,
     538             :                     EnhancedCustomShapeParameterType::EQUATION,
     539             :                     19, 22
     540             :                 };
     541           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     542             :             }
     543             :             {
     544           0 :                 aPropSequence [1].Name = "RangeXMaximum";
     545           0 :                 EnhancedCustomShapeParameter aParameter;
     546           0 :                 Any aAny ((sal_Int32) 8);
     547           0 :                 aParameter.Value = aAny;
     548           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
     549           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     550             :             }
     551             :             {
     552           0 :                 aPropSequence [2].Name = "RangeXMinimum";
     553           0 :                 EnhancedCustomShapeParameter aParameter;
     554           0 :                 Any aAny ((sal_Int32) 0);
     555           0 :                 aParameter.Value = aAny;
     556           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     557           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     558             :             }
     559             :             {
     560           0 :                 aPropSequence [3].Name = "RefX";
     561           0 :                 Any aAny ((sal_Int32) 3);
     562           0 :                 aPropSequence [3].Value = makeAny (aAny);
     563             :             }
     564           0 :             aPropSequenceSequence [3] = aPropSequence;
     565             :         }
     566           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
     567             :     }
     568             :     {
     569           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
     570             :     }
     571             :     {
     572           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
     573             :     }
     574             :     {
     575           0 :         Sequence< PropertyValue > aPropSequence (3);
     576             :         {
     577           0 :             aPropSequence [0].Name = "Coordinates";
     578             :             static const CustomShapeProvider::ParameterPairData aData[] = {
     579             :                 {
     580             :                     EnhancedCustomShapeParameterType::NORMAL,
     581             :                     EnhancedCustomShapeParameterType::NORMAL,
     582             :                     0, 0
     583             :                 },
     584             :                 {
     585             :                     EnhancedCustomShapeParameterType::EQUATION,
     586             :                     EnhancedCustomShapeParameterType::NORMAL,
     587             :                     19, 0
     588             :                 },
     589             :                 {
     590             :                     EnhancedCustomShapeParameterType::EQUATION,
     591             :                     EnhancedCustomShapeParameterType::EQUATION,
     592             :                     19, 14
     593             :                 },
     594             :                 {
     595             :                     EnhancedCustomShapeParameterType::EQUATION,
     596             :                     EnhancedCustomShapeParameterType::EQUATION,
     597             :                     18, 14
     598             :                 },
     599             :                 {
     600             :                     EnhancedCustomShapeParameterType::EQUATION,
     601             :                     EnhancedCustomShapeParameterType::EQUATION,
     602             :                     18, 13
     603             :                 },
     604             :                 {
     605             :                     EnhancedCustomShapeParameterType::EQUATION,
     606             :                     EnhancedCustomShapeParameterType::EQUATION,
     607             :                     21, 12
     608             :                 },
     609             :                 {
     610             :                     EnhancedCustomShapeParameterType::EQUATION,
     611             :                     EnhancedCustomShapeParameterType::EQUATION,
     612             :                     18, 16
     613             :                 },
     614             :                 {
     615             :                     EnhancedCustomShapeParameterType::EQUATION,
     616             :                     EnhancedCustomShapeParameterType::EQUATION,
     617             :                     18, 15
     618             :                 },
     619             :                 {
     620             :                     EnhancedCustomShapeParameterType::EQUATION,
     621             :                     EnhancedCustomShapeParameterType::EQUATION,
     622             :                     19, 15
     623             :                 },
     624             :                 {
     625             :                     EnhancedCustomShapeParameterType::EQUATION,
     626             :                     EnhancedCustomShapeParameterType::EQUATION,
     627             :                     19, 22
     628             :                 },
     629             :                 {
     630             :                     EnhancedCustomShapeParameterType::NORMAL,
     631             :                     EnhancedCustomShapeParameterType::EQUATION,
     632             :                     0, 22
     633             :                 }
     634             :             };
     635           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
     636             :         }
     637             :         {
     638           0 :             aPropSequence [1].Name = "Segments";
     639             :             static const sal_uInt16 nValues[] = {
     640             :             // Command, Count
     641             :                 1,1,
     642             :                 2,10,
     643             :                 4,0,
     644             :                 5,0
     645             :             };
     646           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
     647             :         }
     648             :         {
     649           0 :             aPropSequence [2].Name = "TextFrames";
     650           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
     651             :             {
     652           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
     653             :                 {
     654             :                     static const CustomShapeProvider::ParameterPairData aData =
     655             :                     {
     656             :                         EnhancedCustomShapeParameterType::NORMAL,
     657             :                         EnhancedCustomShapeParameterType::NORMAL,
     658             :                         0, 0
     659             :                     };
     660           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
     661             :                 }
     662             :                 {
     663             :                     static const CustomShapeProvider::ParameterPairData aData =
     664             :                     {
     665             :                         EnhancedCustomShapeParameterType::EQUATION,
     666             :                         EnhancedCustomShapeParameterType::EQUATION,
     667             :                         19, 22
     668             :                     };
     669           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
     670             :                 }
     671           0 :                 aTextFrameSeq [0] = aTextFrame;
     672             :             }
     673           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
     674             :         }
     675           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
     676             :     }
     677             :     {
     678           0 :         awt::Rectangle aRectangle;
     679           0 :         aRectangle.X = 0;
     680           0 :         aRectangle.Y = 0;
     681           0 :         aRectangle.Width = 0;
     682           0 :         aRectangle.Height = 0;
     683           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
     684             :     }
     685           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-rightArrowCallout");
     686             : 
     687           0 :     return aPropertyMap;
     688             :   }
     689             : };
     690           2 : class ShapeCrightBrace : public CustomShapeProvider
     691             : {
     692           0 :   virtual PropertyMap getProperties()
     693             :   {
     694           0 :     PropertyMap aPropertyMap;
     695             : 
     696             :     {
     697           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
     698             :         {
     699           0 :             Any aAny ((sal_Int32) 8333);
     700           0 :             aAdjSequence [0].Value = aAny;
     701           0 :             aAdjSequence [0].Name = "adj1";
     702             :         }
     703             :         {
     704           0 :             Any aAny ((sal_Int32) 50000);
     705           0 :             aAdjSequence [1].Value = aAny;
     706           0 :             aAdjSequence [1].Name = "adj2";
     707             :         }
     708           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
     709             :     }
     710             :     {
     711             :         static const char *aStrings[] = {
     712             :             "if(0-$1 ,0,if(100000-$1 ,$1 ,100000))",
     713             :             "100000+0-?0 ",
     714             :             "min(?1 ,?0 )",
     715             :             "?2 *1/2",
     716             :             "min(logwidth,logheight)",
     717             :             "?3 *logheight/?4 ",
     718             :             "if(0-$0 ,0,if(?5 -$0 ,$0 ,?5 ))",
     719             :             "?4 *?6 /100000",
     720             :             "logheight*?0 /100000",
     721             :             "?8 +0-?7 ",
     722             :             "logheight+0-?7 ",
     723             :             "logwidth/2",
     724             :             "?11 *cos(pi*(2700000)/10800000)",
     725             :             "?7 *sin(pi*(2700000)/10800000)",
     726             :             "0+?12 -0",
     727             :             "?7 +0-?13 ",
     728             :             "logheight+?13 -?7 ",
     729             :             "logwidth/2",
     730             :             "logwidth",
     731             :             "logheight",
     732             :             "(16200000)/60000.0",
     733             :             "(5400000)/60000.0",
     734             :             "(10800000)/60000.0",
     735             :             "(-5400000)/60000.0",
     736             :             "(16200000)/60000.0",
     737             :             "(-5400000)/60000.0",
     738             :             "(0)/60000.0",
     739             :             "(5400000)/60000.0",
     740             :             "(16200000)/60000.0",
     741             :             "(5400000)/60000.0",
     742             :             "(10800000)/60000.0",
     743             :             "(-5400000)/60000.0",
     744             :             "(16200000)/60000.0",
     745             :             "(-5400000)/60000.0",
     746             :             "(0)/60000.0",
     747             :             "(5400000)/60000.0"
     748             :         };
     749           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
     750             :     }
     751             :     {
     752           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
     753             :         {
     754           0 :             Sequence< PropertyValue > aPropSequence (4);
     755             :             {
     756           0 :                 aPropSequence [0].Name = "Position";
     757             :                 static const CustomShapeProvider::ParameterPairData aData =
     758             :                 {
     759             :                     EnhancedCustomShapeParameterType::EQUATION,
     760             :                     EnhancedCustomShapeParameterType::EQUATION,
     761             :                     17, 7
     762             :                 };
     763           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     764             :             }
     765             :             {
     766           0 :                 aPropSequence [1].Name = "RangeYMaximum";
     767           0 :                 EnhancedCustomShapeParameter aParameter;
     768           0 :                 Any aAny ((sal_Int32) 5);
     769           0 :                 aParameter.Value = aAny;
     770           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
     771           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     772             :             }
     773             :             {
     774           0 :                 aPropSequence [2].Name = "RangeYMinimum";
     775           0 :                 EnhancedCustomShapeParameter aParameter;
     776           0 :                 Any aAny ((sal_Int32) 0);
     777           0 :                 aParameter.Value = aAny;
     778           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     779           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     780             :             }
     781             :             {
     782           0 :                 aPropSequence [3].Name = "RefY";
     783           0 :                 Any aAny ((sal_Int32) 0);
     784           0 :                 aPropSequence [3].Value = makeAny (aAny);
     785             :             }
     786           0 :             aPropSequenceSequence [0] = aPropSequence;
     787             :         }
     788             :         {
     789           0 :             Sequence< PropertyValue > aPropSequence (4);
     790             :             {
     791           0 :                 aPropSequence [0].Name = "Position";
     792             :                 static const CustomShapeProvider::ParameterPairData aData =
     793             :                 {
     794             :                     EnhancedCustomShapeParameterType::EQUATION,
     795             :                     EnhancedCustomShapeParameterType::EQUATION,
     796             :                     18, 8
     797             :                 };
     798           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
     799             :             }
     800             :             {
     801           0 :                 aPropSequence [1].Name = "RangeYMaximum";
     802           0 :                 EnhancedCustomShapeParameter aParameter;
     803           0 :                 Any aAny ((sal_Int32) 100000);
     804           0 :                 aParameter.Value = aAny;
     805           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     806           0 :                 aPropSequence [1].Value = makeAny (aParameter);
     807             :             }
     808             :             {
     809           0 :                 aPropSequence [2].Name = "RangeYMinimum";
     810           0 :                 EnhancedCustomShapeParameter aParameter;
     811           0 :                 Any aAny ((sal_Int32) 0);
     812           0 :                 aParameter.Value = aAny;
     813           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
     814           0 :                 aPropSequence [2].Value = makeAny (aParameter);
     815             :             }
     816             :             {
     817           0 :                 aPropSequence [3].Name = "RefY";
     818           0 :                 Any aAny ((sal_Int32) 1);
     819           0 :                 aPropSequence [3].Value = makeAny (aAny);
     820             :             }
     821           0 :             aPropSequenceSequence [1] = aPropSequence;
     822             :         }
     823           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
     824             :     }
     825             :     {
     826           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
     827             :     }
     828             :     {
     829           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
     830             :     }
     831             :     {
     832           0 :         Sequence< PropertyValue > aPropSequence (3);
     833             :         {
     834           0 :             aPropSequence [0].Name = "Coordinates";
     835             :             static const CustomShapeProvider::ParameterPairData aData[] = {
     836             :                 {
     837             :                     EnhancedCustomShapeParameterType::NORMAL,
     838             :                     EnhancedCustomShapeParameterType::NORMAL,
     839             :                     0, 0
     840             :                 },
     841             :                 {
     842             :                     EnhancedCustomShapeParameterType::EQUATION,
     843             :                     EnhancedCustomShapeParameterType::EQUATION,
     844             :                     11, 7
     845             :                 },
     846             :                 {
     847             :                     EnhancedCustomShapeParameterType::EQUATION,
     848             :                     EnhancedCustomShapeParameterType::EQUATION,
     849             :                     20, 21
     850             :                 },
     851             :                 {
     852             :                     EnhancedCustomShapeParameterType::EQUATION,
     853             :                     EnhancedCustomShapeParameterType::EQUATION,
     854             :                     17, 9
     855             :                 },
     856             :                 {
     857             :                     EnhancedCustomShapeParameterType::EQUATION,
     858             :                     EnhancedCustomShapeParameterType::EQUATION,
     859             :                     11, 7
     860             :                 },
     861             :                 {
     862             :                     EnhancedCustomShapeParameterType::EQUATION,
     863             :                     EnhancedCustomShapeParameterType::EQUATION,
     864             :                     22, 23
     865             :                 },
     866             :                 {
     867             :                     EnhancedCustomShapeParameterType::EQUATION,
     868             :                     EnhancedCustomShapeParameterType::EQUATION,
     869             :                     11, 7
     870             :                 },
     871             :                 {
     872             :                     EnhancedCustomShapeParameterType::EQUATION,
     873             :                     EnhancedCustomShapeParameterType::EQUATION,
     874             :                     24, 25
     875             :                 },
     876             :                 {
     877             :                     EnhancedCustomShapeParameterType::EQUATION,
     878             :                     EnhancedCustomShapeParameterType::EQUATION,
     879             :                     17, 10
     880             :                 },
     881             :                 {
     882             :                     EnhancedCustomShapeParameterType::EQUATION,
     883             :                     EnhancedCustomShapeParameterType::EQUATION,
     884             :                     11, 7
     885             :                 },
     886             :                 {
     887             :                     EnhancedCustomShapeParameterType::EQUATION,
     888             :                     EnhancedCustomShapeParameterType::EQUATION,
     889             :                     26, 27
     890             :                 },
     891             :                 {
     892             :                     EnhancedCustomShapeParameterType::NORMAL,
     893             :                     EnhancedCustomShapeParameterType::NORMAL,
     894             :                     0, 0
     895             :                 },
     896             :                 {
     897             :                     EnhancedCustomShapeParameterType::EQUATION,
     898             :                     EnhancedCustomShapeParameterType::EQUATION,
     899             :                     11, 7
     900             :                 },
     901             :                 {
     902             :                     EnhancedCustomShapeParameterType::EQUATION,
     903             :                     EnhancedCustomShapeParameterType::EQUATION,
     904             :                     28, 29
     905             :                 },
     906             :                 {
     907             :                     EnhancedCustomShapeParameterType::EQUATION,
     908             :                     EnhancedCustomShapeParameterType::EQUATION,
     909             :                     17, 9
     910             :                 },
     911             :                 {
     912             :                     EnhancedCustomShapeParameterType::EQUATION,
     913             :                     EnhancedCustomShapeParameterType::EQUATION,
     914             :                     11, 7
     915             :                 },
     916             :                 {
     917             :                     EnhancedCustomShapeParameterType::EQUATION,
     918             :                     EnhancedCustomShapeParameterType::EQUATION,
     919             :                     30, 31
     920             :                 },
     921             :                 {
     922             :                     EnhancedCustomShapeParameterType::EQUATION,
     923             :                     EnhancedCustomShapeParameterType::EQUATION,
     924             :                     11, 7
     925             :                 },
     926             :                 {
     927             :                     EnhancedCustomShapeParameterType::EQUATION,
     928             :                     EnhancedCustomShapeParameterType::EQUATION,
     929             :                     32, 33
     930             :                 },
     931             :                 {
     932             :                     EnhancedCustomShapeParameterType::EQUATION,
     933             :                     EnhancedCustomShapeParameterType::EQUATION,
     934             :                     17, 10
     935             :                 },
     936             :                 {
     937             :                     EnhancedCustomShapeParameterType::EQUATION,
     938             :                     EnhancedCustomShapeParameterType::EQUATION,
     939             :                     11, 7
     940             :                 },
     941             :                 {
     942             :                     EnhancedCustomShapeParameterType::EQUATION,
     943             :                     EnhancedCustomShapeParameterType::EQUATION,
     944             :                     34, 35
     945             :                 }
     946             :             };
     947           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
     948             :         }
     949             :         {
     950           0 :             aPropSequence [1].Name = "Segments";
     951             :             static const sal_uInt16 nValues[] = {
     952             :             // Command, Count
     953             :                 1,1,
     954             :                 17,1,
     955             :                 2,1,
     956             :                 17,2,
     957             :                 2,1,
     958             :                 17,1,
     959             :                 4,0,
     960             :                 7,0,
     961             :                 5,0,
     962             :                 1,1,
     963             :                 17,1,
     964             :                 2,1,
     965             :                 17,2,
     966             :                 2,1,
     967             :                 17,1,
     968             :                 6,0,
     969             :                 5,0
     970             :             };
     971           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
     972             :         }
     973             :         {
     974           0 :             aPropSequence [2].Name = "TextFrames";
     975           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
     976             :             {
     977           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
     978             :                 {
     979             :                     static const CustomShapeProvider::ParameterPairData aData =
     980             :                     {
     981             :                         EnhancedCustomShapeParameterType::NORMAL,
     982             :                         EnhancedCustomShapeParameterType::EQUATION,
     983             :                         0, 15
     984             :                     };
     985           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
     986             :                 }
     987             :                 {
     988             :                     static const CustomShapeProvider::ParameterPairData aData =
     989             :                     {
     990             :                         EnhancedCustomShapeParameterType::EQUATION,
     991             :                         EnhancedCustomShapeParameterType::EQUATION,
     992             :                         14, 16
     993             :                     };
     994           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
     995             :                 }
     996           0 :                 aTextFrameSeq [0] = aTextFrame;
     997             :             }
     998           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
     999             :         }
    1000           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1001             :     }
    1002             :     {
    1003           0 :         awt::Rectangle aRectangle;
    1004           0 :         aRectangle.X = 0;
    1005           0 :         aRectangle.Y = 0;
    1006           0 :         aRectangle.Width = 0;
    1007           0 :         aRectangle.Height = 0;
    1008           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1009             :     }
    1010           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-rightBrace");
    1011             : 
    1012           0 :     return aPropertyMap;
    1013             :   }
    1014             : };
    1015           2 : class ShapeCchartPlus : public CustomShapeProvider
    1016             : {
    1017           0 :   virtual PropertyMap getProperties()
    1018             :   {
    1019           0 :     PropertyMap aPropertyMap;
    1020             : 
    1021             :     {
    1022           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    1023             :     }
    1024             :     {
    1025           0 :         aPropertyMap [PROP_Equations] <<= Sequence< OUString >(0);
    1026             :     }
    1027             :     {
    1028           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    1029             :     }
    1030             :     {
    1031           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1032             :     }
    1033             :     {
    1034           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1035             :     }
    1036             :     {
    1037           0 :         Sequence< PropertyValue > aPropSequence (3);
    1038             :         {
    1039           0 :             aPropSequence [0].Name = "Coordinates";
    1040             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1041             :                 {
    1042             :                     EnhancedCustomShapeParameterType::NORMAL,
    1043             :                     EnhancedCustomShapeParameterType::NORMAL,
    1044             :                     5, 0
    1045             :                 },
    1046             :                 {
    1047             :                     EnhancedCustomShapeParameterType::NORMAL,
    1048             :                     EnhancedCustomShapeParameterType::NORMAL,
    1049             :                     5, 10
    1050             :                 },
    1051             :                 {
    1052             :                     EnhancedCustomShapeParameterType::NORMAL,
    1053             :                     EnhancedCustomShapeParameterType::NORMAL,
    1054             :                     0, 5
    1055             :                 },
    1056             :                 {
    1057             :                     EnhancedCustomShapeParameterType::NORMAL,
    1058             :                     EnhancedCustomShapeParameterType::NORMAL,
    1059             :                     10, 5
    1060             :                 },
    1061             :                 {
    1062             :                     EnhancedCustomShapeParameterType::NORMAL,
    1063             :                     EnhancedCustomShapeParameterType::NORMAL,
    1064             :                     0, 0
    1065             :                 },
    1066             :                 {
    1067             :                     EnhancedCustomShapeParameterType::NORMAL,
    1068             :                     EnhancedCustomShapeParameterType::NORMAL,
    1069             :                     0, 10
    1070             :                 },
    1071             :                 {
    1072             :                     EnhancedCustomShapeParameterType::NORMAL,
    1073             :                     EnhancedCustomShapeParameterType::NORMAL,
    1074             :                     10, 10
    1075             :                 },
    1076             :                 {
    1077             :                     EnhancedCustomShapeParameterType::NORMAL,
    1078             :                     EnhancedCustomShapeParameterType::NORMAL,
    1079             :                     10, 0
    1080             :                 }
    1081             :             };
    1082           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1083             :         }
    1084             :         {
    1085           0 :             aPropSequence [1].Name = "Segments";
    1086             :             static const sal_uInt16 nValues[] = {
    1087             :             // Command, Count
    1088             :                 1,1,
    1089             :                 2,1,
    1090             :                 1,1,
    1091             :                 2,1,
    1092             :                 6,0,
    1093             :                 5,0,
    1094             :                 1,1,
    1095             :                 2,3,
    1096             :                 4,0,
    1097             :                 7,0,
    1098             :                 5,0
    1099             :             };
    1100           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1101             :         }
    1102             :         {
    1103           0 :             aPropSequence [2].Name = "SubViewSize";
    1104           0 :             Sequence< awt::Size > aSizeSequence (2);
    1105             :             {
    1106           0 :                 awt::Size aSize;
    1107           0 :                 aSize.Width = 10;
    1108           0 :                 aSize.Height = 10;
    1109           0 :                 aSizeSequence [0] = aSize;
    1110             :             }
    1111             :             {
    1112           0 :                 awt::Size aSize;
    1113           0 :                 aSize.Width = 10;
    1114           0 :                 aSize.Height = 10;
    1115           0 :                 aSizeSequence [1] = aSize;
    1116             :             }
    1117           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    1118             :         }
    1119           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1120             :     }
    1121             :     {
    1122           0 :         awt::Rectangle aRectangle;
    1123           0 :         aRectangle.X = 0;
    1124           0 :         aRectangle.Y = 0;
    1125           0 :         aRectangle.Width = 0;
    1126           0 :         aRectangle.Height = 0;
    1127           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1128             :     }
    1129           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-chartPlus");
    1130             : 
    1131           0 :     return aPropertyMap;
    1132             :   }
    1133             : };
    1134           2 : class ShapeCflowChartManualInput : public CustomShapeProvider
    1135             : {
    1136           0 :   virtual PropertyMap getProperties()
    1137             :   {
    1138           0 :     PropertyMap aPropertyMap;
    1139             : 
    1140             :     {
    1141           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    1142             :     }
    1143             :     {
    1144             :         static const char *aStrings[] = {
    1145             :             "logwidth/2",
    1146             :             "logheight/10",
    1147             :             "logheight/2",
    1148             :             "logheight",
    1149             :             "logwidth",
    1150             :             "logheight/5"
    1151             :         };
    1152           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1153             :     }
    1154             :     {
    1155           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    1156             :     }
    1157             :     {
    1158           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1159             :     }
    1160             :     {
    1161           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1162             :     }
    1163             :     {
    1164           0 :         Sequence< PropertyValue > aPropSequence (4);
    1165             :         {
    1166           0 :             aPropSequence [0].Name = "Coordinates";
    1167             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1168             :                 {
    1169             :                     EnhancedCustomShapeParameterType::NORMAL,
    1170             :                     EnhancedCustomShapeParameterType::NORMAL,
    1171             :                     0, 1
    1172             :                 },
    1173             :                 {
    1174             :                     EnhancedCustomShapeParameterType::NORMAL,
    1175             :                     EnhancedCustomShapeParameterType::NORMAL,
    1176             :                     5, 0
    1177             :                 },
    1178             :                 {
    1179             :                     EnhancedCustomShapeParameterType::NORMAL,
    1180             :                     EnhancedCustomShapeParameterType::NORMAL,
    1181             :                     5, 5
    1182             :                 },
    1183             :                 {
    1184             :                     EnhancedCustomShapeParameterType::NORMAL,
    1185             :                     EnhancedCustomShapeParameterType::NORMAL,
    1186             :                     0, 5
    1187             :                 }
    1188             :             };
    1189           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1190             :         }
    1191             :         {
    1192           0 :             aPropSequence [1].Name = "Segments";
    1193             :             static const sal_uInt16 nValues[] = {
    1194             :             // Command, Count
    1195             :                 1,1,
    1196             :                 2,3,
    1197             :                 4,0,
    1198             :                 5,0
    1199             :             };
    1200           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1201             :         }
    1202             :         {
    1203           0 :             aPropSequence [2].Name = "SubViewSize";
    1204           0 :             Sequence< awt::Size > aSizeSequence (1);
    1205             :             {
    1206           0 :                 awt::Size aSize;
    1207           0 :                 aSize.Width = 5;
    1208           0 :                 aSize.Height = 5;
    1209           0 :                 aSizeSequence [0] = aSize;
    1210             :             }
    1211           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    1212             :         }
    1213             :         {
    1214           0 :             aPropSequence [3].Name = "TextFrames";
    1215           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    1216             :             {
    1217           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    1218             :                 {
    1219             :                     static const CustomShapeProvider::ParameterPairData aData =
    1220             :                     {
    1221             :                         EnhancedCustomShapeParameterType::NORMAL,
    1222             :                         EnhancedCustomShapeParameterType::EQUATION,
    1223             :                         0, 5
    1224             :                     };
    1225           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    1226             :                 }
    1227             :                 {
    1228             :                     static const CustomShapeProvider::ParameterPairData aData =
    1229             :                     {
    1230             :                         EnhancedCustomShapeParameterType::EQUATION,
    1231             :                         EnhancedCustomShapeParameterType::EQUATION,
    1232             :                         4, 3
    1233             :                     };
    1234           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    1235             :                 }
    1236           0 :                 aTextFrameSeq [0] = aTextFrame;
    1237             :             }
    1238           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
    1239             :         }
    1240           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1241             :     }
    1242             :     {
    1243           0 :         awt::Rectangle aRectangle;
    1244           0 :         aRectangle.X = 0;
    1245           0 :         aRectangle.Y = 0;
    1246           0 :         aRectangle.Width = 0;
    1247           0 :         aRectangle.Height = 0;
    1248           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1249             :     }
    1250           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartManualInput");
    1251             : 
    1252           0 :     return aPropertyMap;
    1253             :   }
    1254             : };
    1255           2 : class ShapeCflowChartMerge : public CustomShapeProvider
    1256             : {
    1257           0 :   virtual PropertyMap getProperties()
    1258             :   {
    1259           0 :     PropertyMap aPropertyMap;
    1260             : 
    1261             :     {
    1262           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    1263             :     }
    1264             :     {
    1265             :         static const char *aStrings[] = {
    1266             :             "logwidth*3/4",
    1267             :             "logwidth/2",
    1268             :             "logwidth/4",
    1269             :             "logheight/2",
    1270             :             "logheight"
    1271             :         };
    1272           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1273             :     }
    1274             :     {
    1275           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    1276             :     }
    1277             :     {
    1278           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1279             :     }
    1280             :     {
    1281           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1282             :     }
    1283             :     {
    1284           0 :         Sequence< PropertyValue > aPropSequence (4);
    1285             :         {
    1286           0 :             aPropSequence [0].Name = "Coordinates";
    1287             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1288             :                 {
    1289             :                     EnhancedCustomShapeParameterType::NORMAL,
    1290             :                     EnhancedCustomShapeParameterType::NORMAL,
    1291             :                     0, 0
    1292             :                 },
    1293             :                 {
    1294             :                     EnhancedCustomShapeParameterType::NORMAL,
    1295             :                     EnhancedCustomShapeParameterType::NORMAL,
    1296             :                     2, 0
    1297             :                 },
    1298             :                 {
    1299             :                     EnhancedCustomShapeParameterType::NORMAL,
    1300             :                     EnhancedCustomShapeParameterType::NORMAL,
    1301             :                     1, 2
    1302             :                 }
    1303             :             };
    1304           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1305             :         }
    1306             :         {
    1307           0 :             aPropSequence [1].Name = "Segments";
    1308             :             static const sal_uInt16 nValues[] = {
    1309             :             // Command, Count
    1310             :                 1,1,
    1311             :                 2,2,
    1312             :                 4,0,
    1313             :                 5,0
    1314             :             };
    1315           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1316             :         }
    1317             :         {
    1318           0 :             aPropSequence [2].Name = "SubViewSize";
    1319           0 :             Sequence< awt::Size > aSizeSequence (1);
    1320             :             {
    1321           0 :                 awt::Size aSize;
    1322           0 :                 aSize.Width = 2;
    1323           0 :                 aSize.Height = 2;
    1324           0 :                 aSizeSequence [0] = aSize;
    1325             :             }
    1326           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    1327             :         }
    1328             :         {
    1329           0 :             aPropSequence [3].Name = "TextFrames";
    1330           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    1331             :             {
    1332           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    1333             :                 {
    1334             :                     static const CustomShapeProvider::ParameterPairData aData =
    1335             :                     {
    1336             :                         EnhancedCustomShapeParameterType::EQUATION,
    1337             :                         EnhancedCustomShapeParameterType::NORMAL,
    1338             :                         2, 0
    1339             :                     };
    1340           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    1341             :                 }
    1342             :                 {
    1343             :                     static const CustomShapeProvider::ParameterPairData aData =
    1344             :                     {
    1345             :                         EnhancedCustomShapeParameterType::EQUATION,
    1346             :                         EnhancedCustomShapeParameterType::EQUATION,
    1347             :                         0, 3
    1348             :                     };
    1349           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    1350             :                 }
    1351           0 :                 aTextFrameSeq [0] = aTextFrame;
    1352             :             }
    1353           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
    1354             :         }
    1355           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1356             :     }
    1357             :     {
    1358           0 :         awt::Rectangle aRectangle;
    1359           0 :         aRectangle.X = 0;
    1360           0 :         aRectangle.Y = 0;
    1361           0 :         aRectangle.Width = 0;
    1362           0 :         aRectangle.Height = 0;
    1363           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1364             :     }
    1365           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartMerge");
    1366             : 
    1367           0 :     return aPropertyMap;
    1368             :   }
    1369             : };
    1370           2 : class ShapeCline : public CustomShapeProvider
    1371             : {
    1372           0 :   virtual PropertyMap getProperties()
    1373             :   {
    1374           0 :     PropertyMap aPropertyMap;
    1375             : 
    1376             :     {
    1377           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    1378             :     }
    1379             :     {
    1380             :         static const char *aStrings[] = {
    1381             :             "logwidth",
    1382             :             "logheight"
    1383             :         };
    1384           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1385             :     }
    1386             :     {
    1387           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    1388             :     }
    1389             :     {
    1390           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1391             :     }
    1392             :     {
    1393           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1394             :     }
    1395             :     {
    1396           0 :         Sequence< PropertyValue > aPropSequence (2);
    1397             :         {
    1398           0 :             aPropSequence [0].Name = "Coordinates";
    1399             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1400             :                 {
    1401             :                     EnhancedCustomShapeParameterType::NORMAL,
    1402             :                     EnhancedCustomShapeParameterType::NORMAL,
    1403             :                     0, 0
    1404             :                 },
    1405             :                 {
    1406             :                     EnhancedCustomShapeParameterType::EQUATION,
    1407             :                     EnhancedCustomShapeParameterType::EQUATION,
    1408             :                     0, 1
    1409             :                 }
    1410             :             };
    1411           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1412             :         }
    1413             :         {
    1414           0 :             aPropSequence [1].Name = "Segments";
    1415             :             static const sal_uInt16 nValues[] = {
    1416             :             // Command, Count
    1417             :                 1,1,
    1418             :                 2,1,
    1419             :                 5,0
    1420             :             };
    1421           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1422             :         }
    1423           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1424             :     }
    1425             :     {
    1426           0 :         awt::Rectangle aRectangle;
    1427           0 :         aRectangle.X = 0;
    1428           0 :         aRectangle.Y = 0;
    1429           0 :         aRectangle.Width = 0;
    1430           0 :         aRectangle.Height = 0;
    1431           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1432             :     }
    1433           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-line");
    1434             : 
    1435           0 :     return aPropertyMap;
    1436             :   }
    1437             : };
    1438           2 : class ShapeCdownArrow : public CustomShapeProvider
    1439             : {
    1440           0 :   virtual PropertyMap getProperties()
    1441             :   {
    1442           0 :     PropertyMap aPropertyMap;
    1443             : 
    1444             :     {
    1445           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    1446             :         {
    1447           0 :             Any aAny ((sal_Int32) 50000);
    1448           0 :             aAdjSequence [0].Value = aAny;
    1449           0 :             aAdjSequence [0].Name = "adj1";
    1450             :         }
    1451             :         {
    1452           0 :             Any aAny ((sal_Int32) 50000);
    1453           0 :             aAdjSequence [1].Value = aAny;
    1454           0 :             aAdjSequence [1].Name = "adj2";
    1455             :         }
    1456           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    1457             :     }
    1458             :     {
    1459             :         static const char *aStrings[] = {
    1460             :             "min(logwidth,logheight)",
    1461             :             "100000*logheight/?0 ",
    1462             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    1463             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    1464             :             "?0 *?3 /100000",
    1465             :             "logheight+0-?4 ",
    1466             :             "logwidth*?2 /200000",
    1467             :             "logwidth/2",
    1468             :             "?7 +0-?6 ",
    1469             :             "?7 +?6 -0",
    1470             :             "logwidth/2",
    1471             :             "?8 *?4 /?10 ",
    1472             :             "?5 +?11 -0",
    1473             :             "logheight",
    1474             :             "logwidth"
    1475             :         };
    1476           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1477             :     }
    1478             :     {
    1479           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    1480             :         {
    1481           0 :             Sequence< PropertyValue > aPropSequence (4);
    1482             :             {
    1483           0 :                 aPropSequence [0].Name = "Position";
    1484             :                 static const CustomShapeProvider::ParameterPairData aData =
    1485             :                 {
    1486             :                     EnhancedCustomShapeParameterType::EQUATION,
    1487             :                     EnhancedCustomShapeParameterType::NORMAL,
    1488             :                     8, 0
    1489             :                 };
    1490           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    1491             :             }
    1492             :             {
    1493           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    1494           0 :                 EnhancedCustomShapeParameter aParameter;
    1495           0 :                 Any aAny ((sal_Int32) 100000);
    1496           0 :                 aParameter.Value = aAny;
    1497           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1498           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    1499             :             }
    1500             :             {
    1501           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    1502           0 :                 EnhancedCustomShapeParameter aParameter;
    1503           0 :                 Any aAny ((sal_Int32) 0);
    1504           0 :                 aParameter.Value = aAny;
    1505           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1506           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    1507             :             }
    1508             :             {
    1509           0 :                 aPropSequence [3].Name = "RefX";
    1510           0 :                 Any aAny ((sal_Int32) 0);
    1511           0 :                 aPropSequence [3].Value = makeAny (aAny);
    1512             :             }
    1513           0 :             aPropSequenceSequence [0] = aPropSequence;
    1514             :         }
    1515             :         {
    1516           0 :             Sequence< PropertyValue > aPropSequence (4);
    1517             :             {
    1518           0 :                 aPropSequence [0].Name = "Position";
    1519             :                 static const CustomShapeProvider::ParameterPairData aData =
    1520             :                 {
    1521             :                     EnhancedCustomShapeParameterType::NORMAL,
    1522             :                     EnhancedCustomShapeParameterType::EQUATION,
    1523             :                     0, 5
    1524             :                 };
    1525           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    1526             :             }
    1527             :             {
    1528           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    1529           0 :                 EnhancedCustomShapeParameter aParameter;
    1530           0 :                 Any aAny ((sal_Int32) 1);
    1531           0 :                 aParameter.Value = aAny;
    1532           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    1533           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    1534             :             }
    1535             :             {
    1536           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    1537           0 :                 EnhancedCustomShapeParameter aParameter;
    1538           0 :                 Any aAny ((sal_Int32) 0);
    1539           0 :                 aParameter.Value = aAny;
    1540           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1541           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    1542             :             }
    1543             :             {
    1544           0 :                 aPropSequence [3].Name = "RefY";
    1545           0 :                 Any aAny ((sal_Int32) 1);
    1546           0 :                 aPropSequence [3].Value = makeAny (aAny);
    1547             :             }
    1548           0 :             aPropSequenceSequence [1] = aPropSequence;
    1549             :         }
    1550           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    1551             :     }
    1552             :     {
    1553           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1554             :     }
    1555             :     {
    1556           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1557             :     }
    1558             :     {
    1559           0 :         Sequence< PropertyValue > aPropSequence (3);
    1560             :         {
    1561           0 :             aPropSequence [0].Name = "Coordinates";
    1562             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1563             :                 {
    1564             :                     EnhancedCustomShapeParameterType::NORMAL,
    1565             :                     EnhancedCustomShapeParameterType::EQUATION,
    1566             :                     0, 5
    1567             :                 },
    1568             :                 {
    1569             :                     EnhancedCustomShapeParameterType::EQUATION,
    1570             :                     EnhancedCustomShapeParameterType::EQUATION,
    1571             :                     8, 5
    1572             :                 },
    1573             :                 {
    1574             :                     EnhancedCustomShapeParameterType::EQUATION,
    1575             :                     EnhancedCustomShapeParameterType::NORMAL,
    1576             :                     8, 0
    1577             :                 },
    1578             :                 {
    1579             :                     EnhancedCustomShapeParameterType::EQUATION,
    1580             :                     EnhancedCustomShapeParameterType::NORMAL,
    1581             :                     9, 0
    1582             :                 },
    1583             :                 {
    1584             :                     EnhancedCustomShapeParameterType::EQUATION,
    1585             :                     EnhancedCustomShapeParameterType::EQUATION,
    1586             :                     9, 5
    1587             :                 },
    1588             :                 {
    1589             :                     EnhancedCustomShapeParameterType::EQUATION,
    1590             :                     EnhancedCustomShapeParameterType::EQUATION,
    1591             :                     14, 5
    1592             :                 },
    1593             :                 {
    1594             :                     EnhancedCustomShapeParameterType::EQUATION,
    1595             :                     EnhancedCustomShapeParameterType::EQUATION,
    1596             :                     7, 13
    1597             :                 }
    1598             :             };
    1599           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1600             :         }
    1601             :         {
    1602           0 :             aPropSequence [1].Name = "Segments";
    1603             :             static const sal_uInt16 nValues[] = {
    1604             :             // Command, Count
    1605             :                 1,1,
    1606             :                 2,6,
    1607             :                 4,0,
    1608             :                 5,0
    1609             :             };
    1610           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1611             :         }
    1612             :         {
    1613           0 :             aPropSequence [2].Name = "TextFrames";
    1614           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    1615             :             {
    1616           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    1617             :                 {
    1618             :                     static const CustomShapeProvider::ParameterPairData aData =
    1619             :                     {
    1620             :                         EnhancedCustomShapeParameterType::EQUATION,
    1621             :                         EnhancedCustomShapeParameterType::NORMAL,
    1622             :                         8, 0
    1623             :                     };
    1624           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    1625             :                 }
    1626             :                 {
    1627             :                     static const CustomShapeProvider::ParameterPairData aData =
    1628             :                     {
    1629             :                         EnhancedCustomShapeParameterType::EQUATION,
    1630             :                         EnhancedCustomShapeParameterType::EQUATION,
    1631             :                         9, 12
    1632             :                     };
    1633           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    1634             :                 }
    1635           0 :                 aTextFrameSeq [0] = aTextFrame;
    1636             :             }
    1637           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    1638             :         }
    1639           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1640             :     }
    1641             :     {
    1642           0 :         awt::Rectangle aRectangle;
    1643           0 :         aRectangle.X = 0;
    1644           0 :         aRectangle.Y = 0;
    1645           0 :         aRectangle.Width = 0;
    1646           0 :         aRectangle.Height = 0;
    1647           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1648             :     }
    1649           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-downArrow");
    1650             : 
    1651           0 :     return aPropertyMap;
    1652             :   }
    1653             : };
    1654           2 : class ShapeCupArrow : public CustomShapeProvider
    1655             : {
    1656           0 :   virtual PropertyMap getProperties()
    1657             :   {
    1658           0 :     PropertyMap aPropertyMap;
    1659             : 
    1660             :     {
    1661           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    1662             :         {
    1663           0 :             Any aAny ((sal_Int32) 50000);
    1664           0 :             aAdjSequence [0].Value = aAny;
    1665           0 :             aAdjSequence [0].Name = "adj1";
    1666             :         }
    1667             :         {
    1668           0 :             Any aAny ((sal_Int32) 50000);
    1669           0 :             aAdjSequence [1].Value = aAny;
    1670           0 :             aAdjSequence [1].Name = "adj2";
    1671             :         }
    1672           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    1673             :     }
    1674             :     {
    1675             :         static const char *aStrings[] = {
    1676             :             "min(logwidth,logheight)",
    1677             :             "100000*logheight/?0 ",
    1678             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    1679             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    1680             :             "?0 *?3 /100000",
    1681             :             "0+?4 -0",
    1682             :             "logwidth*?2 /200000",
    1683             :             "logwidth/2",
    1684             :             "?7 +0-?6 ",
    1685             :             "?7 +?6 -0",
    1686             :             "logwidth/2",
    1687             :             "?8 *?4 /?10 ",
    1688             :             "?5 +0 -?11",
    1689             :             "logwidth",
    1690             :             "logheight"
    1691             :         };
    1692           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1693             :     }
    1694             :     {
    1695           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    1696             :         {
    1697           0 :             Sequence< PropertyValue > aPropSequence (4);
    1698             :             {
    1699           0 :                 aPropSequence [0].Name = "Position";
    1700             :                 static const CustomShapeProvider::ParameterPairData aData =
    1701             :                 {
    1702             :                     EnhancedCustomShapeParameterType::EQUATION,
    1703             :                     EnhancedCustomShapeParameterType::EQUATION,
    1704             :                     8, 14
    1705             :                 };
    1706           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    1707             :             }
    1708             :             {
    1709           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    1710           0 :                 EnhancedCustomShapeParameter aParameter;
    1711           0 :                 Any aAny ((sal_Int32) 100000);
    1712           0 :                 aParameter.Value = aAny;
    1713           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1714           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    1715             :             }
    1716             :             {
    1717           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    1718           0 :                 EnhancedCustomShapeParameter aParameter;
    1719           0 :                 Any aAny ((sal_Int32) 0);
    1720           0 :                 aParameter.Value = aAny;
    1721           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1722           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    1723             :             }
    1724             :             {
    1725           0 :                 aPropSequence [3].Name = "RefX";
    1726           0 :                 Any aAny ((sal_Int32) 0);
    1727           0 :                 aPropSequence [3].Value = makeAny (aAny);
    1728             :             }
    1729           0 :             aPropSequenceSequence [0] = aPropSequence;
    1730             :         }
    1731             :         {
    1732           0 :             Sequence< PropertyValue > aPropSequence (4);
    1733             :             {
    1734           0 :                 aPropSequence [0].Name = "Position";
    1735             :                 static const CustomShapeProvider::ParameterPairData aData =
    1736             :                 {
    1737             :                     EnhancedCustomShapeParameterType::NORMAL,
    1738             :                     EnhancedCustomShapeParameterType::EQUATION,
    1739             :                     0, 5
    1740             :                 };
    1741           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    1742             :             }
    1743             :             {
    1744           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    1745           0 :                 EnhancedCustomShapeParameter aParameter;
    1746           0 :                 Any aAny ((sal_Int32) 1);
    1747           0 :                 aParameter.Value = aAny;
    1748           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    1749           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    1750             :             }
    1751             :             {
    1752           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    1753           0 :                 EnhancedCustomShapeParameter aParameter;
    1754           0 :                 Any aAny ((sal_Int32) 0);
    1755           0 :                 aParameter.Value = aAny;
    1756           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1757           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    1758             :             }
    1759             :             {
    1760           0 :                 aPropSequence [3].Name = "RefY";
    1761           0 :                 Any aAny ((sal_Int32) 1);
    1762           0 :                 aPropSequence [3].Value = makeAny (aAny);
    1763             :             }
    1764           0 :             aPropSequenceSequence [1] = aPropSequence;
    1765             :         }
    1766           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    1767             :     }
    1768             :     {
    1769           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    1770             :     }
    1771             :     {
    1772           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    1773             :     }
    1774             :     {
    1775           0 :         Sequence< PropertyValue > aPropSequence (3);
    1776             :         {
    1777           0 :             aPropSequence [0].Name = "Coordinates";
    1778             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    1779             :                 {
    1780             :                     EnhancedCustomShapeParameterType::EQUATION,
    1781             :                     EnhancedCustomShapeParameterType::EQUATION,
    1782             :                     8, 5
    1783             :                 },
    1784             :                 {
    1785             :                     EnhancedCustomShapeParameterType::NORMAL,
    1786             :                     EnhancedCustomShapeParameterType::EQUATION,
    1787             :                     0, 5
    1788             :                 },
    1789             :                 {
    1790             :                     EnhancedCustomShapeParameterType::EQUATION,
    1791             :                     EnhancedCustomShapeParameterType::NORMAL,
    1792             :                     7, 0
    1793             :                 },
    1794             :                 {
    1795             :                     EnhancedCustomShapeParameterType::EQUATION,
    1796             :                     EnhancedCustomShapeParameterType::EQUATION,
    1797             :                     13, 5
    1798             :                 },
    1799             :                 {
    1800             :                     EnhancedCustomShapeParameterType::EQUATION,
    1801             :                     EnhancedCustomShapeParameterType::EQUATION,
    1802             :                     9, 5
    1803             :                 },
    1804             :                 {
    1805             :                     EnhancedCustomShapeParameterType::EQUATION,
    1806             :                     EnhancedCustomShapeParameterType::EQUATION,
    1807             :                     9, 14
    1808             :                 },
    1809             :                 {
    1810             :                     EnhancedCustomShapeParameterType::EQUATION,
    1811             :                     EnhancedCustomShapeParameterType::EQUATION,
    1812             :                     8, 14
    1813             :                 }
    1814             :             };
    1815           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    1816             :         }
    1817             :         {
    1818           0 :             aPropSequence [1].Name = "Segments";
    1819             :             static const sal_uInt16 nValues[] = {
    1820             :             // Command, Count
    1821             :                 1,1,
    1822             :                 2,6,
    1823             :                 4,0,
    1824             :                 5,0
    1825             :             };
    1826           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    1827             :         }
    1828             :         {
    1829           0 :             aPropSequence [2].Name = "TextFrames";
    1830           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    1831             :             {
    1832           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    1833             :                 {
    1834             :                     static const CustomShapeProvider::ParameterPairData aData =
    1835             :                     {
    1836             :                         EnhancedCustomShapeParameterType::EQUATION,
    1837             :                         EnhancedCustomShapeParameterType::EQUATION,
    1838             :                         8, 12
    1839             :                     };
    1840           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    1841             :                 }
    1842             :                 {
    1843             :                     static const CustomShapeProvider::ParameterPairData aData =
    1844             :                     {
    1845             :                         EnhancedCustomShapeParameterType::EQUATION,
    1846             :                         EnhancedCustomShapeParameterType::EQUATION,
    1847             :                         9, 13
    1848             :                     };
    1849           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    1850             :                 }
    1851           0 :                 aTextFrameSeq [0] = aTextFrame;
    1852             :             }
    1853           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    1854             :         }
    1855           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    1856             :     }
    1857             :     {
    1858           0 :         awt::Rectangle aRectangle;
    1859           0 :         aRectangle.X = 0;
    1860           0 :         aRectangle.Y = 0;
    1861           0 :         aRectangle.Width = 0;
    1862           0 :         aRectangle.Height = 0;
    1863           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    1864             :     }
    1865           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-upArrow");
    1866             : 
    1867           0 :     return aPropertyMap;
    1868             :   }
    1869             : };
    1870           2 : class ShapeCcurvedDownArrow : public CustomShapeProvider
    1871             : {
    1872           0 :   virtual PropertyMap getProperties()
    1873             :   {
    1874           0 :     PropertyMap aPropertyMap;
    1875             : 
    1876             :     {
    1877           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
    1878             :         {
    1879           0 :             Any aAny ((sal_Int32) 25000);
    1880           0 :             aAdjSequence [0].Value = aAny;
    1881           0 :             aAdjSequence [0].Name = "adj1";
    1882             :         }
    1883             :         {
    1884           0 :             Any aAny ((sal_Int32) 50000);
    1885           0 :             aAdjSequence [1].Value = aAny;
    1886           0 :             aAdjSequence [1].Name = "adj2";
    1887             :         }
    1888             :         {
    1889           0 :             Any aAny ((sal_Int32) 25000);
    1890           0 :             aAdjSequence [2].Value = aAny;
    1891           0 :             aAdjSequence [2].Name = "adj3";
    1892             :         }
    1893           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    1894             :     }
    1895             :     {
    1896             :         static const char *aStrings[] = {
    1897             :             "min(logwidth,logheight)",
    1898             :             "50000*logwidth/?0 ",
    1899             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    1900             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    1901             :             "?0 *?3 /100000",
    1902             :             "?0 *?2 /100000",
    1903             :             "(?4 +?5 )/4",
    1904             :             "logwidth/2",
    1905             :             "?7 +0-?6 ",
    1906             :             "?8 *2/1",
    1907             :             "?9 *?9 /1",
    1908             :             "?4 *?4 /1",
    1909             :             "?10 +0-?11 ",
    1910             :             "sqrt(?12 )",
    1911             :             "?13 *logheight/?9 ",
    1912             :             "100000*?14 /?0 ",
    1913             :             "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
    1914             :             "?0 *$2 /100000",
    1915             :             "?8 +?4 -0",
    1916             :             "logheight*logheight/1",
    1917             :             "?17 *?17 /1",
    1918             :             "?19 +0-?20 ",
    1919             :             "sqrt(?21 )",
    1920             :             "?22 *?8 /logheight",
    1921             :             "?8 +?23 -0",
    1922             :             "?18 +?23 -0",
    1923             :             "?5 +0-?4 ",
    1924             :             "?26 *1/2",
    1925             :             "?24 +0-?27 ",
    1926             :             "?25 +?27 -0",
    1927             :             "?5 *1/2",
    1928             :             "logwidth+0-?30 ",
    1929             :             "logheight+0-?17 ",
    1930             :             "(10800000*atan2(?23 ,?17 ))/pi",
    1931             :             "0+0-?33 ",
    1932             :             "logheight+0-?14 ",
    1933             :             "(?8 +?18 )/2",
    1934             :             "?4 *1/2",
    1935             :             "(10800000*atan2(?37 ,?14 ))/pi",
    1936             :             "16200000+?33 -0",
    1937             :             "16200000+0-?38 ",
    1938             :             "?38 +0-5400000",
    1939             :             "5400000+?38 -0",
    1940             :             "logheight",
    1941             :             "logwidth",
    1942             :             "logheight",
    1943             :             "(?39 )/60000.0",
    1944             :             "(?34 )/60000.0",
    1945             :             "(16200000)/60000.0",
    1946             :             "(?33 )/60000.0",
    1947             :             "(?40 )/60000.0",
    1948             :             "(?41 )/60000.0",
    1949             :             "(10800000)/60000.0",
    1950             :             "(?42 )/60000.0",
    1951             :             "(?40 )/60000.0",
    1952             :             "(?41 )/60000.0",
    1953             :             "(10800000)/60000.0",
    1954             :             "(5400000)/60000.0",
    1955             :             "(16200000)/60000.0",
    1956             :             "(?33 )/60000.0",
    1957             :             "(?39 )/60000.0",
    1958             :             "(?34 )/60000.0"
    1959             :         };
    1960           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    1961             :     }
    1962             :     {
    1963           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
    1964             :         {
    1965           0 :             Sequence< PropertyValue > aPropSequence (4);
    1966             :             {
    1967           0 :                 aPropSequence [0].Name = "Position";
    1968             :                 static const CustomShapeProvider::ParameterPairData aData =
    1969             :                 {
    1970             :                     EnhancedCustomShapeParameterType::EQUATION,
    1971             :                     EnhancedCustomShapeParameterType::EQUATION,
    1972             :                     25, 32
    1973             :                 };
    1974           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    1975             :             }
    1976             :             {
    1977           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    1978           0 :                 EnhancedCustomShapeParameter aParameter;
    1979           0 :                 Any aAny ((sal_Int32) 1);
    1980           0 :                 aParameter.Value = aAny;
    1981           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::ADJUSTMENT;
    1982           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    1983             :             }
    1984             :             {
    1985           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    1986           0 :                 EnhancedCustomShapeParameter aParameter;
    1987           0 :                 Any aAny ((sal_Int32) 0);
    1988           0 :                 aParameter.Value = aAny;
    1989           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    1990           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    1991             :             }
    1992             :             {
    1993           0 :                 aPropSequence [3].Name = "RefX";
    1994           0 :                 Any aAny ((sal_Int32) 0);
    1995           0 :                 aPropSequence [3].Value = makeAny (aAny);
    1996             :             }
    1997           0 :             aPropSequenceSequence [0] = aPropSequence;
    1998             :         }
    1999             :         {
    2000           0 :             Sequence< PropertyValue > aPropSequence (4);
    2001             :             {
    2002           0 :                 aPropSequence [0].Name = "Position";
    2003             :                 static const CustomShapeProvider::ParameterPairData aData =
    2004             :                 {
    2005             :                     EnhancedCustomShapeParameterType::EQUATION,
    2006             :                     EnhancedCustomShapeParameterType::EQUATION,
    2007             :                     28, 43
    2008             :                 };
    2009           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    2010             :             }
    2011             :             {
    2012           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    2013           0 :                 EnhancedCustomShapeParameter aParameter;
    2014           0 :                 Any aAny ((sal_Int32) 1);
    2015           0 :                 aParameter.Value = aAny;
    2016           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    2017           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    2018             :             }
    2019             :             {
    2020           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    2021           0 :                 EnhancedCustomShapeParameter aParameter;
    2022           0 :                 Any aAny ((sal_Int32) 0);
    2023           0 :                 aParameter.Value = aAny;
    2024           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    2025           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    2026             :             }
    2027             :             {
    2028           0 :                 aPropSequence [3].Name = "RefX";
    2029           0 :                 Any aAny ((sal_Int32) 1);
    2030           0 :                 aPropSequence [3].Value = makeAny (aAny);
    2031             :             }
    2032           0 :             aPropSequenceSequence [1] = aPropSequence;
    2033             :         }
    2034             :         {
    2035           0 :             Sequence< PropertyValue > aPropSequence (4);
    2036             :             {
    2037           0 :                 aPropSequence [0].Name = "Position";
    2038             :                 static const CustomShapeProvider::ParameterPairData aData =
    2039             :                 {
    2040             :                     EnhancedCustomShapeParameterType::EQUATION,
    2041             :                     EnhancedCustomShapeParameterType::EQUATION,
    2042             :                     44, 32
    2043             :                 };
    2044           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    2045             :             }
    2046             :             {
    2047           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    2048           0 :                 EnhancedCustomShapeParameter aParameter;
    2049           0 :                 Any aAny ((sal_Int32) 15);
    2050           0 :                 aParameter.Value = aAny;
    2051           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    2052           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    2053             :             }
    2054             :             {
    2055           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    2056           0 :                 EnhancedCustomShapeParameter aParameter;
    2057           0 :                 Any aAny ((sal_Int32) 0);
    2058           0 :                 aParameter.Value = aAny;
    2059           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    2060           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    2061             :             }
    2062             :             {
    2063           0 :                 aPropSequence [3].Name = "RefY";
    2064           0 :                 Any aAny ((sal_Int32) 2);
    2065           0 :                 aPropSequence [3].Value = makeAny (aAny);
    2066             :             }
    2067           0 :             aPropSequenceSequence [2] = aPropSequence;
    2068             :         }
    2069           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    2070             :     }
    2071             :     {
    2072           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    2073             :     }
    2074             :     {
    2075           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    2076             :     }
    2077             :     {
    2078           0 :         Sequence< PropertyValue > aPropSequence (3);
    2079             :         {
    2080           0 :             aPropSequence [0].Name = "Coordinates";
    2081             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    2082             :                 {
    2083             :                     EnhancedCustomShapeParameterType::EQUATION,
    2084             :                     EnhancedCustomShapeParameterType::EQUATION,
    2085             :                     31, 43
    2086             :                 },
    2087             :                 {
    2088             :                     EnhancedCustomShapeParameterType::EQUATION,
    2089             :                     EnhancedCustomShapeParameterType::EQUATION,
    2090             :                     28, 32
    2091             :                 },
    2092             :                 {
    2093             :                     EnhancedCustomShapeParameterType::EQUATION,
    2094             :                     EnhancedCustomShapeParameterType::EQUATION,
    2095             :                     24, 32
    2096             :                 },
    2097             :                 {
    2098             :                     EnhancedCustomShapeParameterType::EQUATION,
    2099             :                     EnhancedCustomShapeParameterType::EQUATION,
    2100             :                     8, 45
    2101             :                 },
    2102             :                 {
    2103             :                     EnhancedCustomShapeParameterType::EQUATION,
    2104             :                     EnhancedCustomShapeParameterType::EQUATION,
    2105             :                     46, 47
    2106             :                 },
    2107             :                 {
    2108             :                     EnhancedCustomShapeParameterType::EQUATION,
    2109             :                     EnhancedCustomShapeParameterType::NORMAL,
    2110             :                     18, 0
    2111             :                 },
    2112             :                 {
    2113             :                     EnhancedCustomShapeParameterType::EQUATION,
    2114             :                     EnhancedCustomShapeParameterType::EQUATION,
    2115             :                     8, 45
    2116             :                 },
    2117             :                 {
    2118             :                     EnhancedCustomShapeParameterType::EQUATION,
    2119             :                     EnhancedCustomShapeParameterType::EQUATION,
    2120             :                     48, 49
    2121             :                 },
    2122             :                 {
    2123             :                     EnhancedCustomShapeParameterType::EQUATION,
    2124             :                     EnhancedCustomShapeParameterType::EQUATION,
    2125             :                     29, 32
    2126             :                 },
    2127             :                 {
    2128             :                     EnhancedCustomShapeParameterType::EQUATION,
    2129             :                     EnhancedCustomShapeParameterType::EQUATION,
    2130             :                     36, 35
    2131             :                 },
    2132             :                 {
    2133             :                     EnhancedCustomShapeParameterType::EQUATION,
    2134             :                     EnhancedCustomShapeParameterType::EQUATION,
    2135             :                     8, 45
    2136             :                 },
    2137             :                 {
    2138             :                     EnhancedCustomShapeParameterType::EQUATION,
    2139             :                     EnhancedCustomShapeParameterType::EQUATION,
    2140             :                     50, 51
    2141             :                 },
    2142             :                 {
    2143             :                     EnhancedCustomShapeParameterType::NORMAL,
    2144             :                     EnhancedCustomShapeParameterType::EQUATION,
    2145             :                     0, 43
    2146             :                 },
    2147             :                 {
    2148             :                     EnhancedCustomShapeParameterType::EQUATION,
    2149             :                     EnhancedCustomShapeParameterType::EQUATION,
    2150             :                     8, 45
    2151             :                 },
    2152             :                 {
    2153             :                     EnhancedCustomShapeParameterType::EQUATION,
    2154             :                     EnhancedCustomShapeParameterType::EQUATION,
    2155             :                     52, 53
    2156             :                 },
    2157             :                 {
    2158             :                     EnhancedCustomShapeParameterType::EQUATION,
    2159             :                     EnhancedCustomShapeParameterType::EQUATION,
    2160             :                     36, 35
    2161             :                 },
    2162             :                 {
    2163             :                     EnhancedCustomShapeParameterType::EQUATION,
    2164             :                     EnhancedCustomShapeParameterType::EQUATION,
    2165             :                     8, 45
    2166             :                 },
    2167             :                 {
    2168             :                     EnhancedCustomShapeParameterType::EQUATION,
    2169             :                     EnhancedCustomShapeParameterType::EQUATION,
    2170             :                     54, 55
    2171             :                 },
    2172             :                 {
    2173             :                     EnhancedCustomShapeParameterType::NORMAL,
    2174             :                     EnhancedCustomShapeParameterType::EQUATION,
    2175             :                     0, 43
    2176             :                 },
    2177             :                 {
    2178             :                     EnhancedCustomShapeParameterType::EQUATION,
    2179             :                     EnhancedCustomShapeParameterType::EQUATION,
    2180             :                     8, 45
    2181             :                 },
    2182             :                 {
    2183             :                     EnhancedCustomShapeParameterType::EQUATION,
    2184             :                     EnhancedCustomShapeParameterType::EQUATION,
    2185             :                     56, 57
    2186             :                 },
    2187             :                 {
    2188             :                     EnhancedCustomShapeParameterType::EQUATION,
    2189             :                     EnhancedCustomShapeParameterType::NORMAL,
    2190             :                     18, 0
    2191             :                 },
    2192             :                 {
    2193             :                     EnhancedCustomShapeParameterType::EQUATION,
    2194             :                     EnhancedCustomShapeParameterType::EQUATION,
    2195             :                     8, 45
    2196             :                 },
    2197             :                 {
    2198             :                     EnhancedCustomShapeParameterType::EQUATION,
    2199             :                     EnhancedCustomShapeParameterType::EQUATION,
    2200             :                     58, 59
    2201             :                 },
    2202             :                 {
    2203             :                     EnhancedCustomShapeParameterType::EQUATION,
    2204             :                     EnhancedCustomShapeParameterType::EQUATION,
    2205             :                     29, 32
    2206             :                 },
    2207             :                 {
    2208             :                     EnhancedCustomShapeParameterType::EQUATION,
    2209             :                     EnhancedCustomShapeParameterType::EQUATION,
    2210             :                     31, 43
    2211             :                 },
    2212             :                 {
    2213             :                     EnhancedCustomShapeParameterType::EQUATION,
    2214             :                     EnhancedCustomShapeParameterType::EQUATION,
    2215             :                     28, 32
    2216             :                 },
    2217             :                 {
    2218             :                     EnhancedCustomShapeParameterType::EQUATION,
    2219             :                     EnhancedCustomShapeParameterType::EQUATION,
    2220             :                     24, 32
    2221             :                 },
    2222             :                 {
    2223             :                     EnhancedCustomShapeParameterType::EQUATION,
    2224             :                     EnhancedCustomShapeParameterType::EQUATION,
    2225             :                     8, 45
    2226             :                 },
    2227             :                 {
    2228             :                     EnhancedCustomShapeParameterType::EQUATION,
    2229             :                     EnhancedCustomShapeParameterType::EQUATION,
    2230             :                     60, 61
    2231             :                 }
    2232             :             };
    2233           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    2234             :         }
    2235             :         {
    2236           0 :             aPropSequence [1].Name = "Segments";
    2237             :             static const sal_uInt16 nValues[] = {
    2238             :             // Command, Count
    2239             :                 1,1,
    2240             :                 2,2,
    2241             :                 17,1,
    2242             :                 2,1,
    2243             :                 17,1,
    2244             :                 2,1,
    2245             :                 4,0,
    2246             :                 7,0,
    2247             :                 5,0,
    2248             :                 1,1,
    2249             :                 17,1,
    2250             :                 2,1,
    2251             :                 17,1,
    2252             :                 4,0,
    2253             :                 19,0,
    2254             :                 7,0,
    2255             :                 5,0,
    2256             :                 1,1,
    2257             :                 17,1,
    2258             :                 2,1,
    2259             :                 17,1,
    2260             :                 2,1,
    2261             :                 17,1,
    2262             :                 2,4,
    2263             :                 17,1,
    2264             :                 6,0,
    2265             :                 5,0
    2266             :             };
    2267           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    2268             :         }
    2269             :         {
    2270           0 :             aPropSequence [2].Name = "TextFrames";
    2271           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    2272             :             {
    2273           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    2274             :                 {
    2275             :                     static const CustomShapeProvider::ParameterPairData aData =
    2276             :                     {
    2277             :                         EnhancedCustomShapeParameterType::NORMAL,
    2278             :                         EnhancedCustomShapeParameterType::NORMAL,
    2279             :                         0, 0
    2280             :                     };
    2281           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    2282             :                 }
    2283             :                 {
    2284             :                     static const CustomShapeProvider::ParameterPairData aData =
    2285             :                     {
    2286             :                         EnhancedCustomShapeParameterType::EQUATION,
    2287             :                         EnhancedCustomShapeParameterType::EQUATION,
    2288             :                         44, 43
    2289             :                     };
    2290           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    2291             :                 }
    2292           0 :                 aTextFrameSeq [0] = aTextFrame;
    2293             :             }
    2294           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    2295             :         }
    2296           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    2297             :     }
    2298             :     {
    2299           0 :         awt::Rectangle aRectangle;
    2300           0 :         aRectangle.X = 0;
    2301           0 :         aRectangle.Y = 0;
    2302           0 :         aRectangle.Width = 0;
    2303           0 :         aRectangle.Height = 0;
    2304           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    2305             :     }
    2306           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedDownArrow");
    2307             : 
    2308           0 :     return aPropertyMap;
    2309             :   }
    2310             : };
    2311           2 : class ShapeCactionButtonReturn : public CustomShapeProvider
    2312             : {
    2313           0 :   virtual PropertyMap getProperties()
    2314             :   {
    2315           0 :     PropertyMap aPropertyMap;
    2316             : 
    2317             :     {
    2318           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    2319             :     }
    2320             :     {
    2321             :         static const char *aStrings[] = {
    2322             :             "min(logwidth,logheight)",
    2323             :             "?0 *3/8",
    2324             :             "logheight/2",
    2325             :             "?2 +0-?1 ",
    2326             :             "?2 +?1 -0",
    2327             :             "logwidth/2",
    2328             :             "?5 +0-?1 ",
    2329             :             "?5 +?1 -0",
    2330             :             "?0 *3/4",
    2331             :             "?8 *7/8",
    2332             :             "?8 *3/4",
    2333             :             "?8 *5/8",
    2334             :             "?8 *3/8",
    2335             :             "?8 *1/4",
    2336             :             "?3 +?10 -0",
    2337             :             "?3 +?11 -0",
    2338             :             "?3 +?13 -0",
    2339             :             "?6 +?9 -0",
    2340             :             "?6 +?10 -0",
    2341             :             "?6 +?11 -0",
    2342             :             "?6 +?12 -0",
    2343             :             "?6 +?13 -0",
    2344             :             "?8 *1/8",
    2345             :             "logwidth",
    2346             :             "logheight",
    2347             :             "(0)/60000.0",
    2348             :             "(5400000)/60000.0",
    2349             :             "(5400000)/60000.0",
    2350             :             "(5400000)/60000.0",
    2351             :             "(10800000)/60000.0",
    2352             :             "(-5400000)/60000.0",
    2353             :             "(5400000)/60000.0",
    2354             :             "(-5400000)/60000.0",
    2355             :             "(0)/60000.0",
    2356             :             "(5400000)/60000.0",
    2357             :             "(5400000)/60000.0",
    2358             :             "(5400000)/60000.0",
    2359             :             "(10800000)/60000.0",
    2360             :             "(-5400000)/60000.0",
    2361             :             "(5400000)/60000.0",
    2362             :             "(-5400000)/60000.0",
    2363             :             "(0)/60000.0",
    2364             :             "(5400000)/60000.0",
    2365             :             "(5400000)/60000.0",
    2366             :             "(5400000)/60000.0",
    2367             :             "(10800000)/60000.0",
    2368             :             "(-5400000)/60000.0",
    2369             :             "(5400000)/60000.0",
    2370             :             "(-5400000)/60000.0"
    2371             :         };
    2372           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    2373             :     }
    2374             :     {
    2375           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    2376             :     }
    2377             :     {
    2378           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    2379             :     }
    2380             :     {
    2381           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    2382             :     }
    2383             :     {
    2384           0 :         Sequence< PropertyValue > aPropSequence (3);
    2385             :         {
    2386           0 :             aPropSequence [0].Name = "Coordinates";
    2387             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    2388             :                 {
    2389             :                     EnhancedCustomShapeParameterType::NORMAL,
    2390             :                     EnhancedCustomShapeParameterType::NORMAL,
    2391             :                     0, 0
    2392             :                 },
    2393             :                 {
    2394             :                     EnhancedCustomShapeParameterType::EQUATION,
    2395             :                     EnhancedCustomShapeParameterType::NORMAL,
    2396             :                     23, 0
    2397             :                 },
    2398             :                 {
    2399             :                     EnhancedCustomShapeParameterType::EQUATION,
    2400             :                     EnhancedCustomShapeParameterType::EQUATION,
    2401             :                     23, 24
    2402             :                 },
    2403             :                 {
    2404             :                     EnhancedCustomShapeParameterType::NORMAL,
    2405             :                     EnhancedCustomShapeParameterType::EQUATION,
    2406             :                     0, 24
    2407             :                 },
    2408             :                 {
    2409             :                     EnhancedCustomShapeParameterType::EQUATION,
    2410             :                     EnhancedCustomShapeParameterType::EQUATION,
    2411             :                     7, 16
    2412             :                 },
    2413             :                 {
    2414             :                     EnhancedCustomShapeParameterType::EQUATION,
    2415             :                     EnhancedCustomShapeParameterType::EQUATION,
    2416             :                     18, 3
    2417             :                 },
    2418             :                 {
    2419             :                     EnhancedCustomShapeParameterType::EQUATION,
    2420             :                     EnhancedCustomShapeParameterType::EQUATION,
    2421             :                     5, 16
    2422             :                 },
    2423             :                 {
    2424             :                     EnhancedCustomShapeParameterType::EQUATION,
    2425             :                     EnhancedCustomShapeParameterType::EQUATION,
    2426             :                     19, 16
    2427             :                 },
    2428             :                 {
    2429             :                     EnhancedCustomShapeParameterType::EQUATION,
    2430             :                     EnhancedCustomShapeParameterType::EQUATION,
    2431             :                     19, 15
    2432             :                 },
    2433             :                 {
    2434             :                     EnhancedCustomShapeParameterType::EQUATION,
    2435             :                     EnhancedCustomShapeParameterType::EQUATION,
    2436             :                     22, 22
    2437             :                 },
    2438             :                 {
    2439             :                     EnhancedCustomShapeParameterType::EQUATION,
    2440             :                     EnhancedCustomShapeParameterType::EQUATION,
    2441             :                     25, 26
    2442             :                 },
    2443             :                 {
    2444             :                     EnhancedCustomShapeParameterType::EQUATION,
    2445             :                     EnhancedCustomShapeParameterType::EQUATION,
    2446             :                     20, 14
    2447             :                 },
    2448             :                 {
    2449             :                     EnhancedCustomShapeParameterType::EQUATION,
    2450             :                     EnhancedCustomShapeParameterType::EQUATION,
    2451             :                     22, 22
    2452             :                 },
    2453             :                 {
    2454             :                     EnhancedCustomShapeParameterType::EQUATION,
    2455             :                     EnhancedCustomShapeParameterType::EQUATION,
    2456             :                     27, 28
    2457             :                 },
    2458             :                 {
    2459             :                     EnhancedCustomShapeParameterType::EQUATION,
    2460             :                     EnhancedCustomShapeParameterType::EQUATION,
    2461             :                     21, 16
    2462             :                 },
    2463             :                 {
    2464             :                     EnhancedCustomShapeParameterType::EQUATION,
    2465             :                     EnhancedCustomShapeParameterType::EQUATION,
    2466             :                     6, 16
    2467             :                 },
    2468             :                 {
    2469             :                     EnhancedCustomShapeParameterType::EQUATION,
    2470             :                     EnhancedCustomShapeParameterType::EQUATION,
    2471             :                     6, 15
    2472             :                 },
    2473             :                 {
    2474             :                     EnhancedCustomShapeParameterType::EQUATION,
    2475             :                     EnhancedCustomShapeParameterType::EQUATION,
    2476             :                     12, 12
    2477             :                 },
    2478             :                 {
    2479             :                     EnhancedCustomShapeParameterType::EQUATION,
    2480             :                     EnhancedCustomShapeParameterType::EQUATION,
    2481             :                     29, 30
    2482             :                 },
    2483             :                 {
    2484             :                     EnhancedCustomShapeParameterType::EQUATION,
    2485             :                     EnhancedCustomShapeParameterType::EQUATION,
    2486             :                     5, 4
    2487             :                 },
    2488             :                 {
    2489             :                     EnhancedCustomShapeParameterType::EQUATION,
    2490             :                     EnhancedCustomShapeParameterType::EQUATION,
    2491             :                     12, 12
    2492             :                 },
    2493             :                 {
    2494             :                     EnhancedCustomShapeParameterType::EQUATION,
    2495             :                     EnhancedCustomShapeParameterType::EQUATION,
    2496             :                     31, 32
    2497             :                 },
    2498             :                 {
    2499             :                     EnhancedCustomShapeParameterType::EQUATION,
    2500             :                     EnhancedCustomShapeParameterType::EQUATION,
    2501             :                     17, 16
    2502             :                 },
    2503             :                 {
    2504             :                     EnhancedCustomShapeParameterType::EQUATION,
    2505             :                     EnhancedCustomShapeParameterType::EQUATION,
    2506             :                     7, 16
    2507             :                 },
    2508             :                 {
    2509             :                     EnhancedCustomShapeParameterType::EQUATION,
    2510             :                     EnhancedCustomShapeParameterType::EQUATION,
    2511             :                     18, 3
    2512             :                 },
    2513             :                 {
    2514             :                     EnhancedCustomShapeParameterType::EQUATION,
    2515             :                     EnhancedCustomShapeParameterType::EQUATION,
    2516             :                     5, 16
    2517             :                 },
    2518             :                 {
    2519             :                     EnhancedCustomShapeParameterType::EQUATION,
    2520             :                     EnhancedCustomShapeParameterType::EQUATION,
    2521             :                     19, 16
    2522             :                 },
    2523             :                 {
    2524             :                     EnhancedCustomShapeParameterType::EQUATION,
    2525             :                     EnhancedCustomShapeParameterType::EQUATION,
    2526             :                     19, 15
    2527             :                 },
    2528             :                 {
    2529             :                     EnhancedCustomShapeParameterType::EQUATION,
    2530             :                     EnhancedCustomShapeParameterType::EQUATION,
    2531             :                     22, 22
    2532             :                 },
    2533             :                 {
    2534             :                     EnhancedCustomShapeParameterType::EQUATION,
    2535             :                     EnhancedCustomShapeParameterType::EQUATION,
    2536             :                     33, 34
    2537             :                 },
    2538             :                 {
    2539             :                     EnhancedCustomShapeParameterType::EQUATION,
    2540             :                     EnhancedCustomShapeParameterType::EQUATION,
    2541             :                     20, 14
    2542             :                 },
    2543             :                 {
    2544             :                     EnhancedCustomShapeParameterType::EQUATION,
    2545             :                     EnhancedCustomShapeParameterType::EQUATION,
    2546             :                     22, 22
    2547             :                 },
    2548             :                 {
    2549             :                     EnhancedCustomShapeParameterType::EQUATION,
    2550             :                     EnhancedCustomShapeParameterType::EQUATION,
    2551             :                     35, 36
    2552             :                 },
    2553             :                 {
    2554             :                     EnhancedCustomShapeParameterType::EQUATION,
    2555             :                     EnhancedCustomShapeParameterType::EQUATION,
    2556             :                     21, 16
    2557             :                 },
    2558             :                 {
    2559             :                     EnhancedCustomShapeParameterType::EQUATION,
    2560             :                     EnhancedCustomShapeParameterType::EQUATION,
    2561             :                     6, 16
    2562             :                 },
    2563             :                 {
    2564             :                     EnhancedCustomShapeParameterType::EQUATION,
    2565             :                     EnhancedCustomShapeParameterType::EQUATION,
    2566             :                     6, 15
    2567             :                 },
    2568             :                 {
    2569             :                     EnhancedCustomShapeParameterType::EQUATION,
    2570             :                     EnhancedCustomShapeParameterType::EQUATION,
    2571             :                     12, 12
    2572             :                 },
    2573             :                 {
    2574             :                     EnhancedCustomShapeParameterType::EQUATION,
    2575             :                     EnhancedCustomShapeParameterType::EQUATION,
    2576             :                     37, 38
    2577             :                 },
    2578             :                 {
    2579             :                     EnhancedCustomShapeParameterType::EQUATION,
    2580             :                     EnhancedCustomShapeParameterType::EQUATION,
    2581             :                     5, 4
    2582             :                 },
    2583             :                 {
    2584             :                     EnhancedCustomShapeParameterType::EQUATION,
    2585             :                     EnhancedCustomShapeParameterType::EQUATION,
    2586             :                     12, 12
    2587             :                 },
    2588             :                 {
    2589             :                     EnhancedCustomShapeParameterType::EQUATION,
    2590             :                     EnhancedCustomShapeParameterType::EQUATION,
    2591             :                     39, 40
    2592             :                 },
    2593             :                 {
    2594             :                     EnhancedCustomShapeParameterType::EQUATION,
    2595             :                     EnhancedCustomShapeParameterType::EQUATION,
    2596             :                     17, 16
    2597             :                 },
    2598             :                 {
    2599             :                     EnhancedCustomShapeParameterType::EQUATION,
    2600             :                     EnhancedCustomShapeParameterType::EQUATION,
    2601             :                     7, 16
    2602             :                 },
    2603             :                 {
    2604             :                     EnhancedCustomShapeParameterType::EQUATION,
    2605             :                     EnhancedCustomShapeParameterType::EQUATION,
    2606             :                     17, 16
    2607             :                 },
    2608             :                 {
    2609             :                     EnhancedCustomShapeParameterType::EQUATION,
    2610             :                     EnhancedCustomShapeParameterType::EQUATION,
    2611             :                     17, 15
    2612             :                 },
    2613             :                 {
    2614             :                     EnhancedCustomShapeParameterType::EQUATION,
    2615             :                     EnhancedCustomShapeParameterType::EQUATION,
    2616             :                     12, 12
    2617             :                 },
    2618             :                 {
    2619             :                     EnhancedCustomShapeParameterType::EQUATION,
    2620             :                     EnhancedCustomShapeParameterType::EQUATION,
    2621             :                     41, 42
    2622             :                 },
    2623             :                 {
    2624             :                     EnhancedCustomShapeParameterType::EQUATION,
    2625             :                     EnhancedCustomShapeParameterType::EQUATION,
    2626             :                     20, 4
    2627             :                 },
    2628             :                 {
    2629             :                     EnhancedCustomShapeParameterType::EQUATION,
    2630             :                     EnhancedCustomShapeParameterType::EQUATION,
    2631             :                     12, 12
    2632             :                 },
    2633             :                 {
    2634             :                     EnhancedCustomShapeParameterType::EQUATION,
    2635             :                     EnhancedCustomShapeParameterType::EQUATION,
    2636             :                     43, 44
    2637             :                 },
    2638             :                 {
    2639             :                     EnhancedCustomShapeParameterType::EQUATION,
    2640             :                     EnhancedCustomShapeParameterType::EQUATION,
    2641             :                     6, 16
    2642             :                 },
    2643             :                 {
    2644             :                     EnhancedCustomShapeParameterType::EQUATION,
    2645             :                     EnhancedCustomShapeParameterType::EQUATION,
    2646             :                     21, 16
    2647             :                 },
    2648             :                 {
    2649             :                     EnhancedCustomShapeParameterType::EQUATION,
    2650             :                     EnhancedCustomShapeParameterType::EQUATION,
    2651             :                     21, 15
    2652             :                 },
    2653             :                 {
    2654             :                     EnhancedCustomShapeParameterType::EQUATION,
    2655             :                     EnhancedCustomShapeParameterType::EQUATION,
    2656             :                     22, 22
    2657             :                 },
    2658             :                 {
    2659             :                     EnhancedCustomShapeParameterType::EQUATION,
    2660             :                     EnhancedCustomShapeParameterType::EQUATION,
    2661             :                     45, 46
    2662             :                 },
    2663             :                 {
    2664             :                     EnhancedCustomShapeParameterType::EQUATION,
    2665             :                     EnhancedCustomShapeParameterType::EQUATION,
    2666             :                     5, 14
    2667             :                 },
    2668             :                 {
    2669             :                     EnhancedCustomShapeParameterType::EQUATION,
    2670             :                     EnhancedCustomShapeParameterType::EQUATION,
    2671             :                     22, 22
    2672             :                 },
    2673             :                 {
    2674             :                     EnhancedCustomShapeParameterType::EQUATION,
    2675             :                     EnhancedCustomShapeParameterType::EQUATION,
    2676             :                     47, 48
    2677             :                 },
    2678             :                 {
    2679             :                     EnhancedCustomShapeParameterType::EQUATION,
    2680             :                     EnhancedCustomShapeParameterType::EQUATION,
    2681             :                     19, 16
    2682             :                 },
    2683             :                 {
    2684             :                     EnhancedCustomShapeParameterType::EQUATION,
    2685             :                     EnhancedCustomShapeParameterType::EQUATION,
    2686             :                     5, 16
    2687             :                 },
    2688             :                 {
    2689             :                     EnhancedCustomShapeParameterType::EQUATION,
    2690             :                     EnhancedCustomShapeParameterType::EQUATION,
    2691             :                     18, 3
    2692             :                 },
    2693             :                 {
    2694             :                     EnhancedCustomShapeParameterType::NORMAL,
    2695             :                     EnhancedCustomShapeParameterType::NORMAL,
    2696             :                     0, 0
    2697             :                 },
    2698             :                 {
    2699             :                     EnhancedCustomShapeParameterType::EQUATION,
    2700             :                     EnhancedCustomShapeParameterType::NORMAL,
    2701             :                     23, 0
    2702             :                 },
    2703             :                 {
    2704             :                     EnhancedCustomShapeParameterType::EQUATION,
    2705             :                     EnhancedCustomShapeParameterType::EQUATION,
    2706             :                     23, 24
    2707             :                 },
    2708             :                 {
    2709             :                     EnhancedCustomShapeParameterType::NORMAL,
    2710             :                     EnhancedCustomShapeParameterType::EQUATION,
    2711             :                     0, 24
    2712             :                 }
    2713             :             };
    2714           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    2715             :         }
    2716             :         {
    2717           0 :             aPropSequence [1].Name = "Segments";
    2718             :             static const sal_uInt16 nValues[] = {
    2719             :             // Command, Count
    2720             :                 1,1,
    2721             :                 2,3,
    2722             :                 4,0,
    2723             :                 1,1,
    2724             :                 2,4,
    2725             :                 17,1,
    2726             :                 2,1,
    2727             :                 17,1,
    2728             :                 2,3,
    2729             :                 17,1,
    2730             :                 2,1,
    2731             :                 17,1,
    2732             :                 2,1,
    2733             :                 4,0,
    2734             :                 7,0,
    2735             :                 5,0,
    2736             :                 1,1,
    2737             :                 2,4,
    2738             :                 17,1,
    2739             :                 2,1,
    2740             :                 17,1,
    2741             :                 2,3,
    2742             :                 17,1,
    2743             :                 2,1,
    2744             :                 17,1,
    2745             :                 2,1,
    2746             :                 4,0,
    2747             :                 18,0,
    2748             :                 7,0,
    2749             :                 5,0,
    2750             :                 1,1,
    2751             :                 2,2,
    2752             :                 17,1,
    2753             :                 2,1,
    2754             :                 17,1,
    2755             :                 2,3,
    2756             :                 17,1,
    2757             :                 2,1,
    2758             :                 17,1,
    2759             :                 2,3,
    2760             :                 4,0,
    2761             :                 6,0,
    2762             :                 5,0,
    2763             :                 1,1,
    2764             :                 2,3,
    2765             :                 4,0,
    2766             :                 6,0,
    2767             :                 5,0
    2768             :             };
    2769           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    2770             :         }
    2771             :         {
    2772           0 :             aPropSequence [2].Name = "TextFrames";
    2773           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    2774             :             {
    2775           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    2776             :                 {
    2777             :                     static const CustomShapeProvider::ParameterPairData aData =
    2778             :                     {
    2779             :                         EnhancedCustomShapeParameterType::NORMAL,
    2780             :                         EnhancedCustomShapeParameterType::NORMAL,
    2781             :                         0, 0
    2782             :                     };
    2783           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    2784             :                 }
    2785             :                 {
    2786             :                     static const CustomShapeProvider::ParameterPairData aData =
    2787             :                     {
    2788             :                         EnhancedCustomShapeParameterType::EQUATION,
    2789             :                         EnhancedCustomShapeParameterType::EQUATION,
    2790             :                         23, 24
    2791             :                     };
    2792           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    2793             :                 }
    2794           0 :                 aTextFrameSeq [0] = aTextFrame;
    2795             :             }
    2796           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    2797             :         }
    2798           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    2799             :     }
    2800             :     {
    2801           0 :         awt::Rectangle aRectangle;
    2802           0 :         aRectangle.X = 0;
    2803           0 :         aRectangle.Y = 0;
    2804           0 :         aRectangle.Width = 0;
    2805           0 :         aRectangle.Height = 0;
    2806           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    2807             :     }
    2808           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonReturn");
    2809             : 
    2810           0 :     return aPropertyMap;
    2811             :   }
    2812             : };
    2813           2 : class ShapeCflowChartInputOutput : public CustomShapeProvider
    2814             : {
    2815           0 :   virtual PropertyMap getProperties()
    2816             :   {
    2817           0 :     PropertyMap aPropertyMap;
    2818             : 
    2819             :     {
    2820           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    2821             :     }
    2822             :     {
    2823             :         static const char *aStrings[] = {
    2824             :             "logwidth*2/5",
    2825             :             "logwidth*3/5",
    2826             :             "logwidth*4/5",
    2827             :             "logwidth*9/10",
    2828             :             "logwidth/2",
    2829             :             "logwidth/10",
    2830             :             "logheight/2",
    2831             :             "logheight",
    2832             :             "logwidth/5"
    2833             :         };
    2834           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    2835             :     }
    2836             :     {
    2837           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    2838             :     }
    2839             :     {
    2840           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    2841             :     }
    2842             :     {
    2843           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    2844             :     }
    2845             :     {
    2846           0 :         Sequence< PropertyValue > aPropSequence (4);
    2847             :         {
    2848           0 :             aPropSequence [0].Name = "Coordinates";
    2849             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    2850             :                 {
    2851             :                     EnhancedCustomShapeParameterType::NORMAL,
    2852             :                     EnhancedCustomShapeParameterType::NORMAL,
    2853             :                     0, 5
    2854             :                 },
    2855             :                 {
    2856             :                     EnhancedCustomShapeParameterType::NORMAL,
    2857             :                     EnhancedCustomShapeParameterType::NORMAL,
    2858             :                     1, 0
    2859             :                 },
    2860             :                 {
    2861             :                     EnhancedCustomShapeParameterType::NORMAL,
    2862             :                     EnhancedCustomShapeParameterType::NORMAL,
    2863             :                     5, 0
    2864             :                 },
    2865             :                 {
    2866             :                     EnhancedCustomShapeParameterType::NORMAL,
    2867             :                     EnhancedCustomShapeParameterType::NORMAL,
    2868             :                     4, 5
    2869             :                 }
    2870             :             };
    2871           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    2872             :         }
    2873             :         {
    2874           0 :             aPropSequence [1].Name = "Segments";
    2875             :             static const sal_uInt16 nValues[] = {
    2876             :             // Command, Count
    2877             :                 1,1,
    2878             :                 2,3,
    2879             :                 4,0,
    2880             :                 5,0
    2881             :             };
    2882           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    2883             :         }
    2884             :         {
    2885           0 :             aPropSequence [2].Name = "SubViewSize";
    2886           0 :             Sequence< awt::Size > aSizeSequence (1);
    2887             :             {
    2888           0 :                 awt::Size aSize;
    2889           0 :                 aSize.Width = 5;
    2890           0 :                 aSize.Height = 5;
    2891           0 :                 aSizeSequence [0] = aSize;
    2892             :             }
    2893           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    2894             :         }
    2895             :         {
    2896           0 :             aPropSequence [3].Name = "TextFrames";
    2897           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    2898             :             {
    2899           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    2900             :                 {
    2901             :                     static const CustomShapeProvider::ParameterPairData aData =
    2902             :                     {
    2903             :                         EnhancedCustomShapeParameterType::EQUATION,
    2904             :                         EnhancedCustomShapeParameterType::NORMAL,
    2905             :                         8, 0
    2906             :                     };
    2907           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    2908             :                 }
    2909             :                 {
    2910             :                     static const CustomShapeProvider::ParameterPairData aData =
    2911             :                     {
    2912             :                         EnhancedCustomShapeParameterType::EQUATION,
    2913             :                         EnhancedCustomShapeParameterType::EQUATION,
    2914             :                         2, 7
    2915             :                     };
    2916           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    2917             :                 }
    2918           0 :                 aTextFrameSeq [0] = aTextFrame;
    2919             :             }
    2920           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
    2921             :         }
    2922           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    2923             :     }
    2924             :     {
    2925           0 :         awt::Rectangle aRectangle;
    2926           0 :         aRectangle.X = 0;
    2927           0 :         aRectangle.Y = 0;
    2928           0 :         aRectangle.Width = 0;
    2929           0 :         aRectangle.Height = 0;
    2930           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    2931             :     }
    2932           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartInputOutput");
    2933             : 
    2934           0 :     return aPropertyMap;
    2935             :   }
    2936             : };
    2937           2 : class ShapeCbracketPair : public CustomShapeProvider
    2938             : {
    2939           0 :   virtual PropertyMap getProperties()
    2940             :   {
    2941           0 :     PropertyMap aPropertyMap;
    2942             : 
    2943             :     {
    2944           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
    2945             :         {
    2946           0 :             Any aAny ((sal_Int32) 16667);
    2947           0 :             aAdjSequence [0].Value = aAny;
    2948           0 :             aAdjSequence [0].Name = "adj";
    2949             :         }
    2950           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    2951             :     }
    2952             :     {
    2953             :         static const char *aStrings[] = {
    2954             :             "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
    2955             :             "min(logwidth,logheight)",
    2956             :             "?1 *?0 /100000",
    2957             :             "logwidth+0-?2 ",
    2958             :             "logheight+0-?2 ",
    2959             :             "?2 *29289/100000",
    2960             :             "logwidth+0-?5 ",
    2961             :             "logheight+0-?5 ",
    2962             :             "logwidth/2",
    2963             :             "logheight/2",
    2964             :             "logheight",
    2965             :             "logwidth",
    2966             :             "(10800000)/60000.0",
    2967             :             "(5400000)/60000.0",
    2968             :             "(16200000)/60000.0",
    2969             :             "(5400000)/60000.0",
    2970             :             "(0)/60000.0",
    2971             :             "(5400000)/60000.0",
    2972             :             "(5400000)/60000.0",
    2973             :             "(5400000)/60000.0",
    2974             :             "(5400000)/60000.0",
    2975             :             "(5400000)/60000.0",
    2976             :             "(10800000)/60000.0",
    2977             :             "(5400000)/60000.0",
    2978             :             "(16200000)/60000.0",
    2979             :             "(5400000)/60000.0",
    2980             :             "(0)/60000.0",
    2981             :             "(5400000)/60000.0"
    2982             :         };
    2983           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    2984             :     }
    2985             :     {
    2986           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    2987             :         {
    2988           0 :             Sequence< PropertyValue > aPropSequence (4);
    2989             :             {
    2990           0 :                 aPropSequence [0].Name = "Position";
    2991             :                 static const CustomShapeProvider::ParameterPairData aData =
    2992             :                 {
    2993             :                     EnhancedCustomShapeParameterType::NORMAL,
    2994             :                     EnhancedCustomShapeParameterType::EQUATION,
    2995             :                     0, 2
    2996             :                 };
    2997           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    2998             :             }
    2999             :             {
    3000           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    3001           0 :                 EnhancedCustomShapeParameter aParameter;
    3002           0 :                 Any aAny ((sal_Int32) 50000);
    3003           0 :                 aParameter.Value = aAny;
    3004           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3005           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3006             :             }
    3007             :             {
    3008           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    3009           0 :                 EnhancedCustomShapeParameter aParameter;
    3010           0 :                 Any aAny ((sal_Int32) 0);
    3011           0 :                 aParameter.Value = aAny;
    3012           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3013           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3014             :             }
    3015             :             {
    3016           0 :                 aPropSequence [3].Name = "RefY";
    3017           0 :                 Any aAny ((sal_Int32) 0);
    3018           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3019             :             }
    3020           0 :             aPropSequenceSequence [0] = aPropSequence;
    3021             :         }
    3022           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    3023             :     }
    3024             :     {
    3025           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    3026             :     }
    3027             :     {
    3028           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    3029             :     }
    3030             :     {
    3031           0 :         Sequence< PropertyValue > aPropSequence (3);
    3032             :         {
    3033           0 :             aPropSequence [0].Name = "Coordinates";
    3034             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    3035             :                 {
    3036             :                     EnhancedCustomShapeParameterType::NORMAL,
    3037             :                     EnhancedCustomShapeParameterType::EQUATION,
    3038             :                     0, 2
    3039             :                 },
    3040             :                 {
    3041             :                     EnhancedCustomShapeParameterType::EQUATION,
    3042             :                     EnhancedCustomShapeParameterType::EQUATION,
    3043             :                     2, 2
    3044             :                 },
    3045             :                 {
    3046             :                     EnhancedCustomShapeParameterType::EQUATION,
    3047             :                     EnhancedCustomShapeParameterType::EQUATION,
    3048             :                     12, 13
    3049             :                 },
    3050             :                 {
    3051             :                     EnhancedCustomShapeParameterType::EQUATION,
    3052             :                     EnhancedCustomShapeParameterType::NORMAL,
    3053             :                     3, 0
    3054             :                 },
    3055             :                 {
    3056             :                     EnhancedCustomShapeParameterType::EQUATION,
    3057             :                     EnhancedCustomShapeParameterType::EQUATION,
    3058             :                     2, 2
    3059             :                 },
    3060             :                 {
    3061             :                     EnhancedCustomShapeParameterType::EQUATION,
    3062             :                     EnhancedCustomShapeParameterType::EQUATION,
    3063             :                     14, 15
    3064             :                 },
    3065             :                 {
    3066             :                     EnhancedCustomShapeParameterType::EQUATION,
    3067             :                     EnhancedCustomShapeParameterType::EQUATION,
    3068             :                     11, 4
    3069             :                 },
    3070             :                 {
    3071             :                     EnhancedCustomShapeParameterType::EQUATION,
    3072             :                     EnhancedCustomShapeParameterType::EQUATION,
    3073             :                     2, 2
    3074             :                 },
    3075             :                 {
    3076             :                     EnhancedCustomShapeParameterType::EQUATION,
    3077             :                     EnhancedCustomShapeParameterType::EQUATION,
    3078             :                     16, 17
    3079             :                 },
    3080             :                 {
    3081             :                     EnhancedCustomShapeParameterType::EQUATION,
    3082             :                     EnhancedCustomShapeParameterType::EQUATION,
    3083             :                     2, 10
    3084             :                 },
    3085             :                 {
    3086             :                     EnhancedCustomShapeParameterType::EQUATION,
    3087             :                     EnhancedCustomShapeParameterType::EQUATION,
    3088             :                     2, 2
    3089             :                 },
    3090             :                 {
    3091             :                     EnhancedCustomShapeParameterType::EQUATION,
    3092             :                     EnhancedCustomShapeParameterType::EQUATION,
    3093             :                     18, 19
    3094             :                 },
    3095             :                 {
    3096             :                     EnhancedCustomShapeParameterType::EQUATION,
    3097             :                     EnhancedCustomShapeParameterType::EQUATION,
    3098             :                     2, 10
    3099             :                 },
    3100             :                 {
    3101             :                     EnhancedCustomShapeParameterType::EQUATION,
    3102             :                     EnhancedCustomShapeParameterType::EQUATION,
    3103             :                     2, 2
    3104             :                 },
    3105             :                 {
    3106             :                     EnhancedCustomShapeParameterType::EQUATION,
    3107             :                     EnhancedCustomShapeParameterType::EQUATION,
    3108             :                     20, 21
    3109             :                 },
    3110             :                 {
    3111             :                     EnhancedCustomShapeParameterType::NORMAL,
    3112             :                     EnhancedCustomShapeParameterType::EQUATION,
    3113             :                     0, 2
    3114             :                 },
    3115             :                 {
    3116             :                     EnhancedCustomShapeParameterType::EQUATION,
    3117             :                     EnhancedCustomShapeParameterType::EQUATION,
    3118             :                     2, 2
    3119             :                 },
    3120             :                 {
    3121             :                     EnhancedCustomShapeParameterType::EQUATION,
    3122             :                     EnhancedCustomShapeParameterType::EQUATION,
    3123             :                     22, 23
    3124             :                 },
    3125             :                 {
    3126             :                     EnhancedCustomShapeParameterType::EQUATION,
    3127             :                     EnhancedCustomShapeParameterType::NORMAL,
    3128             :                     3, 0
    3129             :                 },
    3130             :                 {
    3131             :                     EnhancedCustomShapeParameterType::EQUATION,
    3132             :                     EnhancedCustomShapeParameterType::EQUATION,
    3133             :                     2, 2
    3134             :                 },
    3135             :                 {
    3136             :                     EnhancedCustomShapeParameterType::EQUATION,
    3137             :                     EnhancedCustomShapeParameterType::EQUATION,
    3138             :                     24, 25
    3139             :                 },
    3140             :                 {
    3141             :                     EnhancedCustomShapeParameterType::EQUATION,
    3142             :                     EnhancedCustomShapeParameterType::EQUATION,
    3143             :                     11, 4
    3144             :                 },
    3145             :                 {
    3146             :                     EnhancedCustomShapeParameterType::EQUATION,
    3147             :                     EnhancedCustomShapeParameterType::EQUATION,
    3148             :                     2, 2
    3149             :                 },
    3150             :                 {
    3151             :                     EnhancedCustomShapeParameterType::EQUATION,
    3152             :                     EnhancedCustomShapeParameterType::EQUATION,
    3153             :                     26, 27
    3154             :                 }
    3155             :             };
    3156           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    3157             :         }
    3158             :         {
    3159           0 :             aPropSequence [1].Name = "Segments";
    3160             :             static const sal_uInt16 nValues[] = {
    3161             :             // Command, Count
    3162             :                 1,1,
    3163             :                 17,1,
    3164             :                 2,1,
    3165             :                 17,1,
    3166             :                 2,1,
    3167             :                 17,1,
    3168             :                 2,1,
    3169             :                 17,1,
    3170             :                 4,0,
    3171             :                 7,0,
    3172             :                 5,0,
    3173             :                 1,1,
    3174             :                 17,1,
    3175             :                 2,1,
    3176             :                 17,1,
    3177             :                 1,1,
    3178             :                 17,1,
    3179             :                 2,1,
    3180             :                 17,1,
    3181             :                 6,0,
    3182             :                 5,0
    3183             :             };
    3184           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    3185             :         }
    3186             :         {
    3187           0 :             aPropSequence [2].Name = "TextFrames";
    3188           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    3189             :             {
    3190           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    3191             :                 {
    3192             :                     static const CustomShapeProvider::ParameterPairData aData =
    3193             :                     {
    3194             :                         EnhancedCustomShapeParameterType::EQUATION,
    3195             :                         EnhancedCustomShapeParameterType::EQUATION,
    3196             :                         5, 5
    3197             :                     };
    3198           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    3199             :                 }
    3200             :                 {
    3201             :                     static const CustomShapeProvider::ParameterPairData aData =
    3202             :                     {
    3203             :                         EnhancedCustomShapeParameterType::EQUATION,
    3204             :                         EnhancedCustomShapeParameterType::EQUATION,
    3205             :                         6, 7
    3206             :                     };
    3207           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    3208             :                 }
    3209           0 :                 aTextFrameSeq [0] = aTextFrame;
    3210             :             }
    3211           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    3212             :         }
    3213           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    3214             :     }
    3215             :     {
    3216           0 :         awt::Rectangle aRectangle;
    3217           0 :         aRectangle.X = 0;
    3218           0 :         aRectangle.Y = 0;
    3219           0 :         aRectangle.Width = 0;
    3220           0 :         aRectangle.Height = 0;
    3221           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    3222             :     }
    3223           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bracketPair");
    3224             : 
    3225           0 :     return aPropertyMap;
    3226             :   }
    3227             : };
    3228           2 : class ShapeCsmileyFace : public CustomShapeProvider
    3229             : {
    3230           0 :   virtual PropertyMap getProperties()
    3231             :   {
    3232           0 :     PropertyMap aPropertyMap;
    3233             : 
    3234             :     {
    3235           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
    3236             :         {
    3237           0 :             Any aAny ((sal_Int32) 4653);
    3238           0 :             aAdjSequence [0].Value = aAny;
    3239           0 :             aAdjSequence [0].Name = "adj";
    3240             :         }
    3241           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    3242             :     }
    3243             :     {
    3244             :         static const char *aStrings[] = {
    3245             :             "if(-4653-$0 ,-4653,if(4653-$0 ,$0 ,4653))",
    3246             :             "logwidth*4969/21699",
    3247             :             "logwidth*6215/21600",
    3248             :             "logwidth*13135/21600",
    3249             :             "logwidth*16640/21600",
    3250             :             "logheight*7570/21600",
    3251             :             "logheight*16515/21600",
    3252             :             "logheight*?0 /100000",
    3253             :             "?6 +0-?7 ",
    3254             :             "?6 +?7 -0",
    3255             :             "logheight*?0 /50000",
    3256             :             "?9 +?10 -0",
    3257             :             "logwidth/2",
    3258             :             "?12 *cos(pi*(2700000)/10800000)",
    3259             :             "logheight/2",
    3260             :             "?14 *sin(pi*(2700000)/10800000)",
    3261             :             "logwidth/2",
    3262             :             "?16 +0-?13 ",
    3263             :             "?16 +?13 -0",
    3264             :             "logheight/2",
    3265             :             "?19 +0-?15 ",
    3266             :             "?19 +?15 -0",
    3267             :             "logwidth*1125/21600",
    3268             :             "logheight*1125/21600",
    3269             :             "logheight",
    3270             :             "logwidth",
    3271             :             "(10800000)/60000.0",
    3272             :             "(21600000)/60000.0",
    3273             :             "(10800000)/60000.0",
    3274             :             "(21600000)/60000.0",
    3275             :             "(10800000)/60000.0",
    3276             :             "(21600000)/60000.0",
    3277             :             "(10800000)/60000.0",
    3278             :             "(21600000)/60000.0"
    3279             :         };
    3280           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    3281             :     }
    3282             :     {
    3283           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    3284             :         {
    3285           0 :             Sequence< PropertyValue > aPropSequence (4);
    3286             :             {
    3287           0 :                 aPropSequence [0].Name = "Position";
    3288             :                 static const CustomShapeProvider::ParameterPairData aData =
    3289             :                 {
    3290             :                     EnhancedCustomShapeParameterType::EQUATION,
    3291             :                     EnhancedCustomShapeParameterType::EQUATION,
    3292             :                     16, 9
    3293             :                 };
    3294           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    3295             :             }
    3296             :             {
    3297           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    3298           0 :                 EnhancedCustomShapeParameter aParameter;
    3299           0 :                 Any aAny ((sal_Int32) 4653);
    3300           0 :                 aParameter.Value = aAny;
    3301           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3302           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3303             :             }
    3304             :             {
    3305           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    3306           0 :                 EnhancedCustomShapeParameter aParameter;
    3307           0 :                 Any aAny ((sal_Int32) -4653);
    3308           0 :                 aParameter.Value = aAny;
    3309           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3310           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3311             :             }
    3312             :             {
    3313           0 :                 aPropSequence [3].Name = "RefY";
    3314           0 :                 Any aAny ((sal_Int32) 0);
    3315           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3316             :             }
    3317           0 :             aPropSequenceSequence [0] = aPropSequence;
    3318             :         }
    3319           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    3320             :     }
    3321             :     {
    3322           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    3323             :     }
    3324             :     {
    3325           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    3326             :     }
    3327             :     {
    3328           0 :         Sequence< PropertyValue > aPropSequence (3);
    3329             :         {
    3330           0 :             aPropSequence [0].Name = "Coordinates";
    3331             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    3332             :                 {
    3333             :                     EnhancedCustomShapeParameterType::NORMAL,
    3334             :                     EnhancedCustomShapeParameterType::EQUATION,
    3335             :                     0, 19
    3336             :                 },
    3337             :                 {
    3338             :                     EnhancedCustomShapeParameterType::EQUATION,
    3339             :                     EnhancedCustomShapeParameterType::EQUATION,
    3340             :                     12, 14
    3341             :                 },
    3342             :                 {
    3343             :                     EnhancedCustomShapeParameterType::EQUATION,
    3344             :                     EnhancedCustomShapeParameterType::EQUATION,
    3345             :                     26, 27
    3346             :                 },
    3347             :                 {
    3348             :                     EnhancedCustomShapeParameterType::EQUATION,
    3349             :                     EnhancedCustomShapeParameterType::EQUATION,
    3350             :                     2, 5
    3351             :                 },
    3352             :                 {
    3353             :                     EnhancedCustomShapeParameterType::EQUATION,
    3354             :                     EnhancedCustomShapeParameterType::EQUATION,
    3355             :                     22, 23
    3356             :                 },
    3357             :                 {
    3358             :                     EnhancedCustomShapeParameterType::EQUATION,
    3359             :                     EnhancedCustomShapeParameterType::EQUATION,
    3360             :                     28, 29
    3361             :                 },
    3362             :                 {
    3363             :                     EnhancedCustomShapeParameterType::EQUATION,
    3364             :                     EnhancedCustomShapeParameterType::EQUATION,
    3365             :                     3, 5
    3366             :                 },
    3367             :                 {
    3368             :                     EnhancedCustomShapeParameterType::EQUATION,
    3369             :                     EnhancedCustomShapeParameterType::EQUATION,
    3370             :                     22, 23
    3371             :                 },
    3372             :                 {
    3373             :                     EnhancedCustomShapeParameterType::EQUATION,
    3374             :                     EnhancedCustomShapeParameterType::EQUATION,
    3375             :                     30, 31
    3376             :                 },
    3377             :                 {
    3378             :                     EnhancedCustomShapeParameterType::EQUATION,
    3379             :                     EnhancedCustomShapeParameterType::EQUATION,
    3380             :                     1, 8
    3381             :                 },
    3382             :                 {
    3383             :                     EnhancedCustomShapeParameterType::EQUATION,
    3384             :                     EnhancedCustomShapeParameterType::EQUATION,
    3385             :                     16, 11
    3386             :                 },
    3387             :                 {
    3388             :                     EnhancedCustomShapeParameterType::EQUATION,
    3389             :                     EnhancedCustomShapeParameterType::EQUATION,
    3390             :                     4, 8
    3391             :                 },
    3392             :                 {
    3393             :                     EnhancedCustomShapeParameterType::NORMAL,
    3394             :                     EnhancedCustomShapeParameterType::EQUATION,
    3395             :                     0, 19
    3396             :                 },
    3397             :                 {
    3398             :                     EnhancedCustomShapeParameterType::EQUATION,
    3399             :                     EnhancedCustomShapeParameterType::EQUATION,
    3400             :                     12, 14
    3401             :                 },
    3402             :                 {
    3403             :                     EnhancedCustomShapeParameterType::EQUATION,
    3404             :                     EnhancedCustomShapeParameterType::EQUATION,
    3405             :                     32, 33
    3406             :                 }
    3407             :             };
    3408           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    3409             :         }
    3410             :         {
    3411           0 :             aPropSequence [1].Name = "Segments";
    3412             :             static const sal_uInt16 nValues[] = {
    3413             :             // Command, Count
    3414             :                 1,1,
    3415             :                 17,1,
    3416             :                 4,0,
    3417             :                 7,0,
    3418             :                 5,0,
    3419             :                 1,1,
    3420             :                 17,1,
    3421             :                 1,1,
    3422             :                 17,1,
    3423             :                 19,0,
    3424             :                 5,0,
    3425             :                 1,1,
    3426             :                 16,1,
    3427             :                 6,0,
    3428             :                 5,0,
    3429             :                 1,1,
    3430             :                 17,1,
    3431             :                 4,0,
    3432             :                 6,0,
    3433             :                 5,0
    3434             :             };
    3435           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    3436             :         }
    3437             :         {
    3438           0 :             aPropSequence [2].Name = "TextFrames";
    3439           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    3440             :             {
    3441           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    3442             :                 {
    3443             :                     static const CustomShapeProvider::ParameterPairData aData =
    3444             :                     {
    3445             :                         EnhancedCustomShapeParameterType::EQUATION,
    3446             :                         EnhancedCustomShapeParameterType::EQUATION,
    3447             :                         17, 20
    3448             :                     };
    3449           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    3450             :                 }
    3451             :                 {
    3452             :                     static const CustomShapeProvider::ParameterPairData aData =
    3453             :                     {
    3454             :                         EnhancedCustomShapeParameterType::EQUATION,
    3455             :                         EnhancedCustomShapeParameterType::EQUATION,
    3456             :                         18, 21
    3457             :                     };
    3458           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    3459             :                 }
    3460           0 :                 aTextFrameSeq [0] = aTextFrame;
    3461             :             }
    3462           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    3463             :         }
    3464           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    3465             :     }
    3466             :     {
    3467           0 :         awt::Rectangle aRectangle;
    3468           0 :         aRectangle.X = 0;
    3469           0 :         aRectangle.Y = 0;
    3470           0 :         aRectangle.Width = 0;
    3471           0 :         aRectangle.Height = 0;
    3472           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    3473             :     }
    3474           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-smileyFace");
    3475             : 
    3476           0 :     return aPropertyMap;
    3477             :   }
    3478             : };
    3479           2 : class ShapeCactionButtonBlank : public CustomShapeProvider
    3480             : {
    3481           0 :   virtual PropertyMap getProperties()
    3482             :   {
    3483           0 :     PropertyMap aPropertyMap;
    3484             : 
    3485             :     {
    3486           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    3487             :     }
    3488             :     {
    3489             :         static const char *aStrings[] = {
    3490             :             "logwidth",
    3491             :             "logheight/2",
    3492             :             "logwidth/2",
    3493             :             "logheight"
    3494             :         };
    3495           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    3496             :     }
    3497             :     {
    3498           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    3499             :     }
    3500             :     {
    3501           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    3502             :     }
    3503             :     {
    3504           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    3505             :     }
    3506             :     {
    3507           0 :         Sequence< PropertyValue > aPropSequence (3);
    3508             :         {
    3509           0 :             aPropSequence [0].Name = "Coordinates";
    3510             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    3511             :                 {
    3512             :                     EnhancedCustomShapeParameterType::NORMAL,
    3513             :                     EnhancedCustomShapeParameterType::NORMAL,
    3514             :                     0, 0
    3515             :                 },
    3516             :                 {
    3517             :                     EnhancedCustomShapeParameterType::EQUATION,
    3518             :                     EnhancedCustomShapeParameterType::NORMAL,
    3519             :                     0, 0
    3520             :                 },
    3521             :                 {
    3522             :                     EnhancedCustomShapeParameterType::EQUATION,
    3523             :                     EnhancedCustomShapeParameterType::EQUATION,
    3524             :                     0, 3
    3525             :                 },
    3526             :                 {
    3527             :                     EnhancedCustomShapeParameterType::NORMAL,
    3528             :                     EnhancedCustomShapeParameterType::EQUATION,
    3529             :                     0, 3
    3530             :                 }
    3531             :             };
    3532           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    3533             :         }
    3534             :         {
    3535           0 :             aPropSequence [1].Name = "Segments";
    3536             :             static const sal_uInt16 nValues[] = {
    3537             :             // Command, Count
    3538             :                 1,1,
    3539             :                 2,3,
    3540             :                 4,0,
    3541             :                 5,0
    3542             :             };
    3543           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    3544             :         }
    3545             :         {
    3546           0 :             aPropSequence [2].Name = "TextFrames";
    3547           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    3548             :             {
    3549           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    3550             :                 {
    3551             :                     static const CustomShapeProvider::ParameterPairData aData =
    3552             :                     {
    3553             :                         EnhancedCustomShapeParameterType::NORMAL,
    3554             :                         EnhancedCustomShapeParameterType::NORMAL,
    3555             :                         0, 0
    3556             :                     };
    3557           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    3558             :                 }
    3559             :                 {
    3560             :                     static const CustomShapeProvider::ParameterPairData aData =
    3561             :                     {
    3562             :                         EnhancedCustomShapeParameterType::EQUATION,
    3563             :                         EnhancedCustomShapeParameterType::EQUATION,
    3564             :                         0, 3
    3565             :                     };
    3566           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    3567             :                 }
    3568           0 :                 aTextFrameSeq [0] = aTextFrame;
    3569             :             }
    3570           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    3571             :         }
    3572           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    3573             :     }
    3574             :     {
    3575           0 :         awt::Rectangle aRectangle;
    3576           0 :         aRectangle.X = 0;
    3577           0 :         aRectangle.Y = 0;
    3578           0 :         aRectangle.Width = 0;
    3579           0 :         aRectangle.Height = 0;
    3580           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    3581             :     }
    3582           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonBlank");
    3583             : 
    3584           0 :     return aPropertyMap;
    3585             :   }
    3586             : };
    3587           2 : class ShapeCwave : public CustomShapeProvider
    3588             : {
    3589           0 :   virtual PropertyMap getProperties()
    3590             :   {
    3591           0 :     PropertyMap aPropertyMap;
    3592             : 
    3593             :     {
    3594           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    3595             :         {
    3596           0 :             Any aAny ((sal_Int32) 12500);
    3597           0 :             aAdjSequence [0].Value = aAny;
    3598           0 :             aAdjSequence [0].Name = "adj1";
    3599             :         }
    3600             :         {
    3601           0 :             Any aAny ((sal_Int32) 0);
    3602           0 :             aAdjSequence [1].Value = aAny;
    3603           0 :             aAdjSequence [1].Name = "adj2";
    3604             :         }
    3605           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    3606             :     }
    3607             :     {
    3608             :         static const char *aStrings[] = {
    3609             :             "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))",
    3610             :             "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))",
    3611             :             "logheight*?0 /100000",
    3612             :             "?2 *10/3",
    3613             :             "?2 +0-?3 ",
    3614             :             "?2 +?3 -0",
    3615             :             "logheight+0-?2 ",
    3616             :             "?6 +0-?3 ",
    3617             :             "?6 +?3 -0",
    3618             :             "logwidth*?1 /100000",
    3619             :             "logwidth*?1 /50000",
    3620             :             "abs(?9 )",
    3621             :             "if(?10 ,0,?10 )",
    3622             :             "0+0-?12 ",
    3623             :             "if(?10 ,?10 ,0)",
    3624             :             "logwidth+0-?14 ",
    3625             :             "(?12 +?15 )/3",
    3626             :             "?13 +?16 -0",
    3627             :             "(?17 +?15 )/2",
    3628             :             "0+?14 -0",
    3629             :             "logwidth+?12 -0",
    3630             :             "?19 +?16 -0",
    3631             :             "(?21 +?20 )/2",
    3632             :             "logwidth+0-?11 ",
    3633             :             "logwidth/2",
    3634             :             "?24 +?9 -0",
    3635             :             "?24 +0-?9 ",
    3636             :             "max(?13 ,?19 )",
    3637             :             "min(?15 ,?20 )",
    3638             :             "logheight*?0 /50000",
    3639             :             "logheight+0-?29 ",
    3640             :             "logheight",
    3641             :             "logheight/2"
    3642             :         };
    3643           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    3644             :     }
    3645             :     {
    3646           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    3647             :         {
    3648           0 :             Sequence< PropertyValue > aPropSequence (4);
    3649             :             {
    3650           0 :                 aPropSequence [0].Name = "Position";
    3651             :                 static const CustomShapeProvider::ParameterPairData aData =
    3652             :                 {
    3653             :                     EnhancedCustomShapeParameterType::NORMAL,
    3654             :                     EnhancedCustomShapeParameterType::EQUATION,
    3655             :                     0, 2
    3656             :                 };
    3657           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    3658             :             }
    3659             :             {
    3660           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    3661           0 :                 EnhancedCustomShapeParameter aParameter;
    3662           0 :                 Any aAny ((sal_Int32) 20000);
    3663           0 :                 aParameter.Value = aAny;
    3664           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3665           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3666             :             }
    3667             :             {
    3668           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    3669           0 :                 EnhancedCustomShapeParameter aParameter;
    3670           0 :                 Any aAny ((sal_Int32) 0);
    3671           0 :                 aParameter.Value = aAny;
    3672           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3673           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3674             :             }
    3675             :             {
    3676           0 :                 aPropSequence [3].Name = "RefY";
    3677           0 :                 Any aAny ((sal_Int32) 0);
    3678           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3679             :             }
    3680           0 :             aPropSequenceSequence [0] = aPropSequence;
    3681             :         }
    3682             :         {
    3683           0 :             Sequence< PropertyValue > aPropSequence (4);
    3684             :             {
    3685           0 :                 aPropSequence [0].Name = "Position";
    3686             :                 static const CustomShapeProvider::ParameterPairData aData =
    3687             :                 {
    3688             :                     EnhancedCustomShapeParameterType::EQUATION,
    3689             :                     EnhancedCustomShapeParameterType::EQUATION,
    3690             :                     25, 31
    3691             :                 };
    3692           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    3693             :             }
    3694             :             {
    3695           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    3696           0 :                 EnhancedCustomShapeParameter aParameter;
    3697           0 :                 Any aAny ((sal_Int32) 10000);
    3698           0 :                 aParameter.Value = aAny;
    3699           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3700           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3701             :             }
    3702             :             {
    3703           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    3704           0 :                 EnhancedCustomShapeParameter aParameter;
    3705           0 :                 Any aAny ((sal_Int32) -10000);
    3706           0 :                 aParameter.Value = aAny;
    3707           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3708           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3709             :             }
    3710             :             {
    3711           0 :                 aPropSequence [3].Name = "RefX";
    3712           0 :                 Any aAny ((sal_Int32) 1);
    3713           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3714             :             }
    3715           0 :             aPropSequenceSequence [1] = aPropSequence;
    3716             :         }
    3717           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    3718             :     }
    3719             :     {
    3720           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    3721             :     }
    3722             :     {
    3723           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    3724             :     }
    3725             :     {
    3726           0 :         Sequence< PropertyValue > aPropSequence (3);
    3727             :         {
    3728           0 :             aPropSequence [0].Name = "Coordinates";
    3729             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    3730             :                 {
    3731             :                     EnhancedCustomShapeParameterType::EQUATION,
    3732             :                     EnhancedCustomShapeParameterType::EQUATION,
    3733             :                     13, 2
    3734             :                 },
    3735             :                 {
    3736             :                     EnhancedCustomShapeParameterType::EQUATION,
    3737             :                     EnhancedCustomShapeParameterType::EQUATION,
    3738             :                     17, 4
    3739             :                 },
    3740             :                 {
    3741             :                     EnhancedCustomShapeParameterType::EQUATION,
    3742             :                     EnhancedCustomShapeParameterType::EQUATION,
    3743             :                     18, 5
    3744             :                 },
    3745             :                 {
    3746             :                     EnhancedCustomShapeParameterType::EQUATION,
    3747             :                     EnhancedCustomShapeParameterType::EQUATION,
    3748             :                     15, 2
    3749             :                 },
    3750             :                 {
    3751             :                     EnhancedCustomShapeParameterType::EQUATION,
    3752             :                     EnhancedCustomShapeParameterType::EQUATION,
    3753             :                     20, 6
    3754             :                 },
    3755             :                 {
    3756             :                     EnhancedCustomShapeParameterType::EQUATION,
    3757             :                     EnhancedCustomShapeParameterType::EQUATION,
    3758             :                     22, 8
    3759             :                 },
    3760             :                 {
    3761             :                     EnhancedCustomShapeParameterType::EQUATION,
    3762             :                     EnhancedCustomShapeParameterType::EQUATION,
    3763             :                     21, 7
    3764             :                 },
    3765             :                 {
    3766             :                     EnhancedCustomShapeParameterType::EQUATION,
    3767             :                     EnhancedCustomShapeParameterType::EQUATION,
    3768             :                     19, 6
    3769             :                 }
    3770             :             };
    3771           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    3772             :         }
    3773             :         {
    3774           0 :             aPropSequence [1].Name = "Segments";
    3775             :             static const sal_uInt16 nValues[] = {
    3776             :             // Command, Count
    3777             :                 1,1,
    3778             :                 3,1,
    3779             :                 2,1,
    3780             :                 3,1,
    3781             :                 4,0,
    3782             :                 5,0
    3783             :             };
    3784           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    3785             :         }
    3786             :         {
    3787           0 :             aPropSequence [2].Name = "TextFrames";
    3788           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    3789             :             {
    3790           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    3791             :                 {
    3792             :                     static const CustomShapeProvider::ParameterPairData aData =
    3793             :                     {
    3794             :                         EnhancedCustomShapeParameterType::EQUATION,
    3795             :                         EnhancedCustomShapeParameterType::EQUATION,
    3796             :                         27, 29
    3797             :                     };
    3798           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    3799             :                 }
    3800             :                 {
    3801             :                     static const CustomShapeProvider::ParameterPairData aData =
    3802             :                     {
    3803             :                         EnhancedCustomShapeParameterType::EQUATION,
    3804             :                         EnhancedCustomShapeParameterType::EQUATION,
    3805             :                         28, 30
    3806             :                     };
    3807           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    3808             :                 }
    3809           0 :                 aTextFrameSeq [0] = aTextFrame;
    3810             :             }
    3811           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    3812             :         }
    3813           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    3814             :     }
    3815             :     {
    3816           0 :         awt::Rectangle aRectangle;
    3817           0 :         aRectangle.X = 0;
    3818           0 :         aRectangle.Y = 0;
    3819           0 :         aRectangle.Width = 0;
    3820           0 :         aRectangle.Height = 0;
    3821           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    3822             :     }
    3823           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-wave");
    3824             : 
    3825           0 :     return aPropertyMap;
    3826             :   }
    3827             : };
    3828           2 : class ShapeCswooshArrow : public CustomShapeProvider
    3829             : {
    3830           0 :   virtual PropertyMap getProperties()
    3831             :   {
    3832           0 :     PropertyMap aPropertyMap;
    3833             : 
    3834             :     {
    3835           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    3836             :         {
    3837           0 :             Any aAny ((sal_Int32) 25000);
    3838           0 :             aAdjSequence [0].Value = aAny;
    3839           0 :             aAdjSequence [0].Name = "adj1";
    3840             :         }
    3841             :         {
    3842           0 :             Any aAny ((sal_Int32) 16667);
    3843           0 :             aAdjSequence [1].Value = aAny;
    3844           0 :             aAdjSequence [1].Name = "adj2";
    3845             :         }
    3846           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    3847             :     }
    3848             :     {
    3849             :         static const char *aStrings[] = {
    3850             :             "if(1-$0 ,1,if(75000-$0 ,$0 ,75000))",
    3851             :             "min(logwidth,logheight)",
    3852             :             "70000*logwidth/?1 ",
    3853             :             "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))",
    3854             :             "logheight*?0 /100000",
    3855             :             "?1 *?3 /100000",
    3856             :             "logwidth+0-?5 ",
    3857             :             "min(logwidth,logheight)/8",
    3858             :             "0+?7 -0",
    3859             :             "5400000*1/14",
    3860             :             "?7 *tan(pi*(?9 )/10800000)",
    3861             :             "?6 +0-?10 ",
    3862             :             "?4 *tan(pi*(?9 )/10800000)",
    3863             :             "?8 +?4 -0",
    3864             :             "?6 +?12 -0",
    3865             :             "?14 +?10 -0",
    3866             :             "?13 +?7 -0",
    3867             :             "?16 +0-0",
    3868             :             "?17 *1/2",
    3869             :             "logheight*1/20",
    3870             :             "0+?18 -?19 ",
    3871             :             "logheight/6",
    3872             :             "?21 *1/1",
    3873             :             "?21 +?22 -0",
    3874             :             "logwidth/6",
    3875             :             "?24 ",
    3876             :             "?21 *1/2",
    3877             :             "?13 +?26 -0",
    3878             :             "logwidth/4",
    3879             :             "?28 ",
    3880             :             "logheight",
    3881             :             "logwidth"
    3882             :         };
    3883           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    3884             :     }
    3885             :     {
    3886           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    3887             :         {
    3888           0 :             Sequence< PropertyValue > aPropSequence (4);
    3889             :             {
    3890           0 :                 aPropSequence [0].Name = "Position";
    3891             :                 static const CustomShapeProvider::ParameterPairData aData =
    3892             :                 {
    3893             :                     EnhancedCustomShapeParameterType::EQUATION,
    3894             :                     EnhancedCustomShapeParameterType::EQUATION,
    3895             :                     14, 13
    3896             :                 };
    3897           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    3898             :             }
    3899             :             {
    3900           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    3901           0 :                 EnhancedCustomShapeParameter aParameter;
    3902           0 :                 Any aAny ((sal_Int32) 75000);
    3903           0 :                 aParameter.Value = aAny;
    3904           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3905           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3906             :             }
    3907             :             {
    3908           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    3909           0 :                 EnhancedCustomShapeParameter aParameter;
    3910           0 :                 Any aAny ((sal_Int32) 1);
    3911           0 :                 aParameter.Value = aAny;
    3912           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3913           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3914             :             }
    3915             :             {
    3916           0 :                 aPropSequence [3].Name = "RefY";
    3917           0 :                 Any aAny ((sal_Int32) 0);
    3918           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3919             :             }
    3920           0 :             aPropSequenceSequence [0] = aPropSequence;
    3921             :         }
    3922             :         {
    3923           0 :             Sequence< PropertyValue > aPropSequence (4);
    3924             :             {
    3925           0 :                 aPropSequence [0].Name = "Position";
    3926             :                 static const CustomShapeProvider::ParameterPairData aData =
    3927             :                 {
    3928             :                     EnhancedCustomShapeParameterType::EQUATION,
    3929             :                     EnhancedCustomShapeParameterType::EQUATION,
    3930             :                     6, 8
    3931             :                 };
    3932           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    3933             :             }
    3934             :             {
    3935           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    3936           0 :                 EnhancedCustomShapeParameter aParameter;
    3937           0 :                 Any aAny ((sal_Int32) 2);
    3938           0 :                 aParameter.Value = aAny;
    3939           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    3940           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    3941             :             }
    3942             :             {
    3943           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    3944           0 :                 EnhancedCustomShapeParameter aParameter;
    3945           0 :                 Any aAny ((sal_Int32) 0);
    3946           0 :                 aParameter.Value = aAny;
    3947           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    3948           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    3949             :             }
    3950             :             {
    3951           0 :                 aPropSequence [3].Name = "RefX";
    3952           0 :                 Any aAny ((sal_Int32) 1);
    3953           0 :                 aPropSequence [3].Value = makeAny (aAny);
    3954             :             }
    3955           0 :             aPropSequenceSequence [1] = aPropSequence;
    3956             :         }
    3957           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    3958             :     }
    3959             :     {
    3960           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    3961             :     }
    3962             :     {
    3963           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    3964             :     }
    3965             :     {
    3966           0 :         Sequence< PropertyValue > aPropSequence (3);
    3967             :         {
    3968           0 :             aPropSequence [0].Name = "Coordinates";
    3969             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    3970             :                 {
    3971             :                     EnhancedCustomShapeParameterType::NORMAL,
    3972             :                     EnhancedCustomShapeParameterType::EQUATION,
    3973             :                     0, 30
    3974             :                 },
    3975             :                 {
    3976             :                     EnhancedCustomShapeParameterType::EQUATION,
    3977             :                     EnhancedCustomShapeParameterType::EQUATION,
    3978             :                     25, 23
    3979             :                 },
    3980             :                 {
    3981             :                     EnhancedCustomShapeParameterType::EQUATION,
    3982             :                     EnhancedCustomShapeParameterType::EQUATION,
    3983             :                     6, 8
    3984             :                 },
    3985             :                 {
    3986             :                     EnhancedCustomShapeParameterType::EQUATION,
    3987             :                     EnhancedCustomShapeParameterType::NORMAL,
    3988             :                     11, 0
    3989             :                 },
    3990             :                 {
    3991             :                     EnhancedCustomShapeParameterType::EQUATION,
    3992             :                     EnhancedCustomShapeParameterType::EQUATION,
    3993             :                     31, 20
    3994             :                 },
    3995             :                 {
    3996             :                     EnhancedCustomShapeParameterType::EQUATION,
    3997             :                     EnhancedCustomShapeParameterType::EQUATION,
    3998             :                     15, 16
    3999             :                 },
    4000             :                 {
    4001             :                     EnhancedCustomShapeParameterType::EQUATION,
    4002             :                     EnhancedCustomShapeParameterType::EQUATION,
    4003             :                     14, 13
    4004             :                 },
    4005             :                 {
    4006             :                     EnhancedCustomShapeParameterType::EQUATION,
    4007             :                     EnhancedCustomShapeParameterType::EQUATION,
    4008             :                     29, 27
    4009             :                 },
    4010             :                 {
    4011             :                     EnhancedCustomShapeParameterType::NORMAL,
    4012             :                     EnhancedCustomShapeParameterType::EQUATION,
    4013             :                     0, 30
    4014             :                 }
    4015             :             };
    4016           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4017             :         }
    4018             :         {
    4019           0 :             aPropSequence [1].Name = "Segments";
    4020             :             static const sal_uInt16 nValues[] = {
    4021             :             // Command, Count
    4022             :                 1,1,
    4023             :                 16,1,
    4024             :                 2,4,
    4025             :                 16,1,
    4026             :                 4,0,
    4027             :                 5,0
    4028             :             };
    4029           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4030             :         }
    4031             :         {
    4032           0 :             aPropSequence [2].Name = "TextFrames";
    4033           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4034             :             {
    4035           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4036             :                 {
    4037             :                     static const CustomShapeProvider::ParameterPairData aData =
    4038             :                     {
    4039             :                         EnhancedCustomShapeParameterType::NORMAL,
    4040             :                         EnhancedCustomShapeParameterType::NORMAL,
    4041             :                         0, 0
    4042             :                     };
    4043           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4044             :                 }
    4045             :                 {
    4046             :                     static const CustomShapeProvider::ParameterPairData aData =
    4047             :                     {
    4048             :                         EnhancedCustomShapeParameterType::EQUATION,
    4049             :                         EnhancedCustomShapeParameterType::EQUATION,
    4050             :                         31, 30
    4051             :                     };
    4052           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4053             :                 }
    4054           0 :                 aTextFrameSeq [0] = aTextFrame;
    4055             :             }
    4056           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    4057             :         }
    4058           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4059             :     }
    4060             :     {
    4061           0 :         awt::Rectangle aRectangle;
    4062           0 :         aRectangle.X = 0;
    4063           0 :         aRectangle.Y = 0;
    4064           0 :         aRectangle.Width = 0;
    4065           0 :         aRectangle.Height = 0;
    4066           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4067             :     }
    4068           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-swooshArrow");
    4069             : 
    4070           0 :     return aPropertyMap;
    4071             :   }
    4072             : };
    4073           2 : class ShapeCflowChartSummingJunction : public CustomShapeProvider
    4074             : {
    4075           0 :   virtual PropertyMap getProperties()
    4076             :   {
    4077           0 :     PropertyMap aPropertyMap;
    4078             : 
    4079             :     {
    4080           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    4081             :     }
    4082             :     {
    4083             :         static const char *aStrings[] = {
    4084             :             "logwidth/2",
    4085             :             "?0 *cos(pi*(2700000)/10800000)",
    4086             :             "logheight/2",
    4087             :             "?2 *sin(pi*(2700000)/10800000)",
    4088             :             "logwidth/2",
    4089             :             "?4 +0-?1 ",
    4090             :             "?4 +?1 -0",
    4091             :             "logheight/2",
    4092             :             "?7 +0-?3 ",
    4093             :             "?7 +?3 -0",
    4094             :             "logheight",
    4095             :             "logwidth",
    4096             :             "(10800000)/60000.0",
    4097             :             "(5400000)/60000.0",
    4098             :             "(16200000)/60000.0",
    4099             :             "(5400000)/60000.0",
    4100             :             "(0)/60000.0",
    4101             :             "(5400000)/60000.0",
    4102             :             "(5400000)/60000.0",
    4103             :             "(5400000)/60000.0",
    4104             :             "(10800000)/60000.0",
    4105             :             "(5400000)/60000.0",
    4106             :             "(16200000)/60000.0",
    4107             :             "(5400000)/60000.0",
    4108             :             "(0)/60000.0",
    4109             :             "(5400000)/60000.0",
    4110             :             "(5400000)/60000.0",
    4111             :             "(5400000)/60000.0"
    4112             :         };
    4113           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    4114             :     }
    4115             :     {
    4116           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    4117             :     }
    4118             :     {
    4119           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    4120             :     }
    4121             :     {
    4122           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    4123             :     }
    4124             :     {
    4125           0 :         Sequence< PropertyValue > aPropSequence (3);
    4126             :         {
    4127           0 :             aPropSequence [0].Name = "Coordinates";
    4128             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    4129             :                 {
    4130             :                     EnhancedCustomShapeParameterType::NORMAL,
    4131             :                     EnhancedCustomShapeParameterType::EQUATION,
    4132             :                     0, 7
    4133             :                 },
    4134             :                 {
    4135             :                     EnhancedCustomShapeParameterType::EQUATION,
    4136             :                     EnhancedCustomShapeParameterType::EQUATION,
    4137             :                     0, 2
    4138             :                 },
    4139             :                 {
    4140             :                     EnhancedCustomShapeParameterType::EQUATION,
    4141             :                     EnhancedCustomShapeParameterType::EQUATION,
    4142             :                     12, 13
    4143             :                 },
    4144             :                 {
    4145             :                     EnhancedCustomShapeParameterType::EQUATION,
    4146             :                     EnhancedCustomShapeParameterType::EQUATION,
    4147             :                     0, 2
    4148             :                 },
    4149             :                 {
    4150             :                     EnhancedCustomShapeParameterType::EQUATION,
    4151             :                     EnhancedCustomShapeParameterType::EQUATION,
    4152             :                     14, 15
    4153             :                 },
    4154             :                 {
    4155             :                     EnhancedCustomShapeParameterType::EQUATION,
    4156             :                     EnhancedCustomShapeParameterType::EQUATION,
    4157             :                     0, 2
    4158             :                 },
    4159             :                 {
    4160             :                     EnhancedCustomShapeParameterType::EQUATION,
    4161             :                     EnhancedCustomShapeParameterType::EQUATION,
    4162             :                     16, 17
    4163             :                 },
    4164             :                 {
    4165             :                     EnhancedCustomShapeParameterType::EQUATION,
    4166             :                     EnhancedCustomShapeParameterType::EQUATION,
    4167             :                     0, 2
    4168             :                 },
    4169             :                 {
    4170             :                     EnhancedCustomShapeParameterType::EQUATION,
    4171             :                     EnhancedCustomShapeParameterType::EQUATION,
    4172             :                     18, 19
    4173             :                 },
    4174             :                 {
    4175             :                     EnhancedCustomShapeParameterType::EQUATION,
    4176             :                     EnhancedCustomShapeParameterType::EQUATION,
    4177             :                     5, 8
    4178             :                 },
    4179             :                 {
    4180             :                     EnhancedCustomShapeParameterType::EQUATION,
    4181             :                     EnhancedCustomShapeParameterType::EQUATION,
    4182             :                     6, 9
    4183             :                 },
    4184             :                 {
    4185             :                     EnhancedCustomShapeParameterType::EQUATION,
    4186             :                     EnhancedCustomShapeParameterType::EQUATION,
    4187             :                     6, 8
    4188             :                 },
    4189             :                 {
    4190             :                     EnhancedCustomShapeParameterType::EQUATION,
    4191             :                     EnhancedCustomShapeParameterType::EQUATION,
    4192             :                     5, 9
    4193             :                 },
    4194             :                 {
    4195             :                     EnhancedCustomShapeParameterType::NORMAL,
    4196             :                     EnhancedCustomShapeParameterType::EQUATION,
    4197             :                     0, 7
    4198             :                 },
    4199             :                 {
    4200             :                     EnhancedCustomShapeParameterType::EQUATION,
    4201             :                     EnhancedCustomShapeParameterType::EQUATION,
    4202             :                     0, 2
    4203             :                 },
    4204             :                 {
    4205             :                     EnhancedCustomShapeParameterType::EQUATION,
    4206             :                     EnhancedCustomShapeParameterType::EQUATION,
    4207             :                     20, 21
    4208             :                 },
    4209             :                 {
    4210             :                     EnhancedCustomShapeParameterType::EQUATION,
    4211             :                     EnhancedCustomShapeParameterType::EQUATION,
    4212             :                     0, 2
    4213             :                 },
    4214             :                 {
    4215             :                     EnhancedCustomShapeParameterType::EQUATION,
    4216             :                     EnhancedCustomShapeParameterType::EQUATION,
    4217             :                     22, 23
    4218             :                 },
    4219             :                 {
    4220             :                     EnhancedCustomShapeParameterType::EQUATION,
    4221             :                     EnhancedCustomShapeParameterType::EQUATION,
    4222             :                     0, 2
    4223             :                 },
    4224             :                 {
    4225             :                     EnhancedCustomShapeParameterType::EQUATION,
    4226             :                     EnhancedCustomShapeParameterType::EQUATION,
    4227             :                     24, 25
    4228             :                 },
    4229             :                 {
    4230             :                     EnhancedCustomShapeParameterType::EQUATION,
    4231             :                     EnhancedCustomShapeParameterType::EQUATION,
    4232             :                     0, 2
    4233             :                 },
    4234             :                 {
    4235             :                     EnhancedCustomShapeParameterType::EQUATION,
    4236             :                     EnhancedCustomShapeParameterType::EQUATION,
    4237             :                     26, 27
    4238             :                 }
    4239             :             };
    4240           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4241             :         }
    4242             :         {
    4243           0 :             aPropSequence [1].Name = "Segments";
    4244             :             static const sal_uInt16 nValues[] = {
    4245             :             // Command, Count
    4246             :                 1,1,
    4247             :                 17,4,
    4248             :                 4,0,
    4249             :                 7,0,
    4250             :                 5,0,
    4251             :                 1,1,
    4252             :                 2,1,
    4253             :                 1,1,
    4254             :                 2,1,
    4255             :                 6,0,
    4256             :                 5,0,
    4257             :                 1,1,
    4258             :                 17,4,
    4259             :                 4,0,
    4260             :                 6,0,
    4261             :                 5,0
    4262             :             };
    4263           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4264             :         }
    4265             :         {
    4266           0 :             aPropSequence [2].Name = "TextFrames";
    4267           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4268             :             {
    4269           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4270             :                 {
    4271             :                     static const CustomShapeProvider::ParameterPairData aData =
    4272             :                     {
    4273             :                         EnhancedCustomShapeParameterType::EQUATION,
    4274             :                         EnhancedCustomShapeParameterType::EQUATION,
    4275             :                         5, 8
    4276             :                     };
    4277           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4278             :                 }
    4279             :                 {
    4280             :                     static const CustomShapeProvider::ParameterPairData aData =
    4281             :                     {
    4282             :                         EnhancedCustomShapeParameterType::EQUATION,
    4283             :                         EnhancedCustomShapeParameterType::EQUATION,
    4284             :                         6, 9
    4285             :                     };
    4286           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4287             :                 }
    4288           0 :                 aTextFrameSeq [0] = aTextFrame;
    4289             :             }
    4290           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    4291             :         }
    4292           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4293             :     }
    4294             :     {
    4295           0 :         awt::Rectangle aRectangle;
    4296           0 :         aRectangle.X = 0;
    4297           0 :         aRectangle.Y = 0;
    4298           0 :         aRectangle.Width = 0;
    4299           0 :         aRectangle.Height = 0;
    4300           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4301             :     }
    4302           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartSummingJunction");
    4303             : 
    4304           0 :     return aPropertyMap;
    4305             :   }
    4306             : };
    4307           2 : class ShapeClightningBolt : public CustomShapeProvider
    4308             : {
    4309           0 :   virtual PropertyMap getProperties()
    4310             :   {
    4311           0 :     PropertyMap aPropertyMap;
    4312             : 
    4313             :     {
    4314           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    4315             :     }
    4316             :     {
    4317             :         static const char *aStrings[] = {
    4318             :             "logwidth*5022/21600",
    4319             :             "logwidth*8472/21600",
    4320             :             "logwidth*8757/21600",
    4321             :             "logwidth*10012/21600",
    4322             :             "logwidth*12860/21600",
    4323             :             "logwidth*13917/21600",
    4324             :             "logwidth*16577/21600",
    4325             :             "logheight*3890/21600",
    4326             :             "logheight*6080/21600",
    4327             :             "logheight*7437/21600",
    4328             :             "logheight*9705/21600",
    4329             :             "logheight*12007/21600",
    4330             :             "logheight*14277/21600",
    4331             :             "logheight*14915/21600",
    4332             :             "logwidth",
    4333             :             "logheight"
    4334             :         };
    4335           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    4336             :     }
    4337             :     {
    4338           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    4339             :     }
    4340             :     {
    4341           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    4342             :     }
    4343             :     {
    4344           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    4345             :     }
    4346             :     {
    4347           0 :         Sequence< PropertyValue > aPropSequence (4);
    4348             :         {
    4349           0 :             aPropSequence [0].Name = "Coordinates";
    4350             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    4351             :                 {
    4352             :                     EnhancedCustomShapeParameterType::NORMAL,
    4353             :                     EnhancedCustomShapeParameterType::NORMAL,
    4354             :                     8472, 0
    4355             :                 },
    4356             :                 {
    4357             :                     EnhancedCustomShapeParameterType::NORMAL,
    4358             :                     EnhancedCustomShapeParameterType::NORMAL,
    4359             :                     12860, 6080
    4360             :                 },
    4361             :                 {
    4362             :                     EnhancedCustomShapeParameterType::NORMAL,
    4363             :                     EnhancedCustomShapeParameterType::NORMAL,
    4364             :                     11050, 6797
    4365             :                 },
    4366             :                 {
    4367             :                     EnhancedCustomShapeParameterType::NORMAL,
    4368             :                     EnhancedCustomShapeParameterType::NORMAL,
    4369             :                     16577, 12007
    4370             :                 },
    4371             :                 {
    4372             :                     EnhancedCustomShapeParameterType::NORMAL,
    4373             :                     EnhancedCustomShapeParameterType::NORMAL,
    4374             :                     14767, 12877
    4375             :                 },
    4376             :                 {
    4377             :                     EnhancedCustomShapeParameterType::NORMAL,
    4378             :                     EnhancedCustomShapeParameterType::NORMAL,
    4379             :                     21600, 21600
    4380             :                 },
    4381             :                 {
    4382             :                     EnhancedCustomShapeParameterType::NORMAL,
    4383             :                     EnhancedCustomShapeParameterType::NORMAL,
    4384             :                     10012, 14915
    4385             :                 },
    4386             :                 {
    4387             :                     EnhancedCustomShapeParameterType::NORMAL,
    4388             :                     EnhancedCustomShapeParameterType::NORMAL,
    4389             :                     12222, 13987
    4390             :                 },
    4391             :                 {
    4392             :                     EnhancedCustomShapeParameterType::NORMAL,
    4393             :                     EnhancedCustomShapeParameterType::NORMAL,
    4394             :                     5022, 9705
    4395             :                 },
    4396             :                 {
    4397             :                     EnhancedCustomShapeParameterType::NORMAL,
    4398             :                     EnhancedCustomShapeParameterType::NORMAL,
    4399             :                     7602, 8382
    4400             :                 },
    4401             :                 {
    4402             :                     EnhancedCustomShapeParameterType::NORMAL,
    4403             :                     EnhancedCustomShapeParameterType::NORMAL,
    4404             :                     0, 3890
    4405             :                 }
    4406             :             };
    4407           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4408             :         }
    4409             :         {
    4410           0 :             aPropSequence [1].Name = "Segments";
    4411             :             static const sal_uInt16 nValues[] = {
    4412             :             // Command, Count
    4413             :                 1,1,
    4414             :                 2,10,
    4415             :                 4,0,
    4416             :                 5,0
    4417             :             };
    4418           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4419             :         }
    4420             :         {
    4421           0 :             aPropSequence [2].Name = "SubViewSize";
    4422           0 :             Sequence< awt::Size > aSizeSequence (1);
    4423             :             {
    4424           0 :                 awt::Size aSize;
    4425           0 :                 aSize.Width = 21600;
    4426           0 :                 aSize.Height = 21600;
    4427           0 :                 aSizeSequence [0] = aSize;
    4428             :             }
    4429           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    4430             :         }
    4431             :         {
    4432           0 :             aPropSequence [3].Name = "TextFrames";
    4433           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4434             :             {
    4435           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4436             :                 {
    4437             :                     static const CustomShapeProvider::ParameterPairData aData =
    4438             :                     {
    4439             :                         EnhancedCustomShapeParameterType::EQUATION,
    4440             :                         EnhancedCustomShapeParameterType::EQUATION,
    4441             :                         2, 9
    4442             :                     };
    4443           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4444             :                 }
    4445             :                 {
    4446             :                     static const CustomShapeProvider::ParameterPairData aData =
    4447             :                     {
    4448             :                         EnhancedCustomShapeParameterType::EQUATION,
    4449             :                         EnhancedCustomShapeParameterType::EQUATION,
    4450             :                         5, 12
    4451             :                     };
    4452           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4453             :                 }
    4454           0 :                 aTextFrameSeq [0] = aTextFrame;
    4455             :             }
    4456           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
    4457             :         }
    4458           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4459             :     }
    4460             :     {
    4461           0 :         awt::Rectangle aRectangle;
    4462           0 :         aRectangle.X = 0;
    4463           0 :         aRectangle.Y = 0;
    4464           0 :         aRectangle.Width = 0;
    4465           0 :         aRectangle.Height = 0;
    4466           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4467             :     }
    4468           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-lightningBolt");
    4469             : 
    4470           0 :     return aPropertyMap;
    4471             :   }
    4472             : };
    4473           2 : class ShapeCflowChartDisplay : public CustomShapeProvider
    4474             : {
    4475           0 :   virtual PropertyMap getProperties()
    4476             :   {
    4477           0 :     PropertyMap aPropertyMap;
    4478             : 
    4479             :     {
    4480           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    4481             :     }
    4482             :     {
    4483             :         static const char *aStrings[] = {
    4484             :             "logwidth*5/6",
    4485             :             "logwidth/2",
    4486             :             "logheight/2",
    4487             :             "logheight",
    4488             :             "logwidth",
    4489             :             "logwidth/6",
    4490             :             "(16200000)/60000.0",
    4491             :             "(10800000)/60000.0"
    4492             :         };
    4493           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    4494             :     }
    4495             :     {
    4496           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    4497             :     }
    4498             :     {
    4499           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    4500             :     }
    4501             :     {
    4502           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    4503             :     }
    4504             :     {
    4505           0 :         Sequence< PropertyValue > aPropSequence (4);
    4506             :         {
    4507           0 :             aPropSequence [0].Name = "Coordinates";
    4508             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    4509             :                 {
    4510             :                     EnhancedCustomShapeParameterType::NORMAL,
    4511             :                     EnhancedCustomShapeParameterType::NORMAL,
    4512             :                     0, 3
    4513             :                 },
    4514             :                 {
    4515             :                     EnhancedCustomShapeParameterType::NORMAL,
    4516             :                     EnhancedCustomShapeParameterType::NORMAL,
    4517             :                     1, 0
    4518             :                 },
    4519             :                 {
    4520             :                     EnhancedCustomShapeParameterType::NORMAL,
    4521             :                     EnhancedCustomShapeParameterType::NORMAL,
    4522             :                     5, 0
    4523             :                 },
    4524             :                 {
    4525             :                     EnhancedCustomShapeParameterType::NORMAL,
    4526             :                     EnhancedCustomShapeParameterType::NORMAL,
    4527             :                     1, 3
    4528             :                 },
    4529             :                 {
    4530             :                     EnhancedCustomShapeParameterType::EQUATION,
    4531             :                     EnhancedCustomShapeParameterType::EQUATION,
    4532             :                     6, 7
    4533             :                 },
    4534             :                 {
    4535             :                     EnhancedCustomShapeParameterType::NORMAL,
    4536             :                     EnhancedCustomShapeParameterType::NORMAL,
    4537             :                     1, 6
    4538             :                 }
    4539             :             };
    4540           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4541             :         }
    4542             :         {
    4543           0 :             aPropSequence [1].Name = "Segments";
    4544             :             static const sal_uInt16 nValues[] = {
    4545             :             // Command, Count
    4546             :                 1,1,
    4547             :                 2,2,
    4548             :                 17,1,
    4549             :                 2,1,
    4550             :                 4,0,
    4551             :                 5,0
    4552             :             };
    4553           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4554             :         }
    4555             :         {
    4556           0 :             aPropSequence [2].Name = "SubViewSize";
    4557           0 :             Sequence< awt::Size > aSizeSequence (1);
    4558             :             {
    4559           0 :                 awt::Size aSize;
    4560           0 :                 aSize.Width = 6;
    4561           0 :                 aSize.Height = 6;
    4562           0 :                 aSizeSequence [0] = aSize;
    4563             :             }
    4564           0 :             aPropSequence [2].Value = makeAny (aSizeSequence);
    4565             :         }
    4566             :         {
    4567           0 :             aPropSequence [3].Name = "TextFrames";
    4568           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4569             :             {
    4570           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4571             :                 {
    4572             :                     static const CustomShapeProvider::ParameterPairData aData =
    4573             :                     {
    4574             :                         EnhancedCustomShapeParameterType::EQUATION,
    4575             :                         EnhancedCustomShapeParameterType::NORMAL,
    4576             :                         5, 0
    4577             :                     };
    4578           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4579             :                 }
    4580             :                 {
    4581             :                     static const CustomShapeProvider::ParameterPairData aData =
    4582             :                     {
    4583             :                         EnhancedCustomShapeParameterType::EQUATION,
    4584             :                         EnhancedCustomShapeParameterType::EQUATION,
    4585             :                         0, 3
    4586             :                     };
    4587           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4588             :                 }
    4589           0 :                 aTextFrameSeq [0] = aTextFrame;
    4590             :             }
    4591           0 :             aPropSequence [3].Value = makeAny (aTextFrameSeq);
    4592             :         }
    4593           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4594             :     }
    4595             :     {
    4596           0 :         awt::Rectangle aRectangle;
    4597           0 :         aRectangle.X = 0;
    4598           0 :         aRectangle.Y = 0;
    4599           0 :         aRectangle.Width = 0;
    4600           0 :         aRectangle.Height = 0;
    4601           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4602             :     }
    4603           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartDisplay");
    4604             : 
    4605           0 :     return aPropertyMap;
    4606             :   }
    4607             : };
    4608           2 : class ShapeCactionButtonBackPrevious : public CustomShapeProvider
    4609             : {
    4610           0 :   virtual PropertyMap getProperties()
    4611             :   {
    4612           0 :     PropertyMap aPropertyMap;
    4613             : 
    4614             :     {
    4615           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    4616             :     }
    4617             :     {
    4618             :         static const char *aStrings[] = {
    4619             :             "min(logwidth,logheight)",
    4620             :             "?0 *3/8",
    4621             :             "logheight/2",
    4622             :             "?2 +0-?1 ",
    4623             :             "?2 +?1 -0",
    4624             :             "logwidth/2",
    4625             :             "?5 +0-?1 ",
    4626             :             "?5 +?1 -0",
    4627             :             "logwidth",
    4628             :             "logheight"
    4629             :         };
    4630           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    4631             :     }
    4632             :     {
    4633           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    4634             :     }
    4635             :     {
    4636           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    4637             :     }
    4638             :     {
    4639           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    4640             :     }
    4641             :     {
    4642           0 :         Sequence< PropertyValue > aPropSequence (3);
    4643             :         {
    4644           0 :             aPropSequence [0].Name = "Coordinates";
    4645             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    4646             :                 {
    4647             :                     EnhancedCustomShapeParameterType::NORMAL,
    4648             :                     EnhancedCustomShapeParameterType::NORMAL,
    4649             :                     0, 0
    4650             :                 },
    4651             :                 {
    4652             :                     EnhancedCustomShapeParameterType::EQUATION,
    4653             :                     EnhancedCustomShapeParameterType::NORMAL,
    4654             :                     8, 0
    4655             :                 },
    4656             :                 {
    4657             :                     EnhancedCustomShapeParameterType::EQUATION,
    4658             :                     EnhancedCustomShapeParameterType::EQUATION,
    4659             :                     8, 9
    4660             :                 },
    4661             :                 {
    4662             :                     EnhancedCustomShapeParameterType::NORMAL,
    4663             :                     EnhancedCustomShapeParameterType::EQUATION,
    4664             :                     0, 9
    4665             :                 },
    4666             :                 {
    4667             :                     EnhancedCustomShapeParameterType::EQUATION,
    4668             :                     EnhancedCustomShapeParameterType::EQUATION,
    4669             :                     6, 2
    4670             :                 },
    4671             :                 {
    4672             :                     EnhancedCustomShapeParameterType::EQUATION,
    4673             :                     EnhancedCustomShapeParameterType::EQUATION,
    4674             :                     7, 3
    4675             :                 },
    4676             :                 {
    4677             :                     EnhancedCustomShapeParameterType::EQUATION,
    4678             :                     EnhancedCustomShapeParameterType::EQUATION,
    4679             :                     7, 4
    4680             :                 },
    4681             :                 {
    4682             :                     EnhancedCustomShapeParameterType::EQUATION,
    4683             :                     EnhancedCustomShapeParameterType::EQUATION,
    4684             :                     6, 2
    4685             :                 },
    4686             :                 {
    4687             :                     EnhancedCustomShapeParameterType::EQUATION,
    4688             :                     EnhancedCustomShapeParameterType::EQUATION,
    4689             :                     7, 3
    4690             :                 },
    4691             :                 {
    4692             :                     EnhancedCustomShapeParameterType::EQUATION,
    4693             :                     EnhancedCustomShapeParameterType::EQUATION,
    4694             :                     7, 4
    4695             :                 },
    4696             :                 {
    4697             :                     EnhancedCustomShapeParameterType::EQUATION,
    4698             :                     EnhancedCustomShapeParameterType::EQUATION,
    4699             :                     6, 2
    4700             :                 },
    4701             :                 {
    4702             :                     EnhancedCustomShapeParameterType::EQUATION,
    4703             :                     EnhancedCustomShapeParameterType::EQUATION,
    4704             :                     7, 3
    4705             :                 },
    4706             :                 {
    4707             :                     EnhancedCustomShapeParameterType::EQUATION,
    4708             :                     EnhancedCustomShapeParameterType::EQUATION,
    4709             :                     7, 4
    4710             :                 },
    4711             :                 {
    4712             :                     EnhancedCustomShapeParameterType::NORMAL,
    4713             :                     EnhancedCustomShapeParameterType::NORMAL,
    4714             :                     0, 0
    4715             :                 },
    4716             :                 {
    4717             :                     EnhancedCustomShapeParameterType::EQUATION,
    4718             :                     EnhancedCustomShapeParameterType::NORMAL,
    4719             :                     8, 0
    4720             :                 },
    4721             :                 {
    4722             :                     EnhancedCustomShapeParameterType::EQUATION,
    4723             :                     EnhancedCustomShapeParameterType::EQUATION,
    4724             :                     8, 9
    4725             :                 },
    4726             :                 {
    4727             :                     EnhancedCustomShapeParameterType::NORMAL,
    4728             :                     EnhancedCustomShapeParameterType::EQUATION,
    4729             :                     0, 9
    4730             :                 }
    4731             :             };
    4732           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4733             :         }
    4734             :         {
    4735           0 :             aPropSequence [1].Name = "Segments";
    4736             :             static const sal_uInt16 nValues[] = {
    4737             :             // Command, Count
    4738             :                 1,1,
    4739             :                 2,3,
    4740             :                 4,0,
    4741             :                 1,1,
    4742             :                 2,2,
    4743             :                 4,0,
    4744             :                 7,0,
    4745             :                 5,0,
    4746             :                 1,1,
    4747             :                 2,2,
    4748             :                 4,0,
    4749             :                 18,0,
    4750             :                 7,0,
    4751             :                 5,0,
    4752             :                 1,1,
    4753             :                 2,2,
    4754             :                 4,0,
    4755             :                 6,0,
    4756             :                 5,0,
    4757             :                 1,1,
    4758             :                 2,3,
    4759             :                 4,0,
    4760             :                 6,0,
    4761             :                 5,0
    4762             :             };
    4763           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4764             :         }
    4765             :         {
    4766           0 :             aPropSequence [2].Name = "TextFrames";
    4767           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4768             :             {
    4769           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4770             :                 {
    4771             :                     static const CustomShapeProvider::ParameterPairData aData =
    4772             :                     {
    4773             :                         EnhancedCustomShapeParameterType::NORMAL,
    4774             :                         EnhancedCustomShapeParameterType::NORMAL,
    4775             :                         0, 0
    4776             :                     };
    4777           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4778             :                 }
    4779             :                 {
    4780             :                     static const CustomShapeProvider::ParameterPairData aData =
    4781             :                     {
    4782             :                         EnhancedCustomShapeParameterType::EQUATION,
    4783             :                         EnhancedCustomShapeParameterType::EQUATION,
    4784             :                         8, 9
    4785             :                     };
    4786           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4787             :                 }
    4788           0 :                 aTextFrameSeq [0] = aTextFrame;
    4789             :             }
    4790           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    4791             :         }
    4792           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4793             :     }
    4794             :     {
    4795           0 :         awt::Rectangle aRectangle;
    4796           0 :         aRectangle.X = 0;
    4797           0 :         aRectangle.Y = 0;
    4798           0 :         aRectangle.Width = 0;
    4799           0 :         aRectangle.Height = 0;
    4800           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4801             :     }
    4802           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonBackPrevious");
    4803             : 
    4804           0 :     return aPropertyMap;
    4805             :   }
    4806             : };
    4807           2 : class ShapeCframe : public CustomShapeProvider
    4808             : {
    4809           0 :   virtual PropertyMap getProperties()
    4810             :   {
    4811           0 :     PropertyMap aPropertyMap;
    4812             : 
    4813             :     {
    4814           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
    4815             :         {
    4816           0 :             Any aAny ((sal_Int32) 12500);
    4817           0 :             aAdjSequence [0].Value = aAny;
    4818           0 :             aAdjSequence [0].Name = "adj1";
    4819             :         }
    4820           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    4821             :     }
    4822             :     {
    4823             :         static const char *aStrings[] = {
    4824             :             "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
    4825             :             "min(logwidth,logheight)",
    4826             :             "?1 *?0 /100000",
    4827             :             "logwidth+0-?2 ",
    4828             :             "logheight+0-?2 ",
    4829             :             "logwidth/2",
    4830             :             "logheight/2",
    4831             :             "logheight",
    4832             :             "logwidth"
    4833             :         };
    4834           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    4835             :     }
    4836             :     {
    4837           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    4838             :         {
    4839           0 :             Sequence< PropertyValue > aPropSequence (4);
    4840             :             {
    4841           0 :                 aPropSequence [0].Name = "Position";
    4842             :                 static const CustomShapeProvider::ParameterPairData aData =
    4843             :                 {
    4844             :                     EnhancedCustomShapeParameterType::EQUATION,
    4845             :                     EnhancedCustomShapeParameterType::NORMAL,
    4846             :                     2, 0
    4847             :                 };
    4848           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    4849             :             }
    4850             :             {
    4851           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    4852           0 :                 EnhancedCustomShapeParameter aParameter;
    4853           0 :                 Any aAny ((sal_Int32) 50000);
    4854           0 :                 aParameter.Value = aAny;
    4855           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    4856           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    4857             :             }
    4858             :             {
    4859           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    4860           0 :                 EnhancedCustomShapeParameter aParameter;
    4861           0 :                 Any aAny ((sal_Int32) 0);
    4862           0 :                 aParameter.Value = aAny;
    4863           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    4864           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    4865             :             }
    4866             :             {
    4867           0 :                 aPropSequence [3].Name = "RefX";
    4868           0 :                 Any aAny ((sal_Int32) 0);
    4869           0 :                 aPropSequence [3].Value = makeAny (aAny);
    4870             :             }
    4871           0 :             aPropSequenceSequence [0] = aPropSequence;
    4872             :         }
    4873           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    4874             :     }
    4875             :     {
    4876           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    4877             :     }
    4878             :     {
    4879           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    4880             :     }
    4881             :     {
    4882           0 :         Sequence< PropertyValue > aPropSequence (3);
    4883             :         {
    4884           0 :             aPropSequence [0].Name = "Coordinates";
    4885             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    4886             :                 {
    4887             :                     EnhancedCustomShapeParameterType::NORMAL,
    4888             :                     EnhancedCustomShapeParameterType::NORMAL,
    4889             :                     0, 0
    4890             :                 },
    4891             :                 {
    4892             :                     EnhancedCustomShapeParameterType::EQUATION,
    4893             :                     EnhancedCustomShapeParameterType::NORMAL,
    4894             :                     8, 0
    4895             :                 },
    4896             :                 {
    4897             :                     EnhancedCustomShapeParameterType::EQUATION,
    4898             :                     EnhancedCustomShapeParameterType::EQUATION,
    4899             :                     8, 7
    4900             :                 },
    4901             :                 {
    4902             :                     EnhancedCustomShapeParameterType::NORMAL,
    4903             :                     EnhancedCustomShapeParameterType::EQUATION,
    4904             :                     0, 7
    4905             :                 },
    4906             :                 {
    4907             :                     EnhancedCustomShapeParameterType::EQUATION,
    4908             :                     EnhancedCustomShapeParameterType::EQUATION,
    4909             :                     2, 2
    4910             :                 },
    4911             :                 {
    4912             :                     EnhancedCustomShapeParameterType::EQUATION,
    4913             :                     EnhancedCustomShapeParameterType::EQUATION,
    4914             :                     2, 4
    4915             :                 },
    4916             :                 {
    4917             :                     EnhancedCustomShapeParameterType::EQUATION,
    4918             :                     EnhancedCustomShapeParameterType::EQUATION,
    4919             :                     3, 4
    4920             :                 },
    4921             :                 {
    4922             :                     EnhancedCustomShapeParameterType::EQUATION,
    4923             :                     EnhancedCustomShapeParameterType::EQUATION,
    4924             :                     3, 2
    4925             :                 }
    4926             :             };
    4927           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    4928             :         }
    4929             :         {
    4930           0 :             aPropSequence [1].Name = "Segments";
    4931             :             static const sal_uInt16 nValues[] = {
    4932             :             // Command, Count
    4933             :                 1,1,
    4934             :                 2,3,
    4935             :                 4,0,
    4936             :                 1,1,
    4937             :                 2,3,
    4938             :                 4,0,
    4939             :                 5,0
    4940             :             };
    4941           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    4942             :         }
    4943             :         {
    4944           0 :             aPropSequence [2].Name = "TextFrames";
    4945           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    4946             :             {
    4947           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    4948             :                 {
    4949             :                     static const CustomShapeProvider::ParameterPairData aData =
    4950             :                     {
    4951             :                         EnhancedCustomShapeParameterType::EQUATION,
    4952             :                         EnhancedCustomShapeParameterType::EQUATION,
    4953             :                         2, 2
    4954             :                     };
    4955           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    4956             :                 }
    4957             :                 {
    4958             :                     static const CustomShapeProvider::ParameterPairData aData =
    4959             :                     {
    4960             :                         EnhancedCustomShapeParameterType::EQUATION,
    4961             :                         EnhancedCustomShapeParameterType::EQUATION,
    4962             :                         3, 4
    4963             :                     };
    4964           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    4965             :                 }
    4966           0 :                 aTextFrameSeq [0] = aTextFrame;
    4967             :             }
    4968           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    4969             :         }
    4970           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    4971             :     }
    4972             :     {
    4973           0 :         awt::Rectangle aRectangle;
    4974           0 :         aRectangle.X = 0;
    4975           0 :         aRectangle.Y = 0;
    4976           0 :         aRectangle.Width = 0;
    4977           0 :         aRectangle.Height = 0;
    4978           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    4979             :     }
    4980           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-frame");
    4981             : 
    4982           0 :     return aPropertyMap;
    4983             :   }
    4984             : };
    4985           2 : class ShapeCrtTriangle : public CustomShapeProvider
    4986             : {
    4987           0 :   virtual PropertyMap getProperties()
    4988             :   {
    4989           0 :     PropertyMap aPropertyMap;
    4990             : 
    4991             :     {
    4992           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    4993             :     }
    4994             :     {
    4995             :         static const char *aStrings[] = {
    4996             :             "logheight*7/12",
    4997             :             "logwidth*7/12",
    4998             :             "logheight*11/12",
    4999             :             "logheight/2",
    5000             :             "logheight",
    5001             :             "logwidth/2",
    5002             :             "logwidth",
    5003             :             "logwidth/12"
    5004             :         };
    5005           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    5006             :     }
    5007             :     {
    5008           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    5009             :     }
    5010             :     {
    5011           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    5012             :     }
    5013             :     {
    5014           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    5015             :     }
    5016             :     {
    5017           0 :         Sequence< PropertyValue > aPropSequence (3);
    5018             :         {
    5019           0 :             aPropSequence [0].Name = "Coordinates";
    5020             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    5021             :                 {
    5022             :                     EnhancedCustomShapeParameterType::NORMAL,
    5023             :                     EnhancedCustomShapeParameterType::EQUATION,
    5024             :                     0, 4
    5025             :                 },
    5026             :                 {
    5027             :                     EnhancedCustomShapeParameterType::NORMAL,
    5028             :                     EnhancedCustomShapeParameterType::NORMAL,
    5029             :                     0, 0
    5030             :                 },
    5031             :                 {
    5032             :                     EnhancedCustomShapeParameterType::EQUATION,
    5033             :                     EnhancedCustomShapeParameterType::EQUATION,
    5034             :                     6, 4
    5035             :                 }
    5036             :             };
    5037           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    5038             :         }
    5039             :         {
    5040           0 :             aPropSequence [1].Name = "Segments";
    5041             :             static const sal_uInt16 nValues[] = {
    5042             :             // Command, Count
    5043             :                 1,1,
    5044             :                 2,2,
    5045             :                 4,0,
    5046             :                 5,0
    5047             :             };
    5048           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    5049             :         }
    5050             :         {
    5051           0 :             aPropSequence [2].Name = "TextFrames";
    5052           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    5053             :             {
    5054           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    5055             :                 {
    5056             :                     static const CustomShapeProvider::ParameterPairData aData =
    5057             :                     {
    5058             :                         EnhancedCustomShapeParameterType::EQUATION,
    5059             :                         EnhancedCustomShapeParameterType::EQUATION,
    5060             :                         7, 0
    5061             :                     };
    5062           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    5063             :                 }
    5064             :                 {
    5065             :                     static const CustomShapeProvider::ParameterPairData aData =
    5066             :                     {
    5067             :                         EnhancedCustomShapeParameterType::EQUATION,
    5068             :                         EnhancedCustomShapeParameterType::EQUATION,
    5069             :                         1, 2
    5070             :                     };
    5071           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    5072             :                 }
    5073           0 :                 aTextFrameSeq [0] = aTextFrame;
    5074             :             }
    5075           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    5076             :         }
    5077           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    5078             :     }
    5079             :     {
    5080           0 :         awt::Rectangle aRectangle;
    5081           0 :         aRectangle.X = 0;
    5082           0 :         aRectangle.Y = 0;
    5083           0 :         aRectangle.Width = 0;
    5084           0 :         aRectangle.Height = 0;
    5085           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    5086             :     }
    5087           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-rtTriangle");
    5088             : 
    5089           0 :     return aPropertyMap;
    5090             :   }
    5091             : };
    5092           2 : class ShapeCflowChartMagneticTape : public CustomShapeProvider
    5093             : {
    5094           0 :   virtual PropertyMap getProperties()
    5095             :   {
    5096           0 :     PropertyMap aPropertyMap;
    5097             : 
    5098             :     {
    5099           0 :         aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
    5100             :     }
    5101             :     {
    5102             :         static const char *aStrings[] = {
    5103             :             "logwidth/2",
    5104             :             "?0 *cos(pi*(2700000)/10800000)",
    5105             :             "logheight/2",
    5106             :             "?2 *sin(pi*(2700000)/10800000)",
    5107             :             "logwidth/2",
    5108             :             "?4 +0-?1 ",
    5109             :             "?4 +?1 -0",
    5110             :             "logheight/2",
    5111             :             "?7 +0-?3 ",
    5112             :             "?7 +?3 -0",
    5113             :             "(10800000*atan2(logheight,logwidth))/pi",
    5114             :             "logheight",
    5115             :             "logwidth",
    5116             :             "(5400000)/60000.0",
    5117             :             "(5400000)/60000.0",
    5118             :             "(10800000)/60000.0",
    5119             :             "(5400000)/60000.0",
    5120             :             "(16200000)/60000.0",
    5121             :             "(5400000)/60000.0",
    5122             :             "(0)/60000.0",
    5123             :             "(?10 )/60000.0"
    5124             :         };
    5125           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    5126             :     }
    5127             :     {
    5128           0 :         aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
    5129             :     }
    5130             :     {
    5131           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    5132             :     }
    5133             :     {
    5134           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    5135             :     }
    5136             :     {
    5137           0 :         Sequence< PropertyValue > aPropSequence (3);
    5138             :         {
    5139           0 :             aPropSequence [0].Name = "Coordinates";
    5140             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    5141             :                 {
    5142             :                     EnhancedCustomShapeParameterType::EQUATION,
    5143             :                     EnhancedCustomShapeParameterType::EQUATION,
    5144             :                     4, 11
    5145             :                 },
    5146             :                 {
    5147             :                     EnhancedCustomShapeParameterType::EQUATION,
    5148             :                     EnhancedCustomShapeParameterType::EQUATION,
    5149             :                     0, 2
    5150             :                 },
    5151             :                 {
    5152             :                     EnhancedCustomShapeParameterType::EQUATION,
    5153             :                     EnhancedCustomShapeParameterType::EQUATION,
    5154             :                     13, 14
    5155             :                 },
    5156             :                 {
    5157             :                     EnhancedCustomShapeParameterType::EQUATION,
    5158             :                     EnhancedCustomShapeParameterType::EQUATION,
    5159             :                     0, 2
    5160             :                 },
    5161             :                 {
    5162             :                     EnhancedCustomShapeParameterType::EQUATION,
    5163             :                     EnhancedCustomShapeParameterType::EQUATION,
    5164             :                     15, 16
    5165             :                 },
    5166             :                 {
    5167             :                     EnhancedCustomShapeParameterType::EQUATION,
    5168             :                     EnhancedCustomShapeParameterType::EQUATION,
    5169             :                     0, 2
    5170             :                 },
    5171             :                 {
    5172             :                     EnhancedCustomShapeParameterType::EQUATION,
    5173             :                     EnhancedCustomShapeParameterType::EQUATION,
    5174             :                     17, 18
    5175             :                 },
    5176             :                 {
    5177             :                     EnhancedCustomShapeParameterType::EQUATION,
    5178             :                     EnhancedCustomShapeParameterType::EQUATION,
    5179             :                     0, 2
    5180             :                 },
    5181             :                 {
    5182             :                     EnhancedCustomShapeParameterType::EQUATION,
    5183             :                     EnhancedCustomShapeParameterType::EQUATION,
    5184             :                     19, 20
    5185             :                 },
    5186             :                 {
    5187             :                     EnhancedCustomShapeParameterType::EQUATION,
    5188             :                     EnhancedCustomShapeParameterType::EQUATION,
    5189             :                     12, 9
    5190             :                 },
    5191             :                 {
    5192             :                     EnhancedCustomShapeParameterType::EQUATION,
    5193             :                     EnhancedCustomShapeParameterType::EQUATION,
    5194             :                     12, 11
    5195             :                 }
    5196             :             };
    5197           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    5198             :         }
    5199             :         {
    5200           0 :             aPropSequence [1].Name = "Segments";
    5201             :             static const sal_uInt16 nValues[] = {
    5202             :             // Command, Count
    5203             :                 1,1,
    5204             :                 17,4,
    5205             :                 2,2,
    5206             :                 4,0,
    5207             :                 5,0
    5208             :             };
    5209           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    5210             :         }
    5211             :         {
    5212           0 :             aPropSequence [2].Name = "TextFrames";
    5213           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    5214             :             {
    5215           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    5216             :                 {
    5217             :                     static const CustomShapeProvider::ParameterPairData aData =
    5218             :                     {
    5219             :                         EnhancedCustomShapeParameterType::EQUATION,
    5220             :                         EnhancedCustomShapeParameterType::EQUATION,
    5221             :                         5, 8
    5222             :                     };
    5223           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    5224             :                 }
    5225             :                 {
    5226             :                     static const CustomShapeProvider::ParameterPairData aData =
    5227             :                     {
    5228             :                         EnhancedCustomShapeParameterType::EQUATION,
    5229             :                         EnhancedCustomShapeParameterType::EQUATION,
    5230             :                         6, 9
    5231             :                     };
    5232           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    5233             :                 }
    5234           0 :                 aTextFrameSeq [0] = aTextFrame;
    5235             :             }
    5236           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    5237             :         }
    5238           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    5239             :     }
    5240             :     {
    5241           0 :         awt::Rectangle aRectangle;
    5242           0 :         aRectangle.X = 0;
    5243           0 :         aRectangle.Y = 0;
    5244           0 :         aRectangle.Width = 0;
    5245           0 :         aRectangle.Height = 0;
    5246           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    5247             :     }
    5248           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartMagneticTape");
    5249             : 
    5250           0 :     return aPropertyMap;
    5251             :   }
    5252             : };
    5253           2 : class ShapeCcurvedRightArrow : public CustomShapeProvider
    5254             : {
    5255           0 :   virtual PropertyMap getProperties()
    5256             :   {
    5257           0 :     PropertyMap aPropertyMap;
    5258             : 
    5259             :     {
    5260           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
    5261             :         {
    5262           0 :             Any aAny ((sal_Int32) 25000);
    5263           0 :             aAdjSequence [0].Value = aAny;
    5264           0 :             aAdjSequence [0].Name = "adj1";
    5265             :         }
    5266             :         {
    5267           0 :             Any aAny ((sal_Int32) 50000);
    5268           0 :             aAdjSequence [1].Value = aAny;
    5269           0 :             aAdjSequence [1].Name = "adj2";
    5270             :         }
    5271             :         {
    5272           0 :             Any aAny ((sal_Int32) 25000);
    5273           0 :             aAdjSequence [2].Value = aAny;
    5274           0 :             aAdjSequence [2].Name = "adj3";
    5275             :         }
    5276           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    5277             :     }
    5278             :     {
    5279             :         static const char *aStrings[] = {
    5280             :             "min(logwidth,logheight)",
    5281             :             "50000*logheight/?0 ",
    5282             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    5283             :             "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))",
    5284             :             "?0 *?3 /100000",
    5285             :             "?0 *?2 /100000",
    5286             :             "(?4 +?5 )/4",
    5287             :             "logheight/2",
    5288             :             "?7 +0-?6 ",
    5289             :             "?8 *2/1",
    5290             :             "?9 *?9 /1",
    5291             :             "?4 *?4 /1",
    5292             :             "?10 +0-?11 ",
    5293             :             "sqrt(?12 )",
    5294             :             "?13 *logwidth/?9 ",
    5295             :             "100000*?14 /?0 ",
    5296             :             "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
    5297             :             "?0 *?16 /100000",
    5298             :             "?8 +?4 -0",
    5299             :             "logwidth*logwidth/1",
    5300             :             "?17 *?17 /1",
    5301             :             "?19 +0-?20 ",
    5302             :             "sqrt(?21 )",
    5303             :             "?22 *?8 /logwidth",
    5304             :             "?8 +?23 -0",
    5305             :             "?18 +?23 -0",
    5306             :             "?5 +0-?4 ",
    5307             :             "?26 *1/2",
    5308             :             "?24 +0-?27 ",
    5309             :             "?25 +?27 -0",
    5310             :             "?5 *1/2",
    5311             :             "logheight+0-?30 ",
    5312             :             "logwidth+0-?17 ",
    5313             :             "(10800000*atan2(?23 ,?17 ))/pi",
    5314             :             "10800000+0-?33 ",
    5315             :             "0+0-?33 ",
    5316             :             "logwidth+0-?14 ",
    5317             :             "(?8 +?18 )/2",
    5318             :             "?4 *1/2",
    5319             :             "(10800000*atan2(?38 ,?14 ))/pi",
    5320             :             "?39 +0-5400000",
    5321             :             "5400000+?39 -0",
    5322             :             "10800000+0-?39 ",
    5323             :             "logwidth",
    5324             :             "logheight",
    5325             :             "logwidth",
    5326             :             "(10800000)/60000.0",
    5327             :             "(?35 )/60000.0",
    5328             :             "(?34 )/60000.0",
    5329             :             "(?33 )/60000.0",
    5330             :             "(16200000)/60000.0",
    5331             :             "(?40 )/60000.0",
    5332             :             "(?42 )/60000.0",
    5333             :             "(?41 )/60000.0",
    5334             :             "(10800000)/60000.0",
    5335             :             "(?35 )/60000.0",
    5336             :             "(?34 )/60000.0",
    5337             :             "(?33 )/60000.0",
    5338             :             "(10800000)/60000.0",
    5339             :             "(5400000)/60000.0",
    5340             :             "(16200000)/60000.0",
    5341             :             "(?40 )/60000.0"
    5342             :         };
    5343           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    5344             :     }
    5345             :     {
    5346           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
    5347             :         {
    5348           0 :             Sequence< PropertyValue > aPropSequence (4);
    5349             :             {
    5350           0 :                 aPropSequence [0].Name = "Position";
    5351             :                 static const CustomShapeProvider::ParameterPairData aData =
    5352             :                 {
    5353             :                     EnhancedCustomShapeParameterType::EQUATION,
    5354             :                     EnhancedCustomShapeParameterType::EQUATION,
    5355             :                     32, 24
    5356             :                 };
    5357           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5358             :             }
    5359             :             {
    5360           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    5361           0 :                 EnhancedCustomShapeParameter aParameter;
    5362           0 :                 Any aAny ((sal_Int32) 2);
    5363           0 :                 aParameter.Value = aAny;
    5364           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    5365           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5366             :             }
    5367             :             {
    5368           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    5369           0 :                 EnhancedCustomShapeParameter aParameter;
    5370           0 :                 Any aAny ((sal_Int32) 0);
    5371           0 :                 aParameter.Value = aAny;
    5372           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5373           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5374             :             }
    5375             :             {
    5376           0 :                 aPropSequence [3].Name = "RefY";
    5377           0 :                 Any aAny ((sal_Int32) 0);
    5378           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5379             :             }
    5380           0 :             aPropSequenceSequence [0] = aPropSequence;
    5381             :         }
    5382             :         {
    5383           0 :             Sequence< PropertyValue > aPropSequence (4);
    5384             :             {
    5385           0 :                 aPropSequence [0].Name = "Position";
    5386             :                 static const CustomShapeProvider::ParameterPairData aData =
    5387             :                 {
    5388             :                     EnhancedCustomShapeParameterType::EQUATION,
    5389             :                     EnhancedCustomShapeParameterType::EQUATION,
    5390             :                     43, 28
    5391             :                 };
    5392           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5393             :             }
    5394             :             {
    5395           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    5396           0 :                 EnhancedCustomShapeParameter aParameter;
    5397           0 :                 Any aAny ((sal_Int32) 1);
    5398           0 :                 aParameter.Value = aAny;
    5399           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    5400           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5401             :             }
    5402             :             {
    5403           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    5404           0 :                 EnhancedCustomShapeParameter aParameter;
    5405           0 :                 Any aAny ((sal_Int32) 0);
    5406           0 :                 aParameter.Value = aAny;
    5407           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5408           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5409             :             }
    5410             :             {
    5411           0 :                 aPropSequence [3].Name = "RefY";
    5412           0 :                 Any aAny ((sal_Int32) 1);
    5413           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5414             :             }
    5415           0 :             aPropSequenceSequence [1] = aPropSequence;
    5416             :         }
    5417             :         {
    5418           0 :             Sequence< PropertyValue > aPropSequence (4);
    5419             :             {
    5420           0 :                 aPropSequence [0].Name = "Position";
    5421             :                 static const CustomShapeProvider::ParameterPairData aData =
    5422             :                 {
    5423             :                     EnhancedCustomShapeParameterType::EQUATION,
    5424             :                     EnhancedCustomShapeParameterType::EQUATION,
    5425             :                     32, 44
    5426             :                 };
    5427           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5428             :             }
    5429             :             {
    5430           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    5431           0 :                 EnhancedCustomShapeParameter aParameter;
    5432           0 :                 Any aAny ((sal_Int32) 15);
    5433           0 :                 aParameter.Value = aAny;
    5434           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    5435           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5436             :             }
    5437             :             {
    5438           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    5439           0 :                 EnhancedCustomShapeParameter aParameter;
    5440           0 :                 Any aAny ((sal_Int32) 0);
    5441           0 :                 aParameter.Value = aAny;
    5442           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5443           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5444             :             }
    5445             :             {
    5446           0 :                 aPropSequence [3].Name = "RefX";
    5447           0 :                 Any aAny ((sal_Int32) 2);
    5448           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5449             :             }
    5450           0 :             aPropSequenceSequence [2] = aPropSequence;
    5451             :         }
    5452           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    5453             :     }
    5454             :     {
    5455           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    5456             :     }
    5457             :     {
    5458           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    5459             :     }
    5460             :     {
    5461           0 :         Sequence< PropertyValue > aPropSequence (3);
    5462             :         {
    5463           0 :             aPropSequence [0].Name = "Coordinates";
    5464             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    5465             :                 {
    5466             :                     EnhancedCustomShapeParameterType::NORMAL,
    5467             :                     EnhancedCustomShapeParameterType::EQUATION,
    5468             :                     0, 8
    5469             :                 },
    5470             :                 {
    5471             :                     EnhancedCustomShapeParameterType::EQUATION,
    5472             :                     EnhancedCustomShapeParameterType::EQUATION,
    5473             :                     45, 8
    5474             :                 },
    5475             :                 {
    5476             :                     EnhancedCustomShapeParameterType::EQUATION,
    5477             :                     EnhancedCustomShapeParameterType::EQUATION,
    5478             :                     46, 47
    5479             :                 },
    5480             :                 {
    5481             :                     EnhancedCustomShapeParameterType::EQUATION,
    5482             :                     EnhancedCustomShapeParameterType::EQUATION,
    5483             :                     32, 28
    5484             :                 },
    5485             :                 {
    5486             :                     EnhancedCustomShapeParameterType::EQUATION,
    5487             :                     EnhancedCustomShapeParameterType::EQUATION,
    5488             :                     43, 31
    5489             :                 },
    5490             :                 {
    5491             :                     EnhancedCustomShapeParameterType::EQUATION,
    5492             :                     EnhancedCustomShapeParameterType::EQUATION,
    5493             :                     32, 29
    5494             :                 },
    5495             :                 {
    5496             :                     EnhancedCustomShapeParameterType::EQUATION,
    5497             :                     EnhancedCustomShapeParameterType::EQUATION,
    5498             :                     32, 25
    5499             :                 },
    5500             :                 {
    5501             :                     EnhancedCustomShapeParameterType::EQUATION,
    5502             :                     EnhancedCustomShapeParameterType::EQUATION,
    5503             :                     45, 8
    5504             :                 },
    5505             :                 {
    5506             :                     EnhancedCustomShapeParameterType::EQUATION,
    5507             :                     EnhancedCustomShapeParameterType::EQUATION,
    5508             :                     48, 49
    5509             :                 },
    5510             :                 {
    5511             :                     EnhancedCustomShapeParameterType::EQUATION,
    5512             :                     EnhancedCustomShapeParameterType::EQUATION,
    5513             :                     43, 4
    5514             :                 },
    5515             :                 {
    5516             :                     EnhancedCustomShapeParameterType::EQUATION,
    5517             :                     EnhancedCustomShapeParameterType::EQUATION,
    5518             :                     45, 8
    5519             :                 },
    5520             :                 {
    5521             :                     EnhancedCustomShapeParameterType::EQUATION,
    5522             :                     EnhancedCustomShapeParameterType::EQUATION,
    5523             :                     50, 51
    5524             :                 },
    5525             :                 {
    5526             :                     EnhancedCustomShapeParameterType::EQUATION,
    5527             :                     EnhancedCustomShapeParameterType::EQUATION,
    5528             :                     45, 8
    5529             :                 },
    5530             :                 {
    5531             :                     EnhancedCustomShapeParameterType::EQUATION,
    5532             :                     EnhancedCustomShapeParameterType::EQUATION,
    5533             :                     52, 53
    5534             :                 },
    5535             :                 {
    5536             :                     EnhancedCustomShapeParameterType::NORMAL,
    5537             :                     EnhancedCustomShapeParameterType::EQUATION,
    5538             :                     0, 8
    5539             :                 },
    5540             :                 {
    5541             :                     EnhancedCustomShapeParameterType::EQUATION,
    5542             :                     EnhancedCustomShapeParameterType::EQUATION,
    5543             :                     45, 8
    5544             :                 },
    5545             :                 {
    5546             :                     EnhancedCustomShapeParameterType::EQUATION,
    5547             :                     EnhancedCustomShapeParameterType::EQUATION,
    5548             :                     54, 55
    5549             :                 },
    5550             :                 {
    5551             :                     EnhancedCustomShapeParameterType::EQUATION,
    5552             :                     EnhancedCustomShapeParameterType::EQUATION,
    5553             :                     32, 28
    5554             :                 },
    5555             :                 {
    5556             :                     EnhancedCustomShapeParameterType::EQUATION,
    5557             :                     EnhancedCustomShapeParameterType::EQUATION,
    5558             :                     43, 31
    5559             :                 },
    5560             :                 {
    5561             :                     EnhancedCustomShapeParameterType::EQUATION,
    5562             :                     EnhancedCustomShapeParameterType::EQUATION,
    5563             :                     32, 29
    5564             :                 },
    5565             :                 {
    5566             :                     EnhancedCustomShapeParameterType::EQUATION,
    5567             :                     EnhancedCustomShapeParameterType::EQUATION,
    5568             :                     32, 25
    5569             :                 },
    5570             :                 {
    5571             :                     EnhancedCustomShapeParameterType::EQUATION,
    5572             :                     EnhancedCustomShapeParameterType::EQUATION,
    5573             :                     45, 8
    5574             :                 },
    5575             :                 {
    5576             :                     EnhancedCustomShapeParameterType::EQUATION,
    5577             :                     EnhancedCustomShapeParameterType::EQUATION,
    5578             :                     56, 57
    5579             :                 },
    5580             :                 {
    5581             :                     EnhancedCustomShapeParameterType::NORMAL,
    5582             :                     EnhancedCustomShapeParameterType::EQUATION,
    5583             :                     0, 8
    5584             :                 },
    5585             :                 {
    5586             :                     EnhancedCustomShapeParameterType::EQUATION,
    5587             :                     EnhancedCustomShapeParameterType::EQUATION,
    5588             :                     45, 8
    5589             :                 },
    5590             :                 {
    5591             :                     EnhancedCustomShapeParameterType::EQUATION,
    5592             :                     EnhancedCustomShapeParameterType::EQUATION,
    5593             :                     58, 59
    5594             :                 },
    5595             :                 {
    5596             :                     EnhancedCustomShapeParameterType::EQUATION,
    5597             :                     EnhancedCustomShapeParameterType::EQUATION,
    5598             :                     43, 4
    5599             :                 },
    5600             :                 {
    5601             :                     EnhancedCustomShapeParameterType::EQUATION,
    5602             :                     EnhancedCustomShapeParameterType::EQUATION,
    5603             :                     45, 8
    5604             :                 },
    5605             :                 {
    5606             :                     EnhancedCustomShapeParameterType::EQUATION,
    5607             :                     EnhancedCustomShapeParameterType::EQUATION,
    5608             :                     60, 61
    5609             :                 }
    5610             :             };
    5611           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    5612             :         }
    5613             :         {
    5614           0 :             aPropSequence [1].Name = "Segments";
    5615             :             static const sal_uInt16 nValues[] = {
    5616             :             // Command, Count
    5617             :                 1,1,
    5618             :                 17,1,
    5619             :                 2,4,
    5620             :                 17,1,
    5621             :                 4,0,
    5622             :                 7,0,
    5623             :                 5,0,
    5624             :                 1,1,
    5625             :                 17,2,
    5626             :                 4,0,
    5627             :                 19,0,
    5628             :                 7,0,
    5629             :                 5,0,
    5630             :                 1,1,
    5631             :                 17,1,
    5632             :                 2,4,
    5633             :                 17,1,
    5634             :                 2,1,
    5635             :                 17,1,
    5636             :                 2,1,
    5637             :                 17,1,
    5638             :                 6,0,
    5639             :                 5,0
    5640             :             };
    5641           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    5642             :         }
    5643             :         {
    5644           0 :             aPropSequence [2].Name = "TextFrames";
    5645           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    5646             :             {
    5647           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    5648             :                 {
    5649             :                     static const CustomShapeProvider::ParameterPairData aData =
    5650             :                     {
    5651             :                         EnhancedCustomShapeParameterType::NORMAL,
    5652             :                         EnhancedCustomShapeParameterType::NORMAL,
    5653             :                         0, 0
    5654             :                     };
    5655           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    5656             :                 }
    5657             :                 {
    5658             :                     static const CustomShapeProvider::ParameterPairData aData =
    5659             :                     {
    5660             :                         EnhancedCustomShapeParameterType::EQUATION,
    5661             :                         EnhancedCustomShapeParameterType::EQUATION,
    5662             :                         43, 44
    5663             :                     };
    5664           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    5665             :                 }
    5666           0 :                 aTextFrameSeq [0] = aTextFrame;
    5667             :             }
    5668           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    5669             :         }
    5670           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    5671             :     }
    5672             :     {
    5673           0 :         awt::Rectangle aRectangle;
    5674           0 :         aRectangle.X = 0;
    5675           0 :         aRectangle.Y = 0;
    5676           0 :         aRectangle.Width = 0;
    5677           0 :         aRectangle.Height = 0;
    5678           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    5679             :     }
    5680           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedRightArrow");
    5681             : 
    5682           0 :     return aPropertyMap;
    5683             :   }
    5684             : };
    5685           2 : class ShapeCleftUpArrow : public CustomShapeProvider
    5686             : {
    5687           0 :   virtual PropertyMap getProperties()
    5688             :   {
    5689           0 :     PropertyMap aPropertyMap;
    5690             : 
    5691             :     {
    5692           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
    5693             :         {
    5694           0 :             Any aAny ((sal_Int32) 25000);
    5695           0 :             aAdjSequence [0].Value = aAny;
    5696           0 :             aAdjSequence [0].Name = "adj1";
    5697             :         }
    5698             :         {
    5699           0 :             Any aAny ((sal_Int32) 25000);
    5700           0 :             aAdjSequence [1].Value = aAny;
    5701           0 :             aAdjSequence [1].Name = "adj2";
    5702             :         }
    5703             :         {
    5704           0 :             Any aAny ((sal_Int32) 25000);
    5705           0 :             aAdjSequence [2].Value = aAny;
    5706           0 :             aAdjSequence [2].Name = "adj3";
    5707             :         }
    5708           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    5709             :     }
    5710             :     {
    5711             :         static const char *aStrings[] = {
    5712             :             "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
    5713             :             "?0 *2/1",
    5714             :             "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
    5715             :             "100000+0-?1 ",
    5716             :             "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))",
    5717             :             "min(logwidth,logheight)",
    5718             :             "?5 *?4 /100000",
    5719             :             "?5 *?0 /50000",
    5720             :             "logwidth+0-?7 ",
    5721             :             "logheight+0-?7 ",
    5722             :             "?5 *?0 /100000",
    5723             :             "logwidth+0-?10 ",
    5724             :             "logheight+0-?10 ",
    5725             :             "?5 *?2 /200000",
    5726             :             "?11 +0-?13 ",
    5727             :             "?11 +?13 -0",
    5728             :             "?12 +0-?13 ",
    5729             :             "?12 +?13 -0",
    5730             :             "?13 *?6 /?10 ",
    5731             :             "(?6 +?15 )/2",
    5732             :             "(?6 +?17 )/2",
    5733             :             "logheight",
    5734             :             "logwidth"
    5735             :         };
    5736           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    5737             :     }
    5738             :     {
    5739           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
    5740             :         {
    5741           0 :             Sequence< PropertyValue > aPropSequence (4);
    5742             :             {
    5743           0 :                 aPropSequence [0].Name = "Position";
    5744             :                 static const CustomShapeProvider::ParameterPairData aData =
    5745             :                 {
    5746             :                     EnhancedCustomShapeParameterType::EQUATION,
    5747             :                     EnhancedCustomShapeParameterType::EQUATION,
    5748             :                     14, 16
    5749             :                 };
    5750           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5751             :             }
    5752             :             {
    5753           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    5754           0 :                 EnhancedCustomShapeParameter aParameter;
    5755           0 :                 Any aAny ((sal_Int32) 1);
    5756           0 :                 aParameter.Value = aAny;
    5757           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    5758           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5759             :             }
    5760             :             {
    5761           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    5762           0 :                 EnhancedCustomShapeParameter aParameter;
    5763           0 :                 Any aAny ((sal_Int32) 0);
    5764           0 :                 aParameter.Value = aAny;
    5765           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5766           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5767             :             }
    5768             :             {
    5769           0 :                 aPropSequence [3].Name = "RefY";
    5770           0 :                 Any aAny ((sal_Int32) 0);
    5771           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5772             :             }
    5773           0 :             aPropSequenceSequence [0] = aPropSequence;
    5774             :         }
    5775             :         {
    5776           0 :             Sequence< PropertyValue > aPropSequence (4);
    5777             :             {
    5778           0 :                 aPropSequence [0].Name = "Position";
    5779             :                 static const CustomShapeProvider::ParameterPairData aData =
    5780             :                 {
    5781             :                     EnhancedCustomShapeParameterType::EQUATION,
    5782             :                     EnhancedCustomShapeParameterType::NORMAL,
    5783             :                     8, 0
    5784             :                 };
    5785           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5786             :             }
    5787             :             {
    5788           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    5789           0 :                 EnhancedCustomShapeParameter aParameter;
    5790           0 :                 Any aAny ((sal_Int32) 50000);
    5791           0 :                 aParameter.Value = aAny;
    5792           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5793           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5794             :             }
    5795             :             {
    5796           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    5797           0 :                 EnhancedCustomShapeParameter aParameter;
    5798           0 :                 Any aAny ((sal_Int32) 0);
    5799           0 :                 aParameter.Value = aAny;
    5800           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5801           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5802             :             }
    5803             :             {
    5804           0 :                 aPropSequence [3].Name = "RefX";
    5805           0 :                 Any aAny ((sal_Int32) 1);
    5806           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5807             :             }
    5808           0 :             aPropSequenceSequence [1] = aPropSequence;
    5809             :         }
    5810             :         {
    5811           0 :             Sequence< PropertyValue > aPropSequence (4);
    5812             :             {
    5813           0 :                 aPropSequence [0].Name = "Position";
    5814             :                 static const CustomShapeProvider::ParameterPairData aData =
    5815             :                 {
    5816             :                     EnhancedCustomShapeParameterType::EQUATION,
    5817             :                     EnhancedCustomShapeParameterType::EQUATION,
    5818             :                     14, 6
    5819             :                 };
    5820           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    5821             :             }
    5822             :             {
    5823           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    5824           0 :                 EnhancedCustomShapeParameter aParameter;
    5825           0 :                 Any aAny ((sal_Int32) 3);
    5826           0 :                 aParameter.Value = aAny;
    5827           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    5828           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    5829             :             }
    5830             :             {
    5831           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    5832           0 :                 EnhancedCustomShapeParameter aParameter;
    5833           0 :                 Any aAny ((sal_Int32) 0);
    5834           0 :                 aParameter.Value = aAny;
    5835           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    5836           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    5837             :             }
    5838             :             {
    5839           0 :                 aPropSequence [3].Name = "RefY";
    5840           0 :                 Any aAny ((sal_Int32) 2);
    5841           0 :                 aPropSequence [3].Value = makeAny (aAny);
    5842             :             }
    5843           0 :             aPropSequenceSequence [2] = aPropSequence;
    5844             :         }
    5845           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    5846             :     }
    5847             :     {
    5848           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    5849             :     }
    5850             :     {
    5851           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    5852             :     }
    5853             :     {
    5854           0 :         Sequence< PropertyValue > aPropSequence (3);
    5855             :         {
    5856           0 :             aPropSequence [0].Name = "Coordinates";
    5857             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    5858             :                 {
    5859             :                     EnhancedCustomShapeParameterType::NORMAL,
    5860             :                     EnhancedCustomShapeParameterType::EQUATION,
    5861             :                     0, 12
    5862             :                 },
    5863             :                 {
    5864             :                     EnhancedCustomShapeParameterType::EQUATION,
    5865             :                     EnhancedCustomShapeParameterType::EQUATION,
    5866             :                     6, 9
    5867             :                 },
    5868             :                 {
    5869             :                     EnhancedCustomShapeParameterType::EQUATION,
    5870             :                     EnhancedCustomShapeParameterType::EQUATION,
    5871             :                     6, 16
    5872             :                 },
    5873             :                 {
    5874             :                     EnhancedCustomShapeParameterType::EQUATION,
    5875             :                     EnhancedCustomShapeParameterType::EQUATION,
    5876             :                     14, 16
    5877             :                 },
    5878             :                 {
    5879             :                     EnhancedCustomShapeParameterType::EQUATION,
    5880             :                     EnhancedCustomShapeParameterType::EQUATION,
    5881             :                     14, 6
    5882             :                 },
    5883             :                 {
    5884             :                     EnhancedCustomShapeParameterType::EQUATION,
    5885             :                     EnhancedCustomShapeParameterType::EQUATION,
    5886             :                     8, 6
    5887             :                 },
    5888             :                 {
    5889             :                     EnhancedCustomShapeParameterType::EQUATION,
    5890             :                     EnhancedCustomShapeParameterType::NORMAL,
    5891             :                     11, 0
    5892             :                 },
    5893             :                 {
    5894             :                     EnhancedCustomShapeParameterType::EQUATION,
    5895             :                     EnhancedCustomShapeParameterType::EQUATION,
    5896             :                     22, 6
    5897             :                 },
    5898             :                 {
    5899             :                     EnhancedCustomShapeParameterType::EQUATION,
    5900             :                     EnhancedCustomShapeParameterType::EQUATION,
    5901             :                     15, 6
    5902             :                 },
    5903             :                 {
    5904             :                     EnhancedCustomShapeParameterType::EQUATION,
    5905             :                     EnhancedCustomShapeParameterType::EQUATION,
    5906             :                     15, 17
    5907             :                 },
    5908             :                 {
    5909             :                     EnhancedCustomShapeParameterType::EQUATION,
    5910             :                     EnhancedCustomShapeParameterType::EQUATION,
    5911             :                     6, 17
    5912             :                 },
    5913             :                 {
    5914             :                     EnhancedCustomShapeParameterType::EQUATION,
    5915             :                     EnhancedCustomShapeParameterType::EQUATION,
    5916             :                     6, 21
    5917             :                 }
    5918             :             };
    5919           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    5920             :         }
    5921             :         {
    5922           0 :             aPropSequence [1].Name = "Segments";
    5923             :             static const sal_uInt16 nValues[] = {
    5924             :             // Command, Count
    5925             :                 1,1,
    5926             :                 2,11,
    5927             :                 4,0,
    5928             :                 5,0
    5929             :             };
    5930           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    5931             :         }
    5932             :         {
    5933           0 :             aPropSequence [2].Name = "TextFrames";
    5934           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    5935             :             {
    5936           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    5937             :                 {
    5938             :                     static const CustomShapeProvider::ParameterPairData aData =
    5939             :                     {
    5940             :                         EnhancedCustomShapeParameterType::EQUATION,
    5941             :                         EnhancedCustomShapeParameterType::EQUATION,
    5942             :                         18, 16
    5943             :                     };
    5944           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    5945             :                 }
    5946             :                 {
    5947             :                     static const CustomShapeProvider::ParameterPairData aData =
    5948             :                     {
    5949             :                         EnhancedCustomShapeParameterType::EQUATION,
    5950             :                         EnhancedCustomShapeParameterType::EQUATION,
    5951             :                         11, 17
    5952             :                     };
    5953           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    5954             :                 }
    5955           0 :                 aTextFrameSeq [0] = aTextFrame;
    5956             :             }
    5957           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    5958             :         }
    5959           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    5960             :     }
    5961             :     {
    5962           0 :         awt::Rectangle aRectangle;
    5963           0 :         aRectangle.X = 0;
    5964           0 :         aRectangle.Y = 0;
    5965           0 :         aRectangle.Width = 0;
    5966           0 :         aRectangle.Height = 0;
    5967           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    5968             :     }
    5969           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftUpArrow");
    5970             : 
    5971           0 :     return aPropertyMap;
    5972             :   }
    5973             : };
    5974           2 : class ShapeCwedgeEllipseCallout : public CustomShapeProvider
    5975             : {
    5976           0 :   virtual PropertyMap getProperties()
    5977             :   {
    5978           0 :     PropertyMap aPropertyMap;
    5979             : 
    5980             :     {
    5981           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    5982             :         {
    5983           0 :             Any aAny ((sal_Int32) -20833);
    5984           0 :             aAdjSequence [0].Value = aAny;
    5985           0 :             aAdjSequence [0].Name = "adj1";
    5986             :         }
    5987             :         {
    5988           0 :             Any aAny ((sal_Int32) 62500);
    5989           0 :             aAdjSequence [1].Value = aAny;
    5990           0 :             aAdjSequence [1].Name = "adj2";
    5991             :         }
    5992           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    5993             :     }
    5994             :     {
    5995             :         static const char *aStrings[] = {
    5996             :             "logwidth*$0 /100000",
    5997             :             "logheight*$1 /100000",
    5998             :             "logwidth/2",
    5999             :             "?2 +?0 -0",
    6000             :             "logheight/2",
    6001             :             "?4 +?1 -0",
    6002             :             "?0 *logheight/1",
    6003             :             "?1 *logwidth/1",
    6004             :             "(10800000*atan2(?7 ,?6 ))/pi",
    6005             :             "?8 +660000-0",
    6006             :             "?8 +0-660000",
    6007             :             "logwidth/2",
    6008             :             "?11 *cos(pi*(?9 )/10800000)",
    6009             :             "logheight/2",
    6010             :             "?13 *sin(pi*(?9 )/10800000)",
    6011             :             "?2 +?12 -0",
    6012             :             "?4 +?14 -0",
    6013             :             "?11 *cos(pi*(?10 )/10800000)",
    6014             :             "?13 *sin(pi*(?10 )/10800000)",
    6015             :             "?2 +?17 -0",
    6016             :             "?4 +?18 -0",
    6017             :             "(10800000*atan2(?14 ,?12 ))/pi",
    6018             :             "(10800000*atan2(?18 ,?17 ))/pi",
    6019             :             "?22 +0-?21 ",
    6020             :             "?23 +21600000-0",
    6021             :             "if(?23 ,?23 ,?24 )",
    6022             :             "?11 *cos(pi*(2700000)/10800000)",
    6023             :             "?13 *sin(pi*(2700000)/10800000)",
    6024             :             "?2 +0-?26 ",
    6025             :             "?2 +?26 -0",
    6026             :             "?4 +0-?27 ",
    6027             :             "?4 +?27 -0",
    6028             :             "logheight",
    6029             :             "logwidth",
    6030             :             "(?21 )/60000.0",
    6031             :             "(?25 )/60000.0"
    6032             :         };
    6033           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    6034             :     }
    6035             :     {
    6036           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    6037             :         {
    6038           0 :             Sequence< PropertyValue > aPropSequence (7);
    6039             :             {
    6040           0 :                 aPropSequence [0].Name = "Position";
    6041             :                 static const CustomShapeProvider::ParameterPairData aData =
    6042             :                 {
    6043             :                     EnhancedCustomShapeParameterType::EQUATION,
    6044             :                     EnhancedCustomShapeParameterType::EQUATION,
    6045             :                     3, 5
    6046             :                 };
    6047           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6048             :             }
    6049             :             {
    6050           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    6051           0 :                 EnhancedCustomShapeParameter aParameter;
    6052           0 :                 Any aAny ((sal_Int32) 2147483647);
    6053           0 :                 aParameter.Value = aAny;
    6054           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6055           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6056             :             }
    6057             :             {
    6058           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    6059           0 :                 EnhancedCustomShapeParameter aParameter;
    6060           0 :                 Any aAny ((sal_Int32) -2147483647);
    6061           0 :                 aParameter.Value = aAny;
    6062           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6063           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6064             :             }
    6065             :             {
    6066           0 :                 aPropSequence [3].Name = "RangeYMaximum";
    6067           0 :                 EnhancedCustomShapeParameter aParameter;
    6068           0 :                 Any aAny ((sal_Int32) 2147483647);
    6069           0 :                 aParameter.Value = aAny;
    6070           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6071           0 :                 aPropSequence [3].Value = makeAny (aParameter);
    6072             :             }
    6073             :             {
    6074           0 :                 aPropSequence [4].Name = "RangeYMinimum";
    6075           0 :                 EnhancedCustomShapeParameter aParameter;
    6076           0 :                 Any aAny ((sal_Int32) -2147483647);
    6077           0 :                 aParameter.Value = aAny;
    6078           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6079           0 :                 aPropSequence [4].Value = makeAny (aParameter);
    6080             :             }
    6081             :             {
    6082           0 :                 aPropSequence [5].Name = "RefX";
    6083           0 :                 Any aAny ((sal_Int32) 0);
    6084           0 :                 aPropSequence [5].Value = makeAny (aAny);
    6085             :             }
    6086             :             {
    6087           0 :                 aPropSequence [6].Name = "RefY";
    6088           0 :                 Any aAny ((sal_Int32) 1);
    6089           0 :                 aPropSequence [6].Value = makeAny (aAny);
    6090             :             }
    6091           0 :             aPropSequenceSequence [0] = aPropSequence;
    6092             :         }
    6093           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    6094             :     }
    6095             :     {
    6096           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    6097             :     }
    6098             :     {
    6099           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    6100             :     }
    6101             :     {
    6102           0 :         Sequence< PropertyValue > aPropSequence (3);
    6103             :         {
    6104           0 :             aPropSequence [0].Name = "Coordinates";
    6105             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    6106             :                 {
    6107             :                     EnhancedCustomShapeParameterType::EQUATION,
    6108             :                     EnhancedCustomShapeParameterType::EQUATION,
    6109             :                     3, 5
    6110             :                 },
    6111             :                 {
    6112             :                     EnhancedCustomShapeParameterType::EQUATION,
    6113             :                     EnhancedCustomShapeParameterType::EQUATION,
    6114             :                     15, 16
    6115             :                 },
    6116             :                 {
    6117             :                     EnhancedCustomShapeParameterType::EQUATION,
    6118             :                     EnhancedCustomShapeParameterType::EQUATION,
    6119             :                     11, 13
    6120             :                 },
    6121             :                 {
    6122             :                     EnhancedCustomShapeParameterType::EQUATION,
    6123             :                     EnhancedCustomShapeParameterType::EQUATION,
    6124             :                     34, 35
    6125             :                 }
    6126             :             };
    6127           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    6128             :         }
    6129             :         {
    6130           0 :             aPropSequence [1].Name = "Segments";
    6131             :             static const sal_uInt16 nValues[] = {
    6132             :             // Command, Count
    6133             :                 1,1,
    6134             :                 2,1,
    6135             :                 17,1,
    6136             :                 4,0,
    6137             :                 5,0
    6138             :             };
    6139           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    6140             :         }
    6141             :         {
    6142           0 :             aPropSequence [2].Name = "TextFrames";
    6143           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    6144             :             {
    6145           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    6146             :                 {
    6147             :                     static const CustomShapeProvider::ParameterPairData aData =
    6148             :                     {
    6149             :                         EnhancedCustomShapeParameterType::EQUATION,
    6150             :                         EnhancedCustomShapeParameterType::EQUATION,
    6151             :                         28, 30
    6152             :                     };
    6153           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    6154             :                 }
    6155             :                 {
    6156             :                     static const CustomShapeProvider::ParameterPairData aData =
    6157             :                     {
    6158             :                         EnhancedCustomShapeParameterType::EQUATION,
    6159             :                         EnhancedCustomShapeParameterType::EQUATION,
    6160             :                         29, 31
    6161             :                     };
    6162           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    6163             :                 }
    6164           0 :                 aTextFrameSeq [0] = aTextFrame;
    6165             :             }
    6166           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    6167             :         }
    6168           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    6169             :     }
    6170             :     {
    6171           0 :         awt::Rectangle aRectangle;
    6172           0 :         aRectangle.X = 0;
    6173           0 :         aRectangle.Y = 0;
    6174           0 :         aRectangle.Width = 0;
    6175           0 :         aRectangle.Height = 0;
    6176           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    6177             :     }
    6178           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-wedgeEllipseCallout");
    6179             : 
    6180           0 :     return aPropertyMap;
    6181             :   }
    6182             : };
    6183           2 : class ShapeCdoubleWave : public CustomShapeProvider
    6184             : {
    6185           0 :   virtual PropertyMap getProperties()
    6186             :   {
    6187           0 :     PropertyMap aPropertyMap;
    6188             : 
    6189             :     {
    6190           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    6191             :         {
    6192           0 :             Any aAny ((sal_Int32) 6250);
    6193           0 :             aAdjSequence [0].Value = aAny;
    6194           0 :             aAdjSequence [0].Name = "adj1";
    6195             :         }
    6196             :         {
    6197           0 :             Any aAny ((sal_Int32) 0);
    6198           0 :             aAdjSequence [1].Value = aAny;
    6199           0 :             aAdjSequence [1].Name = "adj2";
    6200             :         }
    6201           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    6202             :     }
    6203             :     {
    6204             :         static const char *aStrings[] = {
    6205             :             "if(0-$0 ,0,if(12500-$0 ,$0 ,12500))",
    6206             :             "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))",
    6207             :             "logheight*?0 /100000",
    6208             :             "?2 *10/3",
    6209             :             "?2 +0-?3 ",
    6210             :             "?2 +?3 -0",
    6211             :             "logheight+0-?2 ",
    6212             :             "?6 +0-?3 ",
    6213             :             "?6 +?3 -0",
    6214             :             "logwidth*?1 /100000",
    6215             :             "logwidth*?1 /50000",
    6216             :             "abs(?9 )",
    6217             :             "if(?10 ,0,?10 )",
    6218             :             "0+0-?12 ",
    6219             :             "if(?10 ,?10 ,0)",
    6220             :             "logwidth+0-?14 ",
    6221             :             "(?12 +?15 )/6",
    6222             :             "?13 +?16 -0",
    6223             :             "(?12 +?15 )/3",
    6224             :             "?13 +?18 -0",
    6225             :             "(?13 +?15 )/2",
    6226             :             "?20 +?16 -0",
    6227             :             "(?21 +?15 )/2",
    6228             :             "0+?14 -0",
    6229             :             "logwidth+?12 -0",
    6230             :             "?23 +?16 -0",
    6231             :             "?23 +?18 -0",
    6232             :             "(?23 +?24 )/2",
    6233             :             "?27 +?16 -0",
    6234             :             "(?28 +?24 )/2",
    6235             :             "logwidth+0-?11 ",
    6236             :             "logwidth/2",
    6237             :             "?31 +?9 -0",
    6238             :             "max(?13 ,?23 )",
    6239             :             "min(?15 ,?24 )",
    6240             :             "logheight*?0 /50000",
    6241             :             "logheight+0-?35 ",
    6242             :             "logheight",
    6243             :             "logheight/2"
    6244             :         };
    6245           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    6246             :     }
    6247             :     {
    6248           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    6249             :         {
    6250           0 :             Sequence< PropertyValue > aPropSequence (4);
    6251             :             {
    6252           0 :                 aPropSequence [0].Name = "Position";
    6253             :                 static const CustomShapeProvider::ParameterPairData aData =
    6254             :                 {
    6255             :                     EnhancedCustomShapeParameterType::NORMAL,
    6256             :                     EnhancedCustomShapeParameterType::EQUATION,
    6257             :                     0, 2
    6258             :                 };
    6259           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6260             :             }
    6261             :             {
    6262           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    6263           0 :                 EnhancedCustomShapeParameter aParameter;
    6264           0 :                 Any aAny ((sal_Int32) 12500);
    6265           0 :                 aParameter.Value = aAny;
    6266           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6267           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6268             :             }
    6269             :             {
    6270           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    6271           0 :                 EnhancedCustomShapeParameter aParameter;
    6272           0 :                 Any aAny ((sal_Int32) 0);
    6273           0 :                 aParameter.Value = aAny;
    6274           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6275           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6276             :             }
    6277             :             {
    6278           0 :                 aPropSequence [3].Name = "RefY";
    6279           0 :                 Any aAny ((sal_Int32) 0);
    6280           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6281             :             }
    6282           0 :             aPropSequenceSequence [0] = aPropSequence;
    6283             :         }
    6284             :         {
    6285           0 :             Sequence< PropertyValue > aPropSequence (4);
    6286             :             {
    6287           0 :                 aPropSequence [0].Name = "Position";
    6288             :                 static const CustomShapeProvider::ParameterPairData aData =
    6289             :                 {
    6290             :                     EnhancedCustomShapeParameterType::EQUATION,
    6291             :                     EnhancedCustomShapeParameterType::EQUATION,
    6292             :                     32, 37
    6293             :                 };
    6294           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6295             :             }
    6296             :             {
    6297           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    6298           0 :                 EnhancedCustomShapeParameter aParameter;
    6299           0 :                 Any aAny ((sal_Int32) 10000);
    6300           0 :                 aParameter.Value = aAny;
    6301           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6302           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6303             :             }
    6304             :             {
    6305           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    6306           0 :                 EnhancedCustomShapeParameter aParameter;
    6307           0 :                 Any aAny ((sal_Int32) -10000);
    6308           0 :                 aParameter.Value = aAny;
    6309           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6310           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6311             :             }
    6312             :             {
    6313           0 :                 aPropSequence [3].Name = "RefX";
    6314           0 :                 Any aAny ((sal_Int32) 1);
    6315           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6316             :             }
    6317           0 :             aPropSequenceSequence [1] = aPropSequence;
    6318             :         }
    6319           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    6320             :     }
    6321             :     {
    6322           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    6323             :     }
    6324             :     {
    6325           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    6326             :     }
    6327             :     {
    6328           0 :         Sequence< PropertyValue > aPropSequence (3);
    6329             :         {
    6330           0 :             aPropSequence [0].Name = "Coordinates";
    6331             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    6332             :                 {
    6333             :                     EnhancedCustomShapeParameterType::EQUATION,
    6334             :                     EnhancedCustomShapeParameterType::EQUATION,
    6335             :                     13, 2
    6336             :                 },
    6337             :                 {
    6338             :                     EnhancedCustomShapeParameterType::EQUATION,
    6339             :                     EnhancedCustomShapeParameterType::EQUATION,
    6340             :                     17, 4
    6341             :                 },
    6342             :                 {
    6343             :                     EnhancedCustomShapeParameterType::EQUATION,
    6344             :                     EnhancedCustomShapeParameterType::EQUATION,
    6345             :                     19, 5
    6346             :                 },
    6347             :                 {
    6348             :                     EnhancedCustomShapeParameterType::EQUATION,
    6349             :                     EnhancedCustomShapeParameterType::EQUATION,
    6350             :                     20, 2
    6351             :                 },
    6352             :                 {
    6353             :                     EnhancedCustomShapeParameterType::EQUATION,
    6354             :                     EnhancedCustomShapeParameterType::EQUATION,
    6355             :                     21, 4
    6356             :                 },
    6357             :                 {
    6358             :                     EnhancedCustomShapeParameterType::EQUATION,
    6359             :                     EnhancedCustomShapeParameterType::EQUATION,
    6360             :                     22, 5
    6361             :                 },
    6362             :                 {
    6363             :                     EnhancedCustomShapeParameterType::EQUATION,
    6364             :                     EnhancedCustomShapeParameterType::EQUATION,
    6365             :                     15, 2
    6366             :                 },
    6367             :                 {
    6368             :                     EnhancedCustomShapeParameterType::EQUATION,
    6369             :                     EnhancedCustomShapeParameterType::EQUATION,
    6370             :                     24, 6
    6371             :                 },
    6372             :                 {
    6373             :                     EnhancedCustomShapeParameterType::EQUATION,
    6374             :                     EnhancedCustomShapeParameterType::EQUATION,
    6375             :                     29, 8
    6376             :                 },
    6377             :                 {
    6378             :                     EnhancedCustomShapeParameterType::EQUATION,
    6379             :                     EnhancedCustomShapeParameterType::EQUATION,
    6380             :                     28, 7
    6381             :                 },
    6382             :                 {
    6383             :                     EnhancedCustomShapeParameterType::EQUATION,
    6384             :                     EnhancedCustomShapeParameterType::EQUATION,
    6385             :                     27, 6
    6386             :                 },
    6387             :                 {
    6388             :                     EnhancedCustomShapeParameterType::EQUATION,
    6389             :                     EnhancedCustomShapeParameterType::EQUATION,
    6390             :                     26, 8
    6391             :                 },
    6392             :                 {
    6393             :                     EnhancedCustomShapeParameterType::EQUATION,
    6394             :                     EnhancedCustomShapeParameterType::EQUATION,
    6395             :                     25, 7
    6396             :                 },
    6397             :                 {
    6398             :                     EnhancedCustomShapeParameterType::EQUATION,
    6399             :                     EnhancedCustomShapeParameterType::EQUATION,
    6400             :                     23, 6
    6401             :                 }
    6402             :             };
    6403           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    6404             :         }
    6405             :         {
    6406           0 :             aPropSequence [1].Name = "Segments";
    6407             :             static const sal_uInt16 nValues[] = {
    6408             :             // Command, Count
    6409             :                 1,1,
    6410             :                 3,2,
    6411             :                 2,1,
    6412             :                 3,2,
    6413             :                 4,0,
    6414             :                 5,0
    6415             :             };
    6416           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    6417             :         }
    6418             :         {
    6419           0 :             aPropSequence [2].Name = "TextFrames";
    6420           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    6421             :             {
    6422           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    6423             :                 {
    6424             :                     static const CustomShapeProvider::ParameterPairData aData =
    6425             :                     {
    6426             :                         EnhancedCustomShapeParameterType::EQUATION,
    6427             :                         EnhancedCustomShapeParameterType::EQUATION,
    6428             :                         33, 35
    6429             :                     };
    6430           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    6431             :                 }
    6432             :                 {
    6433             :                     static const CustomShapeProvider::ParameterPairData aData =
    6434             :                     {
    6435             :                         EnhancedCustomShapeParameterType::EQUATION,
    6436             :                         EnhancedCustomShapeParameterType::EQUATION,
    6437             :                         34, 36
    6438             :                     };
    6439           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    6440             :                 }
    6441           0 :                 aTextFrameSeq [0] = aTextFrame;
    6442             :             }
    6443           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    6444             :         }
    6445           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    6446             :     }
    6447             :     {
    6448           0 :         awt::Rectangle aRectangle;
    6449           0 :         aRectangle.X = 0;
    6450           0 :         aRectangle.Y = 0;
    6451           0 :         aRectangle.Width = 0;
    6452           0 :         aRectangle.Height = 0;
    6453           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    6454             :     }
    6455           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-doubleWave");
    6456             : 
    6457           0 :     return aPropertyMap;
    6458             :   }
    6459             : };
    6460           2 : class ShapeCbentArrow : public CustomShapeProvider
    6461             : {
    6462           0 :   virtual PropertyMap getProperties()
    6463             :   {
    6464           0 :     PropertyMap aPropertyMap;
    6465             : 
    6466             :     {
    6467           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
    6468             :         {
    6469           0 :             Any aAny ((sal_Int32) 25000);
    6470           0 :             aAdjSequence [0].Value = aAny;
    6471           0 :             aAdjSequence [0].Name = "adj1";
    6472             :         }
    6473             :         {
    6474           0 :             Any aAny ((sal_Int32) 25000);
    6475           0 :             aAdjSequence [1].Value = aAny;
    6476           0 :             aAdjSequence [1].Name = "adj2";
    6477             :         }
    6478             :         {
    6479           0 :             Any aAny ((sal_Int32) 25000);
    6480           0 :             aAdjSequence [2].Value = aAny;
    6481           0 :             aAdjSequence [2].Name = "adj3";
    6482             :         }
    6483             :         {
    6484           0 :             Any aAny ((sal_Int32) 43750);
    6485           0 :             aAdjSequence [3].Value = aAny;
    6486           0 :             aAdjSequence [3].Name = "adj4";
    6487             :         }
    6488           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    6489             :     }
    6490             :     {
    6491             :         static const char *aStrings[] = {
    6492             :             "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
    6493             :             "?0 *2/1",
    6494             :             "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
    6495             :             "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))",
    6496             :             "min(logwidth,logheight)",
    6497             :             "?4 *?2 /100000",
    6498             :             "?4 *?0 /100000",
    6499             :             "?5 *1/2",
    6500             :             "?6 +0-?7 ",
    6501             :             "?4 *?3 /100000",
    6502             :             "logwidth+0-?9 ",
    6503             :             "logheight+0-?8 ",
    6504             :             "min(?10 ,?11 )",
    6505             :             "100000*?12 /?4 ",
    6506             :             "if(0-$3 ,0,if(?13 -$3 ,$3 ,?13 ))",
    6507             :             "?4 *?14 /100000",
    6508             :             "?15 +0-?5 ",
    6509             :             "max(?16 ,0)",
    6510             :             "?5 +?17 -0",
    6511             :             "logwidth+0-?9 ",
    6512             :             "?8 +?5 -0",
    6513             :             "?20 +?8 -0",
    6514             :             "?8 +?15 -0",
    6515             :             "?20 +?17 -0",
    6516             :             "logheight",
    6517             :             "logwidth",
    6518             :             "(10800000)/60000.0",
    6519             :             "(5400000)/60000.0",
    6520             :             "(16200000)/60000.0",
    6521             :             "(-5400000)/60000.0"
    6522             :         };
    6523           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    6524             :     }
    6525             :     {
    6526           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
    6527             :         {
    6528           0 :             Sequence< PropertyValue > aPropSequence (4);
    6529             :             {
    6530           0 :                 aPropSequence [0].Name = "Position";
    6531             :                 static const CustomShapeProvider::ParameterPairData aData =
    6532             :                 {
    6533             :                     EnhancedCustomShapeParameterType::EQUATION,
    6534             :                     EnhancedCustomShapeParameterType::EQUATION,
    6535             :                     5, 24
    6536             :                 };
    6537           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6538             :             }
    6539             :             {
    6540           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    6541           0 :                 EnhancedCustomShapeParameter aParameter;
    6542           0 :                 Any aAny ((sal_Int32) 1);
    6543           0 :                 aParameter.Value = aAny;
    6544           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    6545           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6546             :             }
    6547             :             {
    6548           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    6549           0 :                 EnhancedCustomShapeParameter aParameter;
    6550           0 :                 Any aAny ((sal_Int32) 0);
    6551           0 :                 aParameter.Value = aAny;
    6552           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6553           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6554             :             }
    6555             :             {
    6556           0 :                 aPropSequence [3].Name = "RefX";
    6557           0 :                 Any aAny ((sal_Int32) 0);
    6558           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6559             :             }
    6560           0 :             aPropSequenceSequence [0] = aPropSequence;
    6561             :         }
    6562             :         {
    6563           0 :             Sequence< PropertyValue > aPropSequence (4);
    6564             :             {
    6565           0 :                 aPropSequence [0].Name = "Position";
    6566             :                 static const CustomShapeProvider::ParameterPairData aData =
    6567             :                 {
    6568             :                     EnhancedCustomShapeParameterType::EQUATION,
    6569             :                     EnhancedCustomShapeParameterType::EQUATION,
    6570             :                     25, 21
    6571             :                 };
    6572           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6573             :             }
    6574             :             {
    6575           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    6576           0 :                 EnhancedCustomShapeParameter aParameter;
    6577           0 :                 Any aAny ((sal_Int32) 50000);
    6578           0 :                 aParameter.Value = aAny;
    6579           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6580           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6581             :             }
    6582             :             {
    6583           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    6584           0 :                 EnhancedCustomShapeParameter aParameter;
    6585           0 :                 Any aAny ((sal_Int32) 0);
    6586           0 :                 aParameter.Value = aAny;
    6587           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6588           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6589             :             }
    6590             :             {
    6591           0 :                 aPropSequence [3].Name = "RefY";
    6592           0 :                 Any aAny ((sal_Int32) 1);
    6593           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6594             :             }
    6595           0 :             aPropSequenceSequence [1] = aPropSequence;
    6596             :         }
    6597             :         {
    6598           0 :             Sequence< PropertyValue > aPropSequence (4);
    6599             :             {
    6600           0 :                 aPropSequence [0].Name = "Position";
    6601             :                 static const CustomShapeProvider::ParameterPairData aData =
    6602             :                 {
    6603             :                     EnhancedCustomShapeParameterType::EQUATION,
    6604             :                     EnhancedCustomShapeParameterType::NORMAL,
    6605             :                     19, 0
    6606             :                 };
    6607           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6608             :             }
    6609             :             {
    6610           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    6611           0 :                 EnhancedCustomShapeParameter aParameter;
    6612           0 :                 Any aAny ((sal_Int32) 50000);
    6613           0 :                 aParameter.Value = aAny;
    6614           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6615           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6616             :             }
    6617             :             {
    6618           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    6619           0 :                 EnhancedCustomShapeParameter aParameter;
    6620           0 :                 Any aAny ((sal_Int32) 0);
    6621           0 :                 aParameter.Value = aAny;
    6622           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6623           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6624             :             }
    6625             :             {
    6626           0 :                 aPropSequence [3].Name = "RefX";
    6627           0 :                 Any aAny ((sal_Int32) 2);
    6628           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6629             :             }
    6630           0 :             aPropSequenceSequence [2] = aPropSequence;
    6631             :         }
    6632             :         {
    6633           0 :             Sequence< PropertyValue > aPropSequence (4);
    6634             :             {
    6635           0 :                 aPropSequence [0].Name = "Position";
    6636             :                 static const CustomShapeProvider::ParameterPairData aData =
    6637             :                 {
    6638             :                     EnhancedCustomShapeParameterType::EQUATION,
    6639             :                     EnhancedCustomShapeParameterType::NORMAL,
    6640             :                     15, 0
    6641             :                 };
    6642           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6643             :             }
    6644             :             {
    6645           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    6646           0 :                 EnhancedCustomShapeParameter aParameter;
    6647           0 :                 Any aAny ((sal_Int32) 13);
    6648           0 :                 aParameter.Value = aAny;
    6649           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    6650           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6651             :             }
    6652             :             {
    6653           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    6654           0 :                 EnhancedCustomShapeParameter aParameter;
    6655           0 :                 Any aAny ((sal_Int32) 0);
    6656           0 :                 aParameter.Value = aAny;
    6657           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6658           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6659             :             }
    6660             :             {
    6661           0 :                 aPropSequence [3].Name = "RefX";
    6662           0 :                 Any aAny ((sal_Int32) 3);
    6663           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6664             :             }
    6665           0 :             aPropSequenceSequence [3] = aPropSequence;
    6666             :         }
    6667           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    6668             :     }
    6669             :     {
    6670           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    6671             :     }
    6672             :     {
    6673           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    6674             :     }
    6675             :     {
    6676           0 :         Sequence< PropertyValue > aPropSequence (3);
    6677             :         {
    6678           0 :             aPropSequence [0].Name = "Coordinates";
    6679             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    6680             :                 {
    6681             :                     EnhancedCustomShapeParameterType::NORMAL,
    6682             :                     EnhancedCustomShapeParameterType::EQUATION,
    6683             :                     0, 24
    6684             :                 },
    6685             :                 {
    6686             :                     EnhancedCustomShapeParameterType::NORMAL,
    6687             :                     EnhancedCustomShapeParameterType::EQUATION,
    6688             :                     0, 22
    6689             :                 },
    6690             :                 {
    6691             :                     EnhancedCustomShapeParameterType::EQUATION,
    6692             :                     EnhancedCustomShapeParameterType::EQUATION,
    6693             :                     15, 15
    6694             :                 },
    6695             :                 {
    6696             :                     EnhancedCustomShapeParameterType::EQUATION,
    6697             :                     EnhancedCustomShapeParameterType::EQUATION,
    6698             :                     26, 27
    6699             :                 },
    6700             :                 {
    6701             :                     EnhancedCustomShapeParameterType::EQUATION,
    6702             :                     EnhancedCustomShapeParameterType::EQUATION,
    6703             :                     19, 8
    6704             :                 },
    6705             :                 {
    6706             :                     EnhancedCustomShapeParameterType::EQUATION,
    6707             :                     EnhancedCustomShapeParameterType::NORMAL,
    6708             :                     19, 0
    6709             :                 },
    6710             :                 {
    6711             :                     EnhancedCustomShapeParameterType::EQUATION,
    6712             :                     EnhancedCustomShapeParameterType::EQUATION,
    6713             :                     25, 6
    6714             :                 },
    6715             :                 {
    6716             :                     EnhancedCustomShapeParameterType::EQUATION,
    6717             :                     EnhancedCustomShapeParameterType::EQUATION,
    6718             :                     19, 21
    6719             :                 },
    6720             :                 {
    6721             :                     EnhancedCustomShapeParameterType::EQUATION,
    6722             :                     EnhancedCustomShapeParameterType::EQUATION,
    6723             :                     19, 20
    6724             :                 },
    6725             :                 {
    6726             :                     EnhancedCustomShapeParameterType::EQUATION,
    6727             :                     EnhancedCustomShapeParameterType::EQUATION,
    6728             :                     18, 20
    6729             :                 },
    6730             :                 {
    6731             :                     EnhancedCustomShapeParameterType::EQUATION,
    6732             :                     EnhancedCustomShapeParameterType::EQUATION,
    6733             :                     17, 17
    6734             :                 },
    6735             :                 {
    6736             :                     EnhancedCustomShapeParameterType::EQUATION,
    6737             :                     EnhancedCustomShapeParameterType::EQUATION,
    6738             :                     28, 29
    6739             :                 },
    6740             :                 {
    6741             :                     EnhancedCustomShapeParameterType::EQUATION,
    6742             :                     EnhancedCustomShapeParameterType::EQUATION,
    6743             :                     5, 24
    6744             :                 }
    6745             :             };
    6746           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    6747             :         }
    6748             :         {
    6749           0 :             aPropSequence [1].Name = "Segments";
    6750             :             static const sal_uInt16 nValues[] = {
    6751             :             // Command, Count
    6752             :                 1,1,
    6753             :                 2,1,
    6754             :                 17,1,
    6755             :                 2,6,
    6756             :                 17,1,
    6757             :                 2,1,
    6758             :                 4,0,
    6759             :                 5,0
    6760             :             };
    6761           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    6762             :         }
    6763             :         {
    6764           0 :             aPropSequence [2].Name = "TextFrames";
    6765           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    6766             :             {
    6767           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    6768             :                 {
    6769             :                     static const CustomShapeProvider::ParameterPairData aData =
    6770             :                     {
    6771             :                         EnhancedCustomShapeParameterType::NORMAL,
    6772             :                         EnhancedCustomShapeParameterType::NORMAL,
    6773             :                         0, 0
    6774             :                     };
    6775           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    6776             :                 }
    6777             :                 {
    6778             :                     static const CustomShapeProvider::ParameterPairData aData =
    6779             :                     {
    6780             :                         EnhancedCustomShapeParameterType::EQUATION,
    6781             :                         EnhancedCustomShapeParameterType::EQUATION,
    6782             :                         25, 24
    6783             :                     };
    6784           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    6785             :                 }
    6786           0 :                 aTextFrameSeq [0] = aTextFrame;
    6787             :             }
    6788           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    6789             :         }
    6790           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    6791             :     }
    6792             :     {
    6793           0 :         awt::Rectangle aRectangle;
    6794           0 :         aRectangle.X = 0;
    6795           0 :         aRectangle.Y = 0;
    6796           0 :         aRectangle.Width = 0;
    6797           0 :         aRectangle.Height = 0;
    6798           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    6799             :     }
    6800           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bentArrow");
    6801             : 
    6802           0 :     return aPropertyMap;
    6803             :   }
    6804             : };
    6805           2 : class ShapeCstar10 : public CustomShapeProvider
    6806             : {
    6807           0 :   virtual PropertyMap getProperties()
    6808             :   {
    6809           0 :     PropertyMap aPropertyMap;
    6810             : 
    6811             :     {
    6812           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    6813             :         {
    6814           0 :             Any aAny ((sal_Int32) 42533);
    6815           0 :             aAdjSequence [0].Value = aAny;
    6816           0 :             aAdjSequence [0].Name = "adj";
    6817             :         }
    6818             :         {
    6819           0 :             Any aAny ((sal_Int32) 105146);
    6820           0 :             aAdjSequence [1].Value = aAny;
    6821           0 :             aAdjSequence [1].Name = "hf";
    6822             :         }
    6823           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    6824             :     }
    6825             :     {
    6826             :         static const char *aStrings[] = {
    6827             :             "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
    6828             :             "logwidth/2",
    6829             :             "?1 *$1 /100000",
    6830             :             "?2 *95106/100000",
    6831             :             "?2 *58779/100000",
    6832             :             "logwidth/2",
    6833             :             "?5 +0-?3 ",
    6834             :             "?5 +0-?4 ",
    6835             :             "?5 +?4 -0",
    6836             :             "?5 +?3 -0",
    6837             :             "logheight/2",
    6838             :             "?10 *80902/100000",
    6839             :             "?10 *30902/100000",
    6840             :             "logheight/2",
    6841             :             "?13 +0-?11 ",
    6842             :             "?13 +0-?12 ",
    6843             :             "?13 +?12 -0",
    6844             :             "?13 +?11 -0",
    6845             :             "?2 *?0 /50000",
    6846             :             "?10 *?0 /50000",
    6847             :             "?18 *80902/100000",
    6848             :             "?18 *30902/100000",
    6849             :             "?19 *95106/100000",
    6850             :             "?19 *58779/100000",
    6851             :             "?5 +0-?18 ",
    6852             :             "?5 +0-?20 ",
    6853             :             "?5 +0-?21 ",
    6854             :             "?5 +?21 -0",
    6855             :             "?5 +?20 -0",
    6856             :             "?5 +?18 -0",
    6857             :             "?13 +0-?22 ",
    6858             :             "?13 +0-?23 ",
    6859             :             "?13 +?23 -0",
    6860             :             "?13 +?22 -0",
    6861             :             "?13 +0-?19 ",
    6862             :             "logheight"
    6863             :         };
    6864           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    6865             :     }
    6866             :     {
    6867           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    6868             :         {
    6869           0 :             Sequence< PropertyValue > aPropSequence (4);
    6870             :             {
    6871           0 :                 aPropSequence [0].Name = "Position";
    6872             :                 static const CustomShapeProvider::ParameterPairData aData =
    6873             :                 {
    6874             :                     EnhancedCustomShapeParameterType::EQUATION,
    6875             :                     EnhancedCustomShapeParameterType::EQUATION,
    6876             :                     5, 34
    6877             :                 };
    6878           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    6879             :             }
    6880             :             {
    6881           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    6882           0 :                 EnhancedCustomShapeParameter aParameter;
    6883           0 :                 Any aAny ((sal_Int32) 50000);
    6884           0 :                 aParameter.Value = aAny;
    6885           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6886           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    6887             :             }
    6888             :             {
    6889           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    6890           0 :                 EnhancedCustomShapeParameter aParameter;
    6891           0 :                 Any aAny ((sal_Int32) 0);
    6892           0 :                 aParameter.Value = aAny;
    6893           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    6894           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    6895             :             }
    6896             :             {
    6897           0 :                 aPropSequence [3].Name = "RefY";
    6898           0 :                 Any aAny ((sal_Int32) 0);
    6899           0 :                 aPropSequence [3].Value = makeAny (aAny);
    6900             :             }
    6901           0 :             aPropSequenceSequence [0] = aPropSequence;
    6902             :         }
    6903           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    6904             :     }
    6905             :     {
    6906           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    6907             :     }
    6908             :     {
    6909           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    6910             :     }
    6911             :     {
    6912           0 :         Sequence< PropertyValue > aPropSequence (3);
    6913             :         {
    6914           0 :             aPropSequence [0].Name = "Coordinates";
    6915             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    6916             :                 {
    6917             :                     EnhancedCustomShapeParameterType::EQUATION,
    6918             :                     EnhancedCustomShapeParameterType::EQUATION,
    6919             :                     6, 15
    6920             :                 },
    6921             :                 {
    6922             :                     EnhancedCustomShapeParameterType::EQUATION,
    6923             :                     EnhancedCustomShapeParameterType::EQUATION,
    6924             :                     25, 31
    6925             :                 },
    6926             :                 {
    6927             :                     EnhancedCustomShapeParameterType::EQUATION,
    6928             :                     EnhancedCustomShapeParameterType::EQUATION,
    6929             :                     7, 14
    6930             :                 },
    6931             :                 {
    6932             :                     EnhancedCustomShapeParameterType::EQUATION,
    6933             :                     EnhancedCustomShapeParameterType::EQUATION,
    6934             :                     26, 30
    6935             :                 },
    6936             :                 {
    6937             :                     EnhancedCustomShapeParameterType::EQUATION,
    6938             :                     EnhancedCustomShapeParameterType::NORMAL,
    6939             :                     5, 0
    6940             :                 },
    6941             :                 {
    6942             :                     EnhancedCustomShapeParameterType::EQUATION,
    6943             :                     EnhancedCustomShapeParameterType::EQUATION,
    6944             :                     27, 30
    6945             :                 },
    6946             :                 {
    6947             :                     EnhancedCustomShapeParameterType::EQUATION,
    6948             :                     EnhancedCustomShapeParameterType::EQUATION,
    6949             :                     8, 14
    6950             :                 },
    6951             :                 {
    6952             :                     EnhancedCustomShapeParameterType::EQUATION,
    6953             :                     EnhancedCustomShapeParameterType::EQUATION,
    6954             :                     28, 31
    6955             :                 },
    6956             :                 {
    6957             :                     EnhancedCustomShapeParameterType::EQUATION,
    6958             :                     EnhancedCustomShapeParameterType::EQUATION,
    6959             :                     9, 15
    6960             :                 },
    6961             :                 {
    6962             :                     EnhancedCustomShapeParameterType::EQUATION,
    6963             :                     EnhancedCustomShapeParameterType::EQUATION,
    6964             :                     29, 13
    6965             :                 },
    6966             :                 {
    6967             :                     EnhancedCustomShapeParameterType::EQUATION,
    6968             :                     EnhancedCustomShapeParameterType::EQUATION,
    6969             :                     9, 16
    6970             :                 },
    6971             :                 {
    6972             :                     EnhancedCustomShapeParameterType::EQUATION,
    6973             :                     EnhancedCustomShapeParameterType::EQUATION,
    6974             :                     28, 32
    6975             :                 },
    6976             :                 {
    6977             :                     EnhancedCustomShapeParameterType::EQUATION,
    6978             :                     EnhancedCustomShapeParameterType::EQUATION,
    6979             :                     8, 17
    6980             :                 },
    6981             :                 {
    6982             :                     EnhancedCustomShapeParameterType::EQUATION,
    6983             :                     EnhancedCustomShapeParameterType::EQUATION,
    6984             :                     27, 33
    6985             :                 },
    6986             :                 {
    6987             :                     EnhancedCustomShapeParameterType::EQUATION,
    6988             :                     EnhancedCustomShapeParameterType::EQUATION,
    6989             :                     5, 35
    6990             :                 },
    6991             :                 {
    6992             :                     EnhancedCustomShapeParameterType::EQUATION,
    6993             :                     EnhancedCustomShapeParameterType::EQUATION,
    6994             :                     26, 33
    6995             :                 },
    6996             :                 {
    6997             :                     EnhancedCustomShapeParameterType::EQUATION,
    6998             :                     EnhancedCustomShapeParameterType::EQUATION,
    6999             :                     7, 17
    7000             :                 },
    7001             :                 {
    7002             :                     EnhancedCustomShapeParameterType::EQUATION,
    7003             :                     EnhancedCustomShapeParameterType::EQUATION,
    7004             :                     25, 32
    7005             :                 },
    7006             :                 {
    7007             :                     EnhancedCustomShapeParameterType::EQUATION,
    7008             :                     EnhancedCustomShapeParameterType::EQUATION,
    7009             :                     6, 16
    7010             :                 },
    7011             :                 {
    7012             :                     EnhancedCustomShapeParameterType::EQUATION,
    7013             :                     EnhancedCustomShapeParameterType::EQUATION,
    7014             :                     24, 13
    7015             :                 }
    7016             :             };
    7017           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    7018             :         }
    7019             :         {
    7020           0 :             aPropSequence [1].Name = "Segments";
    7021             :             static const sal_uInt16 nValues[] = {
    7022             :             // Command, Count
    7023             :                 1,1,
    7024             :                 2,19,
    7025             :                 4,0,
    7026             :                 5,0
    7027             :             };
    7028           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    7029             :         }
    7030             :         {
    7031           0 :             aPropSequence [2].Name = "TextFrames";
    7032           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    7033             :             {
    7034           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    7035             :                 {
    7036             :                     static const CustomShapeProvider::ParameterPairData aData =
    7037             :                     {
    7038             :                         EnhancedCustomShapeParameterType::EQUATION,
    7039             :                         EnhancedCustomShapeParameterType::EQUATION,
    7040             :                         25, 31
    7041             :                     };
    7042           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    7043             :                 }
    7044             :                 {
    7045             :                     static const CustomShapeProvider::ParameterPairData aData =
    7046             :                     {
    7047             :                         EnhancedCustomShapeParameterType::EQUATION,
    7048             :                         EnhancedCustomShapeParameterType::EQUATION,
    7049             :                         28, 32
    7050             :                     };
    7051           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    7052             :                 }
    7053           0 :                 aTextFrameSeq [0] = aTextFrame;
    7054             :             }
    7055           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    7056             :         }
    7057           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    7058             :     }
    7059             :     {
    7060           0 :         awt::Rectangle aRectangle;
    7061           0 :         aRectangle.X = 0;
    7062           0 :         aRectangle.Y = 0;
    7063           0 :         aRectangle.Width = 0;
    7064           0 :         aRectangle.Height = 0;
    7065           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    7066             :     }
    7067           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-star10");
    7068             : 
    7069           0 :     return aPropertyMap;
    7070             :   }
    7071             : };
    7072           2 : class ShapeCleftArrow : public CustomShapeProvider
    7073             : {
    7074           2 :   virtual PropertyMap getProperties()
    7075             :   {
    7076           2 :     PropertyMap aPropertyMap;
    7077             : 
    7078             :     {
    7079           2 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
    7080             :         {
    7081           2 :             Any aAny ((sal_Int32) 50000);
    7082           2 :             aAdjSequence [0].Value = aAny;
    7083           2 :             aAdjSequence [0].Name = "adj1";
    7084             :         }
    7085             :         {
    7086           2 :             Any aAny ((sal_Int32) 50000);
    7087           2 :             aAdjSequence [1].Value = aAny;
    7088           2 :             aAdjSequence [1].Name = "adj2";
    7089             :         }
    7090           2 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    7091             :     }
    7092             :     {
    7093             :         static const char *aStrings[] = {
    7094             :             "min(logwidth,logheight)",
    7095             :             "100000*logwidth/?0 ",
    7096             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    7097             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    7098             :             "?0 *?3 /100000",
    7099             :             "0+?4 -0",
    7100             :             "logheight*?2 /200000",
    7101             :             "logheight/2",
    7102             :             "?7 +0-?6 ",
    7103             :             "?7 +?6 -0",
    7104             :             "logheight/2",
    7105             :             "?8 *?4 /?10 ",
    7106             :             "?5 +0-?11 ",
    7107             :             "logwidth",
    7108             :             "logheight"
    7109             :         };
    7110           2 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    7111             :     }
    7112             :     {
    7113           2 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
    7114             :         {
    7115           2 :             Sequence< PropertyValue > aPropSequence (4);
    7116             :             {
    7117           2 :                 aPropSequence [0].Name = "Position";
    7118             :                 static const CustomShapeProvider::ParameterPairData aData =
    7119             :                 {
    7120             :                     EnhancedCustomShapeParameterType::EQUATION,
    7121             :                     EnhancedCustomShapeParameterType::EQUATION,
    7122             :                     13, 8
    7123             :                 };
    7124           2 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7125             :             }
    7126             :             {
    7127           2 :                 aPropSequence [1].Name = "RangeYMaximum";
    7128           2 :                 EnhancedCustomShapeParameter aParameter;
    7129           4 :                 Any aAny ((sal_Int32) 100000);
    7130           2 :                 aParameter.Value = aAny;
    7131           2 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7132           4 :                 aPropSequence [1].Value = makeAny (aParameter);
    7133             :             }
    7134             :             {
    7135           2 :                 aPropSequence [2].Name = "RangeYMinimum";
    7136           2 :                 EnhancedCustomShapeParameter aParameter;
    7137           4 :                 Any aAny ((sal_Int32) 0);
    7138           2 :                 aParameter.Value = aAny;
    7139           2 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7140           4 :                 aPropSequence [2].Value = makeAny (aParameter);
    7141             :             }
    7142             :             {
    7143           2 :                 aPropSequence [3].Name = "RefY";
    7144           2 :                 Any aAny ((sal_Int32) 0);
    7145           2 :                 aPropSequence [3].Value = makeAny (aAny);
    7146             :             }
    7147           2 :             aPropSequenceSequence [0] = aPropSequence;
    7148             :         }
    7149             :         {
    7150           2 :             Sequence< PropertyValue > aPropSequence (4);
    7151             :             {
    7152           2 :                 aPropSequence [0].Name = "Position";
    7153             :                 static const CustomShapeProvider::ParameterPairData aData =
    7154             :                 {
    7155             :                     EnhancedCustomShapeParameterType::EQUATION,
    7156             :                     EnhancedCustomShapeParameterType::NORMAL,
    7157             :                     5, 0
    7158             :                 };
    7159           2 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7160             :             }
    7161             :             {
    7162           2 :                 aPropSequence [1].Name = "RangeXMaximum";
    7163           2 :                 EnhancedCustomShapeParameter aParameter;
    7164           4 :                 Any aAny ((sal_Int32) 1);
    7165           2 :                 aParameter.Value = aAny;
    7166           2 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    7167           4 :                 aPropSequence [1].Value = makeAny (aParameter);
    7168             :             }
    7169             :             {
    7170           2 :                 aPropSequence [2].Name = "RangeXMinimum";
    7171           2 :                 EnhancedCustomShapeParameter aParameter;
    7172           4 :                 Any aAny ((sal_Int32) 0);
    7173           2 :                 aParameter.Value = aAny;
    7174           2 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7175           4 :                 aPropSequence [2].Value = makeAny (aParameter);
    7176             :             }
    7177             :             {
    7178           2 :                 aPropSequence [3].Name = "RefX";
    7179           2 :                 Any aAny ((sal_Int32) 1);
    7180           2 :                 aPropSequence [3].Value = makeAny (aAny);
    7181             :             }
    7182           2 :             aPropSequenceSequence [1] = aPropSequence;
    7183             :         }
    7184           2 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    7185             :     }
    7186             :     {
    7187           2 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    7188             :     }
    7189             :     {
    7190           2 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    7191             :     }
    7192             :     {
    7193           2 :         Sequence< PropertyValue > aPropSequence (3);
    7194             :         {
    7195           2 :             aPropSequence [0].Name = "Coordinates";
    7196             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    7197             :                 {
    7198             :                     EnhancedCustomShapeParameterType::NORMAL,
    7199             :                     EnhancedCustomShapeParameterType::EQUATION,
    7200             :                     0, 7
    7201             :                 },
    7202             :                 {
    7203             :                     EnhancedCustomShapeParameterType::EQUATION,
    7204             :                     EnhancedCustomShapeParameterType::NORMAL,
    7205             :                     5, 0
    7206             :                 },
    7207             :                 {
    7208             :                     EnhancedCustomShapeParameterType::EQUATION,
    7209             :                     EnhancedCustomShapeParameterType::EQUATION,
    7210             :                     5, 8
    7211             :                 },
    7212             :                 {
    7213             :                     EnhancedCustomShapeParameterType::EQUATION,
    7214             :                     EnhancedCustomShapeParameterType::EQUATION,
    7215             :                     13, 8
    7216             :                 },
    7217             :                 {
    7218             :                     EnhancedCustomShapeParameterType::EQUATION,
    7219             :                     EnhancedCustomShapeParameterType::EQUATION,
    7220             :                     13, 9
    7221             :                 },
    7222             :                 {
    7223             :                     EnhancedCustomShapeParameterType::EQUATION,
    7224             :                     EnhancedCustomShapeParameterType::EQUATION,
    7225             :                     5, 9
    7226             :                 },
    7227             :                 {
    7228             :                     EnhancedCustomShapeParameterType::EQUATION,
    7229             :                     EnhancedCustomShapeParameterType::EQUATION,
    7230             :                     5, 14
    7231             :                 }
    7232             :             };
    7233           2 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    7234             :         }
    7235             :         {
    7236           2 :             aPropSequence [1].Name = "Segments";
    7237             :             static const sal_uInt16 nValues[] = {
    7238             :             // Command, Count
    7239             :                 1,1,
    7240             :                 2,6,
    7241             :                 4,0,
    7242             :                 5,0
    7243             :             };
    7244           2 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    7245             :         }
    7246             :         {
    7247           2 :             aPropSequence [2].Name = "TextFrames";
    7248           2 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    7249             :             {
    7250           2 :                 EnhancedCustomShapeTextFrame aTextFrame;
    7251             :                 {
    7252             :                     static const CustomShapeProvider::ParameterPairData aData =
    7253             :                     {
    7254             :                         EnhancedCustomShapeParameterType::EQUATION,
    7255             :                         EnhancedCustomShapeParameterType::EQUATION,
    7256             :                         12, 8
    7257             :                     };
    7258           2 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    7259             :                 }
    7260             :                 {
    7261             :                     static const CustomShapeProvider::ParameterPairData aData =
    7262             :                     {
    7263             :                         EnhancedCustomShapeParameterType::EQUATION,
    7264             :                         EnhancedCustomShapeParameterType::EQUATION,
    7265             :                         13, 9
    7266             :                     };
    7267           2 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    7268             :                 }
    7269           2 :                 aTextFrameSeq [0] = aTextFrame;
    7270             :             }
    7271           2 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    7272             :         }
    7273           2 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    7274             :     }
    7275             :     {
    7276           2 :         awt::Rectangle aRectangle;
    7277           2 :         aRectangle.X = 0;
    7278           2 :         aRectangle.Y = 0;
    7279           2 :         aRectangle.Width = 0;
    7280           2 :         aRectangle.Height = 0;
    7281           2 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    7282             :     }
    7283           2 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftArrow");
    7284             : 
    7285           2 :     return aPropertyMap;
    7286             :   }
    7287             : };
    7288           2 : class ShapeCcurvedUpArrow : public CustomShapeProvider
    7289             : {
    7290           0 :   virtual PropertyMap getProperties()
    7291             :   {
    7292           0 :     PropertyMap aPropertyMap;
    7293             : 
    7294             :     {
    7295           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
    7296             :         {
    7297           0 :             Any aAny ((sal_Int32) 25000);
    7298           0 :             aAdjSequence [0].Value = aAny;
    7299           0 :             aAdjSequence [0].Name = "adj1";
    7300             :         }
    7301             :         {
    7302           0 :             Any aAny ((sal_Int32) 50000);
    7303           0 :             aAdjSequence [1].Value = aAny;
    7304           0 :             aAdjSequence [1].Name = "adj2";
    7305             :         }
    7306             :         {
    7307           0 :             Any aAny ((sal_Int32) 25000);
    7308           0 :             aAdjSequence [2].Value = aAny;
    7309           0 :             aAdjSequence [2].Name = "adj3";
    7310             :         }
    7311           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    7312             :     }
    7313             :     {
    7314             :         static const char *aStrings[] = {
    7315             :             "min(logwidth,logheight)",
    7316             :             "50000*logwidth/?0 ",
    7317             :             "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
    7318             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    7319             :             "?0 *?3 /100000",
    7320             :             "?0 *?2 /100000",
    7321             :             "(?4 +?5 )/4",
    7322             :             "logwidth/2",
    7323             :             "?7 +0-?6 ",
    7324             :             "?8 *2/1",
    7325             :             "?9 *?9 /1",
    7326             :             "?4 *?4 /1",
    7327             :             "?10 +0-?11 ",
    7328             :             "sqrt(?12 )",
    7329             :             "?13 *logheight/?9 ",
    7330             :             "100000*?14 /?0 ",
    7331             :             "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
    7332             :             "?0 *$2 /100000",
    7333             :             "?8 +?4 -0",
    7334             :             "logheight*logheight/1",
    7335             :             "?17 *?17 /1",
    7336             :             "?19 +0-?20 ",
    7337             :             "sqrt(?21 )",
    7338             :             "?22 *?8 /logheight",
    7339             :             "?8 +?23 -0",
    7340             :             "?18 +?23 -0",
    7341             :             "?5 +0-?4 ",
    7342             :             "?26 *1/2",
    7343             :             "?24 +0-?27 ",
    7344             :             "?25 +?27 -0",
    7345             :             "?5 *1/2",
    7346             :             "logwidth+0-?30 ",
    7347             :             "0+?17 -0",
    7348             :             "(10800000*atan2(?23 ,?17 ))/pi",
    7349             :             "0+0-?33 ",
    7350             :             "0+?14 -0",
    7351             :             "(?8 +?18 )/2",
    7352             :             "?4 *1/2",
    7353             :             "(10800000*atan2(?37 ,?14 ))/pi",
    7354             :             "?38 +0-?33 ",
    7355             :             "0+0-?39 ",
    7356             :             "5400000+0-?33 ",
    7357             :             "?33 +?38 -0",
    7358             :             "5400000+0-?38 ",
    7359             :             "logwidth",
    7360             :             "logheight",
    7361             :             "logheight",
    7362             :             "(?41 )/60000.0",
    7363             :             "(?42 )/60000.0",
    7364             :             "(?43 )/60000.0",
    7365             :             "(?39 )/60000.0",
    7366             :             "(5400000)/60000.0",
    7367             :             "(5400000)/60000.0",
    7368             :             "(10800000)/60000.0",
    7369             :             "(-5400000)/60000.0",
    7370             :             "(?43 )/60000.0",
    7371             :             "(?39 )/60000.0",
    7372             :             "(?41 )/60000.0",
    7373             :             "(?33 )/60000.0",
    7374             :             "(5400000)/60000.0",
    7375             :             "(5400000)/60000.0",
    7376             :             "(10800000)/60000.0",
    7377             :             "(-5400000)/60000.0"
    7378             :         };
    7379           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    7380             :     }
    7381             :     {
    7382           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
    7383             :         {
    7384           0 :             Sequence< PropertyValue > aPropSequence (4);
    7385             :             {
    7386           0 :                 aPropSequence [0].Name = "Position";
    7387             :                 static const CustomShapeProvider::ParameterPairData aData =
    7388             :                 {
    7389             :                     EnhancedCustomShapeParameterType::EQUATION,
    7390             :                     EnhancedCustomShapeParameterType::EQUATION,
    7391             :                     25, 32
    7392             :                 };
    7393           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7394             :             }
    7395             :             {
    7396           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    7397           0 :                 EnhancedCustomShapeParameter aParameter;
    7398           0 :                 Any aAny ((sal_Int32) 2);
    7399           0 :                 aParameter.Value = aAny;
    7400           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    7401           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    7402             :             }
    7403             :             {
    7404           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    7405           0 :                 EnhancedCustomShapeParameter aParameter;
    7406           0 :                 Any aAny ((sal_Int32) 0);
    7407           0 :                 aParameter.Value = aAny;
    7408           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7409           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    7410             :             }
    7411             :             {
    7412           0 :                 aPropSequence [3].Name = "RefX";
    7413           0 :                 Any aAny ((sal_Int32) 0);
    7414           0 :                 aPropSequence [3].Value = makeAny (aAny);
    7415             :             }
    7416           0 :             aPropSequenceSequence [0] = aPropSequence;
    7417             :         }
    7418             :         {
    7419           0 :             Sequence< PropertyValue > aPropSequence (4);
    7420             :             {
    7421           0 :                 aPropSequence [0].Name = "Position";
    7422             :                 static const CustomShapeProvider::ParameterPairData aData =
    7423             :                 {
    7424             :                     EnhancedCustomShapeParameterType::EQUATION,
    7425             :                     EnhancedCustomShapeParameterType::NORMAL,
    7426             :                     28, 0
    7427             :                 };
    7428           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7429             :             }
    7430             :             {
    7431           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    7432           0 :                 EnhancedCustomShapeParameter aParameter;
    7433           0 :                 Any aAny ((sal_Int32) 1);
    7434           0 :                 aParameter.Value = aAny;
    7435           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    7436           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    7437             :             }
    7438             :             {
    7439           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    7440           0 :                 EnhancedCustomShapeParameter aParameter;
    7441           0 :                 Any aAny ((sal_Int32) 0);
    7442           0 :                 aParameter.Value = aAny;
    7443           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7444           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    7445             :             }
    7446             :             {
    7447           0 :                 aPropSequence [3].Name = "RefX";
    7448           0 :                 Any aAny ((sal_Int32) 1);
    7449           0 :                 aPropSequence [3].Value = makeAny (aAny);
    7450             :             }
    7451           0 :             aPropSequenceSequence [1] = aPropSequence;
    7452             :         }
    7453             :         {
    7454           0 :             Sequence< PropertyValue > aPropSequence (4);
    7455             :             {
    7456           0 :                 aPropSequence [0].Name = "Position";
    7457             :                 static const CustomShapeProvider::ParameterPairData aData =
    7458             :                 {
    7459             :                     EnhancedCustomShapeParameterType::EQUATION,
    7460             :                     EnhancedCustomShapeParameterType::EQUATION,
    7461             :                     44, 32
    7462             :                 };
    7463           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7464             :             }
    7465             :             {
    7466           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    7467           0 :                 EnhancedCustomShapeParameter aParameter;
    7468           0 :                 Any aAny ((sal_Int32) 15);
    7469           0 :                 aParameter.Value = aAny;
    7470           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    7471           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    7472             :             }
    7473             :             {
    7474           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    7475           0 :                 EnhancedCustomShapeParameter aParameter;
    7476           0 :                 Any aAny ((sal_Int32) 0);
    7477           0 :                 aParameter.Value = aAny;
    7478           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7479           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    7480             :             }
    7481             :             {
    7482           0 :                 aPropSequence [3].Name = "RefY";
    7483           0 :                 Any aAny ((sal_Int32) 2);
    7484           0 :                 aPropSequence [3].Value = makeAny (aAny);
    7485             :             }
    7486           0 :             aPropSequenceSequence [2] = aPropSequence;
    7487             :         }
    7488           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    7489             :     }
    7490             :     {
    7491           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    7492             :     }
    7493             :     {
    7494           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    7495             :     }
    7496             :     {
    7497           0 :         Sequence< PropertyValue > aPropSequence (3);
    7498             :         {
    7499           0 :             aPropSequence [0].Name = "Coordinates";
    7500             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    7501             :                 {
    7502             :                     EnhancedCustomShapeParameterType::EQUATION,
    7503             :                     EnhancedCustomShapeParameterType::NORMAL,
    7504             :                     31, 0
    7505             :                 },
    7506             :                 {
    7507             :                     EnhancedCustomShapeParameterType::EQUATION,
    7508             :                     EnhancedCustomShapeParameterType::EQUATION,
    7509             :                     29, 32
    7510             :                 },
    7511             :                 {
    7512             :                     EnhancedCustomShapeParameterType::EQUATION,
    7513             :                     EnhancedCustomShapeParameterType::EQUATION,
    7514             :                     25, 32
    7515             :                 },
    7516             :                 {
    7517             :                     EnhancedCustomShapeParameterType::EQUATION,
    7518             :                     EnhancedCustomShapeParameterType::EQUATION,
    7519             :                     8, 46
    7520             :                 },
    7521             :                 {
    7522             :                     EnhancedCustomShapeParameterType::EQUATION,
    7523             :                     EnhancedCustomShapeParameterType::EQUATION,
    7524             :                     47, 48
    7525             :                 },
    7526             :                 {
    7527             :                     EnhancedCustomShapeParameterType::EQUATION,
    7528             :                     EnhancedCustomShapeParameterType::EQUATION,
    7529             :                     8, 46
    7530             :                 },
    7531             :                 {
    7532             :                     EnhancedCustomShapeParameterType::EQUATION,
    7533             :                     EnhancedCustomShapeParameterType::EQUATION,
    7534             :                     49, 50
    7535             :                 },
    7536             :                 {
    7537             :                     EnhancedCustomShapeParameterType::EQUATION,
    7538             :                     EnhancedCustomShapeParameterType::EQUATION,
    7539             :                     28, 32
    7540             :                 },
    7541             :                 {
    7542             :                     EnhancedCustomShapeParameterType::EQUATION,
    7543             :                     EnhancedCustomShapeParameterType::EQUATION,
    7544             :                     8, 45
    7545             :                 },
    7546             :                 {
    7547             :                     EnhancedCustomShapeParameterType::EQUATION,
    7548             :                     EnhancedCustomShapeParameterType::EQUATION,
    7549             :                     8, 46
    7550             :                 },
    7551             :                 {
    7552             :                     EnhancedCustomShapeParameterType::EQUATION,
    7553             :                     EnhancedCustomShapeParameterType::EQUATION,
    7554             :                     51, 52
    7555             :                 },
    7556             :                 {
    7557             :                     EnhancedCustomShapeParameterType::EQUATION,
    7558             :                     EnhancedCustomShapeParameterType::NORMAL,
    7559             :                     4, 0
    7560             :                 },
    7561             :                 {
    7562             :                     EnhancedCustomShapeParameterType::EQUATION,
    7563             :                     EnhancedCustomShapeParameterType::EQUATION,
    7564             :                     8, 46
    7565             :                 },
    7566             :                 {
    7567             :                     EnhancedCustomShapeParameterType::EQUATION,
    7568             :                     EnhancedCustomShapeParameterType::EQUATION,
    7569             :                     53, 54
    7570             :                 },
    7571             :                 {
    7572             :                     EnhancedCustomShapeParameterType::EQUATION,
    7573             :                     EnhancedCustomShapeParameterType::EQUATION,
    7574             :                     36, 35
    7575             :                 },
    7576             :                 {
    7577             :                     EnhancedCustomShapeParameterType::EQUATION,
    7578             :                     EnhancedCustomShapeParameterType::EQUATION,
    7579             :                     8, 46
    7580             :                 },
    7581             :                 {
    7582             :                     EnhancedCustomShapeParameterType::EQUATION,
    7583             :                     EnhancedCustomShapeParameterType::EQUATION,
    7584             :                     55, 56
    7585             :                 },
    7586             :                 {
    7587             :                     EnhancedCustomShapeParameterType::EQUATION,
    7588             :                     EnhancedCustomShapeParameterType::EQUATION,
    7589             :                     28, 32
    7590             :                 },
    7591             :                 {
    7592             :                     EnhancedCustomShapeParameterType::EQUATION,
    7593             :                     EnhancedCustomShapeParameterType::NORMAL,
    7594             :                     31, 0
    7595             :                 },
    7596             :                 {
    7597             :                     EnhancedCustomShapeParameterType::EQUATION,
    7598             :                     EnhancedCustomShapeParameterType::EQUATION,
    7599             :                     29, 32
    7600             :                 },
    7601             :                 {
    7602             :                     EnhancedCustomShapeParameterType::EQUATION,
    7603             :                     EnhancedCustomShapeParameterType::EQUATION,
    7604             :                     25, 32
    7605             :                 },
    7606             :                 {
    7607             :                     EnhancedCustomShapeParameterType::EQUATION,
    7608             :                     EnhancedCustomShapeParameterType::EQUATION,
    7609             :                     8, 46
    7610             :                 },
    7611             :                 {
    7612             :                     EnhancedCustomShapeParameterType::EQUATION,
    7613             :                     EnhancedCustomShapeParameterType::EQUATION,
    7614             :                     57, 58
    7615             :                 },
    7616             :                 {
    7617             :                     EnhancedCustomShapeParameterType::EQUATION,
    7618             :                     EnhancedCustomShapeParameterType::EQUATION,
    7619             :                     8, 45
    7620             :                 },
    7621             :                 {
    7622             :                     EnhancedCustomShapeParameterType::EQUATION,
    7623             :                     EnhancedCustomShapeParameterType::EQUATION,
    7624             :                     8, 46
    7625             :                 },
    7626             :                 {
    7627             :                     EnhancedCustomShapeParameterType::EQUATION,
    7628             :                     EnhancedCustomShapeParameterType::EQUATION,
    7629             :                     59, 60
    7630             :                 },
    7631             :                 {
    7632             :                     EnhancedCustomShapeParameterType::EQUATION,
    7633             :                     EnhancedCustomShapeParameterType::NORMAL,
    7634             :                     4, 0
    7635             :                 },
    7636             :                 {
    7637             :                     EnhancedCustomShapeParameterType::EQUATION,
    7638             :                     EnhancedCustomShapeParameterType::EQUATION,
    7639             :                     8, 46
    7640             :                 },
    7641             :                 {
    7642             :                     EnhancedCustomShapeParameterType::EQUATION,
    7643             :                     EnhancedCustomShapeParameterType::EQUATION,
    7644             :                     61, 62
    7645             :                 }
    7646             :             };
    7647           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    7648             :         }
    7649             :         {
    7650           0 :             aPropSequence [1].Name = "Segments";
    7651             :             static const sal_uInt16 nValues[] = {
    7652             :             // Command, Count
    7653             :                 1,1,
    7654             :                 2,2,
    7655             :                 17,2,
    7656             :                 2,1,
    7657             :                 4,0,
    7658             :                 7,0,
    7659             :                 5,0,
    7660             :                 1,1,
    7661             :                 17,1,
    7662             :                 2,1,
    7663             :                 17,1,
    7664             :                 4,0,
    7665             :                 19,0,
    7666             :                 7,0,
    7667             :                 5,0,
    7668             :                 1,1,
    7669             :                 17,1,
    7670             :                 2,4,
    7671             :                 17,1,
    7672             :                 2,1,
    7673             :                 17,1,
    7674             :                 2,1,
    7675             :                 17,1,
    7676             :                 6,0,
    7677             :                 5,0
    7678             :             };
    7679           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    7680             :         }
    7681             :         {
    7682           0 :             aPropSequence [2].Name = "TextFrames";
    7683           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    7684             :             {
    7685           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    7686             :                 {
    7687             :                     static const CustomShapeProvider::ParameterPairData aData =
    7688             :                     {
    7689             :                         EnhancedCustomShapeParameterType::NORMAL,
    7690             :                         EnhancedCustomShapeParameterType::NORMAL,
    7691             :                         0, 0
    7692             :                     };
    7693           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    7694             :                 }
    7695             :                 {
    7696             :                     static const CustomShapeProvider::ParameterPairData aData =
    7697             :                     {
    7698             :                         EnhancedCustomShapeParameterType::EQUATION,
    7699             :                         EnhancedCustomShapeParameterType::EQUATION,
    7700             :                         44, 45
    7701             :                     };
    7702           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    7703             :                 }
    7704           0 :                 aTextFrameSeq [0] = aTextFrame;
    7705             :             }
    7706           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    7707             :         }
    7708           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    7709             :     }
    7710             :     {
    7711           0 :         awt::Rectangle aRectangle;
    7712           0 :         aRectangle.X = 0;
    7713           0 :         aRectangle.Y = 0;
    7714           0 :         aRectangle.Width = 0;
    7715           0 :         aRectangle.Height = 0;
    7716           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    7717             :     }
    7718           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedUpArrow");
    7719             : 
    7720           0 :     return aPropertyMap;
    7721             :   }
    7722             : };
    7723           2 : class ShapeCsnip1Rect : public CustomShapeProvider
    7724             : {
    7725           0 :   virtual PropertyMap getProperties()
    7726             :   {
    7727           0 :     PropertyMap aPropertyMap;
    7728             : 
    7729             :     {
    7730           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
    7731             :         {
    7732           0 :             Any aAny ((sal_Int32) 16667);
    7733           0 :             aAdjSequence [0].Value = aAny;
    7734           0 :             aAdjSequence [0].Name = "adj";
    7735             :         }
    7736           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    7737             :     }
    7738             :     {
    7739             :         static const char *aStrings[] = {
    7740             :             "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
    7741             :             "min(logwidth,logheight)",
    7742             :             "?1 *?0 /100000",
    7743             :             "logwidth+0-?2 ",
    7744             :             "?2 *1/2",
    7745             :             "(?3 +logwidth)/2",
    7746             :             "logwidth",
    7747             :             "logheight/2",
    7748             :             "logwidth/2",
    7749             :             "logheight"
    7750             :         };
    7751           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    7752             :     }
    7753             :     {
    7754           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    7755             :         {
    7756           0 :             Sequence< PropertyValue > aPropSequence (4);
    7757             :             {
    7758           0 :                 aPropSequence [0].Name = "Position";
    7759             :                 static const CustomShapeProvider::ParameterPairData aData =
    7760             :                 {
    7761             :                     EnhancedCustomShapeParameterType::EQUATION,
    7762             :                     EnhancedCustomShapeParameterType::NORMAL,
    7763             :                     3, 0
    7764             :                 };
    7765           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7766             :             }
    7767             :             {
    7768           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    7769           0 :                 EnhancedCustomShapeParameter aParameter;
    7770           0 :                 Any aAny ((sal_Int32) 50000);
    7771           0 :                 aParameter.Value = aAny;
    7772           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7773           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    7774             :             }
    7775             :             {
    7776           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    7777           0 :                 EnhancedCustomShapeParameter aParameter;
    7778           0 :                 Any aAny ((sal_Int32) 0);
    7779           0 :                 aParameter.Value = aAny;
    7780           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7781           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    7782             :             }
    7783             :             {
    7784           0 :                 aPropSequence [3].Name = "RefX";
    7785           0 :                 Any aAny ((sal_Int32) 0);
    7786           0 :                 aPropSequence [3].Value = makeAny (aAny);
    7787             :             }
    7788           0 :             aPropSequenceSequence [0] = aPropSequence;
    7789             :         }
    7790           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    7791             :     }
    7792             :     {
    7793           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    7794             :     }
    7795             :     {
    7796           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    7797             :     }
    7798             :     {
    7799           0 :         Sequence< PropertyValue > aPropSequence (3);
    7800             :         {
    7801           0 :             aPropSequence [0].Name = "Coordinates";
    7802             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    7803             :                 {
    7804             :                     EnhancedCustomShapeParameterType::NORMAL,
    7805             :                     EnhancedCustomShapeParameterType::NORMAL,
    7806             :                     0, 0
    7807             :                 },
    7808             :                 {
    7809             :                     EnhancedCustomShapeParameterType::EQUATION,
    7810             :                     EnhancedCustomShapeParameterType::NORMAL,
    7811             :                     3, 0
    7812             :                 },
    7813             :                 {
    7814             :                     EnhancedCustomShapeParameterType::EQUATION,
    7815             :                     EnhancedCustomShapeParameterType::EQUATION,
    7816             :                     6, 2
    7817             :                 },
    7818             :                 {
    7819             :                     EnhancedCustomShapeParameterType::EQUATION,
    7820             :                     EnhancedCustomShapeParameterType::EQUATION,
    7821             :                     6, 9
    7822             :                 },
    7823             :                 {
    7824             :                     EnhancedCustomShapeParameterType::NORMAL,
    7825             :                     EnhancedCustomShapeParameterType::EQUATION,
    7826             :                     0, 9
    7827             :                 }
    7828             :             };
    7829           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    7830             :         }
    7831             :         {
    7832           0 :             aPropSequence [1].Name = "Segments";
    7833             :             static const sal_uInt16 nValues[] = {
    7834             :             // Command, Count
    7835             :                 1,1,
    7836             :                 2,4,
    7837             :                 4,0,
    7838             :                 5,0
    7839             :             };
    7840           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    7841             :         }
    7842             :         {
    7843           0 :             aPropSequence [2].Name = "TextFrames";
    7844           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    7845             :             {
    7846           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    7847             :                 {
    7848             :                     static const CustomShapeProvider::ParameterPairData aData =
    7849             :                     {
    7850             :                         EnhancedCustomShapeParameterType::NORMAL,
    7851             :                         EnhancedCustomShapeParameterType::EQUATION,
    7852             :                         0, 4
    7853             :                     };
    7854           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    7855             :                 }
    7856             :                 {
    7857             :                     static const CustomShapeProvider::ParameterPairData aData =
    7858             :                     {
    7859             :                         EnhancedCustomShapeParameterType::EQUATION,
    7860             :                         EnhancedCustomShapeParameterType::EQUATION,
    7861             :                         5, 9
    7862             :                     };
    7863           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    7864             :                 }
    7865           0 :                 aTextFrameSeq [0] = aTextFrame;
    7866             :             }
    7867           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    7868             :         }
    7869           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    7870             :     }
    7871             :     {
    7872           0 :         awt::Rectangle aRectangle;
    7873           0 :         aRectangle.X = 0;
    7874           0 :         aRectangle.Y = 0;
    7875           0 :         aRectangle.Width = 0;
    7876           0 :         aRectangle.Height = 0;
    7877           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    7878             :     }
    7879           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-snip1Rect");
    7880             : 
    7881           0 :     return aPropertyMap;
    7882             :   }
    7883             : };
    7884           2 : class ShapeCellipseRibbon2 : public CustomShapeProvider
    7885             : {
    7886           0 :   virtual PropertyMap getProperties()
    7887             :   {
    7888           0 :     PropertyMap aPropertyMap;
    7889             : 
    7890             :     {
    7891           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
    7892             :         {
    7893           0 :             Any aAny ((sal_Int32) 25000);
    7894           0 :             aAdjSequence [0].Value = aAny;
    7895           0 :             aAdjSequence [0].Name = "adj1";
    7896             :         }
    7897             :         {
    7898           0 :             Any aAny ((sal_Int32) 50000);
    7899           0 :             aAdjSequence [1].Value = aAny;
    7900           0 :             aAdjSequence [1].Name = "adj2";
    7901             :         }
    7902             :         {
    7903           0 :             Any aAny ((sal_Int32) 12500);
    7904           0 :             aAdjSequence [2].Value = aAny;
    7905           0 :             aAdjSequence [2].Name = "adj3";
    7906             :         }
    7907           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    7908             :     }
    7909             :     {
    7910             :         static const char *aStrings[] = {
    7911             :             "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
    7912             :             "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
    7913             :             "100000+0-?0 ",
    7914             :             "?2 *1/2",
    7915             :             "?0 +0-?3 ",
    7916             :             "max(0,?4 )",
    7917             :             "if(?5 -$2 ,?5 ,if(?0 -$2 ,$2 ,?0 ))",
    7918             :             "logwidth*?1 /200000",
    7919             :             "logwidth/2",
    7920             :             "?8 +0-?7 ",
    7921             :             "logwidth/8",
    7922             :             "?9 +?10 -0",
    7923             :             "logwidth+0-?11 ",
    7924             :             "logwidth+0-?9 ",
    7925             :             "logwidth+0-?10 ",
    7926             :             "logheight*?6 /100000",
    7927             :             "4*?15 /logwidth",
    7928             :             "?11 *?11 /logwidth",
    7929             :             "?11 +0-?17 ",
    7930             :             "?16 *?18 /1",
    7931             :             "logheight+0-?19 ",
    7932             :             "?11 *1/2",
    7933             :             "?16 *?21 /1",
    7934             :             "logheight+0-?22 ",
    7935             :             "logwidth+0-?21 ",
    7936             :             "logheight*?0 /100000",
    7937             :             "?25 +0-?15 ",
    7938             :             "?9 *?9 /logwidth",
    7939             :             "?9 +0-?27 ",
    7940             :             "?16 *?28 /1",
    7941             :             "?29 +?26 -0",
    7942             :             "logheight+0-?30 ",
    7943             :             "?15 +?26 -?30 ",
    7944             :             "?32 +?15 -0",
    7945             :             "?33 +?26 -0",
    7946             :             "logheight+0-?34 ",
    7947             :             "logheight+0-?25 ",
    7948             :             "?15 *14/16",
    7949             :             "(?37 +?36 )/2",
    7950             :             "logheight+0-?38 ",
    7951             :             "?29 +?36 -0",
    7952             :             "logheight+0-?40 ",
    7953             :             "?30 +?36 -0",
    7954             :             "logheight+0-?42 ",
    7955             :             "?9 *1/2",
    7956             :             "?16 *?44 /1",
    7957             :             "?45 +?36 -0",
    7958             :             "logheight+0-?46 ",
    7959             :             "logwidth+0-?44 ",
    7960             :             "?34 +?36 -0",
    7961             :             "logheight+0-?49 ",
    7962             :             "?19 +?26 -0",
    7963             :             "logheight+0-?51 ",
    7964             :             "?25 +?25 -?51 ",
    7965             :             "logheight+0-?53 ",
    7966             :             "logheight",
    7967             :             "logwidth"
    7968             :         };
    7969           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    7970             :     }
    7971             :     {
    7972           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
    7973             :         {
    7974           0 :             Sequence< PropertyValue > aPropSequence (4);
    7975             :             {
    7976           0 :                 aPropSequence [0].Name = "Position";
    7977             :                 static const CustomShapeProvider::ParameterPairData aData =
    7978             :                 {
    7979             :                     EnhancedCustomShapeParameterType::EQUATION,
    7980             :                     EnhancedCustomShapeParameterType::EQUATION,
    7981             :                     8, 36
    7982             :                 };
    7983           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    7984             :             }
    7985             :             {
    7986           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    7987           0 :                 EnhancedCustomShapeParameter aParameter;
    7988           0 :                 Any aAny ((sal_Int32) 100000);
    7989           0 :                 aParameter.Value = aAny;
    7990           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7991           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    7992             :             }
    7993             :             {
    7994           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    7995           0 :                 EnhancedCustomShapeParameter aParameter;
    7996           0 :                 Any aAny ((sal_Int32) 0);
    7997           0 :                 aParameter.Value = aAny;
    7998           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    7999           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    8000             :             }
    8001             :             {
    8002           0 :                 aPropSequence [3].Name = "RefY";
    8003           0 :                 Any aAny ((sal_Int32) 0);
    8004           0 :                 aPropSequence [3].Value = makeAny (aAny);
    8005             :             }
    8006           0 :             aPropSequenceSequence [0] = aPropSequence;
    8007             :         }
    8008             :         {
    8009           0 :             Sequence< PropertyValue > aPropSequence (4);
    8010             :             {
    8011           0 :                 aPropSequence [0].Name = "Position";
    8012             :                 static const CustomShapeProvider::ParameterPairData aData =
    8013             :                 {
    8014             :                     EnhancedCustomShapeParameterType::EQUATION,
    8015             :                     EnhancedCustomShapeParameterType::NORMAL,
    8016             :                     9, 0
    8017             :                 };
    8018           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    8019             :             }
    8020             :             {
    8021           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    8022           0 :                 EnhancedCustomShapeParameter aParameter;
    8023           0 :                 Any aAny ((sal_Int32) 100000);
    8024           0 :                 aParameter.Value = aAny;
    8025           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    8026           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    8027             :             }
    8028             :             {
    8029           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    8030           0 :                 EnhancedCustomShapeParameter aParameter;
    8031           0 :                 Any aAny ((sal_Int32) 25000);
    8032           0 :                 aParameter.Value = aAny;
    8033           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    8034           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    8035             :             }
    8036             :             {
    8037           0 :                 aPropSequence [3].Name = "RefX";
    8038           0 :                 Any aAny ((sal_Int32) 1);
    8039           0 :                 aPropSequence [3].Value = makeAny (aAny);
    8040             :             }
    8041           0 :             aPropSequenceSequence [1] = aPropSequence;
    8042             :         }
    8043             :         {
    8044           0 :             Sequence< PropertyValue > aPropSequence (4);
    8045             :             {
    8046           0 :                 aPropSequence [0].Name = "Position";
    8047             :                 static const CustomShapeProvider::ParameterPairData aData =
    8048             :                 {
    8049             :                     EnhancedCustomShapeParameterType::NORMAL,
    8050             :                     EnhancedCustomShapeParameterType::EQUATION,
    8051             :                     0, 15
    8052             :                 };
    8053           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    8054             :             }
    8055             :             {
    8056           0 :                 aPropSequence [1].Name = "RangeYMaximum";
    8057           0 :                 EnhancedCustomShapeParameter aParameter;
    8058           0 :                 Any aAny ((sal_Int32) 0);
    8059           0 :                 aParameter.Value = aAny;
    8060           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    8061           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    8062             :             }
    8063             :             {
    8064           0 :                 aPropSequence [2].Name = "RangeYMinimum";
    8065           0 :                 EnhancedCustomShapeParameter aParameter;
    8066           0 :                 Any aAny ((sal_Int32) 5);
    8067           0 :                 aParameter.Value = aAny;
    8068           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
    8069           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    8070             :             }
    8071             :             {
    8072           0 :                 aPropSequence [3].Name = "RefY";
    8073           0 :                 Any aAny ((sal_Int32) 2);
    8074           0 :                 aPropSequence [3].Value = makeAny (aAny);
    8075             :             }
    8076           0 :             aPropSequenceSequence [2] = aPropSequence;
    8077             :         }
    8078           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    8079             :     }
    8080             :     {
    8081           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    8082             :     }
    8083             :     {
    8084           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    8085             :     }
    8086             :     {
    8087           0 :         Sequence< PropertyValue > aPropSequence (3);
    8088             :         {
    8089           0 :             aPropSequence [0].Name = "Coordinates";
    8090             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    8091             :                 {
    8092             :                     EnhancedCustomShapeParameterType::NORMAL,
    8093             :                     EnhancedCustomShapeParameterType::EQUATION,
    8094             :                     0, 55
    8095             :                 },
    8096             :                 {
    8097             :                     EnhancedCustomShapeParameterType::EQUATION,
    8098             :                     EnhancedCustomShapeParameterType::EQUATION,
    8099             :                     21, 23
    8100             :                 },
    8101             :                 {
    8102             :                     EnhancedCustomShapeParameterType::EQUATION,
    8103             :                     EnhancedCustomShapeParameterType::EQUATION,
    8104             :                     11, 20
    8105             :                 },
    8106             :                 {
    8107             :                     EnhancedCustomShapeParameterType::EQUATION,
    8108             :                     EnhancedCustomShapeParameterType::EQUATION,
    8109             :                     9, 31
    8110             :                 },
    8111             :                 {
    8112             :                     EnhancedCustomShapeParameterType::EQUATION,
    8113             :                     EnhancedCustomShapeParameterType::EQUATION,
    8114             :                     8, 35
    8115             :                 },
    8116             :                 {
    8117             :                     EnhancedCustomShapeParameterType::EQUATION,
    8118             :                     EnhancedCustomShapeParameterType::EQUATION,
    8119             :                     13, 31
    8120             :                 },
    8121             :                 {
    8122             :                     EnhancedCustomShapeParameterType::EQUATION,
    8123             :                     EnhancedCustomShapeParameterType::EQUATION,
    8124             :                     12, 20
    8125             :                 },
    8126             :                 {
    8127             :                     EnhancedCustomShapeParameterType::EQUATION,
    8128             :                     EnhancedCustomShapeParameterType::EQUATION,
    8129             :                     24, 23
    8130             :                 },
    8131             :                 {
    8132             :                     EnhancedCustomShapeParameterType::EQUATION,
    8133             :                     EnhancedCustomShapeParameterType::EQUATION,
    8134             :                     56, 55
    8135             :                 },
    8136             :                 {
    8137             :                     EnhancedCustomShapeParameterType::EQUATION,
    8138             :                     EnhancedCustomShapeParameterType::EQUATION,
    8139             :                     14, 39
    8140             :                 },
    8141             :                 {
    8142             :                     EnhancedCustomShapeParameterType::EQUATION,
    8143             :                     EnhancedCustomShapeParameterType::EQUATION,
    8144             :                     56, 25
    8145             :                 },
    8146             :                 {
    8147             :                     EnhancedCustomShapeParameterType::EQUATION,
    8148             :                     EnhancedCustomShapeParameterType::EQUATION,
    8149             :                     48, 47
    8150             :                 },
    8151             :                 {
    8152             :                     EnhancedCustomShapeParameterType::EQUATION,
    8153             :                     EnhancedCustomShapeParameterType::EQUATION,
    8154             :                     13, 41
    8155             :                 },
    8156             :                 {
    8157             :                     EnhancedCustomShapeParameterType::EQUATION,
    8158             :                     EnhancedCustomShapeParameterType::EQUATION,
    8159             :                     13, 43
    8160             :                 },
    8161             :                 {
    8162             :                     EnhancedCustomShapeParameterType::EQUATION,
    8163             :                     EnhancedCustomShapeParameterType::EQUATION,
    8164             :                     8, 50
    8165             :                 },
    8166             :                 {
    8167             :                     EnhancedCustomShapeParameterType::EQUATION,
    8168             :                     EnhancedCustomShapeParameterType::EQUATION,
    8169             :                     9, 43
    8170             :                 },
    8171             :                 {
    8172             :                     EnhancedCustomShapeParameterType::EQUATION,
    8173             :                     EnhancedCustomShapeParameterType::EQUATION,
    8174             :                     9, 41
    8175             :                 },
    8176             :                 {
    8177             :                     EnhancedCustomShapeParameterType::EQUATION,
    8178             :                     EnhancedCustomShapeParameterType::EQUATION,
    8179             :                     44, 47
    8180             :                 },
    8181             :                 {
    8182             :                     EnhancedCustomShapeParameterType::NORMAL,
    8183             :                     EnhancedCustomShapeParameterType::EQUATION,
    8184             :                     0, 25
    8185             :                 },
    8186             :                 {
    8187             :                     EnhancedCustomShapeParameterType::EQUATION,
    8188             :                     EnhancedCustomShapeParameterType::EQUATION,
    8189             :                     10, 39
    8190             :                 },
    8191             :                 {
    8192             :                     EnhancedCustomShapeParameterType::EQUATION,
    8193             :                     EnhancedCustomShapeParameterType::EQUATION,
    8194             :                     11, 52
    8195             :                 },
    8196             :                 {
    8197             :                     EnhancedCustomShapeParameterType::EQUATION,
    8198             :                     EnhancedCustomShapeParameterType::EQUATION,
    8199             :                     11, 20
    8200             :                 },
    8201             :                 {
    8202             :                     EnhancedCustomShapeParameterType::EQUATION,
    8203             :                     EnhancedCustomShapeParameterType::EQUATION,
    8204             :                     9, 31
    8205             :                 },
    8206             :                 {
    8207             :                     EnhancedCustomShapeParameterType::EQUATION,
    8208             :                     EnhancedCustomShapeParameterType::EQUATION,
    8209             :                     8, 35
    8210             :                 },
    8211             :                 {
    8212             :                     EnhancedCustomShapeParameterType::EQUATION,
    8213             :                     EnhancedCustomShapeParameterType::EQUATION,
    8214             :                     13, 31
    8215             :                 },
    8216             :                 {
    8217             :                     EnhancedCustomShapeParameterType::EQUATION,
    8218             :                     EnhancedCustomShapeParameterType::EQUATION,
    8219             :                     12, 20
    8220             :                 },
    8221             :                 {
    8222             :                     EnhancedCustomShapeParameterType::EQUATION,
    8223             :                     EnhancedCustomShapeParameterType::EQUATION,
    8224             :                     12, 52
    8225             :                 },
    8226             :                 {
    8227             :                     EnhancedCustomShapeParameterType::EQUATION,
    8228             :                     EnhancedCustomShapeParameterType::EQUATION,
    8229             :                     8, 54
    8230             :                 },
    8231             :                 {
    8232             :                     EnhancedCustomShapeParameterType::EQUATION,
    8233             :                     EnhancedCustomShapeParameterType::EQUATION,
    8234             :                     11, 52
    8235             :                 },
    8236             :                 {
    8237             :                     EnhancedCustomShapeParameterType::NORMAL,
    8238             :                     EnhancedCustomShapeParameterType::EQUATION,
    8239             :                     0, 55
    8240             :                 },
    8241             :                 {
    8242             :                     EnhancedCustomShapeParameterType::EQUATION,
    8243             :                     EnhancedCustomShapeParameterType::EQUATION,
    8244             :                     10, 39
    8245             :                 },
    8246             :                 {
    8247             :                     EnhancedCustomShapeParameterType::NORMAL,
    8248             :                     EnhancedCustomShapeParameterType::EQUATION,
    8249             :                     0, 25
    8250             :                 },
    8251             :                 {
    8252             :                     EnhancedCustomShapeParameterType::EQUATION,
    8253             :                     EnhancedCustomShapeParameterType::EQUATION,
    8254             :                     44, 47
    8255             :                 },
    8256             :                 {
    8257             :                     EnhancedCustomShapeParameterType::EQUATION,
    8258             :                     EnhancedCustomShapeParameterType::EQUATION,
    8259             :                     9, 41
    8260             :                 },
    8261             :                 {
    8262             :                     EnhancedCustomShapeParameterType::EQUATION,
    8263             :                     EnhancedCustomShapeParameterType::EQUATION,
    8264             :                     9, 43
    8265             :                 },
    8266             :                 {
    8267             :                     EnhancedCustomShapeParameterType::EQUATION,
    8268             :                     EnhancedCustomShapeParameterType::EQUATION,
    8269             :                     8, 50
    8270             :                 },
    8271             :                 {
    8272             :                     EnhancedCustomShapeParameterType::EQUATION,
    8273             :                     EnhancedCustomShapeParameterType::EQUATION,
    8274             :                     13, 43
    8275             :                 },
    8276             :                 {
    8277             :                     EnhancedCustomShapeParameterType::EQUATION,
    8278             :                     EnhancedCustomShapeParameterType::EQUATION,
    8279             :                     13, 41
    8280             :                 },
    8281             :                 {
    8282             :                     EnhancedCustomShapeParameterType::EQUATION,
    8283             :                     EnhancedCustomShapeParameterType::EQUATION,
    8284             :                     48, 47
    8285             :                 },
    8286             :                 {
    8287             :                     EnhancedCustomShapeParameterType::EQUATION,
    8288             :                     EnhancedCustomShapeParameterType::EQUATION,
    8289             :                     56, 25
    8290             :                 },
    8291             :                 {
    8292             :                     EnhancedCustomShapeParameterType::EQUATION,
    8293             :                     EnhancedCustomShapeParameterType::EQUATION,
    8294             :                     14, 39
    8295             :                 },
    8296             :                 {
    8297             :                     EnhancedCustomShapeParameterType::EQUATION,
    8298             :                     EnhancedCustomShapeParameterType::EQUATION,
    8299             :                     56, 55
    8300             :                 },
    8301             :                 {
    8302             :                     EnhancedCustomShapeParameterType::EQUATION,
    8303             :                     EnhancedCustomShapeParameterType::EQUATION,
    8304             :                     24, 23
    8305             :                 },
    8306             :                 {
    8307             :                     EnhancedCustomShapeParameterType::EQUATION,
    8308             :                     EnhancedCustomShapeParameterType::EQUATION,
    8309             :                     12, 20
    8310             :                 },
    8311             :                 {
    8312             :                     EnhancedCustomShapeParameterType::EQUATION,
    8313             :                     EnhancedCustomShapeParameterType::EQUATION,
    8314             :                     13, 31
    8315             :                 },
    8316             :                 {
    8317             :                     EnhancedCustomShapeParameterType::EQUATION,
    8318             :                     EnhancedCustomShapeParameterType::EQUATION,
    8319             :                     8, 35
    8320             :                 },
    8321             :                 {
    8322             :                     EnhancedCustomShapeParameterType::EQUATION,
    8323             :                     EnhancedCustomShapeParameterType::EQUATION,
    8324             :                     9, 31
    8325             :                 },
    8326             :                 {
    8327             :                     EnhancedCustomShapeParameterType::EQUATION,
    8328             :                     EnhancedCustomShapeParameterType::EQUATION,
    8329             :                     11, 20
    8330             :                 },
    8331             :                 {
    8332             :                     EnhancedCustomShapeParameterType::EQUATION,
    8333             :                     EnhancedCustomShapeParameterType::EQUATION,
    8334             :                     21, 23
    8335             :                 },
    8336             :                 {
    8337             :                     EnhancedCustomShapeParameterType::NORMAL,
    8338             :                     EnhancedCustomShapeParameterType::EQUATION,
    8339             :                     0, 55
    8340             :                 },
    8341             :                 {
    8342             :                     EnhancedCustomShapeParameterType::EQUATION,
    8343             :                     EnhancedCustomShapeParameterType::EQUATION,
    8344             :                     9, 31
    8345             :                 },
    8346             :                 {
    8347             :                     EnhancedCustomShapeParameterType::EQUATION,
    8348             :                     EnhancedCustomShapeParameterType::EQUATION,
    8349             :                     9, 41
    8350             :                 },
    8351             :                 {
    8352             :                     EnhancedCustomShapeParameterType::EQUATION,
    8353             :                     EnhancedCustomShapeParameterType::EQUATION,
    8354             :                     13, 41
    8355             :                 },
    8356             :                 {
    8357             :                     EnhancedCustomShapeParameterType::EQUATION,
    8358             :                     EnhancedCustomShapeParameterType::EQUATION,
    8359             :                     13, 31
    8360             :                 },
    8361             :                 {
    8362             :                     EnhancedCustomShapeParameterType::EQUATION,
    8363             :                     EnhancedCustomShapeParameterType::EQUATION,
    8364             :                     11, 52
    8365             :                 },
    8366             :                 {
    8367             :                     EnhancedCustomShapeParameterType::EQUATION,
    8368             :                     EnhancedCustomShapeParameterType::EQUATION,
    8369             :                     11, 20
    8370             :                 },
    8371             :                 {
    8372             :                     EnhancedCustomShapeParameterType::EQUATION,
    8373             :                     EnhancedCustomShapeParameterType::EQUATION,
    8374             :                     12, 20
    8375             :                 },
    8376             :                 {
    8377             :                     EnhancedCustomShapeParameterType::EQUATION,
    8378             :                     EnhancedCustomShapeParameterType::EQUATION,
    8379             :                     12, 52
    8380             :                 }
    8381             :             };
    8382           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    8383             :         }
    8384             :         {
    8385           0 :             aPropSequence [1].Name = "Segments";
    8386             :             static const sal_uInt16 nValues[] = {
    8387             :             // Command, Count
    8388             :                 1,1,
    8389             :                 16,1,
    8390             :                 2,1,
    8391             :                 16,1,
    8392             :                 2,1,
    8393             :                 16,1,
    8394             :                 2,2,
    8395             :                 16,1,
    8396             :                 2,1,
    8397             :                 16,1,
    8398             :                 2,1,
    8399             :                 16,1,
    8400             :                 2,1,
    8401             :                 4,0,
    8402             :                 7,0,
    8403             :                 5,0,
    8404             :                 1,1,
    8405             :                 2,2,
    8406             :                 16,1,
    8407             :                 2,2,
    8408             :                 16,1,
    8409             :                 4,0,
    8410             :                 19,0,
    8411             :                 7,0,
    8412             :                 5,0,
    8413             :                 1,1,
    8414             :                 2,2,
    8415             :                 16,1,
    8416             :                 2,1,
    8417             :                 16,1,
    8418             :                 2,1,
    8419             :                 16,1,
    8420             :                 2,2,
    8421             :                 16,1,
    8422             :                 2,1,
    8423             :                 16,1,
    8424             :                 2,1,
    8425             :                 16,1,
    8426             :                 4,0,
    8427             :                 1,1,
    8428             :                 2,1,
    8429             :                 1,1,
    8430             :                 2,1,
    8431             :                 1,1,
    8432             :                 2,1,
    8433             :                 1,1,
    8434             :                 2,1,
    8435             :                 6,0,
    8436             :                 5,0
    8437             :             };
    8438           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    8439             :         }
    8440             :         {
    8441           0 :             aPropSequence [2].Name = "TextFrames";
    8442           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    8443             :             {
    8444           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    8445             :                 {
    8446             :                     static const CustomShapeProvider::ParameterPairData aData =
    8447             :                     {
    8448             :                         EnhancedCustomShapeParameterType::EQUATION,
    8449             :                         EnhancedCustomShapeParameterType::EQUATION,
    8450             :                         9, 43
    8451             :                     };
    8452           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    8453             :                 }
    8454             :                 {
    8455             :                     static const CustomShapeProvider::ParameterPairData aData =
    8456             :                     {
    8457             :                         EnhancedCustomShapeParameterType::EQUATION,
    8458             :                         EnhancedCustomShapeParameterType::EQUATION,
    8459             :                         13, 36
    8460             :                     };
    8461           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    8462             :                 }
    8463           0 :                 aTextFrameSeq [0] = aTextFrame;
    8464             :             }
    8465           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    8466             :         }
    8467           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    8468             :     }
    8469             :     {
    8470           0 :         awt::Rectangle aRectangle;
    8471           0 :         aRectangle.X = 0;
    8472           0 :         aRectangle.Y = 0;
    8473           0 :         aRectangle.Width = 0;
    8474           0 :         aRectangle.Height = 0;
    8475           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    8476             :     }
    8477           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-ellipseRibbon2");
    8478             : 
    8479           0 :     return aPropertyMap;
    8480             :   }
    8481             : };
    8482           2 : class ShapeCplus : public CustomShapeProvider
    8483             : {
    8484           0 :   virtual PropertyMap getProperties()
    8485             :   {
    8486           0 :     PropertyMap aPropertyMap;
    8487             : 
    8488             :     {
    8489           0 :         Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
    8490             :         {
    8491           0 :             Any aAny ((sal_Int32) 25000);
    8492           0 :             aAdjSequence [0].Value = aAny;
    8493           0 :             aAdjSequence [0].Name = "adj";
    8494             :         }
    8495           0 :         aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
    8496             :     }
    8497             :     {
    8498             :         static const char *aStrings[] = {
    8499             :             "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
    8500             :             "min(logwidth,logheight)",
    8501             :             "?1 *?0 /100000",
    8502             :             "logwidth+0-?2 ",
    8503             :             "logheight+0-?2 ",
    8504             :             "logwidth+0-logheight",
    8505             :             "if(?5 ,0,?2 )",
    8506             :             "if(?5 ,logwidth,?3 )",
    8507             :             "if(?5 ,?2 ,0)",
    8508             :             "if(?5 ,?4 ,logheight)",
    8509             :             "logwidth/2",
    8510             :             "logheight/2",
    8511             :             "logheight",
    8512             :             "logwidth"
    8513             :         };
    8514           0 :         aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
    8515             :     }
    8516             :     {
    8517           0 :         Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
    8518             :         {
    8519           0 :             Sequence< PropertyValue > aPropSequence (4);
    8520             :             {
    8521           0 :                 aPropSequence [0].Name = "Position";
    8522             :                 static const CustomShapeProvider::ParameterPairData aData =
    8523             :                 {
    8524             :                     EnhancedCustomShapeParameterType::EQUATION,
    8525             :                     EnhancedCustomShapeParameterType::NORMAL,
    8526             :                     2, 0
    8527             :                 };
    8528           0 :                 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
    8529             :             }
    8530             :             {
    8531           0 :                 aPropSequence [1].Name = "RangeXMaximum";
    8532           0 :                 EnhancedCustomShapeParameter aParameter;
    8533           0 :                 Any aAny ((sal_Int32) 50000);
    8534           0 :                 aParameter.Value = aAny;
    8535           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    8536           0 :                 aPropSequence [1].Value = makeAny (aParameter);
    8537             :             }
    8538             :             {
    8539           0 :                 aPropSequence [2].Name = "RangeXMinimum";
    8540           0 :                 EnhancedCustomShapeParameter aParameter;
    8541           0 :                 Any aAny ((sal_Int32) 0);
    8542           0 :                 aParameter.Value = aAny;
    8543           0 :                 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
    8544           0 :                 aPropSequence [2].Value = makeAny (aParameter);
    8545             :             }
    8546             :             {
    8547           0 :                 aPropSequence [3].Name = "RefX";
    8548           0 :                 Any aAny ((sal_Int32) 0);
    8549           0 :                 aPropSequence [3].Value = makeAny (aAny);
    8550             :             }
    8551           0 :             aPropSequenceSequence [0] = aPropSequence;
    8552             :         }
    8553           0 :         aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
    8554             :     }
    8555             :     {
    8556           0 :         aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
    8557             :     }
    8558             :     {
    8559           0 :         aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
    8560             :     }
    8561             :     {
    8562           0 :         Sequence< PropertyValue > aPropSequence (3);
    8563             :         {
    8564           0 :             aPropSequence [0].Name = "Coordinates";
    8565             :             static const CustomShapeProvider::ParameterPairData aData[] = {
    8566             :                 {
    8567             :                     EnhancedCustomShapeParameterType::NORMAL,
    8568             :                     EnhancedCustomShapeParameterType::EQUATION,
    8569             :                     0, 2
    8570             :                 },
    8571             :                 {
    8572             :                     EnhancedCustomShapeParameterType::EQUATION,
    8573             :                     EnhancedCustomShapeParameterType::EQUATION,
    8574             :                     2, 2
    8575             :                 },
    8576             :                 {
    8577             :                     EnhancedCustomShapeParameterType::EQUATION,
    8578             :                     EnhancedCustomShapeParameterType::NORMAL,
    8579             :                     2, 0
    8580             :                 },
    8581             :                 {
    8582             :                     EnhancedCustomShapeParameterType::EQUATION,
    8583             :                     EnhancedCustomShapeParameterType::NORMAL,
    8584             :                     3, 0
    8585             :                 },
    8586             :                 {
    8587             :                     EnhancedCustomShapeParameterType::EQUATION,
    8588             :                     EnhancedCustomShapeParameterType::EQUATION,
    8589             :                     3, 2
    8590             :                 },
    8591             :                 {
    8592             :                     EnhancedCustomShapeParameterType::EQUATION,
    8593             :                     EnhancedCustomShapeParameterType::EQUATION,
    8594             :                     13, 2
    8595             :                 },
    8596             :                 {
    8597             :                     EnhancedCustomShapeParameterType::EQUATION,
    8598             :                     EnhancedCustomShapeParameterType::EQUATION,
    8599             :                     13, 4
    8600             :                 },
    8601             :                 {
    8602             :                     EnhancedCustomShapeParameterType::EQUATION,
    8603             :                     EnhancedCustomShapeParameterType::EQUATION,
    8604             :                     3, 4
    8605             :                 },
    8606             :                 {
    8607             :                     EnhancedCustomShapeParameterType::EQUATION,
    8608             :                     EnhancedCustomShapeParameterType::EQUATION,
    8609             :                     3, 12
    8610             :                 },
    8611             :                 {
    8612             :                     EnhancedCustomShapeParameterType::EQUATION,
    8613             :                     EnhancedCustomShapeParameterType::EQUATION,
    8614             :                     2, 12
    8615             :                 },
    8616             :                 {
    8617             :                     EnhancedCustomShapeParameterType::EQUATION,
    8618             :                     EnhancedCustomShapeParameterType::EQUATION,
    8619             :                     2, 4
    8620             :                 },
    8621             :                 {
    8622             :                     EnhancedCustomShapeParameterType::NORMAL,
    8623             :                     EnhancedCustomShapeParameterType::EQUATION,
    8624             :                     0, 4
    8625             :                 }
    8626             :             };
    8627           0 :             aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
    8628             :         }
    8629             :         {
    8630           0 :             aPropSequence [1].Name = "Segments";
    8631             :             static const sal_uInt16 nValues[] = {
    8632             :             // Command, Count
    8633             :                 1,1,
    8634             :                 2,11,
    8635             :                 4,0,
    8636             :                 5,0
    8637             :             };
    8638           0 :             aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
    8639             :         }
    8640             :         {
    8641           0 :             aPropSequence [2].Name = "TextFrames";
    8642           0 :             Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
    8643             :             {
    8644           0 :                 EnhancedCustomShapeTextFrame aTextFrame;
    8645             :                 {
    8646             :                     static const CustomShapeProvider::ParameterPairData aData =
    8647             :                     {
    8648             :                         EnhancedCustomShapeParameterType::EQUATION,
    8649             :                         EnhancedCustomShapeParameterType::EQUATION,
    8650             :                         6, 8
    8651             :                     };
    8652           0 :                     aTextFrame.TopLeft = createParameterPair(&aData);
    8653             :                 }
    8654             :                 {
    8655             :                     static const CustomShapeProvider::ParameterPairData aData =
    8656             :                     {
    8657             :                         EnhancedCustomShapeParameterType::EQUATION,
    8658             :                         EnhancedCustomShapeParameterType::EQUATION,
    8659             :                         7, 9
    8660             :                     };
    8661           0 :                     aTextFrame.BottomRight = createParameterPair(&aData);
    8662             :                 }
    8663           0 :                 aTextFrameSeq [0] = aTextFrame;
    8664             :             }
    8665           0 :             aPropSequence [2].Value = makeAny (aTextFrameSeq);
    8666             :         }
    8667           0 :         aPropertyMap [PROP_Path] <<= aPropSequence;
    8668             :     }
    8669             :     {
    8670           0 :         awt::Rectangle aRectangle;
    8671           0 :         aRectangle.X = 0;
    8672           0 :         aRectangle.Y = 0;
    8673           0 :         aRectangle.Width = 0;
    8674           0 :         aRectangle.Height = 0;
    8675           0 :         aPropertyMap [PROP_ViewBox] <<= aRectangle;
    8676             :     }
    8677           0 :     aPropertyMap [ PROP_Type ] <<= OUString("ooxml-plus");
    8678             : 
    8679           0 :     return aPropertyMap;
    8680             :   }
    8681             : };
    8682             : } // anonymous namespace
    8683           2 : void CustomShapeProperties::initializePresetsMap4()
    8684             : {
    8685           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "teardrop" ) ] = new ShapeCteardrop();
    8686           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDocument" ) ] = new ShapeCflowChartDocument();
    8687           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightArrowCallout" ) ] = new ShapeCrightArrowCallout();
    8688           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBrace" ) ] = new ShapeCrightBrace();
    8689           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartPlus" ) ] = new ShapeCchartPlus();
    8690           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartManualInput" ) ] = new ShapeCflowChartManualInput();
    8691           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMerge" ) ] = new ShapeCflowChartMerge();
    8692           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "line" ) ] = new ShapeCline();
    8693           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrow" ) ] = new ShapeCdownArrow();
    8694           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upArrow" ) ] = new ShapeCupArrow();
    8695           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedDownArrow" ) ] = new ShapeCcurvedDownArrow();
    8696           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonReturn" ) ] = new ShapeCactionButtonReturn();
    8697           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartInputOutput" ) ] = new ShapeCflowChartInputOutput();
    8698           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bracketPair" ) ] = new ShapeCbracketPair();
    8699           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "smileyFace" ) ] = new ShapeCsmileyFace();
    8700           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBlank" ) ] = new ShapeCactionButtonBlank();
    8701           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wave" ) ] = new ShapeCwave();
    8702           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "swooshArrow" ) ] = new ShapeCswooshArrow();
    8703           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartSummingJunction" ) ] = new ShapeCflowChartSummingJunction();
    8704           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lightningBolt" ) ] = new ShapeClightningBolt();
    8705           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDisplay" ) ] = new ShapeCflowChartDisplay();
    8706           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBackPrevious" ) ] = new ShapeCactionButtonBackPrevious();
    8707           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "frame" ) ] = new ShapeCframe();
    8708           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rtTriangle" ) ] = new ShapeCrtTriangle();
    8709           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticTape" ) ] = new ShapeCflowChartMagneticTape();
    8710           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedRightArrow" ) ] = new ShapeCcurvedRightArrow();
    8711           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftUpArrow" ) ] = new ShapeCleftUpArrow();
    8712           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeEllipseCallout" ) ] = new ShapeCwedgeEllipseCallout();
    8713           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "doubleWave" ) ] = new ShapeCdoubleWave();
    8714           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentArrow" ) ] = new ShapeCbentArrow();
    8715           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star10" ) ] = new ShapeCstar10();
    8716           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftArrow" ) ] = new ShapeCleftArrow();
    8717           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedUpArrow" ) ] = new ShapeCcurvedUpArrow();
    8718           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip1Rect" ) ] = new ShapeCsnip1Rect();
    8719           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipseRibbon2" ) ] = new ShapeCellipseRibbon2();
    8720           2 :     maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plus" ) ] = new ShapeCplus();
    8721           2 : }
    8722             : 
    8723         141 : } } // oox // drawingml
    8724             : 

Generated by: LCOV version 1.10