1f6e50924SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3f6e50924SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4f6e50924SAndrew Rist * or more contributor license agreements. See the NOTICE file 5f6e50924SAndrew Rist * distributed with this work for additional information 6f6e50924SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7f6e50924SAndrew Rist * to you under the Apache License, Version 2.0 (the 8f6e50924SAndrew Rist * "License"); you may not use this file except in compliance 9f6e50924SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11f6e50924SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13f6e50924SAndrew Rist * Unless required by applicable law or agreed to in writing, 14f6e50924SAndrew Rist * software distributed under the License is distributed on an 15f6e50924SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16f6e50924SAndrew Rist * KIND, either express or implied. See the License for the 17f6e50924SAndrew Rist * specific language governing permissions and limitations 18f6e50924SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20f6e50924SAndrew Rist *************************************************************/ 21f6e50924SAndrew Rist 22f6e50924SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 25cdf0e10cSrcweir #include "precompiled_svx.hxx" 26cdf0e10cSrcweir #include "svx/EnhancedCustomShapeGeometry.hxx" 27cdf0e10cSrcweir #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp> 28cdf0e10cSrcweir /* 29cdf0e10cSrcweir static const SvxMSDffVertPair Vert[] = 30cdf0e10cSrcweir { 31cdf0e10cSrcweir { 0, 0, } 32cdf0e10cSrcweir }; 33cdf0e10cSrcweir static const sal_uInt16 Segm[] = 34cdf0e10cSrcweir { 35cdf0e10cSrcweir 0x4000, 36cdf0e10cSrcweir 0x8000 37cdf0e10cSrcweir }; 38cdf0e10cSrcweir static const SvxMSDffCalculationData Calc[] = 39cdf0e10cSrcweir { 40cdf0e10cSrcweir { 0x0000, 0, 0, 0 } 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir static const sal_Int32 Default[] = 43cdf0e10cSrcweir { 44cdf0e10cSrcweir 0 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir static const SvxMSDffTextRect TextRect[] = 47cdf0e10cSrcweir { 48cdf0e10cSrcweir { { 0, 0 }, { 0, 0 } } 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir static const mso_CustomShape mso = 51cdf0e10cSrcweir { 52cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ), 53cdf0e10cSrcweir (sal_uInt16*)mso_sptSegm, sizeof( mso_sptSegm ) >> 1, 54cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalc, sizeof( mso_sptCalc ) / sizeof( SvxMSDffCalculationData ), 55cdf0e10cSrcweir (sal_Int32*)mso_sptDefault, 56cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( SvxMSDffTextRectangles ), 57cdf0e10cSrcweir 21600, 21600, 58cdf0e10cSrcweir 0x80000000, 0x80000000, 59cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ), 60cdf0e10cSrcweir (SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles ) 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir */ 63cdf0e10cSrcweir 64cdf0e10cSrcweir static const sal_Int32 mso_sptDefault0[] = 65cdf0e10cSrcweir { 66cdf0e10cSrcweir 1, 0 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1400[] = 69cdf0e10cSrcweir { 70cdf0e10cSrcweir 1, 1400 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1800[] = 73cdf0e10cSrcweir { 74cdf0e10cSrcweir 1, 1800 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2500[] = 77cdf0e10cSrcweir { 78cdf0e10cSrcweir 1, 2500 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2700[] = 81cdf0e10cSrcweir { 82cdf0e10cSrcweir 1, 2700 83cdf0e10cSrcweir }; 84cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3600[] = 85cdf0e10cSrcweir { 86cdf0e10cSrcweir 1, 3600 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3700[] = 89cdf0e10cSrcweir { 90cdf0e10cSrcweir 1, 3700 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir static const sal_Int32 mso_sptDefault5400[] = 93cdf0e10cSrcweir { 94cdf0e10cSrcweir 1, 5400 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir static const sal_Int32 mso_sptDefault7200[] = 97cdf0e10cSrcweir { 98cdf0e10cSrcweir 1, 7200 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir static const sal_Int32 mso_sptDefault8100[] = 101cdf0e10cSrcweir { 102cdf0e10cSrcweir 1, 8100 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir static const sal_Int32 mso_sptDefault9600[] = 105cdf0e10cSrcweir { 106cdf0e10cSrcweir 1, 9600 107cdf0e10cSrcweir }; 108cdf0e10cSrcweir static const sal_Int32 mso_sptDefault10800[] = 109cdf0e10cSrcweir { 110cdf0e10cSrcweir 1, 10800 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir static const sal_Int32 mso_sptDefault12000[] = 113cdf0e10cSrcweir { 114cdf0e10cSrcweir 1, 12000 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir static const sal_Int32 mso_sptDefault13500[] = 117cdf0e10cSrcweir { 118cdf0e10cSrcweir 1, 13500 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200[] = 121cdf0e10cSrcweir { 122cdf0e10cSrcweir 1, 16200 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200and5400[] = 125cdf0e10cSrcweir { 126cdf0e10cSrcweir 2, 16200, 5400 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir 129cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArcVert[] = 130cdf0e10cSrcweir { 131cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }, { 10800, 10800 }, 132cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I } 133cdf0e10cSrcweir }; 134cdf0e10cSrcweir static const sal_uInt16 mso_sptArcSegm[] = 135cdf0e10cSrcweir { 136cdf0e10cSrcweir 0xa504, 0xab00, 0x0001, 0x6001, 0x8000, 137cdf0e10cSrcweir 0xa504, 0xaa00, 0x8000 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArcCalc[] = 140cdf0e10cSrcweir { 141cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 142cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 143cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 144cdf0e10cSrcweir { 0x2000, { 0x402, 10800, 0 } }, 145cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjust2Value, 0 } }, 146cdf0e10cSrcweir { 0x2000, { 0x404, 10800, 0 } }, 147cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjust2Value, 0 } }, 148cdf0e10cSrcweir { 0x2000, { 0x406, 10800, 0 } } 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir static const sal_Int32 mso_sptArcDefault[] = 151cdf0e10cSrcweir { 152cdf0e10cSrcweir 2, 270, 0 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStandardGluePoints[] = 155cdf0e10cSrcweir { 156cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 } 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArcHandle[] = 159cdf0e10cSrcweir { 160cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 161cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff }, 162cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 163cdf0e10cSrcweir 10800, 0x101, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff } 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir static const mso_CustomShape msoArc = 166cdf0e10cSrcweir { 167cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptArcVert, sizeof( mso_sptArcVert ) / sizeof( SvxMSDffVertPair ), 168cdf0e10cSrcweir (sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1, 169cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptArcCalc, sizeof( mso_sptArcCalc ) / sizeof( SvxMSDffCalculationData ), 170cdf0e10cSrcweir (sal_Int32*)mso_sptArcDefault, 171cdf0e10cSrcweir NULL, 0, 172cdf0e10cSrcweir 21600, 21600, 173cdf0e10cSrcweir 0x80000000, 0x80000000, 174cdf0e10cSrcweir NULL, 0, 175cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptArcHandle, sizeof( mso_sptArcHandle ) / sizeof( SvxMSDffHandle ) // handles 176cdf0e10cSrcweir }; 177cdf0e10cSrcweir 178cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSimpleVert[] = 179cdf0e10cSrcweir { 180cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } 181cdf0e10cSrcweir }; 182cdf0e10cSrcweir static const mso_CustomShape msoTextSimple = 183cdf0e10cSrcweir { 184cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextSimpleVert, sizeof( mso_sptTextSimpleVert ) / sizeof( SvxMSDffVertPair ), 185cdf0e10cSrcweir NULL, 0, 186cdf0e10cSrcweir NULL, 0, 187cdf0e10cSrcweir NULL, 188cdf0e10cSrcweir NULL, 0, 189cdf0e10cSrcweir 21600, 21600, 190cdf0e10cSrcweir 0x80000000, 0x80000000, 191cdf0e10cSrcweir NULL, 0, 192cdf0e10cSrcweir NULL, 0 // handles 193cdf0e10cSrcweir }; 194cdf0e10cSrcweir 195cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRectangleVert[] = 196cdf0e10cSrcweir { 197cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } 198cdf0e10cSrcweir }; 199cdf0e10cSrcweir static const mso_CustomShape msoRectangle = 200cdf0e10cSrcweir { 201cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRectangleVert, sizeof( mso_sptRectangleVert ) / sizeof( SvxMSDffVertPair ), 202cdf0e10cSrcweir NULL, 0, 203cdf0e10cSrcweir NULL, 0, 204cdf0e10cSrcweir NULL, 205cdf0e10cSrcweir NULL, 0, 206cdf0e10cSrcweir 21600, 21600, 207cdf0e10cSrcweir 0x80000000, 0x80000000, 208cdf0e10cSrcweir NULL, 0, 209cdf0e10cSrcweir NULL, 0 // handles 210cdf0e10cSrcweir }; 211cdf0e10cSrcweir 212cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRoundRectangleVert[] = // adj value 0 -> 10800 213cdf0e10cSrcweir { 214cdf0e10cSrcweir { 7 MSO_I, 0 }, { 0, 8 MSO_I }, { 0, 9 MSO_I }, { 7 MSO_I, 21600 }, 215cdf0e10cSrcweir { 10 MSO_I, 21600 }, { 21600, 9 MSO_I }, { 21600, 8 MSO_I }, { 10 MSO_I, 0 } 216cdf0e10cSrcweir }; 217cdf0e10cSrcweir static const sal_uInt16 mso_sptRoundRectangleSegm[] = 218cdf0e10cSrcweir { 219cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000 220cdf0e10cSrcweir }; 221cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRoundRectangleCalc[] = 222cdf0e10cSrcweir { 223cdf0e10cSrcweir { 0x000e, { 0, 45, 0 } }, 224cdf0e10cSrcweir { 0x6009, { DFF_Prop_adjustValue, 0x400, 0 } }, 225cdf0e10cSrcweir { 0x2001, { 0x401, 3163, 7636 } }, 226cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, 0x402, 0 } }, 227cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, 0x402, 0 } }, 228cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } }, 229cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x402 } }, 230cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 231cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 232cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 233cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } } 234cdf0e10cSrcweir }; 235cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] = 236cdf0e10cSrcweir { 237cdf0e10cSrcweir { { 3 MSO_I, 4 MSO_I }, { 5 MSO_I, 6 MSO_I } } 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRoundRectangleHandle[] = 240cdf0e10cSrcweir { 241cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 242cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 243cdf0e10cSrcweir }; 244cdf0e10cSrcweir static const mso_CustomShape msoRoundRectangle = 245cdf0e10cSrcweir { 246cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRoundRectangleVert, sizeof( mso_sptRoundRectangleVert ) / sizeof( SvxMSDffVertPair ), 247cdf0e10cSrcweir (sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1, 248cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, sizeof( mso_sptRoundRectangleCalc ) / sizeof( SvxMSDffCalculationData ), 249cdf0e10cSrcweir (sal_Int32*)mso_sptDefault3600, 250cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, sizeof( mso_sptRoundRectangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 251cdf0e10cSrcweir 21600, 21600, 252cdf0e10cSrcweir 10800, 10800, 253cdf0e10cSrcweir NULL, 0, 254cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRoundRectangleHandle, sizeof( mso_sptRoundRectangleHandle ) / sizeof( SvxMSDffHandle ) // handles 255cdf0e10cSrcweir }; 256cdf0e10cSrcweir 257cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleVert[] = 258cdf0e10cSrcweir { 259cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } 260cdf0e10cSrcweir }; 261cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect[] = 262cdf0e10cSrcweir { 263cdf0e10cSrcweir { { 1900, 12700 }, { 12700, 19700 } } 264cdf0e10cSrcweir }; 265cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleGluePoints[] = 266cdf0e10cSrcweir { 267cdf0e10cSrcweir { 10800, 0 }, { 5400, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 16200, 10800 } 268cdf0e10cSrcweir }; 269cdf0e10cSrcweir static const mso_CustomShape msoRightTriangle = 270cdf0e10cSrcweir { 271cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightTriangleVert, sizeof( mso_sptRightTriangleVert ) / sizeof( SvxMSDffVertPair ), 272cdf0e10cSrcweir NULL, 0, 273cdf0e10cSrcweir NULL, 0, 274cdf0e10cSrcweir NULL, 275cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, sizeof( mso_sptRightTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 276cdf0e10cSrcweir 21600, 21600, 277cdf0e10cSrcweir 0x80000000, 0x80000000, 278cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, sizeof( mso_sptRightTriangleGluePoints ) / sizeof( SvxMSDffVertPair ), 279cdf0e10cSrcweir NULL, 0 // handles 280cdf0e10cSrcweir }; 281cdf0e10cSrcweir 282cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseVert[] = 283cdf0e10cSrcweir { 284cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 } 285cdf0e10cSrcweir }; 286cdf0e10cSrcweir static const sal_uInt16 mso_sptEllipseSegm[] = 287cdf0e10cSrcweir { 288cdf0e10cSrcweir 0xa203, 0x6000, 0x8000 289cdf0e10cSrcweir }; 290cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptEllipseTextRect[] = 291cdf0e10cSrcweir { 292cdf0e10cSrcweir { { 3163, 3163 }, { 18437, 18437 } } 293cdf0e10cSrcweir }; 294cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseGluePoints[] = 295cdf0e10cSrcweir { 296cdf0e10cSrcweir { 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 } 297cdf0e10cSrcweir }; 298cdf0e10cSrcweir static const mso_CustomShape msoEllipse = 299cdf0e10cSrcweir { 300cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseVert, sizeof( mso_sptEllipseVert ) / sizeof( SvxMSDffVertPair ), 301cdf0e10cSrcweir (sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1, 302cdf0e10cSrcweir NULL, 0, 303cdf0e10cSrcweir NULL, 304cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 305cdf0e10cSrcweir 21600, 21600, 306cdf0e10cSrcweir 0x80000000, 0x80000000, 307cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 308cdf0e10cSrcweir NULL, 0 // handles 309cdf0e10cSrcweir }; 310cdf0e10cSrcweir 311cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramVert[] = // adjustment1 : 0 - 21600 312cdf0e10cSrcweir { 313cdf0e10cSrcweir { 0 MSO_I, 0 }, { 21600, 0 }, { 1 MSO_I, 21600 }, { 0, 21600 } 314cdf0e10cSrcweir }; 315cdf0e10cSrcweir static const sal_uInt16 mso_sptParallelogramSegm[] = 316cdf0e10cSrcweir { 317cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 318cdf0e10cSrcweir }; 319cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptParallelogramCalc[] = 320cdf0e10cSrcweir { 321cdf0e10cSrcweir { 0x4000, { 0, DFF_Prop_adjustValue, 0 } }, 322cdf0e10cSrcweir { 0x8000, { 0, 21600, DFF_Prop_adjustValue } }, 323cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 10, 24 } }, 324cdf0e10cSrcweir { 0x2000, { 0x0402, 1750, 0 } }, 325cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } }, 326cdf0e10cSrcweir { 0x2001, { 0x400, 1, 2 } }, 327cdf0e10cSrcweir { 0x4000, { 10800, 0x405, 0 } }, 328cdf0e10cSrcweir { 0x2000, { 0x400, 0, 10800 } }, 329cdf0e10cSrcweir { 0x6006, { 0x407, 0x40d, 0 } }, 330cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x405 } }, 331cdf0e10cSrcweir { 0x6006, { 0x407, 0x40c, 21600 } }, 332cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } }, 333cdf0e10cSrcweir { 0x8001, { 21600, 10800, 0x400 } }, 334cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40c } } 335cdf0e10cSrcweir }; 336cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptParallelogramTextRect[] = 337cdf0e10cSrcweir { 338cdf0e10cSrcweir { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } 339cdf0e10cSrcweir }; 340cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] = 341cdf0e10cSrcweir { 342cdf0e10cSrcweir { 6 MSO_I, 0 }, { 10800, 8 MSO_I }, { 11 MSO_I, 10800 }, { 9 MSO_I, 21600 }, { 10800, 10 MSO_I }, { 5 MSO_I, 10800 } 343cdf0e10cSrcweir }; 344cdf0e10cSrcweir static const SvxMSDffHandle mso_sptParallelogramHandle[] = 345cdf0e10cSrcweir { 346cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 347cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } 348cdf0e10cSrcweir }; 349cdf0e10cSrcweir static const mso_CustomShape msoParallelogram = 350cdf0e10cSrcweir { 351cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptParallelogramVert, sizeof( mso_sptParallelogramVert ) / sizeof( SvxMSDffVertPair ), 352cdf0e10cSrcweir (sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1, 353cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptParallelogramCalc, sizeof( mso_sptParallelogramCalc ) / sizeof( SvxMSDffCalculationData ), 354cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 355cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, sizeof( mso_sptParallelogramTextRect ) / sizeof( SvxMSDffTextRectangles ), 356cdf0e10cSrcweir 21600, 21600, 357cdf0e10cSrcweir 0x80000000, 0x80000000, 358cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptParallelogramGluePoints, sizeof( mso_sptParallelogramGluePoints ) / sizeof( SvxMSDffVertPair ), 359cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptParallelogramHandle, sizeof( mso_sptParallelogramHandle ) / sizeof( SvxMSDffHandle ) // handles 360cdf0e10cSrcweir }; 361cdf0e10cSrcweir 362cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDiamondVert[] = 363cdf0e10cSrcweir { 364cdf0e10cSrcweir { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }, { 10800, 0 } 365cdf0e10cSrcweir }; 366cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDiamondTextRect[] = 367cdf0e10cSrcweir { 368cdf0e10cSrcweir { { 5400, 5400 }, { 16200, 16200 } } 369cdf0e10cSrcweir }; 370cdf0e10cSrcweir static const mso_CustomShape msoDiamond = 371cdf0e10cSrcweir { 372cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDiamondVert, sizeof( mso_sptDiamondVert ) / sizeof( SvxMSDffVertPair ), 373cdf0e10cSrcweir NULL, 0, 374cdf0e10cSrcweir NULL, 0, 375cdf0e10cSrcweir NULL, 376cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDiamondTextRect, sizeof( mso_sptDiamondTextRect ) / sizeof( SvxMSDffTextRectangles ), 377cdf0e10cSrcweir 21600, 21600, 378cdf0e10cSrcweir 0x80000000, 0x80000000, 379cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 380cdf0e10cSrcweir NULL, 0 // handles 381cdf0e10cSrcweir }; 382cdf0e10cSrcweir 383cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidVert[] = // adjustment1 : 0 - 10800 384cdf0e10cSrcweir { 385cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, {0 MSO_I, 21600 }, { 1 MSO_I, 21600 } 386cdf0e10cSrcweir }; 387cdf0e10cSrcweir static const sal_uInt16 mso_sptTrapezoidSegm[] = 388cdf0e10cSrcweir { 389cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 390cdf0e10cSrcweir }; 391cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTrapezoidCalc[] = 392cdf0e10cSrcweir { 393cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 394cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 395cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 10, 18 } }, 396cdf0e10cSrcweir { 0x2000, { 0x0402, 1750, 0 } }, 397cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } }, 398cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 399cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } } 400cdf0e10cSrcweir }; 401cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect[] = 402cdf0e10cSrcweir { 403cdf0e10cSrcweir { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } 404cdf0e10cSrcweir }; 405cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] = 406cdf0e10cSrcweir { 407cdf0e10cSrcweir { 6 MSO_I, 10800 }, { 10800, 21600 }, { 5 MSO_I, 10800 }, { 10800, 0 } 408cdf0e10cSrcweir }; 409cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTrapezoidHandle[] = 410cdf0e10cSrcweir { 411cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 412cdf0e10cSrcweir 0x100, 1, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 413cdf0e10cSrcweir }; 414cdf0e10cSrcweir static const mso_CustomShape msoTrapezoid = 415cdf0e10cSrcweir { 416cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTrapezoidVert, sizeof( mso_sptTrapezoidVert ) / sizeof( SvxMSDffVertPair ), 417cdf0e10cSrcweir (sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1, 418cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTrapezoidCalc, sizeof( mso_sptTrapezoidCalc ) / sizeof( SvxMSDffCalculationData ), 419cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 420cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, sizeof( mso_sptTrapezoidTextRect ) / sizeof( SvxMSDffTextRectangles ), 421cdf0e10cSrcweir 21600, 21600, 422cdf0e10cSrcweir 0x80000000, 0x80000000, 423cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, sizeof( mso_sptTrapezoidGluePoints ) / sizeof( SvxMSDffVertPair ), 424cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTrapezoidHandle, sizeof( mso_sptTrapezoidHandle ) / sizeof( SvxMSDffHandle ) // handles 425cdf0e10cSrcweir }; 426cdf0e10cSrcweir 427cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptOctagonVert[] = // adjustment1 : 0 - 10800 428cdf0e10cSrcweir { 429cdf0e10cSrcweir { 0 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I }, 430cdf0e10cSrcweir { 2 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }, { 0, 1 MSO_I } 431cdf0e10cSrcweir }; 432cdf0e10cSrcweir static const sal_uInt16 mso_sptOctagonSegm[] = 433cdf0e10cSrcweir { 434cdf0e10cSrcweir 0x4000, 0x0007, 0x6001, 0x8000 435cdf0e10cSrcweir }; 436cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptOctagonCalc[] = 437cdf0e10cSrcweir { 438cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 439cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 440cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 441cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 442cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 443cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, 0x404, 0 } }, 444cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, 0x404, 0 } }, 445cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } }, 446cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } } 447cdf0e10cSrcweir }; 448cdf0e10cSrcweir static const sal_Int32 mso_sptOctagonDefault[] = 449cdf0e10cSrcweir { 450cdf0e10cSrcweir 1, 5000 451cdf0e10cSrcweir }; 452cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] = 453cdf0e10cSrcweir { 454cdf0e10cSrcweir { { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 8 MSO_I } } 455cdf0e10cSrcweir }; 456cdf0e10cSrcweir static const SvxMSDffHandle mso_sptOctagonHandle[] = 457cdf0e10cSrcweir { 458cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 459cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 460cdf0e10cSrcweir }; 461cdf0e10cSrcweir static const mso_CustomShape msoOctagon = 462cdf0e10cSrcweir { 463cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptOctagonVert, sizeof( mso_sptOctagonVert ) / sizeof( SvxMSDffVertPair ), 464cdf0e10cSrcweir (sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1, 465cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptOctagonCalc, sizeof( mso_sptOctagonCalc ) / sizeof( SvxMSDffCalculationData ), 466cdf0e10cSrcweir (sal_Int32*)mso_sptOctagonDefault, 467cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptOctagonTextRect, sizeof( mso_sptOctagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 468cdf0e10cSrcweir 21600, 21600, 469cdf0e10cSrcweir 10800, 10800, 470cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 471cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptOctagonHandle, sizeof( mso_sptOctagonHandle ) / sizeof( SvxMSDffHandle ) // handles 472cdf0e10cSrcweir }; 473cdf0e10cSrcweir 474cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleVert[] = // adjustment1 : 0 - 21600 475cdf0e10cSrcweir { 476cdf0e10cSrcweir { 0 MSO_I, 0 }, { 21600, 21600 }, { 0, 21600 } 477cdf0e10cSrcweir }; 478cdf0e10cSrcweir static const sal_uInt16 mso_sptIsocelesTriangleSegm[] = 479cdf0e10cSrcweir { 480cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000 481cdf0e10cSrcweir }; 482cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc[] = 483cdf0e10cSrcweir { 484cdf0e10cSrcweir { 0x4000, { 0, DFF_Prop_adjustValue, 0 } }, 485cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 486cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 487cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 2, 3 } }, 488cdf0e10cSrcweir { 0x2000, { 0x403, 7200, 0 } }, 489cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, 490cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, 491cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } } 492cdf0e10cSrcweir }; 493cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect[] = 494cdf0e10cSrcweir { 495cdf0e10cSrcweir { { 1 MSO_I, 10800 }, { 2 MSO_I, 18000 } }, 496cdf0e10cSrcweir { { 3 MSO_I, 7200 }, { 4 MSO_I, 21600 } } 497cdf0e10cSrcweir }; 498cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] = 499cdf0e10cSrcweir { 500cdf0e10cSrcweir { 10800, 0 }, { 1 MSO_I, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I, 10800 } 501cdf0e10cSrcweir }; 502cdf0e10cSrcweir static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] = 503cdf0e10cSrcweir { 504cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 505cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } 506cdf0e10cSrcweir }; 507cdf0e10cSrcweir static const mso_CustomShape msoIsocelesTriangle = 508cdf0e10cSrcweir { 509cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, sizeof( mso_sptIsocelesTriangleVert ) / sizeof( SvxMSDffVertPair ), 510cdf0e10cSrcweir (sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1, 511cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, sizeof( mso_sptIsocelesTriangleCalc ) / sizeof( SvxMSDffCalculationData ), 512cdf0e10cSrcweir (sal_Int32*)mso_sptDefault10800, 513cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, sizeof( mso_sptIsocelesTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 514cdf0e10cSrcweir 21600, 21600, 515cdf0e10cSrcweir 0x80000000, 0x80000000, 516cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, sizeof( mso_sptIsocelesTriangleGluePoints ) / sizeof( SvxMSDffVertPair ), 517cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, sizeof( mso_sptIsocelesTriangleHandle ) / sizeof( SvxMSDffHandle ) // handles 518cdf0e10cSrcweir }; 519cdf0e10cSrcweir 520cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHexagonVert[] = // adjustment1 : 0 - 10800 521cdf0e10cSrcweir { 522cdf0e10cSrcweir { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 }, 523cdf0e10cSrcweir { 0 MSO_I, 21600 }, { 0, 10800 } 524cdf0e10cSrcweir }; 525cdf0e10cSrcweir static const sal_uInt16 mso_sptHexagonSegm[] = 526cdf0e10cSrcweir { 527cdf0e10cSrcweir 0x4000, 0x0005, 0x6001, 0x8000 528cdf0e10cSrcweir }; 529cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHexagonCalc[] = 530cdf0e10cSrcweir { 531cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 532cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 533cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 100, 234 } }, 534cdf0e10cSrcweir { 0x2000, { 0x402, 1700, 0 } }, 535cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } } 536cdf0e10cSrcweir }; 537cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] = 538cdf0e10cSrcweir { 539cdf0e10cSrcweir { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } 540cdf0e10cSrcweir }; 541cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHexagonHandle[] = 542cdf0e10cSrcweir { 543cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 544cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 545cdf0e10cSrcweir }; 546cdf0e10cSrcweir static const mso_CustomShape msoHexagon = 547cdf0e10cSrcweir { 548cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptHexagonVert, sizeof( mso_sptHexagonVert ) / sizeof( SvxMSDffVertPair ), 549cdf0e10cSrcweir (sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1, 550cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptHexagonCalc, sizeof( mso_sptHexagonCalc ) / sizeof( SvxMSDffCalculationData ), 551cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 552cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptHexagonTextRect, sizeof( mso_sptHexagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 553cdf0e10cSrcweir 21600, 21600, 554cdf0e10cSrcweir 0x80000000, 0x80000000, 555cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 556cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptHexagonHandle, sizeof( mso_sptHexagonHandle ) / sizeof( SvxMSDffHandle ) // handles 557cdf0e10cSrcweir }; 558cdf0e10cSrcweir 559cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonVert[] = 560cdf0e10cSrcweir { 561cdf0e10cSrcweir { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 }, 562cdf0e10cSrcweir { 21600, 8260 }, { 10800, 0 } 563cdf0e10cSrcweir }; 564cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPentagonTextRect[] = 565cdf0e10cSrcweir { 566cdf0e10cSrcweir { { 4230, 5080 }, { 17370, 21600 } } 567cdf0e10cSrcweir }; 568cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonGluePoints[] = 569cdf0e10cSrcweir { 570cdf0e10cSrcweir { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 }, 571cdf0e10cSrcweir { 17370, 21600 }, { 21600, 8260 } 572cdf0e10cSrcweir }; 573cdf0e10cSrcweir static const mso_CustomShape msoPentagon = 574cdf0e10cSrcweir { 575cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptPentagonVert, sizeof( mso_sptPentagonVert ) / sizeof( SvxMSDffVertPair ), 576cdf0e10cSrcweir NULL, 0, 577cdf0e10cSrcweir NULL, 0, 578cdf0e10cSrcweir NULL, 579cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptPentagonTextRect, sizeof( mso_sptPentagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 580cdf0e10cSrcweir 21600, 21600, 581cdf0e10cSrcweir 0x80000000, 0x80000000, 582cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptPentagonGluePoints, sizeof( mso_sptPentagonGluePoints ) / sizeof( SvxMSDffVertPair ), 583cdf0e10cSrcweir NULL, 0 // handles 584cdf0e10cSrcweir }; 585cdf0e10cSrcweir 586cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPlusVert[] = // adjustment1 : 0 - 10800 587cdf0e10cSrcweir { 588cdf0e10cSrcweir { 1 MSO_I, 0 }, { 2 MSO_I, 0 }, { 2 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, 589cdf0e10cSrcweir { 21600, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 21600 }, { 1 MSO_I, 21600 }, 590cdf0e10cSrcweir { 1 MSO_I, 3 MSO_I }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 0 } 591cdf0e10cSrcweir }; 592cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptPlusCalc[] = 593cdf0e10cSrcweir { 594cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 10799, 10800 } }, 595cdf0e10cSrcweir { 0x2000, { 0x400, 0, 0 } }, 596cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, 597cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } 598cdf0e10cSrcweir }; 599cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlusTextRect[] = 600cdf0e10cSrcweir { 601cdf0e10cSrcweir { { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } } 602cdf0e10cSrcweir }; 603cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlusHandle[] = 604cdf0e10cSrcweir { 605cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 606cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 607cdf0e10cSrcweir }; 608cdf0e10cSrcweir static const mso_CustomShape msoPlus = 609cdf0e10cSrcweir { 610cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptPlusVert, sizeof( mso_sptPlusVert ) / sizeof( SvxMSDffVertPair ), 611cdf0e10cSrcweir NULL, 0, 612cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptPlusCalc, sizeof( mso_sptPlusCalc ) / sizeof( SvxMSDffCalculationData ), 613cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 614cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptPlusTextRect, sizeof( mso_sptPlusTextRect ) / sizeof( SvxMSDffTextRectangles ), 615cdf0e10cSrcweir 21600, 21600, 616cdf0e10cSrcweir 10800, 10800, 617cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 618cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptPlusHandle, sizeof( mso_sptPlusHandle ) / sizeof( SvxMSDffHandle ) // handles 619cdf0e10cSrcweir }; 620cdf0e10cSrcweir 621cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanVert[] = // adjustment1 : 0 - 10800 622cdf0e10cSrcweir { 623cdf0e10cSrcweir { 44, 0 }, 624cdf0e10cSrcweir { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I }, // ccp 625cdf0e10cSrcweir { 0, 3 MSO_I }, // p 626cdf0e10cSrcweir { 0, 4 MSO_I }, { 20, 21600 }, { 44, 21600 }, // ccp 627cdf0e10cSrcweir { 68, 21600 }, { 88, 4 MSO_I }, { 88, 3 MSO_I }, // ccp 628cdf0e10cSrcweir { 88, 0 MSO_I }, // p 629cdf0e10cSrcweir { 88, 2 MSO_I }, { 68, 0 }, { 44, 0 }, // ccp 630cdf0e10cSrcweir { 44, 0 }, // p 631cdf0e10cSrcweir { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I }, // ccp 632cdf0e10cSrcweir { 0, 5 MSO_I }, { 20, 6 MSO_I }, { 44, 6 MSO_I }, // ccp 633cdf0e10cSrcweir { 68, 6 MSO_I },{ 88, 5 MSO_I }, { 88, 0 MSO_I }, // ccp 634cdf0e10cSrcweir { 88, 2 MSO_I },{ 68, 0 }, { 44, 0 } // ccp 635cdf0e10cSrcweir }; 636cdf0e10cSrcweir static const sal_uInt16 mso_sptCanSegm[] = 637cdf0e10cSrcweir { 638cdf0e10cSrcweir 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000, 639cdf0e10cSrcweir 0x4000, 0x2004, 0x6001, 0x8000 640cdf0e10cSrcweir }; 641cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCanCalc[] = 642cdf0e10cSrcweir { 643cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 2, 4 } }, // 1/4 644cdf0e10cSrcweir { 0x2001, { 0x0400, 6, 11 } }, 645cdf0e10cSrcweir { 0xa000, { 0x0400, 0, 0x0401 } }, 646cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0400 } }, 647cdf0e10cSrcweir { 0x6000, { 0x0403, 0x0401, 0 } }, 648cdf0e10cSrcweir { 0x6000, { 0x0400, 0x0401, 0 } }, 649cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 2, 2 } }, 650cdf0e10cSrcweir { 0x0000, { 44, 0, 0 } } 651cdf0e10cSrcweir }; 652cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCanTextRect[] = 653cdf0e10cSrcweir { 654cdf0e10cSrcweir { { 0, 6 MSO_I }, { 88, 3 MSO_I } } 655cdf0e10cSrcweir }; 656cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanGluePoints[] = 657cdf0e10cSrcweir { 658cdf0e10cSrcweir { 44, 6 MSO_I }, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 } 659cdf0e10cSrcweir }; 660cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCanHandle[] = 661cdf0e10cSrcweir { 662cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 663cdf0e10cSrcweir 7 + 3, 0x100, 44, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 664cdf0e10cSrcweir }; 665cdf0e10cSrcweir static const mso_CustomShape msoCan = 666cdf0e10cSrcweir { 667cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCanVert, sizeof( mso_sptCanVert ) / sizeof( SvxMSDffVertPair ), 668cdf0e10cSrcweir (sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1, 669cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCanCalc, sizeof( mso_sptCanCalc ) / sizeof( SvxMSDffCalculationData ), 670cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 671cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCanTextRect, sizeof( mso_sptCanTextRect ) / sizeof( SvxMSDffTextRectangles ), 672cdf0e10cSrcweir 88, 21600, 673cdf0e10cSrcweir 0x80000000, 0x80000000, 674cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCanGluePoints, sizeof( mso_sptCanGluePoints ) / sizeof( SvxMSDffVertPair ), 675cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCanHandle, sizeof( mso_sptCanHandle ) / sizeof( SvxMSDffHandle ) // handles 676cdf0e10cSrcweir }; 677cdf0e10cSrcweir 678cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArrowVert[] = // adjustment1: x 0 - 21600 679cdf0e10cSrcweir { // adjustment2: y 0 - 10800 680cdf0e10cSrcweir { 0, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 }, 681cdf0e10cSrcweir { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 0, 2 MSO_I } 682cdf0e10cSrcweir }; 683cdf0e10cSrcweir static const sal_uInt16 mso_sptArrowSegm[] = 684cdf0e10cSrcweir { 685cdf0e10cSrcweir 0x4000, 0x0006, 0x6001, 0x8000 686cdf0e10cSrcweir }; 687cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArrowCalc[] = 688cdf0e10cSrcweir { 689cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 690cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 691cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, 692cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } }, 693cdf0e10cSrcweir { 0x6001, { 0x403, 0x400, 10800 } }, 694cdf0e10cSrcweir { 0x6000, { 0x401, 0x404, 0 } }, 695cdf0e10cSrcweir { 0x6001, { 0x401, 0x400, 10800 } }, 696cdf0e10cSrcweir { 0xa000, { 0x401, 0, 0x406 } } 697cdf0e10cSrcweir }; 698cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptArrowTextRect[] = 699cdf0e10cSrcweir { 700cdf0e10cSrcweir { { 0, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } } 701cdf0e10cSrcweir }; 702cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArrowHandle[] = 703cdf0e10cSrcweir { 704cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 705cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } 706cdf0e10cSrcweir }; 707cdf0e10cSrcweir static const mso_CustomShape msoArrow = 708cdf0e10cSrcweir { 709cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptArrowVert, sizeof( mso_sptArrowVert ) / sizeof( SvxMSDffVertPair ), 710cdf0e10cSrcweir (sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1, 711cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), 712cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200and5400, 713cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptArrowTextRect, sizeof( mso_sptArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 714cdf0e10cSrcweir 21600, 21600, 715cdf0e10cSrcweir 0x80000000, 0x80000000, 716cdf0e10cSrcweir NULL, 0, 717cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptArrowHandle, sizeof( mso_sptArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 718cdf0e10cSrcweir }; 719cdf0e10cSrcweir 720cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowVert[] = // adjustment1: x 0 - 21600 721cdf0e10cSrcweir { // adjustment2: y 0 - 10800 722cdf0e10cSrcweir { 21600, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 0, 10800 }, 723cdf0e10cSrcweir { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I } 724cdf0e10cSrcweir }; 725cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowSegm[] = 726cdf0e10cSrcweir { 727cdf0e10cSrcweir 0x4000, 0x0006, 0x6001, 0x8000 728cdf0e10cSrcweir }; 729cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowDefault[] = 730cdf0e10cSrcweir { 731cdf0e10cSrcweir 2, 5400, 5400 732cdf0e10cSrcweir }; 733cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect[] = 734cdf0e10cSrcweir { 735cdf0e10cSrcweir { { 7 MSO_I, 0 MSO_I }, { 21600, 2 MSO_I } } 736cdf0e10cSrcweir }; 737cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowHandle[] = 738cdf0e10cSrcweir { 739cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 740cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } 741cdf0e10cSrcweir }; 742cdf0e10cSrcweir static const mso_CustomShape msoLeftArrow = 743cdf0e10cSrcweir { 744cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftArrowVert, sizeof( mso_sptLeftArrowVert ) / sizeof( SvxMSDffVertPair ), 745cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1, 746cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), 747cdf0e10cSrcweir (sal_Int32*)mso_sptLeftArrowDefault, 748cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, sizeof( mso_sptLeftArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 749cdf0e10cSrcweir 21600, 21600, 750cdf0e10cSrcweir 0x80000000, 0x80000000, 751cdf0e10cSrcweir NULL, 0, 752cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftArrowHandle, sizeof( mso_sptLeftArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 753cdf0e10cSrcweir }; 754cdf0e10cSrcweir 755cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowVert[] = // adjustment1: x 0 - 21600 756cdf0e10cSrcweir { // adjustment2: y 0 - 10800 757cdf0e10cSrcweir { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 21600 }, 758cdf0e10cSrcweir { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 } 759cdf0e10cSrcweir }; 760cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowSegm[] = 761cdf0e10cSrcweir { 762cdf0e10cSrcweir 0x4000, 0x0006, 0x6001, 0x8000 763cdf0e10cSrcweir }; 764cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowTextRect[] = 765cdf0e10cSrcweir { 766cdf0e10cSrcweir { { 0 MSO_I, 0 }, { 2 MSO_I, 5 MSO_I } } 767cdf0e10cSrcweir }; 768cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowHandle[] = 769cdf0e10cSrcweir { 770cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 771cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 } 772cdf0e10cSrcweir }; 773cdf0e10cSrcweir static const mso_CustomShape msoDownArrow = 774cdf0e10cSrcweir { 775cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDownArrowVert, sizeof( mso_sptDownArrowVert ) / sizeof( SvxMSDffVertPair ), 776cdf0e10cSrcweir (sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1, 777cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), 778cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200and5400, 779cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, sizeof( mso_sptDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 780cdf0e10cSrcweir 21600, 21600, 781cdf0e10cSrcweir 0x80000000, 0x80000000, 782cdf0e10cSrcweir NULL, 0, 783cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDownArrowHandle, sizeof( mso_sptDownArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 784cdf0e10cSrcweir }; 785cdf0e10cSrcweir 786cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowVert[] = // adjustment1: x 0 - 21600 787cdf0e10cSrcweir { // adjustment2: y 0 - 10800 788cdf0e10cSrcweir { 0 MSO_I, 21600 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 0 }, 789cdf0e10cSrcweir { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 } 790cdf0e10cSrcweir }; 791cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowSegm[] = 792cdf0e10cSrcweir { 793cdf0e10cSrcweir 0x4000, 0x0006, 0x6001, 0x8000 794cdf0e10cSrcweir }; 795cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowDefault[] = 796cdf0e10cSrcweir { 797cdf0e10cSrcweir 2, 5400, 5400 798cdf0e10cSrcweir }; 799cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowTextRect[] = 800cdf0e10cSrcweir { 801cdf0e10cSrcweir { { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 21600 } } 802cdf0e10cSrcweir }; 803cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowHandle[] = 804cdf0e10cSrcweir { 805cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 806cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 } 807cdf0e10cSrcweir }; 808cdf0e10cSrcweir static const mso_CustomShape msoUpArrow = 809cdf0e10cSrcweir { 810cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptUpArrowVert, sizeof( mso_sptUpArrowVert ) / sizeof( SvxMSDffVertPair ), 811cdf0e10cSrcweir (sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1, 812cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), 813cdf0e10cSrcweir (sal_Int32*)mso_sptUpArrowDefault, 814cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, sizeof( mso_sptUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 815cdf0e10cSrcweir 21600, 21600, 816cdf0e10cSrcweir 0x80000000, 0x80000000, 817cdf0e10cSrcweir NULL, 0, 818cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptUpArrowHandle, sizeof( mso_sptUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 819cdf0e10cSrcweir }; 820cdf0e10cSrcweir 821cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowVert[] = // adjustment1: x 0 - 10800 822cdf0e10cSrcweir { // adjustment2: y 0 - 10800 823cdf0e10cSrcweir { 0, 10800 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, 824cdf0e10cSrcweir { 2 MSO_I, 0 }, { 21600, 10800 }, { 2 MSO_I, 21600 }, { 2 MSO_I, 3 MSO_I }, 825cdf0e10cSrcweir { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 21600 } 826cdf0e10cSrcweir }; 827cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowSegm[] = 828cdf0e10cSrcweir { 829cdf0e10cSrcweir 0x4000, 0x0009, 0x6001, 0x8000 830cdf0e10cSrcweir }; 831cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleArrowCalc[] = 832cdf0e10cSrcweir { 833cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 834cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 835cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 836cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, 837cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, 838cdf0e10cSrcweir { 0x6001, { DFF_Prop_adjustValue, 0x404, 10800 } }, 839cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } }, 840cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 841cdf0e10cSrcweir { 0x6001, { DFF_Prop_adjust2Value, 0x407, 10800 } }, 842cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x408 } } 843cdf0e10cSrcweir }; 844cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowDefault[] = 845cdf0e10cSrcweir { 846cdf0e10cSrcweir 2, 4300, 5400 847cdf0e10cSrcweir }; 848cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect[] = 849cdf0e10cSrcweir { 850cdf0e10cSrcweir { { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 3 MSO_I } } 851cdf0e10cSrcweir }; 852cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowHandle[] = 853cdf0e10cSrcweir { 854cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 855cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 } 856cdf0e10cSrcweir }; 857cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrow = 858cdf0e10cSrcweir { 859cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftRightArrowVert, sizeof( mso_sptLeftRightArrowVert ) / sizeof( SvxMSDffVertPair ), 860cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1, 861cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ), 862cdf0e10cSrcweir (sal_Int32*)mso_sptLeftRightArrowDefault, 863cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, sizeof( mso_sptLeftRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 864cdf0e10cSrcweir 21600, 21600, 865cdf0e10cSrcweir 0x80000000, 0x80000000, 866cdf0e10cSrcweir NULL, 0, 867cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftRightArrowHandle, sizeof( mso_sptLeftRightArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 868cdf0e10cSrcweir }; 869cdf0e10cSrcweir 870cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowVert[] = // adjustment1: x 0 - 10800 871cdf0e10cSrcweir { // adjustment2: y 0 - 10800 872cdf0e10cSrcweir { 0, 1 MSO_I }, { 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, 873cdf0e10cSrcweir { 2 MSO_I, 3 MSO_I }, { 21600, 3 MSO_I }, { 10800, 21600 }, { 0, 3 MSO_I }, 874cdf0e10cSrcweir { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I } 875cdf0e10cSrcweir }; 876cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowSegm[] = 877cdf0e10cSrcweir { 878cdf0e10cSrcweir 0x4000, 0x0009, 0x6001, 0x8000 879cdf0e10cSrcweir }; 880cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowDefault[] = 881cdf0e10cSrcweir { 882cdf0e10cSrcweir 2, 5400, 4300 883cdf0e10cSrcweir }; 884cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect[] = 885cdf0e10cSrcweir { 886cdf0e10cSrcweir { { 0 MSO_I, 8 MSO_I }, { 2 MSO_I, 9 MSO_I } } 887cdf0e10cSrcweir }; 888cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowHandle[] = 889cdf0e10cSrcweir { 890cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 891cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 } 892cdf0e10cSrcweir }; 893cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrow = 894cdf0e10cSrcweir { 895cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptUpDownArrowVert, sizeof( mso_sptUpDownArrowVert ) / sizeof( SvxMSDffVertPair ), 896cdf0e10cSrcweir (sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1, 897cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ), 898cdf0e10cSrcweir (sal_Int32*)mso_sptUpDownArrowDefault, 899cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, sizeof( mso_sptUpDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 900cdf0e10cSrcweir 21600, 21600, 901cdf0e10cSrcweir 0x80000000, 0x80000000, 902cdf0e10cSrcweir NULL, 0, 903cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptUpDownArrowHandle, sizeof( mso_sptUpDownArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 904cdf0e10cSrcweir }; 905cdf0e10cSrcweir 906cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowVert[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800 907cdf0e10cSrcweir { // adjustment3: y 0 - 10800 908cdf0e10cSrcweir { 0, 10800 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 2 MSO_I, 2 MSO_I }, 909cdf0e10cSrcweir { 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 10800, 0 }, { 3 MSO_I, 0 MSO_I }, 910cdf0e10cSrcweir { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 1 MSO_I }, 911cdf0e10cSrcweir { 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 4 MSO_I, 4 MSO_I }, 912cdf0e10cSrcweir { 4 MSO_I, 5 MSO_I }, { 3 MSO_I, 5 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 5 MSO_I }, 913cdf0e10cSrcweir { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 3 MSO_I } 914cdf0e10cSrcweir }; 915cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowSegm[] = 916cdf0e10cSrcweir { 917cdf0e10cSrcweir 0x4000, 0x0017, 0x6001, 0x8000 918cdf0e10cSrcweir }; 919cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalc[] = 920cdf0e10cSrcweir { 921cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 922cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 923cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 924cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 925cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, 926cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } } 927cdf0e10cSrcweir }; 928cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowDefault[] = 929cdf0e10cSrcweir { 930cdf0e10cSrcweir 3, 6500, 8600, 4300 931cdf0e10cSrcweir }; 932cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect[] = // todo 933cdf0e10cSrcweir { 934cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 935cdf0e10cSrcweir }; 936cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowHandle[] = 937cdf0e10cSrcweir { 938cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 939cdf0e10cSrcweir 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 }, 940cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 941cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff } 942cdf0e10cSrcweir }; 943cdf0e10cSrcweir static const mso_CustomShape msoQuadArrow = 944cdf0e10cSrcweir { 945cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptQuadArrowVert, sizeof( mso_sptQuadArrowVert ) / sizeof( SvxMSDffVertPair ), 946cdf0e10cSrcweir (sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1, 947cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptQuadArrowCalc, sizeof( mso_sptQuadArrowCalc ) / sizeof( SvxMSDffCalculationData ), 948cdf0e10cSrcweir (sal_Int32*)mso_sptQuadArrowDefault, 949cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, sizeof( mso_sptQuadArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 950cdf0e10cSrcweir 21600, 21600, 951cdf0e10cSrcweir 0x80000000, 0x80000000, 952cdf0e10cSrcweir NULL, 0, 953cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptQuadArrowHandle, sizeof( mso_sptQuadArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 954cdf0e10cSrcweir }; 955cdf0e10cSrcweir 956cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800 957cdf0e10cSrcweir { // adjustment3: y 0 - 21600 958cdf0e10cSrcweir { 10800, 0 }, { 3 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 4 MSO_I, 1 MSO_I }, 959cdf0e10cSrcweir { 5 MSO_I, 1 MSO_I }, { 5 MSO_I, 0 MSO_I }, { 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, 960cdf0e10cSrcweir { 5 MSO_I, 4 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0, 10800 }, 961cdf0e10cSrcweir { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 2 MSO_I }, 962cdf0e10cSrcweir { 0 MSO_I, 2 MSO_I } 963cdf0e10cSrcweir }; 964cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightUpArrowSegm[] = 965cdf0e10cSrcweir { 966cdf0e10cSrcweir 0x4000, 0x0010, 0x6001, 0x8000 967cdf0e10cSrcweir }; 968cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc[] = 969cdf0e10cSrcweir { 970cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 971cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 972cdf0e10cSrcweir { 0x6001, { 0x0403, DFF_Prop_adjust3Value, 21600 } }, // 2 973cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 974cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 4 975cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0402 } } // 5 976cdf0e10cSrcweir }; 977cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightUpArrowDefault[] = 978cdf0e10cSrcweir { 979cdf0e10cSrcweir 3, 6500, 8600, 6200 980cdf0e10cSrcweir }; 981cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect[] = // todo 982cdf0e10cSrcweir { 983cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 984cdf0e10cSrcweir }; 985cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] = 986cdf0e10cSrcweir { 987cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 988cdf0e10cSrcweir 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 }, 989cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 990cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff } 991cdf0e10cSrcweir }; 992cdf0e10cSrcweir static const mso_CustomShape msoLeftRightUpArrow = 993cdf0e10cSrcweir { 994cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, sizeof( mso_sptLeftRightUpArrowVert ) / sizeof( SvxMSDffVertPair ), 995cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1, 996cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, sizeof( mso_sptLeftRightUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), 997cdf0e10cSrcweir (sal_Int32*)mso_sptLeftRightUpArrowDefault, 998cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, sizeof( mso_sptLeftRightUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 999cdf0e10cSrcweir 21600, 21600, 1000cdf0e10cSrcweir 0x80000000, 0x80000000, 1001cdf0e10cSrcweir NULL, 0, 1002cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, sizeof( mso_sptLeftRightUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 1003cdf0e10cSrcweir }; 1004cdf0e10cSrcweir 1005cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentArrowVert[] = // adjustment1 : x 12427 - 21600 1006cdf0e10cSrcweir { // adjustment2 : y 0 - 6079 1007cdf0e10cSrcweir { 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, 1008cdf0e10cSrcweir { 0 MSO_I, 0 }, { 21600, 6079 }, { 0 MSO_I, 12158 }, { 0 MSO_I, 2 MSO_I }, 1009cdf0e10cSrcweir { 12427, 2 MSO_I }, { 4 MSO_I, 12160 }, { 4 MSO_I, 21600 } 1010cdf0e10cSrcweir }; 1011cdf0e10cSrcweir static const sal_uInt16 mso_sptBentArrowSegm[] = 1012cdf0e10cSrcweir { 1013cdf0e10cSrcweir 0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000 1014cdf0e10cSrcweir }; 1015cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentArrowCalc[] = 1016cdf0e10cSrcweir { 1017cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1018cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1019cdf0e10cSrcweir { 0x8000, { 12158, 0, DFF_Prop_adjust2Value } }, 1020cdf0e10cSrcweir { 0x8000, { 6079, 0, DFF_Prop_adjust2Value } }, 1021cdf0e10cSrcweir { 0x2001, { 0x0403, 2, 1 } } 1022cdf0e10cSrcweir }; 1023cdf0e10cSrcweir static const sal_Int32 mso_sptBentArrowDefault[] = 1024cdf0e10cSrcweir { 1025cdf0e10cSrcweir 2, 15100, 2900 1026cdf0e10cSrcweir }; 1027cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentArrowTextRect[] = // todo 1028cdf0e10cSrcweir { 1029cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 1030cdf0e10cSrcweir }; 1031cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentArrowHandle[] = 1032cdf0e10cSrcweir { 1033cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 1034cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 } 1035cdf0e10cSrcweir }; 1036cdf0e10cSrcweir static const mso_CustomShape msoBentArrow = 1037cdf0e10cSrcweir { 1038cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentArrowVert, sizeof( mso_sptBentArrowVert ) / sizeof( SvxMSDffVertPair ), 1039cdf0e10cSrcweir (sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1, 1040cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBentArrowCalc, sizeof( mso_sptBentArrowCalc ) / sizeof( SvxMSDffCalculationData ), 1041cdf0e10cSrcweir (sal_Int32*)mso_sptBentArrowDefault, 1042cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, sizeof( mso_sptBentArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1043cdf0e10cSrcweir 21600, 21600, 1044cdf0e10cSrcweir 0x80000000, 0x80000000, 1045cdf0e10cSrcweir NULL, 0, 1046cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBentArrowHandle, sizeof( mso_sptBentArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 1047cdf0e10cSrcweir }; 1048cdf0e10cSrcweir 1049cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUturnArrowVert[] = 1050cdf0e10cSrcweir { 1051cdf0e10cSrcweir { 0, 21600 }, { 0, 8550 }, // pp 1052cdf0e10cSrcweir { 0, 3540 }, { 4370, 0 }, { 9270, 0 }, // ccp 1053cdf0e10cSrcweir { 13890, 0 }, { 18570, 3230 }, { 18600, 8300 }, // ccp 1054cdf0e10cSrcweir { 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp 1055cdf0e10cSrcweir { 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 }, // ccp 1056cdf0e10cSrcweir { 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 }, // ccp 1057cdf0e10cSrcweir { 6110, 21600 } 1058cdf0e10cSrcweir }; 1059cdf0e10cSrcweir static const sal_uInt16 mso_sptUturnArrowSegm[] = 1060cdf0e10cSrcweir { 1061cdf0e10cSrcweir 0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000 1062cdf0e10cSrcweir }; 1063cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect[] = 1064cdf0e10cSrcweir { 1065cdf0e10cSrcweir { { 0, 8280 }, { 6110, 21600 } } 1066cdf0e10cSrcweir }; 1067cdf0e10cSrcweir static const mso_CustomShape msoUturnArrow = 1068cdf0e10cSrcweir { 1069cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptUturnArrowVert, sizeof( mso_sptUturnArrowVert ) / sizeof( SvxMSDffVertPair ), 1070cdf0e10cSrcweir (sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1, 1071cdf0e10cSrcweir NULL, 0, 1072cdf0e10cSrcweir NULL, 1073cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, sizeof( mso_sptUturnArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1074cdf0e10cSrcweir 21600, 21600, 1075cdf0e10cSrcweir 0x80000000, 0x80000000, 1076cdf0e10cSrcweir NULL, 0, 1077cdf0e10cSrcweir NULL, 0 // handles 1078cdf0e10cSrcweir }; 1079cdf0e10cSrcweir 1080cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftUpArrowVert[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600 1081cdf0e10cSrcweir { // adjustment3 : y 0 - 21600 1082cdf0e10cSrcweir { 0, 5 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 7 MSO_I, 7 MSO_I }, 1083cdf0e10cSrcweir { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I }, 1084cdf0e10cSrcweir { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 } 1085cdf0e10cSrcweir }; 1086cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftUpArrowSegm[] = 1087cdf0e10cSrcweir { 1088cdf0e10cSrcweir 0x4000, 0x000b, 0x6001, 0x8000 1089cdf0e10cSrcweir }; 1090cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc[] = 1091cdf0e10cSrcweir { 1092cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 1093cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 1094cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, // 2 1095cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 1096cdf0e10cSrcweir { 0x2001, { 0x0403, 1, 2 } }, // 4 1097cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } }, // 5 1098cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 6 1099cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } }, // 7 1100cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } }, // 8 1101cdf0e10cSrcweir { 0xa000, { 0x408, 0, 0x406 } } // 9 1102cdf0e10cSrcweir }; 1103cdf0e10cSrcweir static const sal_Int32 mso_sptLeftUpArrowDefault[] = 1104cdf0e10cSrcweir { 1105cdf0e10cSrcweir 3, 9340, 18500, 6200 1106cdf0e10cSrcweir }; 1107cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect[] = 1108cdf0e10cSrcweir { 1109cdf0e10cSrcweir { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } }, 1110cdf0e10cSrcweir { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } } 1111cdf0e10cSrcweir }; 1112cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] = 1113cdf0e10cSrcweir { 1114cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 1115cdf0e10cSrcweir 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 }, 1116cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1117cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 3 + 9, 0x80000000, 0x7fffffff } 1118cdf0e10cSrcweir }; 1119cdf0e10cSrcweir static const mso_CustomShape msoLeftUpArrow = 1120cdf0e10cSrcweir { 1121cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftUpArrowVert, sizeof( mso_sptLeftUpArrowVert ) / sizeof( SvxMSDffVertPair ), 1122cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1, 1123cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, sizeof( mso_sptLeftUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), 1124cdf0e10cSrcweir (sal_Int32*)mso_sptLeftUpArrowDefault, 1125cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, sizeof( mso_sptLeftUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1126cdf0e10cSrcweir 21600, 21600, 1127cdf0e10cSrcweir 0x80000000, 0x80000000, 1128cdf0e10cSrcweir NULL, 0, 1129cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftUpArrowHandle, sizeof( mso_sptLeftUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 1130cdf0e10cSrcweir }; 1131cdf0e10cSrcweir 1132cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentUpArrowVert[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600 1133cdf0e10cSrcweir { // adjustment3 : y 0 - 21600 1134cdf0e10cSrcweir { 0, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, 1135cdf0e10cSrcweir { 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 21600 }, 1136cdf0e10cSrcweir { 0, 21600 } 1137cdf0e10cSrcweir }; 1138cdf0e10cSrcweir static const sal_uInt16 mso_sptBentUpArrowSegm[] = 1139cdf0e10cSrcweir { 1140cdf0e10cSrcweir 0x4000, 0x0008, 0x6001, 0x8000 1141cdf0e10cSrcweir }; 1142cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentUpArrowCalc[] = 1143cdf0e10cSrcweir { 1144cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 1145cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 1146cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, // 2 1147cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 1148cdf0e10cSrcweir { 0x2001, { 0x0403, 1, 2 } }, // 4 1149cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } }, // 5 1150cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 6 1151cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } }, // 7 1152cdf0e10cSrcweir { 0x6000, { 0x0407, 0x0406, 0 } }, // 8 1153cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } }, // 9 1154cdf0e10cSrcweir { 0xa000, { 0x409, 0, 0x406 } } // a 1155cdf0e10cSrcweir }; 1156cdf0e10cSrcweir static const sal_Int32 mso_sptBentUpArrowDefault[] = 1157cdf0e10cSrcweir { 1158cdf0e10cSrcweir 3, 9340, 18500, 7200 1159cdf0e10cSrcweir }; 1160cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect[] = 1161cdf0e10cSrcweir { 1162cdf0e10cSrcweir { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } }, 1163cdf0e10cSrcweir { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } } 1164cdf0e10cSrcweir }; 1165cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentUpArrowHandle[] = 1166cdf0e10cSrcweir { 1167cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 1168cdf0e10cSrcweir 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 }, 1169cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1170cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 3 + 10, 0x80000000, 0x7fffffff } 1171cdf0e10cSrcweir }; 1172cdf0e10cSrcweir static const mso_CustomShape msoBentUpArrow = 1173cdf0e10cSrcweir { 1174cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentUpArrowVert, sizeof( mso_sptBentUpArrowVert ) / sizeof( SvxMSDffVertPair ), 1175cdf0e10cSrcweir (sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1, 1176cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, sizeof( mso_sptBentUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), 1177cdf0e10cSrcweir (sal_Int32*)mso_sptBentUpArrowDefault, 1178cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, sizeof( mso_sptBentUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1179cdf0e10cSrcweir 21600, 21600, 1180cdf0e10cSrcweir 0x80000000, 0x80000000, 1181cdf0e10cSrcweir NULL, 0, 1182cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBentUpArrowHandle, sizeof( mso_sptBentUpArrowHandle ) / sizeof( SvxMSDffHandle ) 1183cdf0e10cSrcweir }; 1184cdf0e10cSrcweir 1185cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightVert[] = 1186cdf0e10cSrcweir { 1187cdf0e10cSrcweir { 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 }, 1188cdf0e10cSrcweir { 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I }, 1189cdf0e10cSrcweir { 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 }, 1190cdf0e10cSrcweir { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I }, 1191cdf0e10cSrcweir { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 MSO_I }, { 26 MSO_I, 17 MSO_I }, 1192cdf0e10cSrcweir { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I } 1193cdf0e10cSrcweir }; 1194cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedRightSegm[] = 1195cdf0e10cSrcweir { 1196cdf0e10cSrcweir 0xa408, 1197cdf0e10cSrcweir 0x0003, 1198cdf0e10cSrcweir 0xa508, 1199cdf0e10cSrcweir 0x6000, 1200cdf0e10cSrcweir 0x8000, 1201cdf0e10cSrcweir 0xa404, 1202cdf0e10cSrcweir 0xa304, 1203cdf0e10cSrcweir 0xa504, 1204cdf0e10cSrcweir 0x6000, 1205cdf0e10cSrcweir 0x8000 1206cdf0e10cSrcweir }; 1207cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedRightCalc[] = 1208cdf0e10cSrcweir { 1209cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1210cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1211cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1212cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, 1213cdf0e10cSrcweir { 0x2001, { 0x403, 1, 2 } }, 1214cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, 1215cdf0e10cSrcweir { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, 1216cdf0e10cSrcweir { 0x2001, { 0x406, 1, 2 } }, 1217cdf0e10cSrcweir { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, 1218cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }, 1219cdf0e10cSrcweir { 0xa00f, { 0x409, 21600, 0x404 } }, 1220cdf0e10cSrcweir { 0x6000, { 0x404, 0x40a, 0 } }, 1221cdf0e10cSrcweir { 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } }, 1222cdf0e10cSrcweir { 0x6000, { 0x407, 0x40a, 0 } }, 1223cdf0e10cSrcweir { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } }, 1224cdf0e10cSrcweir { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, 1225cdf0e10cSrcweir { 0x2001, { 0x40f, 1, 2 } }, 1226cdf0e10cSrcweir { 0x6002, { 0x404, 0x407, 0 } }, 1227cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, 1228cdf0e10cSrcweir { 0x2001, { 0x412, 1, 2 } }, 1229cdf0e10cSrcweir { 0xa000, { 0x411, 0, 0x413 } }, 1230cdf0e10cSrcweir { 0x0000, { 21600, 0, 0 } }, 1231cdf0e10cSrcweir { 0x0000, { 21600, 0, 0 } }, 1232cdf0e10cSrcweir { 0x0001, { 21600, 2, 1 } }, 1233cdf0e10cSrcweir { 0xa000, { 0x411, 0, 0x404 } }, 1234cdf0e10cSrcweir { 0x600f, { 0x418, 0x404, 21600 } }, 1235cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x419 } }, 1236cdf0e10cSrcweir { 0x2000, { 0x408, 128, 0 } }, 1237cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, 1238cdf0e10cSrcweir { 0x2000, { 0x405, 0, 128 } }, 1239cdf0e10cSrcweir { 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } }, 1240cdf0e10cSrcweir { 0x600f, { 0x414, 0x404, 21600 } }, 1241cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 1242cdf0e10cSrcweir { 0x2001, { 0x420, 1, 2 } }, 1243cdf0e10cSrcweir { 0x0001, { 21600, 21600, 1 } }, 1244cdf0e10cSrcweir { 0x6001, { 0x409, 0x409, 1 } }, 1245cdf0e10cSrcweir { 0xa000, { 0x422, 0, 0x423 } }, 1246cdf0e10cSrcweir { 0x200d, { 0x424, 0, 0 } }, 1247cdf0e10cSrcweir { 0x2000, { 0x425, 21600, 0 } }, 1248cdf0e10cSrcweir { 0x8001, { 21600, 21600, 0x426 } }, 1249cdf0e10cSrcweir { 0x2000, { 0x427, 64, 0 } }, 1250cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 1251cdf0e10cSrcweir { 0x600f, { 0x421, 0x429, 21600 } }, 1252cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x42a } }, 1253cdf0e10cSrcweir { 0x2000, { 0x42b, 64, 0 } }, 1254cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, 1255cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjust2Value, 0, 0x42d } }, 1256cdf0e10cSrcweir { 0x0001, { 21600, 2195, 16384 } }, 1257cdf0e10cSrcweir { 0x0001, { 21600, 14189, 16384 } } 1258cdf0e10cSrcweir }; 1259cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedRightDefault[] = 1260cdf0e10cSrcweir { 1261cdf0e10cSrcweir 3, 12960, 19440, 14400 1262cdf0e10cSrcweir }; 1263cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect[] = 1264cdf0e10cSrcweir { 1265cdf0e10cSrcweir { { 47 MSO_I, 45 MSO_I }, { 48 MSO_I, 46 MSO_I } } 1266cdf0e10cSrcweir }; 1267cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightGluePoints[] = 1268cdf0e10cSrcweir { 1269cdf0e10cSrcweir { 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 } 1270cdf0e10cSrcweir }; 1271cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedRightHandles[] = 1272cdf0e10cSrcweir { 1273cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1274cdf0e10cSrcweir 21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 }, 1275cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1276cdf0e10cSrcweir 21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 }, 1277cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1278cdf0e10cSrcweir 0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 } 1279cdf0e10cSrcweir }; 1280cdf0e10cSrcweir static const mso_CustomShape msoCurvedRightArrow = 1281cdf0e10cSrcweir { 1282cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedRightVert, sizeof( mso_sptCurvedRightVert ) / sizeof( SvxMSDffVertPair ), 1283cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1, 1284cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ), 1285cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedRightDefault, 1286cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, sizeof( mso_sptCurvedRightTextRect ) / sizeof( SvxMSDffTextRectangles ), 1287cdf0e10cSrcweir 21600, 21600, 1288cdf0e10cSrcweir 0x80000000, 0x80000000, 1289cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, sizeof( mso_sptCurvedRightGluePoints ) / sizeof( SvxMSDffVertPair ), 1290cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedRightHandles, sizeof( mso_sptCurvedRightHandles ) / sizeof( SvxMSDffHandle ) 1291cdf0e10cSrcweir }; 1292cdf0e10cSrcweir 1293cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownVert[] = 1294cdf0e10cSrcweir { 1295cdf0e10cSrcweir { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 }, 1296cdf0e10cSrcweir { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I }, 1297cdf0e10cSrcweir { 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, 1298cdf0e10cSrcweir { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 }, 1299cdf0e10cSrcweir { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I }, 1300cdf0e10cSrcweir { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 }, 1301cdf0e10cSrcweir { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 26 MSO_I }, 1302cdf0e10cSrcweir { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I } 1303cdf0e10cSrcweir }; 1304cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedDownSegm[] = 1305cdf0e10cSrcweir { 1306cdf0e10cSrcweir 0xa608, 1307cdf0e10cSrcweir 0x0003, 1308cdf0e10cSrcweir 0xa308, 1309cdf0e10cSrcweir 0x6000, 1310cdf0e10cSrcweir 0x8000, 1311cdf0e10cSrcweir 0xa604, 1312cdf0e10cSrcweir 0xa504, 1313cdf0e10cSrcweir 0xa304, 1314cdf0e10cSrcweir 0x6000, 1315cdf0e10cSrcweir 0x8000 1316cdf0e10cSrcweir }; 1317cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] = 1318cdf0e10cSrcweir { 1319cdf0e10cSrcweir { { 45 MSO_I, 47 MSO_I }, { 46 MSO_I, 48 MSO_I } } 1320cdf0e10cSrcweir }; 1321cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] = 1322cdf0e10cSrcweir { 1323cdf0e10cSrcweir { 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 } 1324cdf0e10cSrcweir }; 1325cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedDownHandles[] = 1326cdf0e10cSrcweir { 1327cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1328cdf0e10cSrcweir 0x100, 21600, 10800, 10800, 3 + 40, 3 + 29, 0, 10800 }, 1329cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1330cdf0e10cSrcweir 0x101, 21600, 10800, 10800, 3 + 27, 3 + 21, 0, 10800 }, 1331cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1332cdf0e10cSrcweir 21600, 0x102, 10800, 10800, 3375, 21600, 3 + 44, 3 + 22 } 1333cdf0e10cSrcweir }; 1334cdf0e10cSrcweir 1335cdf0e10cSrcweir static const mso_CustomShape msoCurvedDownArrow = 1336cdf0e10cSrcweir { 1337cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedDownVert, sizeof( mso_sptCurvedDownVert ) / sizeof( SvxMSDffVertPair ), 1338cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1, 1339cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ), 1340cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedRightDefault, 1341cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, sizeof( mso_sptCurvedDownTextRect ) / sizeof( SvxMSDffTextRectangles ), 1342cdf0e10cSrcweir 21600, 21600, 1343cdf0e10cSrcweir 0x80000000, 0x80000000, 1344cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, sizeof( mso_sptCurvedDownGluePoints ) / sizeof( SvxMSDffVertPair ), 1345cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedDownHandles, sizeof( mso_sptCurvedDownHandles ) / sizeof( SvxMSDffHandle ) 1346cdf0e10cSrcweir }; 1347cdf0e10cSrcweir 1348cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpVert[] = 1349cdf0e10cSrcweir { 1350cdf0e10cSrcweir { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I }, 1351cdf0e10cSrcweir { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, 1352cdf0e10cSrcweir { 12 MSO_I, 2 MSO_I }, { 13 MSO_I, 2 MSO_I }, { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I }, 1353cdf0e10cSrcweir { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 10 MSO_I, 2 MSO_I }, { 16 MSO_I, 24 MSO_I }, 1354cdf0e10cSrcweir { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 }, 1355cdf0e10cSrcweir { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I }, 1356cdf0e10cSrcweir { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, 1357cdf0e10cSrcweir { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 } 1358cdf0e10cSrcweir }; 1359cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedUpSegm[] = 1360cdf0e10cSrcweir { 1361cdf0e10cSrcweir 0xa408, 1362cdf0e10cSrcweir 0x0003, 1363cdf0e10cSrcweir 0xa508, 1364cdf0e10cSrcweir 0x6000, 1365cdf0e10cSrcweir 0x8000, 1366cdf0e10cSrcweir 0xa404, 1367cdf0e10cSrcweir 0xa508, 1368cdf0e10cSrcweir 0xa504, 1369cdf0e10cSrcweir 0x6000, 1370cdf0e10cSrcweir 0x8000 1371cdf0e10cSrcweir }; 1372cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedUpCalc[] = 1373cdf0e10cSrcweir { 1374cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1375cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1376cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1377cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, 1378cdf0e10cSrcweir { 0x2001, { 0x403, 1, 2 } }, 1379cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, 1380cdf0e10cSrcweir { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, 1381cdf0e10cSrcweir { 0x2001, { 0x406, 1, 2 } }, 1382cdf0e10cSrcweir { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, 1383cdf0e10cSrcweir { 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } }, 1384cdf0e10cSrcweir { 0x6000, { 0x404, 0x409, 0 } }, 1385cdf0e10cSrcweir { 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } }, 1386cdf0e10cSrcweir { 0x6000, { 0x407, 0x409, 0 } }, 1387cdf0e10cSrcweir { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } }, 1388cdf0e10cSrcweir { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, 1389cdf0e10cSrcweir { 0x2001, { 0x40e, 1, 2 } }, 1390cdf0e10cSrcweir { 0x6002, { 0x404, 0x407, 0 } }, 1391cdf0e10cSrcweir { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, 1392cdf0e10cSrcweir { 0x2001, { 0x411, 1, 2 } }, 1393cdf0e10cSrcweir { 0xa000, { 0x410, 0, 0x412 } }, 1394cdf0e10cSrcweir { 0x0000, { 21600, 0, 0 } }, 1395cdf0e10cSrcweir { 0x0000, { 21600, 0, 0 } }, 1396cdf0e10cSrcweir { 0x0000, { 0, 0, 21600 } }, 1397cdf0e10cSrcweir { 0xa000, { 0x410, 0, 0x404 } }, 1398cdf0e10cSrcweir { 0x600f, { 0x417, 0x404, 21600 } }, 1399cdf0e10cSrcweir { 0x2000, { 0x408, 128, 0 } }, 1400cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, 1401cdf0e10cSrcweir { 0x2000, { 0x405, 0, 128 } }, 1402cdf0e10cSrcweir { 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } }, 1403cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 1404cdf0e10cSrcweir { 0x2001, { 0x41d, 1, 2 } }, 1405cdf0e10cSrcweir { 0x0001, { 21600, 21600, 1 } }, 1406cdf0e10cSrcweir { 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } }, 1407cdf0e10cSrcweir { 0xa000, { 0x41f, 0, 0x420 } }, 1408cdf0e10cSrcweir { 0x200d, { 0x421, 0, 0 } }, 1409cdf0e10cSrcweir { 0x2000, { 0x422, 21600, 0 } }, 1410cdf0e10cSrcweir { 0x8001, { 21600, 21600, 0x423 } }, 1411cdf0e10cSrcweir { 0x2000, { 0x424, 64, 0 } }, 1412cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 1413cdf0e10cSrcweir { 0x600f, { 0x41e, 0x426, 21600 } }, 1414cdf0e10cSrcweir { 0x2000, { 0x427, 0, 64 } }, 1415cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, 1416cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } }, 1417cdf0e10cSrcweir { 0x0001, { 21600, 2195, 16384 } }, 1418cdf0e10cSrcweir { 0x0001, { 21600, 14189, 16384 } } 1419cdf0e10cSrcweir }; 1420cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedUpDefault[] = 1421cdf0e10cSrcweir { 1422cdf0e10cSrcweir 3, 12960, 19440, 7200 1423cdf0e10cSrcweir }; 1424cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect[] = 1425cdf0e10cSrcweir { 1426cdf0e10cSrcweir { { 41 MSO_I, 43 MSO_I }, { 42 MSO_I, 44 MSO_I } } 1427cdf0e10cSrcweir }; 1428cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpGluePoints[] = 1429cdf0e10cSrcweir { 1430cdf0e10cSrcweir { 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 } 1431cdf0e10cSrcweir }; 1432cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedUpHandles[] = 1433cdf0e10cSrcweir { 1434cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1435cdf0e10cSrcweir 0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 }, 1436cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1437cdf0e10cSrcweir 0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 }, 1438cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1439cdf0e10cSrcweir 21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 } 1440cdf0e10cSrcweir }; 1441cdf0e10cSrcweir static const mso_CustomShape msoCurvedUpArrow = 1442cdf0e10cSrcweir { 1443cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedUpVert, sizeof( mso_sptCurvedUpVert ) / sizeof( SvxMSDffVertPair ), 1444cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1, 1445cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ), 1446cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedUpDefault, 1447cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, sizeof( mso_sptCurvedUpTextRect ) / sizeof( SvxMSDffTextRectangles ), 1448cdf0e10cSrcweir 21600, 21600, 1449cdf0e10cSrcweir 0x80000000, 0x80000000, 1450cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, sizeof( mso_sptCurvedUpGluePoints ) / sizeof( SvxMSDffVertPair ), 1451cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedUpHandles, sizeof( mso_sptCurvedUpHandles ) / sizeof( SvxMSDffHandle ) 1452cdf0e10cSrcweir }; 1453cdf0e10cSrcweir 1454cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftVert[] = 1455cdf0e10cSrcweir { 1456cdf0e10cSrcweir { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I }, 1457cdf0e10cSrcweir { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 2 MSO_I, 12 MSO_I }, 1458cdf0e10cSrcweir { 2 MSO_I, 13 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 11 MSO_I }, 1459cdf0e10cSrcweir { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 2 MSO_I, 10 MSO_I }, { 24 MSO_I, 16 MSO_I }, 1460cdf0e10cSrcweir { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I }, 1461cdf0e10cSrcweir { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I }, 1462cdf0e10cSrcweir { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 24 MSO_I, 16 MSO_I }, 1463cdf0e10cSrcweir { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I } 1464cdf0e10cSrcweir }; 1465cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedLeftSegm[] = 1466cdf0e10cSrcweir { 1467cdf0e10cSrcweir 0xa608, 1468cdf0e10cSrcweir 0x0003, 1469cdf0e10cSrcweir 0xa308, 1470cdf0e10cSrcweir 0x6000, 1471cdf0e10cSrcweir 0x8000, 1472cdf0e10cSrcweir 0xa604, 1473cdf0e10cSrcweir 0xa308, 1474cdf0e10cSrcweir 0x6000, 1475cdf0e10cSrcweir 0x8000 1476cdf0e10cSrcweir }; 1477cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect[] = 1478cdf0e10cSrcweir { 1479cdf0e10cSrcweir { { 43 MSO_I, 41 MSO_I }, { 44 MSO_I, 42 MSO_I } } 1480cdf0e10cSrcweir }; 1481cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints[] = 1482cdf0e10cSrcweir { 1483cdf0e10cSrcweir { 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 } 1484cdf0e10cSrcweir }; 1485cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedLeftHandles[] = 1486cdf0e10cSrcweir { 1487cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1488cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 }, 1489cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1490cdf0e10cSrcweir 0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 }, 1491cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1492cdf0e10cSrcweir 0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 } 1493cdf0e10cSrcweir }; 1494cdf0e10cSrcweir static const mso_CustomShape msoCurvedLeftArrow = 1495cdf0e10cSrcweir { 1496cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedLeftVert, sizeof( mso_sptCurvedLeftVert ) / sizeof( SvxMSDffVertPair ), 1497cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1, 1498cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ), 1499cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedUpDefault, 1500cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, sizeof( mso_sptCurvedLeftTextRect ) / sizeof( SvxMSDffTextRectangles ), 1501cdf0e10cSrcweir 21600, 21600, 1502cdf0e10cSrcweir 0x80000000, 0x80000000, 1503cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, sizeof( mso_sptCurvedLeftGluePoints ) / sizeof( SvxMSDffVertPair ), 1504cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedLeftHandles, sizeof( mso_sptCurvedLeftHandles ) / sizeof( SvxMSDffHandle ) 1505cdf0e10cSrcweir }; 1506cdf0e10cSrcweir 1507cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStripedRightArrowVert[] = // adjustment1 : x 3375 - 21600 1508cdf0e10cSrcweir { // adjustment2 : y 0 - 10800 1509cdf0e10cSrcweir { 3375, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 }, 1510cdf0e10cSrcweir { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 3375, 2 MSO_I }, { 0, 0 MSO_I }, 1511cdf0e10cSrcweir { 675, 0 MSO_I }, { 675, 2 MSO_I }, { 0, 2 MSO_I }, { 1350, 0 MSO_I }, 1512cdf0e10cSrcweir { 2700, 0 MSO_I }, { 2700, 2 MSO_I }, { 1350, 2 MSO_I } 1513cdf0e10cSrcweir }; 1514cdf0e10cSrcweir static const sal_uInt16 mso_sptStripedRightArrowSegm[] = 1515cdf0e10cSrcweir { 1516cdf0e10cSrcweir 0x4000, 0x0006, 0x6001, 0x8000, 1517cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 1518cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 1519cdf0e10cSrcweir }; 1520cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc[] = 1521cdf0e10cSrcweir { 1522cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1523cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1524cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, 1525cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } }, 1526cdf0e10cSrcweir { 0x6001, { 0x403, 0x400, 10800 } }, 1527cdf0e10cSrcweir { 0x6000, { 0x401, 0x404, 0 } } 1528cdf0e10cSrcweir }; 1529cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect[] = 1530cdf0e10cSrcweir { 1531cdf0e10cSrcweir { { 3375, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } } 1532cdf0e10cSrcweir }; 1533cdf0e10cSrcweir static const SvxMSDffHandle mso_sptStripedRightArrowHandle[] = 1534cdf0e10cSrcweir { 1535cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 1536cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 } 1537cdf0e10cSrcweir }; 1538cdf0e10cSrcweir static const mso_CustomShape msoStripedRightArrow = 1539cdf0e10cSrcweir { 1540cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStripedRightArrowVert, sizeof( mso_sptStripedRightArrowVert ) / sizeof( SvxMSDffVertPair ), 1541cdf0e10cSrcweir (sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1, 1542cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, sizeof( mso_sptStripedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ), 1543cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200and5400, 1544cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, sizeof( mso_sptStripedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1545cdf0e10cSrcweir 21600, 21600, 1546cdf0e10cSrcweir 0x80000000, 0x80000000, 1547cdf0e10cSrcweir NULL, 0, 1548cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptStripedRightArrowHandle, sizeof( mso_sptStripedRightArrowHandle ) / sizeof( SvxMSDffHandle ) 1549cdf0e10cSrcweir }; 1550cdf0e10cSrcweir 1551cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNotchedRightArrowVert[] = // adjustment1 : x 0 - 21600 (default 16200) 1552cdf0e10cSrcweir { // adjustment2 : y 0 - 10800 (default 5400) 1553cdf0e10cSrcweir { 0, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 10800 }, 1554cdf0e10cSrcweir { 0 MSO_I, 21600 }, { 0 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }, { 5 MSO_I, 10800 }, { 0, 1 MSO_I } 1555cdf0e10cSrcweir }; 1556cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc[] = 1557cdf0e10cSrcweir { 1558cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1559cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1560cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, 1561cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 1562cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, 1563cdf0e10cSrcweir { 0x6001, { 0x403, 0x404, 10800 } } 1564cdf0e10cSrcweir }; 1565cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] = // todo 1566cdf0e10cSrcweir { 1567cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 1568cdf0e10cSrcweir }; 1569cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNotchedRightArrowHandle[] = 1570cdf0e10cSrcweir { 1571cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 1572cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } 1573cdf0e10cSrcweir }; 1574cdf0e10cSrcweir static const mso_CustomShape msoNotchedRightArrow = 1575cdf0e10cSrcweir { 1576cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptNotchedRightArrowVert, sizeof( mso_sptNotchedRightArrowVert ) / sizeof( SvxMSDffVertPair ), 1577cdf0e10cSrcweir NULL, 0, 1578cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, sizeof( mso_sptNotchedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ), 1579cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200and5400, 1580cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, sizeof( mso_sptNotchedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 1581cdf0e10cSrcweir 21600, 21600, 1582cdf0e10cSrcweir 0x80000000, 0x80000000, 1583cdf0e10cSrcweir NULL, 0, 1584cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, sizeof( mso_sptNotchedRightArrowHandle ) / sizeof( SvxMSDffHandle ) 1585cdf0e10cSrcweir }; 1586cdf0e10cSrcweir 1587cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHomePlateVert[] = // adjustment1 : x 0 - 21600 1588cdf0e10cSrcweir { 1589cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 }, 1590cdf0e10cSrcweir { 0, 21600 } 1591cdf0e10cSrcweir }; 1592cdf0e10cSrcweir static const sal_uInt16 mso_sptHomePlateSegm[] = 1593cdf0e10cSrcweir { 1594cdf0e10cSrcweir 0x4000, 0x0004, 0x6001, 0x8000 1595cdf0e10cSrcweir }; 1596cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHomePlateCalc[] = 1597cdf0e10cSrcweir { 1598cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } 1599cdf0e10cSrcweir }; 1600cdf0e10cSrcweir static const sal_Int32 mso_sptHomePlateDefault[] = 1601cdf0e10cSrcweir { 1602cdf0e10cSrcweir 1, 16200 1603cdf0e10cSrcweir }; 1604cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] = // todo 1605cdf0e10cSrcweir { 1606cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 1607cdf0e10cSrcweir }; 1608cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHomePlateHandle[] = 1609cdf0e10cSrcweir { 1610cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 1611cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } 1612cdf0e10cSrcweir }; 1613cdf0e10cSrcweir static const mso_CustomShape msoHomePlate = 1614cdf0e10cSrcweir { 1615cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptHomePlateVert, sizeof( mso_sptHomePlateVert ) / sizeof( SvxMSDffVertPair ), 1616cdf0e10cSrcweir (sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1, 1617cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptHomePlateCalc, sizeof( mso_sptHomePlateCalc ) / sizeof( SvxMSDffCalculationData ), 1618cdf0e10cSrcweir (sal_Int32*)mso_sptHomePlateDefault, 1619cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, sizeof( mso_sptHomePlateTextRect ) / sizeof( SvxMSDffTextRectangles ), 1620cdf0e10cSrcweir 21600, 21600, 1621cdf0e10cSrcweir 0x80000000, 0x80000000, 1622cdf0e10cSrcweir NULL, 0, 1623cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptHomePlateHandle, sizeof( mso_sptHomePlateHandle ) / sizeof( SvxMSDffHandle ) 1624cdf0e10cSrcweir }; 1625cdf0e10cSrcweir 1626cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptChevronVert[] = // adjustment1 : x 0 - 21600 1627cdf0e10cSrcweir { 1628cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 }, 1629cdf0e10cSrcweir { 0, 21600 }, { 1 MSO_I, 10800 } 1630cdf0e10cSrcweir }; 1631cdf0e10cSrcweir static const sal_uInt16 mso_sptChevronSegm[] = 1632cdf0e10cSrcweir { 1633cdf0e10cSrcweir 0x4000, 0x0005, 0x6001, 0x8000 1634cdf0e10cSrcweir }; 1635cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptChevronCalc[] = 1636cdf0e10cSrcweir { 1637cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1638cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0400 } } 1639cdf0e10cSrcweir }; 1640cdf0e10cSrcweir static const sal_Int32 mso_sptChevronDefault[] = 1641cdf0e10cSrcweir { 1642cdf0e10cSrcweir 1, 16200 1643cdf0e10cSrcweir }; 1644cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptChevronTextRect[] = // todo 1645cdf0e10cSrcweir { 1646cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 1647cdf0e10cSrcweir }; 1648cdf0e10cSrcweir static const SvxMSDffHandle mso_sptChevronHandle[] = 1649cdf0e10cSrcweir { 1650cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 1651cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } 1652cdf0e10cSrcweir }; 1653cdf0e10cSrcweir static const mso_CustomShape msoChevron = 1654cdf0e10cSrcweir { 1655cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptChevronVert, sizeof( mso_sptChevronVert ) / sizeof( SvxMSDffVertPair ), 1656cdf0e10cSrcweir (sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1, 1657cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptChevronCalc, sizeof( mso_sptChevronCalc ) / sizeof( SvxMSDffCalculationData ), 1658cdf0e10cSrcweir (sal_Int32*)mso_sptChevronDefault, 1659cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptChevronTextRect, sizeof( mso_sptChevronTextRect ) / sizeof( SvxMSDffTextRectangles ), 1660cdf0e10cSrcweir 21600, 21600, 1661cdf0e10cSrcweir 0x80000000, 0x80000000, 1662cdf0e10cSrcweir NULL, 0, 1663cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptChevronHandle, sizeof( mso_sptChevronHandle ) / sizeof( SvxMSDffHandle ) 1664cdf0e10cSrcweir }; 1665cdf0e10cSrcweir 1666cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightArrowCalloutVert[] = // adjustment1 : x 0 - 21000 1667cdf0e10cSrcweir { // adjustment2 : y 0 - 10800 1668cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, 1669cdf0e10cSrcweir { 2 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 5 MSO_I }, 1670cdf0e10cSrcweir { 0 MSO_I, 5 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 } 1671cdf0e10cSrcweir }; 1672cdf0e10cSrcweir static const sal_uInt16 mso_sptRightArrowCalloutSegm[] = 1673cdf0e10cSrcweir { 1674cdf0e10cSrcweir 0x4000, 0x000a, 0x6001, 0x8000 1675cdf0e10cSrcweir }; 1676cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc[] = 1677cdf0e10cSrcweir { 1678cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1679cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1680cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1681cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1682cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1683cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1684cdf0e10cSrcweir }; 1685cdf0e10cSrcweir static const sal_Int32 mso_sptRightArrowCalloutDefault[] = 1686cdf0e10cSrcweir { 1687cdf0e10cSrcweir 4, 14400, 5400, 18000, 8100 1688cdf0e10cSrcweir }; 1689cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] = 1690cdf0e10cSrcweir { 1691cdf0e10cSrcweir { { 0, 0 }, { 0 MSO_I, 21600 } } 1692cdf0e10cSrcweir }; 1693cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] = 1694cdf0e10cSrcweir { 1695cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1696cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 0x102, 0x80000000, 0x7fffffff }, 1697cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1698cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 }, 1699cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1700cdf0e10cSrcweir 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } 1701cdf0e10cSrcweir }; 1702cdf0e10cSrcweir static const mso_CustomShape msoRightArrowCallout = 1703cdf0e10cSrcweir { 1704cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, sizeof( mso_sptRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1705cdf0e10cSrcweir (sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1, 1706cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, sizeof( mso_sptRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1707cdf0e10cSrcweir (sal_Int32*)mso_sptRightArrowCalloutDefault, 1708cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, sizeof( mso_sptRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1709cdf0e10cSrcweir 21600, 21600, 1710cdf0e10cSrcweir 0x80000000, 0x80000000, 1711cdf0e10cSrcweir NULL, 0, 1712cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, sizeof( mso_sptRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1713cdf0e10cSrcweir }; 1714cdf0e10cSrcweir 1715cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert[] = // adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800 1716cdf0e10cSrcweir { // adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800 1717cdf0e10cSrcweir { 0 MSO_I, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I, 21600 }, 1718cdf0e10cSrcweir { 0 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0, 10800 }, 1719cdf0e10cSrcweir { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } 1720cdf0e10cSrcweir }; 1721cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowCalloutSegm[] = 1722cdf0e10cSrcweir { 1723cdf0e10cSrcweir 0x4000, 0x000a, 0x6001, 0x8000 1724cdf0e10cSrcweir }; 1725cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc[] = 1726cdf0e10cSrcweir { 1727cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1728cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1729cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1730cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1731cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1732cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1733cdf0e10cSrcweir }; 1734cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowCalloutDefault[] = 1735cdf0e10cSrcweir { 1736cdf0e10cSrcweir 4, 7200, 5400, 3600, 8100 1737cdf0e10cSrcweir }; 1738cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] = 1739cdf0e10cSrcweir { 1740cdf0e10cSrcweir { { 0 MSO_I, 0 }, { 21600, 21600 } } 1741cdf0e10cSrcweir }; 1742cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] = 1743cdf0e10cSrcweir { 1744cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 1745cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 21600, 0x80000000, 0x7fffffff }, 1746cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1747cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 }, 1748cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1749cdf0e10cSrcweir 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } 1750cdf0e10cSrcweir }; 1751cdf0e10cSrcweir static const mso_CustomShape msoLeftArrowCallout = 1752cdf0e10cSrcweir { 1753cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, sizeof( mso_sptLeftArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1754cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1, 1755cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, sizeof( mso_sptLeftArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1756cdf0e10cSrcweir (sal_Int32*)mso_sptLeftArrowCalloutDefault, 1757cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, sizeof( mso_sptLeftArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1758cdf0e10cSrcweir 21600, 21600, 1759cdf0e10cSrcweir 0x80000000, 0x80000000, 1760cdf0e10cSrcweir NULL, 0, 1761cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, sizeof( mso_sptLeftArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1762cdf0e10cSrcweir }; 1763cdf0e10cSrcweir 1764cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowCalloutVert[] = 1765cdf0e10cSrcweir { 1766cdf0e10cSrcweir { 21600, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I }, 1767cdf0e10cSrcweir { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 }, 1768cdf0e10cSrcweir { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 MSO_I } 1769cdf0e10cSrcweir }; 1770cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowCalloutSegm[] = 1771cdf0e10cSrcweir { 1772cdf0e10cSrcweir 0x4000, 0x000a, 0x6001, 0x8000 1773cdf0e10cSrcweir }; 1774cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc[] = 1775cdf0e10cSrcweir { 1776cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1777cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1778cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1779cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1780cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1781cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1782cdf0e10cSrcweir }; 1783cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowCalloutDefault[] = 1784cdf0e10cSrcweir { 1785cdf0e10cSrcweir 4, 7200, 5400, 3600, 8100 1786cdf0e10cSrcweir }; 1787cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] = 1788cdf0e10cSrcweir { 1789cdf0e10cSrcweir { { 0, 0 MSO_I }, { 21600, 21600 } } 1790cdf0e10cSrcweir }; 1791cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] = 1792cdf0e10cSrcweir { 1793cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1794cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 21600 }, 1795cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1796cdf0e10cSrcweir 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }, 1797cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1798cdf0e10cSrcweir 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } 1799cdf0e10cSrcweir }; 1800cdf0e10cSrcweir static const mso_CustomShape msoUpArrowCallout = 1801cdf0e10cSrcweir { 1802cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, sizeof( mso_sptUpArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1803cdf0e10cSrcweir (sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1, 1804cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, sizeof( mso_sptUpArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1805cdf0e10cSrcweir (sal_Int32*)mso_sptUpArrowCalloutDefault, 1806cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, sizeof( mso_sptUpArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1807cdf0e10cSrcweir 21600, 21600, 1808cdf0e10cSrcweir 0x80000000, 0x80000000, 1809cdf0e10cSrcweir NULL, 0, 1810cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, sizeof( mso_sptUpArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1811cdf0e10cSrcweir }; 1812cdf0e10cSrcweir 1813cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowCalloutVert[] = 1814cdf0e10cSrcweir { 1815cdf0e10cSrcweir { 0, 0 MSO_I }, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, 1816cdf0e10cSrcweir { 5 MSO_I, 0 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 10800, 21600 }, 1817cdf0e10cSrcweir { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I } 1818cdf0e10cSrcweir }; 1819cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowCalloutSegm[] = 1820cdf0e10cSrcweir { 1821cdf0e10cSrcweir 0x4000, 0x000a, 0x6001, 0x8000 1822cdf0e10cSrcweir }; 1823cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc[] = 1824cdf0e10cSrcweir { 1825cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1826cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1827cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1828cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1829cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1830cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1831cdf0e10cSrcweir }; 1832cdf0e10cSrcweir static const sal_Int32 mso_sptDownArrowCalloutDefault[] = 1833cdf0e10cSrcweir { 1834cdf0e10cSrcweir 4, 14400, 5400, 18000, 8100 1835cdf0e10cSrcweir }; 1836cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] = 1837cdf0e10cSrcweir { 1838cdf0e10cSrcweir { { 0, 0 }, { 21600, 0 MSO_I } } 1839cdf0e10cSrcweir }; 1840cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] = 1841cdf0e10cSrcweir { 1842cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1843cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x102 }, 1844cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1845cdf0e10cSrcweir 0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 }, 1846cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1847cdf0e10cSrcweir 0x101, 1, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } 1848cdf0e10cSrcweir }; 1849cdf0e10cSrcweir static const mso_CustomShape msoDownArrowCallout = 1850cdf0e10cSrcweir { 1851cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, sizeof( mso_sptDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1852cdf0e10cSrcweir (sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1, 1853cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, sizeof( mso_sptDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1854cdf0e10cSrcweir (sal_Int32*)mso_sptDownArrowCalloutDefault, 1855cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, sizeof( mso_sptDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1856cdf0e10cSrcweir 21600, 21600, 1857cdf0e10cSrcweir 0x80000000, 0x80000000, 1858cdf0e10cSrcweir NULL, 0, 1859cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, sizeof( mso_sptDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1860cdf0e10cSrcweir }; 1861cdf0e10cSrcweir 1862cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert[] = 1863cdf0e10cSrcweir { 1864cdf0e10cSrcweir { 0 MSO_I, 0 }, { 4 MSO_I, 0 }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, 1865cdf0e10cSrcweir { 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, 1866cdf0e10cSrcweir { 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 7 MSO_I }, 1867cdf0e10cSrcweir { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, 1868cdf0e10cSrcweir { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } 1869cdf0e10cSrcweir }; 1870cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm[] = 1871cdf0e10cSrcweir { 1872cdf0e10cSrcweir 0x4000, 0x0011, 0x6001, 0x8000 1873cdf0e10cSrcweir }; 1874cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc[] = 1875cdf0e10cSrcweir { 1876cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1877cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1878cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1879cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1880cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0400 } }, 1881cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1882cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0402 } }, 1883cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1884cdf0e10cSrcweir }; 1885cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowCalloutDefault[] = 1886cdf0e10cSrcweir { 1887cdf0e10cSrcweir 4, 5400, 5500, 2700, 8100 1888cdf0e10cSrcweir }; 1889cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] = 1890cdf0e10cSrcweir { 1891cdf0e10cSrcweir { { 0 MSO_I, 0 }, { 4 MSO_I, 21600 } } 1892cdf0e10cSrcweir }; 1893cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] = 1894cdf0e10cSrcweir { 1895cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 1896cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0x102, 10800, 0x80000000, 0x7fffffff }, 1897cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1898cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 }, 1899cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1900cdf0e10cSrcweir 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } 1901cdf0e10cSrcweir }; 1902cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrowCallout = 1903cdf0e10cSrcweir { 1904cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, sizeof( mso_sptLeftRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1905cdf0e10cSrcweir (sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1, 1906cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, sizeof( mso_sptLeftRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1907cdf0e10cSrcweir (sal_Int32*)mso_sptLeftRightArrowCalloutDefault, 1908cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, sizeof( mso_sptLeftRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1909cdf0e10cSrcweir 21600, 21600, 1910cdf0e10cSrcweir 0x80000000, 0x80000000, 1911cdf0e10cSrcweir NULL, 0, 1912cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, sizeof( mso_sptLeftRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1913cdf0e10cSrcweir }; 1914cdf0e10cSrcweir 1915cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert[] = 1916cdf0e10cSrcweir { 1917cdf0e10cSrcweir { 0, 0 MSO_I }, { 0, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 6 MSO_I }, 1918cdf0e10cSrcweir { 1 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 6 MSO_I }, 1919cdf0e10cSrcweir { 7 MSO_I, 4 MSO_I }, { 21600, 4 MSO_I }, { 21600, 0 MSO_I }, { 7 MSO_I, 0 MSO_I }, 1920cdf0e10cSrcweir { 7 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 10800, 0 }, { 1 MSO_I, 2 MSO_I }, 1921cdf0e10cSrcweir { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I } 1922cdf0e10cSrcweir }; 1923cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowCalloutSegm[] = 1924cdf0e10cSrcweir { 1925cdf0e10cSrcweir 0x4000, 0x0011, 0x6001, 0x8000 1926cdf0e10cSrcweir }; 1927cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc[] = 1928cdf0e10cSrcweir { 1929cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1930cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1931cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1932cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1933cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0400 } }, 1934cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1935cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0402 } }, 1936cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1937cdf0e10cSrcweir }; 1938cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowCalloutDefault[] = 1939cdf0e10cSrcweir { 1940cdf0e10cSrcweir 4, 5400, 5500, 2700, 8100 1941cdf0e10cSrcweir }; 1942cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] = 1943cdf0e10cSrcweir { 1944cdf0e10cSrcweir { { 0, 0 MSO_I }, { 21600, 4 MSO_I } } 1945cdf0e10cSrcweir }; 1946cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] = 1947cdf0e10cSrcweir { 1948cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 1949cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 10800 }, 1950cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1951cdf0e10cSrcweir 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }, 1952cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 1953cdf0e10cSrcweir 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } 1954cdf0e10cSrcweir }; 1955cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrowCallout = 1956cdf0e10cSrcweir { 1957cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, sizeof( mso_sptUpDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 1958cdf0e10cSrcweir (sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1, 1959cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, sizeof( mso_sptUpDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 1960cdf0e10cSrcweir (sal_Int32*)mso_sptUpDownArrowCalloutDefault, 1961cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, sizeof( mso_sptUpDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 1962cdf0e10cSrcweir 21600, 21600, 1963cdf0e10cSrcweir 0x80000000, 0x80000000, 1964cdf0e10cSrcweir NULL, 0, 1965cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, sizeof( mso_sptUpDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 1966cdf0e10cSrcweir }; 1967cdf0e10cSrcweir 1968cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert[] = 1969cdf0e10cSrcweir { 1970cdf0e10cSrcweir { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 1971cdf0e10cSrcweir { 10800, 0 }, { 5 MSO_I, 2 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 7 MSO_I, 0 MSO_I }, 1972cdf0e10cSrcweir { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I }, 1973cdf0e10cSrcweir { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I }, 1974cdf0e10cSrcweir { 4 MSO_I, 4 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 5 MSO_I, 6 MSO_I }, 1975cdf0e10cSrcweir { 10800, 21600 }, { 1 MSO_I, 6 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 4 MSO_I }, 1976cdf0e10cSrcweir { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, 1977cdf0e10cSrcweir { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } 1978cdf0e10cSrcweir }; 1979cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowCalloutSegm[] = 1980cdf0e10cSrcweir { 1981cdf0e10cSrcweir 0x4000, 0x001f, 0x6001, 0x8000 1982cdf0e10cSrcweir }; 1983cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc[] = 1984cdf0e10cSrcweir { 1985cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 1986cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 1987cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 1988cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 1989cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0400 } }, 1990cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0401 } }, 1991cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0402 } }, 1992cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0403 } } 1993cdf0e10cSrcweir }; 1994cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowCalloutDefault[] = 1995cdf0e10cSrcweir { 1996cdf0e10cSrcweir 4, 5400, 8100, 2700, 9400 1997cdf0e10cSrcweir }; 1998cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] = 1999cdf0e10cSrcweir { 2000cdf0e10cSrcweir { { 0 MSO_I, 0 MSO_I }, { 4 MSO_I, 4 MSO_I } } 2001cdf0e10cSrcweir }; 2002cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] = 2003cdf0e10cSrcweir { 2004cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 2005cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 0x101 }, 2006cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 2007cdf0e10cSrcweir 0x101, 0, 10800, 10800, 0x100, 10800, 0x80000000, 0x7fffffff }, 2008cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 2009cdf0e10cSrcweir 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 } 2010cdf0e10cSrcweir }; 2011cdf0e10cSrcweir static const mso_CustomShape msoQuadArrowCallout = 2012cdf0e10cSrcweir { 2013cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptQuadArrowCalloutVert, sizeof( mso_sptQuadArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), 2014cdf0e10cSrcweir (sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1, 2015cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, sizeof( mso_sptQuadArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 2016cdf0e10cSrcweir (sal_Int32*)mso_sptQuadArrowCalloutDefault, 2017cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, sizeof( mso_sptQuadArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 2018cdf0e10cSrcweir 21600, 21600, 2019cdf0e10cSrcweir 0x80000000, 0x80000000, 2020cdf0e10cSrcweir NULL, 0, 2021cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, sizeof( mso_sptQuadArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) 2022cdf0e10cSrcweir }; 2023cdf0e10cSrcweir 2024cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCircularArrowVert[] = 2025cdf0e10cSrcweir { 2026cdf0e10cSrcweir { 0x03 MSO_I, 0x03 MSO_I }, 2027cdf0e10cSrcweir { 0x14 MSO_I, 0x14 MSO_I }, 2028cdf0e10cSrcweir { 0x13 MSO_I, 0x12 MSO_I }, 2029cdf0e10cSrcweir { 0x11 MSO_I, 0x10 MSO_I }, 2030cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, 2031cdf0e10cSrcweir { 0x09 MSO_I, 0x08 MSO_I }, 2032cdf0e10cSrcweir { 0x0B MSO_I, 0x0A MSO_I }, 2033cdf0e10cSrcweir { 0x18 MSO_I, 0x17 MSO_I }, 2034cdf0e10cSrcweir { 0x2F MSO_I, 0x2E MSO_I }, 2035cdf0e10cSrcweir { 0x1D MSO_I, 0x1C MSO_I } 2036cdf0e10cSrcweir }; 2037cdf0e10cSrcweir static const sal_uInt16 mso_sptCircularArrowSegm[] = 2038cdf0e10cSrcweir { 2039cdf0e10cSrcweir 0xa404, 0xa504, 0x0003, 0x6001, 0x8000 2040cdf0e10cSrcweir }; 2041cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCircularArrowCalc[] = 2042cdf0e10cSrcweir { 2043cdf0e10cSrcweir { 0x2000, { 0x0147, 0x0000, 0x0000 } }, 2044cdf0e10cSrcweir { 0x2000, { 0x0148, 0x0000, 0x0000 } }, 2045cdf0e10cSrcweir { 0x2000, { 0x0149, 0x0000, 0x0000 } }, 2046cdf0e10cSrcweir { 0x4000, { 0x2A30, 0x0149, 0x0000 } }, 2047cdf0e10cSrcweir { 0x4009, { 0x2A30, 0x0147, 0x0000 } }, 2048cdf0e10cSrcweir { 0x400A, { 0x2A30, 0x0147, 0x0000 } }, 2049cdf0e10cSrcweir { 0x4009, { 0x2A30, 0x0148, 0x0000 } }, 2050cdf0e10cSrcweir { 0x400A, { 0x2A30, 0x0148, 0x0000 } }, 2051cdf0e10cSrcweir { 0x2000, { 0x0404, 0x2A30, 0x0000 } }, 2052cdf0e10cSrcweir { 0x2000, { 0x0405, 0x2A30, 0x0000 } }, 2053cdf0e10cSrcweir { 0x2000, { 0x0406, 0x2A30, 0x0000 } }, 2054cdf0e10cSrcweir { 0x2000, { 0x0407, 0x2A30, 0x0000 } }, 2055cdf0e10cSrcweir { 0x6009, { 0x0403, 0x0147, 0x0000 } }, 2056cdf0e10cSrcweir { 0x600A, { 0x0403, 0x0147, 0x0000 } }, 2057cdf0e10cSrcweir { 0x6009, { 0x0403, 0x0148, 0x0000 } }, 2058cdf0e10cSrcweir { 0x600A, { 0x0403, 0x0148, 0x0000 } }, 2059cdf0e10cSrcweir { 0x2000, { 0x040C, 0x2A30, 0x0000 } }, 2060cdf0e10cSrcweir { 0x2000, { 0x040D, 0x2A30, 0x0000 } }, 2061cdf0e10cSrcweir { 0x2000, { 0x040E, 0x2A30, 0x0000 } }, 2062cdf0e10cSrcweir { 0x2000, { 0x040F, 0x2A30, 0x0000 } }, 2063cdf0e10cSrcweir { 0x8000, { 0x5460, 0x0000, 0x0403 } }, 2064cdf0e10cSrcweir { 0x4009, { 0x34BC, 0x0148, 0x0000 } }, 2065cdf0e10cSrcweir { 0x400A, { 0x34BC, 0x0148, 0x0000 } }, 2066cdf0e10cSrcweir { 0x2000, { 0x0415, 0x2A30, 0x0000 } }, 2067cdf0e10cSrcweir { 0x2000, { 0x0416, 0x2A30, 0x0000 } }, 2068cdf0e10cSrcweir { 0x2000, { 0x0149, 0x0000, 0x0A8C } }, 2069cdf0e10cSrcweir { 0x6009, { 0x0419, 0x0148, 0x0000 } }, 2070cdf0e10cSrcweir { 0x600A, { 0x0419, 0x0148, 0x0000 } }, 2071cdf0e10cSrcweir { 0x2000, { 0x041A, 0x2A30, 0x0000 } }, 2072cdf0e10cSrcweir { 0x2000, { 0x041B, 0x2A30, 0x0000 } }, 2073cdf0e10cSrcweir { 0xA000, { 0x041D, 0x0000, 0x0418 } }, 2074cdf0e10cSrcweir { 0xA000, { 0x041D, 0x0000, 0x0418 } }, 2075cdf0e10cSrcweir { 0x6001, { 0x041E, 0x041F, 0x0001 } }, 2076cdf0e10cSrcweir { 0xA000, { 0x041C, 0x0000, 0x0417 } }, 2077cdf0e10cSrcweir { 0xA000, { 0x041C, 0x0000, 0x0417 } }, 2078cdf0e10cSrcweir { 0x6001, { 0x0421, 0x0422, 0x0001 } }, 2079cdf0e10cSrcweir { 0x6000, { 0x0420, 0x0423, 0x0000 } }, 2080cdf0e10cSrcweir { 0x200D, { 0x0424, 0x0000, 0x0000 } }, 2081cdf0e10cSrcweir { 0x200E, { 0x0148, 0x002D, 0x0000 } }, 2082cdf0e10cSrcweir { 0x6009, { 0x0425, 0x0426, 0x0000 } }, 2083cdf0e10cSrcweir { 0x200E, { 0x0148, 0x002D, 0x0000 } }, 2084cdf0e10cSrcweir { 0x600A, { 0x0425, 0x0428, 0x0000 } }, 2085cdf0e10cSrcweir { 0x000E, { 0x0000, 0x002D, 0x0000 } }, 2086cdf0e10cSrcweir { 0x6009, { 0x0427, 0x042A, 0x0000 } }, 2087cdf0e10cSrcweir { 0x000E, { 0x0000, 0x002D, 0x0000 } }, 2088cdf0e10cSrcweir { 0x6009, { 0x0429, 0x042C, 0x0000 } }, 2089cdf0e10cSrcweir { 0x6000, { 0x041C, 0x042B, 0x0000 } }, 2090cdf0e10cSrcweir { 0x6000, { 0x041D, 0x042D, 0x0000 } } 2091cdf0e10cSrcweir }; 2092cdf0e10cSrcweir static const sal_Int32 mso_sptCircularArrowDefault[] = 2093cdf0e10cSrcweir { 2094cdf0e10cSrcweir 3, 180, 0, 5500 2095cdf0e10cSrcweir }; 2096cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] = // todo 2097cdf0e10cSrcweir { 2098cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 2099cdf0e10cSrcweir }; 2100cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCircularArrowHandle[] = 2101cdf0e10cSrcweir { 2102cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 2103cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 10800, 10800, 0xff4c0000, 0x00b40000 }, 2104cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 2105cdf0e10cSrcweir 0x102, 0x101, 10800, 10800, 0, 10800, 0xff4c0000, 0x00b40000 } 2106cdf0e10cSrcweir }; 2107cdf0e10cSrcweir static const mso_CustomShape msoCircularArrow = 2108cdf0e10cSrcweir { 2109cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCircularArrowVert, sizeof( mso_sptCircularArrowVert ) / sizeof( SvxMSDffVertPair ), 2110cdf0e10cSrcweir (sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1, 2111cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCircularArrowCalc, sizeof( mso_sptCircularArrowCalc ) / sizeof( SvxMSDffCalculationData ), 2112cdf0e10cSrcweir (sal_Int32*)mso_sptCircularArrowDefault, 2113cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, sizeof( mso_sptCircularArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 2114cdf0e10cSrcweir 21600, 21600, 2115cdf0e10cSrcweir 0x80000000, 0x80000000, 2116cdf0e10cSrcweir NULL, 0, 2117cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCircularArrowHandle, sizeof( mso_sptCircularArrowHandle ) / sizeof( SvxMSDffHandle ) // handles 2118cdf0e10cSrcweir }; 2119cdf0e10cSrcweir 2120cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeVert[] = 2121cdf0e10cSrcweir { 2122cdf0e10cSrcweir { 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 }, 2123cdf0e10cSrcweir { 0, 1 MSO_I }, { 2 MSO_I, 0 }, { 11 MSO_I, 0 }, { 4 MSO_I, 1 MSO_I }, 2124cdf0e10cSrcweir { 4 MSO_I, 12 MSO_I }, { 4 MSO_I, 1 MSO_I }, { 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I } 2125cdf0e10cSrcweir }; 2126cdf0e10cSrcweir static const sal_uInt16 mso_sptCubeSegm[] = 2127cdf0e10cSrcweir { 2128cdf0e10cSrcweir 0x4000, 0x0005, 0x6001, 0x8000, 2129cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2130cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 2131cdf0e10cSrcweir }; 2132cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCubeCalc[] = 2133cdf0e10cSrcweir { 2134cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2135cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } }, 2136cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, 0x400, 0 } }, 2137cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }, 2138cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, 2139cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } }, // 5 2140cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, // 6 2141cdf0e10cSrcweir { 0x6000, { 0x402, 0x406, 0 } }, // 7 2142cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } }, // 8 2143cdf0e10cSrcweir { 0x2001, { 0x408, 1, 2 } }, // 9 2144cdf0e10cSrcweir { 0x6000, { 0x401, 0x409, 0 } }, // 10 2145cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoRight, 0, 0 } }, // 11 2146cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoBottom, 0, 0 } } // 12 2147cdf0e10cSrcweir }; 2148cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCubeTextRect[] = 2149cdf0e10cSrcweir { 2150cdf0e10cSrcweir { { 0, 1 MSO_I }, { 4 MSO_I, 12 MSO_I } } 2151cdf0e10cSrcweir }; 2152cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCubeHandle[] = 2153cdf0e10cSrcweir { 2154cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 2155cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } 2156cdf0e10cSrcweir }; 2157cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeGluePoints[] = 2158cdf0e10cSrcweir { 2159cdf0e10cSrcweir { 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 } 2160cdf0e10cSrcweir }; 2161cdf0e10cSrcweir static const mso_CustomShape msoCube = 2162cdf0e10cSrcweir { 2163cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCubeVert, sizeof( mso_sptCubeVert ) / sizeof( SvxMSDffVertPair ), 2164cdf0e10cSrcweir (sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1, 2165cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCubeCalc, sizeof( mso_sptCubeCalc ) / sizeof( SvxMSDffCalculationData ), 2166cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 2167cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCubeTextRect, sizeof( mso_sptCubeTextRect ) / sizeof( SvxMSDffTextRectangles ), 2168cdf0e10cSrcweir 21600, 21600, 2169cdf0e10cSrcweir 10800, 10800, 2170cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCubeGluePoints, sizeof( mso_sptCubeGluePoints ) / sizeof( SvxMSDffVertPair ), 2171cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCubeHandle, sizeof( mso_sptCubeHandle ) / sizeof( SvxMSDffHandle ) 2172cdf0e10cSrcweir }; 2173cdf0e10cSrcweir 2174cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBevelVert[] = 2175cdf0e10cSrcweir { 2176cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2177cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I }, 2178cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I }, 2179cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2180cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I } 2181cdf0e10cSrcweir }; 2182cdf0e10cSrcweir static const sal_uInt16 mso_sptBevelSegm[] = 2183cdf0e10cSrcweir { 2184cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2185cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2186cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2187cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2188cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 2189cdf0e10cSrcweir }; 2190cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBevelCalc[] = 2191cdf0e10cSrcweir { 2192cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } }, 2193cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, 2194cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } 2195cdf0e10cSrcweir }; 2196cdf0e10cSrcweir 2197cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBevelTextRect[] = 2198cdf0e10cSrcweir { 2199cdf0e10cSrcweir { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } } 2200cdf0e10cSrcweir }; 2201cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBevelHandle[] = 2202cdf0e10cSrcweir { 2203cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 2204cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 2205cdf0e10cSrcweir }; 2206cdf0e10cSrcweir static const mso_CustomShape msoBevel = 2207cdf0e10cSrcweir { 2208cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBevelVert, sizeof( mso_sptBevelVert ) / sizeof( SvxMSDffVertPair ), 2209cdf0e10cSrcweir (sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1, 2210cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBevelCalc, sizeof( mso_sptBevelCalc ) / sizeof( SvxMSDffCalculationData ), 2211cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2700, 2212cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBevelTextRect, sizeof( mso_sptBevelTextRect ) / sizeof( SvxMSDffTextRectangles ), 2213cdf0e10cSrcweir 21600, 21600, 2214cdf0e10cSrcweir 10800, 10800, 2215cdf0e10cSrcweir NULL, 0, 2216cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBevelHandle, sizeof( mso_sptBevelHandle ) / sizeof( SvxMSDffHandle ) 2217cdf0e10cSrcweir }; 2218cdf0e10cSrcweir 2219cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFoldedCornerVert[] = // adjustment1 : x 10800 - 21600 2220cdf0e10cSrcweir { 2221cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 0 MSO_I, 21600 }, 2222cdf0e10cSrcweir { 0, 21600 }, { 0 MSO_I, 21600 }, { 3 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, 2223cdf0e10cSrcweir { 10 MSO_I, 11 MSO_I }, { 21600, 0 MSO_I } 2224cdf0e10cSrcweir }; 2225cdf0e10cSrcweir static const sal_uInt16 mso_sptFoldedCornerSegm[] = 2226cdf0e10cSrcweir { 2227cdf0e10cSrcweir 0x4000, 0x0004, 0x6001, 0x8000, 2228cdf0e10cSrcweir 0x4000, 0x0001, 0x2001, 0x6001, 0x8000 2229cdf0e10cSrcweir }; 2230cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFoldedCornerCalc[] = 2231cdf0e10cSrcweir { 2232cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2233cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, 2234cdf0e10cSrcweir { 0x2001, { 0x0401, 8000, 10800 } }, 2235cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0402 } }, 2236cdf0e10cSrcweir { 0x2001, { 0x0401, 1, 2 } }, 2237cdf0e10cSrcweir { 0x2001, { 0x0401, 1, 4 } }, 2238cdf0e10cSrcweir { 0x2001, { 0x0401, 1, 7 } }, 2239cdf0e10cSrcweir { 0x2001, { 0x0401, 1, 16 } }, 2240cdf0e10cSrcweir { 0x6000, { 0x0403, 0x405, 0 } }, 2241cdf0e10cSrcweir { 0x6000, { 0x0400, 0x406, 0 } }, 2242cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, 2243cdf0e10cSrcweir { 0x6000, { 0x400, 0x407, 0 } } 2244cdf0e10cSrcweir }; 2245cdf0e10cSrcweir static const sal_Int32 mso_sptFoldedCornerDefault[] = 2246cdf0e10cSrcweir { 2247cdf0e10cSrcweir 1, 18900 2248cdf0e10cSrcweir }; 2249cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] = 2250cdf0e10cSrcweir { 2251cdf0e10cSrcweir { { 0, 0 }, { 21600, 11 MSO_I } } 2252cdf0e10cSrcweir }; 2253cdf0e10cSrcweir static const SvxMSDffHandle mso_sptFoldedCornerHandle[] = 2254cdf0e10cSrcweir { 2255cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 2256cdf0e10cSrcweir 0x100, 1, 10800, 10800, 10800, 21600, 0x80000000, 0x7fffffff } 2257cdf0e10cSrcweir }; 2258cdf0e10cSrcweir static const mso_CustomShape msoFoldedCorner = 2259cdf0e10cSrcweir { 2260cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFoldedCornerVert, sizeof( mso_sptFoldedCornerVert ) / sizeof( SvxMSDffVertPair ), 2261cdf0e10cSrcweir (sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1, 2262cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, sizeof( mso_sptFoldedCornerCalc ) / sizeof( SvxMSDffCalculationData ), 2263cdf0e10cSrcweir (sal_Int32*)mso_sptFoldedCornerDefault, 2264cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, sizeof( mso_sptFoldedCornerTextRect ) / sizeof( SvxMSDffTextRectangles ), 2265cdf0e10cSrcweir 21600, 21600, 2266cdf0e10cSrcweir 0x80000000, 0x80000000, 2267cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 2268cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptFoldedCornerHandle, sizeof( mso_sptFoldedCornerHandle ) / sizeof( SvxMSDffHandle ) 2269cdf0e10cSrcweir }; 2270cdf0e10cSrcweir 2271cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBlankVert[] = 2272cdf0e10cSrcweir { 2273cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2274cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I }, 2275cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I }, 2276cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2277cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I } 2278cdf0e10cSrcweir }; 2279cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBlankSegm[] = 2280cdf0e10cSrcweir { 2281cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2282cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2283cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2284cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2285cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 2286cdf0e10cSrcweir }; 2287cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc[] = 2288cdf0e10cSrcweir { 2289cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } }, 2290cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, 2291cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } 2292cdf0e10cSrcweir }; 2293cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] = 2294cdf0e10cSrcweir { 2295cdf0e10cSrcweir { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } } 2296cdf0e10cSrcweir }; 2297cdf0e10cSrcweir static const SvxMSDffHandle mso_sptButtonHandle[] = 2298cdf0e10cSrcweir { 2299cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 2300cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff } 2301cdf0e10cSrcweir }; 2302cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBlank = 2303cdf0e10cSrcweir { 2304cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonBlankVert, sizeof( mso_sptActionButtonBlankVert ) / sizeof( SvxMSDffVertPair ), 2305cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1, 2306cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, sizeof( mso_sptActionButtonBlankCalc ) / sizeof( SvxMSDffCalculationData ), 2307cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2308cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, sizeof( mso_sptActionButtonBlankTextRect ) / sizeof( SvxMSDffTextRectangles ), 2309cdf0e10cSrcweir 21600, 21600, 2310cdf0e10cSrcweir 10800, 10800, 2311cdf0e10cSrcweir NULL, 0, 2312cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2313cdf0e10cSrcweir }; 2314cdf0e10cSrcweir 2315cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonTextRect[] = 2316cdf0e10cSrcweir { 2317cdf0e10cSrcweir { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } } 2318cdf0e10cSrcweir }; 2319cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHomeVert[] = 2320cdf0e10cSrcweir { 2321cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2322cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2323cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2324cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2325cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2326cdf0e10cSrcweir 2327cdf0e10cSrcweir { 7 MSO_I, 0xa MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, 2328cdf0e10cSrcweir { 0x12 MSO_I, 0x14 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0x1a MSO_I }, 2329cdf0e10cSrcweir { 0x1c MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1e MSO_I, 8 MSO_I }, 2330cdf0e10cSrcweir 2331cdf0e10cSrcweir { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },{ 0x12 MSO_I, 0x14 MSO_I }, 2332cdf0e10cSrcweir 2333cdf0e10cSrcweir { 0x20 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 0x1a MSO_I }, 2334cdf0e10cSrcweir { 0x18 MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x20 MSO_I, 0x1a MSO_I } 2335cdf0e10cSrcweir 2336cdf0e10cSrcweir }; 2337cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHomeSegm[] = 2338cdf0e10cSrcweir { 2339cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2340cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2341cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2342cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2343cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2344cdf0e10cSrcweir 0x4000, 0x000a, 0x6001, 0x8000, 2345cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2346cdf0e10cSrcweir 0x4000, 0x0007, 0x6001, 0x8000 2347cdf0e10cSrcweir }; 2348cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc[] = // adj value 0 - 5400 2349cdf0e10cSrcweir { 2350cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2351cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2352cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2353cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2354cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2355cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2356cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2357cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2358cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2359cdf0e10cSrcweir 2360cdf0e10cSrcweir { 0x4001, { -8000, 0x0406, 1 } }, // 9 2361cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0408, 0 } }, // a 2362cdf0e10cSrcweir { 0x4001, { 2960, 0x0406, 1 } }, // b 2363cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0407, 0 } }, // c 2364cdf0e10cSrcweir { 0x4001, { -5000, 0x0406, 1 } }, // d 2365cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0408, 0 } }, // e 2366cdf0e10cSrcweir { 0x4001, { -7000, 0x0406, 1 } }, // f 2367cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 2368cdf0e10cSrcweir { 0x4001, { 5000, 0x0406, 1 } }, // 11 2369cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 2370cdf0e10cSrcweir { 0x4001, { -2960, 0x0406, 1 } }, // 13 2371cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 2372cdf0e10cSrcweir { 0x4001, { 8000, 0x0406, 1 } }, // 15 2373cdf0e10cSrcweir { 0x6000, { 0x0415,0x0407, 0 } }, // 16 2374cdf0e10cSrcweir { 0x4001, { 6100, 0x0406, 1 } }, // 17 2375cdf0e10cSrcweir { 0x6000, { 0x0417,0x0407, 0 } }, // 18 2376cdf0e10cSrcweir { 0x4001, { 8260, 0x0406, 1 } }, // 19 2377cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a 2378cdf0e10cSrcweir { 0x4001, { -6100, 0x0406, 1 } }, // 1b 2379cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c 2380cdf0e10cSrcweir { 0x4001, { -8000, 0x0406, 1 } }, // 1d 2381cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e 2382cdf0e10cSrcweir { 0x4001, { -1060, 0x0406, 1 } }, // 1f 2383cdf0e10cSrcweir { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 2384cdf0e10cSrcweir { 0x4001, { 1060, 0x0406, 1 } }, // 21 2385cdf0e10cSrcweir { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 2386cdf0e10cSrcweir { 0x4001, { 4020, 0x0406, 1 } }, // 23 2387cdf0e10cSrcweir { 0x6000, { 0x0423, 0x0408, 0 } } // 24 2388cdf0e10cSrcweir 2389cdf0e10cSrcweir }; 2390cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHome = 2391cdf0e10cSrcweir { 2392cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonHomeVert, sizeof( mso_sptActionButtonHomeVert ) / sizeof( SvxMSDffVertPair ), 2393cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1, 2394cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, sizeof( mso_sptActionButtonHomeCalc ) / sizeof( SvxMSDffCalculationData ), 2395cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2396cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2397cdf0e10cSrcweir 21600, 21600, 2398cdf0e10cSrcweir 10800, 10800, 2399cdf0e10cSrcweir NULL, 0, 2400cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2401cdf0e10cSrcweir }; 2402cdf0e10cSrcweir 2403cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHelpVert[] = 2404cdf0e10cSrcweir { 2405cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2406cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2407cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2408cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2409cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I,4 MSO_I }, 2410cdf0e10cSrcweir { 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 }, 2411cdf0e10cSrcweir { 0x12 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x16 MSO_I }, // pp 2412cdf0e10cSrcweir { 0x12 MSO_I, 0x18 MSO_I }, { 0x1a MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, // ccp 2413cdf0e10cSrcweir { 0x1e MSO_I, 8 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I }, // ccp 2414cdf0e10cSrcweir { 0x20 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I }, // ccp 2415cdf0e10cSrcweir { 0x2c MSO_I, 0x2a MSO_I }, { 0x2e MSO_I, 0x26 MSO_I }, { 0x2e MSO_I, 0x24 MSO_I }, // ccp 2416cdf0e10cSrcweir { 0x30 MSO_I, 0x24 MSO_I }, { 0x30 MSO_I, 0x32 MSO_I }, { 0x34 MSO_I, 0x36 MSO_I }, // ccp 2417cdf0e10cSrcweir { 7 MSO_I, 0x36 MSO_I }, // p 2418cdf0e10cSrcweir { 0x12 MSO_I, 0x36 MSO_I }, { 0x1c MSO_I, 0x32 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I }, // ccp 2419cdf0e10cSrcweir { 0x1c MSO_I, 0x38 MSO_I }, { 0x3a MSO_I, 0x3c MSO_I }, { 0x12 MSO_I, 0x3c MSO_I }, // ccp 2420cdf0e10cSrcweir { 7 MSO_I, 0x3c MSO_I }, { 0x34 MSO_I, 8 MSO_I }, { 0x34 MSO_I, 0x16 MSO_I }, // ccp 2421cdf0e10cSrcweir { 0x34 MSO_I, 0x14 MSO_I } 2422cdf0e10cSrcweir }; 2423cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHelpSegm[] = 2424cdf0e10cSrcweir { 2425cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2426cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2427cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2428cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2429cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2430cdf0e10cSrcweir 0x4000, 0xa704, 0x6000, 0x8000, 2431cdf0e10cSrcweir 0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000 2432cdf0e10cSrcweir }; 2433cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc[] = // adj value 0 - 5400 2434cdf0e10cSrcweir { 2435cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2436cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2437cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2438cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2439cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2440cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2441cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2442cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2443cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2444cdf0e10cSrcweir 2445cdf0e10cSrcweir { 0x4001, { -1690, 0x0406, 1 } }, // 9 2446cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2447cdf0e10cSrcweir { 0x4001, { 4600, 0x0406, 1 } }, // b 2448cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2449cdf0e10cSrcweir { 0x4001, { 1690, 0x0406, 1 } }, // d 2450cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2451cdf0e10cSrcweir { 0x4001, { 7980, 0x0406, 1 } }, // f 2452cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 2453cdf0e10cSrcweir { 0x4001, { 1270, 0x0406, 1 } }, // 11 2454cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 2455cdf0e10cSrcweir { 0x4001, { 4000, 0x0406, 1 } }, // 13 2456cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 2457cdf0e10cSrcweir { 0x4001, { 1750, 0x0406, 1 } }, // 15 2458cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 2459cdf0e10cSrcweir { 0x4001, { 800, 0x0406, 1 } }, // 17 2460cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 2461cdf0e10cSrcweir { 0x4001, { 1650, 0x0406, 1 } }, // 19 2462cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a 2463cdf0e10cSrcweir { 0x4001, { 2340, 0x0406, 1 } }, // 1b 2464cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c 2465cdf0e10cSrcweir { 0x4001, { 3640, 0x0406, 1 } }, // 1d 2466cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e 2467cdf0e10cSrcweir { 0x4001, { 4670, 0x0406, 1 } }, // 1f 2468cdf0e10cSrcweir { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 2469cdf0e10cSrcweir { 0x4001, { -1570, 0x0406, 1 } }, // 21 2470cdf0e10cSrcweir { 0x6000, { 0x0421, 0x0408, 0 } }, // 22 2471cdf0e10cSrcweir { 0x4001, { -3390, 0x0406, 1 } }, // 23 2472cdf0e10cSrcweir { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 2473cdf0e10cSrcweir { 0x4001, { -6050, 0x0406, 1 } }, // 25 2474cdf0e10cSrcweir { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 2475cdf0e10cSrcweir { 0x4001, { 2540, 0x0406, 1 } }, // 27 2476cdf0e10cSrcweir { 0x6000, { 0x0427, 0x0407, 0 } }, // 28 2477cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 29 2478cdf0e10cSrcweir { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a 2479cdf0e10cSrcweir { 0x4001, { -2540, 0x0406, 1 } }, // 2b 2480cdf0e10cSrcweir { 0x6000, { 0x042b, 0x0407, 0 } }, // 2c 2481cdf0e10cSrcweir { 0x4001, { -4460, 0x0406, 1 } }, // 2d 2482cdf0e10cSrcweir { 0x6000, { 0x042d, 0x0407, 0 } }, // 2e 2483cdf0e10cSrcweir { 0x4001, { -2330, 0x0406, 1 } }, // 2f 2484cdf0e10cSrcweir { 0x6000, { 0x042f, 0x0407, 0 } }, // 30 2485cdf0e10cSrcweir { 0x4001, { -4700, 0x0406, 1 } }, // 31 2486cdf0e10cSrcweir { 0x6000, { 0x0431, 0x0408, 0 } }, // 32 2487cdf0e10cSrcweir { 0x4001, { -1270, 0x0406, 1 } }, // 33 2488cdf0e10cSrcweir { 0x6000, { 0x0433, 0x0407, 0 } }, // 34 2489cdf0e10cSrcweir { 0x4001, { -5720, 0x0406, 1 } }, // 35 2490cdf0e10cSrcweir { 0x6000, { 0x0435, 0x0408, 0 } }, // 36 2491cdf0e10cSrcweir { 0x4001, { -2540, 0x0406, 1 } }, // 37 2492cdf0e10cSrcweir { 0x6000, { 0x0437, 0x0408, 0 } }, // 38 2493cdf0e10cSrcweir { 0x4001, { 1800, 0x0406, 1 } }, // 39 2494cdf0e10cSrcweir { 0x6000, { 0x0439, 0x0407, 0 } }, // 3a 2495cdf0e10cSrcweir { 0x4001, { -1700, 0x0406, 1 } }, // 3b 2496cdf0e10cSrcweir { 0x6000, { 0x043b, 0x0408, 0 } }, // 3c 2497cdf0e10cSrcweir { 0x4001, { 6290, 0x0406, 1 } }, // 3d 2498cdf0e10cSrcweir { 0x6000, { 0x043d, 0x0408, 0 } } // 3e 2499cdf0e10cSrcweir }; 2500cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHelp = 2501cdf0e10cSrcweir { 2502cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonHelpVert, sizeof( mso_sptActionButtonHelpVert ) / sizeof( SvxMSDffVertPair ), 2503cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1, 2504cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, sizeof( mso_sptActionButtonHelpCalc ) / sizeof( SvxMSDffCalculationData ), 2505cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2506cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2507cdf0e10cSrcweir 21600, 21600, 2508cdf0e10cSrcweir 10800, 10800, 2509cdf0e10cSrcweir NULL, 0, 2510cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2511cdf0e10cSrcweir }; 2512cdf0e10cSrcweir 2513cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonInformationVert[] = 2514cdf0e10cSrcweir { 2515cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2516cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2517cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2518cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2519cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2520cdf0e10cSrcweir { 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 }, 2521cdf0e10cSrcweir { 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 }, 2522cdf0e10cSrcweir { 0x1a MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x20 MSO_I }, 2523cdf0e10cSrcweir { 0x22 MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x20 MSO_I }, 2524cdf0e10cSrcweir { 0x26 MSO_I, 0x28 MSO_I }, { 0x1a MSO_I, 0x28 MSO_I } 2525cdf0e10cSrcweir }; 2526cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonInformationSegm[] = 2527cdf0e10cSrcweir { 2528cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2529cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2530cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2531cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2532cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2533cdf0e10cSrcweir 0x4000, 0xa704, 0x6000, 0x8000, 2534cdf0e10cSrcweir 0x4000, 0xa704, 0x6000, 0x8000, 2535cdf0e10cSrcweir 0x4000, 0x0009, 0x6001, 0x8000 2536cdf0e10cSrcweir }; 2537cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc[] = // adj value 0 - 5400 2538cdf0e10cSrcweir { 2539cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2540cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2541cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2542cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2543cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2544cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2545cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2546cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2547cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2548cdf0e10cSrcweir 2549cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 9 2550cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2551cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // b 2552cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2553cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // d 2554cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2555cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // f 2556cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 2557cdf0e10cSrcweir 2558cdf0e10cSrcweir { 0x4001, { -2060, 0x0406, 1 } }, // 11 2559cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 2560cdf0e10cSrcweir { 0x4001, { -7620, 0x0406, 1 } }, // 13 2561cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 2562cdf0e10cSrcweir { 0x4001, { 2060, 0x0406, 1 } }, // 15 2563cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 2564cdf0e10cSrcweir { 0x4001, { -3500, 0x0406, 1 } }, // 17 2565cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 2566cdf0e10cSrcweir 2567cdf0e10cSrcweir { 0x4001, { -2960, 0x0406, 1 } }, // 19 2568cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a 2569cdf0e10cSrcweir { 0x4001, { -2960, 0x0406, 1 } }, // 1b 2570cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c 2571cdf0e10cSrcweir { 0x4001, { 1480, 0x0406, 1 } }, // 1d 2572cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e 2573cdf0e10cSrcweir { 0x4001, { 5080, 0x0406, 1 } }, // 1f 2574cdf0e10cSrcweir { 0x6000, { 0x041f, 0x0408, 0 } }, // 20 2575cdf0e10cSrcweir { 0x4001, { 2960, 0x0406, 1 } }, // 21 2576cdf0e10cSrcweir { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 2577cdf0e10cSrcweir { 0x4001, { 6140, 0x0406, 1 } }, // 23 2578cdf0e10cSrcweir { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 2579cdf0e10cSrcweir { 0x4001, { -1480, 0x0406, 1 } }, // 25 2580cdf0e10cSrcweir { 0x6000, { 0x0425, 0x0407, 0 } }, // 26 2581cdf0e10cSrcweir { 0x4001, { -1920, 0x0406, 1 } }, // 27 2582cdf0e10cSrcweir { 0x6000, { 0x0427, 0x0408, 0 } }, // 28 2583cdf0e10cSrcweir 2584cdf0e10cSrcweir { 0x4001, { -5560, 0x0406, 1 } }, // 29 2585cdf0e10cSrcweir { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a 2586cdf0e10cSrcweir 2587cdf0e10cSrcweir }; 2588cdf0e10cSrcweir static const mso_CustomShape msoActionButtonInformation = 2589cdf0e10cSrcweir { 2590cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonInformationVert, sizeof( mso_sptActionButtonInformationVert ) / sizeof( SvxMSDffVertPair ), 2591cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1, 2592cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, sizeof( mso_sptActionButtonInformationCalc ) / sizeof( SvxMSDffCalculationData ), 2593cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2594cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2595cdf0e10cSrcweir 21600, 21600, 2596cdf0e10cSrcweir 10800, 10800, 2597cdf0e10cSrcweir NULL, 0, 2598cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2599cdf0e10cSrcweir }; 2600cdf0e10cSrcweir 2601cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert[] = 2602cdf0e10cSrcweir { 2603cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2604cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2605cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2606cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I,4 MSO_I }, 2607cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2608cdf0e10cSrcweir 2609cdf0e10cSrcweir { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I } 2610cdf0e10cSrcweir }; 2611cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonForwardBackSegm[] = 2612cdf0e10cSrcweir { 2613cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2614cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2615cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2616cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2617cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2618cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000 2619cdf0e10cSrcweir }; 2620cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc[] = // adj value 0 - 5400 2621cdf0e10cSrcweir { 2622cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2623cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2624cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2625cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2626cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2627cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2628cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2629cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2630cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2631cdf0e10cSrcweir 2632cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 9 2633cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2634cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // b 2635cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2636cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // d 2637cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2638cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // f 2639cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } } // 10 2640cdf0e10cSrcweir }; 2641cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBackPrevious = 2642cdf0e10cSrcweir { 2643cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonBackPreviousVert, sizeof( mso_sptActionButtonBackPreviousVert ) / sizeof( SvxMSDffVertPair ), 2644cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, 2645cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ), 2646cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2647cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2648cdf0e10cSrcweir 21600, 21600, 2649cdf0e10cSrcweir 10800, 10800, 2650cdf0e10cSrcweir NULL, 0, 2651cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2652cdf0e10cSrcweir }; 2653cdf0e10cSrcweir 2654cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert[] = 2655cdf0e10cSrcweir { 2656cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2657cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2658cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2659cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2660cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2661cdf0e10cSrcweir 2662cdf0e10cSrcweir { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0xa MSO_I, 0x10 MSO_I } 2663cdf0e10cSrcweir }; 2664cdf0e10cSrcweir static const mso_CustomShape msoActionButtonForwardNext = 2665cdf0e10cSrcweir { 2666cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonForwardNextVert, sizeof( mso_sptActionButtonForwardNextVert ) / sizeof( SvxMSDffVertPair ), 2667cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, 2668cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ), 2669cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2670cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2671cdf0e10cSrcweir 21600, 21600, 2672cdf0e10cSrcweir 10800, 10800, 2673cdf0e10cSrcweir NULL, 0, 2674cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2675cdf0e10cSrcweir }; 2676cdf0e10cSrcweir 2677cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBeginningVert[] = 2678cdf0e10cSrcweir { 2679cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2680cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2681cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2682cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2683cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2684cdf0e10cSrcweir 2685cdf0e10cSrcweir { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I }, 2686cdf0e10cSrcweir { 0x14 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I } 2687cdf0e10cSrcweir }; 2688cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBeginningEndSegm[] = 2689cdf0e10cSrcweir { 2690cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2691cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2692cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2693cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2694cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2695cdf0e10cSrcweir 2696cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 2697cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000 2698cdf0e10cSrcweir }; 2699cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc[] = // adj value 0 - 5400 2700cdf0e10cSrcweir { 2701cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2702cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2703cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2704cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2705cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2706cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2707cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2708cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2709cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2710cdf0e10cSrcweir 2711cdf0e10cSrcweir { 0x4001, { -4020, 0x0406, 1 } }, // 9 2712cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2713cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // b 2714cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2715cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // d 2716cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2717cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // f 2718cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 2719cdf0e10cSrcweir 2720cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 11 2721cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 2722cdf0e10cSrcweir { 0x4001, { -6140, 0x0406, 1 } }, // 13 2723cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 2724cdf0e10cSrcweir 2725cdf0e10cSrcweir 2726cdf0e10cSrcweir { 0x4001, { 4020, 0x0406, 1 } }, // 15 2727cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 2728cdf0e10cSrcweir { 0x4001, { 6140, 0x0406, 1 } }, // 17 2729cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0407, 0 } } // 18 2730cdf0e10cSrcweir }; 2731cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBeginning = 2732cdf0e10cSrcweir { 2733cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonBeginningVert, sizeof( mso_sptActionButtonBeginningVert ) / sizeof( SvxMSDffVertPair ), 2734cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, 2735cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ), 2736cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2737cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2738cdf0e10cSrcweir 21600, 21600, 2739cdf0e10cSrcweir 10800, 10800, 2740cdf0e10cSrcweir NULL, 0, 2741cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2742cdf0e10cSrcweir }; 2743cdf0e10cSrcweir 2744cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonEndVert[] = 2745cdf0e10cSrcweir { 2746cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2747cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2748cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2749cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2750cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2751cdf0e10cSrcweir 2752cdf0e10cSrcweir { 0x16 MSO_I, 8 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I }, 2753cdf0e10cSrcweir 2754cdf0e10cSrcweir { 0x18 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0xc MSO_I } 2755cdf0e10cSrcweir }; 2756cdf0e10cSrcweir static const mso_CustomShape msoActionButtonEnd = 2757cdf0e10cSrcweir { 2758cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonEndVert, sizeof( mso_sptActionButtonEndVert ) / sizeof( SvxMSDffVertPair ), 2759cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, 2760cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ), 2761cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2762cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2763cdf0e10cSrcweir 21600, 21600, 2764cdf0e10cSrcweir 10800, 10800, 2765cdf0e10cSrcweir NULL, 0, 2766cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2767cdf0e10cSrcweir }; 2768cdf0e10cSrcweir 2769cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonReturnVert[] = 2770cdf0e10cSrcweir { 2771cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2772cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2773cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2774cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2775cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2776cdf0e10cSrcweir 2777cdf0e10cSrcweir { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, // ppp 2778cdf0e10cSrcweir { 0xe MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 0x16 MSO_I }, // ccp 2779cdf0e10cSrcweir { 7 MSO_I, 0x16 MSO_I }, // p 2780cdf0e10cSrcweir { 0x1a MSO_I, 0x16 MSO_I }, { 0x1c MSO_I, 0x12 MSO_I }, { 0x1c MSO_I, 0x10 MSO_I }, // ccp 2781cdf0e10cSrcweir { 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 2782cdf0e10cSrcweir { 0x24 MSO_I, 0xc MSO_I }, { 0x24 MSO_I, 0x10 MSO_I }, // pp 2783cdf0e10cSrcweir { 0x24 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I }, // ccp 2784cdf0e10cSrcweir { 0x18 MSO_I, 0x2a MSO_I }, // p 2785cdf0e10cSrcweir { 0x2c MSO_I, 0x2a MSO_I }, { 0xa MSO_I, 0x26 MSO_I }, { 0xa MSO_I, 0x10 MSO_I } // ccp 2786cdf0e10cSrcweir }; 2787cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonReturnSegm[] = 2788cdf0e10cSrcweir { 2789cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2790cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2791cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2792cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2793cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2794cdf0e10cSrcweir 0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000 2795cdf0e10cSrcweir }; 2796cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc[] = // adj value 0 - 5400 2797cdf0e10cSrcweir { 2798cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2799cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2800cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2801cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2802cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2803cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2804cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2805cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2806cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2807cdf0e10cSrcweir 2808cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 9 2809cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2810cdf0e10cSrcweir { 0x4001, { -3800, 0x0406, 1 } }, // b 2811cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2812cdf0e10cSrcweir { 0x4001, { -4020, 0x0406, 1 } }, // d 2813cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2814cdf0e10cSrcweir { 0x4001, { 2330, 0x0406, 1 } }, // f 2815cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 2816cdf0e10cSrcweir { 0x4001, { 3390, 0x0406, 1 } }, // 11 2817cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 2818cdf0e10cSrcweir { 0x4001, { -3100, 0x0406, 1 } }, // 13 2819cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 2820cdf0e10cSrcweir { 0x4001, { 4230, 0x0406, 1 } }, // 15 2821cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 2822cdf0e10cSrcweir { 0x4001, { -1910, 0x0406, 1 } }, // 17 2823cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0407, 0 } }, // 18 2824cdf0e10cSrcweir { 0x4001, { 1190, 0x0406, 1 } }, // 19 2825cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a 2826cdf0e10cSrcweir { 0x4001, { 2110, 0x0406, 1 } }, // 1b 2827cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c 2828cdf0e10cSrcweir { 0x4001, { 4030, 0x0406, 1 } }, // 1d 2829cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e 2830cdf0e10cSrcweir { 0x4001, { -7830, 0x0406, 1 } }, // 1f 2831cdf0e10cSrcweir { 0x6000, { 0x041f, 0x0408, 0 } }, // 20 2832cdf0e10cSrcweir { 0x4001, { 8250, 0x0406, 1 } }, // 21 2833cdf0e10cSrcweir { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 2834cdf0e10cSrcweir { 0x4001, { 6140, 0x0406, 1 } }, // 23 2835cdf0e10cSrcweir { 0x6000, { 0x0423, 0x0407, 0 } }, // 24 2836cdf0e10cSrcweir { 0x4001, { 5510, 0x0406, 1 } }, // 25 2837cdf0e10cSrcweir { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 2838cdf0e10cSrcweir { 0x4001, { 3180, 0x0406, 1 } }, // 27 2839cdf0e10cSrcweir { 0x6000, { 0x0427, 0x0407, 0 } }, // 28 2840cdf0e10cSrcweir { 0x4001, { 8450, 0x0406, 1 } }, // 29 2841cdf0e10cSrcweir { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a 2842cdf0e10cSrcweir { 0x4001, { -5090, 0x0406, 1 } }, // 2b 2843cdf0e10cSrcweir { 0x6000, { 0x042b, 0x0407, 0 } } // 2c 2844cdf0e10cSrcweir }; 2845cdf0e10cSrcweir static const mso_CustomShape msoActionButtonReturn = 2846cdf0e10cSrcweir { 2847cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonReturnVert, sizeof( mso_sptActionButtonReturnVert ) / sizeof( SvxMSDffVertPair ), 2848cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1, 2849cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, sizeof( mso_sptActionButtonReturnCalc ) / sizeof( SvxMSDffCalculationData ), 2850cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2851cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2852cdf0e10cSrcweir 21600, 21600, 2853cdf0e10cSrcweir 10800, 10800, 2854cdf0e10cSrcweir NULL, 0, 2855cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2856cdf0e10cSrcweir }; 2857cdf0e10cSrcweir 2858cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonDocumentVert[] = 2859cdf0e10cSrcweir { 2860cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2861cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2862cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2863cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2864cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2865cdf0e10cSrcweir 2866cdf0e10cSrcweir { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I }, 2867cdf0e10cSrcweir { 0xa MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0xe MSO_I, 0x12 MSO_I } 2868cdf0e10cSrcweir }; 2869cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonDocumentSegm[] = 2870cdf0e10cSrcweir { 2871cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2872cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2873cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2874cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2875cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2876cdf0e10cSrcweir 2877cdf0e10cSrcweir 0x4000, 0x0004, 0x6001, 0x8000, 2878cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000 2879cdf0e10cSrcweir }; 2880cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc[] = // adj value 0 - 5400 2881cdf0e10cSrcweir { 2882cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2883cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2884cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2885cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2886cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2887cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2888cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2889cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2890cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2891cdf0e10cSrcweir 2892cdf0e10cSrcweir { 0x4001, { -6350, 0x0406, 1 } }, // 9 2893cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2894cdf0e10cSrcweir { 0x4001, { -7830, 0x0406, 1 } }, // b 2895cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2896cdf0e10cSrcweir { 0x4001, { 1690, 0x0406, 1 } }, // d 2897cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2898cdf0e10cSrcweir { 0x4001, { 6350, 0x0406, 1 } }, // f 2899cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 2900cdf0e10cSrcweir { 0x4001, { -3810, 0x0406, 1 } }, // 11 2901cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 2902cdf0e10cSrcweir { 0x4001, { 7830, 0x0406, 1 } }, // 13 2903cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0408, 0 } } // 14 2904cdf0e10cSrcweir }; 2905cdf0e10cSrcweir static const mso_CustomShape msoActionButtonDocument = 2906cdf0e10cSrcweir { 2907cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonDocumentVert, sizeof( mso_sptActionButtonDocumentVert ) / sizeof( SvxMSDffVertPair ), 2908cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1, 2909cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, sizeof( mso_sptActionButtonDocumentCalc ) / sizeof( SvxMSDffCalculationData ), 2910cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2911cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2912cdf0e10cSrcweir 21600, 21600, 2913cdf0e10cSrcweir 10800, 10800, 2914cdf0e10cSrcweir NULL, 0, 2915cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2916cdf0e10cSrcweir }; 2917cdf0e10cSrcweir 2918cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonSoundVert[] = 2919cdf0e10cSrcweir { 2920cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2921cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2922cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2923cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 2924cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 2925cdf0e10cSrcweir 2926cdf0e10cSrcweir { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I }, 2927cdf0e10cSrcweir { 0xe MSO_I, 0x16 MSO_I }, { 0xa MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1a MSO_I, 8 MSO_I }, 2928cdf0e10cSrcweir 2929cdf0e10cSrcweir { 0x18 MSO_I, 0xc MSO_I }, { 0x1a MSO_I, 0x1c MSO_I }, 2930cdf0e10cSrcweir 2931cdf0e10cSrcweir { 0x18 MSO_I, 0x16 MSO_I }, { 0x1a MSO_I, 0x1e MSO_I } 2932cdf0e10cSrcweir }; 2933cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonSoundSegm[] = 2934cdf0e10cSrcweir { 2935cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2936cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2937cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2938cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2939cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 2940cdf0e10cSrcweir 2941cdf0e10cSrcweir 0x4000, 0x0005, 0x6001, 0x8000, 2942cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 2943cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 2944cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 2945cdf0e10cSrcweir }; 2946cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc[] = // adj value 0 - 5400 2947cdf0e10cSrcweir { 2948cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 2949cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 2950cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 2951cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 2952cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 2953cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 2954cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 2955cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 2956cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 2957cdf0e10cSrcweir 2958cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 9 2959cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 2960cdf0e10cSrcweir { 0x4001, { -2750, 0x0406, 1 } }, // b 2961cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 2962cdf0e10cSrcweir { 0x4001, { -2960, 0x0406, 1 } }, // d 2963cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 2964cdf0e10cSrcweir { 0x4001, { 2120, 0x0406, 1 } }, // f 2965cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 2966cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 11 2967cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 2968cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // 13 2969cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 2970cdf0e10cSrcweir { 0x4001, { 2750, 0x0406, 1 } }, // 15 2971cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 2972cdf0e10cSrcweir { 0x4001, { 4020, 0x0406, 1 } }, // 17 2973cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0407, 0 } }, // 18 2974cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // 19 2975cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a 2976cdf0e10cSrcweir { 0x4001, { -5930, 0x0406, 1 } }, // 1b 2977cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c 2978cdf0e10cSrcweir { 0x4001, { 5930, 0x0406, 1 } }, // 1d 2979cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0408, 0 } } // 1e 2980cdf0e10cSrcweir }; 2981cdf0e10cSrcweir static const mso_CustomShape msoActionButtonSound = 2982cdf0e10cSrcweir { 2983cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonSoundVert, sizeof( mso_sptActionButtonSoundVert ) / sizeof( SvxMSDffVertPair ), 2984cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1, 2985cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, sizeof( mso_sptActionButtonSoundCalc ) / sizeof( SvxMSDffCalculationData ), 2986cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 2987cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 2988cdf0e10cSrcweir 21600, 21600, 2989cdf0e10cSrcweir 10800, 10800, 2990cdf0e10cSrcweir NULL, 0, 2991cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 2992cdf0e10cSrcweir }; 2993cdf0e10cSrcweir 2994cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonMovieVert[] = 2995cdf0e10cSrcweir { 2996cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 2997cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, 2998cdf0e10cSrcweir { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, 2999cdf0e10cSrcweir { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 3000cdf0e10cSrcweir { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, 3001cdf0e10cSrcweir 3002cdf0e10cSrcweir { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x12 MSO_I }, 3003cdf0e10cSrcweir { 0x16 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1e MSO_I, 0x18 MSO_I }, 3004cdf0e10cSrcweir { 0x20 MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x1e MSO_I, 0x22 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I }, 3005cdf0e10cSrcweir { 0x16 MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x28 MSO_I }, 3006cdf0e10cSrcweir { 0x10 MSO_I, 0x28 MSO_I }, { 0xe MSO_I, 0x2c MSO_I }, { 0xa MSO_I, 0x2c MSO_I } 3007cdf0e10cSrcweir }; 3008cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonMovieSegm[] = 3009cdf0e10cSrcweir { 3010cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 3011cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 3012cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 3013cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 3014cdf0e10cSrcweir 0x4000, 0x0003, 0x6001, 0x8000, 3015cdf0e10cSrcweir 0x4000, 0x0012, 0x6001, 0x8000 3016cdf0e10cSrcweir }; 3017cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc[] = // adj value 0 - 5400 3018cdf0e10cSrcweir { 3019cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 3020cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 3021cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 3022cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 3023cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 3024cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, 3025cdf0e10cSrcweir { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 3026cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 3027cdf0e10cSrcweir { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 3028cdf0e10cSrcweir 3029cdf0e10cSrcweir { 0x4001, { -8050, 0x0406, 1 } }, // 9 3030cdf0e10cSrcweir { 0x6000, { 0x0409, 0x0407, 0 } }, // a 3031cdf0e10cSrcweir { 0x4001, { -4020, 0x0406, 1 } }, // b 3032cdf0e10cSrcweir { 0x6000, { 0x040b, 0x0408, 0 } }, // c 3033cdf0e10cSrcweir { 0x4001, { -7000, 0x0406, 1 } }, // d 3034cdf0e10cSrcweir { 0x6000, { 0x040d, 0x0407, 0 } }, // e 3035cdf0e10cSrcweir { 0x4001, { -6560, 0x0406, 1 } }, // f 3036cdf0e10cSrcweir { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 3037cdf0e10cSrcweir { 0x4001, { -3600, 0x0406, 1 } }, // 11 3038cdf0e10cSrcweir { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 3039cdf0e10cSrcweir { 0x4001, { 4020, 0x0406, 1 } }, // 13 3040cdf0e10cSrcweir { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 3041cdf0e10cSrcweir { 0x4001, { 4660, 0x0406, 1 } }, // 15 3042cdf0e10cSrcweir { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 3043cdf0e10cSrcweir { 0x4001, { -2960, 0x0406, 1 } }, // 17 3044cdf0e10cSrcweir { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 3045cdf0e10cSrcweir { 0x4001, { -2330, 0x0406, 1 } }, // 19 3046cdf0e10cSrcweir { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a 3047cdf0e10cSrcweir { 0x4001, { 6780, 0x0406, 1 } }, // 1b 3048cdf0e10cSrcweir { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c 3049cdf0e10cSrcweir { 0x4001, { 7200, 0x0406, 1 } }, // 1d 3050cdf0e10cSrcweir { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e 3051cdf0e10cSrcweir { 0x4001, { 8050, 0x0406, 1 } }, // 1f 3052cdf0e10cSrcweir { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 3053cdf0e10cSrcweir { 0x4001, { 2960, 0x0406, 1 } }, // 21 3054cdf0e10cSrcweir { 0x6000, { 0x0421, 0x0408, 0 } }, // 22 3055cdf0e10cSrcweir { 0x4001, { 2330, 0x0406, 1 } }, // 23 3056cdf0e10cSrcweir { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 3057cdf0e10cSrcweir { 0x4001, { 3800, 0x0406, 1 } }, // 25 3058cdf0e10cSrcweir { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 3059cdf0e10cSrcweir { 0x4001, { -1060, 0x0406, 1 } }, // 27 3060cdf0e10cSrcweir { 0x6000, { 0x0427, 0x0408, 0 } }, // 28 3061cdf0e10cSrcweir { 0x4001, { -6350, 0x0406, 1 } }, // 29 3062cdf0e10cSrcweir { 0x6000, { 0x0429, 0x0407, 0 } }, // 2a 3063cdf0e10cSrcweir { 0x4001, { -640, 0x0406, 1 } }, // 2b 3064cdf0e10cSrcweir { 0x6000, { 0x042b, 0x0408, 0 } } // 2c 3065cdf0e10cSrcweir }; 3066cdf0e10cSrcweir static const mso_CustomShape msoActionButtonMovie = 3067cdf0e10cSrcweir { 3068cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptActionButtonMovieVert, sizeof( mso_sptActionButtonMovieVert ) / sizeof( SvxMSDffVertPair ), 3069cdf0e10cSrcweir (sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1, 3070cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, sizeof( mso_sptActionButtonMovieCalc ) / sizeof( SvxMSDffCalculationData ), 3071cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1400, 3072cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 3073cdf0e10cSrcweir 21600, 21600, 3074cdf0e10cSrcweir 10800, 10800, 3075cdf0e10cSrcweir NULL, 0, 3076cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) 3077cdf0e10cSrcweir }; 3078cdf0e10cSrcweir 3079cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSmileyFaceVert[] = // adj value 15510 - 17520 3080cdf0e10cSrcweir { 3081cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, 3082cdf0e10cSrcweir { 7305, 7515 }, { 1165, 1165 }, { 0, 360 }, 3083cdf0e10cSrcweir { 14295, 7515 }, { 1165, 1165 }, { 0, 360 }, 3084cdf0e10cSrcweir { 4870, 1 MSO_I }, { 8680, 2 MSO_I }, { 12920, 2 MSO_I }, { 16730, 1 MSO_I } 3085cdf0e10cSrcweir }; 3086cdf0e10cSrcweir static const sal_uInt16 mso_sptSmileyFaceSegm[] = 3087cdf0e10cSrcweir { 3088cdf0e10cSrcweir 0xa203, 0x6000, 0x8000, 3089cdf0e10cSrcweir 0xa203, 0x6000, 0x8000, 3090cdf0e10cSrcweir 0xa203, 0x6000, 0x8000, 3091cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000 3092cdf0e10cSrcweir }; 3093cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSmileyFaceCalc[] = 3094cdf0e10cSrcweir { 3095cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 15510 } }, 3096cdf0e10cSrcweir { 0x8000, { 17520, 0, 0x400 } }, 3097cdf0e10cSrcweir { 0x4000, { 15510, 0x400, 0 } } 3098cdf0e10cSrcweir }; 3099cdf0e10cSrcweir 3100cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect[] = 3101cdf0e10cSrcweir { 3102cdf0e10cSrcweir { { 0, 1 MSO_I }, { 4 MSO_I, 21600 } } 3103cdf0e10cSrcweir }; 3104cdf0e10cSrcweir static const sal_Int32 mso_sptSmileyFaceDefault[] = 3105cdf0e10cSrcweir { 3106cdf0e10cSrcweir 1, 17520 3107cdf0e10cSrcweir }; 3108cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSmileyHandle[] = 3109cdf0e10cSrcweir { 3110cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3111cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 15510, 17520 } 3112cdf0e10cSrcweir }; 3113cdf0e10cSrcweir static const mso_CustomShape msoSmileyFace = 3114cdf0e10cSrcweir { 3115cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSmileyFaceVert, sizeof( mso_sptSmileyFaceVert ) / sizeof( SvxMSDffVertPair ), 3116cdf0e10cSrcweir (sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1, 3117cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, sizeof( mso_sptSmileyFaceCalc ) / sizeof( SvxMSDffCalculationData ), 3118cdf0e10cSrcweir (sal_Int32*)mso_sptSmileyFaceDefault, 3119cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 3120cdf0e10cSrcweir 21600, 21600, 3121cdf0e10cSrcweir 0x80000000, 0x80000000, 3122cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 3123cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSmileyHandle, sizeof( mso_sptSmileyHandle ) / sizeof( SvxMSDffHandle ) // handles 3124cdf0e10cSrcweir }; 3125cdf0e10cSrcweir 3126cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDonutVert[] = // adj value 0 - 10800 3127cdf0e10cSrcweir { 3128cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, 3129cdf0e10cSrcweir { 10800, 10800 }, { 1 MSO_I, 1 MSO_I }, { 0, 360 } 3130cdf0e10cSrcweir }; 3131cdf0e10cSrcweir static const sal_uInt16 mso_sptDonutSegm[] = 3132cdf0e10cSrcweir { 3133cdf0e10cSrcweir 0xa203, 0x6000, 0xa203, 0x8000 3134cdf0e10cSrcweir }; 3135cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDonutCalc[] = 3136cdf0e10cSrcweir { 3137cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 3138cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } } 3139cdf0e10cSrcweir }; 3140cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDonutHandle[] = 3141cdf0e10cSrcweir { 3142cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3143cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 3144cdf0e10cSrcweir }; 3145cdf0e10cSrcweir static const mso_CustomShape msoDonut = 3146cdf0e10cSrcweir { 3147cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDonutVert, sizeof( mso_sptDonutVert ) / sizeof( SvxMSDffVertPair ), 3148cdf0e10cSrcweir (sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1, 3149cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDonutCalc, sizeof( mso_sptDonutCalc ) / sizeof( SvxMSDffCalculationData ), 3150cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 3151cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 3152cdf0e10cSrcweir 21600, 21600, 3153cdf0e10cSrcweir 0x80000000, 0x80000000, 3154cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 3155cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDonutHandle, sizeof( mso_sptDonutHandle ) / sizeof( SvxMSDffHandle ) // handles 3156cdf0e10cSrcweir }; 3157cdf0e10cSrcweir 3158cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNoSmokingVert[] = // adj value 0 - 7200 3159cdf0e10cSrcweir { 3160cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, 3161cdf0e10cSrcweir { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I }, 3162cdf0e10cSrcweir { 9 MSO_I, 0xa MSO_I }, { 0xb MSO_I, 0xc MSO_I }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I }, 3163cdf0e10cSrcweir { 0xd MSO_I, 0xe MSO_I }, { 0xf MSO_I, 0x10 MSO_I } 3164cdf0e10cSrcweir }; 3165cdf0e10cSrcweir static const sal_uInt16 mso_sptNoSmokingSegm[] = 3166cdf0e10cSrcweir { 3167cdf0e10cSrcweir 0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000 3168cdf0e10cSrcweir }; 3169cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] = 3170cdf0e10cSrcweir { 3171cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 3172cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 1 3173cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, // 2 3174cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, // 3 3175cdf0e10cSrcweir { 0xa080, { 0x403, 0, 0x402 } }, // 4 3176cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x403 } }, // 5 x1 3177cdf0e10cSrcweir { 0x4000, { 10800, 0x403, 0 } }, // 6 x2 3178cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x404 } }, // 7 y1 3179cdf0e10cSrcweir { 0x4000, { 10800, 0x404, 0 } }, // 8 y2 3180cdf0e10cSrcweir { 0x6081, { 0x405, 0x407, 45 } }, // 9 3181cdf0e10cSrcweir { 0x6082, { 0x405, 0x407, 45 } }, // a 3182cdf0e10cSrcweir { 0x6081, { 0x405, 0x408, 45 } }, // b 3183cdf0e10cSrcweir { 0x6082, { 0x405, 0x408, 45 } }, // c 3184cdf0e10cSrcweir { 0x6081, { 0x406, 0x408, 45 } }, // d 3185cdf0e10cSrcweir { 0x6082, { 0x406, 0x408, 45 } }, // e 3186cdf0e10cSrcweir { 0x6081, { 0x406, 0x407, 45 } }, // f 3187cdf0e10cSrcweir { 0x6082, { 0x406, 0x407, 45 } } // 10 3188cdf0e10cSrcweir }; 3189cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNoSmokingHandle[] = 3190cdf0e10cSrcweir { 3191cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3192cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0, 7200, 0x80000000, 0x7fffffff } 3193cdf0e10cSrcweir }; 3194cdf0e10cSrcweir static const mso_CustomShape msoNoSmoking = 3195cdf0e10cSrcweir { 3196cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptNoSmokingVert, sizeof( mso_sptNoSmokingVert ) / sizeof( SvxMSDffVertPair ), 3197cdf0e10cSrcweir (sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1, 3198cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptNoSmokingCalc, sizeof( mso_sptNoSmokingCalc ) / sizeof( SvxMSDffCalculationData ), 3199cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2700, 3200cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 3201cdf0e10cSrcweir 21600, 21600, 3202cdf0e10cSrcweir 0x80000000, 0x80000000, 3203cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 3204cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptNoSmokingHandle, sizeof( mso_sptNoSmokingHandle ) / sizeof( SvxMSDffHandle ) // handles 3205cdf0e10cSrcweir }; 3206cdf0e10cSrcweir 3207cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBlockArcVert[] = // adj value 0 (degrees) 3208cdf0e10cSrcweir { // adj value 1: 0 -> 10800; 3209cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, 3210cdf0e10cSrcweir { 5 MSO_I, 5 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I } 3211cdf0e10cSrcweir }; 3212cdf0e10cSrcweir static const sal_uInt16 mso_sptBlockArcSegm[] = 3213cdf0e10cSrcweir { 3214cdf0e10cSrcweir 0xA404, 0xa504, 0x6001, 0x8000 3215cdf0e10cSrcweir }; 3216cdf0e10cSrcweir static const sal_Int32 mso_sptBlockArcDefault[] = 3217cdf0e10cSrcweir { 3218cdf0e10cSrcweir 2, 180, 5400 3219cdf0e10cSrcweir }; 3220cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBlockArcCalc[] = 3221cdf0e10cSrcweir { 3222cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 3223cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 3224cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 3225cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 3226cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, 3227cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, 3228cdf0e10cSrcweir { 0x4000, { 10800, DFF_Prop_adjust2Value, 0 } }, 3229cdf0e10cSrcweir { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, 3230cdf0e10cSrcweir { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } } 3231cdf0e10cSrcweir }; 3232cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBlockArcHandle[] = 3233cdf0e10cSrcweir { 3234cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 3235cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 3236cdf0e10cSrcweir }; 3237cdf0e10cSrcweir static const mso_CustomShape msoBlockArc = 3238cdf0e10cSrcweir { 3239cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBlockArcVert, sizeof( mso_sptBlockArcVert ) / sizeof( SvxMSDffVertPair ), 3240cdf0e10cSrcweir (sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1, 3241cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBlockArcCalc, sizeof( mso_sptBlockArcCalc ) / sizeof( SvxMSDffCalculationData ), 3242cdf0e10cSrcweir (sal_Int32*)mso_sptBlockArcDefault, 3243cdf0e10cSrcweir NULL, 0, 3244cdf0e10cSrcweir 21600, 21600, 3245cdf0e10cSrcweir 0x80000000, 0x80000000, 3246cdf0e10cSrcweir NULL, 0, 3247cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBlockArcHandle, sizeof( mso_sptBlockArcHandle ) / sizeof( SvxMSDffHandle ) // handles 3248cdf0e10cSrcweir }; 3249cdf0e10cSrcweir 3250cdf0e10cSrcweir // aware : control points are always part of the bounding box 3251cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartVert[] = 3252cdf0e10cSrcweir { 3253cdf0e10cSrcweir { 10800, 21599 }, { 321, 6886 }, { 70, 6036 }, // ppp 3254cdf0e10cSrcweir { -9, 5766 }, { -1, 5474 }, { 2, 5192 }, // ccp 3255cdf0e10cSrcweir { 6, 4918 }, { 43, 4641 }, { 101, 4370 }, // ccp 3256cdf0e10cSrcweir { 159, 4103 }, { 245, 3837 }, { 353, 3582 }, // ccp 3257cdf0e10cSrcweir { 460, 3326 }, { 591, 3077 }, { 741, 2839 }, // ccp 3258cdf0e10cSrcweir { 892, 2598 }, { 1066, 2369 }, { 1253, 2155 }, // ccp 3259cdf0e10cSrcweir { 1443, 1938 }, { 1651, 1732 }, { 1874, 1543 }, // ccp 3260cdf0e10cSrcweir { 2097, 1351 }, { 2337, 1174 }, { 2587, 1014 }, // ccp 3261cdf0e10cSrcweir { 2839, 854 }, { 3106, 708 }, { 3380, 584 }, // ccp 3262cdf0e10cSrcweir { 3656, 459 }, { 3945, 350 }, { 4237, 264 }, // ccp 3263cdf0e10cSrcweir { 4533, 176 }, { 4838, 108 }, { 5144, 66 }, // ccp 3264cdf0e10cSrcweir { 5454, 22 }, { 5771, 1 }, { 6086, 3 }, // ccp 3265cdf0e10cSrcweir { 6407, 7 }, { 6731, 35 }, { 7048, 89 }, // ccp 3266cdf0e10cSrcweir { 7374, 144 }, { 7700, 226 }, { 8015, 335 }, // ccp 3267cdf0e10cSrcweir { 8344, 447 }, { 8667, 590 }, { 8972, 756 }, // ccp 3268cdf0e10cSrcweir { 9297, 932 }, { 9613, 1135 }, { 9907, 1363 }, // ccp 3269cdf0e10cSrcweir { 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 }, // ccp 3270cdf0e10cSrcweir { 11697, 1363 }, // p 3271cdf0e10cSrcweir { 11971, 1116 }, { 12304, 934 }, { 12630, 756 }, // ccp 3272cdf0e10cSrcweir { 12935, 590 }, { 13528, 450 }, { 13589, 335 }, // ccp 3273cdf0e10cSrcweir { 13901, 226 }, { 14227, 144 }, { 14556, 89 }, // ccp 3274cdf0e10cSrcweir { 14872, 35 }, { 15195, 7 }, { 15517, 3 }, // ccp 3275cdf0e10cSrcweir { 15830, 0 }, { 16147, 22 }, { 16458, 66 }, // ccp 3276cdf0e10cSrcweir { 16764, 109 }, { 17068, 177 }, { 17365, 264 }, // ccp 3277cdf0e10cSrcweir { 17658, 349 }, { 17946, 458 }, { 18222, 584 }, // ccp 3278cdf0e10cSrcweir { 18496, 708 }, { 18762, 854 }, { 19015, 1014 }, // ccp 3279cdf0e10cSrcweir { 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 }, // ccp 3280cdf0e10cSrcweir { 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 }, // ccp 3281cdf0e10cSrcweir { 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 }, // ccp 3282cdf0e10cSrcweir { 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 }, // ccp 3283cdf0e10cSrcweir { 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 }, // ccp 3284cdf0e10cSrcweir { 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 }, // ccp 3285cdf0e10cSrcweir { 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 }, // ccp 3286cdf0e10cSrcweir { 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 }, // ccp 3287cdf0e10cSrcweir { 10802, 21602 } // p 3288cdf0e10cSrcweir }; 3289cdf0e10cSrcweir static const sal_uInt16 mso_sptHeartSegm[] = 3290cdf0e10cSrcweir { 3291cdf0e10cSrcweir 0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000 3292cdf0e10cSrcweir }; 3293cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHeartTextRect[] = 3294cdf0e10cSrcweir { 3295cdf0e10cSrcweir { { 5080, 2540 }, { 16520, 13550 } } 3296cdf0e10cSrcweir }; 3297cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartGluePoints[] = 3298cdf0e10cSrcweir { 3299cdf0e10cSrcweir { 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 } 3300cdf0e10cSrcweir }; 3301cdf0e10cSrcweir static const mso_CustomShape msoHeart = 3302cdf0e10cSrcweir { 3303cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptHeartVert, sizeof( mso_sptHeartVert ) / sizeof( SvxMSDffVertPair ), 3304cdf0e10cSrcweir (sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1, 3305cdf0e10cSrcweir NULL, 0, 3306cdf0e10cSrcweir NULL, 3307cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptHeartTextRect, sizeof( mso_sptHeartTextRect ) / sizeof( SvxMSDffTextRectangles ), 3308cdf0e10cSrcweir 21615, 21602, 3309cdf0e10cSrcweir 0x80000000, 0x80000000, 3310cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptHeartGluePoints, sizeof( mso_sptHeartGluePoints ) / sizeof( SvxMSDffVertPair ), 3311cdf0e10cSrcweir NULL, 0 // handles 3312cdf0e10cSrcweir }; 3313cdf0e10cSrcweir 3314cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldVert[] = 3315cdf0e10cSrcweir { 3316cdf0e10cSrcweir { 8458, 0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 }, 3317cdf0e10cSrcweir { 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 }, 3318cdf0e10cSrcweir { 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 } 3319cdf0e10cSrcweir }; 3320cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect[] = 3321cdf0e10cSrcweir { 3322cdf0e10cSrcweir { { 8680, 7410 }, { 13970, 14190 } } 3323cdf0e10cSrcweir }; 3324cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldGluePoints[] = 3325cdf0e10cSrcweir { 3326cdf0e10cSrcweir { 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 }, 3327cdf0e10cSrcweir { 16558, 12016 }, { 12831, 6120 } 3328cdf0e10cSrcweir }; 3329cdf0e10cSrcweir static const mso_CustomShape msoLightningBold = 3330cdf0e10cSrcweir { 3331cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLightningBoldVert, sizeof( mso_sptLightningBoldVert ) / sizeof( SvxMSDffVertPair ), 3332cdf0e10cSrcweir NULL, 0, 3333cdf0e10cSrcweir NULL, 0, 3334cdf0e10cSrcweir NULL, 3335cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, sizeof( mso_sptLightningBoldTextRect ) / sizeof( SvxMSDffTextRectangles ), 3336cdf0e10cSrcweir 21600, 21600, 3337cdf0e10cSrcweir 0x80000000, 0x80000000, 3338cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, sizeof( mso_sptLightningBoldGluePoints ) / sizeof( SvxMSDffVertPair ), 3339cdf0e10cSrcweir NULL, 0 // handles 3340cdf0e10cSrcweir }; 3341cdf0e10cSrcweir 3342cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSunVert[] = // adj value 2700 -> 10125 3343cdf0e10cSrcweir { 3344cdf0e10cSrcweir { 0, 10800 }, { 4 MSO_I, 8 MSO_I }, { 4 MSO_I, 9 MSO_I }, 3345cdf0e10cSrcweir { 0x0a MSO_I, 0x0b MSO_I }, { 0x0c MSO_I, 0x0d MSO_I }, { 0x0e MSO_I, 0x0f MSO_I }, 3346cdf0e10cSrcweir { 0x10 MSO_I, 0x11 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0x14 MSO_I, 0x15 MSO_I }, 3347cdf0e10cSrcweir { 0x16 MSO_I, 0x17 MSO_I }, { 0x18 MSO_I, 0x19 MSO_I }, { 0x1a MSO_I, 0x1b MSO_I }, 3348cdf0e10cSrcweir { 0x1c MSO_I, 0x1d MSO_I }, { 0x1e MSO_I, 0x1f MSO_I }, { 0x20 MSO_I, 0x21 MSO_I }, 3349cdf0e10cSrcweir { 0x22 MSO_I, 0x23 MSO_I }, { 0x24 MSO_I, 0x25 MSO_I }, { 0x26 MSO_I, 0x27 MSO_I }, 3350cdf0e10cSrcweir { 0x28 MSO_I, 0x29 MSO_I }, { 0x2a MSO_I, 0x2b MSO_I }, { 0x2c MSO_I, 0x2d MSO_I }, 3351cdf0e10cSrcweir { 0x2e MSO_I, 0x2f MSO_I }, { 0x30 MSO_I, 0x31 MSO_I }, { 0x32 MSO_I, 0x33 MSO_I }, 3352cdf0e10cSrcweir { 10800, 10800 }, { 0x36 MSO_I, 0x36 MSO_I }, { 0, 360 } 3353cdf0e10cSrcweir }; 3354cdf0e10cSrcweir static const sal_uInt16 mso_sptSunSegm[] = 3355cdf0e10cSrcweir { 3356cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3357cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3358cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3359cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3360cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3361cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3362cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3363cdf0e10cSrcweir 0x4000, 0x0002, 0x6001, 0x8000, 3364cdf0e10cSrcweir 0xa203, 0x6000, 0x8000 3365cdf0e10cSrcweir }; 3366cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSunCalc[] = 3367cdf0e10cSrcweir { 3368cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 3369cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 3370cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 2700 } }, 3371cdf0e10cSrcweir { 0x2001, { 0x402, 5080, 7425 } }, 3372cdf0e10cSrcweir { 0x2000, { 0x403, 2540, 0 } }, 3373cdf0e10cSrcweir { 0x8000, { 10125, 0, DFF_Prop_adjustValue } }, 3374cdf0e10cSrcweir { 0x2001, { 0x405, 2120, 7425 } }, 3375cdf0e10cSrcweir { 0x2000, { 0x406, 210, 0 } }, 3376cdf0e10cSrcweir { 0x4000, { 10800, 0x407, 0 } }, // y1 (0x8) 3377cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x407 } }, // y2 (0x9) 3378cdf0e10cSrcweir { 0x0081, { 0, 10800, 45 } }, // 0xa 3379cdf0e10cSrcweir { 0x0082, { 0, 10800, 45 } }, // 0xb 3380cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 45 } }, // 0xc 3381cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 45 } }, // 0xd 3382cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 45 } }, // 0xe 3383cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 45 } }, // 0xf 3384cdf0e10cSrcweir { 0x0081, { 0, 10800, 90 } }, // 0x10 3385cdf0e10cSrcweir { 0x0082, { 0, 10800, 90 } }, // 0x11 3386cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 90 } }, // 0x12 3387cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 90 } }, // 0x13 3388cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 90 } }, // 0x14 3389cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 90 } }, // 0x15 3390cdf0e10cSrcweir { 0x0081, { 0, 10800, 135 } }, // 0x16 3391cdf0e10cSrcweir { 0x0082, { 0, 10800, 135 } }, // 0x17 3392cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 135 } }, // 0x18 3393cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 135 } }, // 0x19 3394cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 135 } }, // 0x1a 3395cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 135 } }, // 0x1b 3396cdf0e10cSrcweir { 0x0081, { 0, 10800, 180 } }, // 0x1c 3397cdf0e10cSrcweir { 0x0082, { 0, 10800, 180 } }, // 0x1d 3398cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 180 } }, // 0x1e 3399cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 180 } }, // 0x1f 3400cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 180 } }, // 0x20 3401cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 180 } }, // 0x21 3402cdf0e10cSrcweir { 0x0081, { 0, 10800, 225 } }, // 0x22 3403cdf0e10cSrcweir { 0x0082, { 0, 10800, 225 } }, // 0x23 3404cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 225 } }, // 0x24 3405cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 225 } }, // 0x25 3406cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 225 } }, // 0x26 3407cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 225 } }, // 0x27 3408cdf0e10cSrcweir { 0x0081, { 0, 10800, 270 } }, // 0x28 3409cdf0e10cSrcweir { 0x0082, { 0, 10800, 270 } }, // 0x29 3410cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 270 } }, // 0x2a 3411cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 270 } }, // 0x2b 3412cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 270 } }, // 0x2c 3413cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 270 } }, // 0x2d 3414cdf0e10cSrcweir { 0x0081, { 0, 10800, 315 } }, // 0x2e 3415cdf0e10cSrcweir { 0x0082, { 0, 10800, 315 } }, // 0x2f 3416cdf0e10cSrcweir { 0x6081, { 0x404, 0x408, 315 } }, // 0x30 3417cdf0e10cSrcweir { 0x6082, { 0x404, 0x408, 315 } }, // 0x31 3418cdf0e10cSrcweir { 0x6081, { 0x404, 0x409, 315 } }, // 0x32 3419cdf0e10cSrcweir { 0x6082, { 0x404, 0x409, 315 } }, // 0x33 3420cdf0e10cSrcweir { 0x2081, { DFF_Prop_adjustValue, 10800, 45 } }, // 0x34 ( textbox ) 3421cdf0e10cSrcweir { 0x2081, { DFF_Prop_adjustValue, 10800, 225 } }, // 0x35 3422cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } } 3423cdf0e10cSrcweir }; 3424cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSunTextRect[] = 3425cdf0e10cSrcweir { 3426cdf0e10cSrcweir { { 0x34 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x35 MSO_I } } 3427cdf0e10cSrcweir }; 3428cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSunHandle[] = 3429cdf0e10cSrcweir { 3430cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3431cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 2700, 10125, 0x80000000, 0x7fffffff } 3432cdf0e10cSrcweir }; 3433cdf0e10cSrcweir static const mso_CustomShape msoSun = 3434cdf0e10cSrcweir { 3435cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSunVert, sizeof( mso_sptSunVert ) / sizeof( SvxMSDffVertPair ), 3436cdf0e10cSrcweir (sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1, 3437cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSunCalc, sizeof( mso_sptSunCalc ) / sizeof( SvxMSDffCalculationData ), 3438cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 3439cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSunTextRect, sizeof( mso_sptSunTextRect ) / sizeof( SvxMSDffTextRectangles ), 3440cdf0e10cSrcweir 21600, 21600, 3441cdf0e10cSrcweir 0x80000000, 0x80000000, 3442cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 3443cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSunHandle, sizeof( mso_sptSunHandle ) / sizeof( SvxMSDffHandle ) // handles 3444cdf0e10cSrcweir }; 3445cdf0e10cSrcweir 3446cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonVert[] = // adj value 0 -> 18900 3447cdf0e10cSrcweir { 3448cdf0e10cSrcweir { 21600, 0 }, 3449cdf0e10cSrcweir { 3 MSO_I, 4 MSO_I }, { 0 MSO_I, 5080 }, { 0 MSO_I, 10800 }, // ccp 3450cdf0e10cSrcweir { 0 MSO_I, 16520 }, { 3 MSO_I, 5 MSO_I }, { 21600, 21600 }, // ccp 3451cdf0e10cSrcweir { 9740, 21600 }, { 0, 16730 }, { 0, 10800 }, // ccp 3452cdf0e10cSrcweir { 0, 4870 }, { 9740, 0 }, { 21600, 0 } // ccp 3453cdf0e10cSrcweir }; 3454cdf0e10cSrcweir static const sal_uInt16 mso_sptMoonSegm[] = 3455cdf0e10cSrcweir { 3456cdf0e10cSrcweir 0x4000, 0x2004, 0x6000, 0x8000 3457cdf0e10cSrcweir }; 3458cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptMoonCalc[] = 3459cdf0e10cSrcweir { 3460cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 3461cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 3462cdf0e10cSrcweir { 0x2001, { 0x401, 1, 2 } }, 3463cdf0e10cSrcweir { 0x6000, { 0x402, DFF_Prop_adjustValue, 0 } }, 3464cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1794, 10000 } }, 3465cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x0404 } }, 3466cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 400, 18900 } }, 3467cdf0e10cSrcweir { 0x8081, { 0, 10800, 0x406 } }, 3468cdf0e10cSrcweir { 0x8082, { 0, 10800, 0x406 } }, 3469cdf0e10cSrcweir { 0x6000, { 0x407, 0x407, 0 } }, 3470cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x408 } } 3471cdf0e10cSrcweir }; 3472cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptMoonTextRect[] = 3473cdf0e10cSrcweir { 3474cdf0e10cSrcweir { { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 0xa MSO_I } } 3475cdf0e10cSrcweir }; 3476cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonGluePoints[] = 3477cdf0e10cSrcweir { 3478cdf0e10cSrcweir { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I, 10800 } 3479cdf0e10cSrcweir }; 3480cdf0e10cSrcweir static const SvxMSDffHandle mso_sptMoonHandle[] = 3481cdf0e10cSrcweir { 3482cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3483cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0, 18900, 0x80000000, 0x7fffffff } 3484cdf0e10cSrcweir }; 3485cdf0e10cSrcweir static const mso_CustomShape msoMoon = 3486cdf0e10cSrcweir { 3487cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptMoonVert, sizeof( mso_sptMoonVert ) / sizeof( SvxMSDffVertPair ), 3488cdf0e10cSrcweir (sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1, 3489cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptMoonCalc, sizeof( mso_sptMoonCalc ) / sizeof( SvxMSDffCalculationData ), 3490cdf0e10cSrcweir (sal_Int32*)mso_sptDefault10800, 3491cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptMoonTextRect, sizeof( mso_sptMoonTextRect ) / sizeof( SvxMSDffTextRectangles ), 3492cdf0e10cSrcweir 21600, 21600, 3493cdf0e10cSrcweir 0x80000000, 0x80000000, 3494cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptMoonGluePoints, sizeof( mso_sptMoonGluePoints ) / sizeof( SvxMSDffVertPair ), 3495cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptMoonHandle, sizeof( mso_sptMoonHandle ) / sizeof( SvxMSDffHandle ) // handles 3496cdf0e10cSrcweir }; 3497cdf0e10cSrcweir 3498cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracketPairVert[] = // adj value 0 -> 10800 3499cdf0e10cSrcweir { 3500cdf0e10cSrcweir { 0 MSO_I, 0 }, { 0, 1 MSO_I }, // left top alignment 3501cdf0e10cSrcweir { 0, 2 MSO_I }, { 0 MSO_I, 21600 }, // left bottom " 3502cdf0e10cSrcweir { 3 MSO_I, 21600 }, { 21600, 2 MSO_I }, // right bottom " 3503cdf0e10cSrcweir { 21600, 1 MSO_I }, { 3 MSO_I, 0 } // right top " 3504cdf0e10cSrcweir }; 3505cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketPairSegm[] = 3506cdf0e10cSrcweir { 3507cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0x8000, 3508cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0x8000 3509cdf0e10cSrcweir }; 3510cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketPairCalc[] = 3511cdf0e10cSrcweir { 3512cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 3513cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 3514cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 3515cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 3516cdf0e10cSrcweir { 0x2082, { DFF_Prop_adjustValue, 0, 45 } }, 3517cdf0e10cSrcweir { 0x2000, { 0x404, 0, 10800 } }, 3518cdf0e10cSrcweir { 0x8000, { 0, 0, DFF_Prop_adjustValue } }, 3519cdf0e10cSrcweir { 0xa000, { 0x406, 0, 0x405 } }, 3520cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoLeft, 0, 0x407 } }, 3521cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoTop, 0, 0x407 } }, 3522cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoRight, 0x407, 0 } }, 3523cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoBottom, 0x407, 0 } }, 3524cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoLeft, 0, 0x405 } }, 3525cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoTop, 0, 0x405 } }, 3526cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoRight, 0x405, 0 } }, 3527cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoBottom, 0x405, 0 } } 3528cdf0e10cSrcweir }; 3529cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] = 3530cdf0e10cSrcweir { 3531cdf0e10cSrcweir { { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 0xb MSO_I } } 3532cdf0e10cSrcweir }; 3533cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracketPairHandle[] = 3534cdf0e10cSrcweir { 3535cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 3536cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 3537cdf0e10cSrcweir }; 3538cdf0e10cSrcweir static const mso_CustomShape msoBracketPair = 3539cdf0e10cSrcweir { 3540cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ), 3541cdf0e10cSrcweir (sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1, 3542cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ), 3543cdf0e10cSrcweir (sal_Int32*)mso_sptDefault3700, 3544cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, sizeof( mso_sptBracketPairTextRect ) / sizeof( SvxMSDffTextRectangles ), 3545cdf0e10cSrcweir 21600, 21600, 3546cdf0e10cSrcweir 10800, 0x80000000, 3547cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 3548cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBracketPairHandle, sizeof( mso_sptBracketPairHandle ) / sizeof( SvxMSDffHandle ) // handles 3549cdf0e10cSrcweir }; 3550cdf0e10cSrcweir 3551cdf0e10cSrcweir static const sal_uInt16 mso_sptPlaqueSegm[] = 3552cdf0e10cSrcweir { 3553cdf0e10cSrcweir 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000 3554cdf0e10cSrcweir }; 3555cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] = 3556cdf0e10cSrcweir { 3557cdf0e10cSrcweir { { 0xc MSO_I, 0xd MSO_I }, { 0xe MSO_I, 0xf MSO_I } } 3558cdf0e10cSrcweir }; 3559cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlaqueHandle[] = 3560cdf0e10cSrcweir { 3561cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 3562cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 3563cdf0e10cSrcweir }; 3564cdf0e10cSrcweir static const mso_CustomShape msoPlaque = 3565cdf0e10cSrcweir { 3566cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ), 3567cdf0e10cSrcweir (sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1, 3568cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ), 3569cdf0e10cSrcweir (sal_Int32*)mso_sptDefault3600, 3570cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, sizeof( mso_sptPlaqueTextRect ) / sizeof( SvxMSDffTextRectangles ), 3571cdf0e10cSrcweir 21600, 21600, 3572cdf0e10cSrcweir 10800, 10800, 3573cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 3574cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptPlaqueHandle, sizeof( mso_sptPlaqueHandle ) / sizeof( SvxMSDffHandle ) // handles 3575cdf0e10cSrcweir }; 3576cdf0e10cSrcweir 3577cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracePairVert[] = // adj value 0 -> 5400 3578cdf0e10cSrcweir { 3579cdf0e10cSrcweir { 4 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 }, // left bracket 3580cdf0e10cSrcweir { 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 4 MSO_I, 21600 }, 3581cdf0e10cSrcweir { 8 MSO_I, 21600 }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 }, // right bracket 3582cdf0e10cSrcweir { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 } 3583cdf0e10cSrcweir }; 3584cdf0e10cSrcweir static const sal_uInt16 mso_sptBracePairSegm[] = 3585cdf0e10cSrcweir { 3586cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000, 3587cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000 3588cdf0e10cSrcweir }; 3589cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracePairCalc[] = 3590cdf0e10cSrcweir { 3591cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, 3592cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 3593cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 3594cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, 3595cdf0e10cSrcweir { 0x2001, { 0x400, 2, 1 } }, // 4 3596cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 2, 1 } }, // 5 3597cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, // 6 3598cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } }, // 7 3599cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x405 } }, // 8 3600cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 3 } }, // 9 3601cdf0e10cSrcweir { 0x6000, { 0x409, DFF_Prop_adjustValue, 0 } }, // xa 3602cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoLeft, 0x40a, 0 } }, // xb 3603cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, 0x409, 0 } }, // xc 3604cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x40a } }, // xd 3605cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } } // xe 3606cdf0e10cSrcweir }; 3607cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] = 3608cdf0e10cSrcweir { 3609cdf0e10cSrcweir { { 0xb MSO_I, 0xc MSO_I }, { 0xd MSO_I, 0xe MSO_I } } 3610cdf0e10cSrcweir }; 3611cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracePairHandle[] = 3612cdf0e10cSrcweir { 3613cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 3614cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 } 3615cdf0e10cSrcweir }; 3616cdf0e10cSrcweir static const mso_CustomShape msoBracePair = 3617cdf0e10cSrcweir { 3618cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBracePairVert, sizeof( mso_sptBracePairVert ) / sizeof( SvxMSDffVertPair ), 3619cdf0e10cSrcweir (sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1, 3620cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBracePairCalc, sizeof( mso_sptBracePairCalc ) / sizeof( SvxMSDffCalculationData ), 3621cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1800, 3622cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBracePairTextRect, sizeof( mso_sptBracePairTextRect ) / sizeof( SvxMSDffTextRectangles ), 3623cdf0e10cSrcweir 21600, 21600, 3624cdf0e10cSrcweir 10800, 0x80000000, 3625cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 3626cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBracePairHandle, sizeof( mso_sptBracePairHandle ) / sizeof( SvxMSDffHandle ) // handles 3627cdf0e10cSrcweir }; 3628cdf0e10cSrcweir 3629cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketCalc[] = 3630cdf0e10cSrcweir { 3631cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 3632cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, 3633cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, 3634cdf0e10cSrcweir { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } }, 3635cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } 3636cdf0e10cSrcweir }; 3637cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketSegm[] = 3638cdf0e10cSrcweir { 3639cdf0e10cSrcweir 0x4000, 0x2001, 0x0001, 0x2001, 0x8000 3640cdf0e10cSrcweir }; 3641cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketVert[] = // adj value 0 -> 10800 3642cdf0e10cSrcweir { 3643cdf0e10cSrcweir { 21600, 0 }, { 10800, 0 }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, 3644cdf0e10cSrcweir { 0, 2 MSO_I }, { 0, 4 MSO_I }, { 10800, 21600 }, { 21600, 21600 } 3645cdf0e10cSrcweir }; 3646cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect[] = 3647cdf0e10cSrcweir { 3648cdf0e10cSrcweir { { 6350, 3 MSO_I }, { 21600, 4 MSO_I } } 3649cdf0e10cSrcweir }; 3650cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] = 3651cdf0e10cSrcweir { 3652cdf0e10cSrcweir { 21600, 0 }, { 0, 10800 }, { 21600, 21600 } 3653cdf0e10cSrcweir }; 3654cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBracketHandle[] = 3655cdf0e10cSrcweir { 3656cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3657cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 3658cdf0e10cSrcweir }; 3659cdf0e10cSrcweir static const mso_CustomShape msoLeftBracket = 3660cdf0e10cSrcweir { 3661cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftBracketVert, sizeof( mso_sptLeftBracketVert ) / sizeof( SvxMSDffVertPair ), 3662cdf0e10cSrcweir (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, 3663cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ), 3664cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1800, 3665cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, sizeof( mso_sptLeftBracketTextRect ) / sizeof( SvxMSDffTextRectangles ), 3666cdf0e10cSrcweir 21600, 21600, 3667cdf0e10cSrcweir 0x80000000, 0x80000000, 3668cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ), 3669cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftBracketHandle, sizeof( mso_sptLeftBracketHandle ) / sizeof( SvxMSDffHandle ) // handles 3670cdf0e10cSrcweir }; 3671cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketVert[] = // adj value 0 -> 10800 3672cdf0e10cSrcweir { 3673cdf0e10cSrcweir { 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I }, { 21600, 1 MSO_I }, 3674cdf0e10cSrcweir { 21600, 2 MSO_I }, { 21600, 4 MSO_I }, { 10800, 21600 }, { 0, 21600 } 3675cdf0e10cSrcweir }; 3676cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBracketTextRect[] = 3677cdf0e10cSrcweir { 3678cdf0e10cSrcweir { { 0, 3 MSO_I }, { 15150, 4 MSO_I } } 3679cdf0e10cSrcweir }; 3680cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] = 3681cdf0e10cSrcweir { 3682cdf0e10cSrcweir { 0, 0 }, { 0, 21600 }, { 21600, 10800 } 3683cdf0e10cSrcweir }; 3684cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBracketHandle[] = 3685cdf0e10cSrcweir { 3686cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3687cdf0e10cSrcweir 1, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 3688cdf0e10cSrcweir }; 3689cdf0e10cSrcweir static const mso_CustomShape msoRightBracket = 3690cdf0e10cSrcweir { 3691cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightBracketVert, sizeof( mso_sptRightBracketVert ) / sizeof( SvxMSDffVertPair ), 3692cdf0e10cSrcweir (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, 3693cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ), 3694cdf0e10cSrcweir (sal_Int32*)mso_sptDefault1800, 3695cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, sizeof( mso_sptRightBracketTextRect ) / sizeof( SvxMSDffTextRectangles ), 3696cdf0e10cSrcweir 21600, 21600, 3697cdf0e10cSrcweir 0x80000000, 0x80000000, 3698cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ), 3699cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRightBracketHandle, sizeof( mso_sptRightBracketHandle ) / sizeof( SvxMSDffHandle ) // handles 3700cdf0e10cSrcweir }; 3701cdf0e10cSrcweir 3702cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBraceCalc[] = 3703cdf0e10cSrcweir { 3704cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 3705cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 3706cdf0e10cSrcweir { 0xa000, { 0x404, 0, DFF_Prop_adjustValue } }, 3707cdf0e10cSrcweir { 0xa000, { 0x404, 0, 0x400 } }, 3708cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 3709cdf0e10cSrcweir { 0x6000, { 0x404, 0x400, 0 } }, 3710cdf0e10cSrcweir { 0x6000, { 0x404, DFF_Prop_adjustValue, 0 } }, 3711cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 3712cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, 3713cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 10000, 31953 } }, 3714cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x409 } } 3715cdf0e10cSrcweir }; 3716cdf0e10cSrcweir static const sal_uInt16 mso_sptBraceSegm[] = 3717cdf0e10cSrcweir { 3718cdf0e10cSrcweir 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000 3719cdf0e10cSrcweir }; 3720cdf0e10cSrcweir static const sal_Int32 mso_sptBraceDefault[] = 3721cdf0e10cSrcweir { 3722cdf0e10cSrcweir 2, 1800, 10800 3723cdf0e10cSrcweir }; 3724cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBraceVert[] = 3725cdf0e10cSrcweir { 3726cdf0e10cSrcweir { 21600, 0 }, // p 3727cdf0e10cSrcweir { 16200, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I }, // ccp 3728cdf0e10cSrcweir { 10800, 2 MSO_I }, // p 3729cdf0e10cSrcweir { 10800, 3 MSO_I }, { 5400, 4 MSO_I }, { 0, 4 MSO_I }, // ccp 3730cdf0e10cSrcweir { 5400, 4 MSO_I }, { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp 3731cdf0e10cSrcweir { 10800, 7 MSO_I }, // p 3732cdf0e10cSrcweir { 10800, 8 MSO_I }, { 16200, 21600 }, { 21600, 21600 } // ccp 3733cdf0e10cSrcweir }; 3734cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] = 3735cdf0e10cSrcweir { 3736cdf0e10cSrcweir { { 13800, 9 MSO_I }, { 21600, 10 MSO_I } } 3737cdf0e10cSrcweir }; 3738cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBraceHandle[] = 3739cdf0e10cSrcweir { 3740cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3741cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }, 3742cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3743cdf0e10cSrcweir 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } 3744cdf0e10cSrcweir }; 3745cdf0e10cSrcweir static const mso_CustomShape msoLeftBrace = // adj value0 0 -> 5400 3746cdf0e10cSrcweir { // adj value1 0 -> 21600 3747cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftBraceVert, sizeof( mso_sptLeftBraceVert ) / sizeof( SvxMSDffVertPair ), 3748cdf0e10cSrcweir (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, 3749cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ), 3750cdf0e10cSrcweir (sal_Int32*)mso_sptBraceDefault, 3751cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, sizeof( mso_sptLeftBraceTextRect ) / sizeof( SvxMSDffTextRectangles ), 3752cdf0e10cSrcweir 21600, 21600, 3753cdf0e10cSrcweir 0x80000000, 0x80000000, 3754cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ), 3755cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptLeftBraceHandle, sizeof( mso_sptLeftBraceHandle ) / sizeof( SvxMSDffHandle ) // handles 3756cdf0e10cSrcweir }; 3757cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBraceVert[] = 3758cdf0e10cSrcweir { 3759cdf0e10cSrcweir { 0, 0 }, // p 3760cdf0e10cSrcweir { 5400, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I }, // ccp 3761cdf0e10cSrcweir { 10800, 2 MSO_I }, // p 3762cdf0e10cSrcweir { 10800, 3 MSO_I }, { 16200, 4 MSO_I }, { 21600, 4 MSO_I }, // ccp 3763cdf0e10cSrcweir { 16200, 4 MSO_I }, { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp 3764cdf0e10cSrcweir { 10800, 7 MSO_I }, // p 3765cdf0e10cSrcweir { 10800, 8 MSO_I }, { 5400, 21600 }, { 0, 21600 } // ccp 3766cdf0e10cSrcweir }; 3767cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] = 3768cdf0e10cSrcweir { 3769cdf0e10cSrcweir { { 0, 9 MSO_I }, { 7800, 10 MSO_I } } 3770cdf0e10cSrcweir }; 3771cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBraceHandle[] = 3772cdf0e10cSrcweir { 3773cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3774cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }, 3775cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3776cdf0e10cSrcweir 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } 3777cdf0e10cSrcweir }; 3778cdf0e10cSrcweir static const mso_CustomShape msoRightBrace = // adj value0 0 -> 5400 3779cdf0e10cSrcweir { // adj value1 0 -> 21600 3780cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightBraceVert, sizeof( mso_sptRightBraceVert ) / sizeof( SvxMSDffVertPair ), 3781cdf0e10cSrcweir (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, 3782cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ), 3783cdf0e10cSrcweir (sal_Int32*)mso_sptBraceDefault, 3784cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, sizeof( mso_sptRightBraceTextRect ) / sizeof( SvxMSDffTextRectangles ), 3785cdf0e10cSrcweir 21600, 21600, 3786cdf0e10cSrcweir 0x80000000, 0x80000000, 3787cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ), 3788cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRightBraceHandle, sizeof( mso_sptRightBraceHandle ) / sizeof( SvxMSDffHandle ) // handles 3789cdf0e10cSrcweir }; 3790cdf0e10cSrcweir 3791cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1Vert[] = 3792cdf0e10cSrcweir { 3793cdf0e10cSrcweir { 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 }, 3794cdf0e10cSrcweir { 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 }, 3795cdf0e10cSrcweir { 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 }, 3796cdf0e10cSrcweir { 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 }, 3797cdf0e10cSrcweir { 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 }, 3798cdf0e10cSrcweir { 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 } 3799cdf0e10cSrcweir }; 3800cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect[] = 3801cdf0e10cSrcweir { 3802cdf0e10cSrcweir { { 4680, 6570 }, { 16140, 13280 } } 3803cdf0e10cSrcweir }; 3804cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints[] = 3805cdf0e10cSrcweir { 3806cdf0e10cSrcweir { 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 } 3807cdf0e10cSrcweir }; 3808cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal1 = 3809cdf0e10cSrcweir { 3810cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIrregularSeal1Vert, sizeof( mso_sptIrregularSeal1Vert ) / sizeof( SvxMSDffVertPair ), 3811cdf0e10cSrcweir NULL, 0, 3812cdf0e10cSrcweir NULL, 0, 3813cdf0e10cSrcweir NULL, 3814cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, sizeof( mso_sptIrregularSeal1TextRect ) / sizeof( SvxMSDffTextRectangles ), 3815cdf0e10cSrcweir 21600, 21600, 3816cdf0e10cSrcweir 0x80000000, 0x80000000, 3817cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, sizeof( mso_sptIrregularSeal1GluePoints ) / sizeof( SvxMSDffVertPair ), 3818cdf0e10cSrcweir NULL, 0 // handles 3819cdf0e10cSrcweir }; 3820cdf0e10cSrcweir 3821cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2Vert[] = 3822cdf0e10cSrcweir { 3823cdf0e10cSrcweir { 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 }, 3824cdf0e10cSrcweir { 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 }, 3825cdf0e10cSrcweir { 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 }, 3826cdf0e10cSrcweir { 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 }, 3827cdf0e10cSrcweir { 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 }, 3828cdf0e10cSrcweir { 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 }, 3829cdf0e10cSrcweir { 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 }, 3830cdf0e10cSrcweir { 11464, 4340 } 3831cdf0e10cSrcweir }; 3832cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect[] = 3833cdf0e10cSrcweir { 3834cdf0e10cSrcweir { { 5400, 6570 }, { 14160, 15290 } } 3835cdf0e10cSrcweir }; 3836cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints[] = 3837cdf0e10cSrcweir { 3838cdf0e10cSrcweir { 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 } 3839cdf0e10cSrcweir }; 3840cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal2 = 3841cdf0e10cSrcweir { 3842cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIrregularSeal2Vert, sizeof( mso_sptIrregularSeal2Vert ) / sizeof( SvxMSDffVertPair ), 3843cdf0e10cSrcweir NULL, 0, 3844cdf0e10cSrcweir NULL, 0, 3845cdf0e10cSrcweir NULL, 3846cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, sizeof( mso_sptIrregularSeal2TextRect ) / sizeof( SvxMSDffTextRectangles ), 3847cdf0e10cSrcweir 21600, 21600, 3848cdf0e10cSrcweir 0x80000000, 0x80000000, 3849cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, sizeof( mso_sptIrregularSeal2GluePoints ) / sizeof( SvxMSDffVertPair ), 3850cdf0e10cSrcweir NULL, 0 // handles 3851cdf0e10cSrcweir }; 3852cdf0e10cSrcweir 3853cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal4Vert[] = // adjustment1 : 0 - 10800 3854cdf0e10cSrcweir { 3855cdf0e10cSrcweir { 0, 10800 }, { 4 MSO_I, 4 MSO_I }, { 10800, 0 }, { 3 MSO_I, 4 MSO_I }, 3856cdf0e10cSrcweir { 21600, 10800 }, { 3 MSO_I, 3 MSO_I }, { 10800, 21600 }, { 4 MSO_I, 3 MSO_I }, 3857cdf0e10cSrcweir { 0, 10800 } 3858cdf0e10cSrcweir }; 3859cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal4Calc[] = 3860cdf0e10cSrcweir { 3861cdf0e10cSrcweir { 0x0000, { 7600, 0, 0 } }, 3862cdf0e10cSrcweir { 0x6001, { 0x400, DFF_Prop_adjustValue, 10800 } }, 3863cdf0e10cSrcweir { 0xa000, { 0x400, 0, 0x401 } }, 3864cdf0e10cSrcweir { 0x4000, { 10800, 0x402, 0 } }, 3865cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x402 } } 3866cdf0e10cSrcweir }; 3867cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] = 3868cdf0e10cSrcweir { 3869cdf0e10cSrcweir { { 4 MSO_I, 4 MSO_I }, { 3 MSO_I, 3 MSO_I } } 3870cdf0e10cSrcweir }; 3871cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSealHandle[] = 3872cdf0e10cSrcweir { 3873cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 3874cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 3875cdf0e10cSrcweir }; 3876cdf0e10cSrcweir static const mso_CustomShape msoSeal4 = 3877cdf0e10cSrcweir { 3878cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSeal4Vert, sizeof( mso_sptSeal4Vert ) / sizeof( SvxMSDffVertPair ), 3879cdf0e10cSrcweir NULL, 0, 3880cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSeal4Calc, sizeof( mso_sptSeal4Calc ) / sizeof( SvxMSDffCalculationData ), 3881cdf0e10cSrcweir (sal_Int32*)mso_sptDefault8100, 3882cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSeal4TextRect, sizeof( mso_sptSeal4TextRect ) / sizeof( SvxMSDffTextRectangles ), 3883cdf0e10cSrcweir 21600, 21600, 3884cdf0e10cSrcweir 0x80000000, 0x80000000, 3885cdf0e10cSrcweir NULL, 0, 3886cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles 3887cdf0e10cSrcweir }; 3888cdf0e10cSrcweir 3889cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStarVert[] = 3890cdf0e10cSrcweir { 3891cdf0e10cSrcweir { 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 }, 3892cdf0e10cSrcweir { 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 }, 3893cdf0e10cSrcweir { 21600, 8256 }, { 13321, 8256 }, { 10797, 0 } 3894cdf0e10cSrcweir }; 3895cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStarTextRect[] = 3896cdf0e10cSrcweir { 3897cdf0e10cSrcweir { { 6722, 8256 }, { 14878, 15460 } } 3898cdf0e10cSrcweir }; 3899cdf0e10cSrcweir static const mso_CustomShape msoStar = 3900cdf0e10cSrcweir { 3901cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStarVert, sizeof( mso_sptStarVert ) / sizeof( SvxMSDffVertPair ), 3902cdf0e10cSrcweir NULL, 0, 3903cdf0e10cSrcweir NULL, 0, 3904cdf0e10cSrcweir NULL, 3905cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptStarTextRect, sizeof( mso_sptStarTextRect ) / sizeof( SvxMSDffTextRectangles ), 3906cdf0e10cSrcweir 21600, 21600, 3907cdf0e10cSrcweir 0x80000000, 0x80000000, 3908cdf0e10cSrcweir NULL, 0, 3909cdf0e10cSrcweir NULL, 0 // handles 3910cdf0e10cSrcweir }; 3911cdf0e10cSrcweir 3912cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal24Calc[] = 3913cdf0e10cSrcweir { 3914cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 3915cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) 3916cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 315 } }, // 0x02 3917cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 135 } }, // 0x03 3918cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 135 } }, // 0x04 3919cdf0e10cSrcweir { 0x0081, { 0, 10800, 0 } }, 3920cdf0e10cSrcweir { 0x0082, { 0, 10800, 0 } }, 3921cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 7 } }, 3922cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 7 } }, 3923cdf0e10cSrcweir { 0x0081, { 0, 10800, 15 } }, 3924cdf0e10cSrcweir { 0x0082, { 0, 10800, 15 } }, 3925cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 22 } }, 3926cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 22 } }, 3927cdf0e10cSrcweir { 0x0081, { 0, 10800, 30 } }, 3928cdf0e10cSrcweir { 0x0082, { 0, 10800, 30 } }, 3929cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 37 } }, 3930cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 37 } }, 3931cdf0e10cSrcweir { 0x0081, { 0, 10800, 45 } }, 3932cdf0e10cSrcweir { 0x0082, { 0, 10800, 45 } }, 3933cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 52 } }, 3934cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 52 } }, 3935cdf0e10cSrcweir { 0x0081, { 0, 10800, 60 } }, 3936cdf0e10cSrcweir { 0x0082, { 0, 10800, 60 } }, 3937cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 67 } }, 3938cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 67 } }, 3939cdf0e10cSrcweir { 0x0081, { 0, 10800, 75 } }, 3940cdf0e10cSrcweir { 0x0082, { 0, 10800, 75 } }, 3941cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 82 } }, 3942cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 82 } }, 3943cdf0e10cSrcweir { 0x0081, { 0, 10800, 90 } }, 3944cdf0e10cSrcweir { 0x0082, { 0, 10800, 90 } }, 3945cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 97 } }, 3946cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 97 } }, 3947cdf0e10cSrcweir { 0x0081, { 0, 10800, 105 } }, 3948cdf0e10cSrcweir { 0x0082, { 0, 10800, 105 } }, 3949cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 112 } }, 3950cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 112 } }, 3951cdf0e10cSrcweir { 0x0081, { 0, 10800, 120 } }, 3952cdf0e10cSrcweir { 0x0082, { 0, 10800, 120 } }, 3953cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 127 } }, 3954cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 127 } }, 3955cdf0e10cSrcweir { 0x0081, { 0, 10800, 135 } }, 3956cdf0e10cSrcweir { 0x0082, { 0, 10800, 135 } }, 3957cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 142 } }, 3958cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 142 } }, 3959cdf0e10cSrcweir { 0x0081, { 0, 10800, 150 } }, 3960cdf0e10cSrcweir { 0x0082, { 0, 10800, 150 } }, 3961cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 157 } }, 3962cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 157 } }, 3963cdf0e10cSrcweir { 0x0081, { 0, 10800, 165 } }, 3964cdf0e10cSrcweir { 0x0082, { 0, 10800, 165 } }, 3965cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 172 } }, 3966cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 172 } }, 3967cdf0e10cSrcweir { 0x0081, { 0, 10800, 180 } }, 3968cdf0e10cSrcweir { 0x0082, { 0, 10800, 180 } }, 3969cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 187 } }, 3970cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 187 } }, 3971cdf0e10cSrcweir { 0x0081, { 0, 10800, 195 } }, 3972cdf0e10cSrcweir { 0x0082, { 0, 10800, 195 } }, 3973cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 202 } }, 3974cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 202 } }, 3975cdf0e10cSrcweir { 0x0081, { 0, 10800, 210 } }, 3976cdf0e10cSrcweir { 0x0082, { 0, 10800, 210 } }, 3977cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 217 } }, 3978cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 217 } }, 3979cdf0e10cSrcweir { 0x0081, { 0, 10800, 225 } }, 3980cdf0e10cSrcweir { 0x0082, { 0, 10800, 225 } }, 3981cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 232 } }, 3982cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 232 } }, 3983cdf0e10cSrcweir { 0x0081, { 0, 10800, 240 } }, 3984cdf0e10cSrcweir { 0x0082, { 0, 10800, 240 } }, 3985cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 247 } }, 3986cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 247 } }, 3987cdf0e10cSrcweir { 0x0081, { 0, 10800, 255 } }, 3988cdf0e10cSrcweir { 0x0082, { 0, 10800, 255 } }, 3989cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 262 } }, 3990cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 262 } }, 3991cdf0e10cSrcweir { 0x0081, { 0, 10800, 270 } }, 3992cdf0e10cSrcweir { 0x0082, { 0, 10800, 270 } }, 3993cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 277 } }, 3994cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 277 } }, 3995cdf0e10cSrcweir { 0x0081, { 0, 10800, 285 } }, 3996cdf0e10cSrcweir { 0x0082, { 0, 10800, 285 } }, 3997cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 292 } }, 3998cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 292 } }, 3999cdf0e10cSrcweir { 0x0081, { 0, 10800, 300 } }, 4000cdf0e10cSrcweir { 0x0082, { 0, 10800, 300 } }, 4001cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 307 } }, 4002cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 307 } }, 4003cdf0e10cSrcweir { 0x0081, { 0, 10800, 315 } }, 4004cdf0e10cSrcweir { 0x0082, { 0, 10800, 315 } }, 4005cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 322 } }, 4006cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 322 } }, 4007cdf0e10cSrcweir { 0x0081, { 0, 10800, 330 } }, 4008cdf0e10cSrcweir { 0x0082, { 0, 10800, 330 } }, 4009cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 337 } }, 4010cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 337 } }, 4011cdf0e10cSrcweir { 0x0081, { 0, 10800, 345 } }, 4012cdf0e10cSrcweir { 0x0082, { 0, 10800, 345 } }, 4013cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 352 } }, 4014cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 352 } } 4015cdf0e10cSrcweir }; 4016cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal8Vert[] = // adj value 0 -> 10800 4017cdf0e10cSrcweir { 4018cdf0e10cSrcweir { 5 MSO_I, 6 MSO_I }, { 11 MSO_I, 12 MSO_I }, { 17 MSO_I, 18 MSO_I }, { 23 MSO_I, 24 MSO_I }, 4019cdf0e10cSrcweir { 29 MSO_I, 30 MSO_I }, { 35 MSO_I, 36 MSO_I }, { 41 MSO_I, 42 MSO_I }, { 47 MSO_I, 48 MSO_I }, 4020cdf0e10cSrcweir { 53 MSO_I, 54 MSO_I }, { 59 MSO_I, 60 MSO_I }, { 65 MSO_I, 66 MSO_I }, { 71 MSO_I, 72 MSO_I }, 4021cdf0e10cSrcweir { 77 MSO_I, 78 MSO_I }, { 83 MSO_I, 84 MSO_I }, { 89 MSO_I, 90 MSO_I }, { 95 MSO_I, 96 MSO_I }, 4022cdf0e10cSrcweir { 5 MSO_I, 6 MSO_I } 4023cdf0e10cSrcweir }; 4024cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSealTextRect[] = 4025cdf0e10cSrcweir { 4026cdf0e10cSrcweir { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } } 4027cdf0e10cSrcweir }; 4028cdf0e10cSrcweir static const mso_CustomShape msoSeal8 = 4029cdf0e10cSrcweir { 4030cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSeal8Vert, sizeof( mso_sptSeal8Vert ) / sizeof( SvxMSDffVertPair ), 4031cdf0e10cSrcweir NULL, 0, 4032cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ), 4033cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2500, 4034cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 4035cdf0e10cSrcweir 21600, 21600, 4036cdf0e10cSrcweir 0x80000000, 0x80000000, 4037cdf0e10cSrcweir NULL, 0, 4038cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles 4039cdf0e10cSrcweir }; 4040cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal16Vert[] = // adj value 0 -> 10800 4041cdf0e10cSrcweir { 4042cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, 4043cdf0e10cSrcweir { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, 4044cdf0e10cSrcweir { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, 4045cdf0e10cSrcweir { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, 4046cdf0e10cSrcweir { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, 4047cdf0e10cSrcweir { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, 4048cdf0e10cSrcweir { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, 4049cdf0e10cSrcweir { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, 4050cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I } 4051cdf0e10cSrcweir }; 4052cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal16Calc[] = 4053cdf0e10cSrcweir { 4054cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 4055cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) 4056cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 315 } }, // 0x02 4057cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 135 } }, // 0x03 4058cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 135 } }, // 0x04 4059cdf0e10cSrcweir { 0x0081, { 0, 10800, 0 } }, 4060cdf0e10cSrcweir { 0x0082, { 0, 10800, 0 } }, 4061cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 11 } }, 4062cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 11 } }, 4063cdf0e10cSrcweir { 0x0081, { 0, 10800, 22 } }, 4064cdf0e10cSrcweir { 0x0082, { 0, 10800, 22 } }, 4065cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 33 } }, 4066cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 33 } }, 4067cdf0e10cSrcweir { 0x0081, { 0, 10800, 45 } }, 4068cdf0e10cSrcweir { 0x0082, { 0, 10800, 45 } }, 4069cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 56 } }, 4070cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 56 } }, 4071cdf0e10cSrcweir { 0x0081, { 0, 10800, 67 } }, 4072cdf0e10cSrcweir { 0x0082, { 0, 10800, 67 } }, 4073cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 78 } }, 4074cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 78 } }, 4075cdf0e10cSrcweir { 0x0081, { 0, 10800, 90 } }, 4076cdf0e10cSrcweir { 0x0082, { 0, 10800, 90 } }, 4077cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 101 } }, 4078cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 101 } }, 4079cdf0e10cSrcweir { 0x0081, { 0, 10800, 112 } }, 4080cdf0e10cSrcweir { 0x0082, { 0, 10800, 112 } }, 4081cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 123 } }, 4082cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 123 } }, 4083cdf0e10cSrcweir { 0x0081, { 0, 10800, 135 } }, 4084cdf0e10cSrcweir { 0x0082, { 0, 10800, 135 } }, 4085cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 146 } }, 4086cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 146 } }, 4087cdf0e10cSrcweir { 0x0081, { 0, 10800, 157 } }, 4088cdf0e10cSrcweir { 0x0082, { 0, 10800, 157 } }, 4089cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 168 } }, 4090cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 168 } }, 4091cdf0e10cSrcweir { 0x0081, { 0, 10800, 180 } }, 4092cdf0e10cSrcweir { 0x0082, { 0, 10800, 180 } }, 4093cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 191 } }, 4094cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 191 } }, 4095cdf0e10cSrcweir { 0x0081, { 0, 10800, 202 } }, 4096cdf0e10cSrcweir { 0x0082, { 0, 10800, 202 } }, 4097cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 213 } }, 4098cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 213 } }, 4099cdf0e10cSrcweir { 0x0081, { 0, 10800, 225 } }, 4100cdf0e10cSrcweir { 0x0082, { 0, 10800, 225 } }, 4101cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 236 } }, 4102cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 236 } }, 4103cdf0e10cSrcweir { 0x0081, { 0, 10800, 247 } }, 4104cdf0e10cSrcweir { 0x0082, { 0, 10800, 247 } }, 4105cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 258 } }, 4106cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 258 } }, 4107cdf0e10cSrcweir { 0x0081, { 0, 10800, 270 } }, 4108cdf0e10cSrcweir { 0x0082, { 0, 10800, 270 } }, 4109cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 281 } }, 4110cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 281 } }, 4111cdf0e10cSrcweir { 0x0081, { 0, 10800, 292 } }, 4112cdf0e10cSrcweir { 0x0082, { 0, 10800, 292 } }, 4113cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 303 } }, 4114cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 303 } }, 4115cdf0e10cSrcweir { 0x0081, { 0, 10800, 315 } }, 4116cdf0e10cSrcweir { 0x0082, { 0, 10800, 315 } }, 4117cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 326 } }, 4118cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 326 } }, 4119cdf0e10cSrcweir { 0x0081, { 0, 10800, 337 } }, 4120cdf0e10cSrcweir { 0x0082, { 0, 10800, 337 } }, 4121cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 348 } }, 4122cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 348 } } 4123cdf0e10cSrcweir }; 4124cdf0e10cSrcweir static const mso_CustomShape msoSeal16 = 4125cdf0e10cSrcweir { 4126cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSeal16Vert, sizeof( mso_sptSeal16Vert ) / sizeof( SvxMSDffVertPair ), 4127cdf0e10cSrcweir NULL, 0, 4128cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSeal16Calc, sizeof( mso_sptSeal16Calc ) / sizeof( SvxMSDffCalculationData ), 4129cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2500, 4130cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 4131cdf0e10cSrcweir 21600, 21600, 4132cdf0e10cSrcweir 0x80000000, 0x80000000, 4133cdf0e10cSrcweir NULL, 0, 4134cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles 4135cdf0e10cSrcweir }; 4136cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal24Vert[] = 4137cdf0e10cSrcweir { 4138cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, 4139cdf0e10cSrcweir { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, 4140cdf0e10cSrcweir { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, 4141cdf0e10cSrcweir { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, 4142cdf0e10cSrcweir { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, 4143cdf0e10cSrcweir { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, 4144cdf0e10cSrcweir { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, 4145cdf0e10cSrcweir { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, 4146cdf0e10cSrcweir { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I }, 4147cdf0e10cSrcweir { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I }, 4148cdf0e10cSrcweir { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I }, 4149cdf0e10cSrcweir { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I }, 4150cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I } 4151cdf0e10cSrcweir }; 4152cdf0e10cSrcweir static const mso_CustomShape msoSeal24 = 4153cdf0e10cSrcweir { 4154cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSeal24Vert, sizeof( mso_sptSeal24Vert ) / sizeof( SvxMSDffVertPair ), 4155cdf0e10cSrcweir NULL, 0, 4156cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ), 4157cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2500, 4158cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 4159cdf0e10cSrcweir 21600, 21600, 4160cdf0e10cSrcweir 0x80000000, 0x80000000, 4161cdf0e10cSrcweir NULL, 0, 4162cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles 4163cdf0e10cSrcweir }; 4164cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal32Calc[] = 4165cdf0e10cSrcweir { 4166cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 4167cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) 4168cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 315 } }, // 0x02 4169cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 135 } }, // 0x03 4170cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 135 } }, // 0x04 4171cdf0e10cSrcweir { 0x0081, { 0, 10800, 0 } }, 4172cdf0e10cSrcweir { 0x0082, { 0, 10800, 0 } }, 4173cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 5 } }, 4174cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 5 } }, 4175cdf0e10cSrcweir { 0x0081, { 0, 10800, 11 } }, 4176cdf0e10cSrcweir { 0x0082, { 0, 10800, 11 } }, 4177cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 16 } }, 4178cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 16 } }, 4179cdf0e10cSrcweir { 0x0081, { 0, 10800, 22 } }, 4180cdf0e10cSrcweir { 0x0082, { 0, 10800, 22 } }, 4181cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 28 } }, 4182cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 28 } }, 4183cdf0e10cSrcweir { 0x0081, { 0, 10800, 33 } }, 4184cdf0e10cSrcweir { 0x0082, { 0, 10800, 33 } }, 4185cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 39 } }, 4186cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 39 } }, 4187cdf0e10cSrcweir { 0x0081, { 0, 10800, 45 } }, 4188cdf0e10cSrcweir { 0x0082, { 0, 10800, 45 } }, 4189cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 50 } }, 4190cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 50 } }, 4191cdf0e10cSrcweir { 0x0081, { 0, 10800, 56 } }, 4192cdf0e10cSrcweir { 0x0082, { 0, 10800, 56 } }, 4193cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 61 } }, 4194cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 61 } }, 4195cdf0e10cSrcweir { 0x0081, { 0, 10800, 67 } }, 4196cdf0e10cSrcweir { 0x0082, { 0, 10800, 67 } }, 4197cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 73 } }, 4198cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 73 } }, 4199cdf0e10cSrcweir { 0x0081, { 0, 10800, 78 } }, 4200cdf0e10cSrcweir { 0x0082, { 0, 10800, 78 } }, 4201cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 84 } }, 4202cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 84 } }, 4203cdf0e10cSrcweir { 0x0081, { 0, 10800, 90 } }, 4204cdf0e10cSrcweir { 0x0082, { 0, 10800, 90 } }, 4205cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 95 } }, 4206cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 95 } }, 4207cdf0e10cSrcweir { 0x0081, { 0, 10800, 101 } }, 4208cdf0e10cSrcweir { 0x0082, { 0, 10800, 101 } }, 4209cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 106 } }, 4210cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 106 } }, 4211cdf0e10cSrcweir { 0x0081, { 0, 10800, 112 } }, 4212cdf0e10cSrcweir { 0x0082, { 0, 10800, 112 } }, 4213cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 118 } }, 4214cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 118 } }, 4215cdf0e10cSrcweir { 0x0081, { 0, 10800, 123 } }, 4216cdf0e10cSrcweir { 0x0082, { 0, 10800, 123 } }, 4217cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 129 } }, 4218cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 129 } }, 4219cdf0e10cSrcweir { 0x0081, { 0, 10800, 135 } }, 4220cdf0e10cSrcweir { 0x0082, { 0, 10800, 135 } }, 4221cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 140 } }, 4222cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 140 } }, 4223cdf0e10cSrcweir { 0x0081, { 0, 10800, 146 } }, 4224cdf0e10cSrcweir { 0x0082, { 0, 10800, 146 } }, 4225cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 151 } }, 4226cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 151 } }, 4227cdf0e10cSrcweir { 0x0081, { 0, 10800, 157 } }, 4228cdf0e10cSrcweir { 0x0082, { 0, 10800, 157 } }, 4229cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 163 } }, 4230cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 163 } }, 4231cdf0e10cSrcweir { 0x0081, { 0, 10800, 168 } }, 4232cdf0e10cSrcweir { 0x0082, { 0, 10800, 168 } }, 4233cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 174 } }, 4234cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 174 } }, 4235cdf0e10cSrcweir { 0x0081, { 0, 10800, 180 } }, 4236cdf0e10cSrcweir { 0x0082, { 0, 10800, 180 } }, 4237cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 185 } }, 4238cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 185 } }, 4239cdf0e10cSrcweir { 0x0081, { 0, 10800, 191 } }, 4240cdf0e10cSrcweir { 0x0082, { 0, 10800, 191 } }, 4241cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 196 } }, 4242cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 196 } }, 4243cdf0e10cSrcweir { 0x0081, { 0, 10800, 202 } }, 4244cdf0e10cSrcweir { 0x0082, { 0, 10800, 202 } }, 4245cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 208 } }, 4246cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 208 } }, 4247cdf0e10cSrcweir { 0x0081, { 0, 10800, 213 } }, 4248cdf0e10cSrcweir { 0x0082, { 0, 10800, 213 } }, 4249cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 219 } }, 4250cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 219 } }, 4251cdf0e10cSrcweir { 0x0081, { 0, 10800, 225 } }, 4252cdf0e10cSrcweir { 0x0082, { 0, 10800, 225 } }, 4253cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 230 } }, 4254cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 230 } }, 4255cdf0e10cSrcweir { 0x0081, { 0, 10800, 236 } }, 4256cdf0e10cSrcweir { 0x0082, { 0, 10800, 236 } }, 4257cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 241 } }, 4258cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 241 } }, 4259cdf0e10cSrcweir { 0x0081, { 0, 10800, 247 } }, 4260cdf0e10cSrcweir { 0x0082, { 0, 10800, 247 } }, 4261cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 253 } }, 4262cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 253 } }, 4263cdf0e10cSrcweir { 0x0081, { 0, 10800, 258 } }, 4264cdf0e10cSrcweir { 0x0082, { 0, 10800, 258 } }, 4265cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 264 } }, 4266cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 264 } }, 4267cdf0e10cSrcweir { 0x0081, { 0, 10800, 270 } }, 4268cdf0e10cSrcweir { 0x0082, { 0, 10800, 270 } }, 4269cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 275 } }, 4270cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 275 } }, 4271cdf0e10cSrcweir { 0x0081, { 0, 10800, 281 } }, 4272cdf0e10cSrcweir { 0x0082, { 0, 10800, 281 } }, 4273cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 286 } }, 4274cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 286 } }, 4275cdf0e10cSrcweir { 0x0081, { 0, 10800, 292 } }, 4276cdf0e10cSrcweir { 0x0082, { 0, 10800, 292 } }, 4277cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 298 } }, 4278cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 298 } }, 4279cdf0e10cSrcweir { 0x0081, { 0, 10800, 303 } }, 4280cdf0e10cSrcweir { 0x0082, { 0, 10800, 303 } }, 4281cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 309 } }, 4282cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 309 } }, 4283cdf0e10cSrcweir { 0x0081, { 0, 10800, 315 } }, 4284cdf0e10cSrcweir { 0x0082, { 0, 10800, 315 } }, 4285cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 320 } }, 4286cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 320 } }, 4287cdf0e10cSrcweir { 0x0081, { 0, 10800, 326 } }, 4288cdf0e10cSrcweir { 0x0082, { 0, 10800, 326 } }, 4289cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 331 } }, 4290cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 331 } }, 4291cdf0e10cSrcweir { 0x0081, { 0, 10800, 337 } }, 4292cdf0e10cSrcweir { 0x0082, { 0, 10800, 337 } }, 4293cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 343 } }, 4294cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 343 } }, 4295cdf0e10cSrcweir { 0x0081, { 0, 10800, 348 } }, 4296cdf0e10cSrcweir { 0x0082, { 0, 10800, 348 } }, 4297cdf0e10cSrcweir { 0x2081, { 0x400, 10800, 354 } }, 4298cdf0e10cSrcweir { 0x2082, { 0x400, 10800, 354 } } 4299cdf0e10cSrcweir }; 4300cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal32Vert[] = 4301cdf0e10cSrcweir { 4302cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, 4303cdf0e10cSrcweir { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, 4304cdf0e10cSrcweir { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, 4305cdf0e10cSrcweir { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, 4306cdf0e10cSrcweir { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, 4307cdf0e10cSrcweir { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, 4308cdf0e10cSrcweir { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, 4309cdf0e10cSrcweir { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, 4310cdf0e10cSrcweir { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I }, 4311cdf0e10cSrcweir { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I }, 4312cdf0e10cSrcweir { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I }, 4313cdf0e10cSrcweir { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I }, 4314cdf0e10cSrcweir { 0x65 MSO_I, 0x66 MSO_I }, { 0x67 MSO_I, 0x68 MSO_I }, { 0x69 MSO_I, 0x6a MSO_I }, { 0x6b MSO_I, 0x6c MSO_I }, 4315cdf0e10cSrcweir { 0x6d MSO_I, 0x6e MSO_I }, { 0x6f MSO_I, 0x70 MSO_I }, { 0x71 MSO_I, 0x72 MSO_I }, { 0x73 MSO_I, 0x74 MSO_I }, 4316cdf0e10cSrcweir { 0x75 MSO_I, 0x76 MSO_I }, { 0x77 MSO_I, 0x78 MSO_I }, { 0x79 MSO_I, 0x7a MSO_I }, { 0x7b MSO_I, 0x7c MSO_I }, 4317cdf0e10cSrcweir { 0x7d MSO_I, 0x7e MSO_I }, { 0x7f MSO_I, 0x80 MSO_I }, { 0x81 MSO_I, 0x82 MSO_I }, { 0x83 MSO_I, 0x84 MSO_I }, 4318cdf0e10cSrcweir { 0x05 MSO_I, 0x06 MSO_I } 4319cdf0e10cSrcweir }; 4320cdf0e10cSrcweir static const mso_CustomShape msoSeal32 = 4321cdf0e10cSrcweir { 4322cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptSeal32Vert, sizeof( mso_sptSeal32Vert ) / sizeof( SvxMSDffVertPair ), 4323cdf0e10cSrcweir NULL, 0, 4324cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptSeal32Calc, sizeof( mso_sptSeal32Calc ) / sizeof( SvxMSDffCalculationData ), 4325cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2500, 4326cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 4327cdf0e10cSrcweir 21600, 21600, 4328cdf0e10cSrcweir 0x80000000, 0x80000000, 4329cdf0e10cSrcweir NULL, 0, 4330cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) 4331cdf0e10cSrcweir }; 4332cdf0e10cSrcweir 4333cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbon2Vert[] = // adjustment1 : x 2700 - 8100 def 5400 4334cdf0e10cSrcweir { // adjustment2 : y 14400 - 21600 def 18900 4335cdf0e10cSrcweir { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I }, // pp 4336cdf0e10cSrcweir { 12 MSO_I, 14 MSO_I }, { 15 MSO_I, 21600 }, { 16 MSO_I, 21600 }, // ccp 4337cdf0e10cSrcweir { 0, 21600 }, { 2750, 7 MSO_I }, { 0, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, // pppp 4338cdf0e10cSrcweir { 0 MSO_I, 4 MSO_I }, // p 4339cdf0e10cSrcweir { 0 MSO_I, 5 MSO_I }, { 10 MSO_I, 0 }, { 11 MSO_I, 0 }, // ccp 4340cdf0e10cSrcweir { 17 MSO_I, 0 }, // p 4341cdf0e10cSrcweir { 18 MSO_I, 0 }, { 19 MSO_I, 5 MSO_I }, { 19 MSO_I, 4 MSO_I }, // ccp 4342cdf0e10cSrcweir { 19 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }, { 18850, 7 MSO_I }, { 21600, 21600 }, // pppp 4343cdf0e10cSrcweir { 20 MSO_I, 21600 }, // p 4344cdf0e10cSrcweir { 21 MSO_I, 21600 }, { 22 MSO_I, 14 MSO_I }, { 22 MSO_I, 13 MSO_I }, // ccp 4345cdf0e10cSrcweir { 22 MSO_I, 1 MSO_I }, { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I }, // ppp 4346cdf0e10cSrcweir { 12 MSO_I, 23 MSO_I }, { 15 MSO_I, 24 MSO_I }, { 16 MSO_I, 24 MSO_I }, // ccp 4347cdf0e10cSrcweir { 11 MSO_I, 24 MSO_I }, // p 4348cdf0e10cSrcweir { 10 MSO_I, 24 MSO_I }, { 0 MSO_I, 26 MSO_I }, { 0 MSO_I, 25 MSO_I }, // ccp 4349cdf0e10cSrcweir { 0 MSO_I, 27 MSO_I }, { 10 MSO_I, 1 MSO_I }, { 11 MSO_I, 1 MSO_I }, // ccp 4350cdf0e10cSrcweir 4351cdf0e10cSrcweir { 22 MSO_I, 1 MSO_I }, { 22 MSO_I, 13 MSO_I }, // pp 4352cdf0e10cSrcweir { 22 MSO_I, 23 MSO_I }, { 21 MSO_I, 24 MSO_I }, { 20 MSO_I, 24 MSO_I }, // ccp 4353cdf0e10cSrcweir { 17 MSO_I, 24 MSO_I }, // p 4354cdf0e10cSrcweir { 18 MSO_I, 24 MSO_I }, { 19 MSO_I, 26 MSO_I }, { 19 MSO_I, 25 MSO_I }, // ccp 4355cdf0e10cSrcweir { 19 MSO_I, 27 MSO_I }, { 18 MSO_I, 1 MSO_I }, { 17 MSO_I, 1 MSO_I }, // ccp 4356cdf0e10cSrcweir 4357cdf0e10cSrcweir { 0 MSO_I, 25 MSO_I }, { 0 MSO_I, 2 MSO_I }, // pp 4358cdf0e10cSrcweir 4359cdf0e10cSrcweir { 19 MSO_I, 25 MSO_I }, { 19 MSO_I, 2 MSO_I } // pp 4360cdf0e10cSrcweir }; 4361cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbon2Segm[] = 4362cdf0e10cSrcweir { 4363cdf0e10cSrcweir 0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000, 4364cdf0e10cSrcweir 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000, 4365cdf0e10cSrcweir 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000, 4366cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 4367cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 4368cdf0e10cSrcweir }; 4369cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbon2Calc[] = 4370cdf0e10cSrcweir { 4371cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 00 4372cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 01 4373cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } }, // 02 4374cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } }, // 03 4375cdf0e10cSrcweir { 0x2001, { 0x403, 1, 2 } }, // 04 4376cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, // 05 4377cdf0e10cSrcweir { 0x2001, { 0x401, 1, 2 } }, // 06 4378cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } }, // 07 4379cdf0e10cSrcweir { 0x0000, { 420, 0, 0 } }, // 08 4380cdf0e10cSrcweir { 0x2001, { 0x408, 2, 1 } }, // 09 4381cdf0e10cSrcweir { 0x6000, { 0x400, 0x408, 0 } }, // 10 4382cdf0e10cSrcweir { 0x6000, { 0x400, 0x409, 0 } }, // 11 4383cdf0e10cSrcweir { 0x2000, { 0x400, 2700, 0 } }, // 12 4384cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, // 13 4385cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } }, // 14 4386cdf0e10cSrcweir { 0xa000, { 0x40c, 0, 0x408 } }, // 15 4387cdf0e10cSrcweir { 0xa000, { 0x40c, 0, 0x409 } }, // 16 4388cdf0e10cSrcweir 4389cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40b } }, // 17 4390cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40a } }, // 18 4391cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, // 19 4392cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x410 } }, // 20 4393cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40f } }, // 21 4394cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40c } }, // 22 4395cdf0e10cSrcweir 4396cdf0e10cSrcweir { 0xa000, { 0x40d, 0, 0x405 } }, // 23 4397cdf0e10cSrcweir { 0x6000, { 0x401, 0x403, 0 } }, // 24 4398cdf0e10cSrcweir { 0x6000, { 0x401, 0x404, 0 } }, // 25 4399cdf0e10cSrcweir { 0x6000, { 0x419, 0x405, 0 } }, // 26 4400cdf0e10cSrcweir { 0xa000, { 0x419, 0, 0x405 } } // 27 4401cdf0e10cSrcweir }; 4402cdf0e10cSrcweir static const sal_Int32 mso_sptRibbon2Default[] = 4403cdf0e10cSrcweir { 4404cdf0e10cSrcweir 2, 5400, 18900 4405cdf0e10cSrcweir }; 4406cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] = 4407cdf0e10cSrcweir { 4408cdf0e10cSrcweir { { 0 MSO_I, 0 }, { 19 MSO_I, 1 MSO_I } } 4409cdf0e10cSrcweir }; 4410cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbon2Handle[] = 4411cdf0e10cSrcweir { 4412cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4413cdf0e10cSrcweir 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff }, 4414cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4415cdf0e10cSrcweir 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 } 4416cdf0e10cSrcweir }; 4417cdf0e10cSrcweir static const mso_CustomShape msoRibbon2 = 4418cdf0e10cSrcweir { 4419cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRibbon2Vert, sizeof( mso_sptRibbon2Vert ) / sizeof( SvxMSDffVertPair ), 4420cdf0e10cSrcweir (sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1, 4421cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptRibbon2Calc, sizeof( mso_sptRibbon2Calc ) / sizeof( SvxMSDffCalculationData ), 4422cdf0e10cSrcweir (sal_Int32*)mso_sptRibbon2Default, 4423cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, sizeof( mso_sptRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ), 4424cdf0e10cSrcweir 21600, 21600, 4425cdf0e10cSrcweir 0x80000000, 0x80000000, 4426cdf0e10cSrcweir NULL, 0, 4427cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRibbon2Handle, sizeof( mso_sptRibbon2Handle ) / sizeof( SvxMSDffHandle ) 4428cdf0e10cSrcweir }; 4429cdf0e10cSrcweir 4430cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonVert[] = 4431cdf0e10cSrcweir { 4432cdf0e10cSrcweir { 0, 0 }, { 3 MSO_I, 0 }, 4433cdf0e10cSrcweir { 4 MSO_I, 11 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I }, 4434cdf0e10cSrcweir { 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 }, 4435cdf0e10cSrcweir { 0 MSO_I, 16 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 0, 15 MSO_I }, { 2700, 14 MSO_I }, 4436cdf0e10cSrcweir 4437cdf0e10cSrcweir { 4 MSO_I, 11 MSO_I }, 4438cdf0e10cSrcweir { 3 MSO_I, 12 MSO_I }, { 1 MSO_I, 12 MSO_I }, 4439cdf0e10cSrcweir { 0 MSO_I, 13 MSO_I }, { 1 MSO_I, 10 MSO_I }, { 4 MSO_I, 10 MSO_I }, 4440cdf0e10cSrcweir { 5 MSO_I, 11 MSO_I }, 4441cdf0e10cSrcweir { 6 MSO_I, 12 MSO_I }, { 8 MSO_I, 12 MSO_I }, 4442cdf0e10cSrcweir { 9 MSO_I, 13 MSO_I }, { 8 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, 4443cdf0e10cSrcweir { 0 MSO_I, 13 MSO_I }, 4444cdf0e10cSrcweir { 0 MSO_I, 15 MSO_I }, 4445cdf0e10cSrcweir { 9 MSO_I, 13 MSO_I }, 4446cdf0e10cSrcweir { 9 MSO_I, 15 MSO_I } 4447cdf0e10cSrcweir }; 4448cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbonSegm[] = 4449cdf0e10cSrcweir { 4450cdf0e10cSrcweir 0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000, 4451cdf0e10cSrcweir 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000, 4452cdf0e10cSrcweir 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000, 4453cdf0e10cSrcweir 0x4000, 0xaa00, 0x0001, 0x8000, 4454cdf0e10cSrcweir 0x4000, 0xaa00, 0x0001, 0x8000 4455cdf0e10cSrcweir }; 4456cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbonCalc[] = 4457cdf0e10cSrcweir { 4458cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 00 4459cdf0e10cSrcweir { 0x2000, { 0x400, 675, 0 } }, // 01 4460cdf0e10cSrcweir { 0x2000, { 0x401, 675, 0 } }, // 02 4461cdf0e10cSrcweir { 0x2000, { 0x402, 675, 0 } }, // 03 4462cdf0e10cSrcweir { 0x2000, { 0x403, 675, 0 } }, // 04 4463cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, // 05 4464cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } }, // 06 4465cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, // 07 4466cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } }, // 08 4467cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, // 09 4468cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 10 4469cdf0e10cSrcweir { 0x2001, { 0x40a, 1, 4 } }, // 11 4470cdf0e10cSrcweir { 0x2001, { 0x40b, 2, 1 } }, // 12 4471cdf0e10cSrcweir { 0x2001, { 0x40b, 3, 1 } }, // 13 4472cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x40c } }, // 14 4473cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40a } }, // 15 4474cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40b } }, // 16 4475cdf0e10cSrcweir { 0x0001, { 21600, 1, 2 } }, // 17 4476cdf0e10cSrcweir { 0x0000, { 21600, 0, 2700 } }, // 18 4477cdf0e10cSrcweir { 0x2000, { 0x411, 0, 2700 } } // 19 4478cdf0e10cSrcweir }; 4479cdf0e10cSrcweir static const sal_Int32 mso_sptRibbonDefault[] = 4480cdf0e10cSrcweir { 4481cdf0e10cSrcweir 2, 5400, 2700 4482cdf0e10cSrcweir }; 4483cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbonTextRect[] = 4484cdf0e10cSrcweir { 4485cdf0e10cSrcweir { { 0 MSO_I, 10 MSO_I }, { 9 MSO_I, 21600 } } 4486cdf0e10cSrcweir }; 4487cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonGluePoints[] = 4488cdf0e10cSrcweir { 4489cdf0e10cSrcweir { 17 MSO_I, 10 MSO_I }, { 2700, 14 MSO_I }, { 17 MSO_I, 21600 }, { 18 MSO_I, 14 MSO_I } 4490cdf0e10cSrcweir }; 4491cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbonHandle[] = 4492cdf0e10cSrcweir { 4493cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4494cdf0e10cSrcweir 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff }, 4495cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4496cdf0e10cSrcweir 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 } 4497cdf0e10cSrcweir }; 4498cdf0e10cSrcweir static const mso_CustomShape msoRibbon = 4499cdf0e10cSrcweir { 4500cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRibbonVert, sizeof( mso_sptRibbonVert ) / sizeof( SvxMSDffVertPair ), 4501cdf0e10cSrcweir (sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1, 4502cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptRibbonCalc, sizeof( mso_sptRibbonCalc ) / sizeof( SvxMSDffCalculationData ), 4503cdf0e10cSrcweir (sal_Int32*)mso_sptRibbonDefault, 4504cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptRibbonTextRect, sizeof( mso_sptRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ), 4505cdf0e10cSrcweir 21600, 21600, 4506cdf0e10cSrcweir 0x80000000, 0x80000000, 4507cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptRibbonGluePoints, sizeof( mso_sptRibbonGluePoints ) / sizeof( SvxMSDffVertPair ), 4508cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptRibbonHandle, sizeof( mso_sptRibbonHandle ) / sizeof( SvxMSDffHandle ) 4509cdf0e10cSrcweir }; 4510*4d2151e5SArmin Le Grand //msosptEllipseRibbon 4511*4d2151e5SArmin Le Grand //svg path = ar@9@38@8@37,0@27@0@26@9@13@8@4@0@25@22@25@9@38@8@37@22@26@3@27l@7@40@3,wa@9@35@8@10@3,0@21@33@9@36@8@1@21@31@20@31@9@35@8@10@20@33,,l@5@40xewr@9@36@8@1@20@31@0@32nfl@20@33ear@9@36@8@1@21@31@22@32nfl@21@33em@0@26nfl@0@32em@22@26nfl@22@32e 4512*4d2151e5SArmin Le Grand //odp path = A ?f9 ?f38 ?f8 ?f37 0 ?f27 ?f0 ?f26 ?f9 ?f13 ?f8 ?f4 ?f0 ?f25 ?f22 ?f25 ?f9 ?f38 ?f8 ?f37 ?f22 ?f26 ?f3 ?f27 L ?f7 ?f40 ?f3 0 W ?f9 ?f35 ?f8 ?f10 ?f3 0 ?f21 ?f33 ?f9 ?f36 ?f8 ?f1 ?f21 ?f31 ?f20 ?f31 ?f9 ?f35 ?f8 ?f10 ?f20 ?f33 0 0 L ?f5 ?f40 Z N W ?f9 ?f36 ?f8 ?f1 ?f20 ?f31 ?f0 ?f32 F L ?f20 ?f33 N A ?f9 ?f36 ?f8 ?f1 ?f21 ?f31 ?f22 ?f32 F L ?f21 ?f33 N M ?f0 ?f26 F L ?f0 ?f32 N M ?f22 ?f26 F L ?f22 ?f32 N 4513*4d2151e5SArmin Le Grand static const SvxMSDffVertPair mso_sptEllipseRibbonVert[] = 4514*4d2151e5SArmin Le Grand { 4515*4d2151e5SArmin Le Grand { 9 MSO_I , 38 MSO_I }, 4516*4d2151e5SArmin Le Grand { 8 MSO_I , 37 MSO_I }, 4517*4d2151e5SArmin Le Grand { 0 , 27 MSO_I }, 4518*4d2151e5SArmin Le Grand { 0 MSO_I , 26 MSO_I }, 4519*4d2151e5SArmin Le Grand { 9 MSO_I , 13 MSO_I }, 4520*4d2151e5SArmin Le Grand { 8 MSO_I , 4 MSO_I }, 4521*4d2151e5SArmin Le Grand { 0 MSO_I , 25 MSO_I }, 4522*4d2151e5SArmin Le Grand { 22 MSO_I , 25 MSO_I }, 4523*4d2151e5SArmin Le Grand { 9 MSO_I , 38 MSO_I }, 4524*4d2151e5SArmin Le Grand { 8 MSO_I , 37 MSO_I }, 4525*4d2151e5SArmin Le Grand { 22 MSO_I , 26 MSO_I }, 4526*4d2151e5SArmin Le Grand { 3 MSO_I , 27 MSO_I }, 4527*4d2151e5SArmin Le Grand { 7 MSO_I , 40 MSO_I }, 4528*4d2151e5SArmin Le Grand { 3 MSO_I , 0 }, 4529*4d2151e5SArmin Le Grand { 9 MSO_I , 35 MSO_I }, 4530*4d2151e5SArmin Le Grand { 8 MSO_I , 10 MSO_I }, 4531*4d2151e5SArmin Le Grand { 3 MSO_I , 0 }, 4532*4d2151e5SArmin Le Grand { 21 MSO_I , 33 MSO_I }, 4533*4d2151e5SArmin Le Grand { 9 MSO_I , 36 MSO_I }, 4534*4d2151e5SArmin Le Grand { 8 MSO_I , 1 MSO_I }, 4535*4d2151e5SArmin Le Grand { 21 MSO_I , 31 MSO_I }, 4536*4d2151e5SArmin Le Grand { 20 MSO_I , 31 MSO_I }, 4537*4d2151e5SArmin Le Grand { 9 MSO_I , 35 MSO_I }, 4538*4d2151e5SArmin Le Grand { 8 MSO_I , 10 MSO_I }, 4539*4d2151e5SArmin Le Grand { 20 MSO_I , 33 MSO_I }, 4540*4d2151e5SArmin Le Grand { 0 , 0 }, 4541*4d2151e5SArmin Le Grand { 5 MSO_I , 40 MSO_I }, 4542*4d2151e5SArmin Le Grand { 9 MSO_I , 36 MSO_I }, 4543*4d2151e5SArmin Le Grand { 8 MSO_I , 1 MSO_I }, 4544*4d2151e5SArmin Le Grand { 20 MSO_I , 31 MSO_I }, 4545*4d2151e5SArmin Le Grand { 0 MSO_I , 32 MSO_I }, 4546*4d2151e5SArmin Le Grand { 20 MSO_I , 33 MSO_I }, 4547*4d2151e5SArmin Le Grand { 9 MSO_I , 36 MSO_I }, 4548*4d2151e5SArmin Le Grand { 8 MSO_I , 1 MSO_I }, 4549*4d2151e5SArmin Le Grand { 21 MSO_I , 31 MSO_I }, 4550*4d2151e5SArmin Le Grand { 22 MSO_I , 32 MSO_I }, 4551*4d2151e5SArmin Le Grand { 21 MSO_I , 33 MSO_I }, 4552*4d2151e5SArmin Le Grand { 0 MSO_I , 26 MSO_I }, 4553*4d2151e5SArmin Le Grand { 0 MSO_I , 32 MSO_I }, 4554*4d2151e5SArmin Le Grand { 22 MSO_I , 26 MSO_I }, 4555*4d2151e5SArmin Le Grand { 22 MSO_I , 32 MSO_I } 4556*4d2151e5SArmin Le Grand }; 4557cdf0e10cSrcweir 4558*4d2151e5SArmin Le Grand static const sal_uInt16 mso_sptEllipseRibbonSegm[] = 4559*4d2151e5SArmin Le Grand { 4560*4d2151e5SArmin Le Grand 0xa30c /*ar*/,0x0002/*l*/,0xa50c/*wa*/,0x0001/*l*/, 4561*4d2151e5SArmin Le Grand 0x6001/*x*/, 0x8000/*e*/,0xa504/*wr*/,0xaa00/*nf*/, 4562*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0xa304/*ar*/,0xaa00/*nf*/, 4563*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/, 4564*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/, 4565*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/ 4566*4d2151e5SArmin Le Grand }; 4567*4d2151e5SArmin Le Grand 4568*4d2151e5SArmin Le Grand static const SvxMSDffCalculationData mso_sptEllipseRibbonCalc[] = 4569*4d2151e5SArmin Le Grand { 4570*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjustValue , 0 , 0 } }, //val #0 4571*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjust2Value , 0 , 0 } }, //val #1 4572*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjust3Value , 0 , 0 } }, //val #2 4573*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_geoRight , 0 , 0 } }, //val width 4574*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_geoBottom , 0 , 0 } }, //val height 4575*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 1 , 8 } }, //prod width 1 8 4576*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 1 , 2 } }, //prod width 1 2 4577*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 7 , 8 } }, //prod width 7 8 4578*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 3 , 2 } }, //prod width 3 2 4579*4d2151e5SArmin Le Grand { 0x8000 , { 0 , 0 , 0x406 } }, //sum 0 0 @6 4580*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust3Value } }, //sum height 0 #2 4581*4d2151e5SArmin Le Grand { 0x2001 , { 0x40a , 30573 , 4096 } }, //prod @10 30573 4096 4582*4d2151e5SArmin Le Grand { 0x2001 , { 0x40b , 2 , 1 } }, //prod @11 2 1 4583*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , 0x40c } }, //sum height 0 @12 4584*4d2151e5SArmin Le Grand { 0x6000 , { 0x40b , DFF_Prop_adjust3Value , 0 } }, //sum @11 #2 0 4585*4d2151e5SArmin Le Grand { 0xe000 , { 0x40b , DFF_Prop_geoBottom , DFF_Prop_adjust2Value } }, //sum @11 height #1 4586*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust2Value } }, //sum height 0 #1 4587*4d2151e5SArmin Le Grand { 0x2001 , { 0x410 , 1 , 2 } }, //prod @16 1 2 4588*4d2151e5SArmin Le Grand { 0x6000 , { 0x40b , 0x411 , 0 } }, //sum @11 @17 0 4589*4d2151e5SArmin Le Grand { 0xe000 , { 0x40e , DFF_Prop_adjust2Value , DFF_Prop_geoBottom } }, //sum @14 #1 height 4590*4d2151e5SArmin Le Grand { 0x6000 , { DFF_Prop_adjustValue , 0x405 , 0 } }, //sum #0 @5 0 4591*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoRight , 0 , 0x414 } }, //sum width 0 @20 4592*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoRight , 0 , DFF_Prop_adjustValue } }, //sum width 0 #0 4593*4d2151e5SArmin Le Grand { 0xa000 , { 0x406 , 0 , DFF_Prop_adjustValue } }, //sum @6 0 #0 4594*4d2151e5SArmin Le Grand { 0xe00f , { 0x417 , DFF_Prop_geoRight , 0x40b } }, //ellipse @23 width @11 4595*4d2151e5SArmin Le Grand { 0xe000 , { 0x418 , DFF_Prop_geoBottom , 0x40b } }, //sum @24 height @11 4596*4d2151e5SArmin Le Grand { 0xe000 , { 0x419 , 0x40b , 0x413 } }, //sum @25 @11 @19 4597*4d2151e5SArmin Le Grand { 0xe000 , { DFF_Prop_adjust3Value , 0x40b , 0x413 } }, //sum #2 @11 @19 4598*4d2151e5SArmin Le Grand { 0x2001 , { 0x40b , 2391 , 32768 } }, //prod @11 2391 32768 4599*4d2151e5SArmin Le Grand { 0xa000 , { 0x406 , 0 , 0x414 } }, //sum @6 0 @20 4600*4d2151e5SArmin Le Grand { 0xe00f , { 0x41d , DFF_Prop_geoRight , 0x40b } }, //ellipse @29 width @11 4601*4d2151e5SArmin Le Grand { 0xe000 , { DFF_Prop_adjust2Value , 0x41e , 0x40b } }, //sum #1 @30 @11 4602*4d2151e5SArmin Le Grand { 0xe000 , { 0x419 , DFF_Prop_adjust2Value , DFF_Prop_geoBottom } }, //sum @25 #1 height 4603*4d2151e5SArmin Le Grand { 0xe000 , { DFF_Prop_geoBottom , 0x41e , 0x40e } }, //sum height @30 @14 4604*4d2151e5SArmin Le Grand { 0x6000 , { 0x40b , 0x40e , 0 } }, //sum @11 @14 0 4605*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , 0x422 } }, //sum height 0 @34 4606*4d2151e5SArmin Le Grand { 0xe000 , { 0x423 , 0x413 , 0x40b } }, //sum @35 @19 @11 4607*4d2151e5SArmin Le Grand { 0xe000 , { 0x40a , 0x40f , 0x40b } }, //sum @10 @15 @11 4608*4d2151e5SArmin Le Grand { 0xe000 , { 0x423 , 0x40f , 0x40b } }, //sum @35 @15 @11 4609*4d2151e5SArmin Le Grand { 0xe000 , { 0x41c , 0x40e , 0x412 } }, //sum @28 @14 @18 4610*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , 0x427 } }, //sum height 0 @39 4611*4d2151e5SArmin Le Grand { 0xa000 , { 0x413 , 0 , 0x412 } }, //sum @19 0 @18 4612*4d2151e5SArmin Le Grand { 0x2001 , { 0x429 , 2 , 3 } }, //prod @41 2 3 4613*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_adjust2Value , 0 , 0x42a } }, //sum #1 0 @42 4614*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_adjust3Value , 0 , 0x42a } }, //sum #2 0 @42 4615*4d2151e5SArmin Le Grand { 0x2004 , { 0x42c , 20925 , 0 } }, //min @44 20925 4616*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 3 , 8 } }, //prod width 3 8 4617*4d2151e5SArmin Le Grand { 0x2000 , { 0x42e , 0 , 4 } }, //sum @46 0 4 4618*4d2151e5SArmin Le Grand }; 4619*4d2151e5SArmin Le Grand 4620*4d2151e5SArmin Le Grand static const SvxMSDffTextRectangles mso_sptEllipseRibbonTextRect[] = 4621*4d2151e5SArmin Le Grand {//@0,@1,@22,@25 4622*4d2151e5SArmin Le Grand { { 0 MSO_I, 1 MSO_I }, { 22 MSO_I, 25 MSO_I } } 4623*4d2151e5SArmin Le Grand }; 4624*4d2151e5SArmin Le Grand 4625*4d2151e5SArmin Le Grand static const sal_Int32 mso_sptEllipseRibbonDefault[] = 4626*4d2151e5SArmin Le Grand { 4627*4d2151e5SArmin Le Grand 3,5400,5400,18900 4628*4d2151e5SArmin Le Grand }; 4629*4d2151e5SArmin Le Grand 4630*4d2151e5SArmin Le Grand static const SvxMSDffHandle mso_sptEllipseRibbonHandle[] = 4631*4d2151e5SArmin Le Grand { 4632*4d2151e5SArmin Le Grand //position="#0,bottomRight" xrange="@5,@47 4633*4d2151e5SArmin Le Grand //position="center,#1" yrange="@10,@43 4634*4d2151e5SArmin Le Grand //position="topLeft,#2" yrange="@27,@45 4635*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 4636*4d2151e5SArmin Le Grand 0x100, 21600, 0, 0, 0x8/*5+3*/, 0x32/*47+3*/, 0x80000000, 0x7fffffff }, 4637*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 4638*4d2151e5SArmin Le Grand 10800, 0x101, 0, 0, 0x80000000, 0x7fffffff,0xd/*10+3*/, 0x2e /*43+3*/ }, 4639*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 4640*4d2151e5SArmin Le Grand 0, 0x102, 0, 0, 0x80000000, 0x7fffffff,0x1e/*27+3*/, 0x30 /*45+3*/ } 4641*4d2151e5SArmin Le Grand }; 4642*4d2151e5SArmin Le Grand 4643*4d2151e5SArmin Le Grand static const mso_CustomShape msosptEllipseRibbon = 4644*4d2151e5SArmin Le Grand { 4645*4d2151e5SArmin Le Grand (SvxMSDffVertPair*)mso_sptEllipseRibbonVert, sizeof( mso_sptEllipseRibbonVert ) / sizeof( SvxMSDffVertPair ), 4646*4d2151e5SArmin Le Grand (sal_uInt16*)mso_sptEllipseRibbonSegm, sizeof( mso_sptEllipseRibbonSegm ) >> 1, 4647*4d2151e5SArmin Le Grand (SvxMSDffCalculationData*)mso_sptEllipseRibbonCalc, sizeof( mso_sptEllipseRibbonCalc ) / sizeof( SvxMSDffCalculationData ), 4648*4d2151e5SArmin Le Grand (sal_Int32*)mso_sptEllipseRibbonDefault, 4649*4d2151e5SArmin Le Grand (SvxMSDffTextRectangles*)mso_sptEllipseRibbonTextRect, sizeof( mso_sptEllipseRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ), 4650*4d2151e5SArmin Le Grand 21600, 21600, 4651*4d2151e5SArmin Le Grand 0x80000000, 0x80000000, 4652*4d2151e5SArmin Le Grand NULL, 0, 4653*4d2151e5SArmin Le Grand (SvxMSDffHandle*)mso_sptEllipseRibbonHandle, sizeof( mso_sptEllipseRibbonHandle ) / sizeof( SvxMSDffHandle ) 4654*4d2151e5SArmin Le Grand }; 4655*4d2151e5SArmin Le Grand 4656*4d2151e5SArmin Le Grand //msosptEllipseRibbon2 4657*4d2151e5SArmin Le Grand //svg path = wr@9@34@8@35,0@24@0@23@9,0@8@11@0@22@19@22@9@34@8@35@19@23@3@24l@7@36@3@4at@9@31@8@32@3@4@18@30@9@1@8@33@18@28@17@28@9@31@8@32@17@30,0@4l@5@36xear@9@1@8@33@17@28@0@29nfl@17@30ewr@9@1@8@33@18@28@19@29nfl@18@30em@0@23nfl@0@29em@19@23nfl@19@29e 4658*4d2151e5SArmin Le Grand static const SvxMSDffVertPair mso_sptEllipseRibbon2Vert[] = 4659*4d2151e5SArmin Le Grand { 4660*4d2151e5SArmin Le Grand { 9 MSO_I , 34 MSO_I }, 4661*4d2151e5SArmin Le Grand { 8 MSO_I , 35 MSO_I }, 4662*4d2151e5SArmin Le Grand { 0 , 24 MSO_I }, 4663*4d2151e5SArmin Le Grand { 0 MSO_I , 23 MSO_I }, 4664*4d2151e5SArmin Le Grand { 9 MSO_I , 0 }, 4665*4d2151e5SArmin Le Grand { 8 MSO_I , 11 MSO_I }, 4666*4d2151e5SArmin Le Grand { 0 MSO_I , 22 MSO_I }, 4667*4d2151e5SArmin Le Grand { 19 MSO_I , 22 MSO_I }, 4668*4d2151e5SArmin Le Grand { 9 MSO_I , 34 MSO_I }, 4669*4d2151e5SArmin Le Grand { 8 MSO_I , 35 MSO_I }, 4670*4d2151e5SArmin Le Grand { 19 MSO_I , 23 MSO_I }, 4671*4d2151e5SArmin Le Grand { 3 MSO_I , 24 MSO_I }, 4672*4d2151e5SArmin Le Grand { 7 MSO_I , 36 MSO_I }, 4673*4d2151e5SArmin Le Grand { 3 MSO_I , 4 MSO_I }, 4674*4d2151e5SArmin Le Grand { 9 MSO_I , 31 MSO_I }, 4675*4d2151e5SArmin Le Grand { 8 MSO_I , 32 MSO_I }, 4676*4d2151e5SArmin Le Grand { 3 MSO_I , 4 MSO_I }, 4677*4d2151e5SArmin Le Grand { 18 MSO_I , 30 MSO_I }, 4678*4d2151e5SArmin Le Grand { 9 MSO_I , 1 MSO_I }, 4679*4d2151e5SArmin Le Grand { 8 MSO_I , 33 MSO_I }, 4680*4d2151e5SArmin Le Grand { 18 MSO_I , 28 MSO_I }, 4681*4d2151e5SArmin Le Grand { 17 MSO_I , 28 MSO_I }, 4682*4d2151e5SArmin Le Grand { 9 MSO_I , 31 MSO_I }, 4683*4d2151e5SArmin Le Grand { 8 MSO_I , 32 MSO_I }, 4684*4d2151e5SArmin Le Grand { 17 MSO_I , 30 MSO_I }, 4685*4d2151e5SArmin Le Grand { 0 , 4l MSO_I }, 4686*4d2151e5SArmin Le Grand { 5 MSO_I , 36 MSO_I }, 4687*4d2151e5SArmin Le Grand { 9 MSO_I , 1 MSO_I }, 4688*4d2151e5SArmin Le Grand { 8 MSO_I , 33 MSO_I }, 4689*4d2151e5SArmin Le Grand { 17 MSO_I , 28 MSO_I }, 4690*4d2151e5SArmin Le Grand { 0 MSO_I , 29 MSO_I }, 4691*4d2151e5SArmin Le Grand { 17 MSO_I , 30 MSO_I }, 4692*4d2151e5SArmin Le Grand { 9 MSO_I , 1 MSO_I }, 4693*4d2151e5SArmin Le Grand { 8 MSO_I , 33 MSO_I }, 4694*4d2151e5SArmin Le Grand { 18 MSO_I , 28 MSO_I }, 4695*4d2151e5SArmin Le Grand { 19 MSO_I , 29 MSO_I }, 4696*4d2151e5SArmin Le Grand { 18 MSO_I , 30 MSO_I }, 4697*4d2151e5SArmin Le Grand { 0 MSO_I , 23 MSO_I }, 4698*4d2151e5SArmin Le Grand { 0 MSO_I , 29 MSO_I }, 4699*4d2151e5SArmin Le Grand { 19 MSO_I , 23 MSO_I }, 4700*4d2151e5SArmin Le Grand { 19 MSO_I , 29 MSO_I } 4701*4d2151e5SArmin Le Grand }; 4702*4d2151e5SArmin Le Grand static const sal_uInt16 mso_sptEllipseRibbon2Segm[] = 4703*4d2151e5SArmin Le Grand { 4704*4d2151e5SArmin Le Grand 0xa50c/*wr*/,0x0002/*l*/,0xa30c/*at*/,0x0001/*l*/, 4705*4d2151e5SArmin Le Grand 0x6001/*x*/, 0x8000/*e*/,0xa304/*ar*/,0xaa00/*nf*/, 4706*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0xa504/*wr*/,0xaa00/*nf*/, 4707*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/, 4708*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/, 4709*4d2151e5SArmin Le Grand 0x0001/*l*/, 0x8000/*e*/ 4710*4d2151e5SArmin Le Grand }; 4711*4d2151e5SArmin Le Grand 4712*4d2151e5SArmin Le Grand static const SvxMSDffCalculationData mso_sptEllipseRibbon2Calc[] = 4713*4d2151e5SArmin Le Grand { 4714*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjustValue , 0 , 0 } }, //val #0 4715*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjust2Value , 0 , 0 } }, //val #1 4716*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_adjust3Value , 0 , 0 } }, //val #2 4717*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_geoRight , 0 , 0 } }, //val width 4718*4d2151e5SArmin Le Grand { 0x2000 , { DFF_Prop_geoBottom , 0 , 0 } }, //val height 4719*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 1 , 8 } }, //prod width 1 8 4720*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 1 , 2 } }, //prod width 1 2 4721*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 7 , 8 } }, //prod width 7 8 4722*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 3 , 2 } }, //prod width 3 2 4723*4d2151e5SArmin Le Grand { 0x8000 , { 0 , 0 , 0x406 } }, //sum 0 0 @6 4724*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_adjust3Value , 30573 , 4096 } }, //prod #2 30573 4096 4725*4d2151e5SArmin Le Grand { 0x2001 , { 0x40a , 2 , 1 } }, //prod @10 2 1 4726*4d2151e5SArmin Le Grand { 0xe000 , { 0x40a , DFF_Prop_geoBottom , DFF_Prop_adjust3Value } }, //sum @10 height #2 4727*4d2151e5SArmin Le Grand { 0x6000 , { 0x40a , DFF_Prop_adjust2Value , 0 } }, //sum @10 #1 0 4728*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_adjust2Value , 1 , 2 } }, //prod #1 1 2 4729*4d2151e5SArmin Le Grand { 0x6000 , { 0x40a , 0x40e , 0 } }, //sum @10 @14 0 4730*4d2151e5SArmin Le Grand { 0xa000 , { 0x40c , 0 , DFF_Prop_adjust2Value } }, //sum @12 0 #1 4731*4d2151e5SArmin Le Grand { 0x6000 , { DFF_Prop_adjustValue , 0x405 , 0 } }, //sum #0 @5 0 4732*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoRight , 0 , 0x411 } }, //sum width 0 @17 4733*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoRight , 0 , DFF_Prop_adjustValue } }, //sum width 0 #0 4734*4d2151e5SArmin Le Grand { 0xa000 , { 0x406 , 0 , DFF_Prop_adjustValue } }, //sum @6 0 #0 4735*4d2151e5SArmin Le Grand { 0xe00f , { 0x414 , DFF_Prop_geoRight , 0x40a } }, //ellipse @20 width @10 4736*4d2151e5SArmin Le Grand { 0xa000 , { 0x40a , 0 , 0x415 } }, //sum @10 0 @21 4737*4d2151e5SArmin Le Grand { 0xe000 , { 0x416 , 0x410 , 0x40a } }, //sum @22 @16 @10 4738*4d2151e5SArmin Le Grand { 0xe000 , { DFF_Prop_adjust3Value , 0x410 , 0x40a } }, //sum #2 @16 @10 4739*4d2151e5SArmin Le Grand { 0x2001 , { 0x40a , 2391 , 32768 } }, //prod @10 2391 32768 4740*4d2151e5SArmin Le Grand { 0xa000 , { 0x406 , 0 , 0x411 } }, //sum @6 0 @17 4741*4d2151e5SArmin Le Grand { 0xe00f , { 0x41a , DFF_Prop_geoRight , 0x40a } }, //ellipse @26 width @10 4742*4d2151e5SArmin Le Grand { 0xe000 , { 0x40a , DFF_Prop_adjust2Value , 0x41b } }, //sum @10 #1 @27 4743*4d2151e5SArmin Le Grand { 0x6000 , { 0x416 , DFF_Prop_adjust2Value , 0 } }, //sum @22 #1 0 4744*4d2151e5SArmin Le Grand { 0xa000 , { 0x40c , 0 , 0x41b } }, //sum @12 0 @27 4745*4d2151e5SArmin Le Grand { 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust3Value } }, //sum height 0 #2 4746*4d2151e5SArmin Le Grand { 0x6000 , { 0x40a , 0x40c , 0 } }, //sum @10 @12 0 4747*4d2151e5SArmin Le Grand { 0xe000 , { 0x420 , 0x40a , 0x410 } }, //sum @32 @10 @16 4748*4d2151e5SArmin Le Grand { 0xe000 , { 0x41f , 0x40a , 0x40d } }, //sum @31 @10 @13 4749*4d2151e5SArmin Le Grand { 0xe000 , { 0x420 , 0x40a , 0x40d } }, //sum @32 @10 @13 4750*4d2151e5SArmin Le Grand { 0xe000 , { 0x419 , 0x40c , 0x40f } }, //sum @25 @12 @15 4751*4d2151e5SArmin Le Grand { 0xa000 , { 0x410 , 0 , 0x40f } }, //sum @16 0 @15 4752*4d2151e5SArmin Le Grand { 0x2001 , { 0x425 , 2 , 3 } }, //prod @37 2 3 4753*4d2151e5SArmin Le Grand { 0x6000 , { 0x401 , 0x426 , 0 } }, //sum @1 @38 0 4754*4d2151e5SArmin Le Grand { 0x6000 , { DFF_Prop_adjust3Value , 0x426 , 0 } }, //sum #2 @38 0 4755*4d2151e5SArmin Le Grand { 0x2005 , { 0x428 , 675 , 0 } }, //max @40 675 4756*4d2151e5SArmin Le Grand { 0x2001 , { DFF_Prop_geoRight , 3 , 8 } }, //prod width 3 8 4757*4d2151e5SArmin Le Grand { 0x2000 , { 0x42a , 0 , 4 } } //sum @42 0 4 4758*4d2151e5SArmin Le Grand }; 4759*4d2151e5SArmin Le Grand 4760*4d2151e5SArmin Le Grand static const SvxMSDffTextRectangles mso_sptEllipseRibbon2TextRect[] = 4761*4d2151e5SArmin Le Grand {//@0,@22,@19,@1 4762*4d2151e5SArmin Le Grand { { 0 MSO_I, 22 MSO_I }, { 19 MSO_I, 1 MSO_I } } 4763*4d2151e5SArmin Le Grand }; 4764*4d2151e5SArmin Le Grand 4765*4d2151e5SArmin Le Grand static const sal_Int32 mso_sptEllipseRibbon2Default[] = 4766*4d2151e5SArmin Le Grand { 4767*4d2151e5SArmin Le Grand 3,5400,16200,2700 4768*4d2151e5SArmin Le Grand }; 4769*4d2151e5SArmin Le Grand 4770*4d2151e5SArmin Le Grand static const SvxMSDffHandle mso_sptEllipseRibbon2Handle[] = 4771*4d2151e5SArmin Le Grand { 4772*4d2151e5SArmin Le Grand //position="#0,topLeft" xrange="@5,@43 4773*4d2151e5SArmin Le Grand //position="center,#1" yrange="@39,@31 4774*4d2151e5SArmin Le Grand //position="topLeft,#2" yrange="@41,@24 4775*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 4776*4d2151e5SArmin Le Grand 0x100, 0, 0, 0, 0x8/*5+3*/, 0x2e/*43+3*/, 0x80000000, 0x7fffffff }, 4777*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 4778*4d2151e5SArmin Le Grand 10800, 0x101, 0, 0, 0x80000000, 0x7fffffff,0x2a/*39+3*/, 0x22 /*31+3*/ }, 4779*4d2151e5SArmin Le Grand { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 4780*4d2151e5SArmin Le Grand 0, 0x102, 0, 0, 0x80000000, 0x7fffffff,0x2c/*41+3*/, 0x1b /*24+3*/ } 4781*4d2151e5SArmin Le Grand }; 4782*4d2151e5SArmin Le Grand 4783*4d2151e5SArmin Le Grand static const mso_CustomShape msosptEllipseRibbon2 = 4784*4d2151e5SArmin Le Grand { 4785*4d2151e5SArmin Le Grand (SvxMSDffVertPair*)mso_sptEllipseRibbon2Vert, sizeof( mso_sptEllipseRibbon2Vert ) / sizeof( SvxMSDffVertPair ), 4786*4d2151e5SArmin Le Grand (sal_uInt16*)mso_sptEllipseRibbon2Segm, sizeof( mso_sptEllipseRibbon2Segm ) >> 1, 4787*4d2151e5SArmin Le Grand (SvxMSDffCalculationData*)mso_sptEllipseRibbon2Calc, sizeof( mso_sptEllipseRibbon2Calc ) / sizeof( SvxMSDffCalculationData ), 4788*4d2151e5SArmin Le Grand (sal_Int32*)mso_sptEllipseRibbon2Default, 4789*4d2151e5SArmin Le Grand (SvxMSDffTextRectangles*)mso_sptEllipseRibbon2TextRect, sizeof( mso_sptEllipseRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ), 4790*4d2151e5SArmin Le Grand 21600, 21600, 4791*4d2151e5SArmin Le Grand 0x80000000, 0x80000000, 4792*4d2151e5SArmin Le Grand NULL, 0, 4793*4d2151e5SArmin Le Grand (SvxMSDffHandle*)mso_sptEllipseRibbon2Handle, sizeof( mso_sptEllipseRibbon2Handle ) / sizeof( SvxMSDffHandle ) 4794*4d2151e5SArmin Le Grand }; 4795*4d2151e5SArmin Le Grand // End 4796cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptVerticalScrollVert[] = // adjustment1 : 0 - 5400 4797cdf0e10cSrcweir { 4798cdf0e10cSrcweir { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I }, 4799cdf0e10cSrcweir { 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, 4800cdf0e10cSrcweir { 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 11 MSO_I }, { 5 MSO_I, 21600 }, 4801cdf0e10cSrcweir 4802cdf0e10cSrcweir { 6 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 4 MSO_I, 1 MSO_I }, 4803cdf0e10cSrcweir 4804cdf0e10cSrcweir { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, 4805cdf0e10cSrcweir { 9 MSO_I, 10 MSO_I }, { 1 MSO_I, 11 MSO_I }, 4806cdf0e10cSrcweir 4807cdf0e10cSrcweir { 4 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I }, 4808cdf0e10cSrcweir 4809cdf0e10cSrcweir { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, 4810cdf0e10cSrcweir 4811cdf0e10cSrcweir { 4 MSO_I, 0 MSO_I }, 4812cdf0e10cSrcweir { 2 MSO_I, 0 MSO_I } 4813cdf0e10cSrcweir }; 4814cdf0e10cSrcweir static const sal_uInt16 mso_sptVerticalScrollSegm[] = 4815cdf0e10cSrcweir { 4816cdf0e10cSrcweir 0x4000, 0xa702, 0x0002, 0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000, 4817cdf0e10cSrcweir 0x4000, 0xa801, 0xa702, 0x6000, 0x8000, 4818cdf0e10cSrcweir 0x4000, 0xa803, 0xa702, 0x6001, 0x8000, 4819cdf0e10cSrcweir 0x4000, 0xa701, 0x8000, 4820cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 4821cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 4822cdf0e10cSrcweir }; 4823cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptScrollCalc[] = 4824cdf0e10cSrcweir { 4825cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 4826cdf0e10cSrcweir { 0x2001, { 0x400, 1, 2 } }, 4827cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x401 } }, 4828cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, 4829cdf0e10cSrcweir { 0x6000, { 0x400, 0x401, 0 } }, 4830cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } }, 4831cdf0e10cSrcweir { 0x2001, { 0x400, 2, 1 } }, 4832cdf0e10cSrcweir { 0x2001, { 0x401, 1, 2 } }, 4833cdf0e10cSrcweir { 0x6000, { 0x400, 0x407, 0 } }, 4834cdf0e10cSrcweir { 0x6000, { 0x401, 0x407, 0 } }, 4835cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } }, 4836cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } }, 4837cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }, 4838cdf0e10cSrcweir { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } } 4839cdf0e10cSrcweir }; 4840cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptScrollTextRect[] = 4841cdf0e10cSrcweir { 4842cdf0e10cSrcweir { { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 12 MSO_I } } 4843cdf0e10cSrcweir }; 4844cdf0e10cSrcweir static const SvxMSDffHandle mso_sptVerticalScrollHandle[] = 4845cdf0e10cSrcweir { 4846cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4847cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 } 4848cdf0e10cSrcweir }; 4849cdf0e10cSrcweir static const mso_CustomShape msoVerticalScroll = 4850cdf0e10cSrcweir { 4851cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptVerticalScrollVert, sizeof( mso_sptVerticalScrollVert ) / sizeof( SvxMSDffVertPair ), 4852cdf0e10cSrcweir (sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1, 4853cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ), 4854cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2700, 4855cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ), 4856cdf0e10cSrcweir 21600, 21600, 4857cdf0e10cSrcweir 11000, 10800, 4858cdf0e10cSrcweir NULL, 0, 4859cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptVerticalScrollHandle, sizeof( mso_sptVerticalScrollHandle ) / sizeof( SvxMSDffHandle ) 4860cdf0e10cSrcweir }; 4861cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHorizontalScrollVert[] = // adjustment1 : 0 - 5400 4862cdf0e10cSrcweir { 4863cdf0e10cSrcweir { 0, 4 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 1 MSO_I }, 4864cdf0e10cSrcweir { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 13 MSO_I }, { 2 MSO_I, 12 MSO_I }, 4865cdf0e10cSrcweir { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, 4866cdf0e10cSrcweir 4867cdf0e10cSrcweir { 1 MSO_I, 4 MSO_I }, { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 6 MSO_I }, 4868cdf0e10cSrcweir 4869cdf0e10cSrcweir { 2 MSO_I, 1 MSO_I }, { 3 MSO_I, 9 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }, 4870cdf0e10cSrcweir { 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I }, 4871cdf0e10cSrcweir 4872cdf0e10cSrcweir { 1 MSO_I, 6 MSO_I }, 4873cdf0e10cSrcweir { 0, 4 MSO_I }, 4874cdf0e10cSrcweir 4875cdf0e10cSrcweir { 2 MSO_I, 0 MSO_I }, 4876cdf0e10cSrcweir { 3 MSO_I, 0 MSO_I }, 4877cdf0e10cSrcweir 4878cdf0e10cSrcweir { 0 MSO_I, 4 MSO_I }, 4879cdf0e10cSrcweir { 0 MSO_I, 11 MSO_I } 4880cdf0e10cSrcweir }; 4881cdf0e10cSrcweir static const sal_uInt16 mso_sptHorizontalScrollSegm[] = 4882cdf0e10cSrcweir { 4883cdf0e10cSrcweir 0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000, 4884cdf0e10cSrcweir 0x4000, 0xa803, 0x6000, 0x8000, 4885cdf0e10cSrcweir 0x4000, 0xa803, 0xa702, 0x6000, 0x8000, 4886cdf0e10cSrcweir 0x4000, 0xa701, 0x8000, 4887cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 4888cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 4889cdf0e10cSrcweir }; 4890cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] = 4891cdf0e10cSrcweir { 4892cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 4893cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff } 4894cdf0e10cSrcweir }; 4895cdf0e10cSrcweir static const mso_CustomShape msoHorizontalScroll = 4896cdf0e10cSrcweir { 4897cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptHorizontalScrollVert, sizeof( mso_sptHorizontalScrollVert ) / sizeof( SvxMSDffVertPair ), 4898cdf0e10cSrcweir (sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1, 4899cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ), 4900cdf0e10cSrcweir (sal_Int32*)mso_sptDefault2700, 4901cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ), 4902cdf0e10cSrcweir 21600, 21600, 4903cdf0e10cSrcweir 10800, 11000, 4904cdf0e10cSrcweir NULL, 0, 4905cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptHorizontalScrollHandle, sizeof( mso_sptHorizontalScrollHandle ) / sizeof( SvxMSDffHandle ) 4906cdf0e10cSrcweir }; 4907cdf0e10cSrcweir 4908cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] = 4909cdf0e10cSrcweir { 4910cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } 4911cdf0e10cSrcweir }; 4912cdf0e10cSrcweir static const mso_CustomShape msoFlowChartProcess = 4913cdf0e10cSrcweir { 4914cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartProcessVert, sizeof( mso_sptFlowChartProcessVert ) / sizeof( SvxMSDffVertPair ), 4915cdf0e10cSrcweir NULL, 0, 4916cdf0e10cSrcweir NULL, 0, 4917cdf0e10cSrcweir NULL, 4918cdf0e10cSrcweir NULL, 0, 4919cdf0e10cSrcweir 21600, 21600, 4920cdf0e10cSrcweir 0x80000000, 0x80000000, 4921cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 4922cdf0e10cSrcweir NULL, 0 // handles 4923cdf0e10cSrcweir }; 4924cdf0e10cSrcweir 4925cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert[] = 4926cdf0e10cSrcweir { 4927cdf0e10cSrcweir { 0, 2 MSO_I }, { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 2 MSO_I }, 4928cdf0e10cSrcweir { 21600, 3 MSO_I }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I } 4929cdf0e10cSrcweir }; 4930cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm[] = 4931cdf0e10cSrcweir { 4932cdf0e10cSrcweir 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000 4933cdf0e10cSrcweir }; 4934cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc[] = 4935cdf0e10cSrcweir { 4936cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoLeft, 2540, 0 } }, 4937cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoRight, 0, 2540 } }, 4938cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoTop, 2540, 0 } }, 4939cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoBottom, 0, 2540 } }, 4940cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoLeft, 800, 0 } }, 4941cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoRight, 0, 800 } }, 4942cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoTop, 800, 0 } }, 4943cdf0e10cSrcweir { 0x2000, { DFF_Prop_geoBottom,0, 800 } } 4944cdf0e10cSrcweir }; 4945cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect[] = 4946cdf0e10cSrcweir { 4947cdf0e10cSrcweir { { 4 MSO_I, 6 MSO_I }, { 5 MSO_I, 7 MSO_I } } 4948cdf0e10cSrcweir }; 4949cdf0e10cSrcweir static const mso_CustomShape msoFlowChartAlternateProcess = 4950cdf0e10cSrcweir { 4951cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartAlternateProcessVert, sizeof( mso_sptFlowChartAlternateProcessVert ) / sizeof( SvxMSDffVertPair ), 4952cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1, 4953cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, sizeof( mso_sptFlowChartAlternateProcessCalc ) / sizeof( SvxMSDffCalculationData ), 4954cdf0e10cSrcweir NULL, 4955cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, sizeof( mso_sptFlowChartAlternateProcessTextRect ) / sizeof( SvxMSDffTextRectangles ), 4956cdf0e10cSrcweir 21600, 21600, 4957cdf0e10cSrcweir 0x80000000, 0x80000000, 4958cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 4959cdf0e10cSrcweir NULL, 0 // handles 4960cdf0e10cSrcweir }; 4961cdf0e10cSrcweir 4962cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDecisionVert[] = 4963cdf0e10cSrcweir { 4964cdf0e10cSrcweir { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 } 4965cdf0e10cSrcweir }; 4966cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect[] = 4967cdf0e10cSrcweir { 4968cdf0e10cSrcweir { { 5400, 5400 }, { 16200, 16200 } } 4969cdf0e10cSrcweir }; 4970cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDecision = 4971cdf0e10cSrcweir { 4972cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartDecisionVert, sizeof( mso_sptFlowChartDecisionVert ) / sizeof( SvxMSDffVertPair ), 4973cdf0e10cSrcweir NULL, 0, 4974cdf0e10cSrcweir NULL, 0, 4975cdf0e10cSrcweir NULL, 4976cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, sizeof( mso_sptFlowChartDecisionTextRect ) / sizeof( SvxMSDffTextRectangles ), 4977cdf0e10cSrcweir 21600, 21600, 4978cdf0e10cSrcweir 0x80000000, 0x80000000, 4979cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 4980cdf0e10cSrcweir NULL, 0 // handles 4981cdf0e10cSrcweir }; 4982cdf0e10cSrcweir 4983cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert[] = 4984cdf0e10cSrcweir { 4985cdf0e10cSrcweir { 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 } 4986cdf0e10cSrcweir }; 4987cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect[] = 4988cdf0e10cSrcweir { 4989cdf0e10cSrcweir { { 4230, 0 }, { 17370, 21600 } } 4990cdf0e10cSrcweir }; 4991cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints[] = 4992cdf0e10cSrcweir { 4993cdf0e10cSrcweir { 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 } 4994cdf0e10cSrcweir }; 4995cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInputOutput = 4996cdf0e10cSrcweir { 4997cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartInputOutputVert, sizeof( mso_sptFlowChartInputOutputVert ) / sizeof( SvxMSDffVertPair ), 4998cdf0e10cSrcweir NULL, 0, 4999cdf0e10cSrcweir NULL, 0, 5000cdf0e10cSrcweir NULL, 5001cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, sizeof( mso_sptFlowChartInputOutputTextRect ) / sizeof( SvxMSDffTextRectangles ), 5002cdf0e10cSrcweir 21600, 21600, 5003cdf0e10cSrcweir 0x80000000, 0x80000000, 5004cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, sizeof( mso_sptFlowChartInputOutputGluePoints ) / sizeof( SvxMSDffVertPair ), 5005cdf0e10cSrcweir NULL, 0 // handles 5006cdf0e10cSrcweir }; 5007cdf0e10cSrcweir 5008cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert[] = 5009cdf0e10cSrcweir { 5010cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 5011cdf0e10cSrcweir 5012cdf0e10cSrcweir { 2540, 0 }, { 2540, 21600 }, 5013cdf0e10cSrcweir 5014cdf0e10cSrcweir { 21600 - 2540, 0 }, { 21600 - 2540, 21600 } 5015cdf0e10cSrcweir }; 5016cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm[] = 5017cdf0e10cSrcweir { 5018cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 5019cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 5020cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 5021cdf0e10cSrcweir }; 5022cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect[] = 5023cdf0e10cSrcweir { 5024cdf0e10cSrcweir { { 2540, 0 }, { 21600 - 2540, 21600 } } 5025cdf0e10cSrcweir }; 5026cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPredefinedProcess = 5027cdf0e10cSrcweir { 5028cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartPredefinedProcessVert, sizeof( mso_sptFlowChartPredefinedProcessVert ) / sizeof( SvxMSDffVertPair ), 5029cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1, 5030cdf0e10cSrcweir NULL, 0, 5031cdf0e10cSrcweir NULL, 5032cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, sizeof( mso_sptFlowChartPredefinedProcessTextRect ) / sizeof( SvxMSDffTextRectangles ), 5033cdf0e10cSrcweir 21600, 21600, 5034cdf0e10cSrcweir 0x80000000, 0x80000000, 5035cdf0e10cSrcweir NULL, 0, 5036cdf0e10cSrcweir NULL, 0 // handles 5037cdf0e10cSrcweir }; 5038cdf0e10cSrcweir 5039cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert[] = 5040cdf0e10cSrcweir { 5041cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 5042cdf0e10cSrcweir 5043cdf0e10cSrcweir { 4230, 0 }, { 4230, 21600 }, 5044cdf0e10cSrcweir 5045cdf0e10cSrcweir { 0, 4230 }, { 21600, 4230 } 5046cdf0e10cSrcweir }; 5047cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartInternalStorageSegm[] = 5048cdf0e10cSrcweir { 5049cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 5050cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 5051cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 5052cdf0e10cSrcweir }; 5053cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect[] = 5054cdf0e10cSrcweir { 5055cdf0e10cSrcweir { { 4230, 4230 }, { 21600, 21600 } } 5056cdf0e10cSrcweir }; 5057cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInternalStorage = 5058cdf0e10cSrcweir { 5059cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartInternalStorageVert, sizeof( mso_sptFlowChartInternalStorageVert ) / sizeof( SvxMSDffVertPair ), 5060cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1, 5061cdf0e10cSrcweir NULL, 0, 5062cdf0e10cSrcweir NULL, 5063cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, sizeof( mso_sptFlowChartInternalStorageTextRect ) / sizeof( SvxMSDffTextRectangles ), 5064cdf0e10cSrcweir 21600, 21600, 5065cdf0e10cSrcweir 0x80000000, 0x80000000, 5066cdf0e10cSrcweir NULL, 0, 5067cdf0e10cSrcweir NULL, 0 // handles 5068cdf0e10cSrcweir }; 5069cdf0e10cSrcweir 5070cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentVert[] = 5071cdf0e10cSrcweir { 5072cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 17360 }, 5073cdf0e10cSrcweir { 13050, 17220 }, { 13340, 20770 }, { 5620, 21600 }, // ccp 5074cdf0e10cSrcweir { 2860, 21100 }, { 1850, 20700 }, { 0, 20120 } // ccp 5075cdf0e10cSrcweir }; 5076cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDocumentSegm[] = 5077cdf0e10cSrcweir { 5078cdf0e10cSrcweir 0x4000, 0x0002, 0x2002, 0x6000, 0x8000 5079cdf0e10cSrcweir }; 5080cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect[] = 5081cdf0e10cSrcweir { 5082cdf0e10cSrcweir { { 0, 0 }, { 21600, 17360 } } 5083cdf0e10cSrcweir }; 5084cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints[] = 5085cdf0e10cSrcweir { 5086cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 } 5087cdf0e10cSrcweir }; 5088cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDocument = 5089cdf0e10cSrcweir { 5090cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartDocumentVert, sizeof( mso_sptFlowChartDocumentVert ) / sizeof( SvxMSDffVertPair ), 5091cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1, 5092cdf0e10cSrcweir NULL, 0, 5093cdf0e10cSrcweir NULL, 5094cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, sizeof( mso_sptFlowChartDocumentTextRect ) / sizeof( SvxMSDffTextRectangles ), 5095cdf0e10cSrcweir 21600, 21600, 5096cdf0e10cSrcweir 0x80000000, 0x80000000, 5097cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, sizeof( mso_sptFlowChartDocumentGluePoints ) / sizeof( SvxMSDffVertPair ), 5098cdf0e10cSrcweir NULL, 0 // handles 5099cdf0e10cSrcweir }; 5100cdf0e10cSrcweir 5101cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert[] = 5102cdf0e10cSrcweir { 5103cdf0e10cSrcweir { 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 }, 5104cdf0e10cSrcweir { 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 }, 5105cdf0e10cSrcweir { 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 }, 5106cdf0e10cSrcweir { 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 }, // ccp 5107cdf0e10cSrcweir { 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 }, // ccp 5108cdf0e10cSrcweir 5109cdf0e10cSrcweir { 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 }, 5110cdf0e10cSrcweir 5111cdf0e10cSrcweir { 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 } 5112cdf0e10cSrcweir }; 5113cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMultidocumentSegm[] = 5114cdf0e10cSrcweir { 5115cdf0e10cSrcweir 0x4000, 0x000a, 0x2002, 0x6000, 0x8000, 5116cdf0e10cSrcweir 0x4000, 0xaa00, 0x0002, 0x8000, // NO FILL 5117cdf0e10cSrcweir 0x4000, 0xaa00, 0x0002, 0x8000 // NO FILL 5118cdf0e10cSrcweir }; 5119cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect[] = 5120cdf0e10cSrcweir { 5121cdf0e10cSrcweir { { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } } 5122cdf0e10cSrcweir }; 5123cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints[] = 5124cdf0e10cSrcweir { 5125cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 } 5126cdf0e10cSrcweir }; 5127cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMultidocument = 5128cdf0e10cSrcweir { 5129cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentVert, sizeof( mso_sptFlowChartMultidocumentVert ) / sizeof( SvxMSDffVertPair ), 5130cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1, 5131cdf0e10cSrcweir NULL, 0, 5132cdf0e10cSrcweir NULL, 5133cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, sizeof( mso_sptFlowChartMultidocumentTextRect ) / sizeof( SvxMSDffTextRectangles ), 5134cdf0e10cSrcweir 21600, 21600, 5135cdf0e10cSrcweir 0x80000000, 0x80000000, 5136cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, sizeof( mso_sptFlowChartMultidocumentGluePoints ) / sizeof( SvxMSDffVertPair ), 5137cdf0e10cSrcweir NULL, 0 // handles 5138cdf0e10cSrcweir }; 5139cdf0e10cSrcweir 5140cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert[] = 5141cdf0e10cSrcweir { 5142cdf0e10cSrcweir { 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 }, 5143cdf0e10cSrcweir { 21600, 10800 }, { 18130, 21600 } 5144cdf0e10cSrcweir }; 5145cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartTerminatorSegm[] = 5146cdf0e10cSrcweir { 5147cdf0e10cSrcweir 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000 5148cdf0e10cSrcweir }; 5149cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect[] = 5150cdf0e10cSrcweir { 5151cdf0e10cSrcweir { { 1060, 3180 }, { 20540, 18420 } } 5152cdf0e10cSrcweir }; 5153cdf0e10cSrcweir static const mso_CustomShape msoFlowChartTerminator = 5154cdf0e10cSrcweir { 5155cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartTerminatorVert, sizeof( mso_sptFlowChartTerminatorVert ) / sizeof( SvxMSDffVertPair ), 5156cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1, 5157cdf0e10cSrcweir NULL, 0, 5158cdf0e10cSrcweir NULL, 5159cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, sizeof( mso_sptFlowChartTerminatorTextRect ) / sizeof( SvxMSDffTextRectangles ), 5160cdf0e10cSrcweir 21600, 21600, 5161cdf0e10cSrcweir 0x80000000, 0x80000000, 5162cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5163cdf0e10cSrcweir NULL, 0 // handles 5164cdf0e10cSrcweir }; 5165cdf0e10cSrcweir 5166cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPreparationVert[] = 5167cdf0e10cSrcweir { 5168cdf0e10cSrcweir { 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 }, 5169cdf0e10cSrcweir { 4350, 21600 }, { 0, 10800 }, { 4350, 0 } 5170cdf0e10cSrcweir }; 5171cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect[] = 5172cdf0e10cSrcweir { 5173cdf0e10cSrcweir { { 4350, 0 }, { 17250, 21600 } } 5174cdf0e10cSrcweir }; 5175cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPreparation = 5176cdf0e10cSrcweir { 5177cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartPreparationVert, sizeof( mso_sptFlowChartPreparationVert ) / sizeof( SvxMSDffVertPair ), 5178cdf0e10cSrcweir NULL, 0, 5179cdf0e10cSrcweir NULL, 0, 5180cdf0e10cSrcweir NULL, 5181cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, sizeof( mso_sptFlowChartPreparationTextRect ) / sizeof( SvxMSDffTextRectangles ), 5182cdf0e10cSrcweir 21600, 21600, 5183cdf0e10cSrcweir 0x80000000, 0x80000000, 5184cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5185cdf0e10cSrcweir NULL, 0 // handles 5186cdf0e10cSrcweir }; 5187cdf0e10cSrcweir 5188cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputVert[] = 5189cdf0e10cSrcweir { 5190cdf0e10cSrcweir { 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 } 5191cdf0e10cSrcweir }; 5192cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect[] = 5193cdf0e10cSrcweir { 5194cdf0e10cSrcweir { { 0, 4300 }, { 21600, 21600 } } 5195cdf0e10cSrcweir }; 5196cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints[] = 5197cdf0e10cSrcweir { 5198cdf0e10cSrcweir { 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 } 5199cdf0e10cSrcweir }; 5200cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualInput = 5201cdf0e10cSrcweir { 5202cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartManualInputVert, sizeof( mso_sptFlowChartManualInputVert ) / sizeof( SvxMSDffVertPair ), 5203cdf0e10cSrcweir NULL, 0, 5204cdf0e10cSrcweir NULL, 0, 5205cdf0e10cSrcweir NULL, 5206cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, sizeof( mso_sptFlowChartManualInputTextRect ) / sizeof( SvxMSDffTextRectangles ), 5207cdf0e10cSrcweir 21600, 21600, 5208cdf0e10cSrcweir 0x80000000, 0x80000000, 5209cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, sizeof( mso_sptFlowChartManualInputGluePoints ) / sizeof( SvxMSDffVertPair ), 5210cdf0e10cSrcweir NULL, 0 // handles 5211cdf0e10cSrcweir }; 5212cdf0e10cSrcweir 5213cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert[] = 5214cdf0e10cSrcweir { 5215cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 } 5216cdf0e10cSrcweir }; 5217cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect[] = 5218cdf0e10cSrcweir { 5219cdf0e10cSrcweir { { 4350, 0 }, { 17250, 21600 } } 5220cdf0e10cSrcweir }; 5221cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints[] = 5222cdf0e10cSrcweir { 5223cdf0e10cSrcweir { 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 } 5224cdf0e10cSrcweir }; 5225cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualOperation = 5226cdf0e10cSrcweir { 5227cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartManualOperationVert, sizeof( mso_sptFlowChartManualOperationVert ) / sizeof( SvxMSDffVertPair ), 5228cdf0e10cSrcweir NULL, 0, 5229cdf0e10cSrcweir NULL, 0, 5230cdf0e10cSrcweir NULL, 5231cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, sizeof( mso_sptFlowChartManualOperationTextRect ) / sizeof( SvxMSDffTextRectangles ), 5232cdf0e10cSrcweir 21600, 21600, 5233cdf0e10cSrcweir 0x80000000, 0x80000000, 5234cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, sizeof( mso_sptFlowChartManualOperationGluePoints ) / sizeof( SvxMSDffVertPair ), 5235cdf0e10cSrcweir NULL, 0 // handles 5236cdf0e10cSrcweir }; 5237cdf0e10cSrcweir 5238cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartConnectorVert[] = 5239cdf0e10cSrcweir { 5240cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 } 5241cdf0e10cSrcweir }; 5242cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartConnectorSegm[] = 5243cdf0e10cSrcweir { 5244cdf0e10cSrcweir 0xa203, 0x6000, 0x8000 5245cdf0e10cSrcweir }; 5246cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect[] = 5247cdf0e10cSrcweir { 5248cdf0e10cSrcweir { { 3180, 3180 }, { 18420, 18420 } } 5249cdf0e10cSrcweir }; 5250cdf0e10cSrcweir static const mso_CustomShape msoFlowChartConnector = 5251cdf0e10cSrcweir { 5252cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartConnectorVert, sizeof( mso_sptFlowChartConnectorVert ) / sizeof( SvxMSDffVertPair ), 5253cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1, 5254cdf0e10cSrcweir NULL, 0, 5255cdf0e10cSrcweir NULL, 5256cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, sizeof( mso_sptFlowChartConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ), 5257cdf0e10cSrcweir 21600, 21600, 5258cdf0e10cSrcweir 0x80000000, 0x80000000, 5259cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 5260cdf0e10cSrcweir NULL, 0 // handles 5261cdf0e10cSrcweir }; 5262cdf0e10cSrcweir 5263cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert[] = 5264cdf0e10cSrcweir { 5265cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 }, 5266cdf0e10cSrcweir { 0, 17150 }, { 0, 0 } 5267cdf0e10cSrcweir }; 5268cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect[] = 5269cdf0e10cSrcweir { 5270cdf0e10cSrcweir { { 0, 0 }, { 21600, 17150 } } 5271cdf0e10cSrcweir }; 5272cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOffpageConnector = 5273cdf0e10cSrcweir { 5274cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartOffpageConnectorVert, sizeof( mso_sptFlowChartOffpageConnectorVert ) / sizeof( SvxMSDffVertPair ), 5275cdf0e10cSrcweir NULL, 0, 5276cdf0e10cSrcweir NULL, 0, 5277cdf0e10cSrcweir NULL, 5278cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, sizeof( mso_sptFlowChartOffpageConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ), 5279cdf0e10cSrcweir 21600, 21600, 5280cdf0e10cSrcweir 0x80000000, 0x80000000, 5281cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5282cdf0e10cSrcweir NULL, 0 // handles 5283cdf0e10cSrcweir }; 5284cdf0e10cSrcweir 5285cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert[] = 5286cdf0e10cSrcweir { 5287cdf0e10cSrcweir { 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, 5288cdf0e10cSrcweir { 0, 4300 }, { 4300, 0 } 5289cdf0e10cSrcweir }; 5290cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect[] = 5291cdf0e10cSrcweir { 5292cdf0e10cSrcweir { { 0, 4300 }, { 21600, 21600 } } 5293cdf0e10cSrcweir }; 5294cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedCard = 5295cdf0e10cSrcweir { 5296cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartPunchedCardVert, sizeof( mso_sptFlowChartPunchedCardVert ) / sizeof( SvxMSDffVertPair ), 5297cdf0e10cSrcweir NULL, 0, 5298cdf0e10cSrcweir NULL, 0, 5299cdf0e10cSrcweir NULL, 5300cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, sizeof( mso_sptFlowChartPunchedCardTextRect ) / sizeof( SvxMSDffTextRectangles ), 5301cdf0e10cSrcweir 21600, 21600, 5302cdf0e10cSrcweir 0x80000000, 0x80000000, 5303cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5304cdf0e10cSrcweir NULL, 0 // handles 5305cdf0e10cSrcweir }; 5306cdf0e10cSrcweir 5307cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert[] = 5308cdf0e10cSrcweir { 5309cdf0e10cSrcweir { 0, 2230 }, // p 5310cdf0e10cSrcweir { 820, 3990 }, { 3410, 3980 }, { 5370, 4360 }, // ccp 5311cdf0e10cSrcweir { 7430, 4030 }, { 10110, 3890 }, { 10690, 2270 }, // ccp 5312cdf0e10cSrcweir { 11440, 300 }, { 14200, 160 }, { 16150, 0 }, // ccp 5313cdf0e10cSrcweir { 18670, 170 }, { 20690, 390 }, { 21600, 2230 }, // ccp 5314cdf0e10cSrcweir { 21600, 19420 }, // p 5315cdf0e10cSrcweir { 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 }, // ccp 5316cdf0e10cSrcweir { 14710, 17370 }, { 11310, 17510 }, { 10770, 19430 }, // ccp 5317cdf0e10cSrcweir { 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 }, // ccp 5318cdf0e10cSrcweir { 3220, 21250 }, { 610, 21130 }, { 0, 19420 } // ccp 5319cdf0e10cSrcweir }; 5320cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm[] = 5321cdf0e10cSrcweir { 5322cdf0e10cSrcweir 0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000 5323cdf0e10cSrcweir }; 5324cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect[] = 5325cdf0e10cSrcweir { 5326cdf0e10cSrcweir { { 0, 4360 }, { 21600, 17240 } } 5327cdf0e10cSrcweir }; 5328cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints[] = 5329cdf0e10cSrcweir { 5330cdf0e10cSrcweir { 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 } 5331cdf0e10cSrcweir }; 5332cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedTape = 5333cdf0e10cSrcweir { 5334cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeVert, sizeof( mso_sptFlowChartPunchedTapeVert ) / sizeof( SvxMSDffVertPair ), 5335cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1, 5336cdf0e10cSrcweir NULL, 0, 5337cdf0e10cSrcweir NULL, 5338cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, sizeof( mso_sptFlowChartPunchedTapeTextRect ) / sizeof( SvxMSDffTextRectangles ), 5339cdf0e10cSrcweir 21600, 21600, 5340cdf0e10cSrcweir 0x80000000, 0x80000000, 5341cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, sizeof( mso_sptFlowChartPunchedTapeGluePoints ) / sizeof( SvxMSDffVertPair ), 5342cdf0e10cSrcweir NULL, 0 // handles 5343cdf0e10cSrcweir }; 5344cdf0e10cSrcweir 5345cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert[] = 5346cdf0e10cSrcweir { 5347cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, 5348cdf0e10cSrcweir 5349cdf0e10cSrcweir { 3100, 3100 }, 5350cdf0e10cSrcweir { 18500, 18500 }, 5351cdf0e10cSrcweir 5352cdf0e10cSrcweir { 3100, 18500 }, 5353cdf0e10cSrcweir { 18500, 3100 } 5354cdf0e10cSrcweir }; 5355cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm[] = 5356cdf0e10cSrcweir { 5357cdf0e10cSrcweir 0xa203, 0x6000, 0x8000, 5358cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 5359cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 5360cdf0e10cSrcweir }; 5361cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect[] = 5362cdf0e10cSrcweir { 5363cdf0e10cSrcweir { { 3100, 3100 }, { 18500, 18500 } } 5364cdf0e10cSrcweir }; 5365cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSummingJunction = 5366cdf0e10cSrcweir { 5367cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartSummingJunctionVert, sizeof( mso_sptFlowChartSummingJunctionVert ) / sizeof( SvxMSDffVertPair ), 5368cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1, 5369cdf0e10cSrcweir NULL, 0, 5370cdf0e10cSrcweir NULL, 5371cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, sizeof( mso_sptFlowChartSummingJunctionTextRect ) / sizeof( SvxMSDffTextRectangles ), 5372cdf0e10cSrcweir 21600, 21600, 5373cdf0e10cSrcweir 0x80000000, 0x80000000, 5374cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 5375cdf0e10cSrcweir NULL, 0 // handles 5376cdf0e10cSrcweir }; 5377cdf0e10cSrcweir 5378cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOrVert[] = 5379cdf0e10cSrcweir { 5380cdf0e10cSrcweir { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, 5381cdf0e10cSrcweir 5382cdf0e10cSrcweir { 0, 10800 }, { 21600, 10800 }, 5383cdf0e10cSrcweir 5384cdf0e10cSrcweir { 10800, 0 }, { 10800, 21600 } 5385cdf0e10cSrcweir }; 5386cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOrSegm[] = 5387cdf0e10cSrcweir { 5388cdf0e10cSrcweir 0xa203, 0x6000, 0x8000, 5389cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 5390cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 5391cdf0e10cSrcweir }; 5392cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect[] = 5393cdf0e10cSrcweir { 5394cdf0e10cSrcweir { { 3100, 3100 }, { 18500, 18500 } } 5395cdf0e10cSrcweir }; 5396cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOr = 5397cdf0e10cSrcweir { 5398cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartOrVert, sizeof( mso_sptFlowChartOrVert ) / sizeof( SvxMSDffVertPair ), 5399cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1, 5400cdf0e10cSrcweir NULL, 0, 5401cdf0e10cSrcweir NULL, 5402cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, sizeof( mso_sptFlowChartOrTextRect ) / sizeof( SvxMSDffTextRectangles ), 5403cdf0e10cSrcweir 21600, 21600, 5404cdf0e10cSrcweir 0x80000000, 0x80000000, 5405cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), 5406cdf0e10cSrcweir NULL, 0 // handles 5407cdf0e10cSrcweir }; 5408cdf0e10cSrcweir 5409cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateVert[] = 5410cdf0e10cSrcweir { 5411cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 } 5412cdf0e10cSrcweir }; 5413cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect[] = 5414cdf0e10cSrcweir { 5415cdf0e10cSrcweir { { 5400, 5400 }, { 16200, 16200 } } 5416cdf0e10cSrcweir }; 5417cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints[] = 5418cdf0e10cSrcweir { 5419cdf0e10cSrcweir { 10800, 0 }, { 10800, 10800 }, { 10800, 21600 } 5420cdf0e10cSrcweir }; 5421cdf0e10cSrcweir static const mso_CustomShape msoFlowChartCollate = 5422cdf0e10cSrcweir { 5423cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartCollateVert, sizeof( mso_sptFlowChartCollateVert ) / sizeof( SvxMSDffVertPair ), 5424cdf0e10cSrcweir NULL, 0, 5425cdf0e10cSrcweir NULL, 0, 5426cdf0e10cSrcweir NULL, 5427cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, sizeof( mso_sptFlowChartCollateTextRect ) / sizeof( SvxMSDffTextRectangles ), 5428cdf0e10cSrcweir 21600, 21600, 5429cdf0e10cSrcweir 0x80000000, 0x80000000, 5430cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, sizeof( mso_sptFlowChartCollateGluePoints ) / sizeof( SvxMSDffVertPair ), 5431cdf0e10cSrcweir NULL, 0 // handles 5432cdf0e10cSrcweir }; 5433cdf0e10cSrcweir 5434cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSortVert[] = 5435cdf0e10cSrcweir { 5436cdf0e10cSrcweir { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, 5437cdf0e10cSrcweir 5438cdf0e10cSrcweir { 0, 10800 }, { 21600, 10800 } 5439cdf0e10cSrcweir }; 5440cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSortSegm[] = 5441cdf0e10cSrcweir { 5442cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 5443cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 5444cdf0e10cSrcweir }; 5445cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect[] = 5446cdf0e10cSrcweir { 5447cdf0e10cSrcweir { { 5400, 5400 }, { 16200, 16200 } } 5448cdf0e10cSrcweir }; 5449cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSort = 5450cdf0e10cSrcweir { 5451cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartSortVert, sizeof( mso_sptFlowChartSortVert ) / sizeof( SvxMSDffVertPair ), 5452cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1, 5453cdf0e10cSrcweir NULL, 0, 5454cdf0e10cSrcweir NULL, 5455cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, sizeof( mso_sptFlowChartSortTextRect ) / sizeof( SvxMSDffTextRectangles ), 5456cdf0e10cSrcweir 21600, 21600, 5457cdf0e10cSrcweir 0x80000000, 0x80000000, 5458cdf0e10cSrcweir NULL, 0, 5459cdf0e10cSrcweir NULL, 0 // handles 5460cdf0e10cSrcweir }; 5461cdf0e10cSrcweir 5462cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractVert[] = 5463cdf0e10cSrcweir { 5464cdf0e10cSrcweir { 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 } 5465cdf0e10cSrcweir }; 5466cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect[] = 5467cdf0e10cSrcweir { 5468cdf0e10cSrcweir { { 5400, 10800 }, { 16200, 21600 } } 5469cdf0e10cSrcweir }; 5470cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints[] = 5471cdf0e10cSrcweir { 5472cdf0e10cSrcweir { 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 } 5473cdf0e10cSrcweir }; 5474cdf0e10cSrcweir static const mso_CustomShape msoFlowChartExtract = 5475cdf0e10cSrcweir { 5476cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartExtractVert, sizeof( mso_sptFlowChartExtractVert ) / sizeof( SvxMSDffVertPair ), 5477cdf0e10cSrcweir NULL, 0, 5478cdf0e10cSrcweir NULL, 0, 5479cdf0e10cSrcweir NULL, 5480cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, sizeof( mso_sptFlowChartExtractTextRect ) / sizeof( SvxMSDffTextRectangles ), 5481cdf0e10cSrcweir 21600, 21600, 5482cdf0e10cSrcweir 0x80000000, 0x80000000, 5483cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ), 5484cdf0e10cSrcweir NULL, 0 // handles 5485cdf0e10cSrcweir }; 5486cdf0e10cSrcweir 5487cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMergeVert[] = 5488cdf0e10cSrcweir { 5489cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 } 5490cdf0e10cSrcweir }; 5491cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect[] = 5492cdf0e10cSrcweir { 5493cdf0e10cSrcweir { { 5400, 0 }, { 16200, 10800 } } 5494cdf0e10cSrcweir }; 5495cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMerge = 5496cdf0e10cSrcweir { 5497cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMergeVert, sizeof( mso_sptFlowChartMergeVert ) / sizeof( SvxMSDffVertPair ), 5498cdf0e10cSrcweir NULL, 0, 5499cdf0e10cSrcweir NULL, 0, 5500cdf0e10cSrcweir NULL, 5501cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, sizeof( mso_sptFlowChartMergeTextRect ) / sizeof( SvxMSDffTextRectangles ), 5502cdf0e10cSrcweir 21600, 21600, 5503cdf0e10cSrcweir 0x80000000, 0x80000000, 5504cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ), 5505cdf0e10cSrcweir NULL, 0 // handles 5506cdf0e10cSrcweir }; 5507cdf0e10cSrcweir 5508cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert[] = 5509cdf0e10cSrcweir { 5510cdf0e10cSrcweir { 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 }, 5511cdf0e10cSrcweir { 18000, 10800 }, { 21600, 21600 } 5512cdf0e10cSrcweir }; 5513cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm[] = 5514cdf0e10cSrcweir { 5515cdf0e10cSrcweir 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000 5516cdf0e10cSrcweir }; 5517cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect[] = 5518cdf0e10cSrcweir { 5519cdf0e10cSrcweir { { 3600, 0 }, { 18000, 21600 } } 5520cdf0e10cSrcweir }; 5521cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints[] = 5522cdf0e10cSrcweir { 5523cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 } 5524cdf0e10cSrcweir }; 5525cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOnlineStorage = 5526cdf0e10cSrcweir { 5527cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageVert, sizeof( mso_sptFlowChartOnlineStorageVert ) / sizeof( SvxMSDffVertPair ), 5528cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1, 5529cdf0e10cSrcweir NULL, 0, 5530cdf0e10cSrcweir NULL, 5531cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, sizeof( mso_sptFlowChartOnlineStorageTextRect ) / sizeof( SvxMSDffTextRectangles ), 5532cdf0e10cSrcweir 21600, 21600, 5533cdf0e10cSrcweir 0x80000000, 0x80000000, 5534cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, sizeof( mso_sptFlowChartOnlineStorageGluePoints ) / sizeof( SvxMSDffVertPair ), 5535cdf0e10cSrcweir NULL, 0 // handles 5536cdf0e10cSrcweir }; 5537cdf0e10cSrcweir 5538cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDelayVert[] = 5539cdf0e10cSrcweir { 5540cdf0e10cSrcweir { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 21600 }, 5541cdf0e10cSrcweir { 0, 0 } 5542cdf0e10cSrcweir }; 5543cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDelaySegm[] = 5544cdf0e10cSrcweir { 5545cdf0e10cSrcweir 0x4000, 0xa702, 0x0002, 0x6000, 0x8000 5546cdf0e10cSrcweir }; 5547cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect[] = 5548cdf0e10cSrcweir { 5549cdf0e10cSrcweir { { 0, 3100 }, { 18500, 18500 } } 5550cdf0e10cSrcweir }; 5551cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDelay = 5552cdf0e10cSrcweir { 5553cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartDelayVert, sizeof( mso_sptFlowChartDelayVert ) / sizeof( SvxMSDffVertPair ), 5554cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1, 5555cdf0e10cSrcweir NULL, 0, 5556cdf0e10cSrcweir NULL, 5557cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, sizeof( mso_sptFlowChartDelayTextRect ) / sizeof( SvxMSDffTextRectangles ), 5558cdf0e10cSrcweir 21600, 21600, 5559cdf0e10cSrcweir 0x80000000, 0x80000000, 5560cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5561cdf0e10cSrcweir NULL, 0 // handles 5562cdf0e10cSrcweir }; 5563cdf0e10cSrcweir 5564cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert[] = 5565cdf0e10cSrcweir { 5566cdf0e10cSrcweir { 20980, 18150 }, { 20980, 21600 }, { 10670, 21600 }, 5567cdf0e10cSrcweir { 4770, 21540 }, { 0, 16720 }, { 0, 10800 }, // ccp 5568cdf0e10cSrcweir { 0, 4840 }, { 4840, 0 }, { 10800, 0 }, // ccp 5569cdf0e10cSrcweir { 16740, 0 }, { 21600, 4840 }, { 21600, 10800 }, // ccp 5570cdf0e10cSrcweir { 21600, 13520 }, { 20550, 16160 }, { 18670, 18170 } // ccp 5571cdf0e10cSrcweir }; 5572cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm[] = 5573cdf0e10cSrcweir { 5574cdf0e10cSrcweir 0x4000, 0x0002, 0x2004, 0x6000, 0x8000 5575cdf0e10cSrcweir }; 5576cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect[] = 5577cdf0e10cSrcweir { 5578cdf0e10cSrcweir { { 3100, 3100 }, { 18500, 18500 } } 5579cdf0e10cSrcweir }; 5580cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticTape = 5581cdf0e10cSrcweir { 5582cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMagneticTapeVert, sizeof( mso_sptFlowChartMagneticTapeVert ) / sizeof( SvxMSDffVertPair ), 5583cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1, 5584cdf0e10cSrcweir NULL, 0, 5585cdf0e10cSrcweir NULL, 5586cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, sizeof( mso_sptFlowChartMagneticTapeTextRect ) / sizeof( SvxMSDffTextRectangles ), 5587cdf0e10cSrcweir 21600, 21600, 5588cdf0e10cSrcweir 0x80000000, 0x80000000, 5589cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5590cdf0e10cSrcweir NULL, 0 // handles 5591cdf0e10cSrcweir }; 5592cdf0e10cSrcweir 5593cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert[] = 5594cdf0e10cSrcweir { 5595cdf0e10cSrcweir { 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 }, 5596cdf0e10cSrcweir { 10800, 21600 }, { 0, 18200 }, 5597cdf0e10cSrcweir 5598cdf0e10cSrcweir { 0, 3400 }, { 10800, 6800 }, { 21600, 3400 } 5599cdf0e10cSrcweir }; 5600cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm[] = 5601cdf0e10cSrcweir { 5602cdf0e10cSrcweir 0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000, 5603cdf0e10cSrcweir 0x4000, 0xa802, 0x8000 5604cdf0e10cSrcweir }; 5605cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect[] = 5606cdf0e10cSrcweir { 5607cdf0e10cSrcweir { { 0, 6800 }, { 21600, 18200 } } 5608cdf0e10cSrcweir }; 5609cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints[] = 5610cdf0e10cSrcweir { 5611cdf0e10cSrcweir { 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 } 5612cdf0e10cSrcweir }; 5613cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDisk = 5614cdf0e10cSrcweir { 5615cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskVert, sizeof( mso_sptFlowChartMagneticDiskVert ) / sizeof( SvxMSDffVertPair ), 5616cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1, 5617cdf0e10cSrcweir NULL, 0, 5618cdf0e10cSrcweir NULL, 5619cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, sizeof( mso_sptFlowChartMagneticDiskTextRect ) / sizeof( SvxMSDffTextRectangles ), 5620cdf0e10cSrcweir 21600, 21600, 5621cdf0e10cSrcweir 0x80000000, 0x80000000, 5622cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, sizeof( mso_sptFlowChartMagneticDiskGluePoints ) / sizeof( SvxMSDffVertPair ), 5623cdf0e10cSrcweir NULL, 0 // handles 5624cdf0e10cSrcweir }; 5625cdf0e10cSrcweir 5626cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert[] = 5627cdf0e10cSrcweir { 5628cdf0e10cSrcweir { 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 }, 5629cdf0e10cSrcweir { 0, 10800 }, { 3400, 0 }, 5630cdf0e10cSrcweir 5631cdf0e10cSrcweir { 18200, 0 }, { 14800, 10800 }, { 18200, 21600 } 5632cdf0e10cSrcweir }; 5633cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm[] = 5634cdf0e10cSrcweir { 5635cdf0e10cSrcweir 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000, 5636cdf0e10cSrcweir 0x4000, 0xa702, 0x8000 5637cdf0e10cSrcweir }; 5638cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect[] = 5639cdf0e10cSrcweir { 5640cdf0e10cSrcweir { { 3400, 0 }, { 14800, 21600 } } 5641cdf0e10cSrcweir }; 5642cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints[] = 5643cdf0e10cSrcweir { 5644cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 } 5645cdf0e10cSrcweir }; 5646cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDrum = 5647cdf0e10cSrcweir { 5648cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumVert, sizeof( mso_sptFlowChartMagneticDrumVert ) / sizeof( SvxMSDffVertPair ), 5649cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1, 5650cdf0e10cSrcweir NULL, 0, 5651cdf0e10cSrcweir NULL, 5652cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, sizeof( mso_sptFlowChartMagneticDrumTextRect ) / sizeof( SvxMSDffTextRectangles ), 5653cdf0e10cSrcweir 21600, 21600, 5654cdf0e10cSrcweir 0x80000000, 0x80000000, 5655cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, sizeof( mso_sptFlowChartMagneticDrumGluePoints ) / sizeof( SvxMSDffVertPair ), 5656cdf0e10cSrcweir NULL, 0 // handles 5657cdf0e10cSrcweir }; 5658cdf0e10cSrcweir 5659cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDisplayVert[] = 5660cdf0e10cSrcweir { 5661cdf0e10cSrcweir { 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 }, 5662cdf0e10cSrcweir { 3600, 21600 }, { 0, 10800 } 5663cdf0e10cSrcweir }; 5664cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDisplaySegm[] = 5665cdf0e10cSrcweir { 5666cdf0e10cSrcweir 0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000 5667cdf0e10cSrcweir }; 5668cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect[] = 5669cdf0e10cSrcweir { 5670cdf0e10cSrcweir { { 3600, 0 }, { 17800, 21600 } } 5671cdf0e10cSrcweir }; 5672cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDisplay = 5673cdf0e10cSrcweir { 5674cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFlowChartDisplayVert, sizeof( mso_sptFlowChartDisplayVert ) / sizeof( SvxMSDffVertPair ), 5675cdf0e10cSrcweir (sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1, 5676cdf0e10cSrcweir NULL, 0, 5677cdf0e10cSrcweir NULL, 5678cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, sizeof( mso_sptFlowChartDisplayTextRect ) / sizeof( SvxMSDffTextRectangles ), 5679cdf0e10cSrcweir 21600, 21600, 5680cdf0e10cSrcweir 0x80000000, 0x80000000, 5681cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), 5682cdf0e10cSrcweir NULL, 0 // handles 5683cdf0e10cSrcweir }; 5684cdf0e10cSrcweir 5685cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert[] = 5686cdf0e10cSrcweir { 5687cdf0e10cSrcweir { 0, 0 }, 5688cdf0e10cSrcweir { 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 }, 5689cdf0e10cSrcweir { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 }, 5690cdf0e10cSrcweir { 0, 21600 }, 5691cdf0e10cSrcweir { 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 }, 5692cdf0e10cSrcweir { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 }, 5693cdf0e10cSrcweir { 21600, 21600 }, 5694cdf0e10cSrcweir { 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 }, 5695cdf0e10cSrcweir { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 }, 5696cdf0e10cSrcweir { 21600, 0 }, 5697cdf0e10cSrcweir { 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 }, 5698cdf0e10cSrcweir { 8970, 0 }, { 16 MSO_I, 17 MSO_I }, { 3590, 0 }, 5699cdf0e10cSrcweir { 0, 0 } 5700cdf0e10cSrcweir }; 5701cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc[] = 5702cdf0e10cSrcweir { 5703cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, //0x400 5704cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0,10800 } }, 5705cdf0e10cSrcweir { 0x6006, { 0x412, DFF_Prop_adjustValue, 0 } }, //0x402 5706cdf0e10cSrcweir { 0x6006, { 0x412, DFF_Prop_adjust2Value, 6280 } }, 5707cdf0e10cSrcweir { 0x6006, { 0x417, DFF_Prop_adjustValue, 0 } }, //0x404 5708cdf0e10cSrcweir { 0x6006, { 0x417, DFF_Prop_adjust2Value, 15320 } }, 5709cdf0e10cSrcweir { 0x6006, { 0x41a, DFF_Prop_adjustValue, 6280 } }, //0x406 5710cdf0e10cSrcweir { 0x6006, { 0x41a, DFF_Prop_adjust2Value, 21600 } }, 5711cdf0e10cSrcweir { 0x6006, { 0x41d, DFF_Prop_adjustValue, 15320 } }, //0x408 5712cdf0e10cSrcweir { 0x6006, { 0x41d, DFF_Prop_adjust2Value, 21600 } }, 5713cdf0e10cSrcweir { 0x6006, { 0x420, DFF_Prop_adjustValue, 21600 } }, //0x40a 5714cdf0e10cSrcweir { 0x6006, { 0x420, DFF_Prop_adjust2Value, 15320 } }, 5715cdf0e10cSrcweir { 0x6006, { 0x422, DFF_Prop_adjustValue, 21600 } }, //0x40c 5716cdf0e10cSrcweir { 0x6006, { 0x422, DFF_Prop_adjust2Value, 6280 } }, 5717cdf0e10cSrcweir { 0x6006, { 0x424, DFF_Prop_adjustValue, 15320 } }, //0x40e 5718cdf0e10cSrcweir { 0x6006, { 0x424, DFF_Prop_adjust2Value, 0 } }, 5719cdf0e10cSrcweir { 0x6006, { 0x426, DFF_Prop_adjustValue, 6280 } }, //0x410 5720cdf0e10cSrcweir { 0x6006, { 0x426, DFF_Prop_adjust2Value, 0 } }, 5721cdf0e10cSrcweir { 0xa006, { DFF_Prop_adjustValue, -1, 0x413 } }, //0x412 5722cdf0e10cSrcweir { 0xa006, { 0x401, -1, 0x416 } }, 5723cdf0e10cSrcweir { 0x2003, { 0x400, 0, 0 } }, //0x414 5724cdf0e10cSrcweir { 0x2003, { 0x401, 0, 0 } }, 5725cdf0e10cSrcweir { 0xa000, { 0x414, 0, 0x415 } }, //0x416 5726cdf0e10cSrcweir { 0xa006, { DFF_Prop_adjustValue, -1, 0x418 } }, 5727cdf0e10cSrcweir { 0x6006, { 0x401, 0x416, -1 } }, //0x418 5728cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 21600 } }, 5729cdf0e10cSrcweir { 0x6006, { 0x419, 0x41b, -1 } }, //0x41a 5730cdf0e10cSrcweir { 0xa006, { 0x400, -1, 0x41c } }, 5731cdf0e10cSrcweir { 0xa000, { 0x415, 0, 0x414 } }, //0x41c 5732cdf0e10cSrcweir { 0x6006, { 0x419, 0x41e, -1 } }, 5733cdf0e10cSrcweir { 0x6006, { 0x400, 0x41c, -1 } }, //0x41e 5734cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 21600 } }, 5735cdf0e10cSrcweir { 0x6006, { 0x41f, 0x421, -1 } }, //0x420 5736cdf0e10cSrcweir { 0x6006, { 0x401, 0x416, -1 } }, 5737cdf0e10cSrcweir { 0x6006, { 0x41f, 0x423, -1 } }, //0x422 5738cdf0e10cSrcweir { 0xa006, { 0x401, -1, 0x416 } }, 5739cdf0e10cSrcweir { 0xa006, { DFF_Prop_adjust2Value, -1, 0x425 } }, //0x424 5740cdf0e10cSrcweir { 0x6006, { 0x400, 0x41c, -1 } }, 5741cdf0e10cSrcweir { 0xa006, { DFF_Prop_adjust2Value, -1, 0x427 } }, //0x426 5742cdf0e10cSrcweir { 0xa006, { 0x400, -1, 0x41c } }, 5743cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //0x428 5744cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } } 5745cdf0e10cSrcweir }; 5746cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeRectCalloutDefault[] = 5747cdf0e10cSrcweir { 5748cdf0e10cSrcweir 2, 1400, 25920 5749cdf0e10cSrcweir }; 5750cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect[] = 5751cdf0e10cSrcweir { 5752cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 5753cdf0e10cSrcweir }; 5754cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints[] = 5755cdf0e10cSrcweir { 5756cdf0e10cSrcweir { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I, 41 MSO_I } 5757cdf0e10cSrcweir }; 5758cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle[] = 5759cdf0e10cSrcweir { 5760cdf0e10cSrcweir { 5761cdf0e10cSrcweir 0, 5762cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff 5763cdf0e10cSrcweir } 5764cdf0e10cSrcweir }; 5765cdf0e10cSrcweir static const mso_CustomShape msoWedgeRectCallout = 5766cdf0e10cSrcweir { 5767cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, sizeof( mso_sptWedgeRectCalloutVert ) / sizeof( SvxMSDffVertPair ), 5768cdf0e10cSrcweir NULL, 0, 5769cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 5770cdf0e10cSrcweir (sal_Int32*)mso_sptWedgeRectCalloutDefault, 5771cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, sizeof( mso_sptWedgeRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 5772cdf0e10cSrcweir 21600, 21600, 5773cdf0e10cSrcweir 0x80000000, 0x80000000, 5774cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, sizeof( mso_sptWedgeRectCalloutGluePoints ) / sizeof( SvxMSDffVertPair ), 5775cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles 5776cdf0e10cSrcweir }; 5777cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert[] = 5778cdf0e10cSrcweir { 5779cdf0e10cSrcweir { 3590, 0 }, 5780cdf0e10cSrcweir { 0, 3590 }, 5781cdf0e10cSrcweir { 2 MSO_I, 3 MSO_I }, { 0, 8970 }, 5782cdf0e10cSrcweir { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 }, 5783cdf0e10cSrcweir { 3590, 21600 }, 5784cdf0e10cSrcweir { 6 MSO_I, 7 MSO_I }, { 8970, 21600 }, 5785cdf0e10cSrcweir { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 }, 5786cdf0e10cSrcweir { 21600, 18010 }, 5787cdf0e10cSrcweir { 10 MSO_I, 11 MSO_I }, { 21600, 12630 }, 5788cdf0e10cSrcweir { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 }, 5789cdf0e10cSrcweir { 18010, 0 }, 5790cdf0e10cSrcweir { 14 MSO_I, 15 MSO_I }, { 12630, 0 }, 5791cdf0e10cSrcweir { 8970, 0 }, { 16 MSO_I, 17 MSO_I } 5792cdf0e10cSrcweir }; 5793cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeRRectCalloutSegm[] = 5794cdf0e10cSrcweir { 5795cdf0e10cSrcweir 0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000 5796cdf0e10cSrcweir }; 5797cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect[] = 5798cdf0e10cSrcweir { 5799cdf0e10cSrcweir { { 800, 800 }, { 20800, 20800 } } 5800cdf0e10cSrcweir }; 5801cdf0e10cSrcweir static const mso_CustomShape msoWedgeRRectCallout = 5802cdf0e10cSrcweir { 5803cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWedgeRRectCalloutVert, sizeof( mso_sptWedgeRRectCalloutVert ) / sizeof( SvxMSDffVertPair ), 5804cdf0e10cSrcweir (sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1, 5805cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 5806cdf0e10cSrcweir (sal_Int32*)mso_sptWedgeRectCalloutDefault, 5807cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, sizeof( mso_sptWedgeRRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 5808cdf0e10cSrcweir 21600, 21600, 5809cdf0e10cSrcweir 0x80000000, 0x80000000, 5810cdf0e10cSrcweir NULL, 0, 5811cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles 5812cdf0e10cSrcweir }; 5813cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBalloonVert[] = 5814cdf0e10cSrcweir { 5815cdf0e10cSrcweir { 3590, 0 }, 5816cdf0e10cSrcweir { 0, 3590 }, 5817cdf0e10cSrcweir { 0, 14460 }, 5818cdf0e10cSrcweir { 3590, 18050 }, 5819cdf0e10cSrcweir { 40 MSO_I, 21600 }, { 5420, 18050 }, 5820cdf0e10cSrcweir { 18010, 18050 }, 5821cdf0e10cSrcweir { 21600, 14460 }, 5822cdf0e10cSrcweir { 21600, 3590 }, 5823cdf0e10cSrcweir { 18010, 0 } 5824cdf0e10cSrcweir }; 5825cdf0e10cSrcweir static const sal_uInt16 mso_sptBalloonSegm[] = 5826cdf0e10cSrcweir { 5827cdf0e10cSrcweir 0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000 5828cdf0e10cSrcweir }; 5829cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBalloonHandle[] = 5830cdf0e10cSrcweir { 5831cdf0e10cSrcweir { 5832cdf0e10cSrcweir MSDFF_HANDLE_FLAGS_RANGE, 5833cdf0e10cSrcweir 0x100, 1, 10800, 10800, 0, 8990, 0x80000000, 0x7fffffff 5834cdf0e10cSrcweir } 5835cdf0e10cSrcweir }; 5836cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] = 5837cdf0e10cSrcweir { 5838cdf0e10cSrcweir { { 800, 800 }, { 20800, 17250 } } 5839cdf0e10cSrcweir }; 5840cdf0e10cSrcweir static const mso_CustomShape msoBalloon = 5841cdf0e10cSrcweir { 5842cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBalloonVert, sizeof( mso_sptBalloonVert ) / sizeof( SvxMSDffVertPair ), 5843cdf0e10cSrcweir (sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1, 5844cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 5845cdf0e10cSrcweir (sal_Int32*)mso_sptWedgeRectCalloutDefault, 5846cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptBalloonTextRect, sizeof( mso_sptBalloonTextRect ) / sizeof( SvxMSDffTextRectangles ), 5847cdf0e10cSrcweir 21600, 21600, 5848cdf0e10cSrcweir 0x80000000, 0x80000000, 5849cdf0e10cSrcweir NULL, 0, 5850cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBalloonHandle, sizeof( mso_sptBalloonHandle ) / sizeof( SvxMSDffHandle ) // handles 5851cdf0e10cSrcweir }; 5852cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert[] = 5853cdf0e10cSrcweir { 5854cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0xe MSO_I, 0xf MSO_I } 5855cdf0e10cSrcweir }; 5856cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm[] = 5857cdf0e10cSrcweir { 5858cdf0e10cSrcweir 0xa504, 0x0001, 0x6001, 0x8000 5859cdf0e10cSrcweir }; 5860cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc[] = 5861cdf0e10cSrcweir { 5862cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, // 00 rad x 5863cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } }, // 01 rad y 5864cdf0e10cSrcweir { 0x6001, { 0x400, 0x400, 1 } }, // 02 rad x^2 5865cdf0e10cSrcweir { 0x6001, { 0x401, 0x401, 1 } }, // 03 rad y^2 5866cdf0e10cSrcweir { 0x6000, { 0x402, 0x403, 0 } }, // 04 5867cdf0e10cSrcweir { 0x200d, { 0x404, 0, 0 } }, // 05 5868cdf0e10cSrcweir { 0x2000, { 0x405, 0, 10800 } }, // 06 > 0 ? spur needs to be drawn : 10800 5869cdf0e10cSrcweir { 0x6008, { 0x400, 0x401, 0 } }, // 07 atan2 -> angle 5870cdf0e10cSrcweir { 0x2000, { 0x407, 0, 10 } }, // 08 5871cdf0e10cSrcweir { 0x2000, { 0x407, 10, 0 } }, // 09 5872cdf0e10cSrcweir { 0x400a, { 10800, 0x407, 0 } }, // 0a 5873cdf0e10cSrcweir { 0x4009, { 10800, 0x407, 0 } }, // 0b 5874cdf0e10cSrcweir { 0x2000, { 0x40a, 10800, 0 } }, // 0c 5875cdf0e10cSrcweir { 0x2000, { 0x40b, 10800, 0 } }, // 0d 5876cdf0e10cSrcweir { 0xe006, { 0x406, DFF_Prop_adjustValue, 0x40c } }, // 0e 5877cdf0e10cSrcweir { 0xe006, { 0x406, DFF_Prop_adjust2Value, 0x40d } },// 0f 5878cdf0e10cSrcweir { 0x400a, { 10800, 0x408, 0 } }, // 10 5879cdf0e10cSrcweir { 0x4009, { 10800, 0x408, 0 } }, // 11 5880cdf0e10cSrcweir { 0x2000, { 0x410, 10800, 0 } }, // 12 5881cdf0e10cSrcweir { 0x2000, { 0x411, 10800, 0 } }, // 13 5882cdf0e10cSrcweir { 0x400a, { 10800, 0x409, 0 } }, // 14 5883cdf0e10cSrcweir { 0x4009, { 10800, 0x409, 0 } }, // 15 5884cdf0e10cSrcweir { 0x2000, { 0x414, 10800, 0 } }, // 16 5885cdf0e10cSrcweir { 0x2000, { 0x415, 10800, 0 } } // 17 5886cdf0e10cSrcweir }; 5887cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeEllipseCalloutDefault[] = 5888cdf0e10cSrcweir { 5889cdf0e10cSrcweir 2, 1350, 25920 5890cdf0e10cSrcweir }; 5891cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints[] = 5892cdf0e10cSrcweir { 5893cdf0e10cSrcweir { 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I, 0xf MSO_I } 5894cdf0e10cSrcweir }; 5895cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect[] = 5896cdf0e10cSrcweir { 5897cdf0e10cSrcweir { { 3200, 3200 }, { 18400, 18400 } } 5898cdf0e10cSrcweir }; 5899cdf0e10cSrcweir static const mso_CustomShape msoWedgeEllipseCallout = 5900cdf0e10cSrcweir { 5901cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutVert, sizeof( mso_sptWedgeEllipseCalloutVert ) / sizeof( SvxMSDffVertPair ), 5902cdf0e10cSrcweir (sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1, 5903cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, sizeof( mso_sptWedgeEllipseCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 5904cdf0e10cSrcweir (sal_Int32*)mso_sptWedgeEllipseCalloutDefault, 5905cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, sizeof( mso_sptWedgeEllipseCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 5906cdf0e10cSrcweir 21600, 21600, 5907cdf0e10cSrcweir 0x80000000, 0x80000000, 5908cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, sizeof( mso_sptWedgeEllipseCalloutGluePoints ) / sizeof( SvxMSDffVertPair ), 5909cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles 5910cdf0e10cSrcweir }; 5911cdf0e10cSrcweir 5912cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCloudCalloutVert[] = 5913cdf0e10cSrcweir { 5914cdf0e10cSrcweir { 1930,7160 }, // p 5915cdf0e10cSrcweir { 1530,4490 }, { 3400,1970 }, { 5270,1970 }, // ccp 5916cdf0e10cSrcweir { 5860,1950 }, { 6470,2210 }, { 6970,2600 }, // ccp 5917cdf0e10cSrcweir { 7450,1390 }, { 8340,650 }, { 9340,650 }, // ccp 5918cdf0e10cSrcweir { 10004,690 }, { 10710,1050 }, { 11210,1700 }, // ccp 5919cdf0e10cSrcweir { 11570,630 }, { 12330,0 }, { 13150,0 }, // ccp 5920cdf0e10cSrcweir { 13840,0 }, { 14470,460 }, { 14870,1160 }, // ccp 5921cdf0e10cSrcweir { 15330,440 }, { 16020,0 }, { 16740,0 }, // ccp 5922cdf0e10cSrcweir { 17910,0 }, { 18900,1130 }, { 19110,2710 }, // ccp 5923cdf0e10cSrcweir { 20240,3150 }, { 21060,4580 }, { 21060,6220 }, // ccp 5924cdf0e10cSrcweir { 21060,6720 }, { 21000,7200 }, { 20830,7660 }, // ccp 5925cdf0e10cSrcweir { 21310,8460 }, { 21600,9450 }, { 21600,10460 }, // ccp 5926cdf0e10cSrcweir { 21600,12750 }, { 20310,14680 }, { 18650,15010 }, // ccp 5927cdf0e10cSrcweir { 18650,17200 }, { 17370,18920 }, { 15770,18920 }, // ccp 5928cdf0e10cSrcweir { 15220,18920 }, { 14700,18710 }, { 14240,18310 }, // ccp 5929cdf0e10cSrcweir { 13820,20240 }, { 12490,21600 }, { 11000,21600 }, // ccp 5930cdf0e10cSrcweir { 9890,21600 }, { 8840,20790 }, { 8210,19510 }, // ccp 5931cdf0e10cSrcweir { 7620,20000 }, { 7930,20290 }, { 6240,20290 }, // ccp 5932cdf0e10cSrcweir { 4850,20290 }, { 3570,19280 }, { 2900,17640 }, // ccp 5933cdf0e10cSrcweir { 1300,17600 }, { 480,16300 }, { 480,14660 }, // ccp 5934cdf0e10cSrcweir { 480,13900 }, { 690,13210 }, { 1070,12640 }, // ccp 5935cdf0e10cSrcweir { 380,12160 }, { 0,11210 }, { 0,10120 }, // ccp 5936cdf0e10cSrcweir { 0,8590 }, { 840,7330 }, { 1930,7160 }, // ccp 5937cdf0e10cSrcweir 5938cdf0e10cSrcweir { 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 }, // pccp 5939cdf0e10cSrcweir { 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 }, // pccp 5940cdf0e10cSrcweir { 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 }, // pccp 5941cdf0e10cSrcweir { 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 }, // pccp 5942cdf0e10cSrcweir { 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 }, // pccp 5943cdf0e10cSrcweir { 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 }, // pccp 5944cdf0e10cSrcweir { 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 }, // pccp 5945cdf0e10cSrcweir { 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 }, // pccp 5946cdf0e10cSrcweir { 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 }, // pccp 5947cdf0e10cSrcweir { 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 }, // pccp 5948cdf0e10cSrcweir { 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 }, // pccp 5949cdf0e10cSrcweir 5950cdf0e10cSrcweir { 0x11 MSO_I, 0x12 MSO_I }, { 1800, 1800 }, { 0, 360 }, // circ1 5951cdf0e10cSrcweir { 0x13 MSO_I, 0x14 MSO_I }, { 1200, 1200 }, { 0, 360 }, // circ2 5952cdf0e10cSrcweir { 0xd MSO_I, 0xe MSO_I }, { 700, 700 }, { 0, 360 } // circ3 5953cdf0e10cSrcweir }; 5954cdf0e10cSrcweir static const sal_uInt16 mso_sptCloudCalloutSegm[] = 5955cdf0e10cSrcweir { 5956cdf0e10cSrcweir 0x4000, 0x2016, 0x6001, 0x8000, 5957cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5958cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5959cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5960cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5961cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5962cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5963cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5964cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5965cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5966cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5967cdf0e10cSrcweir 0x4000, 0x2001, 0xaa00, 0x8000, 5968cdf0e10cSrcweir 0xa203, 0x6001, 0x8000, 5969cdf0e10cSrcweir 0xa203, 0x6001, 0x8000, 5970cdf0e10cSrcweir 0xa203, 0x6001, 0x8000 5971cdf0e10cSrcweir }; 5972cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCloudCalloutCalc[] = 5973cdf0e10cSrcweir { 5974cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, 5975cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } }, 5976cdf0e10cSrcweir { 0x6008, { 0x400, 0x401, 0 } }, 5977cdf0e10cSrcweir { 0x400a, { 10800, 0x402, 0 } }, // 3 5978cdf0e10cSrcweir { 0x4009, { 10800, 0x402, 0 } }, // 4 5979cdf0e10cSrcweir { 0x2000, { 0x403, 10800, 0 } }, // 5 5980cdf0e10cSrcweir { 0x2000, { 0x404, 10800, 0 } }, // 6 5981cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjustValue, 0, 0x405 } }, // 7 5982cdf0e10cSrcweir { 0xa000, { DFF_Prop_adjust2Value,0, 0x406 } }, // 8 5983cdf0e10cSrcweir { 0x2001, { 0x407, 1, 3 } }, // 9 5984cdf0e10cSrcweir { 0x2001, { 0x408, 1, 3 } }, // 0xa 5985cdf0e10cSrcweir { 0x2001, { 0x407, 2, 3 } }, // 0xb 5986cdf0e10cSrcweir { 0x2001, { 0x408, 2, 3 } }, // 0xc 5987cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0xd 5988cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 0xe 5989cdf0e10cSrcweir { 0x2001, { 0x403, 1, 10800 / 900 } }, // 0xf taking half x distance of the radius from the first bobble 5990cdf0e10cSrcweir { 0x2001, { 0x404, 1, 10800 / 900 } }, // 0x10 5991cdf0e10cSrcweir { 0xe000, { 0x409, 0x405, 0x40f } }, // 0x11 5992cdf0e10cSrcweir { 0xe000, { 0x40a, 0x406, 0x410 } }, // 0x12 5993cdf0e10cSrcweir { 0x6000, { 0x40b, 0x405, 0 } }, // 0x13 5994cdf0e10cSrcweir { 0x6000, { 0x40c, 0x406, 0 } } // 0x14 5995cdf0e10cSrcweir }; 5996cdf0e10cSrcweir static const sal_Int32 mso_sptCloudCalloutDefault[] = 5997cdf0e10cSrcweir { 5998cdf0e10cSrcweir 2, 1350, 25920 5999cdf0e10cSrcweir }; 6000cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect[] = 6001cdf0e10cSrcweir { 6002cdf0e10cSrcweir { { 3000, 3320 }, { 17110, 17330 } } 6003cdf0e10cSrcweir }; 6004cdf0e10cSrcweir static const mso_CustomShape msoCloudCallout = 6005cdf0e10cSrcweir { 6006cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCloudCalloutVert, sizeof( mso_sptCloudCalloutVert ) / sizeof( SvxMSDffVertPair ), 6007cdf0e10cSrcweir (sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1, 6008cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, sizeof( mso_sptCloudCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 6009cdf0e10cSrcweir (sal_Int32*)mso_sptCloudCalloutDefault, 6010cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, sizeof( mso_sptCloudCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 6011cdf0e10cSrcweir 21600, 21600, 6012cdf0e10cSrcweir 0x80000000, 0x80000000, 6013cdf0e10cSrcweir NULL, 0, 6014cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles 6015cdf0e10cSrcweir }; 6016cdf0e10cSrcweir 6017cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveVert[] = // adjustment1 : 0 - 4460 6018cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 6019cdf0e10cSrcweir { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I }, 6020cdf0e10cSrcweir { 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I } 6021cdf0e10cSrcweir }; 6022cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWaveCalc[] = 6023cdf0e10cSrcweir { 6024cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj) 6025cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, //401 6026cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj) 6027cdf0e10cSrcweir { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj) 6028cdf0e10cSrcweir { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj) 6029cdf0e10cSrcweir { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj) 6030cdf0e10cSrcweir { 0x8000, { 4320, 0, 0x405 } }, //406 6031cdf0e10cSrcweir { 0xa006, { 0x403, 0, 0x405 } }, //407 6032cdf0e10cSrcweir { 0x4001, { 15800, 0x400, 4460 } }, //408 0 -> 15800 (vert.adj) 6033cdf0e10cSrcweir { 0xa000, { 0x400, 0, 0x408 } }, //409 6034cdf0e10cSrcweir { 0x6000, { 0x400, 0x408, 0 } }, //40a 6035cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, //40b 6036cdf0e10cSrcweir { 0x6006, { 0x403, 0x40b, 21600 } }, //40c 6037cdf0e10cSrcweir { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1 6038cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, //40e 6039cdf0e10cSrcweir { 0xa000, { 0x407, 7200, 0x40e } }, //40f 6040cdf0e10cSrcweir { 0x6000, { 0x40c, 0x40e, 7200 } }, //410 6041cdf0e10cSrcweir { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width 6042cdf0e10cSrcweir { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos 6043cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos 6044cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos 6045cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos 6046cdf0e10cSrcweir { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox) 6047cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox) 6048cdf0e10cSrcweir 6049cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x407 } }, //418 p2 6050cdf0e10cSrcweir 6051cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40f } }, //419 c 6052cdf0e10cSrcweir { 0x6000, { 0x401, 0x408, 0 } }, //41a 6053cdf0e10cSrcweir 6054cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x410 } }, //41b c 6055cdf0e10cSrcweir { 0xa000, { 0x401, 0, 0x408 } }, //41c 6056cdf0e10cSrcweir 6057cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40c } } //41d p3 6058cdf0e10cSrcweir }; 6059cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveGluePoints[] = 6060cdf0e10cSrcweir { 6061cdf0e10cSrcweir { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 } 6062cdf0e10cSrcweir }; 6063cdf0e10cSrcweir static const sal_uInt16 mso_sptWaveSegm[] = 6064cdf0e10cSrcweir { 6065cdf0e10cSrcweir 0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000 6066cdf0e10cSrcweir }; 6067cdf0e10cSrcweir static const SvxMSDffHandle mso_sptWaveHandle[] = 6068cdf0e10cSrcweir { 6069cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6070cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4460 }, 6071cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6072cdf0e10cSrcweir 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff } 6073cdf0e10cSrcweir }; 6074cdf0e10cSrcweir static const sal_Int32 mso_sptWaveDefault[] = 6075cdf0e10cSrcweir { 6076cdf0e10cSrcweir 2, 1400, 10800 6077cdf0e10cSrcweir }; 6078cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWaveTextRect[] = 6079cdf0e10cSrcweir { 6080cdf0e10cSrcweir { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } } 6081cdf0e10cSrcweir }; 6082cdf0e10cSrcweir static const mso_CustomShape msoWave = 6083cdf0e10cSrcweir { 6084cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWaveVert, sizeof( mso_sptWaveVert ) / sizeof( SvxMSDffVertPair ), 6085cdf0e10cSrcweir (sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1, 6086cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), 6087cdf0e10cSrcweir (sal_Int32*)mso_sptWaveDefault, 6088cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptWaveTextRect, sizeof( mso_sptWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 6089cdf0e10cSrcweir 21600, 21600, 6090cdf0e10cSrcweir 0x80000000, 0x80000000, 6091cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 6092cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) 6093cdf0e10cSrcweir }; 6094cdf0e10cSrcweir 6095cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveVert[] = // adjustment1 : 0 - 2230 6096cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 6097cdf0e10cSrcweir { 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 }, 6098cdf0e10cSrcweir { 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 } 6099cdf0e10cSrcweir }; 6100cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleWaveCalc[] = 6101cdf0e10cSrcweir { 6102cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj) 6103cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, //401 6104cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj) 6105cdf0e10cSrcweir { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj) 6106cdf0e10cSrcweir { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj) 6107cdf0e10cSrcweir { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj) 6108cdf0e10cSrcweir { 0x8000, { 4320, 0, 0x405 } }, //406 -> not used 6109cdf0e10cSrcweir { 0xa006, { 0x403, 0, 0x405 } }, //407 6110cdf0e10cSrcweir { 0x4001, { 7900, 0x400, 2230 } }, //408 0 -> 7900 (vert.adj) 6111cdf0e10cSrcweir { 0xa000, { 0x400, 0, 0x408 } }, //409 6112cdf0e10cSrcweir { 0x6000, { 0x400, 0x408, 0 } }, //40a 6113cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, //40b 6114cdf0e10cSrcweir { 0x6006, { 0x403, 0x40b, 21600 } }, //40c 6115cdf0e10cSrcweir { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1 6116cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, //40e 6117cdf0e10cSrcweir { 0xa000, { 0x407, 3600, 0x40e } }, //40f 6118cdf0e10cSrcweir { 0x6000, { 0x40c, 0x40e, 3600 } }, //410 6119cdf0e10cSrcweir { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width 6120cdf0e10cSrcweir { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos 6121cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos 6122cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos 6123cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos 6124cdf0e10cSrcweir { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox) 6125cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox) 6126cdf0e10cSrcweir 6127cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x407 } }, //418 p2 6128cdf0e10cSrcweir 6129cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40f } }, //419 c 6130cdf0e10cSrcweir { 0x6000, { 0x401, 0x408, 0 } }, //41a 6131cdf0e10cSrcweir 6132cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x410 } }, //41b c 6133cdf0e10cSrcweir { 0xa000, { 0x401, 0, 0x408 } }, //41c 6134cdf0e10cSrcweir 6135cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40c } }, //41d p3 6136cdf0e10cSrcweir { 0xa000, { 0x412, 0, 0x40e } }, //41e 6137cdf0e10cSrcweir { 0x6000, { 0x412, 0x40e, 0 } }, //41f 6138cdf0e10cSrcweir { 0xa000, { 0x413, 0, 0x40e } }, //420 6139cdf0e10cSrcweir { 0x6000, { 0x413, 0x40e, 0 } } //421 6140cdf0e10cSrcweir }; 6141cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints[] = 6142cdf0e10cSrcweir { 6143cdf0e10cSrcweir { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 } 6144cdf0e10cSrcweir }; 6145cdf0e10cSrcweir static const sal_uInt16 mso_sptDoubleWaveSegm[] = 6146cdf0e10cSrcweir { 6147cdf0e10cSrcweir 0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000 6148cdf0e10cSrcweir }; 6149cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDoubleWaveHandle[] = 6150cdf0e10cSrcweir { 6151cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6152cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 2230 }, 6153cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6154cdf0e10cSrcweir 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff } 6155cdf0e10cSrcweir }; 6156cdf0e10cSrcweir static const sal_Int32 mso_sptDoubleWaveDefault[] = 6157cdf0e10cSrcweir { 6158cdf0e10cSrcweir 2, 1400, 10800 6159cdf0e10cSrcweir }; 6160cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect[] = 6161cdf0e10cSrcweir { 6162cdf0e10cSrcweir { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } } 6163cdf0e10cSrcweir }; 6164cdf0e10cSrcweir static const mso_CustomShape msoDoubleWave = 6165cdf0e10cSrcweir { 6166cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDoubleWaveVert, sizeof( mso_sptDoubleWaveVert ) / sizeof( SvxMSDffVertPair ), 6167cdf0e10cSrcweir (sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1, 6168cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), 6169cdf0e10cSrcweir (sal_Int32*)mso_sptDoubleWaveDefault, 6170cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 6171cdf0e10cSrcweir 21600, 21600, 6172cdf0e10cSrcweir 0x80000000, 0x80000000, 6173cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 6174cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) 6175cdf0e10cSrcweir }; 6176cdf0e10cSrcweir 6177cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default 6178cdf0e10cSrcweir static const sal_uInt16 mso_DefaultFillingTable[] = 6179cdf0e10cSrcweir { 6180cdf0e10cSrcweir 0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000 6181cdf0e10cSrcweir }; 6182cdf0e10cSrcweir sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType ) 6183cdf0e10cSrcweir { 6184cdf0e10cSrcweir sal_Bool bIsFilledByDefault = sal_True; 6185cdf0e10cSrcweir sal_uInt32 i = (sal_uInt32)eSpType; 6186cdf0e10cSrcweir if ( i < 0x100 ) 6187cdf0e10cSrcweir bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0; 6188cdf0e10cSrcweir return bIsFilledByDefault; 6189cdf0e10cSrcweir } 6190cdf0e10cSrcweir sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType ) 6191cdf0e10cSrcweir { 6192cdf0e10cSrcweir sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS; 6193cdf0e10cSrcweir const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType ); 6194cdf0e10cSrcweir if ( pDefCustomShape && pDefCustomShape->nGluePoints ) 6195cdf0e10cSrcweir nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM; 6196cdf0e10cSrcweir else 6197cdf0e10cSrcweir { 6198cdf0e10cSrcweir switch( eSpType ) 6199cdf0e10cSrcweir { 6200cdf0e10cSrcweir case mso_sptRectangle : 6201cdf0e10cSrcweir case mso_sptRoundRectangle : 6202cdf0e10cSrcweir case mso_sptPictureFrame : 6203cdf0e10cSrcweir case mso_sptFlowChartProcess : 6204cdf0e10cSrcweir case mso_sptFlowChartPredefinedProcess : 6205cdf0e10cSrcweir case mso_sptFlowChartInternalStorage : 6206cdf0e10cSrcweir case mso_sptTextPlainText : 6207cdf0e10cSrcweir case mso_sptTextBox : 6208cdf0e10cSrcweir case mso_sptVerticalScroll : 6209cdf0e10cSrcweir case mso_sptHorizontalScroll : 6210cdf0e10cSrcweir nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT; 6211cdf0e10cSrcweir default: break; 6212cdf0e10cSrcweir } 6213cdf0e10cSrcweir } 6214cdf0e10cSrcweir return nGluePointType; 6215cdf0e10cSrcweir } 6216cdf0e10cSrcweir 6217cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default 6218cdf0e10cSrcweir // #i28269# 6219cdf0e10cSrcweir static const sal_uInt16 mso_DefaultStrokingTable[] = 6220cdf0e10cSrcweir { 6221cdf0e10cSrcweir 0x0000, 0x0000, 0x0000, 0x0000, 6222cdf0e10cSrcweir 0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame) 6223cdf0e10cSrcweir 0x0000, 0x0000, 0x0000, 0x0000, 6224cdf0e10cSrcweir 0x0000, 0x0000, 0x0000, 0x0000 6225cdf0e10cSrcweir }; 6226cdf0e10cSrcweir // #i28269# 6227cdf0e10cSrcweir sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType ) 6228cdf0e10cSrcweir { 6229cdf0e10cSrcweir sal_Bool bIsStrokedByDefault = sal_True; 6230cdf0e10cSrcweir sal_uInt32 i = (sal_uInt32)eSpType; 6231cdf0e10cSrcweir if ( i < 0x100 ) 6232cdf0e10cSrcweir bIsStrokedByDefault = ( mso_DefaultStrokingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0; 6233cdf0e10cSrcweir return bIsStrokedByDefault; 6234cdf0e10cSrcweir } 6235cdf0e10cSrcweir 6236cdf0e10cSrcweir static const sal_uInt16 msoSortFilledObjectsToBackTable[] = 6237cdf0e10cSrcweir { 6238cdf0e10cSrcweir 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 6239cdf0e10cSrcweir }; 6240cdf0e10cSrcweir sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType ) 6241cdf0e10cSrcweir { 6242cdf0e10cSrcweir sal_Bool bSortFilledObjectsToBackByDefault = sal_True; 6243cdf0e10cSrcweir sal_uInt32 i = (sal_uInt32)eSpType; 6244cdf0e10cSrcweir if ( i < 0x100 ) 6245cdf0e10cSrcweir bSortFilledObjectsToBackByDefault = ( msoSortFilledObjectsToBackTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) != 0; 6246cdf0e10cSrcweir return bSortFilledObjectsToBackByDefault; 6247cdf0e10cSrcweir } 6248cdf0e10cSrcweir 6249cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFontWorkVert[] = 6250cdf0e10cSrcweir { 6251cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 } 6252cdf0e10cSrcweir }; 6253cdf0e10cSrcweir static const sal_uInt16 mso_sptFontWorkSegm[] = 6254cdf0e10cSrcweir { 6255cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 6256cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 6257cdf0e10cSrcweir }; 6258cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFontWorkTextRect[] = 6259cdf0e10cSrcweir { 6260cdf0e10cSrcweir { { 0, 0 }, { 21600, 21600 } } 6261cdf0e10cSrcweir }; 6262cdf0e10cSrcweir static const mso_CustomShape msoFontWork = 6263cdf0e10cSrcweir { 6264cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptFontWorkVert, sizeof( mso_sptFontWorkVert ) / sizeof( SvxMSDffVertPair ), 6265cdf0e10cSrcweir (sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1, 6266cdf0e10cSrcweir NULL, 0, 6267cdf0e10cSrcweir NULL, 6268cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6269cdf0e10cSrcweir 21600, 21600, 6270cdf0e10cSrcweir 0x80000000, 0x80000000, 6271cdf0e10cSrcweir NULL, 0, 6272cdf0e10cSrcweir NULL, 0 // Handles 6273cdf0e10cSrcweir }; 6274cdf0e10cSrcweir 6275cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextPlainTextVert[] = 6276cdf0e10cSrcweir { 6277cdf0e10cSrcweir { 3 MSO_I, 0 }, { 5 MSO_I, 0 }, { 6 MSO_I, 21600 }, { 7 MSO_I, 21600 } 6278cdf0e10cSrcweir }; 6279cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextPlainTextCalc[] = // adjustment1 : 6629 - 14971 6280cdf0e10cSrcweir { 6281cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, 6282cdf0e10cSrcweir { 0x2001, { 0x400, 2, 1 } }, 6283cdf0e10cSrcweir { 0x2003, { 0x401, 0, 0 } }, 6284cdf0e10cSrcweir { 0xa006, { 0x401, 0, 0x402 } }, // x1(3) 6285cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, 6286cdf0e10cSrcweir { 0x6006, { 0x401, 0x404, 21600 } }, // x2(5) 6287cdf0e10cSrcweir { 0x6006, { 0x401, 0x402, 0 } }, // x2 6288cdf0e10cSrcweir { 0xa006, { 0x401, 21600, 0x404 } } // x3(7) 6289cdf0e10cSrcweir }; 6290cdf0e10cSrcweir static const sal_uInt16 mso_sptTextPlainTextSegm[] = 6291cdf0e10cSrcweir { 6292cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 6293cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 6294cdf0e10cSrcweir }; 6295cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextPlainTextHandle[] = 6296cdf0e10cSrcweir { 6297cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6298cdf0e10cSrcweir 0x100, 21600, 10800, 10800, 6629, 14971, 0x80000000, 0x7fffffff } 6299cdf0e10cSrcweir }; 6300cdf0e10cSrcweir static const mso_CustomShape msoTextPlainText = 6301cdf0e10cSrcweir { 6302cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextPlainTextVert, sizeof( mso_sptTextPlainTextVert ) / sizeof( SvxMSDffVertPair ), 6303cdf0e10cSrcweir (sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1, 6304cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, sizeof( mso_sptTextPlainTextCalc ) / sizeof( SvxMSDffCalculationData ), 6305cdf0e10cSrcweir (sal_Int32*)mso_sptDefault10800, 6306cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6307cdf0e10cSrcweir 21600, 21600, 6308cdf0e10cSrcweir 0x80000000, 0x80000000, 6309cdf0e10cSrcweir NULL, 0, 6310cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextPlainTextHandle, sizeof( mso_sptTextPlainTextHandle ) / sizeof( SvxMSDffHandle ) 6311cdf0e10cSrcweir }; 6312cdf0e10cSrcweir 6313cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextStopVert[] = 6314cdf0e10cSrcweir { 6315cdf0e10cSrcweir { 0, 0 MSO_I }, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I }, 6316cdf0e10cSrcweir { 0, 1 MSO_I }, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I } 6317cdf0e10cSrcweir }; 6318cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextStopCalc[] = // adjustment1 : 3080 - 10800 6319cdf0e10cSrcweir { 6320cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 6321cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } 6322cdf0e10cSrcweir }; 6323cdf0e10cSrcweir static const sal_uInt16 mso_sptTextStopSegm[] = 6324cdf0e10cSrcweir { 6325cdf0e10cSrcweir 0x4000, 0x0003, 0x8000, 6326cdf0e10cSrcweir 0x4000, 0x0003, 0x8000 6327cdf0e10cSrcweir }; 6328cdf0e10cSrcweir static const sal_Int32 mso_sptTextStopDefault[] = 6329cdf0e10cSrcweir { 6330cdf0e10cSrcweir 1, 2700 6331cdf0e10cSrcweir }; 6332cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextStopHandle[] = 6333cdf0e10cSrcweir { 6334cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6335cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 3080, 10800 } 6336cdf0e10cSrcweir }; 6337cdf0e10cSrcweir static const mso_CustomShape msoTextStop = 6338cdf0e10cSrcweir { 6339cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextStopVert, sizeof( mso_sptTextStopVert ) / sizeof( SvxMSDffVertPair ), 6340cdf0e10cSrcweir (sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1, 6341cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextStopCalc, sizeof( mso_sptTextStopCalc ) / sizeof( SvxMSDffCalculationData ), 6342cdf0e10cSrcweir (sal_Int32*)mso_sptTextStopDefault, 6343cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6344cdf0e10cSrcweir 21600, 21600, 6345cdf0e10cSrcweir 0x80000000, 0x80000000, 6346cdf0e10cSrcweir NULL, 0, 6347cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextStopHandle, sizeof( mso_sptTextStopHandle ) / sizeof( SvxMSDffHandle ) 6348cdf0e10cSrcweir }; 6349cdf0e10cSrcweir 6350cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleVert[] = 6351cdf0e10cSrcweir { 6352cdf0e10cSrcweir { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 } 6353cdf0e10cSrcweir }; 6354cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextTriangleCalc[] = // adjustment1 : 6629 - 14971 6355cdf0e10cSrcweir { 6356cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } 6357cdf0e10cSrcweir }; 6358cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleSegm[] = 6359cdf0e10cSrcweir { 6360cdf0e10cSrcweir 0x4000, 0x0002, 0x8000, 6361cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 6362cdf0e10cSrcweir }; 6363cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextTriangleHandle[] = 6364cdf0e10cSrcweir { 6365cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6366cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } 6367cdf0e10cSrcweir }; 6368cdf0e10cSrcweir static const mso_CustomShape msoTextTriangle = 6369cdf0e10cSrcweir { 6370cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextTriangleVert, sizeof( mso_sptTextTriangleVert ) / sizeof( SvxMSDffVertPair ), 6371cdf0e10cSrcweir (sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1, 6372cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ), 6373cdf0e10cSrcweir (sal_Int32*)mso_sptDefault10800, 6374cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6375cdf0e10cSrcweir 21600, 21600, 6376cdf0e10cSrcweir 0x80000000, 0x80000000, 6377cdf0e10cSrcweir NULL, 0, 6378cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle ) 6379cdf0e10cSrcweir }; 6380cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert[] = 6381cdf0e10cSrcweir { 6382cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I } 6383cdf0e10cSrcweir }; 6384cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleInvertedSegm[] = 6385cdf0e10cSrcweir { 6386cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 6387cdf0e10cSrcweir 0x4000, 0x0002, 0x8000 6388cdf0e10cSrcweir }; 6389cdf0e10cSrcweir static const mso_CustomShape msoTextTriangleInverted = 6390cdf0e10cSrcweir { 6391cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextTriangleInvertedVert, sizeof( mso_sptTextTriangleInvertedVert ) / sizeof( SvxMSDffVertPair ), 6392cdf0e10cSrcweir (sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1, 6393cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ), 6394cdf0e10cSrcweir (sal_Int32*)mso_sptDefault10800, 6395cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6396cdf0e10cSrcweir 21600, 21600, 6397cdf0e10cSrcweir 0x80000000, 0x80000000, 6398cdf0e10cSrcweir NULL, 0, 6399cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle ) 6400cdf0e10cSrcweir }; 6401cdf0e10cSrcweir 6402cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronVert[] = 6403cdf0e10cSrcweir { 6404cdf0e10cSrcweir { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 10800, 1 MSO_I }, { 21600, 21600 } 6405cdf0e10cSrcweir }; 6406cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronCalc[] = // adjustment1 : 6629 - 14971 6407cdf0e10cSrcweir { 6408cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 6409cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } 6410cdf0e10cSrcweir }; 6411cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronSegm[] = 6412cdf0e10cSrcweir { 6413cdf0e10cSrcweir 0x4000, 0x0002, 0x8000, 6414cdf0e10cSrcweir 0x4000, 0x0002, 0x8000 6415cdf0e10cSrcweir }; 6416cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronHandle[] = 6417cdf0e10cSrcweir { 6418cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6419cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 6420cdf0e10cSrcweir }; 6421cdf0e10cSrcweir static const mso_CustomShape msoTextChevron = 6422cdf0e10cSrcweir { 6423cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextChevronVert, sizeof( mso_sptTextChevronVert ) / sizeof( SvxMSDffVertPair ), 6424cdf0e10cSrcweir (sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1, 6425cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextChevronCalc, sizeof( mso_sptTextChevronCalc ) / sizeof( SvxMSDffCalculationData ), 6426cdf0e10cSrcweir (sal_Int32*)mso_sptDefault5400, 6427cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6428cdf0e10cSrcweir 21600, 21600, 6429cdf0e10cSrcweir 0x80000000, 0x80000000, 6430cdf0e10cSrcweir NULL, 0, 6431cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextChevronHandle, sizeof( mso_sptTextChevronHandle ) / sizeof( SvxMSDffHandle ) 6432cdf0e10cSrcweir }; 6433cdf0e10cSrcweir 6434cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronInvertedVert[] = 6435cdf0e10cSrcweir { 6436cdf0e10cSrcweir { 0, 0 }, { 10800, 1 MSO_I }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I } 6437cdf0e10cSrcweir }; 6438cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc[] = // adjustment1 : 6629 - 14971 6439cdf0e10cSrcweir { 6440cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 6441cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } 6442cdf0e10cSrcweir }; 6443cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronInvertedSegm[] = 6444cdf0e10cSrcweir { 6445cdf0e10cSrcweir 0x4000, 0x0002, 0x8000, 6446cdf0e10cSrcweir 0x4000, 0x0002, 0x8000 6447cdf0e10cSrcweir }; 6448cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] = 6449cdf0e10cSrcweir { 6450cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6451cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 } 6452cdf0e10cSrcweir }; 6453cdf0e10cSrcweir static const mso_CustomShape msoTextChevronInverted = 6454cdf0e10cSrcweir { 6455cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, sizeof( mso_sptTextChevronInvertedVert ) / sizeof( SvxMSDffVertPair ), 6456cdf0e10cSrcweir (sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1, 6457cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, sizeof( mso_sptTextChevronInvertedCalc ) / sizeof( SvxMSDffCalculationData ), 6458cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200, 6459cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6460cdf0e10cSrcweir 21600, 21600, 6461cdf0e10cSrcweir 0x80000000, 0x80000000, 6462cdf0e10cSrcweir NULL, 0, 6463cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) / sizeof( SvxMSDffHandle ) 6464cdf0e10cSrcweir }; 6465cdf0e10cSrcweir 6466cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] = 6467cdf0e10cSrcweir { 6468cdf0e10cSrcweir { 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }, 6469cdf0e10cSrcweir { 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 } 6470cdf0e10cSrcweir }; 6471cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] = // adjustment1 : 6629 - 14971 6472cdf0e10cSrcweir { 6473cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, 6474cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } } 6475cdf0e10cSrcweir }; 6476cdf0e10cSrcweir static const sal_uInt16 mso_sptTextRingOutsideSegm[] = 6477cdf0e10cSrcweir { 6478cdf0e10cSrcweir 0xA203, 0x8000, 6479cdf0e10cSrcweir 0xA203, 0x8000 6480cdf0e10cSrcweir }; 6481cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] = 6482cdf0e10cSrcweir { 6483cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6484cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 } 6485cdf0e10cSrcweir }; 6486cdf0e10cSrcweir static const mso_CustomShape msoTextRingOutside = 6487cdf0e10cSrcweir { 6488cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextRingOutsideVert, sizeof( mso_sptTextRingOutsideVert ) / sizeof( SvxMSDffVertPair ), 6489cdf0e10cSrcweir (sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1, 6490cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, sizeof( mso_sptTextRingOutsideCalc ) / sizeof( SvxMSDffCalculationData ), 6491cdf0e10cSrcweir (sal_Int32*)mso_sptDefault16200, 6492cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6493cdf0e10cSrcweir 21600, 21600, 6494cdf0e10cSrcweir 0x80000000, 0x80000000, 6495cdf0e10cSrcweir NULL, 0, 6496cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextRingOutsideHandle, sizeof( mso_sptTextRingOutsideHandle ) / sizeof( SvxMSDffHandle ) 6497cdf0e10cSrcweir }; 6498cdf0e10cSrcweir 6499cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeRightVert[] = 6500cdf0e10cSrcweir { 6501cdf0e10cSrcweir { 0, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 1 MSO_I } 6502cdf0e10cSrcweir }; 6503cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextFadeCalc[] = 6504cdf0e10cSrcweir { 6505cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 6506cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } 6507cdf0e10cSrcweir }; 6508cdf0e10cSrcweir static const sal_uInt16 mso_sptTextFadeSegm[] = 6509cdf0e10cSrcweir { 6510cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 6511cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 6512cdf0e10cSrcweir }; 6513cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeRightHandle[] = 6514cdf0e10cSrcweir { 6515cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6516cdf0e10cSrcweir 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 6517cdf0e10cSrcweir }; 6518cdf0e10cSrcweir static const mso_CustomShape msoTextFadeRight = 6519cdf0e10cSrcweir { 6520cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextFadeRightVert, sizeof( mso_sptTextFadeRightVert ) / sizeof( SvxMSDffVertPair ), 6521cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6522cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6523cdf0e10cSrcweir (sal_Int32*)mso_sptDefault7200, 6524cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6525cdf0e10cSrcweir 21600, 21600, 6526cdf0e10cSrcweir 0x80000000, 0x80000000, 6527cdf0e10cSrcweir NULL, 0, 6528cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextFadeRightHandle, sizeof( mso_sptTextFadeRightHandle ) / sizeof( SvxMSDffHandle ) 6529cdf0e10cSrcweir }; 6530cdf0e10cSrcweir 6531cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] = 6532cdf0e10cSrcweir { 6533cdf0e10cSrcweir { 0, 0 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 21600, 21600 } 6534cdf0e10cSrcweir }; 6535cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] = 6536cdf0e10cSrcweir { 6537cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6538cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } 6539cdf0e10cSrcweir }; 6540cdf0e10cSrcweir static const mso_CustomShape msoTextFadeLeft = 6541cdf0e10cSrcweir { 6542cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextFadeLeftVert, sizeof( mso_sptTextFadeLeftVert ) / sizeof( SvxMSDffVertPair ), 6543cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6544cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6545cdf0e10cSrcweir (sal_Int32*)mso_sptDefault7200, 6546cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6547cdf0e10cSrcweir 21600, 21600, 6548cdf0e10cSrcweir 0x80000000, 0x80000000, 6549cdf0e10cSrcweir NULL, 0, 6550cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextFadeLeftHandle, sizeof( mso_sptTextFadeLeftHandle ) / sizeof( SvxMSDffHandle ) 6551cdf0e10cSrcweir }; 6552cdf0e10cSrcweir 6553cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeUpVert[] = 6554cdf0e10cSrcweir { 6555cdf0e10cSrcweir { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 0, 21600 }, { 21600, 21600 } 6556cdf0e10cSrcweir }; 6557cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeUpHandle[] = 6558cdf0e10cSrcweir { 6559cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6560cdf0e10cSrcweir 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6561cdf0e10cSrcweir }; 6562cdf0e10cSrcweir static const mso_CustomShape msoTextFadeUp = 6563cdf0e10cSrcweir { 6564cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextFadeUpVert, sizeof( mso_sptTextFadeUpVert ) / sizeof( SvxMSDffVertPair ), 6565cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6566cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6567cdf0e10cSrcweir (sal_Int32*)mso_sptDefault7200, 6568cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6569cdf0e10cSrcweir 21600, 21600, 6570cdf0e10cSrcweir 0x80000000, 0x80000000, 6571cdf0e10cSrcweir NULL, 0, 6572cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextFadeUpHandle, sizeof( mso_sptTextFadeUpHandle ) / sizeof( SvxMSDffHandle ) 6573cdf0e10cSrcweir }; 6574cdf0e10cSrcweir 6575cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeDownVert[] = 6576cdf0e10cSrcweir { 6577cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 0 MSO_I, 21600 }, { 1 MSO_I, 21600 } 6578cdf0e10cSrcweir }; 6579cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeDownHandle[] = 6580cdf0e10cSrcweir { 6581cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6582cdf0e10cSrcweir 0x100, 21600, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6583cdf0e10cSrcweir }; 6584cdf0e10cSrcweir static const mso_CustomShape msoTextFadeDown = 6585cdf0e10cSrcweir { 6586cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextFadeDownVert, sizeof( mso_sptTextFadeDownVert ) / sizeof( SvxMSDffVertPair ), 6587cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6588cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6589cdf0e10cSrcweir (sal_Int32*)mso_sptDefault7200, 6590cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6591cdf0e10cSrcweir 21600, 21600, 6592cdf0e10cSrcweir 0x80000000, 0x80000000, 6593cdf0e10cSrcweir NULL, 0, 6594cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextFadeDownHandle, sizeof( mso_sptTextFadeDownHandle ) / sizeof( SvxMSDffHandle ) 6595cdf0e10cSrcweir }; 6596cdf0e10cSrcweir 6597cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantUpVert[] = 6598cdf0e10cSrcweir { 6599cdf0e10cSrcweir { 0, 0 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I } 6600cdf0e10cSrcweir }; 6601cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantUpHandle[] = 6602cdf0e10cSrcweir { 6603cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6604cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 15400 } 6605cdf0e10cSrcweir }; 6606cdf0e10cSrcweir static const mso_CustomShape msoTextSlantUp = 6607cdf0e10cSrcweir { 6608cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextSlantUpVert, sizeof( mso_sptTextSlantUpVert ) / sizeof( SvxMSDffVertPair ), 6609cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6610cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6611cdf0e10cSrcweir (sal_Int32*)mso_sptDefault12000, 6612cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6613cdf0e10cSrcweir 21600, 21600, 6614cdf0e10cSrcweir 0x80000000, 0x80000000, 6615cdf0e10cSrcweir NULL, 0, 6616cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextSlantUpHandle, sizeof( mso_sptTextSlantUpHandle ) / sizeof( SvxMSDffHandle ) 6617cdf0e10cSrcweir }; 6618cdf0e10cSrcweir 6619cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantDownVert[] = 6620cdf0e10cSrcweir { 6621cdf0e10cSrcweir { 0, 0 }, { 21600, 1 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 } 6622cdf0e10cSrcweir }; 6623cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantDownHandle[] = 6624cdf0e10cSrcweir { 6625cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6626cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } 6627cdf0e10cSrcweir }; 6628cdf0e10cSrcweir static const mso_CustomShape msoTextSlantDown = 6629cdf0e10cSrcweir { 6630cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextSlantDownVert, sizeof( mso_sptTextSlantDownVert ) / sizeof( SvxMSDffVertPair ), 6631cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6632cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), 6633cdf0e10cSrcweir (sal_Int32*)mso_sptDefault12000, 6634cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6635cdf0e10cSrcweir 21600, 21600, 6636cdf0e10cSrcweir 0x80000000, 0x80000000, 6637cdf0e10cSrcweir NULL, 0, 6638cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextSlantDownHandle, sizeof( mso_sptTextSlantDownHandle ) / sizeof( SvxMSDffHandle ) 6639cdf0e10cSrcweir }; 6640cdf0e10cSrcweir 6641cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeUpVert[] = 6642cdf0e10cSrcweir { 6643cdf0e10cSrcweir { 0, 2 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I } 6644cdf0e10cSrcweir }; 6645cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] = 6646cdf0e10cSrcweir { 6647cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 6648cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, 6649cdf0e10cSrcweir { 0x2001, { 0x401, 1, 4 } } 6650cdf0e10cSrcweir }; 6651cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] = 6652cdf0e10cSrcweir { 6653cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6654cdf0e10cSrcweir 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } 6655cdf0e10cSrcweir }; 6656cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeUp = 6657cdf0e10cSrcweir { 6658cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCascadeUpVert, sizeof( mso_sptTextCascadeUpVert ) / sizeof( SvxMSDffVertPair ), 6659cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6660cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ), 6661cdf0e10cSrcweir (sal_Int32*)mso_sptDefault9600, 6662cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6663cdf0e10cSrcweir 21600, 21600, 6664cdf0e10cSrcweir 0x80000000, 0x80000000, 6665cdf0e10cSrcweir NULL, 0, 6666cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCascadeUpHandle, sizeof( mso_sptTextCascadeUpHandle ) / sizeof( SvxMSDffHandle ) 6667cdf0e10cSrcweir }; 6668cdf0e10cSrcweir 6669cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] = 6670cdf0e10cSrcweir { 6671cdf0e10cSrcweir { 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 } 6672cdf0e10cSrcweir }; 6673cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] = 6674cdf0e10cSrcweir { 6675cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 6676cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } 6677cdf0e10cSrcweir }; 6678cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeDown = 6679cdf0e10cSrcweir { 6680cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCascadeDownVert, sizeof( mso_sptTextCascadeDownVert ) / sizeof( SvxMSDffVertPair ), 6681cdf0e10cSrcweir (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, 6682cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ), 6683cdf0e10cSrcweir (sal_Int32*)mso_sptDefault9600, 6684cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6685cdf0e10cSrcweir 21600, 21600, 6686cdf0e10cSrcweir 0x80000000, 0x80000000, 6687cdf0e10cSrcweir NULL, 0, 6688cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCascadeDownHandle, sizeof( mso_sptTextCascadeDownHandle ) / sizeof( SvxMSDffHandle ) 6689cdf0e10cSrcweir }; 6690cdf0e10cSrcweir 6691cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpCurveVert[] = 6692cdf0e10cSrcweir { 6693cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I } 6694cdf0e10cSrcweir }; 6695cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] = 6696cdf0e10cSrcweir { 6697cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 6698cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 6699cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 6700cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 6701cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } } 6702cdf0e10cSrcweir }; 6703cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpCurveSegm[] = 6704cdf0e10cSrcweir { 6705cdf0e10cSrcweir 0xA504, 0x8000 // clockw�se arc 6706cdf0e10cSrcweir }; 6707cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] = 6708cdf0e10cSrcweir { 6709cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR, 6710cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6711cdf0e10cSrcweir }; 6712cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpCurveDefault[] = 6713cdf0e10cSrcweir { 6714cdf0e10cSrcweir 1, 180 6715cdf0e10cSrcweir }; 6716cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpCurve = 6717cdf0e10cSrcweir { 6718cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, sizeof( mso_sptTextArchUpCurveVert ) / sizeof( SvxMSDffVertPair ), 6719cdf0e10cSrcweir (sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1, 6720cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ), 6721cdf0e10cSrcweir (sal_Int32*)mso_sptTextArchUpCurveDefault, 6722cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6723cdf0e10cSrcweir 21600, 21600, 6724cdf0e10cSrcweir 0x80000000, 0x80000000, 6725cdf0e10cSrcweir NULL, 0, 6726cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, sizeof( mso_sptTextArchUpCurveHandle ) / sizeof( SvxMSDffHandle ) 6727cdf0e10cSrcweir }; 6728cdf0e10cSrcweir 6729cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownCurveVert[] = 6730cdf0e10cSrcweir { 6731cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I } 6732cdf0e10cSrcweir }; 6733cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownCurveSegm[] = 6734cdf0e10cSrcweir { 6735cdf0e10cSrcweir 0xA304, 0x8000 // counter clockwise arc to 6736cdf0e10cSrcweir }; 6737cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] = 6738cdf0e10cSrcweir { 6739cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR, 6740cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6741cdf0e10cSrcweir }; 6742cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownCurveDefault[] = 6743cdf0e10cSrcweir { 6744cdf0e10cSrcweir 1, 0 6745cdf0e10cSrcweir }; 6746cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownCurve = 6747cdf0e10cSrcweir { 6748cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, sizeof( mso_sptTextArchDownCurveVert ) / sizeof( SvxMSDffVertPair ), 6749cdf0e10cSrcweir (sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1, 6750cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ), 6751cdf0e10cSrcweir (sal_Int32*)mso_sptTextArchDownCurveDefault, 6752cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6753cdf0e10cSrcweir 21600, 21600, 6754cdf0e10cSrcweir 0x80000000, 0x80000000, 6755cdf0e10cSrcweir NULL, 0, 6756cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, sizeof( mso_sptTextArchDownCurveHandle ) / sizeof( SvxMSDffHandle ) 6757cdf0e10cSrcweir }; 6758cdf0e10cSrcweir 6759cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCircleCurveVert[] = 6760cdf0e10cSrcweir { 6761cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I } 6762cdf0e10cSrcweir }; 6763cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc[] = 6764cdf0e10cSrcweir { 6765cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 6766cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 6767cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 6768cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 6769cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } } 6770cdf0e10cSrcweir }; 6771cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCircleCurveSegm[] = 6772cdf0e10cSrcweir { 6773cdf0e10cSrcweir 0xA504, 0x8000 // clockwise arc to 6774cdf0e10cSrcweir }; 6775cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] = 6776cdf0e10cSrcweir { 6777cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR, 6778cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6779cdf0e10cSrcweir }; 6780cdf0e10cSrcweir static const sal_Int32 mso_sptTextCircleCurveDefault[] = 6781cdf0e10cSrcweir { 6782cdf0e10cSrcweir 1, -179 6783cdf0e10cSrcweir }; 6784cdf0e10cSrcweir static const mso_CustomShape msoTextCircleCurve = 6785cdf0e10cSrcweir { 6786cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCircleCurveVert, sizeof( mso_sptTextCircleCurveVert ) / sizeof( SvxMSDffVertPair ), 6787cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1, 6788cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, sizeof( mso_sptTextCircleCurveCalc ) / sizeof( SvxMSDffCalculationData ), 6789cdf0e10cSrcweir (sal_Int32*)mso_sptTextCircleCurveDefault, 6790cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6791cdf0e10cSrcweir 21600, 21600, 6792cdf0e10cSrcweir 0x80000000, 0x80000000, 6793cdf0e10cSrcweir NULL, 0, 6794cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCircleCurveHandle, sizeof( mso_sptTextCircleCurveHandle ) / sizeof( SvxMSDffHandle ) 6795cdf0e10cSrcweir }; 6796cdf0e10cSrcweir 6797cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonCurveVert[] = 6798cdf0e10cSrcweir { 6799cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, 6800cdf0e10cSrcweir { 0, 10800 }, { 21600, 10800 }, 6801cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I } 6802cdf0e10cSrcweir }; 6803cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc[] = 6804cdf0e10cSrcweir { 6805cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 6806cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 6807cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 6808cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 6809cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, 6810cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } } 6811cdf0e10cSrcweir }; 6812cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonCurveSegm[] = 6813cdf0e10cSrcweir { 6814cdf0e10cSrcweir 0xA504, 0x8000, // clockwise arc 6815cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 6816cdf0e10cSrcweir 0xA304, 0x8000 // counter clockwise 6817cdf0e10cSrcweir }; 6818cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] = 6819cdf0e10cSrcweir { 6820cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR, 6821cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6822cdf0e10cSrcweir }; 6823cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonCurveDefault[] = 6824cdf0e10cSrcweir { 6825cdf0e10cSrcweir 1, 180 6826cdf0e10cSrcweir }; 6827cdf0e10cSrcweir static const mso_CustomShape msoTextButtonCurve = 6828cdf0e10cSrcweir { 6829cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextButtonCurveVert, sizeof( mso_sptTextButtonCurveVert ) / sizeof( SvxMSDffVertPair ), 6830cdf0e10cSrcweir (sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1, 6831cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, sizeof( mso_sptTextButtonCurveCalc ) / sizeof( SvxMSDffCalculationData ), 6832cdf0e10cSrcweir (sal_Int32*)mso_sptTextButtonCurveDefault, 6833cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6834cdf0e10cSrcweir 21600, 21600, 6835cdf0e10cSrcweir 0x80000000, 0x80000000, 6836cdf0e10cSrcweir NULL, 0, 6837cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextButtonCurveHandle, sizeof( mso_sptTextButtonCurveHandle ) / sizeof( SvxMSDffHandle ) 6838cdf0e10cSrcweir }; 6839cdf0e10cSrcweir 6840cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpPourVert[] = 6841cdf0e10cSrcweir { 6842cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, 6843cdf0e10cSrcweir { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 9 MSO_I } 6844cdf0e10cSrcweir }; 6845cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchPourCalc[] = 6846cdf0e10cSrcweir { 6847cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 6848cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 6849cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 6850cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 6851cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, 6852cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, 6853cdf0e10cSrcweir { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6 6854cdf0e10cSrcweir { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }, 6855cdf0e10cSrcweir { 0x2000, { 0x406, 10800, 0 } }, // 8 6856cdf0e10cSrcweir { 0x2000, { 0x407, 10800, 0 } }, 6857cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x408 } }, // 10 6858cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } } 6859cdf0e10cSrcweir }; 6860cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpPourSegm[] = 6861cdf0e10cSrcweir { 6862cdf0e10cSrcweir 0xA504, 0x8000, 0xA504, 0x8000 6863cdf0e10cSrcweir }; 6864cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchPourHandle[] = 6865cdf0e10cSrcweir { 6866cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 6867cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6868cdf0e10cSrcweir }; 6869cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpPourDefault[] = 6870cdf0e10cSrcweir { 6871cdf0e10cSrcweir 2, 180, 5400 6872cdf0e10cSrcweir }; 6873cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpPour = 6874cdf0e10cSrcweir { 6875cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextArchUpPourVert, sizeof( mso_sptTextArchUpPourVert ) / sizeof( SvxMSDffVertPair ), 6876cdf0e10cSrcweir (sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1, 6877cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ), 6878cdf0e10cSrcweir (sal_Int32*)mso_sptTextArchUpPourDefault, 6879cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6880cdf0e10cSrcweir 21600, 21600, 6881cdf0e10cSrcweir 0x80000000, 0x80000000, 6882cdf0e10cSrcweir NULL, 0, 6883cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle ) 6884cdf0e10cSrcweir }; 6885cdf0e10cSrcweir 6886cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownPourVert[] = 6887cdf0e10cSrcweir { 6888cdf0e10cSrcweir { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 0xa MSO_I, 9 MSO_I }, { 8 MSO_I, 9 MSO_I }, 6889cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I } 6890cdf0e10cSrcweir }; 6891cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownPourSegm[] = 6892cdf0e10cSrcweir { 6893cdf0e10cSrcweir 0xA304, 0x8000, 0xA304, 0x8000 6894cdf0e10cSrcweir }; 6895cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownPourDefault[] = 6896cdf0e10cSrcweir { 6897cdf0e10cSrcweir 2, 0, 5400 6898cdf0e10cSrcweir }; 6899cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownPour = 6900cdf0e10cSrcweir { 6901cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextArchDownPourVert, sizeof( mso_sptTextArchDownPourVert ) / sizeof( SvxMSDffVertPair ), 6902cdf0e10cSrcweir (sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1, 6903cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ), 6904cdf0e10cSrcweir (sal_Int32*)mso_sptTextArchDownPourDefault, 6905cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6906cdf0e10cSrcweir 21600, 21600, 6907cdf0e10cSrcweir 0x80000000, 0x80000000, 6908cdf0e10cSrcweir NULL, 0, 6909cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle ) 6910cdf0e10cSrcweir }; 6911cdf0e10cSrcweir 6912cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCirclePourVert[] = 6913cdf0e10cSrcweir { 6914cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I }, 6915cdf0e10cSrcweir { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 8 MSO_I, 0xa MSO_I } 6916cdf0e10cSrcweir }; 6917cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCirclePourCalc[] = 6918cdf0e10cSrcweir { 6919cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, 6920cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, 6921cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, 6922cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, 6923cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } }, 6924cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, 6925cdf0e10cSrcweir { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6 6926cdf0e10cSrcweir { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }, 6927cdf0e10cSrcweir { 0x2000, { 0x406, 10800, 0 } }, // 8 6928cdf0e10cSrcweir { 0x2000, { 0x407, 10800, 0 } }, 6929cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x409 } }, // 10 6930cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } }, 6931cdf0e10cSrcweir { 0x000, { 21600, 0, 0 } } 6932cdf0e10cSrcweir }; 6933cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCirclePourSegm[] = 6934cdf0e10cSrcweir { 6935cdf0e10cSrcweir 0xA504, 0x8000, 0xA504, 0x8000 6936cdf0e10cSrcweir }; 6937cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCirclePourHandle[] = 6938cdf0e10cSrcweir { 6939cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 6940cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } 6941cdf0e10cSrcweir }; 6942cdf0e10cSrcweir static const sal_Int32 mso_sptTextCirclePourDefault[] = 6943cdf0e10cSrcweir { 6944cdf0e10cSrcweir 2, -179, 5400 6945cdf0e10cSrcweir }; 6946cdf0e10cSrcweir static const mso_CustomShape msoTextCirclePour = 6947cdf0e10cSrcweir { 6948cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCirclePourVert, sizeof( mso_sptTextCirclePourVert ) / sizeof( SvxMSDffVertPair ), 6949cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1, 6950cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, sizeof( mso_sptTextCirclePourCalc ) / sizeof( SvxMSDffCalculationData ), 6951cdf0e10cSrcweir (sal_Int32*)mso_sptTextCirclePourDefault, 6952cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 6953cdf0e10cSrcweir 21600, 21600, 6954cdf0e10cSrcweir 0x80000000, 0x80000000, 6955cdf0e10cSrcweir NULL, 0, 6956cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCirclePourHandle, sizeof( mso_sptTextCirclePourHandle ) / sizeof( SvxMSDffHandle ) 6957cdf0e10cSrcweir }; 6958cdf0e10cSrcweir 6959cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonPourVert[] = 6960cdf0e10cSrcweir { 6961cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, 6962cdf0e10cSrcweir { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 12 MSO_I, 11 MSO_I }, 6963cdf0e10cSrcweir { 0x16 MSO_I, 16 MSO_I }, { 0x15 MSO_I, 16 MSO_I }, 6964cdf0e10cSrcweir { 0x16 MSO_I, 15 MSO_I }, { 0x15 MSO_I, 15 MSO_I }, 6965cdf0e10cSrcweir { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 13 MSO_I }, { 12 MSO_I, 13 MSO_I }, 6966cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I } 6967cdf0e10cSrcweir }; 6968cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonPourCalc[] = 6969cdf0e10cSrcweir { 6970cdf0e10cSrcweir { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, // 0x00 6971cdf0e10cSrcweir { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, // 0x01 6972cdf0e10cSrcweir { 0x2000, { 0x400, 10800, 0 } }, // 0x02 6973cdf0e10cSrcweir { 0x2000, { 0x401, 10800, 0 } }, // 0x03 6974cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x402 } }, // 0x04 6975cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } }, // 0x05 6976cdf0e10cSrcweir 6977cdf0e10cSrcweir { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, // 0x06 6978cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } }, // 0x07 6979cdf0e10cSrcweir 6980cdf0e10cSrcweir { 0x600a, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x08 6981cdf0e10cSrcweir { 0x6009, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x09 6982cdf0e10cSrcweir { 0x2000, { 0x408, 10800, 0 } }, // 0x0a 6983cdf0e10cSrcweir { 0x2000, { 0x409, 10800, 0 } }, // 0x0b 6984cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40a } }, // 0x0c 6985cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x40b } }, // 0x0d 6986cdf0e10cSrcweir { 0x2001, { 0x406, 1, 2 } }, // 0x0e 6987cdf0e10cSrcweir { 0x4000, { 10800, 0x40e, 0 } }, // 0x0f 6988cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x40e } }, // 0x10 6989cdf0e10cSrcweir { 0x6001, { 0x40e, 0x40e, 1 } }, // 0x11 6990cdf0e10cSrcweir { 0x6001, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 1 } }, // 0x12 6991cdf0e10cSrcweir { 0xA000, { 0x412, 0, 0x411 } }, // 0x13 6992cdf0e10cSrcweir { 0x200d, { 0x413, 0, 0 } }, // 0x14 6993cdf0e10cSrcweir { 0x4000, { 10800, 0x414, 0 } }, // 0x15 6994cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x414 } } // 0x16 6995cdf0e10cSrcweir }; 6996cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonPourSegm[] = 6997cdf0e10cSrcweir { 6998cdf0e10cSrcweir 0xA504, 0x8000, // clockwise arc 6999cdf0e10cSrcweir 0xA504, 0x8000, // clockwise arc 7000cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7001cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7002cdf0e10cSrcweir 0xA304, 0x8000, // counter clockwise 7003cdf0e10cSrcweir 0xA304, 0x8000 // counter clockwise 7004cdf0e10cSrcweir }; 7005cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonPourHandle[] = 7006cdf0e10cSrcweir { 7007cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 7008cdf0e10cSrcweir 0x101, 0x100, 10800, 10800, 4320, 10800, 0x80000000, 0x7fffffff } 7009cdf0e10cSrcweir }; 7010cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonPourDefault[] = 7011cdf0e10cSrcweir { 7012cdf0e10cSrcweir 2, 180, 5400 7013cdf0e10cSrcweir }; 7014cdf0e10cSrcweir static const mso_CustomShape msoTextButtonPour = 7015cdf0e10cSrcweir { 7016cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextButtonPourVert, sizeof( mso_sptTextButtonPourVert ) / sizeof( SvxMSDffVertPair ), 7017cdf0e10cSrcweir (sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1, 7018cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, sizeof( mso_sptTextButtonPourCalc ) / sizeof( SvxMSDffCalculationData ), 7019cdf0e10cSrcweir (sal_Int32*)mso_sptTextButtonPourDefault, 7020cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7021cdf0e10cSrcweir 21600, 21600, 7022cdf0e10cSrcweir 0x80000000, 0x80000000, 7023cdf0e10cSrcweir NULL, 0, 7024cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextButtonPourHandle, sizeof( mso_sptTextButtonPourHandle ) / sizeof( SvxMSDffHandle ) 7025cdf0e10cSrcweir }; 7026cdf0e10cSrcweir 7027cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveUpVert[] = 7028cdf0e10cSrcweir { 7029cdf0e10cSrcweir { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 }, 7030cdf0e10cSrcweir { 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*/ } 7031cdf0e10cSrcweir }; 7032cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCurveUpCalc[] = 7033cdf0e10cSrcweir { 7034cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7035cdf0e10cSrcweir { 0x4001, { 14250, 0x400, 12170 } }, // 401 7036cdf0e10cSrcweir { 0x4001, { 12800, 0x400, 12170 } }, // 402 7037cdf0e10cSrcweir { 0x4001, { 6380, 0x400, 12170 } }, // 403 7038cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } } // 404 7039cdf0e10cSrcweir }; 7040cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCurveUpSegm[] = 7041cdf0e10cSrcweir { 7042cdf0e10cSrcweir 0x4000, 0x2001, 0x8000, 7043cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 7044cdf0e10cSrcweir }; 7045cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveUpHandle[] = 7046cdf0e10cSrcweir { 7047cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7048cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 } 7049cdf0e10cSrcweir }; 7050cdf0e10cSrcweir static const sal_Int32 mso_sptTextCurveUpDefault[] = 7051cdf0e10cSrcweir { 7052cdf0e10cSrcweir 1, 9900 7053cdf0e10cSrcweir }; 7054cdf0e10cSrcweir static const mso_CustomShape msoTextCurveUp = 7055cdf0e10cSrcweir { 7056cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCurveUpVert, sizeof( mso_sptTextCurveUpVert ) / sizeof( SvxMSDffVertPair ), 7057cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, 7058cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ), 7059cdf0e10cSrcweir (sal_Int32*)mso_sptTextCurveUpDefault, 7060cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7061cdf0e10cSrcweir 21600, 21600, 7062cdf0e10cSrcweir 0x80000000, 0x80000000, 7063cdf0e10cSrcweir NULL, 0, 7064cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCurveUpHandle, sizeof( mso_sptTextCurveUpHandle ) / sizeof( SvxMSDffHandle ) 7065cdf0e10cSrcweir }; 7066cdf0e10cSrcweir 7067cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveDownVert[] = 7068cdf0e10cSrcweir { 7069cdf0e10cSrcweir // { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 }, 7070cdf0e10cSrcweir { 0, 0 }, { 9960, 2 MSO_I }, { 16700, 1 MSO_I }, { 21600, 0 MSO_I }, 7071cdf0e10cSrcweir 7072cdf0e10cSrcweir // { 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*/ } 7073cdf0e10cSrcweir { 0, 4 MSO_I }, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I } 7074cdf0e10cSrcweir }; 7075cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveDownHandle[] = 7076cdf0e10cSrcweir { 7077cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7078cdf0e10cSrcweir 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 } 7079cdf0e10cSrcweir }; 7080cdf0e10cSrcweir static const mso_CustomShape msoTextCurveDown = 7081cdf0e10cSrcweir { 7082cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCurveDownVert, sizeof( mso_sptTextCurveDownVert ) / sizeof( SvxMSDffVertPair ), 7083cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, 7084cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ), 7085cdf0e10cSrcweir (sal_Int32*)mso_sptTextCurveUpDefault, 7086cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7087cdf0e10cSrcweir 21600, 21600, 7088cdf0e10cSrcweir 0x80000000, 0x80000000, 7089cdf0e10cSrcweir NULL, 0, 7090cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCurveDownHandle, sizeof( mso_sptTextCurveDownHandle ) / sizeof( SvxMSDffHandle ) 7091cdf0e10cSrcweir }; 7092cdf0e10cSrcweir 7093cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanUpVert[] = 7094cdf0e10cSrcweir { 7095cdf0e10cSrcweir { 0, 1 MSO_I }, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I }, 7096cdf0e10cSrcweir { 0, 21600 }, { 900, 4 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 4 MSO_I }, { 21600, 21600 } 7097cdf0e10cSrcweir }; 7098cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanUpCalc[] = 7099cdf0e10cSrcweir { 7100cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7101cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401 7102cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 14400 } }, // 402 7103cdf0e10cSrcweir { 0x4001, { 5470, 0x402, 7200 } }, // 403 7104cdf0e10cSrcweir { 0x4000, { 16130, 0x403, 0 } } // 404 7105cdf0e10cSrcweir }; 7106cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCanUpSegm[] = 7107cdf0e10cSrcweir { 7108cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7109cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 7110cdf0e10cSrcweir }; 7111cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanUpHandle[] = 7112cdf0e10cSrcweir { 7113cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7114cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 } 7115cdf0e10cSrcweir }; 7116cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanUpDefault[] = 7117cdf0e10cSrcweir { 7118cdf0e10cSrcweir 1, 18500 7119cdf0e10cSrcweir }; 7120cdf0e10cSrcweir static const mso_CustomShape msoTextCanUp = 7121cdf0e10cSrcweir { 7122cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCanUpVert, sizeof( mso_sptTextCanUpVert ) / sizeof( SvxMSDffVertPair ), 7123cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, 7124cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCanUpCalc, sizeof( mso_sptTextCanUpCalc ) / sizeof( SvxMSDffCalculationData ), 7125cdf0e10cSrcweir (sal_Int32*)mso_sptTextCanUpDefault, 7126cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7127cdf0e10cSrcweir 21600, 21600, 7128cdf0e10cSrcweir 0x80000000, 0x80000000, 7129cdf0e10cSrcweir NULL, 0, 7130cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCanUpHandle, sizeof( mso_sptTextCanUpHandle ) / sizeof( SvxMSDffHandle ) 7131cdf0e10cSrcweir }; 7132cdf0e10cSrcweir 7133cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanDownVert[] = 7134cdf0e10cSrcweir { 7135cdf0e10cSrcweir { 0, 0 }, { 900, 2 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 2 MSO_I }, { 21600, 0 }, 7136cdf0e10cSrcweir { 0, 1 MSO_I }, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I } 7137cdf0e10cSrcweir }; 7138cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] = 7139cdf0e10cSrcweir { 7140cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7141cdf0e10cSrcweir { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401 7142cdf0e10cSrcweir { 0x4001, { 5470, 0x400, 7200 } } // 402 7143cdf0e10cSrcweir }; 7144cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanDownHandle[] = 7145cdf0e10cSrcweir { 7146cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7147cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 } 7148cdf0e10cSrcweir }; 7149cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanDownDefault[] = 7150cdf0e10cSrcweir { 7151cdf0e10cSrcweir 1, 3100 7152cdf0e10cSrcweir }; 7153cdf0e10cSrcweir static const mso_CustomShape msoTextCanDown = 7154cdf0e10cSrcweir { 7155cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextCanDownVert, sizeof( mso_sptTextCanDownVert ) / sizeof( SvxMSDffVertPair ), 7156cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, 7157cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextCanDownCalc, sizeof( mso_sptTextCanDownCalc ) / sizeof( SvxMSDffCalculationData ), 7158cdf0e10cSrcweir (sal_Int32*)mso_sptTextCanDownDefault, 7159cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7160cdf0e10cSrcweir 21600, 21600, 7161cdf0e10cSrcweir 0x80000000, 0x80000000, 7162cdf0e10cSrcweir NULL, 0, 7163cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextCanDownHandle, sizeof( mso_sptTextCanDownHandle ) / sizeof( SvxMSDffHandle ) 7164cdf0e10cSrcweir }; 7165cdf0e10cSrcweir 7166cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateVert[] = 7167cdf0e10cSrcweir { 7168cdf0e10cSrcweir { 0, 0 MSO_I }, { 4100, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I }, { 21600, 0 MSO_I }, 7169cdf0e10cSrcweir { 0, 2 MSO_I }, { 4100, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I }, { 21600, 2 MSO_I } 7170cdf0e10cSrcweir }; 7171cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateCalc[] = 7172cdf0e10cSrcweir { 7173cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7174cdf0e10cSrcweir { 0x4001, { 1530, 0x400, 4650 } }, // 401 7175cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, // 402 7176cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } } // 403 7177cdf0e10cSrcweir }; 7178cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateHandle[] = 7179cdf0e10cSrcweir { 7180cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7181cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4650 } 7182cdf0e10cSrcweir }; 7183cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateDefault[] = 7184cdf0e10cSrcweir { 7185cdf0e10cSrcweir 1, 2950 7186cdf0e10cSrcweir }; 7187cdf0e10cSrcweir static const mso_CustomShape msoTextInflate = 7188cdf0e10cSrcweir { 7189cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextInflateVert, sizeof( mso_sptTextInflateVert ) / sizeof( SvxMSDffVertPair ), 7190cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, 7191cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextInflateCalc, sizeof( mso_sptTextInflateCalc ) / sizeof( SvxMSDffCalculationData ), 7192cdf0e10cSrcweir (sal_Int32*)mso_sptTextInflateDefault, 7193cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7194cdf0e10cSrcweir 21600, 21600, 7195cdf0e10cSrcweir 0x80000000, 0x80000000, 7196cdf0e10cSrcweir NULL, 0, 7197cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextInflateHandle, sizeof( mso_sptTextInflateHandle ) / sizeof( SvxMSDffHandle ) 7198cdf0e10cSrcweir }; 7199cdf0e10cSrcweir 7200cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateVert[] = 7201cdf0e10cSrcweir { 7202cdf0e10cSrcweir { 0, 0 }, { 3500, 1 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 18100, 1 MSO_I }, { 21600, 0 }, 7203cdf0e10cSrcweir { 0, 21600 }, { 3500, 3 MSO_I }, { 7100, 2 MSO_I }, { 10800, 2 MSO_I }, { 14500, 2 MSO_I }, { 18100, 3 MSO_I }, { 21600, 21600 } 7204cdf0e10cSrcweir }; 7205cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] = 7206cdf0e10cSrcweir { 7207cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7208cdf0e10cSrcweir { 0x2001, { 0x400, 5320, 7100 } }, // 401 7209cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x400 } }, // 402 7210cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x401 } } // 403 7211cdf0e10cSrcweir }; 7212cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateHandle[] = 7213cdf0e10cSrcweir { 7214cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7215cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 8100 } 7216cdf0e10cSrcweir }; 7217cdf0e10cSrcweir static const mso_CustomShape msoTextDeflate = 7218cdf0e10cSrcweir { 7219cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextDeflateVert, sizeof( mso_sptTextDeflateVert ) / sizeof( SvxMSDffVertPair ), 7220cdf0e10cSrcweir (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, 7221cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextDeflateCalc, sizeof( mso_sptTextDeflateCalc ) / sizeof( SvxMSDffCalculationData ), 7222cdf0e10cSrcweir (sal_Int32*)mso_sptDefault8100, 7223cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7224cdf0e10cSrcweir 21600, 21600, 7225cdf0e10cSrcweir 0x80000000, 0x80000000, 7226cdf0e10cSrcweir NULL, 0, 7227cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextDeflateHandle, sizeof( mso_sptTextDeflateHandle ) / sizeof( SvxMSDffHandle ) 7228cdf0e10cSrcweir }; 7229cdf0e10cSrcweir 7230cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateBottomVert[] = 7231cdf0e10cSrcweir { 7232cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, 7233cdf0e10cSrcweir { 0, 0 MSO_I }, { 3500, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I }, { 21600, 0 MSO_I } 7234cdf0e10cSrcweir }; 7235cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc[] = 7236cdf0e10cSrcweir { 7237cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7238cdf0e10cSrcweir { 0x2000, { 0x400, 0, 11150 } }, // 401 0->10450 7239cdf0e10cSrcweir { 0x2001, { 0x401, 3900, 10450 } }, // 402 7240cdf0e10cSrcweir { 0x2000, { 0x402, 17700, 0 } } // 403 7241cdf0e10cSrcweir }; 7242cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateBottomSegm[] = 7243cdf0e10cSrcweir { 7244cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7245cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 7246cdf0e10cSrcweir }; 7247cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] = 7248cdf0e10cSrcweir { 7249cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7250cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 11150, 21600 } 7251cdf0e10cSrcweir }; 7252cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateBottomDefault[] = 7253cdf0e10cSrcweir { 7254cdf0e10cSrcweir 1, 14700 7255cdf0e10cSrcweir }; 7256cdf0e10cSrcweir static const mso_CustomShape msoTextInflateBottom = 7257cdf0e10cSrcweir { 7258cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextInflateBottomVert, sizeof( mso_sptTextInflateBottomVert ) / sizeof( SvxMSDffVertPair ), 7259cdf0e10cSrcweir (sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1, 7260cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, sizeof( mso_sptTextInflateBottomCalc ) / sizeof( SvxMSDffCalculationData ), 7261cdf0e10cSrcweir (sal_Int32*)mso_sptTextInflateBottomDefault, 7262cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7263cdf0e10cSrcweir 21600, 21600, 7264cdf0e10cSrcweir 0x80000000, 0x80000000, 7265cdf0e10cSrcweir NULL, 0, 7266cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextInflateBottomHandle, sizeof( mso_sptTextInflateBottomHandle ) / sizeof( SvxMSDffHandle ) 7267cdf0e10cSrcweir }; 7268cdf0e10cSrcweir 7269cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateBottomVert[] = 7270cdf0e10cSrcweir { 7271cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, 7272cdf0e10cSrcweir { 0, 21600 }, { 2900, 3 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 3 MSO_I }, { 21600, 21600 } 7273cdf0e10cSrcweir }; 7274cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc[] = 7275cdf0e10cSrcweir { 7276cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7277cdf0e10cSrcweir { 0x2000, { 0x400, 0, 1350 } }, // 401 0->20250 7278cdf0e10cSrcweir { 0x2001, { 0x401, 12070, 20250 } }, // 402 7279cdf0e10cSrcweir { 0x2000, { 0x402, 9530, 0 } } // 403 7280cdf0e10cSrcweir }; 7281cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateBottomSegm[] = 7282cdf0e10cSrcweir { 7283cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7284cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 7285cdf0e10cSrcweir }; 7286cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] = 7287cdf0e10cSrcweir { 7288cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7289cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1350, 21600 } 7290cdf0e10cSrcweir }; 7291cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateBottomDefault[] = 7292cdf0e10cSrcweir { 7293cdf0e10cSrcweir 1, 11500 7294cdf0e10cSrcweir }; 7295cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateBottom = 7296cdf0e10cSrcweir { 7297cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, sizeof( mso_sptTextDeflateBottomVert ) / sizeof( SvxMSDffVertPair ), 7298cdf0e10cSrcweir (sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1, 7299cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, sizeof( mso_sptTextDeflateBottomCalc ) / sizeof( SvxMSDffCalculationData ), 7300cdf0e10cSrcweir (sal_Int32*)mso_sptTextDeflateBottomDefault, 7301cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7302cdf0e10cSrcweir 21600, 21600, 7303cdf0e10cSrcweir 0x80000000, 0x80000000, 7304cdf0e10cSrcweir NULL, 0, 7305cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, sizeof( mso_sptTextDeflateBottomHandle ) / sizeof( SvxMSDffHandle ) 7306cdf0e10cSrcweir }; 7307cdf0e10cSrcweir 7308cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateTopVert[] = 7309cdf0e10cSrcweir { 7310cdf0e10cSrcweir { 0, 0 MSO_I }, { 3500, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I }, { 21600, 0 MSO_I }, 7311cdf0e10cSrcweir { 0, 21600 }, { 21600, 21600 } 7312cdf0e10cSrcweir }; 7313cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateTopCalc[] = 7314cdf0e10cSrcweir { 7315cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7316cdf0e10cSrcweir { 0x2001, { 0x400, 3900, 10450 } } // 401 7317cdf0e10cSrcweir }; 7318cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateTopSegm[] = 7319cdf0e10cSrcweir { 7320cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7321cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7322cdf0e10cSrcweir }; 7323cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateTopHandle[] = 7324cdf0e10cSrcweir { 7325cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7326cdf0e10cSrcweir 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10450 } 7327cdf0e10cSrcweir }; 7328cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateTopDefault[] = 7329cdf0e10cSrcweir { 7330cdf0e10cSrcweir 1, 6900 7331cdf0e10cSrcweir }; 7332cdf0e10cSrcweir static const mso_CustomShape msoTextInflateTop = 7333cdf0e10cSrcweir { 7334cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextInflateTopVert, sizeof( mso_sptTextInflateTopVert ) / sizeof( SvxMSDffVertPair ), 7335cdf0e10cSrcweir (sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1, 7336cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, sizeof( mso_sptTextInflateTopCalc ) / sizeof( SvxMSDffCalculationData ), 7337cdf0e10cSrcweir (sal_Int32*)mso_sptTextInflateTopDefault, 7338cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7339cdf0e10cSrcweir 21600, 21600, 7340cdf0e10cSrcweir 0x80000000, 0x80000000, 7341cdf0e10cSrcweir NULL, 0, 7342cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextInflateTopHandle, sizeof( mso_sptTextInflateTopHandle ) / sizeof( SvxMSDffHandle ) 7343cdf0e10cSrcweir }; 7344cdf0e10cSrcweir 7345cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateTopVert[] = 7346cdf0e10cSrcweir { 7347cdf0e10cSrcweir { 0, 0 }, { 2900, 1 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 1 MSO_I }, { 21600, 0 }, 7348cdf0e10cSrcweir { 0, 21600 }, { 21600, 21600 } 7349cdf0e10cSrcweir }; 7350cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc[] = 7351cdf0e10cSrcweir { 7352cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7353cdf0e10cSrcweir { 0x2001, { 0x400, 12070, 20250 } } // 402 7354cdf0e10cSrcweir }; 7355cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateTopSegm[] = 7356cdf0e10cSrcweir { 7357cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7358cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7359cdf0e10cSrcweir }; 7360cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] = 7361cdf0e10cSrcweir { 7362cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7363cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 20250 } 7364cdf0e10cSrcweir }; 7365cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateTopDefault[] = 7366cdf0e10cSrcweir { 7367cdf0e10cSrcweir 1, 10100 7368cdf0e10cSrcweir }; 7369cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateTop = 7370cdf0e10cSrcweir { 7371cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextDeflateTopVert, sizeof( mso_sptTextDeflateTopVert ) / sizeof( SvxMSDffVertPair ), 7372cdf0e10cSrcweir (sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1, 7373cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, sizeof( mso_sptTextDeflateTopCalc ) / sizeof( SvxMSDffCalculationData ), 7374cdf0e10cSrcweir (sal_Int32*)mso_sptTextDeflateTopDefault, 7375cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7376cdf0e10cSrcweir 21600, 21600, 7377cdf0e10cSrcweir 0x80000000, 0x80000000, 7378cdf0e10cSrcweir NULL, 0, 7379cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextDeflateTopHandle, sizeof( mso_sptTextDeflateTopHandle ) / sizeof( SvxMSDffHandle ) 7380cdf0e10cSrcweir }; 7381cdf0e10cSrcweir 7382cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateVert[] = 7383cdf0e10cSrcweir { 7384cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, 7385cdf0e10cSrcweir { 0, 10100 }, { 3300, 3 MSO_I }, { 7100, 5 MSO_I }, { 10800, 5 MSO_I }, { 14500, 5 MSO_I }, { 18300, 3 MSO_I }, { 21600, 10100 }, 7386cdf0e10cSrcweir { 0, 11500 }, { 3300, 4 MSO_I }, { 7100, 6 MSO_I }, { 10800, 6 MSO_I }, { 14500, 6 MSO_I }, { 18300, 4 MSO_I }, { 21600, 11500 }, 7387cdf0e10cSrcweir { 0, 21600 }, { 21600, 21600 } 7388cdf0e10cSrcweir }; 7389cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc[] = 7390cdf0e10cSrcweir { 7391cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 7392cdf0e10cSrcweir { 0x8000, { 10800, 0, 0x400 } }, // 401 7393cdf0e10cSrcweir { 0x2001, { 0x401, 5770, 9500 } }, // 402 7394cdf0e10cSrcweir { 0x8000, { 10100, 0, 0x402 } }, // 403 7395cdf0e10cSrcweir { 0x8000, { 11500, 0, 0x402 } }, // 404 7396cdf0e10cSrcweir { 0x2000, { 0x400, 0, 700 } }, // 405 7397cdf0e10cSrcweir { 0x2000, { 0x400, 700, 0 } } // 406 7398cdf0e10cSrcweir }; 7399cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateSegm[] = 7400cdf0e10cSrcweir { 7401cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7402cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7403cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7404cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7405cdf0e10cSrcweir }; 7406cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] = 7407cdf0e10cSrcweir { 7408cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7409cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1300, 20300 } 7410cdf0e10cSrcweir }; 7411cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDefault[] = 7412cdf0e10cSrcweir { 7413cdf0e10cSrcweir 1, 6500 7414cdf0e10cSrcweir }; 7415cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflate = 7416cdf0e10cSrcweir { 7417cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, sizeof( mso_sptTextDeflateInflateVert ) / sizeof( SvxMSDffVertPair ), 7418cdf0e10cSrcweir (sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1, 7419cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, sizeof( mso_sptTextDeflateInflateCalc ) / sizeof( SvxMSDffCalculationData ), 7420cdf0e10cSrcweir (sal_Int32*)mso_sptTextDeflateInflateDefault, 7421cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7422cdf0e10cSrcweir 21600, 21600, 7423cdf0e10cSrcweir 0x80000000, 0x80000000, 7424cdf0e10cSrcweir NULL, 0, 7425cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, sizeof( mso_sptTextDeflateInflateHandle ) / sizeof( SvxMSDffHandle ) 7426cdf0e10cSrcweir }; 7427cdf0e10cSrcweir 7428cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert[] = 7429cdf0e10cSrcweir { 7430cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, 7431cdf0e10cSrcweir { 0, 6600 }, { 3600, 3 MSO_I }, { 7250, 4 MSO_I }, { 10800, 4 MSO_I }, { 14350, 4 MSO_I }, { 18000, 3 MSO_I }, { 21600, 6600 }, 7432cdf0e10cSrcweir { 0, 7500 }, { 3600, 5 MSO_I }, { 7250, 6 MSO_I }, { 10800, 6 MSO_I }, { 14350, 6 MSO_I }, { 18000, 5 MSO_I }, { 21600, 7500 }, 7433cdf0e10cSrcweir { 0, 14100 }, { 3600, 9 MSO_I }, { 7250, 10 MSO_I }, { 10800, 10 MSO_I }, { 14350, 10 MSO_I }, { 18000, 9 MSO_I }, { 21600, 14100 }, 7434cdf0e10cSrcweir { 0, 15000 }, { 3600, 7 MSO_I }, { 7250, 8 MSO_I }, { 10800, 8 MSO_I }, { 14350, 8 MSO_I }, { 18000, 7 MSO_I }, { 21600, 15000 }, 7435cdf0e10cSrcweir { 0, 21600 }, { 21600, 21600 } 7436cdf0e10cSrcweir }; 7437cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc[] = 7438cdf0e10cSrcweir { 7439cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 850 } }, // 400 7440cdf0e10cSrcweir { 0x2001, { 0x400, 6120, 8700 } }, 7441cdf0e10cSrcweir { 0x2000, { 0x401, 0, 4280 } }, 7442cdf0e10cSrcweir { 0x4000, { 6600, 0x402, 0 } }, 7443cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 450 } }, // 404 7444cdf0e10cSrcweir { 0x2000, { 0x403, 900, 0 } }, // 405 7445cdf0e10cSrcweir { 0x2000, { 0x404, 900, 0 } }, // 406 7446cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x403 } }, // 407 7447cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x404 } }, // 408 7448cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x405 } }, // 409 7449cdf0e10cSrcweir { 0x8000, { 21600, 0, 0x406 } } // 410 7450cdf0e10cSrcweir }; 7451cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] = 7452cdf0e10cSrcweir { 7453cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7454cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7455cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7456cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7457cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7458cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7459cdf0e10cSrcweir }; 7460cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] = 7461cdf0e10cSrcweir { 7462cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7463cdf0e10cSrcweir 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 850, 9550 } 7464cdf0e10cSrcweir }; 7465cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] = 7466cdf0e10cSrcweir { 7467cdf0e10cSrcweir 1, 6050 7468cdf0e10cSrcweir }; 7469cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflateDeflate = 7470cdf0e10cSrcweir { 7471cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, sizeof( mso_sptTextDeflateInflateDeflateVert ) / sizeof( SvxMSDffVertPair ), 7472cdf0e10cSrcweir (sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1, 7473cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, sizeof( mso_sptTextDeflateInflateDeflateCalc ) / sizeof( SvxMSDffCalculationData ), 7474cdf0e10cSrcweir (sal_Int32*)mso_sptTextDeflateInflateDeflateDefault, 7475cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7476cdf0e10cSrcweir 21600, 21600, 7477cdf0e10cSrcweir 0x80000000, 0x80000000, 7478cdf0e10cSrcweir NULL, 0, 7479cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, sizeof( mso_sptTextDeflateInflateDeflateHandle ) / sizeof( SvxMSDffHandle ) 7480cdf0e10cSrcweir }; 7481cdf0e10cSrcweir 7482cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave1Vert[] = // adjustment1 : 0 - 4459 7483cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 7484cdf0e10cSrcweir { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I }, 7485cdf0e10cSrcweir { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I } 7486cdf0e10cSrcweir }; 7487cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave1Segm[] = 7488cdf0e10cSrcweir { 7489cdf0e10cSrcweir 0x4000, 0x2001, 0x8000, 7490cdf0e10cSrcweir 0x4000, 0x2001, 0x8000 7491cdf0e10cSrcweir }; 7492cdf0e10cSrcweir static const mso_CustomShape msoTextWave1 = 7493cdf0e10cSrcweir { 7494cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextWave1Vert, sizeof( mso_sptTextWave1Vert ) / sizeof( SvxMSDffVertPair ), 7495cdf0e10cSrcweir (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, 7496cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), 7497cdf0e10cSrcweir (sal_Int32*)mso_sptWaveDefault, 7498cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7499cdf0e10cSrcweir 21600, 21600, 7500cdf0e10cSrcweir 0x80000000, 0x80000000, 7501cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 7502cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) 7503cdf0e10cSrcweir }; 7504cdf0e10cSrcweir 7505cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave2Vert[] = // adjustment1 : 0 - 4459 7506cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 7507cdf0e10cSrcweir { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I }, 7508cdf0e10cSrcweir { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I } 7509cdf0e10cSrcweir }; 7510cdf0e10cSrcweir static const mso_CustomShape msoTextWave2 = 7511cdf0e10cSrcweir { 7512cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextWave2Vert, sizeof( mso_sptTextWave2Vert ) / sizeof( SvxMSDffVertPair ), 7513cdf0e10cSrcweir (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, 7514cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), 7515cdf0e10cSrcweir (sal_Int32*)mso_sptWaveDefault, 7516cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 7517cdf0e10cSrcweir 21600, 21600, 7518cdf0e10cSrcweir 0x80000000, 0x80000000, 7519cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 7520cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) 7521cdf0e10cSrcweir }; 7522cdf0e10cSrcweir 7523cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave3Vert[] = // adjustment1 : 0 - 2230 7524cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 7525cdf0e10cSrcweir { 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 }, 7526cdf0e10cSrcweir { 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 } 7527cdf0e10cSrcweir }; 7528cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave3Segm[] = 7529cdf0e10cSrcweir { 7530cdf0e10cSrcweir 0x4000, 0x2002, 0x8000, 7531cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 7532cdf0e10cSrcweir }; 7533cdf0e10cSrcweir static const mso_CustomShape msoTextWave3 = 7534cdf0e10cSrcweir { 7535cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextWave3Vert, sizeof( mso_sptTextWave3Vert ) / sizeof( SvxMSDffVertPair ), 7536cdf0e10cSrcweir (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, 7537cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), 7538cdf0e10cSrcweir (sal_Int32*)mso_sptDoubleWaveDefault, 7539cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 7540cdf0e10cSrcweir 21600, 21600, 7541cdf0e10cSrcweir 0x80000000, 0x80000000, 7542cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 7543cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) 7544cdf0e10cSrcweir }; 7545cdf0e10cSrcweir 7546cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave4Vert[] = // adjustment1 : 0 - 2230 7547cdf0e10cSrcweir { // adjustment2 : 8640 - 12960 7548cdf0e10cSrcweir { 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 }, 7549cdf0e10cSrcweir { 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 } 7550cdf0e10cSrcweir }; 7551cdf0e10cSrcweir static const mso_CustomShape msoTextWave4 = 7552cdf0e10cSrcweir { 7553cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptTextWave4Vert, sizeof( mso_sptTextWave4Vert ) / sizeof( SvxMSDffVertPair ), 7554cdf0e10cSrcweir (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, 7555cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), 7556cdf0e10cSrcweir (sal_Int32*)mso_sptDoubleWaveDefault, 7557cdf0e10cSrcweir (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 7558cdf0e10cSrcweir 21600, 21600, 7559cdf0e10cSrcweir 0x80000000, 0x80000000, 7560cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), 7561cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) 7562cdf0e10cSrcweir }; 7563cdf0e10cSrcweir 7564cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault1[] = 7565cdf0e10cSrcweir { 7566cdf0e10cSrcweir 4, -1800, 24500, -1800, 4000 7567cdf0e10cSrcweir }; 7568cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault2[] = 7569cdf0e10cSrcweir { 7570cdf0e10cSrcweir 4, -8300, 24500, -1800, 4000 7571cdf0e10cSrcweir }; 7572cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault3[] = 7573cdf0e10cSrcweir { 7574cdf0e10cSrcweir 6, -10000, 24500, -3600, 4000, -1800, 4000 7575cdf0e10cSrcweir }; 7576cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault4[] = 7577cdf0e10cSrcweir { 7578cdf0e10cSrcweir 8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000 7579cdf0e10cSrcweir }; 7580cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCalloutVert1[] = 7581cdf0e10cSrcweir { 7582cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } 7583cdf0e10cSrcweir }; 7584cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle1[] = 7585cdf0e10cSrcweir { 7586cdf0e10cSrcweir { 0, 7587cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7588cdf0e10cSrcweir { 0, 7589cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } 7590cdf0e10cSrcweir }; 7591cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1a[] = 7592cdf0e10cSrcweir { 7593cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7594cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7595cdf0e10cSrcweir }; 7596cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1b[] = 7597cdf0e10cSrcweir { 7598cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7599cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7600cdf0e10cSrcweir }; 7601cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout1Vert[] = 7602cdf0e10cSrcweir { 7603cdf0e10cSrcweir { 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 } 7604cdf0e10cSrcweir }; 7605cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1a[] = 7606cdf0e10cSrcweir { 7607cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7608cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7609cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7610cdf0e10cSrcweir }; 7611cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1b[] = 7612cdf0e10cSrcweir { 7613cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7614cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7615cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7616cdf0e10cSrcweir }; 7617cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Verta[] = 7618cdf0e10cSrcweir { 7619cdf0e10cSrcweir { 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 } 7620cdf0e10cSrcweir }; 7621cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Vertb[] = 7622cdf0e10cSrcweir { 7623cdf0e10cSrcweir { 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 } 7624cdf0e10cSrcweir }; 7625cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle2[] = 7626cdf0e10cSrcweir { 7627cdf0e10cSrcweir { 0, 7628cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7629cdf0e10cSrcweir { 0, 7630cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7631cdf0e10cSrcweir { 0, 7632cdf0e10cSrcweir 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } 7633cdf0e10cSrcweir }; 7634cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1a[] = 7635cdf0e10cSrcweir { 7636cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7637cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7638cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7639cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7640cdf0e10cSrcweir }; 7641cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1b[] = 7642cdf0e10cSrcweir { 7643cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7644cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7645cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7646cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7647cdf0e10cSrcweir }; 7648cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1c[] = 7649cdf0e10cSrcweir { 7650cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7651cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7652cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7653cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7654cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7655cdf0e10cSrcweir }; 7656cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1d[] = 7657cdf0e10cSrcweir { 7658cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7659cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7660cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7661cdf0e10cSrcweir 0x4000, 0x0001, 0x8000, 7662cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7663cdf0e10cSrcweir }; 7664cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Verta[] = 7665cdf0e10cSrcweir { 7666cdf0e10cSrcweir { 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 } 7667cdf0e10cSrcweir }; 7668cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Vertb[] = 7669cdf0e10cSrcweir { 7670cdf0e10cSrcweir { 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 } 7671cdf0e10cSrcweir }; 7672cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle3[] = 7673cdf0e10cSrcweir { 7674cdf0e10cSrcweir { 0, 7675cdf0e10cSrcweir 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7676cdf0e10cSrcweir { 0, 7677cdf0e10cSrcweir 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7678cdf0e10cSrcweir { 0, 7679cdf0e10cSrcweir 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, 7680cdf0e10cSrcweir { 0, 7681cdf0e10cSrcweir 0x106, 0x107, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } 7682cdf0e10cSrcweir }; 7683cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1a[] = 7684cdf0e10cSrcweir { 7685cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7686cdf0e10cSrcweir 0x4000, 0xaa00, 0x0003, 0x8000 // NO_FILL 7687cdf0e10cSrcweir }; 7688cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1b[] = 7689cdf0e10cSrcweir { 7690cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7691cdf0e10cSrcweir 0x4000, 0xaa00, 0x0003, 0x8000 // NO FILL 7692cdf0e10cSrcweir }; 7693cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1c[] = 7694cdf0e10cSrcweir { 7695cdf0e10cSrcweir 0x4000, 0x0003, 0x6000, 0x8000, 7696cdf0e10cSrcweir 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL 7697cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7698cdf0e10cSrcweir }; 7699cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1d[] = 7700cdf0e10cSrcweir { 7701cdf0e10cSrcweir 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 7702cdf0e10cSrcweir 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL 7703cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7704cdf0e10cSrcweir }; 7705cdf0e10cSrcweir 7706cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCalloutCalc[] = 7707cdf0e10cSrcweir { 7708cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 7709cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 7710cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 7711cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, 7712cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust5Value, 0, 0 } }, 7713cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust6Value, 0, 0 } }, 7714cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust7Value, 0, 0 } }, 7715cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust8Value, 0, 0 } } 7716cdf0e10cSrcweir }; 7717cdf0e10cSrcweir 7718cdf0e10cSrcweir static const mso_CustomShape msoCallout90 = 7719cdf0e10cSrcweir { 7720cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7721cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, 7722cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7723cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault1, 7724cdf0e10cSrcweir NULL, 0, 7725cdf0e10cSrcweir 21600, 21600, 7726cdf0e10cSrcweir 0x80000000, 0x80000000, 7727cdf0e10cSrcweir NULL, 0, 7728cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7729cdf0e10cSrcweir }; 7730cdf0e10cSrcweir static const mso_CustomShape msoCallout1 = 7731cdf0e10cSrcweir { 7732cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7733cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, 7734cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7735cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault2, 7736cdf0e10cSrcweir NULL, 0, 7737cdf0e10cSrcweir 21600, 21600, 7738cdf0e10cSrcweir 0x80000000, 0x80000000, 7739cdf0e10cSrcweir NULL, 0, 7740cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7741cdf0e10cSrcweir }; 7742cdf0e10cSrcweir static const mso_CustomShape msoCallout2 = 7743cdf0e10cSrcweir { 7744cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ), 7745cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1, 7746cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7747cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault3, 7748cdf0e10cSrcweir NULL, 0, 7749cdf0e10cSrcweir 21600, 21600, 7750cdf0e10cSrcweir 0x80000000, 0x80000000, 7751cdf0e10cSrcweir NULL, 0, 7752cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) 7753cdf0e10cSrcweir }; 7754cdf0e10cSrcweir static const mso_CustomShape msoCallout3 = 7755cdf0e10cSrcweir { 7756cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ), 7757cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1, 7758cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7759cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault4, 7760cdf0e10cSrcweir NULL, 0, 7761cdf0e10cSrcweir 21600, 21600, 7762cdf0e10cSrcweir 0x80000000, 0x80000000, 7763cdf0e10cSrcweir NULL, 0, 7764cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) 7765cdf0e10cSrcweir }; 7766cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout90 = 7767cdf0e10cSrcweir { 7768cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7769cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, 7770cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7771cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault1, 7772cdf0e10cSrcweir NULL, 0, 7773cdf0e10cSrcweir 21600, 21600, 7774cdf0e10cSrcweir 0x80000000, 0x80000000, 7775cdf0e10cSrcweir NULL, 0, 7776cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7777cdf0e10cSrcweir }; 7778cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout1 = 7779cdf0e10cSrcweir { 7780cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ), 7781cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1, 7782cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7783cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault2, 7784cdf0e10cSrcweir NULL, 0, 7785cdf0e10cSrcweir 21600, 21600, 7786cdf0e10cSrcweir 0x80000000, 0x80000000, 7787cdf0e10cSrcweir NULL, 0, 7788cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7789cdf0e10cSrcweir }; 7790cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout2 = 7791cdf0e10cSrcweir { 7792cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ), 7793cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1, 7794cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7795cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault3, 7796cdf0e10cSrcweir NULL, 0, 7797cdf0e10cSrcweir 21600, 21600, 7798cdf0e10cSrcweir 0x80000000, 0x80000000, 7799cdf0e10cSrcweir NULL, 0, 7800cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) 7801cdf0e10cSrcweir }; 7802cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout3 = 7803cdf0e10cSrcweir { 7804cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ), 7805cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1, 7806cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7807cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault4, 7808cdf0e10cSrcweir NULL, 0, 7809cdf0e10cSrcweir 21600, 21600, 7810cdf0e10cSrcweir 0x80000000, 0x80000000, 7811cdf0e10cSrcweir NULL, 0, 7812cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) 7813cdf0e10cSrcweir }; 7814cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout90 = 7815cdf0e10cSrcweir { 7816cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7817cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, 7818cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7819cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault1, 7820cdf0e10cSrcweir NULL, 0, 7821cdf0e10cSrcweir 21600, 21600, 7822cdf0e10cSrcweir 0x80000000, 0x80000000, 7823cdf0e10cSrcweir NULL, 0, 7824cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7825cdf0e10cSrcweir }; 7826cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout1 = 7827cdf0e10cSrcweir { 7828cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7829cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, 7830cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7831cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault2, 7832cdf0e10cSrcweir NULL, 0, 7833cdf0e10cSrcweir 21600, 21600, 7834cdf0e10cSrcweir 0x80000000, 0x80000000, 7835cdf0e10cSrcweir NULL, 0, 7836cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7837cdf0e10cSrcweir }; 7838cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout2 = 7839cdf0e10cSrcweir { 7840cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ), 7841cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1, 7842cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7843cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault3, 7844cdf0e10cSrcweir NULL, 0, 7845cdf0e10cSrcweir 21600, 21600, 7846cdf0e10cSrcweir 0x80000000, 0x80000000, 7847cdf0e10cSrcweir NULL, 0, 7848cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) 7849cdf0e10cSrcweir }; 7850cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout3 = 7851cdf0e10cSrcweir { 7852cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ), 7853cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1, 7854cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7855cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault4, 7856cdf0e10cSrcweir NULL, 0, 7857cdf0e10cSrcweir 21600, 21600, 7858cdf0e10cSrcweir 0x80000000, 0x80000000, 7859cdf0e10cSrcweir NULL, 0, 7860cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) 7861cdf0e10cSrcweir }; 7862cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout90 = 7863cdf0e10cSrcweir { 7864cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), 7865cdf0e10cSrcweir (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, 7866cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7867cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault1, 7868cdf0e10cSrcweir NULL, 0, 7869cdf0e10cSrcweir 21600, 21600, 7870cdf0e10cSrcweir 0x80000000, 0x80000000, 7871cdf0e10cSrcweir NULL, 0, 7872cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7873cdf0e10cSrcweir }; 7874cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout1 = 7875cdf0e10cSrcweir { 7876cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ), 7877cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1, 7878cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7879cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault2, 7880cdf0e10cSrcweir NULL, 0, 7881cdf0e10cSrcweir 21600, 21600, 7882cdf0e10cSrcweir 0x80000000, 0x80000000, 7883cdf0e10cSrcweir NULL, 0, 7884cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) 7885cdf0e10cSrcweir }; 7886cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout2 = 7887cdf0e10cSrcweir { 7888cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ), 7889cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1, 7890cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7891cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault3, 7892cdf0e10cSrcweir NULL, 0, 7893cdf0e10cSrcweir 21600, 21600, 7894cdf0e10cSrcweir 0x80000000, 0x80000000, 7895cdf0e10cSrcweir NULL, 0, 7896cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) 7897cdf0e10cSrcweir }; 7898cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout3 = 7899cdf0e10cSrcweir { 7900cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ), 7901cdf0e10cSrcweir (sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1, 7902cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), 7903cdf0e10cSrcweir (sal_Int32*)mso_sptCalloutDefault4, 7904cdf0e10cSrcweir NULL, 0, 7905cdf0e10cSrcweir 21600, 21600, 7906cdf0e10cSrcweir 0x80000000, 0x80000000, 7907cdf0e10cSrcweir NULL, 0, 7908cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) 7909cdf0e10cSrcweir }; 7910cdf0e10cSrcweir 7911cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStraightConnector1Vert[] = 7912cdf0e10cSrcweir { 7913cdf0e10cSrcweir { 0, 0 }, { 21600, 21600 } 7914cdf0e10cSrcweir }; 7915cdf0e10cSrcweir static const sal_uInt16 mso_sptStraightConnector1Segm[] = 7916cdf0e10cSrcweir { 7917cdf0e10cSrcweir 0x4000, 0x0001, 0x8000 7918cdf0e10cSrcweir }; 7919cdf0e10cSrcweir static const mso_CustomShape msoStraightConnector1 = 7920cdf0e10cSrcweir { 7921cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptStraightConnector1Vert, sizeof( mso_sptStraightConnector1Vert ) / sizeof( SvxMSDffVertPair ), 7922cdf0e10cSrcweir (sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1, 7923cdf0e10cSrcweir (SvxMSDffCalculationData*)NULL, 0, 7924cdf0e10cSrcweir (sal_Int32*)NULL, 7925cdf0e10cSrcweir NULL, 0, 7926cdf0e10cSrcweir 21600, 21600, 7927cdf0e10cSrcweir 0x80000000, 0x80000000, 7928cdf0e10cSrcweir NULL, 0, 7929cdf0e10cSrcweir (SvxMSDffHandle*)NULL, 0 7930cdf0e10cSrcweir }; 7931cdf0e10cSrcweir 7932cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector2Vert[] = 7933cdf0e10cSrcweir { 7934cdf0e10cSrcweir { 0, 0 }, { 21600, 0 }, { 21600, 21600 } 7935cdf0e10cSrcweir }; 7936cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector2Segm[] = 7937cdf0e10cSrcweir { 7938cdf0e10cSrcweir 0x4000, 0x0002, 0x8000 7939cdf0e10cSrcweir }; 7940cdf0e10cSrcweir static const mso_CustomShape msoBentConnector2 = 7941cdf0e10cSrcweir { 7942cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentConnector2Vert, sizeof( mso_sptBentConnector2Vert ) / sizeof( SvxMSDffVertPair ), 7943cdf0e10cSrcweir (sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1, 7944cdf0e10cSrcweir (SvxMSDffCalculationData*)NULL, 0, 7945cdf0e10cSrcweir (sal_Int32*)NULL, 7946cdf0e10cSrcweir NULL, 0, 7947cdf0e10cSrcweir 21600, 21600, 7948cdf0e10cSrcweir 0x80000000, 0x80000000, 7949cdf0e10cSrcweir NULL, 0, 7950cdf0e10cSrcweir (SvxMSDffHandle*)NULL, 0 7951cdf0e10cSrcweir }; 7952cdf0e10cSrcweir 7953cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector3Vert[] = 7954cdf0e10cSrcweir { 7955cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 21600 }, { 21600, 21600 } 7956cdf0e10cSrcweir }; 7957cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector3Segm[] = 7958cdf0e10cSrcweir { 7959cdf0e10cSrcweir 0x4000, 0x0003, 0x8000 7960cdf0e10cSrcweir }; 7961cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector3Calc[] = 7962cdf0e10cSrcweir { 7963cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } 7964cdf0e10cSrcweir }; 7965cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector3Default[] = 7966cdf0e10cSrcweir { 7967cdf0e10cSrcweir 1, 10800 7968cdf0e10cSrcweir }; 7969cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector3Handle[] = 7970cdf0e10cSrcweir { 7971cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 7972cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } 7973cdf0e10cSrcweir }; 7974cdf0e10cSrcweir static const mso_CustomShape msoBentConnector3 = 7975cdf0e10cSrcweir { 7976cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentConnector3Vert, sizeof( mso_sptBentConnector3Vert ) / sizeof( SvxMSDffVertPair ), 7977cdf0e10cSrcweir (sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1, 7978cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBentConnector3Calc, sizeof( mso_sptBentConnector3Calc ) / sizeof( SvxMSDffCalculationData ), 7979cdf0e10cSrcweir (sal_Int32*)mso_sptBentConnector3Default, 7980cdf0e10cSrcweir NULL, 0, 7981cdf0e10cSrcweir 21600, 21600, 7982cdf0e10cSrcweir 0x80000000, 0x80000000, 7983cdf0e10cSrcweir NULL, 0, 7984cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBentConnector3Handle, sizeof( mso_sptBentConnector3Handle ) / sizeof( SvxMSDffHandle ) 7985cdf0e10cSrcweir }; 7986cdf0e10cSrcweir 7987cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector4Vert[] = 7988cdf0e10cSrcweir { 7989cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 21600 } 7990cdf0e10cSrcweir }; 7991cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector4Segm[] = 7992cdf0e10cSrcweir { 7993cdf0e10cSrcweir 0x4000, 0x0004, 0x8000 7994cdf0e10cSrcweir }; 7995cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector4Calc[] = 7996cdf0e10cSrcweir { 7997cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 7998cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 7999cdf0e10cSrcweir { 0x2000, { 0x400, 21600, 0 } }, 8000cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } }, 8001cdf0e10cSrcweir { 0x2001, { 0x401, 1, 2 } } 8002cdf0e10cSrcweir }; 8003cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector4Default[] = 8004cdf0e10cSrcweir { 8005cdf0e10cSrcweir 2, 10800, 10800 8006cdf0e10cSrcweir }; 8007cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector4Handle[] = 8008cdf0e10cSrcweir { 8009cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8010cdf0e10cSrcweir 0x100, 4 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 4 + 3, 4 + 3 }, 8011cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 8012cdf0e10cSrcweir 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff } 8013cdf0e10cSrcweir }; 8014cdf0e10cSrcweir static const mso_CustomShape msoBentConnector4 = 8015cdf0e10cSrcweir { 8016cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentConnector4Vert, sizeof( mso_sptBentConnector4Vert ) / sizeof( SvxMSDffVertPair ), 8017cdf0e10cSrcweir (sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1, 8018cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBentConnector4Calc, sizeof( mso_sptBentConnector4Calc ) / sizeof( SvxMSDffCalculationData ), 8019cdf0e10cSrcweir (sal_Int32*)mso_sptBentConnector4Default, 8020cdf0e10cSrcweir NULL, 0, 8021cdf0e10cSrcweir 21600, 21600, 8022cdf0e10cSrcweir 0x80000000, 0x80000000, 8023cdf0e10cSrcweir NULL, 0, 8024cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBentConnector4Handle, sizeof( mso_sptBentConnector4Handle ) / sizeof( SvxMSDffHandle ) 8025cdf0e10cSrcweir }; 8026cdf0e10cSrcweir 8027cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector5Vert[] = 8028cdf0e10cSrcweir { 8029cdf0e10cSrcweir { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 1 MSO_I, 21600 }, { 21600, 21600 } 8030cdf0e10cSrcweir }; 8031cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector5Segm[] = 8032cdf0e10cSrcweir { 8033cdf0e10cSrcweir 0x4000, 0x0005, 0x8000 8034cdf0e10cSrcweir }; 8035cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector5Calc[] = 8036cdf0e10cSrcweir { 8037cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 8038cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 8039cdf0e10cSrcweir { 0x6000, { 0x400, 0x401, 0 } }, 8040cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } }, 8041cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 8042cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, 8043cdf0e10cSrcweir { 0x4000, { 21600, 0x404, 0 } }, 8044cdf0e10cSrcweir { 0x2001, { 0x406, 1, 2 } } 8045cdf0e10cSrcweir }; 8046cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector5Default[] = 8047cdf0e10cSrcweir { 8048cdf0e10cSrcweir 3, 10800, 10800, 10800 8049cdf0e10cSrcweir }; 8050cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector5Handle[] = 8051cdf0e10cSrcweir { 8052cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8053cdf0e10cSrcweir 0x100, 5 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 5 + 3, 5 + 3 }, 8054cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 8055cdf0e10cSrcweir 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }, 8056cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8057cdf0e10cSrcweir 0x102, 7 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 7 + 3, 7 + 3 } 8058cdf0e10cSrcweir }; 8059cdf0e10cSrcweir static const mso_CustomShape msoBentConnector5 = 8060cdf0e10cSrcweir { 8061cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptBentConnector5Vert, sizeof( mso_sptBentConnector5Vert ) / sizeof( SvxMSDffVertPair ), 8062cdf0e10cSrcweir (sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1, 8063cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptBentConnector5Calc, sizeof( mso_sptBentConnector5Calc ) / sizeof( SvxMSDffCalculationData ), 8064cdf0e10cSrcweir (sal_Int32*)mso_sptBentConnector5Default, 8065cdf0e10cSrcweir NULL, 0, 8066cdf0e10cSrcweir 21600, 21600, 8067cdf0e10cSrcweir 0x80000000, 0x80000000, 8068cdf0e10cSrcweir NULL, 0, 8069cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptBentConnector5Handle, sizeof( mso_sptBentConnector5Handle ) / sizeof( SvxMSDffHandle ) 8070cdf0e10cSrcweir }; 8071cdf0e10cSrcweir 8072cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector2Vert[] = 8073cdf0e10cSrcweir { 8074cdf0e10cSrcweir { 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 } 8075cdf0e10cSrcweir }; 8076cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector2Segm[] = 8077cdf0e10cSrcweir { 8078cdf0e10cSrcweir 0x4000, 0x2001, 0x8000 8079cdf0e10cSrcweir }; 8080cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector2 = 8081cdf0e10cSrcweir { 8082cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedConnector2Vert, sizeof( mso_sptCurvedConnector2Vert ) / sizeof( SvxMSDffVertPair ), 8083cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1, 8084cdf0e10cSrcweir (SvxMSDffCalculationData*)NULL, 0, 8085cdf0e10cSrcweir (sal_Int32*)NULL, 8086cdf0e10cSrcweir NULL, 0, 8087cdf0e10cSrcweir 21600, 21600, 8088cdf0e10cSrcweir 0x80000000, 0x80000000, 8089cdf0e10cSrcweir NULL, 0, 8090cdf0e10cSrcweir (SvxMSDffHandle*)NULL, 0 8091cdf0e10cSrcweir }; 8092cdf0e10cSrcweir 8093cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector3Vert[] = 8094cdf0e10cSrcweir { 8095cdf0e10cSrcweir { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 5400 }, { 0 MSO_I, 10800 }, { 0 MSO_I, 16200 }, { 3 MSO_I, 21600 }, { 21600, 21600 } 8096cdf0e10cSrcweir }; 8097cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector3Segm[] = 8098cdf0e10cSrcweir { 8099cdf0e10cSrcweir 0x4000, 0x2002, 0x8000 8100cdf0e10cSrcweir }; 8101cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc[] = 8102cdf0e10cSrcweir { 8103cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 8104cdf0e10cSrcweir { 0x2001, { 0x400, 1, 2 } }, 8105cdf0e10cSrcweir { 0x2000, { 0x400, 21600, 0 } }, 8106cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } } 8107cdf0e10cSrcweir }; 8108cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector3Default[] = 8109cdf0e10cSrcweir { 8110cdf0e10cSrcweir 1, 10800 8111cdf0e10cSrcweir }; 8112cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] = 8113cdf0e10cSrcweir { 8114cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE, 8115cdf0e10cSrcweir 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } 8116cdf0e10cSrcweir }; 8117cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector3 = 8118cdf0e10cSrcweir { 8119cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, sizeof( mso_sptCurvedConnector3Vert ) / sizeof( SvxMSDffVertPair ), 8120cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1, 8121cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, sizeof( mso_sptCurvedConnector3Calc ) / sizeof( SvxMSDffCalculationData ), 8122cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedConnector3Default, 8123cdf0e10cSrcweir NULL, 0, 8124cdf0e10cSrcweir 21600, 21600, 8125cdf0e10cSrcweir 0x80000000, 0x80000000, 8126cdf0e10cSrcweir NULL, 0, 8127cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedConnector3Handle, sizeof( mso_sptCurvedConnector3Handle ) / sizeof( SvxMSDffHandle ) 8128cdf0e10cSrcweir }; 8129cdf0e10cSrcweir 8130cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector4Vert[] = 8131cdf0e10cSrcweir { 8132cdf0e10cSrcweir { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 10 MSO_I }, { 0 MSO_I, 9 MSO_I }, 8133cdf0e10cSrcweir { 0 MSO_I, 12 MSO_I }, { 5 MSO_I, 8 MSO_I }, { 3 MSO_I, 8 MSO_I }, 8134cdf0e10cSrcweir { 7 MSO_I, 8 MSO_I }, { 21600, 14 MSO_I }, { 21600, 21600 } 8135cdf0e10cSrcweir 8136cdf0e10cSrcweir }; 8137cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector4Segm[] = 8138cdf0e10cSrcweir { 8139cdf0e10cSrcweir 0x4000, 0x2003, 0x8000 8140cdf0e10cSrcweir }; 8141cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc[] = 8142cdf0e10cSrcweir { 8143cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 8144cdf0e10cSrcweir { 0x2001, { 0x400, 1, 2 } }, 8145cdf0e10cSrcweir { 0x4000, { 21600, 0x400, 0 } }, 8146cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } }, 8147cdf0e10cSrcweir { 0x6000, { 0x400, 0x403, 0 } }, 8148cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, 8149cdf0e10cSrcweir { 0x2000, { 0x403, 21600, 0 } }, 8150cdf0e10cSrcweir { 0x2001, { 0x406, 1, 2 } }, 8151cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 8152cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjust2Value, 1, 2 } }, 8153cdf0e10cSrcweir { 0x2001, { DFF_Prop_adjust2Value, 1, 4 } }, 8154cdf0e10cSrcweir { 0x6000, { 0x408, 0x409, 0 } }, 8155cdf0e10cSrcweir { 0x2001, { 0x40b, 1, 2 } }, 8156cdf0e10cSrcweir { 0x2000, { 0x408, 21600, 0 } }, 8157cdf0e10cSrcweir { 0x2001, { 0x40d, 1, 2 } } 8158cdf0e10cSrcweir }; 8159cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector4Default[] = 8160cdf0e10cSrcweir { 8161cdf0e10cSrcweir 2, 10800, 10800 8162cdf0e10cSrcweir }; 8163cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] = 8164cdf0e10cSrcweir { 8165cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8166cdf0e10cSrcweir 0x100, 9 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 9 + 3, 9 + 3 }, 8167cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 8168cdf0e10cSrcweir 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff } 8169cdf0e10cSrcweir }; 8170cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector4 = 8171cdf0e10cSrcweir { 8172cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, sizeof( mso_sptCurvedConnector4Vert ) / sizeof( SvxMSDffVertPair ), 8173cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1, 8174cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, sizeof( mso_sptCurvedConnector4Calc ) / sizeof( SvxMSDffCalculationData ), 8175cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedConnector4Default, 8176cdf0e10cSrcweir NULL, 0, 8177cdf0e10cSrcweir 21600, 21600, 8178cdf0e10cSrcweir 0x80000000, 0x80000000, 8179cdf0e10cSrcweir NULL, 0, 8180cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedConnector4Handle, sizeof( mso_sptCurvedConnector4Handle ) / sizeof( SvxMSDffHandle ) 8181cdf0e10cSrcweir }; 8182cdf0e10cSrcweir 8183cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector5Vert[] = 8184cdf0e10cSrcweir { 8185cdf0e10cSrcweir { 0, 0 }, 8186cdf0e10cSrcweir { 21 MSO_I, 0 }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, 8187cdf0e10cSrcweir { 0 MSO_I, 14 MSO_I }, { 6 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, 8188cdf0e10cSrcweir { 8 MSO_I, 4 MSO_I }, { 1 MSO_I, 18 MSO_I }, { 1 MSO_I, 16 MSO_I }, 8189cdf0e10cSrcweir { 1 MSO_I, 20 MSO_I }, { 10 MSO_I, 21600 }, { 21600, 21600 } 8190cdf0e10cSrcweir }; 8191cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector5Segm[] = 8192cdf0e10cSrcweir { 8193cdf0e10cSrcweir 0x4000, 0x2004, 0x8000 8194cdf0e10cSrcweir }; 8195cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc[] = 8196cdf0e10cSrcweir { 8197cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, 8198cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, 8199cdf0e10cSrcweir { 0x6000, { 0x400, 0x401, 0 } }, 8200cdf0e10cSrcweir { 0x2001, { 0x402, 1, 2 } }, 8201cdf0e10cSrcweir { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, 8202cdf0e10cSrcweir { 0x6000, { 0x400, 0x403, 0 } }, 8203cdf0e10cSrcweir { 0x2001, { 0x405, 1, 2 } }, 8204cdf0e10cSrcweir { 0x6000, { 0x401, 0x403, 0 } }, 8205cdf0e10cSrcweir { 0x2001, { 0x407, 1, 2 } }, 8206cdf0e10cSrcweir { 0x2000, { 0x401, 21600, 0 } }, 8207cdf0e10cSrcweir { 0x2001, { 0x409, 1, 2 } }, 8208cdf0e10cSrcweir { 0x2001, { 0x404, 1, 2 } }, 8209cdf0e10cSrcweir { 0x2001, { 0x40b, 1, 2 } }, 8210cdf0e10cSrcweir { 0x6000, { 0x404, 0x40b, 0 } }, 8211cdf0e10cSrcweir { 0x2001, { 0x40d, 1, 2 } }, 8212cdf0e10cSrcweir { 0x2000, { 0x404, 21600, 0 } }, 8213cdf0e10cSrcweir { 0x2001, { 0x40f, 1, 2 } }, 8214cdf0e10cSrcweir { 0x6000, { 0x404, 0x410, 0 } }, 8215cdf0e10cSrcweir { 0x2001, { 0x411, 1, 2 } }, 8216cdf0e10cSrcweir { 0x2000, { 0x410, 21600, 0 } }, 8217cdf0e10cSrcweir { 0x2001, { 0x413, 1, 2 } }, 8218cdf0e10cSrcweir { 0x2001, { 0x400, 1, 2 } } 8219cdf0e10cSrcweir }; 8220cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector5Default[] = 8221cdf0e10cSrcweir { 8222cdf0e10cSrcweir 3, 10800, 10800, 10800 8223cdf0e10cSrcweir }; 8224cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] = 8225cdf0e10cSrcweir { 8226cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8227cdf0e10cSrcweir 0x100, 11 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 11 + 3, 11 + 3 }, 8228cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 8229cdf0e10cSrcweir 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }, 8230cdf0e10cSrcweir { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 8231cdf0e10cSrcweir 0x102, 16 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 16 + 3, 16 + 3 } 8232cdf0e10cSrcweir }; 8233cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector5 = 8234cdf0e10cSrcweir { 8235cdf0e10cSrcweir (SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, sizeof( mso_sptCurvedConnector5Vert ) / sizeof( SvxMSDffVertPair ), 8236cdf0e10cSrcweir (sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1, 8237cdf0e10cSrcweir (SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, sizeof( mso_sptCurvedConnector5Calc ) / sizeof( SvxMSDffCalculationData ), 8238cdf0e10cSrcweir (sal_Int32*)mso_sptCurvedConnector5Default, 8239cdf0e10cSrcweir NULL, 0, 8240cdf0e10cSrcweir 21600, 21600, 8241cdf0e10cSrcweir 0x80000000, 0x80000000, 8242cdf0e10cSrcweir NULL, 0, 8243cdf0e10cSrcweir (SvxMSDffHandle*)mso_sptCurvedConnector5Handle, sizeof( mso_sptCurvedConnector5Handle ) / sizeof( SvxMSDffHandle ) 8244cdf0e10cSrcweir }; 8245cdf0e10cSrcweir 8246cdf0e10cSrcweir const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType ) 8247cdf0e10cSrcweir { 8248cdf0e10cSrcweir const mso_CustomShape* pCustomShape = NULL; 8249cdf0e10cSrcweir switch( eSpType ) 8250cdf0e10cSrcweir { 8251cdf0e10cSrcweir case mso_sptArc : pCustomShape = &msoArc; break; 8252cdf0e10cSrcweir case mso_sptRectangle : pCustomShape = &msoRectangle; break; 8253cdf0e10cSrcweir case mso_sptParallelogram : pCustomShape = &msoParallelogram; break; 8254cdf0e10cSrcweir case mso_sptTrapezoid : pCustomShape = &msoTrapezoid; break; 8255cdf0e10cSrcweir case mso_sptDiamond : pCustomShape = &msoDiamond; break; 8256cdf0e10cSrcweir case mso_sptRoundRectangle : pCustomShape = &msoRoundRectangle; break; 8257cdf0e10cSrcweir case mso_sptOctagon : pCustomShape = &msoOctagon; break; 8258cdf0e10cSrcweir case mso_sptIsocelesTriangle : pCustomShape = &msoIsocelesTriangle; break; 8259cdf0e10cSrcweir case mso_sptRightTriangle : pCustomShape = &msoRightTriangle; break; 8260cdf0e10cSrcweir case mso_sptEllipse : pCustomShape = &msoEllipse; break; 8261cdf0e10cSrcweir case mso_sptHexagon : pCustomShape = &msoHexagon; break; 8262cdf0e10cSrcweir case mso_sptPlus : pCustomShape = &msoPlus; break; 8263cdf0e10cSrcweir case mso_sptPentagon : pCustomShape = &msoPentagon; break; 8264cdf0e10cSrcweir case mso_sptCan : pCustomShape = &msoCan; break; 8265cdf0e10cSrcweir case mso_sptCube : pCustomShape = &msoCube; break; 8266cdf0e10cSrcweir case mso_sptBalloon : pCustomShape = &msoBalloon; break; 8267cdf0e10cSrcweir case mso_sptActionButtonBlank : pCustomShape = &msoActionButtonBlank; break; 8268cdf0e10cSrcweir case mso_sptActionButtonHome : pCustomShape = &msoActionButtonHome; break; 8269cdf0e10cSrcweir case mso_sptActionButtonHelp : pCustomShape = &msoActionButtonHelp; break; 8270cdf0e10cSrcweir case mso_sptActionButtonInformation : pCustomShape = &msoActionButtonInformation; break; 8271cdf0e10cSrcweir case mso_sptActionButtonBackPrevious : pCustomShape = &msoActionButtonBackPrevious; break; 8272cdf0e10cSrcweir case mso_sptActionButtonForwardNext : pCustomShape = &msoActionButtonForwardNext; break; 8273cdf0e10cSrcweir case mso_sptActionButtonBeginning : pCustomShape = &msoActionButtonBeginning; break; 8274cdf0e10cSrcweir case mso_sptActionButtonEnd : pCustomShape = &msoActionButtonEnd; break; 8275cdf0e10cSrcweir case mso_sptActionButtonReturn : pCustomShape = &msoActionButtonReturn; break; 8276cdf0e10cSrcweir case mso_sptActionButtonDocument : pCustomShape = &msoActionButtonDocument; break; 8277cdf0e10cSrcweir case mso_sptActionButtonSound : pCustomShape = &msoActionButtonSound; break; 8278cdf0e10cSrcweir case mso_sptActionButtonMovie : pCustomShape = &msoActionButtonMovie; break; 8279cdf0e10cSrcweir case mso_sptBevel : pCustomShape = &msoBevel; break; 8280cdf0e10cSrcweir case mso_sptFoldedCorner : pCustomShape = &msoFoldedCorner; break; 8281cdf0e10cSrcweir case mso_sptSmileyFace : pCustomShape = &msoSmileyFace; break; 8282cdf0e10cSrcweir case mso_sptDonut : pCustomShape = &msoDonut; break; 8283cdf0e10cSrcweir case mso_sptNoSmoking : pCustomShape = &msoNoSmoking; break; 8284cdf0e10cSrcweir case mso_sptBlockArc : pCustomShape = &msoBlockArc; break; 8285cdf0e10cSrcweir case mso_sptHeart : pCustomShape = &msoHeart; break; 8286cdf0e10cSrcweir case mso_sptLightningBolt : pCustomShape = &msoLightningBold; break; 8287cdf0e10cSrcweir case mso_sptSun : pCustomShape = &msoSun; break; 8288cdf0e10cSrcweir case mso_sptMoon : pCustomShape = &msoMoon; break; 8289cdf0e10cSrcweir case mso_sptBracketPair : pCustomShape = &msoBracketPair; break; 8290cdf0e10cSrcweir case mso_sptBracePair : pCustomShape = &msoBracePair; break; 8291cdf0e10cSrcweir case mso_sptPlaque : pCustomShape = &msoPlaque; break; 8292cdf0e10cSrcweir case mso_sptLeftBracket : pCustomShape = &msoLeftBracket; break; 8293cdf0e10cSrcweir case mso_sptRightBracket : pCustomShape = &msoRightBracket; break; 8294cdf0e10cSrcweir case mso_sptLeftBrace : pCustomShape = &msoLeftBrace; break; 8295cdf0e10cSrcweir case mso_sptRightBrace : pCustomShape = &msoRightBrace; break; 8296cdf0e10cSrcweir case mso_sptArrow : pCustomShape = &msoArrow; break; 8297cdf0e10cSrcweir case mso_sptUpArrow : pCustomShape = &msoUpArrow; break; 8298cdf0e10cSrcweir case mso_sptDownArrow : pCustomShape = &msoDownArrow; break; 8299cdf0e10cSrcweir case mso_sptLeftArrow : pCustomShape = &msoLeftArrow; break; 8300cdf0e10cSrcweir case mso_sptLeftRightArrow : pCustomShape = &msoLeftRightArrow; break; 8301cdf0e10cSrcweir case mso_sptUpDownArrow : pCustomShape = &msoUpDownArrow; break; 8302cdf0e10cSrcweir case mso_sptQuadArrow : pCustomShape = &msoQuadArrow; break; 8303cdf0e10cSrcweir case mso_sptLeftRightUpArrow : pCustomShape = &msoLeftRightUpArrow; break; 8304cdf0e10cSrcweir case mso_sptBentArrow : pCustomShape = &msoBentArrow; break; 8305cdf0e10cSrcweir case mso_sptUturnArrow : pCustomShape = &msoUturnArrow; break; 8306cdf0e10cSrcweir case mso_sptLeftUpArrow : pCustomShape = &msoLeftUpArrow; break; 8307cdf0e10cSrcweir case mso_sptBentUpArrow : pCustomShape = &msoBentUpArrow; break; 8308cdf0e10cSrcweir case mso_sptCurvedRightArrow : pCustomShape = &msoCurvedRightArrow; break; 8309cdf0e10cSrcweir case mso_sptCurvedLeftArrow : pCustomShape = &msoCurvedLeftArrow; break; 8310cdf0e10cSrcweir case mso_sptCurvedUpArrow : pCustomShape = &msoCurvedUpArrow; break; 8311cdf0e10cSrcweir case mso_sptCurvedDownArrow : pCustomShape = &msoCurvedDownArrow; break; 8312cdf0e10cSrcweir case mso_sptStripedRightArrow : pCustomShape = &msoStripedRightArrow; break; 8313cdf0e10cSrcweir case mso_sptNotchedRightArrow : pCustomShape = &msoNotchedRightArrow; break; 8314cdf0e10cSrcweir case mso_sptHomePlate : pCustomShape = &msoHomePlate; break; 8315cdf0e10cSrcweir case mso_sptChevron : pCustomShape = &msoChevron; break; 8316cdf0e10cSrcweir case mso_sptRightArrowCallout : pCustomShape = &msoRightArrowCallout; break; 8317cdf0e10cSrcweir case mso_sptLeftArrowCallout : pCustomShape = &msoLeftArrowCallout; break; 8318cdf0e10cSrcweir case mso_sptUpArrowCallout : pCustomShape = &msoUpArrowCallout; break; 8319cdf0e10cSrcweir case mso_sptDownArrowCallout : pCustomShape = &msoDownArrowCallout; break; 8320cdf0e10cSrcweir case mso_sptLeftRightArrowCallout : pCustomShape = &msoLeftRightArrowCallout; break; 8321cdf0e10cSrcweir case mso_sptUpDownArrowCallout : pCustomShape = &msoUpDownArrowCallout; break; 8322cdf0e10cSrcweir case mso_sptQuadArrowCallout : pCustomShape = &msoQuadArrowCallout; break; 8323cdf0e10cSrcweir case mso_sptCircularArrow : pCustomShape = &msoCircularArrow; break; 8324cdf0e10cSrcweir case mso_sptIrregularSeal1 : pCustomShape = &msoIrregularSeal1; break; 8325cdf0e10cSrcweir case mso_sptIrregularSeal2 : pCustomShape = &msoIrregularSeal2; break; 8326cdf0e10cSrcweir case mso_sptSeal4 : pCustomShape = &msoSeal4; break; 8327cdf0e10cSrcweir case mso_sptStar : pCustomShape = &msoStar; break; 8328cdf0e10cSrcweir case mso_sptSeal8 : pCustomShape = &msoSeal8; break; 8329cdf0e10cSrcweir case mso_sptSeal : 8330cdf0e10cSrcweir case mso_sptSeal16 : pCustomShape = &msoSeal16; break; 8331cdf0e10cSrcweir case mso_sptSeal24 : pCustomShape = &msoSeal24; break; 8332cdf0e10cSrcweir case mso_sptSeal32 : pCustomShape = &msoSeal32; break; 8333cdf0e10cSrcweir case mso_sptRibbon2 : pCustomShape = &msoRibbon2; break; 8334cdf0e10cSrcweir case mso_sptRibbon : pCustomShape = &msoRibbon; break; 8335*4d2151e5SArmin Le Grand case mso_sptEllipseRibbon2 : pCustomShape = &msosptEllipseRibbon2; break; // SJ: TODO 8336*4d2151e5SArmin Le Grand case mso_sptEllipseRibbon : pCustomShape = &msosptEllipseRibbon; break; // SJ: TODO 8337cdf0e10cSrcweir case mso_sptVerticalScroll : pCustomShape = &msoVerticalScroll; break; 8338cdf0e10cSrcweir case mso_sptHorizontalScroll : pCustomShape = &msoHorizontalScroll; break; 8339cdf0e10cSrcweir case mso_sptFlowChartProcess : pCustomShape = &msoFlowChartProcess; break; 8340cdf0e10cSrcweir case mso_sptFlowChartAlternateProcess : pCustomShape = &msoFlowChartAlternateProcess; break; 8341cdf0e10cSrcweir case mso_sptFlowChartDecision : pCustomShape = &msoFlowChartDecision; break; 8342cdf0e10cSrcweir case mso_sptFlowChartInputOutput : pCustomShape = &msoFlowChartInputOutput; break; 8343cdf0e10cSrcweir case mso_sptFlowChartPredefinedProcess :pCustomShape = &msoFlowChartPredefinedProcess; break; 8344cdf0e10cSrcweir case mso_sptFlowChartInternalStorage : pCustomShape = &msoFlowChartInternalStorage; break; 8345cdf0e10cSrcweir case mso_sptFlowChartDocument : pCustomShape = &msoFlowChartDocument; break; 8346cdf0e10cSrcweir case mso_sptFlowChartMultidocument : pCustomShape = &msoFlowChartMultidocument; break; 8347cdf0e10cSrcweir case mso_sptFlowChartTerminator : pCustomShape = &msoFlowChartTerminator; break; 8348cdf0e10cSrcweir case mso_sptFlowChartPreparation : pCustomShape = &msoFlowChartPreparation; break; 8349cdf0e10cSrcweir case mso_sptFlowChartManualInput : pCustomShape = &msoFlowChartManualInput; break; 8350cdf0e10cSrcweir case mso_sptFlowChartManualOperation : pCustomShape = &msoFlowChartManualOperation; break; 8351cdf0e10cSrcweir case mso_sptFlowChartConnector : pCustomShape = &msoFlowChartConnector; break; 8352cdf0e10cSrcweir case mso_sptFlowChartOffpageConnector : pCustomShape = &msoFlowChartOffpageConnector; break; 8353cdf0e10cSrcweir case mso_sptFlowChartPunchedCard : pCustomShape = &msoFlowChartPunchedCard; break; 8354cdf0e10cSrcweir case mso_sptFlowChartPunchedTape : pCustomShape = &msoFlowChartPunchedTape; break; 8355cdf0e10cSrcweir case mso_sptFlowChartSummingJunction : pCustomShape = &msoFlowChartSummingJunction; break; 8356cdf0e10cSrcweir case mso_sptFlowChartOr : pCustomShape = &msoFlowChartOr; break; 8357cdf0e10cSrcweir case mso_sptFlowChartCollate : pCustomShape = &msoFlowChartCollate; break; 8358cdf0e10cSrcweir case mso_sptFlowChartSort : pCustomShape = &msoFlowChartSort; break; 8359cdf0e10cSrcweir case mso_sptFlowChartExtract : pCustomShape = &msoFlowChartExtract; break; 8360cdf0e10cSrcweir case mso_sptFlowChartMerge : pCustomShape = &msoFlowChartMerge; break; 8361cdf0e10cSrcweir case mso_sptFlowChartOnlineStorage : pCustomShape = &msoFlowChartOnlineStorage; break; 8362cdf0e10cSrcweir case mso_sptFlowChartDelay : pCustomShape = &msoFlowChartDelay; break; 8363cdf0e10cSrcweir case mso_sptFlowChartMagneticTape : pCustomShape = &msoFlowChartMagneticTape; break; 8364cdf0e10cSrcweir case mso_sptFlowChartMagneticDisk : pCustomShape = &msoFlowChartMagneticDisk; break; 8365cdf0e10cSrcweir case mso_sptFlowChartMagneticDrum : pCustomShape = &msoFlowChartMagneticDrum; break; 8366cdf0e10cSrcweir case mso_sptFlowChartDisplay : pCustomShape = &msoFlowChartDisplay; break; 8367cdf0e10cSrcweir case mso_sptWedgeRectCallout : pCustomShape = &msoWedgeRectCallout; break; 8368cdf0e10cSrcweir case mso_sptWedgeRRectCallout : pCustomShape = &msoWedgeRRectCallout; break; 8369cdf0e10cSrcweir case mso_sptWedgeEllipseCallout : pCustomShape = &msoWedgeEllipseCallout; break; 8370cdf0e10cSrcweir case mso_sptCloudCallout : pCustomShape = &msoCloudCallout; break; 8371cdf0e10cSrcweir case mso_sptWave : pCustomShape = &msoWave; break; 8372cdf0e10cSrcweir case mso_sptDoubleWave : pCustomShape = &msoDoubleWave; break; 8373cdf0e10cSrcweir 8374cdf0e10cSrcweir // callout 8375cdf0e10cSrcweir case mso_sptCallout1 : pCustomShape = &msoCallout1; break; 8376cdf0e10cSrcweir case mso_sptCallout2 : pCustomShape = &msoCallout2; break; 8377cdf0e10cSrcweir case mso_sptCallout3 : pCustomShape = &msoCallout3; break; 8378cdf0e10cSrcweir case mso_sptAccentCallout1 : pCustomShape = &msoAccentCallout1; break; 8379cdf0e10cSrcweir case mso_sptAccentCallout2 : pCustomShape = &msoAccentCallout2; break; 8380cdf0e10cSrcweir case mso_sptAccentCallout3 : pCustomShape = &msoAccentCallout3; break; 8381cdf0e10cSrcweir case mso_sptBorderCallout1 : pCustomShape = &msoBorderCallout1; break; 8382cdf0e10cSrcweir case mso_sptBorderCallout2 : pCustomShape = &msoBorderCallout2; break; 8383cdf0e10cSrcweir case mso_sptBorderCallout3 : pCustomShape = &msoBorderCallout3; break; 8384cdf0e10cSrcweir case mso_sptAccentBorderCallout1 : pCustomShape = &msoAccentBorderCallout1; break; 8385cdf0e10cSrcweir case mso_sptAccentBorderCallout2 : pCustomShape = &msoAccentBorderCallout2; break; 8386cdf0e10cSrcweir case mso_sptAccentBorderCallout3 : pCustomShape = &msoAccentBorderCallout3; break; 8387cdf0e10cSrcweir case mso_sptCallout90 : pCustomShape = &msoCallout90; break; 8388cdf0e10cSrcweir case mso_sptAccentCallout90 : pCustomShape = &msoAccentCallout90; break; 8389cdf0e10cSrcweir case mso_sptBorderCallout90 : pCustomShape = &msoBorderCallout90; break; 8390cdf0e10cSrcweir case mso_sptAccentBorderCallout90 : pCustomShape = &msoAccentBorderCallout90; break; 8391cdf0e10cSrcweir 8392cdf0e10cSrcweir // connectors 8393cdf0e10cSrcweir case mso_sptStraightConnector1 : pCustomShape = &msoStraightConnector1; break; 8394cdf0e10cSrcweir case mso_sptBentConnector2 : pCustomShape = &msoBentConnector2; break; 8395cdf0e10cSrcweir case mso_sptBentConnector3 : pCustomShape = &msoBentConnector3; break; 8396cdf0e10cSrcweir case mso_sptBentConnector4 : pCustomShape = &msoBentConnector4; break; 8397cdf0e10cSrcweir case mso_sptBentConnector5 : pCustomShape = &msoBentConnector5; break; 8398cdf0e10cSrcweir case mso_sptCurvedConnector2 : pCustomShape = &msoCurvedConnector2; break; 8399cdf0e10cSrcweir case mso_sptCurvedConnector3 : pCustomShape = &msoCurvedConnector3; break; 8400cdf0e10cSrcweir case mso_sptCurvedConnector4 : pCustomShape = &msoCurvedConnector4; break; 8401cdf0e10cSrcweir case mso_sptCurvedConnector5 : pCustomShape = &msoCurvedConnector5; break; 8402cdf0e10cSrcweir 8403cdf0e10cSrcweir // Dont know, simply mapping to TextSimple 8404cdf0e10cSrcweir case mso_sptTextOnRing : 8405cdf0e10cSrcweir case mso_sptTextOnCurve : 8406cdf0e10cSrcweir case mso_sptTextRing : 8407cdf0e10cSrcweir case mso_sptTextWave : 8408cdf0e10cSrcweir case mso_sptTextCurve : 8409cdf0e10cSrcweir case mso_sptTextHexagon : 8410cdf0e10cSrcweir case mso_sptTextOctagon : 8411cdf0e10cSrcweir case mso_sptTextBox : pCustomShape = &msoTextSimple; break; 8412cdf0e10cSrcweir 8413cdf0e10cSrcweir // FontWork 8414cdf0e10cSrcweir case mso_sptTextSimple : 8415cdf0e10cSrcweir case mso_sptTextPlainText : pCustomShape = &msoTextPlainText; break; 8416cdf0e10cSrcweir case mso_sptTextStop : pCustomShape = &msoTextStop; break; 8417cdf0e10cSrcweir case mso_sptTextTriangle : pCustomShape = &msoTextTriangle; break; 8418cdf0e10cSrcweir case mso_sptTextTriangleInverted : pCustomShape = &msoTextTriangleInverted; break; 8419cdf0e10cSrcweir case mso_sptTextChevron : pCustomShape = &msoTextChevron; break; 8420cdf0e10cSrcweir case mso_sptTextChevronInverted : pCustomShape = &msoTextChevronInverted; break; 8421cdf0e10cSrcweir case mso_sptTextRingInside : pCustomShape = &msoTextRingOutside; break; // SJ: TODO->the orientation of the ellipse needs to be changed 8422cdf0e10cSrcweir case mso_sptTextRingOutside : pCustomShape = &msoTextRingOutside; break; 8423cdf0e10cSrcweir case mso_sptTextFadeRight : pCustomShape = &msoTextFadeRight; break; 8424cdf0e10cSrcweir case mso_sptTextFadeLeft : pCustomShape = &msoTextFadeLeft; break; 8425cdf0e10cSrcweir case mso_sptTextFadeUp : pCustomShape = &msoTextFadeUp; break; 8426cdf0e10cSrcweir case mso_sptTextFadeDown : pCustomShape = &msoTextFadeDown; break; 8427cdf0e10cSrcweir case mso_sptTextSlantUp : pCustomShape = &msoTextSlantUp; break; 8428cdf0e10cSrcweir case mso_sptTextSlantDown : pCustomShape = &msoTextSlantDown; break; 8429cdf0e10cSrcweir case mso_sptTextCascadeUp : pCustomShape = &msoTextCascadeUp; break; 8430cdf0e10cSrcweir case mso_sptTextCascadeDown : pCustomShape = &msoTextCascadeDown; break; 8431cdf0e10cSrcweir case mso_sptTextArchUpCurve : pCustomShape = &msoTextArchUpCurve; break; 8432cdf0e10cSrcweir case mso_sptTextArchDownCurve : pCustomShape = &msoTextArchDownCurve; break; 8433cdf0e10cSrcweir case mso_sptTextCircleCurve : pCustomShape = &msoTextCircleCurve; break; 8434cdf0e10cSrcweir case mso_sptTextButtonCurve : pCustomShape = &msoTextButtonCurve; break; 8435cdf0e10cSrcweir case mso_sptTextArchUpPour : pCustomShape = &msoTextArchUpPour; break; 8436cdf0e10cSrcweir case mso_sptTextArchDownPour : pCustomShape = &msoTextArchDownPour; break; 8437cdf0e10cSrcweir case mso_sptTextCirclePour : pCustomShape = &msoTextCirclePour; break; 8438cdf0e10cSrcweir case mso_sptTextButtonPour : pCustomShape = &msoTextButtonPour; break; 8439cdf0e10cSrcweir case mso_sptTextCurveUp : pCustomShape = &msoTextCurveUp; break; 8440cdf0e10cSrcweir case mso_sptTextCurveDown : pCustomShape = &msoTextCurveDown; break; 8441cdf0e10cSrcweir case mso_sptTextCanUp : pCustomShape = &msoTextCanUp; break; 8442cdf0e10cSrcweir case mso_sptTextCanDown : pCustomShape = &msoTextCanDown; break; 8443cdf0e10cSrcweir case mso_sptTextInflate : pCustomShape = &msoTextInflate; break; 8444cdf0e10cSrcweir case mso_sptTextDeflate : pCustomShape = &msoTextDeflate; break; 8445cdf0e10cSrcweir case mso_sptTextInflateBottom : pCustomShape = &msoTextInflateBottom; break; 8446cdf0e10cSrcweir case mso_sptTextDeflateBottom : pCustomShape = &msoTextDeflateBottom; break; 8447cdf0e10cSrcweir case mso_sptTextInflateTop : pCustomShape = &msoTextInflateTop; break; 8448cdf0e10cSrcweir case mso_sptTextDeflateTop : pCustomShape = &msoTextDeflateTop; break; 8449cdf0e10cSrcweir case mso_sptTextDeflateInflate : pCustomShape = &msoTextDeflateInflate; break; 8450cdf0e10cSrcweir case mso_sptTextDeflateInflateDeflate : pCustomShape = &msoTextDeflateInflateDeflate; break; 8451cdf0e10cSrcweir case mso_sptTextWave1 : pCustomShape = &msoTextWave1; break; 8452cdf0e10cSrcweir case mso_sptTextWave2 : pCustomShape = &msoTextWave2; break; 8453cdf0e10cSrcweir case mso_sptTextWave3 : pCustomShape = &msoTextWave3; break; 8454cdf0e10cSrcweir case mso_sptTextWave4 : pCustomShape = &msoTextWave4; break; 8455cdf0e10cSrcweir default : 8456cdf0e10cSrcweir break; 8457cdf0e10cSrcweir } 8458cdf0e10cSrcweir return pCustomShape; 8459cdf0e10cSrcweir } 8460