/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_svx.hxx" #include "EnhancedCustomShapeGeometry.hxx" #include /* static const SvxMSDffVertPair Vert[] = { { 0, 0, } }; static const sal_uInt16 Segm[] = { 0x4000, 0x8000 }; static const SvxMSDffCalculationData Calc[] = { { 0x0000, 0, 0, 0 } }; static const sal_Int32 Default[] = { 0 }; static const SvxMSDffTextRect TextRect[] = { { { 0, 0 }, { 0, 0 } } }; static const mso_CustomShape mso = { (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptSegm, sizeof( mso_sptSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCalc, sizeof( mso_sptCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault, (SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles ) }; */ static const sal_Int32 mso_sptDefault0[] = { 1, 0 }; static const sal_Int32 mso_sptDefault1400[] = { 1, 1400 }; static const sal_Int32 mso_sptDefault1800[] = { 1, 1800 }; static const sal_Int32 mso_sptDefault2500[] = { 1, 2500 }; static const sal_Int32 mso_sptDefault2700[] = { 1, 2700 }; static const sal_Int32 mso_sptDefault3600[] = { 1, 3600 }; static const sal_Int32 mso_sptDefault3700[] = { 1, 3700 }; static const sal_Int32 mso_sptDefault5400[] = { 1, 5400 }; static const sal_Int32 mso_sptDefault7200[] = { 1, 7200 }; static const sal_Int32 mso_sptDefault8100[] = { 1, 8100 }; static const sal_Int32 mso_sptDefault9600[] = { 1, 9600 }; static const sal_Int32 mso_sptDefault10800[] = { 1, 10800 }; static const sal_Int32 mso_sptDefault12000[] = { 1, 12000 }; static const sal_Int32 mso_sptDefault13500[] = { 1, 13500 }; static const sal_Int32 mso_sptDefault16200[] = { 1, 16200 }; static const sal_Int32 mso_sptDefault16200and5400[] = { 2, 16200, 5400 }; static const SvxMSDffVertPair mso_sptArcVert[] = { { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }, { 10800, 10800 }, { 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I } }; static const sal_uInt16 mso_sptArcSegm[] = { 0xa504, 0xab00, 0x0001, 0x6001, 0x8000, 0xa504, 0xaa00, 0x8000 }; static const SvxMSDffCalculationData mso_sptArcCalc[] = { { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x402, 10800, 0 } }, { 0x4009, { 10800, DFF_Prop_adjust2Value, 0 } }, { 0x2000, { 0x404, 10800, 0 } }, { 0x400a, { 10800, DFF_Prop_adjust2Value, 0 } }, { 0x2000, { 0x406, 10800, 0 } } }; static const sal_Int32 mso_sptArcDefault[] = { 2, 270, 0 }; static const SvxMSDffVertPair mso_sptStandardGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 } }; static const SvxMSDffHandle mso_sptArcHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 10800, 0x100, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 10800, 0x101, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoArc = { (SvxMSDffVertPair*)mso_sptArcVert, sizeof( mso_sptArcVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArcCalc, sizeof( mso_sptArcCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptArcDefault, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptArcHandle, sizeof( mso_sptArcHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptTextSimpleVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const mso_CustomShape msoTextSimple = { (SvxMSDffVertPair*)mso_sptTextSimpleVert, sizeof( mso_sptTextSimpleVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptRectangleVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const mso_CustomShape msoRectangle = { (SvxMSDffVertPair*)mso_sptRectangleVert, sizeof( mso_sptRectangleVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptRoundRectangleVert[] = // adj value 0 -> 10800 { { 7 MSO_I, 0 }, { 0, 8 MSO_I }, { 0, 9 MSO_I }, { 7 MSO_I, 21600 }, { 10 MSO_I, 21600 }, { 21600, 9 MSO_I }, { 21600, 8 MSO_I }, { 10 MSO_I, 0 } }; static const sal_uInt16 mso_sptRoundRectangleSegm[] = { 0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptRoundRectangleCalc[] = { { 0x000e, { 0, 45, 0 } }, { 0x6009, { DFF_Prop_adjustValue, 0x400, 0 } }, { 0x2001, { 0x401, 3163, 7636 } }, { 0x6000, { DFF_Prop_geoLeft, 0x402, 0 } }, { 0x6000, { DFF_Prop_geoTop, 0x402, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x402 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } } }; static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] = { { { 3 MSO_I, 4 MSO_I }, { 5 MSO_I, 6 MSO_I } } }; static const SvxMSDffHandle mso_sptRoundRectangleHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoRoundRectangle = { (SvxMSDffVertPair*)mso_sptRoundRectangleVert, sizeof( mso_sptRoundRectangleVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, sizeof( mso_sptRoundRectangleCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault3600, (SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, sizeof( mso_sptRoundRectangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptRoundRectangleHandle, sizeof( mso_sptRoundRectangleHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptRightTriangleVert[] = { { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect[] = { { { 1900, 12700 }, { 12700, 19700 } } }; static const SvxMSDffVertPair mso_sptRightTriangleGluePoints[] = { { 10800, 0 }, { 5400, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 16200, 10800 } }; static const mso_CustomShape msoRightTriangle = { (SvxMSDffVertPair*)mso_sptRightTriangleVert, sizeof( mso_sptRightTriangleVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, sizeof( mso_sptRightTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, sizeof( mso_sptRightTriangleGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptEllipseVert[] = { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 } }; static const sal_uInt16 mso_sptEllipseSegm[] = { 0xa203, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptEllipseTextRect[] = { { { 3163, 3163 }, { 18437, 18437 } } }; static const SvxMSDffVertPair mso_sptEllipseGluePoints[] = { { 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 } }; static const mso_CustomShape msoEllipse = { (SvxMSDffVertPair*)mso_sptEllipseVert, sizeof( mso_sptEllipseVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptParallelogramVert[] = // adjustment1 : 0 - 21600 { { 0 MSO_I, 0 }, { 21600, 0 }, { 1 MSO_I, 21600 }, { 0, 21600 } }; static const sal_uInt16 mso_sptParallelogramSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptParallelogramCalc[] = { { 0x4000, { 0, DFF_Prop_adjustValue, 0 } }, { 0x8000, { 0, 21600, DFF_Prop_adjustValue } }, { 0x2001, { DFF_Prop_adjustValue, 10, 24 } }, { 0x2000, { 0x0402, 1750, 0 } }, { 0x8000, { 21600, 0, 0x0403 } }, { 0x2001, { 0x400, 1, 2 } }, { 0x4000, { 10800, 0x405, 0 } }, { 0x2000, { 0x400, 0, 10800 } }, { 0x6006, { 0x407, 0x40d, 0 } }, { 0x8000, { 10800, 0, 0x405 } }, { 0x6006, { 0x407, 0x40c, 21600 } }, { 0x8000, { 21600, 0, 0x405 } }, { 0x8001, { 21600, 10800, 0x400 } }, { 0x8000, { 21600, 0, 0x40c } } }; static const SvxMSDffTextRectangles mso_sptParallelogramTextRect[] = { { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } }; static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] = { { 6 MSO_I, 0 }, { 10800, 8 MSO_I }, { 11 MSO_I, 10800 }, { 9 MSO_I, 21600 }, { 10800, 10 MSO_I }, { 5 MSO_I, 10800 } }; static const SvxMSDffHandle mso_sptParallelogramHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoParallelogram = { (SvxMSDffVertPair*)mso_sptParallelogramVert, sizeof( mso_sptParallelogramVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptParallelogramCalc, sizeof( mso_sptParallelogramCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, sizeof( mso_sptParallelogramTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptParallelogramGluePoints, sizeof( mso_sptParallelogramGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptParallelogramHandle, sizeof( mso_sptParallelogramHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptDiamondVert[] = { { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }, { 10800, 0 } }; static const SvxMSDffTextRectangles mso_sptDiamondTextRect[] = { { { 5400, 5400 }, { 16200, 16200 } } }; static const mso_CustomShape msoDiamond = { (SvxMSDffVertPair*)mso_sptDiamondVert, sizeof( mso_sptDiamondVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptDiamondTextRect, sizeof( mso_sptDiamondTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptTrapezoidVert[] = // adjustment1 : 0 - 10800 { { 0, 0 }, { 21600, 0 }, {0 MSO_I, 21600 }, { 1 MSO_I, 21600 } }; static const sal_uInt16 mso_sptTrapezoidSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptTrapezoidCalc[] = { { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 10, 18 } }, { 0x2000, { 0x0402, 1750, 0 } }, { 0x8000, { 21600, 0, 0x403 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x8000, { 21600, 0, 0x405 } } }; static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect[] = { { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } }; static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] = { { 6 MSO_I, 10800 }, { 10800, 21600 }, { 5 MSO_I, 10800 }, { 10800, 0 } }; static const SvxMSDffHandle mso_sptTrapezoidHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 1, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoTrapezoid = { (SvxMSDffVertPair*)mso_sptTrapezoidVert, sizeof( mso_sptTrapezoidVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTrapezoidCalc, sizeof( mso_sptTrapezoidCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, sizeof( mso_sptTrapezoidTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, sizeof( mso_sptTrapezoidGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptTrapezoidHandle, sizeof( mso_sptTrapezoidHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptOctagonVert[] = // adjustment1 : 0 - 10800 { { 0 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I }, { 2 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }, { 0, 1 MSO_I } }; static const sal_uInt16 mso_sptOctagonSegm[] = { 0x4000, 0x0007, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptOctagonCalc[] = { { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x6000, { DFF_Prop_geoLeft, 0x404, 0 } }, { 0x6000, { DFF_Prop_geoTop, 0x404, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } } }; static const sal_Int32 mso_sptOctagonDefault[] = { 1, 5000 }; static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] = { { { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 8 MSO_I } } }; static const SvxMSDffHandle mso_sptOctagonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoOctagon = { (SvxMSDffVertPair*)mso_sptOctagonVert, sizeof( mso_sptOctagonVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptOctagonCalc, sizeof( mso_sptOctagonCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptOctagonDefault, (SvxMSDffTextRectangles*)mso_sptOctagonTextRect, sizeof( mso_sptOctagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptOctagonHandle, sizeof( mso_sptOctagonHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptIsocelesTriangleVert[] = // adjustment1 : 0 - 21600 { { 0 MSO_I, 0 }, { 21600, 21600 }, { 0, 21600 } }; static const sal_uInt16 mso_sptIsocelesTriangleSegm[] = { 0x4000, 0x0002, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc[] = { { 0x4000, { 0, DFF_Prop_adjustValue, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 2, 3 } }, { 0x2000, { 0x403, 7200, 0 } }, { 0x8000, { 21600, 0, 0x400 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x8000, { 21600, 0, 0x406 } } }; static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect[] = { { { 1 MSO_I, 10800 }, { 2 MSO_I, 18000 } }, { { 3 MSO_I, 7200 }, { 4 MSO_I, 21600 } } }; static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] = { { 10800, 0 }, { 1 MSO_I, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I, 10800 } }; static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoIsocelesTriangle = { (SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, sizeof( mso_sptIsocelesTriangleVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, sizeof( mso_sptIsocelesTriangleCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, sizeof( mso_sptIsocelesTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, sizeof( mso_sptIsocelesTriangleGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, sizeof( mso_sptIsocelesTriangleHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptHexagonVert[] = // adjustment1 : 0 - 10800 { { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 10800 } }; static const sal_uInt16 mso_sptHexagonSegm[] = { 0x4000, 0x0005, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptHexagonCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { DFF_Prop_adjustValue, 100, 234 } }, { 0x2000, { 0x402, 1700, 0 } }, { 0x8000, { 21600, 0, 0x403 } } }; static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] = { { { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } } }; static const SvxMSDffHandle mso_sptHexagonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoHexagon = { (SvxMSDffVertPair*)mso_sptHexagonVert, sizeof( mso_sptHexagonVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptHexagonCalc, sizeof( mso_sptHexagonCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptHexagonTextRect, sizeof( mso_sptHexagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptHexagonHandle, sizeof( mso_sptHexagonHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptPentagonVert[] = { { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 }, { 21600, 8260 }, { 10800, 0 } }; static const SvxMSDffTextRectangles mso_sptPentagonTextRect[] = { { { 4230, 5080 }, { 17370, 21600 } } }; static const SvxMSDffVertPair mso_sptPentagonGluePoints[] = { { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 }, { 17370, 21600 }, { 21600, 8260 } }; static const mso_CustomShape msoPentagon = { (SvxMSDffVertPair*)mso_sptPentagonVert, sizeof( mso_sptPentagonVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptPentagonTextRect, sizeof( mso_sptPentagonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptPentagonGluePoints, sizeof( mso_sptPentagonGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptPlusVert[] = // adjustment1 : 0 - 10800 { { 1 MSO_I, 0 }, { 2 MSO_I, 0 }, { 2 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 21600 }, { 1 MSO_I, 21600 }, { 1 MSO_I, 3 MSO_I }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 0 } }; static const SvxMSDffCalculationData mso_sptPlusCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 10799, 10800 } }, { 0x2000, { 0x400, 0, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } }; static const SvxMSDffTextRectangles mso_sptPlusTextRect[] = { { { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } } }; static const SvxMSDffHandle mso_sptPlusHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoPlus = { (SvxMSDffVertPair*)mso_sptPlusVert, sizeof( mso_sptPlusVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptPlusCalc, sizeof( mso_sptPlusCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptPlusTextRect, sizeof( mso_sptPlusTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptPlusHandle, sizeof( mso_sptPlusHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptCanVert[] = // adjustment1 : 0 - 10800 { { 44, 0 }, { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I }, // ccp { 0, 3 MSO_I }, // p { 0, 4 MSO_I }, { 20, 21600 }, { 44, 21600 }, // ccp { 68, 21600 }, { 88, 4 MSO_I }, { 88, 3 MSO_I }, // ccp { 88, 0 MSO_I }, // p { 88, 2 MSO_I }, { 68, 0 }, { 44, 0 }, // ccp { 44, 0 }, // p { 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I }, // ccp { 0, 5 MSO_I }, { 20, 6 MSO_I }, { 44, 6 MSO_I }, // ccp { 68, 6 MSO_I },{ 88, 5 MSO_I }, { 88, 0 MSO_I }, // ccp { 88, 2 MSO_I },{ 68, 0 }, { 44, 0 } // ccp }; static const sal_uInt16 mso_sptCanSegm[] = { 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000, 0x4000, 0x2004, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptCanCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 2, 4 } }, // 1/4 { 0x2001, { 0x0400, 6, 11 } }, { 0xa000, { 0x0400, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0400 } }, { 0x6000, { 0x0403, 0x0401, 0 } }, { 0x6000, { 0x0400, 0x0401, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 2, 2 } }, { 0x0000, { 44, 0, 0 } } }; static const SvxMSDffTextRectangles mso_sptCanTextRect[] = { { { 0, 6 MSO_I }, { 88, 3 MSO_I } } }; static const SvxMSDffVertPair mso_sptCanGluePoints[] = { { 44, 6 MSO_I }, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 } }; static const SvxMSDffHandle mso_sptCanHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 7 + 3, 0x100, 44, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoCan = { (SvxMSDffVertPair*)mso_sptCanVert, sizeof( mso_sptCanVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCanCalc, sizeof( mso_sptCanCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptCanTextRect, sizeof( mso_sptCanTextRect ) / sizeof( SvxMSDffTextRectangles ), 88, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptCanGluePoints, sizeof( mso_sptCanGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCanHandle, sizeof( mso_sptCanHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptArrowVert[] = // adjustment1: x 0 - 21600 { // adjustment2: y 0 - 10800 { 0, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 0, 2 MSO_I } }; static const sal_uInt16 mso_sptArrowSegm[] = { 0x4000, 0x0006, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptArrowCalc[] = { { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 21600, 0, 0x401 } }, { 0x6001, { 0x403, 0x400, 10800 } }, { 0x6000, { 0x401, 0x404, 0 } }, { 0x6001, { 0x401, 0x400, 10800 } }, { 0xa000, { 0x401, 0, 0x406 } } }; static const SvxMSDffTextRectangles mso_sptArrowTextRect[] = { { { 0, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } } }; static const SvxMSDffHandle mso_sptArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } }; static const mso_CustomShape msoArrow = { (SvxMSDffVertPair*)mso_sptArrowVert, sizeof( mso_sptArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptArrowTextRect, sizeof( mso_sptArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptArrowHandle, sizeof( mso_sptArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptLeftArrowVert[] = // adjustment1: x 0 - 21600 { // adjustment2: y 0 - 10800 { 21600, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 0, 10800 }, { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I } }; static const sal_uInt16 mso_sptLeftArrowSegm[] = { 0x4000, 0x0006, 0x6001, 0x8000 }; static const sal_Int32 mso_sptLeftArrowDefault[] = { 2, 5400, 5400 }; static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect[] = { { { 7 MSO_I, 0 MSO_I }, { 21600, 2 MSO_I } } }; static const SvxMSDffHandle mso_sptLeftArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } }; static const mso_CustomShape msoLeftArrow = { (SvxMSDffVertPair*)mso_sptLeftArrowVert, sizeof( mso_sptLeftArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, sizeof( mso_sptLeftArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftArrowHandle, sizeof( mso_sptLeftArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptDownArrowVert[] = // adjustment1: x 0 - 21600 { // adjustment2: y 0 - 10800 { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 21600 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 } }; static const sal_uInt16 mso_sptDownArrowSegm[] = { 0x4000, 0x0006, 0x6001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptDownArrowTextRect[] = { { { 0 MSO_I, 0 }, { 2 MSO_I, 5 MSO_I } } }; static const SvxMSDffHandle mso_sptDownArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 } }; static const mso_CustomShape msoDownArrow = { (SvxMSDffVertPair*)mso_sptDownArrowVert, sizeof( mso_sptDownArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, sizeof( mso_sptDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptDownArrowHandle, sizeof( mso_sptDownArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptUpArrowVert[] = // adjustment1: x 0 - 21600 { // adjustment2: y 0 - 10800 { 0 MSO_I, 21600 }, { 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 } }; static const sal_uInt16 mso_sptUpArrowSegm[] = { 0x4000, 0x0006, 0x6001, 0x8000 }; static const sal_Int32 mso_sptUpArrowDefault[] = { 2, 5400, 5400 }; static const SvxMSDffTextRectangles mso_sptUpArrowTextRect[] = { { { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 21600 } } }; static const SvxMSDffHandle mso_sptUpArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 } }; static const mso_CustomShape msoUpArrow = { (SvxMSDffVertPair*)mso_sptUpArrowVert, sizeof( mso_sptUpArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, sizeof( mso_sptUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptUpArrowHandle, sizeof( mso_sptUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptLeftRightArrowVert[] = // adjustment1: x 0 - 10800 { // adjustment2: y 0 - 10800 { 0, 10800 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }, { 21600, 10800 }, { 2 MSO_I, 21600 }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 21600 } }; static const sal_uInt16 mso_sptLeftRightArrowSegm[] = { 0x4000, 0x0009, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptDoubleArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, { 0x6001, { DFF_Prop_adjustValue, 0x404, 10800 } }, { 0x8000, { 21600, 0, 0x405 } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x6001, { DFF_Prop_adjust2Value, 0x407, 10800 } }, { 0x8000, { 21600, 0, 0x408 } } }; static const sal_Int32 mso_sptLeftRightArrowDefault[] = { 2, 4300, 5400 }; static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect[] = { { { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 3 MSO_I } } }; static const SvxMSDffHandle mso_sptLeftRightArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 } }; static const mso_CustomShape msoLeftRightArrow = { (SvxMSDffVertPair*)mso_sptLeftRightArrowVert, sizeof( mso_sptLeftRightArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftRightArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, sizeof( mso_sptLeftRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightArrowHandle, sizeof( mso_sptLeftRightArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptUpDownArrowVert[] = // adjustment1: x 0 - 10800 { // adjustment2: y 0 - 10800 { 0, 1 MSO_I }, { 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 21600, 3 MSO_I }, { 10800, 21600 }, { 0, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I } }; static const sal_uInt16 mso_sptUpDownArrowSegm[] = { 0x4000, 0x0009, 0x6001, 0x8000 }; static const sal_Int32 mso_sptUpDownArrowDefault[] = { 2, 5400, 4300 }; static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect[] = { { { 0 MSO_I, 8 MSO_I }, { 2 MSO_I, 9 MSO_I } } }; static const SvxMSDffHandle mso_sptUpDownArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 } }; static const mso_CustomShape msoUpDownArrow = { (SvxMSDffVertPair*)mso_sptUpDownArrowVert, sizeof( mso_sptUpDownArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptUpDownArrowDefault, (SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, sizeof( mso_sptUpDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptUpDownArrowHandle, sizeof( mso_sptUpDownArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptQuadArrowVert[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800 { // adjustment3: y 0 - 10800 { 0, 10800 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 2 MSO_I, 2 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 10800, 0 }, { 3 MSO_I, 0 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 4 MSO_I, 4 MSO_I }, { 4 MSO_I, 5 MSO_I }, { 3 MSO_I, 5 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptQuadArrowSegm[] = { 0x4000, 0x0017, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptQuadArrowCalc[] = { { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } } }; static const sal_Int32 mso_sptQuadArrowDefault[] = { 3, 6500, 8600, 4300 }; static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptQuadArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoQuadArrow = { (SvxMSDffVertPair*)mso_sptQuadArrowVert, sizeof( mso_sptQuadArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptQuadArrowCalc, sizeof( mso_sptQuadArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptQuadArrowDefault, (SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, sizeof( mso_sptQuadArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptQuadArrowHandle, sizeof( mso_sptQuadArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800 { // adjustment3: y 0 - 21600 { 10800, 0 }, { 3 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 4 MSO_I, 1 MSO_I }, { 5 MSO_I, 1 MSO_I }, { 5 MSO_I, 0 MSO_I }, { 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0, 10800 }, { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I } }; static const sal_uInt16 mso_sptLeftRightUpArrowSegm[] = { 0x4000, 0x0010, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 { 0x6001, { 0x0403, DFF_Prop_adjust3Value, 21600 } }, // 2 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 4 { 0x8000, { 21600, 0, 0x0402 } } // 5 }; static const sal_Int32 mso_sptLeftRightUpArrowDefault[] = { 3, 6500, 8600, 6200 }; static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoLeftRightUpArrow = { (SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, sizeof( mso_sptLeftRightUpArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, sizeof( mso_sptLeftRightUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftRightUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, sizeof( mso_sptLeftRightUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, sizeof( mso_sptLeftRightUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBentArrowVert[] = // adjustment1 : x 12427 - 21600 { // adjustment2 : y 0 - 6079 { 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 6079 }, { 0 MSO_I, 12158 }, { 0 MSO_I, 2 MSO_I }, { 12427, 2 MSO_I }, { 4 MSO_I, 12160 }, { 4 MSO_I, 21600 } }; static const sal_uInt16 mso_sptBentArrowSegm[] = { 0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptBentArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x8000, { 12158, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 6079, 0, DFF_Prop_adjust2Value } }, { 0x2001, { 0x0403, 2, 1 } } }; static const sal_Int32 mso_sptBentArrowDefault[] = { 2, 15100, 2900 }; static const SvxMSDffTextRectangles mso_sptBentArrowTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptBentArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 } }; static const mso_CustomShape msoBentArrow = { (SvxMSDffVertPair*)mso_sptBentArrowVert, sizeof( mso_sptBentArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentArrowCalc, sizeof( mso_sptBentArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBentArrowDefault, (SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, sizeof( mso_sptBentArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBentArrowHandle, sizeof( mso_sptBentArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptUturnArrowVert[] = { { 0, 21600 }, { 0, 8550 }, // pp { 0, 3540 }, { 4370, 0 }, { 9270, 0 }, // ccp { 13890, 0 }, { 18570, 3230 }, { 18600, 8300 }, // ccp { 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp { 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 }, // ccp { 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 }, // ccp { 6110, 21600 } }; static const sal_uInt16 mso_sptUturnArrowSegm[] = { 0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect[] = { { { 0, 8280 }, { 6110, 21600 } } }; static const mso_CustomShape msoUturnArrow = { (SvxMSDffVertPair*)mso_sptUturnArrowVert, sizeof( mso_sptUturnArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, sizeof( mso_sptUturnArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptLeftUpArrowVert[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600 { // adjustment3 : y 0 - 21600 { 0, 5 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 } }; static const sal_uInt16 mso_sptLeftUpArrowSegm[] = { 0x4000, 0x000b, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, // 2 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 { 0x2001, { 0x0403, 1, 2 } }, // 4 { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } }, // 5 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 6 { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } }, // 7 { 0x8000, { 21600, 0, 0x406 } }, // 8 { 0xa000, { 0x408, 0, 0x406 } } // 9 }; static const sal_Int32 mso_sptLeftUpArrowDefault[] = { 3, 9340, 18500, 6200 }; static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect[] = { { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } }, { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } } }; static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 3 + 9, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoLeftUpArrow = { (SvxMSDffVertPair*)mso_sptLeftUpArrowVert, sizeof( mso_sptLeftUpArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, sizeof( mso_sptLeftUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, sizeof( mso_sptLeftUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftUpArrowHandle, sizeof( mso_sptLeftUpArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBentUpArrowVert[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600 { // adjustment3 : y 0 - 21600 { 0, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 21600 }, { 0, 21600 } }; static const sal_uInt16 mso_sptBentUpArrowSegm[] = { 0x4000, 0x0008, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptBentUpArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 1 { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, // 2 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 3 { 0x2001, { 0x0403, 1, 2 } }, // 4 { 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } }, // 5 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, // 6 { 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } }, // 7 { 0x6000, { 0x0407, 0x0406, 0 } }, // 8 { 0x8000, { 21600, 0, 0x406 } }, // 9 { 0xa000, { 0x409, 0, 0x406 } } // a }; static const sal_Int32 mso_sptBentUpArrowDefault[] = { 3, 9340, 18500, 7200 }; static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect[] = { { { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } }, { { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } } }; static const SvxMSDffHandle mso_sptBentUpArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 3 + 10, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBentUpArrow = { (SvxMSDffVertPair*)mso_sptBentUpArrowVert, sizeof( mso_sptBentUpArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, sizeof( mso_sptBentUpArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBentUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, sizeof( mso_sptBentUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBentUpArrowHandle, sizeof( mso_sptBentUpArrowHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedDownVert[] = { { 0, 0 }, { 3 MSO_I, 21 MSO_I }, { 0, 21600 }, { 4 MSO_I, 0 }, { 0, 0 }, { 3 MSO_I, 21 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 24 MSO_I }, { 15 MSO_I, 0 }, { 1 MSO_I, 21 MSO_I }, { 17 MSO_I, 24 MSO_I }, { 15 MSO_I, 21600 }, { 15 MSO_I, 0 }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I }, { 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 21600 }, { 12 MSO_I, 2 MSO_I }, { 0, 0 }, { 3 MSO_I, 21 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 24 MSO_I }, { 0, 0 }, { 3 MSO_I, 21 MSO_I }, { 17 MSO_I, 24 MSO_I }, { 4 MSO_I, 0 } }; static const sal_uInt16 mso_sptCurvedDownSegm[] = { 0xa508, 0xa304, 0x6000, 0x8000, 0xa604, 0x0003, 0xa308, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedDownCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, { 0x2001, { 0x403, 1, 2 } }, { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, { 0x2001, { 0x406, 1, 2 } }, { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }, { 0xa00f, { 0x409, 21600, 0x404 } }, { 0x6000, { 0x404, 0x40a, 0 } }, { 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } }, { 0x6000, { 0x407, 0x40a, 0 } }, { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } }, { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x40f, 1, 2 } }, { 0x6002, { 0x404, 0x407, 0 } }, { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, { 0x2001, { 0x412, 1, 2 } }, { 0xa000, { 0x411, 0, 0x413 } }, { 0x0001, { 21600, 2, 1 } }, { 0xa000, { 0x411, 0, 0x404 } }, { 0x600f, { 0x416, 0x404, 21600 } }, { 0x8000, { 21600, 0, 0x417 } }, { 0x2000, { 0x408, 128, 0 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x2000, { 0x405, 0, 128 } }, { 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } }, { 0x600f, { 0x414, 0x404, 21600 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x41e, 1, 2 } }, { 0x0001, { 21600, 21600, 1 } }, { 0x6001, { 0x409, 0x409, 1 } }, { 0xa000, { 0x420, 0, 0x421 } }, { 0x200d, { 0x422, 0, 0 } }, { 0x2000, { 0x423, 21600, 0 } }, { 0x8001, { 21600, 21600, 0x424 } }, { 0x2000, { 0x425, 64, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x600f, { 0x41f, 0x427, 21600 } }, { 0x8000, { 21600, 0, 0x428 } }, { 0x2000, { 0x429, 64, 0 } }, { 0x2001, { 0x404, 1, 2 } }, { 0xa000, { DFF_Prop_adjust2Value, 0, 0x42b } }, { 0x0001, { 21600, 2195, 16384 } }, { 0x0001, { 21600, 14189, 16384 } } }; static const sal_Int32 mso_sptCurvedDownDefault[] = { 3, 12960, 19440, 14400 }; static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] = { { { 43 MSO_I, 45 MSO_I }, { 44 MSO_I, 46 MSO_I } } }; static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] = { { 17 MSO_I, 0 }, { 16 MSO_I, 21600 }, { 12 MSO_I, 2 MSO_I }, { 8 MSO_I, 21600 }, { 14 MSO_I, 2 MSO_I } }; static const SvxMSDffHandle mso_sptCurvedDownHandles[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 21600, 10800, 10800, 3 + 0x26, 3 + 0x1b, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 21600, 10800, 10800, 3 + 0x19, 21600, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 21600, 0x102, 10800, 10800, 3375, 21600, 3 + 0x2a, 21600 } }; static const mso_CustomShape msoCurvedDownArrow = { (SvxMSDffVertPair*)mso_sptCurvedDownVert, sizeof( mso_sptCurvedDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedDownCalc, sizeof( mso_sptCurvedDownCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedDownDefault, (SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, sizeof( mso_sptCurvedDownTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, sizeof( mso_sptCurvedDownGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCurvedDownHandles, sizeof( mso_sptCurvedDownHandles ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedUpVert[] = { { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I }, { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 12 MSO_I, 2 MSO_I }, { 13 MSO_I, 2 MSO_I }, { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I }, { 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 10 MSO_I, 2 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 }, { 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I } }; static const sal_uInt16 mso_sptCurvedUpSegm[] = { 0xa408, 0x0003, 0xa508, 0x6000, 0x8000, 0xa604, 0xaa00, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedUpCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, { 0x2001, { 0x403, 1, 2 } }, { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, { 0x2001, { 0x406, 1, 2 } }, { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, { 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } }, { 0x6000, { 0x404, 0x409, 0 } }, { 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } }, { 0x6000, { 0x407, 0x409, 0 } }, { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } }, { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x40e, 1, 2 } }, { 0x6002, { 0x404, 0x407, 0 } }, { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, { 0x2001, { 0x411, 1, 2 } }, { 0xa000, { 0x410, 0, 0x412 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0000, { 0, 0, 21600 } }, { 0xa000, { 0x410, 0, 0x404 } }, { 0x600f, { 0x417, 0x404, 21600 } }, { 0x2000, { 0x408, 128, 0 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x2000, { 0x405, 0, 128 } }, { 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x41d, 1, 2 } }, { 0x0001, { 21600, 21600, 1 } }, { 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } }, { 0xa000, { 0x41f, 0, 0x420 } }, { 0x200d, { 0x421, 0, 0 } }, { 0x2000, { 0x422, 21600, 0 } }, { 0x8001, { 21600, 21600, 0x423 } }, { 0x2000, { 0x424, 64, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x600f, { 0x41e, 0x426, 21600 } }, { 0x2000, { 0x427, 0, 64 } }, { 0x2001, { 0x404, 1, 2 } }, { 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } }, { 0x0001, { 21600, 2195, 16384 } }, { 0x0001, { 21600, 14189, 16384 } } }; static const sal_Int32 mso_sptCurvedUpDefault[] = { 3, 12960, 19440, 7200 }; static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect[] = { { { 41 MSO_I, 43 MSO_I }, { 42 MSO_I, 44 MSO_I } } }; static const SvxMSDffVertPair mso_sptCurvedUpGluePoints[] = { { 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 } }; static const SvxMSDffHandle mso_sptCurvedUpHandles[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 } }; static const mso_CustomShape msoCurvedUpArrow = { (SvxMSDffVertPair*)mso_sptCurvedUpVert, sizeof( mso_sptCurvedUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedUpDefault, (SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, sizeof( mso_sptCurvedUpTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, sizeof( mso_sptCurvedUpGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCurvedUpHandles, sizeof( mso_sptCurvedUpHandles ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedRightVert[] = { { 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 }, { 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I }, { 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 }, { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 MSO_I }, { 26 MSO_I, 17 MSO_I } }; static const sal_uInt16 mso_sptCurvedRightSegm[] = { 0xa408, 0x0003, 0xa508, 0x6000, 0x8000, 0xa404, 0xaa00, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedRightCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, { 0x2001, { 0x403, 1, 2 } }, { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, { 0x2001, { 0x406, 1, 2 } }, { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }, { 0xa00f, { 0x409, 21600, 0x404 } }, { 0x6000, { 0x404, 0x40a, 0 } }, { 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } }, { 0x6000, { 0x407, 0x40a, 0 } }, { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } }, { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x40f, 1, 2 } }, { 0x6002, { 0x404, 0x407, 0 } }, { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, { 0x2001, { 0x412, 1, 2 } }, { 0xa000, { 0x411, 0, 0x413 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0001, { 21600, 2, 1 } }, { 0xa000, { 0x411, 0, 0x404 } }, { 0x600f, { 0x418, 0x404, 21600 } }, { 0x8000, { 21600, 0, 0x419 } }, { 0x2000, { 0x408, 128, 0 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x2000, { 0x405, 0, 128 } }, { 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } }, { 0x600f, { 0x414, 0x404, 21600 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x420, 1, 2 } }, { 0x0001, { 21600, 21600, 1 } }, { 0x6001, { 0x409, 0x409, 1 } }, { 0xa000, { 0x422, 0, 0x423 } }, { 0x200d, { 0x424, 0, 0 } }, { 0x2000, { 0x425, 21600, 0 } }, { 0x8001, { 21600, 21600, 0x426 } }, { 0x2000, { 0x427, 64, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x600f, { 0x421, 0x429, 21600 } }, { 0x8000, { 21600, 0, 0x42a } }, { 0x2000, { 0x42b, 64, 0 } }, { 0x2001, { 0x404, 1, 2 } }, { 0xa000, { DFF_Prop_adjust2Value, 0, 0x42d } }, { 0x0001, { 21600, 2195, 16384 } }, { 0x0001, { 21600, 14189, 16384 } } }; static const sal_Int32 mso_sptCurvedRightDefault[] = { 3, 12960, 19440, 14400 }; static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect[] = { { { 47 MSO_I, 45 MSO_I }, { 48 MSO_I, 46 MSO_I } } }; static const SvxMSDffVertPair mso_sptCurvedRightGluePoints[] = { { 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 } }; static const SvxMSDffHandle mso_sptCurvedRightHandles[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 } }; static const mso_CustomShape msoCurvedRightArrow = { (SvxMSDffVertPair*)mso_sptCurvedRightVert, sizeof( mso_sptCurvedRightVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedRightDefault, (SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, sizeof( mso_sptCurvedRightTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, sizeof( mso_sptCurvedRightGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCurvedRightHandles, sizeof( mso_sptCurvedRightHandles ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedLeftVert[] = { { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I }, { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 2 MSO_I, 12 MSO_I }, { 2 MSO_I, 13 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 11 MSO_I }, { 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 2 MSO_I, 10 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I }, { 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 24 MSO_I, 16 MSO_I } }; static const sal_uInt16 mso_sptCurvedLeftSegm[] = { 0xa608, 0x0003, 0xa308, 0x6000, 0x8000, 0xa404, 0xaa00, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedLeftCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } }, { 0x2001, { 0x403, 1, 2 } }, { 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } }, { 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } }, { 0x2001, { 0x406, 1, 2 } }, { 0x4002, { 21600, DFF_Prop_adjustValue, 0 } }, { 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } }, { 0x6000, { 0x404, 0x409, 0 } }, { 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } }, { 0x6000, { 0x407, 0x409, 0 } }, { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } }, { 0xa000, { 0x405, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x40e, 1, 2 } }, { 0x6002, { 0x404, 0x407, 0 } }, { 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } }, { 0x2001, { 0x411, 1, 2 } }, { 0xa000, { 0x410, 0, 0x412 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0000, { 21600, 0, 0 } }, { 0x0000, { 0, 0, 21600 } }, { 0xa000, { 0x410, 0, 0x404 } }, { 0x600f, { 0x417, 0x404, 21600 } }, { 0x2000, { 0x408, 128, 0 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x2000, { 0x405, 0, 128 } }, { 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x41d, 1, 2 } }, { 0x0001, { 21600, 21600, 1 } }, { 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } }, { 0xa000, { 0x41f, 0, 0x420 } }, { 0x200d, { 0x421, 0, 0 } }, { 0x2000, { 0x422, 21600, 0 } }, { 0x8001, { 21600, 21600, 0x423 } }, { 0x2000, { 0x424, 64, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x600f, { 0x41e, 0x426, 21600 } }, { 0x2000, { 0x427, 0, 64 } }, { 0x2001, { 0x404, 1, 2 } }, { 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } }, { 0x0001, { 21600, 2195, 16384 } }, { 0x0001, { 21600, 14189, 16384 } } }; static const sal_Int32 mso_sptCurvedLeftDefault[] = { 3, 12960, 19440, 7200 }; static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect[] = { { { 43 MSO_I, 41 MSO_I }, { 44 MSO_I, 42 MSO_I } } }; static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints[] = { { 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 } }; static const SvxMSDffHandle mso_sptCurvedLeftHandles[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 } }; static const mso_CustomShape msoCurvedLeftArrow = { (SvxMSDffVertPair*)mso_sptCurvedLeftVert, sizeof( mso_sptCurvedLeftVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedLeftCalc, sizeof( mso_sptCurvedLeftCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedLeftDefault, (SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, sizeof( mso_sptCurvedLeftTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, sizeof( mso_sptCurvedLeftGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCurvedLeftHandles, sizeof( mso_sptCurvedLeftHandles ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptStripedRightArrowVert[] = // adjustment1 : x 3375 - 21600 { // adjustment2 : y 0 - 10800 { 3375, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 3375, 2 MSO_I }, { 0, 0 MSO_I }, { 675, 0 MSO_I }, { 675, 2 MSO_I }, { 0, 2 MSO_I }, { 1350, 0 MSO_I }, { 2700, 0 MSO_I }, { 2700, 2 MSO_I }, { 1350, 2 MSO_I } }; static const sal_uInt16 mso_sptStripedRightArrowSegm[] = { 0x4000, 0x0006, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc[] = { { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 21600, 0, 0x401 } }, { 0x6001, { 0x403, 0x400, 10800 } }, { 0x6000, { 0x401, 0x404, 0 } } }; static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect[] = { { { 3375, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } } }; static const SvxMSDffHandle mso_sptStripedRightArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 } }; static const mso_CustomShape msoStripedRightArrow = { (SvxMSDffVertPair*)mso_sptStripedRightArrowVert, sizeof( mso_sptStripedRightArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, sizeof( mso_sptStripedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, sizeof( mso_sptStripedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptStripedRightArrowHandle, sizeof( mso_sptStripedRightArrowHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptNotchedRightArrowVert[] = // adjustment1 : x 0 - 21600 (default 16200) { // adjustment2 : y 0 - 10800 (default 5400) { 0, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }, { 5 MSO_I, 10800 }, { 0, 1 MSO_I } }; static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjust2Value } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, { 0x6001, { 0x403, 0x404, 10800 } } }; static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptNotchedRightArrowHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 } }; static const mso_CustomShape msoNotchedRightArrow = { (SvxMSDffVertPair*)mso_sptNotchedRightArrowVert, sizeof( mso_sptNotchedRightArrowVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, sizeof( mso_sptNotchedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, sizeof( mso_sptNotchedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, sizeof( mso_sptNotchedRightArrowHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptHomePlateVert[] = // adjustment1 : x 0 - 21600 { { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 }, { 0, 21600 } }; static const sal_uInt16 mso_sptHomePlateSegm[] = { 0x4000, 0x0004, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptHomePlateCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } }; static const sal_Int32 mso_sptHomePlateDefault[] = { 1, 16200 }; static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptHomePlateHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoHomePlate = { (SvxMSDffVertPair*)mso_sptHomePlateVert, sizeof( mso_sptHomePlateVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptHomePlateCalc, sizeof( mso_sptHomePlateCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptHomePlateDefault, (SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, sizeof( mso_sptHomePlateTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptHomePlateHandle, sizeof( mso_sptHomePlateHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptChevronVert[] = // adjustment1 : x 0 - 21600 { { 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 }, { 0, 21600 }, { 1 MSO_I, 10800 } }; static const sal_uInt16 mso_sptChevronSegm[] = { 0x4000, 0x0005, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptChevronCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, 0x0400 } } }; static const sal_Int32 mso_sptChevronDefault[] = { 1, 16200 }; static const SvxMSDffTextRectangles mso_sptChevronTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptChevronHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoChevron = { (SvxMSDffVertPair*)mso_sptChevronVert, sizeof( mso_sptChevronVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptChevronCalc, sizeof( mso_sptChevronCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptChevronDefault, (SvxMSDffTextRectangles*)mso_sptChevronTextRect, sizeof( mso_sptChevronTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptChevronHandle, sizeof( mso_sptChevronHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptRightArrowCalloutVert[] = // adjustment1 : x 0 - 21000 { // adjustment2 : y 0 - 10800 { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0 MSO_I, 5 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 } }; static const sal_uInt16 mso_sptRightArrowCalloutSegm[] = { 0x4000, 0x000a, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptRightArrowCalloutDefault[] = { 4, 14400, 5400, 18000, 8100 }; static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] = { { { 0, 0 }, { 0 MSO_I, 21600 } } }; static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x100, 0, 10800, 10800, 0, 0x102, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoRightArrowCallout = { (SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, sizeof( mso_sptRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, sizeof( mso_sptRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptRightArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, sizeof( mso_sptRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, sizeof( mso_sptRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert[] = // adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800 { // adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800 { 0 MSO_I, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptLeftArrowCalloutSegm[] = { 0x4000, 0x000a, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptLeftArrowCalloutDefault[] = { 4, 7200, 5400, 3600, 8100 }; static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] = { { { 0 MSO_I, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 21600, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoLeftArrowCallout = { (SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, sizeof( mso_sptLeftArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, sizeof( mso_sptLeftArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, sizeof( mso_sptLeftArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, sizeof( mso_sptLeftArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptUpArrowCalloutVert[] = { { 21600, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 MSO_I } }; static const sal_uInt16 mso_sptUpArrowCalloutSegm[] = { 0x4000, 0x000a, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptUpArrowCalloutDefault[] = { 4, 7200, 5400, 3600, 8100 }; static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] = { { { 0, 0 MSO_I }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 21600 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoUpArrowCallout = { (SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, sizeof( mso_sptUpArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, sizeof( mso_sptUpArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptUpArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, sizeof( mso_sptUpArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, sizeof( mso_sptUpArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptDownArrowCalloutVert[] = { { 0, 0 MSO_I }, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 5 MSO_I, 0 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I } }; static const sal_uInt16 mso_sptDownArrowCalloutSegm[] = { 0x4000, 0x000a, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptDownArrowCalloutDefault[] = { 4, 14400, 5400, 18000, 8100 }; static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] = { { { 0, 0 }, { 21600, 0 MSO_I } } }; static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x102 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x101, 1, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoDownArrowCallout = { (SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, sizeof( mso_sptDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, sizeof( mso_sptDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDownArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, sizeof( mso_sptDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, sizeof( mso_sptDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert[] = { { 0 MSO_I, 0 }, { 4 MSO_I, 0 }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm[] = { 0x4000, 0x0011, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0400 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0402 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptLeftRightArrowCalloutDefault[] = { 4, 5400, 5500, 2700, 8100 }; static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] = { { { 0 MSO_I, 0 }, { 4 MSO_I, 21600 } } }; static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x100, 0, 10800, 10800, 0x102, 10800, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoLeftRightArrowCallout = { (SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, sizeof( mso_sptLeftRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, sizeof( mso_sptLeftRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptLeftRightArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, sizeof( mso_sptLeftRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, sizeof( mso_sptLeftRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert[] = { { 0, 0 MSO_I }, { 0, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 1 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 21600, 4 MSO_I }, { 21600, 0 MSO_I }, { 7 MSO_I, 0 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 10800, 0 }, { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I } }; static const sal_uInt16 mso_sptUpDownArrowCalloutSegm[] = { 0x4000, 0x0011, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0400 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0402 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptUpDownArrowCalloutDefault[] = { 4, 5400, 5500, 2700, 8100 }; static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] = { { { 0, 0 MSO_I }, { 21600, 4 MSO_I } } }; static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoUpDownArrowCallout = { (SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, sizeof( mso_sptUpDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, sizeof( mso_sptUpDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptUpDownArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, sizeof( mso_sptUpDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, sizeof( mso_sptUpDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert[] = { { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 }, { 5 MSO_I, 2 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 7 MSO_I, 0 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 4 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 5 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 6 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptQuadArrowCalloutSegm[] = { 0x4000, 0x001f, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x8000, { 21600, 0, 0x0400 } }, { 0x8000, { 21600, 0, 0x0401 } }, { 0x8000, { 21600, 0, 0x0402 } }, { 0x8000, { 21600, 0, 0x0403 } } }; static const sal_Int32 mso_sptQuadArrowCalloutDefault[] = { 4, 5400, 8100, 2700, 9400 }; static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] = { { { 0 MSO_I, 0 MSO_I }, { 4 MSO_I, 4 MSO_I } } }; static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 0x101 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0, 10800, 10800, 0x100, 10800, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 } }; static const mso_CustomShape msoQuadArrowCallout = { (SvxMSDffVertPair*)mso_sptQuadArrowCalloutVert, sizeof( mso_sptQuadArrowCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, sizeof( mso_sptQuadArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptQuadArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, sizeof( mso_sptQuadArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, sizeof( mso_sptQuadArrowCalloutHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCircularArrowVert[] = { { 0x03 MSO_I, 0x03 MSO_I }, { 0x14 MSO_I, 0x14 MSO_I }, { 0x13 MSO_I, 0x12 MSO_I }, { 0x11 MSO_I, 0x10 MSO_I }, { 0, 0 }, { 21600, 21600 }, { 0x09 MSO_I, 0x08 MSO_I }, { 0x0B MSO_I, 0x0A MSO_I }, { 0x18 MSO_I, 0x17 MSO_I }, { 0x2F MSO_I, 0x2E MSO_I }, { 0x1D MSO_I, 0x1C MSO_I } }; static const sal_uInt16 mso_sptCircularArrowSegm[] = { 0xa404, 0xa504, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptCircularArrowCalc[] = { { 0x2000, { 0x0147, 0x0000, 0x0000 } }, { 0x2000, { 0x0148, 0x0000, 0x0000 } }, { 0x2000, { 0x0149, 0x0000, 0x0000 } }, { 0x4000, { 0x2A30, 0x0149, 0x0000 } }, { 0x4009, { 0x2A30, 0x0147, 0x0000 } }, { 0x400A, { 0x2A30, 0x0147, 0x0000 } }, { 0x4009, { 0x2A30, 0x0148, 0x0000 } }, { 0x400A, { 0x2A30, 0x0148, 0x0000 } }, { 0x2000, { 0x0404, 0x2A30, 0x0000 } }, { 0x2000, { 0x0405, 0x2A30, 0x0000 } }, { 0x2000, { 0x0406, 0x2A30, 0x0000 } }, { 0x2000, { 0x0407, 0x2A30, 0x0000 } }, { 0x6009, { 0x0403, 0x0147, 0x0000 } }, { 0x600A, { 0x0403, 0x0147, 0x0000 } }, { 0x6009, { 0x0403, 0x0148, 0x0000 } }, { 0x600A, { 0x0403, 0x0148, 0x0000 } }, { 0x2000, { 0x040C, 0x2A30, 0x0000 } }, { 0x2000, { 0x040D, 0x2A30, 0x0000 } }, { 0x2000, { 0x040E, 0x2A30, 0x0000 } }, { 0x2000, { 0x040F, 0x2A30, 0x0000 } }, { 0x8000, { 0x5460, 0x0000, 0x0403 } }, { 0x4009, { 0x34BC, 0x0148, 0x0000 } }, { 0x400A, { 0x34BC, 0x0148, 0x0000 } }, { 0x2000, { 0x0415, 0x2A30, 0x0000 } }, { 0x2000, { 0x0416, 0x2A30, 0x0000 } }, { 0x2000, { 0x0149, 0x0000, 0x0A8C } }, { 0x6009, { 0x0419, 0x0148, 0x0000 } }, { 0x600A, { 0x0419, 0x0148, 0x0000 } }, { 0x2000, { 0x041A, 0x2A30, 0x0000 } }, { 0x2000, { 0x041B, 0x2A30, 0x0000 } }, { 0xA000, { 0x041D, 0x0000, 0x0418 } }, { 0xA000, { 0x041D, 0x0000, 0x0418 } }, { 0x6001, { 0x041E, 0x041F, 0x0001 } }, { 0xA000, { 0x041C, 0x0000, 0x0417 } }, { 0xA000, { 0x041C, 0x0000, 0x0417 } }, { 0x6001, { 0x0421, 0x0422, 0x0001 } }, { 0x6000, { 0x0420, 0x0423, 0x0000 } }, { 0x200D, { 0x0424, 0x0000, 0x0000 } }, { 0x200E, { 0x0148, 0x002D, 0x0000 } }, { 0x6009, { 0x0425, 0x0426, 0x0000 } }, { 0x200E, { 0x0148, 0x002D, 0x0000 } }, { 0x600A, { 0x0425, 0x0428, 0x0000 } }, { 0x000E, { 0x0000, 0x002D, 0x0000 } }, { 0x6009, { 0x0427, 0x042A, 0x0000 } }, { 0x000E, { 0x0000, 0x002D, 0x0000 } }, { 0x6009, { 0x0429, 0x042C, 0x0000 } }, { 0x6000, { 0x041C, 0x042B, 0x0000 } }, { 0x6000, { 0x041D, 0x042D, 0x0000 } } }; static const sal_Int32 mso_sptCircularArrowDefault[] = { 3, 180, 0, 5500 }; static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] = // todo { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffHandle mso_sptCircularArrowHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 10800, 0x100, 10800, 10800, 10800, 10800, 0xff4c0000, 0x00b40000 }, { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x102, 0x101, 10800, 10800, 0, 10800, 0xff4c0000, 0x00b40000 } }; static const mso_CustomShape msoCircularArrow = { (SvxMSDffVertPair*)mso_sptCircularArrowVert, sizeof( mso_sptCircularArrowVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCircularArrowCalc, sizeof( mso_sptCircularArrowCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCircularArrowDefault, (SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, sizeof( mso_sptCircularArrowTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCircularArrowHandle, sizeof( mso_sptCircularArrowHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptCubeVert[] = { { 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 }, { 0, 1 MSO_I }, { 2 MSO_I, 0 }, { 11 MSO_I, 0 }, { 4 MSO_I, 1 MSO_I }, { 4 MSO_I, 12 MSO_I }, { 4 MSO_I, 1 MSO_I }, { 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptCubeSegm[] = { 0x4000, 0x0005, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptCubeCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } }, { 0x6000, { DFF_Prop_geoLeft, 0x400, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x402 } }, // 5 { 0x2001, { 0x405, 1, 2 } }, // 6 { 0x6000, { 0x402, 0x406, 0 } }, // 7 { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } }, // 8 { 0x2001, { 0x408, 1, 2 } }, // 9 { 0x6000, { 0x401, 0x409, 0 } }, // 10 { 0x2000, { DFF_Prop_geoRight, 0, 0 } }, // 11 { 0x2000, { DFF_Prop_geoBottom, 0, 0 } } // 12 }; static const SvxMSDffTextRectangles mso_sptCubeTextRect[] = { { { 0, 1 MSO_I }, { 4 MSO_I, 12 MSO_I } } }; static const SvxMSDffHandle mso_sptCubeHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } }; static const SvxMSDffVertPair mso_sptCubeGluePoints[] = { { 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 } }; static const mso_CustomShape msoCube = { (SvxMSDffVertPair*)mso_sptCubeVert, sizeof( mso_sptCubeVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCubeCalc, sizeof( mso_sptCubeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptCubeTextRect, sizeof( mso_sptCubeTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptCubeGluePoints, sizeof( mso_sptCubeGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCubeHandle, sizeof( mso_sptCubeHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptBevelVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I } }; static const sal_uInt16 mso_sptBevelSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptBevelCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } }; static const SvxMSDffTextRectangles mso_sptBevelTextRect[] = { { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } } }; static const SvxMSDffHandle mso_sptBevelHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBevel = { (SvxMSDffVertPair*)mso_sptBevelVert, sizeof( mso_sptBevelVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBevelCalc, sizeof( mso_sptBevelCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptBevelTextRect, sizeof( mso_sptBevelTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptBevelHandle, sizeof( mso_sptBevelHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptFoldedCornerVert[] = // adjustment1 : x 10800 - 21600 { { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 }, { 0 MSO_I, 21600 }, { 3 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 21600, 0 MSO_I } }; static const sal_uInt16 mso_sptFoldedCornerSegm[] = { 0x4000, 0x0004, 0x6001, 0x8000, 0x4000, 0x0001, 0x2001, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptFoldedCornerCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, 0x400 } }, { 0x2001, { 0x0401, 8000, 10800 } }, { 0x8000, { 21600, 0, 0x0402 } }, { 0x2001, { 0x0401, 1, 2 } }, { 0x2001, { 0x0401, 1, 4 } }, { 0x2001, { 0x0401, 1, 7 } }, { 0x2001, { 0x0401, 1, 16 } }, { 0x6000, { 0x0403, 0x405, 0 } }, { 0x6000, { 0x0400, 0x406, 0 } }, { 0x8000, { 21600, 0, 0x404 } }, { 0x6000, { 0x400, 0x407, 0 } } }; static const sal_Int32 mso_sptFoldedCornerDefault[] = { 1, 18900 }; static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] = { { { 0, 0 }, { 21600, 11 MSO_I } } }; static const SvxMSDffHandle mso_sptFoldedCornerHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 1, 10800, 10800, 10800, 21600, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoFoldedCorner = { (SvxMSDffVertPair*)mso_sptFoldedCornerVert, sizeof( mso_sptFoldedCornerVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, sizeof( mso_sptFoldedCornerCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptFoldedCornerDefault, (SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, sizeof( mso_sptFoldedCornerTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptFoldedCornerHandle, sizeof( mso_sptFoldedCornerHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonBlankVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I } }; static const sal_uInt16 mso_sptActionButtonBlankSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } }; static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] = { { { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } } }; static const SvxMSDffHandle mso_sptButtonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoActionButtonBlank = { (SvxMSDffVertPair*)mso_sptActionButtonBlankVert, sizeof( mso_sptActionButtonBlankVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, sizeof( mso_sptActionButtonBlankCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, sizeof( mso_sptActionButtonBlankTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffTextRectangles mso_sptActionButtonTextRect[] = { { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } } }; static const SvxMSDffVertPair mso_sptActionButtonHomeVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 7 MSO_I, 0xa MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x14 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1e MSO_I, 8 MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },{ 0x12 MSO_I, 0x14 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x20 MSO_I, 0x1a MSO_I } }; static const sal_uInt16 mso_sptActionButtonHomeSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x000a, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0007, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8000, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0408, 0 } }, // a { 0x4001, { 2960, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0407, 0 } }, // c { 0x4001, { -5000, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0408, 0 } }, // e { 0x4001, { -7000, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 { 0x4001, { 5000, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 { 0x4001, { -2960, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 { 0x4001, { 8000, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415,0x0407, 0 } }, // 16 { 0x4001, { 6100, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417,0x0407, 0 } }, // 18 { 0x4001, { 8260, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a { 0x4001, { -6100, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c { 0x4001, { -8000, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e { 0x4001, { -1060, 0x0406, 1 } }, // 1f { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 { 0x4001, { 1060, 0x0406, 1 } }, // 21 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 { 0x4001, { 4020, 0x0406, 1 } }, // 23 { 0x6000, { 0x0423, 0x0408, 0 } } // 24 }; static const mso_CustomShape msoActionButtonHome = { (SvxMSDffVertPair*)mso_sptActionButtonHomeVert, sizeof( mso_sptActionButtonHomeVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, sizeof( mso_sptActionButtonHomeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonHelpVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I,4 MSO_I }, { 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 }, { 0x12 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x16 MSO_I }, // pp { 0x12 MSO_I, 0x18 MSO_I }, { 0x1a MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, // ccp { 0x1e MSO_I, 8 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I }, // ccp { 0x20 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I }, // ccp { 0x2c MSO_I, 0x2a MSO_I }, { 0x2e MSO_I, 0x26 MSO_I }, { 0x2e MSO_I, 0x24 MSO_I }, // ccp { 0x30 MSO_I, 0x24 MSO_I }, { 0x30 MSO_I, 0x32 MSO_I }, { 0x34 MSO_I, 0x36 MSO_I }, // ccp { 7 MSO_I, 0x36 MSO_I }, // p { 0x12 MSO_I, 0x36 MSO_I }, { 0x1c MSO_I, 0x32 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I }, // ccp { 0x1c MSO_I, 0x38 MSO_I }, { 0x3a MSO_I, 0x3c MSO_I }, { 0x12 MSO_I, 0x3c MSO_I }, // ccp { 7 MSO_I, 0x3c MSO_I }, { 0x34 MSO_I, 8 MSO_I }, { 0x34 MSO_I, 0x16 MSO_I }, // ccp { 0x34 MSO_I, 0x14 MSO_I } }; static const sal_uInt16 mso_sptActionButtonHelpSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0xa704, 0x6000, 0x8000, 0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -1690, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { 4600, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { 1690, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 7980, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 { 0x4001, { 1270, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 { 0x4001, { 4000, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 { 0x4001, { 1750, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 { 0x4001, { 800, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 { 0x4001, { 1650, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a { 0x4001, { 2340, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c { 0x4001, { 3640, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e { 0x4001, { 4670, 0x0406, 1 } }, // 1f { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 { 0x4001, { -1570, 0x0406, 1 } }, // 21 { 0x6000, { 0x0421, 0x0408, 0 } }, // 22 { 0x4001, { -3390, 0x0406, 1 } }, // 23 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 { 0x4001, { -6050, 0x0406, 1 } }, // 25 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 { 0x4001, { 2540, 0x0406, 1 } }, // 27 { 0x6000, { 0x0427, 0x0407, 0 } }, // 28 { 0x4001, { -8050, 0x0406, 1 } }, // 29 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a { 0x4001, { -2540, 0x0406, 1 } }, // 2b { 0x6000, { 0x042b, 0x0407, 0 } }, // 2c { 0x4001, { -4460, 0x0406, 1 } }, // 2d { 0x6000, { 0x042d, 0x0407, 0 } }, // 2e { 0x4001, { -2330, 0x0406, 1 } }, // 2f { 0x6000, { 0x042f, 0x0407, 0 } }, // 30 { 0x4001, { -4700, 0x0406, 1 } }, // 31 { 0x6000, { 0x0431, 0x0408, 0 } }, // 32 { 0x4001, { -1270, 0x0406, 1 } }, // 33 { 0x6000, { 0x0433, 0x0407, 0 } }, // 34 { 0x4001, { -5720, 0x0406, 1 } }, // 35 { 0x6000, { 0x0435, 0x0408, 0 } }, // 36 { 0x4001, { -2540, 0x0406, 1 } }, // 37 { 0x6000, { 0x0437, 0x0408, 0 } }, // 38 { 0x4001, { 1800, 0x0406, 1 } }, // 39 { 0x6000, { 0x0439, 0x0407, 0 } }, // 3a { 0x4001, { -1700, 0x0406, 1 } }, // 3b { 0x6000, { 0x043b, 0x0408, 0 } }, // 3c { 0x4001, { 6290, 0x0406, 1 } }, // 3d { 0x6000, { 0x043d, 0x0408, 0 } } // 3e }; static const mso_CustomShape msoActionButtonHelp = { (SvxMSDffVertPair*)mso_sptActionButtonHelpVert, sizeof( mso_sptActionButtonHelpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, sizeof( mso_sptActionButtonHelpCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonInformationVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 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 }, { 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 }, { 0x1a MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x28 MSO_I }, { 0x1a MSO_I, 0x28 MSO_I } }; static const sal_uInt16 mso_sptActionButtonInformationSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0xa704, 0x6000, 0x8000, 0x4000, 0xa704, 0x6000, 0x8000, 0x4000, 0x0009, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8050, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -8050, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { 8050, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 8050, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 { 0x4001, { -2060, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 { 0x4001, { -7620, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 { 0x4001, { 2060, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 { 0x4001, { -3500, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 { 0x4001, { -2960, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a { 0x4001, { -2960, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c { 0x4001, { 1480, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e { 0x4001, { 5080, 0x0406, 1 } }, // 1f { 0x6000, { 0x041f, 0x0408, 0 } }, // 20 { 0x4001, { 2960, 0x0406, 1 } }, // 21 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 { 0x4001, { 6140, 0x0406, 1 } }, // 23 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 { 0x4001, { -1480, 0x0406, 1 } }, // 25 { 0x6000, { 0x0425, 0x0407, 0 } }, // 26 { 0x4001, { -1920, 0x0406, 1 } }, // 27 { 0x6000, { 0x0427, 0x0408, 0 } }, // 28 { 0x4001, { -5560, 0x0406, 1 } }, // 29 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a }; static const mso_CustomShape msoActionButtonInformation = { (SvxMSDffVertPair*)mso_sptActionButtonInformationVert, sizeof( mso_sptActionButtonInformationVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, sizeof( mso_sptActionButtonInformationCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I,4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I } }; static const sal_uInt16 mso_sptActionButtonForwardBackSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8050, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -8050, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { 8050, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 8050, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } } // 10 }; static const mso_CustomShape msoActionButtonBackPrevious = { (SvxMSDffVertPair*)mso_sptActionButtonBackPreviousVert, sizeof( mso_sptActionButtonBackPreviousVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0xa MSO_I, 0x10 MSO_I } }; static const mso_CustomShape msoActionButtonForwardNext = { (SvxMSDffVertPair*)mso_sptActionButtonForwardNextVert, sizeof( mso_sptActionButtonForwardNextVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonBeginningVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I } }; static const sal_uInt16 mso_sptActionButtonBeginningEndSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -4020, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -8050, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { 8050, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 8050, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 { 0x4001, { -8050, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12 { 0x4001, { -6140, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 { 0x4001, { 4020, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 { 0x4001, { 6140, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0407, 0 } } // 18 }; static const mso_CustomShape msoActionButtonBeginning = { (SvxMSDffVertPair*)mso_sptActionButtonBeginningVert, sizeof( mso_sptActionButtonBeginningVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonEndVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0xc MSO_I } }; static const mso_CustomShape msoActionButtonEnd = { (SvxMSDffVertPair*)mso_sptActionButtonEndVert, sizeof( mso_sptActionButtonEndVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonReturnVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, // ppp { 0xe MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 0x16 MSO_I }, // ccp { 7 MSO_I, 0x16 MSO_I }, // p { 0x1a MSO_I, 0x16 MSO_I }, { 0x1c MSO_I, 0x12 MSO_I }, { 0x1c MSO_I, 0x10 MSO_I }, // ccp { 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 { 0x24 MSO_I, 0xc MSO_I }, { 0x24 MSO_I, 0x10 MSO_I }, // pp { 0x24 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I }, // ccp { 0x18 MSO_I, 0x2a MSO_I }, // p { 0x2c MSO_I, 0x2a MSO_I }, { 0xa MSO_I, 0x26 MSO_I }, { 0xa MSO_I, 0x10 MSO_I } // ccp }; static const sal_uInt16 mso_sptActionButtonReturnSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8050, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -3800, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { -4020, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 2330, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0408, 0 } }, // 10 { 0x4001, { 3390, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 { 0x4001, { -3100, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 { 0x4001, { 4230, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 { 0x4001, { -1910, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0407, 0 } }, // 18 { 0x4001, { 1190, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a { 0x4001, { 2110, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c { 0x4001, { 4030, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e { 0x4001, { -7830, 0x0406, 1 } }, // 1f { 0x6000, { 0x041f, 0x0408, 0 } }, // 20 { 0x4001, { 8250, 0x0406, 1 } }, // 21 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22 { 0x4001, { 6140, 0x0406, 1 } }, // 23 { 0x6000, { 0x0423, 0x0407, 0 } }, // 24 { 0x4001, { 5510, 0x0406, 1 } }, // 25 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 { 0x4001, { 3180, 0x0406, 1 } }, // 27 { 0x6000, { 0x0427, 0x0407, 0 } }, // 28 { 0x4001, { 8450, 0x0406, 1 } }, // 29 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a { 0x4001, { -5090, 0x0406, 1 } }, // 2b { 0x6000, { 0x042b, 0x0407, 0 } } // 2c }; static const mso_CustomShape msoActionButtonReturn = { (SvxMSDffVertPair*)mso_sptActionButtonReturnVert, sizeof( mso_sptActionButtonReturnVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, sizeof( mso_sptActionButtonReturnCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonDocumentVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I }, { 0xa MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0xe MSO_I, 0x12 MSO_I } }; static const sal_uInt16 mso_sptActionButtonDocumentSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0004, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -6350, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -7830, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { 1690, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 6350, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 { 0x4001, { -3810, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 { 0x4001, { 7830, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0408, 0 } } // 14 }; static const mso_CustomShape msoActionButtonDocument = { (SvxMSDffVertPair*)mso_sptActionButtonDocumentVert, sizeof( mso_sptActionButtonDocumentVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, sizeof( mso_sptActionButtonDocumentCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonSoundVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0x16 MSO_I }, { 0xa MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1a MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0xc MSO_I }, { 0x1a MSO_I, 0x1c MSO_I }, { 0x18 MSO_I, 0x16 MSO_I }, { 0x1a MSO_I, 0x1e MSO_I } }; static const sal_uInt16 mso_sptActionButtonSoundSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0005, 0x6001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8050, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -2750, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { -2960, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { 2120, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 { 0x4001, { -8050, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 { 0x4001, { 8050, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14 { 0x4001, { 2750, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16 { 0x4001, { 4020, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0407, 0 } }, // 18 { 0x4001, { 8050, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a { 0x4001, { -5930, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c { 0x4001, { 5930, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0408, 0 } } // 1e }; static const mso_CustomShape msoActionButtonSound = { (SvxMSDffVertPair*)mso_sptActionButtonSoundVert, sizeof( mso_sptActionButtonSoundVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, sizeof( mso_sptActionButtonSoundCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptActionButtonMovieVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x12 MSO_I }, { 0x16 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1e MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x1e MSO_I, 0x22 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x28 MSO_I }, { 0x10 MSO_I, 0x28 MSO_I }, { 0xe MSO_I, 0x2c MSO_I }, { 0xa MSO_I, 0x2c MSO_I } }; static const sal_uInt16 mso_sptActionButtonMovieSegm[] = { 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0003, 0x6001, 0x8000, 0x4000, 0x0012, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc[] = // adj value 0 - 5400 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6 { 0x2001, { DFF_Prop_geoRight, 1, 2 } }, // lr center 7 { 0x2001, { DFF_Prop_geoBottom, 1, 2 } }, // ul center 8 { 0x4001, { -8050, 0x0406, 1 } }, // 9 { 0x6000, { 0x0409, 0x0407, 0 } }, // a { 0x4001, { -4020, 0x0406, 1 } }, // b { 0x6000, { 0x040b, 0x0408, 0 } }, // c { 0x4001, { -7000, 0x0406, 1 } }, // d { 0x6000, { 0x040d, 0x0407, 0 } }, // e { 0x4001, { -6560, 0x0406, 1 } }, // f { 0x6000, { 0x040f, 0x0407, 0 } }, // 10 { 0x4001, { -3600, 0x0406, 1 } }, // 11 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12 { 0x4001, { 4020, 0x0406, 1 } }, // 13 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14 { 0x4001, { 4660, 0x0406, 1 } }, // 15 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16 { 0x4001, { -2960, 0x0406, 1 } }, // 17 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18 { 0x4001, { -2330, 0x0406, 1 } }, // 19 { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a { 0x4001, { 6780, 0x0406, 1 } }, // 1b { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c { 0x4001, { 7200, 0x0406, 1 } }, // 1d { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e { 0x4001, { 8050, 0x0406, 1 } }, // 1f { 0x6000, { 0x041f, 0x0407, 0 } }, // 20 { 0x4001, { 2960, 0x0406, 1 } }, // 21 { 0x6000, { 0x0421, 0x0408, 0 } }, // 22 { 0x4001, { 2330, 0x0406, 1 } }, // 23 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24 { 0x4001, { 3800, 0x0406, 1 } }, // 25 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26 { 0x4001, { -1060, 0x0406, 1 } }, // 27 { 0x6000, { 0x0427, 0x0408, 0 } }, // 28 { 0x4001, { -6350, 0x0406, 1 } }, // 29 { 0x6000, { 0x0429, 0x0407, 0 } }, // 2a { 0x4001, { -640, 0x0406, 1 } }, // 2b { 0x6000, { 0x042b, 0x0408, 0 } } // 2c }; static const mso_CustomShape msoActionButtonMovie = { (SvxMSDffVertPair*)mso_sptActionButtonMovieVert, sizeof( mso_sptActionButtonMovieVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, sizeof( mso_sptActionButtonMovieCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptSmileyFaceVert[] = // adj value 15510 - 17520 { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, { 7305, 7515 }, { 1165, 1165 }, { 0, 360 }, { 14295, 7515 }, { 1165, 1165 }, { 0, 360 }, { 4870, 1 MSO_I }, { 8680, 2 MSO_I }, { 12920, 2 MSO_I }, { 16730, 1 MSO_I } }; static const sal_uInt16 mso_sptSmileyFaceSegm[] = { 0xa203, 0x6000, 0x8000, 0xa203, 0x6000, 0x8000, 0xa203, 0x6000, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000 }; static const SvxMSDffCalculationData mso_sptSmileyFaceCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 15510 } }, { 0x8000, { 17520, 0, 0x400 } }, { 0x4000, { 15510, 0x400, 0 } } }; static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect[] = { { { 0, 1 MSO_I }, { 4 MSO_I, 21600 } } }; static const sal_Int32 mso_sptSmileyFaceDefault[] = { 1, 17520 }; static const SvxMSDffHandle mso_sptSmileyHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 15510, 17520 } }; static const mso_CustomShape msoSmileyFace = { (SvxMSDffVertPair*)mso_sptSmileyFaceVert, sizeof( mso_sptSmileyFaceVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, sizeof( mso_sptSmileyFaceCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptSmileyFaceDefault, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptSmileyHandle, sizeof( mso_sptSmileyHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptDonutVert[] = // adj value 0 - 10800 { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, { 10800, 10800 }, { 1 MSO_I, 1 MSO_I }, { 0, 360 } }; static const sal_uInt16 mso_sptDonutSegm[] = { 0xa203, 0x6000, 0xa203, 0x8000 }; static const SvxMSDffCalculationData mso_sptDonutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 10800, 0, DFF_Prop_adjustValue } } }; static const SvxMSDffHandle mso_sptDonutHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoDonut = { (SvxMSDffVertPair*)mso_sptDonutVert, sizeof( mso_sptDonutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDonutCalc, sizeof( mso_sptDonutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptDonutHandle, sizeof( mso_sptDonutHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptNoSmokingVert[] = // adj value 0 - 7200 { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 9 MSO_I, 0xa MSO_I }, { 0xb MSO_I, 0xc MSO_I }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 0xd MSO_I, 0xe MSO_I }, { 0xf MSO_I, 0x10 MSO_I } }; static const sal_uInt16 mso_sptNoSmokingSegm[] = { 0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 1 { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, // 2 { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, // 3 { 0xa080, { 0x403, 0, 0x402 } }, // 4 { 0x8000, { 10800, 0, 0x403 } }, // 5 x1 { 0x4000, { 10800, 0x403, 0 } }, // 6 x2 { 0x8000, { 10800, 0, 0x404 } }, // 7 y1 { 0x4000, { 10800, 0x404, 0 } }, // 8 y2 { 0x6081, { 0x405, 0x407, 45 } }, // 9 { 0x6082, { 0x405, 0x407, 45 } }, // a { 0x6081, { 0x405, 0x408, 45 } }, // b { 0x6082, { 0x405, 0x408, 45 } }, // c { 0x6081, { 0x406, 0x408, 45 } }, // d { 0x6082, { 0x406, 0x408, 45 } }, // e { 0x6081, { 0x406, 0x407, 45 } }, // f { 0x6082, { 0x406, 0x407, 45 } } // 10 }; static const SvxMSDffHandle mso_sptNoSmokingHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0, 7200, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoNoSmoking = { (SvxMSDffVertPair*)mso_sptNoSmokingVert, sizeof( mso_sptNoSmokingVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptNoSmokingCalc, sizeof( mso_sptNoSmokingCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptNoSmokingHandle, sizeof( mso_sptNoSmokingHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBlockArcVert[] = // adj value 0 (degrees) { // adj value 1: 0 -> 10800; { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 5 MSO_I, 5 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptBlockArcSegm[] = { 0xA404, 0xa504, 0x6001, 0x8000 }; static const sal_Int32 mso_sptBlockArcDefault[] = { 2, 180, 5400 }; static const SvxMSDffCalculationData mso_sptBlockArcCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x402 } }, { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, { 0x4000, { 10800, DFF_Prop_adjust2Value, 0 } }, { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } } }; static const SvxMSDffHandle mso_sptBlockArcHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBlockArc = { (SvxMSDffVertPair*)mso_sptBlockArcVert, sizeof( mso_sptBlockArcVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBlockArcCalc, sizeof( mso_sptBlockArcCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBlockArcDefault, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBlockArcHandle, sizeof( mso_sptBlockArcHandle ) / sizeof( SvxMSDffHandle ) // handles }; // aware : control points are always part of the bounding box static const SvxMSDffVertPair mso_sptHeartVert[] = { { 10800, 21599 }, { 321, 6886 }, { 70, 6036 }, // ppp { -9, 5766 }, { -1, 5474 }, { 2, 5192 }, // ccp { 6, 4918 }, { 43, 4641 }, { 101, 4370 }, // ccp { 159, 4103 }, { 245, 3837 }, { 353, 3582 }, // ccp { 460, 3326 }, { 591, 3077 }, { 741, 2839 }, // ccp { 892, 2598 }, { 1066, 2369 }, { 1253, 2155 }, // ccp { 1443, 1938 }, { 1651, 1732 }, { 1874, 1543 }, // ccp { 2097, 1351 }, { 2337, 1174 }, { 2587, 1014 }, // ccp { 2839, 854 }, { 3106, 708 }, { 3380, 584 }, // ccp { 3656, 459 }, { 3945, 350 }, { 4237, 264 }, // ccp { 4533, 176 }, { 4838, 108 }, { 5144, 66 }, // ccp { 5454, 22 }, { 5771, 1 }, { 6086, 3 }, // ccp { 6407, 7 }, { 6731, 35 }, { 7048, 89 }, // ccp { 7374, 144 }, { 7700, 226 }, { 8015, 335 }, // ccp { 8344, 447 }, { 8667, 590 }, { 8972, 756 }, // ccp { 9297, 932 }, { 9613, 1135 }, { 9907, 1363 }, // ccp { 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 }, // ccp { 11697, 1363 }, // p { 11971, 1116 }, { 12304, 934 }, { 12630, 756 }, // ccp { 12935, 590 }, { 13528, 450 }, { 13589, 335 }, // ccp { 13901, 226 }, { 14227, 144 }, { 14556, 89 }, // ccp { 14872, 35 }, { 15195, 7 }, { 15517, 3 }, // ccp { 15830, 0 }, { 16147, 22 }, { 16458, 66 }, // ccp { 16764, 109 }, { 17068, 177 }, { 17365, 264 }, // ccp { 17658, 349 }, { 17946, 458 }, { 18222, 584 }, // ccp { 18496, 708 }, { 18762, 854 }, { 19015, 1014 }, // ccp { 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 }, // ccp { 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 }, // ccp { 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 }, // ccp { 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 }, // ccp { 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 }, // ccp { 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 }, // ccp { 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 }, // ccp { 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 }, // ccp { 10802, 21602 } // p }; static const sal_uInt16 mso_sptHeartSegm[] = { 0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptHeartTextRect[] = { { { 5080, 2540 }, { 16520, 13550 } } }; static const SvxMSDffVertPair mso_sptHeartGluePoints[] = { { 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 } }; static const mso_CustomShape msoHeart = { (SvxMSDffVertPair*)mso_sptHeartVert, sizeof( mso_sptHeartVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptHeartTextRect, sizeof( mso_sptHeartTextRect ) / sizeof( SvxMSDffTextRectangles ), 21615, 21602, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptHeartGluePoints, sizeof( mso_sptHeartGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptLightningBoldVert[] = { { 8458, 0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 }, { 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 }, { 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 } }; static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect[] = { { { 8680, 7410 }, { 13970, 14190 } } }; static const SvxMSDffVertPair mso_sptLightningBoldGluePoints[] = { { 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 }, { 16558, 12016 }, { 12831, 6120 } }; static const mso_CustomShape msoLightningBold = { (SvxMSDffVertPair*)mso_sptLightningBoldVert, sizeof( mso_sptLightningBoldVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, sizeof( mso_sptLightningBoldTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, sizeof( mso_sptLightningBoldGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptSunVert[] = // adj value 2700 -> 10125 { { 0, 10800 }, { 4 MSO_I, 8 MSO_I }, { 4 MSO_I, 9 MSO_I }, { 0x0a MSO_I, 0x0b MSO_I }, { 0x0c MSO_I, 0x0d MSO_I }, { 0x0e MSO_I, 0x0f MSO_I }, { 0x10 MSO_I, 0x11 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0x14 MSO_I, 0x15 MSO_I }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x18 MSO_I, 0x19 MSO_I }, { 0x1a MSO_I, 0x1b MSO_I }, { 0x1c MSO_I, 0x1d MSO_I }, { 0x1e MSO_I, 0x1f MSO_I }, { 0x20 MSO_I, 0x21 MSO_I }, { 0x22 MSO_I, 0x23 MSO_I }, { 0x24 MSO_I, 0x25 MSO_I }, { 0x26 MSO_I, 0x27 MSO_I }, { 0x28 MSO_I, 0x29 MSO_I }, { 0x2a MSO_I, 0x2b MSO_I }, { 0x2c MSO_I, 0x2d MSO_I }, { 0x2e MSO_I, 0x2f MSO_I }, { 0x30 MSO_I, 0x31 MSO_I }, { 0x32 MSO_I, 0x33 MSO_I }, { 10800, 10800 }, { 0x36 MSO_I, 0x36 MSO_I }, { 0, 360 } }; static const sal_uInt16 mso_sptSunSegm[] = { 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0x4000, 0x0002, 0x6001, 0x8000, 0xa203, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptSunCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2000, { DFF_Prop_adjustValue, 0, 2700 } }, { 0x2001, { 0x402, 5080, 7425 } }, { 0x2000, { 0x403, 2540, 0 } }, { 0x8000, { 10125, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x405, 2120, 7425 } }, { 0x2000, { 0x406, 210, 0 } }, { 0x4000, { 10800, 0x407, 0 } }, // y1 (0x8) { 0x8000, { 10800, 0, 0x407 } }, // y2 (0x9) { 0x0081, { 0, 10800, 45 } }, // 0xa { 0x0082, { 0, 10800, 45 } }, // 0xb { 0x6081, { 0x404, 0x408, 45 } }, // 0xc { 0x6082, { 0x404, 0x408, 45 } }, // 0xd { 0x6081, { 0x404, 0x409, 45 } }, // 0xe { 0x6082, { 0x404, 0x409, 45 } }, // 0xf { 0x0081, { 0, 10800, 90 } }, // 0x10 { 0x0082, { 0, 10800, 90 } }, // 0x11 { 0x6081, { 0x404, 0x408, 90 } }, // 0x12 { 0x6082, { 0x404, 0x408, 90 } }, // 0x13 { 0x6081, { 0x404, 0x409, 90 } }, // 0x14 { 0x6082, { 0x404, 0x409, 90 } }, // 0x15 { 0x0081, { 0, 10800, 135 } }, // 0x16 { 0x0082, { 0, 10800, 135 } }, // 0x17 { 0x6081, { 0x404, 0x408, 135 } }, // 0x18 { 0x6082, { 0x404, 0x408, 135 } }, // 0x19 { 0x6081, { 0x404, 0x409, 135 } }, // 0x1a { 0x6082, { 0x404, 0x409, 135 } }, // 0x1b { 0x0081, { 0, 10800, 180 } }, // 0x1c { 0x0082, { 0, 10800, 180 } }, // 0x1d { 0x6081, { 0x404, 0x408, 180 } }, // 0x1e { 0x6082, { 0x404, 0x408, 180 } }, // 0x1f { 0x6081, { 0x404, 0x409, 180 } }, // 0x20 { 0x6082, { 0x404, 0x409, 180 } }, // 0x21 { 0x0081, { 0, 10800, 225 } }, // 0x22 { 0x0082, { 0, 10800, 225 } }, // 0x23 { 0x6081, { 0x404, 0x408, 225 } }, // 0x24 { 0x6082, { 0x404, 0x408, 225 } }, // 0x25 { 0x6081, { 0x404, 0x409, 225 } }, // 0x26 { 0x6082, { 0x404, 0x409, 225 } }, // 0x27 { 0x0081, { 0, 10800, 270 } }, // 0x28 { 0x0082, { 0, 10800, 270 } }, // 0x29 { 0x6081, { 0x404, 0x408, 270 } }, // 0x2a { 0x6082, { 0x404, 0x408, 270 } }, // 0x2b { 0x6081, { 0x404, 0x409, 270 } }, // 0x2c { 0x6082, { 0x404, 0x409, 270 } }, // 0x2d { 0x0081, { 0, 10800, 315 } }, // 0x2e { 0x0082, { 0, 10800, 315 } }, // 0x2f { 0x6081, { 0x404, 0x408, 315 } }, // 0x30 { 0x6082, { 0x404, 0x408, 315 } }, // 0x31 { 0x6081, { 0x404, 0x409, 315 } }, // 0x32 { 0x6082, { 0x404, 0x409, 315 } }, // 0x33 { 0x2081, { DFF_Prop_adjustValue, 10800, 45 } }, // 0x34 ( textbox ) { 0x2081, { DFF_Prop_adjustValue, 10800, 225 } }, // 0x35 { 0x8000, { 10800, 0, DFF_Prop_adjustValue } } }; static const SvxMSDffTextRectangles mso_sptSunTextRect[] = { { { 0x34 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x35 MSO_I } } }; static const SvxMSDffHandle mso_sptSunHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 2700, 10125, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoSun = { (SvxMSDffVertPair*)mso_sptSunVert, sizeof( mso_sptSunVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptSunCalc, sizeof( mso_sptSunCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptSunTextRect, sizeof( mso_sptSunTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptSunHandle, sizeof( mso_sptSunHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptMoonVert[] = // adj value 0 -> 18900 { { 21600, 0 }, { 3 MSO_I, 4 MSO_I }, { 0 MSO_I, 5080 }, { 0 MSO_I, 10800 }, // ccp { 0 MSO_I, 16520 }, { 3 MSO_I, 5 MSO_I }, { 21600, 21600 }, // ccp { 9740, 21600 }, { 0, 16730 }, { 0, 10800 }, // ccp { 0, 4870 }, { 9740, 0 }, { 21600, 0 } // ccp }; static const sal_uInt16 mso_sptMoonSegm[] = { 0x4000, 0x2004, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptMoonCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x401, 1, 2 } }, { 0x6000, { 0x402, DFF_Prop_adjustValue, 0 } }, { 0x2001, { DFF_Prop_adjustValue, 1794, 10000 } }, { 0x8000, { 21600, 0, 0x0404 } }, { 0x2001, { DFF_Prop_adjustValue, 400, 18900 } }, { 0x8081, { 0, 10800, 0x406 } }, { 0x8082, { 0, 10800, 0x406 } }, { 0x6000, { 0x407, 0x407, 0 } }, { 0x8000, { 21600, 0, 0x408 } } }; static const SvxMSDffTextRectangles mso_sptMoonTextRect[] = { { { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 0xa MSO_I } } }; static const SvxMSDffVertPair mso_sptMoonGluePoints[] = { { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I, 10800 } }; static const SvxMSDffHandle mso_sptMoonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0, 18900, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoMoon = { (SvxMSDffVertPair*)mso_sptMoonVert, sizeof( mso_sptMoonVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptMoonCalc, sizeof( mso_sptMoonCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptMoonTextRect, sizeof( mso_sptMoonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptMoonGluePoints, sizeof( mso_sptMoonGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptMoonHandle, sizeof( mso_sptMoonHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBracketPairVert[] = // adj value 0 -> 10800 { { 0 MSO_I, 0 }, { 0, 1 MSO_I }, // left top alignment { 0, 2 MSO_I }, { 0 MSO_I, 21600 }, // left bottom " { 3 MSO_I, 21600 }, { 21600, 2 MSO_I }, // right bottom " { 21600, 1 MSO_I }, { 3 MSO_I, 0 } // right top " }; static const sal_uInt16 mso_sptBracketPairSegm[] = { 0x4000, 0xa701, 0x0001, 0xa801, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0x8000 }; static const SvxMSDffCalculationData mso_sptBracketPairCalc[] = { { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0x2082, { DFF_Prop_adjustValue, 0, 45 } }, { 0x2000, { 0x404, 0, 10800 } }, { 0x8000, { 0, 0, DFF_Prop_adjustValue } }, { 0xa000, { 0x406, 0, 0x405 } }, { 0xa000, { DFF_Prop_geoLeft, 0, 0x407 } }, { 0xa000, { DFF_Prop_geoTop, 0, 0x407 } }, { 0x6000, { DFF_Prop_geoRight, 0x407, 0 } }, { 0x6000, { DFF_Prop_geoBottom, 0x407, 0 } }, { 0xa000, { DFF_Prop_geoLeft, 0, 0x405 } }, { 0xa000, { DFF_Prop_geoTop, 0, 0x405 } }, { 0x6000, { DFF_Prop_geoRight, 0x405, 0 } }, { 0x6000, { DFF_Prop_geoBottom, 0x405, 0 } } }; static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] = { { { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 0xb MSO_I } } }; static const SvxMSDffHandle mso_sptBracketPairHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBracketPair = { (SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault3700, (SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, sizeof( mso_sptBracketPairTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptBracketPairHandle, sizeof( mso_sptBracketPairHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const sal_uInt16 mso_sptPlaqueSegm[] = { 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] = { { { 0xc MSO_I, 0xd MSO_I }, { 0xe MSO_I, 0xf MSO_I } } }; static const SvxMSDffHandle mso_sptPlaqueHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoPlaque = { (SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault3600, (SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, sizeof( mso_sptPlaqueTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptPlaqueHandle, sizeof( mso_sptPlaqueHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBracePairVert[] = // adj value 0 -> 5400 { { 4 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 }, // left bracket { 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 4 MSO_I, 21600 }, { 8 MSO_I, 21600 }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 }, // right bracket { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 } }; static const sal_uInt16 mso_sptBracePairSegm[] = { 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000 }; static const SvxMSDffCalculationData mso_sptBracePairCalc[] = { { 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x400, 2, 1 } }, // 4 { 0x2001, { DFF_Prop_adjustValue, 2, 1 } }, // 5 { 0x8000, { 10800, 0, DFF_Prop_adjustValue } }, // 6 { 0x8000, { 21600, 0, 0x406 } }, // 7 { 0xa000, { DFF_Prop_geoRight, 0, 0x405 } }, // 8 { 0x2001, { DFF_Prop_adjustValue, 1, 3 } }, // 9 { 0x6000, { 0x409, DFF_Prop_adjustValue, 0 } }, // xa { 0x6000, { DFF_Prop_geoLeft, 0x40a, 0 } }, // xb { 0x6000, { DFF_Prop_geoTop, 0x409, 0 } }, // xc { 0xa000, { DFF_Prop_geoRight, 0, 0x40a } }, // xd { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } } // xe }; static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] = { { { 0xb MSO_I, 0xc MSO_I }, { 0xd MSO_I, 0xe MSO_I } } }; static const SvxMSDffHandle mso_sptBracePairHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 } }; static const mso_CustomShape msoBracePair = { (SvxMSDffVertPair*)mso_sptBracePairVert, sizeof( mso_sptBracePairVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracePairCalc, sizeof( mso_sptBracePairCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptBracePairTextRect, sizeof( mso_sptBracePairTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptBracePairHandle, sizeof( mso_sptBracePairHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffCalculationData mso_sptBracketCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } }, { 0x6000, { DFF_Prop_geoTop, 0x400, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } } }; static const sal_uInt16 mso_sptBracketSegm[] = { 0x4000, 0x2001, 0x0001, 0x2001, 0x8000 }; static const SvxMSDffVertPair mso_sptLeftBracketVert[] = // adj value 0 -> 10800 { { 21600, 0 }, { 10800, 0 }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 0, 2 MSO_I }, { 0, 4 MSO_I }, { 10800, 21600 }, { 21600, 21600 } }; static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect[] = { { { 6350, 3 MSO_I }, { 21600, 4 MSO_I } } }; static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] = { { 21600, 0 }, { 0, 10800 }, { 21600, 21600 } }; static const SvxMSDffHandle mso_sptLeftBracketHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoLeftBracket = { (SvxMSDffVertPair*)mso_sptLeftBracketVert, sizeof( mso_sptLeftBracketVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, sizeof( mso_sptLeftBracketTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptLeftBracketHandle, sizeof( mso_sptLeftBracketHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptRightBracketVert[] = // adj value 0 -> 10800 { { 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I }, { 21600, 1 MSO_I }, { 21600, 2 MSO_I }, { 21600, 4 MSO_I }, { 10800, 21600 }, { 0, 21600 } }; static const SvxMSDffTextRectangles mso_sptRightBracketTextRect[] = { { { 0, 3 MSO_I }, { 15150, 4 MSO_I } } }; static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] = { { 0, 0 }, { 0, 21600 }, { 21600, 10800 } }; static const SvxMSDffHandle mso_sptRightBracketHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 1, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoRightBracket = { (SvxMSDffVertPair*)mso_sptRightBracketVert, sizeof( mso_sptRightBracketVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, sizeof( mso_sptRightBracketTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptRightBracketHandle, sizeof( mso_sptRightBracketHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffCalculationData mso_sptBraceCalc[] = { { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0xa000, { 0x404, 0, DFF_Prop_adjustValue } }, { 0xa000, { 0x404, 0, 0x400 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x6000, { 0x404, 0x400, 0 } }, { 0x6000, { 0x404, DFF_Prop_adjustValue, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x8000, { 21600, 0, 0x400 } }, { 0x2001, { DFF_Prop_adjustValue, 10000, 31953 } }, { 0x8000, { 21600, 0, 0x409 } } }; static const sal_uInt16 mso_sptBraceSegm[] = { 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000 }; static const sal_Int32 mso_sptBraceDefault[] = { 2, 1800, 10800 }; static const SvxMSDffVertPair mso_sptLeftBraceVert[] = { { 21600, 0 }, // p { 16200, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I }, // ccp { 10800, 2 MSO_I }, // p { 10800, 3 MSO_I }, { 5400, 4 MSO_I }, { 0, 4 MSO_I }, // ccp { 5400, 4 MSO_I }, { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp { 10800, 7 MSO_I }, // p { 10800, 8 MSO_I }, { 16200, 21600 }, { 21600, 21600 } // ccp }; static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] = { { { 13800, 9 MSO_I }, { 21600, 10 MSO_I } } }; static const SvxMSDffHandle mso_sptLeftBraceHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }, { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoLeftBrace = // adj value0 0 -> 5400 { // adj value1 0 -> 21600 (SvxMSDffVertPair*)mso_sptLeftBraceVert, sizeof( mso_sptLeftBraceVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBraceDefault, (SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, sizeof( mso_sptLeftBraceTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptLeftBraceHandle, sizeof( mso_sptLeftBraceHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptRightBraceVert[] = { { 0, 0 }, // p { 5400, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I }, // ccp { 10800, 2 MSO_I }, // p { 10800, 3 MSO_I }, { 16200, 4 MSO_I }, { 21600, 4 MSO_I }, // ccp { 16200, 4 MSO_I }, { 10800, 5 MSO_I }, { 10800, 6 MSO_I }, // ccp { 10800, 7 MSO_I }, // p { 10800, 8 MSO_I }, { 5400, 21600 }, { 0, 21600 } // ccp }; static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] = { { { 0, 9 MSO_I }, { 7800, 10 MSO_I } } }; static const SvxMSDffHandle mso_sptRightBraceHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }, { MSDFF_HANDLE_FLAGS_RANGE, 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoRightBrace = // adj value0 0 -> 5400 { // adj value1 0 -> 21600 (SvxMSDffVertPair*)mso_sptRightBraceVert, sizeof( mso_sptRightBraceVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBraceDefault, (SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, sizeof( mso_sptRightBraceTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptRightBraceHandle, sizeof( mso_sptRightBraceHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptIrregularSeal1Vert[] = { { 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 }, { 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 }, { 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 }, { 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 }, { 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 }, { 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 } }; static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect[] = { { { 4680, 6570 }, { 16140, 13280 } } }; static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints[] = { { 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 } }; static const mso_CustomShape msoIrregularSeal1 = { (SvxMSDffVertPair*)mso_sptIrregularSeal1Vert, sizeof( mso_sptIrregularSeal1Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, sizeof( mso_sptIrregularSeal1TextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, sizeof( mso_sptIrregularSeal1GluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptIrregularSeal2Vert[] = { { 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 }, { 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 }, { 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 }, { 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 }, { 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 }, { 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 }, { 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 }, { 11464, 4340 } }; static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect[] = { { { 5400, 6570 }, { 14160, 15290 } } }; static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints[] = { { 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 } }; static const mso_CustomShape msoIrregularSeal2 = { (SvxMSDffVertPair*)mso_sptIrregularSeal2Vert, sizeof( mso_sptIrregularSeal2Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, sizeof( mso_sptIrregularSeal2TextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, sizeof( mso_sptIrregularSeal2GluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptSeal4Vert[] = // adjustment1 : 0 - 10800 { { 0, 10800 }, { 4 MSO_I, 4 MSO_I }, { 10800, 0 }, { 3 MSO_I, 4 MSO_I }, { 21600, 10800 }, { 3 MSO_I, 3 MSO_I }, { 10800, 21600 }, { 4 MSO_I, 3 MSO_I }, { 0, 10800 } }; static const SvxMSDffCalculationData mso_sptSeal4Calc[] = { { 0x0000, { 7600, 0, 0 } }, { 0x6001, { 0x400, DFF_Prop_adjustValue, 10800 } }, { 0xa000, { 0x400, 0, 0x401 } }, { 0x4000, { 10800, 0x402, 0 } }, { 0x8000, { 10800, 0, 0x402 } } }; static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] = { { { 4 MSO_I, 4 MSO_I }, { 3 MSO_I, 3 MSO_I } } }; static const SvxMSDffHandle mso_sptSealHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoSeal4 = { (SvxMSDffVertPair*)mso_sptSeal4Vert, sizeof( mso_sptSeal4Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal4Calc, sizeof( mso_sptSeal4Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault8100, (SvxMSDffTextRectangles*)mso_sptSeal4TextRect, sizeof( mso_sptSeal4TextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptStarVert[] = { { 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 }, { 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 }, { 21600, 8256 }, { 13321, 8256 }, { 10797, 0 } }; static const SvxMSDffTextRectangles mso_sptStarTextRect[] = { { { 6722, 8256 }, { 14878, 15460 } } }; static const mso_CustomShape msoStar = { (SvxMSDffVertPair*)mso_sptStarVert, sizeof( mso_sptStarVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptStarTextRect, sizeof( mso_sptStarTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffCalculationData mso_sptSeal24Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) { 0x2082, { 0x400, 10800, 315 } }, // 0x02 { 0x2081, { 0x400, 10800, 135 } }, // 0x03 { 0x2082, { 0x400, 10800, 135 } }, // 0x04 { 0x0081, { 0, 10800, 0 } }, { 0x0082, { 0, 10800, 0 } }, { 0x2081, { 0x400, 10800, 7 } }, { 0x2082, { 0x400, 10800, 7 } }, { 0x0081, { 0, 10800, 15 } }, { 0x0082, { 0, 10800, 15 } }, { 0x2081, { 0x400, 10800, 22 } }, { 0x2082, { 0x400, 10800, 22 } }, { 0x0081, { 0, 10800, 30 } }, { 0x0082, { 0, 10800, 30 } }, { 0x2081, { 0x400, 10800, 37 } }, { 0x2082, { 0x400, 10800, 37 } }, { 0x0081, { 0, 10800, 45 } }, { 0x0082, { 0, 10800, 45 } }, { 0x2081, { 0x400, 10800, 52 } }, { 0x2082, { 0x400, 10800, 52 } }, { 0x0081, { 0, 10800, 60 } }, { 0x0082, { 0, 10800, 60 } }, { 0x2081, { 0x400, 10800, 67 } }, { 0x2082, { 0x400, 10800, 67 } }, { 0x0081, { 0, 10800, 75 } }, { 0x0082, { 0, 10800, 75 } }, { 0x2081, { 0x400, 10800, 82 } }, { 0x2082, { 0x400, 10800, 82 } }, { 0x0081, { 0, 10800, 90 } }, { 0x0082, { 0, 10800, 90 } }, { 0x2081, { 0x400, 10800, 97 } }, { 0x2082, { 0x400, 10800, 97 } }, { 0x0081, { 0, 10800, 105 } }, { 0x0082, { 0, 10800, 105 } }, { 0x2081, { 0x400, 10800, 112 } }, { 0x2082, { 0x400, 10800, 112 } }, { 0x0081, { 0, 10800, 120 } }, { 0x0082, { 0, 10800, 120 } }, { 0x2081, { 0x400, 10800, 127 } }, { 0x2082, { 0x400, 10800, 127 } }, { 0x0081, { 0, 10800, 135 } }, { 0x0082, { 0, 10800, 135 } }, { 0x2081, { 0x400, 10800, 142 } }, { 0x2082, { 0x400, 10800, 142 } }, { 0x0081, { 0, 10800, 150 } }, { 0x0082, { 0, 10800, 150 } }, { 0x2081, { 0x400, 10800, 157 } }, { 0x2082, { 0x400, 10800, 157 } }, { 0x0081, { 0, 10800, 165 } }, { 0x0082, { 0, 10800, 165 } }, { 0x2081, { 0x400, 10800, 172 } }, { 0x2082, { 0x400, 10800, 172 } }, { 0x0081, { 0, 10800, 180 } }, { 0x0082, { 0, 10800, 180 } }, { 0x2081, { 0x400, 10800, 187 } }, { 0x2082, { 0x400, 10800, 187 } }, { 0x0081, { 0, 10800, 195 } }, { 0x0082, { 0, 10800, 195 } }, { 0x2081, { 0x400, 10800, 202 } }, { 0x2082, { 0x400, 10800, 202 } }, { 0x0081, { 0, 10800, 210 } }, { 0x0082, { 0, 10800, 210 } }, { 0x2081, { 0x400, 10800, 217 } }, { 0x2082, { 0x400, 10800, 217 } }, { 0x0081, { 0, 10800, 225 } }, { 0x0082, { 0, 10800, 225 } }, { 0x2081, { 0x400, 10800, 232 } }, { 0x2082, { 0x400, 10800, 232 } }, { 0x0081, { 0, 10800, 240 } }, { 0x0082, { 0, 10800, 240 } }, { 0x2081, { 0x400, 10800, 247 } }, { 0x2082, { 0x400, 10800, 247 } }, { 0x0081, { 0, 10800, 255 } }, { 0x0082, { 0, 10800, 255 } }, { 0x2081, { 0x400, 10800, 262 } }, { 0x2082, { 0x400, 10800, 262 } }, { 0x0081, { 0, 10800, 270 } }, { 0x0082, { 0, 10800, 270 } }, { 0x2081, { 0x400, 10800, 277 } }, { 0x2082, { 0x400, 10800, 277 } }, { 0x0081, { 0, 10800, 285 } }, { 0x0082, { 0, 10800, 285 } }, { 0x2081, { 0x400, 10800, 292 } }, { 0x2082, { 0x400, 10800, 292 } }, { 0x0081, { 0, 10800, 300 } }, { 0x0082, { 0, 10800, 300 } }, { 0x2081, { 0x400, 10800, 307 } }, { 0x2082, { 0x400, 10800, 307 } }, { 0x0081, { 0, 10800, 315 } }, { 0x0082, { 0, 10800, 315 } }, { 0x2081, { 0x400, 10800, 322 } }, { 0x2082, { 0x400, 10800, 322 } }, { 0x0081, { 0, 10800, 330 } }, { 0x0082, { 0, 10800, 330 } }, { 0x2081, { 0x400, 10800, 337 } }, { 0x2082, { 0x400, 10800, 337 } }, { 0x0081, { 0, 10800, 345 } }, { 0x0082, { 0, 10800, 345 } }, { 0x2081, { 0x400, 10800, 352 } }, { 0x2082, { 0x400, 10800, 352 } } }; static const SvxMSDffVertPair mso_sptSeal8Vert[] = // adj value 0 -> 10800 { { 5 MSO_I, 6 MSO_I }, { 11 MSO_I, 12 MSO_I }, { 17 MSO_I, 18 MSO_I }, { 23 MSO_I, 24 MSO_I }, { 29 MSO_I, 30 MSO_I }, { 35 MSO_I, 36 MSO_I }, { 41 MSO_I, 42 MSO_I }, { 47 MSO_I, 48 MSO_I }, { 53 MSO_I, 54 MSO_I }, { 59 MSO_I, 60 MSO_I }, { 65 MSO_I, 66 MSO_I }, { 71 MSO_I, 72 MSO_I }, { 77 MSO_I, 78 MSO_I }, { 83 MSO_I, 84 MSO_I }, { 89 MSO_I, 90 MSO_I }, { 95 MSO_I, 96 MSO_I }, { 5 MSO_I, 6 MSO_I } }; static const SvxMSDffTextRectangles mso_sptSealTextRect[] = { { { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } } }; static const mso_CustomShape msoSeal8 = { (SvxMSDffVertPair*)mso_sptSeal8Vert, sizeof( mso_sptSeal8Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptSeal16Vert[] = // adj value 0 -> 10800 { { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, { 0x05 MSO_I, 0x06 MSO_I } }; static const SvxMSDffCalculationData mso_sptSeal16Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) { 0x2082, { 0x400, 10800, 315 } }, // 0x02 { 0x2081, { 0x400, 10800, 135 } }, // 0x03 { 0x2082, { 0x400, 10800, 135 } }, // 0x04 { 0x0081, { 0, 10800, 0 } }, { 0x0082, { 0, 10800, 0 } }, { 0x2081, { 0x400, 10800, 11 } }, { 0x2082, { 0x400, 10800, 11 } }, { 0x0081, { 0, 10800, 22 } }, { 0x0082, { 0, 10800, 22 } }, { 0x2081, { 0x400, 10800, 33 } }, { 0x2082, { 0x400, 10800, 33 } }, { 0x0081, { 0, 10800, 45 } }, { 0x0082, { 0, 10800, 45 } }, { 0x2081, { 0x400, 10800, 56 } }, { 0x2082, { 0x400, 10800, 56 } }, { 0x0081, { 0, 10800, 67 } }, { 0x0082, { 0, 10800, 67 } }, { 0x2081, { 0x400, 10800, 78 } }, { 0x2082, { 0x400, 10800, 78 } }, { 0x0081, { 0, 10800, 90 } }, { 0x0082, { 0, 10800, 90 } }, { 0x2081, { 0x400, 10800, 101 } }, { 0x2082, { 0x400, 10800, 101 } }, { 0x0081, { 0, 10800, 112 } }, { 0x0082, { 0, 10800, 112 } }, { 0x2081, { 0x400, 10800, 123 } }, { 0x2082, { 0x400, 10800, 123 } }, { 0x0081, { 0, 10800, 135 } }, { 0x0082, { 0, 10800, 135 } }, { 0x2081, { 0x400, 10800, 146 } }, { 0x2082, { 0x400, 10800, 146 } }, { 0x0081, { 0, 10800, 157 } }, { 0x0082, { 0, 10800, 157 } }, { 0x2081, { 0x400, 10800, 168 } }, { 0x2082, { 0x400, 10800, 168 } }, { 0x0081, { 0, 10800, 180 } }, { 0x0082, { 0, 10800, 180 } }, { 0x2081, { 0x400, 10800, 191 } }, { 0x2082, { 0x400, 10800, 191 } }, { 0x0081, { 0, 10800, 202 } }, { 0x0082, { 0, 10800, 202 } }, { 0x2081, { 0x400, 10800, 213 } }, { 0x2082, { 0x400, 10800, 213 } }, { 0x0081, { 0, 10800, 225 } }, { 0x0082, { 0, 10800, 225 } }, { 0x2081, { 0x400, 10800, 236 } }, { 0x2082, { 0x400, 10800, 236 } }, { 0x0081, { 0, 10800, 247 } }, { 0x0082, { 0, 10800, 247 } }, { 0x2081, { 0x400, 10800, 258 } }, { 0x2082, { 0x400, 10800, 258 } }, { 0x0081, { 0, 10800, 270 } }, { 0x0082, { 0, 10800, 270 } }, { 0x2081, { 0x400, 10800, 281 } }, { 0x2082, { 0x400, 10800, 281 } }, { 0x0081, { 0, 10800, 292 } }, { 0x0082, { 0, 10800, 292 } }, { 0x2081, { 0x400, 10800, 303 } }, { 0x2082, { 0x400, 10800, 303 } }, { 0x0081, { 0, 10800, 315 } }, { 0x0082, { 0, 10800, 315 } }, { 0x2081, { 0x400, 10800, 326 } }, { 0x2082, { 0x400, 10800, 326 } }, { 0x0081, { 0, 10800, 337 } }, { 0x0082, { 0, 10800, 337 } }, { 0x2081, { 0x400, 10800, 348 } }, { 0x2082, { 0x400, 10800, 348 } } }; static const mso_CustomShape msoSeal16 = { (SvxMSDffVertPair*)mso_sptSeal16Vert, sizeof( mso_sptSeal16Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal16Calc, sizeof( mso_sptSeal16Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptSeal24Vert[] = { { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I }, { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I }, { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I }, { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I }, { 0x05 MSO_I, 0x06 MSO_I } }; static const mso_CustomShape msoSeal24 = { (SvxMSDffVertPair*)mso_sptSeal24Vert, sizeof( mso_sptSeal24Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffCalculationData mso_sptSeal32Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0x00 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe ) { 0x2082, { 0x400, 10800, 315 } }, // 0x02 { 0x2081, { 0x400, 10800, 135 } }, // 0x03 { 0x2082, { 0x400, 10800, 135 } }, // 0x04 { 0x0081, { 0, 10800, 0 } }, { 0x0082, { 0, 10800, 0 } }, { 0x2081, { 0x400, 10800, 5 } }, { 0x2082, { 0x400, 10800, 5 } }, { 0x0081, { 0, 10800, 11 } }, { 0x0082, { 0, 10800, 11 } }, { 0x2081, { 0x400, 10800, 16 } }, { 0x2082, { 0x400, 10800, 16 } }, { 0x0081, { 0, 10800, 22 } }, { 0x0082, { 0, 10800, 22 } }, { 0x2081, { 0x400, 10800, 28 } }, { 0x2082, { 0x400, 10800, 28 } }, { 0x0081, { 0, 10800, 33 } }, { 0x0082, { 0, 10800, 33 } }, { 0x2081, { 0x400, 10800, 39 } }, { 0x2082, { 0x400, 10800, 39 } }, { 0x0081, { 0, 10800, 45 } }, { 0x0082, { 0, 10800, 45 } }, { 0x2081, { 0x400, 10800, 50 } }, { 0x2082, { 0x400, 10800, 50 } }, { 0x0081, { 0, 10800, 56 } }, { 0x0082, { 0, 10800, 56 } }, { 0x2081, { 0x400, 10800, 61 } }, { 0x2082, { 0x400, 10800, 61 } }, { 0x0081, { 0, 10800, 67 } }, { 0x0082, { 0, 10800, 67 } }, { 0x2081, { 0x400, 10800, 73 } }, { 0x2082, { 0x400, 10800, 73 } }, { 0x0081, { 0, 10800, 78 } }, { 0x0082, { 0, 10800, 78 } }, { 0x2081, { 0x400, 10800, 84 } }, { 0x2082, { 0x400, 10800, 84 } }, { 0x0081, { 0, 10800, 90 } }, { 0x0082, { 0, 10800, 90 } }, { 0x2081, { 0x400, 10800, 95 } }, { 0x2082, { 0x400, 10800, 95 } }, { 0x0081, { 0, 10800, 101 } }, { 0x0082, { 0, 10800, 101 } }, { 0x2081, { 0x400, 10800, 106 } }, { 0x2082, { 0x400, 10800, 106 } }, { 0x0081, { 0, 10800, 112 } }, { 0x0082, { 0, 10800, 112 } }, { 0x2081, { 0x400, 10800, 118 } }, { 0x2082, { 0x400, 10800, 118 } }, { 0x0081, { 0, 10800, 123 } }, { 0x0082, { 0, 10800, 123 } }, { 0x2081, { 0x400, 10800, 129 } }, { 0x2082, { 0x400, 10800, 129 } }, { 0x0081, { 0, 10800, 135 } }, { 0x0082, { 0, 10800, 135 } }, { 0x2081, { 0x400, 10800, 140 } }, { 0x2082, { 0x400, 10800, 140 } }, { 0x0081, { 0, 10800, 146 } }, { 0x0082, { 0, 10800, 146 } }, { 0x2081, { 0x400, 10800, 151 } }, { 0x2082, { 0x400, 10800, 151 } }, { 0x0081, { 0, 10800, 157 } }, { 0x0082, { 0, 10800, 157 } }, { 0x2081, { 0x400, 10800, 163 } }, { 0x2082, { 0x400, 10800, 163 } }, { 0x0081, { 0, 10800, 168 } }, { 0x0082, { 0, 10800, 168 } }, { 0x2081, { 0x400, 10800, 174 } }, { 0x2082, { 0x400, 10800, 174 } }, { 0x0081, { 0, 10800, 180 } }, { 0x0082, { 0, 10800, 180 } }, { 0x2081, { 0x400, 10800, 185 } }, { 0x2082, { 0x400, 10800, 185 } }, { 0x0081, { 0, 10800, 191 } }, { 0x0082, { 0, 10800, 191 } }, { 0x2081, { 0x400, 10800, 196 } }, { 0x2082, { 0x400, 10800, 196 } }, { 0x0081, { 0, 10800, 202 } }, { 0x0082, { 0, 10800, 202 } }, { 0x2081, { 0x400, 10800, 208 } }, { 0x2082, { 0x400, 10800, 208 } }, { 0x0081, { 0, 10800, 213 } }, { 0x0082, { 0, 10800, 213 } }, { 0x2081, { 0x400, 10800, 219 } }, { 0x2082, { 0x400, 10800, 219 } }, { 0x0081, { 0, 10800, 225 } }, { 0x0082, { 0, 10800, 225 } }, { 0x2081, { 0x400, 10800, 230 } }, { 0x2082, { 0x400, 10800, 230 } }, { 0x0081, { 0, 10800, 236 } }, { 0x0082, { 0, 10800, 236 } }, { 0x2081, { 0x400, 10800, 241 } }, { 0x2082, { 0x400, 10800, 241 } }, { 0x0081, { 0, 10800, 247 } }, { 0x0082, { 0, 10800, 247 } }, { 0x2081, { 0x400, 10800, 253 } }, { 0x2082, { 0x400, 10800, 253 } }, { 0x0081, { 0, 10800, 258 } }, { 0x0082, { 0, 10800, 258 } }, { 0x2081, { 0x400, 10800, 264 } }, { 0x2082, { 0x400, 10800, 264 } }, { 0x0081, { 0, 10800, 270 } }, { 0x0082, { 0, 10800, 270 } }, { 0x2081, { 0x400, 10800, 275 } }, { 0x2082, { 0x400, 10800, 275 } }, { 0x0081, { 0, 10800, 281 } }, { 0x0082, { 0, 10800, 281 } }, { 0x2081, { 0x400, 10800, 286 } }, { 0x2082, { 0x400, 10800, 286 } }, { 0x0081, { 0, 10800, 292 } }, { 0x0082, { 0, 10800, 292 } }, { 0x2081, { 0x400, 10800, 298 } }, { 0x2082, { 0x400, 10800, 298 } }, { 0x0081, { 0, 10800, 303 } }, { 0x0082, { 0, 10800, 303 } }, { 0x2081, { 0x400, 10800, 309 } }, { 0x2082, { 0x400, 10800, 309 } }, { 0x0081, { 0, 10800, 315 } }, { 0x0082, { 0, 10800, 315 } }, { 0x2081, { 0x400, 10800, 320 } }, { 0x2082, { 0x400, 10800, 320 } }, { 0x0081, { 0, 10800, 326 } }, { 0x0082, { 0, 10800, 326 } }, { 0x2081, { 0x400, 10800, 331 } }, { 0x2082, { 0x400, 10800, 331 } }, { 0x0081, { 0, 10800, 337 } }, { 0x0082, { 0, 10800, 337 } }, { 0x2081, { 0x400, 10800, 343 } }, { 0x2082, { 0x400, 10800, 343 } }, { 0x0081, { 0, 10800, 348 } }, { 0x0082, { 0, 10800, 348 } }, { 0x2081, { 0x400, 10800, 354 } }, { 0x2082, { 0x400, 10800, 354 } } }; static const SvxMSDffVertPair mso_sptSeal32Vert[] = { { 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I }, { 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I }, { 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I }, { 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I }, { 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I }, { 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I }, { 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I }, { 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I }, { 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I }, { 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I }, { 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I }, { 0x65 MSO_I, 0x66 MSO_I }, { 0x67 MSO_I, 0x68 MSO_I }, { 0x69 MSO_I, 0x6a MSO_I }, { 0x6b MSO_I, 0x6c MSO_I }, { 0x6d MSO_I, 0x6e MSO_I }, { 0x6f MSO_I, 0x70 MSO_I }, { 0x71 MSO_I, 0x72 MSO_I }, { 0x73 MSO_I, 0x74 MSO_I }, { 0x75 MSO_I, 0x76 MSO_I }, { 0x77 MSO_I, 0x78 MSO_I }, { 0x79 MSO_I, 0x7a MSO_I }, { 0x7b MSO_I, 0x7c MSO_I }, { 0x7d MSO_I, 0x7e MSO_I }, { 0x7f MSO_I, 0x80 MSO_I }, { 0x81 MSO_I, 0x82 MSO_I }, { 0x83 MSO_I, 0x84 MSO_I }, { 0x05 MSO_I, 0x06 MSO_I } }; static const mso_CustomShape msoSeal32 = { (SvxMSDffVertPair*)mso_sptSeal32Vert, sizeof( mso_sptSeal32Vert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal32Calc, sizeof( mso_sptSeal32Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptRibbon2Vert[] = // adjustment1 : x 2700 - 8100 def 5400 { // adjustment2 : y 14400 - 21600 def 18900 { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I }, // pp { 12 MSO_I, 14 MSO_I }, { 15 MSO_I, 21600 }, { 16 MSO_I, 21600 }, // ccp { 0, 21600 }, { 2750, 7 MSO_I }, { 0, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, // pppp { 0 MSO_I, 4 MSO_I }, // p { 0 MSO_I, 5 MSO_I }, { 10 MSO_I, 0 }, { 11 MSO_I, 0 }, // ccp { 17 MSO_I, 0 }, // p { 18 MSO_I, 0 }, { 19 MSO_I, 5 MSO_I }, { 19 MSO_I, 4 MSO_I }, // ccp { 19 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }, { 18850, 7 MSO_I }, { 21600, 21600 }, // pppp { 20 MSO_I, 21600 }, // p { 21 MSO_I, 21600 }, { 22 MSO_I, 14 MSO_I }, { 22 MSO_I, 13 MSO_I }, // ccp { 22 MSO_I, 1 MSO_I }, { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I }, // ppp { 12 MSO_I, 23 MSO_I }, { 15 MSO_I, 24 MSO_I }, { 16 MSO_I, 24 MSO_I }, // ccp { 11 MSO_I, 24 MSO_I }, // p { 10 MSO_I, 24 MSO_I }, { 0 MSO_I, 26 MSO_I }, { 0 MSO_I, 25 MSO_I }, // ccp { 0 MSO_I, 27 MSO_I }, { 10 MSO_I, 1 MSO_I }, { 11 MSO_I, 1 MSO_I }, // ccp { 22 MSO_I, 1 MSO_I }, { 22 MSO_I, 13 MSO_I }, // pp { 22 MSO_I, 23 MSO_I }, { 21 MSO_I, 24 MSO_I }, { 20 MSO_I, 24 MSO_I }, // ccp { 17 MSO_I, 24 MSO_I }, // p { 18 MSO_I, 24 MSO_I }, { 19 MSO_I, 26 MSO_I }, { 19 MSO_I, 25 MSO_I }, // ccp { 19 MSO_I, 27 MSO_I }, { 18 MSO_I, 1 MSO_I }, { 17 MSO_I, 1 MSO_I }, // ccp { 0 MSO_I, 25 MSO_I }, { 0 MSO_I, 2 MSO_I }, // pp { 19 MSO_I, 25 MSO_I }, { 19 MSO_I, 2 MSO_I } // pp }; static const sal_uInt16 mso_sptRibbon2Segm[] = { 0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000, 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000, 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffCalculationData mso_sptRibbon2Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 00 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 01 { 0x8000, { 21600, 0, 0x401 } }, // 02 { 0x2001, { 0x402, 1, 2 } }, // 03 { 0x2001, { 0x403, 1, 2 } }, // 04 { 0x2001, { 0x404, 1, 2 } }, // 05 { 0x2001, { 0x401, 1, 2 } }, // 06 { 0x8000, { 21600, 0, 0x406 } }, // 07 { 0x0000, { 420, 0, 0 } }, // 08 { 0x2001, { 0x408, 2, 1 } }, // 09 { 0x6000, { 0x400, 0x408, 0 } }, // 10 { 0x6000, { 0x400, 0x409, 0 } }, // 11 { 0x2000, { 0x400, 2700, 0 } }, // 12 { 0x8000, { 21600, 0, 0x404 } }, // 13 { 0x8000, { 21600, 0, 0x405 } }, // 14 { 0xa000, { 0x40c, 0, 0x408 } }, // 15 { 0xa000, { 0x40c, 0, 0x409 } }, // 16 { 0x8000, { 21600, 0, 0x40b } }, // 17 { 0x8000, { 21600, 0, 0x40a } }, // 18 { 0x8000, { 21600, 0, 0x400 } }, // 19 { 0x8000, { 21600, 0, 0x410 } }, // 20 { 0x8000, { 21600, 0, 0x40f } }, // 21 { 0x8000, { 21600, 0, 0x40c } }, // 22 { 0xa000, { 0x40d, 0, 0x405 } }, // 23 { 0x6000, { 0x401, 0x403, 0 } }, // 24 { 0x6000, { 0x401, 0x404, 0 } }, // 25 { 0x6000, { 0x419, 0x405, 0 } }, // 26 { 0xa000, { 0x419, 0, 0x405 } } // 27 }; static const sal_Int32 mso_sptRibbon2Default[] = { 2, 5400, 18900 }; static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] = { { { 0 MSO_I, 0 }, { 19 MSO_I, 1 MSO_I } } }; static const SvxMSDffHandle mso_sptRibbon2Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 } }; static const mso_CustomShape msoRibbon2 = { (SvxMSDffVertPair*)mso_sptRibbon2Vert, sizeof( mso_sptRibbon2Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptRibbon2Calc, sizeof( mso_sptRibbon2Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptRibbon2Default, (SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, sizeof( mso_sptRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptRibbon2Handle, sizeof( mso_sptRibbon2Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptRibbonVert[] = { { 0, 0 }, { 3 MSO_I, 0 }, { 4 MSO_I, 11 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I }, { 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 }, { 0 MSO_I, 16 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 0, 15 MSO_I }, { 2700, 14 MSO_I }, { 4 MSO_I, 11 MSO_I }, { 3 MSO_I, 12 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 13 MSO_I }, { 1 MSO_I, 10 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I }, { 6 MSO_I, 12 MSO_I }, { 8 MSO_I, 12 MSO_I }, { 9 MSO_I, 13 MSO_I }, { 8 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 0 MSO_I, 13 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 9 MSO_I, 13 MSO_I }, { 9 MSO_I, 15 MSO_I } }; static const sal_uInt16 mso_sptRibbonSegm[] = { 0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000, 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000, 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000, 0x4000, 0xaa00, 0x0001, 0x8000, 0x4000, 0xaa00, 0x0001, 0x8000 }; static const SvxMSDffCalculationData mso_sptRibbonCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 00 { 0x2000, { 0x400, 675, 0 } }, // 01 { 0x2000, { 0x401, 675, 0 } }, // 02 { 0x2000, { 0x402, 675, 0 } }, // 03 { 0x2000, { 0x403, 675, 0 } }, // 04 { 0x8000, { 21600, 0, 0x404 } }, // 05 { 0x8000, { 21600, 0, 0x403 } }, // 06 { 0x8000, { 21600, 0, 0x402 } }, // 07 { 0x8000, { 21600, 0, 0x401 } }, // 08 { 0x8000, { 21600, 0, 0x400 } }, // 09 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 10 { 0x2001, { 0x40a, 1, 4 } }, // 11 { 0x2001, { 0x40b, 2, 1 } }, // 12 { 0x2001, { 0x40b, 3, 1 } }, // 13 { 0x8000, { 10800, 0, 0x40c } }, // 14 { 0x8000, { 21600, 0, 0x40a } }, // 15 { 0x8000, { 21600, 0, 0x40b } }, // 16 { 0x0001, { 21600, 1, 2 } }, // 17 { 0x0000, { 21600, 0, 2700 } }, // 18 { 0x2000, { 0x411, 0, 2700 } } // 19 }; static const sal_Int32 mso_sptRibbonDefault[] = { 2, 5400, 2700 }; static const SvxMSDffTextRectangles mso_sptRibbonTextRect[] = { { { 0 MSO_I, 10 MSO_I }, { 9 MSO_I, 21600 } } }; static const SvxMSDffVertPair mso_sptRibbonGluePoints[] = { { 17 MSO_I, 10 MSO_I }, { 2700, 14 MSO_I }, { 17 MSO_I, 21600 }, { 18 MSO_I, 14 MSO_I } }; static const SvxMSDffHandle mso_sptRibbonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 } }; static const mso_CustomShape msoRibbon = { (SvxMSDffVertPair*)mso_sptRibbonVert, sizeof( mso_sptRibbonVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRibbonCalc, sizeof( mso_sptRibbonCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptRibbonDefault, (SvxMSDffTextRectangles*)mso_sptRibbonTextRect, sizeof( mso_sptRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptRibbonGluePoints, sizeof( mso_sptRibbonGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptRibbonHandle, sizeof( mso_sptRibbonHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptVerticalScrollVert[] = // adjustment1 : 0 - 5400 { { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 11 MSO_I }, { 5 MSO_I, 21600 }, { 6 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 4 MSO_I, 1 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 9 MSO_I, 10 MSO_I }, { 1 MSO_I, 11 MSO_I }, { 4 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 2 MSO_I, 0 MSO_I } }; static const sal_uInt16 mso_sptVerticalScrollSegm[] = { 0x4000, 0xa702, 0x0002, 0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000, 0x4000, 0xa801, 0xa702, 0x6000, 0x8000, 0x4000, 0xa803, 0xa702, 0x6001, 0x8000, 0x4000, 0xa701, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffCalculationData mso_sptScrollCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2001, { 0x400, 1, 2 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x401 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } }, { 0x6000, { 0x400, 0x401, 0 } }, { 0xa000, { DFF_Prop_geoRight, 0, 0x404 } }, { 0x2001, { 0x400, 2, 1 } }, { 0x2001, { 0x401, 1, 2 } }, { 0x6000, { 0x400, 0x407, 0 } }, { 0x6000, { 0x401, 0x407, 0 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }, { 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } } }; static const SvxMSDffTextRectangles mso_sptScrollTextRect[] = { { { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 12 MSO_I } } }; static const SvxMSDffHandle mso_sptVerticalScrollHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 } }; static const mso_CustomShape msoVerticalScroll = { (SvxMSDffVertPair*)mso_sptVerticalScrollVert, sizeof( mso_sptVerticalScrollVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 11000, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptVerticalScrollHandle, sizeof( mso_sptVerticalScrollHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptHorizontalScrollVert[] = // adjustment1 : 0 - 5400 { { 0, 4 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 13 MSO_I }, { 2 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 6 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 3 MSO_I, 9 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 6 MSO_I }, { 0, 4 MSO_I }, { 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 11 MSO_I } }; static const sal_uInt16 mso_sptHorizontalScrollSegm[] = { 0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000, 0x4000, 0xa803, 0x6000, 0x8000, 0x4000, 0xa803, 0xa702, 0x6000, 0x8000, 0x4000, 0xa701, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoHorizontalScroll = { (SvxMSDffVertPair*)mso_sptHorizontalScrollVert, sizeof( mso_sptHorizontalScrollVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 10800, 11000, NULL, 0, (SvxMSDffHandle*)mso_sptHorizontalScrollHandle, sizeof( mso_sptHorizontalScrollHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const mso_CustomShape msoFlowChartProcess = { (SvxMSDffVertPair*)mso_sptFlowChartProcessVert, sizeof( mso_sptFlowChartProcessVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert[] = { { 0, 2 MSO_I }, { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 2 MSO_I }, { 21600, 3 MSO_I }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I } }; static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm[] = { 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000 }; static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc[] = { { 0x2000, { DFF_Prop_geoLeft, 2540, 0 } }, { 0x2000, { DFF_Prop_geoRight, 0, 2540 } }, { 0x2000, { DFF_Prop_geoTop, 2540, 0 } }, { 0x2000, { DFF_Prop_geoBottom, 0, 2540 } }, { 0x2000, { DFF_Prop_geoLeft, 800, 0 } }, { 0x2000, { DFF_Prop_geoRight, 0, 800 } }, { 0x2000, { DFF_Prop_geoTop, 800, 0 } }, { 0x2000, { DFF_Prop_geoBottom,0, 800 } } }; static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect[] = { { { 4 MSO_I, 6 MSO_I }, { 5 MSO_I, 7 MSO_I } } }; static const mso_CustomShape msoFlowChartAlternateProcess = { (SvxMSDffVertPair*)mso_sptFlowChartAlternateProcessVert, sizeof( mso_sptFlowChartAlternateProcessVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, sizeof( mso_sptFlowChartAlternateProcessCalc ) / sizeof( SvxMSDffCalculationData ), NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, sizeof( mso_sptFlowChartAlternateProcessTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartDecisionVert[] = { { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 } }; static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect[] = { { { 5400, 5400 }, { 16200, 16200 } } }; static const mso_CustomShape msoFlowChartDecision = { (SvxMSDffVertPair*)mso_sptFlowChartDecisionVert, sizeof( mso_sptFlowChartDecisionVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, sizeof( mso_sptFlowChartDecisionTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert[] = { { 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect[] = { { { 4230, 0 }, { 17370, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints[] = { { 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 } }; static const mso_CustomShape msoFlowChartInputOutput = { (SvxMSDffVertPair*)mso_sptFlowChartInputOutputVert, sizeof( mso_sptFlowChartInputOutputVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, sizeof( mso_sptFlowChartInputOutputTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, sizeof( mso_sptFlowChartInputOutputGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 2540, 0 }, { 2540, 21600 }, { 21600 - 2540, 0 }, { 21600 - 2540, 21600 } }; static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect[] = { { { 2540, 0 }, { 21600 - 2540, 21600 } } }; static const mso_CustomShape msoFlowChartPredefinedProcess = { (SvxMSDffVertPair*)mso_sptFlowChartPredefinedProcessVert, sizeof( mso_sptFlowChartPredefinedProcessVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, sizeof( mso_sptFlowChartPredefinedProcessTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 4230, 0 }, { 4230, 21600 }, { 0, 4230 }, { 21600, 4230 } }; static const sal_uInt16 mso_sptFlowChartInternalStorageSegm[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect[] = { { { 4230, 4230 }, { 21600, 21600 } } }; static const mso_CustomShape msoFlowChartInternalStorage = { (SvxMSDffVertPair*)mso_sptFlowChartInternalStorageVert, sizeof( mso_sptFlowChartInternalStorageVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, sizeof( mso_sptFlowChartInternalStorageTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartDocumentVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 17360 }, { 13050, 17220 }, { 13340, 20770 }, { 5620, 21600 }, // ccp { 2860, 21100 }, { 1850, 20700 }, { 0, 20120 } // ccp }; static const sal_uInt16 mso_sptFlowChartDocumentSegm[] = { 0x4000, 0x0002, 0x2002, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect[] = { { { 0, 0 }, { 21600, 17360 } } }; static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartDocument = { (SvxMSDffVertPair*)mso_sptFlowChartDocumentVert, sizeof( mso_sptFlowChartDocumentVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, sizeof( mso_sptFlowChartDocumentTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, sizeof( mso_sptFlowChartDocumentGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert[] = { { 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 }, { 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 }, { 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 }, { 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 }, // ccp { 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 }, // ccp { 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 }, { 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 } }; static const sal_uInt16 mso_sptFlowChartMultidocumentSegm[] = { 0x4000, 0x000a, 0x2002, 0x6000, 0x8000, 0x4000, 0xaa00, 0x0002, 0x8000, // NO FILL 0x4000, 0xaa00, 0x0002, 0x8000 // NO FILL }; static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect[] = { { { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } } }; static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartMultidocument = { (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentVert, sizeof( mso_sptFlowChartMultidocumentVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, sizeof( mso_sptFlowChartMultidocumentTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, sizeof( mso_sptFlowChartMultidocumentGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert[] = { { 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 }, { 21600, 10800 }, { 18130, 21600 } }; static const sal_uInt16 mso_sptFlowChartTerminatorSegm[] = { 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect[] = { { { 1060, 3180 }, { 20540, 18420 } } }; static const mso_CustomShape msoFlowChartTerminator = { (SvxMSDffVertPair*)mso_sptFlowChartTerminatorVert, sizeof( mso_sptFlowChartTerminatorVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, sizeof( mso_sptFlowChartTerminatorTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartPreparationVert[] = { { 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 10800 }, { 4350, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect[] = { { { 4350, 0 }, { 17250, 21600 } } }; static const mso_CustomShape msoFlowChartPreparation = { (SvxMSDffVertPair*)mso_sptFlowChartPreparationVert, sizeof( mso_sptFlowChartPreparationVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, sizeof( mso_sptFlowChartPreparationTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartManualInputVert[] = { { 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 } }; static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect[] = { { { 0, 4300 }, { 21600, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints[] = { { 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartManualInput = { (SvxMSDffVertPair*)mso_sptFlowChartManualInputVert, sizeof( mso_sptFlowChartManualInputVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, sizeof( mso_sptFlowChartManualInputTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, sizeof( mso_sptFlowChartManualInputGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert[] = { { 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect[] = { { { 4350, 0 }, { 17250, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints[] = { { 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 } }; static const mso_CustomShape msoFlowChartManualOperation = { (SvxMSDffVertPair*)mso_sptFlowChartManualOperationVert, sizeof( mso_sptFlowChartManualOperationVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, sizeof( mso_sptFlowChartManualOperationTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, sizeof( mso_sptFlowChartManualOperationGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartConnectorVert[] = { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 } }; static const sal_uInt16 mso_sptFlowChartConnectorSegm[] = { 0xa203, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect[] = { { { 3180, 3180 }, { 18420, 18420 } } }; static const mso_CustomShape msoFlowChartConnector = { (SvxMSDffVertPair*)mso_sptFlowChartConnectorVert, sizeof( mso_sptFlowChartConnectorVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, sizeof( mso_sptFlowChartConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 }, { 0, 17150 }, { 0, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect[] = { { { 0, 0 }, { 21600, 17150 } } }; static const mso_CustomShape msoFlowChartOffpageConnector = { (SvxMSDffVertPair*)mso_sptFlowChartOffpageConnectorVert, sizeof( mso_sptFlowChartOffpageConnectorVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, sizeof( mso_sptFlowChartOffpageConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert[] = { { 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 }, { 4300, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect[] = { { { 0, 4300 }, { 21600, 21600 } } }; static const mso_CustomShape msoFlowChartPunchedCard = { (SvxMSDffVertPair*)mso_sptFlowChartPunchedCardVert, sizeof( mso_sptFlowChartPunchedCardVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, sizeof( mso_sptFlowChartPunchedCardTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert[] = { { 0, 2230 }, // p { 820, 3990 }, { 3410, 3980 }, { 5370, 4360 }, // ccp { 7430, 4030 }, { 10110, 3890 }, { 10690, 2270 }, // ccp { 11440, 300 }, { 14200, 160 }, { 16150, 0 }, // ccp { 18670, 170 }, { 20690, 390 }, { 21600, 2230 }, // ccp { 21600, 19420 }, // p { 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 }, // ccp { 14710, 17370 }, { 11310, 17510 }, { 10770, 19430 }, // ccp { 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 }, // ccp { 3220, 21250 }, { 610, 21130 }, { 0, 19420 } // ccp }; static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm[] = { 0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect[] = { { { 0, 4360 }, { 21600, 17240 } } }; static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints[] = { { 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartPunchedTape = { (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeVert, sizeof( mso_sptFlowChartPunchedTapeVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, sizeof( mso_sptFlowChartPunchedTapeTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, sizeof( mso_sptFlowChartPunchedTapeGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert[] = { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, { 3100, 3100 }, { 18500, 18500 }, { 3100, 18500 }, { 18500, 3100 } }; static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm[] = { 0xa203, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect[] = { { { 3100, 3100 }, { 18500, 18500 } } }; static const mso_CustomShape msoFlowChartSummingJunction = { (SvxMSDffVertPair*)mso_sptFlowChartSummingJunctionVert, sizeof( mso_sptFlowChartSummingJunctionVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, sizeof( mso_sptFlowChartSummingJunctionTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartOrVert[] = { { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }, { 0, 10800 }, { 21600, 10800 }, { 10800, 0 }, { 10800, 21600 } }; static const sal_uInt16 mso_sptFlowChartOrSegm[] = { 0xa203, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect[] = { { { 3100, 3100 }, { 18500, 18500 } } }; static const mso_CustomShape msoFlowChartOr = { (SvxMSDffVertPair*)mso_sptFlowChartOrVert, sizeof( mso_sptFlowChartOrVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, sizeof( mso_sptFlowChartOrTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartCollateVert[] = { { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect[] = { { { 5400, 5400 }, { 16200, 16200 } } }; static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints[] = { { 10800, 0 }, { 10800, 10800 }, { 10800, 21600 } }; static const mso_CustomShape msoFlowChartCollate = { (SvxMSDffVertPair*)mso_sptFlowChartCollateVert, sizeof( mso_sptFlowChartCollateVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, sizeof( mso_sptFlowChartCollateTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, sizeof( mso_sptFlowChartCollateGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartSortVert[] = { { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }, { 21600, 10800 } }; static const sal_uInt16 mso_sptFlowChartSortSegm[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect[] = { { { 5400, 5400 }, { 16200, 16200 } } }; static const mso_CustomShape msoFlowChartSort = { (SvxMSDffVertPair*)mso_sptFlowChartSortVert, sizeof( mso_sptFlowChartSortVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, sizeof( mso_sptFlowChartSortTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartExtractVert[] = { { 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect[] = { { { 5400, 10800 }, { 16200, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints[] = { { 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 } }; static const mso_CustomShape msoFlowChartExtract = { (SvxMSDffVertPair*)mso_sptFlowChartExtractVert, sizeof( mso_sptFlowChartExtractVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, sizeof( mso_sptFlowChartExtractTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartMergeVert[] = { { 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 } }; static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect[] = { { { 5400, 0 }, { 16200, 10800 } } }; static const mso_CustomShape msoFlowChartMerge = { (SvxMSDffVertPair*)mso_sptFlowChartMergeVert, sizeof( mso_sptFlowChartMergeVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, sizeof( mso_sptFlowChartMergeTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert[] = { { 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 }, { 18000, 10800 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm[] = { 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect[] = { { { 3600, 0 }, { 18000, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 } }; static const mso_CustomShape msoFlowChartOnlineStorage = { (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageVert, sizeof( mso_sptFlowChartOnlineStorageVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, sizeof( mso_sptFlowChartOnlineStorageTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, sizeof( mso_sptFlowChartOnlineStorageGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartDelayVert[] = { { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 21600 }, { 0, 0 } }; static const sal_uInt16 mso_sptFlowChartDelaySegm[] = { 0x4000, 0xa702, 0x0002, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect[] = { { { 0, 3100 }, { 18500, 18500 } } }; static const mso_CustomShape msoFlowChartDelay = { (SvxMSDffVertPair*)mso_sptFlowChartDelayVert, sizeof( mso_sptFlowChartDelayVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, sizeof( mso_sptFlowChartDelayTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert[] = { { 20980, 18150 }, { 20980, 21600 }, { 10670, 21600 }, { 4770, 21540 }, { 0, 16720 }, { 0, 10800 }, // ccp { 0, 4840 }, { 4840, 0 }, { 10800, 0 }, // ccp { 16740, 0 }, { 21600, 4840 }, { 21600, 10800 }, // ccp { 21600, 13520 }, { 20550, 16160 }, { 18670, 18170 } // ccp }; static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm[] = { 0x4000, 0x0002, 0x2004, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect[] = { { { 3100, 3100 }, { 18500, 18500 } } }; static const mso_CustomShape msoFlowChartMagneticTape = { (SvxMSDffVertPair*)mso_sptFlowChartMagneticTapeVert, sizeof( mso_sptFlowChartMagneticTapeVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, sizeof( mso_sptFlowChartMagneticTapeTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert[] = { { 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 }, { 10800, 21600 }, { 0, 18200 }, { 0, 3400 }, { 10800, 6800 }, { 21600, 3400 } }; static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm[] = { 0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000, 0x4000, 0xa802, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect[] = { { { 0, 6800 }, { 21600, 18200 } } }; static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints[] = { { 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartMagneticDisk = { (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskVert, sizeof( mso_sptFlowChartMagneticDiskVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, sizeof( mso_sptFlowChartMagneticDiskTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, sizeof( mso_sptFlowChartMagneticDiskGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert[] = { { 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 }, { 0, 10800 }, { 3400, 0 }, { 18200, 0 }, { 14800, 10800 }, { 18200, 21600 } }; static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm[] = { 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000, 0x4000, 0xa702, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect[] = { { { 3400, 0 }, { 14800, 21600 } } }; static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 } }; static const mso_CustomShape msoFlowChartMagneticDrum = { (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumVert, sizeof( mso_sptFlowChartMagneticDrumVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, sizeof( mso_sptFlowChartMagneticDrumTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, sizeof( mso_sptFlowChartMagneticDrumGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptFlowChartDisplayVert[] = { { 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 }, { 3600, 21600 }, { 0, 10800 } }; static const sal_uInt16 mso_sptFlowChartDisplaySegm[] = { 0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect[] = { { { 3600, 0 }, { 17800, 21600 } } }; static const mso_CustomShape msoFlowChartDisplay = { (SvxMSDffVertPair*)mso_sptFlowChartDisplayVert, sizeof( mso_sptFlowChartDisplayVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, sizeof( mso_sptFlowChartDisplayTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ), NULL, 0 // handles }; static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert[] = { { 0, 0 }, { 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 }, { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 }, { 0, 21600 }, { 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 }, { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 }, { 21600, 21600 }, { 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 }, { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 }, { 21600, 0 }, { 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 }, { 8970, 0 }, { 16 MSO_I, 17 MSO_I }, { 3590, 0 }, { 0, 0 } }; static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, //0x400 { 0x2000, { DFF_Prop_adjust2Value, 0,10800 } }, { 0x6006, { 0x412, DFF_Prop_adjustValue, 0 } }, //0x402 { 0x6006, { 0x412, DFF_Prop_adjust2Value, 6280 } }, { 0x6006, { 0x417, DFF_Prop_adjustValue, 0 } }, //0x404 { 0x6006, { 0x417, DFF_Prop_adjust2Value, 15320 } }, { 0x6006, { 0x41a, DFF_Prop_adjustValue, 6280 } }, //0x406 { 0x6006, { 0x41a, DFF_Prop_adjust2Value, 21600 } }, { 0x6006, { 0x41d, DFF_Prop_adjustValue, 15320 } }, //0x408 { 0x6006, { 0x41d, DFF_Prop_adjust2Value, 21600 } }, { 0x6006, { 0x420, DFF_Prop_adjustValue, 21600 } }, //0x40a { 0x6006, { 0x420, DFF_Prop_adjust2Value, 15320 } }, { 0x6006, { 0x422, DFF_Prop_adjustValue, 21600 } }, //0x40c { 0x6006, { 0x422, DFF_Prop_adjust2Value, 6280 } }, { 0x6006, { 0x424, DFF_Prop_adjustValue, 15320 } }, //0x40e { 0x6006, { 0x424, DFF_Prop_adjust2Value, 0 } }, { 0x6006, { 0x426, DFF_Prop_adjustValue, 6280 } }, //0x410 { 0x6006, { 0x426, DFF_Prop_adjust2Value, 0 } }, { 0xa006, { DFF_Prop_adjustValue, -1, 0x413 } }, //0x412 { 0xa006, { 0x401, -1, 0x416 } }, { 0x2003, { 0x400, 0, 0 } }, //0x414 { 0x2003, { 0x401, 0, 0 } }, { 0xa000, { 0x414, 0, 0x415 } }, //0x416 { 0xa006, { DFF_Prop_adjustValue, -1, 0x418 } }, { 0x6006, { 0x401, 0x416, -1 } }, //0x418 { 0x2000, { DFF_Prop_adjust2Value, 0, 21600 } }, { 0x6006, { 0x419, 0x41b, -1 } }, //0x41a { 0xa006, { 0x400, -1, 0x41c } }, { 0xa000, { 0x415, 0, 0x414 } }, //0x41c { 0x6006, { 0x419, 0x41e, -1 } }, { 0x6006, { 0x400, 0x41c, -1 } }, //0x41e { 0x2000, { DFF_Prop_adjustValue, 0, 21600 } }, { 0x6006, { 0x41f, 0x421, -1 } }, //0x420 { 0x6006, { 0x401, 0x416, -1 } }, { 0x6006, { 0x41f, 0x423, -1 } }, //0x422 { 0xa006, { 0x401, -1, 0x416 } }, { 0xa006, { DFF_Prop_adjust2Value, -1, 0x425 } }, //0x424 { 0x6006, { 0x400, 0x41c, -1 } }, { 0xa006, { DFF_Prop_adjust2Value, -1, 0x427 } }, //0x426 { 0xa006, { 0x400, -1, 0x41c } }, { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //0x428 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } } }; static const sal_Int32 mso_sptWedgeRectCalloutDefault[] = { 2, 1400, 25920 }; static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect[] = { { { 0, 0 }, { 21600, 21600 } } }; static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints[] = { { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I, 41 MSO_I } }; static const SvxMSDffHandle mso_sptCalloutHandle[] = { { 0, 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoWedgeRectCallout = { (SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, sizeof( mso_sptWedgeRectCalloutVert ) / sizeof( SvxMSDffVertPair ), NULL, 0, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, sizeof( mso_sptWedgeRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, sizeof( mso_sptWedgeRectCalloutGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert[] = { { 3590, 0 }, { 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 }, { 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 }, { 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 }, { 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 }, { 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 }, { 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 }, { 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 }, { 8970, 0 }, { 16 MSO_I, 17 MSO_I } }; static const sal_uInt16 mso_sptWedgeRRectCalloutSegm[] = { 0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect[] = { { { 800, 800 }, { 20800, 20800 } } }; static const mso_CustomShape msoWedgeRRectCallout = { (SvxMSDffVertPair*)mso_sptWedgeRRectCalloutVert, sizeof( mso_sptWedgeRRectCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, sizeof( mso_sptWedgeRRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptBalloonVert[] = { { 3590, 0 }, { 0, 3590 }, { 0, 14460 }, { 3590, 18050 }, { 40 MSO_I, 21600 }, { 5420, 18050 }, { 18010, 18050 }, { 21600, 14460 }, { 21600, 3590 }, { 18010, 0 } }; static const sal_uInt16 mso_sptBalloonSegm[] = { 0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000 }; static const SvxMSDffHandle mso_sptBalloonHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 1, 10800, 10800, 0, 8990, 0x80000000, 0x7fffffff } }; static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] = { { { 800, 800 }, { 20800, 17250 } } }; static const mso_CustomShape msoBalloon = { (SvxMSDffVertPair*)mso_sptBalloonVert, sizeof( mso_sptBalloonVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptBalloonTextRect, sizeof( mso_sptBalloonTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBalloonHandle, sizeof( mso_sptBalloonHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert[] = { { 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0xe MSO_I, 0xf MSO_I } }; static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm[] = { 0xa504, 0x0001, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, // 00 rad x { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } }, // 01 rad y { 0x6001, { 0x400, 0x400, 1 } }, // 02 rad x^2 { 0x6001, { 0x401, 0x401, 1 } }, // 03 rad y^2 { 0x6000, { 0x402, 0x403, 0 } }, // 04 { 0x200d, { 0x404, 0, 0 } }, // 05 { 0x2000, { 0x405, 0, 10800 } }, // 06 > 0 ? spur needs to be drawn : 10800 { 0x6008, { 0x400, 0x401, 0 } }, // 07 atan2 -> angle { 0x2000, { 0x407, 0, 10 } }, // 08 { 0x2000, { 0x407, 10, 0 } }, // 09 { 0x400a, { 10800, 0x407, 0 } }, // 0a { 0x4009, { 10800, 0x407, 0 } }, // 0b { 0x2000, { 0x40a, 10800, 0 } }, // 0c { 0x2000, { 0x40b, 10800, 0 } }, // 0d { 0xe006, { 0x406, DFF_Prop_adjustValue, 0x40c } }, // 0e { 0xe006, { 0x406, DFF_Prop_adjust2Value, 0x40d } },// 0f { 0x400a, { 10800, 0x408, 0 } }, // 10 { 0x4009, { 10800, 0x408, 0 } }, // 11 { 0x2000, { 0x410, 10800, 0 } }, // 12 { 0x2000, { 0x411, 10800, 0 } }, // 13 { 0x400a, { 10800, 0x409, 0 } }, // 14 { 0x4009, { 10800, 0x409, 0 } }, // 15 { 0x2000, { 0x414, 10800, 0 } }, // 16 { 0x2000, { 0x415, 10800, 0 } } // 17 }; static const sal_Int32 mso_sptWedgeEllipseCalloutDefault[] = { 2, 1350, 25920 }; static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints[] = { { 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I, 0xf MSO_I } }; static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect[] = { { { 3200, 3200 }, { 18400, 18400 } } }; static const mso_CustomShape msoWedgeEllipseCallout = { (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutVert, sizeof( mso_sptWedgeEllipseCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, sizeof( mso_sptWedgeEllipseCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWedgeEllipseCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, sizeof( mso_sptWedgeEllipseCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, sizeof( mso_sptWedgeEllipseCalloutGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptCloudCalloutVert[] = { { 1930,7160 }, // p { 1530,4490 }, { 3400,1970 }, { 5270,1970 }, // ccp { 5860,1950 }, { 6470,2210 }, { 6970,2600 }, // ccp { 7450,1390 }, { 8340,650 }, { 9340,650 }, // ccp { 10004,690 }, { 10710,1050 }, { 11210,1700 }, // ccp { 11570,630 }, { 12330,0 }, { 13150,0 }, // ccp { 13840,0 }, { 14470,460 }, { 14870,1160 }, // ccp { 15330,440 }, { 16020,0 }, { 16740,0 }, // ccp { 17910,0 }, { 18900,1130 }, { 19110,2710 }, // ccp { 20240,3150 }, { 21060,4580 }, { 21060,6220 }, // ccp { 21060,6720 }, { 21000,7200 }, { 20830,7660 }, // ccp { 21310,8460 }, { 21600,9450 }, { 21600,10460 }, // ccp { 21600,12750 }, { 20310,14680 }, { 18650,15010 }, // ccp { 18650,17200 }, { 17370,18920 }, { 15770,18920 }, // ccp { 15220,18920 }, { 14700,18710 }, { 14240,18310 }, // ccp { 13820,20240 }, { 12490,21600 }, { 11000,21600 }, // ccp { 9890,21600 }, { 8840,20790 }, { 8210,19510 }, // ccp { 7620,20000 }, { 7930,20290 }, { 6240,20290 }, // ccp { 4850,20290 }, { 3570,19280 }, { 2900,17640 }, // ccp { 1300,17600 }, { 480,16300 }, { 480,14660 }, // ccp { 480,13900 }, { 690,13210 }, { 1070,12640 }, // ccp { 380,12160 }, { 0,11210 }, { 0,10120 }, // ccp { 0,8590 }, { 840,7330 }, { 1930,7160 }, // ccp { 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 }, // pccp { 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 }, // pccp { 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 }, // pccp { 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 }, // pccp { 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 }, // pccp { 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 }, // pccp { 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 }, // pccp { 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 }, // pccp { 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 }, // pccp { 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 }, // pccp { 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 }, // pccp { 0x11 MSO_I, 0x12 MSO_I }, { 1800, 1800 }, { 0, 360 }, // circ1 { 0x13 MSO_I, 0x14 MSO_I }, { 1200, 1200 }, { 0, 360 }, // circ2 { 0xd MSO_I, 0xe MSO_I }, { 700, 700 }, { 0, 360 } // circ3 }; static const sal_uInt16 mso_sptCloudCalloutSegm[] = { 0x4000, 0x2016, 0x6001, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0x4000, 0x2001, 0xaa00, 0x8000, 0xa203, 0x6001, 0x8000, 0xa203, 0x6001, 0x8000, 0xa203, 0x6001, 0x8000 }; static const SvxMSDffCalculationData mso_sptCloudCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } }, { 0x6008, { 0x400, 0x401, 0 } }, { 0x400a, { 10800, 0x402, 0 } }, // 3 { 0x4009, { 10800, 0x402, 0 } }, // 4 { 0x2000, { 0x403, 10800, 0 } }, // 5 { 0x2000, { 0x404, 10800, 0 } }, // 6 { 0xa000, { DFF_Prop_adjustValue, 0, 0x405 } }, // 7 { 0xa000, { DFF_Prop_adjust2Value,0, 0x406 } }, // 8 { 0x2001, { 0x407, 1, 3 } }, // 9 { 0x2001, { 0x408, 1, 3 } }, // 0xa { 0x2001, { 0x407, 2, 3 } }, // 0xb { 0x2001, { 0x408, 2, 3 } }, // 0xc { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 0xd { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, // 0xe { 0x2001, { 0x403, 1, 10800 / 900 } }, // 0xf taking half x distance of the radius from the first bobble { 0x2001, { 0x404, 1, 10800 / 900 } }, // 0x10 { 0xe000, { 0x409, 0x405, 0x40f } }, // 0x11 { 0xe000, { 0x40a, 0x406, 0x410 } }, // 0x12 { 0x6000, { 0x40b, 0x405, 0 } }, // 0x13 { 0x6000, { 0x40c, 0x406, 0 } } // 0x14 }; static const sal_Int32 mso_sptCloudCalloutDefault[] = { 2, 1350, 25920 }; static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect[] = { { { 3000, 3320 }, { 17110, 17330 } } }; static const mso_CustomShape msoCloudCallout = { (SvxMSDffVertPair*)mso_sptCloudCalloutVert, sizeof( mso_sptCloudCalloutVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, sizeof( mso_sptCloudCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCloudCalloutDefault, (SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, sizeof( mso_sptCloudCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle ) // handles }; static const SvxMSDffVertPair mso_sptWaveVert[] = // adjustment1 : 0 - 4460 { // adjustment2 : 8640 - 12960 { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I }, { 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I } }; static const SvxMSDffCalculationData mso_sptWaveCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj) { 0x8000, { 21600, 0, 0x400 } }, //401 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj) { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj) { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj) { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj) { 0x8000, { 4320, 0, 0x405 } }, //406 { 0xa006, { 0x403, 0, 0x405 } }, //407 { 0x4001, { 15800, 0x400, 4460 } }, //408 0 -> 15800 (vert.adj) { 0xa000, { 0x400, 0, 0x408 } }, //409 { 0x6000, { 0x400, 0x408, 0 } }, //40a { 0x8000, { 21600, 0, 0x404 } }, //40b { 0x6006, { 0x403, 0x40b, 21600 } }, //40c { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1 { 0x2001, { 0x405, 1, 2 } }, //40e { 0xa000, { 0x407, 7200, 0x40e } }, //40f { 0x6000, { 0x40c, 0x40e, 7200 } }, //410 { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox) { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox) { 0x8000, { 21600, 0, 0x407 } }, //418 p2 { 0x8000, { 21600, 0, 0x40f } }, //419 c { 0x6000, { 0x401, 0x408, 0 } }, //41a { 0x8000, { 21600, 0, 0x410 } }, //41b c { 0xa000, { 0x401, 0, 0x408 } }, //41c { 0x8000, { 21600, 0, 0x40c } } //41d p3 }; static const SvxMSDffVertPair mso_sptWaveGluePoints[] = { { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 } }; static const sal_uInt16 mso_sptWaveSegm[] = { 0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000 }; static const SvxMSDffHandle mso_sptWaveHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4460 }, { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptWaveDefault[] = { 2, 1400, 10800 }; static const SvxMSDffTextRectangles mso_sptWaveTextRect[] = { { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } } }; static const mso_CustomShape msoWave = { (SvxMSDffVertPair*)mso_sptWaveVert, sizeof( mso_sptWaveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptWaveTextRect, sizeof( mso_sptWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptDoubleWaveVert[] = // adjustment1 : 0 - 2230 { // adjustment2 : 8640 - 12960 { 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 }, { 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 } }; static const SvxMSDffCalculationData mso_sptDoubleWaveCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //400 (vert.adj) { 0x8000, { 21600, 0, 0x400 } }, //401 { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj) { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj) { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj) { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj) { 0x8000, { 4320, 0, 0x405 } }, //406 -> not used { 0xa006, { 0x403, 0, 0x405 } }, //407 { 0x4001, { 7900, 0x400, 2230 } }, //408 0 -> 7900 (vert.adj) { 0xa000, { 0x400, 0, 0x408 } }, //409 { 0x6000, { 0x400, 0x408, 0 } }, //40a { 0x8000, { 21600, 0, 0x404 } }, //40b { 0x6006, { 0x403, 0x40b, 21600 } }, //40c { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1 { 0x2001, { 0x405, 1, 2 } }, //40e { 0xa000, { 0x407, 3600, 0x40e } }, //40f { 0x6000, { 0x40c, 0x40e, 3600 } }, //410 { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox) { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox) { 0x8000, { 21600, 0, 0x407 } }, //418 p2 { 0x8000, { 21600, 0, 0x40f } }, //419 c { 0x6000, { 0x401, 0x408, 0 } }, //41a { 0x8000, { 21600, 0, 0x410 } }, //41b c { 0xa000, { 0x401, 0, 0x408 } }, //41c { 0x8000, { 21600, 0, 0x40c } }, //41d p3 { 0xa000, { 0x412, 0, 0x40e } }, //41e { 0x6000, { 0x412, 0x40e, 0 } }, //41f { 0xa000, { 0x413, 0, 0x40e } }, //420 { 0x6000, { 0x413, 0x40e, 0 } } //421 }; static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints[] = { { 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 } }; static const sal_uInt16 mso_sptDoubleWaveSegm[] = { 0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000 }; static const SvxMSDffHandle mso_sptDoubleWaveHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 2230 }, { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptDoubleWaveDefault[] = { 2, 1400, 10800 }; static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect[] = { { { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } } }; static const mso_CustomShape msoDoubleWave = { (SvxMSDffVertPair*)mso_sptDoubleWaveVert, sizeof( mso_sptDoubleWaveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) }; // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default static const sal_uInt16 mso_DefaultFillingTable[] = { 0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000 }; sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType ) { sal_Bool bIsFilledByDefault = sal_True; sal_uInt32 i = (sal_uInt32)eSpType; if ( i < 0x100 ) bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0; return bIsFilledByDefault; } sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType ) { sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS; const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType ); if ( pDefCustomShape && pDefCustomShape->nGluePoints ) nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM; else { switch( eSpType ) { case mso_sptRectangle : case mso_sptRoundRectangle : case mso_sptPictureFrame : case mso_sptFlowChartProcess : case mso_sptFlowChartPredefinedProcess : case mso_sptFlowChartInternalStorage : case mso_sptTextPlainText : case mso_sptTextBox : case mso_sptVerticalScroll : case mso_sptHorizontalScroll : nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT; default: break; } } return nGluePointType; } // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default // #i28269# static const sal_uInt16 mso_DefaultStrokingTable[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame) 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }; // #i28269# sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType ) { sal_Bool bIsStrokedByDefault = sal_True; sal_uInt32 i = (sal_uInt32)eSpType; if ( i < 0x100 ) bIsStrokedByDefault = ( mso_DefaultStrokingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0; return bIsStrokedByDefault; } static const sal_uInt16 msoSortFilledObjectsToBackTable[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }; sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType ) { sal_Bool bSortFilledObjectsToBackByDefault = sal_True; sal_uInt32 i = (sal_uInt32)eSpType; if ( i < 0x100 ) bSortFilledObjectsToBackByDefault = ( msoSortFilledObjectsToBackTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) != 0; return bSortFilledObjectsToBackByDefault; } static const SvxMSDffVertPair mso_sptFontWorkVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptFontWorkSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffTextRectangles mso_sptFontWorkTextRect[] = { { { 0, 0 }, { 21600, 21600 } } }; static const mso_CustomShape msoFontWork = { (SvxMSDffVertPair*)mso_sptFontWorkVert, sizeof( mso_sptFontWorkVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, NULL, 0 // Handles }; static const SvxMSDffVertPair mso_sptTextPlainTextVert[] = { { 3 MSO_I, 0 }, { 5 MSO_I, 0 }, { 6 MSO_I, 21600 }, { 7 MSO_I, 21600 } }; static const SvxMSDffCalculationData mso_sptTextPlainTextCalc[] = // adjustment1 : 6629 - 14971 { { 0x2000, { DFF_Prop_adjustValue, 0, 10800 } }, { 0x2001, { 0x400, 2, 1 } }, { 0x2003, { 0x401, 0, 0 } }, { 0xa006, { 0x401, 0, 0x402 } }, // x1(3) { 0x8000, { 21600, 0, 0x402 } }, { 0x6006, { 0x401, 0x404, 21600 } }, // x2(5) { 0x6006, { 0x401, 0x402, 0 } }, // x2 { 0xa006, { 0x401, 21600, 0x404 } } // x3(7) }; static const sal_uInt16 mso_sptTextPlainTextSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextPlainTextHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 21600, 10800, 10800, 6629, 14971, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoTextPlainText = { (SvxMSDffVertPair*)mso_sptTextPlainTextVert, sizeof( mso_sptTextPlainTextVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, sizeof( mso_sptTextPlainTextCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextPlainTextHandle, sizeof( mso_sptTextPlainTextHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextStopVert[] = { { 0, 0 MSO_I }, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I }, { 0, 1 MSO_I }, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextStopCalc[] = // adjustment1 : 3080 - 10800 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } }; static const sal_uInt16 mso_sptTextStopSegm[] = { 0x4000, 0x0003, 0x8000, 0x4000, 0x0003, 0x8000 }; static const sal_Int32 mso_sptTextStopDefault[] = { 1, 2700 }; static const SvxMSDffHandle mso_sptTextStopHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 3080, 10800 } }; static const mso_CustomShape msoTextStop = { (SvxMSDffVertPair*)mso_sptTextStopVert, sizeof( mso_sptTextStopVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextStopCalc, sizeof( mso_sptTextStopCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextStopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextStopHandle, sizeof( mso_sptTextStopHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextTriangleVert[] = { { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextTriangleCalc[] = // adjustment1 : 6629 - 14971 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } }; static const sal_uInt16 mso_sptTextTriangleSegm[] = { 0x4000, 0x0002, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextTriangleHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoTextTriangle = { (SvxMSDffVertPair*)mso_sptTextTriangleVert, sizeof( mso_sptTextTriangleVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I } }; static const sal_uInt16 mso_sptTextTriangleInvertedSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x0002, 0x8000 }; static const mso_CustomShape msoTextTriangleInverted = { (SvxMSDffVertPair*)mso_sptTextTriangleInvertedVert, sizeof( mso_sptTextTriangleInvertedVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextChevronVert[] = { { 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 10800, 1 MSO_I }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextChevronCalc[] = // adjustment1 : 6629 - 14971 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } }; static const sal_uInt16 mso_sptTextChevronSegm[] = { 0x4000, 0x0002, 0x8000, 0x4000, 0x0002, 0x8000 }; static const SvxMSDffHandle mso_sptTextChevronHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextChevron = { (SvxMSDffVertPair*)mso_sptTextChevronVert, sizeof( mso_sptTextChevronVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextChevronCalc, sizeof( mso_sptTextChevronCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextChevronHandle, sizeof( mso_sptTextChevronHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextChevronInvertedVert[] = { { 0, 0 }, { 10800, 1 MSO_I }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc[] = // adjustment1 : 6629 - 14971 { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } }; static const sal_uInt16 mso_sptTextChevronInvertedSegm[] = { 0x4000, 0x0002, 0x8000, 0x4000, 0x0002, 0x8000 }; static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 } }; static const mso_CustomShape msoTextChevronInverted = { (SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, sizeof( mso_sptTextChevronInvertedVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, sizeof( mso_sptTextChevronInvertedCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] = { { 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }, { 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 } }; static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] = // adjustment1 : 6629 - 14971 { { 0x2001, { DFF_Prop_adjustValue, 1, 2 } }, { 0x8000, { 21600, 0, 0x400 } } }; static const sal_uInt16 mso_sptTextRingOutsideSegm[] = { 0xA203, 0x8000, 0xA203, 0x8000 }; static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 } }; static const mso_CustomShape msoTextRingOutside = { (SvxMSDffVertPair*)mso_sptTextRingOutsideVert, sizeof( mso_sptTextRingOutsideVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, sizeof( mso_sptTextRingOutsideCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault16200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextRingOutsideHandle, sizeof( mso_sptTextRingOutsideHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextFadeRightVert[] = { { 0, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 1 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextFadeCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } } }; static const sal_uInt16 mso_sptTextFadeSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextFadeRightHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextFadeRight = { (SvxMSDffVertPair*)mso_sptTextFadeRightVert, sizeof( mso_sptTextFadeRightVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeRightHandle, sizeof( mso_sptTextFadeRightHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] = { { 0, 0 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 21600, 21600 } }; static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextFadeLeft = { (SvxMSDffVertPair*)mso_sptTextFadeLeftVert, sizeof( mso_sptTextFadeLeftVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeLeftHandle, sizeof( mso_sptTextFadeLeftHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextFadeUpVert[] = { { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffHandle mso_sptTextFadeUpHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoTextFadeUp = { (SvxMSDffVertPair*)mso_sptTextFadeUpVert, sizeof( mso_sptTextFadeUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeUpHandle, sizeof( mso_sptTextFadeUpHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextFadeDownVert[] = { { 0, 0 }, { 21600, 0 }, { 0 MSO_I, 21600 }, { 1 MSO_I, 21600 } }; static const SvxMSDffHandle mso_sptTextFadeDownHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 21600, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoTextFadeDown = { (SvxMSDffVertPair*)mso_sptTextFadeDownVert, sizeof( mso_sptTextFadeDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeDownHandle, sizeof( mso_sptTextFadeDownHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextSlantUpVert[] = { { 0, 0 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I } }; static const SvxMSDffHandle mso_sptTextSlantUpHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 15400 } }; static const mso_CustomShape msoTextSlantUp = { (SvxMSDffVertPair*)mso_sptTextSlantUpVert, sizeof( mso_sptTextSlantUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault12000, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextSlantUpHandle, sizeof( mso_sptTextSlantUpHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextSlantDownVert[] = { { 0, 0 }, { 21600, 1 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 } }; static const SvxMSDffHandle mso_sptTextSlantDownHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextSlantDown = { (SvxMSDffVertPair*)mso_sptTextSlantDownVert, sizeof( mso_sptTextSlantDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault12000, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextSlantDownHandle, sizeof( mso_sptTextSlantDownHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCascadeUpVert[] = { { 0, 2 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, { 0x2001, { 0x401, 1, 4 } } }; static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextCascadeUp = { (SvxMSDffVertPair*)mso_sptTextCascadeUpVert, sizeof( mso_sptTextCascadeUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault9600, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCascadeUpHandle, sizeof( mso_sptTextCascadeUpHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] = { { 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 } }; static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextCascadeDown = { (SvxMSDffVertPair*)mso_sptTextCascadeDownVert, sizeof( mso_sptTextCascadeDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault9600, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCascadeDownHandle, sizeof( mso_sptTextCascadeDownHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextArchUpCurveVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x402 } } }; static const sal_uInt16 mso_sptTextArchUpCurveSegm[] = { 0xA504, 0x8000 // clockwíse arc }; static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR, 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchUpCurveDefault[] = { 1, 180 }; static const mso_CustomShape msoTextArchUpCurve = { (SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, sizeof( mso_sptTextArchUpCurveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextArchUpCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, sizeof( mso_sptTextArchUpCurveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextArchDownCurveVert[] = { { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptTextArchDownCurveSegm[] = { 0xA304, 0x8000 // counter clockwise arc to }; static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR, 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchDownCurveDefault[] = { 1, 0 }; static const mso_CustomShape msoTextArchDownCurve = { (SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, sizeof( mso_sptTextArchDownCurveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextArchDownCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, sizeof( mso_sptTextArchDownCurveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCircleCurveVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x403 } } }; static const sal_uInt16 mso_sptTextCircleCurveSegm[] = { 0xA504, 0x8000 // clockwise arc to }; static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR, 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextCircleCurveDefault[] = { 1, -179 }; static const mso_CustomShape msoTextCircleCurve = { (SvxMSDffVertPair*)mso_sptTextCircleCurveVert, sizeof( mso_sptTextCircleCurveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, sizeof( mso_sptTextCircleCurveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCircleCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCircleCurveHandle, sizeof( mso_sptTextCircleCurveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextButtonCurveVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 0, 10800 }, { 21600, 10800 }, { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x402 } }, { 0x8000, { 21600, 0, 0x403 } } }; static const sal_uInt16 mso_sptTextButtonCurveSegm[] = { 0xA504, 0x8000, // clockwise arc 0x4000, 0x0001, 0x8000, 0xA304, 0x8000 // counter clockwise }; static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR, 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextButtonCurveDefault[] = { 1, 180 }; static const mso_CustomShape msoTextButtonCurve = { (SvxMSDffVertPair*)mso_sptTextButtonCurveVert, sizeof( mso_sptTextButtonCurveVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, sizeof( mso_sptTextButtonCurveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextButtonCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextButtonCurveHandle, sizeof( mso_sptTextButtonCurveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextArchUpPourVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 9 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextArchPourCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x402 } }, { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6 { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x406, 10800, 0 } }, // 8 { 0x2000, { 0x407, 10800, 0 } }, { 0x8000, { 21600, 0, 0x408 } }, // 10 { 0x8000, { 21600, 0, 0x405 } } }; static const sal_uInt16 mso_sptTextArchUpPourSegm[] = { 0xA504, 0x8000, 0xA504, 0x8000 }; static const SvxMSDffHandle mso_sptTextArchPourHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchUpPourDefault[] = { 2, 180, 5400 }; static const mso_CustomShape msoTextArchUpPour = { (SvxMSDffVertPair*)mso_sptTextArchUpPourVert, sizeof( mso_sptTextArchUpPourVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextArchUpPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextArchDownPourVert[] = { { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 0xa MSO_I, 9 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I } }; static const sal_uInt16 mso_sptTextArchDownPourSegm[] = { 0xA304, 0x8000, 0xA304, 0x8000 }; static const sal_Int32 mso_sptTextArchDownPourDefault[] = { 2, 0, 5400 }; static const mso_CustomShape msoTextArchDownPour = { (SvxMSDffVertPair*)mso_sptTextArchDownPourVert, sizeof( mso_sptTextArchDownPourVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextArchDownPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCirclePourVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 8 MSO_I, 0xa MSO_I } }; static const SvxMSDffCalculationData mso_sptTextCirclePourCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x400, 10800, 0 } }, { 0x2000, { 0x401, 10800, 0 } }, { 0x8000, { 21600, 0, 0x403 } }, { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, { 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } }, // 6 { 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }, { 0x2000, { 0x406, 10800, 0 } }, // 8 { 0x2000, { 0x407, 10800, 0 } }, { 0x8000, { 21600, 0, 0x409 } }, // 10 { 0x8000, { 21600, 0, 0x405 } }, { 0x000, { 21600, 0, 0 } } }; static const sal_uInt16 mso_sptTextCirclePourSegm[] = { 0xA504, 0x8000, 0xA504, 0x8000 }; static const SvxMSDffHandle mso_sptTextCirclePourHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextCirclePourDefault[] = { 2, -179, 5400 }; static const mso_CustomShape msoTextCirclePour = { (SvxMSDffVertPair*)mso_sptTextCirclePourVert, sizeof( mso_sptTextCirclePourVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, sizeof( mso_sptTextCirclePourCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCirclePourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCirclePourHandle, sizeof( mso_sptTextCirclePourHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextButtonPourVert[] = { { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 12 MSO_I, 11 MSO_I }, { 0x16 MSO_I, 16 MSO_I }, { 0x15 MSO_I, 16 MSO_I }, { 0x16 MSO_I, 15 MSO_I }, { 0x15 MSO_I, 15 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 13 MSO_I }, { 12 MSO_I, 13 MSO_I }, { 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextButtonPourCalc[] = { { 0x400a, { 10800, DFF_Prop_adjustValue, 0 } }, // 0x00 { 0x4009, { 10800, DFF_Prop_adjustValue, 0 } }, // 0x01 { 0x2000, { 0x400, 10800, 0 } }, // 0x02 { 0x2000, { 0x401, 10800, 0 } }, // 0x03 { 0x8000, { 21600, 0, 0x402 } }, // 0x04 { 0x8000, { 21600, 0, 0x403 } }, // 0x05 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value } }, // 0x06 { 0x8000, { 21600, 0, 0x406 } }, // 0x07 { 0x600a, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x08 { 0x6009, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } }, // 0x09 { 0x2000, { 0x408, 10800, 0 } }, // 0x0a { 0x2000, { 0x409, 10800, 0 } }, // 0x0b { 0x8000, { 21600, 0, 0x40a } }, // 0x0c { 0x8000, { 21600, 0, 0x40b } }, // 0x0d { 0x2001, { 0x406, 1, 2 } }, // 0x0e { 0x4000, { 10800, 0x40e, 0 } }, // 0x0f { 0x8000, { 10800, 0, 0x40e } }, // 0x10 { 0x6001, { 0x40e, 0x40e, 1 } }, // 0x11 { 0x6001, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 1 } }, // 0x12 { 0xA000, { 0x412, 0, 0x411 } }, // 0x13 { 0x200d, { 0x413, 0, 0 } }, // 0x14 { 0x4000, { 10800, 0x414, 0 } }, // 0x15 { 0x8000, { 10800, 0, 0x414 } } // 0x16 }; static const sal_uInt16 mso_sptTextButtonPourSegm[] = { 0xA504, 0x8000, // clockwise arc 0xA504, 0x8000, // clockwise arc 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0xA304, 0x8000, // counter clockwise 0xA304, 0x8000 // counter clockwise }; static const SvxMSDffHandle mso_sptTextButtonPourHandle[] = { { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x101, 0x100, 10800, 10800, 4320, 10800, 0x80000000, 0x7fffffff } }; static const sal_Int32 mso_sptTextButtonPourDefault[] = { 2, 180, 5400 }; static const mso_CustomShape msoTextButtonPour = { (SvxMSDffVertPair*)mso_sptTextButtonPourVert, sizeof( mso_sptTextButtonPourVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, sizeof( mso_sptTextButtonPourCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextButtonPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextButtonPourHandle, sizeof( mso_sptTextButtonPourHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCurveUpVert[] = { { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 }, { 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*/ } }; static const SvxMSDffCalculationData mso_sptTextCurveUpCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x4001, { 14250, 0x400, 12170 } }, // 401 { 0x4001, { 12800, 0x400, 12170 } }, // 402 { 0x4001, { 6380, 0x400, 12170 } }, // 403 { 0x8000, { 21600, 0, 0x403 } } // 404 }; static const sal_uInt16 mso_sptTextCurveUpSegm[] = { 0x4000, 0x2001, 0x8000, 0x4000, 0x2002, 0x8000 }; static const SvxMSDffHandle mso_sptTextCurveUpHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 } }; static const sal_Int32 mso_sptTextCurveUpDefault[] = { 1, 9900 }; static const mso_CustomShape msoTextCurveUp = { (SvxMSDffVertPair*)mso_sptTextCurveUpVert, sizeof( mso_sptTextCurveUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCurveUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCurveUpHandle, sizeof( mso_sptTextCurveUpHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCurveDownVert[] = { // { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 }, { 0, 0 }, { 9960, 2 MSO_I }, { 16700, 1 MSO_I }, { 21600, 0 MSO_I }, // { 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*/ } { 0, 4 MSO_I }, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I } }; static const SvxMSDffHandle mso_sptTextCurveDownHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 } }; static const mso_CustomShape msoTextCurveDown = { (SvxMSDffVertPair*)mso_sptTextCurveDownVert, sizeof( mso_sptTextCurveDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCurveUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCurveDownHandle, sizeof( mso_sptTextCurveDownHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCanUpVert[] = { { 0, 1 MSO_I }, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I }, { 0, 21600 }, { 900, 4 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 4 MSO_I }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextCanUpCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401 { 0x2000, { DFF_Prop_adjustValue, 0, 14400 } }, // 402 { 0x4001, { 5470, 0x402, 7200 } }, // 403 { 0x4000, { 16130, 0x403, 0 } } // 404 }; static const sal_uInt16 mso_sptTextCanUpSegm[] = { 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000 }; static const SvxMSDffHandle mso_sptTextCanUpHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 } }; static const sal_Int32 mso_sptTextCanUpDefault[] = { 1, 18500 }; static const mso_CustomShape msoTextCanUp = { (SvxMSDffVertPair*)mso_sptTextCanUpVert, sizeof( mso_sptTextCanUpVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCanUpCalc, sizeof( mso_sptTextCanUpCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCanUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCanUpHandle, sizeof( mso_sptTextCanUpHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextCanDownVert[] = { { 0, 0 }, { 900, 2 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 2 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x8000, { 21600, 0, DFF_Prop_adjustValue } }, // 401 { 0x4001, { 5470, 0x400, 7200 } } // 402 }; static const SvxMSDffHandle mso_sptTextCanDownHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 } }; static const sal_Int32 mso_sptTextCanDownDefault[] = { 1, 3100 }; static const mso_CustomShape msoTextCanDown = { (SvxMSDffVertPair*)mso_sptTextCanDownVert, sizeof( mso_sptTextCanDownVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCanDownCalc, sizeof( mso_sptTextCanDownCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextCanDownDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextCanDownHandle, sizeof( mso_sptTextCanDownHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextInflateVert[] = { { 0, 0 MSO_I }, { 4100, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I }, { 21600, 0 MSO_I }, { 0, 2 MSO_I }, { 4100, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I }, { 21600, 2 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextInflateCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x4001, { 1530, 0x400, 4650 } }, // 401 { 0x8000, { 21600, 0, 0x400 } }, // 402 { 0x8000, { 21600, 0, 0x401 } } // 403 }; static const SvxMSDffHandle mso_sptTextInflateHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4650 } }; static const sal_Int32 mso_sptTextInflateDefault[] = { 1, 2950 }; static const mso_CustomShape msoTextInflate = { (SvxMSDffVertPair*)mso_sptTextInflateVert, sizeof( mso_sptTextInflateVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateCalc, sizeof( mso_sptTextInflateCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextInflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateHandle, sizeof( mso_sptTextInflateHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextDeflateVert[] = { { 0, 0 }, { 3500, 1 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 18100, 1 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 3500, 3 MSO_I }, { 7100, 2 MSO_I }, { 10800, 2 MSO_I }, { 14500, 2 MSO_I }, { 18100, 3 MSO_I }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x2001, { 0x400, 5320, 7100 } }, // 401 { 0x8000, { 21600, 0, 0x400 } }, // 402 { 0x8000, { 21600, 0, 0x401 } } // 403 }; static const SvxMSDffHandle mso_sptTextDeflateHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 8100 } }; static const mso_CustomShape msoTextDeflate = { (SvxMSDffVertPair*)mso_sptTextDeflateVert, sizeof( mso_sptTextDeflateVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateCalc, sizeof( mso_sptTextDeflateCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDefault8100, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateHandle, sizeof( mso_sptTextDeflateHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextInflateBottomVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 3500, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I }, { 21600, 0 MSO_I } }; static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x2000, { 0x400, 0, 11150 } }, // 401 0->10450 { 0x2001, { 0x401, 3900, 10450 } }, // 402 { 0x2000, { 0x402, 17700, 0 } } // 403 }; static const sal_uInt16 mso_sptTextInflateBottomSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x2002, 0x8000 }; static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 11150, 21600 } }; static const sal_Int32 mso_sptTextInflateBottomDefault[] = { 1, 14700 }; static const mso_CustomShape msoTextInflateBottom = { (SvxMSDffVertPair*)mso_sptTextInflateBottomVert, sizeof( mso_sptTextInflateBottomVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, sizeof( mso_sptTextInflateBottomCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextInflateBottomDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateBottomHandle, sizeof( mso_sptTextInflateBottomHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextDeflateBottomVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 2900, 3 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 3 MSO_I }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x2000, { 0x400, 0, 1350 } }, // 401 0->20250 { 0x2001, { 0x401, 12070, 20250 } }, // 402 { 0x2000, { 0x402, 9530, 0 } } // 403 }; static const sal_uInt16 mso_sptTextDeflateBottomSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x2002, 0x8000 }; static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1350, 21600 } }; static const sal_Int32 mso_sptTextDeflateBottomDefault[] = { 1, 11500 }; static const mso_CustomShape msoTextDeflateBottom = { (SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, sizeof( mso_sptTextDeflateBottomVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, sizeof( mso_sptTextDeflateBottomCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextDeflateBottomDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, sizeof( mso_sptTextDeflateBottomHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextInflateTopVert[] = { { 0, 0 MSO_I }, { 3500, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextInflateTopCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x2001, { 0x400, 3900, 10450 } } // 401 }; static const sal_uInt16 mso_sptTextInflateTopSegm[] = { 0x4000, 0x2002, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextInflateTopHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10450 } }; static const sal_Int32 mso_sptTextInflateTopDefault[] = { 1, 6900 }; static const mso_CustomShape msoTextInflateTop = { (SvxMSDffVertPair*)mso_sptTextInflateTopVert, sizeof( mso_sptTextInflateTopVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, sizeof( mso_sptTextInflateTopCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextInflateTopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateTopHandle, sizeof( mso_sptTextInflateTopHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextDeflateTopVert[] = { { 0, 0 }, { 2900, 1 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 1 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x2001, { 0x400, 12070, 20250 } } // 402 }; static const sal_uInt16 mso_sptTextDeflateTopSegm[] = { 0x4000, 0x2002, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 20250 } }; static const sal_Int32 mso_sptTextDeflateTopDefault[] = { 1, 10100 }; static const mso_CustomShape msoTextDeflateTop = { (SvxMSDffVertPair*)mso_sptTextDeflateTopVert, sizeof( mso_sptTextDeflateTopVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, sizeof( mso_sptTextDeflateTopCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextDeflateTopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateTopHandle, sizeof( mso_sptTextDeflateTopHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextDeflateInflateVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 10100 }, { 3300, 3 MSO_I }, { 7100, 5 MSO_I }, { 10800, 5 MSO_I }, { 14500, 5 MSO_I }, { 18300, 3 MSO_I }, { 21600, 10100 }, { 0, 11500 }, { 3300, 4 MSO_I }, { 7100, 6 MSO_I }, { 10800, 6 MSO_I }, { 14500, 6 MSO_I }, { 18300, 4 MSO_I }, { 21600, 11500 }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, // 400 { 0x8000, { 10800, 0, 0x400 } }, // 401 { 0x2001, { 0x401, 5770, 9500 } }, // 402 { 0x8000, { 10100, 0, 0x402 } }, // 403 { 0x8000, { 11500, 0, 0x402 } }, // 404 { 0x2000, { 0x400, 0, 700 } }, // 405 { 0x2000, { 0x400, 700, 0 } } // 406 }; static const sal_uInt16 mso_sptTextDeflateInflateSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1300, 20300 } }; static const sal_Int32 mso_sptTextDeflateInflateDefault[] = { 1, 6500 }; static const mso_CustomShape msoTextDeflateInflate = { (SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, sizeof( mso_sptTextDeflateInflateVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, sizeof( mso_sptTextDeflateInflateCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextDeflateInflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, sizeof( mso_sptTextDeflateInflateHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert[] = { { 0, 0 }, { 21600, 0 }, { 0, 6600 }, { 3600, 3 MSO_I }, { 7250, 4 MSO_I }, { 10800, 4 MSO_I }, { 14350, 4 MSO_I }, { 18000, 3 MSO_I }, { 21600, 6600 }, { 0, 7500 }, { 3600, 5 MSO_I }, { 7250, 6 MSO_I }, { 10800, 6 MSO_I }, { 14350, 6 MSO_I }, { 18000, 5 MSO_I }, { 21600, 7500 }, { 0, 14100 }, { 3600, 9 MSO_I }, { 7250, 10 MSO_I }, { 10800, 10 MSO_I }, { 14350, 10 MSO_I }, { 18000, 9 MSO_I }, { 21600, 14100 }, { 0, 15000 }, { 3600, 7 MSO_I }, { 7250, 8 MSO_I }, { 10800, 8 MSO_I }, { 14350, 8 MSO_I }, { 18000, 7 MSO_I }, { 21600, 15000 }, { 0, 21600 }, { 21600, 21600 } }; static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 850 } }, // 400 { 0x2001, { 0x400, 6120, 8700 } }, { 0x2000, { 0x401, 0, 4280 } }, { 0x4000, { 6600, 0x402, 0 } }, { 0x2000, { DFF_Prop_adjustValue, 0, 450 } }, // 404 { 0x2000, { 0x403, 900, 0 } }, // 405 { 0x2000, { 0x404, 900, 0 } }, // 406 { 0x8000, { 21600, 0, 0x403 } }, // 407 { 0x8000, { 21600, 0, 0x404 } }, // 408 { 0x8000, { 21600, 0, 0x405 } }, // 409 { 0x8000, { 21600, 0, 0x406 } } // 410 }; static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] = { 0x4000, 0x0001, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 850, 9550 } }; static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] = { 1, 6050 }; static const mso_CustomShape msoTextDeflateInflateDeflate = { (SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, sizeof( mso_sptTextDeflateInflateDeflateVert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, sizeof( mso_sptTextDeflateInflateDeflateCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptTextDeflateInflateDeflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, sizeof( mso_sptTextDeflateInflateDeflateHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextWave1Vert[] = // adjustment1 : 0 - 4459 { // adjustment2 : 8640 - 12960 { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I }, { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I } }; static const sal_uInt16 mso_sptTextWave1Segm[] = { 0x4000, 0x2001, 0x8000, 0x4000, 0x2001, 0x8000 }; static const mso_CustomShape msoTextWave1 = { (SvxMSDffVertPair*)mso_sptTextWave1Vert, sizeof( mso_sptTextWave1Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextWave2Vert[] = // adjustment1 : 0 - 4459 { // adjustment2 : 8640 - 12960 { 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I }, { 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I } }; static const mso_CustomShape msoTextWave2 = { (SvxMSDffVertPair*)mso_sptTextWave2Vert, sizeof( mso_sptTextWave2Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextWave3Vert[] = // adjustment1 : 0 - 2230 { // adjustment2 : 8640 - 12960 { 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 }, { 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 } }; static const sal_uInt16 mso_sptTextWave3Segm[] = { 0x4000, 0x2002, 0x8000, 0x4000, 0x2002, 0x8000 }; static const mso_CustomShape msoTextWave3 = { (SvxMSDffVertPair*)mso_sptTextWave3Vert, sizeof( mso_sptTextWave3Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptTextWave4Vert[] = // adjustment1 : 0 - 2230 { // adjustment2 : 8640 - 12960 { 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 }, { 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 } }; static const mso_CustomShape msoTextWave4 = { (SvxMSDffVertPair*)mso_sptTextWave4Vert, sizeof( mso_sptTextWave4Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ), 21600, 21600, 0x80000000, 0x80000000, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle ) }; static const sal_Int32 mso_sptCalloutDefault1[] = { 4, -1800, 24500, -1800, 4000 }; static const sal_Int32 mso_sptCalloutDefault2[] = { 4, -8300, 24500, -1800, 4000 }; static const sal_Int32 mso_sptCalloutDefault3[] = { 6, -10000, 24500, -3600, 4000, -1800, 4000 }; static const sal_Int32 mso_sptCalloutDefault4[] = { 8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000 }; static const SvxMSDffVertPair mso_sptCalloutVert1[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } }; static const SvxMSDffHandle mso_sptCalloutHandle1[] = { { 0, 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const sal_uInt16 mso_sptCalloutSegm1a[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCalloutSegm1b[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0x0001, 0x8000 }; static const SvxMSDffVertPair mso_sptCallout1Vert[] = { { 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 } }; static const sal_uInt16 mso_sptCallout1Segm1a[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCallout1Segm1b[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffVertPair mso_sptCallout2Verta[] = { { 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 } }; static const SvxMSDffVertPair mso_sptCallout2Vertb[] = { { 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 } }; static const SvxMSDffHandle mso_sptCalloutHandle2[] = { { 0, 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const sal_uInt16 mso_sptCallout2Segm1a[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCallout2Segm1b[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCallout2Segm1c[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCallout2Segm1d[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000, 0x4000, 0x0001, 0x8000 }; static const SvxMSDffVertPair mso_sptCallout3Verta[] = { { 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 } }; static const SvxMSDffVertPair mso_sptCallout3Vertb[] = { { 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 } }; static const SvxMSDffHandle mso_sptCalloutHandle3[] = { { 0, 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }, { 0, 0x106, 0x107, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const sal_uInt16 mso_sptCallout3Segm1a[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0xaa00, 0x0003, 0x8000 // NO_FILL }; static const sal_uInt16 mso_sptCallout3Segm1b[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0xaa00, 0x0003, 0x8000 // NO FILL }; static const sal_uInt16 mso_sptCallout3Segm1c[] = { 0x4000, 0x0003, 0x6000, 0x8000, 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL 0x4000, 0x0001, 0x8000 }; static const sal_uInt16 mso_sptCallout3Segm1d[] = { 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL 0x4000, 0x0001, 0x8000 }; static const SvxMSDffCalculationData mso_sptCalloutCalc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust4Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust5Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust6Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust7Value, 0, 0 } }, { 0x2000, { DFF_Prop_adjust8Value, 0, 0 } } }; static const mso_CustomShape msoCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoCallout1 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentCallout1 = { (SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoBorderCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoBorderCallout1 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoBorderCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoBorderCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentBorderCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentBorderCallout1 = { (SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentBorderCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle ) }; static const mso_CustomShape msoAccentBorderCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptStraightConnector1Vert[] = { { 0, 0 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptStraightConnector1Segm[] = { 0x4000, 0x0001, 0x8000 }; static const mso_CustomShape msoStraightConnector1 = { (SvxMSDffVertPair*)mso_sptStraightConnector1Vert, sizeof( mso_sptStraightConnector1Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)NULL, 0 }; static const SvxMSDffVertPair mso_sptBentConnector2Vert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptBentConnector2Segm[] = { 0x4000, 0x0002, 0x8000 }; static const mso_CustomShape msoBentConnector2 = { (SvxMSDffVertPair*)mso_sptBentConnector2Vert, sizeof( mso_sptBentConnector2Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)NULL, 0 }; static const SvxMSDffVertPair mso_sptBentConnector3Vert[] = { { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 21600 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptBentConnector3Segm[] = { 0x4000, 0x0003, 0x8000 }; static const SvxMSDffCalculationData mso_sptBentConnector3Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } } }; static const sal_Int32 mso_sptBentConnector3Default[] = { 1, 10800 }; static const SvxMSDffHandle mso_sptBentConnector3Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBentConnector3 = { (SvxMSDffVertPair*)mso_sptBentConnector3Vert, sizeof( mso_sptBentConnector3Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector3Calc, sizeof( mso_sptBentConnector3Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBentConnector3Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector3Handle, sizeof( mso_sptBentConnector3Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptBentConnector4Vert[] = { { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 21600 } }; static const sal_uInt16 mso_sptBentConnector4Segm[] = { 0x4000, 0x0004, 0x8000 }; static const SvxMSDffCalculationData mso_sptBentConnector4Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2000, { 0x400, 21600, 0 } }, { 0x2001, { 0x402, 1, 2 } }, { 0x2001, { 0x401, 1, 2 } } }; static const sal_Int32 mso_sptBentConnector4Default[] = { 2, 10800, 10800 }; static const SvxMSDffHandle mso_sptBentConnector4Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x100, 4 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 4 + 3, 4 + 3 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoBentConnector4 = { (SvxMSDffVertPair*)mso_sptBentConnector4Vert, sizeof( mso_sptBentConnector4Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector4Calc, sizeof( mso_sptBentConnector4Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBentConnector4Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector4Handle, sizeof( mso_sptBentConnector4Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptBentConnector5Vert[] = { { 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 1 MSO_I, 21600 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptBentConnector5Segm[] = { 0x4000, 0x0005, 0x8000 }; static const SvxMSDffCalculationData mso_sptBentConnector5Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x6000, { 0x400, 0x401, 0 } }, { 0x2001, { 0x402, 1, 2 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2001, { 0x404, 1, 2 } }, { 0x4000, { 21600, 0x404, 0 } }, { 0x2001, { 0x406, 1, 2 } } }; static const sal_Int32 mso_sptBentConnector5Default[] = { 3, 10800, 10800, 10800 }; static const SvxMSDffHandle mso_sptBentConnector5Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x100, 5 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 5 + 3, 5 + 3 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x102, 7 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 7 + 3, 7 + 3 } }; static const mso_CustomShape msoBentConnector5 = { (SvxMSDffVertPair*)mso_sptBentConnector5Vert, sizeof( mso_sptBentConnector5Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector5Calc, sizeof( mso_sptBentConnector5Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptBentConnector5Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector5Handle, sizeof( mso_sptBentConnector5Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedConnector2Vert[] = { { 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptCurvedConnector2Segm[] = { 0x4000, 0x2001, 0x8000 }; static const mso_CustomShape msoCurvedConnector2 = { (SvxMSDffVertPair*)mso_sptCurvedConnector2Vert, sizeof( mso_sptCurvedConnector2Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)NULL, 0 }; static const SvxMSDffVertPair mso_sptCurvedConnector3Vert[] = { { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 5400 }, { 0 MSO_I, 10800 }, { 0 MSO_I, 16200 }, { 3 MSO_I, 21600 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptCurvedConnector3Segm[] = { 0x4000, 0x2002, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2001, { 0x400, 1, 2 } }, { 0x2000, { 0x400, 21600, 0 } }, { 0x2001, { 0x402, 1, 2 } } }; static const sal_Int32 mso_sptCurvedConnector3Default[] = { 1, 10800 }; static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE, 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoCurvedConnector3 = { (SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, sizeof( mso_sptCurvedConnector3Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, sizeof( mso_sptCurvedConnector3Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedConnector3Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector3Handle, sizeof( mso_sptCurvedConnector3Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedConnector4Vert[] = { { 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 10 MSO_I }, { 0 MSO_I, 9 MSO_I }, { 0 MSO_I, 12 MSO_I }, { 5 MSO_I, 8 MSO_I }, { 3 MSO_I, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 21600, 14 MSO_I }, { 21600, 21600 } }; static const sal_uInt16 mso_sptCurvedConnector4Segm[] = { 0x4000, 0x2003, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2001, { 0x400, 1, 2 } }, { 0x4000, { 21600, 0x400, 0 } }, { 0x2001, { 0x402, 1, 2 } }, { 0x6000, { 0x400, 0x403, 0 } }, { 0x2001, { 0x404, 1, 2 } }, { 0x2000, { 0x403, 21600, 0 } }, { 0x2001, { 0x406, 1, 2 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x2001, { DFF_Prop_adjust2Value, 1, 2 } }, { 0x2001, { DFF_Prop_adjust2Value, 1, 4 } }, { 0x6000, { 0x408, 0x409, 0 } }, { 0x2001, { 0x40b, 1, 2 } }, { 0x2000, { 0x408, 21600, 0 } }, { 0x2001, { 0x40d, 1, 2 } } }; static const sal_Int32 mso_sptCurvedConnector4Default[] = { 2, 10800, 10800 }; static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x100, 9 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 9 + 3, 9 + 3 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff } }; static const mso_CustomShape msoCurvedConnector4 = { (SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, sizeof( mso_sptCurvedConnector4Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, sizeof( mso_sptCurvedConnector4Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedConnector4Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector4Handle, sizeof( mso_sptCurvedConnector4Handle ) / sizeof( SvxMSDffHandle ) }; static const SvxMSDffVertPair mso_sptCurvedConnector5Vert[] = { { 0, 0 }, { 21 MSO_I, 0 }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 0 MSO_I, 14 MSO_I }, { 6 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 8 MSO_I, 4 MSO_I }, { 1 MSO_I, 18 MSO_I }, { 1 MSO_I, 16 MSO_I }, { 1 MSO_I, 20 MSO_I }, { 10 MSO_I, 21600 }, { 21600, 21600 } }; static const sal_uInt16 mso_sptCurvedConnector5Segm[] = { 0x4000, 0x2004, 0x8000 }; static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc[] = { { 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, { 0x2000, { DFF_Prop_adjust3Value, 0, 0 } }, { 0x6000, { 0x400, 0x401, 0 } }, { 0x2001, { 0x402, 1, 2 } }, { 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }, { 0x6000, { 0x400, 0x403, 0 } }, { 0x2001, { 0x405, 1, 2 } }, { 0x6000, { 0x401, 0x403, 0 } }, { 0x2001, { 0x407, 1, 2 } }, { 0x2000, { 0x401, 21600, 0 } }, { 0x2001, { 0x409, 1, 2 } }, { 0x2001, { 0x404, 1, 2 } }, { 0x2001, { 0x40b, 1, 2 } }, { 0x6000, { 0x404, 0x40b, 0 } }, { 0x2001, { 0x40d, 1, 2 } }, { 0x2000, { 0x404, 21600, 0 } }, { 0x2001, { 0x40f, 1, 2 } }, { 0x6000, { 0x404, 0x410, 0 } }, { 0x2001, { 0x411, 1, 2 } }, { 0x2000, { 0x410, 21600, 0 } }, { 0x2001, { 0x413, 1, 2 } }, { 0x2001, { 0x400, 1, 2 } } }; static const sal_Int32 mso_sptCurvedConnector5Default[] = { 3, 10800, 10800, 10800 }; static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] = { { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x100, 11 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 11 + 3, 11 + 3 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 0x102, 16 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 16 + 3, 16 + 3 } }; static const mso_CustomShape msoCurvedConnector5 = { (SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, sizeof( mso_sptCurvedConnector5Vert ) / sizeof( SvxMSDffVertPair ), (sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, sizeof( mso_sptCurvedConnector5Calc ) / sizeof( SvxMSDffCalculationData ), (sal_Int32*)mso_sptCurvedConnector5Default, NULL, 0, 21600, 21600, 0x80000000, 0x80000000, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector5Handle, sizeof( mso_sptCurvedConnector5Handle ) / sizeof( SvxMSDffHandle ) }; const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType ) { const mso_CustomShape* pCustomShape = NULL; switch( eSpType ) { case mso_sptArc : pCustomShape = &msoArc; break; case mso_sptRectangle : pCustomShape = &msoRectangle; break; case mso_sptParallelogram : pCustomShape = &msoParallelogram; break; case mso_sptTrapezoid : pCustomShape = &msoTrapezoid; break; case mso_sptDiamond : pCustomShape = &msoDiamond; break; case mso_sptRoundRectangle : pCustomShape = &msoRoundRectangle; break; case mso_sptOctagon : pCustomShape = &msoOctagon; break; case mso_sptIsocelesTriangle : pCustomShape = &msoIsocelesTriangle; break; case mso_sptRightTriangle : pCustomShape = &msoRightTriangle; break; case mso_sptEllipse : pCustomShape = &msoEllipse; break; case mso_sptHexagon : pCustomShape = &msoHexagon; break; case mso_sptPlus : pCustomShape = &msoPlus; break; case mso_sptPentagon : pCustomShape = &msoPentagon; break; case mso_sptCan : pCustomShape = &msoCan; break; case mso_sptCube : pCustomShape = &msoCube; break; case mso_sptBalloon : pCustomShape = &msoBalloon; break; case mso_sptActionButtonBlank : pCustomShape = &msoActionButtonBlank; break; case mso_sptActionButtonHome : pCustomShape = &msoActionButtonHome; break; case mso_sptActionButtonHelp : pCustomShape = &msoActionButtonHelp; break; case mso_sptActionButtonInformation : pCustomShape = &msoActionButtonInformation; break; case mso_sptActionButtonBackPrevious : pCustomShape = &msoActionButtonBackPrevious; break; case mso_sptActionButtonForwardNext : pCustomShape = &msoActionButtonForwardNext; break; case mso_sptActionButtonBeginning : pCustomShape = &msoActionButtonBeginning; break; case mso_sptActionButtonEnd : pCustomShape = &msoActionButtonEnd; break; case mso_sptActionButtonReturn : pCustomShape = &msoActionButtonReturn; break; case mso_sptActionButtonDocument : pCustomShape = &msoActionButtonDocument; break; case mso_sptActionButtonSound : pCustomShape = &msoActionButtonSound; break; case mso_sptActionButtonMovie : pCustomShape = &msoActionButtonMovie; break; case mso_sptBevel : pCustomShape = &msoBevel; break; case mso_sptFoldedCorner : pCustomShape = &msoFoldedCorner; break; case mso_sptSmileyFace : pCustomShape = &msoSmileyFace; break; case mso_sptDonut : pCustomShape = &msoDonut; break; case mso_sptNoSmoking : pCustomShape = &msoNoSmoking; break; case mso_sptBlockArc : pCustomShape = &msoBlockArc; break; case mso_sptHeart : pCustomShape = &msoHeart; break; case mso_sptLightningBolt : pCustomShape = &msoLightningBold; break; case mso_sptSun : pCustomShape = &msoSun; break; case mso_sptMoon : pCustomShape = &msoMoon; break; case mso_sptBracketPair : pCustomShape = &msoBracketPair; break; case mso_sptBracePair : pCustomShape = &msoBracePair; break; case mso_sptPlaque : pCustomShape = &msoPlaque; break; case mso_sptLeftBracket : pCustomShape = &msoLeftBracket; break; case mso_sptRightBracket : pCustomShape = &msoRightBracket; break; case mso_sptLeftBrace : pCustomShape = &msoLeftBrace; break; case mso_sptRightBrace : pCustomShape = &msoRightBrace; break; case mso_sptArrow : pCustomShape = &msoArrow; break; case mso_sptUpArrow : pCustomShape = &msoUpArrow; break; case mso_sptDownArrow : pCustomShape = &msoDownArrow; break; case mso_sptLeftArrow : pCustomShape = &msoLeftArrow; break; case mso_sptLeftRightArrow : pCustomShape = &msoLeftRightArrow; break; case mso_sptUpDownArrow : pCustomShape = &msoUpDownArrow; break; case mso_sptQuadArrow : pCustomShape = &msoQuadArrow; break; case mso_sptLeftRightUpArrow : pCustomShape = &msoLeftRightUpArrow; break; case mso_sptBentArrow : pCustomShape = &msoBentArrow; break; case mso_sptUturnArrow : pCustomShape = &msoUturnArrow; break; case mso_sptLeftUpArrow : pCustomShape = &msoLeftUpArrow; break; case mso_sptBentUpArrow : pCustomShape = &msoBentUpArrow; break; case mso_sptCurvedRightArrow : pCustomShape = &msoCurvedRightArrow; break; case mso_sptCurvedLeftArrow : pCustomShape = &msoCurvedLeftArrow; break; case mso_sptCurvedUpArrow : pCustomShape = &msoCurvedUpArrow; break; case mso_sptCurvedDownArrow : pCustomShape = &msoCurvedDownArrow; break; case mso_sptStripedRightArrow : pCustomShape = &msoStripedRightArrow; break; case mso_sptNotchedRightArrow : pCustomShape = &msoNotchedRightArrow; break; case mso_sptHomePlate : pCustomShape = &msoHomePlate; break; case mso_sptChevron : pCustomShape = &msoChevron; break; case mso_sptRightArrowCallout : pCustomShape = &msoRightArrowCallout; break; case mso_sptLeftArrowCallout : pCustomShape = &msoLeftArrowCallout; break; case mso_sptUpArrowCallout : pCustomShape = &msoUpArrowCallout; break; case mso_sptDownArrowCallout : pCustomShape = &msoDownArrowCallout; break; case mso_sptLeftRightArrowCallout : pCustomShape = &msoLeftRightArrowCallout; break; case mso_sptUpDownArrowCallout : pCustomShape = &msoUpDownArrowCallout; break; case mso_sptQuadArrowCallout : pCustomShape = &msoQuadArrowCallout; break; case mso_sptCircularArrow : pCustomShape = &msoCircularArrow; break; case mso_sptIrregularSeal1 : pCustomShape = &msoIrregularSeal1; break; case mso_sptIrregularSeal2 : pCustomShape = &msoIrregularSeal2; break; case mso_sptSeal4 : pCustomShape = &msoSeal4; break; case mso_sptStar : pCustomShape = &msoStar; break; case mso_sptSeal8 : pCustomShape = &msoSeal8; break; case mso_sptSeal : case mso_sptSeal16 : pCustomShape = &msoSeal16; break; case mso_sptSeal24 : pCustomShape = &msoSeal24; break; case mso_sptSeal32 : pCustomShape = &msoSeal32; break; case mso_sptRibbon2 : pCustomShape = &msoRibbon2; break; case mso_sptRibbon : pCustomShape = &msoRibbon; break; case mso_sptEllipseRibbon2 : pCustomShape = &msoRibbon2; break; // SJ: TODO case mso_sptEllipseRibbon : pCustomShape = &msoRibbon; break; // SJ: TODO case mso_sptVerticalScroll : pCustomShape = &msoVerticalScroll; break; case mso_sptHorizontalScroll : pCustomShape = &msoHorizontalScroll; break; case mso_sptFlowChartProcess : pCustomShape = &msoFlowChartProcess; break; case mso_sptFlowChartAlternateProcess : pCustomShape = &msoFlowChartAlternateProcess; break; case mso_sptFlowChartDecision : pCustomShape = &msoFlowChartDecision; break; case mso_sptFlowChartInputOutput : pCustomShape = &msoFlowChartInputOutput; break; case mso_sptFlowChartPredefinedProcess :pCustomShape = &msoFlowChartPredefinedProcess; break; case mso_sptFlowChartInternalStorage : pCustomShape = &msoFlowChartInternalStorage; break; case mso_sptFlowChartDocument : pCustomShape = &msoFlowChartDocument; break; case mso_sptFlowChartMultidocument : pCustomShape = &msoFlowChartMultidocument; break; case mso_sptFlowChartTerminator : pCustomShape = &msoFlowChartTerminator; break; case mso_sptFlowChartPreparation : pCustomShape = &msoFlowChartPreparation; break; case mso_sptFlowChartManualInput : pCustomShape = &msoFlowChartManualInput; break; case mso_sptFlowChartManualOperation : pCustomShape = &msoFlowChartManualOperation; break; case mso_sptFlowChartConnector : pCustomShape = &msoFlowChartConnector; break; case mso_sptFlowChartOffpageConnector : pCustomShape = &msoFlowChartOffpageConnector; break; case mso_sptFlowChartPunchedCard : pCustomShape = &msoFlowChartPunchedCard; break; case mso_sptFlowChartPunchedTape : pCustomShape = &msoFlowChartPunchedTape; break; case mso_sptFlowChartSummingJunction : pCustomShape = &msoFlowChartSummingJunction; break; case mso_sptFlowChartOr : pCustomShape = &msoFlowChartOr; break; case mso_sptFlowChartCollate : pCustomShape = &msoFlowChartCollate; break; case mso_sptFlowChartSort : pCustomShape = &msoFlowChartSort; break; case mso_sptFlowChartExtract : pCustomShape = &msoFlowChartExtract; break; case mso_sptFlowChartMerge : pCustomShape = &msoFlowChartMerge; break; case mso_sptFlowChartOnlineStorage : pCustomShape = &msoFlowChartOnlineStorage; break; case mso_sptFlowChartDelay : pCustomShape = &msoFlowChartDelay; break; case mso_sptFlowChartMagneticTape : pCustomShape = &msoFlowChartMagneticTape; break; case mso_sptFlowChartMagneticDisk : pCustomShape = &msoFlowChartMagneticDisk; break; case mso_sptFlowChartMagneticDrum : pCustomShape = &msoFlowChartMagneticDrum; break; case mso_sptFlowChartDisplay : pCustomShape = &msoFlowChartDisplay; break; case mso_sptWedgeRectCallout : pCustomShape = &msoWedgeRectCallout; break; case mso_sptWedgeRRectCallout : pCustomShape = &msoWedgeRRectCallout; break; case mso_sptWedgeEllipseCallout : pCustomShape = &msoWedgeEllipseCallout; break; case mso_sptCloudCallout : pCustomShape = &msoCloudCallout; break; case mso_sptWave : pCustomShape = &msoWave; break; case mso_sptDoubleWave : pCustomShape = &msoDoubleWave; break; // callout case mso_sptCallout1 : pCustomShape = &msoCallout1; break; case mso_sptCallout2 : pCustomShape = &msoCallout2; break; case mso_sptCallout3 : pCustomShape = &msoCallout3; break; case mso_sptAccentCallout1 : pCustomShape = &msoAccentCallout1; break; case mso_sptAccentCallout2 : pCustomShape = &msoAccentCallout2; break; case mso_sptAccentCallout3 : pCustomShape = &msoAccentCallout3; break; case mso_sptBorderCallout1 : pCustomShape = &msoBorderCallout1; break; case mso_sptBorderCallout2 : pCustomShape = &msoBorderCallout2; break; case mso_sptBorderCallout3 : pCustomShape = &msoBorderCallout3; break; case mso_sptAccentBorderCallout1 : pCustomShape = &msoAccentBorderCallout1; break; case mso_sptAccentBorderCallout2 : pCustomShape = &msoAccentBorderCallout2; break; case mso_sptAccentBorderCallout3 : pCustomShape = &msoAccentBorderCallout3; break; case mso_sptCallout90 : pCustomShape = &msoCallout90; break; case mso_sptAccentCallout90 : pCustomShape = &msoAccentCallout90; break; case mso_sptBorderCallout90 : pCustomShape = &msoBorderCallout90; break; case mso_sptAccentBorderCallout90 : pCustomShape = &msoAccentBorderCallout90; break; // connectors case mso_sptStraightConnector1 : pCustomShape = &msoStraightConnector1; break; case mso_sptBentConnector2 : pCustomShape = &msoBentConnector2; break; case mso_sptBentConnector3 : pCustomShape = &msoBentConnector3; break; case mso_sptBentConnector4 : pCustomShape = &msoBentConnector4; break; case mso_sptBentConnector5 : pCustomShape = &msoBentConnector5; break; case mso_sptCurvedConnector2 : pCustomShape = &msoCurvedConnector2; break; case mso_sptCurvedConnector3 : pCustomShape = &msoCurvedConnector3; break; case mso_sptCurvedConnector4 : pCustomShape = &msoCurvedConnector4; break; case mso_sptCurvedConnector5 : pCustomShape = &msoCurvedConnector5; break; // Dont know, simply mapping to TextSimple case mso_sptTextOnRing : case mso_sptTextOnCurve : case mso_sptTextRing : case mso_sptTextWave : case mso_sptTextCurve : case mso_sptTextHexagon : case mso_sptTextOctagon : case mso_sptTextBox : pCustomShape = &msoTextSimple; break; // FontWork case mso_sptTextSimple : case mso_sptTextPlainText : pCustomShape = &msoTextPlainText; break; case mso_sptTextStop : pCustomShape = &msoTextStop; break; case mso_sptTextTriangle : pCustomShape = &msoTextTriangle; break; case mso_sptTextTriangleInverted : pCustomShape = &msoTextTriangleInverted; break; case mso_sptTextChevron : pCustomShape = &msoTextChevron; break; case mso_sptTextChevronInverted : pCustomShape = &msoTextChevronInverted; break; case mso_sptTextRingInside : pCustomShape = &msoTextRingOutside; break; // SJ: TODO->the orientation of the ellipse needs to be changed case mso_sptTextRingOutside : pCustomShape = &msoTextRingOutside; break; case mso_sptTextFadeRight : pCustomShape = &msoTextFadeRight; break; case mso_sptTextFadeLeft : pCustomShape = &msoTextFadeLeft; break; case mso_sptTextFadeUp : pCustomShape = &msoTextFadeUp; break; case mso_sptTextFadeDown : pCustomShape = &msoTextFadeDown; break; case mso_sptTextSlantUp : pCustomShape = &msoTextSlantUp; break; case mso_sptTextSlantDown : pCustomShape = &msoTextSlantDown; break; case mso_sptTextCascadeUp : pCustomShape = &msoTextCascadeUp; break; case mso_sptTextCascadeDown : pCustomShape = &msoTextCascadeDown; break; case mso_sptTextArchUpCurve : pCustomShape = &msoTextArchUpCurve; break; case mso_sptTextArchDownCurve : pCustomShape = &msoTextArchDownCurve; break; case mso_sptTextCircleCurve : pCustomShape = &msoTextCircleCurve; break; case mso_sptTextButtonCurve : pCustomShape = &msoTextButtonCurve; break; case mso_sptTextArchUpPour : pCustomShape = &msoTextArchUpPour; break; case mso_sptTextArchDownPour : pCustomShape = &msoTextArchDownPour; break; case mso_sptTextCirclePour : pCustomShape = &msoTextCirclePour; break; case mso_sptTextButtonPour : pCustomShape = &msoTextButtonPour; break; case mso_sptTextCurveUp : pCustomShape = &msoTextCurveUp; break; case mso_sptTextCurveDown : pCustomShape = &msoTextCurveDown; break; case mso_sptTextCanUp : pCustomShape = &msoTextCanUp; break; case mso_sptTextCanDown : pCustomShape = &msoTextCanDown; break; case mso_sptTextInflate : pCustomShape = &msoTextInflate; break; case mso_sptTextDeflate : pCustomShape = &msoTextDeflate; break; case mso_sptTextInflateBottom : pCustomShape = &msoTextInflateBottom; break; case mso_sptTextDeflateBottom : pCustomShape = &msoTextDeflateBottom; break; case mso_sptTextInflateTop : pCustomShape = &msoTextInflateTop; break; case mso_sptTextDeflateTop : pCustomShape = &msoTextDeflateTop; break; case mso_sptTextDeflateInflate : pCustomShape = &msoTextDeflateInflate; break; case mso_sptTextDeflateInflateDeflate : pCustomShape = &msoTextDeflateInflateDeflate; break; case mso_sptTextWave1 : pCustomShape = &msoTextWave1; break; case mso_sptTextWave2 : pCustomShape = &msoTextWave2; break; case mso_sptTextWave3 : pCustomShape = &msoTextWave3; break; case mso_sptTextWave4 : pCustomShape = &msoTextWave4; break; default : break; } return pCustomShape; }