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

Generated by: LCOV version 1.10