LCOV - code coverage report
Current view: top level - oox/source/drawingml - customshapepresets2.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 124 2066 6.0 %
Date: 2012-08-25 Functions: 39 143 27.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 180 5930 3.0 %

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

Generated by: LCOV version 1.10