LCOV - code coverage report
Current view: top level - svx/source/customshapes - EnhancedCustomShapeGeometry.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 59 219 26.9 %
Date: 2012-08-25 Functions: 3 5 60.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 46 200 23.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #include <limits>
      30                 :            : 
      31                 :            : #include "svx/EnhancedCustomShapeGeometry.hxx"
      32                 :            : #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
      33                 :            : 
      34                 :            : static const sal_Int32 MIN_INT32 = std::numeric_limits<sal_Int32>::min();
      35                 :            : 
      36                 :            : static const sal_Int32 mso_sptDefault0[] =
      37                 :            : {
      38                 :            :     1, 0
      39                 :            : };
      40                 :            : static const sal_Int32 mso_sptDefault1400[] =
      41                 :            : {
      42                 :            :     1, 1400
      43                 :            : };
      44                 :            : static const sal_Int32 mso_sptDefault1800[] =
      45                 :            : {
      46                 :            :     1, 1800
      47                 :            : };
      48                 :            : static const sal_Int32 mso_sptDefault2500[] =
      49                 :            : {
      50                 :            :     1, 2500
      51                 :            : };
      52                 :            : static const sal_Int32 mso_sptDefault2700[] =
      53                 :            : {
      54                 :            :     1, 2700
      55                 :            : };
      56                 :            : static const sal_Int32 mso_sptDefault3600[] =
      57                 :            : {
      58                 :            :     1, 3600
      59                 :            : };
      60                 :            : static const sal_Int32 mso_sptDefault3700[] =
      61                 :            : {
      62                 :            :     1, 3700
      63                 :            : };
      64                 :            : static const sal_Int32 mso_sptDefault5400[] =
      65                 :            : {
      66                 :            :     1, 5400
      67                 :            : };
      68                 :            : static const sal_Int32 mso_sptDefault7200[] =
      69                 :            : {
      70                 :            :     1, 7200
      71                 :            : };
      72                 :            : static const sal_Int32 mso_sptDefault8100[] =
      73                 :            : {
      74                 :            :     1, 8100
      75                 :            : };
      76                 :            : static const sal_Int32 mso_sptDefault9600[] =
      77                 :            : {
      78                 :            :     1, 9600
      79                 :            : };
      80                 :            : static const sal_Int32 mso_sptDefault10800[] =
      81                 :            : {
      82                 :            :     1, 10800
      83                 :            : };
      84                 :            : static const sal_Int32 mso_sptDefault12000[] =
      85                 :            : {
      86                 :            :     1, 12000
      87                 :            : };
      88                 :            : static const sal_Int32 mso_sptDefault13500[] =
      89                 :            : {
      90                 :            :     1, 13500
      91                 :            : };
      92                 :            : static const sal_Int32 mso_sptDefault16200[] =
      93                 :            : {
      94                 :            :     1, 16200
      95                 :            : };
      96                 :            : static const sal_Int32 mso_sptDefault16200and5400[] =
      97                 :            : {
      98                 :            :     2, 16200, 5400
      99                 :            : };
     100                 :            : 
     101                 :            : static const SvxMSDffVertPair mso_sptArcVert[] =
     102                 :            : {
     103                 :            :     { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }, { 10800, 10800 },
     104                 :            :     { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }
     105                 :            : };
     106                 :            : static const sal_uInt16 mso_sptArcSegm[] =
     107                 :            : {
     108                 :            :     0xa504, 0xab00, 0x0001, 0x6001, 0x8000,
     109                 :            :     0xa504, 0xaa00, 0x8000
     110                 :            : };
     111                 :            : static const SvxMSDffCalculationData mso_sptArcCalc[] =
     112                 :            : {
     113                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
     114                 :            :     { 0x2000, { 0x400, 10800, 0 } },
     115                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
     116                 :            :     { 0x2000, { 0x402, 10800, 0 } },
     117                 :            :     { 0x4009, { 10800, DFF_Prop_adjust2Value, 0 } },
     118                 :            :     { 0x2000, { 0x404, 10800, 0 } },
     119                 :            :     { 0x400a, { 10800, DFF_Prop_adjust2Value, 0 } },
     120                 :            :     { 0x2000, { 0x406, 10800, 0 } }
     121                 :            : };
     122                 :            : static const sal_Int32 mso_sptArcDefault[] =
     123                 :            : {
     124                 :            :     2, 270, 0
     125                 :            : };
     126                 :            : static const SvxMSDffVertPair mso_sptStandardGluePoints[] =
     127                 :            : {
     128                 :            :     { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
     129                 :            : };
     130                 :            : static const SvxMSDffHandle mso_sptArcHandle[] =
     131                 :            : {
     132                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
     133                 :            :         10800, 0x100, 10800, 10800, 10800, 10800, MIN_INT32, 0x7fffffff },
     134                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
     135                 :            :         10800, 0x101, 10800, 10800, 10800, 10800, MIN_INT32, 0x7fffffff }
     136                 :            : };
     137                 :            : static const mso_CustomShape msoArc =
     138                 :            : {
     139                 :            :     (SvxMSDffVertPair*)mso_sptArcVert, SAL_N_ELEMENTS( mso_sptArcVert ),
     140                 :            :     (sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1,
     141                 :            :     (SvxMSDffCalculationData*)mso_sptArcCalc, SAL_N_ELEMENTS( mso_sptArcCalc ),
     142                 :            :     (sal_Int32*)mso_sptArcDefault,
     143                 :            :     NULL, 0,
     144                 :            :     21600, 21600,
     145                 :            :     MIN_INT32, MIN_INT32,
     146                 :            :     NULL, 0,
     147                 :            :     (SvxMSDffHandle*)mso_sptArcHandle, SAL_N_ELEMENTS( mso_sptArcHandle )        // handles
     148                 :            : };
     149                 :            : 
     150                 :            : static const SvxMSDffVertPair mso_sptTextSimpleVert[] =
     151                 :            : {
     152                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
     153                 :            : };
     154                 :            : static const mso_CustomShape msoTextSimple =
     155                 :            : {
     156                 :            :     (SvxMSDffVertPair*)mso_sptTextSimpleVert, SAL_N_ELEMENTS( mso_sptTextSimpleVert ),
     157                 :            :     NULL, 0,
     158                 :            :     NULL, 0,
     159                 :            :     NULL,
     160                 :            :     NULL, 0,
     161                 :            :     21600, 21600,
     162                 :            :     MIN_INT32, MIN_INT32,
     163                 :            :     NULL, 0,
     164                 :            :     NULL, 0     // handles
     165                 :            : };
     166                 :            : 
     167                 :            : static const SvxMSDffVertPair mso_sptRectangleVert[] =
     168                 :            : {
     169                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
     170                 :            : };
     171                 :            : static const mso_CustomShape msoRectangle =
     172                 :            : {
     173                 :            :     (SvxMSDffVertPair*)mso_sptRectangleVert, SAL_N_ELEMENTS( mso_sptRectangleVert ),
     174                 :            :     NULL, 0,
     175                 :            :     NULL, 0,
     176                 :            :     NULL,
     177                 :            :     NULL, 0,
     178                 :            :     21600, 21600,
     179                 :            :     MIN_INT32, MIN_INT32,
     180                 :            :     NULL, 0,
     181                 :            :     NULL, 0     // handles
     182                 :            : };
     183                 :            : 
     184                 :            : static const SvxMSDffVertPair mso_sptRoundRectangleVert[] = // adj value 0 -> 10800
     185                 :            : {
     186                 :            :     { 7 MSO_I, 0 }, { 0, 8 MSO_I }, { 0, 9 MSO_I }, { 7 MSO_I, 21600 },
     187                 :            :     { 10 MSO_I, 21600 }, { 21600, 9 MSO_I }, { 21600, 8 MSO_I }, { 10 MSO_I, 0 }
     188                 :            : };
     189                 :            : static const sal_uInt16 mso_sptRoundRectangleSegm[] =
     190                 :            : {
     191                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000
     192                 :            : };
     193                 :            : static const SvxMSDffCalculationData mso_sptRoundRectangleCalc[] =
     194                 :            : {
     195                 :            :     { 0x000e, { 0, 45, 0 } },
     196                 :            :     { 0x6009, { DFF_Prop_adjustValue, 0x400, 0 } },
     197                 :            :     { 0x2001, { 0x401, 3163, 7636 } },
     198                 :            :     { 0x6000, { DFF_Prop_geoLeft, 0x402, 0 } },
     199                 :            :     { 0x6000, { DFF_Prop_geoTop, 0x402, 0 } },
     200                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },
     201                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x402 } },
     202                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
     203                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
     204                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
     205                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }
     206                 :            : };
     207                 :            : static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] =
     208                 :            : {
     209                 :            :     { { 3 MSO_I, 4 MSO_I }, { 5 MSO_I, 6 MSO_I } }
     210                 :            : };
     211                 :            : static const SvxMSDffHandle mso_sptRoundRectangleHandle[] =
     212                 :            : {
     213                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
     214                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
     215                 :            : };
     216                 :            : static const mso_CustomShape msoRoundRectangle =
     217                 :            : {
     218                 :            :     (SvxMSDffVertPair*)mso_sptRoundRectangleVert, SAL_N_ELEMENTS( mso_sptRoundRectangleVert ),
     219                 :            :     (sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1,
     220                 :            :     (SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, SAL_N_ELEMENTS( mso_sptRoundRectangleCalc ),
     221                 :            :     (sal_Int32*)mso_sptDefault3600,
     222                 :            :     (SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, SAL_N_ELEMENTS( mso_sptRoundRectangleTextRect ),
     223                 :            :     21600, 21600,
     224                 :            :     10800, 10800,
     225                 :            :     NULL, 0,
     226                 :            :     (SvxMSDffHandle*)mso_sptRoundRectangleHandle, SAL_N_ELEMENTS( mso_sptRoundRectangleHandle )      // handles
     227                 :            : };
     228                 :            : 
     229                 :            : static const SvxMSDffVertPair mso_sptRightTriangleVert[] =
     230                 :            : {
     231                 :            :     { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
     232                 :            : };
     233                 :            : static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect[] =
     234                 :            : {
     235                 :            :     { { 1900, 12700 }, { 12700, 19700 } }
     236                 :            : };
     237                 :            : static const SvxMSDffVertPair mso_sptRightTriangleGluePoints[] =
     238                 :            : {
     239                 :            :     { 10800, 0 }, { 5400, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 16200, 10800 }
     240                 :            : };
     241                 :            : static const mso_CustomShape msoRightTriangle =
     242                 :            : {
     243                 :            :     (SvxMSDffVertPair*)mso_sptRightTriangleVert, SAL_N_ELEMENTS( mso_sptRightTriangleVert ),
     244                 :            :     NULL, 0,
     245                 :            :     NULL, 0,
     246                 :            :     NULL,
     247                 :            :     (SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, SAL_N_ELEMENTS( mso_sptRightTriangleTextRect ),
     248                 :            :     21600, 21600,
     249                 :            :     MIN_INT32, MIN_INT32,
     250                 :            :     (SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, SAL_N_ELEMENTS( mso_sptRightTriangleGluePoints ),
     251                 :            :     NULL, 0     // handles
     252                 :            : };
     253                 :            : 
     254                 :            : static const SvxMSDffVertPair mso_sptEllipseVert[] =
     255                 :            : {
     256                 :            :     { 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
     257                 :            : };
     258                 :            : static const sal_uInt16 mso_sptEllipseSegm[] =
     259                 :            : {
     260                 :            :     0xa203, 0x6000, 0x8000
     261                 :            : };
     262                 :            : static const SvxMSDffTextRectangles mso_sptEllipseTextRect[] =
     263                 :            : {
     264                 :            :     { { 3163, 3163 }, { 18437, 18437 } }
     265                 :            : };
     266                 :            : static const SvxMSDffVertPair mso_sptEllipseGluePoints[] =
     267                 :            : {
     268                 :            :     { 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 }
     269                 :            : };
     270                 :            : static const mso_CustomShape msoEllipse =
     271                 :            : {
     272                 :            :     (SvxMSDffVertPair*)mso_sptEllipseVert, SAL_N_ELEMENTS( mso_sptEllipseVert ),
     273                 :            :     (sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1,
     274                 :            :     NULL, 0,
     275                 :            :     NULL,
     276                 :            :     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ),
     277                 :            :     21600, 21600,
     278                 :            :     MIN_INT32, MIN_INT32,
     279                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
     280                 :            :     NULL, 0     // handles
     281                 :            : };
     282                 :            : 
     283                 :            : static const SvxMSDffVertPair mso_sptParallelogramVert[] =  // adjustment1 : 0 - 21600
     284                 :            : {
     285                 :            :     { 0 MSO_I, 0 }, { 21600, 0 }, { 1 MSO_I, 21600 }, { 0, 21600 }
     286                 :            : };
     287                 :            : static const sal_uInt16 mso_sptParallelogramSegm[] =
     288                 :            : {
     289                 :            :     0x4000, 0x0003, 0x6001, 0x8000
     290                 :            : };
     291                 :            : static const SvxMSDffCalculationData mso_sptParallelogramCalc[] =
     292                 :            : {
     293                 :            :     { 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
     294                 :            :     { 0x8000, { 0, 21600, DFF_Prop_adjustValue } },
     295                 :            :     { 0x2001, { DFF_Prop_adjustValue, 10, 24 } },
     296                 :            :     { 0x2000, { 0x0402, 1750, 0 } },
     297                 :            :     { 0x8000, { 21600, 0, 0x0403 } },
     298                 :            :     { 0x2001, { 0x400, 1, 2 } },
     299                 :            :     { 0x4000, { 10800, 0x405, 0 } },
     300                 :            :     { 0x2000, { 0x400, 0, 10800 } },
     301                 :            :     { 0x6006, { 0x407, 0x40d, 0 } },
     302                 :            :     { 0x8000, { 10800, 0, 0x405 } },
     303                 :            :     { 0x6006, { 0x407, 0x40c, 21600 } },
     304                 :            :     { 0x8000, { 21600, 0, 0x405 } },
     305                 :            :     { 0x8001, { 21600, 10800, 0x400 } },
     306                 :            :     { 0x8000, { 21600, 0, 0x40c } }
     307                 :            : };
     308                 :            : static const SvxMSDffTextRectangles mso_sptParallelogramTextRect[] =
     309                 :            : {
     310                 :            :     { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
     311                 :            : };
     312                 :            : static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] =
     313                 :            : {
     314                 :            :     { 6 MSO_I, 0 }, { 10800, 8 MSO_I }, { 11 MSO_I, 10800 }, { 9 MSO_I, 21600 }, { 10800, 10 MSO_I }, { 5 MSO_I, 10800 }
     315                 :            : };
     316                 :            : static const SvxMSDffHandle mso_sptParallelogramHandle[] =
     317                 :            : {
     318                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     319                 :            :         0x100, 0, 10800, 10800, 0, 21600, MIN_INT32, 0x7fffffff }
     320                 :            : };
     321                 :            : static const mso_CustomShape msoParallelogram =
     322                 :            : {
     323                 :            :     (SvxMSDffVertPair*)mso_sptParallelogramVert, SAL_N_ELEMENTS( mso_sptParallelogramVert ),
     324                 :            :     (sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1,
     325                 :            :     (SvxMSDffCalculationData*)mso_sptParallelogramCalc, SAL_N_ELEMENTS( mso_sptParallelogramCalc ),
     326                 :            :     (sal_Int32*)mso_sptDefault5400,
     327                 :            :     (SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, SAL_N_ELEMENTS( mso_sptParallelogramTextRect ),
     328                 :            :     21600, 21600,
     329                 :            :     MIN_INT32, MIN_INT32,
     330                 :            :     (SvxMSDffVertPair*)mso_sptParallelogramGluePoints, SAL_N_ELEMENTS( mso_sptParallelogramGluePoints ),
     331                 :            :     (SvxMSDffHandle*)mso_sptParallelogramHandle, SAL_N_ELEMENTS( mso_sptParallelogramHandle )        // handles
     332                 :            : };
     333                 :            : 
     334                 :            : static const SvxMSDffVertPair mso_sptDiamondVert[] =
     335                 :            : {
     336                 :            :     { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }, { 10800, 0 }
     337                 :            : };
     338                 :            : static const SvxMSDffTextRectangles mso_sptDiamondTextRect[] =
     339                 :            : {
     340                 :            :     { { 5400, 5400 }, { 16200, 16200 } }
     341                 :            : };
     342                 :            : static const mso_CustomShape msoDiamond =
     343                 :            : {
     344                 :            :     (SvxMSDffVertPair*)mso_sptDiamondVert, SAL_N_ELEMENTS( mso_sptDiamondVert ),
     345                 :            :     NULL, 0,
     346                 :            :     NULL, 0,
     347                 :            :     NULL,
     348                 :            :     (SvxMSDffTextRectangles*)mso_sptDiamondTextRect, SAL_N_ELEMENTS( mso_sptDiamondTextRect ),
     349                 :            :     21600, 21600,
     350                 :            :     MIN_INT32, MIN_INT32,
     351                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
     352                 :            :     NULL, 0     // handles
     353                 :            : };
     354                 :            : 
     355                 :            : static const SvxMSDffVertPair mso_sptTrapezoidVert[] =      // adjustment1 : 0 - 10800
     356                 :            : {
     357                 :            :     { 0, 0 }, { 21600, 0 }, {0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
     358                 :            : };
     359                 :            : static const sal_uInt16 mso_sptTrapezoidSegm[] =
     360                 :            : {
     361                 :            :     0x4000, 0x0003, 0x6001, 0x8000
     362                 :            : };
     363                 :            : static const SvxMSDffCalculationData mso_sptTrapezoidCalc[] =
     364                 :            : {
     365                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
     366                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     367                 :            :     { 0x2001, { DFF_Prop_adjustValue, 10, 18 } },
     368                 :            :     { 0x2000, { 0x0402, 1750, 0 } },
     369                 :            :     { 0x8000, { 21600, 0, 0x403 } },
     370                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
     371                 :            :     { 0x8000, { 21600, 0, 0x405 } }
     372                 :            : };
     373                 :            : static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect[] =
     374                 :            : {
     375                 :            :     { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
     376                 :            : };
     377                 :            : static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] =
     378                 :            : {
     379                 :            :     { 6 MSO_I, 10800 }, { 10800, 21600 }, { 5 MSO_I, 10800 }, { 10800, 0 }
     380                 :            : };
     381                 :            : static const SvxMSDffHandle mso_sptTrapezoidHandle[] =
     382                 :            : {
     383                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     384                 :            :         0x100, 1, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
     385                 :            : };
     386                 :            : static const mso_CustomShape msoTrapezoid =
     387                 :            : {
     388                 :            :     (SvxMSDffVertPair*)mso_sptTrapezoidVert, SAL_N_ELEMENTS( mso_sptTrapezoidVert ),
     389                 :            :     (sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1,
     390                 :            :     (SvxMSDffCalculationData*)mso_sptTrapezoidCalc, SAL_N_ELEMENTS( mso_sptTrapezoidCalc ),
     391                 :            :     (sal_Int32*)mso_sptDefault5400,
     392                 :            :     (SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, SAL_N_ELEMENTS( mso_sptTrapezoidTextRect ),
     393                 :            :     21600, 21600,
     394                 :            :     MIN_INT32, MIN_INT32,
     395                 :            :     (SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, SAL_N_ELEMENTS( mso_sptTrapezoidGluePoints ),
     396                 :            :     (SvxMSDffHandle*)mso_sptTrapezoidHandle, SAL_N_ELEMENTS( mso_sptTrapezoidHandle )        // handles
     397                 :            : };
     398                 :            : 
     399                 :            : static const SvxMSDffVertPair mso_sptOctagonVert[] =        // adjustment1 : 0 - 10800
     400                 :            : {
     401                 :            :     { 0 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I },
     402                 :            :     { 2 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }, { 0, 1 MSO_I }
     403                 :            : };
     404                 :            : static const sal_uInt16 mso_sptOctagonSegm[] =
     405                 :            : {
     406                 :            :     0x4000, 0x0007, 0x6001, 0x8000
     407                 :            : };
     408                 :            : static const SvxMSDffCalculationData mso_sptOctagonCalc[] =
     409                 :            : {
     410                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
     411                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
     412                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
     413                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
     414                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
     415                 :            :     { 0x6000, { DFF_Prop_geoLeft, 0x404, 0 } },
     416                 :            :     { 0x6000, { DFF_Prop_geoTop, 0x404, 0 } },
     417                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
     418                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
     419                 :            : };
     420                 :            : static const sal_Int32 mso_sptOctagonDefault[] =
     421                 :            : {
     422                 :            :     1, 5000
     423                 :            : };
     424                 :            : static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] =
     425                 :            : {
     426                 :            :     { { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 8 MSO_I } }
     427                 :            : };
     428                 :            : static const SvxMSDffHandle mso_sptOctagonHandle[] =
     429                 :            : {
     430                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     431                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
     432                 :            : };
     433                 :            : static const mso_CustomShape msoOctagon =
     434                 :            : {
     435                 :            :     (SvxMSDffVertPair*)mso_sptOctagonVert, SAL_N_ELEMENTS( mso_sptOctagonVert ),
     436                 :            :     (sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1,
     437                 :            :     (SvxMSDffCalculationData*)mso_sptOctagonCalc, SAL_N_ELEMENTS( mso_sptOctagonCalc ),
     438                 :            :     (sal_Int32*)mso_sptOctagonDefault,
     439                 :            :     (SvxMSDffTextRectangles*)mso_sptOctagonTextRect, SAL_N_ELEMENTS( mso_sptOctagonTextRect ),
     440                 :            :     21600, 21600,
     441                 :            :     10800, 10800,
     442                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
     443                 :            :     (SvxMSDffHandle*)mso_sptOctagonHandle, SAL_N_ELEMENTS( mso_sptOctagonHandle )        // handles
     444                 :            : };
     445                 :            : 
     446                 :            : static const SvxMSDffVertPair mso_sptIsocelesTriangleVert[] =   // adjustment1 : 0 - 21600
     447                 :            : {
     448                 :            :     { 0 MSO_I, 0 }, { 21600, 21600 }, { 0, 21600 }
     449                 :            : };
     450                 :            : static const sal_uInt16 mso_sptIsocelesTriangleSegm[] =
     451                 :            : {
     452                 :            :     0x4000, 0x0002, 0x6001, 0x8000
     453                 :            : };
     454                 :            : static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc[] =
     455                 :            : {
     456                 :            :     { 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
     457                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
     458                 :            :     { 0x2000, { 0x401, 10800, 0 } },
     459                 :            :     { 0x2001, { DFF_Prop_adjustValue, 2, 3 } },
     460                 :            :     { 0x2000, { 0x403, 7200, 0 } },
     461                 :            :     { 0x8000, { 21600, 0, 0x400 } },
     462                 :            :     { 0x2001, { 0x405, 1, 2 } },
     463                 :            :     { 0x8000, { 21600, 0, 0x406 } }
     464                 :            : };
     465                 :            : static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect[] =
     466                 :            : {
     467                 :            :     { { 1 MSO_I, 10800 }, { 2 MSO_I, 18000 } },
     468                 :            :     { { 3 MSO_I, 7200 }, { 4 MSO_I, 21600   } }
     469                 :            : };
     470                 :            : static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] =
     471                 :            : {
     472                 :            :     { 10800, 0 }, { 1 MSO_I, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I, 10800 }
     473                 :            : };
     474                 :            : static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] =
     475                 :            : {
     476                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     477                 :            :         0x100, 0, 10800, 10800, 0, 21600, MIN_INT32, 0x7fffffff }
     478                 :            : };
     479                 :            : static const mso_CustomShape msoIsocelesTriangle =
     480                 :            : {
     481                 :            :     (SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, SAL_N_ELEMENTS( mso_sptIsocelesTriangleVert ),
     482                 :            :     (sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1,
     483                 :            :     (SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, SAL_N_ELEMENTS( mso_sptIsocelesTriangleCalc ),
     484                 :            :     (sal_Int32*)mso_sptDefault10800,
     485                 :            :     (SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, SAL_N_ELEMENTS( mso_sptIsocelesTriangleTextRect ),
     486                 :            :     21600, 21600,
     487                 :            :     MIN_INT32, MIN_INT32,
     488                 :            :     (SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, SAL_N_ELEMENTS( mso_sptIsocelesTriangleGluePoints ),
     489                 :            :     (SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, SAL_N_ELEMENTS( mso_sptIsocelesTriangleHandle )      // handles
     490                 :            : };
     491                 :            : 
     492                 :            : static const SvxMSDffVertPair mso_sptHexagonVert[] =                // adjustment1 : 0 - 10800
     493                 :            : {
     494                 :            :     { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 },
     495                 :            :     { 0 MSO_I, 21600 }, { 0, 10800 }
     496                 :            : };
     497                 :            : static const sal_uInt16 mso_sptHexagonSegm[] =
     498                 :            : {
     499                 :            :     0x4000, 0x0005, 0x6001, 0x8000
     500                 :            : };
     501                 :            : static const SvxMSDffCalculationData mso_sptHexagonCalc[] =
     502                 :            : {
     503                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     504                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
     505                 :            :     { 0x2001, { DFF_Prop_adjustValue, 100, 234 } },
     506                 :            :     { 0x2000, { 0x402, 1700, 0 } },
     507                 :            :     { 0x8000, { 21600, 0, 0x403 } }
     508                 :            : };
     509                 :            : static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] =
     510                 :            : {
     511                 :            :     { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
     512                 :            : };
     513                 :            : static const SvxMSDffHandle mso_sptHexagonHandle[] =
     514                 :            : {
     515                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     516                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
     517                 :            : };
     518                 :            : static const mso_CustomShape msoHexagon =
     519                 :            : {
     520                 :            :     (SvxMSDffVertPair*)mso_sptHexagonVert, SAL_N_ELEMENTS( mso_sptHexagonVert ),
     521                 :            :     (sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1,
     522                 :            :     (SvxMSDffCalculationData*)mso_sptHexagonCalc, SAL_N_ELEMENTS( mso_sptHexagonCalc ),
     523                 :            :     (sal_Int32*)mso_sptDefault5400,
     524                 :            :     (SvxMSDffTextRectangles*)mso_sptHexagonTextRect, SAL_N_ELEMENTS( mso_sptHexagonTextRect ),
     525                 :            :     21600, 21600,
     526                 :            :     MIN_INT32, MIN_INT32,
     527                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
     528                 :            :     (SvxMSDffHandle*)mso_sptHexagonHandle, SAL_N_ELEMENTS( mso_sptHexagonHandle )        // handles
     529                 :            : };
     530                 :            : 
     531                 :            : static const SvxMSDffVertPair mso_sptPentagonVert[] =
     532                 :            : {
     533                 :            :     { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 },
     534                 :            :     { 21600, 8260 }, { 10800, 0 }
     535                 :            : };
     536                 :            : static const SvxMSDffTextRectangles mso_sptPentagonTextRect[] =
     537                 :            : {
     538                 :            :     { { 4230, 5080 }, { 17370, 21600 } }
     539                 :            : };
     540                 :            : static const SvxMSDffVertPair mso_sptPentagonGluePoints[] =
     541                 :            : {
     542                 :            :     { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 },
     543                 :            :     { 17370, 21600 }, { 21600, 8260 }
     544                 :            : };
     545                 :            : static const mso_CustomShape msoPentagon =
     546                 :            : {
     547                 :            :     (SvxMSDffVertPair*)mso_sptPentagonVert, SAL_N_ELEMENTS( mso_sptPentagonVert ),
     548                 :            :     NULL, 0,
     549                 :            :     NULL, 0,
     550                 :            :     NULL,
     551                 :            :     (SvxMSDffTextRectangles*)mso_sptPentagonTextRect, SAL_N_ELEMENTS( mso_sptPentagonTextRect ),
     552                 :            :     21600, 21600,
     553                 :            :     MIN_INT32, MIN_INT32,
     554                 :            :     (SvxMSDffVertPair*)mso_sptPentagonGluePoints, SAL_N_ELEMENTS( mso_sptPentagonGluePoints ),
     555                 :            :     NULL, 0     // handles
     556                 :            : };
     557                 :            : 
     558                 :            : static const SvxMSDffVertPair mso_sptPlusVert[] =               // adjustment1 : 0 - 10800
     559                 :            : {
     560                 :            :     { 1 MSO_I, 0 }, { 2 MSO_I, 0 }, { 2 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I },
     561                 :            :     { 21600, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 21600 }, { 1 MSO_I, 21600 },
     562                 :            :     { 1 MSO_I, 3 MSO_I }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 0 }
     563                 :            : };
     564                 :            : static const SvxMSDffCalculationData mso_sptPlusCalc[] =
     565                 :            : {
     566                 :            :     { 0x2001, { DFF_Prop_adjustValue, 10799, 10800 } },
     567                 :            :     { 0x2000, { 0x400, 0, 0 } },
     568                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
     569                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
     570                 :            : };
     571                 :            : static const SvxMSDffTextRectangles mso_sptPlusTextRect[] =
     572                 :            : {
     573                 :            :     { { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } }
     574                 :            : };
     575                 :            : static const SvxMSDffHandle mso_sptPlusHandle[] =
     576                 :            : {
     577                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
     578                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
     579                 :            : };
     580                 :            : static const mso_CustomShape msoPlus =
     581                 :            : {
     582                 :            :     (SvxMSDffVertPair*)mso_sptPlusVert, SAL_N_ELEMENTS( mso_sptPlusVert ),
     583                 :            :     NULL, 0,
     584                 :            :     (SvxMSDffCalculationData*)mso_sptPlusCalc, SAL_N_ELEMENTS( mso_sptPlusCalc ),
     585                 :            :     (sal_Int32*)mso_sptDefault5400,
     586                 :            :     (SvxMSDffTextRectangles*)mso_sptPlusTextRect, SAL_N_ELEMENTS( mso_sptPlusTextRect ),
     587                 :            :     21600, 21600,
     588                 :            :     10800, 10800,
     589                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
     590                 :            :     (SvxMSDffHandle*)mso_sptPlusHandle, SAL_N_ELEMENTS( mso_sptPlusHandle )      // handles
     591                 :            : };
     592                 :            : 
     593                 :            : static const SvxMSDffVertPair mso_sptCanVert[] =        // adjustment1 : 0 - 10800
     594                 :            : {
     595                 :            :     { 44, 0 },
     596                 :            :     { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },          // ccp
     597                 :            :     { 0, 3 MSO_I },                                     // p
     598                 :            :     { 0, 4 MSO_I }, { 20, 21600 }, { 44, 21600 },       // ccp
     599                 :            :     { 68, 21600 }, { 88, 4 MSO_I }, { 88, 3 MSO_I },    // ccp
     600                 :            :     { 88, 0 MSO_I },                                    // p
     601                 :            :     { 88, 2 MSO_I }, { 68, 0 }, { 44, 0 },              // ccp
     602                 :            :     { 44, 0 },                                          // p
     603                 :            :     { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },          // ccp
     604                 :            :     { 0, 5 MSO_I }, { 20, 6 MSO_I }, { 44, 6 MSO_I },   // ccp
     605                 :            :     { 68, 6 MSO_I },{ 88, 5 MSO_I }, { 88, 0 MSO_I },   // ccp
     606                 :            :     { 88, 2 MSO_I },{ 68, 0 }, { 44, 0 }                // ccp
     607                 :            : };
     608                 :            : static const sal_uInt16 mso_sptCanSegm[] =
     609                 :            : {
     610                 :            :     0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000,
     611                 :            :     0x4000, 0x2004, 0x6001, 0x8000
     612                 :            : };
     613                 :            : static const SvxMSDffCalculationData mso_sptCanCalc[] =
     614                 :            : {
     615                 :            :     { 0x2001, { DFF_Prop_adjustValue, 2, 4 } },     // 1/4
     616                 :            :     { 0x2001, { 0x0400, 6, 11 } },
     617                 :            :     { 0xa000, { 0x0400, 0, 0x0401 } },
     618                 :            :     { 0x8000, { 21600, 0, 0x0400 } },
     619                 :            :     { 0x6000, { 0x0403, 0x0401, 0 } },
     620                 :            :     { 0x6000, { 0x0400, 0x0401, 0 } },
     621                 :            :     { 0x2001, { DFF_Prop_adjustValue, 2, 2 } },
     622                 :            :     { 0x0000, { 44, 0, 0 } }
     623                 :            : };
     624                 :            : static const SvxMSDffTextRectangles mso_sptCanTextRect[] =
     625                 :            : {
     626                 :            :     { { 0, 6 MSO_I }, { 88, 3 MSO_I } }
     627                 :            : };
     628                 :            : static const SvxMSDffVertPair mso_sptCanGluePoints[] =
     629                 :            : {
     630                 :            :     { 44, 6 MSO_I }, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 }
     631                 :            : };
     632                 :            : static const SvxMSDffHandle mso_sptCanHandle[] =
     633                 :            : {
     634                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     635                 :            :         7 + 3, 0x100, 44, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
     636                 :            : };
     637                 :            : static const mso_CustomShape msoCan =
     638                 :            : {
     639                 :            :     (SvxMSDffVertPair*)mso_sptCanVert, SAL_N_ELEMENTS( mso_sptCanVert ),
     640                 :            :     (sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1,
     641                 :            :     (SvxMSDffCalculationData*)mso_sptCanCalc, SAL_N_ELEMENTS( mso_sptCanCalc ),
     642                 :            :     (sal_Int32*)mso_sptDefault5400,
     643                 :            :     (SvxMSDffTextRectangles*)mso_sptCanTextRect, SAL_N_ELEMENTS( mso_sptCanTextRect ),
     644                 :            :     88, 21600,
     645                 :            :     MIN_INT32, MIN_INT32,
     646                 :            :     (SvxMSDffVertPair*)mso_sptCanGluePoints, SAL_N_ELEMENTS( mso_sptCanGluePoints ),
     647                 :            :     (SvxMSDffHandle*)mso_sptCanHandle, SAL_N_ELEMENTS( mso_sptCanHandle )        // handles
     648                 :            : };
     649                 :            : 
     650                 :            : static const SvxMSDffVertPair mso_sptArrowVert[] =  // adjustment1: x 0 - 21600
     651                 :            : {                                                   // adjustment2: y 0 - 10800
     652                 :            :     { 0, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
     653                 :            :     { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }
     654                 :            : };
     655                 :            : static const sal_uInt16 mso_sptArrowSegm[] =
     656                 :            : {
     657                 :            :     0x4000, 0x0006, 0x6001, 0x8000
     658                 :            : };
     659                 :            : static const SvxMSDffCalculationData mso_sptArrowCalc[] =
     660                 :            : {
     661                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
     662                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     663                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
     664                 :            :     { 0x8000, { 21600, 0, 0x401 } },
     665                 :            :     { 0x6001, { 0x403, 0x400, 10800 } },
     666                 :            :     { 0x6000, { 0x401, 0x404, 0 } },
     667                 :            :     { 0x6001, { 0x401, 0x400, 10800 } },
     668                 :            :     { 0xa000, { 0x401, 0, 0x406 } }
     669                 :            : };
     670                 :            : static const SvxMSDffTextRectangles mso_sptArrowTextRect[] =
     671                 :            : {
     672                 :            :     { { 0, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
     673                 :            : };
     674                 :            : static const SvxMSDffHandle mso_sptArrowHandle[] =
     675                 :            : {
     676                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     677                 :            :         0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
     678                 :            : };
     679                 :            : static const mso_CustomShape msoArrow =
     680                 :            : {
     681                 :            :     (SvxMSDffVertPair*)mso_sptArrowVert, SAL_N_ELEMENTS( mso_sptArrowVert ),
     682                 :            :     (sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1,
     683                 :            :     (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ),
     684                 :            :     (sal_Int32*)mso_sptDefault16200and5400,
     685                 :            :     (SvxMSDffTextRectangles*)mso_sptArrowTextRect, SAL_N_ELEMENTS( mso_sptArrowTextRect ),
     686                 :            :     21600, 21600,
     687                 :            :     MIN_INT32, MIN_INT32,
     688                 :            :     NULL, 0,
     689                 :            :     (SvxMSDffHandle*)mso_sptArrowHandle, SAL_N_ELEMENTS( mso_sptArrowHandle )        // handles
     690                 :            : };
     691                 :            : 
     692                 :            : static const SvxMSDffVertPair mso_sptLeftArrowVert[] =  // adjustment1: x 0 - 21600
     693                 :            : {                                                       // adjustment2: y 0 - 10800
     694                 :            :     { 21600, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 0, 10800 },
     695                 :            :     { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }
     696                 :            : };
     697                 :            : static const sal_uInt16 mso_sptLeftArrowSegm[] =
     698                 :            : {
     699                 :            :     0x4000, 0x0006, 0x6001, 0x8000
     700                 :            : };
     701                 :            : static const sal_Int32 mso_sptLeftArrowDefault[] =
     702                 :            : {
     703                 :            :     2, 5400, 5400
     704                 :            : };
     705                 :            : static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect[] =
     706                 :            : {
     707                 :            :     { { 7 MSO_I, 0 MSO_I }, { 21600, 2 MSO_I } }
     708                 :            : };
     709                 :            : static const SvxMSDffHandle mso_sptLeftArrowHandle[] =
     710                 :            : {
     711                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     712                 :            :         0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
     713                 :            : };
     714                 :            : static const mso_CustomShape msoLeftArrow =
     715                 :            : {
     716                 :            :     (SvxMSDffVertPair*)mso_sptLeftArrowVert, SAL_N_ELEMENTS( mso_sptLeftArrowVert ),
     717                 :            :     (sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1,
     718                 :            :     (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ),
     719                 :            :     (sal_Int32*)mso_sptLeftArrowDefault,
     720                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftArrowTextRect ),
     721                 :            :     21600, 21600,
     722                 :            :     MIN_INT32, MIN_INT32,
     723                 :            :     NULL, 0,
     724                 :            :     (SvxMSDffHandle*)mso_sptLeftArrowHandle, SAL_N_ELEMENTS( mso_sptLeftArrowHandle )        // handles
     725                 :            : };
     726                 :            : 
     727                 :            : static const SvxMSDffVertPair mso_sptDownArrowVert[] =  // adjustment1: x 0 - 21600
     728                 :            : {                                                       // adjustment2: y 0 - 10800
     729                 :            :     { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 21600 },
     730                 :            :     { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }
     731                 :            : };
     732                 :            : static const sal_uInt16 mso_sptDownArrowSegm[] =
     733                 :            : {
     734                 :            :     0x4000, 0x0006, 0x6001, 0x8000
     735                 :            : };
     736                 :            : static const SvxMSDffTextRectangles mso_sptDownArrowTextRect[] =
     737                 :            : {
     738                 :            :     { { 0 MSO_I, 0 }, { 2 MSO_I, 5 MSO_I } }
     739                 :            : };
     740                 :            : static const SvxMSDffHandle mso_sptDownArrowHandle[] =
     741                 :            : {
     742                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     743                 :            :         0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
     744                 :            : };
     745                 :            : static const mso_CustomShape msoDownArrow =
     746                 :            : {
     747                 :            :     (SvxMSDffVertPair*)mso_sptDownArrowVert, SAL_N_ELEMENTS( mso_sptDownArrowVert ),
     748                 :            :     (sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1,
     749                 :            :     (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ),
     750                 :            :     (sal_Int32*)mso_sptDefault16200and5400,
     751                 :            :     (SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, SAL_N_ELEMENTS( mso_sptDownArrowTextRect ),
     752                 :            :     21600, 21600,
     753                 :            :     MIN_INT32, MIN_INT32,
     754                 :            :     NULL, 0,
     755                 :            :     (SvxMSDffHandle*)mso_sptDownArrowHandle, SAL_N_ELEMENTS( mso_sptDownArrowHandle )        // handles
     756                 :            : };
     757                 :            : 
     758                 :            : static const SvxMSDffVertPair mso_sptUpArrowVert[] =    // adjustment1: x 0 - 21600
     759                 :            : {                                                       // adjustment2: y 0 - 10800
     760                 :            :     { 0 MSO_I, 21600 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 0 },
     761                 :            :     { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
     762                 :            : };
     763                 :            : static const sal_uInt16 mso_sptUpArrowSegm[] =
     764                 :            : {
     765                 :            :     0x4000, 0x0006, 0x6001, 0x8000
     766                 :            : };
     767                 :            : static const sal_Int32 mso_sptUpArrowDefault[] =
     768                 :            : {
     769                 :            :     2, 5400, 5400
     770                 :            : };
     771                 :            : static const SvxMSDffTextRectangles mso_sptUpArrowTextRect[] =
     772                 :            : {
     773                 :            :     { { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 21600 } }
     774                 :            : };
     775                 :            : static const SvxMSDffHandle mso_sptUpArrowHandle[] =
     776                 :            : {
     777                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     778                 :            :         0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
     779                 :            : };
     780                 :            : static const mso_CustomShape msoUpArrow =
     781                 :            : {
     782                 :            :     (SvxMSDffVertPair*)mso_sptUpArrowVert, SAL_N_ELEMENTS( mso_sptUpArrowVert ),
     783                 :            :     (sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1,
     784                 :            :     (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ),
     785                 :            :     (sal_Int32*)mso_sptUpArrowDefault,
     786                 :            :     (SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, SAL_N_ELEMENTS( mso_sptUpArrowTextRect ),
     787                 :            :     21600, 21600,
     788                 :            :     MIN_INT32, MIN_INT32,
     789                 :            :     NULL, 0,
     790                 :            :     (SvxMSDffHandle*)mso_sptUpArrowHandle, SAL_N_ELEMENTS( mso_sptUpArrowHandle )        // handles
     791                 :            : };
     792                 :            : 
     793                 :            : static const SvxMSDffVertPair mso_sptLeftRightArrowVert[] = // adjustment1: x 0 - 10800
     794                 :            : {                                                           // adjustment2: y 0 - 10800
     795                 :            :     { 0, 10800 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I },
     796                 :            :     { 2 MSO_I, 0 }, { 21600, 10800 }, { 2 MSO_I, 21600 }, { 2 MSO_I, 3 MSO_I },
     797                 :            :     { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 21600 }
     798                 :            : };
     799                 :            : static const sal_uInt16 mso_sptLeftRightArrowSegm[] =
     800                 :            : {
     801                 :            :     0x4000, 0x0009, 0x6001, 0x8000
     802                 :            : };
     803                 :            : static const SvxMSDffCalculationData mso_sptDoubleArrowCalc[] =
     804                 :            : {
     805                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     806                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
     807                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
     808                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
     809                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
     810                 :            :     { 0x6001, { DFF_Prop_adjustValue, 0x404, 10800 } },
     811                 :            :     { 0x8000, { 21600, 0, 0x405 } },
     812                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
     813                 :            :     { 0x6001, { DFF_Prop_adjust2Value, 0x407, 10800 } },
     814                 :            :     { 0x8000, { 21600, 0, 0x408 } }
     815                 :            : };
     816                 :            : static const sal_Int32 mso_sptLeftRightArrowDefault[] =
     817                 :            : {
     818                 :            :     2, 4300, 5400
     819                 :            : };
     820                 :            : static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect[] =
     821                 :            : {
     822                 :            :     { { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 3 MSO_I } }
     823                 :            : };
     824                 :            : static const SvxMSDffHandle mso_sptLeftRightArrowHandle[] =
     825                 :            : {
     826                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     827                 :            :         0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
     828                 :            : };
     829                 :            : static const mso_CustomShape msoLeftRightArrow =
     830                 :            : {
     831                 :            :     (SvxMSDffVertPair*)mso_sptLeftRightArrowVert, SAL_N_ELEMENTS( mso_sptLeftRightArrowVert ),
     832                 :            :     (sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1,
     833                 :            :     (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, SAL_N_ELEMENTS( mso_sptDoubleArrowCalc ),
     834                 :            :     (sal_Int32*)mso_sptLeftRightArrowDefault,
     835                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftRightArrowTextRect ),
     836                 :            :     21600, 21600,
     837                 :            :     MIN_INT32, MIN_INT32,
     838                 :            :     NULL, 0,
     839                 :            :     (SvxMSDffHandle*)mso_sptLeftRightArrowHandle, SAL_N_ELEMENTS( mso_sptLeftRightArrowHandle )      // handles
     840                 :            : };
     841                 :            : 
     842                 :            : static const SvxMSDffVertPair mso_sptUpDownArrowVert[] =    // adjustment1: x 0 - 10800
     843                 :            : {                                                           // adjustment2: y 0 - 10800
     844                 :            :     { 0, 1 MSO_I }, { 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I },
     845                 :            :     { 2 MSO_I, 3 MSO_I }, { 21600, 3 MSO_I }, { 10800, 21600 }, { 0, 3 MSO_I },
     846                 :            :     { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I }
     847                 :            : };
     848                 :            : static const sal_uInt16 mso_sptUpDownArrowSegm[] =
     849                 :            : {
     850                 :            :     0x4000, 0x0009, 0x6001, 0x8000
     851                 :            : };
     852                 :            : static const sal_Int32 mso_sptUpDownArrowDefault[] =
     853                 :            : {
     854                 :            :     2, 5400, 4300
     855                 :            : };
     856                 :            : static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect[] =
     857                 :            : {
     858                 :            :     { { 0 MSO_I, 8 MSO_I }, { 2 MSO_I, 9 MSO_I } }
     859                 :            : };
     860                 :            : static const SvxMSDffHandle mso_sptUpDownArrowHandle[] =
     861                 :            : {
     862                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
     863                 :            :         0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
     864                 :            : };
     865                 :            : static const mso_CustomShape msoUpDownArrow =
     866                 :            : {
     867                 :            :     (SvxMSDffVertPair*)mso_sptUpDownArrowVert, SAL_N_ELEMENTS( mso_sptUpDownArrowVert ),
     868                 :            :     (sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1,
     869                 :            :     (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, SAL_N_ELEMENTS( mso_sptDoubleArrowCalc ),
     870                 :            :     (sal_Int32*)mso_sptUpDownArrowDefault,
     871                 :            :     (SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, SAL_N_ELEMENTS( mso_sptUpDownArrowTextRect ),
     872                 :            :     21600, 21600,
     873                 :            :     MIN_INT32, MIN_INT32,
     874                 :            :     NULL, 0,
     875                 :            :     (SvxMSDffHandle*)mso_sptUpDownArrowHandle, SAL_N_ELEMENTS( mso_sptUpDownArrowHandle )        // handles
     876                 :            : };
     877                 :            : 
     878                 :            : static const SvxMSDffVertPair mso_sptQuadArrowVert[] =  // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
     879                 :            : {                                                       // adjustment3: y 0 - 10800
     880                 :            :     { 0, 10800 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 2 MSO_I, 2 MSO_I },
     881                 :            :     { 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 10800, 0 }, { 3 MSO_I, 0 MSO_I },
     882                 :            :     { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 1 MSO_I },
     883                 :            :     { 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 4 MSO_I, 4 MSO_I },
     884                 :            :     { 4 MSO_I, 5 MSO_I }, { 3 MSO_I, 5 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 5 MSO_I },
     885                 :            :     { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 3 MSO_I }
     886                 :            : };
     887                 :            : static const sal_uInt16 mso_sptQuadArrowSegm[] =
     888                 :            : {
     889                 :            :     0x4000, 0x0017, 0x6001, 0x8000
     890                 :            : };
     891                 :            : static const SvxMSDffCalculationData mso_sptQuadArrowCalc[] =
     892                 :            : {
     893                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
     894                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     895                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
     896                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
     897                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
     898                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }
     899                 :            : };
     900                 :            : static const sal_Int32 mso_sptQuadArrowDefault[] =
     901                 :            : {
     902                 :            :     3, 6500, 8600, 4300
     903                 :            : };
     904                 :            : static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect[] =    // todo
     905                 :            : {
     906                 :            :     { { 0, 0 }, { 21600, 21600 } }
     907                 :            : };
     908                 :            : static const SvxMSDffHandle mso_sptQuadArrowHandle[] =
     909                 :            : {
     910                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
     911                 :            :         0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
     912                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
     913                 :            :         0x100, 0, 10800, 10800, 0x102, 0x101, MIN_INT32, 0x7fffffff }
     914                 :            : };
     915                 :            : static const mso_CustomShape msoQuadArrow =
     916                 :            : {
     917                 :            :     (SvxMSDffVertPair*)mso_sptQuadArrowVert, SAL_N_ELEMENTS( mso_sptQuadArrowVert ),
     918                 :            :     (sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1,
     919                 :            :     (SvxMSDffCalculationData*)mso_sptQuadArrowCalc, SAL_N_ELEMENTS( mso_sptQuadArrowCalc ),
     920                 :            :     (sal_Int32*)mso_sptQuadArrowDefault,
     921                 :            :     (SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, SAL_N_ELEMENTS( mso_sptQuadArrowTextRect ),
     922                 :            :     21600, 21600,
     923                 :            :     MIN_INT32, MIN_INT32,
     924                 :            :     NULL, 0,
     925                 :            :     (SvxMSDffHandle*)mso_sptQuadArrowHandle, SAL_N_ELEMENTS( mso_sptQuadArrowHandle )        // handles
     926                 :            : };
     927                 :            : 
     928                 :            : static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert[] =   // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
     929                 :            : {                                                               // adjustment3: y 0 - 21600
     930                 :            :     { 10800, 0 }, { 3 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 4 MSO_I, 1 MSO_I },
     931                 :            :     { 5 MSO_I, 1 MSO_I }, { 5 MSO_I, 0 MSO_I }, { 21600, 10800 }, { 5 MSO_I, 3 MSO_I },
     932                 :            :     { 5 MSO_I, 4 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0, 10800 },
     933                 :            :     { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 2 MSO_I },
     934                 :            :     { 0 MSO_I, 2 MSO_I }
     935                 :            : };
     936                 :            : static const sal_uInt16 mso_sptLeftRightUpArrowSegm[] =
     937                 :            : {
     938                 :            :     0x4000, 0x0010, 0x6001, 0x8000
     939                 :            : };
     940                 :            : static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc[] =
     941                 :            : {
     942                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },             // 0
     943                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },            // 1
     944                 :            :     { 0x6001, { 0x0403, DFF_Prop_adjust3Value, 21600 } },   // 2
     945                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },         // 3
     946                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },        // 4
     947                 :            :     { 0x8000, { 21600, 0, 0x0402 } }                        // 5
     948                 :            : };
     949                 :            : static const sal_Int32 mso_sptLeftRightUpArrowDefault[] =
     950                 :            : {
     951                 :            :     3, 6500, 8600, 6200
     952                 :            : };
     953                 :            : static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect[] =     // todo
     954                 :            : {
     955                 :            :     { { 0, 0 }, { 21600, 21600 } }
     956                 :            : };
     957                 :            : static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] =
     958                 :            : {
     959                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
     960                 :            :         0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
     961                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
     962                 :            :         0x100, 0, 10800, 10800, 0x102, 0x101, MIN_INT32, 0x7fffffff }
     963                 :            : };
     964                 :            : static const mso_CustomShape msoLeftRightUpArrow =
     965                 :            : {
     966                 :            :     (SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowVert ),
     967                 :            :     (sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1,
     968                 :            :     (SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowCalc ),
     969                 :            :     (sal_Int32*)mso_sptLeftRightUpArrowDefault,
     970                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowTextRect ),
     971                 :            :     21600, 21600,
     972                 :            :     MIN_INT32, MIN_INT32,
     973                 :            :     NULL, 0,
     974                 :            :     (SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowHandle )      // handles
     975                 :            : };
     976                 :            : 
     977                 :            : static const SvxMSDffVertPair mso_sptBentArrowVert[] =  // adjustment1 : x 12427 - 21600
     978                 :            : {                                                       // adjustment2 : y 0 - 6079
     979                 :            :     { 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I }, { 0 MSO_I, 1 MSO_I },
     980                 :            :     { 0 MSO_I, 0 }, { 21600, 6079 }, { 0 MSO_I, 12158 }, { 0 MSO_I, 2 MSO_I },
     981                 :            :     { 12427, 2 MSO_I }, { 4 MSO_I, 12160 }, { 4 MSO_I, 21600 }
     982                 :            : };
     983                 :            : static const sal_uInt16 mso_sptBentArrowSegm[] =
     984                 :            : {
     985                 :            :     0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000
     986                 :            : };
     987                 :            : static const SvxMSDffCalculationData mso_sptBentArrowCalc[] =
     988                 :            : {
     989                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
     990                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
     991                 :            :     { 0x8000, { 12158, 0, DFF_Prop_adjust2Value } },
     992                 :            :     { 0x8000, { 6079, 0, DFF_Prop_adjust2Value } },
     993                 :            :     { 0x2001, { 0x0403, 2, 1 } }
     994                 :            : };
     995                 :            : static const sal_Int32 mso_sptBentArrowDefault[] =
     996                 :            : {
     997                 :            :     2, 15100, 2900
     998                 :            : };
     999                 :            : static const SvxMSDffTextRectangles mso_sptBentArrowTextRect[] =    // todo
    1000                 :            : {
    1001                 :            :     { { 0, 0 }, { 21600, 21600 } }
    1002                 :            : };
    1003                 :            : static const SvxMSDffHandle mso_sptBentArrowHandle[] =
    1004                 :            : {
    1005                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    1006                 :            :         0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 }
    1007                 :            : };
    1008                 :            : static const mso_CustomShape msoBentArrow =
    1009                 :            : {
    1010                 :            :     (SvxMSDffVertPair*)mso_sptBentArrowVert, SAL_N_ELEMENTS( mso_sptBentArrowVert ),
    1011                 :            :     (sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1,
    1012                 :            :     (SvxMSDffCalculationData*)mso_sptBentArrowCalc, SAL_N_ELEMENTS( mso_sptBentArrowCalc ),
    1013                 :            :     (sal_Int32*)mso_sptBentArrowDefault,
    1014                 :            :     (SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, SAL_N_ELEMENTS( mso_sptBentArrowTextRect ),
    1015                 :            :     21600, 21600,
    1016                 :            :     MIN_INT32, MIN_INT32,
    1017                 :            :     NULL, 0,
    1018                 :            :     (SvxMSDffHandle*)mso_sptBentArrowHandle, SAL_N_ELEMENTS( mso_sptBentArrowHandle )        // handles
    1019                 :            : };
    1020                 :            : 
    1021                 :            : static const SvxMSDffVertPair mso_sptUturnArrowVert[] =
    1022                 :            : {
    1023                 :            :     { 0, 21600 }, { 0, 8550 },                                          // pp
    1024                 :            :     { 0, 3540 }, { 4370, 0 }, { 9270, 0 },                              // ccp
    1025                 :            :     { 13890, 0 }, { 18570, 3230 }, { 18600, 8300 },                     // ccp
    1026                 :            :     { 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp
    1027                 :            :     { 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 },                   // ccp
    1028                 :            :     { 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 },                     // ccp
    1029                 :            :     { 6110, 21600 }
    1030                 :            : };
    1031                 :            : static const sal_uInt16 mso_sptUturnArrowSegm[] =
    1032                 :            : {
    1033                 :            :     0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000
    1034                 :            : };
    1035                 :            : static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect[] =
    1036                 :            : {
    1037                 :            :     { { 0, 8280 }, { 6110, 21600 } }
    1038                 :            : };
    1039                 :            : static const mso_CustomShape msoUturnArrow =
    1040                 :            : {
    1041                 :            :     (SvxMSDffVertPair*)mso_sptUturnArrowVert, SAL_N_ELEMENTS( mso_sptUturnArrowVert ),
    1042                 :            :     (sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1,
    1043                 :            :     NULL, 0,
    1044                 :            :     NULL,
    1045                 :            :     (SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, SAL_N_ELEMENTS( mso_sptUturnArrowTextRect ),
    1046                 :            :     21600, 21600,
    1047                 :            :     MIN_INT32, MIN_INT32,
    1048                 :            :     NULL, 0,
    1049                 :            :     NULL, 0     // handles
    1050                 :            : };
    1051                 :            : 
    1052                 :            : static const SvxMSDffVertPair mso_sptLeftUpArrowVert[] =    // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
    1053                 :            : {                                                           // adjustment3 : y 0 - 21600
    1054                 :            :     { 0, 5 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 7 MSO_I, 7 MSO_I },
    1055                 :            :     { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I },
    1056                 :            :     { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
    1057                 :            : };
    1058                 :            : static const sal_uInt16 mso_sptLeftUpArrowSegm[] =
    1059                 :            : {
    1060                 :            :     0x4000, 0x000b, 0x6001, 0x8000
    1061                 :            : };
    1062                 :            : static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc[] =
    1063                 :            : {
    1064                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 0
    1065                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },        // 1
    1066                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },        // 2
    1067                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3
    1068                 :            :     { 0x2001, { 0x0403, 1, 2 } },                       // 4
    1069                 :            :     { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },    // 5
    1070                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },    // 6
    1071                 :            :     { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },    // 7
    1072                 :            :     { 0x8000, { 21600, 0, 0x406 } },                    // 8
    1073                 :            :     { 0xa000, { 0x408, 0, 0x406 } }                 // 9
    1074                 :            : };
    1075                 :            : static const sal_Int32 mso_sptLeftUpArrowDefault[] =
    1076                 :            : {
    1077                 :            :     3, 9340, 18500, 6200
    1078                 :            : };
    1079                 :            : static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect[] =
    1080                 :            : {
    1081                 :            :     { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
    1082                 :            :     { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
    1083                 :            : };
    1084                 :            : static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] =
    1085                 :            : {
    1086                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
    1087                 :            :         0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
    1088                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1089                 :            :         0x100, 0, 10800, 10800, 0x102, 3 + 9, MIN_INT32, 0x7fffffff }
    1090                 :            : };
    1091                 :            : static const mso_CustomShape msoLeftUpArrow =
    1092                 :            : {
    1093                 :            :     (SvxMSDffVertPair*)mso_sptLeftUpArrowVert, SAL_N_ELEMENTS( mso_sptLeftUpArrowVert ),
    1094                 :            :     (sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1,
    1095                 :            :     (SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, SAL_N_ELEMENTS( mso_sptLeftUpArrowCalc ),
    1096                 :            :     (sal_Int32*)mso_sptLeftUpArrowDefault,
    1097                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftUpArrowTextRect ),
    1098                 :            :     21600, 21600,
    1099                 :            :     MIN_INT32, MIN_INT32,
    1100                 :            :     NULL, 0,
    1101                 :            :     (SvxMSDffHandle*)mso_sptLeftUpArrowHandle, SAL_N_ELEMENTS( mso_sptLeftUpArrowHandle )        // handles
    1102                 :            : };
    1103                 :            : 
    1104                 :            : static const SvxMSDffVertPair mso_sptBentUpArrowVert[] =    // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
    1105                 :            : {                                                           // adjustment3 : y 0 - 21600
    1106                 :            :     { 0, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },
    1107                 :            :     { 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 21600 },
    1108                 :            :     { 0, 21600 }
    1109                 :            : };
    1110                 :            : static const sal_uInt16 mso_sptBentUpArrowSegm[] =
    1111                 :            : {
    1112                 :            :     0x4000, 0x0008, 0x6001, 0x8000
    1113                 :            : };
    1114                 :            : static const SvxMSDffCalculationData mso_sptBentUpArrowCalc[] =
    1115                 :            : {
    1116                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 0
    1117                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },        // 1
    1118                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },        // 2
    1119                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3
    1120                 :            :     { 0x2001, { 0x0403, 1, 2 } },                       // 4
    1121                 :            :     { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },    // 5
    1122                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },    // 6
    1123                 :            :     { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },    // 7
    1124                 :            :     { 0x6000, { 0x0407, 0x0406, 0 } },                  // 8
    1125                 :            :     { 0x8000, { 21600, 0, 0x406 } },                    // 9
    1126                 :            :     { 0xa000, { 0x409, 0, 0x406 } }                 // a
    1127                 :            : };
    1128                 :            : static const sal_Int32 mso_sptBentUpArrowDefault[] =
    1129                 :            : {
    1130                 :            :     3, 9340, 18500, 7200
    1131                 :            : };
    1132                 :            : static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect[] =
    1133                 :            : {
    1134                 :            :     { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
    1135                 :            :     { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
    1136                 :            : };
    1137                 :            : static const SvxMSDffHandle mso_sptBentUpArrowHandle[] =
    1138                 :            : {
    1139                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
    1140                 :            :         0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
    1141                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1142                 :            :         0x100, 0, 10800, 10800, 0x102, 3 + 10, MIN_INT32, 0x7fffffff }
    1143                 :            : };
    1144                 :            : static const mso_CustomShape msoBentUpArrow =
    1145                 :            : {
    1146                 :            :     (SvxMSDffVertPair*)mso_sptBentUpArrowVert, SAL_N_ELEMENTS( mso_sptBentUpArrowVert ),
    1147                 :            :     (sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1,
    1148                 :            :     (SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, SAL_N_ELEMENTS( mso_sptBentUpArrowCalc ),
    1149                 :            :     (sal_Int32*)mso_sptBentUpArrowDefault,
    1150                 :            :     (SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, SAL_N_ELEMENTS( mso_sptBentUpArrowTextRect ),
    1151                 :            :     21600, 21600,
    1152                 :            :     MIN_INT32, MIN_INT32,
    1153                 :            :     NULL, 0,
    1154                 :            :     (SvxMSDffHandle*)mso_sptBentUpArrowHandle, SAL_N_ELEMENTS( mso_sptBentUpArrowHandle )
    1155                 :            : };
    1156                 :            : 
    1157                 :            : static const SvxMSDffVertPair mso_sptCurvedRightVert[] =
    1158                 :            : {
    1159                 :            :     { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I }, { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 0, 7 MSO_I }, { 2 MSO_I, 13 MSO_I },
    1160                 :            :     { 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I },
    1161                 :            :     { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 2 MSO_I, 11 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I },
    1162                 :            :     { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I },
    1163                 :            :     { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 MSO_I }, { 26 MSO_I, 17 MSO_I },
    1164                 :            :     { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I }
    1165                 :            : };
    1166                 :            : static const sal_uInt16 mso_sptCurvedRightSegm[] =
    1167                 :            : {
    1168                 :            :     0xa408,
    1169                 :            :     0x0003,
    1170                 :            :     0xa508,
    1171                 :            :     0x6000,
    1172                 :            :     0x8000,
    1173                 :            :     0xa404,
    1174                 :            :     0xa304,
    1175                 :            :     0xa504,
    1176                 :            :     0x6000,
    1177                 :            :     0x8000
    1178                 :            : };
    1179                 :            : static const SvxMSDffCalculationData mso_sptCurvedRightCalc[] =
    1180                 :            : {
    1181                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1182                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1183                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1184                 :            :     { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
    1185                 :            :     { 0x2001, { 0x403, 1, 2 } },
    1186                 :            :     { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
    1187                 :            :     { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
    1188                 :            :     { 0x2001, { 0x406, 1, 2 } },
    1189                 :            :     { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
    1190                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } },
    1191                 :            :     { 0xa00f, { 0x409, 21600, 0x404 } },
    1192                 :            :     { 0x6000, { 0x404, 0x40a, 0 } },
    1193                 :            :     { 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } },
    1194                 :            :     { 0x6000, { 0x407, 0x40a, 0 } },
    1195                 :            :     { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } },
    1196                 :            :     { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
    1197                 :            :     { 0x2001, { 0x40f, 1, 2 } },
    1198                 :            :     { 0x6002, { 0x404, 0x407, 0 } },
    1199                 :            :     { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
    1200                 :            :     { 0x2001, { 0x412, 1, 2 } },
    1201                 :            :     { 0xa000, { 0x411, 0, 0x413 } },
    1202                 :            :     { 0x0000, { 21600, 0, 0 } },
    1203                 :            :     { 0x0000, { 21600, 0, 0 } },
    1204                 :            :     { 0x0001, { 21600, 2, 1 } },
    1205                 :            :     { 0xa000, { 0x411, 0, 0x404 } },
    1206                 :            :     { 0x600f, { 0x418, 0x404, 21600 } },
    1207                 :            :     { 0x8000, { 21600, 0, 0x419 } },
    1208                 :            :     { 0x2000, { 0x408, 128, 0 } },
    1209                 :            :     { 0x2001, { 0x405, 1, 2 } },
    1210                 :            :     { 0x2000, { 0x405, 0, 128 } },
    1211                 :            :     { 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } },
    1212                 :            :     { 0x600f, { 0x414, 0x404, 21600 } },
    1213                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    1214                 :            :     { 0x2001, { 0x420, 1, 2 } },
    1215                 :            :     { 0x0001, { 21600, 21600, 1 } },
    1216                 :            :     { 0x6001, { 0x409, 0x409, 1 } },
    1217                 :            :     { 0xa000, { 0x422, 0, 0x423 } },
    1218                 :            :     { 0x200d, { 0x424, 0, 0 } },
    1219                 :            :     { 0x2000, { 0x425, 21600, 0 } },
    1220                 :            :     { 0x8001, { 21600, 21600, 0x426 } },
    1221                 :            :     { 0x2000, { 0x427, 64, 0 } },
    1222                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
    1223                 :            :     { 0x600f, { 0x421, 0x429, 21600 } },
    1224                 :            :     { 0x8000, { 21600, 0, 0x42a } },
    1225                 :            :     { 0x2000, { 0x42b, 64, 0 } },
    1226                 :            :     { 0x2001, { 0x404, 1, 2 } },
    1227                 :            :     { 0xa000, { DFF_Prop_adjust2Value, 0, 0x42d } },
    1228                 :            :     { 0x0001, { 21600, 2195, 16384 } },
    1229                 :            :     { 0x0001, { 21600, 14189, 16384 } }
    1230                 :            : };
    1231                 :            : static const sal_Int32 mso_sptCurvedRightDefault[] =
    1232                 :            : {
    1233                 :            :     3, 12960, 19440, 14400
    1234                 :            : };
    1235                 :            : static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect[] =
    1236                 :            : {
    1237                 :            :     { { 47 MSO_I, 45 MSO_I }, { 48 MSO_I, 46 MSO_I } }
    1238                 :            : };
    1239                 :            : static const SvxMSDffVertPair mso_sptCurvedRightGluePoints[] =
    1240                 :            : {
    1241                 :            :     { 0, 17 MSO_I }, { 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I }, { 22 MSO_I, 16 MSO_I }
    1242                 :            : };
    1243                 :            : static const SvxMSDffHandle mso_sptCurvedRightHandles[] =
    1244                 :            : {
    1245                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1246                 :            :         21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 },
    1247                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1248                 :            :         21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 },
    1249                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1250                 :            :         0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 }
    1251                 :            : };
    1252                 :            : static const mso_CustomShape msoCurvedRightArrow =
    1253                 :            : {
    1254                 :            :     (SvxMSDffVertPair*)mso_sptCurvedRightVert, SAL_N_ELEMENTS( mso_sptCurvedRightVert ),
    1255                 :            :     (sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1,
    1256                 :            :     (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, SAL_N_ELEMENTS( mso_sptCurvedRightCalc ),
    1257                 :            :     (sal_Int32*)mso_sptCurvedRightDefault,
    1258                 :            :     (SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, SAL_N_ELEMENTS( mso_sptCurvedRightTextRect ),
    1259                 :            :     21600, 21600,
    1260                 :            :     MIN_INT32, MIN_INT32,
    1261                 :            :     (SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, SAL_N_ELEMENTS( mso_sptCurvedRightGluePoints ),
    1262                 :            :     (SvxMSDffHandle*)mso_sptCurvedRightHandles, SAL_N_ELEMENTS( mso_sptCurvedRightHandles )
    1263                 :            : };
    1264                 :            : 
    1265                 :            : static const SvxMSDffVertPair mso_sptCurvedDownVert[] =
    1266                 :            : {
    1267                 :            :    { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
    1268                 :            :    { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I },
    1269                 :            :    { 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, 
    1270                 :            :    { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 },
    1271                 :            :    { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I },
    1272                 :            :    { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
    1273                 :            :    { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 26 MSO_I },
    1274                 :            :    { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I }
    1275                 :            : };
    1276                 :            : static const sal_uInt16 mso_sptCurvedDownSegm[] =
    1277                 :            : {
    1278                 :            :     0xa608,
    1279                 :            :     0x0003,
    1280                 :            :     0xa308,
    1281                 :            :     0x6000,
    1282                 :            :     0x8000,
    1283                 :            :    0xa604,
    1284                 :            :    0xa504,
    1285                 :            :    0xa304,
    1286                 :            :    0x6000,
    1287                 :            :    0x8000
    1288                 :            : };
    1289                 :            : static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] =
    1290                 :            : {
    1291                 :            :    { { 45 MSO_I, 47 MSO_I }, { 46 MSO_I, 48 MSO_I } }
    1292                 :            : };
    1293                 :            : static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] =
    1294                 :            : {
    1295                 :            :    { 17 MSO_I, 0 }, { 16 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 14 MSO_I, 2 MSO_I }
    1296                 :            : };
    1297                 :            : static const SvxMSDffHandle mso_sptCurvedDownHandles[] =
    1298                 :            : {
    1299                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1300                 :            :        0x100, 21600, 10800, 10800, 3 + 40, 3 + 29, 0, 10800 },
    1301                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1302                 :            :        0x101, 21600, 10800, 10800, 3 + 27, 3 + 21, 0, 10800 },
    1303                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1304                 :            :        21600, 0x102, 10800, 10800, 3375, 21600, 3 + 44, 3 + 22 }
    1305                 :            : };
    1306                 :            : 
    1307                 :            : static const mso_CustomShape msoCurvedDownArrow =
    1308                 :            : {
    1309                 :            :    (SvxMSDffVertPair*)mso_sptCurvedDownVert, SAL_N_ELEMENTS( mso_sptCurvedDownVert ),
    1310                 :            :    (sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1,
    1311                 :            :    (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, SAL_N_ELEMENTS( mso_sptCurvedRightCalc ),
    1312                 :            :    (sal_Int32*)mso_sptCurvedRightDefault,
    1313                 :            :    (SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, SAL_N_ELEMENTS( mso_sptCurvedDownTextRect ),
    1314                 :            :    21600, 21600,
    1315                 :            :    MIN_INT32, MIN_INT32,
    1316                 :            :    (SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, SAL_N_ELEMENTS( mso_sptCurvedDownGluePoints ),
    1317                 :            :    (SvxMSDffHandle*)mso_sptCurvedDownHandles, SAL_N_ELEMENTS( mso_sptCurvedDownHandles )
    1318                 :            : };
    1319                 :            : 
    1320                 :            : static const SvxMSDffVertPair mso_sptCurvedUpVert[] =
    1321                 :            : {
    1322                 :            :    { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
    1323                 :            :    { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I },
    1324                 :            :    { 12 MSO_I, 2 MSO_I }, { 13 MSO_I, 2 MSO_I }, { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I },
    1325                 :            :    { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 10 MSO_I, 2 MSO_I }, { 16 MSO_I, 24 MSO_I },
    1326                 :            :    { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 },
    1327                 :            :    { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
    1328                 :            :    { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I },
    1329                 :            :    { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 }
    1330                 :            : };
    1331                 :            : static const sal_uInt16 mso_sptCurvedUpSegm[] =
    1332                 :            : {
    1333                 :            :    0xa408,
    1334                 :            :    0x0003,
    1335                 :            :    0xa508,
    1336                 :            :    0x6000,
    1337                 :            :    0x8000,
    1338                 :            :    0xa404,
    1339                 :            :    0xa508,
    1340                 :            :    0xa504,
    1341                 :            :    0x6000,
    1342                 :            :    0x8000
    1343                 :            : };
    1344                 :            : static const SvxMSDffCalculationData mso_sptCurvedUpCalc[] =
    1345                 :            : {
    1346                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1347                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1348                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1349                 :            :     { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
    1350                 :            :     { 0x2001, { 0x403, 1, 2 } },
    1351                 :            :     { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
    1352                 :            :     { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
    1353                 :            :     { 0x2001, { 0x406, 1, 2 } },
    1354                 :            :     { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
    1355                 :            :     { 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } },
    1356                 :            :     { 0x6000, { 0x404, 0x409, 0 } },
    1357                 :            :     { 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } },
    1358                 :            :     { 0x6000, { 0x407, 0x409, 0 } },
    1359                 :            :     { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } },
    1360                 :            :     { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
    1361                 :            :     { 0x2001, { 0x40e, 1, 2 } },
    1362                 :            :     { 0x6002, { 0x404, 0x407, 0 } },
    1363                 :            :     { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
    1364                 :            :     { 0x2001, { 0x411, 1, 2 } },
    1365                 :            :     { 0xa000, { 0x410, 0, 0x412 } },
    1366                 :            :     { 0x0000, { 21600, 0, 0 } },
    1367                 :            :     { 0x0000, { 21600, 0, 0 } },
    1368                 :            :     { 0x0000, { 0, 0, 21600 } },
    1369                 :            :     { 0xa000, { 0x410, 0, 0x404 } },
    1370                 :            :     { 0x600f, { 0x417, 0x404, 21600 } },
    1371                 :            :     { 0x2000, { 0x408, 128, 0 } },
    1372                 :            :     { 0x2001, { 0x405, 1, 2 } },
    1373                 :            :     { 0x2000, { 0x405, 0, 128 } },
    1374                 :            :     { 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } },
    1375                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    1376                 :            :     { 0x2001, { 0x41d, 1, 2 } },
    1377                 :            :     { 0x0001, { 21600, 21600, 1 } },
    1378                 :            :     { 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } },
    1379                 :            :     { 0xa000, { 0x41f, 0, 0x420 } },
    1380                 :            :     { 0x200d, { 0x421, 0, 0 } },
    1381                 :            :     { 0x2000, { 0x422, 21600, 0 } },
    1382                 :            :     { 0x8001, { 21600, 21600, 0x423 } },
    1383                 :            :     { 0x2000, { 0x424, 64, 0 } },
    1384                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
    1385                 :            :     { 0x600f, { 0x41e, 0x426, 21600 } },
    1386                 :            :     { 0x2000, { 0x427, 0, 64 } },
    1387                 :            :     { 0x2001, { 0x404, 1, 2 } },
    1388                 :            :     { 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } },
    1389                 :            :     { 0x0001, { 21600, 2195, 16384 } },
    1390                 :            :     { 0x0001, { 21600, 14189, 16384 } }
    1391                 :            : };
    1392                 :            : static const sal_Int32 mso_sptCurvedUpDefault[] =
    1393                 :            : {
    1394                 :            :     3, 12960, 19440, 7200
    1395                 :            : };
    1396                 :            : static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect[] =
    1397                 :            : {
    1398                 :            :    { { 41 MSO_I, 43 MSO_I }, { 42 MSO_I, 44 MSO_I } }
    1399                 :            : };
    1400                 :            : static const SvxMSDffVertPair mso_sptCurvedUpGluePoints[] =
    1401                 :            : {
    1402                 :            :    { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I }, { 15 MSO_I, 0 }, { 16 MSO_I, 21 MSO_I }, { 13 MSO_I, 2 MSO_I }
    1403                 :            : };
    1404                 :            : static const SvxMSDffHandle mso_sptCurvedUpHandles[] =
    1405                 :            : {
    1406                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1407                 :            :        0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 },
    1408                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1409                 :            :        0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 },
    1410                 :            :    {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1411                 :            :        21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 }
    1412                 :            : };
    1413                 :            : static const mso_CustomShape msoCurvedUpArrow =
    1414                 :            : {
    1415                 :            :    (SvxMSDffVertPair*)mso_sptCurvedUpVert, SAL_N_ELEMENTS( mso_sptCurvedUpVert ),
    1416                 :            :    (sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1,
    1417                 :            :    (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, SAL_N_ELEMENTS( mso_sptCurvedUpCalc ),
    1418                 :            :    (sal_Int32*)mso_sptCurvedUpDefault,
    1419                 :            :    (SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, SAL_N_ELEMENTS( mso_sptCurvedUpTextRect ),
    1420                 :            :    21600, 21600,
    1421                 :            :    MIN_INT32, MIN_INT32,
    1422                 :            :    (SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, SAL_N_ELEMENTS( mso_sptCurvedUpGluePoints ),
    1423                 :            :    (SvxMSDffHandle*)mso_sptCurvedUpHandles, SAL_N_ELEMENTS( mso_sptCurvedUpHandles )
    1424                 :            : };
    1425                 :            : 
    1426                 :            : static const SvxMSDffVertPair mso_sptCurvedLeftVert[] =
    1427                 :            : {
    1428                 :            :    { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
    1429                 :            :    { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 2 MSO_I, 12 MSO_I },
    1430                 :            :    { 2 MSO_I, 13 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 11 MSO_I },
    1431                 :            :    { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 2 MSO_I, 10 MSO_I }, { 24 MSO_I, 16 MSO_I },
    1432                 :            :    { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I },
    1433                 :            :    { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
    1434                 :            :    { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 24 MSO_I, 16 MSO_I },
    1435                 :            :    { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I }
    1436                 :            : };
    1437                 :            : static const sal_uInt16 mso_sptCurvedLeftSegm[] =
    1438                 :            : {
    1439                 :            :    0xa608,
    1440                 :            :    0x0003,
    1441                 :            :    0xa308,
    1442                 :            :    0x6000,
    1443                 :            :    0x8000,
    1444                 :            :    0xa604,
    1445                 :            :    0xa308,
    1446                 :            :    0x6000,
    1447                 :            :    0x8000
    1448                 :            : };
    1449                 :            : static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect[] =
    1450                 :            : {
    1451                 :            :     { { 43 MSO_I, 41 MSO_I }, { 44 MSO_I, 42 MSO_I } }
    1452                 :            : };
    1453                 :            : static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints[] =
    1454                 :            : {
    1455                 :            :     { 0, 15 MSO_I }, { 2 MSO_I, 11 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 13 MSO_I }, { 21 MSO_I, 16 MSO_I }
    1456                 :            : };
    1457                 :            : static const SvxMSDffHandle mso_sptCurvedLeftHandles[] =
    1458                 :            : {
    1459                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1460                 :            :         0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 },
    1461                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1462                 :            :         0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 },
    1463                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1464                 :            :         0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 }
    1465                 :            : };
    1466                 :            : static const mso_CustomShape msoCurvedLeftArrow =
    1467                 :            : {
    1468                 :            :     (SvxMSDffVertPair*)mso_sptCurvedLeftVert, SAL_N_ELEMENTS( mso_sptCurvedLeftVert ),
    1469                 :            :     (sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1,
    1470                 :            :     (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, SAL_N_ELEMENTS( mso_sptCurvedUpCalc ),
    1471                 :            :     (sal_Int32*)mso_sptCurvedUpDefault,
    1472                 :            :     (SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, SAL_N_ELEMENTS( mso_sptCurvedLeftTextRect ),
    1473                 :            :     21600, 21600,
    1474                 :            :     MIN_INT32, MIN_INT32,
    1475                 :            :     (SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, SAL_N_ELEMENTS( mso_sptCurvedLeftGluePoints ),
    1476                 :            :     (SvxMSDffHandle*)mso_sptCurvedLeftHandles, SAL_N_ELEMENTS( mso_sptCurvedLeftHandles )
    1477                 :            : };
    1478                 :            : 
    1479                 :            : static const SvxMSDffVertPair mso_sptStripedRightArrowVert[] =  // adjustment1 : x 3375 - 21600
    1480                 :            : {                                                               // adjustment2 : y 0 - 10800
    1481                 :            :     { 3375, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
    1482                 :            :     { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 3375, 2 MSO_I }, { 0, 0 MSO_I },
    1483                 :            :     { 675, 0 MSO_I }, { 675, 2 MSO_I }, { 0, 2 MSO_I }, { 1350, 0 MSO_I },
    1484                 :            :     { 2700, 0 MSO_I }, { 2700, 2 MSO_I }, { 1350, 2 MSO_I }
    1485                 :            : };
    1486                 :            : static const sal_uInt16 mso_sptStripedRightArrowSegm[] =
    1487                 :            : {
    1488                 :            :     0x4000, 0x0006, 0x6001, 0x8000,
    1489                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    1490                 :            :     0x4000, 0x0003, 0x6001, 0x8000
    1491                 :            : };
    1492                 :            : static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc[] =
    1493                 :            : {
    1494                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1495                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1496                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
    1497                 :            :     { 0x8000, { 21600, 0, 0x401 } },
    1498                 :            :     { 0x6001, { 0x403, 0x400, 10800 } },
    1499                 :            :     { 0x6000, { 0x401, 0x404, 0 } }
    1500                 :            : };
    1501                 :            : static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect[] =
    1502                 :            : {
    1503                 :            :     { { 3375, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
    1504                 :            : };
    1505                 :            : static const SvxMSDffHandle mso_sptStripedRightArrowHandle[] =
    1506                 :            : {
    1507                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    1508                 :            :         0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 }
    1509                 :            : };
    1510                 :            : static const mso_CustomShape msoStripedRightArrow =
    1511                 :            : {
    1512                 :            :     (SvxMSDffVertPair*)mso_sptStripedRightArrowVert, SAL_N_ELEMENTS( mso_sptStripedRightArrowVert ),
    1513                 :            :     (sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1,
    1514                 :            :     (SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, SAL_N_ELEMENTS( mso_sptStripedRightArrowCalc ),
    1515                 :            :     (sal_Int32*)mso_sptDefault16200and5400,
    1516                 :            :     (SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, SAL_N_ELEMENTS( mso_sptStripedRightArrowTextRect ),
    1517                 :            :     21600, 21600,
    1518                 :            :     MIN_INT32, MIN_INT32,
    1519                 :            :     NULL, 0,
    1520                 :            :     (SvxMSDffHandle*)mso_sptStripedRightArrowHandle, SAL_N_ELEMENTS( mso_sptStripedRightArrowHandle )
    1521                 :            : };
    1522                 :            : 
    1523                 :            : static const SvxMSDffVertPair mso_sptNotchedRightArrowVert[] =  // adjustment1 : x 0 - 21600    (default 16200)
    1524                 :            : {                                                               // adjustment2 : y 0 - 10800    (default 5400)
    1525                 :            :     { 0, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 10800 },
    1526                 :            :     { 0 MSO_I, 21600 }, { 0 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }, { 5 MSO_I, 10800 }, { 0, 1 MSO_I }
    1527                 :            : };
    1528                 :            : static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc[] =
    1529                 :            : {
    1530                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1531                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1532                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
    1533                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    1534                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
    1535                 :            :     { 0x6001, { 0x403, 0x404, 10800 } }
    1536                 :            : };
    1537                 :            : static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] =    // todo
    1538                 :            : {
    1539                 :            :     { { 0, 0 }, { 21600, 21600 } }
    1540                 :            : };
    1541                 :            : static const SvxMSDffHandle mso_sptNotchedRightArrowHandle[] =
    1542                 :            : {
    1543                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    1544                 :            :         0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
    1545                 :            : };
    1546                 :            : static const mso_CustomShape msoNotchedRightArrow =
    1547                 :            : {
    1548                 :            :     (SvxMSDffVertPair*)mso_sptNotchedRightArrowVert, SAL_N_ELEMENTS( mso_sptNotchedRightArrowVert ),
    1549                 :            :     NULL, 0,
    1550                 :            :     (SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, SAL_N_ELEMENTS( mso_sptNotchedRightArrowCalc ),
    1551                 :            :     (sal_Int32*)mso_sptDefault16200and5400,
    1552                 :            :     (SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, SAL_N_ELEMENTS( mso_sptNotchedRightArrowTextRect ),
    1553                 :            :     21600, 21600,
    1554                 :            :     MIN_INT32, MIN_INT32,
    1555                 :            :     NULL, 0,
    1556                 :            :     (SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, SAL_N_ELEMENTS( mso_sptNotchedRightArrowHandle )
    1557                 :            : };
    1558                 :            : 
    1559                 :            : static const SvxMSDffVertPair mso_sptHomePlateVert[] =  // adjustment1 : x 0 - 21600
    1560                 :            : {
    1561                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
    1562                 :            :     { 0, 21600 }
    1563                 :            : };
    1564                 :            : static const sal_uInt16 mso_sptHomePlateSegm[] =
    1565                 :            : {
    1566                 :            :     0x4000, 0x0004, 0x6001, 0x8000
    1567                 :            : };
    1568                 :            : static const SvxMSDffCalculationData mso_sptHomePlateCalc[] =
    1569                 :            : {
    1570                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
    1571                 :            : };
    1572                 :            : static const sal_Int32 mso_sptHomePlateDefault[] =
    1573                 :            : {
    1574                 :            :     1, 16200
    1575                 :            : };
    1576                 :            : static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] =    // todo
    1577                 :            : {
    1578                 :            :     { { 0, 0 }, { 21600, 21600 } }
    1579                 :            : };
    1580                 :            : static const SvxMSDffHandle mso_sptHomePlateHandle[] =
    1581                 :            : {
    1582                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    1583                 :            :         0x100, 0, 10800, 10800, 0, 21600, MIN_INT32, 0x7fffffff }
    1584                 :            : };
    1585                 :            : static const mso_CustomShape msoHomePlate =
    1586                 :            : {
    1587                 :            :     (SvxMSDffVertPair*)mso_sptHomePlateVert, SAL_N_ELEMENTS( mso_sptHomePlateVert ),
    1588                 :            :     (sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1,
    1589                 :            :     (SvxMSDffCalculationData*)mso_sptHomePlateCalc, SAL_N_ELEMENTS( mso_sptHomePlateCalc ),
    1590                 :            :     (sal_Int32*)mso_sptHomePlateDefault,
    1591                 :            :     (SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, SAL_N_ELEMENTS( mso_sptHomePlateTextRect ),
    1592                 :            :     21600, 21600,
    1593                 :            :     MIN_INT32, MIN_INT32,
    1594                 :            :     NULL, 0,
    1595                 :            :     (SvxMSDffHandle*)mso_sptHomePlateHandle, SAL_N_ELEMENTS( mso_sptHomePlateHandle )
    1596                 :            : };
    1597                 :            : 
    1598                 :            : static const SvxMSDffVertPair mso_sptChevronVert[] =    // adjustment1 : x 0 - 21600
    1599                 :            : {
    1600                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
    1601                 :            :     { 0, 21600 }, { 1 MSO_I, 10800 }
    1602                 :            : };
    1603                 :            : static const sal_uInt16 mso_sptChevronSegm[] =
    1604                 :            : {
    1605                 :            :     0x4000, 0x0005, 0x6001, 0x8000
    1606                 :            : };
    1607                 :            : static const SvxMSDffCalculationData mso_sptChevronCalc[] =
    1608                 :            : {
    1609                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1610                 :            :     { 0x8000, { 21600, 0, 0x0400 } }
    1611                 :            : };
    1612                 :            : static const sal_Int32 mso_sptChevronDefault[] =
    1613                 :            : {
    1614                 :            :     1, 16200
    1615                 :            : };
    1616                 :            : static const SvxMSDffTextRectangles mso_sptChevronTextRect[] =  // todo
    1617                 :            : {
    1618                 :            :     { { 0, 0 }, { 21600, 21600 } }
    1619                 :            : };
    1620                 :            : static const SvxMSDffHandle mso_sptChevronHandle[] =
    1621                 :            : {
    1622                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    1623                 :            :         0x100, 0, 10800, 10800, 0, 21600, MIN_INT32, 0x7fffffff }
    1624                 :            : };
    1625                 :            : static const mso_CustomShape msoChevron =
    1626                 :            : {
    1627                 :            :     (SvxMSDffVertPair*)mso_sptChevronVert, SAL_N_ELEMENTS( mso_sptChevronVert ),
    1628                 :            :     (sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1,
    1629                 :            :     (SvxMSDffCalculationData*)mso_sptChevronCalc, SAL_N_ELEMENTS( mso_sptChevronCalc ),
    1630                 :            :     (sal_Int32*)mso_sptChevronDefault,
    1631                 :            :     (SvxMSDffTextRectangles*)mso_sptChevronTextRect, SAL_N_ELEMENTS( mso_sptChevronTextRect ),
    1632                 :            :     21600, 21600,
    1633                 :            :     MIN_INT32, MIN_INT32,
    1634                 :            :     NULL, 0,
    1635                 :            :     (SvxMSDffHandle*)mso_sptChevronHandle, SAL_N_ELEMENTS( mso_sptChevronHandle )
    1636                 :            : };
    1637                 :            : 
    1638                 :            : static const SvxMSDffVertPair mso_sptRightArrowCalloutVert[] =  // adjustment1 : x 0 - 21000
    1639                 :            : {                                                               // adjustment2 : y 0 - 10800
    1640                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
    1641                 :            :     { 2 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 5 MSO_I },
    1642                 :            :     { 0 MSO_I, 5 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 }
    1643                 :            : };
    1644                 :            : static const sal_uInt16 mso_sptRightArrowCalloutSegm[] =
    1645                 :            : {
    1646                 :            :     0x4000, 0x000a, 0x6001, 0x8000
    1647                 :            : };
    1648                 :            : static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc[] =
    1649                 :            : {
    1650                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1651                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1652                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1653                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1654                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1655                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1656                 :            : };
    1657                 :            : static const sal_Int32 mso_sptRightArrowCalloutDefault[] =
    1658                 :            : {
    1659                 :            :     4, 14400, 5400, 18000, 8100
    1660                 :            : };
    1661                 :            : static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] =
    1662                 :            : {
    1663                 :            :     { { 0, 0 }, { 0 MSO_I, 21600 } }
    1664                 :            : };
    1665                 :            : static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] =
    1666                 :            : {
    1667                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1668                 :            :         0x100, 0, 10800, 10800, 0, 0x102, MIN_INT32, 0x7fffffff },
    1669                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1670                 :            :         0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 },
    1671                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1672                 :            :         1, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 0x103 }
    1673                 :            : };
    1674                 :            : static const mso_CustomShape msoRightArrowCallout =
    1675                 :            : {
    1676                 :            :     (SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, SAL_N_ELEMENTS( mso_sptRightArrowCalloutVert ),
    1677                 :            :     (sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1,
    1678                 :            :     (SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptRightArrowCalloutCalc ),
    1679                 :            :     (sal_Int32*)mso_sptRightArrowCalloutDefault,
    1680                 :            :     (SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptRightArrowCalloutTextRect ),
    1681                 :            :     21600, 21600,
    1682                 :            :     MIN_INT32, MIN_INT32,
    1683                 :            :     NULL, 0,
    1684                 :            :     (SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptRightArrowCalloutHandle )
    1685                 :            : };
    1686                 :            : 
    1687                 :            : static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert[] =   // adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800
    1688                 :            : {                                                               // adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800
    1689                 :            :     { 0 MSO_I, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I, 21600 },
    1690                 :            :     { 0 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0, 10800 },
    1691                 :            :     { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
    1692                 :            : };
    1693                 :            : static const sal_uInt16 mso_sptLeftArrowCalloutSegm[] =
    1694                 :            : {
    1695                 :            :     0x4000, 0x000a, 0x6001, 0x8000
    1696                 :            : };
    1697                 :            : static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc[] =
    1698                 :            : {
    1699                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1700                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1701                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1702                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1703                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1704                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1705                 :            : };
    1706                 :            : static const sal_Int32 mso_sptLeftArrowCalloutDefault[] =
    1707                 :            : {
    1708                 :            :     4, 7200, 5400, 3600, 8100
    1709                 :            : };
    1710                 :            : static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] =
    1711                 :            : {
    1712                 :            :     { { 0 MSO_I, 0 }, { 21600, 21600 } }
    1713                 :            : };
    1714                 :            : static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] =
    1715                 :            : {
    1716                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
    1717                 :            :         0x100, 0, 10800, 10800, 0x102, 21600, MIN_INT32, 0x7fffffff },
    1718                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1719                 :            :         0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
    1720                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1721                 :            :         0, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 0x103 }
    1722                 :            : };
    1723                 :            : static const mso_CustomShape msoLeftArrowCallout =
    1724                 :            : {
    1725                 :            :     (SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutVert ),
    1726                 :            :     (sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1,
    1727                 :            :     (SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutCalc ),
    1728                 :            :     (sal_Int32*)mso_sptLeftArrowCalloutDefault,
    1729                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutTextRect ),
    1730                 :            :     21600, 21600,
    1731                 :            :     MIN_INT32, MIN_INT32,
    1732                 :            :     NULL, 0,
    1733                 :            :     (SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutHandle )
    1734                 :            : };
    1735                 :            : 
    1736                 :            : static const SvxMSDffVertPair mso_sptUpArrowCalloutVert[] =
    1737                 :            : {
    1738                 :            :     { 21600, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I },
    1739                 :            :     { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 },
    1740                 :            :     { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 MSO_I }
    1741                 :            : };
    1742                 :            : static const sal_uInt16 mso_sptUpArrowCalloutSegm[] =
    1743                 :            : {
    1744                 :            :     0x4000, 0x000a, 0x6001, 0x8000
    1745                 :            : };
    1746                 :            : static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc[] =
    1747                 :            : {
    1748                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1749                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1750                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1751                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1752                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1753                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1754                 :            : };
    1755                 :            : static const sal_Int32 mso_sptUpArrowCalloutDefault[] =
    1756                 :            : {
    1757                 :            :     4, 7200, 5400, 3600, 8100
    1758                 :            : };
    1759                 :            : static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] =
    1760                 :            : {
    1761                 :            :     { { 0, 0 MSO_I }, { 21600, 21600 } }
    1762                 :            : };
    1763                 :            : static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] =
    1764                 :            : {
    1765                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1766                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0x102, 21600 },
    1767                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1768                 :            :         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
    1769                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1770                 :            :         0x101, 0, 10800, 10800, 0, 0x103, MIN_INT32, 0x7fffffff }
    1771                 :            : };
    1772                 :            : static const mso_CustomShape msoUpArrowCallout =
    1773                 :            : {
    1774                 :            :     (SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, SAL_N_ELEMENTS( mso_sptUpArrowCalloutVert ),
    1775                 :            :     (sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1,
    1776                 :            :     (SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptUpArrowCalloutCalc ),
    1777                 :            :     (sal_Int32*)mso_sptUpArrowCalloutDefault,
    1778                 :            :     (SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptUpArrowCalloutTextRect ),
    1779                 :            :     21600, 21600,
    1780                 :            :     MIN_INT32, MIN_INT32,
    1781                 :            :     NULL, 0,
    1782                 :            :     (SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptUpArrowCalloutHandle )
    1783                 :            : };
    1784                 :            : 
    1785                 :            : static const SvxMSDffVertPair mso_sptDownArrowCalloutVert[] =
    1786                 :            : {
    1787                 :            :     { 0, 0 MSO_I }, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I },
    1788                 :            :     { 5 MSO_I, 0 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 10800, 21600 },
    1789                 :            :     { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
    1790                 :            : };
    1791                 :            : static const sal_uInt16 mso_sptDownArrowCalloutSegm[] =
    1792                 :            : {
    1793                 :            :     0x4000, 0x000a, 0x6001, 0x8000
    1794                 :            : };
    1795                 :            : static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc[] =
    1796                 :            : {
    1797                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1798                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1799                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1800                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1801                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1802                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1803                 :            : };
    1804                 :            : static const sal_Int32 mso_sptDownArrowCalloutDefault[] =
    1805                 :            : {
    1806                 :            :     4, 14400, 5400, 18000, 8100
    1807                 :            : };
    1808                 :            : static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] =
    1809                 :            : {
    1810                 :            :     { { 0, 0 }, { 21600, 0 MSO_I } }
    1811                 :            : };
    1812                 :            : static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] =
    1813                 :            : {
    1814                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1815                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 0x102 },
    1816                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1817                 :            :         0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 },
    1818                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1819                 :            :         0x101, 1, 10800, 10800, 0, 0x103, MIN_INT32, 0x7fffffff }
    1820                 :            : };
    1821                 :            : static const mso_CustomShape msoDownArrowCallout =
    1822                 :            : {
    1823                 :            :     (SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, SAL_N_ELEMENTS( mso_sptDownArrowCalloutVert ),
    1824                 :            :     (sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1,
    1825                 :            :     (SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptDownArrowCalloutCalc ),
    1826                 :            :     (sal_Int32*)mso_sptDownArrowCalloutDefault,
    1827                 :            :     (SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptDownArrowCalloutTextRect ),
    1828                 :            :     21600, 21600,
    1829                 :            :     MIN_INT32, MIN_INT32,
    1830                 :            :     NULL, 0,
    1831                 :            :     (SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptDownArrowCalloutHandle )
    1832                 :            : };
    1833                 :            : 
    1834                 :            : static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert[] =
    1835                 :            : {
    1836                 :            :     { 0 MSO_I, 0 }, { 4 MSO_I, 0 }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I },
    1837                 :            :     { 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I },
    1838                 :            :     { 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 7 MSO_I },
    1839                 :            :     { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I },
    1840                 :            :     { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
    1841                 :            : };
    1842                 :            : static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm[] =
    1843                 :            : {
    1844                 :            :     0x4000, 0x0011, 0x6001, 0x8000
    1845                 :            : };
    1846                 :            : static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc[] =
    1847                 :            : {
    1848                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1849                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1850                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1851                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1852                 :            :     { 0x8000, { 21600, 0, 0x0400 } },
    1853                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1854                 :            :     { 0x8000, { 21600, 0, 0x0402 } },
    1855                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1856                 :            : };
    1857                 :            : static const sal_Int32 mso_sptLeftRightArrowCalloutDefault[] =
    1858                 :            : {
    1859                 :            :     4, 5400, 5500, 2700, 8100
    1860                 :            : };
    1861                 :            : static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] =
    1862                 :            : {
    1863                 :            :     { { 0 MSO_I, 0 }, { 4 MSO_I, 21600 } }
    1864                 :            : };
    1865                 :            : static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] =
    1866                 :            : {
    1867                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
    1868                 :            :         0x100, 0, 10800, 10800, 0x102, 10800, MIN_INT32, 0x7fffffff },
    1869                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1870                 :            :         0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
    1871                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1872                 :            :         0, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 0x103 }
    1873                 :            : };
    1874                 :            : static const mso_CustomShape msoLeftRightArrowCallout =
    1875                 :            : {
    1876                 :            :     (SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutVert ),
    1877                 :            :     (sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1,
    1878                 :            :     (SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutCalc ),
    1879                 :            :     (sal_Int32*)mso_sptLeftRightArrowCalloutDefault,
    1880                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutTextRect ),
    1881                 :            :     21600, 21600,
    1882                 :            :     MIN_INT32, MIN_INT32,
    1883                 :            :     NULL, 0,
    1884                 :            :     (SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutHandle )
    1885                 :            : };
    1886                 :            : 
    1887                 :            : static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert[] =
    1888                 :            : {
    1889                 :            :     { 0, 0 MSO_I }, { 0, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 6 MSO_I },
    1890                 :            :     { 1 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 6 MSO_I },
    1891                 :            :     { 7 MSO_I, 4 MSO_I }, { 21600, 4 MSO_I }, { 21600, 0 MSO_I }, { 7 MSO_I, 0 MSO_I },
    1892                 :            :     { 7 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 10800, 0 }, { 1 MSO_I, 2 MSO_I },
    1893                 :            :     { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
    1894                 :            : };
    1895                 :            : static const sal_uInt16 mso_sptUpDownArrowCalloutSegm[] =
    1896                 :            : {
    1897                 :            :     0x4000, 0x0011, 0x6001, 0x8000
    1898                 :            : };
    1899                 :            : static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc[] =
    1900                 :            : {
    1901                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1902                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1903                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1904                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1905                 :            :     { 0x8000, { 21600, 0, 0x0400 } },
    1906                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1907                 :            :     { 0x8000, { 21600, 0, 0x0402 } },
    1908                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1909                 :            : };
    1910                 :            : static const sal_Int32 mso_sptUpDownArrowCalloutDefault[] =
    1911                 :            : {
    1912                 :            :     4, 5400, 5500, 2700, 8100
    1913                 :            : };
    1914                 :            : static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] =
    1915                 :            : {
    1916                 :            :     { { 0, 0 MSO_I }, { 21600, 4 MSO_I } }
    1917                 :            : };
    1918                 :            : static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] =
    1919                 :            : {
    1920                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
    1921                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0x102, 10800 },
    1922                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1923                 :            :         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
    1924                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    1925                 :            :         0x101, 0, 10800, 10800, 0, 0x103, MIN_INT32, 0x7fffffff }
    1926                 :            : };
    1927                 :            : static const mso_CustomShape msoUpDownArrowCallout =
    1928                 :            : {
    1929                 :            :     (SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutVert ),
    1930                 :            :     (sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1,
    1931                 :            :     (SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutCalc ),
    1932                 :            :     (sal_Int32*)mso_sptUpDownArrowCalloutDefault,
    1933                 :            :     (SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutTextRect ),
    1934                 :            :     21600, 21600,
    1935                 :            :     MIN_INT32, MIN_INT32,
    1936                 :            :     NULL, 0,
    1937                 :            :     (SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutHandle )
    1938                 :            : };
    1939                 :            : 
    1940                 :            : static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert[] =
    1941                 :            : {
    1942                 :            :     { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    1943                 :            :     { 10800, 0 }, { 5 MSO_I, 2 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 7 MSO_I, 0 MSO_I },
    1944                 :            :     { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I },
    1945                 :            :     { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I },
    1946                 :            :     { 4 MSO_I, 4 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 5 MSO_I, 6 MSO_I },
    1947                 :            :     { 10800, 21600 }, { 1 MSO_I, 6 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 4 MSO_I },
    1948                 :            :     { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I },
    1949                 :            :     { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
    1950                 :            : };
    1951                 :            : static const sal_uInt16 mso_sptQuadArrowCalloutSegm[] =
    1952                 :            : {
    1953                 :            :     0x4000, 0x001f, 0x6001, 0x8000
    1954                 :            : };
    1955                 :            : static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc[] =
    1956                 :            : {
    1957                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    1958                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    1959                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    1960                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    1961                 :            :     { 0x8000, { 21600, 0, 0x0400 } },
    1962                 :            :     { 0x8000, { 21600, 0, 0x0401 } },
    1963                 :            :     { 0x8000, { 21600, 0, 0x0402 } },
    1964                 :            :     { 0x8000, { 21600, 0, 0x0403 } }
    1965                 :            : };
    1966                 :            : static const sal_Int32 mso_sptQuadArrowCalloutDefault[] =
    1967                 :            : {
    1968                 :            :     4, 5400, 8100, 2700, 9400
    1969                 :            : };
    1970                 :            : static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] =
    1971                 :            : {
    1972                 :            :     { { 0 MSO_I, 0 MSO_I }, { 4 MSO_I, 4 MSO_I } }
    1973                 :            : };
    1974                 :            : static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] =
    1975                 :            : {
    1976                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1977                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0x102, 0x101 },
    1978                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
    1979                 :            :         0x101, 0, 10800, 10800, 0x100, 10800, MIN_INT32, 0x7fffffff },
    1980                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    1981                 :            :         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }
    1982                 :            : };
    1983                 :            : static const mso_CustomShape msoQuadArrowCallout =
    1984                 :            : {
    1985                 :            :     (SvxMSDffVertPair*)mso_sptQuadArrowCalloutVert, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutVert ),
    1986                 :            :     (sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1,
    1987                 :            :     (SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutCalc ),
    1988                 :            :     (sal_Int32*)mso_sptQuadArrowCalloutDefault,
    1989                 :            :     (SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutTextRect ),
    1990                 :            :     21600, 21600,
    1991                 :            :     MIN_INT32, MIN_INT32,
    1992                 :            :     NULL, 0,
    1993                 :            :     (SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutHandle )
    1994                 :            : };
    1995                 :            : 
    1996                 :            : static const SvxMSDffVertPair mso_sptCircularArrowVert[] =
    1997                 :            : {
    1998                 :            :     { 0x03 MSO_I, 0x03 MSO_I },
    1999                 :            :     { 0x14 MSO_I, 0x14 MSO_I },
    2000                 :            :     { 0x13 MSO_I, 0x12 MSO_I },
    2001                 :            :     { 0x11 MSO_I, 0x10 MSO_I },
    2002                 :            :     { 0, 0 }, { 21600, 21600 },
    2003                 :            :     { 0x09 MSO_I, 0x08 MSO_I },
    2004                 :            :     { 0x0B MSO_I, 0x0A MSO_I },
    2005                 :            :     { 0x18 MSO_I, 0x17 MSO_I },
    2006                 :            :     { 0x2F MSO_I, 0x2E MSO_I },
    2007                 :            :     { 0x1D MSO_I, 0x1C MSO_I }
    2008                 :            : };
    2009                 :            : static const sal_uInt16 mso_sptCircularArrowSegm[] =
    2010                 :            : {
    2011                 :            :     0xa404, 0xa504, 0x0003, 0x6001, 0x8000
    2012                 :            : };
    2013                 :            : static const SvxMSDffCalculationData mso_sptCircularArrowCalc[] =
    2014                 :            : {
    2015                 :            :     { 0x2000, { 0x0147, 0x0000, 0x0000 } },
    2016                 :            :     { 0x2000, { 0x0148, 0x0000, 0x0000 } },
    2017                 :            :     { 0x2000, { 0x0149, 0x0000, 0x0000 } },
    2018                 :            :     { 0x4000, { 0x2A30, 0x0149, 0x0000 } },
    2019                 :            :     { 0x4009, { 0x2A30, 0x0147, 0x0000 } },
    2020                 :            :     { 0x400A, { 0x2A30, 0x0147, 0x0000 } },
    2021                 :            :     { 0x4009, { 0x2A30, 0x0148, 0x0000 } },
    2022                 :            :     { 0x400A, { 0x2A30, 0x0148, 0x0000 } },
    2023                 :            :     { 0x2000, { 0x0404, 0x2A30, 0x0000 } },
    2024                 :            :     { 0x2000, { 0x0405, 0x2A30, 0x0000 } },
    2025                 :            :     { 0x2000, { 0x0406, 0x2A30, 0x0000 } },
    2026                 :            :     { 0x2000, { 0x0407, 0x2A30, 0x0000 } },
    2027                 :            :     { 0x6009, { 0x0403, 0x0147, 0x0000 } },
    2028                 :            :     { 0x600A, { 0x0403, 0x0147, 0x0000 } },
    2029                 :            :     { 0x6009, { 0x0403, 0x0148, 0x0000 } },
    2030                 :            :     { 0x600A, { 0x0403, 0x0148, 0x0000 } },
    2031                 :            :     { 0x2000, { 0x040C, 0x2A30, 0x0000 } },
    2032                 :            :     { 0x2000, { 0x040D, 0x2A30, 0x0000 } },
    2033                 :            :     { 0x2000, { 0x040E, 0x2A30, 0x0000 } },
    2034                 :            :     { 0x2000, { 0x040F, 0x2A30, 0x0000 } },
    2035                 :            :     { 0x8000, { 0x5460, 0x0000, 0x0403 } },
    2036                 :            :     { 0x4009, { 0x34BC, 0x0148, 0x0000 } },
    2037                 :            :     { 0x400A, { 0x34BC, 0x0148, 0x0000 } },
    2038                 :            :     { 0x2000, { 0x0415, 0x2A30, 0x0000 } },
    2039                 :            :     { 0x2000, { 0x0416, 0x2A30, 0x0000 } },
    2040                 :            :     { 0x2000, { 0x0149, 0x0000, 0x0A8C } },
    2041                 :            :     { 0x6009, { 0x0419, 0x0148, 0x0000 } },
    2042                 :            :     { 0x600A, { 0x0419, 0x0148, 0x0000 } },
    2043                 :            :     { 0x2000, { 0x041A, 0x2A30, 0x0000 } },
    2044                 :            :     { 0x2000, { 0x041B, 0x2A30, 0x0000 } },
    2045                 :            :     { 0xA000, { 0x041D, 0x0000, 0x0418 } },
    2046                 :            :     { 0xA000, { 0x041D, 0x0000, 0x0418 } },
    2047                 :            :     { 0x6001, { 0x041E, 0x041F, 0x0001 } },
    2048                 :            :     { 0xA000, { 0x041C, 0x0000, 0x0417 } },
    2049                 :            :     { 0xA000, { 0x041C, 0x0000, 0x0417 } },
    2050                 :            :     { 0x6001, { 0x0421, 0x0422, 0x0001 } },
    2051                 :            :     { 0x6000, { 0x0420, 0x0423, 0x0000 } },
    2052                 :            :     { 0x200D, { 0x0424, 0x0000, 0x0000 } },
    2053                 :            :     { 0x200E, { 0x0148, 0x002D, 0x0000 } },
    2054                 :            :     { 0x6009, { 0x0425, 0x0426, 0x0000 } },
    2055                 :            :     { 0x200E, { 0x0148, 0x002D, 0x0000 } },
    2056                 :            :     { 0x600A, { 0x0425, 0x0428, 0x0000 } },
    2057                 :            :     { 0x000E, { 0x0000, 0x002D, 0x0000 } },
    2058                 :            :     { 0x6009, { 0x0427, 0x042A, 0x0000 } },
    2059                 :            :     { 0x000E, { 0x0000, 0x002D, 0x0000 } },
    2060                 :            :     { 0x6009, { 0x0429, 0x042C, 0x0000 } },
    2061                 :            :     { 0x6000, { 0x041C, 0x042B, 0x0000 } },
    2062                 :            :     { 0x6000, { 0x041D, 0x042D, 0x0000 } }
    2063                 :            : };
    2064                 :            : static const sal_Int32 mso_sptCircularArrowDefault[] =
    2065                 :            : {
    2066                 :            :     3, 180, 0, 5500
    2067                 :            : };
    2068                 :            : static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] =    // todo
    2069                 :            : {
    2070                 :            :     { { 0, 0 }, { 21600, 21600 } }
    2071                 :            : };
    2072                 :            : static const SvxMSDffHandle mso_sptCircularArrowHandle[] =
    2073                 :            : {
    2074                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    2075                 :            :         10800, 0x100, 10800, 10800, 10800, 10800, -0x7f4c0000, 0x00b40000 },
    2076                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    2077                 :            :         0x102, 0x101, 10800, 10800, 0, 10800, -0x7f4c0000, 0x00b40000 }
    2078                 :            : };
    2079                 :            : static const mso_CustomShape msoCircularArrow =
    2080                 :            : {
    2081                 :            :     (SvxMSDffVertPair*)mso_sptCircularArrowVert, SAL_N_ELEMENTS( mso_sptCircularArrowVert ),
    2082                 :            :     (sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1,
    2083                 :            :     (SvxMSDffCalculationData*)mso_sptCircularArrowCalc, SAL_N_ELEMENTS( mso_sptCircularArrowCalc ),
    2084                 :            :     (sal_Int32*)mso_sptCircularArrowDefault,
    2085                 :            :     (SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, SAL_N_ELEMENTS( mso_sptCircularArrowTextRect ),
    2086                 :            :     21600, 21600,
    2087                 :            :     MIN_INT32, MIN_INT32,
    2088                 :            :     NULL, 0,
    2089                 :            :     (SvxMSDffHandle*)mso_sptCircularArrowHandle, SAL_N_ELEMENTS( mso_sptCircularArrowHandle )        // handles
    2090                 :            : };
    2091                 :            : 
    2092                 :            : static const SvxMSDffVertPair mso_sptCubeVert[] =
    2093                 :            : {
    2094                 :            :     { 0, 12 MSO_I }, { 0, 1 MSO_I }, { 2 MSO_I, 0 }, { 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I }, { 4 MSO_I, 12 MSO_I },
    2095                 :            :     { 0, 1 MSO_I }, { 2 MSO_I, 0 }, { 11 MSO_I, 0 }, { 4 MSO_I, 1 MSO_I },
    2096                 :            :     { 4 MSO_I, 12 MSO_I  }, { 4 MSO_I, 1 MSO_I },   { 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I }
    2097                 :            : };
    2098                 :            : static const sal_uInt16 mso_sptCubeSegm[] =
    2099                 :            : {
    2100                 :            :     0x4000, 0x0005, 0x6001, 0x8000,
    2101                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2102                 :            :     0x4000, 0x0003, 0x6001, 0x8000
    2103                 :            : };
    2104                 :            : static const SvxMSDffCalculationData mso_sptCubeCalc[] =
    2105                 :            : {
    2106                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2107                 :            :     { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
    2108                 :            :     { 0x6000, { DFF_Prop_geoLeft, 0x400, 0 } },
    2109                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
    2110                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
    2111                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },    // 5
    2112                 :            :     { 0x2001, { 0x405, 1, 2 } },                    // 6
    2113                 :            :     { 0x6000, { 0x402, 0x406, 0 } },                // 7
    2114                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },   // 8
    2115                 :            :     { 0x2001, { 0x408, 1, 2 } },                    // 9
    2116                 :            :     { 0x6000, { 0x401, 0x409, 0 } },                // 10
    2117                 :            :     { 0x2000, { DFF_Prop_geoRight, 0, 0 } },        // 11
    2118                 :            :     { 0x2000, { DFF_Prop_geoBottom, 0, 0 } }        // 12
    2119                 :            : };
    2120                 :            : static const SvxMSDffTextRectangles mso_sptCubeTextRect[] =
    2121                 :            : {
    2122                 :            :     { { 0, 1 MSO_I }, { 4 MSO_I, 12 MSO_I } }
    2123                 :            : };
    2124                 :            : static const SvxMSDffHandle mso_sptCubeHandle[] =
    2125                 :            : {
    2126                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    2127                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 }
    2128                 :            : };
    2129                 :            : static const SvxMSDffVertPair mso_sptCubeGluePoints[] =
    2130                 :            : {
    2131                 :            :     { 7 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I }, { 0, 10 MSO_I }, { 6 MSO_I, 21600 }, { 4 MSO_I, 10 MSO_I }, { 21600, 9 MSO_I }
    2132                 :            : };
    2133                 :            : static const mso_CustomShape msoCube =
    2134                 :            : {
    2135                 :            :     (SvxMSDffVertPair*)mso_sptCubeVert, SAL_N_ELEMENTS( mso_sptCubeVert ),
    2136                 :            :     (sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1,
    2137                 :            :     (SvxMSDffCalculationData*)mso_sptCubeCalc, SAL_N_ELEMENTS( mso_sptCubeCalc ),
    2138                 :            :     (sal_Int32*)mso_sptDefault5400,
    2139                 :            :     (SvxMSDffTextRectangles*)mso_sptCubeTextRect, SAL_N_ELEMENTS( mso_sptCubeTextRect ),
    2140                 :            :     21600, 21600,
    2141                 :            :     10800, 10800,
    2142                 :            :     (SvxMSDffVertPair*)mso_sptCubeGluePoints, SAL_N_ELEMENTS( mso_sptCubeGluePoints ),
    2143                 :            :     (SvxMSDffHandle*)mso_sptCubeHandle, SAL_N_ELEMENTS( mso_sptCubeHandle )
    2144                 :            : };
    2145                 :            : 
    2146                 :            : static const SvxMSDffVertPair mso_sptBevelVert[] =
    2147                 :            : {
    2148                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2149                 :            :     { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
    2150                 :            :     { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
    2151                 :            :     { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2152                 :            :     { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
    2153                 :            : };
    2154                 :            : static const sal_uInt16 mso_sptBevelSegm[] =
    2155                 :            : {
    2156                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2157                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2158                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2159                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2160                 :            :     0x4000, 0x0003, 0x6001, 0x8000
    2161                 :            : };
    2162                 :            : static const SvxMSDffCalculationData mso_sptBevelCalc[] =
    2163                 :            : {
    2164                 :            :     { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
    2165                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
    2166                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
    2167                 :            : };
    2168                 :            : 
    2169                 :            : static const SvxMSDffTextRectangles mso_sptBevelTextRect[] =
    2170                 :            : {
    2171                 :            :     { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
    2172                 :            : };
    2173                 :            : static const SvxMSDffHandle mso_sptBevelHandle[] =
    2174                 :            : {
    2175                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    2176                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    2177                 :            : };
    2178                 :            : static const mso_CustomShape msoBevel =
    2179                 :            : {
    2180                 :            :     (SvxMSDffVertPair*)mso_sptBevelVert, SAL_N_ELEMENTS( mso_sptBevelVert ),
    2181                 :            :     (sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1,
    2182                 :            :     (SvxMSDffCalculationData*)mso_sptBevelCalc, SAL_N_ELEMENTS( mso_sptBevelCalc ),
    2183                 :            :     (sal_Int32*)mso_sptDefault2700,
    2184                 :            :     (SvxMSDffTextRectangles*)mso_sptBevelTextRect, SAL_N_ELEMENTS( mso_sptBevelTextRect ),
    2185                 :            :     21600, 21600,
    2186                 :            :     10800, 10800,
    2187                 :            :     NULL, 0,
    2188                 :            :     (SvxMSDffHandle*)mso_sptBevelHandle, SAL_N_ELEMENTS( mso_sptBevelHandle )
    2189                 :            : };
    2190                 :            : 
    2191                 :            : static const SvxMSDffVertPair mso_sptFoldedCornerVert[] =   // adjustment1 : x 10800 - 21600
    2192                 :            : {
    2193                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 0 MSO_I, 21600 },
    2194                 :            :     { 0, 21600 }, { 0 MSO_I, 21600 }, { 3 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I },
    2195                 :            :     { 10 MSO_I, 11 MSO_I }, { 21600, 0 MSO_I }
    2196                 :            : };
    2197                 :            : static const sal_uInt16 mso_sptFoldedCornerSegm[] =
    2198                 :            : {
    2199                 :            :     0x4000, 0x0004, 0x6001, 0x8000,
    2200                 :            :     0x4000, 0x0001, 0x2001, 0x6001, 0x8000
    2201                 :            : };
    2202                 :            : static const SvxMSDffCalculationData mso_sptFoldedCornerCalc[] =
    2203                 :            : {
    2204                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2205                 :            :     { 0x8000, { 21600, 0, 0x400 } },
    2206                 :            :     { 0x2001, { 0x0401, 8000, 10800 } },
    2207                 :            :     { 0x8000, { 21600, 0, 0x0402 } },
    2208                 :            :     { 0x2001, { 0x0401, 1, 2 } },
    2209                 :            :     { 0x2001, { 0x0401, 1, 4 } },
    2210                 :            :     { 0x2001, { 0x0401, 1, 7 } },
    2211                 :            :     { 0x2001, { 0x0401, 1, 16 } },
    2212                 :            :     { 0x6000, { 0x0403, 0x405, 0 } },
    2213                 :            :     { 0x6000, { 0x0400, 0x406, 0 } },
    2214                 :            :     { 0x8000, { 21600, 0, 0x404 } },
    2215                 :            :     { 0x6000, { 0x400, 0x407, 0 } }
    2216                 :            : };
    2217                 :            : static const sal_Int32 mso_sptFoldedCornerDefault[] =
    2218                 :            : {
    2219                 :            :     1, 18900
    2220                 :            : };
    2221                 :            : static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] =
    2222                 :            : {
    2223                 :            :     { { 0, 0 }, { 21600, 11 MSO_I } }
    2224                 :            : };
    2225                 :            : static const SvxMSDffHandle mso_sptFoldedCornerHandle[] =
    2226                 :            : {
    2227                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    2228                 :            :         0x100, 1, 10800, 10800, 10800, 21600, MIN_INT32, 0x7fffffff }
    2229                 :            : };
    2230                 :            : static const mso_CustomShape msoFoldedCorner =
    2231                 :            : {
    2232                 :            :     (SvxMSDffVertPair*)mso_sptFoldedCornerVert, SAL_N_ELEMENTS( mso_sptFoldedCornerVert ),
    2233                 :            :     (sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1,
    2234                 :            :     (SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, SAL_N_ELEMENTS( mso_sptFoldedCornerCalc ),
    2235                 :            :     (sal_Int32*)mso_sptFoldedCornerDefault,
    2236                 :            :     (SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, SAL_N_ELEMENTS( mso_sptFoldedCornerTextRect ),
    2237                 :            :     21600, 21600,
    2238                 :            :     MIN_INT32, MIN_INT32,
    2239                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    2240                 :            :     (SvxMSDffHandle*)mso_sptFoldedCornerHandle, SAL_N_ELEMENTS( mso_sptFoldedCornerHandle )
    2241                 :            : };
    2242                 :            : 
    2243                 :            : static const SvxMSDffVertPair mso_sptActionButtonBlankVert[] =
    2244                 :            : {
    2245                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2246                 :            :     { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
    2247                 :            :     { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
    2248                 :            :     { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2249                 :            :     { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
    2250                 :            : };
    2251                 :            : static const sal_uInt16 mso_sptActionButtonBlankSegm[] =
    2252                 :            : {
    2253                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2254                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2255                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2256                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2257                 :            :     0x4000, 0x0003, 0x6001, 0x8000
    2258                 :            : };
    2259                 :            : static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc[] =
    2260                 :            : {
    2261                 :            :     { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
    2262                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
    2263                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
    2264                 :            : };
    2265                 :            : static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] =
    2266                 :            : {
    2267                 :            :     { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
    2268                 :            : };
    2269                 :            : static const SvxMSDffHandle mso_sptButtonHandle[] =
    2270                 :            : {
    2271                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    2272                 :            :         0x100, 0, 10800, 10800, 0, 5400, MIN_INT32, 0x7fffffff }
    2273                 :            : };
    2274                 :            : static const mso_CustomShape msoActionButtonBlank =
    2275                 :            : {
    2276                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonBlankVert, SAL_N_ELEMENTS( mso_sptActionButtonBlankVert ),
    2277                 :            :     (sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1,
    2278                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, SAL_N_ELEMENTS( mso_sptActionButtonBlankCalc ),
    2279                 :            :     (sal_Int32*)mso_sptDefault1400,
    2280                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, SAL_N_ELEMENTS( mso_sptActionButtonBlankTextRect ),
    2281                 :            :     21600, 21600,
    2282                 :            :     10800, 10800,
    2283                 :            :     NULL, 0,
    2284                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2285                 :            : };
    2286                 :            : 
    2287                 :            : static const SvxMSDffTextRectangles mso_sptActionButtonTextRect[] =
    2288                 :            : {
    2289                 :            :     { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
    2290                 :            : };
    2291                 :            : static const SvxMSDffVertPair mso_sptActionButtonHomeVert[] =
    2292                 :            : {
    2293                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2294                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2295                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2296                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2297                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2298                 :            : 
    2299                 :            :     { 7 MSO_I, 0xa MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },
    2300                 :            :     { 0x12 MSO_I, 0x14 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
    2301                 :            :     { 0x1c MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1e MSO_I, 8 MSO_I },
    2302                 :            : 
    2303                 :            :     { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },{ 0x12 MSO_I, 0x14 MSO_I },
    2304                 :            : 
    2305                 :            :     { 0x20 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
    2306                 :            :     { 0x18 MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x20 MSO_I, 0x1a MSO_I }
    2307                 :            : 
    2308                 :            : };
    2309                 :            : static const sal_uInt16 mso_sptActionButtonHomeSegm[] =
    2310                 :            : {
    2311                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2312                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2313                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2314                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2315                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2316                 :            :     0x4000, 0x000a, 0x6001, 0x8000,
    2317                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2318                 :            :     0x4000, 0x0007, 0x6001, 0x8000
    2319                 :            : };
    2320                 :            : static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc[] =    // adj value 0 - 5400
    2321                 :            : {
    2322                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2323                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2324                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2325                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2326                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2327                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2328                 :            :     { 0x2001, { 0x0405, 1, 10800 } },                           // scaling   6
    2329                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2330                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2331                 :            : 
    2332                 :            :     { 0x4001, { -8000, 0x0406, 1 } },   // 9
    2333                 :            :     { 0x6000, { 0x0409, 0x0408, 0 } },  // a
    2334                 :            :     { 0x4001, { 2960, 0x0406, 1 } },    // b
    2335                 :            :     { 0x6000, { 0x040b, 0x0407, 0 } },  // c
    2336                 :            :     { 0x4001, { -5000, 0x0406, 1 } },   // d
    2337                 :            :     { 0x6000, { 0x040d, 0x0408, 0 } },  // e
    2338                 :            :     { 0x4001, { -7000, 0x0406, 1 } },   // f
    2339                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } },  // 10
    2340                 :            :     { 0x4001, { 5000, 0x0406, 1 } },    // 11
    2341                 :            :     { 0x6000, { 0x0411, 0x0407, 0 } },  // 12
    2342                 :            :     { 0x4001, { -2960, 0x0406, 1 } },   // 13
    2343                 :            :     { 0x6000, { 0x0413, 0x0408, 0 } },  // 14
    2344                 :            :     { 0x4001, { 8000, 0x0406, 1 } },    // 15
    2345                 :            :     { 0x6000, { 0x0415,0x0407, 0 } },   // 16
    2346                 :            :     { 0x4001, { 6100, 0x0406, 1 } },    // 17
    2347                 :            :     { 0x6000, { 0x0417,0x0407, 0 } },   // 18
    2348                 :            :     { 0x4001, { 8260, 0x0406, 1 } },    // 19
    2349                 :            :     { 0x6000, { 0x0419, 0x0408, 0 } },  // 1a
    2350                 :            :     { 0x4001, { -6100, 0x0406, 1 } },   // 1b
    2351                 :            :     { 0x6000, { 0x041b, 0x0407, 0 } },  // 1c
    2352                 :            :     { 0x4001, { -8000, 0x0406, 1 } },   // 1d
    2353                 :            :     { 0x6000, { 0x041d, 0x0407, 0 } },  // 1e
    2354                 :            :     { 0x4001, { -1060, 0x0406, 1 } },   // 1f
    2355                 :            :     { 0x6000, { 0x041f, 0x0407, 0 } },  // 20
    2356                 :            :     { 0x4001, { 1060, 0x0406, 1 } },    // 21
    2357                 :            :     { 0x6000, { 0x0421, 0x0407, 0 } },  // 22
    2358                 :            :     { 0x4001, { 4020, 0x0406, 1 } },    // 23
    2359                 :            :     { 0x6000, { 0x0423, 0x0408, 0 } }   // 24
    2360                 :            : 
    2361                 :            : };
    2362                 :            : static const mso_CustomShape msoActionButtonHome =
    2363                 :            : {
    2364                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonHomeVert, SAL_N_ELEMENTS( mso_sptActionButtonHomeVert ),
    2365                 :            :     (sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1,
    2366                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, SAL_N_ELEMENTS( mso_sptActionButtonHomeCalc ),
    2367                 :            :     (sal_Int32*)mso_sptDefault1400,
    2368                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2369                 :            :     21600, 21600,
    2370                 :            :     10800, 10800,
    2371                 :            :     NULL, 0,
    2372                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2373                 :            : };
    2374                 :            : 
    2375                 :            : static const SvxMSDffVertPair mso_sptActionButtonHelpVert[] =
    2376                 :            : {
    2377                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2378                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2379                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2380                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2381                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I,4 MSO_I },
    2382                 :            :     { 7 MSO_I, 0xc MSO_I }, { 0xa MSO_I, 0x3e MSO_I }, { 7 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x3e MSO_I }, { 7 MSO_I, 0xc MSO_I },
    2383                 :            :     { 0x12 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x16 MSO_I },                             // pp
    2384                 :            :     { 0x12 MSO_I, 0x18 MSO_I }, { 0x1a MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I },       // ccp
    2385                 :            :     { 0x1e MSO_I, 8 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I },    // ccp
    2386                 :            :     { 0x20 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },    // ccp
    2387                 :            :     { 0x2c MSO_I, 0x2a MSO_I }, { 0x2e MSO_I, 0x26 MSO_I }, { 0x2e MSO_I, 0x24 MSO_I }, // ccp
    2388                 :            :     { 0x30 MSO_I, 0x24 MSO_I }, { 0x30 MSO_I, 0x32 MSO_I }, { 0x34 MSO_I, 0x36 MSO_I }, // ccp
    2389                 :            :     { 7 MSO_I, 0x36 MSO_I },                                                            // p
    2390                 :            :     { 0x12 MSO_I, 0x36 MSO_I }, { 0x1c MSO_I, 0x32 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I }, // ccp
    2391                 :            :     { 0x1c MSO_I, 0x38 MSO_I }, { 0x3a MSO_I, 0x3c MSO_I }, { 0x12 MSO_I, 0x3c MSO_I }, // ccp
    2392                 :            :     { 7 MSO_I, 0x3c MSO_I }, { 0x34 MSO_I, 8 MSO_I }, { 0x34 MSO_I, 0x16 MSO_I },       // ccp
    2393                 :            :     { 0x34 MSO_I, 0x14 MSO_I }
    2394                 :            : };
    2395                 :            : static const sal_uInt16 mso_sptActionButtonHelpSegm[] =
    2396                 :            : {
    2397                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2398                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2399                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2400                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2401                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2402                 :            :     0x4000, 0xa704, 0x6000, 0x8000,
    2403                 :            :     0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000
    2404                 :            : };
    2405                 :            : static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc[] =    // adj value 0 - 5400
    2406                 :            : {
    2407                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2408                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2409                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2410                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2411                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2412                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2413                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2414                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2415                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2416                 :            : 
    2417                 :            :     { 0x4001, { -1690, 0x0406, 1 } },   // 9
    2418                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2419                 :            :     { 0x4001, { 4600, 0x0406, 1 } },    // b
    2420                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2421                 :            :     { 0x4001, { 1690, 0x0406, 1 } },    // d
    2422                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2423                 :            :     { 0x4001, { 7980, 0x0406, 1 } },    // f
    2424                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } },  // 10
    2425                 :            :     { 0x4001, { 1270, 0x0406, 1 } },    // 11
    2426                 :            :     { 0x6000, { 0x0411, 0x0407, 0 } },  // 12
    2427                 :            :     { 0x4001, { 4000, 0x0406, 1 } },    // 13
    2428                 :            :     { 0x6000, { 0x0413, 0x0408, 0 } },  // 14
    2429                 :            :     { 0x4001, { 1750, 0x0406, 1 } },    // 15
    2430                 :            :     { 0x6000, { 0x0415, 0x0408, 0 } },  // 16
    2431                 :            :     { 0x4001, { 800, 0x0406, 1 } },     // 17
    2432                 :            :     { 0x6000, { 0x0417, 0x0408, 0 } },  // 18
    2433                 :            :     { 0x4001, { 1650, 0x0406, 1 } },    // 19
    2434                 :            :     { 0x6000, { 0x0419, 0x0407, 0 } },  // 1a
    2435                 :            :     { 0x4001, { 2340, 0x0406, 1 } },    // 1b
    2436                 :            :     { 0x6000, { 0x041b, 0x0407, 0 } },  // 1c
    2437                 :            :     { 0x4001, { 3640, 0x0406, 1 } },    // 1d
    2438                 :            :     { 0x6000, { 0x041d, 0x0407, 0 } },  // 1e
    2439                 :            :     { 0x4001, { 4670, 0x0406, 1 } },    // 1f
    2440                 :            :     { 0x6000, { 0x041f, 0x0407, 0 } },  // 20
    2441                 :            :     { 0x4001, { -1570, 0x0406, 1 } },   // 21
    2442                 :            :     { 0x6000, { 0x0421, 0x0408, 0 } },  // 22
    2443                 :            :     { 0x4001, { -3390, 0x0406, 1 } },   // 23
    2444                 :            :     { 0x6000, { 0x0423, 0x0408, 0 } },  // 24
    2445                 :            :     { 0x4001, { -6050, 0x0406, 1 } },   // 25
    2446                 :            :     { 0x6000, { 0x0425, 0x0408, 0 } },  // 26
    2447                 :            :     { 0x4001, { 2540, 0x0406, 1 } },    // 27
    2448                 :            :     { 0x6000, { 0x0427, 0x0407, 0 } },  // 28
    2449                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 29
    2450                 :            :     { 0x6000, { 0x0429, 0x0408, 0 } },  // 2a
    2451                 :            :     { 0x4001, { -2540, 0x0406, 1 } },   // 2b
    2452                 :            :     { 0x6000, { 0x042b, 0x0407, 0 } },  // 2c
    2453                 :            :     { 0x4001, { -4460, 0x0406, 1 } },   // 2d
    2454                 :            :     { 0x6000, { 0x042d, 0x0407, 0 } },  // 2e
    2455                 :            :     { 0x4001, { -2330, 0x0406, 1 } },   // 2f
    2456                 :            :     { 0x6000, { 0x042f, 0x0407, 0 } },  // 30
    2457                 :            :     { 0x4001, { -4700, 0x0406, 1 } },   // 31
    2458                 :            :     { 0x6000, { 0x0431, 0x0408, 0 } },  // 32
    2459                 :            :     { 0x4001, { -1270, 0x0406, 1 } },   // 33
    2460                 :            :     { 0x6000, { 0x0433, 0x0407, 0 } },  // 34
    2461                 :            :     { 0x4001, { -5720, 0x0406, 1 } },   // 35
    2462                 :            :     { 0x6000, { 0x0435, 0x0408, 0 } },  // 36
    2463                 :            :     { 0x4001, { -2540, 0x0406, 1 } },   // 37
    2464                 :            :     { 0x6000, { 0x0437, 0x0408, 0 } },  // 38
    2465                 :            :     { 0x4001, { 1800, 0x0406, 1 } },    // 39
    2466                 :            :     { 0x6000, { 0x0439, 0x0407, 0 } },  // 3a
    2467                 :            :     { 0x4001, { -1700, 0x0406, 1 } },   // 3b
    2468                 :            :     { 0x6000, { 0x043b, 0x0408, 0 } },  // 3c
    2469                 :            :     { 0x4001, { 6290, 0x0406, 1 } },    // 3d
    2470                 :            :     { 0x6000, { 0x043d, 0x0408, 0 } }   // 3e
    2471                 :            : };
    2472                 :            : static const mso_CustomShape msoActionButtonHelp =
    2473                 :            : {
    2474                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonHelpVert, SAL_N_ELEMENTS( mso_sptActionButtonHelpVert ),
    2475                 :            :     (sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1,
    2476                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, SAL_N_ELEMENTS( mso_sptActionButtonHelpCalc ),
    2477                 :            :     (sal_Int32*)mso_sptDefault1400,
    2478                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2479                 :            :     21600, 21600,
    2480                 :            :     10800, 10800,
    2481                 :            :     NULL, 0,
    2482                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2483                 :            : };
    2484                 :            : 
    2485                 :            : static const SvxMSDffVertPair mso_sptActionButtonInformationVert[] =
    2486                 :            : {
    2487                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2488                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2489                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2490                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2491                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2492                 :            :     { 0x7 MSO_I, 0xc MSO_I }, { 0xa MSO_I, 0x8 MSO_I }, { 0x7 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0x7 MSO_I, 0xc MSO_I },
    2493                 :            :     { 0x7 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x2a MSO_I }, { 0x7 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x2a MSO_I }, { 0x7 MSO_I, 0x14 MSO_I },
    2494                 :            :     { 0x1a MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x20 MSO_I },
    2495                 :            :     { 0x22 MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x20 MSO_I },
    2496                 :            :     { 0x26 MSO_I, 0x28 MSO_I }, { 0x1a MSO_I, 0x28 MSO_I }
    2497                 :            : };
    2498                 :            : static const sal_uInt16 mso_sptActionButtonInformationSegm[] =
    2499                 :            : {
    2500                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2501                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2502                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2503                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2504                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2505                 :            :     0x4000, 0xa704, 0x6000, 0x8000,
    2506                 :            :     0x4000, 0xa704, 0x6000, 0x8000,
    2507                 :            :     0x4000, 0x0009, 0x6001, 0x8000
    2508                 :            : };
    2509                 :            : static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc[] = // adj value 0 - 5400
    2510                 :            : {
    2511                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2512                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2513                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2514                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2515                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2516                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2517                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2518                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2519                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2520                 :            : 
    2521                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 9
    2522                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2523                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // b
    2524                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2525                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // d
    2526                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2527                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // f
    2528                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } },  // 10
    2529                 :            : 
    2530                 :            :     { 0x4001, { -2060, 0x0406, 1 } },   // 11
    2531                 :            :     { 0x6000, { 0x0411, 0x0407, 0 } },  // 12
    2532                 :            :     { 0x4001, { -7620, 0x0406, 1 } },   // 13
    2533                 :            :     { 0x6000, { 0x0413, 0x0408, 0 } },  // 14
    2534                 :            :     { 0x4001, { 2060, 0x0406, 1 } },    // 15
    2535                 :            :     { 0x6000, { 0x0415, 0x0407, 0 } },  // 16
    2536                 :            :     { 0x4001, { -3500, 0x0406, 1 } },   // 17
    2537                 :            :     { 0x6000, { 0x0417, 0x0408, 0 } },  // 18
    2538                 :            : 
    2539                 :            :     { 0x4001, { -2960, 0x0406, 1 } },   // 19
    2540                 :            :     { 0x6000, { 0x0419, 0x0407, 0 } },  // 1a
    2541                 :            :     { 0x4001, { -2960, 0x0406, 1 } },   // 1b
    2542                 :            :     { 0x6000, { 0x041b, 0x0408, 0 } },  // 1c
    2543                 :            :     { 0x4001, { 1480, 0x0406, 1 } },    // 1d
    2544                 :            :     { 0x6000, { 0x041d, 0x0407, 0 } },  // 1e
    2545                 :            :     { 0x4001, { 5080, 0x0406, 1 } },    // 1f
    2546                 :            :     { 0x6000, { 0x041f, 0x0408, 0 } },  // 20
    2547                 :            :     { 0x4001, { 2960, 0x0406, 1 } },    // 21
    2548                 :            :     { 0x6000, { 0x0421, 0x0407, 0 } },  // 22
    2549                 :            :     { 0x4001, { 6140, 0x0406, 1 } },    // 23
    2550                 :            :     { 0x6000, { 0x0423, 0x0408, 0 } },  // 24
    2551                 :            :     { 0x4001, { -1480, 0x0406, 1 } },   // 25
    2552                 :            :     { 0x6000, { 0x0425, 0x0407, 0 } },  // 26
    2553                 :            :     { 0x4001, { -1920, 0x0406, 1 } },   // 27
    2554                 :            :     { 0x6000, { 0x0427, 0x0408, 0 } },  // 28
    2555                 :            : 
    2556                 :            :     { 0x4001, { -5560, 0x0406, 1 } },   // 29
    2557                 :            :     { 0x6000, { 0x0429, 0x0408, 0 } },  // 2a
    2558                 :            : 
    2559                 :            : };
    2560                 :            : static const mso_CustomShape msoActionButtonInformation =
    2561                 :            : {
    2562                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonInformationVert, SAL_N_ELEMENTS( mso_sptActionButtonInformationVert ),
    2563                 :            :     (sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1,
    2564                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, SAL_N_ELEMENTS( mso_sptActionButtonInformationCalc ),
    2565                 :            :     (sal_Int32*)mso_sptDefault1400,
    2566                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2567                 :            :     21600, 21600,
    2568                 :            :     10800, 10800,
    2569                 :            :     NULL, 0,
    2570                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2571                 :            : };
    2572                 :            : 
    2573                 :            : static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert[] =
    2574                 :            : {
    2575                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2576                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2577                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2578                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I,4 MSO_I },
    2579                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2580                 :            : 
    2581                 :            :     { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }
    2582                 :            : };
    2583                 :            : static const sal_uInt16 mso_sptActionButtonForwardBackSegm[] =
    2584                 :            : {
    2585                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2586                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2587                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2588                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2589                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2590                 :            :     0x4000, 0x0002, 0x6001, 0x8000
    2591                 :            : };
    2592                 :            : static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc[] = // adj value 0 - 5400
    2593                 :            : {
    2594                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2595                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2596                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2597                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2598                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2599                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2600                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2601                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2602                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2603                 :            : 
    2604                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 9
    2605                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2606                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // b
    2607                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2608                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // d
    2609                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2610                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // f
    2611                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } }   // 10
    2612                 :            : };
    2613                 :            : static const mso_CustomShape msoActionButtonBackPrevious =
    2614                 :            : {
    2615                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonBackPreviousVert, SAL_N_ELEMENTS( mso_sptActionButtonBackPreviousVert ),
    2616                 :            :     (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
    2617                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, SAL_N_ELEMENTS( mso_sptActionButtonForwardBackCalc ),
    2618                 :            :     (sal_Int32*)mso_sptDefault1400,
    2619                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2620                 :            :     21600, 21600,
    2621                 :            :     10800, 10800,
    2622                 :            :     NULL, 0,
    2623                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2624                 :            : };
    2625                 :            : 
    2626                 :            : static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert[] =
    2627                 :            : {
    2628                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2629                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2630                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2631                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2632                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2633                 :            : 
    2634                 :            :     { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0xa MSO_I, 0x10 MSO_I }
    2635                 :            : };
    2636                 :            : static const mso_CustomShape msoActionButtonForwardNext =
    2637                 :            : {
    2638                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonForwardNextVert, SAL_N_ELEMENTS( mso_sptActionButtonForwardNextVert ),
    2639                 :            :     (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
    2640                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, SAL_N_ELEMENTS( mso_sptActionButtonForwardBackCalc ),
    2641                 :            :     (sal_Int32*)mso_sptDefault1400,
    2642                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2643                 :            :     21600, 21600,
    2644                 :            :     10800, 10800,
    2645                 :            :     NULL, 0,
    2646                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2647                 :            : };
    2648                 :            : 
    2649                 :            : static const SvxMSDffVertPair mso_sptActionButtonBeginningVert[] =
    2650                 :            : {
    2651                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2652                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2653                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2654                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2655                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2656                 :            : 
    2657                 :            :     { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
    2658                 :            :     { 0x14 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }
    2659                 :            : };
    2660                 :            : static const sal_uInt16 mso_sptActionButtonBeginningEndSegm[] =
    2661                 :            : {
    2662                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2663                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2664                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2665                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2666                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2667                 :            : 
    2668                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    2669                 :            :     0x4000, 0x0003, 0x6001, 0x8000
    2670                 :            : };
    2671                 :            : static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc[] =    // adj value 0 - 5400
    2672                 :            : {
    2673                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2674                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2675                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2676                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2677                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2678                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2679                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2680                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2681                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2682                 :            : 
    2683                 :            :     { 0x4001, { -4020, 0x0406, 1 } },   // 9
    2684                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2685                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // b
    2686                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2687                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // d
    2688                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2689                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // f
    2690                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } },  // 10
    2691                 :            : 
    2692                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 11
    2693                 :            :     { 0x6000, { 0x0411, 0x0407, 0 } },  // 12
    2694                 :            :     { 0x4001, { -6140, 0x0406, 1 } },   // 13
    2695                 :            :     { 0x6000, { 0x0413, 0x0407, 0 } },  // 14
    2696                 :            : 
    2697                 :            : 
    2698                 :            :     { 0x4001, { 4020, 0x0406, 1 } },    // 15
    2699                 :            :     { 0x6000, { 0x0415, 0x0407, 0 } },  // 16
    2700                 :            :     { 0x4001, { 6140, 0x0406, 1 } },    // 17
    2701                 :            :     { 0x6000, { 0x0417, 0x0407, 0 } }   // 18
    2702                 :            : };
    2703                 :            : static const mso_CustomShape msoActionButtonBeginning =
    2704                 :            : {
    2705                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonBeginningVert, SAL_N_ELEMENTS( mso_sptActionButtonBeginningVert ),
    2706                 :            :     (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
    2707                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, SAL_N_ELEMENTS( mso_sptActionButtonBeginningEndCalc ),
    2708                 :            :     (sal_Int32*)mso_sptDefault1400,
    2709                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2710                 :            :     21600, 21600,
    2711                 :            :     10800, 10800,
    2712                 :            :     NULL, 0,
    2713                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2714                 :            : };
    2715                 :            : 
    2716                 :            : static const SvxMSDffVertPair mso_sptActionButtonEndVert[] =
    2717                 :            : {
    2718                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2719                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2720                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2721                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2722                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2723                 :            : 
    2724                 :            :     { 0x16 MSO_I, 8 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
    2725                 :            : 
    2726                 :            :     { 0x18 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0xc MSO_I }
    2727                 :            : };
    2728                 :            : static const mso_CustomShape msoActionButtonEnd =
    2729                 :            : {
    2730                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonEndVert, SAL_N_ELEMENTS( mso_sptActionButtonEndVert ),
    2731                 :            :     (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
    2732                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, SAL_N_ELEMENTS( mso_sptActionButtonBeginningEndCalc ),
    2733                 :            :     (sal_Int32*)mso_sptDefault1400,
    2734                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2735                 :            :     21600, 21600,
    2736                 :            :     10800, 10800,
    2737                 :            :     NULL, 0,
    2738                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2739                 :            : };
    2740                 :            : 
    2741                 :            : static const SvxMSDffVertPair mso_sptActionButtonReturnVert[] =
    2742                 :            : {
    2743                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2744                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2745                 :            :     { 21600, 0 }, { 21600,  21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2746                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2747                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2748                 :            : 
    2749                 :            :     { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I },                          // ppp
    2750                 :            :     { 0xe MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 0x16 MSO_I },                      // ccp
    2751                 :            :     { 7 MSO_I, 0x16 MSO_I },                                                                                // p
    2752                 :            :     { 0x1a MSO_I, 0x16 MSO_I }, { 0x1c MSO_I, 0x12 MSO_I }, { 0x1c MSO_I, 0x10 MSO_I },                     // ccp
    2753                 :            :     { 0x1c MSO_I, 0xc MSO_I }, { 7 MSO_I, 0xc MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0xc MSO_I },// pppp
    2754                 :            :     { 0x24 MSO_I, 0xc MSO_I }, { 0x24 MSO_I, 0x10 MSO_I },                                                  // pp
    2755                 :            :     { 0x24 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },                        // ccp
    2756                 :            :     { 0x18 MSO_I, 0x2a MSO_I },                                                                             // p
    2757                 :            :     { 0x2c MSO_I, 0x2a MSO_I }, { 0xa MSO_I, 0x26 MSO_I }, { 0xa MSO_I, 0x10 MSO_I }                        // ccp
    2758                 :            : };
    2759                 :            : static const sal_uInt16 mso_sptActionButtonReturnSegm[] =
    2760                 :            : {
    2761                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2762                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2763                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2764                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2765                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2766                 :            :     0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000
    2767                 :            : };
    2768                 :            : static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc[] =  // adj value 0 - 5400
    2769                 :            : {
    2770                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2771                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2772                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2773                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2774                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2775                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2776                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2777                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2778                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2779                 :            : 
    2780                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 9
    2781                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2782                 :            :     { 0x4001, { -3800, 0x0406, 1 } },   // b
    2783                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2784                 :            :     { 0x4001, { -4020, 0x0406, 1 } },   // d
    2785                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2786                 :            :     { 0x4001, { 2330, 0x0406, 1 } },    // f
    2787                 :            :     { 0x6000, { 0x040f, 0x0408, 0 } },  // 10
    2788                 :            :     { 0x4001, { 3390, 0x0406, 1 } },    // 11
    2789                 :            :     { 0x6000, { 0x0411, 0x0408, 0 } },  // 12
    2790                 :            :     { 0x4001, { -3100, 0x0406, 1 } },   // 13
    2791                 :            :     { 0x6000, { 0x0413, 0x0407, 0 } },  // 14
    2792                 :            :     { 0x4001, { 4230, 0x0406, 1 } },    // 15
    2793                 :            :     { 0x6000, { 0x0415, 0x0408, 0 } },  // 16
    2794                 :            :     { 0x4001, { -1910, 0x0406, 1 } },   // 17
    2795                 :            :     { 0x6000, { 0x0417, 0x0407, 0 } },  // 18
    2796                 :            :     { 0x4001, { 1190, 0x0406, 1 } },    // 19
    2797                 :            :     { 0x6000, { 0x0419, 0x0407, 0 } },  // 1a
    2798                 :            :     { 0x4001, { 2110, 0x0406, 1 } },    // 1b
    2799                 :            :     { 0x6000, { 0x041b, 0x0407, 0 } },  // 1c
    2800                 :            :     { 0x4001, { 4030, 0x0406, 1 } },    // 1d
    2801                 :            :     { 0x6000, { 0x041d, 0x0407, 0 } },  // 1e
    2802                 :            :     { 0x4001, { -7830, 0x0406, 1 } },   // 1f
    2803                 :            :     { 0x6000, { 0x041f, 0x0408, 0 } },  // 20
    2804                 :            :     { 0x4001, { 8250, 0x0406, 1 } },    // 21
    2805                 :            :     { 0x6000, { 0x0421, 0x0407, 0 } },  // 22
    2806                 :            :     { 0x4001, { 6140, 0x0406, 1 } },    // 23
    2807                 :            :     { 0x6000, { 0x0423, 0x0407, 0 } },  // 24
    2808                 :            :     { 0x4001, { 5510, 0x0406, 1 } },    // 25
    2809                 :            :     { 0x6000, { 0x0425, 0x0408, 0 } },  // 26
    2810                 :            :     { 0x4001, { 3180, 0x0406, 1 } },    // 27
    2811                 :            :     { 0x6000, { 0x0427, 0x0407, 0 } },  // 28
    2812                 :            :     { 0x4001, { 8450, 0x0406, 1 } },    // 29
    2813                 :            :     { 0x6000, { 0x0429, 0x0408, 0 } },  // 2a
    2814                 :            :     { 0x4001, { -5090, 0x0406, 1 } },   // 2b
    2815                 :            :     { 0x6000, { 0x042b, 0x0407, 0 } }   // 2c
    2816                 :            : };
    2817                 :            : static const mso_CustomShape msoActionButtonReturn =
    2818                 :            : {
    2819                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonReturnVert, SAL_N_ELEMENTS( mso_sptActionButtonReturnVert ),
    2820                 :            :     (sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1,
    2821                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, SAL_N_ELEMENTS( mso_sptActionButtonReturnCalc ),
    2822                 :            :     (sal_Int32*)mso_sptDefault1400,
    2823                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2824                 :            :     21600, 21600,
    2825                 :            :     10800, 10800,
    2826                 :            :     NULL, 0,
    2827                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2828                 :            : };
    2829                 :            : 
    2830                 :            : static const SvxMSDffVertPair mso_sptActionButtonDocumentVert[] =
    2831                 :            : {
    2832                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2833                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2834                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2835                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2836                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2837                 :            : 
    2838                 :            :     { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
    2839                 :            :     { 0xa MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0xe MSO_I, 0x12 MSO_I }
    2840                 :            : };
    2841                 :            : static const sal_uInt16 mso_sptActionButtonDocumentSegm[] =
    2842                 :            : {
    2843                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2844                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2845                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2846                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2847                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2848                 :            : 
    2849                 :            :     0x4000, 0x0004, 0x6001, 0x8000,
    2850                 :            :     0x4000, 0x0002, 0x6001, 0x8000
    2851                 :            : };
    2852                 :            : static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc[] =    // adj value 0 - 5400
    2853                 :            : {
    2854                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2855                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2856                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2857                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2858                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2859                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2860                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2861                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2862                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2863                 :            : 
    2864                 :            :     { 0x4001, { -6350, 0x0406, 1 } },   // 9
    2865                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2866                 :            :     { 0x4001, { -7830, 0x0406, 1 } },   // b
    2867                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2868                 :            :     { 0x4001, { 1690, 0x0406, 1 } },    // d
    2869                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2870                 :            :     { 0x4001, { 6350, 0x0406, 1 } },    // f
    2871                 :            :     { 0x6000, { 0x040f, 0x0407, 0 } },  // 10
    2872                 :            :     { 0x4001, { -3810, 0x0406, 1 } },   // 11
    2873                 :            :     { 0x6000, { 0x0411, 0x0408, 0 } },  // 12
    2874                 :            :     { 0x4001, { 7830, 0x0406, 1 } },    // 13
    2875                 :            :     { 0x6000, { 0x0413, 0x0408, 0 } }   // 14
    2876                 :            : };
    2877                 :            : static const mso_CustomShape msoActionButtonDocument =
    2878                 :            : {
    2879                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonDocumentVert, SAL_N_ELEMENTS( mso_sptActionButtonDocumentVert ),
    2880                 :            :     (sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1,
    2881                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, SAL_N_ELEMENTS( mso_sptActionButtonDocumentCalc ),
    2882                 :            :     (sal_Int32*)mso_sptDefault1400,
    2883                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2884                 :            :     21600, 21600,
    2885                 :            :     10800, 10800,
    2886                 :            :     NULL, 0,
    2887                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2888                 :            : };
    2889                 :            : 
    2890                 :            : static const SvxMSDffVertPair mso_sptActionButtonSoundVert[] =
    2891                 :            : {
    2892                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2893                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2894                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2895                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2896                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2897                 :            : 
    2898                 :            :     { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
    2899                 :            :     { 0xe MSO_I, 0x16 MSO_I }, { 0xa MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1a MSO_I, 8 MSO_I },
    2900                 :            : 
    2901                 :            :     { 0x18 MSO_I, 0xc MSO_I }, { 0x1a MSO_I, 0x1c MSO_I },
    2902                 :            : 
    2903                 :            :     { 0x18 MSO_I, 0x16 MSO_I }, { 0x1a MSO_I, 0x1e MSO_I }
    2904                 :            : };
    2905                 :            : static const sal_uInt16 mso_sptActionButtonSoundSegm[] =
    2906                 :            : {
    2907                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2908                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2909                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2910                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2911                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2912                 :            : 
    2913                 :            :     0x4000, 0x0005, 0x6001, 0x8000,
    2914                 :            :     0x4000, 0x0001, 0x8000,
    2915                 :            :     0x4000, 0x0001, 0x8000,
    2916                 :            :     0x4000, 0x0001, 0x8000
    2917                 :            : };
    2918                 :            : static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc[] =   // adj value 0 - 5400
    2919                 :            : {
    2920                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2921                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2922                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2923                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2924                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2925                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2926                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2927                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2928                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    2929                 :            : 
    2930                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 9
    2931                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    2932                 :            :     { 0x4001, { -2750, 0x0406, 1 } },   // b
    2933                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    2934                 :            :     { 0x4001, { -2960, 0x0406, 1 } },   // d
    2935                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    2936                 :            :     { 0x4001, { 2120, 0x0406, 1 } },    // f
    2937                 :            :     { 0x6000, { 0x040f, 0x0407, 0 } },  // 10
    2938                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 11
    2939                 :            :     { 0x6000, { 0x0411, 0x0408, 0 } },  // 12
    2940                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // 13
    2941                 :            :     { 0x6000, { 0x0413, 0x0408, 0 } },  // 14
    2942                 :            :     { 0x4001, { 2750, 0x0406, 1 } },    // 15
    2943                 :            :     { 0x6000, { 0x0415, 0x0408, 0 } },  // 16
    2944                 :            :     { 0x4001, { 4020, 0x0406, 1 } },    // 17
    2945                 :            :     { 0x6000, { 0x0417, 0x0407, 0 } },  // 18
    2946                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // 19
    2947                 :            :     { 0x6000, { 0x0419, 0x0407, 0 } },  // 1a
    2948                 :            :     { 0x4001, { -5930, 0x0406, 1 } },   // 1b
    2949                 :            :     { 0x6000, { 0x041b, 0x0408, 0 } },  // 1c
    2950                 :            :     { 0x4001, { 5930, 0x0406, 1 } },    // 1d
    2951                 :            :     { 0x6000, { 0x041d, 0x0408, 0 } }   // 1e
    2952                 :            : };
    2953                 :            : static const mso_CustomShape msoActionButtonSound =
    2954                 :            : {
    2955                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonSoundVert, SAL_N_ELEMENTS( mso_sptActionButtonSoundVert ),
    2956                 :            :     (sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1,
    2957                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, SAL_N_ELEMENTS( mso_sptActionButtonSoundCalc ),
    2958                 :            :     (sal_Int32*)mso_sptDefault1400,
    2959                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    2960                 :            :     21600, 21600,
    2961                 :            :     10800, 10800,
    2962                 :            :     NULL, 0,
    2963                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    2964                 :            : };
    2965                 :            : 
    2966                 :            : static const SvxMSDffVertPair mso_sptActionButtonMovieVert[] =
    2967                 :            : {
    2968                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    2969                 :            :     { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
    2970                 :            :     { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
    2971                 :            :     { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    2972                 :            :     { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
    2973                 :            : 
    2974                 :            :     { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x12 MSO_I },
    2975                 :            :     { 0x16 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1e MSO_I, 0x18 MSO_I },
    2976                 :            :     { 0x20 MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x1e MSO_I, 0x22 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I },
    2977                 :            :     { 0x16 MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x28 MSO_I },
    2978                 :            :     { 0x10 MSO_I, 0x28 MSO_I }, { 0xe MSO_I, 0x2c MSO_I }, { 0xa MSO_I, 0x2c MSO_I }
    2979                 :            : };
    2980                 :            : static const sal_uInt16 mso_sptActionButtonMovieSegm[] =
    2981                 :            : {
    2982                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2983                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2984                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2985                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2986                 :            :     0x4000, 0x0003, 0x6001, 0x8000,
    2987                 :            :     0x4000, 0x0012, 0x6001, 0x8000
    2988                 :            : };
    2989                 :            : static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc[] =   // adj value 0 - 5400
    2990                 :            : {
    2991                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    2992                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    2993                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    2994                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    2995                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    2996                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
    2997                 :            :     { 0x2001, { 0x0405, 1, 10800 } },           // scaling   6
    2998                 :            :     { 0x2001, { DFF_Prop_geoRight, 1, 2 } },    // lr center 7
    2999                 :            :     { 0x2001, { DFF_Prop_geoBottom, 1, 2 } },   // ul center 8
    3000                 :            : 
    3001                 :            :     { 0x4001, { -8050, 0x0406, 1 } },   // 9
    3002                 :            :     { 0x6000, { 0x0409, 0x0407, 0 } },  // a
    3003                 :            :     { 0x4001, { -4020, 0x0406, 1 } },   // b
    3004                 :            :     { 0x6000, { 0x040b, 0x0408, 0 } },  // c
    3005                 :            :     { 0x4001, { -7000, 0x0406, 1 } },   // d
    3006                 :            :     { 0x6000, { 0x040d, 0x0407, 0 } },  // e
    3007                 :            :     { 0x4001, { -6560, 0x0406, 1 } },   // f
    3008                 :            :     { 0x6000, { 0x040f, 0x0407, 0 } },  // 10
    3009                 :            :     { 0x4001, { -3600, 0x0406, 1 } },   // 11
    3010                 :            :     { 0x6000, { 0x0411, 0x0408, 0 } },  // 12
    3011                 :            :     { 0x4001, { 4020, 0x0406, 1 } },    // 13
    3012                 :            :     { 0x6000, { 0x0413, 0x0407, 0 } },  // 14
    3013                 :            :     { 0x4001, { 4660, 0x0406, 1 } },    // 15
    3014                 :            :     { 0x6000, { 0x0415, 0x0407, 0 } },  // 16
    3015                 :            :     { 0x4001, { -2960, 0x0406, 1 } },   // 17
    3016                 :            :     { 0x6000, { 0x0417, 0x0408, 0 } },  // 18
    3017                 :            :     { 0x4001, { -2330, 0x0406, 1 } },   // 19
    3018                 :            :     { 0x6000, { 0x0419, 0x0408, 0 } },  // 1a
    3019                 :            :     { 0x4001, { 6780, 0x0406, 1 } },    // 1b
    3020                 :            :     { 0x6000, { 0x041b, 0x0407, 0 } },  // 1c
    3021                 :            :     { 0x4001, { 7200, 0x0406, 1 } },    // 1d
    3022                 :            :     { 0x6000, { 0x041d, 0x0407, 0 } },  // 1e
    3023                 :            :     { 0x4001, { 8050, 0x0406, 1 } },    // 1f
    3024                 :            :     { 0x6000, { 0x041f, 0x0407, 0 } },  // 20
    3025                 :            :     { 0x4001, { 2960, 0x0406, 1 } },    // 21
    3026                 :            :     { 0x6000, { 0x0421, 0x0408, 0 } },  // 22
    3027                 :            :     { 0x4001, { 2330, 0x0406, 1 } },    // 23
    3028                 :            :     { 0x6000, { 0x0423, 0x0408, 0 } },  // 24
    3029                 :            :     { 0x4001, { 3800, 0x0406, 1 } },    // 25
    3030                 :            :     { 0x6000, { 0x0425, 0x0408, 0 } },  // 26
    3031                 :            :     { 0x4001, { -1060, 0x0406, 1 } },   // 27
    3032                 :            :     { 0x6000, { 0x0427, 0x0408, 0 } },  // 28
    3033                 :            :     { 0x4001, { -6350, 0x0406, 1 } },   // 29
    3034                 :            :     { 0x6000, { 0x0429, 0x0407, 0 } },  // 2a
    3035                 :            :     { 0x4001, { -640, 0x0406, 1 } },    // 2b
    3036                 :            :     { 0x6000, { 0x042b, 0x0408, 0 } }   // 2c
    3037                 :            : };
    3038                 :            : static const mso_CustomShape msoActionButtonMovie =
    3039                 :            : {
    3040                 :            :     (SvxMSDffVertPair*)mso_sptActionButtonMovieVert, SAL_N_ELEMENTS( mso_sptActionButtonMovieVert ),
    3041                 :            :     (sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1,
    3042                 :            :     (SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, SAL_N_ELEMENTS( mso_sptActionButtonMovieCalc ),
    3043                 :            :     (sal_Int32*)mso_sptDefault1400,
    3044                 :            :     (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ),
    3045                 :            :     21600, 21600,
    3046                 :            :     10800, 10800,
    3047                 :            :     NULL, 0,
    3048                 :            :     (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle )
    3049                 :            : };
    3050                 :            : 
    3051                 :            : static const SvxMSDffVertPair mso_sptSmileyFaceVert[] = // adj value 15510 - 17520
    3052                 :            : {
    3053                 :            :     { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
    3054                 :            :     { 7305, 7515 }, { 1165, 1165 }, { 0, 360 },
    3055                 :            :     { 14295, 7515 }, { 1165, 1165 }, { 0, 360 },
    3056                 :            :     { 4870, 1 MSO_I }, { 8680, 2 MSO_I }, { 12920, 2 MSO_I }, { 16730, 1 MSO_I }
    3057                 :            : };
    3058                 :            : static const sal_uInt16 mso_sptSmileyFaceSegm[] =
    3059                 :            : {
    3060                 :            :     0xa203, 0x6000, 0x8000,
    3061                 :            :     0xa203, 0x6000, 0x8000,
    3062                 :            :     0xa203, 0x6000, 0x8000,
    3063                 :            :     0x4000, 0x2001, 0xaa00, 0x8000
    3064                 :            : };
    3065                 :            : static const SvxMSDffCalculationData mso_sptSmileyFaceCalc[] =
    3066                 :            : {
    3067                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 15510 } },
    3068                 :            :     { 0x8000, { 17520, 0, 0x400 } },
    3069                 :            :     { 0x4000, { 15510, 0x400, 0 } }
    3070                 :            : };
    3071                 :            : 
    3072                 :            : static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect[] =
    3073                 :            : {
    3074                 :            :     { { 0, 1 MSO_I }, { 4 MSO_I, 21600 } }
    3075                 :            : };
    3076                 :            : static const sal_Int32 mso_sptSmileyFaceDefault[] =
    3077                 :            : {
    3078                 :            :     1, 17520
    3079                 :            : };
    3080                 :            : static const SvxMSDffHandle mso_sptSmileyHandle[] =
    3081                 :            : {
    3082                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3083                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 15510, 17520 }
    3084                 :            : };
    3085                 :            : static const mso_CustomShape msoSmileyFace =
    3086                 :            : {
    3087                 :            :     (SvxMSDffVertPair*)mso_sptSmileyFaceVert, SAL_N_ELEMENTS( mso_sptSmileyFaceVert ),
    3088                 :            :     (sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1,
    3089                 :            :     (SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, SAL_N_ELEMENTS( mso_sptSmileyFaceCalc ),
    3090                 :            :     (sal_Int32*)mso_sptSmileyFaceDefault,
    3091                 :            :     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ),
    3092                 :            :     21600, 21600,
    3093                 :            :     MIN_INT32, MIN_INT32,
    3094                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    3095                 :            :     (SvxMSDffHandle*)mso_sptSmileyHandle, SAL_N_ELEMENTS( mso_sptSmileyHandle )      // handles
    3096                 :            : };
    3097                 :            : 
    3098                 :            : static const SvxMSDffVertPair mso_sptDonutVert[] =  // adj value 0 - 10800
    3099                 :            : {
    3100                 :            :     { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
    3101                 :            :     { 10800, 10800 }, { 1 MSO_I, 1 MSO_I }, { 0, 360 }
    3102                 :            : };
    3103                 :            : static const sal_uInt16 mso_sptDonutSegm[] =
    3104                 :            : {
    3105                 :            :     0xa203, 0x6000, 0xa203, 0x8000
    3106                 :            : };
    3107                 :            : static const SvxMSDffCalculationData mso_sptDonutCalc[] =
    3108                 :            : {
    3109                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    3110                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
    3111                 :            : };
    3112                 :            : static const SvxMSDffHandle mso_sptDonutHandle[] =
    3113                 :            : {
    3114                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3115                 :            :         0x100, 10800, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    3116                 :            : };
    3117                 :            : static const mso_CustomShape msoDonut =
    3118                 :            : {
    3119                 :            :     (SvxMSDffVertPair*)mso_sptDonutVert, SAL_N_ELEMENTS( mso_sptDonutVert ),
    3120                 :            :     (sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1,
    3121                 :            :     (SvxMSDffCalculationData*)mso_sptDonutCalc, SAL_N_ELEMENTS( mso_sptDonutCalc ),
    3122                 :            :     (sal_Int32*)mso_sptDefault5400,
    3123                 :            :     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ),
    3124                 :            :     21600, 21600,
    3125                 :            :     MIN_INT32, MIN_INT32,
    3126                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    3127                 :            :     (SvxMSDffHandle*)mso_sptDonutHandle, SAL_N_ELEMENTS( mso_sptDonutHandle )        // handles
    3128                 :            : };
    3129                 :            : 
    3130                 :            : static const SvxMSDffVertPair mso_sptNoSmokingVert[] =  // adj value 0 - 7200
    3131                 :            : {
    3132                 :            :     { 10800, 10800 },  { 10800, 10800 }, { 0, 360 },
    3133                 :            :     { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
    3134                 :            :     { 9 MSO_I, 0xa MSO_I }, { 0xb MSO_I, 0xc MSO_I }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
    3135                 :            :     { 0xd MSO_I, 0xe MSO_I }, { 0xf MSO_I, 0x10 MSO_I }
    3136                 :            : };
    3137                 :            : static const sal_uInt16 mso_sptNoSmokingSegm[] =
    3138                 :            : {
    3139                 :            :     0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000
    3140                 :            : };
    3141                 :            : static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] =
    3142                 :            : {
    3143                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },         // 0
    3144                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },     // 1
    3145                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },     // 2
    3146                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },         // 3
    3147                 :            :     { 0xa080, { 0x403, 0, 0x402 } },                    // 4
    3148                 :            :     { 0x8000, { 10800, 0, 0x403 } },                    // 5 x1
    3149                 :            :     { 0x4000, { 10800, 0x403, 0 } },                    // 6 x2
    3150                 :            :     { 0x8000, { 10800, 0, 0x404 } },                    // 7 y1
    3151                 :            :     { 0x4000, { 10800, 0x404, 0 } },                    // 8 y2
    3152                 :            :     { 0x6081, { 0x405, 0x407, 45 } },                   // 9
    3153                 :            :     { 0x6082, { 0x405, 0x407, 45 } },                   // a
    3154                 :            :     { 0x6081, { 0x405, 0x408, 45 } },                   // b
    3155                 :            :     { 0x6082, { 0x405, 0x408, 45 } },                   // c
    3156                 :            :     { 0x6081, { 0x406, 0x408, 45 } },                   // d
    3157                 :            :     { 0x6082, { 0x406, 0x408, 45 } },                   // e
    3158                 :            :     { 0x6081, { 0x406, 0x407, 45 } },                   // f
    3159                 :            :     { 0x6082, { 0x406, 0x407, 45 } }                    // 10
    3160                 :            : };
    3161                 :            : static const SvxMSDffHandle mso_sptNoSmokingHandle[] =
    3162                 :            : {
    3163                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3164                 :            :         0x100, 10800, 10800, 10800, 0, 7200, MIN_INT32, 0x7fffffff }
    3165                 :            : };
    3166                 :            : static const mso_CustomShape msoNoSmoking =
    3167                 :            : {
    3168                 :            :     (SvxMSDffVertPair*)mso_sptNoSmokingVert, SAL_N_ELEMENTS( mso_sptNoSmokingVert ),
    3169                 :            :     (sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1,
    3170                 :            :     (SvxMSDffCalculationData*)mso_sptNoSmokingCalc, SAL_N_ELEMENTS( mso_sptNoSmokingCalc ),
    3171                 :            :     (sal_Int32*)mso_sptDefault2700,
    3172                 :            :     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ),
    3173                 :            :     21600, 21600,
    3174                 :            :     MIN_INT32, MIN_INT32,
    3175                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    3176                 :            :     (SvxMSDffHandle*)mso_sptNoSmokingHandle, SAL_N_ELEMENTS( mso_sptNoSmokingHandle )        // handles
    3177                 :            : };
    3178                 :            : 
    3179                 :            : static const SvxMSDffVertPair mso_sptBlockArcVert[] =   // adj value 0 (degrees)
    3180                 :            : {                                                       // adj value 1: 0 -> 10800;
    3181                 :            :     { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
    3182                 :            :     { 5 MSO_I, 5 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
    3183                 :            : };
    3184                 :            : static const sal_uInt16 mso_sptBlockArcSegm[] =
    3185                 :            : {
    3186                 :            :     0xA404, 0xa504, 0x6001, 0x8000
    3187                 :            : };
    3188                 :            : static const sal_Int32 mso_sptBlockArcDefault[] =
    3189                 :            : {
    3190                 :            :     2, 180, 5400
    3191                 :            : };
    3192                 :            : static const SvxMSDffCalculationData mso_sptBlockArcCalc[] =
    3193                 :            : {
    3194                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    3195                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    3196                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    3197                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    3198                 :            :     { 0x8000, { 21600, 0, 0x402 } },
    3199                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
    3200                 :            :     { 0x4000, { 10800, DFF_Prop_adjust2Value, 0 } },
    3201                 :            :     { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },
    3202                 :            :     { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }
    3203                 :            : };
    3204                 :            : static const SvxMSDffHandle mso_sptBlockArcHandle[] =
    3205                 :            : {
    3206                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    3207                 :            :         0x101, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    3208                 :            : };
    3209                 :            : static const mso_CustomShape msoBlockArc =
    3210                 :            : {
    3211                 :            :     (SvxMSDffVertPair*)mso_sptBlockArcVert, SAL_N_ELEMENTS( mso_sptBlockArcVert ),
    3212                 :            :     (sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1,
    3213                 :            :     (SvxMSDffCalculationData*)mso_sptBlockArcCalc, SAL_N_ELEMENTS( mso_sptBlockArcCalc ),
    3214                 :            :     (sal_Int32*)mso_sptBlockArcDefault,
    3215                 :            :     NULL, 0,
    3216                 :            :     21600, 21600,
    3217                 :            :     MIN_INT32, MIN_INT32,
    3218                 :            :     NULL, 0,
    3219                 :            :     (SvxMSDffHandle*)mso_sptBlockArcHandle, SAL_N_ELEMENTS( mso_sptBlockArcHandle )      // handles
    3220                 :            : };
    3221                 :            : 
    3222                 :            : // aware : control points are always part of the bounding box
    3223                 :            : static const SvxMSDffVertPair mso_sptHeartVert[] =
    3224                 :            : {
    3225                 :            :     { 10800, 21599 }, { 321, 6886 }, { 70, 6036 },      // ppp
    3226                 :            :     { -9, 5766 }, { -1, 5474 }, { 2, 5192 },            // ccp
    3227                 :            :     { 6, 4918 }, { 43, 4641 }, { 101, 4370 },           // ccp
    3228                 :            :     { 159, 4103 }, { 245, 3837 }, { 353, 3582 },        // ccp
    3229                 :            :     { 460, 3326 }, { 591, 3077 }, { 741, 2839 },        // ccp
    3230                 :            :     { 892, 2598 }, { 1066, 2369 }, { 1253, 2155 },      // ccp
    3231                 :            :     { 1443, 1938 }, { 1651, 1732 }, { 1874, 1543 },     // ccp
    3232                 :            :     { 2097, 1351 }, { 2337, 1174 }, { 2587, 1014 },     // ccp
    3233                 :            :     { 2839, 854 }, { 3106, 708 }, { 3380, 584 },        // ccp
    3234                 :            :     { 3656, 459 }, { 3945, 350 }, { 4237, 264 },        // ccp
    3235                 :            :     { 4533, 176 }, { 4838, 108 }, { 5144, 66 },         // ccp
    3236                 :            :     { 5454, 22 }, { 5771, 1 }, { 6086, 3 },             // ccp
    3237                 :            :     { 6407, 7 }, { 6731, 35 }, { 7048, 89 },            // ccp
    3238                 :            :     { 7374, 144 }, { 7700, 226 }, { 8015, 335 },        // ccp
    3239                 :            :     { 8344, 447 }, { 8667, 590 }, { 8972, 756 },        // ccp
    3240                 :            :     { 9297, 932 }, { 9613, 1135 }, { 9907, 1363 },      // ccp
    3241                 :            :     { 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 },  // ccp
    3242                 :            :     { 11697, 1363 },                                    // p
    3243                 :            :     { 11971, 1116 }, { 12304, 934 }, { 12630, 756 },    // ccp
    3244                 :            :     { 12935, 590 }, { 13528, 450 }, { 13589, 335 },     // ccp
    3245                 :            :     { 13901, 226 }, { 14227, 144 }, { 14556, 89 },      // ccp
    3246                 :            :     { 14872, 35 }, { 15195, 7 }, { 15517, 3 },          // ccp
    3247                 :            :     { 15830, 0 }, { 16147, 22 }, { 16458, 66 },         // ccp
    3248                 :            :     { 16764, 109 }, { 17068, 177 }, { 17365, 264 },     // ccp
    3249                 :            :     { 17658, 349 }, { 17946, 458 }, { 18222, 584 },     // ccp
    3250                 :            :     { 18496, 708 }, { 18762, 854 }, { 19015, 1014 },    // ccp
    3251                 :            :     { 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 },  // ccp
    3252                 :            :     { 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 },  // ccp
    3253                 :            :     { 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 },  // ccp
    3254                 :            :     { 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 },  // ccp
    3255                 :            :     { 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 },  // ccp
    3256                 :            :     { 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 },  // ccp
    3257                 :            :     { 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 },  // ccp
    3258                 :            :     { 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 },  // ccp
    3259                 :            :     { 10802, 21602 }                                    // p
    3260                 :            : };
    3261                 :            : static const sal_uInt16 mso_sptHeartSegm[] =
    3262                 :            : {
    3263                 :            :     0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000
    3264                 :            : };
    3265                 :            : static const SvxMSDffTextRectangles mso_sptHeartTextRect[] =
    3266                 :            : {
    3267                 :            :     { { 5080, 2540 }, { 16520, 13550 } }
    3268                 :            : };
    3269                 :            : static const SvxMSDffVertPair mso_sptHeartGluePoints[] =
    3270                 :            : {
    3271                 :            :     { 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 }
    3272                 :            : };
    3273                 :            : static const mso_CustomShape msoHeart =
    3274                 :            : {
    3275                 :            :     (SvxMSDffVertPair*)mso_sptHeartVert, SAL_N_ELEMENTS( mso_sptHeartVert ),
    3276                 :            :     (sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1,
    3277                 :            :     NULL, 0,
    3278                 :            :     NULL,
    3279                 :            :     (SvxMSDffTextRectangles*)mso_sptHeartTextRect, SAL_N_ELEMENTS( mso_sptHeartTextRect ),
    3280                 :            :     21615, 21602,
    3281                 :            :     MIN_INT32, MIN_INT32,
    3282                 :            :     (SvxMSDffVertPair*)mso_sptHeartGluePoints, SAL_N_ELEMENTS( mso_sptHeartGluePoints ),
    3283                 :            :     NULL, 0     // handles
    3284                 :            : };
    3285                 :            : 
    3286                 :            : static const SvxMSDffVertPair mso_sptLightningBoldVert[] =
    3287                 :            : {
    3288                 :            :     { 8458, 0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 },
    3289                 :            :     { 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 },
    3290                 :            :     { 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 }
    3291                 :            : };
    3292                 :            : static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect[] =
    3293                 :            : {
    3294                 :            :     { { 8680, 7410 }, { 13970, 14190 } }
    3295                 :            : };
    3296                 :            : static const SvxMSDffVertPair mso_sptLightningBoldGluePoints[] =
    3297                 :            : {
    3298                 :            :     { 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 },
    3299                 :            :     { 16558, 12016 }, { 12831, 6120 }
    3300                 :            : };
    3301                 :            : static const mso_CustomShape msoLightningBold =
    3302                 :            : {
    3303                 :            :     (SvxMSDffVertPair*)mso_sptLightningBoldVert, SAL_N_ELEMENTS( mso_sptLightningBoldVert ),
    3304                 :            :     NULL, 0,
    3305                 :            :     NULL, 0,
    3306                 :            :     NULL,
    3307                 :            :     (SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, SAL_N_ELEMENTS( mso_sptLightningBoldTextRect ),
    3308                 :            :     21600, 21600,
    3309                 :            :     MIN_INT32, MIN_INT32,
    3310                 :            :     (SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, SAL_N_ELEMENTS( mso_sptLightningBoldGluePoints ),
    3311                 :            :     NULL, 0     // handles
    3312                 :            : };
    3313                 :            : 
    3314                 :            : static const SvxMSDffVertPair mso_sptSunVert[] =    // adj value 2700 -> 10125
    3315                 :            : {
    3316                 :            :     { 0, 10800 },               { 4 MSO_I, 8 MSO_I },       { 4 MSO_I, 9 MSO_I },
    3317                 :            :     { 0x0a MSO_I, 0x0b MSO_I }, { 0x0c MSO_I, 0x0d MSO_I }, { 0x0e MSO_I, 0x0f MSO_I },
    3318                 :            :     { 0x10 MSO_I, 0x11 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0x14 MSO_I, 0x15 MSO_I },
    3319                 :            :     { 0x16 MSO_I, 0x17 MSO_I }, { 0x18 MSO_I, 0x19 MSO_I }, { 0x1a MSO_I, 0x1b MSO_I },
    3320                 :            :     { 0x1c MSO_I, 0x1d MSO_I }, { 0x1e MSO_I, 0x1f MSO_I }, { 0x20 MSO_I, 0x21 MSO_I },
    3321                 :            :     { 0x22 MSO_I, 0x23 MSO_I }, { 0x24 MSO_I, 0x25 MSO_I }, { 0x26 MSO_I, 0x27 MSO_I },
    3322                 :            :     { 0x28 MSO_I, 0x29 MSO_I }, { 0x2a MSO_I, 0x2b MSO_I }, { 0x2c MSO_I, 0x2d MSO_I },
    3323                 :            :     { 0x2e MSO_I, 0x2f MSO_I }, { 0x30 MSO_I, 0x31 MSO_I }, { 0x32 MSO_I, 0x33 MSO_I },
    3324                 :            :     { 10800, 10800 }, { 0x36 MSO_I, 0x36 MSO_I },   { 0, 360 }
    3325                 :            : };
    3326                 :            : static const sal_uInt16 mso_sptSunSegm[] =
    3327                 :            : {
    3328                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3329                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3330                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3331                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3332                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3333                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3334                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3335                 :            :     0x4000, 0x0002, 0x6001, 0x8000,
    3336                 :            :     0xa203, 0x6000, 0x8000
    3337                 :            : };
    3338                 :            : static const SvxMSDffCalculationData mso_sptSunCalc[] =
    3339                 :            : {
    3340                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    3341                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    3342                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 2700 } },
    3343                 :            :     { 0x2001, { 0x402, 5080, 7425 } },
    3344                 :            :     { 0x2000, { 0x403, 2540, 0 } },
    3345                 :            :     { 0x8000, { 10125, 0, DFF_Prop_adjustValue } },
    3346                 :            :     { 0x2001, { 0x405, 2120, 7425 } },
    3347                 :            :     { 0x2000, { 0x406, 210, 0 } },
    3348                 :            :     { 0x4000, { 10800, 0x407, 0 } },    // y1 (0x8)
    3349                 :            :     { 0x8000, { 10800, 0, 0x407 } },    // y2 (0x9)
    3350                 :            :     { 0x0081, { 0, 10800, 45 } },       // 0xa
    3351                 :            :     { 0x0082, { 0, 10800, 45 } },       // 0xb
    3352                 :            :     { 0x6081, { 0x404, 0x408, 45 } },   // 0xc
    3353                 :            :     { 0x6082, { 0x404, 0x408, 45 } },   // 0xd
    3354                 :            :     { 0x6081, { 0x404, 0x409, 45 } },   // 0xe
    3355                 :            :     { 0x6082, { 0x404, 0x409, 45 } },   // 0xf
    3356                 :            :     { 0x0081, { 0, 10800, 90 } },       // 0x10
    3357                 :            :     { 0x0082, { 0, 10800, 90 } },       // 0x11
    3358                 :            :     { 0x6081, { 0x404, 0x408, 90 } },   // 0x12
    3359                 :            :     { 0x6082, { 0x404, 0x408, 90 } },   // 0x13
    3360                 :            :     { 0x6081, { 0x404, 0x409, 90 } },   // 0x14
    3361                 :            :     { 0x6082, { 0x404, 0x409, 90 } },   // 0x15
    3362                 :            :     { 0x0081, { 0, 10800, 135 } },      // 0x16
    3363                 :            :     { 0x0082, { 0, 10800, 135 } },      // 0x17
    3364                 :            :     { 0x6081, { 0x404, 0x408, 135 } },  // 0x18
    3365                 :            :     { 0x6082, { 0x404, 0x408, 135 } },  // 0x19
    3366                 :            :     { 0x6081, { 0x404, 0x409, 135 } },  // 0x1a
    3367                 :            :     { 0x6082, { 0x404, 0x409, 135 } },  // 0x1b
    3368                 :            :     { 0x0081, { 0, 10800, 180 } },      // 0x1c
    3369                 :            :     { 0x0082, { 0, 10800, 180 } },      // 0x1d
    3370                 :            :     { 0x6081, { 0x404, 0x408, 180 } },  // 0x1e
    3371                 :            :     { 0x6082, { 0x404, 0x408, 180 } },  // 0x1f
    3372                 :            :     { 0x6081, { 0x404, 0x409, 180 } },  // 0x20
    3373                 :            :     { 0x6082, { 0x404, 0x409, 180 } },  // 0x21
    3374                 :            :     { 0x0081, { 0, 10800, 225 } },      // 0x22
    3375                 :            :     { 0x0082, { 0, 10800, 225 } },      // 0x23
    3376                 :            :     { 0x6081, { 0x404, 0x408, 225 } },  // 0x24
    3377                 :            :     { 0x6082, { 0x404, 0x408, 225 } },  // 0x25
    3378                 :            :     { 0x6081, { 0x404, 0x409, 225 } },  // 0x26
    3379                 :            :     { 0x6082, { 0x404, 0x409, 225 } },  // 0x27
    3380                 :            :     { 0x0081, { 0, 10800, 270 } },      // 0x28
    3381                 :            :     { 0x0082, { 0, 10800, 270 } },      // 0x29
    3382                 :            :     { 0x6081, { 0x404, 0x408, 270 } },  // 0x2a
    3383                 :            :     { 0x6082, { 0x404, 0x408, 270 } },  // 0x2b
    3384                 :            :     { 0x6081, { 0x404, 0x409, 270 } },  // 0x2c
    3385                 :            :     { 0x6082, { 0x404, 0x409, 270 } },  // 0x2d
    3386                 :            :     { 0x0081, { 0, 10800, 315 } },      // 0x2e
    3387                 :            :     { 0x0082, { 0, 10800, 315 } },      // 0x2f
    3388                 :            :     { 0x6081, { 0x404, 0x408, 315 } },  // 0x30
    3389                 :            :     { 0x6082, { 0x404, 0x408, 315 } },  // 0x31
    3390                 :            :     { 0x6081, { 0x404, 0x409, 315 } },  // 0x32
    3391                 :            :     { 0x6082, { 0x404, 0x409, 315 } },  // 0x33
    3392                 :            :     { 0x2081, { DFF_Prop_adjustValue, 10800, 45 } },    // 0x34 ( textbox )
    3393                 :            :     { 0x2081, { DFF_Prop_adjustValue, 10800, 225 } },   // 0x35
    3394                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
    3395                 :            : };
    3396                 :            : static const SvxMSDffTextRectangles mso_sptSunTextRect[] =
    3397                 :            : {
    3398                 :            :     { { 0x34 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x35 MSO_I } }
    3399                 :            : };
    3400                 :            : static const SvxMSDffHandle mso_sptSunHandle[] =
    3401                 :            : {
    3402                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3403                 :            :         0x100, 10800, 10800, 10800, 2700, 10125, MIN_INT32, 0x7fffffff }
    3404                 :            : };
    3405                 :            : static const mso_CustomShape msoSun =
    3406                 :            : {
    3407                 :            :     (SvxMSDffVertPair*)mso_sptSunVert, SAL_N_ELEMENTS( mso_sptSunVert ),
    3408                 :            :     (sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1,
    3409                 :            :     (SvxMSDffCalculationData*)mso_sptSunCalc, SAL_N_ELEMENTS( mso_sptSunCalc ),
    3410                 :            :     (sal_Int32*)mso_sptDefault5400,
    3411                 :            :     (SvxMSDffTextRectangles*)mso_sptSunTextRect, SAL_N_ELEMENTS( mso_sptSunTextRect ),
    3412                 :            :     21600, 21600,
    3413                 :            :     MIN_INT32, MIN_INT32,
    3414                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    3415                 :            :     (SvxMSDffHandle*)mso_sptSunHandle, SAL_N_ELEMENTS( mso_sptSunHandle )        // handles
    3416                 :            : };
    3417                 :            : 
    3418                 :            : static const SvxMSDffVertPair mso_sptMoonVert[] =   // adj value 0 -> 18900
    3419                 :            : {
    3420                 :            :     { 21600, 0 },
    3421                 :            :     { 3 MSO_I, 4 MSO_I },   { 0 MSO_I, 5080 },      { 0 MSO_I, 10800 }, // ccp
    3422                 :            :     { 0 MSO_I, 16520 },     { 3 MSO_I, 5 MSO_I },   { 21600, 21600 },   // ccp
    3423                 :            :     { 9740, 21600 },        { 0, 16730 },           { 0, 10800 },       // ccp
    3424                 :            :     { 0, 4870 },            { 9740, 0 },            { 21600, 0  }       // ccp
    3425                 :            : };
    3426                 :            : static const sal_uInt16 mso_sptMoonSegm[] =
    3427                 :            : {
    3428                 :            :     0x4000, 0x2004, 0x6000, 0x8000
    3429                 :            : };
    3430                 :            : static const SvxMSDffCalculationData mso_sptMoonCalc[] =
    3431                 :            : {
    3432                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    3433                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    3434                 :            :     { 0x2001, { 0x401, 1, 2 } },
    3435                 :            :     { 0x6000, { 0x402, DFF_Prop_adjustValue, 0 } },
    3436                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1794, 10000 } },
    3437                 :            :     { 0x8000, { 21600, 0, 0x0404 } },
    3438                 :            :     { 0x2001, { DFF_Prop_adjustValue, 400, 18900 } },
    3439                 :            :     { 0x8081, { 0, 10800, 0x406 } },
    3440                 :            :     { 0x8082, { 0, 10800, 0x406 } },
    3441                 :            :     { 0x6000, { 0x407, 0x407, 0 } },
    3442                 :            :     { 0x8000, { 21600, 0, 0x408 } }
    3443                 :            : };
    3444                 :            : static const SvxMSDffTextRectangles mso_sptMoonTextRect[] =
    3445                 :            : {
    3446                 :            :     { { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 0xa MSO_I } }
    3447                 :            : };
    3448                 :            : static const SvxMSDffVertPair mso_sptMoonGluePoints[] =
    3449                 :            : {
    3450                 :            :     { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I, 10800 }
    3451                 :            : };
    3452                 :            : static const SvxMSDffHandle mso_sptMoonHandle[] =
    3453                 :            : {
    3454                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3455                 :            :         0x100, 10800, 10800, 10800, 0, 18900, MIN_INT32, 0x7fffffff }
    3456                 :            : };
    3457                 :            : static const mso_CustomShape msoMoon =
    3458                 :            : {
    3459                 :            :     (SvxMSDffVertPair*)mso_sptMoonVert, SAL_N_ELEMENTS( mso_sptMoonVert ),
    3460                 :            :     (sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1,
    3461                 :            :     (SvxMSDffCalculationData*)mso_sptMoonCalc, SAL_N_ELEMENTS( mso_sptMoonCalc ),
    3462                 :            :     (sal_Int32*)mso_sptDefault10800,
    3463                 :            :     (SvxMSDffTextRectangles*)mso_sptMoonTextRect, SAL_N_ELEMENTS( mso_sptMoonTextRect ),
    3464                 :            :     21600, 21600,
    3465                 :            :     MIN_INT32, MIN_INT32,
    3466                 :            :     (SvxMSDffVertPair*)mso_sptMoonGluePoints, SAL_N_ELEMENTS( mso_sptMoonGluePoints ),
    3467                 :            :     (SvxMSDffHandle*)mso_sptMoonHandle, SAL_N_ELEMENTS( mso_sptMoonHandle )      // handles
    3468                 :            : };
    3469                 :            : 
    3470                 :            : static const SvxMSDffVertPair mso_sptBracketPairVert[] =    // adj value 0 -> 10800
    3471                 :            : {
    3472                 :            :     { 0 MSO_I, 0 },     { 0, 1 MSO_I },     // left top alignment
    3473                 :            :     { 0, 2 MSO_I },     { 0 MSO_I, 21600 }, // left  bottom "
    3474                 :            :     { 3 MSO_I, 21600 }, { 21600, 2 MSO_I }, // right bottom "
    3475                 :            :     { 21600, 1 MSO_I }, { 3 MSO_I, 0 },     // right top    "
    3476                 :            :     { 0 MSO_I, 0 },     { 0, 1 MSO_I },     // filling area
    3477                 :            :     { 0, 2 MSO_I },     { 0 MSO_I, 21600 },
    3478                 :            :     { 3 MSO_I, 21600 }, { 21600, 2 MSO_I },
    3479                 :            :     { 21600, 1 MSO_I }, { 3 MSO_I, 0 }
    3480                 :            : };
    3481                 :            : static const sal_uInt16 mso_sptBracketPairSegm[] =
    3482                 :            : {
    3483                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000,
    3484                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000,
    3485                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0x0001,             // filling area
    3486                 :            :     0xa701, 0x0001, 0xa801, 0x6000, 0xab00, 0x8000
    3487                 :            : };
    3488                 :            : static const SvxMSDffCalculationData mso_sptBracketPairCalc[] =
    3489                 :            : {
    3490                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    3491                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    3492                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    3493                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    3494                 :            :     { 0x2082, { DFF_Prop_adjustValue, 0, 45 } },
    3495                 :            :     { 0x2000, { 0x404, 0, 10800 } },
    3496                 :            :     { 0x8000, { 0, 0, DFF_Prop_adjustValue } },
    3497                 :            :     { 0xa000, { 0x406, 0, 0x405 } },
    3498                 :            :     { 0xa000, { DFF_Prop_geoLeft, 0, 0x407 } },
    3499                 :            :     { 0xa000, { DFF_Prop_geoTop, 0, 0x407 } },
    3500                 :            :     { 0x6000, { DFF_Prop_geoRight, 0x407, 0 } },
    3501                 :            :     { 0x6000, { DFF_Prop_geoBottom, 0x407, 0 } },
    3502                 :            :     { 0xa000, { DFF_Prop_geoLeft, 0, 0x405 } },
    3503                 :            :     { 0xa000, { DFF_Prop_geoTop, 0, 0x405 } },
    3504                 :            :     { 0x6000, { DFF_Prop_geoRight, 0x405, 0 } },
    3505                 :            :     { 0x6000, { DFF_Prop_geoBottom, 0x405, 0 } }
    3506                 :            : };
    3507                 :            : static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] =
    3508                 :            : {
    3509                 :            :     { { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 0xb MSO_I } }
    3510                 :            : };
    3511                 :            : static const SvxMSDffHandle mso_sptBracketPairHandle[] =
    3512                 :            : {
    3513                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    3514                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    3515                 :            : };
    3516                 :            : static const mso_CustomShape msoBracketPair =
    3517                 :            : {
    3518                 :            :     (SvxMSDffVertPair*)mso_sptBracketPairVert, SAL_N_ELEMENTS( mso_sptBracketPairVert ),
    3519                 :            :     (sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1,
    3520                 :            :     (SvxMSDffCalculationData*)mso_sptBracketPairCalc, SAL_N_ELEMENTS( mso_sptBracketPairCalc ),
    3521                 :            :     (sal_Int32*)mso_sptDefault3700,
    3522                 :            :     (SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, SAL_N_ELEMENTS( mso_sptBracketPairTextRect ),
    3523                 :            :     21600, 21600,
    3524                 :            :     10800, MIN_INT32,
    3525                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    3526                 :            :     (SvxMSDffHandle*)mso_sptBracketPairHandle, SAL_N_ELEMENTS( mso_sptBracketPairHandle )        // handles
    3527                 :            : };
    3528                 :            : 
    3529                 :            : static const sal_uInt16 mso_sptPlaqueSegm[] =
    3530                 :            : {
    3531                 :            :     0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
    3532                 :            : };
    3533                 :            : static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] =
    3534                 :            : {
    3535                 :            :     { { 0xc MSO_I, 0xd MSO_I }, { 0xe MSO_I, 0xf MSO_I } }
    3536                 :            : };
    3537                 :            : static const SvxMSDffHandle mso_sptPlaqueHandle[] =
    3538                 :            : {
    3539                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    3540                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    3541                 :            : };
    3542                 :            : static const mso_CustomShape msoPlaque =
    3543                 :            : {
    3544                 :            :     (SvxMSDffVertPair*)mso_sptBracketPairVert, SAL_N_ELEMENTS( mso_sptBracketPairVert ),
    3545                 :            :     (sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1,
    3546                 :            :     (SvxMSDffCalculationData*)mso_sptBracketPairCalc, SAL_N_ELEMENTS( mso_sptBracketPairCalc ),
    3547                 :            :     (sal_Int32*)mso_sptDefault3600,
    3548                 :            :     (SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, SAL_N_ELEMENTS( mso_sptPlaqueTextRect ),
    3549                 :            :     21600, 21600,
    3550                 :            :     10800, 10800,
    3551                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    3552                 :            :     (SvxMSDffHandle*)mso_sptPlaqueHandle, SAL_N_ELEMENTS( mso_sptPlaqueHandle )      // handles
    3553                 :            : };
    3554                 :            : 
    3555                 :            : static const SvxMSDffVertPair mso_sptBracePairVert[] =  // adj value 0 -> 5400
    3556                 :            : {
    3557                 :            :     { 4 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 },           // left bracket
    3558                 :            :     { 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 4 MSO_I, 21600 },
    3559                 :            :     { 8 MSO_I, 21600 }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 },   // right bracket
    3560                 :            :     { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 },
    3561                 :            :     { 4 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 },           // filling area
    3562                 :            :     { 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 4 MSO_I, 21600 },
    3563                 :            :     { 8 MSO_I, 21600 }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 },
    3564                 :            :     { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 }
    3565                 :            : };
    3566                 :            : static const sal_uInt16 mso_sptBracePairSegm[] =
    3567                 :            : {
    3568                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000,
    3569                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000,
    3570                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x0001,                     // filling area
    3571                 :            :     0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x6000, 0xab00, 0x8000
    3572                 :            : };
    3573                 :            : static const SvxMSDffCalculationData mso_sptBracePairCalc[] =
    3574                 :            : {
    3575                 :            :     { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
    3576                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    3577                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    3578                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
    3579                 :            :     { 0x2001, { 0x400, 2, 1 } },                                    //  4
    3580                 :            :     { 0x2001, { DFF_Prop_adjustValue, 2, 1 } },                     //  5
    3581                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjustValue } },                 //  6
    3582                 :            :     { 0x8000, { 21600, 0, 0x406 } },                                //  7
    3583                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x405 } },                    //  8
    3584                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 3 } },                     //  9
    3585                 :            :     { 0x6000, { 0x409, DFF_Prop_adjustValue, 0 } },                 // xa
    3586                 :            :     { 0x6000, { DFF_Prop_geoLeft, 0x40a, 0 } },                     // xb
    3587                 :            :     { 0x6000, { DFF_Prop_geoTop, 0x409, 0 } },                      // xc
    3588                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x40a } },                    // xd
    3589                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } }                    // xe
    3590                 :            : };
    3591                 :            : static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] =
    3592                 :            : {
    3593                 :            :     { { 0xb MSO_I, 0xc MSO_I }, { 0xd MSO_I, 0xe MSO_I } }
    3594                 :            : };
    3595                 :            : static const SvxMSDffHandle mso_sptBracePairHandle[] =
    3596                 :            : {
    3597                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
    3598                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 5400 }
    3599                 :            : };
    3600                 :            : static const mso_CustomShape msoBracePair =
    3601                 :            : {
    3602                 :            :     (SvxMSDffVertPair*)mso_sptBracePairVert, SAL_N_ELEMENTS( mso_sptBracePairVert ),
    3603                 :            :     (sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1,
    3604                 :            :     (SvxMSDffCalculationData*)mso_sptBracePairCalc, SAL_N_ELEMENTS( mso_sptBracePairCalc ),
    3605                 :            :     (sal_Int32*)mso_sptDefault1800,
    3606                 :            :     (SvxMSDffTextRectangles*)mso_sptBracePairTextRect, SAL_N_ELEMENTS( mso_sptBracePairTextRect ),
    3607                 :            :     21600, 21600,
    3608                 :            :     10800, MIN_INT32,
    3609                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    3610                 :            :     (SvxMSDffHandle*)mso_sptBracePairHandle, SAL_N_ELEMENTS( mso_sptBracePairHandle )        // handles
    3611                 :            : };
    3612                 :            : 
    3613                 :            : static const SvxMSDffCalculationData mso_sptBracketCalc[] =
    3614                 :            : {
    3615                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
    3616                 :            :     { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
    3617                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
    3618                 :            :     { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
    3619                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
    3620                 :            : };
    3621                 :            : static const sal_uInt16 mso_sptBracketSegm[] =
    3622                 :            : {
    3623                 :            :     0x4000, 0x2001, 0x0001, 0x2001, 0x8000
    3624                 :            : };
    3625                 :            : static const SvxMSDffVertPair mso_sptLeftBracketVert[] =    // adj value 0 -> 10800
    3626                 :            : {
    3627                 :            :     { 21600, 0 }, { 10800,  0 }, { 0, 3 MSO_I }, { 0, 1 MSO_I },
    3628                 :            :     { 0, 2 MSO_I }, { 0, 4 MSO_I }, { 10800, 21600 }, { 21600, 21600 }
    3629                 :            : };
    3630                 :            : static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect[] =
    3631                 :            : {
    3632                 :            :     { { 6350, 3 MSO_I }, { 21600, 4 MSO_I } }
    3633                 :            : };
    3634                 :            : static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] =
    3635                 :            : {
    3636                 :            :     { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }
    3637                 :            : };
    3638                 :            : static const SvxMSDffHandle mso_sptLeftBracketHandle[] =
    3639                 :            : {
    3640                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3641                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
    3642                 :            : };
    3643                 :            : static const mso_CustomShape msoLeftBracket =
    3644                 :            : {
    3645                 :            :     (SvxMSDffVertPair*)mso_sptLeftBracketVert, SAL_N_ELEMENTS( mso_sptLeftBracketVert ),
    3646                 :            :     (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
    3647                 :            :     (SvxMSDffCalculationData*)mso_sptBracketCalc, SAL_N_ELEMENTS( mso_sptBracketCalc ),
    3648                 :            :     (sal_Int32*)mso_sptDefault1800,
    3649                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, SAL_N_ELEMENTS( mso_sptLeftBracketTextRect ),
    3650                 :            :     21600, 21600,
    3651                 :            :     MIN_INT32, MIN_INT32,
    3652                 :            :     (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, SAL_N_ELEMENTS( mso_sptLeftBracketGluePoints ),
    3653                 :            :     (SvxMSDffHandle*)mso_sptLeftBracketHandle, SAL_N_ELEMENTS( mso_sptLeftBracketHandle )        // handles
    3654                 :            : };
    3655                 :            : static const SvxMSDffVertPair mso_sptRightBracketVert[] =   // adj value 0 -> 10800
    3656                 :            : {
    3657                 :            :     { 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I }, { 21600, 1 MSO_I },
    3658                 :            :     { 21600, 2 MSO_I }, { 21600, 4 MSO_I }, { 10800, 21600 }, { 0, 21600 }
    3659                 :            : };
    3660                 :            : static const SvxMSDffTextRectangles mso_sptRightBracketTextRect[] =
    3661                 :            : {
    3662                 :            :     { { 0, 3 MSO_I }, { 15150, 4 MSO_I } }
    3663                 :            : };
    3664                 :            : static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] =
    3665                 :            : {
    3666                 :            :     { 0, 0 }, { 0, 21600 }, { 21600, 10800 }
    3667                 :            : };
    3668                 :            : static const SvxMSDffHandle mso_sptRightBracketHandle[] =
    3669                 :            : {
    3670                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3671                 :            :         1, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
    3672                 :            : };
    3673                 :            : static const mso_CustomShape msoRightBracket =
    3674                 :            : {
    3675                 :            :     (SvxMSDffVertPair*)mso_sptRightBracketVert, SAL_N_ELEMENTS( mso_sptRightBracketVert ),
    3676                 :            :     (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
    3677                 :            :     (SvxMSDffCalculationData*)mso_sptBracketCalc, SAL_N_ELEMENTS( mso_sptBracketCalc ),
    3678                 :            :     (sal_Int32*)mso_sptDefault1800,
    3679                 :            :     (SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, SAL_N_ELEMENTS( mso_sptRightBracketTextRect ),
    3680                 :            :     21600, 21600,
    3681                 :            :     MIN_INT32, MIN_INT32,
    3682                 :            :     (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, SAL_N_ELEMENTS( mso_sptRightBracketGluePoints ),
    3683                 :            :     (SvxMSDffHandle*)mso_sptRightBracketHandle, SAL_N_ELEMENTS( mso_sptRightBracketHandle )      // handles
    3684                 :            : };
    3685                 :            : 
    3686                 :            : static const SvxMSDffCalculationData mso_sptBraceCalc[] =
    3687                 :            : {
    3688                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
    3689                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    3690                 :            :     { 0xa000, { 0x404, 0, DFF_Prop_adjustValue } },
    3691                 :            :     { 0xa000, { 0x404, 0, 0x400 } },
    3692                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    3693                 :            :     { 0x6000, { 0x404, 0x400, 0 } },
    3694                 :            :     { 0x6000, { 0x404, DFF_Prop_adjustValue, 0 } },
    3695                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    3696                 :            :     { 0x8000, { 21600, 0, 0x400 } },
    3697                 :            :     { 0x2001, { DFF_Prop_adjustValue, 10000, 31953 } },
    3698                 :            :     { 0x8000, { 21600, 0, 0x409 } }
    3699                 :            : };
    3700                 :            : static const sal_uInt16 mso_sptBraceSegm[] =
    3701                 :            : {
    3702                 :            :     0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000
    3703                 :            : };
    3704                 :            : static const sal_Int32 mso_sptBraceDefault[] =
    3705                 :            : {
    3706                 :            :     2, 1800, 10800
    3707                 :            : };
    3708                 :            : static const SvxMSDffVertPair mso_sptLeftBraceVert[] =
    3709                 :            : {
    3710                 :            :     { 21600, 0 },                                               // p
    3711                 :            :     { 16200, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },       // ccp
    3712                 :            :     { 10800, 2 MSO_I },                                         // p
    3713                 :            :     { 10800, 3 MSO_I }, { 5400, 4 MSO_I }, { 0, 4 MSO_I },      // ccp
    3714                 :            :     { 5400, 4 MSO_I },  { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp
    3715                 :            :     { 10800, 7 MSO_I },                                         // p
    3716                 :            :     { 10800, 8 MSO_I }, { 16200, 21600 }, { 21600, 21600 }      // ccp
    3717                 :            : };
    3718                 :            : static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] =
    3719                 :            : {
    3720                 :            :     { { 13800, 9 MSO_I }, { 21600, 10 MSO_I } }
    3721                 :            : };
    3722                 :            : static const SvxMSDffHandle mso_sptLeftBraceHandle[] =
    3723                 :            : {
    3724                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3725                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 5400 },
    3726                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3727                 :            :         0, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 }
    3728                 :            : };
    3729                 :            : static const mso_CustomShape msoLeftBrace =     // adj value0 0 -> 5400
    3730                 :            : {                                               // adj value1 0 -> 21600
    3731                 :            :     (SvxMSDffVertPair*)mso_sptLeftBraceVert, SAL_N_ELEMENTS( mso_sptLeftBraceVert ),
    3732                 :            :     (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
    3733                 :            :     (SvxMSDffCalculationData*)mso_sptBraceCalc, SAL_N_ELEMENTS( mso_sptBraceCalc ),
    3734                 :            :     (sal_Int32*)mso_sptBraceDefault,
    3735                 :            :     (SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, SAL_N_ELEMENTS( mso_sptLeftBraceTextRect ),
    3736                 :            :     21600, 21600,
    3737                 :            :     MIN_INT32, MIN_INT32,
    3738                 :            :     (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, SAL_N_ELEMENTS( mso_sptLeftBracketGluePoints ),
    3739                 :            :     (SvxMSDffHandle*)mso_sptLeftBraceHandle, SAL_N_ELEMENTS( mso_sptLeftBraceHandle )        // handles
    3740                 :            : };
    3741                 :            : static const SvxMSDffVertPair mso_sptRightBraceVert[] =
    3742                 :            : {
    3743                 :            :     { 0, 0 },                                                   // p
    3744                 :            :     { 5400, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },        // ccp
    3745                 :            :     { 10800, 2 MSO_I },                                         // p
    3746                 :            :     { 10800, 3 MSO_I }, { 16200, 4 MSO_I }, { 21600, 4 MSO_I }, // ccp
    3747                 :            :     { 16200, 4 MSO_I }, { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp
    3748                 :            :     { 10800, 7 MSO_I },                                         // p
    3749                 :            :     { 10800, 8 MSO_I }, { 5400, 21600 }, { 0, 21600 }           // ccp
    3750                 :            : };
    3751                 :            : static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] =
    3752                 :            : {
    3753                 :            :     { { 0, 9 MSO_I }, { 7800, 10 MSO_I } }
    3754                 :            : };
    3755                 :            : static const SvxMSDffHandle mso_sptRightBraceHandle[] =
    3756                 :            : {
    3757                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3758                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 5400 },
    3759                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3760                 :            :         1, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 }
    3761                 :            : };
    3762                 :            : static const mso_CustomShape msoRightBrace =        // adj value0 0 -> 5400
    3763                 :            : {                                               // adj value1 0 -> 21600
    3764                 :            :     (SvxMSDffVertPair*)mso_sptRightBraceVert, SAL_N_ELEMENTS( mso_sptRightBraceVert ),
    3765                 :            :     (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
    3766                 :            :     (SvxMSDffCalculationData*)mso_sptBraceCalc, SAL_N_ELEMENTS( mso_sptBraceCalc ),
    3767                 :            :     (sal_Int32*)mso_sptBraceDefault,
    3768                 :            :     (SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, SAL_N_ELEMENTS( mso_sptRightBraceTextRect ),
    3769                 :            :     21600, 21600,
    3770                 :            :     MIN_INT32, MIN_INT32,
    3771                 :            :     (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, SAL_N_ELEMENTS( mso_sptRightBracketGluePoints ),
    3772                 :            :     (SvxMSDffHandle*)mso_sptRightBraceHandle, SAL_N_ELEMENTS( mso_sptRightBraceHandle )      // handles
    3773                 :            : };
    3774                 :            : 
    3775                 :            : static const SvxMSDffVertPair mso_sptIrregularSeal1Vert[] =
    3776                 :            : {
    3777                 :            :     { 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 },
    3778                 :            :     { 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 },
    3779                 :            :     { 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 },
    3780                 :            :     { 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 },
    3781                 :            :     { 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 },
    3782                 :            :     { 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 }
    3783                 :            : };
    3784                 :            : static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect[] =
    3785                 :            : {
    3786                 :            :     { { 4680, 6570 }, { 16140, 13280 } }
    3787                 :            : };
    3788                 :            : static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints[] =
    3789                 :            : {
    3790                 :            :     { 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 }
    3791                 :            : };
    3792                 :            : static const mso_CustomShape msoIrregularSeal1 =
    3793                 :            : {
    3794                 :            :     (SvxMSDffVertPair*)mso_sptIrregularSeal1Vert, SAL_N_ELEMENTS( mso_sptIrregularSeal1Vert ),
    3795                 :            :     NULL, 0,
    3796                 :            :     NULL, 0,
    3797                 :            :     NULL,
    3798                 :            :     (SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, SAL_N_ELEMENTS( mso_sptIrregularSeal1TextRect ),
    3799                 :            :     21600, 21600,
    3800                 :            :     MIN_INT32, MIN_INT32,
    3801                 :            :     (SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, SAL_N_ELEMENTS( mso_sptIrregularSeal1GluePoints ),
    3802                 :            :     NULL, 0     // handles
    3803                 :            : };
    3804                 :            : 
    3805                 :            : static const SvxMSDffVertPair mso_sptIrregularSeal2Vert[] =
    3806                 :            : {
    3807                 :            :     { 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 },
    3808                 :            :     { 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 },
    3809                 :            :     { 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 },
    3810                 :            :     { 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 },
    3811                 :            :     { 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 },
    3812                 :            :     { 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 },
    3813                 :            :     { 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 },
    3814                 :            :     { 11464, 4340 }
    3815                 :            : };
    3816                 :            : static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect[] =
    3817                 :            : {
    3818                 :            :     { { 5400, 6570 }, { 14160, 15290 } }
    3819                 :            : };
    3820                 :            : static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints[] =
    3821                 :            : {
    3822                 :            :     { 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 }
    3823                 :            : };
    3824                 :            : static const mso_CustomShape msoIrregularSeal2 =
    3825                 :            : {
    3826                 :            :     (SvxMSDffVertPair*)mso_sptIrregularSeal2Vert, SAL_N_ELEMENTS( mso_sptIrregularSeal2Vert ),
    3827                 :            :     NULL, 0,
    3828                 :            :     NULL, 0,
    3829                 :            :     NULL,
    3830                 :            :     (SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, SAL_N_ELEMENTS( mso_sptIrregularSeal2TextRect ),
    3831                 :            :     21600, 21600,
    3832                 :            :     MIN_INT32, MIN_INT32,
    3833                 :            :     (SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, SAL_N_ELEMENTS( mso_sptIrregularSeal2GluePoints ),
    3834                 :            :     NULL, 0     // handles
    3835                 :            : };
    3836                 :            : 
    3837                 :            : static const SvxMSDffVertPair mso_sptSeal4Vert[] =      // adjustment1 : 0 - 10800
    3838                 :            : {
    3839                 :            :     { 0, 10800 }, { 4 MSO_I, 4 MSO_I }, { 10800, 0 }, { 3 MSO_I, 4 MSO_I },
    3840                 :            :     { 21600, 10800 }, { 3 MSO_I, 3 MSO_I }, { 10800, 21600 }, { 4 MSO_I, 3 MSO_I },
    3841                 :            :     { 0, 10800 }
    3842                 :            : };
    3843                 :            : static const SvxMSDffCalculationData mso_sptSeal4Calc[] =
    3844                 :            : {
    3845                 :            :     { 0x0000, { 7600, 0, 0 } },
    3846                 :            :     { 0x6001, { 0x400, DFF_Prop_adjustValue, 10800 } },
    3847                 :            :     { 0xa000, { 0x400, 0, 0x401 } },
    3848                 :            :     { 0x4000, { 10800, 0x402, 0 } },
    3849                 :            :     { 0x8000, { 10800, 0, 0x402 } }
    3850                 :            : };
    3851                 :            : static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] =
    3852                 :            : {
    3853                 :            :     { { 4 MSO_I, 4 MSO_I }, { 3 MSO_I, 3 MSO_I } }
    3854                 :            : };
    3855                 :            : static const SvxMSDffHandle mso_sptSealHandle[] =
    3856                 :            : {
    3857                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    3858                 :            :         0x100, 10800, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    3859                 :            : };
    3860                 :            : static const mso_CustomShape msoSeal4 =
    3861                 :            : {
    3862                 :            :     (SvxMSDffVertPair*)mso_sptSeal4Vert, SAL_N_ELEMENTS( mso_sptSeal4Vert ),
    3863                 :            :     NULL, 0,
    3864                 :            :     (SvxMSDffCalculationData*)mso_sptSeal4Calc, SAL_N_ELEMENTS( mso_sptSeal4Calc ),
    3865                 :            :     (sal_Int32*)mso_sptDefault8100,
    3866                 :            :     (SvxMSDffTextRectangles*)mso_sptSeal4TextRect, SAL_N_ELEMENTS( mso_sptSeal4TextRect ),
    3867                 :            :     21600, 21600,
    3868                 :            :     MIN_INT32, MIN_INT32,
    3869                 :            :     NULL, 0,
    3870                 :            :     (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle )      // handles
    3871                 :            : };
    3872                 :            : 
    3873                 :            : static const SvxMSDffVertPair mso_sptStarVert[] =
    3874                 :            : {
    3875                 :            :     { 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 },
    3876                 :            :     { 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 },
    3877                 :            :     { 21600, 8256 }, { 13321, 8256 }, { 10797, 0 }
    3878                 :            : };
    3879                 :            : static const SvxMSDffTextRectangles mso_sptStarTextRect[] =
    3880                 :            : {
    3881                 :            :     { { 6722, 8256 }, { 14878, 15460 } }
    3882                 :            : };
    3883                 :            : static const mso_CustomShape msoStar =
    3884                 :            : {
    3885                 :            :     (SvxMSDffVertPair*)mso_sptStarVert, SAL_N_ELEMENTS( mso_sptStarVert ),
    3886                 :            :     NULL, 0,
    3887                 :            :     NULL, 0,
    3888                 :            :     NULL,
    3889                 :            :     (SvxMSDffTextRectangles*)mso_sptStarTextRect, SAL_N_ELEMENTS( mso_sptStarTextRect ),
    3890                 :            :     21600, 21600,
    3891                 :            :     MIN_INT32, MIN_INT32,
    3892                 :            :     NULL, 0,
    3893                 :            :     NULL, 0     // handles
    3894                 :            : };
    3895                 :            : 
    3896                 :            : static const SvxMSDffCalculationData mso_sptSeal24Calc[] =
    3897                 :            : {
    3898                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 0x00
    3899                 :            :     { 0x2081, { 0x400, 10800, 315 } },              // 0x01 ( textframe )
    3900                 :            :     { 0x2082, { 0x400, 10800, 315 } },              // 0x02
    3901                 :            :     { 0x2081, { 0x400, 10800, 135 } },              // 0x03
    3902                 :            :     { 0x2082, { 0x400, 10800, 135 } },              // 0x04
    3903                 :            :     { 0x0081, { 0,   10800, 0 } },
    3904                 :            :     { 0x0082, { 0,   10800, 0 } },
    3905                 :            :     { 0x2081, { 0x400, 10800, 7 } },
    3906                 :            :     { 0x2082, { 0x400, 10800, 7 } },
    3907                 :            :     { 0x0081, { 0,   10800, 15 } },
    3908                 :            :     { 0x0082, { 0,   10800, 15 } },
    3909                 :            :     { 0x2081, { 0x400, 10800, 22 } },
    3910                 :            :     { 0x2082, { 0x400, 10800, 22 } },
    3911                 :            :     { 0x0081, { 0,   10800, 30 } },
    3912                 :            :     { 0x0082, { 0,   10800, 30 } },
    3913                 :            :     { 0x2081, { 0x400, 10800, 37 } },
    3914                 :            :     { 0x2082, { 0x400, 10800, 37 } },
    3915                 :            :     { 0x0081, { 0,   10800, 45 } },
    3916                 :            :     { 0x0082, { 0,   10800, 45 } },
    3917                 :            :     { 0x2081, { 0x400, 10800, 52 } },
    3918                 :            :     { 0x2082, { 0x400, 10800, 52 } },
    3919                 :            :     { 0x0081, { 0,   10800, 60 } },
    3920                 :            :     { 0x0082, { 0,   10800, 60 } },
    3921                 :            :     { 0x2081, { 0x400, 10800, 67 } },
    3922                 :            :     { 0x2082, { 0x400, 10800, 67 } },
    3923                 :            :     { 0x0081, { 0,   10800, 75 } },
    3924                 :            :     { 0x0082, { 0,   10800, 75 } },
    3925                 :            :     { 0x2081, { 0x400, 10800, 82 } },
    3926                 :            :     { 0x2082, { 0x400, 10800, 82 } },
    3927                 :            :     { 0x0081, { 0,   10800, 90 } },
    3928                 :            :     { 0x0082, { 0,   10800, 90 } },
    3929                 :            :     { 0x2081, { 0x400, 10800, 97 } },
    3930                 :            :     { 0x2082, { 0x400, 10800, 97 } },
    3931                 :            :     { 0x0081, { 0,   10800, 105 } },
    3932                 :            :     { 0x0082, { 0,   10800, 105 } },
    3933                 :            :     { 0x2081, { 0x400, 10800, 112 } },
    3934                 :            :     { 0x2082, { 0x400, 10800, 112 } },
    3935                 :            :     { 0x0081, { 0,   10800, 120 } },
    3936                 :            :     { 0x0082, { 0,   10800, 120 } },
    3937                 :            :     { 0x2081, { 0x400, 10800, 127 } },
    3938                 :            :     { 0x2082, { 0x400, 10800, 127 } },
    3939                 :            :     { 0x0081, { 0,   10800, 135 } },
    3940                 :            :     { 0x0082, { 0,   10800, 135 } },
    3941                 :            :     { 0x2081, { 0x400, 10800, 142 } },
    3942                 :            :     { 0x2082, { 0x400, 10800, 142 } },
    3943                 :            :     { 0x0081, { 0,   10800, 150 } },
    3944                 :            :     { 0x0082, { 0,   10800, 150 } },
    3945                 :            :     { 0x2081, { 0x400, 10800, 157 } },
    3946                 :            :     { 0x2082, { 0x400, 10800, 157 } },
    3947                 :            :     { 0x0081, { 0,   10800, 165 } },
    3948                 :            :     { 0x0082, { 0,   10800, 165 } },
    3949                 :            :     { 0x2081, { 0x400, 10800, 172 } },
    3950                 :            :     { 0x2082, { 0x400, 10800, 172 } },
    3951                 :            :     { 0x0081, { 0,   10800, 180 } },
    3952                 :            :     { 0x0082, { 0,   10800, 180 } },
    3953                 :            :     { 0x2081, { 0x400, 10800, 187 } },
    3954                 :            :     { 0x2082, { 0x400, 10800, 187 } },
    3955                 :            :     { 0x0081, { 0,   10800, 195 } },
    3956                 :            :     { 0x0082, { 0,   10800, 195 } },
    3957                 :            :     { 0x2081, { 0x400, 10800, 202 } },
    3958                 :            :     { 0x2082, { 0x400, 10800, 202 } },
    3959                 :            :     { 0x0081, { 0,   10800, 210 } },
    3960                 :            :     { 0x0082, { 0,   10800, 210 } },
    3961                 :            :     { 0x2081, { 0x400, 10800, 217 } },
    3962                 :            :     { 0x2082, { 0x400, 10800, 217 } },
    3963                 :            :     { 0x0081, { 0,   10800, 225 } },
    3964                 :            :     { 0x0082, { 0,   10800, 225 } },
    3965                 :            :     { 0x2081, { 0x400, 10800, 232 } },
    3966                 :            :     { 0x2082, { 0x400, 10800, 232 } },
    3967                 :            :     { 0x0081, { 0,   10800, 240 } },
    3968                 :            :     { 0x0082, { 0,   10800, 240 } },
    3969                 :            :     { 0x2081, { 0x400, 10800, 247 } },
    3970                 :            :     { 0x2082, { 0x400, 10800, 247 } },
    3971                 :            :     { 0x0081, { 0,   10800, 255 } },
    3972                 :            :     { 0x0082, { 0,   10800, 255 } },
    3973                 :            :     { 0x2081, { 0x400, 10800, 262 } },
    3974                 :            :     { 0x2082, { 0x400, 10800, 262 } },
    3975                 :            :     { 0x0081, { 0,   10800, 270 } },
    3976                 :            :     { 0x0082, { 0,   10800, 270 } },
    3977                 :            :     { 0x2081, { 0x400, 10800, 277 } },
    3978                 :            :     { 0x2082, { 0x400, 10800, 277 } },
    3979                 :            :     { 0x0081, { 0,   10800, 285 } },
    3980                 :            :     { 0x0082, { 0,   10800, 285 } },
    3981                 :            :     { 0x2081, { 0x400, 10800, 292 } },
    3982                 :            :     { 0x2082, { 0x400, 10800, 292 } },
    3983                 :            :     { 0x0081, { 0,   10800, 300 } },
    3984                 :            :     { 0x0082, { 0,   10800, 300 } },
    3985                 :            :     { 0x2081, { 0x400, 10800, 307 } },
    3986                 :            :     { 0x2082, { 0x400, 10800, 307 } },
    3987                 :            :     { 0x0081, { 0,   10800, 315 } },
    3988                 :            :     { 0x0082, { 0,   10800, 315 } },
    3989                 :            :     { 0x2081, { 0x400, 10800, 322 } },
    3990                 :            :     { 0x2082, { 0x400, 10800, 322 } },
    3991                 :            :     { 0x0081, { 0,   10800, 330 } },
    3992                 :            :     { 0x0082, { 0,   10800, 330 } },
    3993                 :            :     { 0x2081, { 0x400, 10800, 337 } },
    3994                 :            :     { 0x2082, { 0x400, 10800, 337 } },
    3995                 :            :     { 0x0081, { 0,   10800, 345 } },
    3996                 :            :     { 0x0082, { 0,   10800, 345 } },
    3997                 :            :     { 0x2081, { 0x400, 10800, 352 } },
    3998                 :            :     { 0x2082, { 0x400, 10800, 352 } }
    3999                 :            : };
    4000                 :            : static const SvxMSDffVertPair mso_sptSeal8Vert[] =  // adj value 0 -> 10800
    4001                 :            : {
    4002                 :            :     { 5 MSO_I, 6 MSO_I }, { 11 MSO_I, 12 MSO_I }, { 17 MSO_I, 18 MSO_I }, { 23 MSO_I, 24 MSO_I },
    4003                 :            :     { 29 MSO_I, 30 MSO_I }, { 35 MSO_I, 36 MSO_I }, { 41 MSO_I, 42 MSO_I }, { 47 MSO_I, 48 MSO_I },
    4004                 :            :     { 53 MSO_I, 54 MSO_I }, { 59 MSO_I, 60 MSO_I }, { 65 MSO_I, 66 MSO_I }, { 71 MSO_I, 72 MSO_I },
    4005                 :            :     { 77 MSO_I, 78 MSO_I }, { 83 MSO_I, 84 MSO_I }, { 89 MSO_I, 90 MSO_I }, { 95 MSO_I, 96 MSO_I },
    4006                 :            :     { 5 MSO_I, 6 MSO_I }
    4007                 :            : };
    4008                 :            : static const SvxMSDffTextRectangles mso_sptSealTextRect[] =
    4009                 :            : {
    4010                 :            :     { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
    4011                 :            : };
    4012                 :            : static const mso_CustomShape msoSeal8 =
    4013                 :            : {
    4014                 :            :     (SvxMSDffVertPair*)mso_sptSeal8Vert, SAL_N_ELEMENTS( mso_sptSeal8Vert ),
    4015                 :            :     NULL, 0,
    4016                 :            :     (SvxMSDffCalculationData*)mso_sptSeal24Calc, SAL_N_ELEMENTS( mso_sptSeal24Calc ),
    4017                 :            :     (sal_Int32*)mso_sptDefault2500,
    4018                 :            :     (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ),
    4019                 :            :     21600, 21600,
    4020                 :            :     MIN_INT32, MIN_INT32,
    4021                 :            :     NULL, 0,
    4022                 :            :     (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle )      // handles
    4023                 :            : };
    4024                 :            : static const SvxMSDffVertPair mso_sptSeal16Vert[] = // adj value 0 -> 10800
    4025                 :            : {
    4026                 :            :     { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
    4027                 :            :     { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
    4028                 :            :     { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
    4029                 :            :     { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
    4030                 :            :     { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
    4031                 :            :     { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
    4032                 :            :     { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
    4033                 :            :     { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
    4034                 :            :     { 0x05 MSO_I, 0x06 MSO_I }
    4035                 :            : };
    4036                 :            : static const SvxMSDffCalculationData mso_sptSeal16Calc[] =
    4037                 :            : {
    4038                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 0x00
    4039                 :            :     { 0x2081, { 0x400, 10800, 315 } },              // 0x01 ( textframe )
    4040                 :            :     { 0x2082, { 0x400, 10800, 315 } },              // 0x02
    4041                 :            :     { 0x2081, { 0x400, 10800, 135 } },              // 0x03
    4042                 :            :     { 0x2082, { 0x400, 10800, 135 } },              // 0x04
    4043                 :            :     { 0x0081, { 0,   10800, 0 } },
    4044                 :            :     { 0x0082, { 0,   10800, 0 } },
    4045                 :            :     { 0x2081, { 0x400, 10800, 11 } },
    4046                 :            :     { 0x2082, { 0x400, 10800, 11 } },
    4047                 :            :     { 0x0081, { 0,   10800, 22 } },
    4048                 :            :     { 0x0082, { 0,   10800, 22 } },
    4049                 :            :     { 0x2081, { 0x400, 10800, 33 } },
    4050                 :            :     { 0x2082, { 0x400, 10800, 33 } },
    4051                 :            :     { 0x0081, { 0,   10800, 45 } },
    4052                 :            :     { 0x0082, { 0,   10800, 45 } },
    4053                 :            :     { 0x2081, { 0x400, 10800, 56 } },
    4054                 :            :     { 0x2082, { 0x400, 10800, 56 } },
    4055                 :            :     { 0x0081, { 0,   10800, 67 } },
    4056                 :            :     { 0x0082, { 0,   10800, 67 } },
    4057                 :            :     { 0x2081, { 0x400, 10800, 78 } },
    4058                 :            :     { 0x2082, { 0x400, 10800, 78 } },
    4059                 :            :     { 0x0081, { 0,   10800, 90 } },
    4060                 :            :     { 0x0082, { 0,   10800, 90 } },
    4061                 :            :     { 0x2081, { 0x400, 10800, 101 } },
    4062                 :            :     { 0x2082, { 0x400, 10800, 101 } },
    4063                 :            :     { 0x0081, { 0,   10800, 112 } },
    4064                 :            :     { 0x0082, { 0,   10800, 112 } },
    4065                 :            :     { 0x2081, { 0x400, 10800, 123 } },
    4066                 :            :     { 0x2082, { 0x400, 10800, 123 } },
    4067                 :            :     { 0x0081, { 0,   10800, 135 } },
    4068                 :            :     { 0x0082, { 0,   10800, 135 } },
    4069                 :            :     { 0x2081, { 0x400, 10800, 146 } },
    4070                 :            :     { 0x2082, { 0x400, 10800, 146 } },
    4071                 :            :     { 0x0081, { 0,   10800, 157 } },
    4072                 :            :     { 0x0082, { 0,   10800, 157 } },
    4073                 :            :     { 0x2081, { 0x400, 10800, 168 } },
    4074                 :            :     { 0x2082, { 0x400, 10800, 168 } },
    4075                 :            :     { 0x0081, { 0,   10800, 180 } },
    4076                 :            :     { 0x0082, { 0,   10800, 180 } },
    4077                 :            :     { 0x2081, { 0x400, 10800, 191 } },
    4078                 :            :     { 0x2082, { 0x400, 10800, 191 } },
    4079                 :            :     { 0x0081, { 0,   10800, 202 } },
    4080                 :            :     { 0x0082, { 0,   10800, 202 } },
    4081                 :            :     { 0x2081, { 0x400, 10800, 213 } },
    4082                 :            :     { 0x2082, { 0x400, 10800, 213 } },
    4083                 :            :     { 0x0081, { 0,   10800, 225 } },
    4084                 :            :     { 0x0082, { 0,   10800, 225 } },
    4085                 :            :     { 0x2081, { 0x400, 10800, 236 } },
    4086                 :            :     { 0x2082, { 0x400, 10800, 236 } },
    4087                 :            :     { 0x0081, { 0,   10800, 247 } },
    4088                 :            :     { 0x0082, { 0,   10800, 247 } },
    4089                 :            :     { 0x2081, { 0x400, 10800, 258 } },
    4090                 :            :     { 0x2082, { 0x400, 10800, 258 } },
    4091                 :            :     { 0x0081, { 0,   10800, 270 } },
    4092                 :            :     { 0x0082, { 0,   10800, 270 } },
    4093                 :            :     { 0x2081, { 0x400, 10800, 281 } },
    4094                 :            :     { 0x2082, { 0x400, 10800, 281 } },
    4095                 :            :     { 0x0081, { 0,   10800, 292 } },
    4096                 :            :     { 0x0082, { 0,   10800, 292 } },
    4097                 :            :     { 0x2081, { 0x400, 10800, 303 } },
    4098                 :            :     { 0x2082, { 0x400, 10800, 303 } },
    4099                 :            :     { 0x0081, { 0,   10800, 315 } },
    4100                 :            :     { 0x0082, { 0,   10800, 315 } },
    4101                 :            :     { 0x2081, { 0x400, 10800, 326 } },
    4102                 :            :     { 0x2082, { 0x400, 10800, 326 } },
    4103                 :            :     { 0x0081, { 0,   10800, 337 } },
    4104                 :            :     { 0x0082, { 0,   10800, 337 } },
    4105                 :            :     { 0x2081, { 0x400, 10800, 348 } },
    4106                 :            :     { 0x2082, { 0x400, 10800, 348 } }
    4107                 :            : };
    4108                 :            : static const mso_CustomShape msoSeal16 =
    4109                 :            : {
    4110                 :            :     (SvxMSDffVertPair*)mso_sptSeal16Vert, SAL_N_ELEMENTS( mso_sptSeal16Vert ),
    4111                 :            :     NULL, 0,
    4112                 :            :     (SvxMSDffCalculationData*)mso_sptSeal16Calc, SAL_N_ELEMENTS( mso_sptSeal16Calc ),
    4113                 :            :     (sal_Int32*)mso_sptDefault2500,
    4114                 :            :     (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ),
    4115                 :            :     21600, 21600,
    4116                 :            :     MIN_INT32, MIN_INT32,
    4117                 :            :     NULL, 0,
    4118                 :            :     (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle )      // handles
    4119                 :            : };
    4120                 :            : static const SvxMSDffVertPair mso_sptSeal24Vert[] =
    4121                 :            : {
    4122                 :            :     { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
    4123                 :            :     { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
    4124                 :            :     { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
    4125                 :            :     { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
    4126                 :            :     { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
    4127                 :            :     { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
    4128                 :            :     { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
    4129                 :            :     { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
    4130                 :            :     { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
    4131                 :            :     { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
    4132                 :            :     { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
    4133                 :            :     { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
    4134                 :            :     { 0x05 MSO_I, 0x06 MSO_I }
    4135                 :            : };
    4136                 :            : static const mso_CustomShape msoSeal24 =
    4137                 :            : {
    4138                 :            :     (SvxMSDffVertPair*)mso_sptSeal24Vert, SAL_N_ELEMENTS( mso_sptSeal24Vert ),
    4139                 :            :     NULL, 0,
    4140                 :            :     (SvxMSDffCalculationData*)mso_sptSeal24Calc, SAL_N_ELEMENTS( mso_sptSeal24Calc ),
    4141                 :            :     (sal_Int32*)mso_sptDefault2500,
    4142                 :            :     (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ),
    4143                 :            :     21600, 21600,
    4144                 :            :     MIN_INT32, MIN_INT32,
    4145                 :            :     NULL, 0,
    4146                 :            :     (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle )      // handles
    4147                 :            : };
    4148                 :            : static const SvxMSDffCalculationData mso_sptSeal32Calc[] =
    4149                 :            : {
    4150                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 0x00
    4151                 :            :     { 0x2081, { 0x400, 10800, 315 } },              // 0x01 ( textframe )
    4152                 :            :     { 0x2082, { 0x400, 10800, 315 } },              // 0x02
    4153                 :            :     { 0x2081, { 0x400, 10800, 135 } },              // 0x03
    4154                 :            :     { 0x2082, { 0x400, 10800, 135 } },              // 0x04
    4155                 :            :     { 0x0081, { 0,   10800, 0 } },
    4156                 :            :     { 0x0082, { 0,   10800, 0 } },
    4157                 :            :     { 0x2081, { 0x400, 10800, 5 } },
    4158                 :            :     { 0x2082, { 0x400, 10800, 5 } },
    4159                 :            :     { 0x0081, { 0,   10800, 11 } },
    4160                 :            :     { 0x0082, { 0,   10800, 11 } },
    4161                 :            :     { 0x2081, { 0x400, 10800, 16 } },
    4162                 :            :     { 0x2082, { 0x400, 10800, 16 } },
    4163                 :            :     { 0x0081, { 0,   10800, 22 } },
    4164                 :            :     { 0x0082, { 0,   10800, 22 } },
    4165                 :            :     { 0x2081, { 0x400, 10800, 28 } },
    4166                 :            :     { 0x2082, { 0x400, 10800, 28 } },
    4167                 :            :     { 0x0081, { 0,   10800, 33 } },
    4168                 :            :     { 0x0082, { 0,   10800, 33 } },
    4169                 :            :     { 0x2081, { 0x400, 10800, 39 } },
    4170                 :            :     { 0x2082, { 0x400, 10800, 39 } },
    4171                 :            :     { 0x0081, { 0,   10800, 45 } },
    4172                 :            :     { 0x0082, { 0,   10800, 45 } },
    4173                 :            :     { 0x2081, { 0x400, 10800, 50 } },
    4174                 :            :     { 0x2082, { 0x400, 10800, 50 } },
    4175                 :            :     { 0x0081, { 0,   10800, 56 } },
    4176                 :            :     { 0x0082, { 0,   10800, 56 } },
    4177                 :            :     { 0x2081, { 0x400, 10800, 61 } },
    4178                 :            :     { 0x2082, { 0x400, 10800, 61 } },
    4179                 :            :     { 0x0081, { 0,   10800, 67 } },
    4180                 :            :     { 0x0082, { 0,   10800, 67 } },
    4181                 :            :     { 0x2081, { 0x400, 10800, 73 } },
    4182                 :            :     { 0x2082, { 0x400, 10800, 73 } },
    4183                 :            :     { 0x0081, { 0,   10800, 78 } },
    4184                 :            :     { 0x0082, { 0,   10800, 78 } },
    4185                 :            :     { 0x2081, { 0x400, 10800, 84 } },
    4186                 :            :     { 0x2082, { 0x400, 10800, 84 } },
    4187                 :            :     { 0x0081, { 0,   10800, 90 } },
    4188                 :            :     { 0x0082, { 0,   10800, 90 } },
    4189                 :            :     { 0x2081, { 0x400, 10800, 95 } },
    4190                 :            :     { 0x2082, { 0x400, 10800, 95 } },
    4191                 :            :     { 0x0081, { 0,   10800, 101 } },
    4192                 :            :     { 0x0082, { 0,   10800, 101 } },
    4193                 :            :     { 0x2081, { 0x400, 10800, 106 } },
    4194                 :            :     { 0x2082, { 0x400, 10800, 106 } },
    4195                 :            :     { 0x0081, { 0,   10800, 112 } },
    4196                 :            :     { 0x0082, { 0,   10800, 112 } },
    4197                 :            :     { 0x2081, { 0x400, 10800, 118 } },
    4198                 :            :     { 0x2082, { 0x400, 10800, 118 } },
    4199                 :            :     { 0x0081, { 0,   10800, 123 } },
    4200                 :            :     { 0x0082, { 0,   10800, 123 } },
    4201                 :            :     { 0x2081, { 0x400, 10800, 129 } },
    4202                 :            :     { 0x2082, { 0x400, 10800, 129 } },
    4203                 :            :     { 0x0081, { 0,   10800, 135 } },
    4204                 :            :     { 0x0082, { 0,   10800, 135 } },
    4205                 :            :     { 0x2081, { 0x400, 10800, 140 } },
    4206                 :            :     { 0x2082, { 0x400, 10800, 140 } },
    4207                 :            :     { 0x0081, { 0,   10800, 146 } },
    4208                 :            :     { 0x0082, { 0,   10800, 146 } },
    4209                 :            :     { 0x2081, { 0x400, 10800, 151 } },
    4210                 :            :     { 0x2082, { 0x400, 10800, 151 } },
    4211                 :            :     { 0x0081, { 0,   10800, 157 } },
    4212                 :            :     { 0x0082, { 0,   10800, 157 } },
    4213                 :            :     { 0x2081, { 0x400, 10800, 163 } },
    4214                 :            :     { 0x2082, { 0x400, 10800, 163 } },
    4215                 :            :     { 0x0081, { 0,   10800, 168 } },
    4216                 :            :     { 0x0082, { 0,   10800, 168 } },
    4217                 :            :     { 0x2081, { 0x400, 10800, 174 } },
    4218                 :            :     { 0x2082, { 0x400, 10800, 174 } },
    4219                 :            :     { 0x0081, { 0,   10800, 180 } },
    4220                 :            :     { 0x0082, { 0,   10800, 180 } },
    4221                 :            :     { 0x2081, { 0x400, 10800, 185 } },
    4222                 :            :     { 0x2082, { 0x400, 10800, 185 } },
    4223                 :            :     { 0x0081, { 0,   10800, 191 } },
    4224                 :            :     { 0x0082, { 0,   10800, 191 } },
    4225                 :            :     { 0x2081, { 0x400, 10800, 196 } },
    4226                 :            :     { 0x2082, { 0x400, 10800, 196 } },
    4227                 :            :     { 0x0081, { 0,   10800, 202 } },
    4228                 :            :     { 0x0082, { 0,   10800, 202 } },
    4229                 :            :     { 0x2081, { 0x400, 10800, 208 } },
    4230                 :            :     { 0x2082, { 0x400, 10800, 208 } },
    4231                 :            :     { 0x0081, { 0,   10800, 213 } },
    4232                 :            :     { 0x0082, { 0,   10800, 213 } },
    4233                 :            :     { 0x2081, { 0x400, 10800, 219 } },
    4234                 :            :     { 0x2082, { 0x400, 10800, 219 } },
    4235                 :            :     { 0x0081, { 0,   10800, 225 } },
    4236                 :            :     { 0x0082, { 0,   10800, 225 } },
    4237                 :            :     { 0x2081, { 0x400, 10800, 230 } },
    4238                 :            :     { 0x2082, { 0x400, 10800, 230 } },
    4239                 :            :     { 0x0081, { 0,   10800, 236 } },
    4240                 :            :     { 0x0082, { 0,   10800, 236 } },
    4241                 :            :     { 0x2081, { 0x400, 10800, 241 } },
    4242                 :            :     { 0x2082, { 0x400, 10800, 241 } },
    4243                 :            :     { 0x0081, { 0,   10800, 247 } },
    4244                 :            :     { 0x0082, { 0,   10800, 247 } },
    4245                 :            :     { 0x2081, { 0x400, 10800, 253 } },
    4246                 :            :     { 0x2082, { 0x400, 10800, 253 } },
    4247                 :            :     { 0x0081, { 0,   10800, 258 } },
    4248                 :            :     { 0x0082, { 0,   10800, 258 } },
    4249                 :            :     { 0x2081, { 0x400, 10800, 264 } },
    4250                 :            :     { 0x2082, { 0x400, 10800, 264 } },
    4251                 :            :     { 0x0081, { 0,   10800, 270 } },
    4252                 :            :     { 0x0082, { 0,   10800, 270 } },
    4253                 :            :     { 0x2081, { 0x400, 10800, 275 } },
    4254                 :            :     { 0x2082, { 0x400, 10800, 275 } },
    4255                 :            :     { 0x0081, { 0,   10800, 281 } },
    4256                 :            :     { 0x0082, { 0,   10800, 281 } },
    4257                 :            :     { 0x2081, { 0x400, 10800, 286 } },
    4258                 :            :     { 0x2082, { 0x400, 10800, 286 } },
    4259                 :            :     { 0x0081, { 0,   10800, 292 } },
    4260                 :            :     { 0x0082, { 0,   10800, 292 } },
    4261                 :            :     { 0x2081, { 0x400, 10800, 298 } },
    4262                 :            :     { 0x2082, { 0x400, 10800, 298 } },
    4263                 :            :     { 0x0081, { 0,   10800, 303 } },
    4264                 :            :     { 0x0082, { 0,   10800, 303 } },
    4265                 :            :     { 0x2081, { 0x400, 10800, 309 } },
    4266                 :            :     { 0x2082, { 0x400, 10800, 309 } },
    4267                 :            :     { 0x0081, { 0,   10800, 315 } },
    4268                 :            :     { 0x0082, { 0,   10800, 315 } },
    4269                 :            :     { 0x2081, { 0x400, 10800, 320 } },
    4270                 :            :     { 0x2082, { 0x400, 10800, 320 } },
    4271                 :            :     { 0x0081, { 0,   10800, 326 } },
    4272                 :            :     { 0x0082, { 0,   10800, 326 } },
    4273                 :            :     { 0x2081, { 0x400, 10800, 331 } },
    4274                 :            :     { 0x2082, { 0x400, 10800, 331 } },
    4275                 :            :     { 0x0081, { 0,   10800, 337 } },
    4276                 :            :     { 0x0082, { 0,   10800, 337 } },
    4277                 :            :     { 0x2081, { 0x400, 10800, 343 } },
    4278                 :            :     { 0x2082, { 0x400, 10800, 343 } },
    4279                 :            :     { 0x0081, { 0,   10800, 348 } },
    4280                 :            :     { 0x0082, { 0,   10800, 348 } },
    4281                 :            :     { 0x2081, { 0x400, 10800, 354 } },
    4282                 :            :     { 0x2082, { 0x400, 10800, 354 } }
    4283                 :            : };
    4284                 :            : static const SvxMSDffVertPair mso_sptSeal32Vert[] =
    4285                 :            : {
    4286                 :            :     { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
    4287                 :            :     { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
    4288                 :            :     { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
    4289                 :            :     { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
    4290                 :            :     { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
    4291                 :            :     { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
    4292                 :            :     { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
    4293                 :            :     { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
    4294                 :            :     { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
    4295                 :            :     { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
    4296                 :            :     { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
    4297                 :            :     { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
    4298                 :            :     { 0x65 MSO_I, 0x66 MSO_I }, { 0x67 MSO_I, 0x68 MSO_I }, { 0x69 MSO_I, 0x6a MSO_I }, { 0x6b MSO_I, 0x6c MSO_I },
    4299                 :            :     { 0x6d MSO_I, 0x6e MSO_I }, { 0x6f MSO_I, 0x70 MSO_I }, { 0x71 MSO_I, 0x72 MSO_I }, { 0x73 MSO_I, 0x74 MSO_I },
    4300                 :            :     { 0x75 MSO_I, 0x76 MSO_I }, { 0x77 MSO_I, 0x78 MSO_I }, { 0x79 MSO_I, 0x7a MSO_I }, { 0x7b MSO_I, 0x7c MSO_I },
    4301                 :            :     { 0x7d MSO_I, 0x7e MSO_I }, { 0x7f MSO_I, 0x80 MSO_I }, { 0x81 MSO_I, 0x82 MSO_I }, { 0x83 MSO_I, 0x84 MSO_I },
    4302                 :            :     { 0x05 MSO_I, 0x06 MSO_I }
    4303                 :            : };
    4304                 :            : static const mso_CustomShape msoSeal32 =
    4305                 :            : {
    4306                 :            :     (SvxMSDffVertPair*)mso_sptSeal32Vert, SAL_N_ELEMENTS( mso_sptSeal32Vert ),
    4307                 :            :     NULL, 0,
    4308                 :            :     (SvxMSDffCalculationData*)mso_sptSeal32Calc, SAL_N_ELEMENTS( mso_sptSeal32Calc ),
    4309                 :            :     (sal_Int32*)mso_sptDefault2500,
    4310                 :            :     (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ),
    4311                 :            :     21600, 21600,
    4312                 :            :     MIN_INT32, MIN_INT32,
    4313                 :            :     NULL, 0,
    4314                 :            :     (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle )
    4315                 :            : };
    4316                 :            : 
    4317                 :            : static const SvxMSDffVertPair mso_sptRibbon2Vert[] =    // adjustment1 : x 2700  - 8100     def 5400
    4318                 :            : {                                                       // adjustment2 : y 14400 - 21600    def 18900
    4319                 :            :     { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },                                      // pp
    4320                 :            :     { 12 MSO_I, 14 MSO_I }, { 15 MSO_I, 21600 }, { 16 MSO_I, 21600 },                   // ccp
    4321                 :            :     { 0, 21600 }, { 2750, 7 MSO_I }, { 0, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },              // pppp
    4322                 :            :     { 0 MSO_I, 4 MSO_I },                                                               // p
    4323                 :            :     { 0 MSO_I, 5 MSO_I }, { 10 MSO_I, 0 }, { 11 MSO_I, 0 },                             // ccp
    4324                 :            :     { 17 MSO_I, 0 },                                                                    // p
    4325                 :            :     { 18 MSO_I, 0 }, { 19 MSO_I, 5 MSO_I }, { 19 MSO_I, 4 MSO_I },                      // ccp
    4326                 :            :     { 19 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }, { 18850, 7 MSO_I }, { 21600, 21600 },    // pppp
    4327                 :            :     { 20 MSO_I, 21600 },                                                                // p
    4328                 :            :     { 21 MSO_I, 21600 }, { 22 MSO_I, 14 MSO_I }, { 22 MSO_I, 13 MSO_I },                // ccp
    4329                 :            :     { 22 MSO_I, 1 MSO_I }, { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },               // ppp
    4330                 :            :     { 12 MSO_I, 23 MSO_I }, { 15 MSO_I, 24 MSO_I }, { 16 MSO_I, 24 MSO_I },             // ccp
    4331                 :            :     { 11 MSO_I, 24 MSO_I },                                                             // p
    4332                 :            :     { 10 MSO_I, 24 MSO_I }, { 0 MSO_I, 26 MSO_I }, { 0 MSO_I, 25 MSO_I },               // ccp
    4333                 :            :     { 0 MSO_I, 27 MSO_I }, { 10 MSO_I, 1 MSO_I }, { 11 MSO_I, 1 MSO_I },                // ccp
    4334                 :            : 
    4335                 :            :     { 22 MSO_I, 1 MSO_I }, { 22 MSO_I, 13 MSO_I },                                      // pp
    4336                 :            :     { 22 MSO_I, 23 MSO_I }, { 21 MSO_I, 24 MSO_I }, { 20 MSO_I, 24 MSO_I },             // ccp
    4337                 :            :     { 17 MSO_I, 24 MSO_I },                                                             // p
    4338                 :            :     { 18 MSO_I, 24 MSO_I }, { 19 MSO_I, 26 MSO_I }, { 19 MSO_I, 25 MSO_I },             // ccp
    4339                 :            :     { 19 MSO_I, 27 MSO_I }, { 18 MSO_I, 1 MSO_I }, { 17 MSO_I, 1 MSO_I },               // ccp
    4340                 :            : 
    4341                 :            :     { 0 MSO_I, 25 MSO_I }, { 0 MSO_I, 2 MSO_I },                                        // pp
    4342                 :            : 
    4343                 :            :     { 19 MSO_I, 25 MSO_I }, { 19 MSO_I, 2 MSO_I }                                       // pp
    4344                 :            : };
    4345                 :            : static const sal_uInt16 mso_sptRibbon2Segm[] =
    4346                 :            : {
    4347                 :            :     0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000,
    4348                 :            :     0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
    4349                 :            :     0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
    4350                 :            :     0x4000, 0x0001, 0x8000,
    4351                 :            :     0x4000, 0x0001, 0x8000
    4352                 :            : };
    4353                 :            : static const SvxMSDffCalculationData mso_sptRibbon2Calc[] =
    4354                 :            : {
    4355                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },             // 00
    4356                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },            // 01
    4357                 :            :     { 0x8000, { 21600, 0, 0x401 } },                        // 02
    4358                 :            :     { 0x2001, { 0x402, 1, 2 } },                            // 03
    4359                 :            :     { 0x2001, { 0x403, 1, 2 } },                            // 04
    4360                 :            :     { 0x2001, { 0x404, 1, 2 } },                            // 05
    4361                 :            :     { 0x2001, { 0x401, 1, 2 } },                            // 06
    4362                 :            :     { 0x8000, { 21600, 0, 0x406 } },                        // 07
    4363                 :            :     { 0x0000, { 420, 0, 0 } },                              // 08
    4364                 :            :     { 0x2001, { 0x408, 2, 1 } },                            // 09
    4365                 :            :     { 0x6000, { 0x400, 0x408, 0 } },                        // 10
    4366                 :            :     { 0x6000, { 0x400, 0x409, 0 } },                        // 11
    4367                 :            :     { 0x2000, { 0x400, 2700, 0 } },                         // 12
    4368                 :            :     { 0x8000, { 21600, 0, 0x404 } },                        // 13
    4369                 :            :     { 0x8000, { 21600, 0, 0x405 } },                        // 14
    4370                 :            :     { 0xa000, { 0x40c, 0, 0x408 } },                        // 15
    4371                 :            :     { 0xa000, { 0x40c, 0, 0x409 } },                        // 16
    4372                 :            : 
    4373                 :            :     { 0x8000, { 21600, 0, 0x40b } },                        // 17
    4374                 :            :     { 0x8000, { 21600, 0, 0x40a } },                        // 18
    4375                 :            :     { 0x8000, { 21600, 0, 0x400 } },                        // 19
    4376                 :            :     { 0x8000, { 21600, 0, 0x410 } },                        // 20
    4377                 :            :     { 0x8000, { 21600, 0, 0x40f } },                        // 21
    4378                 :            :     { 0x8000, { 21600, 0, 0x40c } },                        // 22
    4379                 :            : 
    4380                 :            :     { 0xa000, { 0x40d, 0, 0x405 } },                        // 23
    4381                 :            :     { 0x6000, { 0x401, 0x403, 0 } },                        // 24
    4382                 :            :     { 0x6000, { 0x401, 0x404, 0 } },                        // 25
    4383                 :            :     { 0x6000, { 0x419, 0x405, 0 } },                        // 26
    4384                 :            :     { 0xa000, { 0x419, 0, 0x405 } }                         // 27
    4385                 :            : };
    4386                 :            : static const sal_Int32 mso_sptRibbon2Default[] =
    4387                 :            : {
    4388                 :            :     2, 5400, 18900
    4389                 :            : };
    4390                 :            : static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] =
    4391                 :            : {
    4392                 :            :     { { 0 MSO_I, 0 }, { 19 MSO_I, 1 MSO_I } }
    4393                 :            : };
    4394                 :            : static const SvxMSDffHandle mso_sptRibbon2Handle[] =
    4395                 :            : {
    4396                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4397                 :            :         0x100, 0, 10800, 10800, 2700, 8100, MIN_INT32, 0x7fffffff },
    4398                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4399                 :            :         10800, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 14400, 21600 }
    4400                 :            : };
    4401                 :            : static const mso_CustomShape msoRibbon2 =
    4402                 :            : {
    4403                 :            :     (SvxMSDffVertPair*)mso_sptRibbon2Vert, SAL_N_ELEMENTS( mso_sptRibbon2Vert ),
    4404                 :            :     (sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1,
    4405                 :            :     (SvxMSDffCalculationData*)mso_sptRibbon2Calc, SAL_N_ELEMENTS( mso_sptRibbon2Calc ),
    4406                 :            :     (sal_Int32*)mso_sptRibbon2Default,
    4407                 :            :     (SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, SAL_N_ELEMENTS( mso_sptRibbon2TextRect ),
    4408                 :            :     21600, 21600,
    4409                 :            :     MIN_INT32, MIN_INT32,
    4410                 :            :     NULL, 0,
    4411                 :            :     (SvxMSDffHandle*)mso_sptRibbon2Handle, SAL_N_ELEMENTS( mso_sptRibbon2Handle )
    4412                 :            : };
    4413                 :            : 
    4414                 :            : static const SvxMSDffVertPair mso_sptRibbonVert[] =
    4415                 :            : {
    4416                 :            :     { 0, 0 }, { 3 MSO_I, 0 },
    4417                 :            :     { 4 MSO_I, 11 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I },
    4418                 :            :     { 6 MSO_I, 0 }, { 21600, 0 }, { 18 MSO_I, 14 MSO_I }, { 21600, 15 MSO_I }, { 9 MSO_I, 15 MSO_I }, { 9 MSO_I, 16 MSO_I }, { 8 MSO_I, 21600 }, { 1 MSO_I, 21600 },
    4419                 :            :     { 0 MSO_I, 16 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 0, 15 MSO_I }, { 2700, 14 MSO_I },
    4420                 :            : 
    4421                 :            :     { 4 MSO_I, 11 MSO_I },
    4422                 :            :     { 3 MSO_I, 12 MSO_I }, { 1 MSO_I, 12 MSO_I },
    4423                 :            :     { 0 MSO_I, 13 MSO_I }, { 1 MSO_I, 10 MSO_I }, { 4 MSO_I, 10 MSO_I },
    4424                 :            :     { 5 MSO_I, 11 MSO_I },
    4425                 :            :     { 6 MSO_I, 12 MSO_I }, { 8 MSO_I, 12 MSO_I },
    4426                 :            :     { 9 MSO_I, 13 MSO_I }, { 8 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I },
    4427                 :            :     { 0 MSO_I, 13 MSO_I },
    4428                 :            :     { 0 MSO_I, 15 MSO_I },
    4429                 :            :     { 9 MSO_I, 13 MSO_I },
    4430                 :            :     { 9 MSO_I, 15 MSO_I }
    4431                 :            : };
    4432                 :            : static const sal_uInt16 mso_sptRibbonSegm[] =
    4433                 :            : {
    4434                 :            :     0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000,
    4435                 :            :     0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
    4436                 :            :     0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
    4437                 :            :     0x4000, 0xaa00, 0x0001, 0x8000,
    4438                 :            :     0x4000, 0xaa00, 0x0001, 0x8000
    4439                 :            : };
    4440                 :            : static const SvxMSDffCalculationData mso_sptRibbonCalc[] =
    4441                 :            : {
    4442                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },             // 00
    4443                 :            :     { 0x2000, { 0x400, 675, 0 } },                          // 01
    4444                 :            :     { 0x2000, { 0x401, 675, 0 } },                          // 02
    4445                 :            :     { 0x2000, { 0x402, 675, 0 } },                          // 03
    4446                 :            :     { 0x2000, { 0x403, 675, 0 } },                          // 04
    4447                 :            :     { 0x8000, { 21600, 0, 0x404 } },                        // 05
    4448                 :            :     { 0x8000, { 21600, 0, 0x403 } },                        // 06
    4449                 :            :     { 0x8000, { 21600, 0, 0x402 } },                        // 07
    4450                 :            :     { 0x8000, { 21600, 0, 0x401 } },                        // 08
    4451                 :            :     { 0x8000, { 21600, 0, 0x400 } },                        // 09
    4452                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },            // 10
    4453                 :            :     { 0x2001, { 0x40a, 1, 4 } },                            // 11
    4454                 :            :     { 0x2001, { 0x40b, 2, 1 } },                            // 12
    4455                 :            :     { 0x2001, { 0x40b, 3, 1 } },                            // 13
    4456                 :            :     { 0x8000, { 10800, 0, 0x40c } },                        // 14
    4457                 :            :     { 0x8000, { 21600, 0, 0x40a } },                        // 15
    4458                 :            :     { 0x8000, { 21600, 0, 0x40b } },                        // 16
    4459                 :            :     { 0x0001, { 21600, 1, 2 } },                            // 17
    4460                 :            :     { 0x0000, { 21600, 0, 2700 } },                         // 18
    4461                 :            :     { 0x2000, { 0x411, 0, 2700 } }                          // 19
    4462                 :            : };
    4463                 :            : static const sal_Int32 mso_sptRibbonDefault[] =
    4464                 :            : {
    4465                 :            :     2, 5400, 2700
    4466                 :            : };
    4467                 :            : static const SvxMSDffTextRectangles mso_sptRibbonTextRect[] =
    4468                 :            : {
    4469                 :            :     { { 0 MSO_I, 10 MSO_I }, { 9 MSO_I, 21600 } }
    4470                 :            : };
    4471                 :            : static const SvxMSDffVertPair mso_sptRibbonGluePoints[] =
    4472                 :            : {
    4473                 :            :     { 17 MSO_I, 10 MSO_I }, { 2700, 14 MSO_I }, { 17 MSO_I, 21600 }, { 18 MSO_I, 14 MSO_I }
    4474                 :            : };
    4475                 :            : static const SvxMSDffHandle mso_sptRibbonHandle[] =
    4476                 :            : {
    4477                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4478                 :            :         0x100, 0, 10800, 10800, 2700, 8100, MIN_INT32, 0x7fffffff },
    4479                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4480                 :            :         10800, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 7200 }
    4481                 :            : };
    4482                 :            : static const mso_CustomShape msoRibbon =
    4483                 :            : {
    4484                 :            :     (SvxMSDffVertPair*)mso_sptRibbonVert, SAL_N_ELEMENTS( mso_sptRibbonVert ),
    4485                 :            :     (sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1,
    4486                 :            :     (SvxMSDffCalculationData*)mso_sptRibbonCalc, SAL_N_ELEMENTS( mso_sptRibbonCalc ),
    4487                 :            :     (sal_Int32*)mso_sptRibbonDefault,
    4488                 :            :     (SvxMSDffTextRectangles*)mso_sptRibbonTextRect, SAL_N_ELEMENTS( mso_sptRibbonTextRect ),
    4489                 :            :     21600, 21600,
    4490                 :            :     MIN_INT32, MIN_INT32,
    4491                 :            :     (SvxMSDffVertPair*)mso_sptRibbonGluePoints, SAL_N_ELEMENTS( mso_sptRibbonGluePoints ),
    4492                 :            :     (SvxMSDffHandle*)mso_sptRibbonHandle, SAL_N_ELEMENTS( mso_sptRibbonHandle )
    4493                 :            : };
    4494                 :            : 
    4495                 :            : static const SvxMSDffVertPair mso_sptVerticalScrollVert[] = // adjustment1 : 0 - 5400
    4496                 :            : {
    4497                 :            :     { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I },
    4498                 :            :     { 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I },
    4499                 :            :     { 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 11 MSO_I }, { 5 MSO_I, 21600 },
    4500                 :            : 
    4501                 :            :     { 6 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 4 MSO_I, 1 MSO_I },
    4502                 :            : 
    4503                 :            :     { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I },
    4504                 :            :     { 9 MSO_I, 10 MSO_I }, { 1 MSO_I, 11 MSO_I },
    4505                 :            : 
    4506                 :            :     { 4 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I },
    4507                 :            : 
    4508                 :            :     { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
    4509                 :            : 
    4510                 :            :     { 4 MSO_I, 0 MSO_I },
    4511                 :            :     { 2 MSO_I, 0 MSO_I }
    4512                 :            : };
    4513                 :            : static const sal_uInt16 mso_sptVerticalScrollSegm[] =
    4514                 :            : {
    4515                 :            :     0x4000, 0xa702, 0x0002, 0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000,
    4516                 :            :     0x4000, 0xa801, 0xa702, 0x6000, 0x8000,
    4517                 :            :     0x4000, 0xa803, 0xa702, 0x6001, 0x8000,
    4518                 :            :     0x4000, 0xa701, 0x8000,
    4519                 :            :     0x4000, 0x0001, 0x8000,
    4520                 :            :     0x4000, 0x0001, 0x8000
    4521                 :            : };
    4522                 :            : static const SvxMSDffCalculationData mso_sptScrollCalc[] =
    4523                 :            : {
    4524                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    4525                 :            :     { 0x2001, { 0x400, 1, 2 } },
    4526                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x401 } },
    4527                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
    4528                 :            :     { 0x6000, { 0x400, 0x401, 0 } },
    4529                 :            :     { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
    4530                 :            :     { 0x2001, { 0x400, 2, 1 } },
    4531                 :            :     { 0x2001, { 0x401, 1, 2 } },
    4532                 :            :     { 0x6000, { 0x400, 0x407, 0 } },
    4533                 :            :     { 0x6000, { 0x401, 0x407, 0 } },
    4534                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } },
    4535                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },
    4536                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
    4537                 :            :     { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
    4538                 :            : };
    4539                 :            : static const SvxMSDffTextRectangles mso_sptScrollTextRect[] =
    4540                 :            : {
    4541                 :            :     { { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 12 MSO_I } }
    4542                 :            : };
    4543                 :            : static const SvxMSDffHandle mso_sptVerticalScrollHandle[] =
    4544                 :            : {
    4545                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4546                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 5400 }
    4547                 :            : };
    4548                 :            : static const mso_CustomShape msoVerticalScroll =
    4549                 :            : {
    4550                 :            :     (SvxMSDffVertPair*)mso_sptVerticalScrollVert, SAL_N_ELEMENTS( mso_sptVerticalScrollVert ),
    4551                 :            :     (sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1,
    4552                 :            :     (SvxMSDffCalculationData*)mso_sptScrollCalc, SAL_N_ELEMENTS( mso_sptScrollCalc ),
    4553                 :            :     (sal_Int32*)mso_sptDefault2700,
    4554                 :            :     (SvxMSDffTextRectangles*)mso_sptScrollTextRect, SAL_N_ELEMENTS( mso_sptScrollTextRect ),
    4555                 :            :     21600, 21600,
    4556                 :            :     11000, 10800,
    4557                 :            :     NULL, 0,
    4558                 :            :     (SvxMSDffHandle*)mso_sptVerticalScrollHandle, SAL_N_ELEMENTS( mso_sptVerticalScrollHandle )
    4559                 :            : };
    4560                 :            : static const SvxMSDffVertPair mso_sptHorizontalScrollVert[] =   // adjustment1 : 0 - 5400
    4561                 :            : {
    4562                 :            :     { 0, 4 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 1 MSO_I },
    4563                 :            :     { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 13 MSO_I }, { 2 MSO_I, 12 MSO_I },
    4564                 :            :     { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I },
    4565                 :            : 
    4566                 :            :     { 1 MSO_I, 4 MSO_I }, { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 6 MSO_I },
    4567                 :            : 
    4568                 :            :     { 2 MSO_I, 1 MSO_I }, { 3 MSO_I, 9 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 },
    4569                 :            :     { 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I },
    4570                 :            : 
    4571                 :            :     { 1 MSO_I, 6 MSO_I },
    4572                 :            :     { 0, 4 MSO_I },
    4573                 :            : 
    4574                 :            :     { 2 MSO_I, 0 MSO_I },
    4575                 :            :     { 3 MSO_I, 0 MSO_I },
    4576                 :            : 
    4577                 :            :     { 0 MSO_I, 4 MSO_I },
    4578                 :            :     { 0 MSO_I, 11 MSO_I }
    4579                 :            : };
    4580                 :            : static const sal_uInt16 mso_sptHorizontalScrollSegm[] =
    4581                 :            : {
    4582                 :            :     0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000,
    4583                 :            :     0x4000, 0xa803, 0x6000, 0x8000,
    4584                 :            :     0x4000, 0xa803, 0xa702, 0x6000, 0x8000,
    4585                 :            :     0x4000, 0xa701, 0x8000,
    4586                 :            :     0x4000, 0x0001, 0x8000,
    4587                 :            :     0x4000, 0x0001, 0x8000
    4588                 :            : };
    4589                 :            : static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] =
    4590                 :            : {
    4591                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    4592                 :            :         0x100, 0, 10800, 10800, 0, 5400, MIN_INT32, 0x7fffffff }
    4593                 :            : };
    4594                 :            : static const mso_CustomShape msoHorizontalScroll =
    4595                 :            : {
    4596                 :            :     (SvxMSDffVertPair*)mso_sptHorizontalScrollVert, SAL_N_ELEMENTS( mso_sptHorizontalScrollVert ),
    4597                 :            :     (sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1,
    4598                 :            :     (SvxMSDffCalculationData*)mso_sptScrollCalc, SAL_N_ELEMENTS( mso_sptScrollCalc ),
    4599                 :            :     (sal_Int32*)mso_sptDefault2700,
    4600                 :            :     (SvxMSDffTextRectangles*)mso_sptScrollTextRect, SAL_N_ELEMENTS( mso_sptScrollTextRect ),
    4601                 :            :     21600, 21600,
    4602                 :            :     10800, 11000,
    4603                 :            :     NULL, 0,
    4604                 :            :     (SvxMSDffHandle*)mso_sptHorizontalScrollHandle, SAL_N_ELEMENTS( mso_sptHorizontalScrollHandle )
    4605                 :            : };
    4606                 :            : 
    4607                 :            : static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] =
    4608                 :            : {
    4609                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
    4610                 :            : };
    4611                 :            : static const mso_CustomShape msoFlowChartProcess =
    4612                 :            : {
    4613                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartProcessVert, SAL_N_ELEMENTS( mso_sptFlowChartProcessVert ),
    4614                 :            :     NULL, 0,
    4615                 :            :     NULL, 0,
    4616                 :            :     NULL,
    4617                 :            :     NULL, 0,
    4618                 :            :     21600, 21600,
    4619                 :            :     MIN_INT32, MIN_INT32,
    4620                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4621                 :            :     NULL, 0     // handles
    4622                 :            : };
    4623                 :            : 
    4624                 :            : static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert[] =
    4625                 :            : {
    4626                 :            :     { 0, 2 MSO_I }, { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 2 MSO_I },
    4627                 :            :     { 21600, 3 MSO_I }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }
    4628                 :            : };
    4629                 :            : static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm[] =
    4630                 :            : {
    4631                 :            :     0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
    4632                 :            : };
    4633                 :            : static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc[] =
    4634                 :            : {
    4635                 :            :     { 0x2000, { DFF_Prop_geoLeft, 2540, 0 } },
    4636                 :            :     { 0x2000, { DFF_Prop_geoRight, 0, 2540 } },
    4637                 :            :     { 0x2000, { DFF_Prop_geoTop, 2540, 0 } },
    4638                 :            :     { 0x2000, { DFF_Prop_geoBottom, 0, 2540 } },
    4639                 :            :     { 0x2000, { DFF_Prop_geoLeft, 800, 0 } },
    4640                 :            :     { 0x2000, { DFF_Prop_geoRight, 0, 800 } },
    4641                 :            :     { 0x2000, { DFF_Prop_geoTop, 800, 0 } },
    4642                 :            :     { 0x2000, { DFF_Prop_geoBottom,0, 800 } }
    4643                 :            : };
    4644                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect[] =
    4645                 :            : {
    4646                 :            :     { { 4 MSO_I, 6 MSO_I }, { 5 MSO_I, 7 MSO_I } }
    4647                 :            : };
    4648                 :            : static const mso_CustomShape msoFlowChartAlternateProcess =
    4649                 :            : {
    4650                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartAlternateProcessVert, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessVert ),
    4651                 :            :     (sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1,
    4652                 :            :     (SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessCalc ),
    4653                 :            :     NULL,
    4654                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessTextRect ),
    4655                 :            :     21600, 21600,
    4656                 :            :     MIN_INT32, MIN_INT32,
    4657                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4658                 :            :     NULL, 0     // handles
    4659                 :            : };
    4660                 :            : 
    4661                 :            : static const SvxMSDffVertPair mso_sptFlowChartDecisionVert[] =
    4662                 :            : {
    4663                 :            :     { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }
    4664                 :            : };
    4665                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect[] =
    4666                 :            : {
    4667                 :            :     { { 5400, 5400 }, { 16200, 16200 } }
    4668                 :            : };
    4669                 :            : static const mso_CustomShape msoFlowChartDecision =
    4670                 :            : {
    4671                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartDecisionVert, SAL_N_ELEMENTS( mso_sptFlowChartDecisionVert ),
    4672                 :            :     NULL, 0,
    4673                 :            :     NULL, 0,
    4674                 :            :     NULL,
    4675                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDecisionTextRect ),
    4676                 :            :     21600, 21600,
    4677                 :            :     MIN_INT32, MIN_INT32,
    4678                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4679                 :            :     NULL, 0     // handles
    4680                 :            : };
    4681                 :            : 
    4682                 :            : static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert[] =
    4683                 :            : {
    4684                 :            :     { 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 }
    4685                 :            : };
    4686                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect[] =
    4687                 :            : {
    4688                 :            :     { { 4230, 0 }, { 17370, 21600 } }
    4689                 :            : };
    4690                 :            : static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints[] =
    4691                 :            : {
    4692                 :            :     { 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 }
    4693                 :            : };
    4694                 :            : static const mso_CustomShape msoFlowChartInputOutput =
    4695                 :            : {
    4696                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartInputOutputVert, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputVert ),
    4697                 :            :     NULL, 0,
    4698                 :            :     NULL, 0,
    4699                 :            :     NULL,
    4700                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputTextRect ),
    4701                 :            :     21600, 21600,
    4702                 :            :     MIN_INT32, MIN_INT32,
    4703                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputGluePoints ),
    4704                 :            :     NULL, 0     // handles
    4705                 :            : };
    4706                 :            : 
    4707                 :            : static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert[] =
    4708                 :            : {
    4709                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    4710                 :            : 
    4711                 :            :     { 2540, 0 }, { 2540, 21600 },
    4712                 :            : 
    4713                 :            :     { 21600 - 2540, 0 }, { 21600 - 2540, 21600 }
    4714                 :            : };
    4715                 :            : static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm[] =
    4716                 :            : {
    4717                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    4718                 :            :     0x4000, 0x0001, 0x8000,
    4719                 :            :     0x4000, 0x0001, 0x8000
    4720                 :            : };
    4721                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect[] =
    4722                 :            : {
    4723                 :            :     { { 2540, 0 }, { 21600 - 2540, 21600 } }
    4724                 :            : };
    4725                 :            : static const mso_CustomShape msoFlowChartPredefinedProcess =
    4726                 :            : {
    4727                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartPredefinedProcessVert, SAL_N_ELEMENTS( mso_sptFlowChartPredefinedProcessVert ),
    4728                 :            :     (sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1,
    4729                 :            :     NULL, 0,
    4730                 :            :     NULL,
    4731                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPredefinedProcessTextRect ),
    4732                 :            :     21600, 21600,
    4733                 :            :     MIN_INT32, MIN_INT32,
    4734                 :            :     NULL, 0,
    4735                 :            :     NULL, 0     // handles
    4736                 :            : };
    4737                 :            : 
    4738                 :            : static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert[] =
    4739                 :            : {
    4740                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    4741                 :            : 
    4742                 :            :     { 4230, 0 }, { 4230, 21600 },
    4743                 :            : 
    4744                 :            :     { 0, 4230 }, { 21600, 4230 }
    4745                 :            : };
    4746                 :            : static const sal_uInt16 mso_sptFlowChartInternalStorageSegm[] =
    4747                 :            : {
    4748                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    4749                 :            :     0x4000, 0x0001, 0x8000,
    4750                 :            :     0x4000, 0x0001, 0x8000
    4751                 :            : };
    4752                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect[] =
    4753                 :            : {
    4754                 :            :     { { 4230, 4230 }, { 21600, 21600 } }
    4755                 :            : };
    4756                 :            : static const mso_CustomShape msoFlowChartInternalStorage =
    4757                 :            : {
    4758                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartInternalStorageVert, SAL_N_ELEMENTS( mso_sptFlowChartInternalStorageVert ),
    4759                 :            :     (sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1,
    4760                 :            :     NULL, 0,
    4761                 :            :     NULL,
    4762                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, SAL_N_ELEMENTS( mso_sptFlowChartInternalStorageTextRect ),
    4763                 :            :     21600, 21600,
    4764                 :            :     MIN_INT32, MIN_INT32,
    4765                 :            :     NULL, 0,
    4766                 :            :     NULL, 0     // handles
    4767                 :            : };
    4768                 :            : 
    4769                 :            : static const SvxMSDffVertPair mso_sptFlowChartDocumentVert[] =
    4770                 :            : {
    4771                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 17360 },
    4772                 :            :     { 13050, 17220 }, { 13340, 20770 }, { 5620, 21600 },    // ccp
    4773                 :            :     { 2860, 21100 }, { 1850, 20700 }, { 0,  20120 }         // ccp
    4774                 :            : };
    4775                 :            : static const sal_uInt16 mso_sptFlowChartDocumentSegm[] =
    4776                 :            : {
    4777                 :            :     0x4000, 0x0002, 0x2002, 0x6000, 0x8000
    4778                 :            : };
    4779                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect[] =
    4780                 :            : {
    4781                 :            :     { { 0, 0 }, { 21600, 17360 } }
    4782                 :            : };
    4783                 :            : static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints[] =
    4784                 :            : {
    4785                 :            :     { 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 }
    4786                 :            : };
    4787                 :            : static const mso_CustomShape msoFlowChartDocument =
    4788                 :            : {
    4789                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartDocumentVert, SAL_N_ELEMENTS( mso_sptFlowChartDocumentVert ),
    4790                 :            :     (sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1,
    4791                 :            :     NULL, 0,
    4792                 :            :     NULL,
    4793                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDocumentTextRect ),
    4794                 :            :     21600, 21600,
    4795                 :            :     MIN_INT32, MIN_INT32,
    4796                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartDocumentGluePoints ),
    4797                 :            :     NULL, 0     // handles
    4798                 :            : };
    4799                 :            : 
    4800                 :            : static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert[] =
    4801                 :            : {
    4802                 :            :     { 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 },
    4803                 :            :     { 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 },
    4804                 :            :     { 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 },
    4805                 :            :     { 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 },                       // ccp
    4806                 :            :     { 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 },                            // ccp
    4807                 :            : 
    4808                 :            :     { 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 },
    4809                 :            : 
    4810                 :            :     { 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 }
    4811                 :            : };
    4812                 :            : static const sal_uInt16 mso_sptFlowChartMultidocumentSegm[] =
    4813                 :            : {
    4814                 :            :     0x4000, 0x000a, 0x2002, 0x6000, 0x8000,
    4815                 :            :     0x4000, 0xaa00, 0x0002, 0x8000,         // NO FILL
    4816                 :            :     0x4000, 0xaa00, 0x0002, 0x8000          // NO FILL
    4817                 :            : };
    4818                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect[] =
    4819                 :            : {
    4820                 :            :     { { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } }
    4821                 :            : };
    4822                 :            : static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints[] =
    4823                 :            : {
    4824                 :            :     { 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
    4825                 :            : };
    4826                 :            : static const mso_CustomShape msoFlowChartMultidocument =
    4827                 :            : {
    4828                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentVert, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentVert ),
    4829                 :            :     (sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1,
    4830                 :            :     NULL, 0,
    4831                 :            :     NULL,
    4832                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentTextRect ),
    4833                 :            :     21600, 21600,
    4834                 :            :     MIN_INT32, MIN_INT32,
    4835                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentGluePoints ),
    4836                 :            :     NULL, 0     // handles
    4837                 :            : };
    4838                 :            : 
    4839                 :            : static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert[] =
    4840                 :            : {
    4841                 :            :     { 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 },
    4842                 :            :     { 21600, 10800 }, { 18130, 21600 }
    4843                 :            : };
    4844                 :            : static const sal_uInt16 mso_sptFlowChartTerminatorSegm[] =
    4845                 :            : {
    4846                 :            :     0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
    4847                 :            : };
    4848                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect[] =
    4849                 :            : {
    4850                 :            :     { { 1060, 3180 }, { 20540, 18420 } }
    4851                 :            : };
    4852                 :            : static const mso_CustomShape msoFlowChartTerminator =
    4853                 :            : {
    4854                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartTerminatorVert, SAL_N_ELEMENTS( mso_sptFlowChartTerminatorVert ),
    4855                 :            :     (sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1,
    4856                 :            :     NULL, 0,
    4857                 :            :     NULL,
    4858                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartTerminatorTextRect ),
    4859                 :            :     21600, 21600,
    4860                 :            :     MIN_INT32, MIN_INT32,
    4861                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4862                 :            :     NULL, 0     // handles
    4863                 :            : };
    4864                 :            : 
    4865                 :            : static const SvxMSDffVertPair mso_sptFlowChartPreparationVert[] =
    4866                 :            : {
    4867                 :            :     { 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 },
    4868                 :            :     { 4350, 21600 }, { 0, 10800 }, { 4350, 0 }
    4869                 :            : };
    4870                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect[] =
    4871                 :            : {
    4872                 :            :     { { 4350, 0 }, { 17250, 21600 } }
    4873                 :            : };
    4874                 :            : static const mso_CustomShape msoFlowChartPreparation =
    4875                 :            : {
    4876                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartPreparationVert, SAL_N_ELEMENTS( mso_sptFlowChartPreparationVert ),
    4877                 :            :     NULL, 0,
    4878                 :            :     NULL, 0,
    4879                 :            :     NULL,
    4880                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPreparationTextRect ),
    4881                 :            :     21600, 21600,
    4882                 :            :     MIN_INT32, MIN_INT32,
    4883                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4884                 :            :     NULL, 0     // handles
    4885                 :            : };
    4886                 :            : 
    4887                 :            : static const SvxMSDffVertPair mso_sptFlowChartManualInputVert[] =
    4888                 :            : {
    4889                 :            :     { 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 }
    4890                 :            : };
    4891                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect[] =
    4892                 :            : {
    4893                 :            :     { { 0, 4300 }, { 21600, 21600 } }
    4894                 :            : };
    4895                 :            : static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints[] =
    4896                 :            : {
    4897                 :            :     { 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
    4898                 :            : };
    4899                 :            : static const mso_CustomShape msoFlowChartManualInput =
    4900                 :            : {
    4901                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartManualInputVert, SAL_N_ELEMENTS( mso_sptFlowChartManualInputVert ),
    4902                 :            :     NULL, 0,
    4903                 :            :     NULL, 0,
    4904                 :            :     NULL,
    4905                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, SAL_N_ELEMENTS( mso_sptFlowChartManualInputTextRect ),
    4906                 :            :     21600, 21600,
    4907                 :            :     MIN_INT32, MIN_INT32,
    4908                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartManualInputGluePoints ),
    4909                 :            :     NULL, 0     // handles
    4910                 :            : };
    4911                 :            : 
    4912                 :            : static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert[] =
    4913                 :            : {
    4914                 :            :     { 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 }
    4915                 :            : };
    4916                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect[] =
    4917                 :            : {
    4918                 :            :     { { 4350, 0 }, { 17250, 21600 } }
    4919                 :            : };
    4920                 :            : static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints[] =
    4921                 :            : {
    4922                 :            :     { 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 }
    4923                 :            : };
    4924                 :            : static const mso_CustomShape msoFlowChartManualOperation =
    4925                 :            : {
    4926                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartManualOperationVert, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationVert ),
    4927                 :            :     NULL, 0,
    4928                 :            :     NULL, 0,
    4929                 :            :     NULL,
    4930                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationTextRect ),
    4931                 :            :     21600, 21600,
    4932                 :            :     MIN_INT32, MIN_INT32,
    4933                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationGluePoints ),
    4934                 :            :     NULL, 0     // handles
    4935                 :            : };
    4936                 :            : 
    4937                 :            : static const SvxMSDffVertPair mso_sptFlowChartConnectorVert[] =
    4938                 :            : {
    4939                 :            :     { 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
    4940                 :            : };
    4941                 :            : static const sal_uInt16 mso_sptFlowChartConnectorSegm[] =
    4942                 :            : {
    4943                 :            :     0xa203, 0x6000, 0x8000
    4944                 :            : };
    4945                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect[] =
    4946                 :            : {
    4947                 :            :     { { 3180, 3180 }, { 18420, 18420 } }
    4948                 :            : };
    4949                 :            : static const mso_CustomShape msoFlowChartConnector =
    4950                 :            : {
    4951                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartConnectorVert, SAL_N_ELEMENTS( mso_sptFlowChartConnectorVert ),
    4952                 :            :     (sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1,
    4953                 :            :     NULL, 0,
    4954                 :            :     NULL,
    4955                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartConnectorTextRect ),
    4956                 :            :     21600, 21600,
    4957                 :            :     MIN_INT32, MIN_INT32,
    4958                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    4959                 :            :     NULL, 0     // handles
    4960                 :            : };
    4961                 :            : 
    4962                 :            : static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert[] =
    4963                 :            : {
    4964                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 },
    4965                 :            :     { 0, 17150 }, { 0, 0 }
    4966                 :            : };
    4967                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect[] =
    4968                 :            : {
    4969                 :            :     { { 0, 0 }, { 21600, 17150 } }
    4970                 :            : };
    4971                 :            : static const mso_CustomShape msoFlowChartOffpageConnector =
    4972                 :            : {
    4973                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartOffpageConnectorVert, SAL_N_ELEMENTS( mso_sptFlowChartOffpageConnectorVert ),
    4974                 :            :     NULL, 0,
    4975                 :            :     NULL, 0,
    4976                 :            :     NULL,
    4977                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOffpageConnectorTextRect ),
    4978                 :            :     21600, 21600,
    4979                 :            :     MIN_INT32, MIN_INT32,
    4980                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    4981                 :            :     NULL, 0     // handles
    4982                 :            : };
    4983                 :            : 
    4984                 :            : static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert[] =
    4985                 :            : {
    4986                 :            :     { 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
    4987                 :            :     { 0, 4300 }, { 4300, 0 }
    4988                 :            : };
    4989                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect[] =
    4990                 :            : {
    4991                 :            :     { { 0, 4300 }, { 21600, 21600 } }
    4992                 :            : };
    4993                 :            : static const mso_CustomShape msoFlowChartPunchedCard =
    4994                 :            : {
    4995                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartPunchedCardVert, SAL_N_ELEMENTS( mso_sptFlowChartPunchedCardVert ),
    4996                 :            :     NULL, 0,
    4997                 :            :     NULL, 0,
    4998                 :            :     NULL,
    4999                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPunchedCardTextRect ),
    5000                 :            :     21600, 21600,
    5001                 :            :     MIN_INT32, MIN_INT32,
    5002                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    5003                 :            :     NULL, 0     // handles
    5004                 :            : };
    5005                 :            : 
    5006                 :            : static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert[] =
    5007                 :            : {
    5008                 :            :     { 0, 2230 },                                            // p
    5009                 :            :     { 820, 3990 }, { 3410, 3980 }, { 5370, 4360 },          // ccp
    5010                 :            :     { 7430, 4030 }, { 10110, 3890 }, { 10690, 2270 },       // ccp
    5011                 :            :     { 11440, 300 }, { 14200, 160 }, { 16150, 0 },           // ccp
    5012                 :            :     { 18670, 170 }, {  20690, 390 }, { 21600, 2230 },       // ccp
    5013                 :            :     { 21600, 19420 },                                       // p
    5014                 :            :     { 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 },   // ccp
    5015                 :            :     { 14710, 17370 }, { 11310, 17510 }, { 10770, 19430 },   // ccp
    5016                 :            :     { 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 },     // ccp
    5017                 :            :     { 3220, 21250 }, { 610, 21130 }, { 0, 19420 }           // ccp
    5018                 :            : };
    5019                 :            : static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm[] =
    5020                 :            : {
    5021                 :            :     0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000
    5022                 :            : };
    5023                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect[] =
    5024                 :            : {
    5025                 :            :     { { 0, 4360 }, { 21600, 17240 } }
    5026                 :            : };
    5027                 :            : static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints[] =
    5028                 :            : {
    5029                 :            :     { 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 }
    5030                 :            : };
    5031                 :            : static const mso_CustomShape msoFlowChartPunchedTape =
    5032                 :            : {
    5033                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeVert, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeVert ),
    5034                 :            :     (sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1,
    5035                 :            :     NULL, 0,
    5036                 :            :     NULL,
    5037                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeTextRect ),
    5038                 :            :     21600, 21600,
    5039                 :            :     MIN_INT32, MIN_INT32,
    5040                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeGluePoints ),
    5041                 :            :     NULL, 0     // handles
    5042                 :            : };
    5043                 :            : 
    5044                 :            : static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert[] =
    5045                 :            : {
    5046                 :            :     { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
    5047                 :            : 
    5048                 :            :     { 3100, 3100 },
    5049                 :            :     { 18500, 18500 },
    5050                 :            : 
    5051                 :            :     { 3100, 18500 },
    5052                 :            :     { 18500, 3100 }
    5053                 :            : };
    5054                 :            : static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm[] =
    5055                 :            : {
    5056                 :            :     0xa203, 0x6000, 0x8000,
    5057                 :            :     0x4000, 0x0001, 0x8000,
    5058                 :            :     0x4000, 0x0001, 0x8000
    5059                 :            : };
    5060                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect[] =
    5061                 :            : {
    5062                 :            :     { { 3100, 3100 }, { 18500, 18500 } }
    5063                 :            : };
    5064                 :            : static const mso_CustomShape msoFlowChartSummingJunction =
    5065                 :            : {
    5066                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartSummingJunctionVert, SAL_N_ELEMENTS( mso_sptFlowChartSummingJunctionVert ),
    5067                 :            :     (sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1,
    5068                 :            :     NULL, 0,
    5069                 :            :     NULL,
    5070                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, SAL_N_ELEMENTS( mso_sptFlowChartSummingJunctionTextRect ),
    5071                 :            :     21600, 21600,
    5072                 :            :     MIN_INT32, MIN_INT32,
    5073                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    5074                 :            :     NULL, 0     // handles
    5075                 :            : };
    5076                 :            : 
    5077                 :            : static const SvxMSDffVertPair mso_sptFlowChartOrVert[] =
    5078                 :            : {
    5079                 :            :     { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
    5080                 :            : 
    5081                 :            :     { 0, 10800 }, { 21600, 10800 },
    5082                 :            : 
    5083                 :            :     { 10800, 0 }, { 10800, 21600 }
    5084                 :            : };
    5085                 :            : static const sal_uInt16 mso_sptFlowChartOrSegm[] =
    5086                 :            : {
    5087                 :            :     0xa203, 0x6000, 0x8000,
    5088                 :            :     0x4000, 0x0001, 0x8000,
    5089                 :            :     0x4000, 0x0001, 0x8000
    5090                 :            : };
    5091                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect[] =
    5092                 :            : {
    5093                 :            :     { { 3100, 3100 }, { 18500, 18500 } }
    5094                 :            : };
    5095                 :            : static const mso_CustomShape msoFlowChartOr =
    5096                 :            : {
    5097                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartOrVert, SAL_N_ELEMENTS( mso_sptFlowChartOrVert ),
    5098                 :            :     (sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1,
    5099                 :            :     NULL, 0,
    5100                 :            :     NULL,
    5101                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOrTextRect ),
    5102                 :            :     21600, 21600,
    5103                 :            :     MIN_INT32, MIN_INT32,
    5104                 :            :     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ),
    5105                 :            :     NULL, 0     // handles
    5106                 :            : };
    5107                 :            : 
    5108                 :            : static const SvxMSDffVertPair mso_sptFlowChartCollateVert[] =
    5109                 :            : {
    5110                 :            :     { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 }
    5111                 :            : };
    5112                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect[] =
    5113                 :            : {
    5114                 :            :     { { 5400, 5400 }, { 16200, 16200 } }
    5115                 :            : };
    5116                 :            : static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints[] =
    5117                 :            : {
    5118                 :            :     { 10800, 0 }, { 10800, 10800 }, { 10800, 21600 }
    5119                 :            : };
    5120                 :            : static const mso_CustomShape msoFlowChartCollate =
    5121                 :            : {
    5122                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartCollateVert, SAL_N_ELEMENTS( mso_sptFlowChartCollateVert ),
    5123                 :            :     NULL, 0,
    5124                 :            :     NULL, 0,
    5125                 :            :     NULL,
    5126                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, SAL_N_ELEMENTS( mso_sptFlowChartCollateTextRect ),
    5127                 :            :     21600, 21600,
    5128                 :            :     MIN_INT32, MIN_INT32,
    5129                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartCollateGluePoints ),
    5130                 :            :     NULL, 0     // handles
    5131                 :            : };
    5132                 :            : 
    5133                 :            : static const SvxMSDffVertPair mso_sptFlowChartSortVert[] =
    5134                 :            : {
    5135                 :            :     { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 },
    5136                 :            : 
    5137                 :            :     { 0, 10800 }, { 21600, 10800 }
    5138                 :            : };
    5139                 :            : static const sal_uInt16 mso_sptFlowChartSortSegm[] =
    5140                 :            : {
    5141                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    5142                 :            :     0x4000, 0x0001, 0x8000
    5143                 :            : };
    5144                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect[] =
    5145                 :            : {
    5146                 :            :     { { 5400, 5400 }, { 16200, 16200 } }
    5147                 :            : };
    5148                 :            : static const mso_CustomShape msoFlowChartSort =
    5149                 :            : {
    5150                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartSortVert, SAL_N_ELEMENTS( mso_sptFlowChartSortVert ),
    5151                 :            :     (sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1,
    5152                 :            :     NULL, 0,
    5153                 :            :     NULL,
    5154                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, SAL_N_ELEMENTS( mso_sptFlowChartSortTextRect ),
    5155                 :            :     21600, 21600,
    5156                 :            :     MIN_INT32, MIN_INT32,
    5157                 :            :     NULL, 0,
    5158                 :            :     NULL, 0     // handles
    5159                 :            : };
    5160                 :            : 
    5161                 :            : static const SvxMSDffVertPair mso_sptFlowChartExtractVert[] =
    5162                 :            : {
    5163                 :            :     { 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 }
    5164                 :            : };
    5165                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect[] =
    5166                 :            : {
    5167                 :            :     { { 5400, 10800 }, { 16200, 21600 } }
    5168                 :            : };
    5169                 :            : static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints[] =
    5170                 :            : {
    5171                 :            :     { 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 }
    5172                 :            : };
    5173                 :            : static const mso_CustomShape msoFlowChartExtract =
    5174                 :            : {
    5175                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartExtractVert, SAL_N_ELEMENTS( mso_sptFlowChartExtractVert ),
    5176                 :            :     NULL, 0,
    5177                 :            :     NULL, 0,
    5178                 :            :     NULL,
    5179                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, SAL_N_ELEMENTS( mso_sptFlowChartExtractTextRect ),
    5180                 :            :     21600, 21600,
    5181                 :            :     MIN_INT32, MIN_INT32,
    5182                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartExtractGluePoints ),
    5183                 :            :     NULL, 0     // handles
    5184                 :            : };
    5185                 :            : 
    5186                 :            : static const SvxMSDffVertPair mso_sptFlowChartMergeVert[] =
    5187                 :            : {
    5188                 :            :     { 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 }
    5189                 :            : };
    5190                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect[] =
    5191                 :            : {
    5192                 :            :     { { 5400, 0 }, { 16200, 10800 } }
    5193                 :            : };
    5194                 :            : static const mso_CustomShape msoFlowChartMerge =
    5195                 :            : {
    5196                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMergeVert, SAL_N_ELEMENTS( mso_sptFlowChartMergeVert ),
    5197                 :            :     NULL, 0,
    5198                 :            :     NULL, 0,
    5199                 :            :     NULL,
    5200                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMergeTextRect ),
    5201                 :            :     21600, 21600,
    5202                 :            :     MIN_INT32, MIN_INT32,
    5203                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartExtractGluePoints ),
    5204                 :            :     NULL, 0     // handles
    5205                 :            : };
    5206                 :            : 
    5207                 :            : static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert[] =
    5208                 :            : {
    5209                 :            :     { 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 },
    5210                 :            :     { 18000, 10800 }, { 21600, 21600 }
    5211                 :            : };
    5212                 :            : static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm[] =
    5213                 :            : {
    5214                 :            :     0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
    5215                 :            : };
    5216                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect[] =
    5217                 :            : {
    5218                 :            :     { { 3600, 0 }, { 18000, 21600 } }
    5219                 :            : };
    5220                 :            : static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints[] =
    5221                 :            : {
    5222                 :            :     { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 }
    5223                 :            : };
    5224                 :            : static const mso_CustomShape msoFlowChartOnlineStorage =
    5225                 :            : {
    5226                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageVert, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageVert ),
    5227                 :            :     (sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1,
    5228                 :            :     NULL, 0,
    5229                 :            :     NULL,
    5230                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageTextRect ),
    5231                 :            :     21600, 21600,
    5232                 :            :     MIN_INT32, MIN_INT32,
    5233                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageGluePoints ),
    5234                 :            :     NULL, 0     // handles
    5235                 :            : };
    5236                 :            : 
    5237                 :            : static const SvxMSDffVertPair mso_sptFlowChartDelayVert[] =
    5238                 :            : {
    5239                 :            :     { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 21600 },
    5240                 :            :     { 0, 0 }
    5241                 :            : };
    5242                 :            : static const sal_uInt16 mso_sptFlowChartDelaySegm[] =
    5243                 :            : {
    5244                 :            :     0x4000, 0xa702, 0x0002, 0x6000, 0x8000
    5245                 :            : };
    5246                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect[] =
    5247                 :            : {
    5248                 :            :     { { 0, 3100 }, { 18500, 18500 } }
    5249                 :            : };
    5250                 :            : static const mso_CustomShape msoFlowChartDelay =
    5251                 :            : {
    5252                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartDelayVert, SAL_N_ELEMENTS( mso_sptFlowChartDelayVert ),
    5253                 :            :     (sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1,
    5254                 :            :     NULL, 0,
    5255                 :            :     NULL,
    5256                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDelayTextRect ),
    5257                 :            :     21600, 21600,
    5258                 :            :     MIN_INT32, MIN_INT32,
    5259                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    5260                 :            :     NULL, 0     // handles
    5261                 :            : };
    5262                 :            : 
    5263                 :            : static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert[] =
    5264                 :            : {
    5265                 :            :     { 20980, 18150 }, { 20980, 21600 }, { 10670, 21600 },
    5266                 :            :     { 4770, 21540 }, { 0, 16720 }, { 0, 10800 },            // ccp
    5267                 :            :     { 0, 4840 }, { 4840, 0 }, { 10800, 0 },                 // ccp
    5268                 :            :     { 16740, 0 }, { 21600, 4840 }, { 21600, 10800 },        // ccp
    5269                 :            :     { 21600, 13520 }, { 20550, 16160 }, { 18670, 18170 }    // ccp
    5270                 :            : };
    5271                 :            : static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm[] =
    5272                 :            : {
    5273                 :            :     0x4000, 0x0002, 0x2004, 0x6000, 0x8000
    5274                 :            : };
    5275                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect[] =
    5276                 :            : {
    5277                 :            :     { { 3100, 3100 }, { 18500, 18500 } }
    5278                 :            : };
    5279                 :            : static const mso_CustomShape msoFlowChartMagneticTape =
    5280                 :            : {
    5281                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMagneticTapeVert, SAL_N_ELEMENTS( mso_sptFlowChartMagneticTapeVert ),
    5282                 :            :     (sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1,
    5283                 :            :     NULL, 0,
    5284                 :            :     NULL,
    5285                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticTapeTextRect ),
    5286                 :            :     21600, 21600,
    5287                 :            :     MIN_INT32, MIN_INT32,
    5288                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    5289                 :            :     NULL, 0     // handles
    5290                 :            : };
    5291                 :            : 
    5292                 :            : static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert[] =
    5293                 :            : {
    5294                 :            :     { 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 },
    5295                 :            :     { 10800, 21600 }, { 0, 18200 },
    5296                 :            : 
    5297                 :            :     { 0, 3400 }, { 10800, 6800 }, { 21600, 3400 }
    5298                 :            : };
    5299                 :            : static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm[] =
    5300                 :            : {
    5301                 :            :     0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000,
    5302                 :            :     0x4000, 0xa802, 0x8000
    5303                 :            : };
    5304                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect[] =
    5305                 :            : {
    5306                 :            :     { { 0, 6800 }, { 21600, 18200 } }
    5307                 :            : };
    5308                 :            : static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints[] =
    5309                 :            : {
    5310                 :            :     { 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
    5311                 :            : };
    5312                 :            : static const mso_CustomShape msoFlowChartMagneticDisk =
    5313                 :            : {
    5314                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskVert, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskVert ),
    5315                 :            :     (sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1,
    5316                 :            :     NULL, 0,
    5317                 :            :     NULL,
    5318                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskTextRect ),
    5319                 :            :     21600, 21600,
    5320                 :            :     MIN_INT32, MIN_INT32,
    5321                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskGluePoints ),
    5322                 :            :     NULL, 0     // handles
    5323                 :            : };
    5324                 :            : 
    5325                 :            : static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert[] =
    5326                 :            : {
    5327                 :            :     { 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 },
    5328                 :            :     { 0, 10800 }, { 3400, 0 },
    5329                 :            : 
    5330                 :            :     { 18200, 0 }, { 14800, 10800 }, { 18200, 21600 }
    5331                 :            : };
    5332                 :            : static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm[] =
    5333                 :            : {
    5334                 :            :     0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000,
    5335                 :            :     0x4000, 0xa702, 0x8000
    5336                 :            : };
    5337                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect[] =
    5338                 :            : {
    5339                 :            :     { { 3400, 0 }, { 14800, 21600 } }
    5340                 :            : };
    5341                 :            : static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints[] =
    5342                 :            : {
    5343                 :            :     { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 }
    5344                 :            : };
    5345                 :            : static const mso_CustomShape msoFlowChartMagneticDrum =
    5346                 :            : {
    5347                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumVert, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumVert ),
    5348                 :            :     (sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1,
    5349                 :            :     NULL, 0,
    5350                 :            :     NULL,
    5351                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumTextRect ),
    5352                 :            :     21600, 21600,
    5353                 :            :     MIN_INT32, MIN_INT32,
    5354                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumGluePoints ),
    5355                 :            :     NULL, 0     // handles
    5356                 :            : };
    5357                 :            : 
    5358                 :            : static const SvxMSDffVertPair mso_sptFlowChartDisplayVert[] =
    5359                 :            : {
    5360                 :            :     { 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 },
    5361                 :            :     { 3600, 21600 }, { 0, 10800 }
    5362                 :            : };
    5363                 :            : static const sal_uInt16 mso_sptFlowChartDisplaySegm[] =
    5364                 :            : {
    5365                 :            :     0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000
    5366                 :            : };
    5367                 :            : static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect[] =
    5368                 :            : {
    5369                 :            :     { { 3600, 0 }, { 17800, 21600 } }
    5370                 :            : };
    5371                 :            : static const mso_CustomShape msoFlowChartDisplay =
    5372                 :            : {
    5373                 :            :     (SvxMSDffVertPair*)mso_sptFlowChartDisplayVert, SAL_N_ELEMENTS( mso_sptFlowChartDisplayVert ),
    5374                 :            :     (sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1,
    5375                 :            :     NULL, 0,
    5376                 :            :     NULL,
    5377                 :            :     (SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDisplayTextRect ),
    5378                 :            :     21600, 21600,
    5379                 :            :     MIN_INT32, MIN_INT32,
    5380                 :            :     (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ),
    5381                 :            :     NULL, 0     // handles
    5382                 :            : };
    5383                 :            : 
    5384                 :            : static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert[] =
    5385                 :            : {
    5386                 :            :     { 0, 0 },
    5387                 :            :     { 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 },
    5388                 :            :     { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
    5389                 :            :     { 0, 21600 },
    5390                 :            :     { 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
    5391                 :            :     { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 },
    5392                 :            :     { 21600, 21600 },
    5393                 :            :     { 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
    5394                 :            :     { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
    5395                 :            :     { 21600, 0 },
    5396                 :            :     { 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 },
    5397                 :            :     { 8970, 0 }, { 16 MSO_I, 17 MSO_I }, { 3590, 0 },
    5398                 :            :     { 0, 0 }
    5399                 :            : };
    5400                 :            : static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc[] =
    5401                 :            : {
    5402                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },     //0x400
    5403                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0,10800 } },
    5404                 :            :     { 0x6006, { 0x412, DFF_Prop_adjustValue, 0 } },     //0x402
    5405                 :            :     { 0x6006, { 0x412, DFF_Prop_adjust2Value, 6280 } },
    5406                 :            :     { 0x6006, { 0x417, DFF_Prop_adjustValue, 0 } },     //0x404
    5407                 :            :     { 0x6006, { 0x417, DFF_Prop_adjust2Value, 15320 } },
    5408                 :            :     { 0x6006, { 0x41a, DFF_Prop_adjustValue, 6280 } },  //0x406
    5409                 :            :     { 0x6006, { 0x41a, DFF_Prop_adjust2Value, 21600 } },
    5410                 :            :     { 0x6006, { 0x41d, DFF_Prop_adjustValue, 15320 } }, //0x408
    5411                 :            :     { 0x6006, { 0x41d, DFF_Prop_adjust2Value, 21600 } },
    5412                 :            :     { 0x6006, { 0x420, DFF_Prop_adjustValue, 21600 } }, //0x40a
    5413                 :            :     { 0x6006, { 0x420, DFF_Prop_adjust2Value, 15320 } },
    5414                 :            :     { 0x6006, { 0x422, DFF_Prop_adjustValue, 21600 } }, //0x40c
    5415                 :            :     { 0x6006, { 0x422, DFF_Prop_adjust2Value, 6280 } },
    5416                 :            :     { 0x6006, { 0x424, DFF_Prop_adjustValue, 15320 } }, //0x40e
    5417                 :            :     { 0x6006, { 0x424, DFF_Prop_adjust2Value, 0 } },
    5418                 :            :     { 0x6006, { 0x426, DFF_Prop_adjustValue, 6280 } },  //0x410
    5419                 :            :     { 0x6006, { 0x426, DFF_Prop_adjust2Value, 0 } },
    5420                 :            :     { 0xa006, { DFF_Prop_adjustValue, -1, 0x413 } },    //0x412
    5421                 :            :     { 0xa006, { 0x401, -1, 0x416 } },
    5422                 :            :     { 0x2003, { 0x400, 0, 0 } },                        //0x414
    5423                 :            :     { 0x2003, { 0x401, 0, 0 } },
    5424                 :            :     { 0xa000, { 0x414, 0, 0x415 } },                    //0x416
    5425                 :            :     { 0xa006, { DFF_Prop_adjustValue, -1, 0x418 } },
    5426                 :            :     { 0x6006, { 0x401, 0x416, -1 } },                   //0x418
    5427                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 21600 } },
    5428                 :            :     { 0x6006, { 0x419, 0x41b, -1 } },                   //0x41a
    5429                 :            :     { 0xa006, { 0x400, -1, 0x41c } },
    5430                 :            :     { 0xa000, { 0x415, 0, 0x414 } },                    //0x41c
    5431                 :            :     { 0x6006, { 0x419, 0x41e, -1 } },
    5432                 :            :     { 0x6006, { 0x400, 0x41c, -1 } },                   //0x41e
    5433                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 21600 } },
    5434                 :            :     { 0x6006, { 0x41f, 0x421, -1 } },                   //0x420
    5435                 :            :     { 0x6006, { 0x401, 0x416, -1 } },
    5436                 :            :     { 0x6006, { 0x41f, 0x423, -1 } },                   //0x422
    5437                 :            :     { 0xa006, { 0x401, -1, 0x416 } },
    5438                 :            :     { 0xa006, { DFF_Prop_adjust2Value, -1, 0x425 } },   //0x424
    5439                 :            :     { 0x6006, { 0x400, 0x41c, -1 } },
    5440                 :            :     { 0xa006, { DFF_Prop_adjust2Value, -1, 0x427 } },   //0x426
    5441                 :            :     { 0xa006, { 0x400, -1, 0x41c } },
    5442                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },         //0x428
    5443                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }
    5444                 :            : };
    5445                 :            : static const sal_Int32 mso_sptWedgeRectCalloutDefault[] =
    5446                 :            : {
    5447                 :            :     2, 1400, 25920
    5448                 :            : };
    5449                 :            : static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect[] =
    5450                 :            : {
    5451                 :            :     { { 0, 0 }, { 21600, 21600 } }
    5452                 :            : };
    5453                 :            : static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints[] =
    5454                 :            : {
    5455                 :            :     { 10800, 0 }, { 0, 10800 },  { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I, 41 MSO_I }
    5456                 :            : };
    5457                 :            : static const SvxMSDffHandle mso_sptCalloutHandle[] =
    5458                 :            : {
    5459                 :            :     {
    5460                 :            :         0,
    5461                 :            :         0x100, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff
    5462                 :            :     }
    5463                 :            : };
    5464                 :            : static const mso_CustomShape msoWedgeRectCallout =
    5465                 :            : {
    5466                 :            :     (SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutVert ),
    5467                 :            :     NULL, 0,
    5468                 :            :     (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ),
    5469                 :            :     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
    5470                 :            :     (SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutTextRect ),
    5471                 :            :     21600, 21600,
    5472                 :            :     MIN_INT32, MIN_INT32,
    5473                 :            :     (SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutGluePoints ),
    5474                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle )        // handles
    5475                 :            : };
    5476                 :            : static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert[] =
    5477                 :            : {
    5478                 :            :     { 3590, 0 },
    5479                 :            :     { 0, 3590 },
    5480                 :            :     { 2 MSO_I, 3 MSO_I }, { 0, 8970 },
    5481                 :            :     { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
    5482                 :            :     { 3590, 21600 },
    5483                 :            :     { 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
    5484                 :            :     { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 },
    5485                 :            :     { 21600, 18010 },
    5486                 :            :     { 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
    5487                 :            :     { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
    5488                 :            :     { 18010, 0 },
    5489                 :            :     { 14 MSO_I, 15 MSO_I }, { 12630, 0 },
    5490                 :            :     { 8970, 0 }, { 16 MSO_I, 17 MSO_I }
    5491                 :            : };
    5492                 :            : static const sal_uInt16 mso_sptWedgeRRectCalloutSegm[] =
    5493                 :            : {
    5494                 :            :     0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000
    5495                 :            : };
    5496                 :            : static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect[] =
    5497                 :            : {
    5498                 :            :     { { 800, 800 }, { 20800, 20800 } }
    5499                 :            : };
    5500                 :            : static const mso_CustomShape msoWedgeRRectCallout =
    5501                 :            : {
    5502                 :            :     (SvxMSDffVertPair*)mso_sptWedgeRRectCalloutVert, SAL_N_ELEMENTS( mso_sptWedgeRRectCalloutVert ),
    5503                 :            :     (sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1,
    5504                 :            :     (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ),
    5505                 :            :     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
    5506                 :            :     (SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeRRectCalloutTextRect ),
    5507                 :            :     21600, 21600,
    5508                 :            :     MIN_INT32, MIN_INT32,
    5509                 :            :     NULL, 0,
    5510                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle )        // handles
    5511                 :            : };
    5512                 :            : static const SvxMSDffVertPair mso_sptBalloonVert[] =
    5513                 :            : {
    5514                 :            :     { 3590, 0 },
    5515                 :            :     { 0, 3590 },
    5516                 :            :     { 0, 14460 },
    5517                 :            :     { 3590, 18050 },
    5518                 :            :     { 40 MSO_I, 21600 }, { 5420, 18050 },
    5519                 :            :     { 18010, 18050 },
    5520                 :            :     { 21600, 14460 },
    5521                 :            :     { 21600, 3590 },
    5522                 :            :     { 18010, 0 }
    5523                 :            : };
    5524                 :            : static const sal_uInt16 mso_sptBalloonSegm[] =
    5525                 :            : {
    5526                 :            :     0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000
    5527                 :            : };
    5528                 :            : static const SvxMSDffHandle mso_sptBalloonHandle[] =
    5529                 :            : {
    5530                 :            :     {
    5531                 :            :         MSDFF_HANDLE_FLAGS_RANGE,
    5532                 :            :         0x100, 1, 10800, 10800, 0, 8990, MIN_INT32, 0x7fffffff
    5533                 :            :     }
    5534                 :            : };
    5535                 :            : static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] =
    5536                 :            : {
    5537                 :            :     { { 800, 800 }, { 20800, 17250 } }
    5538                 :            : };
    5539                 :            : static const mso_CustomShape msoBalloon =
    5540                 :            : {
    5541                 :            :     (SvxMSDffVertPair*)mso_sptBalloonVert, SAL_N_ELEMENTS( mso_sptBalloonVert ),
    5542                 :            :     (sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1,
    5543                 :            :     (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ),
    5544                 :            :     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
    5545                 :            :     (SvxMSDffTextRectangles*)mso_sptBalloonTextRect, SAL_N_ELEMENTS( mso_sptBalloonTextRect ),
    5546                 :            :     21600, 21600,
    5547                 :            :     MIN_INT32, MIN_INT32,
    5548                 :            :     NULL, 0,
    5549                 :            :     (SvxMSDffHandle*)mso_sptBalloonHandle, SAL_N_ELEMENTS( mso_sptBalloonHandle )        // handles
    5550                 :            : };
    5551                 :            : static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert[] =
    5552                 :            : {
    5553                 :            :     { 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0xe MSO_I, 0xf MSO_I }
    5554                 :            : };
    5555                 :            : static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm[] =
    5556                 :            : {
    5557                 :            :     0xa504, 0x0001, 0x6001, 0x8000
    5558                 :            : };
    5559                 :            : static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc[] =
    5560                 :            : {
    5561                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },     // 00 rad x
    5562                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },    // 01 rad y
    5563                 :            :     { 0x6001, { 0x400, 0x400, 1 } },                    // 02 rad x^2
    5564                 :            :     { 0x6001, { 0x401, 0x401, 1 } },                    // 03 rad y^2
    5565                 :            :     { 0x6000, { 0x402, 0x403, 0 } },                    // 04
    5566                 :            :     { 0x200d, { 0x404, 0, 0 } },                        // 05
    5567                 :            :     { 0x2000, { 0x405, 0, 10800 } },                    // 06 > 0 ? spur needs to be drawn : 10800
    5568                 :            :     { 0x6008, { 0x400, 0x401, 0 } },                    // 07 atan2 -> angle
    5569                 :            :     { 0x2000, { 0x407, 0, 10 } },                       // 08
    5570                 :            :     { 0x2000, { 0x407, 10, 0 } },                       // 09
    5571                 :            :     { 0x400a, { 10800, 0x407, 0 } },                    // 0a
    5572                 :            :     { 0x4009, { 10800, 0x407, 0 } },                    // 0b
    5573                 :            :     { 0x2000, { 0x40a, 10800, 0 } },                    // 0c
    5574                 :            :     { 0x2000, { 0x40b, 10800, 0 } },                    // 0d
    5575                 :            :     { 0xe006, { 0x406, DFF_Prop_adjustValue, 0x40c } }, // 0e
    5576                 :            :     { 0xe006, { 0x406, DFF_Prop_adjust2Value, 0x40d } },// 0f
    5577                 :            :     { 0x400a, { 10800, 0x408, 0 } },                    // 10
    5578                 :            :     { 0x4009, { 10800, 0x408, 0 } },                    // 11
    5579                 :            :     { 0x2000, { 0x410, 10800, 0 } },                    // 12
    5580                 :            :     { 0x2000, { 0x411, 10800, 0 } },                    // 13
    5581                 :            :     { 0x400a, { 10800, 0x409, 0 } },                    // 14
    5582                 :            :     { 0x4009, { 10800, 0x409, 0 } },                    // 15
    5583                 :            :     { 0x2000, { 0x414, 10800, 0 } },                    // 16
    5584                 :            :     { 0x2000, { 0x415, 10800, 0 } }                     // 17
    5585                 :            : };
    5586                 :            : static const sal_Int32 mso_sptWedgeEllipseCalloutDefault[] =
    5587                 :            : {
    5588                 :            :     2, 1350, 25920
    5589                 :            : };
    5590                 :            : static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints[] =
    5591                 :            : {
    5592                 :            :     { 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I, 0xf MSO_I }
    5593                 :            : };
    5594                 :            : static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect[] =
    5595                 :            : {
    5596                 :            :     { { 3200, 3200 }, { 18400, 18400 } }
    5597                 :            : };
    5598                 :            : static const mso_CustomShape msoWedgeEllipseCallout =
    5599                 :            : {
    5600                 :            :     (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutVert, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutVert ),
    5601                 :            :     (sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1,
    5602                 :            :     (SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutCalc ),
    5603                 :            :     (sal_Int32*)mso_sptWedgeEllipseCalloutDefault,
    5604                 :            :     (SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutTextRect ),
    5605                 :            :     21600, 21600,
    5606                 :            :     MIN_INT32, MIN_INT32,
    5607                 :            :     (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutGluePoints ),
    5608                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle )        // handles
    5609                 :            : };
    5610                 :            : 
    5611                 :            : static const SvxMSDffVertPair mso_sptCloudCalloutVert[] =
    5612                 :            : {
    5613                 :            :     { 1930,7160 },                                      // p
    5614                 :            :     { 1530,4490 }, { 3400,1970 }, { 5270,1970 },        // ccp
    5615                 :            :     { 5860,1950 }, { 6470,2210 }, { 6970,2600 },        // ccp
    5616                 :            :     { 7450,1390 }, { 8340,650 }, { 9340,650 },          // ccp
    5617                 :            :     { 10004,690 }, { 10710,1050 }, { 11210,1700 },      // ccp
    5618                 :            :     { 11570,630 }, { 12330,0 }, { 13150,0 },            // ccp
    5619                 :            :     { 13840,0 }, { 14470,460 }, { 14870,1160 },         // ccp
    5620                 :            :     { 15330,440 }, { 16020,0 }, { 16740,0 },            // ccp
    5621                 :            :     { 17910,0 }, { 18900,1130 }, { 19110,2710 },        // ccp
    5622                 :            :     { 20240,3150 }, { 21060,4580 }, { 21060,6220 },     // ccp
    5623                 :            :     { 21060,6720 }, { 21000,7200 }, { 20830,7660 },     // ccp
    5624                 :            :     { 21310,8460 }, { 21600,9450 }, { 21600,10460 },    // ccp
    5625                 :            :     { 21600,12750 }, { 20310,14680 }, { 18650,15010 },  // ccp
    5626                 :            :     { 18650,17200 }, { 17370,18920 }, { 15770,18920 },  // ccp
    5627                 :            :     { 15220,18920 }, { 14700,18710 }, { 14240,18310 },  // ccp
    5628                 :            :     { 13820,20240 }, { 12490,21600 }, { 11000,21600 },  // ccp
    5629                 :            :     { 9890,21600 }, { 8840,20790 }, { 8210,19510 },     // ccp
    5630                 :            :     { 7620,20000 }, { 7930,20290 }, { 6240,20290 },     // ccp
    5631                 :            :     { 4850,20290 }, { 3570,19280 }, { 2900,17640 },     // ccp
    5632                 :            :     { 1300,17600 }, { 480,16300 }, { 480,14660 },       // ccp
    5633                 :            :     { 480,13900 }, { 690,13210 }, { 1070,12640 },       // ccp
    5634                 :            :     { 380,12160 }, { 0,11210 }, { 0,10120 },            // ccp
    5635                 :            :     { 0,8590 }, { 840,7330 }, { 1930,7160 },            // ccp
    5636                 :            : 
    5637                 :            :     { 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 },         // pccp
    5638                 :            :     { 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 },         // pccp
    5639                 :            :     { 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 },     // pccp
    5640                 :            :     { 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 },     // pccp
    5641                 :            :     { 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 },     // pccp
    5642                 :            :     { 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 },     // pccp
    5643                 :            :     { 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 }, // pccp
    5644                 :            :     { 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 }, // pccp
    5645                 :            :     { 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 },     // pccp
    5646                 :            :     { 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 },     // pccp
    5647                 :            :     { 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 },     // pccp
    5648                 :            : 
    5649                 :            :     { 0x11 MSO_I, 0x12 MSO_I }, { 1800, 1800 }, { 0, 360 },                 // circ1
    5650                 :            :     { 0x13 MSO_I, 0x14 MSO_I }, { 1200, 1200 }, { 0, 360 },                 // circ2
    5651                 :            :     { 0xd MSO_I, 0xe MSO_I }, { 700, 700 }, { 0, 360 }                      // circ3
    5652                 :            : };
    5653                 :            : static const sal_uInt16 mso_sptCloudCalloutSegm[] =
    5654                 :            : {
    5655                 :            :     0x4000, 0x2016, 0x6001, 0x8000,
    5656                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5657                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5658                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5659                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5660                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5661                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5662                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5663                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5664                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5665                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5666                 :            :     0x4000, 0x2001, 0xaa00, 0x8000,
    5667                 :            :     0xa203, 0x6001, 0x8000,
    5668                 :            :     0xa203, 0x6001, 0x8000,
    5669                 :            :     0xa203, 0x6001, 0x8000
    5670                 :            : };
    5671                 :            : static const SvxMSDffCalculationData mso_sptCloudCalloutCalc[] =
    5672                 :            : {
    5673                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
    5674                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },
    5675                 :            :     { 0x6008, { 0x400, 0x401, 0 } },
    5676                 :            :     { 0x400a, { 10800, 0x402, 0 } },                    // 3
    5677                 :            :     { 0x4009, { 10800, 0x402, 0 } },                    // 4
    5678                 :            :     { 0x2000, { 0x403, 10800, 0 } },                    // 5
    5679                 :            :     { 0x2000, { 0x404, 10800, 0 } },                    // 6
    5680                 :            :     { 0xa000, { DFF_Prop_adjustValue, 0, 0x405 } },     // 7
    5681                 :            :     { 0xa000, { DFF_Prop_adjust2Value,0, 0x406 } },     // 8
    5682                 :            :     { 0x2001, { 0x407, 1, 3 } },                        // 9
    5683                 :            :     { 0x2001, { 0x408, 1, 3 } },                        // 0xa
    5684                 :            :     { 0x2001, { 0x407, 2, 3 } },                        // 0xb
    5685                 :            :     { 0x2001, { 0x408, 2, 3 } },                        // 0xc
    5686                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },         // 0xd
    5687                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },        // 0xe
    5688                 :            :     { 0x2001, { 0x403, 1, 10800 / 900 } },              // 0xf  taking half x distance of the radius from the first bobble
    5689                 :            :     { 0x2001, { 0x404, 1, 10800 / 900 } },              // 0x10
    5690                 :            :     { 0xe000, { 0x409, 0x405, 0x40f } },                // 0x11
    5691                 :            :     { 0xe000, { 0x40a, 0x406, 0x410 } },                // 0x12
    5692                 :            :     { 0x6000, { 0x40b, 0x405, 0 } },                    // 0x13
    5693                 :            :     { 0x6000, { 0x40c, 0x406, 0 } }                     // 0x14
    5694                 :            : };
    5695                 :            : static const sal_Int32 mso_sptCloudCalloutDefault[] =
    5696                 :            : {
    5697                 :            :     2, 1350, 25920
    5698                 :            : };
    5699                 :            : static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect[] =
    5700                 :            : {
    5701                 :            :     { { 3000, 3320 }, { 17110, 17330 } }
    5702                 :            : };
    5703                 :            : static const mso_CustomShape msoCloudCallout =
    5704                 :            : {
    5705                 :            :     (SvxMSDffVertPair*)mso_sptCloudCalloutVert, SAL_N_ELEMENTS( mso_sptCloudCalloutVert ),
    5706                 :            :     (sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1,
    5707                 :            :     (SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, SAL_N_ELEMENTS( mso_sptCloudCalloutCalc ),
    5708                 :            :     (sal_Int32*)mso_sptCloudCalloutDefault,
    5709                 :            :     (SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, SAL_N_ELEMENTS( mso_sptCloudCalloutTextRect ),
    5710                 :            :     21600, 21600,
    5711                 :            :     MIN_INT32, MIN_INT32,
    5712                 :            :     NULL, 0,
    5713                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle )        // handles
    5714                 :            : };
    5715                 :            : 
    5716                 :            : static const SvxMSDffVertPair mso_sptWaveVert[] =   // adjustment1 : 0 - 4460
    5717                 :            : {                                                   // adjustment2 : 8640 - 12960
    5718                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
    5719                 :            :     { 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I }
    5720                 :            : };
    5721                 :            : static const SvxMSDffCalculationData mso_sptWaveCalc[] =
    5722                 :            : {
    5723                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj)
    5724                 :            :     { 0x8000, { 21600, 0, 0x400 } },            //401
    5725                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
    5726                 :            :     { 0x2000, { 0x402, 0, 10800 } },            //403 -2160 -> 2160 (horz.adj)
    5727                 :            :     { 0x2001, { 0x403, 2, 1 } },                //404 -4320 -> 4320 (horz.adj)
    5728                 :            :     { 0x2003, { 0x404, 0, 0 } },                //405 abs( 0x404 )  (horz.adj)
    5729                 :            :     { 0x8000, { 4320, 0, 0x405 } },             //406
    5730                 :            :     { 0xa006, { 0x403, 0, 0x405 } },            //407
    5731                 :            :     { 0x4001, { 15800, 0x400, 4460 } },         //408 0 -> 15800    (vert.adj)
    5732                 :            :     { 0xa000, { 0x400, 0, 0x408 } },            //409
    5733                 :            :     { 0x6000, { 0x400, 0x408, 0 } },            //40a
    5734                 :            :     { 0x8000, { 21600, 0, 0x404 } },            //40b
    5735                 :            :     { 0x6006, { 0x403, 0x40b, 21600 } },        //40c
    5736                 :            :     { 0xa000, { 0x40c, 0, 0x407 } },            //40d width between p0 and p1
    5737                 :            :     { 0x2001, { 0x405, 1, 2 } },                //40e
    5738                 :            :     { 0xa000, { 0x407, 7200, 0x40e } },         //40f
    5739                 :            :     { 0x6000, { 0x40c, 0x40e, 7200 } },         //410
    5740                 :            :     { 0x2001, { 0x40d, 1, 2 } },                //411 1/2 width
    5741                 :            :     { 0x6000, { 0x407, 0x411, 0 } },            //412 top center glue xpos
    5742                 :            :     { 0x8000, { 21600, 0, 0x412 } },            //413 bottom center glue xpos
    5743                 :            :     { 0x2001, { 0x405, 1, 2 } },                //414 left glue x pos
    5744                 :            :     { 0x8000, { 21600, 0, 0x414 } },            //415 right glue x pos
    5745                 :            :     { 0x2001, { 0x400, 2, 1 } },                //416 y1 (textbox)
    5746                 :            :     { 0x8000, { 21600, 0, 0x416 } },            //417 y2 (textbox)
    5747                 :            : 
    5748                 :            :     { 0x8000, { 21600, 0, 0x407 } },            //418 p2
    5749                 :            : 
    5750                 :            :     { 0x8000, { 21600, 0, 0x40f } },            //419 c
    5751                 :            :     { 0x6000, { 0x401, 0x408, 0 } },            //41a
    5752                 :            : 
    5753                 :            :     { 0x8000, { 21600, 0, 0x410 } },            //41b c
    5754                 :            :     { 0xa000, { 0x401, 0, 0x408 } },            //41c
    5755                 :            : 
    5756                 :            :     { 0x8000, { 21600, 0, 0x40c } }             //41d p3
    5757                 :            : };
    5758                 :            : static const SvxMSDffVertPair mso_sptWaveGluePoints[] =
    5759                 :            : {
    5760                 :            :     { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
    5761                 :            : };
    5762                 :            : static const sal_uInt16 mso_sptWaveSegm[] =
    5763                 :            : {
    5764                 :            :     0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000
    5765                 :            : };
    5766                 :            : static const SvxMSDffHandle mso_sptWaveHandle[] =
    5767                 :            : {
    5768                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    5769                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 4460 },
    5770                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    5771                 :            :         0x101, 21600, 10800, 10800, 8640, 12960, MIN_INT32, 0x7fffffff }
    5772                 :            : };
    5773                 :            : static const sal_Int32 mso_sptWaveDefault[] =
    5774                 :            : {
    5775                 :            :     2, 1400, 10800
    5776                 :            : };
    5777                 :            : static const SvxMSDffTextRectangles mso_sptWaveTextRect[] =
    5778                 :            : {
    5779                 :            :     { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
    5780                 :            : };
    5781                 :            : static const mso_CustomShape msoWave =
    5782                 :            : {
    5783                 :            :     (SvxMSDffVertPair*)mso_sptWaveVert, SAL_N_ELEMENTS( mso_sptWaveVert ),
    5784                 :            :     (sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1,
    5785                 :            :     (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ),
    5786                 :            :     (sal_Int32*)mso_sptWaveDefault,
    5787                 :            :     (SvxMSDffTextRectangles*)mso_sptWaveTextRect, SAL_N_ELEMENTS( mso_sptWaveTextRect ),
    5788                 :            :     21600, 21600,
    5789                 :            :     MIN_INT32, MIN_INT32,
    5790                 :            :     (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ),
    5791                 :            :     (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle )
    5792                 :            : };
    5793                 :            : 
    5794                 :            : static const SvxMSDffVertPair mso_sptDoubleWaveVert[] = // adjustment1 : 0 - 2230
    5795                 :            : {                                                       // adjustment2 : 8640 - 12960
    5796                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 0x1e MSO_I, 10 MSO_I }, { 0x12 MSO_I, 0 MSO_I }, { 0x1f MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
    5797                 :            :     { 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 0x21 MSO_I, 28 MSO_I }, { 0x13 MSO_I, 1 MSO_I }, { 0x20 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I }
    5798                 :            : };
    5799                 :            : static const SvxMSDffCalculationData mso_sptDoubleWaveCalc[] =
    5800                 :            : {
    5801                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj)
    5802                 :            :     { 0x8000, { 21600, 0, 0x400 } },            //401
    5803                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
    5804                 :            :     { 0x2000, { 0x402, 0, 10800 } },            //403 -2160 -> 2160 (horz.adj)
    5805                 :            :     { 0x2001, { 0x403, 2, 1 } },                //404 -4320 -> 4320 (horz.adj)
    5806                 :            :     { 0x2003, { 0x404, 0, 0 } },                //405 abs( 0x404 )  (horz.adj)
    5807                 :            :     { 0x8000, { 4320, 0, 0x405 } },             //406 -> not used
    5808                 :            :     { 0xa006, { 0x403, 0, 0x405 } },            //407
    5809                 :            :     { 0x4001, { 7900, 0x400, 2230 } },          //408 0 -> 7900 (vert.adj)
    5810                 :            :     { 0xa000, { 0x400, 0, 0x408 } },            //409
    5811                 :            :     { 0x6000, { 0x400, 0x408, 0 } },            //40a
    5812                 :            :     { 0x8000, { 21600, 0, 0x404 } },            //40b
    5813                 :            :     { 0x6006, { 0x403, 0x40b, 21600 } },        //40c
    5814                 :            :     { 0xa000, { 0x40c, 0, 0x407 } },            //40d width between p0 and p1
    5815                 :            :     { 0x2001, { 0x405, 1, 2 } },                //40e
    5816                 :            :     { 0xa000, { 0x407, 3600, 0x40e } },         //40f
    5817                 :            :     { 0x6000, { 0x40c, 0x40e, 3600 } },         //410
    5818                 :            :     { 0x2001, { 0x40d, 1, 2 } },                //411 1/2 width
    5819                 :            :     { 0x6000, { 0x407, 0x411, 0 } },            //412 top center glue xpos
    5820                 :            :     { 0x8000, { 21600, 0, 0x412 } },            //413 bottom center glue xpos
    5821                 :            :     { 0x2001, { 0x405, 1, 2 } },                //414 left glue x pos
    5822                 :            :     { 0x8000, { 21600, 0, 0x414 } },            //415 right glue x pos
    5823                 :            :     { 0x2001, { 0x400, 2, 1 } },                //416 y1 (textbox)
    5824                 :            :     { 0x8000, { 21600, 0, 0x416 } },            //417 y2 (textbox)
    5825                 :            : 
    5826                 :            :     { 0x8000, { 21600, 0, 0x407 } },            //418 p2
    5827                 :            : 
    5828                 :            :     { 0x8000, { 21600, 0, 0x40f } },            //419 c
    5829                 :            :     { 0x6000, { 0x401, 0x408, 0 } },            //41a
    5830                 :            : 
    5831                 :            :     { 0x8000, { 21600, 0, 0x410 } },            //41b c
    5832                 :            :     { 0xa000, { 0x401, 0, 0x408 } },            //41c
    5833                 :            : 
    5834                 :            :     { 0x8000, { 21600, 0, 0x40c } },            //41d p3
    5835                 :            :     { 0xa000, { 0x412, 0, 0x40e } },            //41e
    5836                 :            :     { 0x6000, { 0x412, 0x40e, 0 } },            //41f
    5837                 :            :     { 0xa000, { 0x413, 0, 0x40e } },            //420
    5838                 :            :     { 0x6000, { 0x413, 0x40e, 0 } }             //421
    5839                 :            : };
    5840                 :            : static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints[] =
    5841                 :            : {
    5842                 :            :     { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
    5843                 :            : };
    5844                 :            : static const sal_uInt16 mso_sptDoubleWaveSegm[] =
    5845                 :            : {
    5846                 :            :     0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000
    5847                 :            : };
    5848                 :            : static const SvxMSDffHandle mso_sptDoubleWaveHandle[] =
    5849                 :            : {
    5850                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    5851                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 2230 },
    5852                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    5853                 :            :         0x101, 21600, 10800, 10800, 8640, 12960, MIN_INT32, 0x7fffffff }
    5854                 :            : };
    5855                 :            : static const sal_Int32 mso_sptDoubleWaveDefault[] =
    5856                 :            : {
    5857                 :            :     2, 1400, 10800
    5858                 :            : };
    5859                 :            : static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect[] =
    5860                 :            : {
    5861                 :            :     { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
    5862                 :            : };
    5863                 :            : static const mso_CustomShape msoDoubleWave =
    5864                 :            : {
    5865                 :            :     (SvxMSDffVertPair*)mso_sptDoubleWaveVert, SAL_N_ELEMENTS( mso_sptDoubleWaveVert ),
    5866                 :            :     (sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1,
    5867                 :            :     (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ),
    5868                 :            :     (sal_Int32*)mso_sptDoubleWaveDefault,
    5869                 :            :     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ),
    5870                 :            :     21600, 21600,
    5871                 :            :     MIN_INT32, MIN_INT32,
    5872                 :            :     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ),
    5873                 :            :     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle )
    5874                 :            : };
    5875                 :            : 
    5876                 :            : // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default
    5877                 :            : static const sal_uInt16 mso_DefaultFillingTable[] =
    5878                 :            : {
    5879                 :            :     0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000
    5880                 :            : };
    5881                 :         59 : sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
    5882                 :            : {
    5883                 :         59 :     sal_Bool bIsFilledByDefault = sal_True;
    5884                 :         59 :     sal_uInt32 i = (sal_uInt32)eSpType;
    5885         [ +  - ]:         59 :     if ( i < 0x100 )
    5886                 :         59 :         bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
    5887                 :         59 :     return bIsFilledByDefault;
    5888                 :            : }
    5889                 :          0 : sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType )
    5890                 :            : {
    5891                 :          0 :     sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS;
    5892                 :          0 :     const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType );
    5893 [ #  # ][ #  # ]:          0 :     if ( pDefCustomShape && pDefCustomShape->nGluePoints )
    5894                 :          0 :         nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM;
    5895                 :            :     else
    5896                 :            :     {
    5897         [ #  # ]:          0 :         switch( eSpType )
    5898                 :            :         {
    5899                 :            :             case mso_sptRectangle :
    5900                 :            :             case mso_sptRoundRectangle :
    5901                 :            :             case mso_sptPictureFrame :
    5902                 :            :             case mso_sptFlowChartProcess :
    5903                 :            :             case mso_sptFlowChartPredefinedProcess :
    5904                 :            :             case mso_sptFlowChartInternalStorage :
    5905                 :            :             case mso_sptTextPlainText :
    5906                 :            :             case mso_sptTextBox :
    5907                 :            :             case mso_sptVerticalScroll :
    5908                 :            :             case mso_sptHorizontalScroll :
    5909                 :          0 :                 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT;
    5910                 :          0 :             default: break;
    5911                 :            :         }
    5912                 :            :     }
    5913                 :          0 :     return nGluePointType;
    5914                 :            : }
    5915                 :            : 
    5916                 :            : // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default
    5917                 :            : // #i28269#
    5918                 :            : static const sal_uInt16 mso_DefaultStrokingTable[] =
    5919                 :            : {
    5920                 :            :     0x0000, 0x0000, 0x0000, 0x0000,
    5921                 :            :     0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame)
    5922                 :            :     0x0000, 0x0000, 0x0000, 0x0000,
    5923                 :            :     0x0000, 0x0000, 0x0000, 0x0000
    5924                 :            : };
    5925                 :            : // #i28269#
    5926                 :         63 : sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType )
    5927                 :            : {
    5928                 :         63 :     sal_Bool bIsStrokedByDefault = sal_True;
    5929                 :         63 :     sal_uInt32 i = (sal_uInt32)eSpType;
    5930         [ +  + ]:         63 :     if ( i < 0x100 )
    5931                 :         54 :         bIsStrokedByDefault = ( mso_DefaultStrokingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
    5932                 :         63 :     return bIsStrokedByDefault;
    5933                 :            : }
    5934                 :            : 
    5935                 :            : static const sal_uInt16 msoSortFilledObjectsToBackTable[] =
    5936                 :            : {
    5937                 :            :     0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
    5938                 :            : };
    5939                 :          0 : sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType )
    5940                 :            : {
    5941                 :          0 :     sal_Bool bSortFilledObjectsToBackByDefault = sal_True;
    5942                 :          0 :     sal_uInt32 i = (sal_uInt32)eSpType;
    5943         [ #  # ]:          0 :     if ( i < 0x100 )
    5944                 :          0 :         bSortFilledObjectsToBackByDefault = ( msoSortFilledObjectsToBackTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) != 0;
    5945                 :          0 :     return bSortFilledObjectsToBackByDefault;
    5946                 :            : }
    5947                 :            : 
    5948                 :            : static const SvxMSDffVertPair mso_sptFontWorkVert[] =
    5949                 :            : {
    5950                 :            :     { 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 }
    5951                 :            : };
    5952                 :            : static const sal_uInt16 mso_sptFontWorkSegm[] =
    5953                 :            : {
    5954                 :            :     0x4000, 0x0001, 0x8000,
    5955                 :            :     0x4000, 0x0001, 0x8000
    5956                 :            : };
    5957                 :            : static const SvxMSDffTextRectangles mso_sptFontWorkTextRect[] =
    5958                 :            : {
    5959                 :            :     { { 0, 0 }, { 21600, 21600 } }
    5960                 :            : };
    5961                 :            : static const mso_CustomShape msoFontWork =
    5962                 :            : {
    5963                 :            :     (SvxMSDffVertPair*)mso_sptFontWorkVert, SAL_N_ELEMENTS( mso_sptFontWorkVert ),
    5964                 :            :     (sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1,
    5965                 :            :     NULL, 0,
    5966                 :            :     NULL,
    5967                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    5968                 :            :     21600, 21600,
    5969                 :            :     MIN_INT32, MIN_INT32,
    5970                 :            :     NULL, 0,
    5971                 :            :     NULL, 0 // Handles
    5972                 :            : };
    5973                 :            : 
    5974                 :            : static const SvxMSDffVertPair mso_sptTextPlainTextVert[] =
    5975                 :            : {
    5976                 :            :     { 3 MSO_I, 0 }, { 5 MSO_I, 0 }, { 6 MSO_I, 21600 }, { 7 MSO_I, 21600 }
    5977                 :            : };
    5978                 :            : static const SvxMSDffCalculationData mso_sptTextPlainTextCalc[] =   // adjustment1 : 6629 - 14971
    5979                 :            : {
    5980                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
    5981                 :            :     { 0x2001, { 0x400, 2, 1 } },
    5982                 :            :     { 0x2003, { 0x401, 0, 0 } },
    5983                 :            :     { 0xa006, { 0x401, 0, 0x402 } },        // x1(3)
    5984                 :            :     { 0x8000, { 21600, 0, 0x402 } },
    5985                 :            :     { 0x6006, { 0x401, 0x404, 21600 } },    // x2(5)
    5986                 :            :     { 0x6006, { 0x401, 0x402, 0 } },        // x2
    5987                 :            :     { 0xa006, { 0x401, 21600, 0x404 } }     // x3(7)
    5988                 :            : };
    5989                 :            : static const sal_uInt16 mso_sptTextPlainTextSegm[] =
    5990                 :            : {
    5991                 :            :     0x4000, 0x0001, 0x8000,
    5992                 :            :     0x4000, 0x0001, 0x8000
    5993                 :            : };
    5994                 :            : static const SvxMSDffHandle mso_sptTextPlainTextHandle[] =
    5995                 :            : {
    5996                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    5997                 :            :         0x100, 21600, 10800, 10800, 6629, 14971, MIN_INT32, 0x7fffffff }
    5998                 :            : };
    5999                 :            : static const mso_CustomShape msoTextPlainText =
    6000                 :            : {
    6001                 :            :     (SvxMSDffVertPair*)mso_sptTextPlainTextVert, SAL_N_ELEMENTS( mso_sptTextPlainTextVert ),
    6002                 :            :     (sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1,
    6003                 :            :     (SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, SAL_N_ELEMENTS( mso_sptTextPlainTextCalc ),
    6004                 :            :     (sal_Int32*)mso_sptDefault10800,
    6005                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6006                 :            :     21600, 21600,
    6007                 :            :     MIN_INT32, MIN_INT32,
    6008                 :            :     NULL, 0,
    6009                 :            :     (SvxMSDffHandle*)mso_sptTextPlainTextHandle, SAL_N_ELEMENTS( mso_sptTextPlainTextHandle )
    6010                 :            : };
    6011                 :            : 
    6012                 :            : static const SvxMSDffVertPair mso_sptTextStopVert[] =
    6013                 :            : {
    6014                 :            :     { 0, 0 MSO_I }, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I },
    6015                 :            :     { 0, 1 MSO_I }, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I }
    6016                 :            : };
    6017                 :            : static const SvxMSDffCalculationData mso_sptTextStopCalc[] =    // adjustment1 : 3080 - 10800
    6018                 :            : {
    6019                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    6020                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
    6021                 :            : };
    6022                 :            : static const sal_uInt16 mso_sptTextStopSegm[] =
    6023                 :            : {
    6024                 :            :     0x4000, 0x0003, 0x8000,
    6025                 :            :     0x4000, 0x0003, 0x8000
    6026                 :            : };
    6027                 :            : static const sal_Int32 mso_sptTextStopDefault[] =
    6028                 :            : {
    6029                 :            :     1, 2700
    6030                 :            : };
    6031                 :            : static const SvxMSDffHandle mso_sptTextStopHandle[] =
    6032                 :            : {
    6033                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6034                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 3080, 10800 }
    6035                 :            : };
    6036                 :            : static const mso_CustomShape msoTextStop =
    6037                 :            : {
    6038                 :            :     (SvxMSDffVertPair*)mso_sptTextStopVert, SAL_N_ELEMENTS( mso_sptTextStopVert ),
    6039                 :            :     (sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1,
    6040                 :            :     (SvxMSDffCalculationData*)mso_sptTextStopCalc, SAL_N_ELEMENTS( mso_sptTextStopCalc ),
    6041                 :            :     (sal_Int32*)mso_sptTextStopDefault,
    6042                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6043                 :            :     21600, 21600,
    6044                 :            :     MIN_INT32, MIN_INT32,
    6045                 :            :     NULL, 0,
    6046                 :            :     (SvxMSDffHandle*)mso_sptTextStopHandle, SAL_N_ELEMENTS( mso_sptTextStopHandle )
    6047                 :            : };
    6048                 :            : 
    6049                 :            : static const SvxMSDffVertPair mso_sptTextTriangleVert[] =
    6050                 :            : {
    6051                 :            :     { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 }
    6052                 :            : };
    6053                 :            : static const SvxMSDffCalculationData mso_sptTextTriangleCalc[] =    // adjustment1 : 6629 - 14971
    6054                 :            : {
    6055                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
    6056                 :            : };
    6057                 :            : static const sal_uInt16 mso_sptTextTriangleSegm[] =
    6058                 :            : {
    6059                 :            :     0x4000, 0x0002, 0x8000,
    6060                 :            :     0x4000, 0x0001, 0x8000
    6061                 :            : };
    6062                 :            : static const SvxMSDffHandle mso_sptTextTriangleHandle[] =
    6063                 :            : {
    6064                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6065                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 }
    6066                 :            : };
    6067                 :            : static const mso_CustomShape msoTextTriangle =
    6068                 :            : {
    6069                 :            :     (SvxMSDffVertPair*)mso_sptTextTriangleVert, SAL_N_ELEMENTS( mso_sptTextTriangleVert ),
    6070                 :            :     (sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1,
    6071                 :            :     (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, SAL_N_ELEMENTS( mso_sptTextTriangleCalc ),
    6072                 :            :     (sal_Int32*)mso_sptDefault10800,
    6073                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6074                 :            :     21600, 21600,
    6075                 :            :     MIN_INT32, MIN_INT32,
    6076                 :            :     NULL, 0,
    6077                 :            :     (SvxMSDffHandle*)mso_sptTextTriangleHandle, SAL_N_ELEMENTS( mso_sptTextTriangleHandle )
    6078                 :            : };
    6079                 :            : static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert[] =
    6080                 :            : {
    6081                 :            :     { 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
    6082                 :            : };
    6083                 :            : static const sal_uInt16 mso_sptTextTriangleInvertedSegm[] =
    6084                 :            : {
    6085                 :            :     0x4000, 0x0001, 0x8000,
    6086                 :            :     0x4000, 0x0002, 0x8000
    6087                 :            : };
    6088                 :            : static const mso_CustomShape msoTextTriangleInverted =
    6089                 :            : {
    6090                 :            :     (SvxMSDffVertPair*)mso_sptTextTriangleInvertedVert, SAL_N_ELEMENTS( mso_sptTextTriangleInvertedVert ),
    6091                 :            :     (sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1,
    6092                 :            :     (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, SAL_N_ELEMENTS( mso_sptTextTriangleCalc ),
    6093                 :            :     (sal_Int32*)mso_sptDefault10800,
    6094                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6095                 :            :     21600, 21600,
    6096                 :            :     MIN_INT32, MIN_INT32,
    6097                 :            :     NULL, 0,
    6098                 :            :     (SvxMSDffHandle*)mso_sptTextTriangleHandle, SAL_N_ELEMENTS( mso_sptTextTriangleHandle )
    6099                 :            : };
    6100                 :            : 
    6101                 :            : static const SvxMSDffVertPair mso_sptTextChevronVert[] =
    6102                 :            : {
    6103                 :            :     { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 10800, 1 MSO_I }, { 21600, 21600 }
    6104                 :            : };
    6105                 :            : static const SvxMSDffCalculationData mso_sptTextChevronCalc[] = // adjustment1 : 6629 - 14971
    6106                 :            : {
    6107                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    6108                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
    6109                 :            : };
    6110                 :            : static const sal_uInt16 mso_sptTextChevronSegm[] =
    6111                 :            : {
    6112                 :            :     0x4000, 0x0002, 0x8000,
    6113                 :            :     0x4000, 0x0002, 0x8000
    6114                 :            : };
    6115                 :            : static const SvxMSDffHandle mso_sptTextChevronHandle[] =
    6116                 :            : {
    6117                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6118                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
    6119                 :            : };
    6120                 :            : static const mso_CustomShape msoTextChevron =
    6121                 :            : {
    6122                 :            :     (SvxMSDffVertPair*)mso_sptTextChevronVert, SAL_N_ELEMENTS( mso_sptTextChevronVert ),
    6123                 :            :     (sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1,
    6124                 :            :     (SvxMSDffCalculationData*)mso_sptTextChevronCalc, SAL_N_ELEMENTS( mso_sptTextChevronCalc ),
    6125                 :            :     (sal_Int32*)mso_sptDefault5400,
    6126                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6127                 :            :     21600, 21600,
    6128                 :            :     MIN_INT32, MIN_INT32,
    6129                 :            :     NULL, 0,
    6130                 :            :     (SvxMSDffHandle*)mso_sptTextChevronHandle, SAL_N_ELEMENTS( mso_sptTextChevronHandle )
    6131                 :            : };
    6132                 :            : 
    6133                 :            : static const SvxMSDffVertPair mso_sptTextChevronInvertedVert[] =
    6134                 :            : {
    6135                 :            :     { 0, 0 }, { 10800, 1 MSO_I }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
    6136                 :            : };
    6137                 :            : static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc[] = // adjustment1 : 6629 - 14971
    6138                 :            : {
    6139                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    6140                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
    6141                 :            : };
    6142                 :            : static const sal_uInt16 mso_sptTextChevronInvertedSegm[] =
    6143                 :            : {
    6144                 :            :     0x4000, 0x0002, 0x8000,
    6145                 :            :     0x4000, 0x0002, 0x8000
    6146                 :            : };
    6147                 :            : static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] =
    6148                 :            : {
    6149                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6150                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 10800, 21600 }
    6151                 :            : };
    6152                 :            : static const mso_CustomShape msoTextChevronInverted =
    6153                 :            : {
    6154                 :            :     (SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, SAL_N_ELEMENTS( mso_sptTextChevronInvertedVert ),
    6155                 :            :     (sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1,
    6156                 :            :     (SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, SAL_N_ELEMENTS( mso_sptTextChevronInvertedCalc ),
    6157                 :            :     (sal_Int32*)mso_sptDefault16200,
    6158                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6159                 :            :     21600, 21600,
    6160                 :            :     MIN_INT32, MIN_INT32,
    6161                 :            :     NULL, 0,
    6162                 :            :     (SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, SAL_N_ELEMENTS( mso_sptTextChevronInvertedHandle )
    6163                 :            : };
    6164                 :            : 
    6165                 :            : static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] =
    6166                 :            : {
    6167                 :            :     { 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 },
    6168                 :            :     { 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }
    6169                 :            : };
    6170                 :            : static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] = // adjustment1 : 6629 - 14971
    6171                 :            : {
    6172                 :            :     { 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
    6173                 :            :     { 0x8000, { 21600, 0, 0x400 } }
    6174                 :            : };
    6175                 :            : static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
    6176                 :            : {
    6177                 :            :     0xA203, 0x8000,
    6178                 :            :     0xA203, 0x8000
    6179                 :            : };
    6180                 :            : static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] =
    6181                 :            : {
    6182                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6183                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 10800, 21600 }
    6184                 :            : };
    6185                 :            : static const mso_CustomShape msoTextRingOutside =
    6186                 :            : {
    6187                 :            :     (SvxMSDffVertPair*)mso_sptTextRingOutsideVert, SAL_N_ELEMENTS( mso_sptTextRingOutsideVert ),
    6188                 :            :     (sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1,
    6189                 :            :     (SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, SAL_N_ELEMENTS( mso_sptTextRingOutsideCalc ),
    6190                 :            :     (sal_Int32*)mso_sptDefault16200,
    6191                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6192                 :            :     21600, 21600,
    6193                 :            :     MIN_INT32, MIN_INT32,
    6194                 :            :     NULL, 0,
    6195                 :            :     (SvxMSDffHandle*)mso_sptTextRingOutsideHandle, SAL_N_ELEMENTS( mso_sptTextRingOutsideHandle )
    6196                 :            : };
    6197                 :            : 
    6198                 :            : static const SvxMSDffVertPair mso_sptTextFadeRightVert[] =
    6199                 :            : {
    6200                 :            :     { 0, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 1 MSO_I }
    6201                 :            : };
    6202                 :            : static const SvxMSDffCalculationData mso_sptTextFadeCalc[] =
    6203                 :            : {
    6204                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    6205                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
    6206                 :            : };
    6207                 :            : static const sal_uInt16 mso_sptTextFadeSegm[] =
    6208                 :            : {
    6209                 :            :     0x4000, 0x0001, 0x8000,
    6210                 :            :     0x4000, 0x0001, 0x8000
    6211                 :            : };
    6212                 :            : static const SvxMSDffHandle mso_sptTextFadeRightHandle[] =
    6213                 :            : {
    6214                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6215                 :            :         21600, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
    6216                 :            : };
    6217                 :            : static const mso_CustomShape msoTextFadeRight =
    6218                 :            : {
    6219                 :            :     (SvxMSDffVertPair*)mso_sptTextFadeRightVert, SAL_N_ELEMENTS( mso_sptTextFadeRightVert ),
    6220                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6221                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6222                 :            :     (sal_Int32*)mso_sptDefault7200,
    6223                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6224                 :            :     21600, 21600,
    6225                 :            :     MIN_INT32, MIN_INT32,
    6226                 :            :     NULL, 0,
    6227                 :            :     (SvxMSDffHandle*)mso_sptTextFadeRightHandle, SAL_N_ELEMENTS( mso_sptTextFadeRightHandle )
    6228                 :            : };
    6229                 :            : 
    6230                 :            : static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] =
    6231                 :            : {
    6232                 :            :     { 0, 0 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 21600, 21600 }
    6233                 :            : };
    6234                 :            : static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] =
    6235                 :            : {
    6236                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6237                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10800 }
    6238                 :            : };
    6239                 :            : static const mso_CustomShape msoTextFadeLeft =
    6240                 :            : {
    6241                 :            :     (SvxMSDffVertPair*)mso_sptTextFadeLeftVert, SAL_N_ELEMENTS( mso_sptTextFadeLeftVert ),
    6242                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6243                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6244                 :            :     (sal_Int32*)mso_sptDefault7200,
    6245                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6246                 :            :     21600, 21600,
    6247                 :            :     MIN_INT32, MIN_INT32,
    6248                 :            :     NULL, 0,
    6249                 :            :     (SvxMSDffHandle*)mso_sptTextFadeLeftHandle, SAL_N_ELEMENTS( mso_sptTextFadeLeftHandle )
    6250                 :            : };
    6251                 :            : 
    6252                 :            : static const SvxMSDffVertPair mso_sptTextFadeUpVert[] =
    6253                 :            : {
    6254                 :            :     { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 0, 21600 }, { 21600, 21600 }
    6255                 :            : };
    6256                 :            : static const SvxMSDffHandle mso_sptTextFadeUpHandle[] =
    6257                 :            : {
    6258                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6259                 :            :         0x100, 0, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6260                 :            : };
    6261                 :            : static const mso_CustomShape msoTextFadeUp =
    6262                 :            : {
    6263                 :            :     (SvxMSDffVertPair*)mso_sptTextFadeUpVert, SAL_N_ELEMENTS( mso_sptTextFadeUpVert ),
    6264                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6265                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6266                 :            :     (sal_Int32*)mso_sptDefault7200,
    6267                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6268                 :            :     21600, 21600,
    6269                 :            :     MIN_INT32, MIN_INT32,
    6270                 :            :     NULL, 0,
    6271                 :            :     (SvxMSDffHandle*)mso_sptTextFadeUpHandle, SAL_N_ELEMENTS( mso_sptTextFadeUpHandle )
    6272                 :            : };
    6273                 :            : 
    6274                 :            : static const SvxMSDffVertPair mso_sptTextFadeDownVert[] =
    6275                 :            : {
    6276                 :            :     { 0, 0 }, { 21600, 0 }, { 0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
    6277                 :            : };
    6278                 :            : static const SvxMSDffHandle mso_sptTextFadeDownHandle[] =
    6279                 :            : {
    6280                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6281                 :            :         0x100, 21600, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6282                 :            : };
    6283                 :            : static const mso_CustomShape msoTextFadeDown =
    6284                 :            : {
    6285                 :            :     (SvxMSDffVertPair*)mso_sptTextFadeDownVert, SAL_N_ELEMENTS( mso_sptTextFadeDownVert ),
    6286                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6287                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6288                 :            :     (sal_Int32*)mso_sptDefault7200,
    6289                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6290                 :            :     21600, 21600,
    6291                 :            :     MIN_INT32, MIN_INT32,
    6292                 :            :     NULL, 0,
    6293                 :            :     (SvxMSDffHandle*)mso_sptTextFadeDownHandle, SAL_N_ELEMENTS( mso_sptTextFadeDownHandle )
    6294                 :            : };
    6295                 :            : 
    6296                 :            : static const SvxMSDffVertPair mso_sptTextSlantUpVert[] =
    6297                 :            : {
    6298                 :            :     { 0, 0 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I }
    6299                 :            : };
    6300                 :            : static const SvxMSDffHandle mso_sptTextSlantUpHandle[] =
    6301                 :            : {
    6302                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6303                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 15400 }
    6304                 :            : };
    6305                 :            : static const mso_CustomShape msoTextSlantUp =
    6306                 :            : {
    6307                 :            :     (SvxMSDffVertPair*)mso_sptTextSlantUpVert, SAL_N_ELEMENTS( mso_sptTextSlantUpVert ),
    6308                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6309                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6310                 :            :     (sal_Int32*)mso_sptDefault12000,
    6311                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6312                 :            :     21600, 21600,
    6313                 :            :     MIN_INT32, MIN_INT32,
    6314                 :            :     NULL, 0,
    6315                 :            :     (SvxMSDffHandle*)mso_sptTextSlantUpHandle, SAL_N_ELEMENTS( mso_sptTextSlantUpHandle )
    6316                 :            : };
    6317                 :            : 
    6318                 :            : static const SvxMSDffVertPair mso_sptTextSlantDownVert[] =
    6319                 :            : {
    6320                 :            :     { 0, 0 }, { 21600, 1 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
    6321                 :            : };
    6322                 :            : static const SvxMSDffHandle mso_sptTextSlantDownHandle[] =
    6323                 :            : {
    6324                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6325                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 6200, 21600 }
    6326                 :            : };
    6327                 :            : static const mso_CustomShape msoTextSlantDown =
    6328                 :            : {
    6329                 :            :     (SvxMSDffVertPair*)mso_sptTextSlantDownVert, SAL_N_ELEMENTS( mso_sptTextSlantDownVert ),
    6330                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6331                 :            :     (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ),
    6332                 :            :     (sal_Int32*)mso_sptDefault12000,
    6333                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6334                 :            :     21600, 21600,
    6335                 :            :     MIN_INT32, MIN_INT32,
    6336                 :            :     NULL, 0,
    6337                 :            :     (SvxMSDffHandle*)mso_sptTextSlantDownHandle, SAL_N_ELEMENTS( mso_sptTextSlantDownHandle )
    6338                 :            : };
    6339                 :            : 
    6340                 :            : static const SvxMSDffVertPair mso_sptTextCascadeUpVert[] =
    6341                 :            : {
    6342                 :            :     { 0, 2 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I }
    6343                 :            : };
    6344                 :            : static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] =
    6345                 :            : {
    6346                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    6347                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
    6348                 :            :     { 0x2001, { 0x401, 1, 4 } }
    6349                 :            : };
    6350                 :            : static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] =
    6351                 :            : {
    6352                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6353                 :            :         21600, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 6200, 21600 }
    6354                 :            : };
    6355                 :            : static const mso_CustomShape msoTextCascadeUp =
    6356                 :            : {
    6357                 :            :     (SvxMSDffVertPair*)mso_sptTextCascadeUpVert, SAL_N_ELEMENTS( mso_sptTextCascadeUpVert ),
    6358                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6359                 :            :     (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, SAL_N_ELEMENTS( mso_sptTextCascadeCalc ),
    6360                 :            :     (sal_Int32*)mso_sptDefault9600,
    6361                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6362                 :            :     21600, 21600,
    6363                 :            :     MIN_INT32, MIN_INT32,
    6364                 :            :     NULL, 0,
    6365                 :            :     (SvxMSDffHandle*)mso_sptTextCascadeUpHandle, SAL_N_ELEMENTS( mso_sptTextCascadeUpHandle )
    6366                 :            : };
    6367                 :            : 
    6368                 :            : static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] =
    6369                 :            : {
    6370                 :            :     { 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
    6371                 :            : };
    6372                 :            : static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] =
    6373                 :            : {
    6374                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6375                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 6200, 21600 }
    6376                 :            : };
    6377                 :            : static const mso_CustomShape msoTextCascadeDown =
    6378                 :            : {
    6379                 :            :     (SvxMSDffVertPair*)mso_sptTextCascadeDownVert, SAL_N_ELEMENTS( mso_sptTextCascadeDownVert ),
    6380                 :            :     (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
    6381                 :            :     (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, SAL_N_ELEMENTS( mso_sptTextCascadeCalc ),
    6382                 :            :     (sal_Int32*)mso_sptDefault9600,
    6383                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6384                 :            :     21600, 21600,
    6385                 :            :     MIN_INT32, MIN_INT32,
    6386                 :            :     NULL, 0,
    6387                 :            :     (SvxMSDffHandle*)mso_sptTextCascadeDownHandle, SAL_N_ELEMENTS( mso_sptTextCascadeDownHandle )
    6388                 :            : };
    6389                 :            : 
    6390                 :            : static const SvxMSDffVertPair mso_sptTextArchUpCurveVert[] =
    6391                 :            : {
    6392                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
    6393                 :            : };
    6394                 :            : static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] =
    6395                 :            : {
    6396                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    6397                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    6398                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    6399                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    6400                 :            :     { 0x8000, { 21600, 0, 0x402 } }
    6401                 :            : };
    6402                 :            : static const sal_uInt16 mso_sptTextArchUpCurveSegm[] =
    6403                 :            : {
    6404                 :            :     0xA504, 0x8000      // clockwíse arc
    6405                 :            : };
    6406                 :            : static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] =
    6407                 :            : {
    6408                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR,
    6409                 :            :         10800, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6410                 :            : };
    6411                 :            : static const sal_Int32 mso_sptTextArchUpCurveDefault[] =
    6412                 :            : {
    6413                 :            :     1, 180
    6414                 :            : };
    6415                 :            : static const mso_CustomShape msoTextArchUpCurve =
    6416                 :            : {
    6417                 :            :     (SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, SAL_N_ELEMENTS( mso_sptTextArchUpCurveVert ),
    6418                 :            :     (sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1,
    6419                 :            :     (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, SAL_N_ELEMENTS( mso_sptTextArchCurveCalc ),
    6420                 :            :     (sal_Int32*)mso_sptTextArchUpCurveDefault,
    6421                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6422                 :            :     21600, 21600,
    6423                 :            :     MIN_INT32, MIN_INT32,
    6424                 :            :     NULL, 0,
    6425                 :            :     (SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, SAL_N_ELEMENTS( mso_sptTextArchUpCurveHandle )
    6426                 :            : };
    6427                 :            : 
    6428                 :            : static const SvxMSDffVertPair mso_sptTextArchDownCurveVert[] =
    6429                 :            : {
    6430                 :            :     { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
    6431                 :            : };
    6432                 :            : static const sal_uInt16 mso_sptTextArchDownCurveSegm[] =
    6433                 :            : {
    6434                 :            :     0xA304, 0x8000      // counter clockwise arc to
    6435                 :            : };
    6436                 :            : static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] =
    6437                 :            : {
    6438                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR,
    6439                 :            :         10800, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6440                 :            : };
    6441                 :            : static const sal_Int32 mso_sptTextArchDownCurveDefault[] =
    6442                 :            : {
    6443                 :            :     1, 0
    6444                 :            : };
    6445                 :            : static const mso_CustomShape msoTextArchDownCurve =
    6446                 :            : {
    6447                 :            :     (SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, SAL_N_ELEMENTS( mso_sptTextArchDownCurveVert ),
    6448                 :            :     (sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1,
    6449                 :            :     (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, SAL_N_ELEMENTS( mso_sptTextArchCurveCalc ),
    6450                 :            :     (sal_Int32*)mso_sptTextArchDownCurveDefault,
    6451                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6452                 :            :     21600, 21600,
    6453                 :            :     MIN_INT32, MIN_INT32,
    6454                 :            :     NULL, 0,
    6455                 :            :     (SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, SAL_N_ELEMENTS( mso_sptTextArchDownCurveHandle )
    6456                 :            : };
    6457                 :            : 
    6458                 :            : static const SvxMSDffVertPair mso_sptTextCircleCurveVert[] =
    6459                 :            : {
    6460                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I }
    6461                 :            : };
    6462                 :            : static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc[] =
    6463                 :            : {
    6464                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    6465                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    6466                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    6467                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    6468                 :            :     { 0x8000, { 21600, 0, 0x403 } }
    6469                 :            : };
    6470                 :            : static const sal_uInt16 mso_sptTextCircleCurveSegm[] =
    6471                 :            : {
    6472                 :            :     0xA504, 0x8000      // clockwise arc to
    6473                 :            : };
    6474                 :            : static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] =
    6475                 :            : {
    6476                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR,
    6477                 :            :         10800, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6478                 :            : };
    6479                 :            : static const sal_Int32 mso_sptTextCircleCurveDefault[] =
    6480                 :            : {
    6481                 :            :     1, -179
    6482                 :            : };
    6483                 :            : static const mso_CustomShape msoTextCircleCurve =
    6484                 :            : {
    6485                 :            :     (SvxMSDffVertPair*)mso_sptTextCircleCurveVert, SAL_N_ELEMENTS( mso_sptTextCircleCurveVert ),
    6486                 :            :     (sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1,
    6487                 :            :     (SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, SAL_N_ELEMENTS( mso_sptTextCircleCurveCalc ),
    6488                 :            :     (sal_Int32*)mso_sptTextCircleCurveDefault,
    6489                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6490                 :            :     21600, 21600,
    6491                 :            :     MIN_INT32, MIN_INT32,
    6492                 :            :     NULL, 0,
    6493                 :            :     (SvxMSDffHandle*)mso_sptTextCircleCurveHandle, SAL_N_ELEMENTS( mso_sptTextCircleCurveHandle )
    6494                 :            : };
    6495                 :            : 
    6496                 :            : static const SvxMSDffVertPair mso_sptTextButtonCurveVert[] =
    6497                 :            : {
    6498                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
    6499                 :            :     { 0, 10800 }, { 21600, 10800 },
    6500                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
    6501                 :            : };
    6502                 :            : static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc[] =
    6503                 :            : {
    6504                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    6505                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    6506                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    6507                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    6508                 :            :     { 0x8000, { 21600, 0, 0x402 } },
    6509                 :            :     { 0x8000, { 21600, 0, 0x403 } }
    6510                 :            : };
    6511                 :            : static const sal_uInt16 mso_sptTextButtonCurveSegm[] =
    6512                 :            : {
    6513                 :            :     0xA504, 0x8000,     // clockwise arc
    6514                 :            :     0x4000, 0x0001, 0x8000,
    6515                 :            :     0xA304, 0x8000      // counter clockwise
    6516                 :            : };
    6517                 :            : static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] =
    6518                 :            : {
    6519                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR,
    6520                 :            :         10800, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6521                 :            : };
    6522                 :            : static const sal_Int32 mso_sptTextButtonCurveDefault[] =
    6523                 :            : {
    6524                 :            :     1, 180
    6525                 :            : };
    6526                 :            : static const mso_CustomShape msoTextButtonCurve =
    6527                 :            : {
    6528                 :            :     (SvxMSDffVertPair*)mso_sptTextButtonCurveVert, SAL_N_ELEMENTS( mso_sptTextButtonCurveVert ),
    6529                 :            :     (sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1,
    6530                 :            :     (SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, SAL_N_ELEMENTS( mso_sptTextButtonCurveCalc ),
    6531                 :            :     (sal_Int32*)mso_sptTextButtonCurveDefault,
    6532                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6533                 :            :     21600, 21600,
    6534                 :            :     MIN_INT32, MIN_INT32,
    6535                 :            :     NULL, 0,
    6536                 :            :     (SvxMSDffHandle*)mso_sptTextButtonCurveHandle, SAL_N_ELEMENTS( mso_sptTextButtonCurveHandle )
    6537                 :            : };
    6538                 :            : 
    6539                 :            : static const SvxMSDffVertPair mso_sptTextArchUpPourVert[] =
    6540                 :            : {
    6541                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
    6542                 :            :     { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 9 MSO_I }
    6543                 :            : };
    6544                 :            : static const SvxMSDffCalculationData mso_sptTextArchPourCalc[] =
    6545                 :            : {
    6546                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    6547                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    6548                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    6549                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    6550                 :            :     { 0x8000, { 21600, 0, 0x402 } },
    6551                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
    6552                 :            :     { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6
    6553                 :            :     { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
    6554                 :            :     { 0x2000, { 0x406, 10800, 0 } },                // 8
    6555                 :            :     { 0x2000, { 0x407, 10800, 0 } },
    6556                 :            :     { 0x8000, { 21600, 0, 0x408 } },                // 10
    6557                 :            :     { 0x8000, { 21600, 0, 0x405 } }
    6558                 :            : };
    6559                 :            : static const sal_uInt16 mso_sptTextArchUpPourSegm[] =
    6560                 :            : {
    6561                 :            :     0xA504, 0x8000, 0xA504, 0x8000
    6562                 :            : };
    6563                 :            : static const SvxMSDffHandle mso_sptTextArchPourHandle[] =
    6564                 :            : {
    6565                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    6566                 :            :         0x101, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6567                 :            : };
    6568                 :            : static const sal_Int32 mso_sptTextArchUpPourDefault[] =
    6569                 :            : {
    6570                 :            :     2, 180, 5400
    6571                 :            : };
    6572                 :            : static const mso_CustomShape msoTextArchUpPour =
    6573                 :            : {
    6574                 :            :     (SvxMSDffVertPair*)mso_sptTextArchUpPourVert, SAL_N_ELEMENTS( mso_sptTextArchUpPourVert ),
    6575                 :            :     (sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1,
    6576                 :            :     (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, SAL_N_ELEMENTS( mso_sptTextArchPourCalc ),
    6577                 :            :     (sal_Int32*)mso_sptTextArchUpPourDefault,
    6578                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6579                 :            :     21600, 21600,
    6580                 :            :     MIN_INT32, MIN_INT32,
    6581                 :            :     NULL, 0,
    6582                 :            :     (SvxMSDffHandle*)mso_sptTextArchPourHandle, SAL_N_ELEMENTS( mso_sptTextArchPourHandle )
    6583                 :            : };
    6584                 :            : 
    6585                 :            : static const SvxMSDffVertPair mso_sptTextArchDownPourVert[] =
    6586                 :            : {
    6587                 :            :     { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 0xa MSO_I, 9 MSO_I }, { 8 MSO_I, 9 MSO_I },
    6588                 :            :     { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
    6589                 :            : };
    6590                 :            : static const sal_uInt16 mso_sptTextArchDownPourSegm[] =
    6591                 :            : {
    6592                 :            :     0xA304, 0x8000, 0xA304, 0x8000
    6593                 :            : };
    6594                 :            : static const sal_Int32 mso_sptTextArchDownPourDefault[] =
    6595                 :            : {
    6596                 :            :     2, 0, 5400
    6597                 :            : };
    6598                 :            : static const mso_CustomShape msoTextArchDownPour =
    6599                 :            : {
    6600                 :            :     (SvxMSDffVertPair*)mso_sptTextArchDownPourVert, SAL_N_ELEMENTS( mso_sptTextArchDownPourVert ),
    6601                 :            :     (sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1,
    6602                 :            :     (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, SAL_N_ELEMENTS( mso_sptTextArchPourCalc ),
    6603                 :            :     (sal_Int32*)mso_sptTextArchDownPourDefault,
    6604                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6605                 :            :     21600, 21600,
    6606                 :            :     MIN_INT32, MIN_INT32,
    6607                 :            :     NULL, 0,
    6608                 :            :     (SvxMSDffHandle*)mso_sptTextArchPourHandle, SAL_N_ELEMENTS( mso_sptTextArchPourHandle )
    6609                 :            : };
    6610                 :            : 
    6611                 :            : static const SvxMSDffVertPair mso_sptTextCirclePourVert[] =
    6612                 :            : {
    6613                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I },
    6614                 :            :     { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 8 MSO_I, 0xa MSO_I }
    6615                 :            : };
    6616                 :            : static const SvxMSDffCalculationData mso_sptTextCirclePourCalc[] =
    6617                 :            : {
    6618                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
    6619                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
    6620                 :            :     { 0x2000, { 0x400, 10800, 0 } },
    6621                 :            :     { 0x2000, { 0x401, 10800, 0 } },
    6622                 :            :     { 0x8000, { 21600, 0, 0x403 } },
    6623                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
    6624                 :            :     { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6
    6625                 :            :     { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
    6626                 :            :     { 0x2000, { 0x406, 10800, 0 } },                // 8
    6627                 :            :     { 0x2000, { 0x407, 10800, 0 } },
    6628                 :            :     { 0x8000, { 21600, 0, 0x409 } },                // 10
    6629                 :            :     { 0x8000, { 21600, 0, 0x405 } },
    6630                 :            :     { 0x000, { 21600, 0, 0 } }
    6631                 :            : };
    6632                 :            : static const sal_uInt16 mso_sptTextCirclePourSegm[] =
    6633                 :            : {
    6634                 :            :     0xA504, 0x8000, 0xA504, 0x8000
    6635                 :            : };
    6636                 :            : static const SvxMSDffHandle mso_sptTextCirclePourHandle[] =
    6637                 :            : {
    6638                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    6639                 :            :         0x101, 0x100, 10800, 10800, 0, 10800, MIN_INT32, 0x7fffffff }
    6640                 :            : };
    6641                 :            : static const sal_Int32 mso_sptTextCirclePourDefault[] =
    6642                 :            : {
    6643                 :            :     2,  -179, 5400
    6644                 :            : };
    6645                 :            : static const mso_CustomShape msoTextCirclePour =
    6646                 :            : {
    6647                 :            :     (SvxMSDffVertPair*)mso_sptTextCirclePourVert, SAL_N_ELEMENTS( mso_sptTextCirclePourVert ),
    6648                 :            :     (sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1,
    6649                 :            :     (SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, SAL_N_ELEMENTS( mso_sptTextCirclePourCalc ),
    6650                 :            :     (sal_Int32*)mso_sptTextCirclePourDefault,
    6651                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6652                 :            :     21600, 21600,
    6653                 :            :     MIN_INT32, MIN_INT32,
    6654                 :            :     NULL, 0,
    6655                 :            :     (SvxMSDffHandle*)mso_sptTextCirclePourHandle, SAL_N_ELEMENTS( mso_sptTextCirclePourHandle )
    6656                 :            : };
    6657                 :            : 
    6658                 :            : static const SvxMSDffVertPair mso_sptTextButtonPourVert[] =
    6659                 :            : {
    6660                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
    6661                 :            :     { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 12 MSO_I, 11 MSO_I },
    6662                 :            :     { 0x16 MSO_I, 16 MSO_I }, { 0x15 MSO_I, 16 MSO_I },
    6663                 :            :     { 0x16 MSO_I, 15 MSO_I }, { 0x15 MSO_I, 15 MSO_I },
    6664                 :            :     { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 13 MSO_I }, { 12 MSO_I, 13 MSO_I },
    6665                 :            :     { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
    6666                 :            : };
    6667                 :            : static const SvxMSDffCalculationData mso_sptTextButtonPourCalc[] =
    6668                 :            : {
    6669                 :            :     { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },                 // 0x00
    6670                 :            :     { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },                 // 0x01
    6671                 :            :     { 0x2000, { 0x400, 10800, 0 } },                                // 0x02
    6672                 :            :     { 0x2000, { 0x401, 10800, 0 } },                                // 0x03
    6673                 :            :     { 0x8000, { 21600, 0, 0x402 } },                                // 0x04
    6674                 :            :     { 0x8000, { 21600, 0, 0x403 } },                                // 0x05
    6675                 :            : 
    6676                 :            :     { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },                // 0x06
    6677                 :            :     { 0x8000, { 21600, 0, 0x406 } },                                // 0x07
    6678                 :            : 
    6679                 :            :     { 0x600a, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x08
    6680                 :            :     { 0x6009, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x09
    6681                 :            :     { 0x2000, { 0x408, 10800, 0 } },    // 0x0a
    6682                 :            :     { 0x2000, { 0x409, 10800, 0 } },    // 0x0b
    6683                 :            :     { 0x8000, { 21600, 0, 0x40a } },    // 0x0c
    6684                 :            :     { 0x8000, { 21600, 0, 0x40b } },    // 0x0d
    6685                 :            :     { 0x2001, { 0x406, 1, 2 } },        // 0x0e
    6686                 :            :     { 0x4000, { 10800, 0x40e, 0 } },    // 0x0f
    6687                 :            :     { 0x8000, { 10800, 0, 0x40e } },    // 0x10
    6688                 :            :     { 0x6001, { 0x40e, 0x40e, 1 } },    // 0x11
    6689                 :            :     { 0x6001, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 1 } },    // 0x12
    6690                 :            :     { 0xA000, { 0x412, 0, 0x411 } },    // 0x13
    6691                 :            :     { 0x200d, { 0x413, 0, 0 } },        // 0x14
    6692                 :            :     { 0x4000, { 10800, 0x414, 0 } },    // 0x15
    6693                 :            :     { 0x8000, { 10800, 0, 0x414 } }     // 0x16
    6694                 :            : };
    6695                 :            : static const sal_uInt16 mso_sptTextButtonPourSegm[] =
    6696                 :            : {
    6697                 :            :     0xA504, 0x8000,     // clockwise arc
    6698                 :            :     0xA504, 0x8000,     // clockwise arc
    6699                 :            :     0x4000, 0x0001, 0x8000,
    6700                 :            :     0x4000, 0x0001, 0x8000,
    6701                 :            :     0xA304, 0x8000,     // counter clockwise
    6702                 :            :     0xA304, 0x8000      // counter clockwise
    6703                 :            : };
    6704                 :            : static const SvxMSDffHandle mso_sptTextButtonPourHandle[] =
    6705                 :            : {
    6706                 :            :     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
    6707                 :            :         0x101, 0x100, 10800, 10800, 4320, 10800, MIN_INT32, 0x7fffffff }
    6708                 :            : };
    6709                 :            : static const sal_Int32 mso_sptTextButtonPourDefault[] =
    6710                 :            : {
    6711                 :            :     2, 180, 5400
    6712                 :            : };
    6713                 :            : static const mso_CustomShape msoTextButtonPour =
    6714                 :            : {
    6715                 :            :     (SvxMSDffVertPair*)mso_sptTextButtonPourVert, SAL_N_ELEMENTS( mso_sptTextButtonPourVert ),
    6716                 :            :     (sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1,
    6717                 :            :     (SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, SAL_N_ELEMENTS( mso_sptTextButtonPourCalc ),
    6718                 :            :     (sal_Int32*)mso_sptTextButtonPourDefault,
    6719                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6720                 :            :     21600, 21600,
    6721                 :            :     MIN_INT32, MIN_INT32,
    6722                 :            :     NULL, 0,
    6723                 :            :     (SvxMSDffHandle*)mso_sptTextButtonPourHandle, SAL_N_ELEMENTS( mso_sptTextButtonPourHandle )
    6724                 :            : };
    6725                 :            : 
    6726                 :            : static const SvxMSDffVertPair mso_sptTextCurveUpVert[] =
    6727                 :            : {
    6728                 :            :     { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
    6729                 :            :     { 0, 4 MSO_I /*12170->0 17220 ->21600*/ }, { 3700, 21600 }, { 8500, 21600 }, { 10100, 21600 }, { 14110, 21600 }, { 15910, 21600 }, { 21600, 4 MSO_I /*12170->0 17220 ->21600*/ }
    6730                 :            : };
    6731                 :            : static const SvxMSDffCalculationData mso_sptTextCurveUpCalc[] =
    6732                 :            : {
    6733                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    6734                 :            :     { 0x4001, { 14250, 0x400, 12170 } },        // 401
    6735                 :            :     { 0x4001, { 12800, 0x400, 12170 } },        // 402
    6736                 :            :     { 0x4001, { 6380, 0x400, 12170 } },         // 403
    6737                 :            :     { 0x8000, { 21600, 0, 0x403 } }             // 404
    6738                 :            : };
    6739                 :            : static const sal_uInt16 mso_sptTextCurveUpSegm[] =
    6740                 :            : {
    6741                 :            :     0x4000, 0x2001, 0x8000,
    6742                 :            :     0x4000, 0x2002, 0x8000
    6743                 :            : };
    6744                 :            : static const SvxMSDffHandle mso_sptTextCurveUpHandle[] =
    6745                 :            : {
    6746                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6747                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 12170 }
    6748                 :            : };
    6749                 :            : static const sal_Int32 mso_sptTextCurveUpDefault[] =
    6750                 :            : {
    6751                 :            :     1, 9900
    6752                 :            : };
    6753                 :            : static const mso_CustomShape msoTextCurveUp =
    6754                 :            : {
    6755                 :            :     (SvxMSDffVertPair*)mso_sptTextCurveUpVert, SAL_N_ELEMENTS( mso_sptTextCurveUpVert ),
    6756                 :            :     (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
    6757                 :            :     (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, SAL_N_ELEMENTS( mso_sptTextCurveUpCalc ),
    6758                 :            :     (sal_Int32*)mso_sptTextCurveUpDefault,
    6759                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6760                 :            :     21600, 21600,
    6761                 :            :     MIN_INT32, MIN_INT32,
    6762                 :            :     NULL, 0,
    6763                 :            :     (SvxMSDffHandle*)mso_sptTextCurveUpHandle, SAL_N_ELEMENTS( mso_sptTextCurveUpHandle )
    6764                 :            : };
    6765                 :            : 
    6766                 :            : static const SvxMSDffVertPair mso_sptTextCurveDownVert[] =
    6767                 :            : {
    6768                 :            : //  { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
    6769                 :            :     { 0, 0 }, { 9960, 2 MSO_I }, { 16700, 1 MSO_I }, { 21600, 0 MSO_I },
    6770                 :            : 
    6771                 :            : //  { 0, 4 MSO_I /*12170->0 17220 ->21600*/ }, { 3700, 21600 }, { 8500, 21600 }, { 10100, 21600 }, { 14110, 21600 }, { 15910, 21600 }, { 21600, 4 MSO_I /*12170->0 17220 ->21600*/ }
    6772                 :            :     { 0, 4 MSO_I }, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I }
    6773                 :            : };
    6774                 :            : static const SvxMSDffHandle mso_sptTextCurveDownHandle[] =
    6775                 :            : {
    6776                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6777                 :            :         21600, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 12170 }
    6778                 :            : };
    6779                 :            : static const mso_CustomShape msoTextCurveDown =
    6780                 :            : {
    6781                 :            :     (SvxMSDffVertPair*)mso_sptTextCurveDownVert, SAL_N_ELEMENTS( mso_sptTextCurveDownVert ),
    6782                 :            :     (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
    6783                 :            :     (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, SAL_N_ELEMENTS( mso_sptTextCurveUpCalc ),
    6784                 :            :     (sal_Int32*)mso_sptTextCurveUpDefault,
    6785                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6786                 :            :     21600, 21600,
    6787                 :            :     MIN_INT32, MIN_INT32,
    6788                 :            :     NULL, 0,
    6789                 :            :     (SvxMSDffHandle*)mso_sptTextCurveDownHandle, SAL_N_ELEMENTS( mso_sptTextCurveDownHandle )
    6790                 :            : };
    6791                 :            : 
    6792                 :            : static const SvxMSDffVertPair mso_sptTextCanUpVert[] =
    6793                 :            : {
    6794                 :            :     { 0, 1 MSO_I }, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I },
    6795                 :            :     { 0, 21600 }, { 900, 4 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 4 MSO_I }, { 21600, 21600 }
    6796                 :            : };
    6797                 :            : static const SvxMSDffCalculationData mso_sptTextCanUpCalc[] =
    6798                 :            : {
    6799                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 400
    6800                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401
    6801                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 14400 } }, // 402
    6802                 :            :     { 0x4001, { 5470, 0x402, 7200 } },              // 403
    6803                 :            :     { 0x4000, { 16130, 0x403, 0 } }                 // 404
    6804                 :            : };
    6805                 :            : static const sal_uInt16 mso_sptTextCanUpSegm[] =
    6806                 :            : {
    6807                 :            :     0x4000, 0x2002, 0x8000,
    6808                 :            :     0x4000, 0x2002, 0x8000
    6809                 :            : };
    6810                 :            : static const SvxMSDffHandle mso_sptTextCanUpHandle[] =
    6811                 :            : {
    6812                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6813                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 14400, 21600 }
    6814                 :            : };
    6815                 :            : static const sal_Int32 mso_sptTextCanUpDefault[] =
    6816                 :            : {
    6817                 :            :     1, 18500
    6818                 :            : };
    6819                 :            : static const mso_CustomShape msoTextCanUp =
    6820                 :            : {
    6821                 :            :     (SvxMSDffVertPair*)mso_sptTextCanUpVert, SAL_N_ELEMENTS( mso_sptTextCanUpVert ),
    6822                 :            :     (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
    6823                 :            :     (SvxMSDffCalculationData*)mso_sptTextCanUpCalc, SAL_N_ELEMENTS( mso_sptTextCanUpCalc ),
    6824                 :            :     (sal_Int32*)mso_sptTextCanUpDefault,
    6825                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6826                 :            :     21600, 21600,
    6827                 :            :     MIN_INT32, MIN_INT32,
    6828                 :            :     NULL, 0,
    6829                 :            :     (SvxMSDffHandle*)mso_sptTextCanUpHandle, SAL_N_ELEMENTS( mso_sptTextCanUpHandle )
    6830                 :            : };
    6831                 :            : 
    6832                 :            : static const SvxMSDffVertPair mso_sptTextCanDownVert[] =
    6833                 :            : {
    6834                 :            :     { 0, 0 }, { 900, 2 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 2 MSO_I }, { 21600, 0 },
    6835                 :            :     { 0, 1 MSO_I }, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I }
    6836                 :            : };
    6837                 :            : static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] =
    6838                 :            : {
    6839                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },     // 400
    6840                 :            :     { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401
    6841                 :            :     { 0x4001, { 5470, 0x400, 7200 } }               // 402
    6842                 :            : };
    6843                 :            : static const SvxMSDffHandle mso_sptTextCanDownHandle[] =
    6844                 :            : {
    6845                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6846                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 7200 }
    6847                 :            : };
    6848                 :            : static const sal_Int32 mso_sptTextCanDownDefault[] =
    6849                 :            : {
    6850                 :            :     1, 3100
    6851                 :            : };
    6852                 :            : static const mso_CustomShape msoTextCanDown =
    6853                 :            : {
    6854                 :            :     (SvxMSDffVertPair*)mso_sptTextCanDownVert, SAL_N_ELEMENTS( mso_sptTextCanDownVert ),
    6855                 :            :     (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
    6856                 :            :     (SvxMSDffCalculationData*)mso_sptTextCanDownCalc, SAL_N_ELEMENTS( mso_sptTextCanDownCalc ),
    6857                 :            :     (sal_Int32*)mso_sptTextCanDownDefault,
    6858                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6859                 :            :     21600, 21600,
    6860                 :            :     MIN_INT32, MIN_INT32,
    6861                 :            :     NULL, 0,
    6862                 :            :     (SvxMSDffHandle*)mso_sptTextCanDownHandle, SAL_N_ELEMENTS( mso_sptTextCanDownHandle )
    6863                 :            : };
    6864                 :            : 
    6865                 :            : static const SvxMSDffVertPair mso_sptTextInflateVert[] =
    6866                 :            : {
    6867                 :            :     { 0, 0 MSO_I }, { 4100, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I }, { 21600, 0 MSO_I },
    6868                 :            :     { 0, 2 MSO_I }, { 4100, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I }, { 21600, 2 MSO_I }
    6869                 :            : };
    6870                 :            : static const SvxMSDffCalculationData mso_sptTextInflateCalc[] =
    6871                 :            : {
    6872                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    6873                 :            :     { 0x4001, { 1530, 0x400, 4650 } },          // 401
    6874                 :            :     { 0x8000, { 21600, 0, 0x400 } },            // 402
    6875                 :            :     { 0x8000, { 21600, 0, 0x401 } }             // 403
    6876                 :            : };
    6877                 :            : static const SvxMSDffHandle mso_sptTextInflateHandle[] =
    6878                 :            : {
    6879                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6880                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 4650 }
    6881                 :            : };
    6882                 :            : static const sal_Int32 mso_sptTextInflateDefault[] =
    6883                 :            : {
    6884                 :            :     1, 2950
    6885                 :            : };
    6886                 :            : static const mso_CustomShape msoTextInflate =
    6887                 :            : {
    6888                 :            :     (SvxMSDffVertPair*)mso_sptTextInflateVert, SAL_N_ELEMENTS( mso_sptTextInflateVert ),
    6889                 :            :     (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
    6890                 :            :     (SvxMSDffCalculationData*)mso_sptTextInflateCalc, SAL_N_ELEMENTS( mso_sptTextInflateCalc ),
    6891                 :            :     (sal_Int32*)mso_sptTextInflateDefault,
    6892                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6893                 :            :     21600, 21600,
    6894                 :            :     MIN_INT32, MIN_INT32,
    6895                 :            :     NULL, 0,
    6896                 :            :     (SvxMSDffHandle*)mso_sptTextInflateHandle, SAL_N_ELEMENTS( mso_sptTextInflateHandle )
    6897                 :            : };
    6898                 :            : 
    6899                 :            : static const SvxMSDffVertPair mso_sptTextDeflateVert[] =
    6900                 :            : {
    6901                 :            :     { 0, 0 }, { 3500, 1 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 18100, 1 MSO_I }, { 21600, 0 },
    6902                 :            :     { 0, 21600 }, { 3500, 3 MSO_I }, { 7100, 2 MSO_I }, { 10800, 2 MSO_I }, { 14500, 2 MSO_I }, { 18100, 3 MSO_I }, { 21600, 21600 }
    6903                 :            : };
    6904                 :            : static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] =
    6905                 :            : {
    6906                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    6907                 :            :     { 0x2001, { 0x400, 5320, 7100 } },          // 401
    6908                 :            :     { 0x8000, { 21600, 0, 0x400 } },            // 402
    6909                 :            :     { 0x8000, { 21600, 0, 0x401 } }             // 403
    6910                 :            : };
    6911                 :            : static const SvxMSDffHandle mso_sptTextDeflateHandle[] =
    6912                 :            : {
    6913                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6914                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 8100 }
    6915                 :            : };
    6916                 :            : static const mso_CustomShape msoTextDeflate =
    6917                 :            : {
    6918                 :            :     (SvxMSDffVertPair*)mso_sptTextDeflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateVert ),
    6919                 :            :     (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
    6920                 :            :     (SvxMSDffCalculationData*)mso_sptTextDeflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateCalc ),
    6921                 :            :     (sal_Int32*)mso_sptDefault8100,
    6922                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6923                 :            :     21600, 21600,
    6924                 :            :     MIN_INT32, MIN_INT32,
    6925                 :            :     NULL, 0,
    6926                 :            :     (SvxMSDffHandle*)mso_sptTextDeflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateHandle )
    6927                 :            : };
    6928                 :            : 
    6929                 :            : static const SvxMSDffVertPair mso_sptTextInflateBottomVert[] =
    6930                 :            : {
    6931                 :            :     { 0, 0 }, { 21600, 0 },
    6932                 :            :     { 0, 0 MSO_I }, { 3500, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I }, { 21600, 0 MSO_I }
    6933                 :            : };
    6934                 :            : static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc[] =
    6935                 :            : {
    6936                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    6937                 :            :     { 0x2000, { 0x400, 0, 11150 } },            // 401 0->10450
    6938                 :            :     { 0x2001, { 0x401, 3900, 10450 } },         // 402
    6939                 :            :     { 0x2000, { 0x402, 17700, 0 } }             // 403
    6940                 :            : };
    6941                 :            : static const sal_uInt16 mso_sptTextInflateBottomSegm[] =
    6942                 :            : {
    6943                 :            :     0x4000, 0x0001, 0x8000,
    6944                 :            :     0x4000, 0x2002, 0x8000
    6945                 :            : };
    6946                 :            : static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] =
    6947                 :            : {
    6948                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6949                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 11150, 21600 }
    6950                 :            : };
    6951                 :            : static const sal_Int32 mso_sptTextInflateBottomDefault[] =
    6952                 :            : {
    6953                 :            :     1, 14700
    6954                 :            : };
    6955                 :            : static const mso_CustomShape msoTextInflateBottom =
    6956                 :            : {
    6957                 :            :     (SvxMSDffVertPair*)mso_sptTextInflateBottomVert, SAL_N_ELEMENTS( mso_sptTextInflateBottomVert ),
    6958                 :            :     (sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1,
    6959                 :            :     (SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, SAL_N_ELEMENTS( mso_sptTextInflateBottomCalc ),
    6960                 :            :     (sal_Int32*)mso_sptTextInflateBottomDefault,
    6961                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    6962                 :            :     21600, 21600,
    6963                 :            :     MIN_INT32, MIN_INT32,
    6964                 :            :     NULL, 0,
    6965                 :            :     (SvxMSDffHandle*)mso_sptTextInflateBottomHandle, SAL_N_ELEMENTS( mso_sptTextInflateBottomHandle )
    6966                 :            : };
    6967                 :            : 
    6968                 :            : static const SvxMSDffVertPair mso_sptTextDeflateBottomVert[] =
    6969                 :            : {
    6970                 :            :     { 0, 0 }, { 21600, 0 },
    6971                 :            :     { 0, 21600 }, { 2900, 3 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 3 MSO_I }, { 21600, 21600 }
    6972                 :            : };
    6973                 :            : static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc[] =
    6974                 :            : {
    6975                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    6976                 :            :     { 0x2000, { 0x400, 0, 1350 } },             // 401 0->20250
    6977                 :            :     { 0x2001, { 0x401, 12070, 20250 } },        // 402
    6978                 :            :     { 0x2000, { 0x402, 9530, 0 } }              // 403
    6979                 :            : };
    6980                 :            : static const sal_uInt16 mso_sptTextDeflateBottomSegm[] =
    6981                 :            : {
    6982                 :            :     0x4000, 0x0001, 0x8000,
    6983                 :            :     0x4000, 0x2002, 0x8000
    6984                 :            : };
    6985                 :            : static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] =
    6986                 :            : {
    6987                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    6988                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 1350, 21600 }
    6989                 :            : };
    6990                 :            : static const sal_Int32 mso_sptTextDeflateBottomDefault[] =
    6991                 :            : {
    6992                 :            :     1, 11500
    6993                 :            : };
    6994                 :            : static const mso_CustomShape msoTextDeflateBottom =
    6995                 :            : {
    6996                 :            :     (SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, SAL_N_ELEMENTS( mso_sptTextDeflateBottomVert ),
    6997                 :            :     (sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1,
    6998                 :            :     (SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, SAL_N_ELEMENTS( mso_sptTextDeflateBottomCalc ),
    6999                 :            :     (sal_Int32*)mso_sptTextDeflateBottomDefault,
    7000                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7001                 :            :     21600, 21600,
    7002                 :            :     MIN_INT32, MIN_INT32,
    7003                 :            :     NULL, 0,
    7004                 :            :     (SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, SAL_N_ELEMENTS( mso_sptTextDeflateBottomHandle )
    7005                 :            : };
    7006                 :            : 
    7007                 :            : static const SvxMSDffVertPair mso_sptTextInflateTopVert[] =
    7008                 :            : {
    7009                 :            :     { 0, 0 MSO_I }, { 3500, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I }, { 21600, 0 MSO_I },
    7010                 :            :     { 0, 21600 }, { 21600, 21600 }
    7011                 :            : };
    7012                 :            : static const SvxMSDffCalculationData mso_sptTextInflateTopCalc[] =
    7013                 :            : {
    7014                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    7015                 :            :     { 0x2001, { 0x400, 3900, 10450 } }          // 401
    7016                 :            : };
    7017                 :            : static const sal_uInt16 mso_sptTextInflateTopSegm[] =
    7018                 :            : {
    7019                 :            :     0x4000, 0x2002, 0x8000,
    7020                 :            :     0x4000, 0x0001, 0x8000
    7021                 :            : };
    7022                 :            : static const SvxMSDffHandle mso_sptTextInflateTopHandle[] =
    7023                 :            : {
    7024                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7025                 :            :         0, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 10450 }
    7026                 :            : };
    7027                 :            : static const sal_Int32 mso_sptTextInflateTopDefault[] =
    7028                 :            : {
    7029                 :            :     1, 6900
    7030                 :            : };
    7031                 :            : static const mso_CustomShape msoTextInflateTop =
    7032                 :            : {
    7033                 :            :     (SvxMSDffVertPair*)mso_sptTextInflateTopVert, SAL_N_ELEMENTS( mso_sptTextInflateTopVert ),
    7034                 :            :     (sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1,
    7035                 :            :     (SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, SAL_N_ELEMENTS( mso_sptTextInflateTopCalc ),
    7036                 :            :     (sal_Int32*)mso_sptTextInflateTopDefault,
    7037                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7038                 :            :     21600, 21600,
    7039                 :            :     MIN_INT32, MIN_INT32,
    7040                 :            :     NULL, 0,
    7041                 :            :     (SvxMSDffHandle*)mso_sptTextInflateTopHandle, SAL_N_ELEMENTS( mso_sptTextInflateTopHandle )
    7042                 :            : };
    7043                 :            : 
    7044                 :            : static const SvxMSDffVertPair mso_sptTextDeflateTopVert[] =
    7045                 :            : {
    7046                 :            :     { 0, 0 }, { 2900, 1 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 1 MSO_I }, { 21600, 0 },
    7047                 :            :     { 0, 21600 }, { 21600, 21600 }
    7048                 :            : };
    7049                 :            : static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc[] =
    7050                 :            : {
    7051                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    7052                 :            :     { 0x2001, { 0x400, 12070, 20250 } }         // 402
    7053                 :            : };
    7054                 :            : static const sal_uInt16 mso_sptTextDeflateTopSegm[] =
    7055                 :            : {
    7056                 :            :     0x4000, 0x2002, 0x8000,
    7057                 :            :     0x4000, 0x0001, 0x8000
    7058                 :            : };
    7059                 :            : static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] =
    7060                 :            : {
    7061                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7062                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 20250 }
    7063                 :            : };
    7064                 :            : static const sal_Int32 mso_sptTextDeflateTopDefault[] =
    7065                 :            : {
    7066                 :            :     1, 10100
    7067                 :            : };
    7068                 :            : static const mso_CustomShape msoTextDeflateTop =
    7069                 :            : {
    7070                 :            :     (SvxMSDffVertPair*)mso_sptTextDeflateTopVert, SAL_N_ELEMENTS( mso_sptTextDeflateTopVert ),
    7071                 :            :     (sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1,
    7072                 :            :     (SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, SAL_N_ELEMENTS( mso_sptTextDeflateTopCalc ),
    7073                 :            :     (sal_Int32*)mso_sptTextDeflateTopDefault,
    7074                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7075                 :            :     21600, 21600,
    7076                 :            :     MIN_INT32, MIN_INT32,
    7077                 :            :     NULL, 0,
    7078                 :            :     (SvxMSDffHandle*)mso_sptTextDeflateTopHandle, SAL_N_ELEMENTS( mso_sptTextDeflateTopHandle )
    7079                 :            : };
    7080                 :            : 
    7081                 :            : static const SvxMSDffVertPair mso_sptTextDeflateInflateVert[] =
    7082                 :            : {
    7083                 :            :     { 0, 0 }, { 21600, 0 },
    7084                 :            :     { 0, 10100 }, { 3300, 3 MSO_I }, { 7100, 5 MSO_I }, { 10800, 5 MSO_I }, { 14500, 5 MSO_I }, { 18300, 3 MSO_I }, { 21600, 10100 },
    7085                 :            :     { 0, 11500 }, { 3300, 4 MSO_I }, { 7100, 6 MSO_I }, { 10800, 6 MSO_I }, { 14500, 6 MSO_I }, { 18300, 4 MSO_I }, { 21600, 11500 },
    7086                 :            :     { 0, 21600 }, { 21600, 21600 }
    7087                 :            : };
    7088                 :            : static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc[] =
    7089                 :            : {
    7090                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400
    7091                 :            :     { 0x8000, { 10800, 0, 0x400 } },            // 401
    7092                 :            :     { 0x2001, { 0x401, 5770, 9500 } },          // 402
    7093                 :            :     { 0x8000, { 10100, 0, 0x402 } },            // 403
    7094                 :            :     { 0x8000, { 11500, 0, 0x402 } },            // 404
    7095                 :            :     { 0x2000, { 0x400, 0, 700 } },              // 405
    7096                 :            :     { 0x2000, { 0x400, 700, 0 } }               // 406
    7097                 :            : };
    7098                 :            : static const sal_uInt16 mso_sptTextDeflateInflateSegm[] =
    7099                 :            : {
    7100                 :            :     0x4000, 0x0001, 0x8000,
    7101                 :            :     0x4000, 0x2002, 0x8000,
    7102                 :            :     0x4000, 0x2002, 0x8000,
    7103                 :            :     0x4000, 0x0001, 0x8000
    7104                 :            : };
    7105                 :            : static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] =
    7106                 :            : {
    7107                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7108                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 1300, 20300 }
    7109                 :            : };
    7110                 :            : static const sal_Int32 mso_sptTextDeflateInflateDefault[] =
    7111                 :            : {
    7112                 :            :     1, 6500
    7113                 :            : };
    7114                 :            : static const mso_CustomShape msoTextDeflateInflate =
    7115                 :            : {
    7116                 :            :     (SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateInflateVert ),
    7117                 :            :     (sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1,
    7118                 :            :     (SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateInflateCalc ),
    7119                 :            :     (sal_Int32*)mso_sptTextDeflateInflateDefault,
    7120                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7121                 :            :     21600, 21600,
    7122                 :            :     MIN_INT32, MIN_INT32,
    7123                 :            :     NULL, 0,
    7124                 :            :     (SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateInflateHandle )
    7125                 :            : };
    7126                 :            : 
    7127                 :            : static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert[] =
    7128                 :            : {
    7129                 :            :     { 0, 0 }, { 21600, 0 },
    7130                 :            :     { 0, 6600 }, { 3600, 3 MSO_I }, { 7250, 4 MSO_I }, { 10800, 4 MSO_I }, { 14350, 4 MSO_I }, { 18000, 3 MSO_I }, { 21600, 6600 },
    7131                 :            :     { 0, 7500 }, { 3600, 5 MSO_I }, { 7250, 6 MSO_I }, { 10800, 6 MSO_I }, { 14350, 6 MSO_I }, { 18000, 5 MSO_I }, { 21600, 7500 },
    7132                 :            :     { 0, 14100 }, { 3600, 9 MSO_I }, { 7250, 10 MSO_I }, { 10800, 10 MSO_I }, { 14350, 10 MSO_I }, { 18000, 9 MSO_I }, { 21600, 14100 },
    7133                 :            :     { 0, 15000 }, { 3600, 7 MSO_I }, { 7250, 8 MSO_I }, { 10800, 8 MSO_I }, { 14350, 8 MSO_I }, { 18000, 7 MSO_I }, { 21600, 15000 },
    7134                 :            :     { 0, 21600 }, { 21600, 21600 }
    7135                 :            : };
    7136                 :            : static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc[] =
    7137                 :            : {
    7138                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 850 } },       // 400
    7139                 :            :     { 0x2001, { 0x400, 6120, 8700 } },
    7140                 :            :     { 0x2000, { 0x401, 0, 4280 } },
    7141                 :            :     { 0x4000, { 6600, 0x402, 0 } },
    7142                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 450 } },       // 404
    7143                 :            :     { 0x2000, { 0x403, 900, 0 } },                      // 405
    7144                 :            :     { 0x2000, { 0x404, 900, 0 } },                      // 406
    7145                 :            :     { 0x8000, { 21600, 0, 0x403 } },                    // 407
    7146                 :            :     { 0x8000, { 21600, 0, 0x404 } },                    // 408
    7147                 :            :     { 0x8000, { 21600, 0, 0x405 } },                    // 409
    7148                 :            :     { 0x8000, { 21600, 0, 0x406 } }                     // 410
    7149                 :            : };
    7150                 :            : static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] =
    7151                 :            : {
    7152                 :            :     0x4000, 0x0001, 0x8000,
    7153                 :            :     0x4000, 0x2002, 0x8000,
    7154                 :            :     0x4000, 0x2002, 0x8000,
    7155                 :            :     0x4000, 0x2002, 0x8000,
    7156                 :            :     0x4000, 0x2002, 0x8000,
    7157                 :            :     0x4000, 0x0001, 0x8000
    7158                 :            : };
    7159                 :            : static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] =
    7160                 :            : {
    7161                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7162                 :            :         10800, 0x100, 10800, 10800, MIN_INT32, 0x7fffffff, 850, 9550 }
    7163                 :            : };
    7164                 :            : static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] =
    7165                 :            : {
    7166                 :            :     1, 6050
    7167                 :            : };
    7168                 :            : static const mso_CustomShape msoTextDeflateInflateDeflate =
    7169                 :            : {
    7170                 :            :     (SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateVert ),
    7171                 :            :     (sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1,
    7172                 :            :     (SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateCalc ),
    7173                 :            :     (sal_Int32*)mso_sptTextDeflateInflateDeflateDefault,
    7174                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7175                 :            :     21600, 21600,
    7176                 :            :     MIN_INT32, MIN_INT32,
    7177                 :            :     NULL, 0,
    7178                 :            :     (SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateHandle )
    7179                 :            : };
    7180                 :            : 
    7181                 :            : static const SvxMSDffVertPair mso_sptTextWave1Vert[] =  // adjustment1 : 0 - 4459
    7182                 :            : {                                                   // adjustment2 : 8640 - 12960
    7183                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
    7184                 :            :     { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I }
    7185                 :            : };
    7186                 :            : static const sal_uInt16 mso_sptTextWave1Segm[] =
    7187                 :            : {
    7188                 :            :     0x4000, 0x2001, 0x8000,
    7189                 :            :     0x4000, 0x2001, 0x8000
    7190                 :            : };
    7191                 :            : static const mso_CustomShape msoTextWave1 =
    7192                 :            : {
    7193                 :            :     (SvxMSDffVertPair*)mso_sptTextWave1Vert, SAL_N_ELEMENTS( mso_sptTextWave1Vert ),
    7194                 :            :     (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
    7195                 :            :     (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ),
    7196                 :            :     (sal_Int32*)mso_sptWaveDefault,
    7197                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7198                 :            :     21600, 21600,
    7199                 :            :     MIN_INT32, MIN_INT32,
    7200                 :            :     (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ),
    7201                 :            :     (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle )
    7202                 :            : };
    7203                 :            : 
    7204                 :            : static const SvxMSDffVertPair mso_sptTextWave2Vert[] =  // adjustment1 : 0 - 4459
    7205                 :            : {                                                   // adjustment2 : 8640 - 12960
    7206                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I },
    7207                 :            :     { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I }
    7208                 :            : };
    7209                 :            : static const mso_CustomShape msoTextWave2 =
    7210                 :            : {
    7211                 :            :     (SvxMSDffVertPair*)mso_sptTextWave2Vert, SAL_N_ELEMENTS( mso_sptTextWave2Vert ),
    7212                 :            :     (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
    7213                 :            :     (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ),
    7214                 :            :     (sal_Int32*)mso_sptWaveDefault,
    7215                 :            :     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ),
    7216                 :            :     21600, 21600,
    7217                 :            :     MIN_INT32, MIN_INT32,
    7218                 :            :     (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ),
    7219                 :            :     (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle )
    7220                 :            : };
    7221                 :            : 
    7222                 :            : static const SvxMSDffVertPair mso_sptTextWave3Vert[] =  // adjustment1 : 0 - 2230
    7223                 :            : {                                                       // adjustment2 : 8640 - 12960
    7224                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 0x1e MSO_I, 10 MSO_I }, { 0x12 MSO_I, 0 MSO_I }, { 0x1f MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
    7225                 :            :     { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 0x20 MSO_I, 26 MSO_I }, { 0x13 MSO_I, 1 MSO_I }, { 0x21 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I }
    7226                 :            : };
    7227                 :            : static const sal_uInt16 mso_sptTextWave3Segm[] =
    7228                 :            : {
    7229                 :            :     0x4000, 0x2002, 0x8000,
    7230                 :            :     0x4000, 0x2002, 0x8000
    7231                 :            : };
    7232                 :            : static const mso_CustomShape msoTextWave3 =
    7233                 :            : {
    7234                 :            :     (SvxMSDffVertPair*)mso_sptTextWave3Vert, SAL_N_ELEMENTS( mso_sptTextWave3Vert ),
    7235                 :            :     (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
    7236                 :            :     (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ),
    7237                 :            :     (sal_Int32*)mso_sptDoubleWaveDefault,
    7238                 :            :     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ),
    7239                 :            :     21600, 21600,
    7240                 :            :     MIN_INT32, MIN_INT32,
    7241                 :            :     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ),
    7242                 :            :     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle )
    7243                 :            : };
    7244                 :            : 
    7245                 :            : static const SvxMSDffVertPair mso_sptTextWave4Vert[] =  // adjustment1 : 0 - 2230
    7246                 :            : {                                                       // adjustment2 : 8640 - 12960
    7247                 :            :     { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 0x1e MSO_I, 9 MSO_I }, { 0x12 MSO_I, 0 MSO_I }, { 0x1f MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I },
    7248                 :            :     { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 0x20 MSO_I, 28 MSO_I }, { 0x13 MSO_I, 1 MSO_I }, { 0x21 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I }
    7249                 :            : };
    7250                 :            : static const mso_CustomShape msoTextWave4 =
    7251                 :            : {
    7252                 :            :     (SvxMSDffVertPair*)mso_sptTextWave4Vert, SAL_N_ELEMENTS( mso_sptTextWave4Vert ),
    7253                 :            :     (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
    7254                 :            :     (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ),
    7255                 :            :     (sal_Int32*)mso_sptDoubleWaveDefault,
    7256                 :            :     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ),
    7257                 :            :     21600, 21600,
    7258                 :            :     MIN_INT32, MIN_INT32,
    7259                 :            :     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ),
    7260                 :            :     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle )
    7261                 :            : };
    7262                 :            : 
    7263                 :            : static const sal_Int32 mso_sptCalloutDefault1[] =
    7264                 :            : {
    7265                 :            :     4, -1800, 24500, -1800, 4000
    7266                 :            : };
    7267                 :            : static const sal_Int32 mso_sptCalloutDefault2[] =
    7268                 :            : {
    7269                 :            :     4, -8300, 24500, -1800, 4000
    7270                 :            : };
    7271                 :            : static const sal_Int32 mso_sptCalloutDefault3[] =
    7272                 :            : {
    7273                 :            :     6, -10000, 24500, -3600, 4000, -1800, 4000
    7274                 :            : };
    7275                 :            : static const sal_Int32 mso_sptCalloutDefault4[] =
    7276                 :            : {
    7277                 :            :     8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000
    7278                 :            : };
    7279                 :            : static const SvxMSDffVertPair mso_sptCalloutVert1[] =
    7280                 :            : {
    7281                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }
    7282                 :            : };
    7283                 :            : static const SvxMSDffHandle mso_sptCalloutHandle1[] =
    7284                 :            : {
    7285                 :            :     {   0,
    7286                 :            :         0x100, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7287                 :            :     {   0,
    7288                 :            :         0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }
    7289                 :            : };
    7290                 :            : static const sal_uInt16 mso_sptCalloutSegm1a[] =
    7291                 :            : {
    7292                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7293                 :            :     0x4000, 0x0001, 0x8000
    7294                 :            : };
    7295                 :            : static const sal_uInt16 mso_sptCalloutSegm1b[] =
    7296                 :            : {
    7297                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7298                 :            :     0x4000, 0x0001, 0x8000
    7299                 :            : };
    7300                 :            : static const SvxMSDffVertPair mso_sptCallout1Vert[] =
    7301                 :            : {
    7302                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 0 }, { 2 MSO_I, 21600 }
    7303                 :            : };
    7304                 :            : static const sal_uInt16 mso_sptCallout1Segm1a[] =
    7305                 :            : {
    7306                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7307                 :            :     0x4000, 0x0001, 0x8000,
    7308                 :            :     0x4000, 0x0001, 0x8000
    7309                 :            : };
    7310                 :            : static const sal_uInt16 mso_sptCallout1Segm1b[] =
    7311                 :            : {
    7312                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7313                 :            :     0x4000, 0x0001, 0x8000,
    7314                 :            :     0x4000, 0x0001, 0x8000
    7315                 :            : };
    7316                 :            : static const SvxMSDffVertPair mso_sptCallout2Verta[] =
    7317                 :            : {
    7318                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 5 MSO_I }
    7319                 :            : };
    7320                 :            : static const SvxMSDffVertPair mso_sptCallout2Vertb[] =
    7321                 :            : {
    7322                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 5 MSO_I }, { 4 MSO_I, 0 }, { 4 MSO_I, 21600 }
    7323                 :            : };
    7324                 :            : static const SvxMSDffHandle mso_sptCalloutHandle2[] =
    7325                 :            : {
    7326                 :            :     {   0,
    7327                 :            :         0x100, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7328                 :            :     {   0,
    7329                 :            :         0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7330                 :            :     {   0,
    7331                 :            :         0x104, 0x105, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }
    7332                 :            : };
    7333                 :            : static const sal_uInt16 mso_sptCallout2Segm1a[] =
    7334                 :            : {
    7335                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7336                 :            :     0x4000, 0x0001, 0x8000,
    7337                 :            :     0x4000, 0x0001, 0x8000,
    7338                 :            :     0x4000, 0x0001, 0x8000
    7339                 :            : };
    7340                 :            : static const sal_uInt16 mso_sptCallout2Segm1b[] =
    7341                 :            : {
    7342                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7343                 :            :     0x4000, 0x0001, 0x8000,
    7344                 :            :     0x4000, 0x0001, 0x8000,
    7345                 :            :     0x4000, 0x0001, 0x8000
    7346                 :            : };
    7347                 :            : static const sal_uInt16 mso_sptCallout2Segm1c[] =
    7348                 :            : {
    7349                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7350                 :            :     0x4000, 0x0001, 0x8000,
    7351                 :            :     0x4000, 0x0001, 0x8000,
    7352                 :            :     0x4000, 0x0001, 0x8000,
    7353                 :            :     0x4000, 0x0001, 0x8000
    7354                 :            : };
    7355                 :            : static const sal_uInt16 mso_sptCallout2Segm1d[] =
    7356                 :            : {
    7357                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7358                 :            :     0x4000, 0x0001, 0x8000,
    7359                 :            :     0x4000, 0x0001, 0x8000,
    7360                 :            :     0x4000, 0x0001, 0x8000,
    7361                 :            :     0x4000, 0x0001, 0x8000
    7362                 :            : };
    7363                 :            : static const SvxMSDffVertPair mso_sptCallout3Verta[] =
    7364                 :            : {
    7365                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 5 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I }
    7366                 :            : };
    7367                 :            : static const SvxMSDffVertPair mso_sptCallout3Vertb[] =
    7368                 :            : {
    7369                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 5 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 6 MSO_I, 0 }, { 6 MSO_I, 21600 }
    7370                 :            : };
    7371                 :            : static const SvxMSDffHandle mso_sptCalloutHandle3[] =
    7372                 :            : {
    7373                 :            :     {   0,
    7374                 :            :         0x100, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7375                 :            :     {   0,
    7376                 :            :         0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7377                 :            :     {   0,
    7378                 :            :         0x104, 0x105, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff },
    7379                 :            :     {   0,
    7380                 :            :         0x106, 0x107, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }
    7381                 :            : };
    7382                 :            : static const sal_uInt16 mso_sptCallout3Segm1a[] =
    7383                 :            : {
    7384                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7385                 :            :     0x4000, 0xaa00, 0x0003, 0x8000          // NO_FILL
    7386                 :            : };
    7387                 :            : static const sal_uInt16 mso_sptCallout3Segm1b[] =
    7388                 :            : {
    7389                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7390                 :            :     0x4000, 0xaa00, 0x0003, 0x8000          // NO FILL
    7391                 :            : };
    7392                 :            : static const sal_uInt16 mso_sptCallout3Segm1c[] =
    7393                 :            : {
    7394                 :            :     0x4000, 0x0003, 0x6000, 0x8000,
    7395                 :            :     0x4000, 0xaa00, 0x0003, 0x8000,         // NO FILL
    7396                 :            :     0x4000, 0x0001, 0x8000
    7397                 :            : };
    7398                 :            : static const sal_uInt16 mso_sptCallout3Segm1d[] =
    7399                 :            : {
    7400                 :            :     0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
    7401                 :            :     0x4000, 0xaa00, 0x0003, 0x8000,         // NO FILL
    7402                 :            :     0x4000, 0x0001, 0x8000
    7403                 :            : };
    7404                 :            : 
    7405                 :            : static const SvxMSDffCalculationData mso_sptCalloutCalc[] =
    7406                 :            : {
    7407                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7408                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    7409                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    7410                 :            :     { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
    7411                 :            :     { 0x2000, { DFF_Prop_adjust5Value, 0, 0 } },
    7412                 :            :     { 0x2000, { DFF_Prop_adjust6Value, 0, 0 } },
    7413                 :            :     { 0x2000, { DFF_Prop_adjust7Value, 0, 0 } },
    7414                 :            :     { 0x2000, { DFF_Prop_adjust8Value, 0, 0 } }
    7415                 :            : };
    7416                 :            : 
    7417                 :            : static const mso_CustomShape msoCallout90 =
    7418                 :            : {
    7419                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7420                 :            :     (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
    7421                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7422                 :            :     (sal_Int32*)mso_sptCalloutDefault1,
    7423                 :            :     NULL, 0,
    7424                 :            :     21600, 21600,
    7425                 :            :     MIN_INT32, MIN_INT32,
    7426                 :            :     NULL, 0,
    7427                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7428                 :            : };
    7429                 :            : static const mso_CustomShape msoCallout1 =
    7430                 :            : {
    7431                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7432                 :            :     (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
    7433                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7434                 :            :     (sal_Int32*)mso_sptCalloutDefault2,
    7435                 :            :     NULL, 0,
    7436                 :            :     21600, 21600,
    7437                 :            :     MIN_INT32, MIN_INT32,
    7438                 :            :     NULL, 0,
    7439                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7440                 :            : };
    7441                 :            : static const mso_CustomShape msoCallout2 =
    7442                 :            : {
    7443                 :            :     (SvxMSDffVertPair*)mso_sptCallout2Verta, SAL_N_ELEMENTS( mso_sptCallout2Verta ),
    7444                 :            :     (sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1,
    7445                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7446                 :            :     (sal_Int32*)mso_sptCalloutDefault3,
    7447                 :            :     NULL, 0,
    7448                 :            :     21600, 21600,
    7449                 :            :     MIN_INT32, MIN_INT32,
    7450                 :            :     NULL, 0,
    7451                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 )
    7452                 :            : };
    7453                 :            : static const mso_CustomShape msoCallout3 =
    7454                 :            : {
    7455                 :            :     (SvxMSDffVertPair*)mso_sptCallout3Verta, SAL_N_ELEMENTS( mso_sptCallout3Verta ),
    7456                 :            :     (sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1,
    7457                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7458                 :            :     (sal_Int32*)mso_sptCalloutDefault4,
    7459                 :            :     NULL, 0,
    7460                 :            :     21600, 21600,
    7461                 :            :     MIN_INT32, MIN_INT32,
    7462                 :            :     NULL, 0,
    7463                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 )
    7464                 :            : };
    7465                 :            : static const mso_CustomShape msoAccentCallout90 =
    7466                 :            : {
    7467                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7468                 :            :     (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
    7469                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7470                 :            :     (sal_Int32*)mso_sptCalloutDefault1,
    7471                 :            :     NULL, 0,
    7472                 :            :     21600, 21600,
    7473                 :            :     MIN_INT32, MIN_INT32,
    7474                 :            :     NULL, 0,
    7475                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7476                 :            : };
    7477                 :            : static const mso_CustomShape msoAccentCallout1 =
    7478                 :            : {
    7479                 :            :     (SvxMSDffVertPair*)mso_sptCallout1Vert, SAL_N_ELEMENTS( mso_sptCallout1Vert ),
    7480                 :            :     (sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1,
    7481                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7482                 :            :     (sal_Int32*)mso_sptCalloutDefault2,
    7483                 :            :     NULL, 0,
    7484                 :            :     21600, 21600,
    7485                 :            :     MIN_INT32, MIN_INT32,
    7486                 :            :     NULL, 0,
    7487                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7488                 :            : };
    7489                 :            : static const mso_CustomShape msoAccentCallout2 =
    7490                 :            : {
    7491                 :            :     (SvxMSDffVertPair*)mso_sptCallout2Vertb, SAL_N_ELEMENTS( mso_sptCallout2Vertb ),
    7492                 :            :     (sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1,
    7493                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7494                 :            :     (sal_Int32*)mso_sptCalloutDefault3,
    7495                 :            :     NULL, 0,
    7496                 :            :     21600, 21600,
    7497                 :            :     MIN_INT32, MIN_INT32,
    7498                 :            :     NULL, 0,
    7499                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 )
    7500                 :            : };
    7501                 :            : static const mso_CustomShape msoAccentCallout3 =
    7502                 :            : {
    7503                 :            :     (SvxMSDffVertPair*)mso_sptCallout3Vertb, SAL_N_ELEMENTS( mso_sptCallout3Vertb ),
    7504                 :            :     (sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1,
    7505                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7506                 :            :     (sal_Int32*)mso_sptCalloutDefault4,
    7507                 :            :     NULL, 0,
    7508                 :            :     21600, 21600,
    7509                 :            :     MIN_INT32, MIN_INT32,
    7510                 :            :     NULL, 0,
    7511                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 )
    7512                 :            : };
    7513                 :            : static const mso_CustomShape msoBorderCallout90 =
    7514                 :            : {
    7515                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7516                 :            :     (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
    7517                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7518                 :            :     (sal_Int32*)mso_sptCalloutDefault1,
    7519                 :            :     NULL, 0,
    7520                 :            :     21600, 21600,
    7521                 :            :     MIN_INT32, MIN_INT32,
    7522                 :            :     NULL, 0,
    7523                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7524                 :            : };
    7525                 :            : static const mso_CustomShape msoBorderCallout1 =
    7526                 :            : {
    7527                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7528                 :            :     (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
    7529                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7530                 :            :     (sal_Int32*)mso_sptCalloutDefault2,
    7531                 :            :     NULL, 0,
    7532                 :            :     21600, 21600,
    7533                 :            :     MIN_INT32, MIN_INT32,
    7534                 :            :     NULL, 0,
    7535                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7536                 :            : };
    7537                 :            : static const mso_CustomShape msoBorderCallout2 =
    7538                 :            : {
    7539                 :            :     (SvxMSDffVertPair*)mso_sptCallout2Verta, SAL_N_ELEMENTS( mso_sptCallout2Verta ),
    7540                 :            :     (sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1,
    7541                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7542                 :            :     (sal_Int32*)mso_sptCalloutDefault3,
    7543                 :            :     NULL, 0,
    7544                 :            :     21600, 21600,
    7545                 :            :     MIN_INT32, MIN_INT32,
    7546                 :            :     NULL, 0,
    7547                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 )
    7548                 :            : };
    7549                 :            : static const mso_CustomShape msoBorderCallout3 =
    7550                 :            : {
    7551                 :            :     (SvxMSDffVertPair*)mso_sptCallout3Verta, SAL_N_ELEMENTS( mso_sptCallout3Verta ),
    7552                 :            :     (sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1,
    7553                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7554                 :            :     (sal_Int32*)mso_sptCalloutDefault4,
    7555                 :            :     NULL, 0,
    7556                 :            :     21600, 21600,
    7557                 :            :     MIN_INT32, MIN_INT32,
    7558                 :            :     NULL, 0,
    7559                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 )
    7560                 :            : };
    7561                 :            : static const mso_CustomShape msoAccentBorderCallout90 =
    7562                 :            : {
    7563                 :            :     (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ),
    7564                 :            :     (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
    7565                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7566                 :            :     (sal_Int32*)mso_sptCalloutDefault1,
    7567                 :            :     NULL, 0,
    7568                 :            :     21600, 21600,
    7569                 :            :     MIN_INT32, MIN_INT32,
    7570                 :            :     NULL, 0,
    7571                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7572                 :            : };
    7573                 :            : static const mso_CustomShape msoAccentBorderCallout1 =
    7574                 :            : {
    7575                 :            :     (SvxMSDffVertPair*)mso_sptCallout1Vert, SAL_N_ELEMENTS( mso_sptCallout1Vert ),
    7576                 :            :     (sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1,
    7577                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7578                 :            :     (sal_Int32*)mso_sptCalloutDefault2,
    7579                 :            :     NULL, 0,
    7580                 :            :     21600, 21600,
    7581                 :            :     MIN_INT32, MIN_INT32,
    7582                 :            :     NULL, 0,
    7583                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 )
    7584                 :            : };
    7585                 :            : static const mso_CustomShape msoAccentBorderCallout2 =
    7586                 :            : {
    7587                 :            :     (SvxMSDffVertPair*)mso_sptCallout2Vertb, SAL_N_ELEMENTS( mso_sptCallout2Vertb ),
    7588                 :            :     (sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1,
    7589                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7590                 :            :     (sal_Int32*)mso_sptCalloutDefault3,
    7591                 :            :     NULL, 0,
    7592                 :            :     21600, 21600,
    7593                 :            :     MIN_INT32, MIN_INT32,
    7594                 :            :     NULL, 0,
    7595                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 )
    7596                 :            : };
    7597                 :            : static const mso_CustomShape msoAccentBorderCallout3 =
    7598                 :            : {
    7599                 :            :     (SvxMSDffVertPair*)mso_sptCallout3Vertb, SAL_N_ELEMENTS( mso_sptCallout3Vertb ),
    7600                 :            :     (sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1,
    7601                 :            :     (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ),
    7602                 :            :     (sal_Int32*)mso_sptCalloutDefault4,
    7603                 :            :     NULL, 0,
    7604                 :            :     21600, 21600,
    7605                 :            :     MIN_INT32, MIN_INT32,
    7606                 :            :     NULL, 0,
    7607                 :            :     (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 )
    7608                 :            : };
    7609                 :            : 
    7610                 :            : static const SvxMSDffVertPair mso_sptStraightConnector1Vert[] =
    7611                 :            : {
    7612                 :            :     { 0, 0 }, { 21600, 21600 }
    7613                 :            : };
    7614                 :            : static const sal_uInt16 mso_sptStraightConnector1Segm[] =
    7615                 :            : {
    7616                 :            :     0x4000, 0x0001, 0x8000
    7617                 :            : };
    7618                 :            : static const mso_CustomShape msoStraightConnector1 =
    7619                 :            : {
    7620                 :            :     (SvxMSDffVertPair*)mso_sptStraightConnector1Vert, SAL_N_ELEMENTS( mso_sptStraightConnector1Vert ),
    7621                 :            :     (sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1,
    7622                 :            :     (SvxMSDffCalculationData*)NULL, 0,
    7623                 :            :     (sal_Int32*)NULL,
    7624                 :            :     NULL, 0,
    7625                 :            :     21600, 21600,
    7626                 :            :     MIN_INT32, MIN_INT32,
    7627                 :            :     NULL, 0,
    7628                 :            :     (SvxMSDffHandle*)NULL, 0
    7629                 :            : };
    7630                 :            : 
    7631                 :            : static const SvxMSDffVertPair mso_sptBentConnector2Vert[] =
    7632                 :            : {
    7633                 :            :     { 0, 0 }, { 21600, 0 }, { 21600, 21600 }
    7634                 :            : };
    7635                 :            : static const sal_uInt16 mso_sptBentConnector2Segm[] =
    7636                 :            : {
    7637                 :            :     0x4000, 0x0002, 0x8000
    7638                 :            : };
    7639                 :            : static const mso_CustomShape msoBentConnector2 =
    7640                 :            : {
    7641                 :            :     (SvxMSDffVertPair*)mso_sptBentConnector2Vert, SAL_N_ELEMENTS( mso_sptBentConnector2Vert ),
    7642                 :            :     (sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1,
    7643                 :            :     (SvxMSDffCalculationData*)NULL, 0,
    7644                 :            :     (sal_Int32*)NULL,
    7645                 :            :     NULL, 0,
    7646                 :            :     21600, 21600,
    7647                 :            :     MIN_INT32, MIN_INT32,
    7648                 :            :     NULL, 0,
    7649                 :            :     (SvxMSDffHandle*)NULL, 0
    7650                 :            : };
    7651                 :            : 
    7652                 :            : static const SvxMSDffVertPair mso_sptBentConnector3Vert[] =
    7653                 :            : {
    7654                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 21600 }, { 21600, 21600 }
    7655                 :            : };
    7656                 :            : static const sal_uInt16 mso_sptBentConnector3Segm[] =
    7657                 :            : {
    7658                 :            :     0x4000, 0x0003, 0x8000
    7659                 :            : };
    7660                 :            : static const SvxMSDffCalculationData mso_sptBentConnector3Calc[] =
    7661                 :            : {
    7662                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
    7663                 :            : };
    7664                 :            : static const sal_Int32 mso_sptBentConnector3Default[] =
    7665                 :            : {
    7666                 :            :     1, 10800
    7667                 :            : };
    7668                 :            : static const SvxMSDffHandle mso_sptBentConnector3Handle[] =
    7669                 :            : {
    7670                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7671                 :            :         0x100, 10800, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }
    7672                 :            : };
    7673                 :            : static const mso_CustomShape msoBentConnector3 =
    7674                 :            : {
    7675                 :            :     (SvxMSDffVertPair*)mso_sptBentConnector3Vert, SAL_N_ELEMENTS( mso_sptBentConnector3Vert ),
    7676                 :            :     (sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1,
    7677                 :            :     (SvxMSDffCalculationData*)mso_sptBentConnector3Calc, SAL_N_ELEMENTS( mso_sptBentConnector3Calc ),
    7678                 :            :     (sal_Int32*)mso_sptBentConnector3Default,
    7679                 :            :     NULL, 0,
    7680                 :            :     21600, 21600,
    7681                 :            :     MIN_INT32, MIN_INT32,
    7682                 :            :     NULL, 0,
    7683                 :            :     (SvxMSDffHandle*)mso_sptBentConnector3Handle, SAL_N_ELEMENTS( mso_sptBentConnector3Handle )
    7684                 :            : };
    7685                 :            : 
    7686                 :            : static const SvxMSDffVertPair mso_sptBentConnector4Vert[] =
    7687                 :            : {
    7688                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 21600 }
    7689                 :            : };
    7690                 :            : static const sal_uInt16 mso_sptBentConnector4Segm[] =
    7691                 :            : {
    7692                 :            :     0x4000, 0x0004, 0x8000
    7693                 :            : };
    7694                 :            : static const SvxMSDffCalculationData mso_sptBentConnector4Calc[] =
    7695                 :            : {
    7696                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7697                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    7698                 :            :     { 0x2000, { 0x400, 21600, 0 } },
    7699                 :            :     { 0x2001, { 0x402, 1, 2 } },
    7700                 :            :     { 0x2001, { 0x401, 1, 2 } }
    7701                 :            : };
    7702                 :            : static const sal_Int32 mso_sptBentConnector4Default[] =
    7703                 :            : {
    7704                 :            :     2, 10800, 10800
    7705                 :            : };
    7706                 :            : static const SvxMSDffHandle mso_sptBentConnector4Handle[] =
    7707                 :            : {
    7708                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7709                 :            :         0x100, 4 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 4 + 3, 4 + 3 },
    7710                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    7711                 :            :         3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, MIN_INT32, 0x7fffffff }
    7712                 :            : };
    7713                 :            : static const mso_CustomShape msoBentConnector4 =
    7714                 :            : {
    7715                 :            :     (SvxMSDffVertPair*)mso_sptBentConnector4Vert, SAL_N_ELEMENTS( mso_sptBentConnector4Vert ),
    7716                 :            :     (sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1,
    7717                 :            :     (SvxMSDffCalculationData*)mso_sptBentConnector4Calc, SAL_N_ELEMENTS( mso_sptBentConnector4Calc ),
    7718                 :            :     (sal_Int32*)mso_sptBentConnector4Default,
    7719                 :            :     NULL, 0,
    7720                 :            :     21600, 21600,
    7721                 :            :     MIN_INT32, MIN_INT32,
    7722                 :            :     NULL, 0,
    7723                 :            :     (SvxMSDffHandle*)mso_sptBentConnector4Handle, SAL_N_ELEMENTS( mso_sptBentConnector4Handle )
    7724                 :            : };
    7725                 :            : 
    7726                 :            : static const SvxMSDffVertPair mso_sptBentConnector5Vert[] =
    7727                 :            : {
    7728                 :            :     { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 1 MSO_I, 21600 }, { 21600, 21600 }
    7729                 :            : };
    7730                 :            : static const sal_uInt16 mso_sptBentConnector5Segm[] =
    7731                 :            : {
    7732                 :            :     0x4000, 0x0005, 0x8000
    7733                 :            : };
    7734                 :            : static const SvxMSDffCalculationData mso_sptBentConnector5Calc[] =
    7735                 :            : {
    7736                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7737                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    7738                 :            :     { 0x6000, { 0x400, 0x401, 0 } },
    7739                 :            :     { 0x2001, { 0x402, 1, 2 } },
    7740                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    7741                 :            :     { 0x2001, { 0x404, 1, 2 } },
    7742                 :            :     { 0x4000, { 21600, 0x404, 0 } },
    7743                 :            :     { 0x2001, { 0x406, 1, 2 } }
    7744                 :            : };
    7745                 :            : static const sal_Int32 mso_sptBentConnector5Default[] =
    7746                 :            : {
    7747                 :            :     3, 10800, 10800, 10800
    7748                 :            : };
    7749                 :            : static const SvxMSDffHandle mso_sptBentConnector5Handle[] =
    7750                 :            : {
    7751                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7752                 :            :         0x100, 5 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 5 + 3, 5 + 3 },
    7753                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    7754                 :            :         3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, MIN_INT32, 0x7fffffff },
    7755                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7756                 :            :         0x102, 7 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 7 + 3, 7 + 3 }
    7757                 :            : };
    7758                 :            : static const mso_CustomShape msoBentConnector5 =
    7759                 :            : {
    7760                 :            :     (SvxMSDffVertPair*)mso_sptBentConnector5Vert, SAL_N_ELEMENTS( mso_sptBentConnector5Vert ),
    7761                 :            :     (sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1,
    7762                 :            :     (SvxMSDffCalculationData*)mso_sptBentConnector5Calc, SAL_N_ELEMENTS( mso_sptBentConnector5Calc ),
    7763                 :            :     (sal_Int32*)mso_sptBentConnector5Default,
    7764                 :            :     NULL, 0,
    7765                 :            :     21600, 21600,
    7766                 :            :     MIN_INT32, MIN_INT32,
    7767                 :            :     NULL, 0,
    7768                 :            :     (SvxMSDffHandle*)mso_sptBentConnector5Handle, SAL_N_ELEMENTS( mso_sptBentConnector5Handle )
    7769                 :            : };
    7770                 :            : 
    7771                 :            : static const SvxMSDffVertPair mso_sptCurvedConnector2Vert[] =
    7772                 :            : {
    7773                 :            :     { 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 }
    7774                 :            : };
    7775                 :            : static const sal_uInt16 mso_sptCurvedConnector2Segm[] =
    7776                 :            : {
    7777                 :            :     0x4000, 0x2001, 0x8000
    7778                 :            : };
    7779                 :            : static const mso_CustomShape msoCurvedConnector2 =
    7780                 :            : {
    7781                 :            :     (SvxMSDffVertPair*)mso_sptCurvedConnector2Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector2Vert ),
    7782                 :            :     (sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1,
    7783                 :            :     (SvxMSDffCalculationData*)NULL, 0,
    7784                 :            :     (sal_Int32*)NULL,
    7785                 :            :     NULL, 0,
    7786                 :            :     21600, 21600,
    7787                 :            :     MIN_INT32, MIN_INT32,
    7788                 :            :     NULL, 0,
    7789                 :            :     (SvxMSDffHandle*)NULL, 0
    7790                 :            : };
    7791                 :            : 
    7792                 :            : static const SvxMSDffVertPair mso_sptCurvedConnector3Vert[] =
    7793                 :            : {
    7794                 :            :     { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 5400 }, { 0 MSO_I, 10800 }, { 0 MSO_I, 16200 }, { 3 MSO_I, 21600 }, { 21600, 21600 }
    7795                 :            : };
    7796                 :            : static const sal_uInt16 mso_sptCurvedConnector3Segm[] =
    7797                 :            : {
    7798                 :            :     0x4000, 0x2002, 0x8000
    7799                 :            : };
    7800                 :            : static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc[] =
    7801                 :            : {
    7802                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7803                 :            :     { 0x2001, { 0x400, 1, 2 } },
    7804                 :            :     { 0x2000, { 0x400, 21600, 0 } },
    7805                 :            :     { 0x2001, { 0x402, 1, 2 } }
    7806                 :            : };
    7807                 :            : static const sal_Int32 mso_sptCurvedConnector3Default[] =
    7808                 :            : {
    7809                 :            :     1, 10800
    7810                 :            : };
    7811                 :            : static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] =
    7812                 :            : {
    7813                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE,
    7814                 :            :         0x100, 10800, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }
    7815                 :            : };
    7816                 :            : static const mso_CustomShape msoCurvedConnector3 =
    7817                 :            : {
    7818                 :            :     (SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector3Vert ),
    7819                 :            :     (sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1,
    7820                 :            :     (SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector3Calc ),
    7821                 :            :     (sal_Int32*)mso_sptCurvedConnector3Default,
    7822                 :            :     NULL, 0,
    7823                 :            :     21600, 21600,
    7824                 :            :     MIN_INT32, MIN_INT32,
    7825                 :            :     NULL, 0,
    7826                 :            :     (SvxMSDffHandle*)mso_sptCurvedConnector3Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector3Handle )
    7827                 :            : };
    7828                 :            : 
    7829                 :            : static const SvxMSDffVertPair mso_sptCurvedConnector4Vert[] =
    7830                 :            : {
    7831                 :            :     { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 10 MSO_I }, { 0 MSO_I, 9 MSO_I },
    7832                 :            :     { 0 MSO_I, 12 MSO_I }, { 5 MSO_I, 8 MSO_I }, { 3 MSO_I, 8 MSO_I },
    7833                 :            :     { 7 MSO_I, 8 MSO_I }, { 21600, 14 MSO_I }, { 21600, 21600 }
    7834                 :            : 
    7835                 :            : };
    7836                 :            : static const sal_uInt16 mso_sptCurvedConnector4Segm[] =
    7837                 :            : {
    7838                 :            :     0x4000, 0x2003, 0x8000
    7839                 :            : };
    7840                 :            : static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc[] =
    7841                 :            : {
    7842                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7843                 :            :     { 0x2001, { 0x400, 1, 2 } },
    7844                 :            :     { 0x4000, { 21600, 0x400, 0 } },
    7845                 :            :     { 0x2001, { 0x402, 1, 2 } },
    7846                 :            :     { 0x6000, { 0x400, 0x403, 0 } },
    7847                 :            :     { 0x2001, { 0x404, 1, 2 } },
    7848                 :            :     { 0x2000, { 0x403, 21600, 0 } },
    7849                 :            :     { 0x2001, { 0x406, 1, 2 } },
    7850                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    7851                 :            :     { 0x2001, { DFF_Prop_adjust2Value, 1, 2 } },
    7852                 :            :     { 0x2001, { DFF_Prop_adjust2Value, 1, 4 } },
    7853                 :            :     { 0x6000, { 0x408, 0x409, 0 } },
    7854                 :            :     { 0x2001, { 0x40b, 1, 2 } },
    7855                 :            :     { 0x2000, { 0x408, 21600, 0 } },
    7856                 :            :     { 0x2001, { 0x40d, 1, 2 } }
    7857                 :            : };
    7858                 :            : static const sal_Int32 mso_sptCurvedConnector4Default[] =
    7859                 :            : {
    7860                 :            :     2, 10800, 10800
    7861                 :            : };
    7862                 :            : static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] =
    7863                 :            : {
    7864                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7865                 :            :         0x100, 9 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 9 + 3, 9 + 3 },
    7866                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    7867                 :            :         3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, MIN_INT32, 0x7fffffff }
    7868                 :            : };
    7869                 :            : static const mso_CustomShape msoCurvedConnector4 =
    7870                 :            : {
    7871                 :            :     (SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector4Vert ),
    7872                 :            :     (sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1,
    7873                 :            :     (SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector4Calc ),
    7874                 :            :     (sal_Int32*)mso_sptCurvedConnector4Default,
    7875                 :            :     NULL, 0,
    7876                 :            :     21600, 21600,
    7877                 :            :     MIN_INT32, MIN_INT32,
    7878                 :            :     NULL, 0,
    7879                 :            :     (SvxMSDffHandle*)mso_sptCurvedConnector4Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector4Handle )
    7880                 :            : };
    7881                 :            : 
    7882                 :            : static const SvxMSDffVertPair mso_sptCurvedConnector5Vert[] =
    7883                 :            : {
    7884                 :            :     { 0, 0 },
    7885                 :            :     { 21 MSO_I, 0 }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
    7886                 :            :     { 0 MSO_I, 14 MSO_I }, { 6 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
    7887                 :            :     { 8 MSO_I, 4 MSO_I }, { 1 MSO_I, 18 MSO_I }, { 1 MSO_I, 16 MSO_I },
    7888                 :            :     { 1 MSO_I, 20 MSO_I }, { 10 MSO_I, 21600 }, { 21600, 21600 }
    7889                 :            : };
    7890                 :            : static const sal_uInt16 mso_sptCurvedConnector5Segm[] =
    7891                 :            : {
    7892                 :            :     0x4000, 0x2004, 0x8000
    7893                 :            : };
    7894                 :            : static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc[] =
    7895                 :            : {
    7896                 :            :     { 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
    7897                 :            :     { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
    7898                 :            :     { 0x6000, { 0x400, 0x401, 0 } },
    7899                 :            :     { 0x2001, { 0x402, 1, 2 } },
    7900                 :            :     { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
    7901                 :            :     { 0x6000, { 0x400, 0x403, 0 } },
    7902                 :            :     { 0x2001, { 0x405, 1, 2 } },
    7903                 :            :     { 0x6000, { 0x401, 0x403, 0 } },
    7904                 :            :     { 0x2001, { 0x407, 1, 2 } },
    7905                 :            :     { 0x2000, { 0x401, 21600, 0 } },
    7906                 :            :     { 0x2001, { 0x409, 1, 2 } },
    7907                 :            :     { 0x2001, { 0x404, 1, 2 } },
    7908                 :            :     { 0x2001, { 0x40b, 1, 2 } },
    7909                 :            :     { 0x6000, { 0x404, 0x40b, 0 } },
    7910                 :            :     { 0x2001, { 0x40d, 1, 2 } },
    7911                 :            :     { 0x2000, { 0x404, 21600, 0 } },
    7912                 :            :     { 0x2001, { 0x40f, 1, 2 } },
    7913                 :            :     { 0x6000, { 0x404, 0x410, 0 } },
    7914                 :            :     { 0x2001, { 0x411, 1, 2 } },
    7915                 :            :     { 0x2000, { 0x410, 21600, 0 } },
    7916                 :            :     { 0x2001, { 0x413, 1, 2 } },
    7917                 :            :     { 0x2001, { 0x400, 1, 2 } }
    7918                 :            : };
    7919                 :            : static const sal_Int32 mso_sptCurvedConnector5Default[] =
    7920                 :            : {
    7921                 :            :     3, 10800, 10800, 10800
    7922                 :            : };
    7923                 :            : static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] =
    7924                 :            : {
    7925                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7926                 :            :         0x100, 11 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 11 + 3, 11 + 3 },
    7927                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
    7928                 :            :         3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, MIN_INT32, 0x7fffffff },
    7929                 :            :     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
    7930                 :            :         0x102, 16 + 3, 10800, 10800, MIN_INT32, 0x7fffffff, 16 + 3, 16 + 3 }
    7931                 :            : };
    7932                 :            : static const mso_CustomShape msoCurvedConnector5 =
    7933                 :            : {
    7934                 :            :     (SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector5Vert ),
    7935                 :            :     (sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1,
    7936                 :            :     (SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector5Calc ),
    7937                 :            :     (sal_Int32*)mso_sptCurvedConnector5Default,
    7938                 :            :     NULL, 0,
    7939                 :            :     21600, 21600,
    7940                 :            :     MIN_INT32, MIN_INT32,
    7941                 :            :     NULL, 0,
    7942                 :            :     (SvxMSDffHandle*)mso_sptCurvedConnector5Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector5Handle )
    7943                 :            : };
    7944                 :            : 
    7945                 :       2528 : const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType )
    7946                 :            : {
    7947                 :       2528 :     const mso_CustomShape* pCustomShape = NULL;
    7948   [ -  +  +  +  :       2528 :     switch( eSpType )
          +  +  +  +  +  
          +  +  +  +  +  
          +  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  +  
          +  +  +  +  +  
          +  -  +  +  +  
          +  +  +  +  +  
          +  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          +  +  +  +  -  
          +  -  -  -  -  
          -  +  +  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  +  +  -  
          -  -  -  -  -  
          -  -  -  -  +  
          -  -  -  -  -  
          -  -  -  +  -  
          -  -  -  -  -  
          -  -  +  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
             -  -  -  + ]
    7949                 :            :     {
    7950                 :          0 :         case mso_sptArc :                       pCustomShape = &msoArc; break;
    7951                 :       1689 :         case mso_sptRectangle :                 pCustomShape = &msoRectangle; break;
    7952                 :          3 :         case mso_sptParallelogram :             pCustomShape = &msoParallelogram; break;
    7953                 :          3 :         case mso_sptTrapezoid :                 pCustomShape = &msoTrapezoid; break;
    7954                 :          3 :         case mso_sptDiamond :                   pCustomShape = &msoDiamond; break;
    7955                 :          6 :         case mso_sptRoundRectangle :            pCustomShape = &msoRoundRectangle; break;
    7956                 :          3 :         case mso_sptOctagon :                   pCustomShape = &msoOctagon; break;
    7957                 :          3 :         case mso_sptIsocelesTriangle :          pCustomShape = &msoIsocelesTriangle; break;
    7958                 :          3 :         case mso_sptRightTriangle :             pCustomShape = &msoRightTriangle; break;
    7959                 :         24 :         case mso_sptEllipse :                   pCustomShape = &msoEllipse; break;
    7960                 :          3 :         case mso_sptHexagon :                   pCustomShape = &msoHexagon; break;
    7961                 :          3 :         case mso_sptPlus :                      pCustomShape = &msoPlus; break;
    7962                 :          3 :         case mso_sptPentagon :                  pCustomShape = &msoPentagon; break;
    7963                 :          9 :         case mso_sptCan :                       pCustomShape = &msoCan; break;
    7964                 :          9 :         case mso_sptCube :                      pCustomShape = &msoCube; break;
    7965                 :          0 :         case mso_sptBalloon :                   pCustomShape = &msoBalloon; break;
    7966                 :          0 :         case mso_sptActionButtonBlank :         pCustomShape = &msoActionButtonBlank; break;
    7967                 :          0 :         case mso_sptActionButtonHome :          pCustomShape = &msoActionButtonHome; break;
    7968                 :          0 :         case mso_sptActionButtonHelp :          pCustomShape = &msoActionButtonHelp; break;
    7969                 :          0 :         case mso_sptActionButtonInformation :   pCustomShape = &msoActionButtonInformation; break;
    7970                 :          0 :         case mso_sptActionButtonBackPrevious :  pCustomShape = &msoActionButtonBackPrevious; break;
    7971                 :          0 :         case mso_sptActionButtonForwardNext :   pCustomShape = &msoActionButtonForwardNext; break;
    7972                 :          0 :         case mso_sptActionButtonBeginning :     pCustomShape = &msoActionButtonBeginning; break;
    7973                 :          0 :         case mso_sptActionButtonEnd :           pCustomShape = &msoActionButtonEnd; break;
    7974                 :          0 :         case mso_sptActionButtonReturn :        pCustomShape = &msoActionButtonReturn;  break;
    7975                 :          0 :         case mso_sptActionButtonDocument :      pCustomShape = &msoActionButtonDocument; break;
    7976                 :          0 :         case mso_sptActionButtonSound :         pCustomShape = &msoActionButtonSound; break;
    7977                 :          0 :         case mso_sptActionButtonMovie :         pCustomShape = &msoActionButtonMovie; break;
    7978                 :          9 :         case mso_sptBevel :                     pCustomShape = &msoBevel; break;
    7979                 :          3 :         case mso_sptFoldedCorner :              pCustomShape = &msoFoldedCorner; break;
    7980                 :          3 :         case mso_sptSmileyFace :                pCustomShape = &msoSmileyFace;  break;
    7981                 :          3 :         case mso_sptDonut :                     pCustomShape = &msoDonut; break;
    7982                 :          3 :         case mso_sptNoSmoking :                 pCustomShape = &msoNoSmoking; break;
    7983                 :          3 :         case mso_sptBlockArc :                  pCustomShape = &msoBlockArc; break;
    7984                 :          3 :         case mso_sptHeart :                     pCustomShape = &msoHeart; break;
    7985                 :          0 :         case mso_sptLightningBolt :             pCustomShape = &msoLightningBold; break;
    7986                 :         15 :         case mso_sptSun :                       pCustomShape = &msoSun; break;
    7987                 :          3 :         case mso_sptMoon :                      pCustomShape = &msoMoon; break;
    7988                 :          3 :         case mso_sptBracketPair :               pCustomShape = &msoBracketPair; break;
    7989                 :          3 :         case mso_sptBracePair :                 pCustomShape = &msoBracePair; break;
    7990                 :          3 :         case mso_sptPlaque :                    pCustomShape = &msoPlaque; break;
    7991                 :          3 :         case mso_sptLeftBracket :               pCustomShape = &msoLeftBracket; break;
    7992                 :          3 :         case mso_sptRightBracket :              pCustomShape = &msoRightBracket; break;
    7993                 :          3 :         case mso_sptLeftBrace :                 pCustomShape = &msoLeftBrace; break;
    7994                 :          3 :         case mso_sptRightBrace :                pCustomShape = &msoRightBrace; break;
    7995                 :          0 :         case mso_sptArrow :                     pCustomShape = &msoArrow; break;
    7996                 :          0 :         case mso_sptUpArrow :                   pCustomShape = &msoUpArrow; break;
    7997                 :          0 :         case mso_sptDownArrow :                 pCustomShape = &msoDownArrow; break;
    7998                 :          0 :         case mso_sptLeftArrow :                 pCustomShape = &msoLeftArrow; break;
    7999                 :          0 :         case mso_sptLeftRightArrow :            pCustomShape = &msoLeftRightArrow; break;
    8000                 :          0 :         case mso_sptUpDownArrow :               pCustomShape = &msoUpDownArrow; break;
    8001                 :          0 :         case mso_sptQuadArrow :                 pCustomShape = &msoQuadArrow; break;
    8002                 :          0 :         case mso_sptLeftRightUpArrow :          pCustomShape = &msoLeftRightUpArrow; break;
    8003                 :          0 :         case mso_sptBentArrow :                 pCustomShape = &msoBentArrow; break;
    8004                 :          0 :         case mso_sptUturnArrow :                pCustomShape = &msoUturnArrow; break;
    8005                 :          0 :         case mso_sptLeftUpArrow :               pCustomShape = &msoLeftUpArrow; break;
    8006                 :          0 :         case mso_sptBentUpArrow :               pCustomShape = &msoBentUpArrow; break;
    8007                 :          0 :         case mso_sptCurvedRightArrow :          pCustomShape = &msoCurvedRightArrow; break;
    8008                 :          0 :         case mso_sptCurvedLeftArrow :           pCustomShape = &msoCurvedLeftArrow; break;
    8009                 :          0 :         case mso_sptCurvedUpArrow :             pCustomShape = &msoCurvedUpArrow; break;
    8010                 :          0 :         case mso_sptCurvedDownArrow :           pCustomShape = &msoCurvedDownArrow; break;
    8011                 :          0 :         case mso_sptStripedRightArrow :         pCustomShape = &msoStripedRightArrow; break;
    8012                 :          0 :         case mso_sptNotchedRightArrow :         pCustomShape = &msoNotchedRightArrow; break;
    8013                 :          0 :         case mso_sptHomePlate :                 pCustomShape = &msoHomePlate; break;
    8014                 :          0 :         case mso_sptChevron :                   pCustomShape = &msoChevron; break;
    8015                 :          0 :         case mso_sptRightArrowCallout :         pCustomShape = &msoRightArrowCallout; break;
    8016                 :          0 :         case mso_sptLeftArrowCallout :          pCustomShape = &msoLeftArrowCallout; break;
    8017                 :          0 :         case mso_sptUpArrowCallout :            pCustomShape = &msoUpArrowCallout; break;
    8018                 :          0 :         case mso_sptDownArrowCallout :          pCustomShape = &msoDownArrowCallout; break;
    8019                 :          0 :         case mso_sptLeftRightArrowCallout :     pCustomShape = &msoLeftRightArrowCallout; break;
    8020                 :          0 :         case mso_sptUpDownArrowCallout :        pCustomShape = &msoUpDownArrowCallout; break;
    8021                 :          0 :         case mso_sptQuadArrowCallout :          pCustomShape = &msoQuadArrowCallout; break;
    8022                 :          0 :         case mso_sptCircularArrow :             pCustomShape = &msoCircularArrow; break;
    8023                 :          0 :         case mso_sptIrregularSeal1 :            pCustomShape = &msoIrregularSeal1; break;
    8024                 :          3 :         case mso_sptIrregularSeal2 :            pCustomShape = &msoIrregularSeal2; break;
    8025                 :          3 :         case mso_sptSeal4 :                     pCustomShape = &msoSeal4; break;
    8026                 :         15 :         case mso_sptStar :                      pCustomShape = &msoStar; break;
    8027                 :          3 :         case mso_sptSeal8 :                     pCustomShape = &msoSeal8; break;
    8028                 :            :         case mso_sptSeal :
    8029                 :          0 :         case mso_sptSeal16 :                    pCustomShape = &msoSeal16; break;
    8030                 :          3 :         case mso_sptSeal24 :                    pCustomShape = &msoSeal24; break;
    8031                 :          0 :         case mso_sptSeal32 :                    pCustomShape = &msoSeal32; break;
    8032                 :          0 :         case mso_sptRibbon2 :                   pCustomShape = &msoRibbon2; break;
    8033                 :          0 :         case mso_sptRibbon :                    pCustomShape = &msoRibbon; break;
    8034                 :          0 :         case mso_sptEllipseRibbon2 :            pCustomShape = &msoRibbon2; break;  // SJ: TODO
    8035                 :          0 :         case mso_sptEllipseRibbon :             pCustomShape = &msoRibbon; break;   // SJ: TODO
    8036                 :          3 :         case mso_sptVerticalScroll :            pCustomShape = &msoVerticalScroll;  break;
    8037                 :         15 :         case mso_sptHorizontalScroll :          pCustomShape = &msoHorizontalScroll; break;
    8038                 :          0 :         case mso_sptFlowChartProcess :          pCustomShape = &msoFlowChartProcess; break;
    8039                 :          0 :         case mso_sptFlowChartAlternateProcess : pCustomShape = &msoFlowChartAlternateProcess; break;
    8040                 :          0 :         case mso_sptFlowChartDecision :         pCustomShape = &msoFlowChartDecision; break;
    8041                 :          0 :         case mso_sptFlowChartInputOutput :      pCustomShape = &msoFlowChartInputOutput; break;
    8042                 :          0 :         case mso_sptFlowChartPredefinedProcess :pCustomShape = &msoFlowChartPredefinedProcess; break;
    8043                 :          0 :         case mso_sptFlowChartInternalStorage :  pCustomShape = &msoFlowChartInternalStorage; break;
    8044                 :          0 :         case mso_sptFlowChartDocument :         pCustomShape = &msoFlowChartDocument; break;
    8045                 :          0 :         case mso_sptFlowChartMultidocument :    pCustomShape = &msoFlowChartMultidocument; break;
    8046                 :          0 :         case mso_sptFlowChartTerminator :       pCustomShape = &msoFlowChartTerminator; break;
    8047                 :          0 :         case mso_sptFlowChartPreparation :      pCustomShape = &msoFlowChartPreparation; break;
    8048                 :          0 :         case mso_sptFlowChartManualInput :      pCustomShape = &msoFlowChartManualInput; break;
    8049                 :          0 :         case mso_sptFlowChartManualOperation :  pCustomShape = &msoFlowChartManualOperation; break;
    8050                 :          0 :         case mso_sptFlowChartConnector :        pCustomShape = &msoFlowChartConnector; break;
    8051                 :          0 :         case mso_sptFlowChartOffpageConnector : pCustomShape = &msoFlowChartOffpageConnector; break;
    8052                 :          0 :         case mso_sptFlowChartPunchedCard :      pCustomShape = &msoFlowChartPunchedCard; break;
    8053                 :          0 :         case mso_sptFlowChartPunchedTape :      pCustomShape = &msoFlowChartPunchedTape; break;
    8054                 :          0 :         case mso_sptFlowChartSummingJunction :  pCustomShape = &msoFlowChartSummingJunction; break;
    8055                 :          0 :         case mso_sptFlowChartOr :               pCustomShape = &msoFlowChartOr; break;
    8056                 :          0 :         case mso_sptFlowChartCollate :          pCustomShape = &msoFlowChartCollate; break;
    8057                 :          0 :         case mso_sptFlowChartSort :             pCustomShape = &msoFlowChartSort; break;
    8058                 :          0 :         case mso_sptFlowChartExtract :          pCustomShape = &msoFlowChartExtract; break;
    8059                 :          0 :         case mso_sptFlowChartMerge :            pCustomShape = &msoFlowChartMerge; break;
    8060                 :          0 :         case mso_sptFlowChartOnlineStorage :    pCustomShape = &msoFlowChartOnlineStorage; break;
    8061                 :          0 :         case mso_sptFlowChartDelay :            pCustomShape = &msoFlowChartDelay; break;
    8062                 :          0 :         case mso_sptFlowChartMagneticTape :     pCustomShape = &msoFlowChartMagneticTape; break;
    8063                 :          0 :         case mso_sptFlowChartMagneticDisk :     pCustomShape = &msoFlowChartMagneticDisk; break;
    8064                 :          0 :         case mso_sptFlowChartMagneticDrum :     pCustomShape = &msoFlowChartMagneticDrum; break;
    8065                 :          0 :         case mso_sptFlowChartDisplay :          pCustomShape = &msoFlowChartDisplay; break;
    8066                 :          0 :         case mso_sptWedgeRectCallout :          pCustomShape = &msoWedgeRectCallout; break;
    8067                 :         12 :         case mso_sptWedgeRRectCallout :         pCustomShape = &msoWedgeRRectCallout; break;
    8068                 :         36 :         case mso_sptWedgeEllipseCallout :       pCustomShape = &msoWedgeEllipseCallout; break;
    8069                 :          0 :         case mso_sptCloudCallout :              pCustomShape = &msoCloudCallout; break;
    8070                 :          0 :         case mso_sptWave :                      pCustomShape = &msoWave; break;
    8071                 :          0 :         case mso_sptDoubleWave :                pCustomShape = &msoDoubleWave; break;
    8072                 :            : 
    8073                 :            :         // callout
    8074                 :          0 :         case mso_sptCallout1 :                  pCustomShape = &msoCallout1; break;
    8075                 :          0 :         case mso_sptCallout2 :                  pCustomShape = &msoCallout2; break;
    8076                 :          0 :         case mso_sptCallout3 :                  pCustomShape = &msoCallout3; break;
    8077                 :          0 :         case mso_sptAccentCallout1 :            pCustomShape = &msoAccentCallout1; break;
    8078                 :          0 :         case mso_sptAccentCallout2 :            pCustomShape = &msoAccentCallout2; break;
    8079                 :          0 :         case mso_sptAccentCallout3 :            pCustomShape = &msoAccentCallout3; break;
    8080                 :          0 :         case mso_sptBorderCallout1 :            pCustomShape = &msoBorderCallout1; break;
    8081                 :         12 :         case mso_sptBorderCallout2 :            pCustomShape = &msoBorderCallout2; break;
    8082                 :          0 :         case mso_sptBorderCallout3 :            pCustomShape = &msoBorderCallout3; break;
    8083                 :          0 :         case mso_sptAccentBorderCallout1 :      pCustomShape = &msoAccentBorderCallout1; break;
    8084                 :          0 :         case mso_sptAccentBorderCallout2 :      pCustomShape = &msoAccentBorderCallout2; break;
    8085                 :          0 :         case mso_sptAccentBorderCallout3 :      pCustomShape = &msoAccentBorderCallout3; break;
    8086                 :          0 :         case mso_sptCallout90 :                 pCustomShape = &msoCallout90; break;
    8087                 :          0 :         case mso_sptAccentCallout90 :           pCustomShape = &msoAccentCallout90; break;
    8088                 :          0 :         case mso_sptBorderCallout90 :           pCustomShape = &msoBorderCallout90; break;
    8089                 :          0 :         case mso_sptAccentBorderCallout90 :     pCustomShape = &msoAccentBorderCallout90; break;
    8090                 :            : 
    8091                 :            :         // connectors
    8092                 :         27 :         case mso_sptStraightConnector1 :        pCustomShape = &msoStraightConnector1; break;
    8093                 :          0 :         case mso_sptBentConnector2 :            pCustomShape = &msoBentConnector2; break;
    8094                 :          0 :         case mso_sptBentConnector3 :            pCustomShape = &msoBentConnector3; break;
    8095                 :          0 :         case mso_sptBentConnector4 :            pCustomShape = &msoBentConnector4; break;
    8096                 :          0 :         case mso_sptBentConnector5 :            pCustomShape = &msoBentConnector5; break;
    8097                 :          0 :         case mso_sptCurvedConnector2 :          pCustomShape = &msoCurvedConnector2; break;
    8098                 :          0 :         case mso_sptCurvedConnector3 :          pCustomShape = &msoCurvedConnector3; break;
    8099                 :          0 :         case mso_sptCurvedConnector4 :          pCustomShape = &msoCurvedConnector4; break;
    8100                 :          0 :         case mso_sptCurvedConnector5 :          pCustomShape = &msoCurvedConnector5; break;
    8101                 :            : 
    8102                 :            :         // Dont know, simply mapping to TextSimple
    8103                 :            :         case mso_sptTextOnRing :
    8104                 :            :         case mso_sptTextOnCurve :
    8105                 :            :         case mso_sptTextRing :
    8106                 :            :         case mso_sptTextWave :
    8107                 :            :         case mso_sptTextCurve :
    8108                 :            :         case mso_sptTextHexagon :
    8109                 :            :         case mso_sptTextOctagon :
    8110                 :         93 :         case mso_sptTextBox :                   pCustomShape = &msoTextSimple; break;
    8111                 :            : 
    8112                 :            :         // FontWork
    8113                 :            :         case mso_sptTextSimple :
    8114                 :          0 :         case mso_sptTextPlainText :             pCustomShape = &msoTextPlainText; break;
    8115                 :          0 :         case mso_sptTextStop :                  pCustomShape = &msoTextStop; break;
    8116                 :          0 :         case mso_sptTextTriangle :              pCustomShape = &msoTextTriangle; break;
    8117                 :          0 :         case mso_sptTextTriangleInverted :      pCustomShape = &msoTextTriangleInverted; break;
    8118                 :          0 :         case mso_sptTextChevron :               pCustomShape = &msoTextChevron; break;
    8119                 :          0 :         case mso_sptTextChevronInverted :       pCustomShape = &msoTextChevronInverted; break;
    8120                 :          0 :         case mso_sptTextRingInside :            pCustomShape = &msoTextRingOutside; break;  // SJ: TODO->the orientation of the ellipse needs to be changed
    8121                 :          0 :         case mso_sptTextRingOutside :           pCustomShape = &msoTextRingOutside; break;
    8122                 :          0 :         case mso_sptTextFadeRight :             pCustomShape = &msoTextFadeRight; break;
    8123                 :          0 :         case mso_sptTextFadeLeft :              pCustomShape = &msoTextFadeLeft; break;
    8124                 :          0 :         case mso_sptTextFadeUp :                pCustomShape = &msoTextFadeUp; break;
    8125                 :          0 :         case mso_sptTextFadeDown :              pCustomShape = &msoTextFadeDown; break;
    8126                 :          0 :         case mso_sptTextSlantUp :               pCustomShape = &msoTextSlantUp; break;
    8127                 :          0 :         case mso_sptTextSlantDown :             pCustomShape = &msoTextSlantDown; break;
    8128                 :          0 :         case mso_sptTextCascadeUp :             pCustomShape = &msoTextCascadeUp; break;
    8129                 :          0 :         case mso_sptTextCascadeDown :           pCustomShape = &msoTextCascadeDown; break;
    8130                 :          0 :         case mso_sptTextArchUpCurve :           pCustomShape = &msoTextArchUpCurve; break;
    8131                 :          0 :         case mso_sptTextArchDownCurve :         pCustomShape = &msoTextArchDownCurve; break;
    8132                 :          0 :         case mso_sptTextCircleCurve :           pCustomShape = &msoTextCircleCurve; break;
    8133                 :          0 :         case mso_sptTextButtonCurve :           pCustomShape = &msoTextButtonCurve; break;
    8134                 :          0 :         case mso_sptTextArchUpPour :            pCustomShape = &msoTextArchUpPour; break;
    8135                 :          0 :         case mso_sptTextArchDownPour :          pCustomShape = &msoTextArchDownPour; break;
    8136                 :          0 :         case mso_sptTextCirclePour :            pCustomShape = &msoTextCirclePour; break;
    8137                 :          0 :         case mso_sptTextButtonPour :            pCustomShape = &msoTextButtonPour; break;
    8138                 :          0 :         case mso_sptTextCurveUp :               pCustomShape = &msoTextCurveUp; break;
    8139                 :          0 :         case mso_sptTextCurveDown :             pCustomShape = &msoTextCurveDown; break;
    8140                 :          0 :         case mso_sptTextCanUp :                 pCustomShape = &msoTextCanUp; break;
    8141                 :          0 :         case mso_sptTextCanDown :               pCustomShape = &msoTextCanDown; break;
    8142                 :          0 :         case mso_sptTextInflate :               pCustomShape = &msoTextInflate; break;
    8143                 :          0 :         case mso_sptTextDeflate :               pCustomShape = &msoTextDeflate; break;
    8144                 :          0 :         case mso_sptTextInflateBottom :         pCustomShape = &msoTextInflateBottom; break;
    8145                 :          0 :         case mso_sptTextDeflateBottom :         pCustomShape = &msoTextDeflateBottom; break;
    8146                 :          0 :         case mso_sptTextInflateTop :            pCustomShape = &msoTextInflateTop; break;
    8147                 :          0 :         case mso_sptTextDeflateTop :            pCustomShape = &msoTextDeflateTop; break;
    8148                 :          0 :         case mso_sptTextDeflateInflate :        pCustomShape = &msoTextDeflateInflate; break;
    8149                 :          0 :         case mso_sptTextDeflateInflateDeflate : pCustomShape = &msoTextDeflateInflateDeflate; break;
    8150                 :          0 :         case mso_sptTextWave1 :                 pCustomShape = &msoTextWave1; break;
    8151                 :          0 :         case mso_sptTextWave2 :                 pCustomShape = &msoTextWave2; break;
    8152                 :          0 :         case mso_sptTextWave3 :                 pCustomShape = &msoTextWave3; break;
    8153                 :          0 :         case mso_sptTextWave4 :                 pCustomShape = &msoTextWave4; break;
    8154                 :            :         default :
    8155                 :        473 :         break;
    8156                 :            :     }
    8157                 :       2528 :     return pCustomShape;
    8158                 :            : }
    8159                 :            : 
    8160                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10