/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include "svx/EnhancedCustomShapeGeometry.hxx" #include static const sal_Int32 MIN_INT32 = std::numeric_limits::min(); 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, MIN_INT32, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 10800, 0x101, 10800, 10800, 10800, 10800, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoArc = { (SvxMSDffVertPair*)mso_sptArcVert, SAL_N_ELEMENTS( mso_sptArcVert ), (sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArcCalc, SAL_N_ELEMENTS( mso_sptArcCalc ), (sal_Int32*)mso_sptArcDefault, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptArcHandle, SAL_N_ELEMENTS( mso_sptArcHandle ) // handles }; static const SvxMSDffVertPair mso_sptTextSimpleVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const mso_CustomShape msoTextSimple = { (SvxMSDffVertPair*)mso_sptTextSimpleVert, SAL_N_ELEMENTS( mso_sptTextSimpleVert ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptRectangleVert ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoRoundRectangle = { (SvxMSDffVertPair*)mso_sptRoundRectangleVert, SAL_N_ELEMENTS( mso_sptRoundRectangleVert ), (sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, SAL_N_ELEMENTS( mso_sptRoundRectangleCalc ), (sal_Int32*)mso_sptDefault3600, (SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, SAL_N_ELEMENTS( mso_sptRoundRectangleTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptRoundRectangleHandle, SAL_N_ELEMENTS( mso_sptRoundRectangleHandle ) // 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[] = { { 0, 0 }, { 0, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 10800, 10800 } }; static const mso_CustomShape msoRightTriangle = { (SvxMSDffVertPair*)mso_sptRightTriangleVert, SAL_N_ELEMENTS( mso_sptRightTriangleVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, SAL_N_ELEMENTS( mso_sptRightTriangleTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, SAL_N_ELEMENTS( mso_sptRightTriangleGluePoints ), 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, SAL_N_ELEMENTS( mso_sptEllipseVert ), (sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoParallelogram = { (SvxMSDffVertPair*)mso_sptParallelogramVert, SAL_N_ELEMENTS( mso_sptParallelogramVert ), (sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptParallelogramCalc, SAL_N_ELEMENTS( mso_sptParallelogramCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, SAL_N_ELEMENTS( mso_sptParallelogramTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptParallelogramGluePoints, SAL_N_ELEMENTS( mso_sptParallelogramGluePoints ), (SvxMSDffHandle*)mso_sptParallelogramHandle, SAL_N_ELEMENTS( mso_sptParallelogramHandle ) // 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, SAL_N_ELEMENTS( mso_sptDiamondVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptDiamondTextRect, SAL_N_ELEMENTS( mso_sptDiamondTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoTrapezoid = { (SvxMSDffVertPair*)mso_sptTrapezoidVert, SAL_N_ELEMENTS( mso_sptTrapezoidVert ), (sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTrapezoidCalc, SAL_N_ELEMENTS( mso_sptTrapezoidCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, SAL_N_ELEMENTS( mso_sptTrapezoidTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, SAL_N_ELEMENTS( mso_sptTrapezoidGluePoints ), (SvxMSDffHandle*)mso_sptTrapezoidHandle, SAL_N_ELEMENTS( mso_sptTrapezoidHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoOctagon = { (SvxMSDffVertPair*)mso_sptOctagonVert, SAL_N_ELEMENTS( mso_sptOctagonVert ), (sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptOctagonCalc, SAL_N_ELEMENTS( mso_sptOctagonCalc ), (sal_Int32*)mso_sptOctagonDefault, (SvxMSDffTextRectangles*)mso_sptOctagonTextRect, SAL_N_ELEMENTS( mso_sptOctagonTextRect ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptOctagonHandle, SAL_N_ELEMENTS( mso_sptOctagonHandle ) // 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[] = { { 0 MSO_I, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoIsocelesTriangle = { (SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, SAL_N_ELEMENTS( mso_sptIsocelesTriangleVert ), (sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, SAL_N_ELEMENTS( mso_sptIsocelesTriangleCalc ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, SAL_N_ELEMENTS( mso_sptIsocelesTriangleTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, SAL_N_ELEMENTS( mso_sptIsocelesTriangleGluePoints ), (SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, SAL_N_ELEMENTS( mso_sptIsocelesTriangleHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoHexagon = { (SvxMSDffVertPair*)mso_sptHexagonVert, SAL_N_ELEMENTS( mso_sptHexagonVert ), (sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptHexagonCalc, SAL_N_ELEMENTS( mso_sptHexagonCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptHexagonTextRect, SAL_N_ELEMENTS( mso_sptHexagonTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptHexagonHandle, SAL_N_ELEMENTS( mso_sptHexagonHandle ) // 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, SAL_N_ELEMENTS( mso_sptPentagonVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptPentagonTextRect, SAL_N_ELEMENTS( mso_sptPentagonTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptPentagonGluePoints, SAL_N_ELEMENTS( mso_sptPentagonGluePoints ), 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoPlus = { (SvxMSDffVertPair*)mso_sptPlusVert, SAL_N_ELEMENTS( mso_sptPlusVert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptPlusCalc, SAL_N_ELEMENTS( mso_sptPlusCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptPlusTextRect, SAL_N_ELEMENTS( mso_sptPlusTextRect ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptPlusHandle, SAL_N_ELEMENTS( mso_sptPlusHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoCan = { (SvxMSDffVertPair*)mso_sptCanVert, SAL_N_ELEMENTS( mso_sptCanVert ), (sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCanCalc, SAL_N_ELEMENTS( mso_sptCanCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptCanTextRect, SAL_N_ELEMENTS( mso_sptCanTextRect ), 88, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptCanGluePoints, SAL_N_ELEMENTS( mso_sptCanGluePoints ), (SvxMSDffHandle*)mso_sptCanHandle, SAL_N_ELEMENTS( mso_sptCanHandle ) // 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, SAL_N_ELEMENTS( mso_sptArrowVert ), (sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptArrowTextRect, SAL_N_ELEMENTS( mso_sptArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptArrowHandle, SAL_N_ELEMENTS( mso_sptArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptLeftArrowVert ), (sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ), (sal_Int32*)mso_sptLeftArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftArrowHandle, SAL_N_ELEMENTS( mso_sptLeftArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptDownArrowVert ), (sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, SAL_N_ELEMENTS( mso_sptDownArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptDownArrowHandle, SAL_N_ELEMENTS( mso_sptDownArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptUpArrowVert ), (sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptArrowCalc, SAL_N_ELEMENTS( mso_sptArrowCalc ), (sal_Int32*)mso_sptUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, SAL_N_ELEMENTS( mso_sptUpArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptUpArrowHandle, SAL_N_ELEMENTS( mso_sptUpArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptLeftRightArrowVert ), (sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, SAL_N_ELEMENTS( mso_sptDoubleArrowCalc ), (sal_Int32*)mso_sptLeftRightArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftRightArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightArrowHandle, SAL_N_ELEMENTS( mso_sptLeftRightArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptUpDownArrowVert ), (sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, SAL_N_ELEMENTS( mso_sptDoubleArrowCalc ), (sal_Int32*)mso_sptUpDownArrowDefault, (SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, SAL_N_ELEMENTS( mso_sptUpDownArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptUpDownArrowHandle, SAL_N_ELEMENTS( mso_sptUpDownArrowHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoQuadArrow = { (SvxMSDffVertPair*)mso_sptQuadArrowVert, SAL_N_ELEMENTS( mso_sptQuadArrowVert ), (sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptQuadArrowCalc, SAL_N_ELEMENTS( mso_sptQuadArrowCalc ), (sal_Int32*)mso_sptQuadArrowDefault, (SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, SAL_N_ELEMENTS( mso_sptQuadArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptQuadArrowHandle, SAL_N_ELEMENTS( mso_sptQuadArrowHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoLeftRightUpArrow = { (SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowVert ), (sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowCalc ), (sal_Int32*)mso_sptLeftRightUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, SAL_N_ELEMENTS( mso_sptLeftRightUpArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptBentArrowVert ), (sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentArrowCalc, SAL_N_ELEMENTS( mso_sptBentArrowCalc ), (sal_Int32*)mso_sptBentArrowDefault, (SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, SAL_N_ELEMENTS( mso_sptBentArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBentArrowHandle, SAL_N_ELEMENTS( mso_sptBentArrowHandle ) // 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, SAL_N_ELEMENTS( mso_sptUturnArrowVert ), (sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, SAL_N_ELEMENTS( mso_sptUturnArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoLeftUpArrow = { (SvxMSDffVertPair*)mso_sptLeftUpArrowVert, SAL_N_ELEMENTS( mso_sptLeftUpArrowVert ), (sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, SAL_N_ELEMENTS( mso_sptLeftUpArrowCalc ), (sal_Int32*)mso_sptLeftUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, SAL_N_ELEMENTS( mso_sptLeftUpArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftUpArrowHandle, SAL_N_ELEMENTS( mso_sptLeftUpArrowHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBentUpArrow = { (SvxMSDffVertPair*)mso_sptBentUpArrowVert, SAL_N_ELEMENTS( mso_sptBentUpArrowVert ), (sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, SAL_N_ELEMENTS( mso_sptBentUpArrowCalc ), (sal_Int32*)mso_sptBentUpArrowDefault, (SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, SAL_N_ELEMENTS( mso_sptBentUpArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBentUpArrowHandle, SAL_N_ELEMENTS( mso_sptBentUpArrowHandle ) }; 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 }, { 22 MSO_I, 0 }, { 0, 4 MSO_I }, { 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 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 } }; static const sal_uInt16 mso_sptCurvedRightSegm[] = { 0xa408, 0x0003, 0xa508, 0x6000, 0x8000, 0xa404, 0xa304, 0xa504, 0x6000, 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, SAL_N_ELEMENTS( mso_sptCurvedRightVert ), (sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, SAL_N_ELEMENTS( mso_sptCurvedRightCalc ), (sal_Int32*)mso_sptCurvedRightDefault, (SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, SAL_N_ELEMENTS( mso_sptCurvedRightTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, SAL_N_ELEMENTS( mso_sptCurvedRightGluePoints ), (SvxMSDffHandle*)mso_sptCurvedRightHandles, SAL_N_ELEMENTS( mso_sptCurvedRightHandles ) }; static const SvxMSDffVertPair mso_sptCurvedDownVert[] = { { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 }, { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I }, { 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I }, { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 }, { 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I } }; static const sal_uInt16 mso_sptCurvedDownSegm[] = { 0xa608, 0x0003, 0xa308, 0x6000, 0x8000, 0xa604, 0xa504, 0xa304, 0x6000, 0x8000 }; static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] = { { { 45 MSO_I, 47 MSO_I }, { 46 MSO_I, 48 MSO_I } } }; static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] = { { 17 MSO_I, 0 }, { 16 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 14 MSO_I, 2 MSO_I } }; 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 + 40, 3 + 29, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL, 0x101, 21600, 10800, 10800, 3 + 27, 3 + 21, 0, 10800 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL, 21600, 0x102, 10800, 10800, 3375, 21600, 3 + 44, 3 + 22 } }; static const mso_CustomShape msoCurvedDownArrow = { (SvxMSDffVertPair*)mso_sptCurvedDownVert, SAL_N_ELEMENTS( mso_sptCurvedDownVert ), (sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedRightCalc, SAL_N_ELEMENTS( mso_sptCurvedRightCalc ), (sal_Int32*)mso_sptCurvedRightDefault, (SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, SAL_N_ELEMENTS( mso_sptCurvedDownTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, SAL_N_ELEMENTS( mso_sptCurvedDownGluePoints ), (SvxMSDffHandle*)mso_sptCurvedDownHandles, SAL_N_ELEMENTS( mso_sptCurvedDownHandles ) }; 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 }, { 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 }, { 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 } }; static const sal_uInt16 mso_sptCurvedUpSegm[] = { 0xa408, 0x0003, 0xa508, 0x6000, 0x8000, 0xa404, 0xa508, 0xa504, 0x6000, 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, SAL_N_ELEMENTS( mso_sptCurvedUpVert ), (sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, SAL_N_ELEMENTS( mso_sptCurvedUpCalc ), (sal_Int32*)mso_sptCurvedUpDefault, (SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, SAL_N_ELEMENTS( mso_sptCurvedUpTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, SAL_N_ELEMENTS( mso_sptCurvedUpGluePoints ), (SvxMSDffHandle*)mso_sptCurvedUpHandles, SAL_N_ELEMENTS( mso_sptCurvedUpHandles ) }; 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, 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 }, { 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 } }; static const sal_uInt16 mso_sptCurvedLeftSegm[] = { 0xa608, 0x0003, 0xa308, 0x6000, 0x8000, 0xa604, 0xa308, 0x6000, 0x8000 }; 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, SAL_N_ELEMENTS( mso_sptCurvedLeftVert ), (sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedUpCalc, SAL_N_ELEMENTS( mso_sptCurvedUpCalc ), (sal_Int32*)mso_sptCurvedUpDefault, (SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, SAL_N_ELEMENTS( mso_sptCurvedLeftTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, SAL_N_ELEMENTS( mso_sptCurvedLeftGluePoints ), (SvxMSDffHandle*)mso_sptCurvedLeftHandles, SAL_N_ELEMENTS( mso_sptCurvedLeftHandles ) }; 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, SAL_N_ELEMENTS( mso_sptStripedRightArrowVert ), (sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, SAL_N_ELEMENTS( mso_sptStripedRightArrowCalc ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, SAL_N_ELEMENTS( mso_sptStripedRightArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptStripedRightArrowHandle, SAL_N_ELEMENTS( mso_sptStripedRightArrowHandle ) }; 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 } }, { 0x8000, { 21600, 0, 0x405 }} }; static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] = // todo { { { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 2 MSO_I } } }; 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, SAL_N_ELEMENTS( mso_sptNotchedRightArrowVert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, SAL_N_ELEMENTS( mso_sptNotchedRightArrowCalc ), (sal_Int32*)mso_sptDefault16200and5400, (SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, SAL_N_ELEMENTS( mso_sptNotchedRightArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, SAL_N_ELEMENTS( mso_sptNotchedRightArrowHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoHomePlate = { (SvxMSDffVertPair*)mso_sptHomePlateVert, SAL_N_ELEMENTS( mso_sptHomePlateVert ), (sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptHomePlateCalc, SAL_N_ELEMENTS( mso_sptHomePlateCalc ), (sal_Int32*)mso_sptHomePlateDefault, (SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, SAL_N_ELEMENTS( mso_sptHomePlateTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptHomePlateHandle, SAL_N_ELEMENTS( mso_sptHomePlateHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoChevron = { (SvxMSDffVertPair*)mso_sptChevronVert, SAL_N_ELEMENTS( mso_sptChevronVert ), (sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptChevronCalc, SAL_N_ELEMENTS( mso_sptChevronCalc ), (sal_Int32*)mso_sptChevronDefault, (SvxMSDffTextRectangles*)mso_sptChevronTextRect, SAL_N_ELEMENTS( mso_sptChevronTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptChevronHandle, SAL_N_ELEMENTS( mso_sptChevronHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoRightArrowCallout = { (SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, SAL_N_ELEMENTS( mso_sptRightArrowCalloutVert ), (sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptRightArrowCalloutCalc ), (sal_Int32*)mso_sptRightArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptRightArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptRightArrowCalloutHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoLeftArrowCallout = { (SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutVert ), (sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutCalc ), (sal_Int32*)mso_sptLeftArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptLeftArrowCalloutHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoUpArrowCallout = { (SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, SAL_N_ELEMENTS( mso_sptUpArrowCalloutVert ), (sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptUpArrowCalloutCalc ), (sal_Int32*)mso_sptUpArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptUpArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptUpArrowCalloutHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoDownArrowCallout = { (SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, SAL_N_ELEMENTS( mso_sptDownArrowCalloutVert ), (sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptDownArrowCalloutCalc ), (sal_Int32*)mso_sptDownArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptDownArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptDownArrowCalloutHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff, 0, 0x103 } }; static const mso_CustomShape msoLeftRightArrowCallout = { (SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutVert ), (sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutCalc ), (sal_Int32*)mso_sptLeftRightArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptLeftRightArrowCalloutHandle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoUpDownArrowCallout = { (SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutVert ), (sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutCalc ), (sal_Int32*)mso_sptUpDownArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptUpDownArrowCalloutHandle ) }; 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, MIN_INT32, 0x7fffffff, 0x102, 0x101 }, { MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL, 0x101, 0, 10800, 10800, 0x100, 10800, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutVert ), (sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutCalc ), (sal_Int32*)mso_sptQuadArrowCalloutDefault, (SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, SAL_N_ELEMENTS( mso_sptQuadArrowCalloutHandle ) }; 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, -0x7f4c0000, 0x00b40000 }, { MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE, 0x102, 0x101, 10800, 10800, 0, 10800, -0x7f4c0000, 0x00b40000 } }; static const mso_CustomShape msoCircularArrow = { (SvxMSDffVertPair*)mso_sptCircularArrowVert, SAL_N_ELEMENTS( mso_sptCircularArrowVert ), (sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCircularArrowCalc, SAL_N_ELEMENTS( mso_sptCircularArrowCalc ), (sal_Int32*)mso_sptCircularArrowDefault, (SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, SAL_N_ELEMENTS( mso_sptCircularArrowTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCircularArrowHandle, SAL_N_ELEMENTS( mso_sptCircularArrowHandle ) // 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, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptCubeVert ), (sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCubeCalc, SAL_N_ELEMENTS( mso_sptCubeCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptCubeTextRect, SAL_N_ELEMENTS( mso_sptCubeTextRect ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptCubeGluePoints, SAL_N_ELEMENTS( mso_sptCubeGluePoints ), (SvxMSDffHandle*)mso_sptCubeHandle, SAL_N_ELEMENTS( mso_sptCubeHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBevel = { (SvxMSDffVertPair*)mso_sptBevelVert, SAL_N_ELEMENTS( mso_sptBevelVert ), (sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBevelCalc, SAL_N_ELEMENTS( mso_sptBevelCalc ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptBevelTextRect, SAL_N_ELEMENTS( mso_sptBevelTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptBevelHandle, SAL_N_ELEMENTS( mso_sptBevelHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoFoldedCorner = { (SvxMSDffVertPair*)mso_sptFoldedCornerVert, SAL_N_ELEMENTS( mso_sptFoldedCornerVert ), (sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, SAL_N_ELEMENTS( mso_sptFoldedCornerCalc ), (sal_Int32*)mso_sptFoldedCornerDefault, (SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, SAL_N_ELEMENTS( mso_sptFoldedCornerTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptFoldedCornerHandle, SAL_N_ELEMENTS( mso_sptFoldedCornerHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoActionButtonBlank = { (SvxMSDffVertPair*)mso_sptActionButtonBlankVert, SAL_N_ELEMENTS( mso_sptActionButtonBlankVert ), (sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, SAL_N_ELEMENTS( mso_sptActionButtonBlankCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, SAL_N_ELEMENTS( mso_sptActionButtonBlankTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonHomeVert ), (sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, SAL_N_ELEMENTS( mso_sptActionButtonHomeCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonHelpVert ), (sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, SAL_N_ELEMENTS( mso_sptActionButtonHelpCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonInformationVert ), (sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, SAL_N_ELEMENTS( mso_sptActionButtonInformationCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonBackPreviousVert ), (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, SAL_N_ELEMENTS( mso_sptActionButtonForwardBackCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonForwardNextVert ), (sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, SAL_N_ELEMENTS( mso_sptActionButtonForwardBackCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonBeginningVert ), (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, SAL_N_ELEMENTS( mso_sptActionButtonBeginningEndCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonEndVert ), (sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, SAL_N_ELEMENTS( mso_sptActionButtonBeginningEndCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonReturnVert ), (sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, SAL_N_ELEMENTS( mso_sptActionButtonReturnCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonDocumentVert ), (sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, SAL_N_ELEMENTS( mso_sptActionButtonDocumentCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonSoundVert ), (sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, SAL_N_ELEMENTS( mso_sptActionButtonSoundCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, SAL_N_ELEMENTS( mso_sptActionButtonMovieVert ), (sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, SAL_N_ELEMENTS( mso_sptActionButtonMovieCalc ), (sal_Int32*)mso_sptDefault1400, (SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, SAL_N_ELEMENTS( mso_sptActionButtonTextRect ), 21600, 21600, 10800, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptButtonHandle, SAL_N_ELEMENTS( mso_sptButtonHandle ) }; 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, MIN_INT32, 0x7fffffff, 15510, 17520 } }; static const mso_CustomShape msoSmileyFace = { (SvxMSDffVertPair*)mso_sptSmileyFaceVert, SAL_N_ELEMENTS( mso_sptSmileyFaceVert ), (sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, SAL_N_ELEMENTS( mso_sptSmileyFaceCalc ), (sal_Int32*)mso_sptSmileyFaceDefault, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), (SvxMSDffHandle*)mso_sptSmileyHandle, SAL_N_ELEMENTS( mso_sptSmileyHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoDonut = { (SvxMSDffVertPair*)mso_sptDonutVert, SAL_N_ELEMENTS( mso_sptDonutVert ), (sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDonutCalc, SAL_N_ELEMENTS( mso_sptDonutCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), (SvxMSDffHandle*)mso_sptDonutHandle, SAL_N_ELEMENTS( mso_sptDonutHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoNoSmoking = { (SvxMSDffVertPair*)mso_sptNoSmokingVert, SAL_N_ELEMENTS( mso_sptNoSmokingVert ), (sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptNoSmokingCalc, SAL_N_ELEMENTS( mso_sptNoSmokingCalc ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, SAL_N_ELEMENTS( mso_sptEllipseTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), (SvxMSDffHandle*)mso_sptNoSmokingHandle, SAL_N_ELEMENTS( mso_sptNoSmokingHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBlockArc = { (SvxMSDffVertPair*)mso_sptBlockArcVert, SAL_N_ELEMENTS( mso_sptBlockArcVert ), (sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBlockArcCalc, SAL_N_ELEMENTS( mso_sptBlockArcCalc ), (sal_Int32*)mso_sptBlockArcDefault, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBlockArcHandle, SAL_N_ELEMENTS( mso_sptBlockArcHandle ) // 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, SAL_N_ELEMENTS( mso_sptHeartVert ), (sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptHeartTextRect, SAL_N_ELEMENTS( mso_sptHeartTextRect ), 21615, 21602, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptHeartGluePoints, SAL_N_ELEMENTS( mso_sptHeartGluePoints ), 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, SAL_N_ELEMENTS( mso_sptLightningBoldVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, SAL_N_ELEMENTS( mso_sptLightningBoldTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, SAL_N_ELEMENTS( mso_sptLightningBoldGluePoints ), 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoSun = { (SvxMSDffVertPair*)mso_sptSunVert, SAL_N_ELEMENTS( mso_sptSunVert ), (sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptSunCalc, SAL_N_ELEMENTS( mso_sptSunCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptSunTextRect, SAL_N_ELEMENTS( mso_sptSunTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptSunHandle, SAL_N_ELEMENTS( mso_sptSunHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoMoon = { (SvxMSDffVertPair*)mso_sptMoonVert, SAL_N_ELEMENTS( mso_sptMoonVert ), (sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptMoonCalc, SAL_N_ELEMENTS( mso_sptMoonCalc ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptMoonTextRect, SAL_N_ELEMENTS( mso_sptMoonTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptMoonGluePoints, SAL_N_ELEMENTS( mso_sptMoonGluePoints ), (SvxMSDffHandle*)mso_sptMoonHandle, SAL_N_ELEMENTS( mso_sptMoonHandle ) // 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 " { 0 MSO_I, 0 }, { 0, 1 MSO_I }, // filling area { 0, 2 MSO_I }, { 0 MSO_I, 21600 }, { 3 MSO_I, 21600 }, { 21600, 2 MSO_I }, { 21600, 1 MSO_I }, { 3 MSO_I, 0 } }; static const sal_uInt16 mso_sptBracketPairSegm[] = { 0x4000, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0x0001, // filling area 0xa701, 0x0001, 0xa801, 0x6000, 0xab00, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBracketPair = { (SvxMSDffVertPair*)mso_sptBracketPairVert, SAL_N_ELEMENTS( mso_sptBracketPairVert ), (sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketPairCalc, SAL_N_ELEMENTS( mso_sptBracketPairCalc ), (sal_Int32*)mso_sptDefault3700, (SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, SAL_N_ELEMENTS( mso_sptBracketPairTextRect ), 21600, 21600, 10800, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptBracketPairHandle, SAL_N_ELEMENTS( mso_sptBracketPairHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoPlaque = { (SvxMSDffVertPair*)mso_sptBracketPairVert, SAL_N_ELEMENTS( mso_sptBracketPairVert ), (sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketPairCalc, SAL_N_ELEMENTS( mso_sptBracketPairCalc ), (sal_Int32*)mso_sptDefault3600, (SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, SAL_N_ELEMENTS( mso_sptPlaqueTextRect ), 21600, 21600, 10800, 10800, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptPlaqueHandle, SAL_N_ELEMENTS( mso_sptPlaqueHandle ) // 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 }, { 4 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 }, // filling area { 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 }, { 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, 0xaa00, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0xaa00, 0x8000, 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x0001, // filling area 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x6000, 0xab00, 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, MIN_INT32, 0x7fffffff, 0, 5400 } }; static const mso_CustomShape msoBracePair = { (SvxMSDffVertPair*)mso_sptBracePairVert, SAL_N_ELEMENTS( mso_sptBracePairVert ), (sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracePairCalc, SAL_N_ELEMENTS( mso_sptBracePairCalc ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptBracePairTextRect, SAL_N_ELEMENTS( mso_sptBracePairTextRect ), 21600, 21600, 10800, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), (SvxMSDffHandle*)mso_sptBracePairHandle, SAL_N_ELEMENTS( mso_sptBracePairHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoLeftBracket = { (SvxMSDffVertPair*)mso_sptLeftBracketVert, SAL_N_ELEMENTS( mso_sptLeftBracketVert ), (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketCalc, SAL_N_ELEMENTS( mso_sptBracketCalc ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, SAL_N_ELEMENTS( mso_sptLeftBracketTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, SAL_N_ELEMENTS( mso_sptLeftBracketGluePoints ), (SvxMSDffHandle*)mso_sptLeftBracketHandle, SAL_N_ELEMENTS( mso_sptLeftBracketHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoRightBracket = { (SvxMSDffVertPair*)mso_sptRightBracketVert, SAL_N_ELEMENTS( mso_sptRightBracketVert ), (sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBracketCalc, SAL_N_ELEMENTS( mso_sptBracketCalc ), (sal_Int32*)mso_sptDefault1800, (SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, SAL_N_ELEMENTS( mso_sptRightBracketTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, SAL_N_ELEMENTS( mso_sptRightBracketGluePoints ), (SvxMSDffHandle*)mso_sptRightBracketHandle, SAL_N_ELEMENTS( mso_sptRightBracketHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 5400 }, { MSDFF_HANDLE_FLAGS_RANGE, 0, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoLeftBrace = // adj value0 0 -> 5400 { // adj value1 0 -> 21600 (SvxMSDffVertPair*)mso_sptLeftBraceVert, SAL_N_ELEMENTS( mso_sptLeftBraceVert ), (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBraceCalc, SAL_N_ELEMENTS( mso_sptBraceCalc ), (sal_Int32*)mso_sptBraceDefault, (SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, SAL_N_ELEMENTS( mso_sptLeftBraceTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, SAL_N_ELEMENTS( mso_sptLeftBracketGluePoints ), (SvxMSDffHandle*)mso_sptLeftBraceHandle, SAL_N_ELEMENTS( mso_sptLeftBraceHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 5400 }, { MSDFF_HANDLE_FLAGS_RANGE, 1, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoRightBrace = // adj value0 0 -> 5400 { // adj value1 0 -> 21600 (SvxMSDffVertPair*)mso_sptRightBraceVert, SAL_N_ELEMENTS( mso_sptRightBraceVert ), (sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptBraceCalc, SAL_N_ELEMENTS( mso_sptBraceCalc ), (sal_Int32*)mso_sptBraceDefault, (SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, SAL_N_ELEMENTS( mso_sptRightBraceTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, SAL_N_ELEMENTS( mso_sptRightBracketGluePoints ), (SvxMSDffHandle*)mso_sptRightBraceHandle, SAL_N_ELEMENTS( mso_sptRightBraceHandle ) // 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, SAL_N_ELEMENTS( mso_sptIrregularSeal1Vert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, SAL_N_ELEMENTS( mso_sptIrregularSeal1TextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, SAL_N_ELEMENTS( mso_sptIrregularSeal1GluePoints ), 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, SAL_N_ELEMENTS( mso_sptIrregularSeal2Vert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, SAL_N_ELEMENTS( mso_sptIrregularSeal2TextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, SAL_N_ELEMENTS( mso_sptIrregularSeal2GluePoints ), 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoSeal4 = { (SvxMSDffVertPair*)mso_sptSeal4Vert, SAL_N_ELEMENTS( mso_sptSeal4Vert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal4Calc, SAL_N_ELEMENTS( mso_sptSeal4Calc ), (sal_Int32*)mso_sptDefault8100, (SvxMSDffTextRectangles*)mso_sptSeal4TextRect, SAL_N_ELEMENTS( mso_sptSeal4TextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle ) // 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, SAL_N_ELEMENTS( mso_sptStarVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptStarTextRect, SAL_N_ELEMENTS( mso_sptStarTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptSeal8Vert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal24Calc, SAL_N_ELEMENTS( mso_sptSeal24Calc ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle ) // 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, SAL_N_ELEMENTS( mso_sptSeal16Vert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal16Calc, SAL_N_ELEMENTS( mso_sptSeal16Calc ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle ) // 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, SAL_N_ELEMENTS( mso_sptSeal24Vert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal24Calc, SAL_N_ELEMENTS( mso_sptSeal24Calc ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle ) // 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, SAL_N_ELEMENTS( mso_sptSeal32Vert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptSeal32Calc, SAL_N_ELEMENTS( mso_sptSeal32Calc ), (sal_Int32*)mso_sptDefault2500, (SvxMSDffTextRectangles*)mso_sptSealTextRect, SAL_N_ELEMENTS( mso_sptSealTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptSealHandle, SAL_N_ELEMENTS( mso_sptSealHandle ) }; 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, MIN_INT32, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 14400, 21600 } }; static const mso_CustomShape msoRibbon2 = { (SvxMSDffVertPair*)mso_sptRibbon2Vert, SAL_N_ELEMENTS( mso_sptRibbon2Vert ), (sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptRibbon2Calc, SAL_N_ELEMENTS( mso_sptRibbon2Calc ), (sal_Int32*)mso_sptRibbon2Default, (SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, SAL_N_ELEMENTS( mso_sptRibbon2TextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptRibbon2Handle, SAL_N_ELEMENTS( mso_sptRibbon2Handle ) }; 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, MIN_INT32, 0x7fffffff }, { MSDFF_HANDLE_FLAGS_RANGE, 10800, 0x101, 10800, 10800, MIN_INT32, 0x7fffffff, 0, 7200 } }; static const mso_CustomShape msoRibbon = { (SvxMSDffVertPair*)mso_sptRibbonVert, SAL_N_ELEMENTS( mso_sptRibbonVert ), (sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptRibbonCalc, SAL_N_ELEMENTS( mso_sptRibbonCalc ), (sal_Int32*)mso_sptRibbonDefault, (SvxMSDffTextRectangles*)mso_sptRibbonTextRect, SAL_N_ELEMENTS( mso_sptRibbonTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptRibbonGluePoints, SAL_N_ELEMENTS( mso_sptRibbonGluePoints ), (SvxMSDffHandle*)mso_sptRibbonHandle, SAL_N_ELEMENTS( mso_sptRibbonHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 5400 } }; static const mso_CustomShape msoVerticalScroll = { (SvxMSDffVertPair*)mso_sptVerticalScrollVert, SAL_N_ELEMENTS( mso_sptVerticalScrollVert ), (sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptScrollCalc, SAL_N_ELEMENTS( mso_sptScrollCalc ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptScrollTextRect, SAL_N_ELEMENTS( mso_sptScrollTextRect ), 21600, 21600, 11000, 10800, NULL, 0, (SvxMSDffHandle*)mso_sptVerticalScrollHandle, SAL_N_ELEMENTS( mso_sptVerticalScrollHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoHorizontalScroll = { (SvxMSDffVertPair*)mso_sptHorizontalScrollVert, SAL_N_ELEMENTS( mso_sptHorizontalScrollVert ), (sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptScrollCalc, SAL_N_ELEMENTS( mso_sptScrollCalc ), (sal_Int32*)mso_sptDefault2700, (SvxMSDffTextRectangles*)mso_sptScrollTextRect, SAL_N_ELEMENTS( mso_sptScrollTextRect ), 21600, 21600, 10800, 11000, NULL, 0, (SvxMSDffHandle*)mso_sptHorizontalScrollHandle, SAL_N_ELEMENTS( mso_sptHorizontalScrollHandle ) }; static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] = { { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 } }; static const mso_CustomShape msoFlowChartProcess = { (SvxMSDffVertPair*)mso_sptFlowChartProcessVert, SAL_N_ELEMENTS( mso_sptFlowChartProcessVert ), NULL, 0, NULL, 0, NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessVert ), (sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessCalc ), NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, SAL_N_ELEMENTS( mso_sptFlowChartAlternateProcessTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartDecisionVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDecisionTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartInputOutputGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartPredefinedProcessVert ), (sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPredefinedProcessTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptFlowChartInternalStorageVert ), (sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, SAL_N_ELEMENTS( mso_sptFlowChartInternalStorageTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptFlowChartDocumentVert ), (sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDocumentTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartDocumentGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentVert ), (sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMultidocumentGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartTerminatorVert ), (sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartTerminatorTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartPreparationVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPreparationTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartManualInputVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, SAL_N_ELEMENTS( mso_sptFlowChartManualInputTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartManualInputGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartManualOperationGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartConnectorVert ), (sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartConnectorTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartOffpageConnectorVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOffpageConnectorTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartPunchedCardVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPunchedCardTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeVert ), (sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartPunchedTapeGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartSummingJunctionVert ), (sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, SAL_N_ELEMENTS( mso_sptFlowChartSummingJunctionTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartOrVert ), (sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOrTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptEllipseGluePoints, SAL_N_ELEMENTS( mso_sptEllipseGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartCollateVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, SAL_N_ELEMENTS( mso_sptFlowChartCollateTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartCollateGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartSortVert ), (sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, SAL_N_ELEMENTS( mso_sptFlowChartSortTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptFlowChartExtractVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, SAL_N_ELEMENTS( mso_sptFlowChartExtractTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartExtractGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartMergeVert ), NULL, 0, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMergeTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartExtractGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageVert ), (sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartOnlineStorageGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartDelayVert ), (sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDelayTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartMagneticTapeVert ), (sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticTapeTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskVert ), (sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDiskGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumVert ), (sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, SAL_N_ELEMENTS( mso_sptFlowChartMagneticDrumGluePoints ), 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, SAL_N_ELEMENTS( mso_sptFlowChartDisplayVert ), (sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, SAL_N_ELEMENTS( mso_sptFlowChartDisplayTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptStandardGluePoints, SAL_N_ELEMENTS( mso_sptStandardGluePoints ), 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoWedgeRectCallout = { (SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutVert ), NULL, 0, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutGluePoints ), (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle ) // 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, SAL_N_ELEMENTS( mso_sptWedgeRRectCalloutVert ), (sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeRRectCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle ) // 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, MIN_INT32, 0x7fffffff } }; static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] = { { { 800, 800 }, { 20800, 17250 } } }; static const mso_CustomShape msoBalloon = { (SvxMSDffVertPair*)mso_sptBalloonVert, SAL_N_ELEMENTS( mso_sptBalloonVert ), (sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeRectCalloutCalc ), (sal_Int32*)mso_sptWedgeRectCalloutDefault, (SvxMSDffTextRectangles*)mso_sptBalloonTextRect, SAL_N_ELEMENTS( mso_sptBalloonTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBalloonHandle, SAL_N_ELEMENTS( mso_sptBalloonHandle ) // 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, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutVert ), (sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutCalc ), (sal_Int32*)mso_sptWedgeEllipseCalloutDefault, (SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, SAL_N_ELEMENTS( mso_sptWedgeEllipseCalloutGluePoints ), (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle ) // 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, SAL_N_ELEMENTS( mso_sptCloudCalloutVert ), (sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, SAL_N_ELEMENTS( mso_sptCloudCalloutCalc ), (sal_Int32*)mso_sptCloudCalloutDefault, (SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, SAL_N_ELEMENTS( mso_sptCloudCalloutTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle, SAL_N_ELEMENTS( mso_sptCalloutHandle ) // 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, MIN_INT32, 0x7fffffff, 0, 4460 }, { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 21600, 10800, 10800, 8640, 12960, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptWaveVert ), (sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptWaveTextRect, SAL_N_ELEMENTS( mso_sptWaveTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ), (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 2230 }, { MSDFF_HANDLE_FLAGS_RANGE, 0x101, 21600, 10800, 10800, 8640, 12960, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptDoubleWaveVert ), (sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle ) }; // 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, SAL_N_ELEMENTS( mso_sptFontWorkVert ), (sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1, NULL, 0, NULL, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoTextPlainText = { (SvxMSDffVertPair*)mso_sptTextPlainTextVert, SAL_N_ELEMENTS( mso_sptTextPlainTextVert ), (sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, SAL_N_ELEMENTS( mso_sptTextPlainTextCalc ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextPlainTextHandle, SAL_N_ELEMENTS( mso_sptTextPlainTextHandle ) }; 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, MIN_INT32, 0x7fffffff, 3080, 10800 } }; static const mso_CustomShape msoTextStop = { (SvxMSDffVertPair*)mso_sptTextStopVert, SAL_N_ELEMENTS( mso_sptTextStopVert ), (sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextStopCalc, SAL_N_ELEMENTS( mso_sptTextStopCalc ), (sal_Int32*)mso_sptTextStopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextStopHandle, SAL_N_ELEMENTS( mso_sptTextStopHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 21600 } }; static const mso_CustomShape msoTextTriangle = { (SvxMSDffVertPair*)mso_sptTextTriangleVert, SAL_N_ELEMENTS( mso_sptTextTriangleVert ), (sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, SAL_N_ELEMENTS( mso_sptTextTriangleCalc ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextTriangleHandle, SAL_N_ELEMENTS( mso_sptTextTriangleHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextTriangleInvertedVert ), (sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextTriangleCalc, SAL_N_ELEMENTS( mso_sptTextTriangleCalc ), (sal_Int32*)mso_sptDefault10800, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextTriangleHandle, SAL_N_ELEMENTS( mso_sptTextTriangleHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextChevron = { (SvxMSDffVertPair*)mso_sptTextChevronVert, SAL_N_ELEMENTS( mso_sptTextChevronVert ), (sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextChevronCalc, SAL_N_ELEMENTS( mso_sptTextChevronCalc ), (sal_Int32*)mso_sptDefault5400, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextChevronHandle, SAL_N_ELEMENTS( mso_sptTextChevronHandle ) }; 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, MIN_INT32, 0x7fffffff, 10800, 21600 } }; static const mso_CustomShape msoTextChevronInverted = { (SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, SAL_N_ELEMENTS( mso_sptTextChevronInvertedVert ), (sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, SAL_N_ELEMENTS( mso_sptTextChevronInvertedCalc ), (sal_Int32*)mso_sptDefault16200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, SAL_N_ELEMENTS( mso_sptTextChevronInvertedHandle ) }; 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, MIN_INT32, 0x7fffffff, 10800, 21600 } }; static const mso_CustomShape msoTextRingOutside = { (SvxMSDffVertPair*)mso_sptTextRingOutsideVert, SAL_N_ELEMENTS( mso_sptTextRingOutsideVert ), (sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, SAL_N_ELEMENTS( mso_sptTextRingOutsideCalc ), (sal_Int32*)mso_sptDefault16200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextRingOutsideHandle, SAL_N_ELEMENTS( mso_sptTextRingOutsideHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextFadeRight = { (SvxMSDffVertPair*)mso_sptTextFadeRightVert, SAL_N_ELEMENTS( mso_sptTextFadeRightVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeRightHandle, SAL_N_ELEMENTS( mso_sptTextFadeRightHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 10800 } }; static const mso_CustomShape msoTextFadeLeft = { (SvxMSDffVertPair*)mso_sptTextFadeLeftVert, SAL_N_ELEMENTS( mso_sptTextFadeLeftVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeLeftHandle, SAL_N_ELEMENTS( mso_sptTextFadeLeftHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoTextFadeUp = { (SvxMSDffVertPair*)mso_sptTextFadeUpVert, SAL_N_ELEMENTS( mso_sptTextFadeUpVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeUpHandle, SAL_N_ELEMENTS( mso_sptTextFadeUpHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoTextFadeDown = { (SvxMSDffVertPair*)mso_sptTextFadeDownVert, SAL_N_ELEMENTS( mso_sptTextFadeDownVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault7200, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextFadeDownHandle, SAL_N_ELEMENTS( mso_sptTextFadeDownHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 15400 } }; static const mso_CustomShape msoTextSlantUp = { (SvxMSDffVertPair*)mso_sptTextSlantUpVert, SAL_N_ELEMENTS( mso_sptTextSlantUpVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault12000, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextSlantUpHandle, SAL_N_ELEMENTS( mso_sptTextSlantUpHandle ) }; 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, MIN_INT32, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextSlantDown = { (SvxMSDffVertPair*)mso_sptTextSlantDownVert, SAL_N_ELEMENTS( mso_sptTextSlantDownVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextFadeCalc, SAL_N_ELEMENTS( mso_sptTextFadeCalc ), (sal_Int32*)mso_sptDefault12000, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextSlantDownHandle, SAL_N_ELEMENTS( mso_sptTextSlantDownHandle ) }; 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, MIN_INT32, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextCascadeUp = { (SvxMSDffVertPair*)mso_sptTextCascadeUpVert, SAL_N_ELEMENTS( mso_sptTextCascadeUpVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, SAL_N_ELEMENTS( mso_sptTextCascadeCalc ), (sal_Int32*)mso_sptDefault9600, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCascadeUpHandle, SAL_N_ELEMENTS( mso_sptTextCascadeUpHandle ) }; 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, MIN_INT32, 0x7fffffff, 6200, 21600 } }; static const mso_CustomShape msoTextCascadeDown = { (SvxMSDffVertPair*)mso_sptTextCascadeDownVert, SAL_N_ELEMENTS( mso_sptTextCascadeDownVert ), (sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCascadeCalc, SAL_N_ELEMENTS( mso_sptTextCascadeCalc ), (sal_Int32*)mso_sptDefault9600, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCascadeDownHandle, SAL_N_ELEMENTS( mso_sptTextCascadeDownHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchUpCurveDefault[] = { 1, 180 }; static const mso_CustomShape msoTextArchUpCurve = { (SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, SAL_N_ELEMENTS( mso_sptTextArchUpCurveVert ), (sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, SAL_N_ELEMENTS( mso_sptTextArchCurveCalc ), (sal_Int32*)mso_sptTextArchUpCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, SAL_N_ELEMENTS( mso_sptTextArchUpCurveHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchDownCurveDefault[] = { 1, 0 }; static const mso_CustomShape msoTextArchDownCurve = { (SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, SAL_N_ELEMENTS( mso_sptTextArchDownCurveVert ), (sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, SAL_N_ELEMENTS( mso_sptTextArchCurveCalc ), (sal_Int32*)mso_sptTextArchDownCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, SAL_N_ELEMENTS( mso_sptTextArchDownCurveHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextCircleCurveDefault[] = { 1, -179 }; static const mso_CustomShape msoTextCircleCurve = { (SvxMSDffVertPair*)mso_sptTextCircleCurveVert, SAL_N_ELEMENTS( mso_sptTextCircleCurveVert ), (sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, SAL_N_ELEMENTS( mso_sptTextCircleCurveCalc ), (sal_Int32*)mso_sptTextCircleCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCircleCurveHandle, SAL_N_ELEMENTS( mso_sptTextCircleCurveHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextButtonCurveDefault[] = { 1, 180 }; static const mso_CustomShape msoTextButtonCurve = { (SvxMSDffVertPair*)mso_sptTextButtonCurveVert, SAL_N_ELEMENTS( mso_sptTextButtonCurveVert ), (sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, SAL_N_ELEMENTS( mso_sptTextButtonCurveCalc ), (sal_Int32*)mso_sptTextButtonCurveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextButtonCurveHandle, SAL_N_ELEMENTS( mso_sptTextButtonCurveHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextArchUpPourDefault[] = { 2, 180, 5400 }; static const mso_CustomShape msoTextArchUpPour = { (SvxMSDffVertPair*)mso_sptTextArchUpPourVert, SAL_N_ELEMENTS( mso_sptTextArchUpPourVert ), (sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, SAL_N_ELEMENTS( mso_sptTextArchPourCalc ), (sal_Int32*)mso_sptTextArchUpPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchPourHandle, SAL_N_ELEMENTS( mso_sptTextArchPourHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextArchDownPourVert ), (sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextArchPourCalc, SAL_N_ELEMENTS( mso_sptTextArchPourCalc ), (sal_Int32*)mso_sptTextArchDownPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextArchPourHandle, SAL_N_ELEMENTS( mso_sptTextArchPourHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextCirclePourDefault[] = { 2, -179, 5400 }; static const mso_CustomShape msoTextCirclePour = { (SvxMSDffVertPair*)mso_sptTextCirclePourVert, SAL_N_ELEMENTS( mso_sptTextCirclePourVert ), (sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, SAL_N_ELEMENTS( mso_sptTextCirclePourCalc ), (sal_Int32*)mso_sptTextCirclePourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCirclePourHandle, SAL_N_ELEMENTS( mso_sptTextCirclePourHandle ) }; 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, MIN_INT32, 0x7fffffff } }; static const sal_Int32 mso_sptTextButtonPourDefault[] = { 2, 180, 5400 }; static const mso_CustomShape msoTextButtonPour = { (SvxMSDffVertPair*)mso_sptTextButtonPourVert, SAL_N_ELEMENTS( mso_sptTextButtonPourVert ), (sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, SAL_N_ELEMENTS( mso_sptTextButtonPourCalc ), (sal_Int32*)mso_sptTextButtonPourDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextButtonPourHandle, SAL_N_ELEMENTS( mso_sptTextButtonPourHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 12170 } }; static const sal_Int32 mso_sptTextCurveUpDefault[] = { 1, 9900 }; static const mso_CustomShape msoTextCurveUp = { (SvxMSDffVertPair*)mso_sptTextCurveUpVert, SAL_N_ELEMENTS( mso_sptTextCurveUpVert ), (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, SAL_N_ELEMENTS( mso_sptTextCurveUpCalc ), (sal_Int32*)mso_sptTextCurveUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCurveUpHandle, SAL_N_ELEMENTS( mso_sptTextCurveUpHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 12170 } }; static const mso_CustomShape msoTextCurveDown = { (SvxMSDffVertPair*)mso_sptTextCurveDownVert, SAL_N_ELEMENTS( mso_sptTextCurveDownVert ), (sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, SAL_N_ELEMENTS( mso_sptTextCurveUpCalc ), (sal_Int32*)mso_sptTextCurveUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCurveDownHandle, SAL_N_ELEMENTS( mso_sptTextCurveDownHandle ) }; 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, MIN_INT32, 0x7fffffff, 14400, 21600 } }; static const sal_Int32 mso_sptTextCanUpDefault[] = { 1, 18500 }; static const mso_CustomShape msoTextCanUp = { (SvxMSDffVertPair*)mso_sptTextCanUpVert, SAL_N_ELEMENTS( mso_sptTextCanUpVert ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCanUpCalc, SAL_N_ELEMENTS( mso_sptTextCanUpCalc ), (sal_Int32*)mso_sptTextCanUpDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCanUpHandle, SAL_N_ELEMENTS( mso_sptTextCanUpHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 7200 } }; static const sal_Int32 mso_sptTextCanDownDefault[] = { 1, 3100 }; static const mso_CustomShape msoTextCanDown = { (SvxMSDffVertPair*)mso_sptTextCanDownVert, SAL_N_ELEMENTS( mso_sptTextCanDownVert ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextCanDownCalc, SAL_N_ELEMENTS( mso_sptTextCanDownCalc ), (sal_Int32*)mso_sptTextCanDownDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextCanDownHandle, SAL_N_ELEMENTS( mso_sptTextCanDownHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 4650 } }; static const sal_Int32 mso_sptTextInflateDefault[] = { 1, 2950 }; static const mso_CustomShape msoTextInflate = { (SvxMSDffVertPair*)mso_sptTextInflateVert, SAL_N_ELEMENTS( mso_sptTextInflateVert ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateCalc, SAL_N_ELEMENTS( mso_sptTextInflateCalc ), (sal_Int32*)mso_sptTextInflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateHandle, SAL_N_ELEMENTS( mso_sptTextInflateHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 8100 } }; static const mso_CustomShape msoTextDeflate = { (SvxMSDffVertPair*)mso_sptTextDeflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateVert ), (sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateCalc ), (sal_Int32*)mso_sptDefault8100, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateHandle ) }; 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, MIN_INT32, 0x7fffffff, 11150, 21600 } }; static const sal_Int32 mso_sptTextInflateBottomDefault[] = { 1, 14700 }; static const mso_CustomShape msoTextInflateBottom = { (SvxMSDffVertPair*)mso_sptTextInflateBottomVert, SAL_N_ELEMENTS( mso_sptTextInflateBottomVert ), (sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, SAL_N_ELEMENTS( mso_sptTextInflateBottomCalc ), (sal_Int32*)mso_sptTextInflateBottomDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateBottomHandle, SAL_N_ELEMENTS( mso_sptTextInflateBottomHandle ) }; 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, MIN_INT32, 0x7fffffff, 1350, 21600 } }; static const sal_Int32 mso_sptTextDeflateBottomDefault[] = { 1, 11500 }; static const mso_CustomShape msoTextDeflateBottom = { (SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, SAL_N_ELEMENTS( mso_sptTextDeflateBottomVert ), (sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, SAL_N_ELEMENTS( mso_sptTextDeflateBottomCalc ), (sal_Int32*)mso_sptTextDeflateBottomDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, SAL_N_ELEMENTS( mso_sptTextDeflateBottomHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 10450 } }; static const sal_Int32 mso_sptTextInflateTopDefault[] = { 1, 6900 }; static const mso_CustomShape msoTextInflateTop = { (SvxMSDffVertPair*)mso_sptTextInflateTopVert, SAL_N_ELEMENTS( mso_sptTextInflateTopVert ), (sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, SAL_N_ELEMENTS( mso_sptTextInflateTopCalc ), (sal_Int32*)mso_sptTextInflateTopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextInflateTopHandle, SAL_N_ELEMENTS( mso_sptTextInflateTopHandle ) }; 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, MIN_INT32, 0x7fffffff, 0, 20250 } }; static const sal_Int32 mso_sptTextDeflateTopDefault[] = { 1, 10100 }; static const mso_CustomShape msoTextDeflateTop = { (SvxMSDffVertPair*)mso_sptTextDeflateTopVert, SAL_N_ELEMENTS( mso_sptTextDeflateTopVert ), (sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, SAL_N_ELEMENTS( mso_sptTextDeflateTopCalc ), (sal_Int32*)mso_sptTextDeflateTopDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateTopHandle, SAL_N_ELEMENTS( mso_sptTextDeflateTopHandle ) }; 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, MIN_INT32, 0x7fffffff, 1300, 20300 } }; static const sal_Int32 mso_sptTextDeflateInflateDefault[] = { 1, 6500 }; static const mso_CustomShape msoTextDeflateInflate = { (SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateInflateVert ), (sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateInflateCalc ), (sal_Int32*)mso_sptTextDeflateInflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateInflateHandle ) }; 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, MIN_INT32, 0x7fffffff, 850, 9550 } }; static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] = { 1, 6050 }; static const mso_CustomShape msoTextDeflateInflateDeflate = { (SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateVert ), (sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1, (SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateCalc ), (sal_Int32*)mso_sptTextDeflateInflateDeflateDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, SAL_N_ELEMENTS( mso_sptTextDeflateInflateDeflateHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextWave1Vert ), (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ), (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextWave2Vert ), (sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptWaveCalc, SAL_N_ELEMENTS( mso_sptWaveCalc ), (sal_Int32*)mso_sptWaveDefault, (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, SAL_N_ELEMENTS( mso_sptFontWorkTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptWaveGluePoints, SAL_N_ELEMENTS( mso_sptWaveGluePoints ), (SvxMSDffHandle*)mso_sptWaveHandle, SAL_N_ELEMENTS( mso_sptWaveHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextWave3Vert ), (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle ) }; 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, SAL_N_ELEMENTS( mso_sptTextWave4Vert ), (sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, SAL_N_ELEMENTS( mso_sptDoubleWaveCalc ), (sal_Int32*)mso_sptDoubleWaveDefault, (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, SAL_N_ELEMENTS( mso_sptDoubleWaveTextRect ), 21600, 21600, MIN_INT32, MIN_INT32, (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, SAL_N_ELEMENTS( mso_sptDoubleWaveGluePoints ), (SvxMSDffHandle*)mso_sptDoubleWaveHandle, SAL_N_ELEMENTS( mso_sptDoubleWaveHandle ) }; 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x104, 0x105, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x102, 0x103, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x104, 0x105, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff }, { 0, 0x106, 0x107, 10800, 10800, MIN_INT32, 0x7fffffff, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoCallout1 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Verta, SAL_N_ELEMENTS( mso_sptCallout2Verta ), (sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 ) }; static const mso_CustomShape msoCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Verta, SAL_N_ELEMENTS( mso_sptCallout3Verta ), (sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 ) }; static const mso_CustomShape msoAccentCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoAccentCallout1 = { (SvxMSDffVertPair*)mso_sptCallout1Vert, SAL_N_ELEMENTS( mso_sptCallout1Vert ), (sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoAccentCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Vertb, SAL_N_ELEMENTS( mso_sptCallout2Vertb ), (sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 ) }; static const mso_CustomShape msoAccentCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Vertb, SAL_N_ELEMENTS( mso_sptCallout3Vertb ), (sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 ) }; static const mso_CustomShape msoBorderCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoBorderCallout1 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoBorderCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Verta, SAL_N_ELEMENTS( mso_sptCallout2Verta ), (sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 ) }; static const mso_CustomShape msoBorderCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Verta, SAL_N_ELEMENTS( mso_sptCallout3Verta ), (sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 ) }; static const mso_CustomShape msoAccentBorderCallout90 = { (SvxMSDffVertPair*)mso_sptCalloutVert1, SAL_N_ELEMENTS( mso_sptCalloutVert1 ), (sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault1, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoAccentBorderCallout1 = { (SvxMSDffVertPair*)mso_sptCallout1Vert, SAL_N_ELEMENTS( mso_sptCallout1Vert ), (sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault2, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle1, SAL_N_ELEMENTS( mso_sptCalloutHandle1 ) }; static const mso_CustomShape msoAccentBorderCallout2 = { (SvxMSDffVertPair*)mso_sptCallout2Vertb, SAL_N_ELEMENTS( mso_sptCallout2Vertb ), (sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault3, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle2, SAL_N_ELEMENTS( mso_sptCalloutHandle2 ) }; static const mso_CustomShape msoAccentBorderCallout3 = { (SvxMSDffVertPair*)mso_sptCallout3Vertb, SAL_N_ELEMENTS( mso_sptCallout3Vertb ), (sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1, (SvxMSDffCalculationData*)mso_sptCalloutCalc, SAL_N_ELEMENTS( mso_sptCalloutCalc ), (sal_Int32*)mso_sptCalloutDefault4, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCalloutHandle3, SAL_N_ELEMENTS( mso_sptCalloutHandle3 ) }; 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, SAL_N_ELEMENTS( mso_sptStraightConnector1Vert ), (sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, 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, SAL_N_ELEMENTS( mso_sptBentConnector2Vert ), (sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBentConnector3 = { (SvxMSDffVertPair*)mso_sptBentConnector3Vert, SAL_N_ELEMENTS( mso_sptBentConnector3Vert ), (sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector3Calc, SAL_N_ELEMENTS( mso_sptBentConnector3Calc ), (sal_Int32*)mso_sptBentConnector3Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector3Handle, SAL_N_ELEMENTS( mso_sptBentConnector3Handle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoBentConnector4 = { (SvxMSDffVertPair*)mso_sptBentConnector4Vert, SAL_N_ELEMENTS( mso_sptBentConnector4Vert ), (sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector4Calc, SAL_N_ELEMENTS( mso_sptBentConnector4Calc ), (sal_Int32*)mso_sptBentConnector4Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector4Handle, SAL_N_ELEMENTS( mso_sptBentConnector4Handle ) }; 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, MIN_INT32, 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff, 7 + 3, 7 + 3 } }; static const mso_CustomShape msoBentConnector5 = { (SvxMSDffVertPair*)mso_sptBentConnector5Vert, SAL_N_ELEMENTS( mso_sptBentConnector5Vert ), (sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptBentConnector5Calc, SAL_N_ELEMENTS( mso_sptBentConnector5Calc ), (sal_Int32*)mso_sptBentConnector5Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptBentConnector5Handle, SAL_N_ELEMENTS( mso_sptBentConnector5Handle ) }; 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, SAL_N_ELEMENTS( mso_sptCurvedConnector2Vert ), (sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1, (SvxMSDffCalculationData*)NULL, 0, (sal_Int32*)NULL, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, 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, MIN_INT32, 0x7fffffff, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoCurvedConnector3 = { (SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector3Vert ), (sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector3Calc ), (sal_Int32*)mso_sptCurvedConnector3Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector3Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector3Handle ) }; 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff } }; static const mso_CustomShape msoCurvedConnector4 = { (SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector4Vert ), (sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector4Calc ), (sal_Int32*)mso_sptCurvedConnector4Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector4Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector4Handle ) }; 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, MIN_INT32, 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, MIN_INT32, 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, MIN_INT32, 0x7fffffff, 16 + 3, 16 + 3 } }; static const mso_CustomShape msoCurvedConnector5 = { (SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, SAL_N_ELEMENTS( mso_sptCurvedConnector5Vert ), (sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1, (SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, SAL_N_ELEMENTS( mso_sptCurvedConnector5Calc ), (sal_Int32*)mso_sptCurvedConnector5Default, NULL, 0, 21600, 21600, MIN_INT32, MIN_INT32, NULL, 0, (SvxMSDffHandle*)mso_sptCurvedConnector5Handle, SAL_N_ELEMENTS( mso_sptCurvedConnector5Handle ) }; 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; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */