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

Generated by: LCOV version 1.10