xref: /AOO41X/main/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
29*cdf0e10cSrcweir #include "precompiled_svx.hxx"
30*cdf0e10cSrcweir #include "svx/EnhancedCustomShapeGeometry.hxx"
31*cdf0e10cSrcweir #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
32*cdf0e10cSrcweir /*
33*cdf0e10cSrcweir static const SvxMSDffVertPair Vert[] =
34*cdf0e10cSrcweir {
35*cdf0e10cSrcweir 	{ 0, 0, }
36*cdf0e10cSrcweir };
37*cdf0e10cSrcweir static const sal_uInt16 Segm[] =
38*cdf0e10cSrcweir {
39*cdf0e10cSrcweir 	0x4000,
40*cdf0e10cSrcweir 	0x8000
41*cdf0e10cSrcweir };
42*cdf0e10cSrcweir static const SvxMSDffCalculationData Calc[] =
43*cdf0e10cSrcweir {
44*cdf0e10cSrcweir 	{ 0x0000, 0, 0, 0 }
45*cdf0e10cSrcweir };
46*cdf0e10cSrcweir static const sal_Int32 Default[] =
47*cdf0e10cSrcweir {
48*cdf0e10cSrcweir 	0
49*cdf0e10cSrcweir };
50*cdf0e10cSrcweir static const SvxMSDffTextRect TextRect[] =
51*cdf0e10cSrcweir {
52*cdf0e10cSrcweir 	{ { 0, 0 }, { 0, 0 } }
53*cdf0e10cSrcweir };
54*cdf0e10cSrcweir static const mso_CustomShape mso =
55*cdf0e10cSrcweir {
56*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
57*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSegm, sizeof( mso_sptSegm ) >> 1,
58*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalc, sizeof( mso_sptCalc ) / sizeof( SvxMSDffCalculationData ),
59*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault,
60*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( SvxMSDffTextRectangles ),
61*cdf0e10cSrcweir 	21600, 21600,
62*cdf0e10cSrcweir 	0x80000000, 0x80000000,
63*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
64*cdf0e10cSrcweir 	(SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles )
65*cdf0e10cSrcweir };
66*cdf0e10cSrcweir */
67*cdf0e10cSrcweir 
68*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault0[] =
69*cdf0e10cSrcweir {
70*cdf0e10cSrcweir 	1, 0
71*cdf0e10cSrcweir };
72*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1400[] =
73*cdf0e10cSrcweir {
74*cdf0e10cSrcweir 	1, 1400
75*cdf0e10cSrcweir };
76*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1800[] =
77*cdf0e10cSrcweir {
78*cdf0e10cSrcweir 	1, 1800
79*cdf0e10cSrcweir };
80*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2500[] =
81*cdf0e10cSrcweir {
82*cdf0e10cSrcweir 	1, 2500
83*cdf0e10cSrcweir };
84*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2700[] =
85*cdf0e10cSrcweir {
86*cdf0e10cSrcweir 	1, 2700
87*cdf0e10cSrcweir };
88*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3600[] =
89*cdf0e10cSrcweir {
90*cdf0e10cSrcweir 	1, 3600
91*cdf0e10cSrcweir };
92*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3700[] =
93*cdf0e10cSrcweir {
94*cdf0e10cSrcweir 	1, 3700
95*cdf0e10cSrcweir };
96*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault5400[] =
97*cdf0e10cSrcweir {
98*cdf0e10cSrcweir 	1, 5400
99*cdf0e10cSrcweir };
100*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault7200[] =
101*cdf0e10cSrcweir {
102*cdf0e10cSrcweir 	1, 7200
103*cdf0e10cSrcweir };
104*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault8100[] =
105*cdf0e10cSrcweir {
106*cdf0e10cSrcweir 	1, 8100
107*cdf0e10cSrcweir };
108*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault9600[] =
109*cdf0e10cSrcweir {
110*cdf0e10cSrcweir 	1, 9600
111*cdf0e10cSrcweir };
112*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault10800[] =
113*cdf0e10cSrcweir {
114*cdf0e10cSrcweir 	1, 10800
115*cdf0e10cSrcweir };
116*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault12000[] =
117*cdf0e10cSrcweir {
118*cdf0e10cSrcweir 	1, 12000
119*cdf0e10cSrcweir };
120*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault13500[] =
121*cdf0e10cSrcweir {
122*cdf0e10cSrcweir 	1, 13500
123*cdf0e10cSrcweir };
124*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200[] =
125*cdf0e10cSrcweir {
126*cdf0e10cSrcweir 	1, 16200
127*cdf0e10cSrcweir };
128*cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200and5400[] =
129*cdf0e10cSrcweir {
130*cdf0e10cSrcweir 	2, 16200, 5400
131*cdf0e10cSrcweir };
132*cdf0e10cSrcweir 
133*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArcVert[] =
134*cdf0e10cSrcweir {
135*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }, { 10800, 10800 },
136*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }
137*cdf0e10cSrcweir };
138*cdf0e10cSrcweir static const sal_uInt16 mso_sptArcSegm[] =
139*cdf0e10cSrcweir {
140*cdf0e10cSrcweir 	0xa504, 0xab00, 0x0001, 0x6001, 0x8000,
141*cdf0e10cSrcweir 	0xa504, 0xaa00, 0x8000
142*cdf0e10cSrcweir };
143*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArcCalc[] =
144*cdf0e10cSrcweir {
145*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
146*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
147*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
148*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 10800, 0 } },
149*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjust2Value, 0 } },
150*cdf0e10cSrcweir 	{ 0x2000, { 0x404, 10800, 0 } },
151*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjust2Value, 0 } },
152*cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } }
153*cdf0e10cSrcweir };
154*cdf0e10cSrcweir static const sal_Int32 mso_sptArcDefault[] =
155*cdf0e10cSrcweir {
156*cdf0e10cSrcweir 	2, 270, 0
157*cdf0e10cSrcweir };
158*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStandardGluePoints[] =
159*cdf0e10cSrcweir {
160*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
161*cdf0e10cSrcweir };
162*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArcHandle[] =
163*cdf0e10cSrcweir {
164*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
165*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff },
166*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
167*cdf0e10cSrcweir 		10800, 0x101, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff }
168*cdf0e10cSrcweir };
169*cdf0e10cSrcweir static const mso_CustomShape msoArc =
170*cdf0e10cSrcweir {
171*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptArcVert, sizeof( mso_sptArcVert ) / sizeof( SvxMSDffVertPair ),
172*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1,
173*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArcCalc, sizeof( mso_sptArcCalc ) / sizeof( SvxMSDffCalculationData ),
174*cdf0e10cSrcweir 	(sal_Int32*)mso_sptArcDefault,
175*cdf0e10cSrcweir 	NULL, 0,
176*cdf0e10cSrcweir 	21600, 21600,
177*cdf0e10cSrcweir 	0x80000000, 0x80000000,
178*cdf0e10cSrcweir 	NULL, 0,
179*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptArcHandle, sizeof( mso_sptArcHandle ) / sizeof( SvxMSDffHandle )		// handles
180*cdf0e10cSrcweir };
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSimpleVert[] =
183*cdf0e10cSrcweir {
184*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
185*cdf0e10cSrcweir };
186*cdf0e10cSrcweir static const mso_CustomShape msoTextSimple =
187*cdf0e10cSrcweir {
188*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSimpleVert, sizeof( mso_sptTextSimpleVert ) / sizeof( SvxMSDffVertPair ),
189*cdf0e10cSrcweir 	NULL, 0,
190*cdf0e10cSrcweir 	NULL, 0,
191*cdf0e10cSrcweir 	NULL,
192*cdf0e10cSrcweir 	NULL, 0,
193*cdf0e10cSrcweir 	21600, 21600,
194*cdf0e10cSrcweir 	0x80000000, 0x80000000,
195*cdf0e10cSrcweir 	NULL, 0,
196*cdf0e10cSrcweir 	NULL, 0		// handles
197*cdf0e10cSrcweir };
198*cdf0e10cSrcweir 
199*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRectangleVert[] =
200*cdf0e10cSrcweir {
201*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
202*cdf0e10cSrcweir };
203*cdf0e10cSrcweir static const mso_CustomShape msoRectangle =
204*cdf0e10cSrcweir {
205*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRectangleVert, sizeof( mso_sptRectangleVert ) / sizeof( SvxMSDffVertPair ),
206*cdf0e10cSrcweir 	NULL, 0,
207*cdf0e10cSrcweir 	NULL, 0,
208*cdf0e10cSrcweir 	NULL,
209*cdf0e10cSrcweir 	NULL, 0,
210*cdf0e10cSrcweir 	21600, 21600,
211*cdf0e10cSrcweir 	0x80000000, 0x80000000,
212*cdf0e10cSrcweir 	NULL, 0,
213*cdf0e10cSrcweir 	NULL, 0		// handles
214*cdf0e10cSrcweir };
215*cdf0e10cSrcweir 
216*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRoundRectangleVert[] =	// adj value 0 -> 10800
217*cdf0e10cSrcweir {
218*cdf0e10cSrcweir 	{ 7 MSO_I, 0 }, { 0, 8 MSO_I },	{ 0, 9 MSO_I }, { 7 MSO_I, 21600 },
219*cdf0e10cSrcweir 	{ 10 MSO_I, 21600 }, { 21600, 9 MSO_I }, { 21600, 8 MSO_I }, { 10 MSO_I, 0 }
220*cdf0e10cSrcweir };
221*cdf0e10cSrcweir static const sal_uInt16 mso_sptRoundRectangleSegm[] =
222*cdf0e10cSrcweir {
223*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000
224*cdf0e10cSrcweir };
225*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRoundRectangleCalc[] =
226*cdf0e10cSrcweir {
227*cdf0e10cSrcweir 	{ 0x000e, { 0, 45, 0 } },
228*cdf0e10cSrcweir 	{ 0x6009, { DFF_Prop_adjustValue, 0x400, 0 } },
229*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 3163, 7636 } },
230*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x402, 0 } },
231*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x402, 0 } },
232*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },
233*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x402 } },
234*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
235*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
236*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
237*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }
238*cdf0e10cSrcweir };
239*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] =
240*cdf0e10cSrcweir {
241*cdf0e10cSrcweir 	{ { 3 MSO_I, 4 MSO_I }, { 5 MSO_I, 6 MSO_I } }
242*cdf0e10cSrcweir };
243*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRoundRectangleHandle[] =
244*cdf0e10cSrcweir {
245*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
246*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
247*cdf0e10cSrcweir };
248*cdf0e10cSrcweir static const mso_CustomShape msoRoundRectangle =
249*cdf0e10cSrcweir {
250*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRoundRectangleVert, sizeof( mso_sptRoundRectangleVert ) / sizeof( SvxMSDffVertPair ),
251*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1,
252*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, sizeof( mso_sptRoundRectangleCalc ) / sizeof( SvxMSDffCalculationData ),
253*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3600,
254*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, sizeof( mso_sptRoundRectangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
255*cdf0e10cSrcweir 	21600, 21600,
256*cdf0e10cSrcweir 	10800, 10800,
257*cdf0e10cSrcweir 	NULL, 0,
258*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRoundRectangleHandle, sizeof( mso_sptRoundRectangleHandle ) / sizeof( SvxMSDffHandle )		// handles
259*cdf0e10cSrcweir };
260*cdf0e10cSrcweir 
261*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleVert[] =
262*cdf0e10cSrcweir {
263*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
264*cdf0e10cSrcweir };
265*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect[] =
266*cdf0e10cSrcweir {
267*cdf0e10cSrcweir 	{ { 1900, 12700 }, { 12700, 19700 } }
268*cdf0e10cSrcweir };
269*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleGluePoints[] =
270*cdf0e10cSrcweir {
271*cdf0e10cSrcweir 	{ 10800, 0 }, { 5400, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 16200, 10800 }
272*cdf0e10cSrcweir };
273*cdf0e10cSrcweir static const mso_CustomShape msoRightTriangle =
274*cdf0e10cSrcweir {
275*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightTriangleVert, sizeof( mso_sptRightTriangleVert ) / sizeof( SvxMSDffVertPair ),
276*cdf0e10cSrcweir 	NULL, 0,
277*cdf0e10cSrcweir 	NULL, 0,
278*cdf0e10cSrcweir 	NULL,
279*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, sizeof( mso_sptRightTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
280*cdf0e10cSrcweir 	21600, 21600,
281*cdf0e10cSrcweir 	0x80000000, 0x80000000,
282*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, sizeof( mso_sptRightTriangleGluePoints ) / sizeof( SvxMSDffVertPair ),
283*cdf0e10cSrcweir 	NULL, 0		// handles
284*cdf0e10cSrcweir };
285*cdf0e10cSrcweir 
286*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseVert[] =
287*cdf0e10cSrcweir {
288*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
289*cdf0e10cSrcweir };
290*cdf0e10cSrcweir static const sal_uInt16 mso_sptEllipseSegm[] =
291*cdf0e10cSrcweir {
292*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
293*cdf0e10cSrcweir };
294*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptEllipseTextRect[] =
295*cdf0e10cSrcweir {
296*cdf0e10cSrcweir 	{ { 3163, 3163 }, { 18437, 18437 } }
297*cdf0e10cSrcweir };
298*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseGluePoints[] =
299*cdf0e10cSrcweir {
300*cdf0e10cSrcweir 	{ 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 }
301*cdf0e10cSrcweir };
302*cdf0e10cSrcweir static const mso_CustomShape msoEllipse =
303*cdf0e10cSrcweir {
304*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseVert, sizeof( mso_sptEllipseVert ) / sizeof( SvxMSDffVertPair ),
305*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1,
306*cdf0e10cSrcweir 	NULL, 0,
307*cdf0e10cSrcweir 	NULL,
308*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
309*cdf0e10cSrcweir 	21600, 21600,
310*cdf0e10cSrcweir 	0x80000000, 0x80000000,
311*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
312*cdf0e10cSrcweir 	NULL, 0		// handles
313*cdf0e10cSrcweir };
314*cdf0e10cSrcweir 
315*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramVert[] =	// adjustment1 : 0 - 21600
316*cdf0e10cSrcweir {
317*cdf0e10cSrcweir 	{ 0 MSO_I, 0 },	{ 21600, 0 }, { 1 MSO_I, 21600 }, { 0, 21600 }
318*cdf0e10cSrcweir };
319*cdf0e10cSrcweir static const sal_uInt16 mso_sptParallelogramSegm[] =
320*cdf0e10cSrcweir {
321*cdf0e10cSrcweir 	0x4000,	0x0003,	0x6001,	0x8000
322*cdf0e10cSrcweir };
323*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptParallelogramCalc[] =
324*cdf0e10cSrcweir {
325*cdf0e10cSrcweir 	{ 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
326*cdf0e10cSrcweir 	{ 0x8000, { 0, 21600, DFF_Prop_adjustValue } },
327*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10, 24 } },
328*cdf0e10cSrcweir 	{ 0x2000, { 0x0402, 1750, 0 } },
329*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } },
330*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
331*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x405, 0 } },
332*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 10800 } },
333*cdf0e10cSrcweir 	{ 0x6006, { 0x407, 0x40d, 0 } },
334*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x405 } },
335*cdf0e10cSrcweir 	{ 0x6006, { 0x407, 0x40c, 21600 } },
336*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
337*cdf0e10cSrcweir 	{ 0x8001, { 21600, 10800, 0x400 } },
338*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } }
339*cdf0e10cSrcweir };
340*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptParallelogramTextRect[] =
341*cdf0e10cSrcweir {
342*cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
343*cdf0e10cSrcweir };
344*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] =
345*cdf0e10cSrcweir {
346*cdf0e10cSrcweir 	{ 6 MSO_I, 0 }, { 10800, 8 MSO_I }, { 11 MSO_I, 10800 }, { 9 MSO_I, 21600 }, { 10800, 10 MSO_I }, { 5 MSO_I, 10800 }
347*cdf0e10cSrcweir };
348*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptParallelogramHandle[] =
349*cdf0e10cSrcweir {
350*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
351*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
352*cdf0e10cSrcweir };
353*cdf0e10cSrcweir static const mso_CustomShape msoParallelogram =
354*cdf0e10cSrcweir {
355*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptParallelogramVert, sizeof( mso_sptParallelogramVert ) / sizeof( SvxMSDffVertPair ),
356*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1,
357*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptParallelogramCalc, sizeof( mso_sptParallelogramCalc ) / sizeof( SvxMSDffCalculationData ),
358*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
359*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, sizeof( mso_sptParallelogramTextRect ) / sizeof( SvxMSDffTextRectangles ),
360*cdf0e10cSrcweir 	21600, 21600,
361*cdf0e10cSrcweir 	0x80000000, 0x80000000,
362*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptParallelogramGluePoints, sizeof( mso_sptParallelogramGluePoints ) / sizeof( SvxMSDffVertPair ),
363*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptParallelogramHandle, sizeof( mso_sptParallelogramHandle ) / sizeof( SvxMSDffHandle )		// handles
364*cdf0e10cSrcweir };
365*cdf0e10cSrcweir 
366*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDiamondVert[] =
367*cdf0e10cSrcweir {
368*cdf0e10cSrcweir 	{ 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, {	0, 10800 }, { 10800, 0 }
369*cdf0e10cSrcweir };
370*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDiamondTextRect[] =
371*cdf0e10cSrcweir {
372*cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
373*cdf0e10cSrcweir };
374*cdf0e10cSrcweir static const mso_CustomShape msoDiamond =
375*cdf0e10cSrcweir {
376*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDiamondVert, sizeof( mso_sptDiamondVert ) / sizeof( SvxMSDffVertPair ),
377*cdf0e10cSrcweir 	NULL, 0,
378*cdf0e10cSrcweir 	NULL, 0,
379*cdf0e10cSrcweir 	NULL,
380*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDiamondTextRect, sizeof( mso_sptDiamondTextRect ) / sizeof( SvxMSDffTextRectangles ),
381*cdf0e10cSrcweir 	21600, 21600,
382*cdf0e10cSrcweir 	0x80000000, 0x80000000,
383*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
384*cdf0e10cSrcweir 	NULL, 0		// handles
385*cdf0e10cSrcweir };
386*cdf0e10cSrcweir 
387*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidVert[] =		// adjustment1 : 0 - 10800
388*cdf0e10cSrcweir {
389*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, {0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
390*cdf0e10cSrcweir };
391*cdf0e10cSrcweir static const sal_uInt16 mso_sptTrapezoidSegm[] =
392*cdf0e10cSrcweir {
393*cdf0e10cSrcweir 	0x4000, 0x0003,	0x6001,	0x8000
394*cdf0e10cSrcweir };
395*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTrapezoidCalc[] =
396*cdf0e10cSrcweir {
397*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
398*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
399*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10, 18 } },
400*cdf0e10cSrcweir 	{ 0x2000, { 0x0402, 1750, 0 } },
401*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },
402*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
403*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } }
404*cdf0e10cSrcweir };
405*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect[] =
406*cdf0e10cSrcweir {
407*cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
408*cdf0e10cSrcweir };
409*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] =
410*cdf0e10cSrcweir {
411*cdf0e10cSrcweir 	{ 6 MSO_I, 10800 }, { 10800, 21600 }, { 5 MSO_I, 10800 }, { 10800, 0 }
412*cdf0e10cSrcweir };
413*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTrapezoidHandle[] =
414*cdf0e10cSrcweir {
415*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
416*cdf0e10cSrcweir 		0x100, 1, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
417*cdf0e10cSrcweir };
418*cdf0e10cSrcweir static const mso_CustomShape msoTrapezoid =
419*cdf0e10cSrcweir {
420*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTrapezoidVert, sizeof( mso_sptTrapezoidVert ) / sizeof( SvxMSDffVertPair ),
421*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1,
422*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTrapezoidCalc, sizeof( mso_sptTrapezoidCalc ) / sizeof( SvxMSDffCalculationData ),
423*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
424*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, sizeof( mso_sptTrapezoidTextRect ) / sizeof( SvxMSDffTextRectangles ),
425*cdf0e10cSrcweir 	21600, 21600,
426*cdf0e10cSrcweir 	0x80000000, 0x80000000,
427*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, sizeof( mso_sptTrapezoidGluePoints ) / sizeof( SvxMSDffVertPair ),
428*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTrapezoidHandle, sizeof( mso_sptTrapezoidHandle ) / sizeof( SvxMSDffHandle )		// handles
429*cdf0e10cSrcweir };
430*cdf0e10cSrcweir 
431*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptOctagonVert[] =		// adjustment1 : 0 - 10800
432*cdf0e10cSrcweir {
433*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I },
434*cdf0e10cSrcweir 	{ 2 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }, { 0, 1 MSO_I }
435*cdf0e10cSrcweir };
436*cdf0e10cSrcweir static const sal_uInt16 mso_sptOctagonSegm[] =
437*cdf0e10cSrcweir {
438*cdf0e10cSrcweir 	0x4000, 0x0007, 0x6001, 0x8000
439*cdf0e10cSrcweir };
440*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptOctagonCalc[] =
441*cdf0e10cSrcweir {
442*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
443*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
444*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
445*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
446*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
447*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x404, 0 } },
448*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x404, 0 } },
449*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
450*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
451*cdf0e10cSrcweir };
452*cdf0e10cSrcweir static const sal_Int32 mso_sptOctagonDefault[] =
453*cdf0e10cSrcweir {
454*cdf0e10cSrcweir 	1, 5000
455*cdf0e10cSrcweir };
456*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] =
457*cdf0e10cSrcweir {
458*cdf0e10cSrcweir 	{ { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 8 MSO_I } }
459*cdf0e10cSrcweir };
460*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptOctagonHandle[] =
461*cdf0e10cSrcweir {
462*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
463*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
464*cdf0e10cSrcweir };
465*cdf0e10cSrcweir static const mso_CustomShape msoOctagon =
466*cdf0e10cSrcweir {
467*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptOctagonVert, sizeof( mso_sptOctagonVert ) / sizeof( SvxMSDffVertPair ),
468*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1,
469*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptOctagonCalc, sizeof( mso_sptOctagonCalc ) / sizeof( SvxMSDffCalculationData ),
470*cdf0e10cSrcweir 	(sal_Int32*)mso_sptOctagonDefault,
471*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptOctagonTextRect, sizeof( mso_sptOctagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
472*cdf0e10cSrcweir 	21600, 21600,
473*cdf0e10cSrcweir 	10800, 10800,
474*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
475*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptOctagonHandle, sizeof( mso_sptOctagonHandle ) / sizeof( SvxMSDffHandle )		// handles
476*cdf0e10cSrcweir };
477*cdf0e10cSrcweir 
478*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleVert[] =	// adjustment1 : 0 - 21600
479*cdf0e10cSrcweir {
480*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 21600 }, { 0, 21600 }
481*cdf0e10cSrcweir };
482*cdf0e10cSrcweir static const sal_uInt16 mso_sptIsocelesTriangleSegm[] =
483*cdf0e10cSrcweir {
484*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
485*cdf0e10cSrcweir };
486*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc[] =
487*cdf0e10cSrcweir {
488*cdf0e10cSrcweir 	{ 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
489*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
490*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
491*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 3 } },
492*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 7200, 0 } },
493*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
494*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
495*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } }
496*cdf0e10cSrcweir };
497*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect[] =
498*cdf0e10cSrcweir {
499*cdf0e10cSrcweir 	{ { 1 MSO_I, 10800 }, { 2 MSO_I, 18000 } },
500*cdf0e10cSrcweir 	{ { 3 MSO_I, 7200 }, { 4 MSO_I, 21600	} }
501*cdf0e10cSrcweir };
502*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] =
503*cdf0e10cSrcweir {
504*cdf0e10cSrcweir 	{ 10800, 0 }, { 1 MSO_I, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I, 10800 }
505*cdf0e10cSrcweir };
506*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] =
507*cdf0e10cSrcweir {
508*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
509*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
510*cdf0e10cSrcweir };
511*cdf0e10cSrcweir static const mso_CustomShape msoIsocelesTriangle =
512*cdf0e10cSrcweir {
513*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, sizeof( mso_sptIsocelesTriangleVert ) / sizeof( SvxMSDffVertPair ),
514*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1,
515*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, sizeof( mso_sptIsocelesTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
516*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
517*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, sizeof( mso_sptIsocelesTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
518*cdf0e10cSrcweir 	21600, 21600,
519*cdf0e10cSrcweir 	0x80000000, 0x80000000,
520*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, sizeof( mso_sptIsocelesTriangleGluePoints ) / sizeof( SvxMSDffVertPair ),
521*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, sizeof( mso_sptIsocelesTriangleHandle ) / sizeof( SvxMSDffHandle )		// handles
522*cdf0e10cSrcweir };
523*cdf0e10cSrcweir 
524*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHexagonVert[] =				// adjustment1 : 0 - 10800
525*cdf0e10cSrcweir {
526*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 },
527*cdf0e10cSrcweir 	{ 0 MSO_I, 21600 }, { 0, 10800 }
528*cdf0e10cSrcweir };
529*cdf0e10cSrcweir static const sal_uInt16 mso_sptHexagonSegm[] =
530*cdf0e10cSrcweir {
531*cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000
532*cdf0e10cSrcweir };
533*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHexagonCalc[] =
534*cdf0e10cSrcweir {
535*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
536*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
537*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 100, 234 } },
538*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 1700, 0 } },
539*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
540*cdf0e10cSrcweir };
541*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] =
542*cdf0e10cSrcweir {
543*cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
544*cdf0e10cSrcweir };
545*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHexagonHandle[] =
546*cdf0e10cSrcweir {
547*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
548*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
549*cdf0e10cSrcweir };
550*cdf0e10cSrcweir static const mso_CustomShape msoHexagon =
551*cdf0e10cSrcweir {
552*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHexagonVert, sizeof( mso_sptHexagonVert ) / sizeof( SvxMSDffVertPair ),
553*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1,
554*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptHexagonCalc, sizeof( mso_sptHexagonCalc ) / sizeof( SvxMSDffCalculationData ),
555*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
556*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHexagonTextRect, sizeof( mso_sptHexagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
557*cdf0e10cSrcweir 	21600, 21600,
558*cdf0e10cSrcweir 	0x80000000, 0x80000000,
559*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
560*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHexagonHandle, sizeof( mso_sptHexagonHandle ) / sizeof( SvxMSDffHandle )		// handles
561*cdf0e10cSrcweir };
562*cdf0e10cSrcweir 
563*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonVert[] =
564*cdf0e10cSrcweir {
565*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 },
566*cdf0e10cSrcweir 	{ 21600, 8260 }, { 10800, 0 }
567*cdf0e10cSrcweir };
568*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPentagonTextRect[] =
569*cdf0e10cSrcweir {
570*cdf0e10cSrcweir 	{ { 4230, 5080 }, { 17370, 21600 } }
571*cdf0e10cSrcweir };
572*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonGluePoints[] =
573*cdf0e10cSrcweir {
574*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 },
575*cdf0e10cSrcweir 	{ 17370, 21600 }, { 21600, 8260 }
576*cdf0e10cSrcweir };
577*cdf0e10cSrcweir static const mso_CustomShape msoPentagon =
578*cdf0e10cSrcweir {
579*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPentagonVert, sizeof( mso_sptPentagonVert ) / sizeof( SvxMSDffVertPair ),
580*cdf0e10cSrcweir 	NULL, 0,
581*cdf0e10cSrcweir 	NULL, 0,
582*cdf0e10cSrcweir 	NULL,
583*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPentagonTextRect, sizeof( mso_sptPentagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
584*cdf0e10cSrcweir 	21600, 21600,
585*cdf0e10cSrcweir 	0x80000000, 0x80000000,
586*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPentagonGluePoints, sizeof( mso_sptPentagonGluePoints ) / sizeof( SvxMSDffVertPair ),
587*cdf0e10cSrcweir 	NULL, 0		// handles
588*cdf0e10cSrcweir };
589*cdf0e10cSrcweir 
590*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPlusVert[] =				// adjustment1 : 0 - 10800
591*cdf0e10cSrcweir {
592*cdf0e10cSrcweir 	{ 1 MSO_I, 0 }, { 2 MSO_I, 0 }, { 2 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I },
593*cdf0e10cSrcweir 	{ 21600, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 21600 }, { 1 MSO_I, 21600 },
594*cdf0e10cSrcweir 	{ 1 MSO_I, 3 MSO_I }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 0 }
595*cdf0e10cSrcweir };
596*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptPlusCalc[] =
597*cdf0e10cSrcweir {
598*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10799, 10800 } },
599*cdf0e10cSrcweir     { 0x2000, { 0x400, 0, 0 } },
600*cdf0e10cSrcweir     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
601*cdf0e10cSrcweir     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
602*cdf0e10cSrcweir };
603*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlusTextRect[] =
604*cdf0e10cSrcweir {
605*cdf0e10cSrcweir 	{ { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } }
606*cdf0e10cSrcweir };
607*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlusHandle[] =
608*cdf0e10cSrcweir {
609*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
610*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
611*cdf0e10cSrcweir };
612*cdf0e10cSrcweir static const mso_CustomShape msoPlus =
613*cdf0e10cSrcweir {
614*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPlusVert, sizeof( mso_sptPlusVert ) / sizeof( SvxMSDffVertPair ),
615*cdf0e10cSrcweir 	NULL, 0,
616*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptPlusCalc, sizeof( mso_sptPlusCalc ) / sizeof( SvxMSDffCalculationData ),
617*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
618*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPlusTextRect, sizeof( mso_sptPlusTextRect ) / sizeof( SvxMSDffTextRectangles ),
619*cdf0e10cSrcweir 	21600, 21600,
620*cdf0e10cSrcweir 	10800, 10800,
621*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
622*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptPlusHandle, sizeof( mso_sptPlusHandle ) / sizeof( SvxMSDffHandle )		// handles
623*cdf0e10cSrcweir };
624*cdf0e10cSrcweir 
625*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanVert[] =		// adjustment1 : 0 - 10800
626*cdf0e10cSrcweir {
627*cdf0e10cSrcweir 	{ 44, 0 },
628*cdf0e10cSrcweir 	{ 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },			// ccp
629*cdf0e10cSrcweir 	{ 0, 3 MSO_I },										// p
630*cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 20, 21600 }, { 44, 21600 },		// ccp
631*cdf0e10cSrcweir 	{ 68, 21600 }, { 88, 4 MSO_I }, { 88, 3 MSO_I },	// ccp
632*cdf0e10cSrcweir 	{ 88, 0 MSO_I },									// p
633*cdf0e10cSrcweir 	{ 88, 2 MSO_I }, { 68, 0 }, { 44, 0 },				// ccp
634*cdf0e10cSrcweir 	{ 44, 0 },											// p
635*cdf0e10cSrcweir 	{ 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },			// ccp
636*cdf0e10cSrcweir 	{ 0, 5 MSO_I }, { 20, 6 MSO_I }, { 44, 6 MSO_I },	// ccp
637*cdf0e10cSrcweir 	{ 68, 6 MSO_I },{ 88, 5 MSO_I }, { 88, 0 MSO_I },	// ccp
638*cdf0e10cSrcweir 	{ 88, 2 MSO_I },{ 68, 0 }, { 44, 0 }				// ccp
639*cdf0e10cSrcweir };
640*cdf0e10cSrcweir static const sal_uInt16 mso_sptCanSegm[] =
641*cdf0e10cSrcweir {
642*cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000,
643*cdf0e10cSrcweir 	0x4000, 0x2004, 0x6001, 0x8000
644*cdf0e10cSrcweir };
645*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCanCalc[] =
646*cdf0e10cSrcweir {
647*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 4 } },		// 1/4
648*cdf0e10cSrcweir 	{ 0x2001, { 0x0400, 6, 11 } },
649*cdf0e10cSrcweir 	{ 0xa000, { 0x0400, 0, 0x0401 } },
650*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
651*cdf0e10cSrcweir 	{ 0x6000, { 0x0403, 0x0401, 0 } },
652*cdf0e10cSrcweir 	{ 0x6000, { 0x0400, 0x0401, 0 } },
653*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 2 } },
654*cdf0e10cSrcweir 	{ 0x0000, { 44, 0, 0 } }
655*cdf0e10cSrcweir };
656*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCanTextRect[] =
657*cdf0e10cSrcweir {
658*cdf0e10cSrcweir 	{ { 0, 6 MSO_I }, { 88, 3 MSO_I } }
659*cdf0e10cSrcweir };
660*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanGluePoints[] =
661*cdf0e10cSrcweir {
662*cdf0e10cSrcweir 	{ 44, 6 MSO_I }, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 }
663*cdf0e10cSrcweir };
664*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCanHandle[] =
665*cdf0e10cSrcweir {
666*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
667*cdf0e10cSrcweir 		7 + 3, 0x100, 44, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
668*cdf0e10cSrcweir };
669*cdf0e10cSrcweir static const mso_CustomShape msoCan =
670*cdf0e10cSrcweir {
671*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCanVert, sizeof( mso_sptCanVert ) / sizeof( SvxMSDffVertPair ),
672*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1,
673*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCanCalc, sizeof( mso_sptCanCalc ) / sizeof( SvxMSDffCalculationData ),
674*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
675*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCanTextRect, sizeof( mso_sptCanTextRect ) / sizeof( SvxMSDffTextRectangles ),
676*cdf0e10cSrcweir 	88, 21600,
677*cdf0e10cSrcweir 	0x80000000, 0x80000000,
678*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCanGluePoints, sizeof( mso_sptCanGluePoints ) / sizeof( SvxMSDffVertPair ),
679*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCanHandle, sizeof( mso_sptCanHandle ) / sizeof( SvxMSDffHandle )		// handles
680*cdf0e10cSrcweir };
681*cdf0e10cSrcweir 
682*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArrowVert[] =	// adjustment1: x 0 - 21600
683*cdf0e10cSrcweir {													// adjustment2: y 0 - 10800
684*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
685*cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }
686*cdf0e10cSrcweir };
687*cdf0e10cSrcweir static const sal_uInt16 mso_sptArrowSegm[] =
688*cdf0e10cSrcweir {
689*cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
690*cdf0e10cSrcweir };
691*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArrowCalc[] =
692*cdf0e10cSrcweir {
693*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
694*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
695*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
696*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },
697*cdf0e10cSrcweir 	{ 0x6001, { 0x403, 0x400, 10800 } },
698*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } },
699*cdf0e10cSrcweir 	{ 0x6001, { 0x401, 0x400, 10800 } },
700*cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x406 } }
701*cdf0e10cSrcweir };
702*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptArrowTextRect[] =
703*cdf0e10cSrcweir {
704*cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
705*cdf0e10cSrcweir };
706*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArrowHandle[] =
707*cdf0e10cSrcweir {
708*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
709*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
710*cdf0e10cSrcweir };
711*cdf0e10cSrcweir static const mso_CustomShape msoArrow =
712*cdf0e10cSrcweir {
713*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptArrowVert, sizeof( mso_sptArrowVert ) / sizeof( SvxMSDffVertPair ),
714*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1,
715*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
716*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
717*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptArrowTextRect, sizeof( mso_sptArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
718*cdf0e10cSrcweir 	21600, 21600,
719*cdf0e10cSrcweir 	0x80000000, 0x80000000,
720*cdf0e10cSrcweir 	NULL, 0,
721*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptArrowHandle, sizeof( mso_sptArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
722*cdf0e10cSrcweir };
723*cdf0e10cSrcweir 
724*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowVert[] =	// adjustment1: x 0 - 21600
725*cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
726*cdf0e10cSrcweir 	{ 21600, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 0, 10800 },
727*cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }
728*cdf0e10cSrcweir };
729*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowSegm[] =
730*cdf0e10cSrcweir {
731*cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
732*cdf0e10cSrcweir };
733*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowDefault[] =
734*cdf0e10cSrcweir {
735*cdf0e10cSrcweir 	2, 5400, 5400
736*cdf0e10cSrcweir };
737*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect[] =
738*cdf0e10cSrcweir {
739*cdf0e10cSrcweir 	{ { 7 MSO_I, 0 MSO_I }, { 21600, 2 MSO_I } }
740*cdf0e10cSrcweir };
741*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowHandle[] =
742*cdf0e10cSrcweir {
743*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
744*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
745*cdf0e10cSrcweir };
746*cdf0e10cSrcweir static const mso_CustomShape msoLeftArrow =
747*cdf0e10cSrcweir {
748*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftArrowVert, sizeof( mso_sptLeftArrowVert ) / sizeof( SvxMSDffVertPair ),
749*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1,
750*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
751*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftArrowDefault,
752*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, sizeof( mso_sptLeftArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
753*cdf0e10cSrcweir 	21600, 21600,
754*cdf0e10cSrcweir 	0x80000000, 0x80000000,
755*cdf0e10cSrcweir 	NULL, 0,
756*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftArrowHandle, sizeof( mso_sptLeftArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
757*cdf0e10cSrcweir };
758*cdf0e10cSrcweir 
759*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowVert[] =	// adjustment1: x 0 - 21600
760*cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
761*cdf0e10cSrcweir 	{ 0 MSO_I, 0 },	{ 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 21600 },
762*cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }
763*cdf0e10cSrcweir };
764*cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowSegm[] =
765*cdf0e10cSrcweir {
766*cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
767*cdf0e10cSrcweir };
768*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowTextRect[] =
769*cdf0e10cSrcweir {
770*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 2 MSO_I, 5 MSO_I } }
771*cdf0e10cSrcweir };
772*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowHandle[] =
773*cdf0e10cSrcweir {
774*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
775*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
776*cdf0e10cSrcweir };
777*cdf0e10cSrcweir static const mso_CustomShape msoDownArrow =
778*cdf0e10cSrcweir {
779*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDownArrowVert, sizeof( mso_sptDownArrowVert ) / sizeof( SvxMSDffVertPair ),
780*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1,
781*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
782*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
783*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, sizeof( mso_sptDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
784*cdf0e10cSrcweir 	21600, 21600,
785*cdf0e10cSrcweir 	0x80000000, 0x80000000,
786*cdf0e10cSrcweir 	NULL, 0,
787*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDownArrowHandle, sizeof( mso_sptDownArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
788*cdf0e10cSrcweir };
789*cdf0e10cSrcweir 
790*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowVert[] =	// adjustment1: x 0 - 21600
791*cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
792*cdf0e10cSrcweir 	{ 0 MSO_I, 21600 },	{ 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 0 },
793*cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
794*cdf0e10cSrcweir };
795*cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowSegm[] =
796*cdf0e10cSrcweir {
797*cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
798*cdf0e10cSrcweir };
799*cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowDefault[] =
800*cdf0e10cSrcweir {
801*cdf0e10cSrcweir 	2, 5400, 5400
802*cdf0e10cSrcweir };
803*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowTextRect[] =
804*cdf0e10cSrcweir {
805*cdf0e10cSrcweir 	{ { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 21600 } }
806*cdf0e10cSrcweir };
807*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowHandle[] =
808*cdf0e10cSrcweir {
809*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
810*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
811*cdf0e10cSrcweir };
812*cdf0e10cSrcweir static const mso_CustomShape msoUpArrow =
813*cdf0e10cSrcweir {
814*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpArrowVert, sizeof( mso_sptUpArrowVert ) / sizeof( SvxMSDffVertPair ),
815*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1,
816*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
817*cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpArrowDefault,
818*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, sizeof( mso_sptUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
819*cdf0e10cSrcweir 	21600, 21600,
820*cdf0e10cSrcweir 	0x80000000, 0x80000000,
821*cdf0e10cSrcweir 	NULL, 0,
822*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpArrowHandle, sizeof( mso_sptUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
823*cdf0e10cSrcweir };
824*cdf0e10cSrcweir 
825*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowVert[] =	// adjustment1: x 0 - 10800
826*cdf0e10cSrcweir {															// adjustment2: y 0 - 10800
827*cdf0e10cSrcweir 	{ 0, 10800 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I },	{ 2 MSO_I, 1 MSO_I },
828*cdf0e10cSrcweir 	{ 2 MSO_I, 0 }, { 21600, 10800 }, { 2 MSO_I, 21600 }, { 2 MSO_I, 3 MSO_I },
829*cdf0e10cSrcweir 	{ 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 21600 }
830*cdf0e10cSrcweir };
831*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowSegm[] =
832*cdf0e10cSrcweir {
833*cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
834*cdf0e10cSrcweir };
835*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleArrowCalc[] =
836*cdf0e10cSrcweir {
837*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
838*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
839*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
840*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
841*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
842*cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjustValue, 0x404, 10800 } },
843*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
844*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
845*cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust2Value, 0x407, 10800 } },
846*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } }
847*cdf0e10cSrcweir };
848*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowDefault[] =
849*cdf0e10cSrcweir {
850*cdf0e10cSrcweir 	2, 4300, 5400
851*cdf0e10cSrcweir };
852*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect[] =
853*cdf0e10cSrcweir {
854*cdf0e10cSrcweir 	{ { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 3 MSO_I } }
855*cdf0e10cSrcweir };
856*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowHandle[] =
857*cdf0e10cSrcweir {
858*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
859*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
860*cdf0e10cSrcweir };
861*cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrow =
862*cdf0e10cSrcweir {
863*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightArrowVert, sizeof( mso_sptLeftRightArrowVert ) / sizeof( SvxMSDffVertPair ),
864*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1,
865*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ),
866*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightArrowDefault,
867*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, sizeof( mso_sptLeftRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
868*cdf0e10cSrcweir 	21600, 21600,
869*cdf0e10cSrcweir 	0x80000000, 0x80000000,
870*cdf0e10cSrcweir 	NULL, 0,
871*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightArrowHandle, sizeof( mso_sptLeftRightArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
872*cdf0e10cSrcweir };
873*cdf0e10cSrcweir 
874*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowVert[] =	// adjustment1: x 0 - 10800
875*cdf0e10cSrcweir {															// adjustment2: y 0 - 10800
876*cdf0e10cSrcweir 	{ 0, 1 MSO_I },	{ 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I },
877*cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 21600, 3 MSO_I }, { 10800, 21600 }, { 0, 3 MSO_I },
878*cdf0e10cSrcweir 	{ 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I }
879*cdf0e10cSrcweir };
880*cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowSegm[] =
881*cdf0e10cSrcweir {
882*cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
883*cdf0e10cSrcweir };
884*cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowDefault[] =
885*cdf0e10cSrcweir {
886*cdf0e10cSrcweir 	2, 5400, 4300
887*cdf0e10cSrcweir };
888*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect[] =
889*cdf0e10cSrcweir {
890*cdf0e10cSrcweir 	{ { 0 MSO_I, 8 MSO_I }, { 2 MSO_I, 9 MSO_I } }
891*cdf0e10cSrcweir };
892*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowHandle[] =
893*cdf0e10cSrcweir {
894*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
895*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
896*cdf0e10cSrcweir };
897*cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrow =
898*cdf0e10cSrcweir {
899*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpDownArrowVert, sizeof( mso_sptUpDownArrowVert ) / sizeof( SvxMSDffVertPair ),
900*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1,
901*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ),
902*cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpDownArrowDefault,
903*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, sizeof( mso_sptUpDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
904*cdf0e10cSrcweir 	21600, 21600,
905*cdf0e10cSrcweir 	0x80000000, 0x80000000,
906*cdf0e10cSrcweir 	NULL, 0,
907*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpDownArrowHandle, sizeof( mso_sptUpDownArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
908*cdf0e10cSrcweir };
909*cdf0e10cSrcweir 
910*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowVert[] =	// adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
911*cdf0e10cSrcweir {														// adjustment3: y 0 - 10800
912*cdf0e10cSrcweir 	{ 0, 10800 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 2 MSO_I, 2 MSO_I },
913*cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 10800, 0 }, { 3 MSO_I, 0 MSO_I },
914*cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 1 MSO_I },
915*cdf0e10cSrcweir 	{ 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 4 MSO_I, 4 MSO_I },
916*cdf0e10cSrcweir 	{ 4 MSO_I, 5 MSO_I }, { 3 MSO_I, 5 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 5 MSO_I },
917*cdf0e10cSrcweir 	{ 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 3 MSO_I }
918*cdf0e10cSrcweir };
919*cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowSegm[] =
920*cdf0e10cSrcweir {
921*cdf0e10cSrcweir 	0x4000, 0x0017, 0x6001, 0x8000
922*cdf0e10cSrcweir };
923*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalc[] =
924*cdf0e10cSrcweir {
925*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
926*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
927*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
928*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
929*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
930*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }
931*cdf0e10cSrcweir };
932*cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowDefault[] =
933*cdf0e10cSrcweir {
934*cdf0e10cSrcweir 	3, 6500, 8600, 4300
935*cdf0e10cSrcweir };
936*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect[] =	// todo
937*cdf0e10cSrcweir {
938*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
939*cdf0e10cSrcweir };
940*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowHandle[] =
941*cdf0e10cSrcweir {
942*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
943*cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
944*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
945*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
946*cdf0e10cSrcweir };
947*cdf0e10cSrcweir static const mso_CustomShape msoQuadArrow =
948*cdf0e10cSrcweir {
949*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptQuadArrowVert, sizeof( mso_sptQuadArrowVert ) / sizeof( SvxMSDffVertPair ),
950*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1,
951*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptQuadArrowCalc, sizeof( mso_sptQuadArrowCalc ) / sizeof( SvxMSDffCalculationData ),
952*cdf0e10cSrcweir 	(sal_Int32*)mso_sptQuadArrowDefault,
953*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, sizeof( mso_sptQuadArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
954*cdf0e10cSrcweir 	21600, 21600,
955*cdf0e10cSrcweir 	0x80000000, 0x80000000,
956*cdf0e10cSrcweir 	NULL, 0,
957*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptQuadArrowHandle, sizeof( mso_sptQuadArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
958*cdf0e10cSrcweir };
959*cdf0e10cSrcweir 
960*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert[] =	// adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
961*cdf0e10cSrcweir {																// adjustment3: y 0 - 21600
962*cdf0e10cSrcweir 	{ 10800, 0 }, { 3 MSO_I, 2 MSO_I },	{ 4 MSO_I, 2 MSO_I }, { 4 MSO_I, 1 MSO_I },
963*cdf0e10cSrcweir 	{ 5 MSO_I, 1 MSO_I }, { 5 MSO_I, 0 MSO_I },	{ 21600, 10800 }, { 5 MSO_I, 3 MSO_I },
964*cdf0e10cSrcweir 	{ 5 MSO_I, 4 MSO_I }, { 2 MSO_I, 4 MSO_I },	{ 2 MSO_I, 3 MSO_I }, { 0, 10800 },
965*cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 1 MSO_I },	{ 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 2 MSO_I },
966*cdf0e10cSrcweir 	{ 0 MSO_I, 2 MSO_I }
967*cdf0e10cSrcweir };
968*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightUpArrowSegm[] =
969*cdf0e10cSrcweir {
970*cdf0e10cSrcweir 	0x4000, 0x0010, 0x6001, 0x8000
971*cdf0e10cSrcweir };
972*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc[] =
973*cdf0e10cSrcweir {
974*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 0
975*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 1
976*cdf0e10cSrcweir 	{ 0x6001, { 0x0403, DFF_Prop_adjust3Value, 21600 } },	// 2
977*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },			// 3
978*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },		// 4
979*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } }						// 5
980*cdf0e10cSrcweir };
981*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightUpArrowDefault[] =
982*cdf0e10cSrcweir {
983*cdf0e10cSrcweir 	3, 6500, 8600, 6200
984*cdf0e10cSrcweir };
985*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect[] =		// todo
986*cdf0e10cSrcweir {
987*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
988*cdf0e10cSrcweir };
989*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] =
990*cdf0e10cSrcweir {
991*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
992*cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
993*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
994*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
995*cdf0e10cSrcweir };
996*cdf0e10cSrcweir static const mso_CustomShape msoLeftRightUpArrow =
997*cdf0e10cSrcweir {
998*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, sizeof( mso_sptLeftRightUpArrowVert ) / sizeof( SvxMSDffVertPair ),
999*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1,
1000*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, sizeof( mso_sptLeftRightUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1001*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightUpArrowDefault,
1002*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, sizeof( mso_sptLeftRightUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1003*cdf0e10cSrcweir 	21600, 21600,
1004*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1005*cdf0e10cSrcweir 	NULL, 0,
1006*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, sizeof( mso_sptLeftRightUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1007*cdf0e10cSrcweir };
1008*cdf0e10cSrcweir 
1009*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentArrowVert[] =	// adjustment1 : x 12427 - 21600
1010*cdf0e10cSrcweir {														// adjustment2 : y 0 - 6079
1011*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I }, { 0 MSO_I, 1 MSO_I },
1012*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 6079 }, { 0 MSO_I, 12158 }, { 0 MSO_I, 2 MSO_I },
1013*cdf0e10cSrcweir 	{ 12427, 2 MSO_I }, { 4 MSO_I, 12160 }, { 4 MSO_I, 21600 }
1014*cdf0e10cSrcweir };
1015*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentArrowSegm[] =
1016*cdf0e10cSrcweir {
1017*cdf0e10cSrcweir 	0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000
1018*cdf0e10cSrcweir };
1019*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentArrowCalc[] =
1020*cdf0e10cSrcweir {
1021*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1022*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1023*cdf0e10cSrcweir 	{ 0x8000, { 12158, 0, DFF_Prop_adjust2Value } },
1024*cdf0e10cSrcweir 	{ 0x8000, { 6079, 0, DFF_Prop_adjust2Value } },
1025*cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 2, 1 } }
1026*cdf0e10cSrcweir };
1027*cdf0e10cSrcweir static const sal_Int32 mso_sptBentArrowDefault[] =
1028*cdf0e10cSrcweir {
1029*cdf0e10cSrcweir 	2, 15100, 2900
1030*cdf0e10cSrcweir };
1031*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentArrowTextRect[] =	// todo
1032*cdf0e10cSrcweir {
1033*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1034*cdf0e10cSrcweir };
1035*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentArrowHandle[] =
1036*cdf0e10cSrcweir {
1037*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1038*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 }
1039*cdf0e10cSrcweir };
1040*cdf0e10cSrcweir static const mso_CustomShape msoBentArrow =
1041*cdf0e10cSrcweir {
1042*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentArrowVert, sizeof( mso_sptBentArrowVert ) / sizeof( SvxMSDffVertPair ),
1043*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1,
1044*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentArrowCalc, sizeof( mso_sptBentArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1045*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentArrowDefault,
1046*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, sizeof( mso_sptBentArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1047*cdf0e10cSrcweir 	21600, 21600,
1048*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1049*cdf0e10cSrcweir 	NULL, 0,
1050*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentArrowHandle, sizeof( mso_sptBentArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1051*cdf0e10cSrcweir };
1052*cdf0e10cSrcweir 
1053*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUturnArrowVert[] =
1054*cdf0e10cSrcweir {
1055*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 8550 },											// pp
1056*cdf0e10cSrcweir 	{ 0, 3540 }, { 4370, 0 }, { 9270, 0 },								// ccp
1057*cdf0e10cSrcweir 	{ 13890, 0 }, { 18570, 3230 }, { 18600, 8300 },						// ccp
1058*cdf0e10cSrcweir 	{ 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp
1059*cdf0e10cSrcweir 	{ 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 },					// ccp
1060*cdf0e10cSrcweir 	{ 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 },						// ccp
1061*cdf0e10cSrcweir 	{ 6110, 21600 }
1062*cdf0e10cSrcweir };
1063*cdf0e10cSrcweir static const sal_uInt16 mso_sptUturnArrowSegm[] =
1064*cdf0e10cSrcweir {
1065*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000
1066*cdf0e10cSrcweir };
1067*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect[] =
1068*cdf0e10cSrcweir {
1069*cdf0e10cSrcweir 	{ { 0, 8280 }, { 6110, 21600 } }
1070*cdf0e10cSrcweir };
1071*cdf0e10cSrcweir static const mso_CustomShape msoUturnArrow =
1072*cdf0e10cSrcweir {
1073*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUturnArrowVert, sizeof( mso_sptUturnArrowVert ) / sizeof( SvxMSDffVertPair ),
1074*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1,
1075*cdf0e10cSrcweir 	NULL, 0,
1076*cdf0e10cSrcweir 	NULL,
1077*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, sizeof( mso_sptUturnArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1078*cdf0e10cSrcweir 	21600, 21600,
1079*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1080*cdf0e10cSrcweir 	NULL, 0,
1081*cdf0e10cSrcweir 	NULL, 0		// handles
1082*cdf0e10cSrcweir };
1083*cdf0e10cSrcweir 
1084*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftUpArrowVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1085*cdf0e10cSrcweir {															// adjustment3 : y 0 - 21600
1086*cdf0e10cSrcweir 	{ 0, 5 MSO_I },	{ 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 7 MSO_I, 7 MSO_I },
1087*cdf0e10cSrcweir 	{ 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I },
1088*cdf0e10cSrcweir 	{ 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I },	{ 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
1089*cdf0e10cSrcweir };
1090*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftUpArrowSegm[] =
1091*cdf0e10cSrcweir {
1092*cdf0e10cSrcweir 	0x4000, 0x000b, 0x6001, 0x8000
1093*cdf0e10cSrcweir };
1094*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc[] =
1095*cdf0e10cSrcweir {
1096*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0
1097*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 1
1098*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },		// 2
1099*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 3
1100*cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 1, 2 } },						// 4
1101*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },	// 5
1102*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },	// 6
1103*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },	// 7
1104*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },					// 8
1105*cdf0e10cSrcweir 	{ 0xa000, { 0x408, 0, 0x406 } }					// 9
1106*cdf0e10cSrcweir };
1107*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftUpArrowDefault[] =
1108*cdf0e10cSrcweir {
1109*cdf0e10cSrcweir 	3, 9340, 18500, 6200
1110*cdf0e10cSrcweir };
1111*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect[] =
1112*cdf0e10cSrcweir {
1113*cdf0e10cSrcweir 	{ { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
1114*cdf0e10cSrcweir 	{ { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
1115*cdf0e10cSrcweir };
1116*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] =
1117*cdf0e10cSrcweir {
1118*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1119*cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1120*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1121*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 3 + 9, 0x80000000, 0x7fffffff }
1122*cdf0e10cSrcweir };
1123*cdf0e10cSrcweir static const mso_CustomShape msoLeftUpArrow =
1124*cdf0e10cSrcweir {
1125*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftUpArrowVert, sizeof( mso_sptLeftUpArrowVert ) / sizeof( SvxMSDffVertPair ),
1126*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1,
1127*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, sizeof( mso_sptLeftUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1128*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftUpArrowDefault,
1129*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, sizeof( mso_sptLeftUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1130*cdf0e10cSrcweir 	21600, 21600,
1131*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1132*cdf0e10cSrcweir 	NULL, 0,
1133*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftUpArrowHandle, sizeof( mso_sptLeftUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1134*cdf0e10cSrcweir };
1135*cdf0e10cSrcweir 
1136*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentUpArrowVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1137*cdf0e10cSrcweir {															// adjustment3 : y 0 - 21600
1138*cdf0e10cSrcweir 	{ 0, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },
1139*cdf0e10cSrcweir 	{ 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 21600 },
1140*cdf0e10cSrcweir 	{ 0, 21600 }
1141*cdf0e10cSrcweir };
1142*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentUpArrowSegm[] =
1143*cdf0e10cSrcweir {
1144*cdf0e10cSrcweir 	0x4000, 0x0008, 0x6001, 0x8000
1145*cdf0e10cSrcweir };
1146*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentUpArrowCalc[] =
1147*cdf0e10cSrcweir {
1148*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0
1149*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 1
1150*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },		// 2
1151*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 3
1152*cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 1, 2 } },						// 4
1153*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },	// 5
1154*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },	// 6
1155*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },	// 7
1156*cdf0e10cSrcweir 	{ 0x6000, { 0x0407, 0x0406, 0 } },					// 8
1157*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },					// 9
1158*cdf0e10cSrcweir 	{ 0xa000, { 0x409, 0, 0x406 } }					// a
1159*cdf0e10cSrcweir };
1160*cdf0e10cSrcweir static const sal_Int32 mso_sptBentUpArrowDefault[] =
1161*cdf0e10cSrcweir {
1162*cdf0e10cSrcweir 	3, 9340, 18500, 7200
1163*cdf0e10cSrcweir };
1164*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect[] =
1165*cdf0e10cSrcweir {
1166*cdf0e10cSrcweir 	{ { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
1167*cdf0e10cSrcweir 	{ { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
1168*cdf0e10cSrcweir };
1169*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentUpArrowHandle[] =
1170*cdf0e10cSrcweir {
1171*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1172*cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1173*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1174*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 3 + 10, 0x80000000, 0x7fffffff }
1175*cdf0e10cSrcweir };
1176*cdf0e10cSrcweir static const mso_CustomShape msoBentUpArrow =
1177*cdf0e10cSrcweir {
1178*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentUpArrowVert, sizeof( mso_sptBentUpArrowVert ) / sizeof( SvxMSDffVertPair ),
1179*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1,
1180*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, sizeof( mso_sptBentUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1181*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentUpArrowDefault,
1182*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, sizeof( mso_sptBentUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1183*cdf0e10cSrcweir 	21600, 21600,
1184*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1185*cdf0e10cSrcweir 	NULL, 0,
1186*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentUpArrowHandle, sizeof( mso_sptBentUpArrowHandle ) / sizeof( SvxMSDffHandle )
1187*cdf0e10cSrcweir };
1188*cdf0e10cSrcweir 
1189*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightVert[] =
1190*cdf0e10cSrcweir {
1191*cdf0e10cSrcweir 	{ 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 },
1192*cdf0e10cSrcweir 	{ 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I },
1193*cdf0e10cSrcweir 	{ 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 },
1194*cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I },
1195*cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 MSO_I }, { 26 MSO_I, 17 MSO_I },
1196*cdf0e10cSrcweir 	{ 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I }
1197*cdf0e10cSrcweir };
1198*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedRightSegm[] =
1199*cdf0e10cSrcweir {
1200*cdf0e10cSrcweir 	0xa408,
1201*cdf0e10cSrcweir 	0x0003,
1202*cdf0e10cSrcweir 	0xa508,
1203*cdf0e10cSrcweir 	0x6000,
1204*cdf0e10cSrcweir 	0x8000,
1205*cdf0e10cSrcweir 	0xa404,
1206*cdf0e10cSrcweir 	0xa304,
1207*cdf0e10cSrcweir 	0xa504,
1208*cdf0e10cSrcweir 	0x6000,
1209*cdf0e10cSrcweir 	0x8000
1210*cdf0e10cSrcweir };
1211*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedRightCalc[] =
1212*cdf0e10cSrcweir {
1213*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1214*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1215*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1216*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
1217*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },
1218*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
1219*cdf0e10cSrcweir 	{ 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
1220*cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
1221*cdf0e10cSrcweir 	{ 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
1222*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust3Value } },
1223*cdf0e10cSrcweir 	{ 0xa00f, { 0x409, 21600, 0x404 } },
1224*cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x40a, 0 } },
1225*cdf0e10cSrcweir 	{ 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } },
1226*cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x40a, 0 } },
1227*cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } },
1228*cdf0e10cSrcweir 	{ 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
1229*cdf0e10cSrcweir 	{ 0x2001, { 0x40f, 1, 2 } },
1230*cdf0e10cSrcweir 	{ 0x6002, { 0x404, 0x407, 0 } },
1231*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
1232*cdf0e10cSrcweir 	{ 0x2001, { 0x412, 1, 2 } },
1233*cdf0e10cSrcweir 	{ 0xa000, { 0x411, 0, 0x413 } },
1234*cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1235*cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1236*cdf0e10cSrcweir 	{ 0x0001, { 21600, 2, 1 } },
1237*cdf0e10cSrcweir 	{ 0xa000, { 0x411, 0, 0x404 } },
1238*cdf0e10cSrcweir 	{ 0x600f, { 0x418, 0x404, 21600 } },
1239*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x419 } },
1240*cdf0e10cSrcweir 	{ 0x2000, { 0x408, 128, 0 } },
1241*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
1242*cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 128 } },
1243*cdf0e10cSrcweir 	{ 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } },
1244*cdf0e10cSrcweir 	{ 0x600f, { 0x414, 0x404, 21600 } },
1245*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1246*cdf0e10cSrcweir 	{ 0x2001, { 0x420, 1, 2 } },
1247*cdf0e10cSrcweir 	{ 0x0001, { 21600, 21600, 1 } },
1248*cdf0e10cSrcweir 	{ 0x6001, { 0x409, 0x409, 1 } },
1249*cdf0e10cSrcweir 	{ 0xa000, { 0x422, 0, 0x423 } },
1250*cdf0e10cSrcweir 	{ 0x200d, { 0x424, 0, 0 } },
1251*cdf0e10cSrcweir 	{ 0x2000, { 0x425, 21600, 0 } },
1252*cdf0e10cSrcweir 	{ 0x8001, { 21600, 21600, 0x426 } },
1253*cdf0e10cSrcweir 	{ 0x2000, { 0x427, 64, 0 } },
1254*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
1255*cdf0e10cSrcweir 	{ 0x600f, { 0x421, 0x429, 21600 } },
1256*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x42a } },
1257*cdf0e10cSrcweir 	{ 0x2000, { 0x42b, 64, 0 } },
1258*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
1259*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value, 0, 0x42d } },
1260*cdf0e10cSrcweir 	{ 0x0001, { 21600, 2195, 16384 } },
1261*cdf0e10cSrcweir 	{ 0x0001, { 21600, 14189, 16384 } }
1262*cdf0e10cSrcweir };
1263*cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedRightDefault[] =
1264*cdf0e10cSrcweir {
1265*cdf0e10cSrcweir 	3, 12960, 19440, 14400
1266*cdf0e10cSrcweir };
1267*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect[] =
1268*cdf0e10cSrcweir {
1269*cdf0e10cSrcweir 	{ { 47 MSO_I, 45 MSO_I }, { 48 MSO_I, 46 MSO_I } }
1270*cdf0e10cSrcweir };
1271*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightGluePoints[] =
1272*cdf0e10cSrcweir {
1273*cdf0e10cSrcweir 	{ 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 }
1274*cdf0e10cSrcweir };
1275*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedRightHandles[] =
1276*cdf0e10cSrcweir {
1277*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1278*cdf0e10cSrcweir 		21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 },
1279*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1280*cdf0e10cSrcweir 		21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 },
1281*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1282*cdf0e10cSrcweir 		0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 }
1283*cdf0e10cSrcweir };
1284*cdf0e10cSrcweir static const mso_CustomShape msoCurvedRightArrow =
1285*cdf0e10cSrcweir {
1286*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedRightVert, sizeof( mso_sptCurvedRightVert ) / sizeof( SvxMSDffVertPair ),
1287*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1,
1288*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ),
1289*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedRightDefault,
1290*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, sizeof( mso_sptCurvedRightTextRect ) / sizeof( SvxMSDffTextRectangles ),
1291*cdf0e10cSrcweir 	21600, 21600,
1292*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1293*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, sizeof( mso_sptCurvedRightGluePoints ) / sizeof( SvxMSDffVertPair ),
1294*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedRightHandles, sizeof( mso_sptCurvedRightHandles ) / sizeof( SvxMSDffHandle )
1295*cdf0e10cSrcweir };
1296*cdf0e10cSrcweir 
1297*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownVert[] =
1298*cdf0e10cSrcweir {
1299*cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
1300*cdf0e10cSrcweir 	{ 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I },
1301*cdf0e10cSrcweir 	{ 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I },
1302*cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 },
1303*cdf0e10cSrcweir 	{ 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I },
1304*cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
1305*cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 26 MSO_I },
1306*cdf0e10cSrcweir 	{ 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I }
1307*cdf0e10cSrcweir };
1308*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedDownSegm[] =
1309*cdf0e10cSrcweir {
1310*cdf0e10cSrcweir 	0xa608,
1311*cdf0e10cSrcweir 	0x0003,
1312*cdf0e10cSrcweir 	0xa308,
1313*cdf0e10cSrcweir 	0x6000,
1314*cdf0e10cSrcweir 	0x8000,
1315*cdf0e10cSrcweir 	0xa604,
1316*cdf0e10cSrcweir 	0xa504,
1317*cdf0e10cSrcweir 	0xa304,
1318*cdf0e10cSrcweir 	0x6000,
1319*cdf0e10cSrcweir 	0x8000
1320*cdf0e10cSrcweir };
1321*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] =
1322*cdf0e10cSrcweir {
1323*cdf0e10cSrcweir 	{ { 45 MSO_I, 47 MSO_I }, { 46 MSO_I, 48 MSO_I } }
1324*cdf0e10cSrcweir };
1325*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] =
1326*cdf0e10cSrcweir {
1327*cdf0e10cSrcweir 	{ 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 }
1328*cdf0e10cSrcweir };
1329*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedDownHandles[] =
1330*cdf0e10cSrcweir {
1331*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1332*cdf0e10cSrcweir 		0x100, 21600, 10800, 10800, 3 + 40, 3 + 29, 0, 10800 },
1333*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1334*cdf0e10cSrcweir 		0x101, 21600, 10800, 10800, 3 + 27, 3 + 21, 0, 10800 },
1335*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1336*cdf0e10cSrcweir 		21600, 0x102, 10800, 10800, 3375, 21600, 3 + 44, 3 + 22 }
1337*cdf0e10cSrcweir };
1338*cdf0e10cSrcweir 
1339*cdf0e10cSrcweir static const mso_CustomShape msoCurvedDownArrow =
1340*cdf0e10cSrcweir {
1341*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedDownVert, sizeof( mso_sptCurvedDownVert ) / sizeof( SvxMSDffVertPair ),
1342*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1,
1343*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ),
1344*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedRightDefault,
1345*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, sizeof( mso_sptCurvedDownTextRect ) / sizeof( SvxMSDffTextRectangles ),
1346*cdf0e10cSrcweir 	21600, 21600,
1347*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1348*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, sizeof( mso_sptCurvedDownGluePoints ) / sizeof( SvxMSDffVertPair ),
1349*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedDownHandles, sizeof( mso_sptCurvedDownHandles ) / sizeof( SvxMSDffHandle )
1350*cdf0e10cSrcweir };
1351*cdf0e10cSrcweir 
1352*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpVert[] =
1353*cdf0e10cSrcweir {
1354*cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
1355*cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I },
1356*cdf0e10cSrcweir 	{ 12 MSO_I, 2 MSO_I }, { 13 MSO_I, 2 MSO_I }, { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I },
1357*cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 10 MSO_I, 2 MSO_I }, { 16 MSO_I, 24 MSO_I },
1358*cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 },
1359*cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
1360*cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I },
1361*cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 }
1362*cdf0e10cSrcweir };
1363*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedUpSegm[] =
1364*cdf0e10cSrcweir {
1365*cdf0e10cSrcweir 	0xa408,
1366*cdf0e10cSrcweir 	0x0003,
1367*cdf0e10cSrcweir 	0xa508,
1368*cdf0e10cSrcweir 	0x6000,
1369*cdf0e10cSrcweir 	0x8000,
1370*cdf0e10cSrcweir 	0xa404,
1371*cdf0e10cSrcweir 	0xa508,
1372*cdf0e10cSrcweir 	0xa504,
1373*cdf0e10cSrcweir 	0x6000,
1374*cdf0e10cSrcweir 	0x8000
1375*cdf0e10cSrcweir };
1376*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedUpCalc[] =
1377*cdf0e10cSrcweir {
1378*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1379*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1380*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1381*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
1382*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },
1383*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
1384*cdf0e10cSrcweir 	{ 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
1385*cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
1386*cdf0e10cSrcweir 	{ 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
1387*cdf0e10cSrcweir 	{ 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } },
1388*cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x409, 0 } },
1389*cdf0e10cSrcweir 	{ 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } },
1390*cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x409, 0 } },
1391*cdf0e10cSrcweir 	{ 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } },
1392*cdf0e10cSrcweir 	{ 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
1393*cdf0e10cSrcweir 	{ 0x2001, { 0x40e, 1, 2 } },
1394*cdf0e10cSrcweir 	{ 0x6002, { 0x404, 0x407, 0 } },
1395*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
1396*cdf0e10cSrcweir 	{ 0x2001, { 0x411, 1, 2 } },
1397*cdf0e10cSrcweir 	{ 0xa000, { 0x410, 0, 0x412 } },
1398*cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1399*cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1400*cdf0e10cSrcweir 	{ 0x0000, { 0, 0, 21600 } },
1401*cdf0e10cSrcweir 	{ 0xa000, { 0x410, 0, 0x404 } },
1402*cdf0e10cSrcweir 	{ 0x600f, { 0x417, 0x404, 21600 } },
1403*cdf0e10cSrcweir 	{ 0x2000, { 0x408, 128, 0 } },
1404*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
1405*cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 128 } },
1406*cdf0e10cSrcweir 	{ 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } },
1407*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1408*cdf0e10cSrcweir 	{ 0x2001, { 0x41d, 1, 2 } },
1409*cdf0e10cSrcweir 	{ 0x0001, { 21600, 21600, 1 } },
1410*cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } },
1411*cdf0e10cSrcweir 	{ 0xa000, { 0x41f, 0, 0x420 } },
1412*cdf0e10cSrcweir 	{ 0x200d, { 0x421, 0, 0 } },
1413*cdf0e10cSrcweir 	{ 0x2000, { 0x422, 21600, 0 } },
1414*cdf0e10cSrcweir 	{ 0x8001, { 21600, 21600, 0x423 } },
1415*cdf0e10cSrcweir 	{ 0x2000, { 0x424, 64, 0 } },
1416*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
1417*cdf0e10cSrcweir 	{ 0x600f, { 0x41e, 0x426, 21600 } },
1418*cdf0e10cSrcweir 	{ 0x2000, { 0x427, 0, 64 } },
1419*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
1420*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } },
1421*cdf0e10cSrcweir 	{ 0x0001, { 21600, 2195, 16384 } },
1422*cdf0e10cSrcweir 	{ 0x0001, { 21600, 14189, 16384 } }
1423*cdf0e10cSrcweir };
1424*cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedUpDefault[] =
1425*cdf0e10cSrcweir {
1426*cdf0e10cSrcweir 	3, 12960, 19440, 7200
1427*cdf0e10cSrcweir };
1428*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect[] =
1429*cdf0e10cSrcweir {
1430*cdf0e10cSrcweir 	{ { 41 MSO_I, 43 MSO_I }, { 42 MSO_I, 44 MSO_I } }
1431*cdf0e10cSrcweir };
1432*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpGluePoints[] =
1433*cdf0e10cSrcweir {
1434*cdf0e10cSrcweir 	{ 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 }
1435*cdf0e10cSrcweir };
1436*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedUpHandles[] =
1437*cdf0e10cSrcweir {
1438*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1439*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 },
1440*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1441*cdf0e10cSrcweir 		0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 },
1442*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1443*cdf0e10cSrcweir 		21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 }
1444*cdf0e10cSrcweir };
1445*cdf0e10cSrcweir static const mso_CustomShape msoCurvedUpArrow =
1446*cdf0e10cSrcweir {
1447*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedUpVert, sizeof( mso_sptCurvedUpVert ) / sizeof( SvxMSDffVertPair ),
1448*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1,
1449*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ),
1450*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedUpDefault,
1451*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, sizeof( mso_sptCurvedUpTextRect ) / sizeof( SvxMSDffTextRectangles ),
1452*cdf0e10cSrcweir 	21600, 21600,
1453*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1454*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, sizeof( mso_sptCurvedUpGluePoints ) / sizeof( SvxMSDffVertPair ),
1455*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedUpHandles, sizeof( mso_sptCurvedUpHandles ) / sizeof( SvxMSDffHandle )
1456*cdf0e10cSrcweir };
1457*cdf0e10cSrcweir 
1458*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftVert[] =
1459*cdf0e10cSrcweir {
1460*cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
1461*cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 2 MSO_I, 12 MSO_I },
1462*cdf0e10cSrcweir 	{ 2 MSO_I, 13 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 11 MSO_I },
1463*cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 2 MSO_I, 10 MSO_I }, { 24 MSO_I, 16 MSO_I },
1464*cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I },
1465*cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
1466*cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 24 MSO_I, 16 MSO_I },
1467*cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I }
1468*cdf0e10cSrcweir };
1469*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedLeftSegm[] =
1470*cdf0e10cSrcweir {
1471*cdf0e10cSrcweir 	0xa608,
1472*cdf0e10cSrcweir 	0x0003,
1473*cdf0e10cSrcweir 	0xa308,
1474*cdf0e10cSrcweir 	0x6000,
1475*cdf0e10cSrcweir 	0x8000,
1476*cdf0e10cSrcweir 	0xa604,
1477*cdf0e10cSrcweir 	0xa308,
1478*cdf0e10cSrcweir 	0x6000,
1479*cdf0e10cSrcweir 	0x8000
1480*cdf0e10cSrcweir };
1481*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect[] =
1482*cdf0e10cSrcweir {
1483*cdf0e10cSrcweir 	{ { 43 MSO_I, 41 MSO_I }, { 44 MSO_I, 42 MSO_I } }
1484*cdf0e10cSrcweir };
1485*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints[] =
1486*cdf0e10cSrcweir {
1487*cdf0e10cSrcweir 	{ 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 }
1488*cdf0e10cSrcweir };
1489*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedLeftHandles[] =
1490*cdf0e10cSrcweir {
1491*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1492*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 },
1493*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1494*cdf0e10cSrcweir 		0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 },
1495*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1496*cdf0e10cSrcweir 		0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 }
1497*cdf0e10cSrcweir };
1498*cdf0e10cSrcweir static const mso_CustomShape msoCurvedLeftArrow =
1499*cdf0e10cSrcweir {
1500*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedLeftVert, sizeof( mso_sptCurvedLeftVert ) / sizeof( SvxMSDffVertPair ),
1501*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1,
1502*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ),
1503*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedUpDefault,
1504*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, sizeof( mso_sptCurvedLeftTextRect ) / sizeof( SvxMSDffTextRectangles ),
1505*cdf0e10cSrcweir 	21600, 21600,
1506*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1507*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, sizeof( mso_sptCurvedLeftGluePoints ) / sizeof( SvxMSDffVertPair ),
1508*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedLeftHandles, sizeof( mso_sptCurvedLeftHandles ) / sizeof( SvxMSDffHandle )
1509*cdf0e10cSrcweir };
1510*cdf0e10cSrcweir 
1511*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStripedRightArrowVert[] =	// adjustment1 : x 3375 - 21600
1512*cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800
1513*cdf0e10cSrcweir 	{ 3375,	0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
1514*cdf0e10cSrcweir 	{ 1 MSO_I, 21600 },	{ 1 MSO_I, 2 MSO_I }, { 3375, 2 MSO_I }, { 0, 0 MSO_I },
1515*cdf0e10cSrcweir 	{ 675, 0 MSO_I }, { 675, 2 MSO_I }, { 0, 2 MSO_I }, { 1350, 0 MSO_I },
1516*cdf0e10cSrcweir 	{ 2700, 0 MSO_I }, { 2700, 2 MSO_I }, { 1350, 2 MSO_I }
1517*cdf0e10cSrcweir };
1518*cdf0e10cSrcweir static const sal_uInt16 mso_sptStripedRightArrowSegm[] =
1519*cdf0e10cSrcweir {
1520*cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000,
1521*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
1522*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
1523*cdf0e10cSrcweir };
1524*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc[] =
1525*cdf0e10cSrcweir {
1526*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1527*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1528*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
1529*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },
1530*cdf0e10cSrcweir 	{ 0x6001, { 0x403, 0x400, 10800 } },
1531*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } }
1532*cdf0e10cSrcweir };
1533*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect[] =
1534*cdf0e10cSrcweir {
1535*cdf0e10cSrcweir 	{ { 3375, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
1536*cdf0e10cSrcweir };
1537*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptStripedRightArrowHandle[] =
1538*cdf0e10cSrcweir {
1539*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1540*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 }
1541*cdf0e10cSrcweir };
1542*cdf0e10cSrcweir static const mso_CustomShape msoStripedRightArrow =
1543*cdf0e10cSrcweir {
1544*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStripedRightArrowVert, sizeof( mso_sptStripedRightArrowVert ) / sizeof( SvxMSDffVertPair ),
1545*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1,
1546*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, sizeof( mso_sptStripedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1547*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
1548*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, sizeof( mso_sptStripedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1549*cdf0e10cSrcweir 	21600, 21600,
1550*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1551*cdf0e10cSrcweir 	NULL, 0,
1552*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptStripedRightArrowHandle, sizeof( mso_sptStripedRightArrowHandle ) / sizeof( SvxMSDffHandle )
1553*cdf0e10cSrcweir };
1554*cdf0e10cSrcweir 
1555*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNotchedRightArrowVert[] =	// adjustment1 : x 0 - 21600	(default 16200)
1556*cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800	(default 5400)
1557*cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 10800 },
1558*cdf0e10cSrcweir 	{ 0 MSO_I, 21600 }, { 0 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }, { 5 MSO_I, 10800 }, { 0, 1 MSO_I }
1559*cdf0e10cSrcweir };
1560*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc[] =
1561*cdf0e10cSrcweir {
1562*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1563*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1564*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
1565*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1566*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
1567*cdf0e10cSrcweir 	{ 0x6001, { 0x403, 0x404, 10800 } }
1568*cdf0e10cSrcweir };
1569*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] =	// todo
1570*cdf0e10cSrcweir {
1571*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1572*cdf0e10cSrcweir };
1573*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNotchedRightArrowHandle[] =
1574*cdf0e10cSrcweir {
1575*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1576*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
1577*cdf0e10cSrcweir };
1578*cdf0e10cSrcweir static const mso_CustomShape msoNotchedRightArrow =
1579*cdf0e10cSrcweir {
1580*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptNotchedRightArrowVert, sizeof( mso_sptNotchedRightArrowVert ) / sizeof( SvxMSDffVertPair ),
1581*cdf0e10cSrcweir 	NULL, 0,
1582*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, sizeof( mso_sptNotchedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1583*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
1584*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, sizeof( mso_sptNotchedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1585*cdf0e10cSrcweir 	21600, 21600,
1586*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1587*cdf0e10cSrcweir 	NULL, 0,
1588*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, sizeof( mso_sptNotchedRightArrowHandle ) / sizeof( SvxMSDffHandle )
1589*cdf0e10cSrcweir };
1590*cdf0e10cSrcweir 
1591*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHomePlateVert[] =	// adjustment1 : x 0 - 21600
1592*cdf0e10cSrcweir {
1593*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
1594*cdf0e10cSrcweir 	{ 0, 21600 }
1595*cdf0e10cSrcweir };
1596*cdf0e10cSrcweir static const sal_uInt16 mso_sptHomePlateSegm[] =
1597*cdf0e10cSrcweir {
1598*cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000
1599*cdf0e10cSrcweir };
1600*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHomePlateCalc[] =
1601*cdf0e10cSrcweir {
1602*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
1603*cdf0e10cSrcweir };
1604*cdf0e10cSrcweir static const sal_Int32 mso_sptHomePlateDefault[] =
1605*cdf0e10cSrcweir {
1606*cdf0e10cSrcweir 	1, 16200
1607*cdf0e10cSrcweir };
1608*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] =	// todo
1609*cdf0e10cSrcweir {
1610*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1611*cdf0e10cSrcweir };
1612*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHomePlateHandle[] =
1613*cdf0e10cSrcweir {
1614*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1615*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
1616*cdf0e10cSrcweir };
1617*cdf0e10cSrcweir static const mso_CustomShape msoHomePlate =
1618*cdf0e10cSrcweir {
1619*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHomePlateVert, sizeof( mso_sptHomePlateVert ) / sizeof( SvxMSDffVertPair ),
1620*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1,
1621*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptHomePlateCalc, sizeof( mso_sptHomePlateCalc ) / sizeof( SvxMSDffCalculationData ),
1622*cdf0e10cSrcweir 	(sal_Int32*)mso_sptHomePlateDefault,
1623*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, sizeof( mso_sptHomePlateTextRect ) / sizeof( SvxMSDffTextRectangles ),
1624*cdf0e10cSrcweir 	21600, 21600,
1625*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1626*cdf0e10cSrcweir 	NULL, 0,
1627*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHomePlateHandle, sizeof( mso_sptHomePlateHandle ) / sizeof( SvxMSDffHandle )
1628*cdf0e10cSrcweir };
1629*cdf0e10cSrcweir 
1630*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptChevronVert[] =	// adjustment1 : x 0 - 21600
1631*cdf0e10cSrcweir {
1632*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
1633*cdf0e10cSrcweir 	{ 0, 21600 }, { 1 MSO_I, 10800 }
1634*cdf0e10cSrcweir };
1635*cdf0e10cSrcweir static const sal_uInt16 mso_sptChevronSegm[] =
1636*cdf0e10cSrcweir {
1637*cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000
1638*cdf0e10cSrcweir };
1639*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptChevronCalc[] =
1640*cdf0e10cSrcweir {
1641*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1642*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } }
1643*cdf0e10cSrcweir };
1644*cdf0e10cSrcweir static const sal_Int32 mso_sptChevronDefault[] =
1645*cdf0e10cSrcweir {
1646*cdf0e10cSrcweir 	1, 16200
1647*cdf0e10cSrcweir };
1648*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptChevronTextRect[] =	// todo
1649*cdf0e10cSrcweir {
1650*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1651*cdf0e10cSrcweir };
1652*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptChevronHandle[] =
1653*cdf0e10cSrcweir {
1654*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1655*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
1656*cdf0e10cSrcweir };
1657*cdf0e10cSrcweir static const mso_CustomShape msoChevron =
1658*cdf0e10cSrcweir {
1659*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptChevronVert, sizeof( mso_sptChevronVert ) / sizeof( SvxMSDffVertPair ),
1660*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1,
1661*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptChevronCalc, sizeof( mso_sptChevronCalc ) / sizeof( SvxMSDffCalculationData ),
1662*cdf0e10cSrcweir 	(sal_Int32*)mso_sptChevronDefault,
1663*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptChevronTextRect, sizeof( mso_sptChevronTextRect ) / sizeof( SvxMSDffTextRectangles ),
1664*cdf0e10cSrcweir 	21600, 21600,
1665*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1666*cdf0e10cSrcweir 	NULL, 0,
1667*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptChevronHandle, sizeof( mso_sptChevronHandle ) / sizeof( SvxMSDffHandle )
1668*cdf0e10cSrcweir };
1669*cdf0e10cSrcweir 
1670*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightArrowCalloutVert[] =	// adjustment1 : x 0 - 21000
1671*cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800
1672*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
1673*cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 5 MSO_I },
1674*cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 }
1675*cdf0e10cSrcweir };
1676*cdf0e10cSrcweir static const sal_uInt16 mso_sptRightArrowCalloutSegm[] =
1677*cdf0e10cSrcweir {
1678*cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1679*cdf0e10cSrcweir };
1680*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc[] =
1681*cdf0e10cSrcweir {
1682*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1683*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1684*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1685*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1686*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1687*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1688*cdf0e10cSrcweir };
1689*cdf0e10cSrcweir static const sal_Int32 mso_sptRightArrowCalloutDefault[] =
1690*cdf0e10cSrcweir {
1691*cdf0e10cSrcweir 	4, 14400, 5400, 18000, 8100
1692*cdf0e10cSrcweir };
1693*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] =
1694*cdf0e10cSrcweir {
1695*cdf0e10cSrcweir 	{ { 0, 0 }, { 0 MSO_I, 21600 } }
1696*cdf0e10cSrcweir };
1697*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] =
1698*cdf0e10cSrcweir {
1699*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1700*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 0x102, 0x80000000, 0x7fffffff },
1701*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1702*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 },
1703*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1704*cdf0e10cSrcweir 		1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
1705*cdf0e10cSrcweir };
1706*cdf0e10cSrcweir static const mso_CustomShape msoRightArrowCallout =
1707*cdf0e10cSrcweir {
1708*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, sizeof( mso_sptRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1709*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1,
1710*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, sizeof( mso_sptRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1711*cdf0e10cSrcweir 	(sal_Int32*)mso_sptRightArrowCalloutDefault,
1712*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, sizeof( mso_sptRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1713*cdf0e10cSrcweir 	21600, 21600,
1714*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1715*cdf0e10cSrcweir 	NULL, 0,
1716*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, sizeof( mso_sptRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1717*cdf0e10cSrcweir };
1718*cdf0e10cSrcweir 
1719*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800
1720*cdf0e10cSrcweir {																// adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800
1721*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I, 21600 },
1722*cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0, 10800 },
1723*cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1724*cdf0e10cSrcweir };
1725*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowCalloutSegm[] =
1726*cdf0e10cSrcweir {
1727*cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1728*cdf0e10cSrcweir };
1729*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc[] =
1730*cdf0e10cSrcweir {
1731*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1732*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1733*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1734*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1735*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1736*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1737*cdf0e10cSrcweir };
1738*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowCalloutDefault[] =
1739*cdf0e10cSrcweir {
1740*cdf0e10cSrcweir 	4, 7200, 5400, 3600, 8100
1741*cdf0e10cSrcweir };
1742*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] =
1743*cdf0e10cSrcweir {
1744*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 21600, 21600 } }
1745*cdf0e10cSrcweir };
1746*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] =
1747*cdf0e10cSrcweir {
1748*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1749*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 21600, 0x80000000, 0x7fffffff },
1750*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1751*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
1752*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1753*cdf0e10cSrcweir 		0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
1754*cdf0e10cSrcweir };
1755*cdf0e10cSrcweir static const mso_CustomShape msoLeftArrowCallout =
1756*cdf0e10cSrcweir {
1757*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, sizeof( mso_sptLeftArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1758*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1,
1759*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, sizeof( mso_sptLeftArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1760*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftArrowCalloutDefault,
1761*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, sizeof( mso_sptLeftArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1762*cdf0e10cSrcweir 	21600, 21600,
1763*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1764*cdf0e10cSrcweir 	NULL, 0,
1765*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, sizeof( mso_sptLeftArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1766*cdf0e10cSrcweir };
1767*cdf0e10cSrcweir 
1768*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowCalloutVert[] =
1769*cdf0e10cSrcweir {
1770*cdf0e10cSrcweir 	{ 21600, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I },
1771*cdf0e10cSrcweir 	{ 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 },
1772*cdf0e10cSrcweir 	{ 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 MSO_I }
1773*cdf0e10cSrcweir };
1774*cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowCalloutSegm[] =
1775*cdf0e10cSrcweir {
1776*cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1777*cdf0e10cSrcweir };
1778*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc[] =
1779*cdf0e10cSrcweir {
1780*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1781*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1782*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1783*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1784*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1785*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1786*cdf0e10cSrcweir };
1787*cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowCalloutDefault[] =
1788*cdf0e10cSrcweir {
1789*cdf0e10cSrcweir 	4, 7200, 5400, 3600, 8100
1790*cdf0e10cSrcweir };
1791*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] =
1792*cdf0e10cSrcweir {
1793*cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 21600, 21600 } }
1794*cdf0e10cSrcweir };
1795*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] =
1796*cdf0e10cSrcweir {
1797*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1798*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 21600 },
1799*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1800*cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
1801*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1802*cdf0e10cSrcweir 		0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
1803*cdf0e10cSrcweir };
1804*cdf0e10cSrcweir static const mso_CustomShape msoUpArrowCallout =
1805*cdf0e10cSrcweir {
1806*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, sizeof( mso_sptUpArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1807*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1,
1808*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, sizeof( mso_sptUpArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1809*cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpArrowCalloutDefault,
1810*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, sizeof( mso_sptUpArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1811*cdf0e10cSrcweir 	21600, 21600,
1812*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1813*cdf0e10cSrcweir 	NULL, 0,
1814*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, sizeof( mso_sptUpArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1815*cdf0e10cSrcweir };
1816*cdf0e10cSrcweir 
1817*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowCalloutVert[] =
1818*cdf0e10cSrcweir {
1819*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I },
1820*cdf0e10cSrcweir 	{ 5 MSO_I, 0 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 10800, 21600 },
1821*cdf0e10cSrcweir 	{ 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
1822*cdf0e10cSrcweir };
1823*cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowCalloutSegm[] =
1824*cdf0e10cSrcweir {
1825*cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1826*cdf0e10cSrcweir };
1827*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc[] =
1828*cdf0e10cSrcweir {
1829*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1830*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1831*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1832*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1833*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1834*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1835*cdf0e10cSrcweir };
1836*cdf0e10cSrcweir static const sal_Int32 mso_sptDownArrowCalloutDefault[] =
1837*cdf0e10cSrcweir {
1838*cdf0e10cSrcweir 	4, 14400, 5400, 18000, 8100
1839*cdf0e10cSrcweir };
1840*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] =
1841*cdf0e10cSrcweir {
1842*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 0 MSO_I } }
1843*cdf0e10cSrcweir };
1844*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] =
1845*cdf0e10cSrcweir {
1846*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1847*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x102 },
1848*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1849*cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 },
1850*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1851*cdf0e10cSrcweir 		0x101, 1, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
1852*cdf0e10cSrcweir };
1853*cdf0e10cSrcweir static const mso_CustomShape msoDownArrowCallout =
1854*cdf0e10cSrcweir {
1855*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, sizeof( mso_sptDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1856*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1,
1857*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, sizeof( mso_sptDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1858*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDownArrowCalloutDefault,
1859*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, sizeof( mso_sptDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1860*cdf0e10cSrcweir 	21600, 21600,
1861*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1862*cdf0e10cSrcweir 	NULL, 0,
1863*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, sizeof( mso_sptDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1864*cdf0e10cSrcweir };
1865*cdf0e10cSrcweir 
1866*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert[] =
1867*cdf0e10cSrcweir {
1868*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 4 MSO_I, 0 }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I },
1869*cdf0e10cSrcweir 	{ 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I },
1870*cdf0e10cSrcweir 	{ 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 7 MSO_I },
1871*cdf0e10cSrcweir 	{ 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I },
1872*cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1873*cdf0e10cSrcweir };
1874*cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm[] =
1875*cdf0e10cSrcweir {
1876*cdf0e10cSrcweir 	0x4000, 0x0011, 0x6001, 0x8000
1877*cdf0e10cSrcweir };
1878*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc[] =
1879*cdf0e10cSrcweir {
1880*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1881*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1882*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1883*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1884*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1885*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1886*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1887*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1888*cdf0e10cSrcweir };
1889*cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowCalloutDefault[] =
1890*cdf0e10cSrcweir {
1891*cdf0e10cSrcweir 	4, 5400, 5500, 2700, 8100
1892*cdf0e10cSrcweir };
1893*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] =
1894*cdf0e10cSrcweir {
1895*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 4 MSO_I, 21600 } }
1896*cdf0e10cSrcweir };
1897*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] =
1898*cdf0e10cSrcweir {
1899*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1900*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0x102, 10800, 0x80000000, 0x7fffffff },
1901*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1902*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
1903*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1904*cdf0e10cSrcweir 		0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
1905*cdf0e10cSrcweir };
1906*cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrowCallout =
1907*cdf0e10cSrcweir {
1908*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, sizeof( mso_sptLeftRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1909*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1,
1910*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, sizeof( mso_sptLeftRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1911*cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightArrowCalloutDefault,
1912*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, sizeof( mso_sptLeftRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1913*cdf0e10cSrcweir 	21600, 21600,
1914*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1915*cdf0e10cSrcweir 	NULL, 0,
1916*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, sizeof( mso_sptLeftRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1917*cdf0e10cSrcweir };
1918*cdf0e10cSrcweir 
1919*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert[] =
1920*cdf0e10cSrcweir {
1921*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 0, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 6 MSO_I },
1922*cdf0e10cSrcweir 	{ 1 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 6 MSO_I },
1923*cdf0e10cSrcweir 	{ 7 MSO_I, 4 MSO_I }, { 21600, 4 MSO_I }, { 21600, 0 MSO_I }, { 7 MSO_I, 0 MSO_I },
1924*cdf0e10cSrcweir 	{ 7 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 10800, 0 }, { 1 MSO_I, 2 MSO_I },
1925*cdf0e10cSrcweir 	{ 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
1926*cdf0e10cSrcweir };
1927*cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowCalloutSegm[] =
1928*cdf0e10cSrcweir {
1929*cdf0e10cSrcweir 	0x4000, 0x0011, 0x6001, 0x8000
1930*cdf0e10cSrcweir };
1931*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc[] =
1932*cdf0e10cSrcweir {
1933*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1934*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1935*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1936*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1937*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1938*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1939*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1940*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1941*cdf0e10cSrcweir };
1942*cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowCalloutDefault[] =
1943*cdf0e10cSrcweir {
1944*cdf0e10cSrcweir 	4, 5400, 5500, 2700, 8100
1945*cdf0e10cSrcweir };
1946*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] =
1947*cdf0e10cSrcweir {
1948*cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 21600, 4 MSO_I } }
1949*cdf0e10cSrcweir };
1950*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] =
1951*cdf0e10cSrcweir {
1952*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1953*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 10800 },
1954*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1955*cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
1956*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1957*cdf0e10cSrcweir 		0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
1958*cdf0e10cSrcweir };
1959*cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrowCallout =
1960*cdf0e10cSrcweir {
1961*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, sizeof( mso_sptUpDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1962*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1,
1963*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, sizeof( mso_sptUpDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1964*cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpDownArrowCalloutDefault,
1965*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, sizeof( mso_sptUpDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1966*cdf0e10cSrcweir 	21600, 21600,
1967*cdf0e10cSrcweir 	0x80000000, 0x80000000,
1968*cdf0e10cSrcweir 	NULL, 0,
1969*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, sizeof( mso_sptUpDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1970*cdf0e10cSrcweir };
1971*cdf0e10cSrcweir 
1972*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert[] =
1973*cdf0e10cSrcweir {
1974*cdf0e10cSrcweir 	{ 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
1975*cdf0e10cSrcweir 	{ 10800, 0 }, { 5 MSO_I, 2 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 7 MSO_I, 0 MSO_I },
1976*cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I },
1977*cdf0e10cSrcweir 	{ 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I },
1978*cdf0e10cSrcweir 	{ 4 MSO_I, 4 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 5 MSO_I, 6 MSO_I },
1979*cdf0e10cSrcweir 	{ 10800, 21600 }, { 1 MSO_I, 6 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 4 MSO_I },
1980*cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I },
1981*cdf0e10cSrcweir 	{ 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1982*cdf0e10cSrcweir };
1983*cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowCalloutSegm[] =
1984*cdf0e10cSrcweir {
1985*cdf0e10cSrcweir 	0x4000, 0x001f, 0x6001, 0x8000
1986*cdf0e10cSrcweir };
1987*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc[] =
1988*cdf0e10cSrcweir {
1989*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1990*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1991*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1992*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1993*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1994*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1995*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1996*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1997*cdf0e10cSrcweir };
1998*cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowCalloutDefault[] =
1999*cdf0e10cSrcweir {
2000*cdf0e10cSrcweir 	4, 5400, 8100, 2700, 9400
2001*cdf0e10cSrcweir };
2002*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] =
2003*cdf0e10cSrcweir {
2004*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 4 MSO_I, 4 MSO_I } }
2005*cdf0e10cSrcweir };
2006*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] =
2007*cdf0e10cSrcweir {
2008*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
2009*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 0x101 },
2010*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
2011*cdf0e10cSrcweir 		0x101, 0, 10800, 10800, 0x100, 10800, 0x80000000, 0x7fffffff },
2012*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
2013*cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }
2014*cdf0e10cSrcweir };
2015*cdf0e10cSrcweir static const mso_CustomShape msoQuadArrowCallout =
2016*cdf0e10cSrcweir {
2017*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptQuadArrowCalloutVert, sizeof( mso_sptQuadArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
2018*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1,
2019*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, sizeof( mso_sptQuadArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
2020*cdf0e10cSrcweir 	(sal_Int32*)mso_sptQuadArrowCalloutDefault,
2021*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, sizeof( mso_sptQuadArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
2022*cdf0e10cSrcweir 	21600, 21600,
2023*cdf0e10cSrcweir 	0x80000000, 0x80000000,
2024*cdf0e10cSrcweir 	NULL, 0,
2025*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, sizeof( mso_sptQuadArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
2026*cdf0e10cSrcweir };
2027*cdf0e10cSrcweir 
2028*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCircularArrowVert[] =
2029*cdf0e10cSrcweir {
2030*cdf0e10cSrcweir 	{ 0x03 MSO_I, 0x03 MSO_I },
2031*cdf0e10cSrcweir 	{ 0x14 MSO_I, 0x14 MSO_I },
2032*cdf0e10cSrcweir 	{ 0x13 MSO_I, 0x12 MSO_I },
2033*cdf0e10cSrcweir 	{ 0x11 MSO_I, 0x10 MSO_I },
2034*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 },
2035*cdf0e10cSrcweir 	{ 0x09 MSO_I, 0x08 MSO_I },
2036*cdf0e10cSrcweir 	{ 0x0B MSO_I, 0x0A MSO_I },
2037*cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x17 MSO_I },
2038*cdf0e10cSrcweir 	{ 0x2F MSO_I, 0x2E MSO_I },
2039*cdf0e10cSrcweir 	{ 0x1D MSO_I, 0x1C MSO_I }
2040*cdf0e10cSrcweir };
2041*cdf0e10cSrcweir static const sal_uInt16 mso_sptCircularArrowSegm[] =
2042*cdf0e10cSrcweir {
2043*cdf0e10cSrcweir 	0xa404, 0xa504, 0x0003, 0x6001, 0x8000
2044*cdf0e10cSrcweir };
2045*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCircularArrowCalc[] =
2046*cdf0e10cSrcweir {
2047*cdf0e10cSrcweir 	{ 0x2000, { 0x0147, 0x0000, 0x0000 } },
2048*cdf0e10cSrcweir 	{ 0x2000, { 0x0148, 0x0000, 0x0000 } },
2049*cdf0e10cSrcweir 	{ 0x2000, { 0x0149, 0x0000, 0x0000 } },
2050*cdf0e10cSrcweir 	{ 0x4000, { 0x2A30, 0x0149, 0x0000 } },
2051*cdf0e10cSrcweir 	{ 0x4009, { 0x2A30, 0x0147, 0x0000 } },
2052*cdf0e10cSrcweir 	{ 0x400A, { 0x2A30, 0x0147, 0x0000 } },
2053*cdf0e10cSrcweir 	{ 0x4009, { 0x2A30, 0x0148, 0x0000 } },
2054*cdf0e10cSrcweir 	{ 0x400A, { 0x2A30, 0x0148, 0x0000 } },
2055*cdf0e10cSrcweir 	{ 0x2000, { 0x0404, 0x2A30, 0x0000 } },
2056*cdf0e10cSrcweir 	{ 0x2000, { 0x0405, 0x2A30, 0x0000 } },
2057*cdf0e10cSrcweir 	{ 0x2000, { 0x0406, 0x2A30, 0x0000 } },
2058*cdf0e10cSrcweir 	{ 0x2000, { 0x0407, 0x2A30, 0x0000 } },
2059*cdf0e10cSrcweir 	{ 0x6009, { 0x0403, 0x0147, 0x0000 } },
2060*cdf0e10cSrcweir 	{ 0x600A, { 0x0403, 0x0147, 0x0000 } },
2061*cdf0e10cSrcweir 	{ 0x6009, { 0x0403, 0x0148, 0x0000 } },
2062*cdf0e10cSrcweir 	{ 0x600A, { 0x0403, 0x0148, 0x0000 } },
2063*cdf0e10cSrcweir 	{ 0x2000, { 0x040C, 0x2A30, 0x0000 } },
2064*cdf0e10cSrcweir 	{ 0x2000, { 0x040D, 0x2A30, 0x0000 } },
2065*cdf0e10cSrcweir 	{ 0x2000, { 0x040E, 0x2A30, 0x0000 } },
2066*cdf0e10cSrcweir 	{ 0x2000, { 0x040F, 0x2A30, 0x0000 } },
2067*cdf0e10cSrcweir 	{ 0x8000, { 0x5460, 0x0000, 0x0403 } },
2068*cdf0e10cSrcweir 	{ 0x4009, { 0x34BC, 0x0148, 0x0000 } },
2069*cdf0e10cSrcweir 	{ 0x400A, { 0x34BC, 0x0148, 0x0000 } },
2070*cdf0e10cSrcweir 	{ 0x2000, { 0x0415, 0x2A30, 0x0000 } },
2071*cdf0e10cSrcweir 	{ 0x2000, { 0x0416, 0x2A30, 0x0000 } },
2072*cdf0e10cSrcweir 	{ 0x2000, { 0x0149, 0x0000, 0x0A8C } },
2073*cdf0e10cSrcweir 	{ 0x6009, { 0x0419, 0x0148, 0x0000 } },
2074*cdf0e10cSrcweir 	{ 0x600A, { 0x0419, 0x0148, 0x0000 } },
2075*cdf0e10cSrcweir 	{ 0x2000, { 0x041A, 0x2A30, 0x0000 } },
2076*cdf0e10cSrcweir 	{ 0x2000, { 0x041B, 0x2A30, 0x0000 } },
2077*cdf0e10cSrcweir 	{ 0xA000, { 0x041D, 0x0000, 0x0418 } },
2078*cdf0e10cSrcweir 	{ 0xA000, { 0x041D, 0x0000, 0x0418 } },
2079*cdf0e10cSrcweir 	{ 0x6001, { 0x041E, 0x041F, 0x0001 } },
2080*cdf0e10cSrcweir 	{ 0xA000, { 0x041C, 0x0000, 0x0417 } },
2081*cdf0e10cSrcweir 	{ 0xA000, { 0x041C, 0x0000, 0x0417 } },
2082*cdf0e10cSrcweir 	{ 0x6001, { 0x0421, 0x0422, 0x0001 } },
2083*cdf0e10cSrcweir 	{ 0x6000, { 0x0420, 0x0423, 0x0000 } },
2084*cdf0e10cSrcweir 	{ 0x200D, { 0x0424, 0x0000, 0x0000 } },
2085*cdf0e10cSrcweir 	{ 0x200E, { 0x0148, 0x002D, 0x0000 } },
2086*cdf0e10cSrcweir 	{ 0x6009, { 0x0425, 0x0426, 0x0000 } },
2087*cdf0e10cSrcweir 	{ 0x200E, { 0x0148, 0x002D, 0x0000 } },
2088*cdf0e10cSrcweir 	{ 0x600A, { 0x0425, 0x0428, 0x0000 } },
2089*cdf0e10cSrcweir 	{ 0x000E, { 0x0000, 0x002D, 0x0000 } },
2090*cdf0e10cSrcweir 	{ 0x6009, { 0x0427, 0x042A, 0x0000 } },
2091*cdf0e10cSrcweir 	{ 0x000E, { 0x0000, 0x002D, 0x0000 } },
2092*cdf0e10cSrcweir 	{ 0x6009, { 0x0429, 0x042C, 0x0000 } },
2093*cdf0e10cSrcweir 	{ 0x6000, { 0x041C, 0x042B, 0x0000 } },
2094*cdf0e10cSrcweir 	{ 0x6000, { 0x041D, 0x042D, 0x0000 } }
2095*cdf0e10cSrcweir };
2096*cdf0e10cSrcweir static const sal_Int32 mso_sptCircularArrowDefault[] =
2097*cdf0e10cSrcweir {
2098*cdf0e10cSrcweir 	3, 180, 0, 5500
2099*cdf0e10cSrcweir };
2100*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] =	// todo
2101*cdf0e10cSrcweir {
2102*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
2103*cdf0e10cSrcweir };
2104*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCircularArrowHandle[] =
2105*cdf0e10cSrcweir {
2106*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
2107*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 10800, 10800, 0xff4c0000, 0x00b40000 },
2108*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
2109*cdf0e10cSrcweir 		0x102, 0x101, 10800, 10800, 0, 10800, 0xff4c0000, 0x00b40000 }
2110*cdf0e10cSrcweir };
2111*cdf0e10cSrcweir static const mso_CustomShape msoCircularArrow =
2112*cdf0e10cSrcweir {
2113*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCircularArrowVert, sizeof( mso_sptCircularArrowVert ) / sizeof( SvxMSDffVertPair ),
2114*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1,
2115*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCircularArrowCalc, sizeof( mso_sptCircularArrowCalc ) / sizeof( SvxMSDffCalculationData ),
2116*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCircularArrowDefault,
2117*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, sizeof( mso_sptCircularArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
2118*cdf0e10cSrcweir 	21600, 21600,
2119*cdf0e10cSrcweir 	0x80000000, 0x80000000,
2120*cdf0e10cSrcweir 	NULL, 0,
2121*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCircularArrowHandle, sizeof( mso_sptCircularArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
2122*cdf0e10cSrcweir };
2123*cdf0e10cSrcweir 
2124*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeVert[] =
2125*cdf0e10cSrcweir {
2126*cdf0e10cSrcweir 	{ 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 },
2127*cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 2 MSO_I, 0 },	{ 11 MSO_I, 0 }, { 4 MSO_I, 1 MSO_I },
2128*cdf0e10cSrcweir 	{ 4 MSO_I, 12 MSO_I  }, { 4 MSO_I, 1 MSO_I },	{ 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I }
2129*cdf0e10cSrcweir };
2130*cdf0e10cSrcweir static const sal_uInt16 mso_sptCubeSegm[] =
2131*cdf0e10cSrcweir {
2132*cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000,
2133*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2134*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2135*cdf0e10cSrcweir };
2136*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCubeCalc[] =
2137*cdf0e10cSrcweir {
2138*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2139*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
2140*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x400, 0 } },
2141*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
2142*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2143*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },	// 5
2144*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },					// 6
2145*cdf0e10cSrcweir 	{ 0x6000, { 0x402, 0x406, 0 } },				// 7
2146*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },	// 8
2147*cdf0e10cSrcweir 	{ 0x2001, { 0x408, 1, 2 } },					// 9
2148*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x409, 0 } },				// 10
2149*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 0 } },		// 11
2150*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom, 0, 0 } }		// 12
2151*cdf0e10cSrcweir };
2152*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCubeTextRect[] =
2153*cdf0e10cSrcweir {
2154*cdf0e10cSrcweir 	{ { 0, 1 MSO_I }, { 4 MSO_I, 12 MSO_I } }
2155*cdf0e10cSrcweir };
2156*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCubeHandle[] =
2157*cdf0e10cSrcweir {
2158*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2159*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
2160*cdf0e10cSrcweir };
2161*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeGluePoints[] =
2162*cdf0e10cSrcweir {
2163*cdf0e10cSrcweir 	{ 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 }
2164*cdf0e10cSrcweir };
2165*cdf0e10cSrcweir static const mso_CustomShape msoCube =
2166*cdf0e10cSrcweir {
2167*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCubeVert, sizeof( mso_sptCubeVert ) / sizeof( SvxMSDffVertPair ),
2168*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1,
2169*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCubeCalc, sizeof( mso_sptCubeCalc ) / sizeof( SvxMSDffCalculationData ),
2170*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
2171*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCubeTextRect, sizeof( mso_sptCubeTextRect ) / sizeof( SvxMSDffTextRectangles ),
2172*cdf0e10cSrcweir 	21600, 21600,
2173*cdf0e10cSrcweir 	10800, 10800,
2174*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCubeGluePoints, sizeof( mso_sptCubeGluePoints ) / sizeof( SvxMSDffVertPair ),
2175*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCubeHandle, sizeof( mso_sptCubeHandle ) / sizeof( SvxMSDffHandle )
2176*cdf0e10cSrcweir };
2177*cdf0e10cSrcweir 
2178*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBevelVert[] =
2179*cdf0e10cSrcweir {
2180*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2181*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
2182*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
2183*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2184*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
2185*cdf0e10cSrcweir };
2186*cdf0e10cSrcweir static const sal_uInt16 mso_sptBevelSegm[] =
2187*cdf0e10cSrcweir {
2188*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2189*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2190*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2191*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2192*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2193*cdf0e10cSrcweir };
2194*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBevelCalc[] =
2195*cdf0e10cSrcweir {
2196*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
2197*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2198*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
2199*cdf0e10cSrcweir };
2200*cdf0e10cSrcweir 
2201*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBevelTextRect[] =
2202*cdf0e10cSrcweir {
2203*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
2204*cdf0e10cSrcweir };
2205*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBevelHandle[] =
2206*cdf0e10cSrcweir {
2207*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2208*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
2209*cdf0e10cSrcweir };
2210*cdf0e10cSrcweir static const mso_CustomShape msoBevel =
2211*cdf0e10cSrcweir {
2212*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBevelVert, sizeof( mso_sptBevelVert ) / sizeof( SvxMSDffVertPair ),
2213*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1,
2214*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBevelCalc, sizeof( mso_sptBevelCalc ) / sizeof( SvxMSDffCalculationData ),
2215*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
2216*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBevelTextRect, sizeof( mso_sptBevelTextRect ) / sizeof( SvxMSDffTextRectangles ),
2217*cdf0e10cSrcweir 	21600, 21600,
2218*cdf0e10cSrcweir 	10800, 10800,
2219*cdf0e10cSrcweir 	NULL, 0,
2220*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBevelHandle, sizeof( mso_sptBevelHandle ) / sizeof( SvxMSDffHandle )
2221*cdf0e10cSrcweir };
2222*cdf0e10cSrcweir 
2223*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFoldedCornerVert[] =	// adjustment1 : x 10800 - 21600
2224*cdf0e10cSrcweir {
2225*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 0 MSO_I, 21600 },
2226*cdf0e10cSrcweir 	{ 0, 21600 }, { 0 MSO_I, 21600 }, { 3 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I },
2227*cdf0e10cSrcweir 	{ 10 MSO_I, 11 MSO_I }, { 21600, 0 MSO_I }
2228*cdf0e10cSrcweir };
2229*cdf0e10cSrcweir static const sal_uInt16 mso_sptFoldedCornerSegm[] =
2230*cdf0e10cSrcweir {
2231*cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000,
2232*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x6001, 0x8000
2233*cdf0e10cSrcweir };
2234*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFoldedCornerCalc[] =
2235*cdf0e10cSrcweir {
2236*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2237*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
2238*cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 8000, 10800 } },
2239*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
2240*cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 2 } },
2241*cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 4 } },
2242*cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 7 } },
2243*cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 16 } },
2244*cdf0e10cSrcweir 	{ 0x6000, { 0x0403, 0x405, 0 } },
2245*cdf0e10cSrcweir 	{ 0x6000, { 0x0400, 0x406, 0 } },
2246*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },
2247*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x407, 0 } }
2248*cdf0e10cSrcweir };
2249*cdf0e10cSrcweir static const sal_Int32 mso_sptFoldedCornerDefault[] =
2250*cdf0e10cSrcweir {
2251*cdf0e10cSrcweir 	1, 18900
2252*cdf0e10cSrcweir };
2253*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] =
2254*cdf0e10cSrcweir {
2255*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 11 MSO_I } }
2256*cdf0e10cSrcweir };
2257*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptFoldedCornerHandle[] =
2258*cdf0e10cSrcweir {
2259*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
2260*cdf0e10cSrcweir 		0x100, 1, 10800, 10800, 10800, 21600, 0x80000000, 0x7fffffff }
2261*cdf0e10cSrcweir };
2262*cdf0e10cSrcweir static const mso_CustomShape msoFoldedCorner =
2263*cdf0e10cSrcweir {
2264*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFoldedCornerVert, sizeof( mso_sptFoldedCornerVert ) / sizeof( SvxMSDffVertPair ),
2265*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1,
2266*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, sizeof( mso_sptFoldedCornerCalc ) / sizeof( SvxMSDffCalculationData ),
2267*cdf0e10cSrcweir 	(sal_Int32*)mso_sptFoldedCornerDefault,
2268*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, sizeof( mso_sptFoldedCornerTextRect ) / sizeof( SvxMSDffTextRectangles ),
2269*cdf0e10cSrcweir 	21600, 21600,
2270*cdf0e10cSrcweir 	0x80000000, 0x80000000,
2271*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
2272*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptFoldedCornerHandle, sizeof( mso_sptFoldedCornerHandle ) / sizeof( SvxMSDffHandle )
2273*cdf0e10cSrcweir };
2274*cdf0e10cSrcweir 
2275*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBlankVert[] =
2276*cdf0e10cSrcweir {
2277*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2278*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
2279*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
2280*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2281*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
2282*cdf0e10cSrcweir };
2283*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBlankSegm[] =
2284*cdf0e10cSrcweir {
2285*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2286*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2287*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2288*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2289*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2290*cdf0e10cSrcweir };
2291*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc[] =
2292*cdf0e10cSrcweir {
2293*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
2294*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2295*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
2296*cdf0e10cSrcweir };
2297*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] =
2298*cdf0e10cSrcweir {
2299*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
2300*cdf0e10cSrcweir };
2301*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptButtonHandle[] =
2302*cdf0e10cSrcweir {
2303*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2304*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
2305*cdf0e10cSrcweir };
2306*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBlank =
2307*cdf0e10cSrcweir {
2308*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBlankVert, sizeof( mso_sptActionButtonBlankVert ) / sizeof( SvxMSDffVertPair ),
2309*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1,
2310*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, sizeof( mso_sptActionButtonBlankCalc ) / sizeof( SvxMSDffCalculationData ),
2311*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2312*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, sizeof( mso_sptActionButtonBlankTextRect ) / sizeof( SvxMSDffTextRectangles ),
2313*cdf0e10cSrcweir 	21600, 21600,
2314*cdf0e10cSrcweir 	10800, 10800,
2315*cdf0e10cSrcweir 	NULL, 0,
2316*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2317*cdf0e10cSrcweir };
2318*cdf0e10cSrcweir 
2319*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonTextRect[] =
2320*cdf0e10cSrcweir {
2321*cdf0e10cSrcweir 	{ { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
2322*cdf0e10cSrcweir };
2323*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHomeVert[] =
2324*cdf0e10cSrcweir {
2325*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2326*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2327*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2328*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2329*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2330*cdf0e10cSrcweir 
2331*cdf0e10cSrcweir 	{ 7 MSO_I, 0xa MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },
2332*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x14 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
2333*cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x1a MSO_I },	{ 0x1c MSO_I, 8 MSO_I }, { 0x1e MSO_I, 8 MSO_I },
2334*cdf0e10cSrcweir 
2335*cdf0e10cSrcweir 	{ 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },{ 0x12 MSO_I, 0x14 MSO_I },
2336*cdf0e10cSrcweir 
2337*cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
2338*cdf0e10cSrcweir 	{ 0x18 MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x20 MSO_I, 0x1a MSO_I }
2339*cdf0e10cSrcweir 
2340*cdf0e10cSrcweir };
2341*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHomeSegm[] =
2342*cdf0e10cSrcweir {
2343*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2344*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2345*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2346*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2347*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2348*cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001, 0x8000,
2349*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2350*cdf0e10cSrcweir 	0x4000, 0x0007, 0x6001, 0x8000
2351*cdf0e10cSrcweir };
2352*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc[] =	// adj value 0 - 5400
2353*cdf0e10cSrcweir {
2354*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2355*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2356*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2357*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2358*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2359*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2360*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },							// scaling	 6
2361*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2362*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2363*cdf0e10cSrcweir 
2364*cdf0e10cSrcweir 	{ 0x4001, { -8000, 0x0406, 1 } },	// 9
2365*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0408, 0 } },	// a
2366*cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// b
2367*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0407, 0 } },	// c
2368*cdf0e10cSrcweir 	{ 0x4001, { -5000, 0x0406, 1 } },	// d
2369*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0408, 0 } },	// e
2370*cdf0e10cSrcweir 	{ 0x4001, { -7000, 0x0406, 1 } },	// f
2371*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2372*cdf0e10cSrcweir 	{ 0x4001, { 5000, 0x0406, 1 } },	// 11
2373*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2374*cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 13
2375*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2376*cdf0e10cSrcweir 	{ 0x4001, { 8000, 0x0406, 1 } },	// 15
2377*cdf0e10cSrcweir 	{ 0x6000, { 0x0415,0x0407, 0 } },	// 16
2378*cdf0e10cSrcweir 	{ 0x4001, { 6100, 0x0406, 1 } },	// 17
2379*cdf0e10cSrcweir 	{ 0x6000, { 0x0417,0x0407, 0 } },	// 18
2380*cdf0e10cSrcweir 	{ 0x4001, { 8260, 0x0406, 1 } },	// 19
2381*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0408, 0 } },	// 1a
2382*cdf0e10cSrcweir 	{ 0x4001, { -6100, 0x0406, 1 } },	// 1b
2383*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2384*cdf0e10cSrcweir 	{ 0x4001, { -8000, 0x0406, 1 } },	// 1d
2385*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2386*cdf0e10cSrcweir 	{ 0x4001, { -1060, 0x0406, 1 } },	// 1f
2387*cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
2388*cdf0e10cSrcweir 	{ 0x4001, { 1060, 0x0406, 1 } },	// 21
2389*cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2390*cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 23
2391*cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } }	// 24
2392*cdf0e10cSrcweir 
2393*cdf0e10cSrcweir };
2394*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHome =
2395*cdf0e10cSrcweir {
2396*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonHomeVert, sizeof( mso_sptActionButtonHomeVert ) / sizeof( SvxMSDffVertPair ),
2397*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1,
2398*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, sizeof( mso_sptActionButtonHomeCalc ) / sizeof( SvxMSDffCalculationData ),
2399*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2400*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2401*cdf0e10cSrcweir 	21600, 21600,
2402*cdf0e10cSrcweir 	10800, 10800,
2403*cdf0e10cSrcweir 	NULL, 0,
2404*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2405*cdf0e10cSrcweir };
2406*cdf0e10cSrcweir 
2407*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHelpVert[] =
2408*cdf0e10cSrcweir {
2409*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2410*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2411*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2412*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2413*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I,4 MSO_I },
2414*cdf0e10cSrcweir 	{ 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 },
2415*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x16 MSO_I },								// pp
2416*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x18 MSO_I },	{ 0x1a MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I },		// ccp
2417*cdf0e10cSrcweir 	{ 0x1e MSO_I, 8 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I },	// ccp
2418*cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },	// ccp
2419*cdf0e10cSrcweir 	{ 0x2c MSO_I, 0x2a MSO_I }, { 0x2e MSO_I, 0x26 MSO_I }, { 0x2e MSO_I, 0x24 MSO_I },	// ccp
2420*cdf0e10cSrcweir 	{ 0x30 MSO_I, 0x24 MSO_I }, { 0x30 MSO_I, 0x32 MSO_I }, { 0x34 MSO_I, 0x36 MSO_I },	// ccp
2421*cdf0e10cSrcweir 	{ 7 MSO_I, 0x36 MSO_I },															// p
2422*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x36 MSO_I }, { 0x1c MSO_I, 0x32 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I },	// ccp
2423*cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x38 MSO_I }, { 0x3a MSO_I, 0x3c MSO_I }, { 0x12 MSO_I, 0x3c MSO_I },	// ccp
2424*cdf0e10cSrcweir 	{ 7 MSO_I, 0x3c MSO_I }, { 0x34 MSO_I, 8 MSO_I }, { 0x34 MSO_I, 0x16 MSO_I },		// ccp
2425*cdf0e10cSrcweir 	{ 0x34 MSO_I, 0x14 MSO_I }
2426*cdf0e10cSrcweir };
2427*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHelpSegm[] =
2428*cdf0e10cSrcweir {
2429*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2430*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2431*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2432*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2433*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2434*cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2435*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000
2436*cdf0e10cSrcweir };
2437*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc[] =	// adj value 0 - 5400
2438*cdf0e10cSrcweir {
2439*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2440*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2441*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2442*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2443*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2444*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2445*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2446*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2447*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2448*cdf0e10cSrcweir 
2449*cdf0e10cSrcweir 	{ 0x4001, { -1690, 0x0406, 1 } },	// 9
2450*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2451*cdf0e10cSrcweir 	{ 0x4001, { 4600, 0x0406, 1 } },	// b
2452*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2453*cdf0e10cSrcweir 	{ 0x4001, { 1690, 0x0406, 1 } },	// d
2454*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2455*cdf0e10cSrcweir 	{ 0x4001, { 7980, 0x0406, 1 } },	// f
2456*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2457*cdf0e10cSrcweir 	{ 0x4001, { 1270, 0x0406, 1 } },	// 11
2458*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2459*cdf0e10cSrcweir 	{ 0x4001, { 4000, 0x0406, 1 } },	// 13
2460*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2461*cdf0e10cSrcweir 	{ 0x4001, { 1750, 0x0406, 1 } },	// 15
2462*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2463*cdf0e10cSrcweir 	{ 0x4001, { 800, 0x0406, 1 } },		// 17
2464*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
2465*cdf0e10cSrcweir 	{ 0x4001, { 1650, 0x0406, 1 } },	// 19
2466*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2467*cdf0e10cSrcweir 	{ 0x4001, { 2340, 0x0406, 1 } },	// 1b
2468*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2469*cdf0e10cSrcweir 	{ 0x4001, { 3640, 0x0406, 1 } },	// 1d
2470*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2471*cdf0e10cSrcweir 	{ 0x4001, { 4670, 0x0406, 1 } },	// 1f
2472*cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
2473*cdf0e10cSrcweir 	{ 0x4001, { -1570, 0x0406, 1 } },	// 21
2474*cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0408, 0 } },	// 22
2475*cdf0e10cSrcweir 	{ 0x4001, { -3390, 0x0406, 1 } },	// 23
2476*cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
2477*cdf0e10cSrcweir 	{ 0x4001, { -6050, 0x0406, 1 } },	// 25
2478*cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
2479*cdf0e10cSrcweir 	{ 0x4001, { 2540, 0x0406, 1 } },	// 27
2480*cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0407, 0 } },	// 28
2481*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 29
2482*cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2483*cdf0e10cSrcweir 	{ 0x4001, { -2540, 0x0406, 1 } },	// 2b
2484*cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0407, 0 } },	// 2c
2485*cdf0e10cSrcweir 	{ 0x4001, { -4460, 0x0406, 1 } },	// 2d
2486*cdf0e10cSrcweir 	{ 0x6000, { 0x042d, 0x0407, 0 } },	// 2e
2487*cdf0e10cSrcweir 	{ 0x4001, { -2330, 0x0406, 1 } },	// 2f
2488*cdf0e10cSrcweir 	{ 0x6000, { 0x042f, 0x0407, 0 } },	// 30
2489*cdf0e10cSrcweir 	{ 0x4001, { -4700, 0x0406, 1 } },	// 31
2490*cdf0e10cSrcweir 	{ 0x6000, { 0x0431, 0x0408, 0 } },	// 32
2491*cdf0e10cSrcweir 	{ 0x4001, { -1270, 0x0406, 1 } },	// 33
2492*cdf0e10cSrcweir 	{ 0x6000, { 0x0433, 0x0407, 0 } },	// 34
2493*cdf0e10cSrcweir 	{ 0x4001, { -5720, 0x0406, 1 } },	// 35
2494*cdf0e10cSrcweir 	{ 0x6000, { 0x0435, 0x0408, 0 } },	// 36
2495*cdf0e10cSrcweir 	{ 0x4001, { -2540, 0x0406, 1 } },	// 37
2496*cdf0e10cSrcweir 	{ 0x6000, { 0x0437, 0x0408, 0 } },	// 38
2497*cdf0e10cSrcweir 	{ 0x4001, { 1800, 0x0406, 1 } },	// 39
2498*cdf0e10cSrcweir 	{ 0x6000, { 0x0439, 0x0407, 0 } },	// 3a
2499*cdf0e10cSrcweir 	{ 0x4001, { -1700, 0x0406, 1 } },	// 3b
2500*cdf0e10cSrcweir 	{ 0x6000, { 0x043b, 0x0408, 0 } },	// 3c
2501*cdf0e10cSrcweir 	{ 0x4001, { 6290, 0x0406, 1 } },	// 3d
2502*cdf0e10cSrcweir 	{ 0x6000, { 0x043d, 0x0408, 0 } }	// 3e
2503*cdf0e10cSrcweir };
2504*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHelp =
2505*cdf0e10cSrcweir {
2506*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonHelpVert, sizeof( mso_sptActionButtonHelpVert ) / sizeof( SvxMSDffVertPair ),
2507*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1,
2508*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, sizeof( mso_sptActionButtonHelpCalc ) / sizeof( SvxMSDffCalculationData ),
2509*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2510*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2511*cdf0e10cSrcweir 	21600, 21600,
2512*cdf0e10cSrcweir 	10800, 10800,
2513*cdf0e10cSrcweir 	NULL, 0,
2514*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2515*cdf0e10cSrcweir };
2516*cdf0e10cSrcweir 
2517*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonInformationVert[] =
2518*cdf0e10cSrcweir {
2519*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2520*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2521*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2522*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2523*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2524*cdf0e10cSrcweir 	{ 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 },
2525*cdf0e10cSrcweir 	{ 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 },
2526*cdf0e10cSrcweir 	{ 0x1a MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x20 MSO_I },
2527*cdf0e10cSrcweir 	{ 0x22 MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x20 MSO_I },
2528*cdf0e10cSrcweir 	{ 0x26 MSO_I, 0x28 MSO_I }, { 0x1a MSO_I, 0x28 MSO_I }
2529*cdf0e10cSrcweir };
2530*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonInformationSegm[] =
2531*cdf0e10cSrcweir {
2532*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2533*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2534*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2535*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2536*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2537*cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2538*cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2539*cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
2540*cdf0e10cSrcweir };
2541*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc[] =	// adj value 0 - 5400
2542*cdf0e10cSrcweir {
2543*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2544*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2545*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2546*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2547*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2548*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2549*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2550*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2551*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2552*cdf0e10cSrcweir 
2553*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2554*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2555*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2556*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2557*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2558*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2559*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2560*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2561*cdf0e10cSrcweir 
2562*cdf0e10cSrcweir 	{ 0x4001, { -2060, 0x0406, 1 } },	// 11
2563*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2564*cdf0e10cSrcweir 	{ 0x4001, { -7620, 0x0406, 1 } },	// 13
2565*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2566*cdf0e10cSrcweir 	{ 0x4001, { 2060, 0x0406, 1 } },	// 15
2567*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
2568*cdf0e10cSrcweir 	{ 0x4001, { -3500, 0x0406, 1 } },	// 17
2569*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
2570*cdf0e10cSrcweir 
2571*cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 19
2572*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2573*cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 1b
2574*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0408, 0 } },	// 1c
2575*cdf0e10cSrcweir 	{ 0x4001, { 1480, 0x0406, 1 } },	// 1d
2576*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2577*cdf0e10cSrcweir 	{ 0x4001, { 5080, 0x0406, 1 } },	// 1f
2578*cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0408, 0 } },	// 20
2579*cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// 21
2580*cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2581*cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 23
2582*cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
2583*cdf0e10cSrcweir 	{ 0x4001, { -1480, 0x0406, 1 } },	// 25
2584*cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0407, 0 } },	// 26
2585*cdf0e10cSrcweir 	{ 0x4001, { -1920, 0x0406, 1 } },	// 27
2586*cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0408, 0 } },	// 28
2587*cdf0e10cSrcweir 
2588*cdf0e10cSrcweir 	{ 0x4001, { -5560, 0x0406, 1 } },	// 29
2589*cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2590*cdf0e10cSrcweir 
2591*cdf0e10cSrcweir };
2592*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonInformation =
2593*cdf0e10cSrcweir {
2594*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonInformationVert, sizeof( mso_sptActionButtonInformationVert ) / sizeof( SvxMSDffVertPair ),
2595*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1,
2596*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, sizeof( mso_sptActionButtonInformationCalc ) / sizeof( SvxMSDffCalculationData ),
2597*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2598*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2599*cdf0e10cSrcweir 	21600, 21600,
2600*cdf0e10cSrcweir 	10800, 10800,
2601*cdf0e10cSrcweir 	NULL, 0,
2602*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2603*cdf0e10cSrcweir };
2604*cdf0e10cSrcweir 
2605*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert[] =
2606*cdf0e10cSrcweir {
2607*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2608*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2609*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2610*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I,4 MSO_I },
2611*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2612*cdf0e10cSrcweir 
2613*cdf0e10cSrcweir 	{ 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }
2614*cdf0e10cSrcweir };
2615*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonForwardBackSegm[] =
2616*cdf0e10cSrcweir {
2617*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2618*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2619*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2620*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2621*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2622*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
2623*cdf0e10cSrcweir };
2624*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc[] =	// adj value 0 - 5400
2625*cdf0e10cSrcweir {
2626*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2627*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2628*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2629*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2630*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2631*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2632*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2633*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2634*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2635*cdf0e10cSrcweir 
2636*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2637*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2638*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2639*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2640*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2641*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2642*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2643*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } }	// 10
2644*cdf0e10cSrcweir };
2645*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBackPrevious =
2646*cdf0e10cSrcweir {
2647*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBackPreviousVert, sizeof( mso_sptActionButtonBackPreviousVert ) / sizeof( SvxMSDffVertPair ),
2648*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
2649*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ),
2650*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2651*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2652*cdf0e10cSrcweir 	21600, 21600,
2653*cdf0e10cSrcweir 	10800, 10800,
2654*cdf0e10cSrcweir 	NULL, 0,
2655*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2656*cdf0e10cSrcweir };
2657*cdf0e10cSrcweir 
2658*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert[] =
2659*cdf0e10cSrcweir {
2660*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2661*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2662*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2663*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2664*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2665*cdf0e10cSrcweir 
2666*cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0xa MSO_I, 0x10 MSO_I }
2667*cdf0e10cSrcweir };
2668*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonForwardNext =
2669*cdf0e10cSrcweir {
2670*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonForwardNextVert, sizeof( mso_sptActionButtonForwardNextVert ) / sizeof( SvxMSDffVertPair ),
2671*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
2672*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ),
2673*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2674*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2675*cdf0e10cSrcweir 	21600, 21600,
2676*cdf0e10cSrcweir 	10800, 10800,
2677*cdf0e10cSrcweir 	NULL, 0,
2678*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2679*cdf0e10cSrcweir };
2680*cdf0e10cSrcweir 
2681*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBeginningVert[] =
2682*cdf0e10cSrcweir {
2683*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2684*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2685*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2686*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2687*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2688*cdf0e10cSrcweir 
2689*cdf0e10cSrcweir 	{ 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
2690*cdf0e10cSrcweir 	{ 0x14 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }
2691*cdf0e10cSrcweir };
2692*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBeginningEndSegm[] =
2693*cdf0e10cSrcweir {
2694*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2695*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2696*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2697*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2698*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2699*cdf0e10cSrcweir 
2700*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
2701*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2702*cdf0e10cSrcweir };
2703*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc[] =	// adj value 0 - 5400
2704*cdf0e10cSrcweir {
2705*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2706*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2707*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2708*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2709*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2710*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2711*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2712*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2713*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2714*cdf0e10cSrcweir 
2715*cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// 9
2716*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2717*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2718*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2719*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2720*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2721*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2722*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2723*cdf0e10cSrcweir 
2724*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 11
2725*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2726*cdf0e10cSrcweir 	{ 0x4001, { -6140, 0x0406, 1 } },	// 13
2727*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
2728*cdf0e10cSrcweir 
2729*cdf0e10cSrcweir 
2730*cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 15
2731*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
2732*cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 17
2733*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } }	// 18
2734*cdf0e10cSrcweir };
2735*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBeginning =
2736*cdf0e10cSrcweir {
2737*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBeginningVert, sizeof( mso_sptActionButtonBeginningVert ) / sizeof( SvxMSDffVertPair ),
2738*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
2739*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ),
2740*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2741*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2742*cdf0e10cSrcweir 	21600, 21600,
2743*cdf0e10cSrcweir 	10800, 10800,
2744*cdf0e10cSrcweir 	NULL, 0,
2745*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2746*cdf0e10cSrcweir };
2747*cdf0e10cSrcweir 
2748*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonEndVert[] =
2749*cdf0e10cSrcweir {
2750*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2751*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2752*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2753*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2754*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 },	{ 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2755*cdf0e10cSrcweir 
2756*cdf0e10cSrcweir 	{ 0x16 MSO_I, 8 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
2757*cdf0e10cSrcweir 
2758*cdf0e10cSrcweir 	{ 0x18 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0xc MSO_I }
2759*cdf0e10cSrcweir };
2760*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonEnd =
2761*cdf0e10cSrcweir {
2762*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonEndVert, sizeof( mso_sptActionButtonEndVert ) / sizeof( SvxMSDffVertPair ),
2763*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
2764*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ),
2765*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2766*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2767*cdf0e10cSrcweir 	21600, 21600,
2768*cdf0e10cSrcweir 	10800, 10800,
2769*cdf0e10cSrcweir 	NULL, 0,
2770*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2771*cdf0e10cSrcweir };
2772*cdf0e10cSrcweir 
2773*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonReturnVert[] =
2774*cdf0e10cSrcweir {
2775*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2776*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2777*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600,	21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2778*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2779*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2780*cdf0e10cSrcweir 
2781*cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I },	{ 0xe MSO_I, 0x10 MSO_I },							// ppp
2782*cdf0e10cSrcweir 	{ 0xe MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 0x16 MSO_I },						// ccp
2783*cdf0e10cSrcweir 	{ 7 MSO_I, 0x16 MSO_I },																				// p
2784*cdf0e10cSrcweir 	{ 0x1a MSO_I, 0x16 MSO_I }, { 0x1c MSO_I, 0x12 MSO_I }, { 0x1c MSO_I, 0x10 MSO_I },						// ccp
2785*cdf0e10cSrcweir 	{ 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
2786*cdf0e10cSrcweir 	{ 0x24 MSO_I, 0xc MSO_I }, { 0x24 MSO_I, 0x10 MSO_I },													// pp
2787*cdf0e10cSrcweir 	{ 0x24 MSO_I, 0x26 MSO_I },	{ 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },						// ccp
2788*cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x2a MSO_I },																				// p
2789*cdf0e10cSrcweir 	{ 0x2c MSO_I, 0x2a MSO_I }, { 0xa MSO_I, 0x26 MSO_I }, { 0xa MSO_I,	0x10 MSO_I }						// ccp
2790*cdf0e10cSrcweir };
2791*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonReturnSegm[] =
2792*cdf0e10cSrcweir {
2793*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2794*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2795*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2796*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2797*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2798*cdf0e10cSrcweir 	0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000
2799*cdf0e10cSrcweir };
2800*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc[] =	// adj value 0 - 5400
2801*cdf0e10cSrcweir {
2802*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2803*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2804*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2805*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2806*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2807*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2808*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2809*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2810*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2811*cdf0e10cSrcweir 
2812*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2813*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2814*cdf0e10cSrcweir 	{ 0x4001, { -3800, 0x0406, 1 } },	// b
2815*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2816*cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// d
2817*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2818*cdf0e10cSrcweir 	{ 0x4001, { 2330, 0x0406, 1 } },	// f
2819*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2820*cdf0e10cSrcweir 	{ 0x4001, { 3390, 0x0406, 1 } },	// 11
2821*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2822*cdf0e10cSrcweir 	{ 0x4001, { -3100, 0x0406, 1 } },	// 13
2823*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
2824*cdf0e10cSrcweir 	{ 0x4001, { 4230, 0x0406, 1 } },	// 15
2825*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2826*cdf0e10cSrcweir 	{ 0x4001, { -1910, 0x0406, 1 } },	// 17
2827*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } },	// 18
2828*cdf0e10cSrcweir 	{ 0x4001, { 1190, 0x0406, 1 } },	// 19
2829*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2830*cdf0e10cSrcweir 	{ 0x4001, { 2110, 0x0406, 1 } },	// 1b
2831*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2832*cdf0e10cSrcweir 	{ 0x4001, { 4030, 0x0406, 1 } },	// 1d
2833*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2834*cdf0e10cSrcweir 	{ 0x4001, { -7830, 0x0406, 1 } },	// 1f
2835*cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0408, 0 } },	// 20
2836*cdf0e10cSrcweir 	{ 0x4001, { 8250, 0x0406, 1 } },	// 21
2837*cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2838*cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 23
2839*cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0407, 0 } },	// 24
2840*cdf0e10cSrcweir 	{ 0x4001, { 5510, 0x0406, 1 } },	// 25
2841*cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
2842*cdf0e10cSrcweir 	{ 0x4001, { 3180, 0x0406, 1 } },	// 27
2843*cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0407, 0 } },	// 28
2844*cdf0e10cSrcweir 	{ 0x4001, { 8450, 0x0406, 1 } },	// 29
2845*cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2846*cdf0e10cSrcweir 	{ 0x4001, { -5090, 0x0406, 1 } },	// 2b
2847*cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0407, 0 } }	// 2c
2848*cdf0e10cSrcweir };
2849*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonReturn =
2850*cdf0e10cSrcweir {
2851*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonReturnVert, sizeof( mso_sptActionButtonReturnVert ) / sizeof( SvxMSDffVertPair ),
2852*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1,
2853*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, sizeof( mso_sptActionButtonReturnCalc ) / sizeof( SvxMSDffCalculationData ),
2854*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2855*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2856*cdf0e10cSrcweir 	21600, 21600,
2857*cdf0e10cSrcweir 	10800, 10800,
2858*cdf0e10cSrcweir 	NULL, 0,
2859*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2860*cdf0e10cSrcweir };
2861*cdf0e10cSrcweir 
2862*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonDocumentVert[] =
2863*cdf0e10cSrcweir {
2864*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2865*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2866*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2867*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2868*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2869*cdf0e10cSrcweir 
2870*cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
2871*cdf0e10cSrcweir 	{ 0xa MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0xe MSO_I, 0x12 MSO_I }
2872*cdf0e10cSrcweir };
2873*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonDocumentSegm[] =
2874*cdf0e10cSrcweir {
2875*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2876*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2877*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2878*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2879*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2880*cdf0e10cSrcweir 
2881*cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000,
2882*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
2883*cdf0e10cSrcweir };
2884*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc[] =	// adj value 0 - 5400
2885*cdf0e10cSrcweir {
2886*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2887*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2888*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2889*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2890*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2891*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2892*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2893*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2894*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2895*cdf0e10cSrcweir 
2896*cdf0e10cSrcweir 	{ 0x4001, { -6350, 0x0406, 1 } },	// 9
2897*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2898*cdf0e10cSrcweir 	{ 0x4001, { -7830, 0x0406, 1 } },	// b
2899*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2900*cdf0e10cSrcweir 	{ 0x4001, { 1690, 0x0406, 1 } },	// d
2901*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2902*cdf0e10cSrcweir 	{ 0x4001, { 6350, 0x0406, 1 } },	// f
2903*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
2904*cdf0e10cSrcweir 	{ 0x4001, { -3810, 0x0406, 1 } },	// 11
2905*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2906*cdf0e10cSrcweir 	{ 0x4001, { 7830, 0x0406, 1 } },	// 13
2907*cdf0e10cSrcweir     { 0x6000, { 0x0413, 0x0408, 0 } }	// 14
2908*cdf0e10cSrcweir };
2909*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonDocument =
2910*cdf0e10cSrcweir {
2911*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonDocumentVert, sizeof( mso_sptActionButtonDocumentVert ) / sizeof( SvxMSDffVertPair ),
2912*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1,
2913*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, sizeof( mso_sptActionButtonDocumentCalc ) / sizeof( SvxMSDffCalculationData ),
2914*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2915*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2916*cdf0e10cSrcweir 	21600, 21600,
2917*cdf0e10cSrcweir 	10800, 10800,
2918*cdf0e10cSrcweir 	NULL, 0,
2919*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2920*cdf0e10cSrcweir };
2921*cdf0e10cSrcweir 
2922*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonSoundVert[] =
2923*cdf0e10cSrcweir {
2924*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2925*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2926*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2927*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2928*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2929*cdf0e10cSrcweir 
2930*cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
2931*cdf0e10cSrcweir 	{ 0xe MSO_I, 0x16 MSO_I }, { 0xa MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1a MSO_I, 8 MSO_I },
2932*cdf0e10cSrcweir 
2933*cdf0e10cSrcweir 	{ 0x18 MSO_I, 0xc MSO_I }, { 0x1a MSO_I, 0x1c MSO_I },
2934*cdf0e10cSrcweir 
2935*cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x16 MSO_I }, { 0x1a MSO_I, 0x1e MSO_I }
2936*cdf0e10cSrcweir };
2937*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonSoundSegm[] =
2938*cdf0e10cSrcweir {
2939*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2940*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2941*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2942*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2943*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2944*cdf0e10cSrcweir 
2945*cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000,
2946*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
2947*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
2948*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
2949*cdf0e10cSrcweir };
2950*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc[] =	// adj value 0 - 5400
2951*cdf0e10cSrcweir {
2952*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2953*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2954*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2955*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2956*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2957*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2958*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2959*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2960*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2961*cdf0e10cSrcweir 
2962*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2963*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2964*cdf0e10cSrcweir 	{ 0x4001, { -2750, 0x0406, 1 } },	// b
2965*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2966*cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// d
2967*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2968*cdf0e10cSrcweir 	{ 0x4001, { 2120, 0x0406, 1 } },	// f
2969*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
2970*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 11
2971*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2972*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 13
2973*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2974*cdf0e10cSrcweir 	{ 0x4001, { 2750, 0x0406, 1 } },	// 15
2975*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2976*cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 17
2977*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } },	// 18
2978*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 19
2979*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2980*cdf0e10cSrcweir 	{ 0x4001, { -5930, 0x0406, 1 } },	// 1b
2981*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0408, 0 } },	// 1c
2982*cdf0e10cSrcweir 	{ 0x4001, { 5930, 0x0406, 1 } },	// 1d
2983*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0408, 0 } }	// 1e
2984*cdf0e10cSrcweir };
2985*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonSound =
2986*cdf0e10cSrcweir {
2987*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonSoundVert, sizeof( mso_sptActionButtonSoundVert ) / sizeof( SvxMSDffVertPair ),
2988*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1,
2989*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, sizeof( mso_sptActionButtonSoundCalc ) / sizeof( SvxMSDffCalculationData ),
2990*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2991*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2992*cdf0e10cSrcweir 	21600, 21600,
2993*cdf0e10cSrcweir 	10800, 10800,
2994*cdf0e10cSrcweir 	NULL, 0,
2995*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2996*cdf0e10cSrcweir };
2997*cdf0e10cSrcweir 
2998*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonMovieVert[] =
2999*cdf0e10cSrcweir {
3000*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
3001*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
3002*cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
3003*cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
3004*cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
3005*cdf0e10cSrcweir 
3006*cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x12 MSO_I },
3007*cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1e MSO_I, 0x18 MSO_I },
3008*cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x1e MSO_I, 0x22 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I },
3009*cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x28 MSO_I },
3010*cdf0e10cSrcweir 	{ 0x10 MSO_I, 0x28 MSO_I },	{ 0xe MSO_I, 0x2c MSO_I }, { 0xa MSO_I, 0x2c MSO_I }
3011*cdf0e10cSrcweir };
3012*cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonMovieSegm[] =
3013*cdf0e10cSrcweir {
3014*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3015*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3016*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3017*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3018*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3019*cdf0e10cSrcweir 	0x4000, 0x0012, 0x6001, 0x8000
3020*cdf0e10cSrcweir };
3021*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc[] =	// adj value 0 - 5400
3022*cdf0e10cSrcweir {
3023*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3024*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3025*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3026*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3027*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3028*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
3029*cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
3030*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
3031*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
3032*cdf0e10cSrcweir 
3033*cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
3034*cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
3035*cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// b
3036*cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
3037*cdf0e10cSrcweir 	{ 0x4001, { -7000, 0x0406, 1 } },	// d
3038*cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
3039*cdf0e10cSrcweir 	{ 0x4001, { -6560, 0x0406, 1 } },	// f
3040*cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
3041*cdf0e10cSrcweir 	{ 0x4001, { -3600, 0x0406, 1 } },	// 11
3042*cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
3043*cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 13
3044*cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
3045*cdf0e10cSrcweir 	{ 0x4001, { 4660, 0x0406, 1 } },	// 15
3046*cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
3047*cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 17
3048*cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
3049*cdf0e10cSrcweir 	{ 0x4001, { -2330, 0x0406, 1 } },	// 19
3050*cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0408, 0 } },	// 1a
3051*cdf0e10cSrcweir 	{ 0x4001, { 6780, 0x0406, 1 } },	// 1b
3052*cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
3053*cdf0e10cSrcweir 	{ 0x4001, { 7200, 0x0406, 1 } },	// 1d
3054*cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
3055*cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 1f
3056*cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
3057*cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// 21
3058*cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0408, 0 } },	// 22
3059*cdf0e10cSrcweir 	{ 0x4001, { 2330, 0x0406, 1 } },	// 23
3060*cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
3061*cdf0e10cSrcweir 	{ 0x4001, { 3800, 0x0406, 1 } },	// 25
3062*cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
3063*cdf0e10cSrcweir 	{ 0x4001, { -1060, 0x0406, 1 } },	// 27
3064*cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0408, 0 } },	// 28
3065*cdf0e10cSrcweir 	{ 0x4001, { -6350, 0x0406, 1 } },	// 29
3066*cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0407, 0 } },	// 2a
3067*cdf0e10cSrcweir 	{ 0x4001, { -640, 0x0406, 1 } },	// 2b
3068*cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0408, 0 } }	// 2c
3069*cdf0e10cSrcweir };
3070*cdf0e10cSrcweir static const mso_CustomShape msoActionButtonMovie =
3071*cdf0e10cSrcweir {
3072*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonMovieVert, sizeof( mso_sptActionButtonMovieVert ) / sizeof( SvxMSDffVertPair ),
3073*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1,
3074*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, sizeof( mso_sptActionButtonMovieCalc ) / sizeof( SvxMSDffCalculationData ),
3075*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
3076*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
3077*cdf0e10cSrcweir 	21600, 21600,
3078*cdf0e10cSrcweir 	10800, 10800,
3079*cdf0e10cSrcweir 	NULL, 0,
3080*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
3081*cdf0e10cSrcweir };
3082*cdf0e10cSrcweir 
3083*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSmileyFaceVert[] =	// adj value 15510 - 17520
3084*cdf0e10cSrcweir {
3085*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3086*cdf0e10cSrcweir 	{ 7305,	7515 }, { 1165, 1165 }, { 0, 360 },
3087*cdf0e10cSrcweir 	{ 14295, 7515 }, { 1165, 1165 }, { 0, 360 },
3088*cdf0e10cSrcweir 	{ 4870, 1 MSO_I }, { 8680, 2 MSO_I }, { 12920, 2 MSO_I }, { 16730, 1 MSO_I }
3089*cdf0e10cSrcweir };
3090*cdf0e10cSrcweir static const sal_uInt16 mso_sptSmileyFaceSegm[] =
3091*cdf0e10cSrcweir {
3092*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3093*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3094*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3095*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000
3096*cdf0e10cSrcweir };
3097*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSmileyFaceCalc[] =
3098*cdf0e10cSrcweir {
3099*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 15510 } },
3100*cdf0e10cSrcweir 	{ 0x8000, { 17520, 0, 0x400 } },
3101*cdf0e10cSrcweir 	{ 0x4000, { 15510, 0x400, 0 } }
3102*cdf0e10cSrcweir };
3103*cdf0e10cSrcweir 
3104*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect[] =
3105*cdf0e10cSrcweir {
3106*cdf0e10cSrcweir 	{ { 0, 1 MSO_I }, { 4 MSO_I, 21600 } }
3107*cdf0e10cSrcweir };
3108*cdf0e10cSrcweir static const sal_Int32 mso_sptSmileyFaceDefault[] =
3109*cdf0e10cSrcweir {
3110*cdf0e10cSrcweir 	1, 17520
3111*cdf0e10cSrcweir };
3112*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSmileyHandle[] =
3113*cdf0e10cSrcweir {
3114*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3115*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 15510, 17520 }
3116*cdf0e10cSrcweir };
3117*cdf0e10cSrcweir static const mso_CustomShape msoSmileyFace =
3118*cdf0e10cSrcweir {
3119*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSmileyFaceVert, sizeof( mso_sptSmileyFaceVert ) / sizeof( SvxMSDffVertPair ),
3120*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1,
3121*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, sizeof( mso_sptSmileyFaceCalc ) / sizeof( SvxMSDffCalculationData ),
3122*cdf0e10cSrcweir 	(sal_Int32*)mso_sptSmileyFaceDefault,
3123*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3124*cdf0e10cSrcweir 	21600, 21600,
3125*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3126*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3127*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSmileyHandle, sizeof( mso_sptSmileyHandle ) / sizeof( SvxMSDffHandle )		// handles
3128*cdf0e10cSrcweir };
3129*cdf0e10cSrcweir 
3130*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDonutVert[] =	// adj value 0 - 10800
3131*cdf0e10cSrcweir {
3132*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3133*cdf0e10cSrcweir 	{ 10800, 10800 }, { 1 MSO_I, 1 MSO_I }, { 0, 360 }
3134*cdf0e10cSrcweir };
3135*cdf0e10cSrcweir static const sal_uInt16 mso_sptDonutSegm[] =
3136*cdf0e10cSrcweir {
3137*cdf0e10cSrcweir 	0xa203, 0x6000, 0xa203, 0x8000
3138*cdf0e10cSrcweir };
3139*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDonutCalc[] =
3140*cdf0e10cSrcweir {
3141*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3142*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
3143*cdf0e10cSrcweir };
3144*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDonutHandle[] =
3145*cdf0e10cSrcweir {
3146*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3147*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3148*cdf0e10cSrcweir };
3149*cdf0e10cSrcweir static const mso_CustomShape msoDonut =
3150*cdf0e10cSrcweir {
3151*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDonutVert, sizeof( mso_sptDonutVert ) / sizeof( SvxMSDffVertPair ),
3152*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1,
3153*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDonutCalc, sizeof( mso_sptDonutCalc ) / sizeof( SvxMSDffCalculationData ),
3154*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
3155*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3156*cdf0e10cSrcweir 	21600, 21600,
3157*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3158*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3159*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDonutHandle, sizeof( mso_sptDonutHandle ) / sizeof( SvxMSDffHandle )		// handles
3160*cdf0e10cSrcweir };
3161*cdf0e10cSrcweir 
3162*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNoSmokingVert[] =	// adj value 0 - 7200
3163*cdf0e10cSrcweir {
3164*cdf0e10cSrcweir 	{ 10800, 10800 },  { 10800,	10800 }, { 0, 360 },
3165*cdf0e10cSrcweir 	{ 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
3166*cdf0e10cSrcweir 	{ 9 MSO_I, 0xa MSO_I }, { 0xb MSO_I, 0xc MSO_I }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
3167*cdf0e10cSrcweir 	{ 0xd MSO_I, 0xe MSO_I }, { 0xf MSO_I, 0x10 MSO_I }
3168*cdf0e10cSrcweir };
3169*cdf0e10cSrcweir static const sal_uInt16 mso_sptNoSmokingSegm[] =
3170*cdf0e10cSrcweir {
3171*cdf0e10cSrcweir 	0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000
3172*cdf0e10cSrcweir };
3173*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] =
3174*cdf0e10cSrcweir {
3175*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			// 0
3176*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },		// 1
3177*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },		// 2
3178*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },			// 3
3179*cdf0e10cSrcweir 	{ 0xa080, { 0x403, 0, 0x402 } },					// 4
3180*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x403 } },					// 5 x1
3181*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x403, 0 } },					// 6 x2
3182*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x404 } },					// 7 y1
3183*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x404, 0 } },					// 8 y2
3184*cdf0e10cSrcweir 	{ 0x6081, { 0x405, 0x407, 45 } },					// 9
3185*cdf0e10cSrcweir 	{ 0x6082, { 0x405, 0x407, 45 } },					// a
3186*cdf0e10cSrcweir 	{ 0x6081, { 0x405, 0x408, 45 } },					// b
3187*cdf0e10cSrcweir 	{ 0x6082, { 0x405, 0x408, 45 } },					// c
3188*cdf0e10cSrcweir 	{ 0x6081, { 0x406, 0x408, 45 } },					// d
3189*cdf0e10cSrcweir 	{ 0x6082, { 0x406, 0x408, 45 } },					// e
3190*cdf0e10cSrcweir 	{ 0x6081, { 0x406, 0x407, 45 } },					// f
3191*cdf0e10cSrcweir 	{ 0x6082, { 0x406, 0x407, 45 } }					// 10
3192*cdf0e10cSrcweir };
3193*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNoSmokingHandle[] =
3194*cdf0e10cSrcweir {
3195*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3196*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0, 7200, 0x80000000, 0x7fffffff }
3197*cdf0e10cSrcweir };
3198*cdf0e10cSrcweir static const mso_CustomShape msoNoSmoking =
3199*cdf0e10cSrcweir {
3200*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptNoSmokingVert, sizeof( mso_sptNoSmokingVert ) / sizeof( SvxMSDffVertPair ),
3201*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1,
3202*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptNoSmokingCalc, sizeof( mso_sptNoSmokingCalc ) / sizeof( SvxMSDffCalculationData ),
3203*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
3204*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3205*cdf0e10cSrcweir 	21600, 21600,
3206*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3207*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3208*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptNoSmokingHandle, sizeof( mso_sptNoSmokingHandle ) / sizeof( SvxMSDffHandle )		// handles
3209*cdf0e10cSrcweir };
3210*cdf0e10cSrcweir 
3211*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBlockArcVert[] =	// adj value 0 (degrees)
3212*cdf0e10cSrcweir {														// adj value 1:	0 -> 10800;
3213*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
3214*cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
3215*cdf0e10cSrcweir };
3216*cdf0e10cSrcweir static const sal_uInt16 mso_sptBlockArcSegm[] =
3217*cdf0e10cSrcweir {
3218*cdf0e10cSrcweir 	0xA404, 0xa504, 0x6001, 0x8000
3219*cdf0e10cSrcweir };
3220*cdf0e10cSrcweir static const sal_Int32 mso_sptBlockArcDefault[] =
3221*cdf0e10cSrcweir {
3222*cdf0e10cSrcweir 	2, 180, 5400
3223*cdf0e10cSrcweir };
3224*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBlockArcCalc[] =
3225*cdf0e10cSrcweir {
3226*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
3227*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
3228*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
3229*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
3230*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
3231*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
3232*cdf0e10cSrcweir 	{ 0x4000, { 10800, DFF_Prop_adjust2Value, 0 } },
3233*cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },
3234*cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }
3235*cdf0e10cSrcweir };
3236*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBlockArcHandle[] =
3237*cdf0e10cSrcweir {
3238*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
3239*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3240*cdf0e10cSrcweir };
3241*cdf0e10cSrcweir static const mso_CustomShape msoBlockArc =
3242*cdf0e10cSrcweir {
3243*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBlockArcVert, sizeof( mso_sptBlockArcVert ) / sizeof( SvxMSDffVertPair ),
3244*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1,
3245*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBlockArcCalc, sizeof( mso_sptBlockArcCalc ) / sizeof( SvxMSDffCalculationData ),
3246*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBlockArcDefault,
3247*cdf0e10cSrcweir 	NULL, 0,
3248*cdf0e10cSrcweir 	21600, 21600,
3249*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3250*cdf0e10cSrcweir 	NULL, 0,
3251*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBlockArcHandle, sizeof( mso_sptBlockArcHandle ) / sizeof( SvxMSDffHandle )		// handles
3252*cdf0e10cSrcweir };
3253*cdf0e10cSrcweir 
3254*cdf0e10cSrcweir // aware : control points are always part of the bounding box
3255*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartVert[] =
3256*cdf0e10cSrcweir {
3257*cdf0e10cSrcweir 	{ 10800, 21599 }, { 321, 6886 }, { 70, 6036 },		// ppp
3258*cdf0e10cSrcweir 	{ -9, 5766 }, { -1,	5474 }, { 2, 5192 },			// ccp
3259*cdf0e10cSrcweir 	{ 6, 4918 }, { 43, 4641 }, { 101, 4370 },			// ccp
3260*cdf0e10cSrcweir 	{ 159, 4103 }, { 245, 3837 }, { 353, 3582 },		// ccp
3261*cdf0e10cSrcweir 	{ 460, 3326 }, { 591, 3077 }, { 741, 2839 },		// ccp
3262*cdf0e10cSrcweir 	{ 892, 2598 }, { 1066, 2369 }, { 1253, 2155 },		// ccp
3263*cdf0e10cSrcweir 	{ 1443,	1938 }, { 1651,	1732 }, { 1874,	1543 },		// ccp
3264*cdf0e10cSrcweir 	{ 2097,	1351 }, { 2337, 1174 }, { 2587, 1014 },		// ccp
3265*cdf0e10cSrcweir 	{ 2839,	854 }, { 3106, 708 }, { 3380, 584 },		// ccp
3266*cdf0e10cSrcweir 	{ 3656,	459 }, { 3945, 350 }, { 4237, 264 },		// ccp
3267*cdf0e10cSrcweir 	{ 4533,	176 }, { 4838, 108 }, { 5144, 66 },			// ccp
3268*cdf0e10cSrcweir 	{ 5454,	22 }, { 5771, 1 }, { 6086, 3 },				// ccp
3269*cdf0e10cSrcweir 	{ 6407,	7 }, { 6731, 35 }, { 7048, 89 },			// ccp
3270*cdf0e10cSrcweir 	{ 7374,	144 }, { 7700, 226 }, { 8015, 335 },		// ccp
3271*cdf0e10cSrcweir 	{ 8344,	447 }, { 8667, 590 }, { 8972, 756 },		// ccp
3272*cdf0e10cSrcweir 	{ 9297,	932 }, { 9613, 1135 }, { 9907, 1363 },		// ccp
3273*cdf0e10cSrcweir 	{ 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 },	// ccp
3274*cdf0e10cSrcweir 	{ 11697, 1363 },									// p
3275*cdf0e10cSrcweir 	{ 11971, 1116 }, { 12304, 934 }, { 12630, 756 },	// ccp
3276*cdf0e10cSrcweir 	{ 12935, 590 }, { 13528, 450 }, { 13589, 335 },		// ccp
3277*cdf0e10cSrcweir 	{ 13901, 226 }, { 14227, 144 }, { 14556, 89 },		// ccp
3278*cdf0e10cSrcweir 	{ 14872, 35 }, { 15195, 7 }, { 15517, 3 },			// ccp
3279*cdf0e10cSrcweir 	{ 15830, 0 }, { 16147, 22 }, { 16458, 66 },			// ccp
3280*cdf0e10cSrcweir 	{ 16764, 109 }, { 17068, 177 }, { 17365, 264 },		// ccp
3281*cdf0e10cSrcweir 	{ 17658, 349 }, { 17946, 458 }, { 18222, 584 },		// ccp
3282*cdf0e10cSrcweir 	{ 18496, 708 }, { 18762, 854 }, { 19015, 1014 },	// ccp
3283*cdf0e10cSrcweir 	{ 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 },	// ccp
3284*cdf0e10cSrcweir 	{ 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 },	// ccp
3285*cdf0e10cSrcweir 	{ 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 },	// ccp
3286*cdf0e10cSrcweir 	{ 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 },	// ccp
3287*cdf0e10cSrcweir 	{ 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 },	// ccp
3288*cdf0e10cSrcweir 	{ 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 },	// ccp
3289*cdf0e10cSrcweir 	{ 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 },	// ccp
3290*cdf0e10cSrcweir 	{ 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 },	// ccp
3291*cdf0e10cSrcweir 	{ 10802, 21602 }									// p
3292*cdf0e10cSrcweir };
3293*cdf0e10cSrcweir static const sal_uInt16 mso_sptHeartSegm[] =
3294*cdf0e10cSrcweir {
3295*cdf0e10cSrcweir 	0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000
3296*cdf0e10cSrcweir };
3297*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHeartTextRect[] =
3298*cdf0e10cSrcweir {
3299*cdf0e10cSrcweir 	{ { 5080, 2540 }, { 16520, 13550 } }
3300*cdf0e10cSrcweir };
3301*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartGluePoints[] =
3302*cdf0e10cSrcweir {
3303*cdf0e10cSrcweir 	{ 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 }
3304*cdf0e10cSrcweir };
3305*cdf0e10cSrcweir static const mso_CustomShape msoHeart =
3306*cdf0e10cSrcweir {
3307*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHeartVert, sizeof( mso_sptHeartVert ) / sizeof( SvxMSDffVertPair ),
3308*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1,
3309*cdf0e10cSrcweir 	NULL, 0,
3310*cdf0e10cSrcweir 	NULL,
3311*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHeartTextRect, sizeof( mso_sptHeartTextRect ) / sizeof( SvxMSDffTextRectangles ),
3312*cdf0e10cSrcweir 	21615, 21602,
3313*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3314*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHeartGluePoints, sizeof( mso_sptHeartGluePoints ) / sizeof( SvxMSDffVertPair ),
3315*cdf0e10cSrcweir 	NULL, 0		// handles
3316*cdf0e10cSrcweir };
3317*cdf0e10cSrcweir 
3318*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldVert[] =
3319*cdf0e10cSrcweir {
3320*cdf0e10cSrcweir 	{ 8458,	0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 },
3321*cdf0e10cSrcweir 	{ 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 },
3322*cdf0e10cSrcweir 	{ 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 }
3323*cdf0e10cSrcweir };
3324*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect[] =
3325*cdf0e10cSrcweir {
3326*cdf0e10cSrcweir 	{ { 8680, 7410 }, { 13970, 14190 } }
3327*cdf0e10cSrcweir };
3328*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldGluePoints[] =
3329*cdf0e10cSrcweir {
3330*cdf0e10cSrcweir 	{ 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 },
3331*cdf0e10cSrcweir 	{ 16558, 12016 }, { 12831, 6120 }
3332*cdf0e10cSrcweir };
3333*cdf0e10cSrcweir static const mso_CustomShape msoLightningBold =
3334*cdf0e10cSrcweir {
3335*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLightningBoldVert, sizeof( mso_sptLightningBoldVert ) / sizeof( SvxMSDffVertPair ),
3336*cdf0e10cSrcweir 	NULL, 0,
3337*cdf0e10cSrcweir 	NULL, 0,
3338*cdf0e10cSrcweir 	NULL,
3339*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, sizeof( mso_sptLightningBoldTextRect ) / sizeof( SvxMSDffTextRectangles ),
3340*cdf0e10cSrcweir 	21600, 21600,
3341*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3342*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, sizeof( mso_sptLightningBoldGluePoints ) / sizeof( SvxMSDffVertPair ),
3343*cdf0e10cSrcweir 	NULL, 0		// handles
3344*cdf0e10cSrcweir };
3345*cdf0e10cSrcweir 
3346*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSunVert[] =	// adj value 2700 -> 10125
3347*cdf0e10cSrcweir {
3348*cdf0e10cSrcweir 	{ 0, 10800 },				{ 4 MSO_I, 8 MSO_I },		{ 4 MSO_I, 9 MSO_I },
3349*cdf0e10cSrcweir 	{ 0x0a MSO_I, 0x0b MSO_I },	{ 0x0c MSO_I, 0x0d MSO_I }, { 0x0e MSO_I, 0x0f MSO_I },
3350*cdf0e10cSrcweir 	{ 0x10 MSO_I, 0x11 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0x14 MSO_I, 0x15 MSO_I },
3351*cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x17 MSO_I }, { 0x18 MSO_I, 0x19 MSO_I }, { 0x1a MSO_I, 0x1b MSO_I },
3352*cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x1d MSO_I }, { 0x1e MSO_I, 0x1f MSO_I }, { 0x20 MSO_I, 0x21 MSO_I },
3353*cdf0e10cSrcweir 	{ 0x22 MSO_I, 0x23 MSO_I }, { 0x24 MSO_I, 0x25 MSO_I }, { 0x26 MSO_I, 0x27 MSO_I },
3354*cdf0e10cSrcweir 	{ 0x28 MSO_I, 0x29 MSO_I }, { 0x2a MSO_I, 0x2b MSO_I }, { 0x2c MSO_I, 0x2d MSO_I },
3355*cdf0e10cSrcweir 	{ 0x2e MSO_I, 0x2f MSO_I }, { 0x30 MSO_I, 0x31 MSO_I }, { 0x32 MSO_I, 0x33 MSO_I },
3356*cdf0e10cSrcweir 	{ 10800, 10800 }, { 0x36 MSO_I, 0x36 MSO_I },	{ 0, 360 }
3357*cdf0e10cSrcweir };
3358*cdf0e10cSrcweir static const sal_uInt16 mso_sptSunSegm[] =
3359*cdf0e10cSrcweir {
3360*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3361*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3362*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3363*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3364*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3365*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3366*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3367*cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3368*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
3369*cdf0e10cSrcweir };
3370*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSunCalc[] =
3371*cdf0e10cSrcweir {
3372*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3373*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3374*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 2700 } },
3375*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 5080, 7425 } },
3376*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 2540, 0 } },
3377*cdf0e10cSrcweir 	{ 0x8000, { 10125, 0, DFF_Prop_adjustValue } },
3378*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 2120, 7425 } },
3379*cdf0e10cSrcweir 	{ 0x2000, { 0x406, 210, 0 } },
3380*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x407, 0 } },	// y1 (0x8)
3381*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x407 } },	// y2 (0x9)
3382*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 45 } },		// 0xa
3383*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 45 } },		// 0xb
3384*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 45 } },	// 0xc
3385*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 45 } },	// 0xd
3386*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 45 } },	// 0xe
3387*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 45 } },	// 0xf
3388*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 90 } },		// 0x10
3389*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 90 } },		// 0x11
3390*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 90 } },	// 0x12
3391*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 90 } },	// 0x13
3392*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 90 } },	// 0x14
3393*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 90 } },	// 0x15
3394*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 135 } },		// 0x16
3395*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 135 } },		// 0x17
3396*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 135 } },	// 0x18
3397*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 135 } },	// 0x19
3398*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 135 } },	// 0x1a
3399*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 135 } },	// 0x1b
3400*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 180 } },		// 0x1c
3401*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 180 } },		// 0x1d
3402*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 180 } },	// 0x1e
3403*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 180 } },	// 0x1f
3404*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 180 } },	// 0x20
3405*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 180 } },	// 0x21
3406*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 225 } },		// 0x22
3407*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 225 } },		// 0x23
3408*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 225 } },	// 0x24
3409*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 225 } },	// 0x25
3410*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 225 } },	// 0x26
3411*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 225 } },	// 0x27
3412*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 270 } },		// 0x28
3413*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 270 } },		// 0x29
3414*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 270 } },	// 0x2a
3415*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 270 } },	// 0x2b
3416*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 270 } },	// 0x2c
3417*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 270 } },	// 0x2d
3418*cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 315 } },		// 0x2e
3419*cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 315 } },		// 0x2f
3420*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 315 } },	// 0x30
3421*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 315 } },	// 0x31
3422*cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 315 } },	// 0x32
3423*cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 315 } },	// 0x33
3424*cdf0e10cSrcweir 	{ 0x2081, { DFF_Prop_adjustValue, 10800, 45 } },	// 0x34	( textbox )
3425*cdf0e10cSrcweir 	{ 0x2081, { DFF_Prop_adjustValue, 10800, 225 } },	// 0x35
3426*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
3427*cdf0e10cSrcweir };
3428*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSunTextRect[] =
3429*cdf0e10cSrcweir {
3430*cdf0e10cSrcweir 	{ { 0x34 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x35 MSO_I } }
3431*cdf0e10cSrcweir };
3432*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSunHandle[] =
3433*cdf0e10cSrcweir {
3434*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3435*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 2700, 10125, 0x80000000, 0x7fffffff }
3436*cdf0e10cSrcweir };
3437*cdf0e10cSrcweir static const mso_CustomShape msoSun =
3438*cdf0e10cSrcweir {
3439*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSunVert, sizeof( mso_sptSunVert ) / sizeof( SvxMSDffVertPair ),
3440*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1,
3441*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSunCalc, sizeof( mso_sptSunCalc ) / sizeof( SvxMSDffCalculationData ),
3442*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
3443*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSunTextRect, sizeof( mso_sptSunTextRect ) / sizeof( SvxMSDffTextRectangles ),
3444*cdf0e10cSrcweir 	21600, 21600,
3445*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3446*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3447*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSunHandle, sizeof( mso_sptSunHandle ) / sizeof( SvxMSDffHandle )		// handles
3448*cdf0e10cSrcweir };
3449*cdf0e10cSrcweir 
3450*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonVert[] =	// adj value 0 -> 18900
3451*cdf0e10cSrcweir {
3452*cdf0e10cSrcweir 	{ 21600, 0 },
3453*cdf0e10cSrcweir 	{ 3 MSO_I, 4 MSO_I },	{ 0 MSO_I, 5080 },		{ 0 MSO_I, 10800 },	// ccp
3454*cdf0e10cSrcweir 	{ 0 MSO_I, 16520 },		{ 3 MSO_I, 5 MSO_I },	{ 21600, 21600 },	// ccp
3455*cdf0e10cSrcweir 	{ 9740, 21600 },		{ 0, 16730 },			{ 0, 10800 },		// ccp
3456*cdf0e10cSrcweir 	{ 0, 4870 },			{ 9740, 0 },			{ 21600, 0	}		// ccp
3457*cdf0e10cSrcweir };
3458*cdf0e10cSrcweir static const sal_uInt16 mso_sptMoonSegm[] =
3459*cdf0e10cSrcweir {
3460*cdf0e10cSrcweir 	0x4000, 0x2004, 0x6000, 0x8000
3461*cdf0e10cSrcweir };
3462*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptMoonCalc[] =
3463*cdf0e10cSrcweir {
3464*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3465*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3466*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },
3467*cdf0e10cSrcweir 	{ 0x6000, { 0x402, DFF_Prop_adjustValue, 0 } },
3468*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1794, 10000 } },
3469*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0404 } },
3470*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 400, 18900 } },
3471*cdf0e10cSrcweir 	{ 0x8081, { 0, 10800, 0x406 } },
3472*cdf0e10cSrcweir 	{ 0x8082, { 0, 10800, 0x406 } },
3473*cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x407, 0 } },
3474*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } }
3475*cdf0e10cSrcweir };
3476*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptMoonTextRect[] =
3477*cdf0e10cSrcweir {
3478*cdf0e10cSrcweir 	{ { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 0xa MSO_I } }
3479*cdf0e10cSrcweir };
3480*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonGluePoints[] =
3481*cdf0e10cSrcweir {
3482*cdf0e10cSrcweir 	{ 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I, 10800 }
3483*cdf0e10cSrcweir };
3484*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptMoonHandle[] =
3485*cdf0e10cSrcweir {
3486*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3487*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0, 18900, 0x80000000, 0x7fffffff }
3488*cdf0e10cSrcweir };
3489*cdf0e10cSrcweir static const mso_CustomShape msoMoon =
3490*cdf0e10cSrcweir {
3491*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptMoonVert, sizeof( mso_sptMoonVert ) / sizeof( SvxMSDffVertPair ),
3492*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1,
3493*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptMoonCalc, sizeof( mso_sptMoonCalc ) / sizeof( SvxMSDffCalculationData ),
3494*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
3495*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptMoonTextRect, sizeof( mso_sptMoonTextRect ) / sizeof( SvxMSDffTextRectangles ),
3496*cdf0e10cSrcweir 	21600, 21600,
3497*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3498*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptMoonGluePoints, sizeof( mso_sptMoonGluePoints ) / sizeof( SvxMSDffVertPair ),
3499*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptMoonHandle, sizeof( mso_sptMoonHandle ) / sizeof( SvxMSDffHandle )		// handles
3500*cdf0e10cSrcweir };
3501*cdf0e10cSrcweir 
3502*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracketPairVert[] =	// adj value 0 -> 10800
3503*cdf0e10cSrcweir {
3504*cdf0e10cSrcweir 	{ 0 MSO_I, 0 },		{ 0, 1 MSO_I },		// left top alignment
3505*cdf0e10cSrcweir 	{ 0, 2 MSO_I },		{ 0 MSO_I, 21600 },	// left  bottom "
3506*cdf0e10cSrcweir 	{ 3 MSO_I, 21600 },	{ 21600, 2 MSO_I },	// right bottom	"
3507*cdf0e10cSrcweir 	{ 21600, 1 MSO_I },	{ 3 MSO_I, 0 }		// right top	"
3508*cdf0e10cSrcweir };
3509*cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketPairSegm[] =
3510*cdf0e10cSrcweir {
3511*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x8000,
3512*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x8000
3513*cdf0e10cSrcweir };
3514*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketPairCalc[] =
3515*cdf0e10cSrcweir {
3516*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3517*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3518*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3519*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3520*cdf0e10cSrcweir 	{ 0x2082, { DFF_Prop_adjustValue, 0, 45 } },
3521*cdf0e10cSrcweir 	{ 0x2000, { 0x404, 0, 10800 } },
3522*cdf0e10cSrcweir 	{ 0x8000, { 0, 0, DFF_Prop_adjustValue } },
3523*cdf0e10cSrcweir 	{ 0xa000, { 0x406, 0, 0x405 } },
3524*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoLeft, 0, 0x407 } },
3525*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoTop, 0, 0x407 } },
3526*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoRight, 0x407, 0 } },
3527*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoBottom, 0x407, 0 } },
3528*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoLeft, 0, 0x405 } },
3529*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoTop, 0, 0x405 } },
3530*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoRight, 0x405, 0 } },
3531*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoBottom, 0x405, 0 } }
3532*cdf0e10cSrcweir };
3533*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] =
3534*cdf0e10cSrcweir {
3535*cdf0e10cSrcweir 	{ { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 0xb MSO_I } }
3536*cdf0e10cSrcweir };
3537*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracketPairHandle[] =
3538*cdf0e10cSrcweir {
3539*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3540*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3541*cdf0e10cSrcweir };
3542*cdf0e10cSrcweir static const mso_CustomShape msoBracketPair =
3543*cdf0e10cSrcweir {
3544*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ),
3545*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1,
3546*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ),
3547*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3700,
3548*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, sizeof( mso_sptBracketPairTextRect ) / sizeof( SvxMSDffTextRectangles ),
3549*cdf0e10cSrcweir 	21600, 21600,
3550*cdf0e10cSrcweir 	10800, 0x80000000,
3551*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3552*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBracketPairHandle, sizeof( mso_sptBracketPairHandle ) / sizeof( SvxMSDffHandle )		// handles
3553*cdf0e10cSrcweir };
3554*cdf0e10cSrcweir 
3555*cdf0e10cSrcweir static const sal_uInt16 mso_sptPlaqueSegm[] =
3556*cdf0e10cSrcweir {
3557*cdf0e10cSrcweir 	0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
3558*cdf0e10cSrcweir };
3559*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] =
3560*cdf0e10cSrcweir {
3561*cdf0e10cSrcweir 	{ { 0xc MSO_I, 0xd MSO_I }, { 0xe MSO_I, 0xf MSO_I } }
3562*cdf0e10cSrcweir };
3563*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlaqueHandle[] =
3564*cdf0e10cSrcweir {
3565*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3566*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3567*cdf0e10cSrcweir };
3568*cdf0e10cSrcweir static const mso_CustomShape msoPlaque =
3569*cdf0e10cSrcweir {
3570*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ),
3571*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1,
3572*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ),
3573*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3600,
3574*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, sizeof( mso_sptPlaqueTextRect ) / sizeof( SvxMSDffTextRectangles ),
3575*cdf0e10cSrcweir 	21600, 21600,
3576*cdf0e10cSrcweir 	10800, 10800,
3577*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3578*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptPlaqueHandle, sizeof( mso_sptPlaqueHandle ) / sizeof( SvxMSDffHandle )		// handles
3579*cdf0e10cSrcweir };
3580*cdf0e10cSrcweir 
3581*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracePairVert[] =	// adj value 0 -> 5400
3582*cdf0e10cSrcweir {
3583*cdf0e10cSrcweir 	{ 4 MSO_I, 0 },	{ 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 },			// left bracket
3584*cdf0e10cSrcweir 	{ 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I },	{ 4 MSO_I, 21600 },
3585*cdf0e10cSrcweir 	{ 8 MSO_I, 21600 },	{ 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 },	// right bracket
3586*cdf0e10cSrcweir 	{ 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 }
3587*cdf0e10cSrcweir };
3588*cdf0e10cSrcweir static const sal_uInt16 mso_sptBracePairSegm[] =
3589*cdf0e10cSrcweir {
3590*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000,
3591*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000
3592*cdf0e10cSrcweir };
3593*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracePairCalc[] =
3594*cdf0e10cSrcweir {
3595*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3596*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3597*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3598*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3599*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },									//  4
3600*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 1 } },						//  5
3601*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },					//  6
3602*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },								//  7
3603*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x405 } },					//  8
3604*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 3 } },						//  9
3605*cdf0e10cSrcweir 	{ 0x6000, { 0x409, DFF_Prop_adjustValue, 0 } },					// xa
3606*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x40a, 0 } },						// xb
3607*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x409, 0 } },						// xc
3608*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x40a } },					// xd
3609*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } }					// xe
3610*cdf0e10cSrcweir };
3611*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] =
3612*cdf0e10cSrcweir {
3613*cdf0e10cSrcweir 	{ { 0xb MSO_I, 0xc MSO_I }, { 0xd MSO_I, 0xe MSO_I } }
3614*cdf0e10cSrcweir };
3615*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracePairHandle[] =
3616*cdf0e10cSrcweir {
3617*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3618*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
3619*cdf0e10cSrcweir };
3620*cdf0e10cSrcweir static const mso_CustomShape msoBracePair =
3621*cdf0e10cSrcweir {
3622*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracePairVert, sizeof( mso_sptBracePairVert ) / sizeof( SvxMSDffVertPair ),
3623*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1,
3624*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracePairCalc, sizeof( mso_sptBracePairCalc ) / sizeof( SvxMSDffCalculationData ),
3625*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3626*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBracePairTextRect, sizeof( mso_sptBracePairTextRect ) / sizeof( SvxMSDffTextRectangles ),
3627*cdf0e10cSrcweir 	21600, 21600,
3628*cdf0e10cSrcweir 	10800, 0x80000000,
3629*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3630*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBracePairHandle, sizeof( mso_sptBracePairHandle ) / sizeof( SvxMSDffHandle )		// handles
3631*cdf0e10cSrcweir };
3632*cdf0e10cSrcweir 
3633*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketCalc[] =
3634*cdf0e10cSrcweir {
3635*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
3636*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3637*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3638*cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
3639*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
3640*cdf0e10cSrcweir };
3641*cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketSegm[] =
3642*cdf0e10cSrcweir {
3643*cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2001, 0x8000
3644*cdf0e10cSrcweir };
3645*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketVert[] =	// adj value 0 -> 10800
3646*cdf0e10cSrcweir {
3647*cdf0e10cSrcweir 	{ 21600, 0 }, { 10800,	0 }, { 0, 3 MSO_I }, { 0, 1 MSO_I },
3648*cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 0, 4 MSO_I }, { 10800, 21600 }, { 21600, 21600 }
3649*cdf0e10cSrcweir };
3650*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect[] =
3651*cdf0e10cSrcweir {
3652*cdf0e10cSrcweir 	{ { 6350, 3 MSO_I }, { 21600, 4 MSO_I } }
3653*cdf0e10cSrcweir };
3654*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] =
3655*cdf0e10cSrcweir {
3656*cdf0e10cSrcweir 	{ 21600, 0 }, { 0, 10800 }, { 21600, 21600 }
3657*cdf0e10cSrcweir };
3658*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBracketHandle[] =
3659*cdf0e10cSrcweir {
3660*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3661*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
3662*cdf0e10cSrcweir };
3663*cdf0e10cSrcweir static const mso_CustomShape msoLeftBracket =
3664*cdf0e10cSrcweir {
3665*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketVert, sizeof( mso_sptLeftBracketVert ) / sizeof( SvxMSDffVertPair ),
3666*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
3667*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ),
3668*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3669*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, sizeof( mso_sptLeftBracketTextRect ) / sizeof( SvxMSDffTextRectangles ),
3670*cdf0e10cSrcweir 	21600, 21600,
3671*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3672*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3673*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftBracketHandle, sizeof( mso_sptLeftBracketHandle ) / sizeof( SvxMSDffHandle )		// handles
3674*cdf0e10cSrcweir };
3675*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketVert[] =	// adj value 0 -> 10800
3676*cdf0e10cSrcweir {
3677*cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I }, { 21600, 1 MSO_I },
3678*cdf0e10cSrcweir 	{ 21600, 2 MSO_I }, { 21600, 4 MSO_I }, { 10800, 21600 }, { 0, 21600 }
3679*cdf0e10cSrcweir };
3680*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBracketTextRect[] =
3681*cdf0e10cSrcweir {
3682*cdf0e10cSrcweir 	{ { 0, 3 MSO_I }, { 15150, 4 MSO_I } }
3683*cdf0e10cSrcweir };
3684*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] =
3685*cdf0e10cSrcweir {
3686*cdf0e10cSrcweir 	{ 0, 0 }, { 0, 21600 }, { 21600, 10800 }
3687*cdf0e10cSrcweir };
3688*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBracketHandle[] =
3689*cdf0e10cSrcweir {
3690*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3691*cdf0e10cSrcweir 		1, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
3692*cdf0e10cSrcweir };
3693*cdf0e10cSrcweir static const mso_CustomShape msoRightBracket =
3694*cdf0e10cSrcweir {
3695*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketVert, sizeof( mso_sptRightBracketVert ) / sizeof( SvxMSDffVertPair ),
3696*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
3697*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ),
3698*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3699*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, sizeof( mso_sptRightBracketTextRect ) / sizeof( SvxMSDffTextRectangles ),
3700*cdf0e10cSrcweir 	21600, 21600,
3701*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3702*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3703*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightBracketHandle, sizeof( mso_sptRightBracketHandle ) / sizeof( SvxMSDffHandle )		// handles
3704*cdf0e10cSrcweir };
3705*cdf0e10cSrcweir 
3706*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBraceCalc[] =
3707*cdf0e10cSrcweir {
3708*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
3709*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3710*cdf0e10cSrcweir 	{ 0xa000, { 0x404, 0, DFF_Prop_adjustValue } },
3711*cdf0e10cSrcweir 	{ 0xa000, { 0x404, 0, 0x400 } },
3712*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
3713*cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x400, 0 } },
3714*cdf0e10cSrcweir 	{ 0x6000, { 0x404, DFF_Prop_adjustValue, 0 } },
3715*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3716*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
3717*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10000, 31953 } },
3718*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x409 } }
3719*cdf0e10cSrcweir };
3720*cdf0e10cSrcweir static const sal_uInt16 mso_sptBraceSegm[] =
3721*cdf0e10cSrcweir {
3722*cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000
3723*cdf0e10cSrcweir };
3724*cdf0e10cSrcweir static const sal_Int32 mso_sptBraceDefault[] =
3725*cdf0e10cSrcweir {
3726*cdf0e10cSrcweir 	2, 1800, 10800
3727*cdf0e10cSrcweir };
3728*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBraceVert[] =
3729*cdf0e10cSrcweir {
3730*cdf0e10cSrcweir 	{ 21600, 0 },												// p
3731*cdf0e10cSrcweir 	{ 16200, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },		// ccp
3732*cdf0e10cSrcweir 	{ 10800, 2 MSO_I },											// p
3733*cdf0e10cSrcweir 	{ 10800, 3 MSO_I }, { 5400, 4 MSO_I }, { 0, 4 MSO_I },		// ccp
3734*cdf0e10cSrcweir 	{ 5400, 4 MSO_I }, 	{ 10800, 5 MSO_I }, { 10800, 6 MSO_I },	// ccp
3735*cdf0e10cSrcweir 	{ 10800, 7 MSO_I },											// p
3736*cdf0e10cSrcweir 	{ 10800, 8 MSO_I }, { 16200, 21600 }, { 21600, 21600 }		// ccp
3737*cdf0e10cSrcweir };
3738*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] =
3739*cdf0e10cSrcweir {
3740*cdf0e10cSrcweir 	{ { 13800, 9 MSO_I }, { 21600, 10 MSO_I } }
3741*cdf0e10cSrcweir };
3742*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBraceHandle[] =
3743*cdf0e10cSrcweir {
3744*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3745*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
3746*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3747*cdf0e10cSrcweir 		0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
3748*cdf0e10cSrcweir };
3749*cdf0e10cSrcweir static const mso_CustomShape msoLeftBrace =		// adj value0 0 -> 5400
3750*cdf0e10cSrcweir {												// adj value1 0 -> 21600
3751*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBraceVert, sizeof( mso_sptLeftBraceVert ) / sizeof( SvxMSDffVertPair ),
3752*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
3753*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ),
3754*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBraceDefault,
3755*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, sizeof( mso_sptLeftBraceTextRect ) / sizeof( SvxMSDffTextRectangles ),
3756*cdf0e10cSrcweir 	21600, 21600,
3757*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3758*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3759*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftBraceHandle, sizeof( mso_sptLeftBraceHandle ) / sizeof( SvxMSDffHandle )		// handles
3760*cdf0e10cSrcweir };
3761*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBraceVert[] =
3762*cdf0e10cSrcweir {
3763*cdf0e10cSrcweir 	{ 0, 0 },													// p
3764*cdf0e10cSrcweir 	{ 5400, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },		// ccp
3765*cdf0e10cSrcweir 	{ 10800, 2 MSO_I },											// p
3766*cdf0e10cSrcweir 	{ 10800, 3 MSO_I },	{ 16200, 4 MSO_I }, { 21600, 4 MSO_I },	// ccp
3767*cdf0e10cSrcweir 	{ 16200, 4 MSO_I },	{ 10800, 5 MSO_I },	{ 10800, 6 MSO_I },	// ccp
3768*cdf0e10cSrcweir 	{ 10800, 7 MSO_I },											// p
3769*cdf0e10cSrcweir 	{ 10800, 8 MSO_I }, { 5400,	21600 }, { 0, 21600	}			// ccp
3770*cdf0e10cSrcweir };
3771*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] =
3772*cdf0e10cSrcweir {
3773*cdf0e10cSrcweir 	{ { 0, 9 MSO_I }, { 7800, 10 MSO_I } }
3774*cdf0e10cSrcweir };
3775*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBraceHandle[] =
3776*cdf0e10cSrcweir {
3777*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3778*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
3779*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3780*cdf0e10cSrcweir 		1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
3781*cdf0e10cSrcweir };
3782*cdf0e10cSrcweir static const mso_CustomShape msoRightBrace =		// adj value0 0 -> 5400
3783*cdf0e10cSrcweir {												// adj value1 0 -> 21600
3784*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBraceVert, sizeof( mso_sptRightBraceVert ) / sizeof( SvxMSDffVertPair ),
3785*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
3786*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ),
3787*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBraceDefault,
3788*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, sizeof( mso_sptRightBraceTextRect ) / sizeof( SvxMSDffTextRectangles ),
3789*cdf0e10cSrcweir 	21600, 21600,
3790*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3791*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3792*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightBraceHandle, sizeof( mso_sptRightBraceHandle ) / sizeof( SvxMSDffHandle )		// handles
3793*cdf0e10cSrcweir };
3794*cdf0e10cSrcweir 
3795*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1Vert[] =
3796*cdf0e10cSrcweir {
3797*cdf0e10cSrcweir 	{ 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 },
3798*cdf0e10cSrcweir 	{ 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 },
3799*cdf0e10cSrcweir 	{ 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 },
3800*cdf0e10cSrcweir 	{ 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 },
3801*cdf0e10cSrcweir 	{ 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 },
3802*cdf0e10cSrcweir 	{ 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 }
3803*cdf0e10cSrcweir };
3804*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect[] =
3805*cdf0e10cSrcweir {
3806*cdf0e10cSrcweir 	{ { 4680, 6570 }, { 16140, 13280 } }
3807*cdf0e10cSrcweir };
3808*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints[] =
3809*cdf0e10cSrcweir {
3810*cdf0e10cSrcweir 	{ 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 }
3811*cdf0e10cSrcweir };
3812*cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal1 =
3813*cdf0e10cSrcweir {
3814*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal1Vert, sizeof( mso_sptIrregularSeal1Vert ) / sizeof( SvxMSDffVertPair ),
3815*cdf0e10cSrcweir 	NULL, 0,
3816*cdf0e10cSrcweir 	NULL, 0,
3817*cdf0e10cSrcweir 	NULL,
3818*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, sizeof( mso_sptIrregularSeal1TextRect ) / sizeof( SvxMSDffTextRectangles ),
3819*cdf0e10cSrcweir 	21600, 21600,
3820*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3821*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, sizeof( mso_sptIrregularSeal1GluePoints ) / sizeof( SvxMSDffVertPair ),
3822*cdf0e10cSrcweir 	NULL, 0		// handles
3823*cdf0e10cSrcweir };
3824*cdf0e10cSrcweir 
3825*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2Vert[] =
3826*cdf0e10cSrcweir {
3827*cdf0e10cSrcweir 	{ 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 },
3828*cdf0e10cSrcweir 	{ 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 },
3829*cdf0e10cSrcweir 	{ 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 },
3830*cdf0e10cSrcweir 	{ 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 },
3831*cdf0e10cSrcweir 	{ 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 },
3832*cdf0e10cSrcweir 	{ 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 },
3833*cdf0e10cSrcweir 	{ 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 },
3834*cdf0e10cSrcweir 	{ 11464, 4340 }
3835*cdf0e10cSrcweir };
3836*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect[] =
3837*cdf0e10cSrcweir {
3838*cdf0e10cSrcweir 	{ { 5400, 6570 }, { 14160, 15290 } }
3839*cdf0e10cSrcweir };
3840*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints[] =
3841*cdf0e10cSrcweir {
3842*cdf0e10cSrcweir 	{ 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 }
3843*cdf0e10cSrcweir };
3844*cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal2 =
3845*cdf0e10cSrcweir {
3846*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal2Vert, sizeof( mso_sptIrregularSeal2Vert ) / sizeof( SvxMSDffVertPair ),
3847*cdf0e10cSrcweir 	NULL, 0,
3848*cdf0e10cSrcweir 	NULL, 0,
3849*cdf0e10cSrcweir 	NULL,
3850*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, sizeof( mso_sptIrregularSeal2TextRect ) / sizeof( SvxMSDffTextRectangles ),
3851*cdf0e10cSrcweir 	21600, 21600,
3852*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3853*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, sizeof( mso_sptIrregularSeal2GluePoints ) / sizeof( SvxMSDffVertPair ),
3854*cdf0e10cSrcweir 	NULL, 0		// handles
3855*cdf0e10cSrcweir };
3856*cdf0e10cSrcweir 
3857*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal4Vert[] =		// adjustment1 : 0 - 10800
3858*cdf0e10cSrcweir {
3859*cdf0e10cSrcweir 	{ 0, 10800 }, { 4 MSO_I, 4 MSO_I }, { 10800, 0 }, { 3 MSO_I, 4 MSO_I },
3860*cdf0e10cSrcweir 	{ 21600, 10800 }, { 3 MSO_I, 3 MSO_I }, { 10800, 21600 }, { 4 MSO_I, 3 MSO_I },
3861*cdf0e10cSrcweir 	{ 0, 10800 }
3862*cdf0e10cSrcweir };
3863*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal4Calc[] =
3864*cdf0e10cSrcweir {
3865*cdf0e10cSrcweir 	{ 0x0000, { 7600, 0, 0 } },
3866*cdf0e10cSrcweir 	{ 0x6001, { 0x400, DFF_Prop_adjustValue, 10800 } },
3867*cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x401 } },
3868*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x402, 0 } },
3869*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x402 } }
3870*cdf0e10cSrcweir };
3871*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] =
3872*cdf0e10cSrcweir {
3873*cdf0e10cSrcweir 	{ { 4 MSO_I, 4 MSO_I }, { 3 MSO_I, 3 MSO_I } }
3874*cdf0e10cSrcweir };
3875*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSealHandle[] =
3876*cdf0e10cSrcweir {
3877*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3878*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3879*cdf0e10cSrcweir };
3880*cdf0e10cSrcweir static const mso_CustomShape msoSeal4 =
3881*cdf0e10cSrcweir {
3882*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal4Vert, sizeof( mso_sptSeal4Vert ) / sizeof( SvxMSDffVertPair ),
3883*cdf0e10cSrcweir 	NULL, 0,
3884*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal4Calc, sizeof( mso_sptSeal4Calc ) / sizeof( SvxMSDffCalculationData ),
3885*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault8100,
3886*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSeal4TextRect, sizeof( mso_sptSeal4TextRect ) / sizeof( SvxMSDffTextRectangles ),
3887*cdf0e10cSrcweir 	21600, 21600,
3888*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3889*cdf0e10cSrcweir 	NULL, 0,
3890*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
3891*cdf0e10cSrcweir };
3892*cdf0e10cSrcweir 
3893*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStarVert[] =
3894*cdf0e10cSrcweir {
3895*cdf0e10cSrcweir 	{ 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 },
3896*cdf0e10cSrcweir 	{ 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 },
3897*cdf0e10cSrcweir 	{ 21600, 8256 }, { 13321, 8256 }, { 10797, 0 }
3898*cdf0e10cSrcweir };
3899*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStarTextRect[] =
3900*cdf0e10cSrcweir {
3901*cdf0e10cSrcweir 	{ { 6722, 8256 }, { 14878, 15460 } }
3902*cdf0e10cSrcweir };
3903*cdf0e10cSrcweir static const mso_CustomShape msoStar =
3904*cdf0e10cSrcweir {
3905*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStarVert, sizeof( mso_sptStarVert ) / sizeof( SvxMSDffVertPair ),
3906*cdf0e10cSrcweir 	NULL, 0,
3907*cdf0e10cSrcweir 	NULL, 0,
3908*cdf0e10cSrcweir 	NULL,
3909*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptStarTextRect, sizeof( mso_sptStarTextRect ) / sizeof( SvxMSDffTextRectangles ),
3910*cdf0e10cSrcweir 	21600, 21600,
3911*cdf0e10cSrcweir 	0x80000000, 0x80000000,
3912*cdf0e10cSrcweir 	NULL, 0,
3913*cdf0e10cSrcweir 	NULL, 0		// handles
3914*cdf0e10cSrcweir };
3915*cdf0e10cSrcweir 
3916*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal24Calc[] =
3917*cdf0e10cSrcweir {
3918*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
3919*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
3920*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
3921*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
3922*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
3923*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
3924*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
3925*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 7 } },
3926*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 7 } },
3927*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 15 } },
3928*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 15 } },
3929*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 22 } },
3930*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 22 } },
3931*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 30 } },
3932*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 30 } },
3933*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 37 } },
3934*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 37 } },
3935*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
3936*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
3937*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 52 } },
3938*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 52 } },
3939*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 60 } },
3940*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 60 } },
3941*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 67 } },
3942*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 67 } },
3943*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 75 } },
3944*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 75 } },
3945*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 82 } },
3946*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 82 } },
3947*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
3948*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
3949*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 97 } },
3950*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 97 } },
3951*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 105 } },
3952*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 105 } },
3953*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 112 } },
3954*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 112 } },
3955*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 120 } },
3956*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 120 } },
3957*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 127 } },
3958*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 127 } },
3959*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
3960*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
3961*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 142 } },
3962*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 142 } },
3963*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 150 } },
3964*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 150 } },
3965*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 157 } },
3966*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 157 } },
3967*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 165 } },
3968*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 165 } },
3969*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 172 } },
3970*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 172 } },
3971*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
3972*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
3973*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 187 } },
3974*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 187 } },
3975*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 195 } },
3976*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 195 } },
3977*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 202 } },
3978*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 202 } },
3979*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 210 } },
3980*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 210 } },
3981*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 217 } },
3982*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 217 } },
3983*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
3984*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
3985*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 232 } },
3986*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 232 } },
3987*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 240 } },
3988*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 240 } },
3989*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 247 } },
3990*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 247 } },
3991*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 255 } },
3992*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 255 } },
3993*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 262 } },
3994*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 262 } },
3995*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
3996*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
3997*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 277 } },
3998*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 277 } },
3999*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 285 } },
4000*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 285 } },
4001*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 292 } },
4002*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 292 } },
4003*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 300 } },
4004*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 300 } },
4005*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 307 } },
4006*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 307 } },
4007*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4008*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4009*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 322 } },
4010*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 322 } },
4011*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 330 } },
4012*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 330 } },
4013*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 337 } },
4014*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 337 } },
4015*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 345 } },
4016*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 345 } },
4017*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 352 } },
4018*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 352 } }
4019*cdf0e10cSrcweir };
4020*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal8Vert[] =	// adj value 0 -> 10800
4021*cdf0e10cSrcweir {
4022*cdf0e10cSrcweir 	{ 5 MSO_I, 6 MSO_I }, { 11 MSO_I, 12 MSO_I }, { 17 MSO_I, 18 MSO_I }, { 23 MSO_I, 24 MSO_I },
4023*cdf0e10cSrcweir 	{ 29 MSO_I, 30 MSO_I }, { 35 MSO_I, 36 MSO_I }, { 41 MSO_I, 42 MSO_I }, { 47 MSO_I, 48 MSO_I },
4024*cdf0e10cSrcweir 	{ 53 MSO_I, 54 MSO_I }, { 59 MSO_I, 60 MSO_I }, { 65 MSO_I, 66 MSO_I }, { 71 MSO_I, 72 MSO_I },
4025*cdf0e10cSrcweir 	{ 77 MSO_I, 78 MSO_I }, { 83 MSO_I, 84 MSO_I }, { 89 MSO_I, 90 MSO_I }, { 95 MSO_I, 96 MSO_I },
4026*cdf0e10cSrcweir 	{ 5 MSO_I, 6 MSO_I }
4027*cdf0e10cSrcweir };
4028*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSealTextRect[] =
4029*cdf0e10cSrcweir {
4030*cdf0e10cSrcweir 	{ { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
4031*cdf0e10cSrcweir };
4032*cdf0e10cSrcweir static const mso_CustomShape msoSeal8 =
4033*cdf0e10cSrcweir {
4034*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal8Vert, sizeof( mso_sptSeal8Vert ) / sizeof( SvxMSDffVertPair ),
4035*cdf0e10cSrcweir 	NULL, 0,
4036*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ),
4037*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4038*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4039*cdf0e10cSrcweir 	21600, 21600,
4040*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4041*cdf0e10cSrcweir 	NULL, 0,
4042*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4043*cdf0e10cSrcweir };
4044*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal16Vert[] =	// adj value 0 -> 10800
4045*cdf0e10cSrcweir {
4046*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4047*cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4048*cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4049*cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4050*cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4051*cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4052*cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4053*cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4054*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4055*cdf0e10cSrcweir };
4056*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal16Calc[] =
4057*cdf0e10cSrcweir {
4058*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
4059*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
4060*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
4061*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
4062*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
4063*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
4064*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
4065*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 11 } },
4066*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 11 } },
4067*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 22 } },
4068*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 22 } },
4069*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 33 } },
4070*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 33 } },
4071*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
4072*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
4073*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 56 } },
4074*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 56 } },
4075*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 67 } },
4076*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 67 } },
4077*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 78 } },
4078*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 78 } },
4079*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
4080*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
4081*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 101 } },
4082*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 101 } },
4083*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 112 } },
4084*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 112 } },
4085*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 123 } },
4086*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 123 } },
4087*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
4088*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
4089*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 146 } },
4090*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 146 } },
4091*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 157 } },
4092*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 157 } },
4093*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 168 } },
4094*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 168 } },
4095*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
4096*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
4097*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 191 } },
4098*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 191 } },
4099*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 202 } },
4100*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 202 } },
4101*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 213 } },
4102*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 213 } },
4103*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
4104*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
4105*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 236 } },
4106*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 236 } },
4107*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 247 } },
4108*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 247 } },
4109*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 258 } },
4110*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 258 } },
4111*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
4112*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
4113*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 281 } },
4114*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 281 } },
4115*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 292 } },
4116*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 292 } },
4117*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 303 } },
4118*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 303 } },
4119*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4120*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4121*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 326 } },
4122*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 326 } },
4123*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 337 } },
4124*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 337 } },
4125*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 348 } },
4126*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 348 } }
4127*cdf0e10cSrcweir };
4128*cdf0e10cSrcweir static const mso_CustomShape msoSeal16 =
4129*cdf0e10cSrcweir {
4130*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal16Vert, sizeof( mso_sptSeal16Vert ) / sizeof( SvxMSDffVertPair ),
4131*cdf0e10cSrcweir 	NULL, 0,
4132*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal16Calc, sizeof( mso_sptSeal16Calc ) / sizeof( SvxMSDffCalculationData ),
4133*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4134*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4135*cdf0e10cSrcweir 	21600, 21600,
4136*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4137*cdf0e10cSrcweir 	NULL, 0,
4138*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4139*cdf0e10cSrcweir };
4140*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal24Vert[] =
4141*cdf0e10cSrcweir {
4142*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4143*cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4144*cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4145*cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4146*cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4147*cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4148*cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4149*cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4150*cdf0e10cSrcweir 	{ 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
4151*cdf0e10cSrcweir 	{ 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
4152*cdf0e10cSrcweir 	{ 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
4153*cdf0e10cSrcweir 	{ 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
4154*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4155*cdf0e10cSrcweir };
4156*cdf0e10cSrcweir static const mso_CustomShape msoSeal24 =
4157*cdf0e10cSrcweir {
4158*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal24Vert, sizeof( mso_sptSeal24Vert ) / sizeof( SvxMSDffVertPair ),
4159*cdf0e10cSrcweir 	NULL, 0,
4160*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ),
4161*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4162*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4163*cdf0e10cSrcweir 	21600, 21600,
4164*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4165*cdf0e10cSrcweir 	NULL, 0,
4166*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4167*cdf0e10cSrcweir };
4168*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal32Calc[] =
4169*cdf0e10cSrcweir {
4170*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
4171*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
4172*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
4173*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
4174*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
4175*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
4176*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
4177*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 5 } },
4178*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 5 } },
4179*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 11 } },
4180*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 11 } },
4181*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 16 } },
4182*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 16 } },
4183*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 22 } },
4184*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 22 } },
4185*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 28 } },
4186*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 28 } },
4187*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 33 } },
4188*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 33 } },
4189*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 39 } },
4190*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 39 } },
4191*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
4192*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
4193*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 50 } },
4194*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 50 } },
4195*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 56 } },
4196*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 56 } },
4197*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 61 } },
4198*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 61 } },
4199*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 67 } },
4200*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 67 } },
4201*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 73 } },
4202*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 73 } },
4203*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 78 } },
4204*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 78 } },
4205*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 84 } },
4206*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 84 } },
4207*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
4208*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
4209*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 95 } },
4210*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 95 } },
4211*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 101 } },
4212*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 101 } },
4213*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 106 } },
4214*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 106 } },
4215*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 112 } },
4216*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 112 } },
4217*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 118 } },
4218*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 118 } },
4219*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 123 } },
4220*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 123 } },
4221*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 129 } },
4222*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 129 } },
4223*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
4224*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
4225*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 140 } },
4226*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 140 } },
4227*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 146 } },
4228*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 146 } },
4229*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 151 } },
4230*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 151 } },
4231*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 157 } },
4232*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 157 } },
4233*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 163 } },
4234*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 163 } },
4235*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 168 } },
4236*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 168 } },
4237*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 174 } },
4238*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 174 } },
4239*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
4240*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
4241*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 185 } },
4242*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 185 } },
4243*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 191 } },
4244*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 191 } },
4245*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 196 } },
4246*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 196 } },
4247*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 202 } },
4248*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 202 } },
4249*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 208 } },
4250*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 208 } },
4251*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 213 } },
4252*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 213 } },
4253*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 219 } },
4254*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 219 } },
4255*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
4256*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
4257*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 230 } },
4258*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 230 } },
4259*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 236 } },
4260*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 236 } },
4261*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 241 } },
4262*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 241 } },
4263*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 247 } },
4264*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 247 } },
4265*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 253 } },
4266*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 253 } },
4267*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 258 } },
4268*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 258 } },
4269*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 264 } },
4270*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 264 } },
4271*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
4272*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
4273*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 275 } },
4274*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 275 } },
4275*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 281 } },
4276*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 281 } },
4277*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 286 } },
4278*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 286 } },
4279*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 292 } },
4280*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 292 } },
4281*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 298 } },
4282*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 298 } },
4283*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 303 } },
4284*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 303 } },
4285*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 309 } },
4286*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 309 } },
4287*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4288*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4289*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 320 } },
4290*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 320 } },
4291*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 326 } },
4292*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 326 } },
4293*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 331 } },
4294*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 331 } },
4295*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 337 } },
4296*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 337 } },
4297*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 343 } },
4298*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 343 } },
4299*cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 348 } },
4300*cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 348 } },
4301*cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 354 } },
4302*cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 354 } }
4303*cdf0e10cSrcweir };
4304*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal32Vert[] =
4305*cdf0e10cSrcweir {
4306*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4307*cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4308*cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4309*cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4310*cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4311*cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4312*cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4313*cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4314*cdf0e10cSrcweir 	{ 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
4315*cdf0e10cSrcweir 	{ 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
4316*cdf0e10cSrcweir 	{ 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
4317*cdf0e10cSrcweir 	{ 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
4318*cdf0e10cSrcweir 	{ 0x65 MSO_I, 0x66 MSO_I }, { 0x67 MSO_I, 0x68 MSO_I }, { 0x69 MSO_I, 0x6a MSO_I }, { 0x6b MSO_I, 0x6c MSO_I },
4319*cdf0e10cSrcweir 	{ 0x6d MSO_I, 0x6e MSO_I }, { 0x6f MSO_I, 0x70 MSO_I }, { 0x71 MSO_I, 0x72 MSO_I }, { 0x73 MSO_I, 0x74 MSO_I },
4320*cdf0e10cSrcweir 	{ 0x75 MSO_I, 0x76 MSO_I }, { 0x77 MSO_I, 0x78 MSO_I }, { 0x79 MSO_I, 0x7a MSO_I }, { 0x7b MSO_I, 0x7c MSO_I },
4321*cdf0e10cSrcweir 	{ 0x7d MSO_I, 0x7e MSO_I }, { 0x7f MSO_I, 0x80 MSO_I }, { 0x81 MSO_I, 0x82 MSO_I }, { 0x83 MSO_I, 0x84 MSO_I },
4322*cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4323*cdf0e10cSrcweir };
4324*cdf0e10cSrcweir static const mso_CustomShape msoSeal32 =
4325*cdf0e10cSrcweir {
4326*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal32Vert, sizeof( mso_sptSeal32Vert ) / sizeof( SvxMSDffVertPair ),
4327*cdf0e10cSrcweir 	NULL, 0,
4328*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal32Calc, sizeof( mso_sptSeal32Calc ) / sizeof( SvxMSDffCalculationData ),
4329*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4330*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4331*cdf0e10cSrcweir 	21600, 21600,
4332*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4333*cdf0e10cSrcweir 	NULL, 0,
4334*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )
4335*cdf0e10cSrcweir };
4336*cdf0e10cSrcweir 
4337*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbon2Vert[] =	// adjustment1 : x 2700	 - 8100		def 5400
4338*cdf0e10cSrcweir {														// adjustment2 : y 14400 - 21600	def 18900
4339*cdf0e10cSrcweir 	{ 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },										// pp
4340*cdf0e10cSrcweir 	{ 12 MSO_I, 14 MSO_I }, { 15 MSO_I, 21600 }, { 16 MSO_I, 21600 },					// ccp
4341*cdf0e10cSrcweir 	{ 0, 21600 }, { 2750, 7 MSO_I }, { 0, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },				// pppp
4342*cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I },																// p
4343*cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 10 MSO_I, 0 }, { 11 MSO_I, 0 },								// ccp
4344*cdf0e10cSrcweir 	{ 17 MSO_I, 0 },																	// p
4345*cdf0e10cSrcweir 	{ 18 MSO_I, 0 }, { 19 MSO_I, 5 MSO_I }, { 19 MSO_I, 4 MSO_I },						// ccp
4346*cdf0e10cSrcweir 	{ 19 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }, { 18850, 7 MSO_I }, { 21600, 21600 },	// pppp
4347*cdf0e10cSrcweir 	{ 20 MSO_I, 21600 },																// p
4348*cdf0e10cSrcweir 	{ 21 MSO_I, 21600 }, { 22 MSO_I, 14 MSO_I }, { 22 MSO_I, 13 MSO_I },				// ccp
4349*cdf0e10cSrcweir 	{ 22 MSO_I, 1 MSO_I }, { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },				// ppp
4350*cdf0e10cSrcweir 	{ 12 MSO_I, 23 MSO_I }, { 15 MSO_I, 24 MSO_I }, { 16 MSO_I, 24 MSO_I },				// ccp
4351*cdf0e10cSrcweir 	{ 11 MSO_I, 24 MSO_I },																// p
4352*cdf0e10cSrcweir 	{ 10 MSO_I, 24 MSO_I }, { 0 MSO_I, 26 MSO_I }, { 0 MSO_I, 25 MSO_I },				// ccp
4353*cdf0e10cSrcweir 	{ 0 MSO_I, 27 MSO_I }, { 10 MSO_I, 1 MSO_I }, { 11 MSO_I, 1 MSO_I },				// ccp
4354*cdf0e10cSrcweir 
4355*cdf0e10cSrcweir 	{ 22 MSO_I, 1 MSO_I }, { 22 MSO_I, 13 MSO_I },										// pp
4356*cdf0e10cSrcweir 	{ 22 MSO_I, 23 MSO_I }, { 21 MSO_I, 24 MSO_I }, { 20 MSO_I, 24 MSO_I },				// ccp
4357*cdf0e10cSrcweir 	{ 17 MSO_I, 24 MSO_I },																// p
4358*cdf0e10cSrcweir 	{ 18 MSO_I, 24 MSO_I }, { 19 MSO_I, 26 MSO_I }, { 19 MSO_I, 25 MSO_I },				// ccp
4359*cdf0e10cSrcweir 	{ 19 MSO_I, 27 MSO_I }, { 18 MSO_I, 1 MSO_I }, { 17 MSO_I, 1 MSO_I },				// ccp
4360*cdf0e10cSrcweir 
4361*cdf0e10cSrcweir 	{ 0 MSO_I, 25 MSO_I }, { 0 MSO_I, 2 MSO_I },										// pp
4362*cdf0e10cSrcweir 
4363*cdf0e10cSrcweir 	{ 19 MSO_I, 25 MSO_I }, { 19 MSO_I, 2 MSO_I }										// pp
4364*cdf0e10cSrcweir };
4365*cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbon2Segm[] =
4366*cdf0e10cSrcweir {
4367*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000,
4368*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4369*cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4370*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4371*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4372*cdf0e10cSrcweir };
4373*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbon2Calc[] =
4374*cdf0e10cSrcweir {
4375*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 00
4376*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 01
4377*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },						// 02
4378*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },							// 03
4379*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },							// 04
4380*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },							// 05
4381*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },							// 06
4382*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },						// 07
4383*cdf0e10cSrcweir 	{ 0x0000, { 420, 0, 0 } },								// 08
4384*cdf0e10cSrcweir 	{ 0x2001, { 0x408, 2, 1 } },							// 09
4385*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },						// 10
4386*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x409, 0 } },						// 11
4387*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 2700, 0 } },							// 12
4388*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },						// 13
4389*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },						// 14
4390*cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x408 } },						// 15
4391*cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x409 } },						// 16
4392*cdf0e10cSrcweir 
4393*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },						// 17
4394*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },						// 18
4395*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },						// 19
4396*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },						// 20
4397*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },						// 21
4398*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } },						// 22
4399*cdf0e10cSrcweir 
4400*cdf0e10cSrcweir 	{ 0xa000, { 0x40d, 0, 0x405 } },						// 23
4401*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x403, 0 } },						// 24
4402*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } },						// 25
4403*cdf0e10cSrcweir 	{ 0x6000, { 0x419, 0x405, 0 } },						// 26
4404*cdf0e10cSrcweir 	{ 0xa000, { 0x419, 0, 0x405 } }							// 27
4405*cdf0e10cSrcweir };
4406*cdf0e10cSrcweir static const sal_Int32 mso_sptRibbon2Default[] =
4407*cdf0e10cSrcweir {
4408*cdf0e10cSrcweir 	2, 5400, 18900
4409*cdf0e10cSrcweir };
4410*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] =
4411*cdf0e10cSrcweir {
4412*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 19 MSO_I, 1 MSO_I } }
4413*cdf0e10cSrcweir };
4414*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbon2Handle[] =
4415*cdf0e10cSrcweir {
4416*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4417*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
4418*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4419*cdf0e10cSrcweir 		10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
4420*cdf0e10cSrcweir };
4421*cdf0e10cSrcweir static const mso_CustomShape msoRibbon2 =
4422*cdf0e10cSrcweir {
4423*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbon2Vert, sizeof( mso_sptRibbon2Vert ) / sizeof( SvxMSDffVertPair ),
4424*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1,
4425*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRibbon2Calc, sizeof( mso_sptRibbon2Calc ) / sizeof( SvxMSDffCalculationData ),
4426*cdf0e10cSrcweir 	(sal_Int32*)mso_sptRibbon2Default,
4427*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, sizeof( mso_sptRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ),
4428*cdf0e10cSrcweir 	21600, 21600,
4429*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4430*cdf0e10cSrcweir 	NULL, 0,
4431*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRibbon2Handle, sizeof( mso_sptRibbon2Handle ) / sizeof( SvxMSDffHandle )
4432*cdf0e10cSrcweir };
4433*cdf0e10cSrcweir 
4434*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonVert[] =
4435*cdf0e10cSrcweir {
4436*cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 0 },
4437*cdf0e10cSrcweir 	{ 4 MSO_I, 11 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I },
4438*cdf0e10cSrcweir 	{ 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 },
4439*cdf0e10cSrcweir 	{ 0 MSO_I, 16 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 0, 15 MSO_I }, { 2700, 14 MSO_I },
4440*cdf0e10cSrcweir 
4441*cdf0e10cSrcweir 	{ 4 MSO_I, 11 MSO_I },
4442*cdf0e10cSrcweir 	{ 3 MSO_I, 12 MSO_I }, { 1 MSO_I, 12 MSO_I },
4443*cdf0e10cSrcweir 	{ 0 MSO_I, 13 MSO_I }, { 1 MSO_I, 10 MSO_I }, { 4 MSO_I, 10 MSO_I },
4444*cdf0e10cSrcweir 	{ 5 MSO_I, 11 MSO_I },
4445*cdf0e10cSrcweir 	{ 6 MSO_I, 12 MSO_I }, { 8 MSO_I, 12 MSO_I },
4446*cdf0e10cSrcweir 	{ 9 MSO_I, 13 MSO_I }, { 8 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I },
4447*cdf0e10cSrcweir 	{ 0 MSO_I, 13 MSO_I },
4448*cdf0e10cSrcweir 	{ 0 MSO_I, 15 MSO_I },
4449*cdf0e10cSrcweir 	{ 9 MSO_I, 13 MSO_I },
4450*cdf0e10cSrcweir 	{ 9 MSO_I, 15 MSO_I }
4451*cdf0e10cSrcweir };
4452*cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbonSegm[] =
4453*cdf0e10cSrcweir {
4454*cdf0e10cSrcweir 	0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000,
4455*cdf0e10cSrcweir 	0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4456*cdf0e10cSrcweir 	0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4457*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0001, 0x8000,
4458*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0001, 0x8000
4459*cdf0e10cSrcweir };
4460*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbonCalc[] =
4461*cdf0e10cSrcweir {
4462*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 00
4463*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 675, 0 } },							// 01
4464*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 675, 0 } },							// 02
4465*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 675, 0 } },							// 03
4466*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 675, 0 } },							// 04
4467*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },						// 05
4468*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },						// 06
4469*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },						// 07
4470*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },						// 08
4471*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },						// 09
4472*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 10
4473*cdf0e10cSrcweir 	{ 0x2001, { 0x40a, 1, 4 } },							// 11
4474*cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 2, 1 } },							// 12
4475*cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 3, 1 } },							// 13
4476*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x40c } },						// 14
4477*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },						// 15
4478*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },						// 16
4479*cdf0e10cSrcweir 	{ 0x0001, { 21600, 1, 2 } },							// 17
4480*cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 2700 } },							// 18
4481*cdf0e10cSrcweir 	{ 0x2000, { 0x411, 0, 2700 } }							// 19
4482*cdf0e10cSrcweir };
4483*cdf0e10cSrcweir static const sal_Int32 mso_sptRibbonDefault[] =
4484*cdf0e10cSrcweir {
4485*cdf0e10cSrcweir 	2, 5400, 2700
4486*cdf0e10cSrcweir };
4487*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbonTextRect[] =
4488*cdf0e10cSrcweir {
4489*cdf0e10cSrcweir 	{ { 0 MSO_I, 10 MSO_I }, { 9 MSO_I, 21600 } }
4490*cdf0e10cSrcweir };
4491*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonGluePoints[] =
4492*cdf0e10cSrcweir {
4493*cdf0e10cSrcweir 	{ 17 MSO_I, 10 MSO_I }, { 2700, 14 MSO_I }, { 17 MSO_I, 21600 }, { 18 MSO_I, 14 MSO_I }
4494*cdf0e10cSrcweir };
4495*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbonHandle[] =
4496*cdf0e10cSrcweir {
4497*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4498*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
4499*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4500*cdf0e10cSrcweir 		10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
4501*cdf0e10cSrcweir };
4502*cdf0e10cSrcweir static const mso_CustomShape msoRibbon =
4503*cdf0e10cSrcweir {
4504*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbonVert, sizeof( mso_sptRibbonVert ) / sizeof( SvxMSDffVertPair ),
4505*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1,
4506*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRibbonCalc, sizeof( mso_sptRibbonCalc ) / sizeof( SvxMSDffCalculationData ),
4507*cdf0e10cSrcweir 	(sal_Int32*)mso_sptRibbonDefault,
4508*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRibbonTextRect, sizeof( mso_sptRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ),
4509*cdf0e10cSrcweir 	21600, 21600,
4510*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4511*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbonGluePoints, sizeof( mso_sptRibbonGluePoints ) / sizeof( SvxMSDffVertPair ),
4512*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRibbonHandle, sizeof( mso_sptRibbonHandle ) / sizeof( SvxMSDffHandle )
4513*cdf0e10cSrcweir };
4514*cdf0e10cSrcweir 
4515*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptVerticalScrollVert[] =	// adjustment1 : 0 - 5400
4516*cdf0e10cSrcweir {
4517*cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I },
4518*cdf0e10cSrcweir 	{ 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I },
4519*cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 11 MSO_I }, { 5 MSO_I, 21600 },
4520*cdf0e10cSrcweir 
4521*cdf0e10cSrcweir 	{ 6 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 4 MSO_I, 1 MSO_I },
4522*cdf0e10cSrcweir 
4523*cdf0e10cSrcweir 	{ 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I },
4524*cdf0e10cSrcweir 	{ 9 MSO_I, 10 MSO_I }, { 1 MSO_I, 11 MSO_I },
4525*cdf0e10cSrcweir 
4526*cdf0e10cSrcweir 	{ 4 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I },
4527*cdf0e10cSrcweir 
4528*cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
4529*cdf0e10cSrcweir 
4530*cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I },
4531*cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }
4532*cdf0e10cSrcweir };
4533*cdf0e10cSrcweir static const sal_uInt16 mso_sptVerticalScrollSegm[] =
4534*cdf0e10cSrcweir {
4535*cdf0e10cSrcweir 	0x4000, 0xa702,	0x0002,	0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000,
4536*cdf0e10cSrcweir 	0x4000, 0xa801, 0xa702, 0x6000, 0x8000,
4537*cdf0e10cSrcweir 	0x4000, 0xa803, 0xa702, 0x6001, 0x8000,
4538*cdf0e10cSrcweir 	0x4000, 0xa701, 0x8000,
4539*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4540*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4541*cdf0e10cSrcweir };
4542*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptScrollCalc[] =
4543*cdf0e10cSrcweir {
4544*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
4545*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
4546*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x401 } },
4547*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
4548*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
4549*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
4550*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },
4551*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },
4552*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x407, 0 } },
4553*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x407, 0 } },
4554*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } },
4555*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },
4556*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
4557*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
4558*cdf0e10cSrcweir };
4559*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptScrollTextRect[] =
4560*cdf0e10cSrcweir {
4561*cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 12 MSO_I } }
4562*cdf0e10cSrcweir };
4563*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptVerticalScrollHandle[] =
4564*cdf0e10cSrcweir {
4565*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4566*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
4567*cdf0e10cSrcweir };
4568*cdf0e10cSrcweir static const mso_CustomShape msoVerticalScroll =
4569*cdf0e10cSrcweir {
4570*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVerticalScrollVert, sizeof( mso_sptVerticalScrollVert ) / sizeof( SvxMSDffVertPair ),
4571*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1,
4572*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ),
4573*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
4574*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ),
4575*cdf0e10cSrcweir 	21600, 21600,
4576*cdf0e10cSrcweir 	11000, 10800,
4577*cdf0e10cSrcweir 	NULL, 0,
4578*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptVerticalScrollHandle, sizeof( mso_sptVerticalScrollHandle ) / sizeof( SvxMSDffHandle )
4579*cdf0e10cSrcweir };
4580*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHorizontalScrollVert[] =	// adjustment1 : 0 - 5400
4581*cdf0e10cSrcweir {
4582*cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 1 MSO_I },
4583*cdf0e10cSrcweir 	{ 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 13 MSO_I }, { 2 MSO_I, 12 MSO_I },
4584*cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I },
4585*cdf0e10cSrcweir 
4586*cdf0e10cSrcweir 	{ 1 MSO_I, 4 MSO_I }, { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 6 MSO_I },
4587*cdf0e10cSrcweir 
4588*cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 3 MSO_I, 9 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 },
4589*cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I },
4590*cdf0e10cSrcweir 
4591*cdf0e10cSrcweir 	{ 1 MSO_I, 6 MSO_I },
4592*cdf0e10cSrcweir 	{ 0, 4 MSO_I },
4593*cdf0e10cSrcweir 
4594*cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I },
4595*cdf0e10cSrcweir 	{ 3 MSO_I, 0 MSO_I },
4596*cdf0e10cSrcweir 
4597*cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I },
4598*cdf0e10cSrcweir 	{ 0 MSO_I, 11 MSO_I }
4599*cdf0e10cSrcweir };
4600*cdf0e10cSrcweir static const sal_uInt16 mso_sptHorizontalScrollSegm[] =
4601*cdf0e10cSrcweir {
4602*cdf0e10cSrcweir 	0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000,
4603*cdf0e10cSrcweir 	0x4000, 0xa803, 0x6000, 0x8000,
4604*cdf0e10cSrcweir 	0x4000, 0xa803, 0xa702, 0x6000, 0x8000,
4605*cdf0e10cSrcweir 	0x4000, 0xa701, 0x8000,
4606*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4607*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4608*cdf0e10cSrcweir };
4609*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] =
4610*cdf0e10cSrcweir {
4611*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4612*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
4613*cdf0e10cSrcweir };
4614*cdf0e10cSrcweir static const mso_CustomShape msoHorizontalScroll =
4615*cdf0e10cSrcweir {
4616*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHorizontalScrollVert, sizeof( mso_sptHorizontalScrollVert ) / sizeof( SvxMSDffVertPair ),
4617*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1,
4618*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ),
4619*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
4620*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ),
4621*cdf0e10cSrcweir 	21600, 21600,
4622*cdf0e10cSrcweir 	10800, 11000,
4623*cdf0e10cSrcweir 	NULL, 0,
4624*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHorizontalScrollHandle, sizeof( mso_sptHorizontalScrollHandle ) / sizeof( SvxMSDffHandle )
4625*cdf0e10cSrcweir };
4626*cdf0e10cSrcweir 
4627*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] =
4628*cdf0e10cSrcweir {
4629*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
4630*cdf0e10cSrcweir };
4631*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartProcess =
4632*cdf0e10cSrcweir {
4633*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartProcessVert, sizeof( mso_sptFlowChartProcessVert ) / sizeof( SvxMSDffVertPair ),
4634*cdf0e10cSrcweir 	NULL, 0,
4635*cdf0e10cSrcweir 	NULL, 0,
4636*cdf0e10cSrcweir 	NULL,
4637*cdf0e10cSrcweir 	NULL, 0,
4638*cdf0e10cSrcweir 	21600, 21600,
4639*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4640*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4641*cdf0e10cSrcweir 	NULL, 0		// handles
4642*cdf0e10cSrcweir };
4643*cdf0e10cSrcweir 
4644*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert[] =
4645*cdf0e10cSrcweir {
4646*cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 2 MSO_I },
4647*cdf0e10cSrcweir 	{ 21600, 3 MSO_I }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }
4648*cdf0e10cSrcweir };
4649*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm[] =
4650*cdf0e10cSrcweir {
4651*cdf0e10cSrcweir 	0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
4652*cdf0e10cSrcweir };
4653*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc[] =
4654*cdf0e10cSrcweir {
4655*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoLeft, 2540, 0 } },
4656*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 2540 } },
4657*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoTop, 2540, 0 } },
4658*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom, 0, 2540 } },
4659*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoLeft, 800, 0 } },
4660*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 800 } },
4661*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoTop, 800, 0 } },
4662*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom,0, 800 } }
4663*cdf0e10cSrcweir };
4664*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect[] =
4665*cdf0e10cSrcweir {
4666*cdf0e10cSrcweir 	{ { 4 MSO_I, 6 MSO_I }, { 5 MSO_I, 7 MSO_I } }
4667*cdf0e10cSrcweir };
4668*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartAlternateProcess =
4669*cdf0e10cSrcweir {
4670*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartAlternateProcessVert, sizeof( mso_sptFlowChartAlternateProcessVert ) / sizeof( SvxMSDffVertPair ),
4671*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1,
4672*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, sizeof( mso_sptFlowChartAlternateProcessCalc ) / sizeof( SvxMSDffCalculationData ),
4673*cdf0e10cSrcweir 	NULL,
4674*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, sizeof( mso_sptFlowChartAlternateProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
4675*cdf0e10cSrcweir 	21600, 21600,
4676*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4677*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4678*cdf0e10cSrcweir 	NULL, 0		// handles
4679*cdf0e10cSrcweir };
4680*cdf0e10cSrcweir 
4681*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDecisionVert[] =
4682*cdf0e10cSrcweir {
4683*cdf0e10cSrcweir 	{ 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }
4684*cdf0e10cSrcweir };
4685*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect[] =
4686*cdf0e10cSrcweir {
4687*cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
4688*cdf0e10cSrcweir };
4689*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDecision =
4690*cdf0e10cSrcweir {
4691*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDecisionVert, sizeof( mso_sptFlowChartDecisionVert ) / sizeof( SvxMSDffVertPair ),
4692*cdf0e10cSrcweir 	NULL, 0,
4693*cdf0e10cSrcweir 	NULL, 0,
4694*cdf0e10cSrcweir 	NULL,
4695*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, sizeof( mso_sptFlowChartDecisionTextRect ) / sizeof( SvxMSDffTextRectangles ),
4696*cdf0e10cSrcweir 	21600, 21600,
4697*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4698*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4699*cdf0e10cSrcweir 	NULL, 0		// handles
4700*cdf0e10cSrcweir };
4701*cdf0e10cSrcweir 
4702*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert[] =
4703*cdf0e10cSrcweir {
4704*cdf0e10cSrcweir 	{ 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 }
4705*cdf0e10cSrcweir };
4706*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect[] =
4707*cdf0e10cSrcweir {
4708*cdf0e10cSrcweir 	{ { 4230, 0 }, { 17370, 21600 } }
4709*cdf0e10cSrcweir };
4710*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints[] =
4711*cdf0e10cSrcweir {
4712*cdf0e10cSrcweir 	{ 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 }
4713*cdf0e10cSrcweir };
4714*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInputOutput =
4715*cdf0e10cSrcweir {
4716*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInputOutputVert, sizeof( mso_sptFlowChartInputOutputVert ) / sizeof( SvxMSDffVertPair ),
4717*cdf0e10cSrcweir 	NULL, 0,
4718*cdf0e10cSrcweir 	NULL, 0,
4719*cdf0e10cSrcweir 	NULL,
4720*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, sizeof( mso_sptFlowChartInputOutputTextRect ) / sizeof( SvxMSDffTextRectangles ),
4721*cdf0e10cSrcweir 	21600, 21600,
4722*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4723*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, sizeof( mso_sptFlowChartInputOutputGluePoints ) / sizeof( SvxMSDffVertPair ),
4724*cdf0e10cSrcweir 	NULL, 0		// handles
4725*cdf0e10cSrcweir };
4726*cdf0e10cSrcweir 
4727*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert[] =
4728*cdf0e10cSrcweir {
4729*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
4730*cdf0e10cSrcweir 
4731*cdf0e10cSrcweir 	{ 2540, 0 }, { 2540, 21600 },
4732*cdf0e10cSrcweir 
4733*cdf0e10cSrcweir 	{ 21600 - 2540, 0 }, { 21600 - 2540, 21600 }
4734*cdf0e10cSrcweir };
4735*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm[] =
4736*cdf0e10cSrcweir {
4737*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
4738*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4739*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4740*cdf0e10cSrcweir };
4741*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect[] =
4742*cdf0e10cSrcweir {
4743*cdf0e10cSrcweir 	{ { 2540, 0 }, { 21600 - 2540, 21600 } }
4744*cdf0e10cSrcweir };
4745*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPredefinedProcess =
4746*cdf0e10cSrcweir {
4747*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPredefinedProcessVert, sizeof( mso_sptFlowChartPredefinedProcessVert ) / sizeof( SvxMSDffVertPair ),
4748*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1,
4749*cdf0e10cSrcweir 	NULL, 0,
4750*cdf0e10cSrcweir 	NULL,
4751*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, sizeof( mso_sptFlowChartPredefinedProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
4752*cdf0e10cSrcweir 	21600, 21600,
4753*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4754*cdf0e10cSrcweir 	NULL, 0,
4755*cdf0e10cSrcweir 	NULL, 0		// handles
4756*cdf0e10cSrcweir };
4757*cdf0e10cSrcweir 
4758*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert[] =
4759*cdf0e10cSrcweir {
4760*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
4761*cdf0e10cSrcweir 
4762*cdf0e10cSrcweir 	{ 4230, 0 }, { 4230, 21600 },
4763*cdf0e10cSrcweir 
4764*cdf0e10cSrcweir 	{ 0, 4230 }, { 21600, 4230 }
4765*cdf0e10cSrcweir };
4766*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartInternalStorageSegm[] =
4767*cdf0e10cSrcweir {
4768*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
4769*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4770*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4771*cdf0e10cSrcweir };
4772*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect[] =
4773*cdf0e10cSrcweir {
4774*cdf0e10cSrcweir 	{ { 4230, 4230 }, { 21600, 21600 } }
4775*cdf0e10cSrcweir };
4776*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInternalStorage =
4777*cdf0e10cSrcweir {
4778*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInternalStorageVert, sizeof( mso_sptFlowChartInternalStorageVert ) / sizeof( SvxMSDffVertPair ),
4779*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1,
4780*cdf0e10cSrcweir 	NULL, 0,
4781*cdf0e10cSrcweir 	NULL,
4782*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, sizeof( mso_sptFlowChartInternalStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
4783*cdf0e10cSrcweir 	21600, 21600,
4784*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4785*cdf0e10cSrcweir 	NULL, 0,
4786*cdf0e10cSrcweir 	NULL, 0		// handles
4787*cdf0e10cSrcweir };
4788*cdf0e10cSrcweir 
4789*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentVert[] =
4790*cdf0e10cSrcweir {
4791*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 17360 },
4792*cdf0e10cSrcweir 	{ 13050, 17220 }, {	13340, 20770 }, { 5620, 21600 },	// ccp
4793*cdf0e10cSrcweir 	{ 2860, 21100 }, { 1850, 20700 }, { 0,	20120 }			// ccp
4794*cdf0e10cSrcweir };
4795*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDocumentSegm[] =
4796*cdf0e10cSrcweir {
4797*cdf0e10cSrcweir 	0x4000, 0x0002, 0x2002, 0x6000, 0x8000
4798*cdf0e10cSrcweir };
4799*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect[] =
4800*cdf0e10cSrcweir {
4801*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 17360 } }
4802*cdf0e10cSrcweir };
4803*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints[] =
4804*cdf0e10cSrcweir {
4805*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 }
4806*cdf0e10cSrcweir };
4807*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDocument =
4808*cdf0e10cSrcweir {
4809*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDocumentVert, sizeof( mso_sptFlowChartDocumentVert ) / sizeof( SvxMSDffVertPair ),
4810*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1,
4811*cdf0e10cSrcweir 	NULL, 0,
4812*cdf0e10cSrcweir 	NULL,
4813*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, sizeof( mso_sptFlowChartDocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
4814*cdf0e10cSrcweir 	21600, 21600,
4815*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4816*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, sizeof( mso_sptFlowChartDocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
4817*cdf0e10cSrcweir 	NULL, 0		// handles
4818*cdf0e10cSrcweir };
4819*cdf0e10cSrcweir 
4820*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert[] =
4821*cdf0e10cSrcweir {
4822*cdf0e10cSrcweir 	{ 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 },
4823*cdf0e10cSrcweir 	{ 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 },
4824*cdf0e10cSrcweir 	{ 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 },
4825*cdf0e10cSrcweir 	{ 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 },						// ccp
4826*cdf0e10cSrcweir 	{ 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 },							// ccp
4827*cdf0e10cSrcweir 
4828*cdf0e10cSrcweir 	{ 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 },
4829*cdf0e10cSrcweir 
4830*cdf0e10cSrcweir 	{ 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 }
4831*cdf0e10cSrcweir };
4832*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMultidocumentSegm[] =
4833*cdf0e10cSrcweir {
4834*cdf0e10cSrcweir 	0x4000, 0x000a, 0x2002, 0x6000, 0x8000,
4835*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0002, 0x8000,			// NO FILL
4836*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0002, 0x8000			// NO FILL
4837*cdf0e10cSrcweir };
4838*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect[] =
4839*cdf0e10cSrcweir {
4840*cdf0e10cSrcweir 	{ { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } }
4841*cdf0e10cSrcweir };
4842*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints[] =
4843*cdf0e10cSrcweir {
4844*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
4845*cdf0e10cSrcweir };
4846*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMultidocument =
4847*cdf0e10cSrcweir {
4848*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMultidocumentVert, sizeof( mso_sptFlowChartMultidocumentVert ) / sizeof( SvxMSDffVertPair ),
4849*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1,
4850*cdf0e10cSrcweir 	NULL, 0,
4851*cdf0e10cSrcweir 	NULL,
4852*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, sizeof( mso_sptFlowChartMultidocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
4853*cdf0e10cSrcweir 	21600, 21600,
4854*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4855*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, sizeof( mso_sptFlowChartMultidocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
4856*cdf0e10cSrcweir 	NULL, 0		// handles
4857*cdf0e10cSrcweir };
4858*cdf0e10cSrcweir 
4859*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert[] =
4860*cdf0e10cSrcweir {
4861*cdf0e10cSrcweir 	{ 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 },
4862*cdf0e10cSrcweir 	{ 21600, 10800 }, { 18130, 21600 }
4863*cdf0e10cSrcweir };
4864*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartTerminatorSegm[] =
4865*cdf0e10cSrcweir {
4866*cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
4867*cdf0e10cSrcweir };
4868*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect[] =
4869*cdf0e10cSrcweir {
4870*cdf0e10cSrcweir 	{ { 1060, 3180 }, { 20540, 18420 } }
4871*cdf0e10cSrcweir };
4872*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartTerminator =
4873*cdf0e10cSrcweir {
4874*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartTerminatorVert, sizeof( mso_sptFlowChartTerminatorVert ) / sizeof( SvxMSDffVertPair ),
4875*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1,
4876*cdf0e10cSrcweir 	NULL, 0,
4877*cdf0e10cSrcweir 	NULL,
4878*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, sizeof( mso_sptFlowChartTerminatorTextRect ) / sizeof( SvxMSDffTextRectangles ),
4879*cdf0e10cSrcweir 	21600, 21600,
4880*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4881*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4882*cdf0e10cSrcweir 	NULL, 0		// handles
4883*cdf0e10cSrcweir };
4884*cdf0e10cSrcweir 
4885*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPreparationVert[] =
4886*cdf0e10cSrcweir {
4887*cdf0e10cSrcweir 	{ 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 },
4888*cdf0e10cSrcweir 	{ 4350, 21600 }, { 0, 10800 }, { 4350, 0 }
4889*cdf0e10cSrcweir };
4890*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect[] =
4891*cdf0e10cSrcweir {
4892*cdf0e10cSrcweir 	{ { 4350, 0 }, { 17250, 21600 } }
4893*cdf0e10cSrcweir };
4894*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPreparation =
4895*cdf0e10cSrcweir {
4896*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPreparationVert, sizeof( mso_sptFlowChartPreparationVert ) / sizeof( SvxMSDffVertPair ),
4897*cdf0e10cSrcweir 	NULL, 0,
4898*cdf0e10cSrcweir 	NULL, 0,
4899*cdf0e10cSrcweir 	NULL,
4900*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, sizeof( mso_sptFlowChartPreparationTextRect ) / sizeof( SvxMSDffTextRectangles ),
4901*cdf0e10cSrcweir 	21600, 21600,
4902*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4903*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4904*cdf0e10cSrcweir 	NULL, 0		// handles
4905*cdf0e10cSrcweir };
4906*cdf0e10cSrcweir 
4907*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputVert[] =
4908*cdf0e10cSrcweir {
4909*cdf0e10cSrcweir 	{ 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 }
4910*cdf0e10cSrcweir };
4911*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect[] =
4912*cdf0e10cSrcweir {
4913*cdf0e10cSrcweir 	{ { 0, 4300 }, { 21600, 21600 } }
4914*cdf0e10cSrcweir };
4915*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints[] =
4916*cdf0e10cSrcweir {
4917*cdf0e10cSrcweir 	{ 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
4918*cdf0e10cSrcweir };
4919*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualInput =
4920*cdf0e10cSrcweir {
4921*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualInputVert, sizeof( mso_sptFlowChartManualInputVert ) / sizeof( SvxMSDffVertPair ),
4922*cdf0e10cSrcweir 	NULL, 0,
4923*cdf0e10cSrcweir 	NULL, 0,
4924*cdf0e10cSrcweir 	NULL,
4925*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, sizeof( mso_sptFlowChartManualInputTextRect ) / sizeof( SvxMSDffTextRectangles ),
4926*cdf0e10cSrcweir 	21600, 21600,
4927*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4928*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, sizeof( mso_sptFlowChartManualInputGluePoints ) / sizeof( SvxMSDffVertPair ),
4929*cdf0e10cSrcweir 	NULL, 0		// handles
4930*cdf0e10cSrcweir };
4931*cdf0e10cSrcweir 
4932*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert[] =
4933*cdf0e10cSrcweir {
4934*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 }
4935*cdf0e10cSrcweir };
4936*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect[] =
4937*cdf0e10cSrcweir {
4938*cdf0e10cSrcweir 	{ { 4350, 0 }, { 17250, 21600 } }
4939*cdf0e10cSrcweir };
4940*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints[] =
4941*cdf0e10cSrcweir {
4942*cdf0e10cSrcweir 	{ 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 }
4943*cdf0e10cSrcweir };
4944*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualOperation =
4945*cdf0e10cSrcweir {
4946*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualOperationVert, sizeof( mso_sptFlowChartManualOperationVert ) / sizeof( SvxMSDffVertPair ),
4947*cdf0e10cSrcweir 	NULL, 0,
4948*cdf0e10cSrcweir 	NULL, 0,
4949*cdf0e10cSrcweir 	NULL,
4950*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, sizeof( mso_sptFlowChartManualOperationTextRect ) / sizeof( SvxMSDffTextRectangles ),
4951*cdf0e10cSrcweir 	21600, 21600,
4952*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4953*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, sizeof( mso_sptFlowChartManualOperationGluePoints ) / sizeof( SvxMSDffVertPair ),
4954*cdf0e10cSrcweir 	NULL, 0		// handles
4955*cdf0e10cSrcweir };
4956*cdf0e10cSrcweir 
4957*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartConnectorVert[] =
4958*cdf0e10cSrcweir {
4959*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
4960*cdf0e10cSrcweir };
4961*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartConnectorSegm[] =
4962*cdf0e10cSrcweir {
4963*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
4964*cdf0e10cSrcweir };
4965*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect[] =
4966*cdf0e10cSrcweir {
4967*cdf0e10cSrcweir 	{ { 3180, 3180 }, { 18420, 18420 } }
4968*cdf0e10cSrcweir };
4969*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartConnector =
4970*cdf0e10cSrcweir {
4971*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartConnectorVert, sizeof( mso_sptFlowChartConnectorVert ) / sizeof( SvxMSDffVertPair ),
4972*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1,
4973*cdf0e10cSrcweir 	NULL, 0,
4974*cdf0e10cSrcweir 	NULL,
4975*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, sizeof( mso_sptFlowChartConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
4976*cdf0e10cSrcweir 	21600, 21600,
4977*cdf0e10cSrcweir 	0x80000000, 0x80000000,
4978*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
4979*cdf0e10cSrcweir 	NULL, 0		// handles
4980*cdf0e10cSrcweir };
4981*cdf0e10cSrcweir 
4982*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert[] =
4983*cdf0e10cSrcweir {
4984*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 },
4985*cdf0e10cSrcweir 	{ 0, 17150 }, { 0, 0 }
4986*cdf0e10cSrcweir };
4987*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect[] =
4988*cdf0e10cSrcweir {
4989*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 17150 } }
4990*cdf0e10cSrcweir };
4991*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOffpageConnector =
4992*cdf0e10cSrcweir {
4993*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOffpageConnectorVert, sizeof( mso_sptFlowChartOffpageConnectorVert ) / sizeof( SvxMSDffVertPair ),
4994*cdf0e10cSrcweir 	NULL, 0,
4995*cdf0e10cSrcweir 	NULL, 0,
4996*cdf0e10cSrcweir 	NULL,
4997*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, sizeof( mso_sptFlowChartOffpageConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
4998*cdf0e10cSrcweir 	21600, 21600,
4999*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5000*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5001*cdf0e10cSrcweir 	NULL, 0		// handles
5002*cdf0e10cSrcweir };
5003*cdf0e10cSrcweir 
5004*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert[] =
5005*cdf0e10cSrcweir {
5006*cdf0e10cSrcweir 	{ 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
5007*cdf0e10cSrcweir 	{ 0, 4300 }, { 4300, 0 }
5008*cdf0e10cSrcweir };
5009*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect[] =
5010*cdf0e10cSrcweir {
5011*cdf0e10cSrcweir 	{ { 0, 4300 }, { 21600, 21600 } }
5012*cdf0e10cSrcweir };
5013*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedCard =
5014*cdf0e10cSrcweir {
5015*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedCardVert, sizeof( mso_sptFlowChartPunchedCardVert ) / sizeof( SvxMSDffVertPair ),
5016*cdf0e10cSrcweir 	NULL, 0,
5017*cdf0e10cSrcweir 	NULL, 0,
5018*cdf0e10cSrcweir 	NULL,
5019*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, sizeof( mso_sptFlowChartPunchedCardTextRect ) / sizeof( SvxMSDffTextRectangles ),
5020*cdf0e10cSrcweir 	21600, 21600,
5021*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5022*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5023*cdf0e10cSrcweir 	NULL, 0		// handles
5024*cdf0e10cSrcweir };
5025*cdf0e10cSrcweir 
5026*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert[] =
5027*cdf0e10cSrcweir {
5028*cdf0e10cSrcweir 	{ 0, 2230 },											// p
5029*cdf0e10cSrcweir 	{ 820, 3990 }, { 3410, 3980 }, { 5370, 4360 },			// ccp
5030*cdf0e10cSrcweir 	{ 7430, 4030 },	{ 10110, 3890 }, { 10690, 2270 },		// ccp
5031*cdf0e10cSrcweir 	{ 11440, 300 }, { 14200, 160 }, { 16150, 0 },			// ccp
5032*cdf0e10cSrcweir 	{ 18670, 170 }, {  20690, 390 }, { 21600, 2230 },		// ccp
5033*cdf0e10cSrcweir 	{ 21600, 19420 },										// p
5034*cdf0e10cSrcweir 	{ 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 },	// ccp
5035*cdf0e10cSrcweir 	{ 14710, 17370 }, {	11310, 17510 }, { 10770, 19430 },	// ccp
5036*cdf0e10cSrcweir 	{ 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 },		// ccp
5037*cdf0e10cSrcweir 	{ 3220, 21250 }, { 610, 21130 }, { 0, 19420	}			// ccp
5038*cdf0e10cSrcweir };
5039*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm[] =
5040*cdf0e10cSrcweir {
5041*cdf0e10cSrcweir 	0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000
5042*cdf0e10cSrcweir };
5043*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect[] =
5044*cdf0e10cSrcweir {
5045*cdf0e10cSrcweir 	{ { 0, 4360 }, { 21600, 17240 } }
5046*cdf0e10cSrcweir };
5047*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints[] =
5048*cdf0e10cSrcweir {
5049*cdf0e10cSrcweir 	{ 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 }
5050*cdf0e10cSrcweir };
5051*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedTape =
5052*cdf0e10cSrcweir {
5053*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeVert, sizeof( mso_sptFlowChartPunchedTapeVert ) / sizeof( SvxMSDffVertPair ),
5054*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1,
5055*cdf0e10cSrcweir 	NULL, 0,
5056*cdf0e10cSrcweir 	NULL,
5057*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, sizeof( mso_sptFlowChartPunchedTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5058*cdf0e10cSrcweir 	21600, 21600,
5059*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5060*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, sizeof( mso_sptFlowChartPunchedTapeGluePoints ) / sizeof( SvxMSDffVertPair ),
5061*cdf0e10cSrcweir 	NULL, 0		// handles
5062*cdf0e10cSrcweir };
5063*cdf0e10cSrcweir 
5064*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert[] =
5065*cdf0e10cSrcweir {
5066*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5067*cdf0e10cSrcweir 
5068*cdf0e10cSrcweir 	{ 3100, 3100 },
5069*cdf0e10cSrcweir 	{ 18500, 18500 },
5070*cdf0e10cSrcweir 
5071*cdf0e10cSrcweir 	{ 3100, 18500 },
5072*cdf0e10cSrcweir 	{ 18500, 3100 }
5073*cdf0e10cSrcweir };
5074*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm[] =
5075*cdf0e10cSrcweir {
5076*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
5077*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5078*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5079*cdf0e10cSrcweir };
5080*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect[] =
5081*cdf0e10cSrcweir {
5082*cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5083*cdf0e10cSrcweir };
5084*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSummingJunction =
5085*cdf0e10cSrcweir {
5086*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartSummingJunctionVert, sizeof( mso_sptFlowChartSummingJunctionVert ) / sizeof( SvxMSDffVertPair ),
5087*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1,
5088*cdf0e10cSrcweir 	NULL, 0,
5089*cdf0e10cSrcweir 	NULL,
5090*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, sizeof( mso_sptFlowChartSummingJunctionTextRect ) / sizeof( SvxMSDffTextRectangles ),
5091*cdf0e10cSrcweir 	21600, 21600,
5092*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5093*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
5094*cdf0e10cSrcweir 	NULL, 0		// handles
5095*cdf0e10cSrcweir };
5096*cdf0e10cSrcweir 
5097*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOrVert[] =
5098*cdf0e10cSrcweir {
5099*cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5100*cdf0e10cSrcweir 
5101*cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 },
5102*cdf0e10cSrcweir 
5103*cdf0e10cSrcweir 	{ 10800, 0 }, { 10800, 21600 }
5104*cdf0e10cSrcweir };
5105*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOrSegm[] =
5106*cdf0e10cSrcweir {
5107*cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
5108*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5109*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5110*cdf0e10cSrcweir };
5111*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect[] =
5112*cdf0e10cSrcweir {
5113*cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5114*cdf0e10cSrcweir };
5115*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOr =
5116*cdf0e10cSrcweir {
5117*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOrVert, sizeof( mso_sptFlowChartOrVert ) / sizeof( SvxMSDffVertPair ),
5118*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1,
5119*cdf0e10cSrcweir 	NULL, 0,
5120*cdf0e10cSrcweir 	NULL,
5121*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, sizeof( mso_sptFlowChartOrTextRect ) / sizeof( SvxMSDffTextRectangles ),
5122*cdf0e10cSrcweir 	21600, 21600,
5123*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5124*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
5125*cdf0e10cSrcweir 	NULL, 0		// handles
5126*cdf0e10cSrcweir };
5127*cdf0e10cSrcweir 
5128*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateVert[] =
5129*cdf0e10cSrcweir {
5130*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 }
5131*cdf0e10cSrcweir };
5132*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect[] =
5133*cdf0e10cSrcweir {
5134*cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
5135*cdf0e10cSrcweir };
5136*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints[] =
5137*cdf0e10cSrcweir {
5138*cdf0e10cSrcweir 	{ 10800, 0 }, { 10800, 10800 }, { 10800, 21600 }
5139*cdf0e10cSrcweir };
5140*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartCollate =
5141*cdf0e10cSrcweir {
5142*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartCollateVert, sizeof( mso_sptFlowChartCollateVert ) / sizeof( SvxMSDffVertPair ),
5143*cdf0e10cSrcweir 	NULL, 0,
5144*cdf0e10cSrcweir 	NULL, 0,
5145*cdf0e10cSrcweir 	NULL,
5146*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, sizeof( mso_sptFlowChartCollateTextRect ) / sizeof( SvxMSDffTextRectangles ),
5147*cdf0e10cSrcweir 	21600, 21600,
5148*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5149*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, sizeof( mso_sptFlowChartCollateGluePoints ) / sizeof( SvxMSDffVertPair ),
5150*cdf0e10cSrcweir 	NULL, 0		// handles
5151*cdf0e10cSrcweir };
5152*cdf0e10cSrcweir 
5153*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSortVert[] =
5154*cdf0e10cSrcweir {
5155*cdf0e10cSrcweir 	{ 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 },
5156*cdf0e10cSrcweir 
5157*cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 }
5158*cdf0e10cSrcweir };
5159*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSortSegm[] =
5160*cdf0e10cSrcweir {
5161*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
5162*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5163*cdf0e10cSrcweir };
5164*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect[] =
5165*cdf0e10cSrcweir {
5166*cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
5167*cdf0e10cSrcweir };
5168*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSort =
5169*cdf0e10cSrcweir {
5170*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartSortVert, sizeof( mso_sptFlowChartSortVert ) / sizeof( SvxMSDffVertPair ),
5171*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1,
5172*cdf0e10cSrcweir 	NULL, 0,
5173*cdf0e10cSrcweir 	NULL,
5174*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, sizeof( mso_sptFlowChartSortTextRect ) / sizeof( SvxMSDffTextRectangles ),
5175*cdf0e10cSrcweir 	21600, 21600,
5176*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5177*cdf0e10cSrcweir 	NULL, 0,
5178*cdf0e10cSrcweir 	NULL, 0		// handles
5179*cdf0e10cSrcweir };
5180*cdf0e10cSrcweir 
5181*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractVert[] =
5182*cdf0e10cSrcweir {
5183*cdf0e10cSrcweir 	{ 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 }
5184*cdf0e10cSrcweir };
5185*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect[] =
5186*cdf0e10cSrcweir {
5187*cdf0e10cSrcweir 	{ { 5400, 10800 }, { 16200, 21600 } }
5188*cdf0e10cSrcweir };
5189*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints[] =
5190*cdf0e10cSrcweir {
5191*cdf0e10cSrcweir 	{ 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 }
5192*cdf0e10cSrcweir };
5193*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartExtract =
5194*cdf0e10cSrcweir {
5195*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractVert, sizeof( mso_sptFlowChartExtractVert ) / sizeof( SvxMSDffVertPair ),
5196*cdf0e10cSrcweir 	NULL, 0,
5197*cdf0e10cSrcweir 	NULL, 0,
5198*cdf0e10cSrcweir 	NULL,
5199*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, sizeof( mso_sptFlowChartExtractTextRect ) / sizeof( SvxMSDffTextRectangles ),
5200*cdf0e10cSrcweir 	21600, 21600,
5201*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5202*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
5203*cdf0e10cSrcweir 	NULL, 0		// handles
5204*cdf0e10cSrcweir };
5205*cdf0e10cSrcweir 
5206*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMergeVert[] =
5207*cdf0e10cSrcweir {
5208*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 }
5209*cdf0e10cSrcweir };
5210*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect[] =
5211*cdf0e10cSrcweir {
5212*cdf0e10cSrcweir 	{ { 5400, 0 }, { 16200, 10800 } }
5213*cdf0e10cSrcweir };
5214*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMerge =
5215*cdf0e10cSrcweir {
5216*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMergeVert, sizeof( mso_sptFlowChartMergeVert ) / sizeof( SvxMSDffVertPair ),
5217*cdf0e10cSrcweir 	NULL, 0,
5218*cdf0e10cSrcweir 	NULL, 0,
5219*cdf0e10cSrcweir 	NULL,
5220*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, sizeof( mso_sptFlowChartMergeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5221*cdf0e10cSrcweir 	21600, 21600,
5222*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5223*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
5224*cdf0e10cSrcweir 	NULL, 0		// handles
5225*cdf0e10cSrcweir };
5226*cdf0e10cSrcweir 
5227*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert[] =
5228*cdf0e10cSrcweir {
5229*cdf0e10cSrcweir 	{ 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 },
5230*cdf0e10cSrcweir 	{ 18000, 10800 }, { 21600, 21600 }
5231*cdf0e10cSrcweir };
5232*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm[] =
5233*cdf0e10cSrcweir {
5234*cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
5235*cdf0e10cSrcweir };
5236*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect[] =
5237*cdf0e10cSrcweir {
5238*cdf0e10cSrcweir 	{ { 3600, 0 }, { 18000, 21600 } }
5239*cdf0e10cSrcweir };
5240*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints[] =
5241*cdf0e10cSrcweir {
5242*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 }
5243*cdf0e10cSrcweir };
5244*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOnlineStorage =
5245*cdf0e10cSrcweir {
5246*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageVert, sizeof( mso_sptFlowChartOnlineStorageVert ) / sizeof( SvxMSDffVertPair ),
5247*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1,
5248*cdf0e10cSrcweir 	NULL, 0,
5249*cdf0e10cSrcweir 	NULL,
5250*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, sizeof( mso_sptFlowChartOnlineStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
5251*cdf0e10cSrcweir 	21600, 21600,
5252*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5253*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, sizeof( mso_sptFlowChartOnlineStorageGluePoints ) / sizeof( SvxMSDffVertPair ),
5254*cdf0e10cSrcweir 	NULL, 0		// handles
5255*cdf0e10cSrcweir };
5256*cdf0e10cSrcweir 
5257*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDelayVert[] =
5258*cdf0e10cSrcweir {
5259*cdf0e10cSrcweir 	{ 10800, 0 }, {	21600, 10800 }, { 10800, 21600 }, {	0, 21600 },
5260*cdf0e10cSrcweir 	{ 0, 0 }
5261*cdf0e10cSrcweir };
5262*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDelaySegm[] =
5263*cdf0e10cSrcweir {
5264*cdf0e10cSrcweir 	0x4000, 0xa702, 0x0002, 0x6000, 0x8000
5265*cdf0e10cSrcweir };
5266*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect[] =
5267*cdf0e10cSrcweir {
5268*cdf0e10cSrcweir 	{ { 0, 3100 }, { 18500, 18500 } }
5269*cdf0e10cSrcweir };
5270*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDelay =
5271*cdf0e10cSrcweir {
5272*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDelayVert, sizeof( mso_sptFlowChartDelayVert ) / sizeof( SvxMSDffVertPair ),
5273*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1,
5274*cdf0e10cSrcweir 	NULL, 0,
5275*cdf0e10cSrcweir 	NULL,
5276*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, sizeof( mso_sptFlowChartDelayTextRect ) / sizeof( SvxMSDffTextRectangles ),
5277*cdf0e10cSrcweir 	21600, 21600,
5278*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5279*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5280*cdf0e10cSrcweir 	NULL, 0		// handles
5281*cdf0e10cSrcweir };
5282*cdf0e10cSrcweir 
5283*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert[] =
5284*cdf0e10cSrcweir {
5285*cdf0e10cSrcweir 	{ 20980, 18150 }, {	20980, 21600 }, { 10670, 21600 },
5286*cdf0e10cSrcweir 	{ 4770, 21540 }, { 0, 16720 }, { 0, 10800 },			// ccp
5287*cdf0e10cSrcweir 	{ 0, 4840 }, { 4840, 0 }, { 10800, 0 },					// ccp
5288*cdf0e10cSrcweir 	{ 16740, 0 }, { 21600, 4840 }, { 21600, 10800 },		// ccp
5289*cdf0e10cSrcweir 	{ 21600, 13520 }, {	20550, 16160 }, { 18670, 18170 }	// ccp
5290*cdf0e10cSrcweir };
5291*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm[] =
5292*cdf0e10cSrcweir {
5293*cdf0e10cSrcweir 	0x4000, 0x0002, 0x2004, 0x6000, 0x8000
5294*cdf0e10cSrcweir };
5295*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect[] =
5296*cdf0e10cSrcweir {
5297*cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5298*cdf0e10cSrcweir };
5299*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticTape =
5300*cdf0e10cSrcweir {
5301*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticTapeVert, sizeof( mso_sptFlowChartMagneticTapeVert ) / sizeof( SvxMSDffVertPair ),
5302*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1,
5303*cdf0e10cSrcweir 	NULL, 0,
5304*cdf0e10cSrcweir 	NULL,
5305*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, sizeof( mso_sptFlowChartMagneticTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5306*cdf0e10cSrcweir 	21600, 21600,
5307*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5308*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5309*cdf0e10cSrcweir 	NULL, 0		// handles
5310*cdf0e10cSrcweir };
5311*cdf0e10cSrcweir 
5312*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert[] =
5313*cdf0e10cSrcweir {
5314*cdf0e10cSrcweir 	{ 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 },
5315*cdf0e10cSrcweir 	{ 10800, 21600 }, { 0, 18200 },
5316*cdf0e10cSrcweir 
5317*cdf0e10cSrcweir 	{ 0, 3400 }, { 10800, 6800 }, { 21600, 3400 }
5318*cdf0e10cSrcweir };
5319*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm[] =
5320*cdf0e10cSrcweir {
5321*cdf0e10cSrcweir 	0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000,
5322*cdf0e10cSrcweir 	0x4000, 0xa802, 0x8000
5323*cdf0e10cSrcweir };
5324*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect[] =
5325*cdf0e10cSrcweir {
5326*cdf0e10cSrcweir 	{ { 0, 6800 }, { 21600, 18200 } }
5327*cdf0e10cSrcweir };
5328*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints[] =
5329*cdf0e10cSrcweir {
5330*cdf0e10cSrcweir 	{ 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
5331*cdf0e10cSrcweir };
5332*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDisk =
5333*cdf0e10cSrcweir {
5334*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskVert, sizeof( mso_sptFlowChartMagneticDiskVert ) / sizeof( SvxMSDffVertPair ),
5335*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1,
5336*cdf0e10cSrcweir 	NULL, 0,
5337*cdf0e10cSrcweir 	NULL,
5338*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, sizeof( mso_sptFlowChartMagneticDiskTextRect ) / sizeof( SvxMSDffTextRectangles ),
5339*cdf0e10cSrcweir 	21600, 21600,
5340*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5341*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, sizeof( mso_sptFlowChartMagneticDiskGluePoints ) / sizeof( SvxMSDffVertPair ),
5342*cdf0e10cSrcweir 	NULL, 0		// handles
5343*cdf0e10cSrcweir };
5344*cdf0e10cSrcweir 
5345*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert[] =
5346*cdf0e10cSrcweir {
5347*cdf0e10cSrcweir 	{ 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 },
5348*cdf0e10cSrcweir 	{ 0, 10800 }, { 3400, 0 },
5349*cdf0e10cSrcweir 
5350*cdf0e10cSrcweir 	{ 18200, 0 }, { 14800, 10800 }, { 18200, 21600 }
5351*cdf0e10cSrcweir };
5352*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm[] =
5353*cdf0e10cSrcweir {
5354*cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000,
5355*cdf0e10cSrcweir 	0x4000, 0xa702, 0x8000
5356*cdf0e10cSrcweir };
5357*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect[] =
5358*cdf0e10cSrcweir {
5359*cdf0e10cSrcweir 	{ { 3400, 0 }, { 14800, 21600 } }
5360*cdf0e10cSrcweir };
5361*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints[] =
5362*cdf0e10cSrcweir {
5363*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 }
5364*cdf0e10cSrcweir };
5365*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDrum =
5366*cdf0e10cSrcweir {
5367*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumVert, sizeof( mso_sptFlowChartMagneticDrumVert ) / sizeof( SvxMSDffVertPair ),
5368*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1,
5369*cdf0e10cSrcweir 	NULL, 0,
5370*cdf0e10cSrcweir 	NULL,
5371*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, sizeof( mso_sptFlowChartMagneticDrumTextRect ) / sizeof( SvxMSDffTextRectangles ),
5372*cdf0e10cSrcweir 	21600, 21600,
5373*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5374*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, sizeof( mso_sptFlowChartMagneticDrumGluePoints ) / sizeof( SvxMSDffVertPair ),
5375*cdf0e10cSrcweir 	NULL, 0		// handles
5376*cdf0e10cSrcweir };
5377*cdf0e10cSrcweir 
5378*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDisplayVert[] =
5379*cdf0e10cSrcweir {
5380*cdf0e10cSrcweir 	{ 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 },
5381*cdf0e10cSrcweir 	{ 3600, 21600 }, { 0, 10800 }
5382*cdf0e10cSrcweir };
5383*cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDisplaySegm[] =
5384*cdf0e10cSrcweir {
5385*cdf0e10cSrcweir 	0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000
5386*cdf0e10cSrcweir };
5387*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect[] =
5388*cdf0e10cSrcweir {
5389*cdf0e10cSrcweir 	{ { 3600, 0 }, { 17800, 21600 } }
5390*cdf0e10cSrcweir };
5391*cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDisplay =
5392*cdf0e10cSrcweir {
5393*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDisplayVert, sizeof( mso_sptFlowChartDisplayVert ) / sizeof( SvxMSDffVertPair ),
5394*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1,
5395*cdf0e10cSrcweir 	NULL, 0,
5396*cdf0e10cSrcweir 	NULL,
5397*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, sizeof( mso_sptFlowChartDisplayTextRect ) / sizeof( SvxMSDffTextRectangles ),
5398*cdf0e10cSrcweir 	21600, 21600,
5399*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5400*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5401*cdf0e10cSrcweir 	NULL, 0		// handles
5402*cdf0e10cSrcweir };
5403*cdf0e10cSrcweir 
5404*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert[] =
5405*cdf0e10cSrcweir {
5406*cdf0e10cSrcweir 	{ 0, 0 },
5407*cdf0e10cSrcweir 	{ 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 },
5408*cdf0e10cSrcweir 	{ 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
5409*cdf0e10cSrcweir 	{ 0, 21600 },
5410*cdf0e10cSrcweir 	{ 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
5411*cdf0e10cSrcweir 	{ 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 },
5412*cdf0e10cSrcweir 	{ 21600, 21600 },
5413*cdf0e10cSrcweir 	{ 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
5414*cdf0e10cSrcweir 	{ 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
5415*cdf0e10cSrcweir 	{ 21600, 0 },
5416*cdf0e10cSrcweir 	{ 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 },
5417*cdf0e10cSrcweir 	{ 8970, 0 }, { 16 MSO_I, 17 MSO_I }, { 3590, 0 },
5418*cdf0e10cSrcweir 	{ 0, 0 }
5419*cdf0e10cSrcweir };
5420*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc[] =
5421*cdf0e10cSrcweir {
5422*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },		//0x400
5423*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0,10800 } },
5424*cdf0e10cSrcweir 	{ 0x6006, { 0x412, DFF_Prop_adjustValue, 0 } },		//0x402
5425*cdf0e10cSrcweir 	{ 0x6006, { 0x412, DFF_Prop_adjust2Value, 6280 } },
5426*cdf0e10cSrcweir 	{ 0x6006, { 0x417, DFF_Prop_adjustValue, 0 } },		//0x404
5427*cdf0e10cSrcweir 	{ 0x6006, { 0x417, DFF_Prop_adjust2Value, 15320 } },
5428*cdf0e10cSrcweir 	{ 0x6006, { 0x41a, DFF_Prop_adjustValue, 6280 } },	//0x406
5429*cdf0e10cSrcweir 	{ 0x6006, { 0x41a, DFF_Prop_adjust2Value, 21600 } },
5430*cdf0e10cSrcweir 	{ 0x6006, { 0x41d, DFF_Prop_adjustValue, 15320 } },	//0x408
5431*cdf0e10cSrcweir 	{ 0x6006, { 0x41d, DFF_Prop_adjust2Value, 21600 } },
5432*cdf0e10cSrcweir 	{ 0x6006, { 0x420, DFF_Prop_adjustValue, 21600 } },	//0x40a
5433*cdf0e10cSrcweir 	{ 0x6006, { 0x420, DFF_Prop_adjust2Value, 15320 } },
5434*cdf0e10cSrcweir 	{ 0x6006, { 0x422, DFF_Prop_adjustValue, 21600 } },	//0x40c
5435*cdf0e10cSrcweir 	{ 0x6006, { 0x422, DFF_Prop_adjust2Value, 6280 } },
5436*cdf0e10cSrcweir 	{ 0x6006, { 0x424, DFF_Prop_adjustValue, 15320 } },	//0x40e
5437*cdf0e10cSrcweir 	{ 0x6006, { 0x424, DFF_Prop_adjust2Value, 0 } },
5438*cdf0e10cSrcweir 	{ 0x6006, { 0x426, DFF_Prop_adjustValue, 6280 } },	//0x410
5439*cdf0e10cSrcweir 	{ 0x6006, { 0x426, DFF_Prop_adjust2Value, 0 } },
5440*cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjustValue, -1, 0x413 } },	//0x412
5441*cdf0e10cSrcweir 	{ 0xa006, { 0x401, -1, 0x416 } },
5442*cdf0e10cSrcweir 	{ 0x2003, { 0x400, 0, 0 } },						//0x414
5443*cdf0e10cSrcweir 	{ 0x2003, { 0x401, 0, 0 } },
5444*cdf0e10cSrcweir 	{ 0xa000, { 0x414, 0, 0x415 } },					//0x416
5445*cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjustValue, -1, 0x418 } },
5446*cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x416, -1 } },					//0x418
5447*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 21600 } },
5448*cdf0e10cSrcweir 	{ 0x6006, { 0x419, 0x41b, -1 } },					//0x41a
5449*cdf0e10cSrcweir 	{ 0xa006, { 0x400, -1, 0x41c } },
5450*cdf0e10cSrcweir 	{ 0xa000, { 0x415, 0, 0x414 } },					//0x41c
5451*cdf0e10cSrcweir 	{ 0x6006, { 0x419, 0x41e, -1 } },
5452*cdf0e10cSrcweir 	{ 0x6006, { 0x400, 0x41c, -1 } },					//0x41e
5453*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 21600 } },
5454*cdf0e10cSrcweir 	{ 0x6006, { 0x41f, 0x421, -1 } },					//0x420
5455*cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x416, -1 } },
5456*cdf0e10cSrcweir 	{ 0x6006, { 0x41f, 0x423, -1 } },					//0x422
5457*cdf0e10cSrcweir 	{ 0xa006, { 0x401, -1, 0x416 } },
5458*cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjust2Value, -1, 0x425 } },	//0x424
5459*cdf0e10cSrcweir 	{ 0x6006, { 0x400, 0x41c, -1 } },
5460*cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjust2Value, -1, 0x427 } },	//0x426
5461*cdf0e10cSrcweir 	{ 0xa006, { 0x400, -1, 0x41c } },
5462*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			//0x428
5463*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }
5464*cdf0e10cSrcweir };
5465*cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeRectCalloutDefault[] =
5466*cdf0e10cSrcweir {
5467*cdf0e10cSrcweir 	2, 1400, 25920
5468*cdf0e10cSrcweir };
5469*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect[] =
5470*cdf0e10cSrcweir {
5471*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
5472*cdf0e10cSrcweir };
5473*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints[] =
5474*cdf0e10cSrcweir {
5475*cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 },  { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I, 41 MSO_I }
5476*cdf0e10cSrcweir };
5477*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle[] =
5478*cdf0e10cSrcweir {
5479*cdf0e10cSrcweir 	{
5480*cdf0e10cSrcweir 		0,
5481*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff
5482*cdf0e10cSrcweir 	}
5483*cdf0e10cSrcweir };
5484*cdf0e10cSrcweir static const mso_CustomShape msoWedgeRectCallout =
5485*cdf0e10cSrcweir {
5486*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, sizeof( mso_sptWedgeRectCalloutVert ) / sizeof( SvxMSDffVertPair ),
5487*cdf0e10cSrcweir 	NULL, 0,
5488*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5489*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5490*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, sizeof( mso_sptWedgeRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5491*cdf0e10cSrcweir 	21600, 21600,
5492*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5493*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, sizeof( mso_sptWedgeRectCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
5494*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5495*cdf0e10cSrcweir };
5496*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert[] =
5497*cdf0e10cSrcweir {
5498*cdf0e10cSrcweir 	{ 3590, 0 },
5499*cdf0e10cSrcweir 	{ 0, 3590 },
5500*cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 0, 8970 },
5501*cdf0e10cSrcweir 	{ 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
5502*cdf0e10cSrcweir 	{ 3590, 21600 },
5503*cdf0e10cSrcweir 	{ 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
5504*cdf0e10cSrcweir 	{ 12630, 21600 }, { 8 MSO_I, 9 MSO_I },	{ 18010, 21600 },
5505*cdf0e10cSrcweir 	{ 21600, 18010 },
5506*cdf0e10cSrcweir 	{ 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
5507*cdf0e10cSrcweir 	{ 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
5508*cdf0e10cSrcweir 	{ 18010, 0 },
5509*cdf0e10cSrcweir 	{ 14 MSO_I, 15 MSO_I }, { 12630, 0 },
5510*cdf0e10cSrcweir 	{ 8970, 0 }, { 16 MSO_I, 17 MSO_I }
5511*cdf0e10cSrcweir };
5512*cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeRRectCalloutSegm[] =
5513*cdf0e10cSrcweir {
5514*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000
5515*cdf0e10cSrcweir };
5516*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect[] =
5517*cdf0e10cSrcweir {
5518*cdf0e10cSrcweir 	{ { 800, 800 }, { 20800, 20800 } }
5519*cdf0e10cSrcweir };
5520*cdf0e10cSrcweir static const mso_CustomShape msoWedgeRRectCallout =
5521*cdf0e10cSrcweir {
5522*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRRectCalloutVert, sizeof( mso_sptWedgeRRectCalloutVert ) / sizeof( SvxMSDffVertPair ),
5523*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1,
5524*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5525*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5526*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, sizeof( mso_sptWedgeRRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5527*cdf0e10cSrcweir 	21600, 21600,
5528*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5529*cdf0e10cSrcweir 	NULL, 0,
5530*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5531*cdf0e10cSrcweir };
5532*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBalloonVert[] =
5533*cdf0e10cSrcweir {
5534*cdf0e10cSrcweir 	{ 3590, 0 },
5535*cdf0e10cSrcweir 	{ 0, 3590 },
5536*cdf0e10cSrcweir 	{ 0, 14460 },
5537*cdf0e10cSrcweir 	{ 3590, 18050 },
5538*cdf0e10cSrcweir 	{ 40 MSO_I, 21600 }, { 5420, 18050 },
5539*cdf0e10cSrcweir 	{ 18010, 18050 },
5540*cdf0e10cSrcweir 	{ 21600, 14460 },
5541*cdf0e10cSrcweir 	{ 21600, 3590 },
5542*cdf0e10cSrcweir 	{ 18010, 0 }
5543*cdf0e10cSrcweir };
5544*cdf0e10cSrcweir static const sal_uInt16 mso_sptBalloonSegm[] =
5545*cdf0e10cSrcweir {
5546*cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000
5547*cdf0e10cSrcweir };
5548*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBalloonHandle[] =
5549*cdf0e10cSrcweir {
5550*cdf0e10cSrcweir 	{
5551*cdf0e10cSrcweir 		MSDFF_HANDLE_FLAGS_RANGE,
5552*cdf0e10cSrcweir 		0x100, 1, 10800, 10800, 0, 8990, 0x80000000, 0x7fffffff
5553*cdf0e10cSrcweir 	}
5554*cdf0e10cSrcweir };
5555*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] =
5556*cdf0e10cSrcweir {
5557*cdf0e10cSrcweir 	{ { 800, 800 }, { 20800, 17250 } }
5558*cdf0e10cSrcweir };
5559*cdf0e10cSrcweir static const mso_CustomShape msoBalloon =
5560*cdf0e10cSrcweir {
5561*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBalloonVert, sizeof( mso_sptBalloonVert ) / sizeof( SvxMSDffVertPair ),
5562*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1,
5563*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5564*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5565*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBalloonTextRect, sizeof( mso_sptBalloonTextRect ) / sizeof( SvxMSDffTextRectangles ),
5566*cdf0e10cSrcweir 	21600, 21600,
5567*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5568*cdf0e10cSrcweir 	NULL, 0,
5569*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBalloonHandle, sizeof( mso_sptBalloonHandle ) / sizeof( SvxMSDffHandle )		// handles
5570*cdf0e10cSrcweir };
5571*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert[] =
5572*cdf0e10cSrcweir {
5573*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0xe MSO_I, 0xf MSO_I }
5574*cdf0e10cSrcweir };
5575*cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm[] =
5576*cdf0e10cSrcweir {
5577*cdf0e10cSrcweir 	0xa504, 0x0001, 0x6001, 0x8000
5578*cdf0e10cSrcweir };
5579*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc[] =
5580*cdf0e10cSrcweir {
5581*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },		// 00 rad x
5582*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },	// 01 rad y
5583*cdf0e10cSrcweir 	{ 0x6001, { 0x400, 0x400, 1 } },					// 02 rad x^2
5584*cdf0e10cSrcweir 	{ 0x6001, { 0x401, 0x401, 1 } },					// 03 rad y^2
5585*cdf0e10cSrcweir 	{ 0x6000, { 0x402, 0x403, 0 } },					// 04
5586*cdf0e10cSrcweir 	{ 0x200d, { 0x404, 0, 0 } },						// 05
5587*cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 10800 } },					// 06 > 0 ? spur needs to be drawn : 10800
5588*cdf0e10cSrcweir 	{ 0x6008, { 0x400, 0x401, 0 } },					// 07 atan2 -> angle
5589*cdf0e10cSrcweir 	{ 0x2000, { 0x407, 0, 10 } },						// 08
5590*cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10, 0 } },						// 09
5591*cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x407, 0 } },					// 0a
5592*cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x407, 0 } },					// 0b
5593*cdf0e10cSrcweir 	{ 0x2000, { 0x40a, 10800, 0 } },					// 0c
5594*cdf0e10cSrcweir 	{ 0x2000, { 0x40b, 10800, 0 } },					// 0d
5595*cdf0e10cSrcweir 	{ 0xe006, { 0x406, DFF_Prop_adjustValue, 0x40c } },	// 0e
5596*cdf0e10cSrcweir 	{ 0xe006, { 0x406, DFF_Prop_adjust2Value, 0x40d } },// 0f
5597*cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x408, 0 } },					// 10
5598*cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x408, 0 } },					// 11
5599*cdf0e10cSrcweir 	{ 0x2000, { 0x410, 10800, 0 } },					// 12
5600*cdf0e10cSrcweir 	{ 0x2000, { 0x411, 10800, 0 } },					// 13
5601*cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x409, 0 } },					// 14
5602*cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x409, 0 } },					// 15
5603*cdf0e10cSrcweir 	{ 0x2000, { 0x414, 10800, 0 } },					// 16
5604*cdf0e10cSrcweir 	{ 0x2000, { 0x415, 10800, 0 } }					    // 17
5605*cdf0e10cSrcweir };
5606*cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeEllipseCalloutDefault[] =
5607*cdf0e10cSrcweir {
5608*cdf0e10cSrcweir 	2, 1350, 25920
5609*cdf0e10cSrcweir };
5610*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints[] =
5611*cdf0e10cSrcweir {
5612*cdf0e10cSrcweir 	{ 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I, 0xf MSO_I }
5613*cdf0e10cSrcweir };
5614*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect[] =
5615*cdf0e10cSrcweir {
5616*cdf0e10cSrcweir 	{ { 3200, 3200 }, { 18400, 18400 } }
5617*cdf0e10cSrcweir };
5618*cdf0e10cSrcweir static const mso_CustomShape msoWedgeEllipseCallout =
5619*cdf0e10cSrcweir {
5620*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutVert, sizeof( mso_sptWedgeEllipseCalloutVert ) / sizeof( SvxMSDffVertPair ),
5621*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1,
5622*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, sizeof( mso_sptWedgeEllipseCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5623*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeEllipseCalloutDefault,
5624*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, sizeof( mso_sptWedgeEllipseCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5625*cdf0e10cSrcweir 	21600, 21600,
5626*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5627*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, sizeof( mso_sptWedgeEllipseCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
5628*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5629*cdf0e10cSrcweir };
5630*cdf0e10cSrcweir 
5631*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCloudCalloutVert[] =
5632*cdf0e10cSrcweir {
5633*cdf0e10cSrcweir 	{ 1930,7160 },										// p
5634*cdf0e10cSrcweir 	{ 1530,4490	}, { 3400,1970 }, { 5270,1970 },		// ccp
5635*cdf0e10cSrcweir 	{ 5860,1950	}, { 6470,2210 }, { 6970,2600 },		// ccp
5636*cdf0e10cSrcweir 	{ 7450,1390	}, { 8340,650 }, { 9340,650	},			// ccp
5637*cdf0e10cSrcweir 	{ 10004,690	}, { 10710,1050	}, { 11210,1700	},		// ccp
5638*cdf0e10cSrcweir 	{ 11570,630	}, { 12330,0 }, { 13150,0 },			// ccp
5639*cdf0e10cSrcweir 	{ 13840,0 }, { 14470,460 }, { 14870,1160 },			// ccp
5640*cdf0e10cSrcweir 	{ 15330,440 }, { 16020,0 }, { 16740,0 },			// ccp
5641*cdf0e10cSrcweir 	{ 17910,0 }, { 18900,1130 }, { 19110,2710 },		// ccp
5642*cdf0e10cSrcweir 	{ 20240,3150 }, { 21060,4580 }, { 21060,6220 },		// ccp
5643*cdf0e10cSrcweir 	{ 21060,6720 }, { 21000,7200 }, { 20830,7660 },		// ccp
5644*cdf0e10cSrcweir 	{ 21310,8460 }, { 21600,9450 }, { 21600,10460 },	// ccp
5645*cdf0e10cSrcweir 	{ 21600,12750 }, { 20310,14680 }, { 18650,15010	},	// ccp
5646*cdf0e10cSrcweir 	{ 18650,17200 }, { 17370,18920 }, { 15770,18920 },	// ccp
5647*cdf0e10cSrcweir 	{ 15220,18920 }, { 14700,18710 }, { 14240,18310	},	// ccp
5648*cdf0e10cSrcweir 	{ 13820,20240 }, { 12490,21600 }, { 11000,21600 },	// ccp
5649*cdf0e10cSrcweir 	{ 9890,21600 }, { 8840,20790 }, { 8210,19510 },		// ccp
5650*cdf0e10cSrcweir 	{ 7620,20000 }, { 7930,20290 }, { 6240,20290 },		// ccp
5651*cdf0e10cSrcweir 	{ 4850,20290 }, { 3570,19280 }, { 2900,17640 },		// ccp
5652*cdf0e10cSrcweir 	{ 1300,17600 }, { 480,16300 }, { 480,14660 },		// ccp
5653*cdf0e10cSrcweir 	{ 480,13900	}, { 690,13210 }, { 1070,12640 },		// ccp
5654*cdf0e10cSrcweir 	{ 380,12160	}, { 0,11210 }, { 0,10120 },			// ccp
5655*cdf0e10cSrcweir 	{ 0,8590 },	{ 840,7330 }, { 1930,7160 },			// ccp
5656*cdf0e10cSrcweir 
5657*cdf0e10cSrcweir 	{ 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 },			// pccp
5658*cdf0e10cSrcweir 	{ 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 },			// pccp
5659*cdf0e10cSrcweir 	{ 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 },		// pccp
5660*cdf0e10cSrcweir 	{ 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 },		// pccp
5661*cdf0e10cSrcweir 	{ 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 },		// pccp
5662*cdf0e10cSrcweir 	{ 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 },		// pccp
5663*cdf0e10cSrcweir 	{ 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 },	// pccp
5664*cdf0e10cSrcweir 	{ 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 },	// pccp
5665*cdf0e10cSrcweir 	{ 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 },		// pccp
5666*cdf0e10cSrcweir 	{ 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 },		// pccp
5667*cdf0e10cSrcweir 	{ 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 },		// pccp
5668*cdf0e10cSrcweir 
5669*cdf0e10cSrcweir 	{ 0x11 MSO_I, 0x12 MSO_I }, { 1800, 1800 }, { 0, 360 },					// circ1
5670*cdf0e10cSrcweir 	{ 0x13 MSO_I, 0x14 MSO_I }, { 1200, 1200 }, { 0, 360 },					// circ2
5671*cdf0e10cSrcweir 	{ 0xd MSO_I, 0xe MSO_I }, { 700, 700 }, { 0, 360 }						// circ3
5672*cdf0e10cSrcweir };
5673*cdf0e10cSrcweir static const sal_uInt16 mso_sptCloudCalloutSegm[] =
5674*cdf0e10cSrcweir {
5675*cdf0e10cSrcweir 	0x4000, 0x2016, 0x6001, 0x8000,
5676*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5677*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5678*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5679*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5680*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5681*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5682*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5683*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5684*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5685*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5686*cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5687*cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000,
5688*cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000,
5689*cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000
5690*cdf0e10cSrcweir };
5691*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCloudCalloutCalc[] =
5692*cdf0e10cSrcweir {
5693*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
5694*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },
5695*cdf0e10cSrcweir 	{ 0x6008, { 0x400, 0x401, 0 } },
5696*cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x402, 0 } },					// 3
5697*cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x402, 0 } },					// 4
5698*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 10800, 0 } },					// 5
5699*cdf0e10cSrcweir 	{ 0x2000, { 0x404, 10800, 0 } },					// 6
5700*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 0, 0x405 } },		// 7
5701*cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value,0, 0x406 } },		// 8
5702*cdf0e10cSrcweir 	{ 0x2001, { 0x407, 1, 3 } },						// 9
5703*cdf0e10cSrcweir 	{ 0x2001, { 0x408, 1, 3 } },						// 0xa
5704*cdf0e10cSrcweir 	{ 0x2001, { 0x407, 2, 3 } },						// 0xb
5705*cdf0e10cSrcweir 	{ 0x2001, { 0x408, 2, 3 } },						// 0xc
5706*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			// 0xd
5707*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 0xe
5708*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 10800 / 900 } },				// 0xf	taking half x distance of the radius from the first bobble
5709*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 10800 / 900 } },				// 0x10
5710*cdf0e10cSrcweir 	{ 0xe000, { 0x409, 0x405, 0x40f } },				// 0x11
5711*cdf0e10cSrcweir 	{ 0xe000, { 0x40a, 0x406, 0x410 } },				// 0x12
5712*cdf0e10cSrcweir 	{ 0x6000, { 0x40b, 0x405, 0 } },					// 0x13
5713*cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x406, 0 } }						// 0x14
5714*cdf0e10cSrcweir };
5715*cdf0e10cSrcweir static const sal_Int32 mso_sptCloudCalloutDefault[] =
5716*cdf0e10cSrcweir {
5717*cdf0e10cSrcweir 	2, 1350, 25920
5718*cdf0e10cSrcweir };
5719*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect[] =
5720*cdf0e10cSrcweir {
5721*cdf0e10cSrcweir 	{ { 3000, 3320 }, { 17110, 17330 } }
5722*cdf0e10cSrcweir };
5723*cdf0e10cSrcweir static const mso_CustomShape msoCloudCallout =
5724*cdf0e10cSrcweir {
5725*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCloudCalloutVert, sizeof( mso_sptCloudCalloutVert ) / sizeof( SvxMSDffVertPair ),
5726*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1,
5727*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, sizeof( mso_sptCloudCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5728*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCloudCalloutDefault,
5729*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, sizeof( mso_sptCloudCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5730*cdf0e10cSrcweir 	21600, 21600,
5731*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5732*cdf0e10cSrcweir 	NULL, 0,
5733*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5734*cdf0e10cSrcweir };
5735*cdf0e10cSrcweir 
5736*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveVert[] =	// adjustment1 : 0 - 4460
5737*cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
5738*cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
5739*cdf0e10cSrcweir 	{ 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I }
5740*cdf0e10cSrcweir };
5741*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWaveCalc[] =
5742*cdf0e10cSrcweir {
5743*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	//400 (vert.adj)
5744*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			//401
5745*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
5746*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 0, 10800 } },			//403 -2160 -> 2160 (horz.adj)
5747*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 2, 1 } },				//404 -4320 -> 4320 (horz.adj)
5748*cdf0e10cSrcweir 	{ 0x2003, { 0x404, 0, 0 } },				//405 abs( 0x404 )	(horz.adj)
5749*cdf0e10cSrcweir 	{ 0x8000, { 4320, 0, 0x405 } },				//406
5750*cdf0e10cSrcweir 	{ 0xa006, { 0x403, 0, 0x405 } },			//407
5751*cdf0e10cSrcweir 	{ 0x4001, { 15800, 0x400, 4460 } },			//408 0 -> 15800	(vert.adj)
5752*cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x408 } },			//409
5753*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },			//40a
5754*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },			//40b
5755*cdf0e10cSrcweir 	{ 0x6006, { 0x403, 0x40b, 21600 } },		//40c
5756*cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x407 } },			//40d width between p0 and p1
5757*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//40e
5758*cdf0e10cSrcweir 	{ 0xa000, { 0x407, 7200, 0x40e } },			//40f
5759*cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x40e, 7200 } },			//410
5760*cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },				//411 1/2 width
5761*cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x411, 0 } },			//412 top center glue xpos
5762*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x412 } },			//413 bottom center glue xpos
5763*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//414 left glue x pos
5764*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x414 } },			//415 right glue x pos
5765*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },				//416 y1 (textbox)
5766*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x416 } },			//417 y2 (textbox)
5767*cdf0e10cSrcweir 
5768*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x407 } },			//418 p2
5769*cdf0e10cSrcweir 
5770*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },			//419 c
5771*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x408, 0 } },			//41a
5772*cdf0e10cSrcweir 
5773*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },			//41b c
5774*cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x408 } },			//41c
5775*cdf0e10cSrcweir 
5776*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } } 			//41d p3
5777*cdf0e10cSrcweir };
5778*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveGluePoints[] =
5779*cdf0e10cSrcweir {
5780*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
5781*cdf0e10cSrcweir };
5782*cdf0e10cSrcweir static const sal_uInt16 mso_sptWaveSegm[] =
5783*cdf0e10cSrcweir {
5784*cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000
5785*cdf0e10cSrcweir };
5786*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptWaveHandle[] =
5787*cdf0e10cSrcweir {
5788*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
5789*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4460 },
5790*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
5791*cdf0e10cSrcweir 		0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
5792*cdf0e10cSrcweir };
5793*cdf0e10cSrcweir static const sal_Int32 mso_sptWaveDefault[] =
5794*cdf0e10cSrcweir {
5795*cdf0e10cSrcweir 	2, 1400, 10800
5796*cdf0e10cSrcweir };
5797*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWaveTextRect[] =
5798*cdf0e10cSrcweir {
5799*cdf0e10cSrcweir 	{ { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
5800*cdf0e10cSrcweir };
5801*cdf0e10cSrcweir static const mso_CustomShape msoWave =
5802*cdf0e10cSrcweir {
5803*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveVert, sizeof( mso_sptWaveVert ) / sizeof( SvxMSDffVertPair ),
5804*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1,
5805*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
5806*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
5807*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWaveTextRect, sizeof( mso_sptWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
5808*cdf0e10cSrcweir 	21600, 21600,
5809*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5810*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
5811*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
5812*cdf0e10cSrcweir };
5813*cdf0e10cSrcweir 
5814*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveVert[] =	// adjustment1 : 0 - 2230
5815*cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
5816*cdf0e10cSrcweir 	{ 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 },
5817*cdf0e10cSrcweir 	{ 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 }
5818*cdf0e10cSrcweir };
5819*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleWaveCalc[] =
5820*cdf0e10cSrcweir {
5821*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	//400 (vert.adj)
5822*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			//401
5823*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
5824*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 0, 10800 } },			//403 -2160 -> 2160 (horz.adj)
5825*cdf0e10cSrcweir 	{ 0x2001, { 0x403, 2, 1 } },				//404 -4320 -> 4320 (horz.adj)
5826*cdf0e10cSrcweir 	{ 0x2003, { 0x404, 0, 0 } },				//405 abs( 0x404 )	(horz.adj)
5827*cdf0e10cSrcweir 	{ 0x8000, { 4320, 0, 0x405 } },				//406 -> not used
5828*cdf0e10cSrcweir 	{ 0xa006, { 0x403, 0, 0x405 } },			//407
5829*cdf0e10cSrcweir 	{ 0x4001, { 7900, 0x400, 2230 } },			//408 0 -> 7900	(vert.adj)
5830*cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x408 } },			//409
5831*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },			//40a
5832*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },			//40b
5833*cdf0e10cSrcweir 	{ 0x6006, { 0x403, 0x40b, 21600 } },		//40c
5834*cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x407 } },			//40d width between p0 and p1
5835*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//40e
5836*cdf0e10cSrcweir 	{ 0xa000, { 0x407, 3600, 0x40e } },			//40f
5837*cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x40e, 3600 } },			//410
5838*cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },				//411 1/2 width
5839*cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x411, 0 } },			//412 top center glue xpos
5840*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x412 } },			//413 bottom center glue xpos
5841*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//414 left glue x pos
5842*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x414 } },			//415 right glue x pos
5843*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },				//416 y1 (textbox)
5844*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x416 } },			//417 y2 (textbox)
5845*cdf0e10cSrcweir 
5846*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x407 } },			//418 p2
5847*cdf0e10cSrcweir 
5848*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },			//419 c
5849*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x408, 0 } },			//41a
5850*cdf0e10cSrcweir 
5851*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },			//41b c
5852*cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x408 } },			//41c
5853*cdf0e10cSrcweir 
5854*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } }, 			//41d p3
5855*cdf0e10cSrcweir 	{ 0xa000, { 0x412, 0, 0x40e } },			//41e
5856*cdf0e10cSrcweir 	{ 0x6000, { 0x412, 0x40e, 0 } },			//41f
5857*cdf0e10cSrcweir 	{ 0xa000, { 0x413, 0, 0x40e } },			//420
5858*cdf0e10cSrcweir 	{ 0x6000, { 0x413, 0x40e, 0 } }				//421
5859*cdf0e10cSrcweir };
5860*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints[] =
5861*cdf0e10cSrcweir {
5862*cdf0e10cSrcweir 	{ 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
5863*cdf0e10cSrcweir };
5864*cdf0e10cSrcweir static const sal_uInt16 mso_sptDoubleWaveSegm[] =
5865*cdf0e10cSrcweir {
5866*cdf0e10cSrcweir 	0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000
5867*cdf0e10cSrcweir };
5868*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDoubleWaveHandle[] =
5869*cdf0e10cSrcweir {
5870*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
5871*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 2230 },
5872*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
5873*cdf0e10cSrcweir 		0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
5874*cdf0e10cSrcweir };
5875*cdf0e10cSrcweir static const sal_Int32 mso_sptDoubleWaveDefault[] =
5876*cdf0e10cSrcweir {
5877*cdf0e10cSrcweir 	2, 1400, 10800
5878*cdf0e10cSrcweir };
5879*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect[] =
5880*cdf0e10cSrcweir {
5881*cdf0e10cSrcweir 	{ { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
5882*cdf0e10cSrcweir };
5883*cdf0e10cSrcweir static const mso_CustomShape msoDoubleWave =
5884*cdf0e10cSrcweir {
5885*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveVert, sizeof( mso_sptDoubleWaveVert ) / sizeof( SvxMSDffVertPair ),
5886*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1,
5887*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
5888*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
5889*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
5890*cdf0e10cSrcweir 	21600, 21600,
5891*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5892*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
5893*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
5894*cdf0e10cSrcweir };
5895*cdf0e10cSrcweir 
5896*cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default
5897*cdf0e10cSrcweir static const sal_uInt16 mso_DefaultFillingTable[] =
5898*cdf0e10cSrcweir {
5899*cdf0e10cSrcweir 	0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000
5900*cdf0e10cSrcweir };
5901*cdf0e10cSrcweir sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
5902*cdf0e10cSrcweir {
5903*cdf0e10cSrcweir 	sal_Bool bIsFilledByDefault = sal_True;
5904*cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
5905*cdf0e10cSrcweir 	if ( i < 0x100 )
5906*cdf0e10cSrcweir 		bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
5907*cdf0e10cSrcweir 	return bIsFilledByDefault;
5908*cdf0e10cSrcweir }
5909*cdf0e10cSrcweir sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType )
5910*cdf0e10cSrcweir {
5911*cdf0e10cSrcweir 	sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS;
5912*cdf0e10cSrcweir 	const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType );
5913*cdf0e10cSrcweir 	if ( pDefCustomShape && pDefCustomShape->nGluePoints )
5914*cdf0e10cSrcweir 		nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM;
5915*cdf0e10cSrcweir 	else
5916*cdf0e10cSrcweir 	{
5917*cdf0e10cSrcweir 		switch( eSpType )
5918*cdf0e10cSrcweir 		{
5919*cdf0e10cSrcweir 			case mso_sptRectangle :
5920*cdf0e10cSrcweir 			case mso_sptRoundRectangle :
5921*cdf0e10cSrcweir 			case mso_sptPictureFrame :
5922*cdf0e10cSrcweir 			case mso_sptFlowChartProcess :
5923*cdf0e10cSrcweir 			case mso_sptFlowChartPredefinedProcess :
5924*cdf0e10cSrcweir 			case mso_sptFlowChartInternalStorage :
5925*cdf0e10cSrcweir 			case mso_sptTextPlainText :
5926*cdf0e10cSrcweir 			case mso_sptTextBox :
5927*cdf0e10cSrcweir 			case mso_sptVerticalScroll :
5928*cdf0e10cSrcweir 			case mso_sptHorizontalScroll :
5929*cdf0e10cSrcweir 				nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT;
5930*cdf0e10cSrcweir 			default: break;
5931*cdf0e10cSrcweir 		}
5932*cdf0e10cSrcweir 	}
5933*cdf0e10cSrcweir 	return nGluePointType;
5934*cdf0e10cSrcweir }
5935*cdf0e10cSrcweir 
5936*cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default
5937*cdf0e10cSrcweir // #i28269#
5938*cdf0e10cSrcweir static const sal_uInt16 mso_DefaultStrokingTable[] =
5939*cdf0e10cSrcweir {
5940*cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000,
5941*cdf0e10cSrcweir 	0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame)
5942*cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000,
5943*cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000
5944*cdf0e10cSrcweir };
5945*cdf0e10cSrcweir // #i28269#
5946*cdf0e10cSrcweir sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType )
5947*cdf0e10cSrcweir {
5948*cdf0e10cSrcweir 	sal_Bool bIsStrokedByDefault = sal_True;
5949*cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
5950*cdf0e10cSrcweir 	if ( i < 0x100 )
5951*cdf0e10cSrcweir 		bIsStrokedByDefault = ( mso_DefaultStrokingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
5952*cdf0e10cSrcweir 	return bIsStrokedByDefault;
5953*cdf0e10cSrcweir }
5954*cdf0e10cSrcweir 
5955*cdf0e10cSrcweir static const sal_uInt16 msoSortFilledObjectsToBackTable[] =
5956*cdf0e10cSrcweir {
5957*cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
5958*cdf0e10cSrcweir };
5959*cdf0e10cSrcweir sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType )
5960*cdf0e10cSrcweir {
5961*cdf0e10cSrcweir 	sal_Bool bSortFilledObjectsToBackByDefault = sal_True;
5962*cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
5963*cdf0e10cSrcweir 	if ( i < 0x100 )
5964*cdf0e10cSrcweir 		bSortFilledObjectsToBackByDefault = ( msoSortFilledObjectsToBackTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) != 0;
5965*cdf0e10cSrcweir 	return bSortFilledObjectsToBackByDefault;
5966*cdf0e10cSrcweir }
5967*cdf0e10cSrcweir 
5968*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFontWorkVert[] =
5969*cdf0e10cSrcweir {
5970*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 }
5971*cdf0e10cSrcweir };
5972*cdf0e10cSrcweir static const sal_uInt16 mso_sptFontWorkSegm[] =
5973*cdf0e10cSrcweir {
5974*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5975*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5976*cdf0e10cSrcweir };
5977*cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFontWorkTextRect[] =
5978*cdf0e10cSrcweir {
5979*cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
5980*cdf0e10cSrcweir };
5981*cdf0e10cSrcweir static const mso_CustomShape msoFontWork =
5982*cdf0e10cSrcweir {
5983*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFontWorkVert, sizeof( mso_sptFontWorkVert ) / sizeof( SvxMSDffVertPair ),
5984*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1,
5985*cdf0e10cSrcweir 	NULL, 0,
5986*cdf0e10cSrcweir 	NULL,
5987*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
5988*cdf0e10cSrcweir 	21600, 21600,
5989*cdf0e10cSrcweir 	0x80000000, 0x80000000,
5990*cdf0e10cSrcweir 	NULL, 0,
5991*cdf0e10cSrcweir 	NULL, 0	// Handles
5992*cdf0e10cSrcweir };
5993*cdf0e10cSrcweir 
5994*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextPlainTextVert[] =
5995*cdf0e10cSrcweir {
5996*cdf0e10cSrcweir 	{ 3 MSO_I, 0 }, { 5 MSO_I, 0 }, { 6 MSO_I, 21600 }, { 7 MSO_I, 21600 }
5997*cdf0e10cSrcweir };
5998*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextPlainTextCalc[] =	// adjustment1 : 6629 - 14971
5999*cdf0e10cSrcweir {
6000*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
6001*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },
6002*cdf0e10cSrcweir 	{ 0x2003, { 0x401, 0, 0 } },
6003*cdf0e10cSrcweir 	{ 0xa006, { 0x401, 0, 0x402 } },		// x1(3)
6004*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6005*cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x404, 21600 } },	// x2(5)
6006*cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x402, 0 } },		// x2
6007*cdf0e10cSrcweir 	{ 0xa006, { 0x401, 21600, 0x404 } }		// x3(7)
6008*cdf0e10cSrcweir };
6009*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextPlainTextSegm[] =
6010*cdf0e10cSrcweir {
6011*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6012*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6013*cdf0e10cSrcweir };
6014*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextPlainTextHandle[] =
6015*cdf0e10cSrcweir {
6016*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6017*cdf0e10cSrcweir 		0x100, 21600, 10800, 10800, 6629, 14971, 0x80000000, 0x7fffffff }
6018*cdf0e10cSrcweir };
6019*cdf0e10cSrcweir static const mso_CustomShape msoTextPlainText =
6020*cdf0e10cSrcweir {
6021*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextPlainTextVert, sizeof( mso_sptTextPlainTextVert ) / sizeof( SvxMSDffVertPair ),
6022*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1,
6023*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, sizeof( mso_sptTextPlainTextCalc ) / sizeof( SvxMSDffCalculationData ),
6024*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6025*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6026*cdf0e10cSrcweir 	21600, 21600,
6027*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6028*cdf0e10cSrcweir 	NULL, 0,
6029*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextPlainTextHandle, sizeof( mso_sptTextPlainTextHandle ) / sizeof( SvxMSDffHandle )
6030*cdf0e10cSrcweir };
6031*cdf0e10cSrcweir 
6032*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextStopVert[] =
6033*cdf0e10cSrcweir {
6034*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I },
6035*cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I }
6036*cdf0e10cSrcweir };
6037*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextStopCalc[] =	// adjustment1 : 3080 - 10800
6038*cdf0e10cSrcweir {
6039*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6040*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6041*cdf0e10cSrcweir };
6042*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextStopSegm[] =
6043*cdf0e10cSrcweir {
6044*cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000,
6045*cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000
6046*cdf0e10cSrcweir };
6047*cdf0e10cSrcweir static const sal_Int32 mso_sptTextStopDefault[] =
6048*cdf0e10cSrcweir {
6049*cdf0e10cSrcweir 	1, 2700
6050*cdf0e10cSrcweir };
6051*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextStopHandle[] =
6052*cdf0e10cSrcweir {
6053*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6054*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 3080, 10800 }
6055*cdf0e10cSrcweir };
6056*cdf0e10cSrcweir static const mso_CustomShape msoTextStop =
6057*cdf0e10cSrcweir {
6058*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextStopVert, sizeof( mso_sptTextStopVert ) / sizeof( SvxMSDffVertPair ),
6059*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1,
6060*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextStopCalc, sizeof( mso_sptTextStopCalc ) / sizeof( SvxMSDffCalculationData ),
6061*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextStopDefault,
6062*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6063*cdf0e10cSrcweir 	21600, 21600,
6064*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6065*cdf0e10cSrcweir 	NULL, 0,
6066*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextStopHandle, sizeof( mso_sptTextStopHandle ) / sizeof( SvxMSDffHandle )
6067*cdf0e10cSrcweir };
6068*cdf0e10cSrcweir 
6069*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleVert[] =
6070*cdf0e10cSrcweir {
6071*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 }
6072*cdf0e10cSrcweir };
6073*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextTriangleCalc[] =	// adjustment1 : 6629 - 14971
6074*cdf0e10cSrcweir {
6075*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
6076*cdf0e10cSrcweir };
6077*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleSegm[] =
6078*cdf0e10cSrcweir {
6079*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6080*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6081*cdf0e10cSrcweir };
6082*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextTriangleHandle[] =
6083*cdf0e10cSrcweir {
6084*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6085*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
6086*cdf0e10cSrcweir };
6087*cdf0e10cSrcweir static const mso_CustomShape msoTextTriangle =
6088*cdf0e10cSrcweir {
6089*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextTriangleVert, sizeof( mso_sptTextTriangleVert ) / sizeof( SvxMSDffVertPair ),
6090*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1,
6091*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
6092*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6093*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6094*cdf0e10cSrcweir 	21600, 21600,
6095*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6096*cdf0e10cSrcweir 	NULL, 0,
6097*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle )
6098*cdf0e10cSrcweir };
6099*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert[] =
6100*cdf0e10cSrcweir {
6101*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
6102*cdf0e10cSrcweir };
6103*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleInvertedSegm[] =
6104*cdf0e10cSrcweir {
6105*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6106*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6107*cdf0e10cSrcweir };
6108*cdf0e10cSrcweir static const mso_CustomShape msoTextTriangleInverted =
6109*cdf0e10cSrcweir {
6110*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextTriangleInvertedVert, sizeof( mso_sptTextTriangleInvertedVert ) / sizeof( SvxMSDffVertPair ),
6111*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1,
6112*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
6113*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6114*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6115*cdf0e10cSrcweir 	21600, 21600,
6116*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6117*cdf0e10cSrcweir 	NULL, 0,
6118*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle )
6119*cdf0e10cSrcweir };
6120*cdf0e10cSrcweir 
6121*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronVert[] =
6122*cdf0e10cSrcweir {
6123*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 10800, 1 MSO_I }, { 21600, 21600 }
6124*cdf0e10cSrcweir };
6125*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronCalc[] =	// adjustment1 : 6629 - 14971
6126*cdf0e10cSrcweir {
6127*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6128*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6129*cdf0e10cSrcweir };
6130*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronSegm[] =
6131*cdf0e10cSrcweir {
6132*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6133*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6134*cdf0e10cSrcweir };
6135*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronHandle[] =
6136*cdf0e10cSrcweir {
6137*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6138*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6139*cdf0e10cSrcweir };
6140*cdf0e10cSrcweir static const mso_CustomShape msoTextChevron =
6141*cdf0e10cSrcweir {
6142*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextChevronVert, sizeof( mso_sptTextChevronVert ) / sizeof( SvxMSDffVertPair ),
6143*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1,
6144*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextChevronCalc, sizeof( mso_sptTextChevronCalc ) / sizeof( SvxMSDffCalculationData ),
6145*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
6146*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6147*cdf0e10cSrcweir 	21600, 21600,
6148*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6149*cdf0e10cSrcweir 	NULL, 0,
6150*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextChevronHandle, sizeof( mso_sptTextChevronHandle ) / sizeof( SvxMSDffHandle )
6151*cdf0e10cSrcweir };
6152*cdf0e10cSrcweir 
6153*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronInvertedVert[] =
6154*cdf0e10cSrcweir {
6155*cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 1 MSO_I }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
6156*cdf0e10cSrcweir };
6157*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc[] =	// adjustment1 : 6629 - 14971
6158*cdf0e10cSrcweir {
6159*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6160*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6161*cdf0e10cSrcweir };
6162*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronInvertedSegm[] =
6163*cdf0e10cSrcweir {
6164*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6165*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6166*cdf0e10cSrcweir };
6167*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] =
6168*cdf0e10cSrcweir {
6169*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6170*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
6171*cdf0e10cSrcweir };
6172*cdf0e10cSrcweir static const mso_CustomShape msoTextChevronInverted =
6173*cdf0e10cSrcweir {
6174*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, sizeof( mso_sptTextChevronInvertedVert ) / sizeof( SvxMSDffVertPair ),
6175*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1,
6176*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, sizeof( mso_sptTextChevronInvertedCalc ) / sizeof( SvxMSDffCalculationData ),
6177*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200,
6178*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6179*cdf0e10cSrcweir 	21600, 21600,
6180*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6181*cdf0e10cSrcweir 	NULL, 0,
6182*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) / sizeof( SvxMSDffHandle )
6183*cdf0e10cSrcweir };
6184*cdf0e10cSrcweir 
6185*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] =
6186*cdf0e10cSrcweir {
6187*cdf0e10cSrcweir 	{ 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 },
6188*cdf0e10cSrcweir 	{ 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }
6189*cdf0e10cSrcweir };
6190*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] =	// adjustment1 : 6629 - 14971
6191*cdf0e10cSrcweir {
6192*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
6193*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } }
6194*cdf0e10cSrcweir };
6195*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
6196*cdf0e10cSrcweir {
6197*cdf0e10cSrcweir 	0xA203, 0x8000,
6198*cdf0e10cSrcweir 	0xA203, 0x8000
6199*cdf0e10cSrcweir };
6200*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] =
6201*cdf0e10cSrcweir {
6202*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6203*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
6204*cdf0e10cSrcweir };
6205*cdf0e10cSrcweir static const mso_CustomShape msoTextRingOutside =
6206*cdf0e10cSrcweir {
6207*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextRingOutsideVert, sizeof( mso_sptTextRingOutsideVert ) / sizeof( SvxMSDffVertPair ),
6208*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1,
6209*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, sizeof( mso_sptTextRingOutsideCalc ) / sizeof( SvxMSDffCalculationData ),
6210*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200,
6211*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6212*cdf0e10cSrcweir 	21600, 21600,
6213*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6214*cdf0e10cSrcweir 	NULL, 0,
6215*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextRingOutsideHandle, sizeof( mso_sptTextRingOutsideHandle ) / sizeof( SvxMSDffHandle )
6216*cdf0e10cSrcweir };
6217*cdf0e10cSrcweir 
6218*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeRightVert[] =
6219*cdf0e10cSrcweir {
6220*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 1 MSO_I }
6221*cdf0e10cSrcweir };
6222*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextFadeCalc[] =
6223*cdf0e10cSrcweir {
6224*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6225*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6226*cdf0e10cSrcweir };
6227*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextFadeSegm[] =
6228*cdf0e10cSrcweir {
6229*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6230*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6231*cdf0e10cSrcweir };
6232*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeRightHandle[] =
6233*cdf0e10cSrcweir {
6234*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6235*cdf0e10cSrcweir 		21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6236*cdf0e10cSrcweir };
6237*cdf0e10cSrcweir static const mso_CustomShape msoTextFadeRight =
6238*cdf0e10cSrcweir {
6239*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeRightVert, sizeof( mso_sptTextFadeRightVert ) / sizeof( SvxMSDffVertPair ),
6240*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6241*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6242*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6243*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6244*cdf0e10cSrcweir 	21600, 21600,
6245*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6246*cdf0e10cSrcweir 	NULL, 0,
6247*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeRightHandle, sizeof( mso_sptTextFadeRightHandle ) / sizeof( SvxMSDffHandle )
6248*cdf0e10cSrcweir };
6249*cdf0e10cSrcweir 
6250*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] =
6251*cdf0e10cSrcweir {
6252*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 21600, 21600 }
6253*cdf0e10cSrcweir };
6254*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] =
6255*cdf0e10cSrcweir {
6256*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6257*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6258*cdf0e10cSrcweir };
6259*cdf0e10cSrcweir static const mso_CustomShape msoTextFadeLeft =
6260*cdf0e10cSrcweir {
6261*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeLeftVert, sizeof( mso_sptTextFadeLeftVert ) / sizeof( SvxMSDffVertPair ),
6262*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6263*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6264*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6265*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6266*cdf0e10cSrcweir 	21600, 21600,
6267*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6268*cdf0e10cSrcweir 	NULL, 0,
6269*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeLeftHandle, sizeof( mso_sptTextFadeLeftHandle ) / sizeof( SvxMSDffHandle )
6270*cdf0e10cSrcweir };
6271*cdf0e10cSrcweir 
6272*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeUpVert[] =
6273*cdf0e10cSrcweir {
6274*cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 0, 21600 }, { 21600, 21600 }
6275*cdf0e10cSrcweir };
6276*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeUpHandle[] =
6277*cdf0e10cSrcweir {
6278*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6279*cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6280*cdf0e10cSrcweir };
6281*cdf0e10cSrcweir static const mso_CustomShape msoTextFadeUp =
6282*cdf0e10cSrcweir {
6283*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeUpVert, sizeof( mso_sptTextFadeUpVert ) / sizeof( SvxMSDffVertPair ),
6284*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6285*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6286*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6287*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6288*cdf0e10cSrcweir 	21600, 21600,
6289*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6290*cdf0e10cSrcweir 	NULL, 0,
6291*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeUpHandle, sizeof( mso_sptTextFadeUpHandle ) / sizeof( SvxMSDffHandle )
6292*cdf0e10cSrcweir };
6293*cdf0e10cSrcweir 
6294*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeDownVert[] =
6295*cdf0e10cSrcweir {
6296*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
6297*cdf0e10cSrcweir };
6298*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeDownHandle[] =
6299*cdf0e10cSrcweir {
6300*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6301*cdf0e10cSrcweir 		0x100, 21600, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6302*cdf0e10cSrcweir };
6303*cdf0e10cSrcweir static const mso_CustomShape msoTextFadeDown =
6304*cdf0e10cSrcweir {
6305*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeDownVert, sizeof( mso_sptTextFadeDownVert ) / sizeof( SvxMSDffVertPair ),
6306*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6307*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6308*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6309*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6310*cdf0e10cSrcweir 	21600, 21600,
6311*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6312*cdf0e10cSrcweir 	NULL, 0,
6313*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeDownHandle, sizeof( mso_sptTextFadeDownHandle ) / sizeof( SvxMSDffHandle )
6314*cdf0e10cSrcweir };
6315*cdf0e10cSrcweir 
6316*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantUpVert[] =
6317*cdf0e10cSrcweir {
6318*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I }
6319*cdf0e10cSrcweir };
6320*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantUpHandle[] =
6321*cdf0e10cSrcweir {
6322*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6323*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 15400 }
6324*cdf0e10cSrcweir };
6325*cdf0e10cSrcweir static const mso_CustomShape msoTextSlantUp =
6326*cdf0e10cSrcweir {
6327*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSlantUpVert, sizeof( mso_sptTextSlantUpVert ) / sizeof( SvxMSDffVertPair ),
6328*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6329*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6330*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault12000,
6331*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6332*cdf0e10cSrcweir 	21600, 21600,
6333*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6334*cdf0e10cSrcweir 	NULL, 0,
6335*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextSlantUpHandle, sizeof( mso_sptTextSlantUpHandle ) / sizeof( SvxMSDffHandle )
6336*cdf0e10cSrcweir };
6337*cdf0e10cSrcweir 
6338*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantDownVert[] =
6339*cdf0e10cSrcweir {
6340*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 1 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
6341*cdf0e10cSrcweir };
6342*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantDownHandle[] =
6343*cdf0e10cSrcweir {
6344*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6345*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6346*cdf0e10cSrcweir };
6347*cdf0e10cSrcweir static const mso_CustomShape msoTextSlantDown =
6348*cdf0e10cSrcweir {
6349*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSlantDownVert, sizeof( mso_sptTextSlantDownVert ) / sizeof( SvxMSDffVertPair ),
6350*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6351*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6352*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault12000,
6353*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6354*cdf0e10cSrcweir 	21600, 21600,
6355*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6356*cdf0e10cSrcweir 	NULL, 0,
6357*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextSlantDownHandle, sizeof( mso_sptTextSlantDownHandle ) / sizeof( SvxMSDffHandle )
6358*cdf0e10cSrcweir };
6359*cdf0e10cSrcweir 
6360*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeUpVert[] =
6361*cdf0e10cSrcweir {
6362*cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I }
6363*cdf0e10cSrcweir };
6364*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] =
6365*cdf0e10cSrcweir {
6366*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6367*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
6368*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 4 } }
6369*cdf0e10cSrcweir };
6370*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] =
6371*cdf0e10cSrcweir {
6372*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6373*cdf0e10cSrcweir 		21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6374*cdf0e10cSrcweir };
6375*cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeUp =
6376*cdf0e10cSrcweir {
6377*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCascadeUpVert, sizeof( mso_sptTextCascadeUpVert ) / sizeof( SvxMSDffVertPair ),
6378*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6379*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ),
6380*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault9600,
6381*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6382*cdf0e10cSrcweir 	21600, 21600,
6383*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6384*cdf0e10cSrcweir 	NULL, 0,
6385*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCascadeUpHandle, sizeof( mso_sptTextCascadeUpHandle ) / sizeof( SvxMSDffHandle )
6386*cdf0e10cSrcweir };
6387*cdf0e10cSrcweir 
6388*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] =
6389*cdf0e10cSrcweir {
6390*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
6391*cdf0e10cSrcweir };
6392*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] =
6393*cdf0e10cSrcweir {
6394*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6395*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6396*cdf0e10cSrcweir };
6397*cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeDown =
6398*cdf0e10cSrcweir {
6399*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCascadeDownVert, sizeof( mso_sptTextCascadeDownVert ) / sizeof( SvxMSDffVertPair ),
6400*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6401*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ),
6402*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault9600,
6403*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6404*cdf0e10cSrcweir 	21600, 21600,
6405*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6406*cdf0e10cSrcweir 	NULL, 0,
6407*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCascadeDownHandle, sizeof( mso_sptTextCascadeDownHandle ) / sizeof( SvxMSDffHandle )
6408*cdf0e10cSrcweir };
6409*cdf0e10cSrcweir 
6410*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpCurveVert[] =
6411*cdf0e10cSrcweir {
6412*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
6413*cdf0e10cSrcweir };
6414*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] =
6415*cdf0e10cSrcweir {
6416*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6417*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6418*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6419*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6420*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } }
6421*cdf0e10cSrcweir };
6422*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpCurveSegm[] =
6423*cdf0e10cSrcweir {
6424*cdf0e10cSrcweir 	0xA504, 0x8000		// clockw�se arc
6425*cdf0e10cSrcweir };
6426*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] =
6427*cdf0e10cSrcweir {
6428*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6429*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6430*cdf0e10cSrcweir };
6431*cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpCurveDefault[] =
6432*cdf0e10cSrcweir {
6433*cdf0e10cSrcweir 	1, 180
6434*cdf0e10cSrcweir };
6435*cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpCurve =
6436*cdf0e10cSrcweir {
6437*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, sizeof( mso_sptTextArchUpCurveVert ) / sizeof( SvxMSDffVertPair ),
6438*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1,
6439*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6440*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchUpCurveDefault,
6441*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6442*cdf0e10cSrcweir 	21600, 21600,
6443*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6444*cdf0e10cSrcweir 	NULL, 0,
6445*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, sizeof( mso_sptTextArchUpCurveHandle ) / sizeof( SvxMSDffHandle )
6446*cdf0e10cSrcweir };
6447*cdf0e10cSrcweir 
6448*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownCurveVert[] =
6449*cdf0e10cSrcweir {
6450*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
6451*cdf0e10cSrcweir };
6452*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownCurveSegm[] =
6453*cdf0e10cSrcweir {
6454*cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise arc to
6455*cdf0e10cSrcweir };
6456*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] =
6457*cdf0e10cSrcweir {
6458*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6459*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6460*cdf0e10cSrcweir };
6461*cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownCurveDefault[] =
6462*cdf0e10cSrcweir {
6463*cdf0e10cSrcweir 	1, 0
6464*cdf0e10cSrcweir };
6465*cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownCurve =
6466*cdf0e10cSrcweir {
6467*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, sizeof( mso_sptTextArchDownCurveVert ) / sizeof( SvxMSDffVertPair ),
6468*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1,
6469*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6470*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchDownCurveDefault,
6471*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6472*cdf0e10cSrcweir 	21600, 21600,
6473*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6474*cdf0e10cSrcweir 	NULL, 0,
6475*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, sizeof( mso_sptTextArchDownCurveHandle ) / sizeof( SvxMSDffHandle )
6476*cdf0e10cSrcweir };
6477*cdf0e10cSrcweir 
6478*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCircleCurveVert[] =
6479*cdf0e10cSrcweir {
6480*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I }
6481*cdf0e10cSrcweir };
6482*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc[] =
6483*cdf0e10cSrcweir {
6484*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6485*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6486*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6487*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6488*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
6489*cdf0e10cSrcweir };
6490*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCircleCurveSegm[] =
6491*cdf0e10cSrcweir {
6492*cdf0e10cSrcweir 	0xA504, 0x8000		// clockwise arc to
6493*cdf0e10cSrcweir };
6494*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] =
6495*cdf0e10cSrcweir {
6496*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6497*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6498*cdf0e10cSrcweir };
6499*cdf0e10cSrcweir static const sal_Int32 mso_sptTextCircleCurveDefault[] =
6500*cdf0e10cSrcweir {
6501*cdf0e10cSrcweir 	1, -179
6502*cdf0e10cSrcweir };
6503*cdf0e10cSrcweir static const mso_CustomShape msoTextCircleCurve =
6504*cdf0e10cSrcweir {
6505*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCircleCurveVert, sizeof( mso_sptTextCircleCurveVert ) / sizeof( SvxMSDffVertPair ),
6506*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1,
6507*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, sizeof( mso_sptTextCircleCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6508*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCircleCurveDefault,
6509*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6510*cdf0e10cSrcweir 	21600, 21600,
6511*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6512*cdf0e10cSrcweir 	NULL, 0,
6513*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCircleCurveHandle, sizeof( mso_sptTextCircleCurveHandle ) / sizeof( SvxMSDffHandle )
6514*cdf0e10cSrcweir };
6515*cdf0e10cSrcweir 
6516*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonCurveVert[] =
6517*cdf0e10cSrcweir {
6518*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
6519*cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 },
6520*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
6521*cdf0e10cSrcweir };
6522*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc[] =
6523*cdf0e10cSrcweir {
6524*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6525*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6526*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6527*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6528*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6529*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
6530*cdf0e10cSrcweir };
6531*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonCurveSegm[] =
6532*cdf0e10cSrcweir {
6533*cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
6534*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6535*cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise
6536*cdf0e10cSrcweir };
6537*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] =
6538*cdf0e10cSrcweir {
6539*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6540*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6541*cdf0e10cSrcweir };
6542*cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonCurveDefault[] =
6543*cdf0e10cSrcweir {
6544*cdf0e10cSrcweir 	1, 180
6545*cdf0e10cSrcweir };
6546*cdf0e10cSrcweir static const mso_CustomShape msoTextButtonCurve =
6547*cdf0e10cSrcweir {
6548*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextButtonCurveVert, sizeof( mso_sptTextButtonCurveVert ) / sizeof( SvxMSDffVertPair ),
6549*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1,
6550*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, sizeof( mso_sptTextButtonCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6551*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextButtonCurveDefault,
6552*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6553*cdf0e10cSrcweir 	21600, 21600,
6554*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6555*cdf0e10cSrcweir 	NULL, 0,
6556*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextButtonCurveHandle, sizeof( mso_sptTextButtonCurveHandle ) / sizeof( SvxMSDffHandle )
6557*cdf0e10cSrcweir };
6558*cdf0e10cSrcweir 
6559*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpPourVert[] =
6560*cdf0e10cSrcweir {
6561*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
6562*cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 9 MSO_I }
6563*cdf0e10cSrcweir };
6564*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchPourCalc[] =
6565*cdf0e10cSrcweir {
6566*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6567*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6568*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6569*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6570*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6571*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
6572*cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },	// 6
6573*cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
6574*cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } },				// 8
6575*cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10800, 0 } },
6576*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } },				// 10
6577*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } }
6578*cdf0e10cSrcweir };
6579*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpPourSegm[] =
6580*cdf0e10cSrcweir {
6581*cdf0e10cSrcweir 	0xA504, 0x8000,	0xA504, 0x8000
6582*cdf0e10cSrcweir };
6583*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchPourHandle[] =
6584*cdf0e10cSrcweir {
6585*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
6586*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6587*cdf0e10cSrcweir };
6588*cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpPourDefault[] =
6589*cdf0e10cSrcweir {
6590*cdf0e10cSrcweir 	2, 180, 5400
6591*cdf0e10cSrcweir };
6592*cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpPour =
6593*cdf0e10cSrcweir {
6594*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchUpPourVert, sizeof( mso_sptTextArchUpPourVert ) / sizeof( SvxMSDffVertPair ),
6595*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1,
6596*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ),
6597*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchUpPourDefault,
6598*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6599*cdf0e10cSrcweir 	21600, 21600,
6600*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6601*cdf0e10cSrcweir 	NULL, 0,
6602*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle )
6603*cdf0e10cSrcweir };
6604*cdf0e10cSrcweir 
6605*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownPourVert[] =
6606*cdf0e10cSrcweir {
6607*cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 0xa MSO_I, 9 MSO_I }, { 8 MSO_I, 9 MSO_I },
6608*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
6609*cdf0e10cSrcweir };
6610*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownPourSegm[] =
6611*cdf0e10cSrcweir {
6612*cdf0e10cSrcweir 	0xA304, 0x8000,	0xA304, 0x8000
6613*cdf0e10cSrcweir };
6614*cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownPourDefault[] =
6615*cdf0e10cSrcweir {
6616*cdf0e10cSrcweir 	2, 0, 5400
6617*cdf0e10cSrcweir };
6618*cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownPour =
6619*cdf0e10cSrcweir {
6620*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchDownPourVert, sizeof( mso_sptTextArchDownPourVert ) / sizeof( SvxMSDffVertPair ),
6621*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1,
6622*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ),
6623*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchDownPourDefault,
6624*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6625*cdf0e10cSrcweir 	21600, 21600,
6626*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6627*cdf0e10cSrcweir 	NULL, 0,
6628*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle )
6629*cdf0e10cSrcweir };
6630*cdf0e10cSrcweir 
6631*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCirclePourVert[] =
6632*cdf0e10cSrcweir {
6633*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I },
6634*cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 8 MSO_I, 0xa MSO_I }
6635*cdf0e10cSrcweir };
6636*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCirclePourCalc[] =
6637*cdf0e10cSrcweir {
6638*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6639*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6640*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6641*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6642*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },
6643*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
6644*cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },	// 6
6645*cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
6646*cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } },				// 8
6647*cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10800, 0 } },
6648*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x409 } },				// 10
6649*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
6650*cdf0e10cSrcweir 	{ 0x000, { 21600, 0, 0 } }
6651*cdf0e10cSrcweir };
6652*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCirclePourSegm[] =
6653*cdf0e10cSrcweir {
6654*cdf0e10cSrcweir 	0xA504, 0x8000, 0xA504, 0x8000
6655*cdf0e10cSrcweir };
6656*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCirclePourHandle[] =
6657*cdf0e10cSrcweir {
6658*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
6659*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6660*cdf0e10cSrcweir };
6661*cdf0e10cSrcweir static const sal_Int32 mso_sptTextCirclePourDefault[] =
6662*cdf0e10cSrcweir {
6663*cdf0e10cSrcweir 	2,  -179, 5400
6664*cdf0e10cSrcweir };
6665*cdf0e10cSrcweir static const mso_CustomShape msoTextCirclePour =
6666*cdf0e10cSrcweir {
6667*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCirclePourVert, sizeof( mso_sptTextCirclePourVert ) / sizeof( SvxMSDffVertPair ),
6668*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1,
6669*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, sizeof( mso_sptTextCirclePourCalc ) / sizeof( SvxMSDffCalculationData ),
6670*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCirclePourDefault,
6671*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6672*cdf0e10cSrcweir 	21600, 21600,
6673*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6674*cdf0e10cSrcweir 	NULL, 0,
6675*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCirclePourHandle, sizeof( mso_sptTextCirclePourHandle ) / sizeof( SvxMSDffHandle )
6676*cdf0e10cSrcweir };
6677*cdf0e10cSrcweir 
6678*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonPourVert[] =
6679*cdf0e10cSrcweir {
6680*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
6681*cdf0e10cSrcweir 	{ 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 12 MSO_I, 11 MSO_I },
6682*cdf0e10cSrcweir 	{ 0x16 MSO_I, 16 MSO_I }, { 0x15 MSO_I, 16 MSO_I },
6683*cdf0e10cSrcweir 	{ 0x16 MSO_I, 15 MSO_I }, { 0x15 MSO_I, 15 MSO_I },
6684*cdf0e10cSrcweir 	{ 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 13 MSO_I }, { 12 MSO_I, 13 MSO_I },
6685*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
6686*cdf0e10cSrcweir };
6687*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonPourCalc[] =
6688*cdf0e10cSrcweir {
6689*cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },					// 0x00
6690*cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },					// 0x01
6691*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },								// 0x02
6692*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },								// 0x03
6693*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },								// 0x04
6694*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },								// 0x05
6695*cdf0e10cSrcweir 
6696*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },				// 0x06
6697*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },								// 0x07
6698*cdf0e10cSrcweir 
6699*cdf0e10cSrcweir 	{ 0x600a, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } },	// 0x08
6700*cdf0e10cSrcweir 	{ 0x6009, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } },	// 0x09
6701*cdf0e10cSrcweir 	{ 0x2000, { 0x408, 10800, 0 } },	// 0x0a
6702*cdf0e10cSrcweir 	{ 0x2000, { 0x409, 10800, 0 } },	// 0x0b
6703*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },	// 0x0c
6704*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },	// 0x0d
6705*cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },		// 0x0e
6706*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x40e, 0 } },	// 0x0f
6707*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x40e } },	// 0x10
6708*cdf0e10cSrcweir 	{ 0x6001, { 0x40e, 0x40e, 1 } },	// 0x11
6709*cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 1 } },	// 0x12
6710*cdf0e10cSrcweir 	{ 0xA000, { 0x412, 0, 0x411 } },	// 0x13
6711*cdf0e10cSrcweir 	{ 0x200d, { 0x413, 0, 0 } },		// 0x14
6712*cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x414, 0 } },	// 0x15
6713*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x414 } }		// 0x16
6714*cdf0e10cSrcweir };
6715*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonPourSegm[] =
6716*cdf0e10cSrcweir {
6717*cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
6718*cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
6719*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6720*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6721*cdf0e10cSrcweir 	0xA304, 0x8000,		// counter clockwise
6722*cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise
6723*cdf0e10cSrcweir };
6724*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonPourHandle[] =
6725*cdf0e10cSrcweir {
6726*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
6727*cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 4320, 10800, 0x80000000, 0x7fffffff }
6728*cdf0e10cSrcweir };
6729*cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonPourDefault[] =
6730*cdf0e10cSrcweir {
6731*cdf0e10cSrcweir 	2, 180, 5400
6732*cdf0e10cSrcweir };
6733*cdf0e10cSrcweir static const mso_CustomShape msoTextButtonPour =
6734*cdf0e10cSrcweir {
6735*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextButtonPourVert, sizeof( mso_sptTextButtonPourVert ) / sizeof( SvxMSDffVertPair ),
6736*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1,
6737*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, sizeof( mso_sptTextButtonPourCalc ) / sizeof( SvxMSDffCalculationData ),
6738*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextButtonPourDefault,
6739*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6740*cdf0e10cSrcweir 	21600, 21600,
6741*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6742*cdf0e10cSrcweir 	NULL, 0,
6743*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextButtonPourHandle, sizeof( mso_sptTextButtonPourHandle ) / sizeof( SvxMSDffHandle )
6744*cdf0e10cSrcweir };
6745*cdf0e10cSrcweir 
6746*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveUpVert[] =
6747*cdf0e10cSrcweir {
6748*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
6749*cdf0e10cSrcweir 	{ 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*/ }
6750*cdf0e10cSrcweir };
6751*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCurveUpCalc[] =
6752*cdf0e10cSrcweir {
6753*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
6754*cdf0e10cSrcweir 	{ 0x4001, { 14250, 0x400, 12170 } },		// 401
6755*cdf0e10cSrcweir 	{ 0x4001, { 12800, 0x400, 12170 } },		// 402
6756*cdf0e10cSrcweir 	{ 0x4001, { 6380, 0x400, 12170 } },			// 403
6757*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }				// 404
6758*cdf0e10cSrcweir };
6759*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCurveUpSegm[] =
6760*cdf0e10cSrcweir {
6761*cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000,
6762*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
6763*cdf0e10cSrcweir };
6764*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveUpHandle[] =
6765*cdf0e10cSrcweir {
6766*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6767*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
6768*cdf0e10cSrcweir };
6769*cdf0e10cSrcweir static const sal_Int32 mso_sptTextCurveUpDefault[] =
6770*cdf0e10cSrcweir {
6771*cdf0e10cSrcweir 	1, 9900
6772*cdf0e10cSrcweir };
6773*cdf0e10cSrcweir static const mso_CustomShape msoTextCurveUp =
6774*cdf0e10cSrcweir {
6775*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCurveUpVert, sizeof( mso_sptTextCurveUpVert ) / sizeof( SvxMSDffVertPair ),
6776*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
6777*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ),
6778*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCurveUpDefault,
6779*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6780*cdf0e10cSrcweir 	21600, 21600,
6781*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6782*cdf0e10cSrcweir 	NULL, 0,
6783*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCurveUpHandle, sizeof( mso_sptTextCurveUpHandle ) / sizeof( SvxMSDffHandle )
6784*cdf0e10cSrcweir };
6785*cdf0e10cSrcweir 
6786*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveDownVert[] =
6787*cdf0e10cSrcweir {
6788*cdf0e10cSrcweir //	{ 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
6789*cdf0e10cSrcweir 	{ 0, 0 }, { 9960, 2 MSO_I }, { 16700, 1 MSO_I }, { 21600, 0 MSO_I },
6790*cdf0e10cSrcweir 
6791*cdf0e10cSrcweir //	{ 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*/ }
6792*cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I }
6793*cdf0e10cSrcweir };
6794*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveDownHandle[] =
6795*cdf0e10cSrcweir {
6796*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6797*cdf0e10cSrcweir 		21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
6798*cdf0e10cSrcweir };
6799*cdf0e10cSrcweir static const mso_CustomShape msoTextCurveDown =
6800*cdf0e10cSrcweir {
6801*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCurveDownVert, sizeof( mso_sptTextCurveDownVert ) / sizeof( SvxMSDffVertPair ),
6802*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
6803*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ),
6804*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCurveUpDefault,
6805*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6806*cdf0e10cSrcweir 	21600, 21600,
6807*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6808*cdf0e10cSrcweir 	NULL, 0,
6809*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCurveDownHandle, sizeof( mso_sptTextCurveDownHandle ) / sizeof( SvxMSDffHandle )
6810*cdf0e10cSrcweir };
6811*cdf0e10cSrcweir 
6812*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanUpVert[] =
6813*cdf0e10cSrcweir {
6814*cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I },
6815*cdf0e10cSrcweir 	{ 0, 21600 }, { 900, 4 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 4 MSO_I }, { 21600, 21600 }
6816*cdf0e10cSrcweir };
6817*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanUpCalc[] =
6818*cdf0e10cSrcweir {
6819*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 400
6820*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 401
6821*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 14400 } }, // 402
6822*cdf0e10cSrcweir 	{ 0x4001, { 5470, 0x402, 7200 } },				// 403
6823*cdf0e10cSrcweir 	{ 0x4000, { 16130, 0x403, 0 } }					// 404
6824*cdf0e10cSrcweir };
6825*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCanUpSegm[] =
6826*cdf0e10cSrcweir {
6827*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
6828*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
6829*cdf0e10cSrcweir };
6830*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanUpHandle[] =
6831*cdf0e10cSrcweir {
6832*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6833*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
6834*cdf0e10cSrcweir };
6835*cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanUpDefault[] =
6836*cdf0e10cSrcweir {
6837*cdf0e10cSrcweir 	1, 18500
6838*cdf0e10cSrcweir };
6839*cdf0e10cSrcweir static const mso_CustomShape msoTextCanUp =
6840*cdf0e10cSrcweir {
6841*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCanUpVert, sizeof( mso_sptTextCanUpVert ) / sizeof( SvxMSDffVertPair ),
6842*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
6843*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCanUpCalc, sizeof( mso_sptTextCanUpCalc ) / sizeof( SvxMSDffCalculationData ),
6844*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCanUpDefault,
6845*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6846*cdf0e10cSrcweir 	21600, 21600,
6847*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6848*cdf0e10cSrcweir 	NULL, 0,
6849*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCanUpHandle, sizeof( mso_sptTextCanUpHandle ) / sizeof( SvxMSDffHandle )
6850*cdf0e10cSrcweir };
6851*cdf0e10cSrcweir 
6852*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanDownVert[] =
6853*cdf0e10cSrcweir {
6854*cdf0e10cSrcweir 	{ 0, 0 }, { 900, 2 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 2 MSO_I }, { 21600, 0 },
6855*cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I }
6856*cdf0e10cSrcweir };
6857*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] =
6858*cdf0e10cSrcweir {
6859*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 400
6860*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 401
6861*cdf0e10cSrcweir 	{ 0x4001, { 5470, 0x400, 7200 } }				// 402
6862*cdf0e10cSrcweir };
6863*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanDownHandle[] =
6864*cdf0e10cSrcweir {
6865*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6866*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
6867*cdf0e10cSrcweir };
6868*cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanDownDefault[] =
6869*cdf0e10cSrcweir {
6870*cdf0e10cSrcweir 	1, 3100
6871*cdf0e10cSrcweir };
6872*cdf0e10cSrcweir static const mso_CustomShape msoTextCanDown =
6873*cdf0e10cSrcweir {
6874*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCanDownVert, sizeof( mso_sptTextCanDownVert ) / sizeof( SvxMSDffVertPair ),
6875*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
6876*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCanDownCalc, sizeof( mso_sptTextCanDownCalc ) / sizeof( SvxMSDffCalculationData ),
6877*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCanDownDefault,
6878*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6879*cdf0e10cSrcweir 	21600, 21600,
6880*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6881*cdf0e10cSrcweir 	NULL, 0,
6882*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCanDownHandle, sizeof( mso_sptTextCanDownHandle ) / sizeof( SvxMSDffHandle )
6883*cdf0e10cSrcweir };
6884*cdf0e10cSrcweir 
6885*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateVert[] =
6886*cdf0e10cSrcweir {
6887*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 4100, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I }, { 21600, 0 MSO_I },
6888*cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 4100, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I }, { 21600, 2 MSO_I }
6889*cdf0e10cSrcweir };
6890*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateCalc[] =
6891*cdf0e10cSrcweir {
6892*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
6893*cdf0e10cSrcweir 	{ 0x4001, { 1530, 0x400, 4650 } },			// 401
6894*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			// 402
6895*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } }				// 403
6896*cdf0e10cSrcweir };
6897*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateHandle[] =
6898*cdf0e10cSrcweir {
6899*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6900*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4650 }
6901*cdf0e10cSrcweir };
6902*cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateDefault[] =
6903*cdf0e10cSrcweir {
6904*cdf0e10cSrcweir 	1, 2950
6905*cdf0e10cSrcweir };
6906*cdf0e10cSrcweir static const mso_CustomShape msoTextInflate =
6907*cdf0e10cSrcweir {
6908*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateVert, sizeof( mso_sptTextInflateVert ) / sizeof( SvxMSDffVertPair ),
6909*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
6910*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateCalc, sizeof( mso_sptTextInflateCalc ) / sizeof( SvxMSDffCalculationData ),
6911*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateDefault,
6912*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6913*cdf0e10cSrcweir 	21600, 21600,
6914*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6915*cdf0e10cSrcweir 	NULL, 0,
6916*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateHandle, sizeof( mso_sptTextInflateHandle ) / sizeof( SvxMSDffHandle )
6917*cdf0e10cSrcweir };
6918*cdf0e10cSrcweir 
6919*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateVert[] =
6920*cdf0e10cSrcweir {
6921*cdf0e10cSrcweir 	{ 0, 0 }, { 3500, 1 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 18100, 1 MSO_I }, { 21600, 0 },
6922*cdf0e10cSrcweir 	{ 0, 21600 }, { 3500, 3 MSO_I }, { 7100, 2 MSO_I }, { 10800, 2 MSO_I }, { 14500, 2 MSO_I }, { 18100, 3 MSO_I }, { 21600, 21600 }
6923*cdf0e10cSrcweir };
6924*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] =
6925*cdf0e10cSrcweir {
6926*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
6927*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 5320, 7100 } },			// 401
6928*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			// 402
6929*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } }				// 403
6930*cdf0e10cSrcweir };
6931*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateHandle[] =
6932*cdf0e10cSrcweir {
6933*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6934*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 8100 }
6935*cdf0e10cSrcweir };
6936*cdf0e10cSrcweir static const mso_CustomShape msoTextDeflate =
6937*cdf0e10cSrcweir {
6938*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateVert, sizeof( mso_sptTextDeflateVert ) / sizeof( SvxMSDffVertPair ),
6939*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
6940*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateCalc, sizeof( mso_sptTextDeflateCalc ) / sizeof( SvxMSDffCalculationData ),
6941*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault8100,
6942*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6943*cdf0e10cSrcweir 	21600, 21600,
6944*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6945*cdf0e10cSrcweir 	NULL, 0,
6946*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateHandle, sizeof( mso_sptTextDeflateHandle ) / sizeof( SvxMSDffHandle )
6947*cdf0e10cSrcweir };
6948*cdf0e10cSrcweir 
6949*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateBottomVert[] =
6950*cdf0e10cSrcweir {
6951*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
6952*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 3500, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I }, { 21600, 0 MSO_I }
6953*cdf0e10cSrcweir };
6954*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc[] =
6955*cdf0e10cSrcweir {
6956*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
6957*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 11150 } },			// 401 0->10450
6958*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 3900, 10450 } },			// 402
6959*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 17700, 0 } }				// 403
6960*cdf0e10cSrcweir };
6961*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateBottomSegm[] =
6962*cdf0e10cSrcweir {
6963*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6964*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
6965*cdf0e10cSrcweir };
6966*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] =
6967*cdf0e10cSrcweir {
6968*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6969*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 11150, 21600 }
6970*cdf0e10cSrcweir };
6971*cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateBottomDefault[] =
6972*cdf0e10cSrcweir {
6973*cdf0e10cSrcweir 	1, 14700
6974*cdf0e10cSrcweir };
6975*cdf0e10cSrcweir static const mso_CustomShape msoTextInflateBottom =
6976*cdf0e10cSrcweir {
6977*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateBottomVert, sizeof( mso_sptTextInflateBottomVert ) / sizeof( SvxMSDffVertPair ),
6978*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1,
6979*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, sizeof( mso_sptTextInflateBottomCalc ) / sizeof( SvxMSDffCalculationData ),
6980*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateBottomDefault,
6981*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6982*cdf0e10cSrcweir 	21600, 21600,
6983*cdf0e10cSrcweir 	0x80000000, 0x80000000,
6984*cdf0e10cSrcweir 	NULL, 0,
6985*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateBottomHandle, sizeof( mso_sptTextInflateBottomHandle ) / sizeof( SvxMSDffHandle )
6986*cdf0e10cSrcweir };
6987*cdf0e10cSrcweir 
6988*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateBottomVert[] =
6989*cdf0e10cSrcweir {
6990*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
6991*cdf0e10cSrcweir 	{ 0, 21600 }, { 2900, 3 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 3 MSO_I }, { 21600, 21600 }
6992*cdf0e10cSrcweir };
6993*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc[] =
6994*cdf0e10cSrcweir {
6995*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
6996*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 1350 } },				// 401 0->20250
6997*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 12070, 20250 } },		// 402
6998*cdf0e10cSrcweir 	{ 0x2000, { 0x402, 9530, 0 } }				// 403
6999*cdf0e10cSrcweir };
7000*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateBottomSegm[] =
7001*cdf0e10cSrcweir {
7002*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7003*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7004*cdf0e10cSrcweir };
7005*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] =
7006*cdf0e10cSrcweir {
7007*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7008*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1350, 21600 }
7009*cdf0e10cSrcweir };
7010*cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateBottomDefault[] =
7011*cdf0e10cSrcweir {
7012*cdf0e10cSrcweir 	1, 11500
7013*cdf0e10cSrcweir };
7014*cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateBottom =
7015*cdf0e10cSrcweir {
7016*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, sizeof( mso_sptTextDeflateBottomVert ) / sizeof( SvxMSDffVertPair ),
7017*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1,
7018*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, sizeof( mso_sptTextDeflateBottomCalc ) / sizeof( SvxMSDffCalculationData ),
7019*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateBottomDefault,
7020*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7021*cdf0e10cSrcweir 	21600, 21600,
7022*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7023*cdf0e10cSrcweir 	NULL, 0,
7024*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, sizeof( mso_sptTextDeflateBottomHandle ) / sizeof( SvxMSDffHandle )
7025*cdf0e10cSrcweir };
7026*cdf0e10cSrcweir 
7027*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateTopVert[] =
7028*cdf0e10cSrcweir {
7029*cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 3500, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I }, { 21600, 0 MSO_I },
7030*cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7031*cdf0e10cSrcweir };
7032*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateTopCalc[] =
7033*cdf0e10cSrcweir {
7034*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7035*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 3900, 10450 } }			// 401
7036*cdf0e10cSrcweir };
7037*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateTopSegm[] =
7038*cdf0e10cSrcweir {
7039*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7040*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7041*cdf0e10cSrcweir };
7042*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateTopHandle[] =
7043*cdf0e10cSrcweir {
7044*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7045*cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10450 }
7046*cdf0e10cSrcweir };
7047*cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateTopDefault[] =
7048*cdf0e10cSrcweir {
7049*cdf0e10cSrcweir 	1, 6900
7050*cdf0e10cSrcweir };
7051*cdf0e10cSrcweir static const mso_CustomShape msoTextInflateTop =
7052*cdf0e10cSrcweir {
7053*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateTopVert, sizeof( mso_sptTextInflateTopVert ) / sizeof( SvxMSDffVertPair ),
7054*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1,
7055*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, sizeof( mso_sptTextInflateTopCalc ) / sizeof( SvxMSDffCalculationData ),
7056*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateTopDefault,
7057*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7058*cdf0e10cSrcweir 	21600, 21600,
7059*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7060*cdf0e10cSrcweir 	NULL, 0,
7061*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateTopHandle, sizeof( mso_sptTextInflateTopHandle ) / sizeof( SvxMSDffHandle )
7062*cdf0e10cSrcweir };
7063*cdf0e10cSrcweir 
7064*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateTopVert[] =
7065*cdf0e10cSrcweir {
7066*cdf0e10cSrcweir 	{ 0, 0 }, { 2900, 1 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 1 MSO_I }, { 21600, 0 },
7067*cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7068*cdf0e10cSrcweir };
7069*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc[] =
7070*cdf0e10cSrcweir {
7071*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7072*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 12070, 20250 } }         // 402
7073*cdf0e10cSrcweir };
7074*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateTopSegm[] =
7075*cdf0e10cSrcweir {
7076*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7077*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7078*cdf0e10cSrcweir };
7079*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] =
7080*cdf0e10cSrcweir {
7081*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7082*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 20250 }
7083*cdf0e10cSrcweir };
7084*cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateTopDefault[] =
7085*cdf0e10cSrcweir {
7086*cdf0e10cSrcweir 	1, 10100
7087*cdf0e10cSrcweir };
7088*cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateTop =
7089*cdf0e10cSrcweir {
7090*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateTopVert, sizeof( mso_sptTextDeflateTopVert ) / sizeof( SvxMSDffVertPair ),
7091*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1,
7092*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, sizeof( mso_sptTextDeflateTopCalc ) / sizeof( SvxMSDffCalculationData ),
7093*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateTopDefault,
7094*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7095*cdf0e10cSrcweir 	21600, 21600,
7096*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7097*cdf0e10cSrcweir 	NULL, 0,
7098*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateTopHandle, sizeof( mso_sptTextDeflateTopHandle ) / sizeof( SvxMSDffHandle )
7099*cdf0e10cSrcweir };
7100*cdf0e10cSrcweir 
7101*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateVert[] =
7102*cdf0e10cSrcweir {
7103*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7104*cdf0e10cSrcweir 	{ 0, 10100 }, { 3300, 3 MSO_I }, { 7100, 5 MSO_I }, { 10800, 5 MSO_I }, { 14500, 5 MSO_I }, { 18300, 3 MSO_I }, { 21600, 10100 },
7105*cdf0e10cSrcweir 	{ 0, 11500 }, { 3300, 4 MSO_I }, { 7100, 6 MSO_I }, { 10800, 6 MSO_I }, { 14500, 6 MSO_I }, { 18300, 4 MSO_I }, { 21600, 11500 },
7106*cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7107*cdf0e10cSrcweir };
7108*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc[] =
7109*cdf0e10cSrcweir {
7110*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7111*cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x400 } },			// 401
7112*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 5770, 9500 } },			// 402
7113*cdf0e10cSrcweir 	{ 0x8000, { 10100, 0, 0x402 } },			// 403
7114*cdf0e10cSrcweir 	{ 0x8000, { 11500, 0, 0x402 } },			// 404
7115*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 700 } },				// 405
7116*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 700, 0 }	}  		    	// 406
7117*cdf0e10cSrcweir };
7118*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateSegm[] =
7119*cdf0e10cSrcweir {
7120*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7121*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7122*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7123*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7124*cdf0e10cSrcweir };
7125*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] =
7126*cdf0e10cSrcweir {
7127*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7128*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1300, 20300 }
7129*cdf0e10cSrcweir };
7130*cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDefault[] =
7131*cdf0e10cSrcweir {
7132*cdf0e10cSrcweir 	1, 6500
7133*cdf0e10cSrcweir };
7134*cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflate =
7135*cdf0e10cSrcweir {
7136*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, sizeof( mso_sptTextDeflateInflateVert ) / sizeof( SvxMSDffVertPair ),
7137*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1,
7138*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, sizeof( mso_sptTextDeflateInflateCalc ) / sizeof( SvxMSDffCalculationData ),
7139*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateInflateDefault,
7140*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7141*cdf0e10cSrcweir 	21600, 21600,
7142*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7143*cdf0e10cSrcweir 	NULL, 0,
7144*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, sizeof( mso_sptTextDeflateInflateHandle ) / sizeof( SvxMSDffHandle )
7145*cdf0e10cSrcweir };
7146*cdf0e10cSrcweir 
7147*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert[] =
7148*cdf0e10cSrcweir {
7149*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7150*cdf0e10cSrcweir 	{ 0, 6600 }, { 3600, 3 MSO_I }, { 7250, 4 MSO_I }, { 10800, 4 MSO_I }, { 14350, 4 MSO_I }, { 18000, 3 MSO_I }, { 21600, 6600 },
7151*cdf0e10cSrcweir 	{ 0, 7500 }, { 3600, 5 MSO_I }, { 7250, 6 MSO_I }, { 10800, 6 MSO_I }, { 14350, 6 MSO_I }, { 18000, 5 MSO_I }, { 21600, 7500 },
7152*cdf0e10cSrcweir 	{ 0, 14100 }, { 3600, 9 MSO_I }, { 7250, 10 MSO_I }, { 10800, 10 MSO_I }, { 14350, 10 MSO_I }, { 18000, 9 MSO_I }, { 21600, 14100 },
7153*cdf0e10cSrcweir 	{ 0, 15000 }, { 3600, 7 MSO_I }, { 7250, 8 MSO_I }, { 10800, 8 MSO_I }, { 14350, 8 MSO_I }, { 18000, 7 MSO_I }, { 21600, 15000 },
7154*cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7155*cdf0e10cSrcweir };
7156*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc[] =
7157*cdf0e10cSrcweir {
7158*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 850 } },		// 400
7159*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 6120, 8700 } },
7160*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 0, 4280 } },
7161*cdf0e10cSrcweir 	{ 0x4000, { 6600, 0x402, 0 } },
7162*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 450 } },		// 404
7163*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 900, 0 } },						// 405
7164*cdf0e10cSrcweir 	{ 0x2000, { 0x404, 900, 0 } },						// 406
7165*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },					// 407
7166*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },					// 408
7167*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },					// 409
7168*cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } }						// 410
7169*cdf0e10cSrcweir };
7170*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] =
7171*cdf0e10cSrcweir {
7172*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7173*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7174*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7175*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7176*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7177*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7178*cdf0e10cSrcweir };
7179*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] =
7180*cdf0e10cSrcweir {
7181*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7182*cdf0e10cSrcweir 		10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 850, 9550 }
7183*cdf0e10cSrcweir };
7184*cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] =
7185*cdf0e10cSrcweir {
7186*cdf0e10cSrcweir 	1, 6050
7187*cdf0e10cSrcweir };
7188*cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflateDeflate =
7189*cdf0e10cSrcweir {
7190*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, sizeof( mso_sptTextDeflateInflateDeflateVert ) / sizeof( SvxMSDffVertPair ),
7191*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1,
7192*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, sizeof( mso_sptTextDeflateInflateDeflateCalc ) / sizeof( SvxMSDffCalculationData ),
7193*cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateInflateDeflateDefault,
7194*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7195*cdf0e10cSrcweir 	21600, 21600,
7196*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7197*cdf0e10cSrcweir 	NULL, 0,
7198*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, sizeof( mso_sptTextDeflateInflateDeflateHandle ) / sizeof( SvxMSDffHandle )
7199*cdf0e10cSrcweir };
7200*cdf0e10cSrcweir 
7201*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave1Vert[] =	// adjustment1 : 0 - 4459
7202*cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
7203*cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
7204*cdf0e10cSrcweir 	{ 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I }
7205*cdf0e10cSrcweir };
7206*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave1Segm[] =
7207*cdf0e10cSrcweir {
7208*cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000,
7209*cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000
7210*cdf0e10cSrcweir };
7211*cdf0e10cSrcweir static const mso_CustomShape msoTextWave1 =
7212*cdf0e10cSrcweir {
7213*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave1Vert, sizeof( mso_sptTextWave1Vert ) / sizeof( SvxMSDffVertPair ),
7214*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
7215*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7216*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
7217*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7218*cdf0e10cSrcweir 	21600, 21600,
7219*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7220*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7221*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
7222*cdf0e10cSrcweir };
7223*cdf0e10cSrcweir 
7224*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave2Vert[] =	// adjustment1 : 0 - 4459
7225*cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
7226*cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I },
7227*cdf0e10cSrcweir 	{ 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I }
7228*cdf0e10cSrcweir };
7229*cdf0e10cSrcweir static const mso_CustomShape msoTextWave2 =
7230*cdf0e10cSrcweir {
7231*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave2Vert, sizeof( mso_sptTextWave2Vert ) / sizeof( SvxMSDffVertPair ),
7232*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
7233*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7234*cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
7235*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7236*cdf0e10cSrcweir 	21600, 21600,
7237*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7238*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7239*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
7240*cdf0e10cSrcweir };
7241*cdf0e10cSrcweir 
7242*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave3Vert[] =	// adjustment1 : 0 - 2230
7243*cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
7244*cdf0e10cSrcweir 	{ 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 },
7245*cdf0e10cSrcweir 	{ 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 }
7246*cdf0e10cSrcweir };
7247*cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave3Segm[] =
7248*cdf0e10cSrcweir {
7249*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7250*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7251*cdf0e10cSrcweir };
7252*cdf0e10cSrcweir static const mso_CustomShape msoTextWave3 =
7253*cdf0e10cSrcweir {
7254*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave3Vert, sizeof( mso_sptTextWave3Vert ) / sizeof( SvxMSDffVertPair ),
7255*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
7256*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7257*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
7258*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
7259*cdf0e10cSrcweir 	21600, 21600,
7260*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7261*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7262*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
7263*cdf0e10cSrcweir };
7264*cdf0e10cSrcweir 
7265*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave4Vert[] =	// adjustment1 : 0 - 2230
7266*cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
7267*cdf0e10cSrcweir 	{ 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 },
7268*cdf0e10cSrcweir 	{ 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 }
7269*cdf0e10cSrcweir };
7270*cdf0e10cSrcweir static const mso_CustomShape msoTextWave4 =
7271*cdf0e10cSrcweir {
7272*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave4Vert, sizeof( mso_sptTextWave4Vert ) / sizeof( SvxMSDffVertPair ),
7273*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
7274*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7275*cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
7276*cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
7277*cdf0e10cSrcweir 	21600, 21600,
7278*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7279*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7280*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
7281*cdf0e10cSrcweir };
7282*cdf0e10cSrcweir 
7283*cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault1[] =
7284*cdf0e10cSrcweir {
7285*cdf0e10cSrcweir 	4, -1800, 24500, -1800, 4000
7286*cdf0e10cSrcweir };
7287*cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault2[] =
7288*cdf0e10cSrcweir {
7289*cdf0e10cSrcweir 	4, -8300, 24500, -1800, 4000
7290*cdf0e10cSrcweir };
7291*cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault3[] =
7292*cdf0e10cSrcweir {
7293*cdf0e10cSrcweir 	6, -10000, 24500, -3600, 4000, -1800, 4000
7294*cdf0e10cSrcweir };
7295*cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault4[] =
7296*cdf0e10cSrcweir {
7297*cdf0e10cSrcweir 	8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000
7298*cdf0e10cSrcweir };
7299*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCalloutVert1[] =
7300*cdf0e10cSrcweir {
7301*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }
7302*cdf0e10cSrcweir };
7303*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle1[] =
7304*cdf0e10cSrcweir {
7305*cdf0e10cSrcweir 	{	0,
7306*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7307*cdf0e10cSrcweir 	{	0,
7308*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7309*cdf0e10cSrcweir };
7310*cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1a[] =
7311*cdf0e10cSrcweir {
7312*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7313*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7314*cdf0e10cSrcweir };
7315*cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1b[] =
7316*cdf0e10cSrcweir {
7317*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7318*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7319*cdf0e10cSrcweir };
7320*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout1Vert[] =
7321*cdf0e10cSrcweir {
7322*cdf0e10cSrcweir 	{ 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 }
7323*cdf0e10cSrcweir };
7324*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1a[] =
7325*cdf0e10cSrcweir {
7326*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7327*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7328*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7329*cdf0e10cSrcweir };
7330*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1b[] =
7331*cdf0e10cSrcweir {
7332*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7333*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7334*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7335*cdf0e10cSrcweir };
7336*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Verta[] =
7337*cdf0e10cSrcweir {
7338*cdf0e10cSrcweir 	{ 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 }
7339*cdf0e10cSrcweir };
7340*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Vertb[] =
7341*cdf0e10cSrcweir {
7342*cdf0e10cSrcweir 	{ 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 }
7343*cdf0e10cSrcweir };
7344*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle2[] =
7345*cdf0e10cSrcweir {
7346*cdf0e10cSrcweir 	{	0,
7347*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7348*cdf0e10cSrcweir 	{	0,
7349*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7350*cdf0e10cSrcweir 	{	0,
7351*cdf0e10cSrcweir 		0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7352*cdf0e10cSrcweir };
7353*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1a[] =
7354*cdf0e10cSrcweir {
7355*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7356*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7357*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7358*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7359*cdf0e10cSrcweir };
7360*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1b[] =
7361*cdf0e10cSrcweir {
7362*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7363*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7364*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7365*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7366*cdf0e10cSrcweir };
7367*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1c[] =
7368*cdf0e10cSrcweir {
7369*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7370*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7371*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7372*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7373*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7374*cdf0e10cSrcweir };
7375*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1d[] =
7376*cdf0e10cSrcweir {
7377*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7378*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7379*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7380*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7381*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7382*cdf0e10cSrcweir };
7383*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Verta[] =
7384*cdf0e10cSrcweir {
7385*cdf0e10cSrcweir 	{ 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 }
7386*cdf0e10cSrcweir };
7387*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Vertb[] =
7388*cdf0e10cSrcweir {
7389*cdf0e10cSrcweir 	{ 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 }
7390*cdf0e10cSrcweir };
7391*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle3[] =
7392*cdf0e10cSrcweir {
7393*cdf0e10cSrcweir 	{	0,
7394*cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7395*cdf0e10cSrcweir 	{	0,
7396*cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7397*cdf0e10cSrcweir 	{	0,
7398*cdf0e10cSrcweir 		0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7399*cdf0e10cSrcweir 	{	0,
7400*cdf0e10cSrcweir 		0x106, 0x107, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7401*cdf0e10cSrcweir };
7402*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1a[] =
7403*cdf0e10cSrcweir {
7404*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7405*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000			// NO_FILL
7406*cdf0e10cSrcweir };
7407*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1b[] =
7408*cdf0e10cSrcweir {
7409*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7410*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000			// NO FILL
7411*cdf0e10cSrcweir };
7412*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1c[] =
7413*cdf0e10cSrcweir {
7414*cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7415*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000,			// NO FILL
7416*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7417*cdf0e10cSrcweir };
7418*cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1d[] =
7419*cdf0e10cSrcweir {
7420*cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7421*cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000,			// NO FILL
7422*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7423*cdf0e10cSrcweir };
7424*cdf0e10cSrcweir 
7425*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCalloutCalc[] =
7426*cdf0e10cSrcweir {
7427*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7428*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7429*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
7430*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
7431*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust5Value, 0, 0 } },
7432*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust6Value, 0, 0 } },
7433*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust7Value, 0, 0 } },
7434*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust8Value, 0, 0 } }
7435*cdf0e10cSrcweir };
7436*cdf0e10cSrcweir 
7437*cdf0e10cSrcweir static const mso_CustomShape msoCallout90 =
7438*cdf0e10cSrcweir {
7439*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7440*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7441*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7442*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7443*cdf0e10cSrcweir 	NULL, 0,
7444*cdf0e10cSrcweir 	21600, 21600,
7445*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7446*cdf0e10cSrcweir 	NULL, 0,
7447*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7448*cdf0e10cSrcweir };
7449*cdf0e10cSrcweir static const mso_CustomShape msoCallout1 =
7450*cdf0e10cSrcweir {
7451*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7452*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7453*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7454*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7455*cdf0e10cSrcweir 	NULL, 0,
7456*cdf0e10cSrcweir 	21600, 21600,
7457*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7458*cdf0e10cSrcweir 	NULL, 0,
7459*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7460*cdf0e10cSrcweir };
7461*cdf0e10cSrcweir static const mso_CustomShape msoCallout2 =
7462*cdf0e10cSrcweir {
7463*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ),
7464*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1,
7465*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7466*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7467*cdf0e10cSrcweir 	NULL, 0,
7468*cdf0e10cSrcweir 	21600, 21600,
7469*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7470*cdf0e10cSrcweir 	NULL, 0,
7471*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7472*cdf0e10cSrcweir };
7473*cdf0e10cSrcweir static const mso_CustomShape msoCallout3 =
7474*cdf0e10cSrcweir {
7475*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ),
7476*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1,
7477*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7478*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7479*cdf0e10cSrcweir 	NULL, 0,
7480*cdf0e10cSrcweir 	21600, 21600,
7481*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7482*cdf0e10cSrcweir 	NULL, 0,
7483*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7484*cdf0e10cSrcweir };
7485*cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout90 =
7486*cdf0e10cSrcweir {
7487*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7488*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7489*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7490*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7491*cdf0e10cSrcweir 	NULL, 0,
7492*cdf0e10cSrcweir 	21600, 21600,
7493*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7494*cdf0e10cSrcweir 	NULL, 0,
7495*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7496*cdf0e10cSrcweir };
7497*cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout1 =
7498*cdf0e10cSrcweir {
7499*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ),
7500*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1,
7501*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7502*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7503*cdf0e10cSrcweir 	NULL, 0,
7504*cdf0e10cSrcweir 	21600, 21600,
7505*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7506*cdf0e10cSrcweir 	NULL, 0,
7507*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7508*cdf0e10cSrcweir };
7509*cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout2 =
7510*cdf0e10cSrcweir {
7511*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ),
7512*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1,
7513*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7514*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7515*cdf0e10cSrcweir 	NULL, 0,
7516*cdf0e10cSrcweir 	21600, 21600,
7517*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7518*cdf0e10cSrcweir 	NULL, 0,
7519*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7520*cdf0e10cSrcweir };
7521*cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout3 =
7522*cdf0e10cSrcweir {
7523*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ),
7524*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1,
7525*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7526*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7527*cdf0e10cSrcweir 	NULL, 0,
7528*cdf0e10cSrcweir 	21600, 21600,
7529*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7530*cdf0e10cSrcweir 	NULL, 0,
7531*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7532*cdf0e10cSrcweir };
7533*cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout90 =
7534*cdf0e10cSrcweir {
7535*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7536*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7537*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7538*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7539*cdf0e10cSrcweir 	NULL, 0,
7540*cdf0e10cSrcweir 	21600, 21600,
7541*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7542*cdf0e10cSrcweir 	NULL, 0,
7543*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7544*cdf0e10cSrcweir };
7545*cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout1 =
7546*cdf0e10cSrcweir {
7547*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7548*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7549*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7550*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7551*cdf0e10cSrcweir 	NULL, 0,
7552*cdf0e10cSrcweir 	21600, 21600,
7553*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7554*cdf0e10cSrcweir 	NULL, 0,
7555*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7556*cdf0e10cSrcweir };
7557*cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout2 =
7558*cdf0e10cSrcweir {
7559*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ),
7560*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1,
7561*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7562*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7563*cdf0e10cSrcweir 	NULL, 0,
7564*cdf0e10cSrcweir 	21600, 21600,
7565*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7566*cdf0e10cSrcweir 	NULL, 0,
7567*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7568*cdf0e10cSrcweir };
7569*cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout3 =
7570*cdf0e10cSrcweir {
7571*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ),
7572*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1,
7573*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7574*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7575*cdf0e10cSrcweir 	NULL, 0,
7576*cdf0e10cSrcweir 	21600, 21600,
7577*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7578*cdf0e10cSrcweir 	NULL, 0,
7579*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7580*cdf0e10cSrcweir };
7581*cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout90 =
7582*cdf0e10cSrcweir {
7583*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7584*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7585*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7586*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7587*cdf0e10cSrcweir 	NULL, 0,
7588*cdf0e10cSrcweir 	21600, 21600,
7589*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7590*cdf0e10cSrcweir 	NULL, 0,
7591*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7592*cdf0e10cSrcweir };
7593*cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout1 =
7594*cdf0e10cSrcweir {
7595*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ),
7596*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1,
7597*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7598*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7599*cdf0e10cSrcweir 	NULL, 0,
7600*cdf0e10cSrcweir 	21600, 21600,
7601*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7602*cdf0e10cSrcweir 	NULL, 0,
7603*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7604*cdf0e10cSrcweir };
7605*cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout2 =
7606*cdf0e10cSrcweir {
7607*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ),
7608*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1,
7609*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7610*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7611*cdf0e10cSrcweir 	NULL, 0,
7612*cdf0e10cSrcweir 	21600, 21600,
7613*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7614*cdf0e10cSrcweir 	NULL, 0,
7615*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7616*cdf0e10cSrcweir };
7617*cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout3 =
7618*cdf0e10cSrcweir {
7619*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ),
7620*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1,
7621*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7622*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7623*cdf0e10cSrcweir 	NULL, 0,
7624*cdf0e10cSrcweir 	21600, 21600,
7625*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7626*cdf0e10cSrcweir 	NULL, 0,
7627*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7628*cdf0e10cSrcweir };
7629*cdf0e10cSrcweir 
7630*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStraightConnector1Vert[] =
7631*cdf0e10cSrcweir {
7632*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }
7633*cdf0e10cSrcweir };
7634*cdf0e10cSrcweir static const sal_uInt16 mso_sptStraightConnector1Segm[] =
7635*cdf0e10cSrcweir {
7636*cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7637*cdf0e10cSrcweir };
7638*cdf0e10cSrcweir static const mso_CustomShape msoStraightConnector1 =
7639*cdf0e10cSrcweir {
7640*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStraightConnector1Vert, sizeof( mso_sptStraightConnector1Vert ) / sizeof( SvxMSDffVertPair ),
7641*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1,
7642*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
7643*cdf0e10cSrcweir 	(sal_Int32*)NULL,
7644*cdf0e10cSrcweir 	NULL, 0,
7645*cdf0e10cSrcweir 	21600, 21600,
7646*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7647*cdf0e10cSrcweir 	NULL, 0,
7648*cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
7649*cdf0e10cSrcweir };
7650*cdf0e10cSrcweir 
7651*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector2Vert[] =
7652*cdf0e10cSrcweir {
7653*cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }
7654*cdf0e10cSrcweir };
7655*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector2Segm[] =
7656*cdf0e10cSrcweir {
7657*cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
7658*cdf0e10cSrcweir };
7659*cdf0e10cSrcweir static const mso_CustomShape msoBentConnector2 =
7660*cdf0e10cSrcweir {
7661*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector2Vert, sizeof( mso_sptBentConnector2Vert ) / sizeof( SvxMSDffVertPair ),
7662*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1,
7663*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
7664*cdf0e10cSrcweir 	(sal_Int32*)NULL,
7665*cdf0e10cSrcweir 	NULL, 0,
7666*cdf0e10cSrcweir 	21600, 21600,
7667*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7668*cdf0e10cSrcweir 	NULL, 0,
7669*cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
7670*cdf0e10cSrcweir };
7671*cdf0e10cSrcweir 
7672*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector3Vert[] =
7673*cdf0e10cSrcweir {
7674*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 21600 }, { 21600, 21600 }
7675*cdf0e10cSrcweir };
7676*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector3Segm[] =
7677*cdf0e10cSrcweir {
7678*cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000
7679*cdf0e10cSrcweir };
7680*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector3Calc[] =
7681*cdf0e10cSrcweir {
7682*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
7683*cdf0e10cSrcweir };
7684*cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector3Default[] =
7685*cdf0e10cSrcweir {
7686*cdf0e10cSrcweir 	1, 10800
7687*cdf0e10cSrcweir };
7688*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector3Handle[] =
7689*cdf0e10cSrcweir {
7690*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7691*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7692*cdf0e10cSrcweir };
7693*cdf0e10cSrcweir static const mso_CustomShape msoBentConnector3 =
7694*cdf0e10cSrcweir {
7695*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector3Vert, sizeof( mso_sptBentConnector3Vert ) / sizeof( SvxMSDffVertPair ),
7696*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1,
7697*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector3Calc, sizeof( mso_sptBentConnector3Calc ) / sizeof( SvxMSDffCalculationData ),
7698*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector3Default,
7699*cdf0e10cSrcweir 	NULL, 0,
7700*cdf0e10cSrcweir 	21600, 21600,
7701*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7702*cdf0e10cSrcweir 	NULL, 0,
7703*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector3Handle, sizeof( mso_sptBentConnector3Handle ) / sizeof( SvxMSDffHandle )
7704*cdf0e10cSrcweir };
7705*cdf0e10cSrcweir 
7706*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector4Vert[] =
7707*cdf0e10cSrcweir {
7708*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 21600 }
7709*cdf0e10cSrcweir };
7710*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector4Segm[] =
7711*cdf0e10cSrcweir {
7712*cdf0e10cSrcweir 	0x4000, 0x0004, 0x8000
7713*cdf0e10cSrcweir };
7714*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector4Calc[] =
7715*cdf0e10cSrcweir {
7716*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7717*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7718*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 21600, 0 } },
7719*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
7720*cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } }
7721*cdf0e10cSrcweir };
7722*cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector4Default[] =
7723*cdf0e10cSrcweir {
7724*cdf0e10cSrcweir 	2, 10800, 10800
7725*cdf0e10cSrcweir };
7726*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector4Handle[] =
7727*cdf0e10cSrcweir {
7728*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7729*cdf0e10cSrcweir 		0x100, 4 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 4 + 3, 4 + 3 },
7730*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
7731*cdf0e10cSrcweir 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
7732*cdf0e10cSrcweir };
7733*cdf0e10cSrcweir static const mso_CustomShape msoBentConnector4 =
7734*cdf0e10cSrcweir {
7735*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector4Vert, sizeof( mso_sptBentConnector4Vert ) / sizeof( SvxMSDffVertPair ),
7736*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1,
7737*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector4Calc, sizeof( mso_sptBentConnector4Calc ) / sizeof( SvxMSDffCalculationData ),
7738*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector4Default,
7739*cdf0e10cSrcweir 	NULL, 0,
7740*cdf0e10cSrcweir 	21600, 21600,
7741*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7742*cdf0e10cSrcweir 	NULL, 0,
7743*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector4Handle, sizeof( mso_sptBentConnector4Handle ) / sizeof( SvxMSDffHandle )
7744*cdf0e10cSrcweir };
7745*cdf0e10cSrcweir 
7746*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector5Vert[] =
7747*cdf0e10cSrcweir {
7748*cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 1 MSO_I, 21600 }, { 21600, 21600 }
7749*cdf0e10cSrcweir };
7750*cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector5Segm[] =
7751*cdf0e10cSrcweir {
7752*cdf0e10cSrcweir 	0x4000, 0x0005, 0x8000
7753*cdf0e10cSrcweir };
7754*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector5Calc[] =
7755*cdf0e10cSrcweir {
7756*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7757*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
7758*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
7759*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
7760*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7761*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
7762*cdf0e10cSrcweir 	{ 0x4000, { 21600, 0x404, 0 } },
7763*cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } }
7764*cdf0e10cSrcweir };
7765*cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector5Default[] =
7766*cdf0e10cSrcweir {
7767*cdf0e10cSrcweir 	3, 10800, 10800, 10800
7768*cdf0e10cSrcweir };
7769*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector5Handle[] =
7770*cdf0e10cSrcweir {
7771*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7772*cdf0e10cSrcweir 		0x100, 5 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 5 + 3, 5 + 3 },
7773*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
7774*cdf0e10cSrcweir 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
7775*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7776*cdf0e10cSrcweir 		0x102, 7 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 7 + 3, 7 + 3 }
7777*cdf0e10cSrcweir };
7778*cdf0e10cSrcweir static const mso_CustomShape msoBentConnector5 =
7779*cdf0e10cSrcweir {
7780*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector5Vert, sizeof( mso_sptBentConnector5Vert ) / sizeof( SvxMSDffVertPair ),
7781*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1,
7782*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector5Calc, sizeof( mso_sptBentConnector5Calc ) / sizeof( SvxMSDffCalculationData ),
7783*cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector5Default,
7784*cdf0e10cSrcweir 	NULL, 0,
7785*cdf0e10cSrcweir 	21600, 21600,
7786*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7787*cdf0e10cSrcweir 	NULL, 0,
7788*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector5Handle, sizeof( mso_sptBentConnector5Handle ) / sizeof( SvxMSDffHandle )
7789*cdf0e10cSrcweir };
7790*cdf0e10cSrcweir 
7791*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector2Vert[] =
7792*cdf0e10cSrcweir {
7793*cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 }
7794*cdf0e10cSrcweir };
7795*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector2Segm[] =
7796*cdf0e10cSrcweir {
7797*cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000
7798*cdf0e10cSrcweir };
7799*cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector2 =
7800*cdf0e10cSrcweir {
7801*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector2Vert, sizeof( mso_sptCurvedConnector2Vert ) / sizeof( SvxMSDffVertPair ),
7802*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1,
7803*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
7804*cdf0e10cSrcweir 	(sal_Int32*)NULL,
7805*cdf0e10cSrcweir 	NULL, 0,
7806*cdf0e10cSrcweir 	21600, 21600,
7807*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7808*cdf0e10cSrcweir 	NULL, 0,
7809*cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
7810*cdf0e10cSrcweir };
7811*cdf0e10cSrcweir 
7812*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector3Vert[] =
7813*cdf0e10cSrcweir {
7814*cdf0e10cSrcweir 	{ 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 5400 }, { 0 MSO_I, 10800 }, { 0 MSO_I, 16200 }, { 3 MSO_I, 21600 }, { 21600, 21600 }
7815*cdf0e10cSrcweir };
7816*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector3Segm[] =
7817*cdf0e10cSrcweir {
7818*cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7819*cdf0e10cSrcweir };
7820*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc[] =
7821*cdf0e10cSrcweir {
7822*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7823*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
7824*cdf0e10cSrcweir 	{ 0x2000, { 0x400, 21600, 0 } },
7825*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } }
7826*cdf0e10cSrcweir };
7827*cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector3Default[] =
7828*cdf0e10cSrcweir {
7829*cdf0e10cSrcweir 	1, 10800
7830*cdf0e10cSrcweir };
7831*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] =
7832*cdf0e10cSrcweir {
7833*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7834*cdf0e10cSrcweir 		0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7835*cdf0e10cSrcweir };
7836*cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector3 =
7837*cdf0e10cSrcweir {
7838*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, sizeof( mso_sptCurvedConnector3Vert ) / sizeof( SvxMSDffVertPair ),
7839*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1,
7840*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, sizeof( mso_sptCurvedConnector3Calc ) / sizeof( SvxMSDffCalculationData ),
7841*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector3Default,
7842*cdf0e10cSrcweir 	NULL, 0,
7843*cdf0e10cSrcweir 	21600, 21600,
7844*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7845*cdf0e10cSrcweir 	NULL, 0,
7846*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector3Handle, sizeof( mso_sptCurvedConnector3Handle ) / sizeof( SvxMSDffHandle )
7847*cdf0e10cSrcweir };
7848*cdf0e10cSrcweir 
7849*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector4Vert[] =
7850*cdf0e10cSrcweir {
7851*cdf0e10cSrcweir 	{ 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 10 MSO_I }, { 0 MSO_I, 9 MSO_I },
7852*cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 5 MSO_I, 8 MSO_I }, { 3 MSO_I, 8 MSO_I },
7853*cdf0e10cSrcweir 	{ 7 MSO_I, 8 MSO_I }, { 21600, 14 MSO_I }, { 21600, 21600 }
7854*cdf0e10cSrcweir 
7855*cdf0e10cSrcweir };
7856*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector4Segm[] =
7857*cdf0e10cSrcweir {
7858*cdf0e10cSrcweir 	0x4000, 0x2003, 0x8000
7859*cdf0e10cSrcweir };
7860*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc[] =
7861*cdf0e10cSrcweir {
7862*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7863*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
7864*cdf0e10cSrcweir 	{ 0x4000, { 21600, 0x400, 0 } },
7865*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
7866*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x403, 0 } },
7867*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
7868*cdf0e10cSrcweir 	{ 0x2000, { 0x403, 21600, 0 } },
7869*cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
7870*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7871*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjust2Value, 1, 2 } },
7872*cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjust2Value, 1, 4 } },
7873*cdf0e10cSrcweir 	{ 0x6000, { 0x408, 0x409, 0 } },
7874*cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 1, 2 } },
7875*cdf0e10cSrcweir 	{ 0x2000, { 0x408, 21600, 0 } },
7876*cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } }
7877*cdf0e10cSrcweir };
7878*cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector4Default[] =
7879*cdf0e10cSrcweir {
7880*cdf0e10cSrcweir 	2, 10800, 10800
7881*cdf0e10cSrcweir };
7882*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] =
7883*cdf0e10cSrcweir {
7884*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7885*cdf0e10cSrcweir 		0x100, 9 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 9 + 3, 9 + 3 },
7886*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
7887*cdf0e10cSrcweir 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
7888*cdf0e10cSrcweir };
7889*cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector4 =
7890*cdf0e10cSrcweir {
7891*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, sizeof( mso_sptCurvedConnector4Vert ) / sizeof( SvxMSDffVertPair ),
7892*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1,
7893*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, sizeof( mso_sptCurvedConnector4Calc ) / sizeof( SvxMSDffCalculationData ),
7894*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector4Default,
7895*cdf0e10cSrcweir 	NULL, 0,
7896*cdf0e10cSrcweir 	21600, 21600,
7897*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7898*cdf0e10cSrcweir 	NULL, 0,
7899*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector4Handle, sizeof( mso_sptCurvedConnector4Handle ) / sizeof( SvxMSDffHandle )
7900*cdf0e10cSrcweir };
7901*cdf0e10cSrcweir 
7902*cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector5Vert[] =
7903*cdf0e10cSrcweir {
7904*cdf0e10cSrcweir 	{ 0, 0 },
7905*cdf0e10cSrcweir 	{ 21 MSO_I, 0 }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
7906*cdf0e10cSrcweir 	{ 0 MSO_I, 14 MSO_I }, { 6 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
7907*cdf0e10cSrcweir 	{ 8 MSO_I, 4 MSO_I }, { 1 MSO_I, 18 MSO_I }, { 1 MSO_I, 16 MSO_I },
7908*cdf0e10cSrcweir 	{ 1 MSO_I, 20 MSO_I }, { 10 MSO_I, 21600 }, { 21600, 21600 }
7909*cdf0e10cSrcweir };
7910*cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector5Segm[] =
7911*cdf0e10cSrcweir {
7912*cdf0e10cSrcweir 	0x4000, 0x2004, 0x8000
7913*cdf0e10cSrcweir };
7914*cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc[] =
7915*cdf0e10cSrcweir {
7916*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7917*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
7918*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
7919*cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
7920*cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7921*cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x403, 0 } },
7922*cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
7923*cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x403, 0 } },
7924*cdf0e10cSrcweir 	{ 0x2001, { 0x407, 1, 2 } },
7925*cdf0e10cSrcweir 	{ 0x2000, { 0x401, 21600, 0 } },
7926*cdf0e10cSrcweir 	{ 0x2001, { 0x409, 1, 2 } },
7927*cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
7928*cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 1, 2 } },
7929*cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x40b, 0 } },
7930*cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },
7931*cdf0e10cSrcweir 	{ 0x2000, { 0x404, 21600, 0 } },
7932*cdf0e10cSrcweir 	{ 0x2001, { 0x40f, 1, 2 } },
7933*cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x410, 0 } },
7934*cdf0e10cSrcweir 	{ 0x2001, { 0x411, 1, 2 } },
7935*cdf0e10cSrcweir 	{ 0x2000, { 0x410, 21600, 0 } },
7936*cdf0e10cSrcweir 	{ 0x2001, { 0x413, 1, 2 } },
7937*cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } }
7938*cdf0e10cSrcweir };
7939*cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector5Default[] =
7940*cdf0e10cSrcweir {
7941*cdf0e10cSrcweir 	3, 10800, 10800, 10800
7942*cdf0e10cSrcweir };
7943*cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] =
7944*cdf0e10cSrcweir {
7945*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7946*cdf0e10cSrcweir 		0x100, 11 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 11 + 3, 11 + 3 },
7947*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
7948*cdf0e10cSrcweir 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
7949*cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
7950*cdf0e10cSrcweir 		0x102, 16 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 16 + 3, 16 + 3 }
7951*cdf0e10cSrcweir };
7952*cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector5 =
7953*cdf0e10cSrcweir {
7954*cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, sizeof( mso_sptCurvedConnector5Vert ) / sizeof( SvxMSDffVertPair ),
7955*cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1,
7956*cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, sizeof( mso_sptCurvedConnector5Calc ) / sizeof( SvxMSDffCalculationData ),
7957*cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector5Default,
7958*cdf0e10cSrcweir 	NULL, 0,
7959*cdf0e10cSrcweir 	21600, 21600,
7960*cdf0e10cSrcweir 	0x80000000, 0x80000000,
7961*cdf0e10cSrcweir 	NULL, 0,
7962*cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector5Handle, sizeof( mso_sptCurvedConnector5Handle ) / sizeof( SvxMSDffHandle )
7963*cdf0e10cSrcweir };
7964*cdf0e10cSrcweir 
7965*cdf0e10cSrcweir const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType )
7966*cdf0e10cSrcweir {
7967*cdf0e10cSrcweir 	const mso_CustomShape* pCustomShape = NULL;
7968*cdf0e10cSrcweir 	switch( eSpType )
7969*cdf0e10cSrcweir 	{
7970*cdf0e10cSrcweir 		case mso_sptArc :						pCustomShape = &msoArc; break;
7971*cdf0e10cSrcweir 		case mso_sptRectangle :					pCustomShape = &msoRectangle; break;
7972*cdf0e10cSrcweir 		case mso_sptParallelogram :				pCustomShape = &msoParallelogram; break;
7973*cdf0e10cSrcweir 		case mso_sptTrapezoid :					pCustomShape = &msoTrapezoid; break;
7974*cdf0e10cSrcweir 		case mso_sptDiamond :					pCustomShape = &msoDiamond; break;
7975*cdf0e10cSrcweir 		case mso_sptRoundRectangle :			pCustomShape = &msoRoundRectangle; break;
7976*cdf0e10cSrcweir 		case mso_sptOctagon :					pCustomShape = &msoOctagon; break;
7977*cdf0e10cSrcweir 		case mso_sptIsocelesTriangle :			pCustomShape = &msoIsocelesTriangle; break;
7978*cdf0e10cSrcweir 		case mso_sptRightTriangle :				pCustomShape = &msoRightTriangle; break;
7979*cdf0e10cSrcweir 		case mso_sptEllipse :					pCustomShape = &msoEllipse; break;
7980*cdf0e10cSrcweir 		case mso_sptHexagon :					pCustomShape = &msoHexagon; break;
7981*cdf0e10cSrcweir 		case mso_sptPlus :						pCustomShape = &msoPlus; break;
7982*cdf0e10cSrcweir 		case mso_sptPentagon :					pCustomShape = &msoPentagon; break;
7983*cdf0e10cSrcweir 		case mso_sptCan :						pCustomShape = &msoCan; break;
7984*cdf0e10cSrcweir 		case mso_sptCube :						pCustomShape = &msoCube; break;
7985*cdf0e10cSrcweir 		case mso_sptBalloon :					pCustomShape = &msoBalloon; break;
7986*cdf0e10cSrcweir 		case mso_sptActionButtonBlank :			pCustomShape = &msoActionButtonBlank; break;
7987*cdf0e10cSrcweir 		case mso_sptActionButtonHome :			pCustomShape = &msoActionButtonHome; break;
7988*cdf0e10cSrcweir 		case mso_sptActionButtonHelp :			pCustomShape = &msoActionButtonHelp; break;
7989*cdf0e10cSrcweir 		case mso_sptActionButtonInformation :	pCustomShape = &msoActionButtonInformation; break;
7990*cdf0e10cSrcweir 		case mso_sptActionButtonBackPrevious :	pCustomShape = &msoActionButtonBackPrevious; break;
7991*cdf0e10cSrcweir 		case mso_sptActionButtonForwardNext :	pCustomShape = &msoActionButtonForwardNext; break;
7992*cdf0e10cSrcweir 		case mso_sptActionButtonBeginning :		pCustomShape = &msoActionButtonBeginning; break;
7993*cdf0e10cSrcweir 		case mso_sptActionButtonEnd :			pCustomShape = &msoActionButtonEnd; break;
7994*cdf0e10cSrcweir 		case mso_sptActionButtonReturn :		pCustomShape = &msoActionButtonReturn;	break;
7995*cdf0e10cSrcweir 		case mso_sptActionButtonDocument :		pCustomShape = &msoActionButtonDocument; break;
7996*cdf0e10cSrcweir 		case mso_sptActionButtonSound :			pCustomShape = &msoActionButtonSound; break;
7997*cdf0e10cSrcweir 		case mso_sptActionButtonMovie :			pCustomShape = &msoActionButtonMovie; break;
7998*cdf0e10cSrcweir 		case mso_sptBevel :						pCustomShape = &msoBevel; break;
7999*cdf0e10cSrcweir 		case mso_sptFoldedCorner :				pCustomShape = &msoFoldedCorner; break;
8000*cdf0e10cSrcweir 		case mso_sptSmileyFace :				pCustomShape = &msoSmileyFace;	break;
8001*cdf0e10cSrcweir 		case mso_sptDonut :						pCustomShape = &msoDonut; break;
8002*cdf0e10cSrcweir 		case mso_sptNoSmoking :					pCustomShape = &msoNoSmoking; break;
8003*cdf0e10cSrcweir 		case mso_sptBlockArc :					pCustomShape = &msoBlockArc; break;
8004*cdf0e10cSrcweir 		case mso_sptHeart :						pCustomShape = &msoHeart; break;
8005*cdf0e10cSrcweir 		case mso_sptLightningBolt :				pCustomShape = &msoLightningBold; break;
8006*cdf0e10cSrcweir 		case mso_sptSun	:						pCustomShape = &msoSun; break;
8007*cdf0e10cSrcweir 		case mso_sptMoon :						pCustomShape = &msoMoon; break;
8008*cdf0e10cSrcweir 		case mso_sptBracketPair :				pCustomShape = &msoBracketPair; break;
8009*cdf0e10cSrcweir 		case mso_sptBracePair :					pCustomShape = &msoBracePair; break;
8010*cdf0e10cSrcweir 		case mso_sptPlaque :					pCustomShape = &msoPlaque; break;
8011*cdf0e10cSrcweir 		case mso_sptLeftBracket :				pCustomShape = &msoLeftBracket; break;
8012*cdf0e10cSrcweir 		case mso_sptRightBracket :				pCustomShape = &msoRightBracket; break;
8013*cdf0e10cSrcweir 		case mso_sptLeftBrace :					pCustomShape = &msoLeftBrace; break;
8014*cdf0e10cSrcweir 		case mso_sptRightBrace :				pCustomShape = &msoRightBrace; break;
8015*cdf0e10cSrcweir 		case mso_sptArrow :						pCustomShape = &msoArrow; break;
8016*cdf0e10cSrcweir 		case mso_sptUpArrow :					pCustomShape = &msoUpArrow; break;
8017*cdf0e10cSrcweir 		case mso_sptDownArrow :					pCustomShape = &msoDownArrow; break;
8018*cdf0e10cSrcweir 		case mso_sptLeftArrow :					pCustomShape = &msoLeftArrow; break;
8019*cdf0e10cSrcweir 		case mso_sptLeftRightArrow :			pCustomShape = &msoLeftRightArrow; break;
8020*cdf0e10cSrcweir 		case mso_sptUpDownArrow :				pCustomShape = &msoUpDownArrow; break;
8021*cdf0e10cSrcweir 		case mso_sptQuadArrow :					pCustomShape = &msoQuadArrow; break;
8022*cdf0e10cSrcweir 		case mso_sptLeftRightUpArrow :			pCustomShape = &msoLeftRightUpArrow; break;
8023*cdf0e10cSrcweir 		case mso_sptBentArrow :					pCustomShape = &msoBentArrow; break;
8024*cdf0e10cSrcweir 		case mso_sptUturnArrow :				pCustomShape = &msoUturnArrow; break;
8025*cdf0e10cSrcweir 		case mso_sptLeftUpArrow :				pCustomShape = &msoLeftUpArrow; break;
8026*cdf0e10cSrcweir 		case mso_sptBentUpArrow :				pCustomShape = &msoBentUpArrow; break;
8027*cdf0e10cSrcweir 		case mso_sptCurvedRightArrow :			pCustomShape = &msoCurvedRightArrow; break;
8028*cdf0e10cSrcweir 		case mso_sptCurvedLeftArrow :			pCustomShape = &msoCurvedLeftArrow; break;
8029*cdf0e10cSrcweir 		case mso_sptCurvedUpArrow :				pCustomShape = &msoCurvedUpArrow; break;
8030*cdf0e10cSrcweir 		case mso_sptCurvedDownArrow :			pCustomShape = &msoCurvedDownArrow; break;
8031*cdf0e10cSrcweir 		case mso_sptStripedRightArrow :			pCustomShape = &msoStripedRightArrow; break;
8032*cdf0e10cSrcweir 		case mso_sptNotchedRightArrow :			pCustomShape = &msoNotchedRightArrow; break;
8033*cdf0e10cSrcweir 		case mso_sptHomePlate :					pCustomShape = &msoHomePlate; break;
8034*cdf0e10cSrcweir 		case mso_sptChevron :					pCustomShape = &msoChevron; break;
8035*cdf0e10cSrcweir 		case mso_sptRightArrowCallout :			pCustomShape = &msoRightArrowCallout; break;
8036*cdf0e10cSrcweir 		case mso_sptLeftArrowCallout :			pCustomShape = &msoLeftArrowCallout; break;
8037*cdf0e10cSrcweir 		case mso_sptUpArrowCallout :			pCustomShape = &msoUpArrowCallout; break;
8038*cdf0e10cSrcweir 		case mso_sptDownArrowCallout :			pCustomShape = &msoDownArrowCallout; break;
8039*cdf0e10cSrcweir 		case mso_sptLeftRightArrowCallout :		pCustomShape = &msoLeftRightArrowCallout; break;
8040*cdf0e10cSrcweir 		case mso_sptUpDownArrowCallout :		pCustomShape = &msoUpDownArrowCallout; break;
8041*cdf0e10cSrcweir 		case mso_sptQuadArrowCallout :			pCustomShape = &msoQuadArrowCallout; break;
8042*cdf0e10cSrcweir 		case mso_sptCircularArrow :				pCustomShape = &msoCircularArrow; break;
8043*cdf0e10cSrcweir 		case mso_sptIrregularSeal1 :			pCustomShape = &msoIrregularSeal1; break;
8044*cdf0e10cSrcweir 		case mso_sptIrregularSeal2 :			pCustomShape = &msoIrregularSeal2; break;
8045*cdf0e10cSrcweir 		case mso_sptSeal4 :						pCustomShape = &msoSeal4; break;
8046*cdf0e10cSrcweir 		case mso_sptStar :						pCustomShape = &msoStar; break;
8047*cdf0e10cSrcweir 		case mso_sptSeal8 :						pCustomShape = &msoSeal8; break;
8048*cdf0e10cSrcweir 		case mso_sptSeal :
8049*cdf0e10cSrcweir 		case mso_sptSeal16 :					pCustomShape = &msoSeal16; break;
8050*cdf0e10cSrcweir 		case mso_sptSeal24 :					pCustomShape = &msoSeal24; break;
8051*cdf0e10cSrcweir 		case mso_sptSeal32 :					pCustomShape = &msoSeal32; break;
8052*cdf0e10cSrcweir 		case mso_sptRibbon2 :					pCustomShape = &msoRibbon2; break;
8053*cdf0e10cSrcweir 		case mso_sptRibbon :					pCustomShape = &msoRibbon; break;
8054*cdf0e10cSrcweir 		case mso_sptEllipseRibbon2 :			pCustomShape = &msoRibbon2; break;	// SJ: TODO
8055*cdf0e10cSrcweir 		case mso_sptEllipseRibbon :				pCustomShape = &msoRibbon; break;	// SJ: TODO
8056*cdf0e10cSrcweir 		case mso_sptVerticalScroll :			pCustomShape = &msoVerticalScroll;	break;
8057*cdf0e10cSrcweir 		case mso_sptHorizontalScroll :			pCustomShape = &msoHorizontalScroll; break;
8058*cdf0e10cSrcweir 		case mso_sptFlowChartProcess :			pCustomShape = &msoFlowChartProcess; break;
8059*cdf0e10cSrcweir 		case mso_sptFlowChartAlternateProcess :	pCustomShape = &msoFlowChartAlternateProcess; break;
8060*cdf0e10cSrcweir 		case mso_sptFlowChartDecision :			pCustomShape = &msoFlowChartDecision; break;
8061*cdf0e10cSrcweir 		case mso_sptFlowChartInputOutput :		pCustomShape = &msoFlowChartInputOutput; break;
8062*cdf0e10cSrcweir 		case mso_sptFlowChartPredefinedProcess :pCustomShape = &msoFlowChartPredefinedProcess; break;
8063*cdf0e10cSrcweir 		case mso_sptFlowChartInternalStorage :	pCustomShape = &msoFlowChartInternalStorage; break;
8064*cdf0e10cSrcweir 		case mso_sptFlowChartDocument :			pCustomShape = &msoFlowChartDocument; break;
8065*cdf0e10cSrcweir 		case mso_sptFlowChartMultidocument :	pCustomShape = &msoFlowChartMultidocument; break;
8066*cdf0e10cSrcweir 		case mso_sptFlowChartTerminator :		pCustomShape = &msoFlowChartTerminator; break;
8067*cdf0e10cSrcweir 		case mso_sptFlowChartPreparation :		pCustomShape = &msoFlowChartPreparation; break;
8068*cdf0e10cSrcweir 		case mso_sptFlowChartManualInput :		pCustomShape = &msoFlowChartManualInput; break;
8069*cdf0e10cSrcweir 		case mso_sptFlowChartManualOperation :	pCustomShape = &msoFlowChartManualOperation; break;
8070*cdf0e10cSrcweir 		case mso_sptFlowChartConnector :		pCustomShape = &msoFlowChartConnector; break;
8071*cdf0e10cSrcweir 		case mso_sptFlowChartOffpageConnector : pCustomShape = &msoFlowChartOffpageConnector; break;
8072*cdf0e10cSrcweir 		case mso_sptFlowChartPunchedCard :		pCustomShape = &msoFlowChartPunchedCard; break;
8073*cdf0e10cSrcweir 		case mso_sptFlowChartPunchedTape :		pCustomShape = &msoFlowChartPunchedTape; break;
8074*cdf0e10cSrcweir 		case mso_sptFlowChartSummingJunction :	pCustomShape = &msoFlowChartSummingJunction; break;
8075*cdf0e10cSrcweir 		case mso_sptFlowChartOr :				pCustomShape = &msoFlowChartOr; break;
8076*cdf0e10cSrcweir 		case mso_sptFlowChartCollate :			pCustomShape = &msoFlowChartCollate; break;
8077*cdf0e10cSrcweir 		case mso_sptFlowChartSort :				pCustomShape = &msoFlowChartSort; break;
8078*cdf0e10cSrcweir 		case mso_sptFlowChartExtract :			pCustomShape = &msoFlowChartExtract; break;
8079*cdf0e10cSrcweir 		case mso_sptFlowChartMerge :			pCustomShape = &msoFlowChartMerge; break;
8080*cdf0e10cSrcweir 		case mso_sptFlowChartOnlineStorage :	pCustomShape = &msoFlowChartOnlineStorage; break;
8081*cdf0e10cSrcweir 		case mso_sptFlowChartDelay :			pCustomShape = &msoFlowChartDelay; break;
8082*cdf0e10cSrcweir 		case mso_sptFlowChartMagneticTape :		pCustomShape = &msoFlowChartMagneticTape; break;
8083*cdf0e10cSrcweir 		case mso_sptFlowChartMagneticDisk :		pCustomShape = &msoFlowChartMagneticDisk; break;
8084*cdf0e10cSrcweir 		case mso_sptFlowChartMagneticDrum :		pCustomShape = &msoFlowChartMagneticDrum; break;
8085*cdf0e10cSrcweir 		case mso_sptFlowChartDisplay :			pCustomShape = &msoFlowChartDisplay; break;
8086*cdf0e10cSrcweir 		case mso_sptWedgeRectCallout :			pCustomShape = &msoWedgeRectCallout; break;
8087*cdf0e10cSrcweir 		case mso_sptWedgeRRectCallout :			pCustomShape = &msoWedgeRRectCallout; break;
8088*cdf0e10cSrcweir 		case mso_sptWedgeEllipseCallout :		pCustomShape = &msoWedgeEllipseCallout; break;
8089*cdf0e10cSrcweir 		case mso_sptCloudCallout :				pCustomShape = &msoCloudCallout; break;
8090*cdf0e10cSrcweir 		case mso_sptWave :						pCustomShape = &msoWave; break;
8091*cdf0e10cSrcweir 		case mso_sptDoubleWave :				pCustomShape = &msoDoubleWave; break;
8092*cdf0e10cSrcweir 
8093*cdf0e10cSrcweir 		// callout
8094*cdf0e10cSrcweir 		case mso_sptCallout1 :					pCustomShape = &msoCallout1; break;
8095*cdf0e10cSrcweir 		case mso_sptCallout2 :					pCustomShape = &msoCallout2; break;
8096*cdf0e10cSrcweir 		case mso_sptCallout3 :					pCustomShape = &msoCallout3; break;
8097*cdf0e10cSrcweir 		case mso_sptAccentCallout1 :			pCustomShape = &msoAccentCallout1; break;
8098*cdf0e10cSrcweir 		case mso_sptAccentCallout2 :			pCustomShape = &msoAccentCallout2; break;
8099*cdf0e10cSrcweir 		case mso_sptAccentCallout3 :			pCustomShape = &msoAccentCallout3; break;
8100*cdf0e10cSrcweir 		case mso_sptBorderCallout1 :			pCustomShape = &msoBorderCallout1; break;
8101*cdf0e10cSrcweir 		case mso_sptBorderCallout2 :			pCustomShape = &msoBorderCallout2; break;
8102*cdf0e10cSrcweir 		case mso_sptBorderCallout3 :			pCustomShape = &msoBorderCallout3; break;
8103*cdf0e10cSrcweir 		case mso_sptAccentBorderCallout1 :		pCustomShape = &msoAccentBorderCallout1; break;
8104*cdf0e10cSrcweir 		case mso_sptAccentBorderCallout2 :		pCustomShape = &msoAccentBorderCallout2; break;
8105*cdf0e10cSrcweir 		case mso_sptAccentBorderCallout3 :		pCustomShape = &msoAccentBorderCallout3; break;
8106*cdf0e10cSrcweir 		case mso_sptCallout90 :					pCustomShape = &msoCallout90; break;
8107*cdf0e10cSrcweir 		case mso_sptAccentCallout90 :			pCustomShape = &msoAccentCallout90; break;
8108*cdf0e10cSrcweir 		case mso_sptBorderCallout90 :			pCustomShape = &msoBorderCallout90; break;
8109*cdf0e10cSrcweir 		case mso_sptAccentBorderCallout90 :		pCustomShape = &msoAccentBorderCallout90; break;
8110*cdf0e10cSrcweir 
8111*cdf0e10cSrcweir 		// connectors
8112*cdf0e10cSrcweir 		case mso_sptStraightConnector1 :		pCustomShape = &msoStraightConnector1; break;
8113*cdf0e10cSrcweir 		case mso_sptBentConnector2 :			pCustomShape = &msoBentConnector2; break;
8114*cdf0e10cSrcweir 		case mso_sptBentConnector3 :			pCustomShape = &msoBentConnector3; break;
8115*cdf0e10cSrcweir 		case mso_sptBentConnector4 :			pCustomShape = &msoBentConnector4; break;
8116*cdf0e10cSrcweir 		case mso_sptBentConnector5 :			pCustomShape = &msoBentConnector5; break;
8117*cdf0e10cSrcweir 		case mso_sptCurvedConnector2 :			pCustomShape = &msoCurvedConnector2; break;
8118*cdf0e10cSrcweir 		case mso_sptCurvedConnector3 :			pCustomShape = &msoCurvedConnector3; break;
8119*cdf0e10cSrcweir 		case mso_sptCurvedConnector4 :			pCustomShape = &msoCurvedConnector4; break;
8120*cdf0e10cSrcweir 		case mso_sptCurvedConnector5 :			pCustomShape = &msoCurvedConnector5; break;
8121*cdf0e10cSrcweir 
8122*cdf0e10cSrcweir 		// Dont know, simply mapping to TextSimple
8123*cdf0e10cSrcweir 		case mso_sptTextOnRing :
8124*cdf0e10cSrcweir 		case mso_sptTextOnCurve :
8125*cdf0e10cSrcweir 		case mso_sptTextRing :
8126*cdf0e10cSrcweir 		case mso_sptTextWave :
8127*cdf0e10cSrcweir 		case mso_sptTextCurve :
8128*cdf0e10cSrcweir 		case mso_sptTextHexagon :
8129*cdf0e10cSrcweir 		case mso_sptTextOctagon :
8130*cdf0e10cSrcweir 		case mso_sptTextBox	:					pCustomShape = &msoTextSimple; break;
8131*cdf0e10cSrcweir 
8132*cdf0e10cSrcweir 		// FontWork
8133*cdf0e10cSrcweir 		case mso_sptTextSimple :
8134*cdf0e10cSrcweir 		case mso_sptTextPlainText :				pCustomShape = &msoTextPlainText; break;
8135*cdf0e10cSrcweir 		case mso_sptTextStop :					pCustomShape = &msoTextStop; break;
8136*cdf0e10cSrcweir 		case mso_sptTextTriangle :				pCustomShape = &msoTextTriangle; break;
8137*cdf0e10cSrcweir 		case mso_sptTextTriangleInverted :		pCustomShape = &msoTextTriangleInverted; break;
8138*cdf0e10cSrcweir 		case mso_sptTextChevron :				pCustomShape = &msoTextChevron; break;
8139*cdf0e10cSrcweir 		case mso_sptTextChevronInverted :		pCustomShape = &msoTextChevronInverted; break;
8140*cdf0e10cSrcweir 		case mso_sptTextRingInside :			pCustomShape = &msoTextRingOutside; break;	// SJ: TODO->the orientation of the ellipse needs to be changed
8141*cdf0e10cSrcweir 		case mso_sptTextRingOutside :			pCustomShape = &msoTextRingOutside; break;
8142*cdf0e10cSrcweir 		case mso_sptTextFadeRight :				pCustomShape = &msoTextFadeRight; break;
8143*cdf0e10cSrcweir 		case mso_sptTextFadeLeft :				pCustomShape = &msoTextFadeLeft; break;
8144*cdf0e10cSrcweir 		case mso_sptTextFadeUp :				pCustomShape = &msoTextFadeUp; break;
8145*cdf0e10cSrcweir 		case mso_sptTextFadeDown :				pCustomShape = &msoTextFadeDown; break;
8146*cdf0e10cSrcweir 		case mso_sptTextSlantUp :				pCustomShape = &msoTextSlantUp; break;
8147*cdf0e10cSrcweir 		case mso_sptTextSlantDown :				pCustomShape = &msoTextSlantDown; break;
8148*cdf0e10cSrcweir 		case mso_sptTextCascadeUp :				pCustomShape = &msoTextCascadeUp; break;
8149*cdf0e10cSrcweir 		case mso_sptTextCascadeDown :			pCustomShape = &msoTextCascadeDown; break;
8150*cdf0e10cSrcweir 		case mso_sptTextArchUpCurve :			pCustomShape = &msoTextArchUpCurve; break;
8151*cdf0e10cSrcweir 		case mso_sptTextArchDownCurve :			pCustomShape = &msoTextArchDownCurve; break;
8152*cdf0e10cSrcweir 		case mso_sptTextCircleCurve :			pCustomShape = &msoTextCircleCurve; break;
8153*cdf0e10cSrcweir 		case mso_sptTextButtonCurve :			pCustomShape = &msoTextButtonCurve; break;
8154*cdf0e10cSrcweir 		case mso_sptTextArchUpPour :			pCustomShape = &msoTextArchUpPour; break;
8155*cdf0e10cSrcweir 		case mso_sptTextArchDownPour :			pCustomShape = &msoTextArchDownPour; break;
8156*cdf0e10cSrcweir 		case mso_sptTextCirclePour :			pCustomShape = &msoTextCirclePour; break;
8157*cdf0e10cSrcweir 		case mso_sptTextButtonPour :			pCustomShape = &msoTextButtonPour; break;
8158*cdf0e10cSrcweir 		case mso_sptTextCurveUp :				pCustomShape = &msoTextCurveUp; break;
8159*cdf0e10cSrcweir 		case mso_sptTextCurveDown :				pCustomShape = &msoTextCurveDown; break;
8160*cdf0e10cSrcweir 		case mso_sptTextCanUp :					pCustomShape = &msoTextCanUp; break;
8161*cdf0e10cSrcweir 		case mso_sptTextCanDown :				pCustomShape = &msoTextCanDown; break;
8162*cdf0e10cSrcweir 		case mso_sptTextInflate :				pCustomShape = &msoTextInflate; break;
8163*cdf0e10cSrcweir 		case mso_sptTextDeflate :				pCustomShape = &msoTextDeflate; break;
8164*cdf0e10cSrcweir 		case mso_sptTextInflateBottom :			pCustomShape = &msoTextInflateBottom; break;
8165*cdf0e10cSrcweir 		case mso_sptTextDeflateBottom :			pCustomShape = &msoTextDeflateBottom; break;
8166*cdf0e10cSrcweir 		case mso_sptTextInflateTop :			pCustomShape = &msoTextInflateTop; break;
8167*cdf0e10cSrcweir 		case mso_sptTextDeflateTop :			pCustomShape = &msoTextDeflateTop; break;
8168*cdf0e10cSrcweir 		case mso_sptTextDeflateInflate :		pCustomShape = &msoTextDeflateInflate; break;
8169*cdf0e10cSrcweir 		case mso_sptTextDeflateInflateDeflate :	pCustomShape = &msoTextDeflateInflateDeflate; break;
8170*cdf0e10cSrcweir 		case mso_sptTextWave1 :					pCustomShape = &msoTextWave1; break;
8171*cdf0e10cSrcweir 		case mso_sptTextWave2 :					pCustomShape = &msoTextWave2; break;
8172*cdf0e10cSrcweir 		case mso_sptTextWave3 :					pCustomShape = &msoTextWave3; break;
8173*cdf0e10cSrcweir 		case mso_sptTextWave4 :					pCustomShape = &msoTextWave4; break;
8174*cdf0e10cSrcweir 		default :
8175*cdf0e10cSrcweir 		break;
8176*cdf0e10cSrcweir 	}
8177*cdf0e10cSrcweir 	return pCustomShape;
8178*cdf0e10cSrcweir }
8179