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

Generated by: LCOV version 1.10