1f6e50924SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3f6e50924SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4f6e50924SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5f6e50924SAndrew Rist  * distributed with this work for additional information
6f6e50924SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7f6e50924SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8f6e50924SAndrew Rist  * "License"); you may not use this file except in compliance
9f6e50924SAndrew Rist  * with the License.  You may obtain a copy of the License at
10f6e50924SAndrew Rist  *
11f6e50924SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12f6e50924SAndrew Rist  *
13f6e50924SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14f6e50924SAndrew Rist  * software distributed under the License is distributed on an
15f6e50924SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16f6e50924SAndrew Rist  * KIND, either express or implied.  See the License for the
17f6e50924SAndrew Rist  * specific language governing permissions and limitations
18f6e50924SAndrew Rist  * under the License.
19f6e50924SAndrew Rist  *
20f6e50924SAndrew Rist  *************************************************************/
21f6e50924SAndrew Rist 
22f6e50924SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_svx.hxx"
26cdf0e10cSrcweir #include "svx/EnhancedCustomShapeGeometry.hxx"
27cdf0e10cSrcweir #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
28cdf0e10cSrcweir /*
29cdf0e10cSrcweir static const SvxMSDffVertPair Vert[] =
30cdf0e10cSrcweir {
31cdf0e10cSrcweir 	{ 0, 0, }
32cdf0e10cSrcweir };
33cdf0e10cSrcweir static const sal_uInt16 Segm[] =
34cdf0e10cSrcweir {
35cdf0e10cSrcweir 	0x4000,
36cdf0e10cSrcweir 	0x8000
37cdf0e10cSrcweir };
38cdf0e10cSrcweir static const SvxMSDffCalculationData Calc[] =
39cdf0e10cSrcweir {
40cdf0e10cSrcweir 	{ 0x0000, 0, 0, 0 }
41cdf0e10cSrcweir };
42cdf0e10cSrcweir static const sal_Int32 Default[] =
43cdf0e10cSrcweir {
44cdf0e10cSrcweir 	0
45cdf0e10cSrcweir };
46cdf0e10cSrcweir static const SvxMSDffTextRect TextRect[] =
47cdf0e10cSrcweir {
48cdf0e10cSrcweir 	{ { 0, 0 }, { 0, 0 } }
49cdf0e10cSrcweir };
50cdf0e10cSrcweir static const mso_CustomShape mso =
51cdf0e10cSrcweir {
52cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
53cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSegm, sizeof( mso_sptSegm ) >> 1,
54cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalc, sizeof( mso_sptCalc ) / sizeof( SvxMSDffCalculationData ),
55cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault,
56cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( SvxMSDffTextRectangles ),
57cdf0e10cSrcweir 	21600, 21600,
58*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
59cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
60cdf0e10cSrcweir 	(SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles )
61cdf0e10cSrcweir };
62cdf0e10cSrcweir */
63cdf0e10cSrcweir 
64cdf0e10cSrcweir static const sal_Int32 mso_sptDefault0[] =
65cdf0e10cSrcweir {
66cdf0e10cSrcweir 	1, 0
67cdf0e10cSrcweir };
68cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1400[] =
69cdf0e10cSrcweir {
70cdf0e10cSrcweir 	1, 1400
71cdf0e10cSrcweir };
72cdf0e10cSrcweir static const sal_Int32 mso_sptDefault1800[] =
73cdf0e10cSrcweir {
74cdf0e10cSrcweir 	1, 1800
75cdf0e10cSrcweir };
76cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2500[] =
77cdf0e10cSrcweir {
78cdf0e10cSrcweir 	1, 2500
79cdf0e10cSrcweir };
80cdf0e10cSrcweir static const sal_Int32 mso_sptDefault2700[] =
81cdf0e10cSrcweir {
82cdf0e10cSrcweir 	1, 2700
83cdf0e10cSrcweir };
84cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3600[] =
85cdf0e10cSrcweir {
86cdf0e10cSrcweir 	1, 3600
87cdf0e10cSrcweir };
88cdf0e10cSrcweir static const sal_Int32 mso_sptDefault3700[] =
89cdf0e10cSrcweir {
90cdf0e10cSrcweir 	1, 3700
91cdf0e10cSrcweir };
92cdf0e10cSrcweir static const sal_Int32 mso_sptDefault5400[] =
93cdf0e10cSrcweir {
94cdf0e10cSrcweir 	1, 5400
95cdf0e10cSrcweir };
96cdf0e10cSrcweir static const sal_Int32 mso_sptDefault7200[] =
97cdf0e10cSrcweir {
98cdf0e10cSrcweir 	1, 7200
99cdf0e10cSrcweir };
100cdf0e10cSrcweir static const sal_Int32 mso_sptDefault8100[] =
101cdf0e10cSrcweir {
102cdf0e10cSrcweir 	1, 8100
103cdf0e10cSrcweir };
104cdf0e10cSrcweir static const sal_Int32 mso_sptDefault9600[] =
105cdf0e10cSrcweir {
106cdf0e10cSrcweir 	1, 9600
107cdf0e10cSrcweir };
108cdf0e10cSrcweir static const sal_Int32 mso_sptDefault10800[] =
109cdf0e10cSrcweir {
110cdf0e10cSrcweir 	1, 10800
111cdf0e10cSrcweir };
112cdf0e10cSrcweir static const sal_Int32 mso_sptDefault12000[] =
113cdf0e10cSrcweir {
114cdf0e10cSrcweir 	1, 12000
115cdf0e10cSrcweir };
116cdf0e10cSrcweir static const sal_Int32 mso_sptDefault13500[] =
117cdf0e10cSrcweir {
118cdf0e10cSrcweir 	1, 13500
119cdf0e10cSrcweir };
120cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200[] =
121cdf0e10cSrcweir {
122cdf0e10cSrcweir 	1, 16200
123cdf0e10cSrcweir };
124cdf0e10cSrcweir static const sal_Int32 mso_sptDefault16200and5400[] =
125cdf0e10cSrcweir {
126cdf0e10cSrcweir 	2, 16200, 5400
127cdf0e10cSrcweir };
128cdf0e10cSrcweir 
129cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArcVert[] =
130cdf0e10cSrcweir {
131cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }, { 10800, 10800 },
132cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 3 MSO_I, 1 MSO_I }, { 7 MSO_I, 5 MSO_I }
133cdf0e10cSrcweir };
134cdf0e10cSrcweir static const sal_uInt16 mso_sptArcSegm[] =
135cdf0e10cSrcweir {
136cdf0e10cSrcweir 	0xa504, 0xab00, 0x0001, 0x6001, 0x8000,
137cdf0e10cSrcweir 	0xa504, 0xaa00, 0x8000
138cdf0e10cSrcweir };
139cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArcCalc[] =
140cdf0e10cSrcweir {
141cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
142cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
143cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
144cdf0e10cSrcweir 	{ 0x2000, { 0x402, 10800, 0 } },
145cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjust2Value, 0 } },
146cdf0e10cSrcweir 	{ 0x2000, { 0x404, 10800, 0 } },
147cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjust2Value, 0 } },
148cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } }
149cdf0e10cSrcweir };
150cdf0e10cSrcweir static const sal_Int32 mso_sptArcDefault[] =
151cdf0e10cSrcweir {
152cdf0e10cSrcweir 	2, 270, 0
153cdf0e10cSrcweir };
154cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStandardGluePoints[] =
155cdf0e10cSrcweir {
156cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
157cdf0e10cSrcweir };
158cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArcHandle[] =
159cdf0e10cSrcweir {
160cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
161*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 10800, 10800, Mx80000000, 0x7fffffff },
162cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
163*e5cfc9caSHerbert Dürr 		10800, 0x101, 10800, 10800, 10800, 10800, Mx80000000, 0x7fffffff }
164cdf0e10cSrcweir };
165cdf0e10cSrcweir static const mso_CustomShape msoArc =
166cdf0e10cSrcweir {
167cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptArcVert, sizeof( mso_sptArcVert ) / sizeof( SvxMSDffVertPair ),
168cdf0e10cSrcweir 	(sal_uInt16*)mso_sptArcSegm, sizeof( mso_sptArcSegm ) >> 1,
169cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArcCalc, sizeof( mso_sptArcCalc ) / sizeof( SvxMSDffCalculationData ),
170cdf0e10cSrcweir 	(sal_Int32*)mso_sptArcDefault,
171cdf0e10cSrcweir 	NULL, 0,
172cdf0e10cSrcweir 	21600, 21600,
173*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
174cdf0e10cSrcweir 	NULL, 0,
175cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptArcHandle, sizeof( mso_sptArcHandle ) / sizeof( SvxMSDffHandle )		// handles
176cdf0e10cSrcweir };
177cdf0e10cSrcweir 
178cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSimpleVert[] =
179cdf0e10cSrcweir {
180cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
181cdf0e10cSrcweir };
182cdf0e10cSrcweir static const mso_CustomShape msoTextSimple =
183cdf0e10cSrcweir {
184cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSimpleVert, sizeof( mso_sptTextSimpleVert ) / sizeof( SvxMSDffVertPair ),
185cdf0e10cSrcweir 	NULL, 0,
186cdf0e10cSrcweir 	NULL, 0,
187cdf0e10cSrcweir 	NULL,
188cdf0e10cSrcweir 	NULL, 0,
189cdf0e10cSrcweir 	21600, 21600,
190*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
191cdf0e10cSrcweir 	NULL, 0,
192cdf0e10cSrcweir 	NULL, 0		// handles
193cdf0e10cSrcweir };
194cdf0e10cSrcweir 
195cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRectangleVert[] =
196cdf0e10cSrcweir {
197cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
198cdf0e10cSrcweir };
199cdf0e10cSrcweir static const mso_CustomShape msoRectangle =
200cdf0e10cSrcweir {
201cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRectangleVert, sizeof( mso_sptRectangleVert ) / sizeof( SvxMSDffVertPair ),
202cdf0e10cSrcweir 	NULL, 0,
203cdf0e10cSrcweir 	NULL, 0,
204cdf0e10cSrcweir 	NULL,
205cdf0e10cSrcweir 	NULL, 0,
206cdf0e10cSrcweir 	21600, 21600,
207*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
208cdf0e10cSrcweir 	NULL, 0,
209cdf0e10cSrcweir 	NULL, 0		// handles
210cdf0e10cSrcweir };
211cdf0e10cSrcweir 
212cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRoundRectangleVert[] =	// adj value 0 -> 10800
213cdf0e10cSrcweir {
214cdf0e10cSrcweir 	{ 7 MSO_I, 0 }, { 0, 8 MSO_I },	{ 0, 9 MSO_I }, { 7 MSO_I, 21600 },
215cdf0e10cSrcweir 	{ 10 MSO_I, 21600 }, { 21600, 9 MSO_I }, { 21600, 8 MSO_I }, { 10 MSO_I, 0 }
216cdf0e10cSrcweir };
217cdf0e10cSrcweir static const sal_uInt16 mso_sptRoundRectangleSegm[] =
218cdf0e10cSrcweir {
219cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000
220cdf0e10cSrcweir };
221cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRoundRectangleCalc[] =
222cdf0e10cSrcweir {
223cdf0e10cSrcweir 	{ 0x000e, { 0, 45, 0 } },
224cdf0e10cSrcweir 	{ 0x6009, { DFF_Prop_adjustValue, 0x400, 0 } },
225cdf0e10cSrcweir 	{ 0x2001, { 0x401, 3163, 7636 } },
226cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x402, 0 } },
227cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x402, 0 } },
228cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },
229cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x402 } },
230cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
231cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
232cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
233cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } }
234cdf0e10cSrcweir };
235cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] =
236cdf0e10cSrcweir {
237cdf0e10cSrcweir 	{ { 3 MSO_I, 4 MSO_I }, { 5 MSO_I, 6 MSO_I } }
238cdf0e10cSrcweir };
239cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRoundRectangleHandle[] =
240cdf0e10cSrcweir {
241cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
242*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
243cdf0e10cSrcweir };
244cdf0e10cSrcweir static const mso_CustomShape msoRoundRectangle =
245cdf0e10cSrcweir {
246cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRoundRectangleVert, sizeof( mso_sptRoundRectangleVert ) / sizeof( SvxMSDffVertPair ),
247cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRoundRectangleSegm, sizeof( mso_sptRoundRectangleSegm ) >> 1,
248cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRoundRectangleCalc, sizeof( mso_sptRoundRectangleCalc ) / sizeof( SvxMSDffCalculationData ),
249cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3600,
250cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRoundRectangleTextRect, sizeof( mso_sptRoundRectangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
251cdf0e10cSrcweir 	21600, 21600,
252cdf0e10cSrcweir 	10800, 10800,
253cdf0e10cSrcweir 	NULL, 0,
254cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRoundRectangleHandle, sizeof( mso_sptRoundRectangleHandle ) / sizeof( SvxMSDffHandle )		// handles
255cdf0e10cSrcweir };
256cdf0e10cSrcweir 
257cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleVert[] =
258cdf0e10cSrcweir {
259cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
260cdf0e10cSrcweir };
261cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect[] =
262cdf0e10cSrcweir {
263cdf0e10cSrcweir 	{ { 1900, 12700 }, { 12700, 19700 } }
264cdf0e10cSrcweir };
265cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightTriangleGluePoints[] =
266cdf0e10cSrcweir {
267d2ad5595SRegina Henschel 	{ 0, 0 }, { 0, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 10800, 10800 }
268cdf0e10cSrcweir };
269cdf0e10cSrcweir static const mso_CustomShape msoRightTriangle =
270cdf0e10cSrcweir {
271cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightTriangleVert, sizeof( mso_sptRightTriangleVert ) / sizeof( SvxMSDffVertPair ),
272cdf0e10cSrcweir 	NULL, 0,
273cdf0e10cSrcweir 	NULL, 0,
274cdf0e10cSrcweir 	NULL,
275cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, sizeof( mso_sptRightTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
276cdf0e10cSrcweir 	21600, 21600,
277*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
278cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, sizeof( mso_sptRightTriangleGluePoints ) / sizeof( SvxMSDffVertPair ),
279cdf0e10cSrcweir 	NULL, 0		// handles
280cdf0e10cSrcweir };
281cdf0e10cSrcweir 
282cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseVert[] =
283cdf0e10cSrcweir {
284cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
285cdf0e10cSrcweir };
286cdf0e10cSrcweir static const sal_uInt16 mso_sptEllipseSegm[] =
287cdf0e10cSrcweir {
288cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
289cdf0e10cSrcweir };
290cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptEllipseTextRect[] =
291cdf0e10cSrcweir {
292cdf0e10cSrcweir 	{ { 3163, 3163 }, { 18437, 18437 } }
293cdf0e10cSrcweir };
294cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptEllipseGluePoints[] =
295cdf0e10cSrcweir {
296cdf0e10cSrcweir 	{ 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 }
297cdf0e10cSrcweir };
298cdf0e10cSrcweir static const mso_CustomShape msoEllipse =
299cdf0e10cSrcweir {
300cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseVert, sizeof( mso_sptEllipseVert ) / sizeof( SvxMSDffVertPair ),
301cdf0e10cSrcweir 	(sal_uInt16*)mso_sptEllipseSegm, sizeof( mso_sptEllipseSegm ) >> 1,
302cdf0e10cSrcweir 	NULL, 0,
303cdf0e10cSrcweir 	NULL,
304cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
305cdf0e10cSrcweir 	21600, 21600,
306*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
307cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
308cdf0e10cSrcweir 	NULL, 0		// handles
309cdf0e10cSrcweir };
310cdf0e10cSrcweir 
311cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramVert[] =	// adjustment1 : 0 - 21600
312cdf0e10cSrcweir {
313cdf0e10cSrcweir 	{ 0 MSO_I, 0 },	{ 21600, 0 }, { 1 MSO_I, 21600 }, { 0, 21600 }
314cdf0e10cSrcweir };
315cdf0e10cSrcweir static const sal_uInt16 mso_sptParallelogramSegm[] =
316cdf0e10cSrcweir {
317cdf0e10cSrcweir 	0x4000,	0x0003,	0x6001,	0x8000
318cdf0e10cSrcweir };
319cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptParallelogramCalc[] =
320cdf0e10cSrcweir {
321cdf0e10cSrcweir 	{ 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
322cdf0e10cSrcweir 	{ 0x8000, { 0, 21600, DFF_Prop_adjustValue } },
323cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10, 24 } },
324cdf0e10cSrcweir 	{ 0x2000, { 0x0402, 1750, 0 } },
325cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } },
326cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
327cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x405, 0 } },
328cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 10800 } },
329cdf0e10cSrcweir 	{ 0x6006, { 0x407, 0x40d, 0 } },
330cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x405 } },
331cdf0e10cSrcweir 	{ 0x6006, { 0x407, 0x40c, 21600 } },
332cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
333cdf0e10cSrcweir 	{ 0x8001, { 21600, 10800, 0x400 } },
334cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } }
335cdf0e10cSrcweir };
336cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptParallelogramTextRect[] =
337cdf0e10cSrcweir {
338cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
339cdf0e10cSrcweir };
340cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] =
341cdf0e10cSrcweir {
342cdf0e10cSrcweir 	{ 6 MSO_I, 0 }, { 10800, 8 MSO_I }, { 11 MSO_I, 10800 }, { 9 MSO_I, 21600 }, { 10800, 10 MSO_I }, { 5 MSO_I, 10800 }
343cdf0e10cSrcweir };
344cdf0e10cSrcweir static const SvxMSDffHandle mso_sptParallelogramHandle[] =
345cdf0e10cSrcweir {
346cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
347*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 21600, Mx80000000, 0x7fffffff }
348cdf0e10cSrcweir };
349cdf0e10cSrcweir static const mso_CustomShape msoParallelogram =
350cdf0e10cSrcweir {
351cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptParallelogramVert, sizeof( mso_sptParallelogramVert ) / sizeof( SvxMSDffVertPair ),
352cdf0e10cSrcweir 	(sal_uInt16*)mso_sptParallelogramSegm, sizeof( mso_sptParallelogramSegm ) >> 1,
353cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptParallelogramCalc, sizeof( mso_sptParallelogramCalc ) / sizeof( SvxMSDffCalculationData ),
354cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
355cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, sizeof( mso_sptParallelogramTextRect ) / sizeof( SvxMSDffTextRectangles ),
356cdf0e10cSrcweir 	21600, 21600,
357*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
358cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptParallelogramGluePoints, sizeof( mso_sptParallelogramGluePoints ) / sizeof( SvxMSDffVertPair ),
359cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptParallelogramHandle, sizeof( mso_sptParallelogramHandle ) / sizeof( SvxMSDffHandle )		// handles
360cdf0e10cSrcweir };
361cdf0e10cSrcweir 
362cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDiamondVert[] =
363cdf0e10cSrcweir {
364cdf0e10cSrcweir 	{ 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, {	0, 10800 }, { 10800, 0 }
365cdf0e10cSrcweir };
366cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDiamondTextRect[] =
367cdf0e10cSrcweir {
368cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
369cdf0e10cSrcweir };
370cdf0e10cSrcweir static const mso_CustomShape msoDiamond =
371cdf0e10cSrcweir {
372cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDiamondVert, sizeof( mso_sptDiamondVert ) / sizeof( SvxMSDffVertPair ),
373cdf0e10cSrcweir 	NULL, 0,
374cdf0e10cSrcweir 	NULL, 0,
375cdf0e10cSrcweir 	NULL,
376cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDiamondTextRect, sizeof( mso_sptDiamondTextRect ) / sizeof( SvxMSDffTextRectangles ),
377cdf0e10cSrcweir 	21600, 21600,
378*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
379cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
380cdf0e10cSrcweir 	NULL, 0		// handles
381cdf0e10cSrcweir };
382cdf0e10cSrcweir 
383cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidVert[] =		// adjustment1 : 0 - 10800
384cdf0e10cSrcweir {
385cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, {0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
386cdf0e10cSrcweir };
387cdf0e10cSrcweir static const sal_uInt16 mso_sptTrapezoidSegm[] =
388cdf0e10cSrcweir {
389cdf0e10cSrcweir 	0x4000, 0x0003,	0x6001,	0x8000
390cdf0e10cSrcweir };
391cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTrapezoidCalc[] =
392cdf0e10cSrcweir {
393cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
394cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
395cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10, 18 } },
396cdf0e10cSrcweir 	{ 0x2000, { 0x0402, 1750, 0 } },
397cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },
398cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
399cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } }
400cdf0e10cSrcweir };
401cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect[] =
402cdf0e10cSrcweir {
403cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
404cdf0e10cSrcweir };
405cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] =
406cdf0e10cSrcweir {
407cdf0e10cSrcweir 	{ 6 MSO_I, 10800 }, { 10800, 21600 }, { 5 MSO_I, 10800 }, { 10800, 0 }
408cdf0e10cSrcweir };
409cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTrapezoidHandle[] =
410cdf0e10cSrcweir {
411cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
412*e5cfc9caSHerbert Dürr 		0x100, 1, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
413cdf0e10cSrcweir };
414cdf0e10cSrcweir static const mso_CustomShape msoTrapezoid =
415cdf0e10cSrcweir {
416cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTrapezoidVert, sizeof( mso_sptTrapezoidVert ) / sizeof( SvxMSDffVertPair ),
417cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTrapezoidSegm, sizeof( mso_sptTrapezoidSegm ) >> 1,
418cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTrapezoidCalc, sizeof( mso_sptTrapezoidCalc ) / sizeof( SvxMSDffCalculationData ),
419cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
420cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, sizeof( mso_sptTrapezoidTextRect ) / sizeof( SvxMSDffTextRectangles ),
421cdf0e10cSrcweir 	21600, 21600,
422*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
423cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, sizeof( mso_sptTrapezoidGluePoints ) / sizeof( SvxMSDffVertPair ),
424cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTrapezoidHandle, sizeof( mso_sptTrapezoidHandle ) / sizeof( SvxMSDffHandle )		// handles
425cdf0e10cSrcweir };
426cdf0e10cSrcweir 
427cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptOctagonVert[] =		// adjustment1 : 0 - 10800
428cdf0e10cSrcweir {
429cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 3 MSO_I },
430cdf0e10cSrcweir 	{ 2 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }, { 0, 1 MSO_I }
431cdf0e10cSrcweir };
432cdf0e10cSrcweir static const sal_uInt16 mso_sptOctagonSegm[] =
433cdf0e10cSrcweir {
434cdf0e10cSrcweir 	0x4000, 0x0007, 0x6001, 0x8000
435cdf0e10cSrcweir };
436cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptOctagonCalc[] =
437cdf0e10cSrcweir {
438cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
439cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
440cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
441cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
442cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
443cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x404, 0 } },
444cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x404, 0 } },
445cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
446cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
447cdf0e10cSrcweir };
448cdf0e10cSrcweir static const sal_Int32 mso_sptOctagonDefault[] =
449cdf0e10cSrcweir {
450cdf0e10cSrcweir 	1, 5000
451cdf0e10cSrcweir };
452cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] =
453cdf0e10cSrcweir {
454cdf0e10cSrcweir 	{ { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 8 MSO_I } }
455cdf0e10cSrcweir };
456cdf0e10cSrcweir static const SvxMSDffHandle mso_sptOctagonHandle[] =
457cdf0e10cSrcweir {
458cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
459*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
460cdf0e10cSrcweir };
461cdf0e10cSrcweir static const mso_CustomShape msoOctagon =
462cdf0e10cSrcweir {
463cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptOctagonVert, sizeof( mso_sptOctagonVert ) / sizeof( SvxMSDffVertPair ),
464cdf0e10cSrcweir 	(sal_uInt16*)mso_sptOctagonSegm, sizeof( mso_sptOctagonSegm ) >> 1,
465cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptOctagonCalc, sizeof( mso_sptOctagonCalc ) / sizeof( SvxMSDffCalculationData ),
466cdf0e10cSrcweir 	(sal_Int32*)mso_sptOctagonDefault,
467cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptOctagonTextRect, sizeof( mso_sptOctagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
468cdf0e10cSrcweir 	21600, 21600,
469cdf0e10cSrcweir 	10800, 10800,
470cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
471cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptOctagonHandle, sizeof( mso_sptOctagonHandle ) / sizeof( SvxMSDffHandle )		// handles
472cdf0e10cSrcweir };
473cdf0e10cSrcweir 
474cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleVert[] =	// adjustment1 : 0 - 21600
475cdf0e10cSrcweir {
476cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 21600 }, { 0, 21600 }
477cdf0e10cSrcweir };
478cdf0e10cSrcweir static const sal_uInt16 mso_sptIsocelesTriangleSegm[] =
479cdf0e10cSrcweir {
480cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
481cdf0e10cSrcweir };
482cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc[] =
483cdf0e10cSrcweir {
484cdf0e10cSrcweir 	{ 0x4000, { 0, DFF_Prop_adjustValue, 0 } },
485cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
486cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
487cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 3 } },
488cdf0e10cSrcweir 	{ 0x2000, { 0x403, 7200, 0 } },
489cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
490cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
491cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } }
492cdf0e10cSrcweir };
493cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect[] =
494cdf0e10cSrcweir {
495cdf0e10cSrcweir 	{ { 1 MSO_I, 10800 }, { 2 MSO_I, 18000 } },
496cdf0e10cSrcweir 	{ { 3 MSO_I, 7200 }, { 4 MSO_I, 21600	} }
497cdf0e10cSrcweir };
498cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] =
499cdf0e10cSrcweir {
500d2ad5595SRegina Henschel 	{ 0 MSO_I, 0 }, { 1 MSO_I, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I, 10800 }
501cdf0e10cSrcweir };
502cdf0e10cSrcweir static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] =
503cdf0e10cSrcweir {
504cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
505*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 21600, Mx80000000, 0x7fffffff }
506cdf0e10cSrcweir };
507cdf0e10cSrcweir static const mso_CustomShape msoIsocelesTriangle =
508cdf0e10cSrcweir {
509cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIsocelesTriangleVert, sizeof( mso_sptIsocelesTriangleVert ) / sizeof( SvxMSDffVertPair ),
510cdf0e10cSrcweir 	(sal_uInt16*)mso_sptIsocelesTriangleSegm, sizeof( mso_sptIsocelesTriangleSegm ) >> 1,
511cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptIsocelesTriangleCalc, sizeof( mso_sptIsocelesTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
512cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
513cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, sizeof( mso_sptIsocelesTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
514cdf0e10cSrcweir 	21600, 21600,
515*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
516cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, sizeof( mso_sptIsocelesTriangleGluePoints ) / sizeof( SvxMSDffVertPair ),
517cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, sizeof( mso_sptIsocelesTriangleHandle ) / sizeof( SvxMSDffHandle )		// handles
518cdf0e10cSrcweir };
519cdf0e10cSrcweir 
520cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHexagonVert[] =				// adjustment1 : 0 - 10800
521cdf0e10cSrcweir {
522cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 10800 }, { 1 MSO_I, 21600 },
523cdf0e10cSrcweir 	{ 0 MSO_I, 21600 }, { 0, 10800 }
524cdf0e10cSrcweir };
525cdf0e10cSrcweir static const sal_uInt16 mso_sptHexagonSegm[] =
526cdf0e10cSrcweir {
527cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000
528cdf0e10cSrcweir };
529cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHexagonCalc[] =
530cdf0e10cSrcweir {
531cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
532cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
533cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 100, 234 } },
534cdf0e10cSrcweir 	{ 0x2000, { 0x402, 1700, 0 } },
535cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
536cdf0e10cSrcweir };
537cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] =
538cdf0e10cSrcweir {
539cdf0e10cSrcweir 	{ { 3 MSO_I, 3 MSO_I }, { 4 MSO_I, 4 MSO_I } }
540cdf0e10cSrcweir };
541cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHexagonHandle[] =
542cdf0e10cSrcweir {
543cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
544*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
545cdf0e10cSrcweir };
546cdf0e10cSrcweir static const mso_CustomShape msoHexagon =
547cdf0e10cSrcweir {
548cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHexagonVert, sizeof( mso_sptHexagonVert ) / sizeof( SvxMSDffVertPair ),
549cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHexagonSegm, sizeof( mso_sptHexagonSegm ) >> 1,
550cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptHexagonCalc, sizeof( mso_sptHexagonCalc ) / sizeof( SvxMSDffCalculationData ),
551cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
552cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHexagonTextRect, sizeof( mso_sptHexagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
553cdf0e10cSrcweir 	21600, 21600,
554*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
555cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
556cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHexagonHandle, sizeof( mso_sptHexagonHandle ) / sizeof( SvxMSDffHandle )		// handles
557cdf0e10cSrcweir };
558cdf0e10cSrcweir 
559cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonVert[] =
560cdf0e10cSrcweir {
561cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 },
562cdf0e10cSrcweir 	{ 21600, 8260 }, { 10800, 0 }
563cdf0e10cSrcweir };
564cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPentagonTextRect[] =
565cdf0e10cSrcweir {
566cdf0e10cSrcweir 	{ { 4230, 5080 }, { 17370, 21600 } }
567cdf0e10cSrcweir };
568cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPentagonGluePoints[] =
569cdf0e10cSrcweir {
570cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 },
571cdf0e10cSrcweir 	{ 17370, 21600 }, { 21600, 8260 }
572cdf0e10cSrcweir };
573cdf0e10cSrcweir static const mso_CustomShape msoPentagon =
574cdf0e10cSrcweir {
575cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPentagonVert, sizeof( mso_sptPentagonVert ) / sizeof( SvxMSDffVertPair ),
576cdf0e10cSrcweir 	NULL, 0,
577cdf0e10cSrcweir 	NULL, 0,
578cdf0e10cSrcweir 	NULL,
579cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPentagonTextRect, sizeof( mso_sptPentagonTextRect ) / sizeof( SvxMSDffTextRectangles ),
580cdf0e10cSrcweir 	21600, 21600,
581*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
582cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPentagonGluePoints, sizeof( mso_sptPentagonGluePoints ) / sizeof( SvxMSDffVertPair ),
583cdf0e10cSrcweir 	NULL, 0		// handles
584cdf0e10cSrcweir };
585cdf0e10cSrcweir 
586cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptPlusVert[] =				// adjustment1 : 0 - 10800
587cdf0e10cSrcweir {
588cdf0e10cSrcweir 	{ 1 MSO_I, 0 }, { 2 MSO_I, 0 }, { 2 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I },
589cdf0e10cSrcweir 	{ 21600, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 21600 }, { 1 MSO_I, 21600 },
590cdf0e10cSrcweir 	{ 1 MSO_I, 3 MSO_I }, { 0, 3 MSO_I }, { 0, 1 MSO_I }, { 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 0 }
591cdf0e10cSrcweir };
592cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptPlusCalc[] =
593cdf0e10cSrcweir {
594cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10799, 10800 } },
595cdf0e10cSrcweir     { 0x2000, { 0x400, 0, 0 } },
596cdf0e10cSrcweir     { 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
597cdf0e10cSrcweir     { 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
598cdf0e10cSrcweir };
599cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlusTextRect[] =
600cdf0e10cSrcweir {
601cdf0e10cSrcweir 	{ { 1 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I } }
602cdf0e10cSrcweir };
603cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlusHandle[] =
604cdf0e10cSrcweir {
605cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
606*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
607cdf0e10cSrcweir };
608cdf0e10cSrcweir static const mso_CustomShape msoPlus =
609cdf0e10cSrcweir {
610cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptPlusVert, sizeof( mso_sptPlusVert ) / sizeof( SvxMSDffVertPair ),
611cdf0e10cSrcweir 	NULL, 0,
612cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptPlusCalc, sizeof( mso_sptPlusCalc ) / sizeof( SvxMSDffCalculationData ),
613cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
614cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPlusTextRect, sizeof( mso_sptPlusTextRect ) / sizeof( SvxMSDffTextRectangles ),
615cdf0e10cSrcweir 	21600, 21600,
616cdf0e10cSrcweir 	10800, 10800,
617cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
618cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptPlusHandle, sizeof( mso_sptPlusHandle ) / sizeof( SvxMSDffHandle )		// handles
619cdf0e10cSrcweir };
620cdf0e10cSrcweir 
621cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanVert[] =		// adjustment1 : 0 - 10800
622cdf0e10cSrcweir {
623cdf0e10cSrcweir 	{ 44, 0 },
624cdf0e10cSrcweir 	{ 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },			// ccp
625cdf0e10cSrcweir 	{ 0, 3 MSO_I },										// p
626cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 20, 21600 }, { 44, 21600 },		// ccp
627cdf0e10cSrcweir 	{ 68, 21600 }, { 88, 4 MSO_I }, { 88, 3 MSO_I },	// ccp
628cdf0e10cSrcweir 	{ 88, 0 MSO_I },									// p
629cdf0e10cSrcweir 	{ 88, 2 MSO_I }, { 68, 0 }, { 44, 0 },				// ccp
630cdf0e10cSrcweir 	{ 44, 0 },											// p
631cdf0e10cSrcweir 	{ 20, 0 }, { 0, 2 MSO_I }, { 0, 0 MSO_I },			// ccp
632cdf0e10cSrcweir 	{ 0, 5 MSO_I }, { 20, 6 MSO_I }, { 44, 6 MSO_I },	// ccp
633cdf0e10cSrcweir 	{ 68, 6 MSO_I },{ 88, 5 MSO_I }, { 88, 0 MSO_I },	// ccp
634cdf0e10cSrcweir 	{ 88, 2 MSO_I },{ 68, 0 }, { 44, 0 }				// ccp
635cdf0e10cSrcweir };
636cdf0e10cSrcweir static const sal_uInt16 mso_sptCanSegm[] =
637cdf0e10cSrcweir {
638cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000,
639cdf0e10cSrcweir 	0x4000, 0x2004, 0x6001, 0x8000
640cdf0e10cSrcweir };
641cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCanCalc[] =
642cdf0e10cSrcweir {
643cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 4 } },		// 1/4
644cdf0e10cSrcweir 	{ 0x2001, { 0x0400, 6, 11 } },
645cdf0e10cSrcweir 	{ 0xa000, { 0x0400, 0, 0x0401 } },
646cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
647cdf0e10cSrcweir 	{ 0x6000, { 0x0403, 0x0401, 0 } },
648cdf0e10cSrcweir 	{ 0x6000, { 0x0400, 0x0401, 0 } },
649cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 2 } },
650cdf0e10cSrcweir 	{ 0x0000, { 44, 0, 0 } }
651cdf0e10cSrcweir };
652cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCanTextRect[] =
653cdf0e10cSrcweir {
654cdf0e10cSrcweir 	{ { 0, 6 MSO_I }, { 88, 3 MSO_I } }
655cdf0e10cSrcweir };
656cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCanGluePoints[] =
657cdf0e10cSrcweir {
658cdf0e10cSrcweir 	{ 44, 6 MSO_I }, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 }
659cdf0e10cSrcweir };
660cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCanHandle[] =
661cdf0e10cSrcweir {
662cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
663*e5cfc9caSHerbert Dürr 		7 + 3, 0x100, 44, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
664cdf0e10cSrcweir };
665cdf0e10cSrcweir static const mso_CustomShape msoCan =
666cdf0e10cSrcweir {
667cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCanVert, sizeof( mso_sptCanVert ) / sizeof( SvxMSDffVertPair ),
668cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCanSegm, sizeof( mso_sptCanSegm ) >> 1,
669cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCanCalc, sizeof( mso_sptCanCalc ) / sizeof( SvxMSDffCalculationData ),
670cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
671cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCanTextRect, sizeof( mso_sptCanTextRect ) / sizeof( SvxMSDffTextRectangles ),
672cdf0e10cSrcweir 	88, 21600,
673*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
674cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCanGluePoints, sizeof( mso_sptCanGluePoints ) / sizeof( SvxMSDffVertPair ),
675cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCanHandle, sizeof( mso_sptCanHandle ) / sizeof( SvxMSDffHandle )		// handles
676cdf0e10cSrcweir };
677cdf0e10cSrcweir 
678cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptArrowVert[] =	// adjustment1: x 0 - 21600
679cdf0e10cSrcweir {													// adjustment2: y 0 - 10800
680cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
681cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }
682cdf0e10cSrcweir };
683cdf0e10cSrcweir static const sal_uInt16 mso_sptArrowSegm[] =
684cdf0e10cSrcweir {
685cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
686cdf0e10cSrcweir };
687cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptArrowCalc[] =
688cdf0e10cSrcweir {
689cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
690cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
691cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
692cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },
693cdf0e10cSrcweir 	{ 0x6001, { 0x403, 0x400, 10800 } },
694cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } },
695cdf0e10cSrcweir 	{ 0x6001, { 0x401, 0x400, 10800 } },
696cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x406 } }
697cdf0e10cSrcweir };
698cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptArrowTextRect[] =
699cdf0e10cSrcweir {
700cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
701cdf0e10cSrcweir };
702cdf0e10cSrcweir static const SvxMSDffHandle mso_sptArrowHandle[] =
703cdf0e10cSrcweir {
704cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
705cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
706cdf0e10cSrcweir };
707cdf0e10cSrcweir static const mso_CustomShape msoArrow =
708cdf0e10cSrcweir {
709cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptArrowVert, sizeof( mso_sptArrowVert ) / sizeof( SvxMSDffVertPair ),
710cdf0e10cSrcweir 	(sal_uInt16*)mso_sptArrowSegm, sizeof( mso_sptArrowSegm ) >> 1,
711cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
712cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
713cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptArrowTextRect, sizeof( mso_sptArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
714cdf0e10cSrcweir 	21600, 21600,
715*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
716cdf0e10cSrcweir 	NULL, 0,
717cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptArrowHandle, sizeof( mso_sptArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
718cdf0e10cSrcweir };
719cdf0e10cSrcweir 
720cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowVert[] =	// adjustment1: x 0 - 21600
721cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
722cdf0e10cSrcweir 	{ 21600, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 0, 10800 },
723cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 1 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }
724cdf0e10cSrcweir };
725cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowSegm[] =
726cdf0e10cSrcweir {
727cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
728cdf0e10cSrcweir };
729cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowDefault[] =
730cdf0e10cSrcweir {
731cdf0e10cSrcweir 	2, 5400, 5400
732cdf0e10cSrcweir };
733cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect[] =
734cdf0e10cSrcweir {
735cdf0e10cSrcweir 	{ { 7 MSO_I, 0 MSO_I }, { 21600, 2 MSO_I } }
736cdf0e10cSrcweir };
737cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowHandle[] =
738cdf0e10cSrcweir {
739cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
740cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
741cdf0e10cSrcweir };
742cdf0e10cSrcweir static const mso_CustomShape msoLeftArrow =
743cdf0e10cSrcweir {
744cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftArrowVert, sizeof( mso_sptLeftArrowVert ) / sizeof( SvxMSDffVertPair ),
745cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftArrowSegm, sizeof( mso_sptLeftArrowSegm ) >> 1,
746cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
747cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftArrowDefault,
748cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, sizeof( mso_sptLeftArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
749cdf0e10cSrcweir 	21600, 21600,
750*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
751cdf0e10cSrcweir 	NULL, 0,
752cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftArrowHandle, sizeof( mso_sptLeftArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
753cdf0e10cSrcweir };
754cdf0e10cSrcweir 
755cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowVert[] =	// adjustment1: x 0 - 21600
756cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
757cdf0e10cSrcweir 	{ 0 MSO_I, 0 },	{ 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 21600 },
758cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 }
759cdf0e10cSrcweir };
760cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowSegm[] =
761cdf0e10cSrcweir {
762cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
763cdf0e10cSrcweir };
764cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowTextRect[] =
765cdf0e10cSrcweir {
766cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 2 MSO_I, 5 MSO_I } }
767cdf0e10cSrcweir };
768cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowHandle[] =
769cdf0e10cSrcweir {
770cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
771cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
772cdf0e10cSrcweir };
773cdf0e10cSrcweir static const mso_CustomShape msoDownArrow =
774cdf0e10cSrcweir {
775cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDownArrowVert, sizeof( mso_sptDownArrowVert ) / sizeof( SvxMSDffVertPair ),
776cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDownArrowSegm, sizeof( mso_sptDownArrowSegm ) >> 1,
777cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
778cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
779cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, sizeof( mso_sptDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
780cdf0e10cSrcweir 	21600, 21600,
781*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
782cdf0e10cSrcweir 	NULL, 0,
783cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDownArrowHandle, sizeof( mso_sptDownArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
784cdf0e10cSrcweir };
785cdf0e10cSrcweir 
786cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowVert[] =	// adjustment1: x 0 - 21600
787cdf0e10cSrcweir {														// adjustment2: y 0 - 10800
788cdf0e10cSrcweir 	{ 0 MSO_I, 21600 },	{ 0 MSO_I, 1 MSO_I }, { 0, 1 MSO_I }, { 10800, 0 },
789cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
790cdf0e10cSrcweir };
791cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowSegm[] =
792cdf0e10cSrcweir {
793cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000
794cdf0e10cSrcweir };
795cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowDefault[] =
796cdf0e10cSrcweir {
797cdf0e10cSrcweir 	2, 5400, 5400
798cdf0e10cSrcweir };
799cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowTextRect[] =
800cdf0e10cSrcweir {
801cdf0e10cSrcweir 	{ { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 21600 } }
802cdf0e10cSrcweir };
803cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowHandle[] =
804cdf0e10cSrcweir {
805cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
806cdf0e10cSrcweir 		0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
807cdf0e10cSrcweir };
808cdf0e10cSrcweir static const mso_CustomShape msoUpArrow =
809cdf0e10cSrcweir {
810cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpArrowVert, sizeof( mso_sptUpArrowVert ) / sizeof( SvxMSDffVertPair ),
811cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpArrowSegm, sizeof( mso_sptUpArrowSegm ) >> 1,
812cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptArrowCalc, sizeof( mso_sptArrowCalc ) / sizeof( SvxMSDffCalculationData ),
813cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpArrowDefault,
814cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, sizeof( mso_sptUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
815cdf0e10cSrcweir 	21600, 21600,
816*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
817cdf0e10cSrcweir 	NULL, 0,
818cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpArrowHandle, sizeof( mso_sptUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
819cdf0e10cSrcweir };
820cdf0e10cSrcweir 
821cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowVert[] =	// adjustment1: x 0 - 10800
822cdf0e10cSrcweir {															// adjustment2: y 0 - 10800
823cdf0e10cSrcweir 	{ 0, 10800 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I },	{ 2 MSO_I, 1 MSO_I },
824cdf0e10cSrcweir 	{ 2 MSO_I, 0 }, { 21600, 10800 }, { 2 MSO_I, 21600 }, { 2 MSO_I, 3 MSO_I },
825cdf0e10cSrcweir 	{ 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 21600 }
826cdf0e10cSrcweir };
827cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowSegm[] =
828cdf0e10cSrcweir {
829cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
830cdf0e10cSrcweir };
831cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleArrowCalc[] =
832cdf0e10cSrcweir {
833cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
834cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
835cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
836cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
837cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
838cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjustValue, 0x404, 10800 } },
839cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
840cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
841cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust2Value, 0x407, 10800 } },
842cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } }
843cdf0e10cSrcweir };
844cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowDefault[] =
845cdf0e10cSrcweir {
846cdf0e10cSrcweir 	2, 4300, 5400
847cdf0e10cSrcweir };
848cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect[] =
849cdf0e10cSrcweir {
850cdf0e10cSrcweir 	{ { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 3 MSO_I } }
851cdf0e10cSrcweir };
852cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowHandle[] =
853cdf0e10cSrcweir {
854cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
855cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
856cdf0e10cSrcweir };
857cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrow =
858cdf0e10cSrcweir {
859cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightArrowVert, sizeof( mso_sptLeftRightArrowVert ) / sizeof( SvxMSDffVertPair ),
860cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightArrowSegm, sizeof( mso_sptLeftRightArrowSegm ) >> 1,
861cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ),
862cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightArrowDefault,
863cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, sizeof( mso_sptLeftRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
864cdf0e10cSrcweir 	21600, 21600,
865*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
866cdf0e10cSrcweir 	NULL, 0,
867cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightArrowHandle, sizeof( mso_sptLeftRightArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
868cdf0e10cSrcweir };
869cdf0e10cSrcweir 
870cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowVert[] =	// adjustment1: x 0 - 10800
871cdf0e10cSrcweir {															// adjustment2: y 0 - 10800
872cdf0e10cSrcweir 	{ 0, 1 MSO_I },	{ 10800, 0 }, { 21600, 1 MSO_I }, { 2 MSO_I, 1 MSO_I },
873cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 21600, 3 MSO_I }, { 10800, 21600 }, { 0, 3 MSO_I },
874cdf0e10cSrcweir 	{ 0 MSO_I, 3 MSO_I }, { 0 MSO_I, 1 MSO_I }
875cdf0e10cSrcweir };
876cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowSegm[] =
877cdf0e10cSrcweir {
878cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
879cdf0e10cSrcweir };
880cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowDefault[] =
881cdf0e10cSrcweir {
882cdf0e10cSrcweir 	2, 5400, 4300
883cdf0e10cSrcweir };
884cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect[] =
885cdf0e10cSrcweir {
886cdf0e10cSrcweir 	{ { 0 MSO_I, 8 MSO_I }, { 2 MSO_I, 9 MSO_I } }
887cdf0e10cSrcweir };
888cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowHandle[] =
889cdf0e10cSrcweir {
890cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
891cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
892cdf0e10cSrcweir };
893cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrow =
894cdf0e10cSrcweir {
895cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpDownArrowVert, sizeof( mso_sptUpDownArrowVert ) / sizeof( SvxMSDffVertPair ),
896cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpDownArrowSegm, sizeof( mso_sptUpDownArrowSegm ) >> 1,
897cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleArrowCalc, sizeof( mso_sptDoubleArrowCalc ) / sizeof( SvxMSDffCalculationData ),
898cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpDownArrowDefault,
899cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, sizeof( mso_sptUpDownArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
900cdf0e10cSrcweir 	21600, 21600,
901*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
902cdf0e10cSrcweir 	NULL, 0,
903cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpDownArrowHandle, sizeof( mso_sptUpDownArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
904cdf0e10cSrcweir };
905cdf0e10cSrcweir 
906cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowVert[] =	// adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
907cdf0e10cSrcweir {														// adjustment3: y 0 - 10800
908cdf0e10cSrcweir 	{ 0, 10800 }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 2 MSO_I, 2 MSO_I },
909cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 10800, 0 }, { 3 MSO_I, 0 MSO_I },
910cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 1 MSO_I },
911cdf0e10cSrcweir 	{ 21600, 10800 }, { 5 MSO_I, 3 MSO_I }, { 5 MSO_I, 4 MSO_I }, { 4 MSO_I, 4 MSO_I },
912cdf0e10cSrcweir 	{ 4 MSO_I, 5 MSO_I }, { 3 MSO_I, 5 MSO_I }, { 10800, 21600 }, { 1 MSO_I, 5 MSO_I },
913cdf0e10cSrcweir 	{ 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 3 MSO_I }
914cdf0e10cSrcweir };
915cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowSegm[] =
916cdf0e10cSrcweir {
917cdf0e10cSrcweir 	0x4000, 0x0017, 0x6001, 0x8000
918cdf0e10cSrcweir };
919cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalc[] =
920cdf0e10cSrcweir {
921cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
922cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
923cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
924cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
925cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
926cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust3Value } }
927cdf0e10cSrcweir };
928cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowDefault[] =
929cdf0e10cSrcweir {
930cdf0e10cSrcweir 	3, 6500, 8600, 4300
931cdf0e10cSrcweir };
932cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect[] =	// todo
933cdf0e10cSrcweir {
934cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
935cdf0e10cSrcweir };
936cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowHandle[] =
937cdf0e10cSrcweir {
938cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
939cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
940cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
941*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 0x101, Mx80000000, 0x7fffffff }
942cdf0e10cSrcweir };
943cdf0e10cSrcweir static const mso_CustomShape msoQuadArrow =
944cdf0e10cSrcweir {
945cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptQuadArrowVert, sizeof( mso_sptQuadArrowVert ) / sizeof( SvxMSDffVertPair ),
946cdf0e10cSrcweir 	(sal_uInt16*)mso_sptQuadArrowSegm, sizeof( mso_sptQuadArrowSegm ) >> 1,
947cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptQuadArrowCalc, sizeof( mso_sptQuadArrowCalc ) / sizeof( SvxMSDffCalculationData ),
948cdf0e10cSrcweir 	(sal_Int32*)mso_sptQuadArrowDefault,
949cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, sizeof( mso_sptQuadArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
950cdf0e10cSrcweir 	21600, 21600,
951*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
952cdf0e10cSrcweir 	NULL, 0,
953cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptQuadArrowHandle, sizeof( mso_sptQuadArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
954cdf0e10cSrcweir };
955cdf0e10cSrcweir 
956cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert[] =	// adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
957cdf0e10cSrcweir {																// adjustment3: y 0 - 21600
958cdf0e10cSrcweir 	{ 10800, 0 }, { 3 MSO_I, 2 MSO_I },	{ 4 MSO_I, 2 MSO_I }, { 4 MSO_I, 1 MSO_I },
959cdf0e10cSrcweir 	{ 5 MSO_I, 1 MSO_I }, { 5 MSO_I, 0 MSO_I },	{ 21600, 10800 }, { 5 MSO_I, 3 MSO_I },
960cdf0e10cSrcweir 	{ 5 MSO_I, 4 MSO_I }, { 2 MSO_I, 4 MSO_I },	{ 2 MSO_I, 3 MSO_I }, { 0, 10800 },
961cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 1 MSO_I },	{ 1 MSO_I, 1 MSO_I }, { 1 MSO_I, 2 MSO_I },
962cdf0e10cSrcweir 	{ 0 MSO_I, 2 MSO_I }
963cdf0e10cSrcweir };
964cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightUpArrowSegm[] =
965cdf0e10cSrcweir {
966cdf0e10cSrcweir 	0x4000, 0x0010, 0x6001, 0x8000
967cdf0e10cSrcweir };
968cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc[] =
969cdf0e10cSrcweir {
970cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 0
971cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 1
972cdf0e10cSrcweir 	{ 0x6001, { 0x0403, DFF_Prop_adjust3Value, 21600 } },	// 2
973cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },			// 3
974cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },		// 4
975cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } }						// 5
976cdf0e10cSrcweir };
977cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightUpArrowDefault[] =
978cdf0e10cSrcweir {
979cdf0e10cSrcweir 	3, 6500, 8600, 6200
980cdf0e10cSrcweir };
981cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect[] =		// todo
982cdf0e10cSrcweir {
983cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
984cdf0e10cSrcweir };
985cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] =
986cdf0e10cSrcweir {
987cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
988cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
989cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
990*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 0x101, Mx80000000, 0x7fffffff }
991cdf0e10cSrcweir };
992cdf0e10cSrcweir static const mso_CustomShape msoLeftRightUpArrow =
993cdf0e10cSrcweir {
994cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightUpArrowVert, sizeof( mso_sptLeftRightUpArrowVert ) / sizeof( SvxMSDffVertPair ),
995cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightUpArrowSegm, sizeof( mso_sptLeftRightUpArrowSegm ) >> 1,
996cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftRightUpArrowCalc, sizeof( mso_sptLeftRightUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
997cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightUpArrowDefault,
998cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, sizeof( mso_sptLeftRightUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
999cdf0e10cSrcweir 	21600, 21600,
1000*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1001cdf0e10cSrcweir 	NULL, 0,
1002cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, sizeof( mso_sptLeftRightUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1003cdf0e10cSrcweir };
1004cdf0e10cSrcweir 
1005cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentArrowVert[] =	// adjustment1 : x 12427 - 21600
1006cdf0e10cSrcweir {														// adjustment2 : y 0 - 6079
1007cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I }, { 0 MSO_I, 1 MSO_I },
1008cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 6079 }, { 0 MSO_I, 12158 }, { 0 MSO_I, 2 MSO_I },
1009cdf0e10cSrcweir 	{ 12427, 2 MSO_I }, { 4 MSO_I, 12160 }, { 4 MSO_I, 21600 }
1010cdf0e10cSrcweir };
1011cdf0e10cSrcweir static const sal_uInt16 mso_sptBentArrowSegm[] =
1012cdf0e10cSrcweir {
1013cdf0e10cSrcweir 	0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000
1014cdf0e10cSrcweir };
1015cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentArrowCalc[] =
1016cdf0e10cSrcweir {
1017cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1018cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1019cdf0e10cSrcweir 	{ 0x8000, { 12158, 0, DFF_Prop_adjust2Value } },
1020cdf0e10cSrcweir 	{ 0x8000, { 6079, 0, DFF_Prop_adjust2Value } },
1021cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 2, 1 } }
1022cdf0e10cSrcweir };
1023cdf0e10cSrcweir static const sal_Int32 mso_sptBentArrowDefault[] =
1024cdf0e10cSrcweir {
1025cdf0e10cSrcweir 	2, 15100, 2900
1026cdf0e10cSrcweir };
1027cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentArrowTextRect[] =	// todo
1028cdf0e10cSrcweir {
1029cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1030cdf0e10cSrcweir };
1031cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentArrowHandle[] =
1032cdf0e10cSrcweir {
1033cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1034cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 }
1035cdf0e10cSrcweir };
1036cdf0e10cSrcweir static const mso_CustomShape msoBentArrow =
1037cdf0e10cSrcweir {
1038cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentArrowVert, sizeof( mso_sptBentArrowVert ) / sizeof( SvxMSDffVertPair ),
1039cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentArrowSegm, sizeof( mso_sptBentArrowSegm ) >> 1,
1040cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentArrowCalc, sizeof( mso_sptBentArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1041cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentArrowDefault,
1042cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, sizeof( mso_sptBentArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1043cdf0e10cSrcweir 	21600, 21600,
1044*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1045cdf0e10cSrcweir 	NULL, 0,
1046cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentArrowHandle, sizeof( mso_sptBentArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1047cdf0e10cSrcweir };
1048cdf0e10cSrcweir 
1049cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUturnArrowVert[] =
1050cdf0e10cSrcweir {
1051cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 8550 },											// pp
1052cdf0e10cSrcweir 	{ 0, 3540 }, { 4370, 0 }, { 9270, 0 },								// ccp
1053cdf0e10cSrcweir 	{ 13890, 0 }, { 18570, 3230 }, { 18600, 8300 },						// ccp
1054cdf0e10cSrcweir 	{ 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp
1055cdf0e10cSrcweir 	{ 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 },					// ccp
1056cdf0e10cSrcweir 	{ 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 },						// ccp
1057cdf0e10cSrcweir 	{ 6110, 21600 }
1058cdf0e10cSrcweir };
1059cdf0e10cSrcweir static const sal_uInt16 mso_sptUturnArrowSegm[] =
1060cdf0e10cSrcweir {
1061cdf0e10cSrcweir 	0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000
1062cdf0e10cSrcweir };
1063cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect[] =
1064cdf0e10cSrcweir {
1065cdf0e10cSrcweir 	{ { 0, 8280 }, { 6110, 21600 } }
1066cdf0e10cSrcweir };
1067cdf0e10cSrcweir static const mso_CustomShape msoUturnArrow =
1068cdf0e10cSrcweir {
1069cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUturnArrowVert, sizeof( mso_sptUturnArrowVert ) / sizeof( SvxMSDffVertPair ),
1070cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUturnArrowSegm, sizeof( mso_sptUturnArrowSegm ) >> 1,
1071cdf0e10cSrcweir 	NULL, 0,
1072cdf0e10cSrcweir 	NULL,
1073cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, sizeof( mso_sptUturnArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1074cdf0e10cSrcweir 	21600, 21600,
1075*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1076cdf0e10cSrcweir 	NULL, 0,
1077cdf0e10cSrcweir 	NULL, 0		// handles
1078cdf0e10cSrcweir };
1079cdf0e10cSrcweir 
1080cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftUpArrowVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1081cdf0e10cSrcweir {															// adjustment3 : y 0 - 21600
1082cdf0e10cSrcweir 	{ 0, 5 MSO_I },	{ 2 MSO_I, 0 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 7 MSO_I, 7 MSO_I },
1083cdf0e10cSrcweir 	{ 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 }, { 21600, 2 MSO_I },
1084cdf0e10cSrcweir 	{ 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I },	{ 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 21600 }
1085cdf0e10cSrcweir };
1086cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftUpArrowSegm[] =
1087cdf0e10cSrcweir {
1088cdf0e10cSrcweir 	0x4000, 0x000b, 0x6001, 0x8000
1089cdf0e10cSrcweir };
1090cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc[] =
1091cdf0e10cSrcweir {
1092cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0
1093cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 1
1094cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },		// 2
1095cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 3
1096cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 1, 2 } },						// 4
1097cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },	// 5
1098cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },	// 6
1099cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },	// 7
1100cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },					// 8
1101cdf0e10cSrcweir 	{ 0xa000, { 0x408, 0, 0x406 } }					// 9
1102cdf0e10cSrcweir };
1103cdf0e10cSrcweir static const sal_Int32 mso_sptLeftUpArrowDefault[] =
1104cdf0e10cSrcweir {
1105cdf0e10cSrcweir 	3, 9340, 18500, 6200
1106cdf0e10cSrcweir };
1107cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect[] =
1108cdf0e10cSrcweir {
1109cdf0e10cSrcweir 	{ { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
1110cdf0e10cSrcweir 	{ { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
1111cdf0e10cSrcweir };
1112cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] =
1113cdf0e10cSrcweir {
1114cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1115cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1116cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1117*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 3 + 9, Mx80000000, 0x7fffffff }
1118cdf0e10cSrcweir };
1119cdf0e10cSrcweir static const mso_CustomShape msoLeftUpArrow =
1120cdf0e10cSrcweir {
1121cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftUpArrowVert, sizeof( mso_sptLeftUpArrowVert ) / sizeof( SvxMSDffVertPair ),
1122cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftUpArrowSegm, sizeof( mso_sptLeftUpArrowSegm ) >> 1,
1123cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftUpArrowCalc, sizeof( mso_sptLeftUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1124cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftUpArrowDefault,
1125cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, sizeof( mso_sptLeftUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1126cdf0e10cSrcweir 	21600, 21600,
1127*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1128cdf0e10cSrcweir 	NULL, 0,
1129cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftUpArrowHandle, sizeof( mso_sptLeftUpArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
1130cdf0e10cSrcweir };
1131cdf0e10cSrcweir 
1132cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentUpArrowVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1133cdf0e10cSrcweir {															// adjustment3 : y 0 - 21600
1134cdf0e10cSrcweir 	{ 0, 8 MSO_I }, { 7 MSO_I, 8 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },
1135cdf0e10cSrcweir 	{ 5 MSO_I, 0 }, { 21600, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 21600 },
1136cdf0e10cSrcweir 	{ 0, 21600 }
1137cdf0e10cSrcweir };
1138cdf0e10cSrcweir static const sal_uInt16 mso_sptBentUpArrowSegm[] =
1139cdf0e10cSrcweir {
1140cdf0e10cSrcweir 	0x4000, 0x0008, 0x6001, 0x8000
1141cdf0e10cSrcweir };
1142cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentUpArrowCalc[] =
1143cdf0e10cSrcweir {
1144cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0
1145cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 1
1146cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },		// 2
1147cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 3
1148cdf0e10cSrcweir 	{ 0x2001, { 0x0403, 1, 2 } },						// 4
1149cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0404, 0 } },	// 5
1150cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },	// 6
1151cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, 0x0406, 0 } },	// 7
1152cdf0e10cSrcweir 	{ 0x6000, { 0x0407, 0x0406, 0 } },					// 8
1153cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },					// 9
1154cdf0e10cSrcweir 	{ 0xa000, { 0x409, 0, 0x406 } }					// a
1155cdf0e10cSrcweir };
1156cdf0e10cSrcweir static const sal_Int32 mso_sptBentUpArrowDefault[] =
1157cdf0e10cSrcweir {
1158cdf0e10cSrcweir 	3, 9340, 18500, 7200
1159cdf0e10cSrcweir };
1160cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect[] =
1161cdf0e10cSrcweir {
1162cdf0e10cSrcweir 	{ { 2 MSO_I, 7 MSO_I }, { 1 MSO_I, 1 MSO_I } },
1163cdf0e10cSrcweir 	{ { 7 MSO_I, 2 MSO_I }, { 1 MSO_I, 1 MSO_I } }
1164cdf0e10cSrcweir };
1165cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentUpArrowHandle[] =
1166cdf0e10cSrcweir {
1167cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1168cdf0e10cSrcweir 		0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1169cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1170*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 3 + 10, Mx80000000, 0x7fffffff }
1171cdf0e10cSrcweir };
1172cdf0e10cSrcweir static const mso_CustomShape msoBentUpArrow =
1173cdf0e10cSrcweir {
1174cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentUpArrowVert, sizeof( mso_sptBentUpArrowVert ) / sizeof( SvxMSDffVertPair ),
1175cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentUpArrowSegm, sizeof( mso_sptBentUpArrowSegm ) >> 1,
1176cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentUpArrowCalc, sizeof( mso_sptBentUpArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1177cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentUpArrowDefault,
1178cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, sizeof( mso_sptBentUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1179cdf0e10cSrcweir 	21600, 21600,
1180*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1181cdf0e10cSrcweir 	NULL, 0,
1182cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentUpArrowHandle, sizeof( mso_sptBentUpArrowHandle ) / sizeof( SvxMSDffHandle )
1183cdf0e10cSrcweir };
1184cdf0e10cSrcweir 
1185cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightVert[] =
1186cdf0e10cSrcweir {
1187cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I }, { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 0, 7 MSO_I }, { 2 MSO_I, 13 MSO_I },
1188cdf0e10cSrcweir 	{ 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I },
1189cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 2 MSO_I, 11 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I },
1190cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 22 MSO_I, 0 }, { 0, 4 MSO_I },
1191cdf0e10cSrcweir 	{ 0, 0 }, { 23 MSO_I, 3 MSO_I }, { 0, 4 MSO_I }, { 26 MSO_I, 17 MSO_I },
1192cdf0e10cSrcweir 	{ 0, 15 MSO_I }, { 23 MSO_I, 1 MSO_I }, { 26 MSO_I, 17 MSO_I }, { 22 MSO_I, 15 MSO_I }
1193cdf0e10cSrcweir };
1194cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedRightSegm[] =
1195cdf0e10cSrcweir {
1196cdf0e10cSrcweir 	0xa408,
1197cdf0e10cSrcweir 	0x0003,
1198cdf0e10cSrcweir 	0xa508,
1199cdf0e10cSrcweir 	0x6000,
1200cdf0e10cSrcweir 	0x8000,
1201cdf0e10cSrcweir 	0xa404,
1202cdf0e10cSrcweir 	0xa304,
1203cdf0e10cSrcweir 	0xa504,
1204cdf0e10cSrcweir 	0x6000,
1205cdf0e10cSrcweir 	0x8000
1206cdf0e10cSrcweir };
1207cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedRightCalc[] =
1208cdf0e10cSrcweir {
1209cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1210cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1211cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1212cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
1213cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },
1214cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
1215cdf0e10cSrcweir 	{ 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
1216cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
1217cdf0e10cSrcweir 	{ 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
1218cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust3Value } },
1219cdf0e10cSrcweir 	{ 0xa00f, { 0x409, 21600, 0x404 } },
1220cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x40a, 0 } },
1221cdf0e10cSrcweir 	{ 0x6000, { 0x40b, DFF_Prop_adjust2Value, 21600 } },
1222cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x40a, 0 } },
1223cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue } },
1224cdf0e10cSrcweir 	{ 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
1225cdf0e10cSrcweir 	{ 0x2001, { 0x40f, 1, 2 } },
1226cdf0e10cSrcweir 	{ 0x6002, { 0x404, 0x407, 0 } },
1227cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
1228cdf0e10cSrcweir 	{ 0x2001, { 0x412, 1, 2 } },
1229cdf0e10cSrcweir 	{ 0xa000, { 0x411, 0, 0x413 } },
1230cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1231cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1232cdf0e10cSrcweir 	{ 0x0001, { 21600, 2, 1 } },
1233cdf0e10cSrcweir 	{ 0xa000, { 0x411, 0, 0x404 } },
1234cdf0e10cSrcweir 	{ 0x600f, { 0x418, 0x404, 21600 } },
1235cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x419 } },
1236cdf0e10cSrcweir 	{ 0x2000, { 0x408, 128, 0 } },
1237cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
1238cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 128 } },
1239cdf0e10cSrcweir 	{ 0xe000, { DFF_Prop_adjustValue, 0x411, 0x40c } },
1240cdf0e10cSrcweir 	{ 0x600f, { 0x414, 0x404, 21600 } },
1241cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1242cdf0e10cSrcweir 	{ 0x2001, { 0x420, 1, 2 } },
1243cdf0e10cSrcweir 	{ 0x0001, { 21600, 21600, 1 } },
1244cdf0e10cSrcweir 	{ 0x6001, { 0x409, 0x409, 1 } },
1245cdf0e10cSrcweir 	{ 0xa000, { 0x422, 0, 0x423 } },
1246cdf0e10cSrcweir 	{ 0x200d, { 0x424, 0, 0 } },
1247cdf0e10cSrcweir 	{ 0x2000, { 0x425, 21600, 0 } },
1248cdf0e10cSrcweir 	{ 0x8001, { 21600, 21600, 0x426 } },
1249cdf0e10cSrcweir 	{ 0x2000, { 0x427, 64, 0 } },
1250cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
1251cdf0e10cSrcweir 	{ 0x600f, { 0x421, 0x429, 21600 } },
1252cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x42a } },
1253cdf0e10cSrcweir 	{ 0x2000, { 0x42b, 64, 0 } },
1254cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
1255cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value, 0, 0x42d } },
1256cdf0e10cSrcweir 	{ 0x0001, { 21600, 2195, 16384 } },
1257cdf0e10cSrcweir 	{ 0x0001, { 21600, 14189, 16384 } }
1258cdf0e10cSrcweir };
1259cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedRightDefault[] =
1260cdf0e10cSrcweir {
1261cdf0e10cSrcweir 	3, 12960, 19440, 14400
1262cdf0e10cSrcweir };
1263cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect[] =
1264cdf0e10cSrcweir {
1265cdf0e10cSrcweir 	{ { 47 MSO_I, 45 MSO_I }, { 48 MSO_I, 46 MSO_I } }
1266cdf0e10cSrcweir };
1267cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedRightGluePoints[] =
1268cdf0e10cSrcweir {
1269cdf0e10cSrcweir 	{ 0, 17 MSO_I }, { 2 MSO_I, 14 MSO_I }, { 22 MSO_I, 8 MSO_I }, { 2 MSO_I, 12 MSO_I }, { 22 MSO_I, 16 MSO_I }
1270cdf0e10cSrcweir };
1271cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedRightHandles[] =
1272cdf0e10cSrcweir {
1273cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1274cdf0e10cSrcweir 		21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 },
1275cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1276cdf0e10cSrcweir 		21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 },
1277cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1278cdf0e10cSrcweir 		0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 }
1279cdf0e10cSrcweir };
1280cdf0e10cSrcweir static const mso_CustomShape msoCurvedRightArrow =
1281cdf0e10cSrcweir {
1282cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedRightVert, sizeof( mso_sptCurvedRightVert ) / sizeof( SvxMSDffVertPair ),
1283cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedRightSegm, sizeof( mso_sptCurvedRightSegm ) >> 1,
1284cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ),
1285cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedRightDefault,
1286cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, sizeof( mso_sptCurvedRightTextRect ) / sizeof( SvxMSDffTextRectangles ),
1287cdf0e10cSrcweir 	21600, 21600,
1288*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1289cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, sizeof( mso_sptCurvedRightGluePoints ) / sizeof( SvxMSDffVertPair ),
1290cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedRightHandles, sizeof( mso_sptCurvedRightHandles ) / sizeof( SvxMSDffHandle )
1291cdf0e10cSrcweir };
1292cdf0e10cSrcweir 
1293cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownVert[] =
1294cdf0e10cSrcweir {
1295cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
1296cdf0e10cSrcweir 	{ 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 7 MSO_I, 0 }, { 13 MSO_I, 2 MSO_I },
1297cdf0e10cSrcweir 	{ 14 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I },
1298cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 11 MSO_I, 2 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 0 },
1299cdf0e10cSrcweir 	{ 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I },
1300cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 0, 22 MSO_I }, { 4 MSO_I, 0 },
1301cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 23 MSO_I }, { 4 MSO_I, 0 }, { 17 MSO_I, 26 MSO_I },
1302cdf0e10cSrcweir 	{ 15 MSO_I, 0 }, { 1 MSO_I, 23 MSO_I }, { 17 MSO_I, 26 MSO_I }, { 15 MSO_I, 22 MSO_I }
1303cdf0e10cSrcweir };
1304cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedDownSegm[] =
1305cdf0e10cSrcweir {
1306cdf0e10cSrcweir 	0xa608,
1307cdf0e10cSrcweir 	0x0003,
1308cdf0e10cSrcweir 	0xa308,
1309cdf0e10cSrcweir 	0x6000,
1310cdf0e10cSrcweir 	0x8000,
1311cdf0e10cSrcweir 	0xa604,
1312cdf0e10cSrcweir 	0xa504,
1313cdf0e10cSrcweir 	0xa304,
1314cdf0e10cSrcweir 	0x6000,
1315cdf0e10cSrcweir 	0x8000
1316cdf0e10cSrcweir };
1317cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect[] =
1318cdf0e10cSrcweir {
1319cdf0e10cSrcweir 	{ { 45 MSO_I, 47 MSO_I }, { 46 MSO_I, 48 MSO_I } }
1320cdf0e10cSrcweir };
1321cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedDownGluePoints[] =
1322cdf0e10cSrcweir {
1323cdf0e10cSrcweir 	{ 17 MSO_I, 0 }, { 16 MSO_I, 22 MSO_I }, { 12 MSO_I, 2 MSO_I }, { 8 MSO_I, 22 MSO_I }, { 14 MSO_I, 2 MSO_I }
1324cdf0e10cSrcweir };
1325cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedDownHandles[] =
1326cdf0e10cSrcweir {
1327cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1328cdf0e10cSrcweir 		0x100, 21600, 10800, 10800, 3 + 40, 3 + 29, 0, 10800 },
1329cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1330cdf0e10cSrcweir 		0x101, 21600, 10800, 10800, 3 + 27, 3 + 21, 0, 10800 },
1331cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1332cdf0e10cSrcweir 		21600, 0x102, 10800, 10800, 3375, 21600, 3 + 44, 3 + 22 }
1333cdf0e10cSrcweir };
1334cdf0e10cSrcweir 
1335cdf0e10cSrcweir static const mso_CustomShape msoCurvedDownArrow =
1336cdf0e10cSrcweir {
1337cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedDownVert, sizeof( mso_sptCurvedDownVert ) / sizeof( SvxMSDffVertPair ),
1338cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedDownSegm, sizeof( mso_sptCurvedDownSegm ) >> 1,
1339cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedRightCalc, sizeof( mso_sptCurvedRightCalc ) / sizeof( SvxMSDffCalculationData ),
1340cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedRightDefault,
1341cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, sizeof( mso_sptCurvedDownTextRect ) / sizeof( SvxMSDffTextRectangles ),
1342cdf0e10cSrcweir 	21600, 21600,
1343*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1344cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, sizeof( mso_sptCurvedDownGluePoints ) / sizeof( SvxMSDffVertPair ),
1345cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedDownHandles, sizeof( mso_sptCurvedDownHandles ) / sizeof( SvxMSDffHandle )
1346cdf0e10cSrcweir };
1347cdf0e10cSrcweir 
1348cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpVert[] =
1349cdf0e10cSrcweir {
1350cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
1351cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I },
1352cdf0e10cSrcweir 	{ 12 MSO_I, 2 MSO_I }, { 13 MSO_I, 2 MSO_I }, { 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I },
1353cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 10 MSO_I, 2 MSO_I }, { 16 MSO_I, 24 MSO_I },
1354cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 },
1355cdf0e10cSrcweir 	{ 0, 22 MSO_I }, { 3 MSO_I, 21 MSO_I }, { 0, 0 }, { 4 MSO_I, 21 MSO_I },
1356cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 7 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I },
1357cdf0e10cSrcweir 	{ 14 MSO_I, 22 MSO_I }, { 1 MSO_I, 21 MSO_I }, { 16 MSO_I, 24 MSO_I }, { 14 MSO_I, 0 }
1358cdf0e10cSrcweir };
1359cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedUpSegm[] =
1360cdf0e10cSrcweir {
1361cdf0e10cSrcweir 	0xa408,
1362cdf0e10cSrcweir 	0x0003,
1363cdf0e10cSrcweir 	0xa508,
1364cdf0e10cSrcweir 	0x6000,
1365cdf0e10cSrcweir 	0x8000,
1366cdf0e10cSrcweir 	0xa404,
1367cdf0e10cSrcweir 	0xa508,
1368cdf0e10cSrcweir 	0xa504,
1369cdf0e10cSrcweir 	0x6000,
1370cdf0e10cSrcweir 	0x8000
1371cdf0e10cSrcweir };
1372cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedUpCalc[] =
1373cdf0e10cSrcweir {
1374cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1375cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1376cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1377cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 21600, DFF_Prop_adjust2Value } },
1378cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },
1379cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 21600 } },
1380cdf0e10cSrcweir 	{ 0xe000, { 0x405, DFF_Prop_adjust2Value, DFF_Prop_adjustValue } },
1381cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
1382cdf0e10cSrcweir 	{ 0x4002, { 21600, DFF_Prop_adjustValue, 0 } },
1383cdf0e10cSrcweir 	{ 0xa00f, { DFF_Prop_adjust3Value, 21600, 0x404 } },
1384cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x409, 0 } },
1385cdf0e10cSrcweir 	{ 0x6000, { 0x40a, DFF_Prop_adjust2Value, 21600 } },
1386cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x409, 0 } },
1387cdf0e10cSrcweir 	{ 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue } },
1388cdf0e10cSrcweir 	{ 0xa000, { 0x405, 0, DFF_Prop_adjustValue } },
1389cdf0e10cSrcweir 	{ 0x2001, { 0x40e, 1, 2 } },
1390cdf0e10cSrcweir 	{ 0x6002, { 0x404, 0x407, 0 } },
1391cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_adjustValue, DFF_Prop_adjust2Value, 21600 } },
1392cdf0e10cSrcweir 	{ 0x2001, { 0x411, 1, 2 } },
1393cdf0e10cSrcweir 	{ 0xa000, { 0x410, 0, 0x412 } },
1394cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1395cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 0 } },
1396cdf0e10cSrcweir 	{ 0x0000, { 0, 0, 21600 } },
1397cdf0e10cSrcweir 	{ 0xa000, { 0x410, 0, 0x404 } },
1398cdf0e10cSrcweir 	{ 0x600f, { 0x417, 0x404, 21600 } },
1399cdf0e10cSrcweir 	{ 0x2000, { 0x408, 128, 0 } },
1400cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
1401cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 128 } },
1402cdf0e10cSrcweir 	{ 0xe000, { DFF_Prop_adjustValue, 0x410, 0x40b } },
1403cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1404cdf0e10cSrcweir 	{ 0x2001, { 0x41d, 1, 2 } },
1405cdf0e10cSrcweir 	{ 0x0001, { 21600, 21600, 1 } },
1406cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust3Value, DFF_Prop_adjust3Value, 1 } },
1407cdf0e10cSrcweir 	{ 0xa000, { 0x41f, 0, 0x420 } },
1408cdf0e10cSrcweir 	{ 0x200d, { 0x421, 0, 0 } },
1409cdf0e10cSrcweir 	{ 0x2000, { 0x422, 21600, 0 } },
1410cdf0e10cSrcweir 	{ 0x8001, { 21600, 21600, 0x423 } },
1411cdf0e10cSrcweir 	{ 0x2000, { 0x424, 64, 0 } },
1412cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
1413cdf0e10cSrcweir 	{ 0x600f, { 0x41e, 0x426, 21600 } },
1414cdf0e10cSrcweir 	{ 0x2000, { 0x427, 0, 64 } },
1415cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
1416cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value, 0, 0x429 } },
1417cdf0e10cSrcweir 	{ 0x0001, { 21600, 2195, 16384 } },
1418cdf0e10cSrcweir 	{ 0x0001, { 21600, 14189, 16384 } }
1419cdf0e10cSrcweir };
1420cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedUpDefault[] =
1421cdf0e10cSrcweir {
1422cdf0e10cSrcweir 	3, 12960, 19440, 7200
1423cdf0e10cSrcweir };
1424cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect[] =
1425cdf0e10cSrcweir {
1426cdf0e10cSrcweir 	{ { 41 MSO_I, 43 MSO_I }, { 42 MSO_I, 44 MSO_I } }
1427cdf0e10cSrcweir };
1428cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedUpGluePoints[] =
1429cdf0e10cSrcweir {
1430cdf0e10cSrcweir 	{ 8 MSO_I, 0 }, { 11 MSO_I, 2 MSO_I }, { 15 MSO_I, 0 }, { 16 MSO_I, 21 MSO_I }, { 13 MSO_I, 2 MSO_I }
1431cdf0e10cSrcweir };
1432cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedUpHandles[] =
1433cdf0e10cSrcweir {
1434cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1435cdf0e10cSrcweir 		0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 },
1436cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1437cdf0e10cSrcweir 		0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 },
1438cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1439cdf0e10cSrcweir 		21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 }
1440cdf0e10cSrcweir };
1441cdf0e10cSrcweir static const mso_CustomShape msoCurvedUpArrow =
1442cdf0e10cSrcweir {
1443cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedUpVert, sizeof( mso_sptCurvedUpVert ) / sizeof( SvxMSDffVertPair ),
1444cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedUpSegm, sizeof( mso_sptCurvedUpSegm ) >> 1,
1445cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ),
1446cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedUpDefault,
1447cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, sizeof( mso_sptCurvedUpTextRect ) / sizeof( SvxMSDffTextRectangles ),
1448cdf0e10cSrcweir 	21600, 21600,
1449*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1450cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, sizeof( mso_sptCurvedUpGluePoints ) / sizeof( SvxMSDffVertPair ),
1451cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedUpHandles, sizeof( mso_sptCurvedUpHandles ) / sizeof( SvxMSDffHandle )
1452cdf0e10cSrcweir };
1453cdf0e10cSrcweir 
1454cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftVert[] =
1455cdf0e10cSrcweir {
1456cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
1457cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 2 MSO_I, 12 MSO_I },
1458cdf0e10cSrcweir 	{ 2 MSO_I, 13 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 11 MSO_I },
1459cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 2 MSO_I, 10 MSO_I }, { 24 MSO_I, 16 MSO_I },
1460cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I },
1461cdf0e10cSrcweir 	{ 22 MSO_I, 0 }, { 21 MSO_I, 3 MSO_I }, { 0, 0 }, { 21 MSO_I, 4 MSO_I },
1462cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 21 MSO_I, 7 MSO_I }, { 24 MSO_I, 16 MSO_I },
1463cdf0e10cSrcweir 	{ 22 MSO_I, 14 MSO_I }, { 21 MSO_I, 1 MSO_I }, { 24 MSO_I, 16 MSO_I }, { 0, 14 MSO_I }
1464cdf0e10cSrcweir };
1465cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedLeftSegm[] =
1466cdf0e10cSrcweir {
1467cdf0e10cSrcweir 	0xa608,
1468cdf0e10cSrcweir 	0x0003,
1469cdf0e10cSrcweir 	0xa308,
1470cdf0e10cSrcweir 	0x6000,
1471cdf0e10cSrcweir 	0x8000,
1472cdf0e10cSrcweir 	0xa604,
1473cdf0e10cSrcweir 	0xa308,
1474cdf0e10cSrcweir 	0x6000,
1475cdf0e10cSrcweir 	0x8000
1476cdf0e10cSrcweir };
1477cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect[] =
1478cdf0e10cSrcweir {
1479cdf0e10cSrcweir 	{ { 43 MSO_I, 41 MSO_I }, { 44 MSO_I, 42 MSO_I } }
1480cdf0e10cSrcweir };
1481cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints[] =
1482cdf0e10cSrcweir {
1483cdf0e10cSrcweir 	{ 0, 15 MSO_I }, { 2 MSO_I, 11 MSO_I }, { 0, 8 MSO_I }, { 2 MSO_I, 13 MSO_I }, { 21 MSO_I, 16 MSO_I }
1484cdf0e10cSrcweir };
1485cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedLeftHandles[] =
1486cdf0e10cSrcweir {
1487cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1488cdf0e10cSrcweir 		0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 },
1489cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1490cdf0e10cSrcweir 		0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 },
1491cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1492cdf0e10cSrcweir 		0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 }
1493cdf0e10cSrcweir };
1494cdf0e10cSrcweir static const mso_CustomShape msoCurvedLeftArrow =
1495cdf0e10cSrcweir {
1496cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedLeftVert, sizeof( mso_sptCurvedLeftVert ) / sizeof( SvxMSDffVertPair ),
1497cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedLeftSegm, sizeof( mso_sptCurvedLeftSegm ) >> 1,
1498cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedUpCalc, sizeof( mso_sptCurvedUpCalc ) / sizeof( SvxMSDffCalculationData ),
1499cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedUpDefault,
1500cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, sizeof( mso_sptCurvedLeftTextRect ) / sizeof( SvxMSDffTextRectangles ),
1501cdf0e10cSrcweir 	21600, 21600,
1502*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1503cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, sizeof( mso_sptCurvedLeftGluePoints ) / sizeof( SvxMSDffVertPair ),
1504cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedLeftHandles, sizeof( mso_sptCurvedLeftHandles ) / sizeof( SvxMSDffHandle )
1505cdf0e10cSrcweir };
1506cdf0e10cSrcweir 
1507cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStripedRightArrowVert[] =	// adjustment1 : x 3375 - 21600
1508cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800
1509cdf0e10cSrcweir 	{ 3375,	0 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 1 MSO_I, 0 }, { 21600, 10800 },
1510cdf0e10cSrcweir 	{ 1 MSO_I, 21600 },	{ 1 MSO_I, 2 MSO_I }, { 3375, 2 MSO_I }, { 0, 0 MSO_I },
1511cdf0e10cSrcweir 	{ 675, 0 MSO_I }, { 675, 2 MSO_I }, { 0, 2 MSO_I }, { 1350, 0 MSO_I },
1512cdf0e10cSrcweir 	{ 2700, 0 MSO_I }, { 2700, 2 MSO_I }, { 1350, 2 MSO_I }
1513cdf0e10cSrcweir };
1514cdf0e10cSrcweir static const sal_uInt16 mso_sptStripedRightArrowSegm[] =
1515cdf0e10cSrcweir {
1516cdf0e10cSrcweir 	0x4000, 0x0006, 0x6001,	0x8000,
1517cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
1518cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
1519cdf0e10cSrcweir };
1520cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc[] =
1521cdf0e10cSrcweir {
1522cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1523cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1524cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
1525cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },
1526cdf0e10cSrcweir 	{ 0x6001, { 0x403, 0x400, 10800 } },
1527cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } }
1528cdf0e10cSrcweir };
1529cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect[] =
1530cdf0e10cSrcweir {
1531cdf0e10cSrcweir 	{ { 3375, 0 MSO_I }, { 5 MSO_I, 2 MSO_I } }
1532cdf0e10cSrcweir };
1533cdf0e10cSrcweir static const SvxMSDffHandle mso_sptStripedRightArrowHandle[] =
1534cdf0e10cSrcweir {
1535cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1536cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 }
1537cdf0e10cSrcweir };
1538cdf0e10cSrcweir static const mso_CustomShape msoStripedRightArrow =
1539cdf0e10cSrcweir {
1540cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStripedRightArrowVert, sizeof( mso_sptStripedRightArrowVert ) / sizeof( SvxMSDffVertPair ),
1541cdf0e10cSrcweir 	(sal_uInt16*)mso_sptStripedRightArrowSegm, sizeof( mso_sptStripedRightArrowSegm ) >> 1,
1542cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptStripedRightArrowCalc, sizeof( mso_sptStripedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1543cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
1544cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, sizeof( mso_sptStripedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1545cdf0e10cSrcweir 	21600, 21600,
1546*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1547cdf0e10cSrcweir 	NULL, 0,
1548cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptStripedRightArrowHandle, sizeof( mso_sptStripedRightArrowHandle ) / sizeof( SvxMSDffHandle )
1549cdf0e10cSrcweir };
1550cdf0e10cSrcweir 
1551cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNotchedRightArrowVert[] =	// adjustment1 : x 0 - 21600	(default 16200)
1552cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800	(default 5400)
1553cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 0 }, { 21600, 10800 },
1554cdf0e10cSrcweir 	{ 0 MSO_I, 21600 }, { 0 MSO_I, 2 MSO_I }, { 0, 2 MSO_I }, { 5 MSO_I, 10800 }, { 0, 1 MSO_I }
1555cdf0e10cSrcweir };
1556cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc[] =
1557cdf0e10cSrcweir {
1558cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1559cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1560cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjust2Value } },
1561cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
1562cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
1563be7f03dfSArmin Le Grand 	{ 0x6001, { 0x403, 0x404, 10800 } },
1564be7f03dfSArmin Le Grand     { 0x8000, { 21600, 0, 0x405 }}
1565cdf0e10cSrcweir };
1566cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect[] =	// todo
1567cdf0e10cSrcweir {
1568be7f03dfSArmin Le Grand 	{ { 5 MSO_I, 1 MSO_I }, { 6 MSO_I, 2 MSO_I } }
1569cdf0e10cSrcweir };
1570cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNotchedRightArrowHandle[] =
1571cdf0e10cSrcweir {
1572cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1573cdf0e10cSrcweir 		0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
1574cdf0e10cSrcweir };
1575cdf0e10cSrcweir static const mso_CustomShape msoNotchedRightArrow =
1576cdf0e10cSrcweir {
1577cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptNotchedRightArrowVert, sizeof( mso_sptNotchedRightArrowVert ) / sizeof( SvxMSDffVertPair ),
1578cdf0e10cSrcweir 	NULL, 0,
1579cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptNotchedRightArrowCalc, sizeof( mso_sptNotchedRightArrowCalc ) / sizeof( SvxMSDffCalculationData ),
1580cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200and5400,
1581cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, sizeof( mso_sptNotchedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
1582cdf0e10cSrcweir 	21600, 21600,
1583*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1584cdf0e10cSrcweir 	NULL, 0,
1585cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, sizeof( mso_sptNotchedRightArrowHandle ) / sizeof( SvxMSDffHandle )
1586cdf0e10cSrcweir };
1587cdf0e10cSrcweir 
1588cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHomePlateVert[] =	// adjustment1 : x 0 - 21600
1589cdf0e10cSrcweir {
1590cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
1591cdf0e10cSrcweir 	{ 0, 21600 }
1592cdf0e10cSrcweir };
1593cdf0e10cSrcweir static const sal_uInt16 mso_sptHomePlateSegm[] =
1594cdf0e10cSrcweir {
1595cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000
1596cdf0e10cSrcweir };
1597cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptHomePlateCalc[] =
1598cdf0e10cSrcweir {
1599cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
1600cdf0e10cSrcweir };
1601cdf0e10cSrcweir static const sal_Int32 mso_sptHomePlateDefault[] =
1602cdf0e10cSrcweir {
1603cdf0e10cSrcweir 	1, 16200
1604cdf0e10cSrcweir };
1605cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] =	// todo
1606cdf0e10cSrcweir {
1607cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1608cdf0e10cSrcweir };
1609cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHomePlateHandle[] =
1610cdf0e10cSrcweir {
1611cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1612*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 21600, Mx80000000, 0x7fffffff }
1613cdf0e10cSrcweir };
1614cdf0e10cSrcweir static const mso_CustomShape msoHomePlate =
1615cdf0e10cSrcweir {
1616cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHomePlateVert, sizeof( mso_sptHomePlateVert ) / sizeof( SvxMSDffVertPair ),
1617cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHomePlateSegm, sizeof( mso_sptHomePlateSegm ) >> 1,
1618cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptHomePlateCalc, sizeof( mso_sptHomePlateCalc ) / sizeof( SvxMSDffCalculationData ),
1619cdf0e10cSrcweir 	(sal_Int32*)mso_sptHomePlateDefault,
1620cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, sizeof( mso_sptHomePlateTextRect ) / sizeof( SvxMSDffTextRectangles ),
1621cdf0e10cSrcweir 	21600, 21600,
1622*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1623cdf0e10cSrcweir 	NULL, 0,
1624cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHomePlateHandle, sizeof( mso_sptHomePlateHandle ) / sizeof( SvxMSDffHandle )
1625cdf0e10cSrcweir };
1626cdf0e10cSrcweir 
1627cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptChevronVert[] =	// adjustment1 : x 0 - 21600
1628cdf0e10cSrcweir {
1629cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 21600, 10800 }, { 0 MSO_I, 21600 },
1630cdf0e10cSrcweir 	{ 0, 21600 }, { 1 MSO_I, 10800 }
1631cdf0e10cSrcweir };
1632cdf0e10cSrcweir static const sal_uInt16 mso_sptChevronSegm[] =
1633cdf0e10cSrcweir {
1634cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000
1635cdf0e10cSrcweir };
1636cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptChevronCalc[] =
1637cdf0e10cSrcweir {
1638cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1639cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } }
1640cdf0e10cSrcweir };
1641cdf0e10cSrcweir static const sal_Int32 mso_sptChevronDefault[] =
1642cdf0e10cSrcweir {
1643cdf0e10cSrcweir 	1, 16200
1644cdf0e10cSrcweir };
1645cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptChevronTextRect[] =	// todo
1646cdf0e10cSrcweir {
1647cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
1648cdf0e10cSrcweir };
1649cdf0e10cSrcweir static const SvxMSDffHandle mso_sptChevronHandle[] =
1650cdf0e10cSrcweir {
1651cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
1652*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 21600, Mx80000000, 0x7fffffff }
1653cdf0e10cSrcweir };
1654cdf0e10cSrcweir static const mso_CustomShape msoChevron =
1655cdf0e10cSrcweir {
1656cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptChevronVert, sizeof( mso_sptChevronVert ) / sizeof( SvxMSDffVertPair ),
1657cdf0e10cSrcweir 	(sal_uInt16*)mso_sptChevronSegm, sizeof( mso_sptChevronSegm ) >> 1,
1658cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptChevronCalc, sizeof( mso_sptChevronCalc ) / sizeof( SvxMSDffCalculationData ),
1659cdf0e10cSrcweir 	(sal_Int32*)mso_sptChevronDefault,
1660cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptChevronTextRect, sizeof( mso_sptChevronTextRect ) / sizeof( SvxMSDffTextRectangles ),
1661cdf0e10cSrcweir 	21600, 21600,
1662*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1663cdf0e10cSrcweir 	NULL, 0,
1664cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptChevronHandle, sizeof( mso_sptChevronHandle ) / sizeof( SvxMSDffHandle )
1665cdf0e10cSrcweir };
1666cdf0e10cSrcweir 
1667cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightArrowCalloutVert[] =	// adjustment1 : x 0 - 21000
1668cdf0e10cSrcweir {																// adjustment2 : y 0 - 10800
1669cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
1670cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 2 MSO_I, 4 MSO_I }, { 2 MSO_I, 5 MSO_I },
1671cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 0 MSO_I, 21600 }, { 0, 21600 }
1672cdf0e10cSrcweir };
1673cdf0e10cSrcweir static const sal_uInt16 mso_sptRightArrowCalloutSegm[] =
1674cdf0e10cSrcweir {
1675cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1676cdf0e10cSrcweir };
1677cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc[] =
1678cdf0e10cSrcweir {
1679cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1680cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1681cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1682cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1683cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1684cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1685cdf0e10cSrcweir };
1686cdf0e10cSrcweir static const sal_Int32 mso_sptRightArrowCalloutDefault[] =
1687cdf0e10cSrcweir {
1688cdf0e10cSrcweir 	4, 14400, 5400, 18000, 8100
1689cdf0e10cSrcweir };
1690cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] =
1691cdf0e10cSrcweir {
1692cdf0e10cSrcweir 	{ { 0, 0 }, { 0 MSO_I, 21600 } }
1693cdf0e10cSrcweir };
1694cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] =
1695cdf0e10cSrcweir {
1696cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1697*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 0x102, Mx80000000, 0x7fffffff },
1698cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1699cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 },
1700cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1701*e5cfc9caSHerbert Dürr 		1, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 0x103 }
1702cdf0e10cSrcweir };
1703cdf0e10cSrcweir static const mso_CustomShape msoRightArrowCallout =
1704cdf0e10cSrcweir {
1705cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightArrowCalloutVert, sizeof( mso_sptRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1706cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRightArrowCalloutSegm, sizeof( mso_sptRightArrowCalloutSegm ) >> 1,
1707cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRightArrowCalloutCalc, sizeof( mso_sptRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1708cdf0e10cSrcweir 	(sal_Int32*)mso_sptRightArrowCalloutDefault,
1709cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, sizeof( mso_sptRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1710cdf0e10cSrcweir 	21600, 21600,
1711*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1712cdf0e10cSrcweir 	NULL, 0,
1713cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, sizeof( mso_sptRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1714cdf0e10cSrcweir };
1715cdf0e10cSrcweir 
1716cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert[] =	// adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800
1717cdf0e10cSrcweir {																// adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800
1718cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I, 21600 },
1719cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 2 MSO_I, 4 MSO_I }, { 0, 10800 },
1720cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1721cdf0e10cSrcweir };
1722cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftArrowCalloutSegm[] =
1723cdf0e10cSrcweir {
1724cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1725cdf0e10cSrcweir };
1726cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc[] =
1727cdf0e10cSrcweir {
1728cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1729cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1730cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1731cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1732cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1733cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1734cdf0e10cSrcweir };
1735cdf0e10cSrcweir static const sal_Int32 mso_sptLeftArrowCalloutDefault[] =
1736cdf0e10cSrcweir {
1737cdf0e10cSrcweir 	4, 7200, 5400, 3600, 8100
1738cdf0e10cSrcweir };
1739cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] =
1740cdf0e10cSrcweir {
1741cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 21600, 21600 } }
1742cdf0e10cSrcweir };
1743cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] =
1744cdf0e10cSrcweir {
1745cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1746*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 21600, Mx80000000, 0x7fffffff },
1747cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1748cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
1749cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1750*e5cfc9caSHerbert Dürr 		0, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 0x103 }
1751cdf0e10cSrcweir };
1752cdf0e10cSrcweir static const mso_CustomShape msoLeftArrowCallout =
1753cdf0e10cSrcweir {
1754cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftArrowCalloutVert, sizeof( mso_sptLeftArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1755cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftArrowCalloutSegm, sizeof( mso_sptLeftArrowCalloutSegm ) >> 1,
1756cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftArrowCalloutCalc, sizeof( mso_sptLeftArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1757cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftArrowCalloutDefault,
1758cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, sizeof( mso_sptLeftArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1759cdf0e10cSrcweir 	21600, 21600,
1760*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1761cdf0e10cSrcweir 	NULL, 0,
1762cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, sizeof( mso_sptLeftArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1763cdf0e10cSrcweir };
1764cdf0e10cSrcweir 
1765cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpArrowCalloutVert[] =
1766cdf0e10cSrcweir {
1767cdf0e10cSrcweir 	{ 21600, 0 MSO_I }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I },
1768cdf0e10cSrcweir 	{ 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I }, { 10800, 0 },
1769cdf0e10cSrcweir 	{ 4 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 5 MSO_I, 0 MSO_I }
1770cdf0e10cSrcweir };
1771cdf0e10cSrcweir static const sal_uInt16 mso_sptUpArrowCalloutSegm[] =
1772cdf0e10cSrcweir {
1773cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1774cdf0e10cSrcweir };
1775cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc[] =
1776cdf0e10cSrcweir {
1777cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1778cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1779cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1780cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1781cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1782cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1783cdf0e10cSrcweir };
1784cdf0e10cSrcweir static const sal_Int32 mso_sptUpArrowCalloutDefault[] =
1785cdf0e10cSrcweir {
1786cdf0e10cSrcweir 	4, 7200, 5400, 3600, 8100
1787cdf0e10cSrcweir };
1788cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] =
1789cdf0e10cSrcweir {
1790cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 21600, 21600 } }
1791cdf0e10cSrcweir };
1792cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] =
1793cdf0e10cSrcweir {
1794cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1795*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0x102, 21600 },
1796cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1797cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
1798cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1799*e5cfc9caSHerbert Dürr 		0x101, 0, 10800, 10800, 0, 0x103, Mx80000000, 0x7fffffff }
1800cdf0e10cSrcweir };
1801cdf0e10cSrcweir static const mso_CustomShape msoUpArrowCallout =
1802cdf0e10cSrcweir {
1803cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpArrowCalloutVert, sizeof( mso_sptUpArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1804cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpArrowCalloutSegm, sizeof( mso_sptUpArrowCalloutSegm ) >> 1,
1805cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptUpArrowCalloutCalc, sizeof( mso_sptUpArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1806cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpArrowCalloutDefault,
1807cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, sizeof( mso_sptUpArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1808cdf0e10cSrcweir 	21600, 21600,
1809*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1810cdf0e10cSrcweir 	NULL, 0,
1811cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, sizeof( mso_sptUpArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1812cdf0e10cSrcweir };
1813cdf0e10cSrcweir 
1814cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDownArrowCalloutVert[] =
1815cdf0e10cSrcweir {
1816cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I },
1817cdf0e10cSrcweir 	{ 5 MSO_I, 0 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 4 MSO_I, 2 MSO_I }, { 10800, 21600 },
1818cdf0e10cSrcweir 	{ 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
1819cdf0e10cSrcweir };
1820cdf0e10cSrcweir static const sal_uInt16 mso_sptDownArrowCalloutSegm[] =
1821cdf0e10cSrcweir {
1822cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001,	0x8000
1823cdf0e10cSrcweir };
1824cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc[] =
1825cdf0e10cSrcweir {
1826cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1827cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1828cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1829cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1830cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1831cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1832cdf0e10cSrcweir };
1833cdf0e10cSrcweir static const sal_Int32 mso_sptDownArrowCalloutDefault[] =
1834cdf0e10cSrcweir {
1835cdf0e10cSrcweir 	4, 14400, 5400, 18000, 8100
1836cdf0e10cSrcweir };
1837cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] =
1838cdf0e10cSrcweir {
1839cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 0 MSO_I } }
1840cdf0e10cSrcweir };
1841cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] =
1842cdf0e10cSrcweir {
1843cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1844*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 0x102 },
1845cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1846cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 },
1847cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1848*e5cfc9caSHerbert Dürr 		0x101, 1, 10800, 10800, 0, 0x103, Mx80000000, 0x7fffffff }
1849cdf0e10cSrcweir };
1850cdf0e10cSrcweir static const mso_CustomShape msoDownArrowCallout =
1851cdf0e10cSrcweir {
1852cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDownArrowCalloutVert, sizeof( mso_sptDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1853cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDownArrowCalloutSegm, sizeof( mso_sptDownArrowCalloutSegm ) >> 1,
1854cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDownArrowCalloutCalc, sizeof( mso_sptDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1855cdf0e10cSrcweir 	(sal_Int32*)mso_sptDownArrowCalloutDefault,
1856cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, sizeof( mso_sptDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1857cdf0e10cSrcweir 	21600, 21600,
1858*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1859cdf0e10cSrcweir 	NULL, 0,
1860cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, sizeof( mso_sptDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1861cdf0e10cSrcweir };
1862cdf0e10cSrcweir 
1863cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert[] =
1864cdf0e10cSrcweir {
1865cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 4 MSO_I, 0 }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I },
1866cdf0e10cSrcweir 	{ 6 MSO_I, 1 MSO_I }, { 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I },
1867cdf0e10cSrcweir 	{ 4 MSO_I, 7 MSO_I }, { 4 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0 MSO_I, 7 MSO_I },
1868cdf0e10cSrcweir 	{ 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I }, { 0, 10800 }, { 2 MSO_I, 1 MSO_I },
1869cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1870cdf0e10cSrcweir };
1871cdf0e10cSrcweir static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm[] =
1872cdf0e10cSrcweir {
1873cdf0e10cSrcweir 	0x4000, 0x0011, 0x6001, 0x8000
1874cdf0e10cSrcweir };
1875cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc[] =
1876cdf0e10cSrcweir {
1877cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1878cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1879cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1880cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1881cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1882cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1883cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1884cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1885cdf0e10cSrcweir };
1886cdf0e10cSrcweir static const sal_Int32 mso_sptLeftRightArrowCalloutDefault[] =
1887cdf0e10cSrcweir {
1888cdf0e10cSrcweir 	4, 5400, 5500, 2700, 8100
1889cdf0e10cSrcweir };
1890cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] =
1891cdf0e10cSrcweir {
1892cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 4 MSO_I, 21600 } }
1893cdf0e10cSrcweir };
1894cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] =
1895cdf0e10cSrcweir {
1896cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
1897*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0x102, 10800, Mx80000000, 0x7fffffff },
1898cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1899cdf0e10cSrcweir 		0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
1900cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1901*e5cfc9caSHerbert Dürr 		0, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 0x103 }
1902cdf0e10cSrcweir };
1903cdf0e10cSrcweir static const mso_CustomShape msoLeftRightArrowCallout =
1904cdf0e10cSrcweir {
1905cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftRightArrowCalloutVert, sizeof( mso_sptLeftRightArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1906cdf0e10cSrcweir 	(sal_uInt16*)mso_sptLeftRightArrowCalloutSegm, sizeof( mso_sptLeftRightArrowCalloutSegm ) >> 1,
1907cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptLeftRightArrowCalloutCalc, sizeof( mso_sptLeftRightArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1908cdf0e10cSrcweir 	(sal_Int32*)mso_sptLeftRightArrowCalloutDefault,
1909cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, sizeof( mso_sptLeftRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1910cdf0e10cSrcweir 	21600, 21600,
1911*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1912cdf0e10cSrcweir 	NULL, 0,
1913cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, sizeof( mso_sptLeftRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1914cdf0e10cSrcweir };
1915cdf0e10cSrcweir 
1916cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert[] =
1917cdf0e10cSrcweir {
1918cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 0, 4 MSO_I }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 6 MSO_I },
1919cdf0e10cSrcweir 	{ 1 MSO_I, 6 MSO_I }, { 10800, 21600 }, { 5 MSO_I, 6 MSO_I }, { 7 MSO_I, 6 MSO_I },
1920cdf0e10cSrcweir 	{ 7 MSO_I, 4 MSO_I }, { 21600, 4 MSO_I }, { 21600, 0 MSO_I }, { 7 MSO_I, 0 MSO_I },
1921cdf0e10cSrcweir 	{ 7 MSO_I, 2 MSO_I }, { 5 MSO_I, 2 MSO_I }, { 10800, 0 }, { 1 MSO_I, 2 MSO_I },
1922cdf0e10cSrcweir 	{ 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 0 MSO_I }
1923cdf0e10cSrcweir };
1924cdf0e10cSrcweir static const sal_uInt16 mso_sptUpDownArrowCalloutSegm[] =
1925cdf0e10cSrcweir {
1926cdf0e10cSrcweir 	0x4000, 0x0011, 0x6001, 0x8000
1927cdf0e10cSrcweir };
1928cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc[] =
1929cdf0e10cSrcweir {
1930cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1931cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1932cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1933cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1934cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1935cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1936cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1937cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1938cdf0e10cSrcweir };
1939cdf0e10cSrcweir static const sal_Int32 mso_sptUpDownArrowCalloutDefault[] =
1940cdf0e10cSrcweir {
1941cdf0e10cSrcweir 	4, 5400, 5500, 2700, 8100
1942cdf0e10cSrcweir };
1943cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] =
1944cdf0e10cSrcweir {
1945cdf0e10cSrcweir 	{ { 0, 0 MSO_I }, { 21600, 4 MSO_I } }
1946cdf0e10cSrcweir };
1947cdf0e10cSrcweir static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] =
1948cdf0e10cSrcweir {
1949cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
1950*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0x102, 10800 },
1951cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
1952cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
1953cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
1954*e5cfc9caSHerbert Dürr 		0x101, 0, 10800, 10800, 0, 0x103, Mx80000000, 0x7fffffff }
1955cdf0e10cSrcweir };
1956cdf0e10cSrcweir static const mso_CustomShape msoUpDownArrowCallout =
1957cdf0e10cSrcweir {
1958cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptUpDownArrowCalloutVert, sizeof( mso_sptUpDownArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
1959cdf0e10cSrcweir 	(sal_uInt16*)mso_sptUpDownArrowCalloutSegm, sizeof( mso_sptUpDownArrowCalloutSegm ) >> 1,
1960cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptUpDownArrowCalloutCalc, sizeof( mso_sptUpDownArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
1961cdf0e10cSrcweir 	(sal_Int32*)mso_sptUpDownArrowCalloutDefault,
1962cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, sizeof( mso_sptUpDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
1963cdf0e10cSrcweir 	21600, 21600,
1964*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
1965cdf0e10cSrcweir 	NULL, 0,
1966cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, sizeof( mso_sptUpDownArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
1967cdf0e10cSrcweir };
1968cdf0e10cSrcweir 
1969cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert[] =
1970cdf0e10cSrcweir {
1971cdf0e10cSrcweir 	{ 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
1972cdf0e10cSrcweir 	{ 10800, 0 }, { 5 MSO_I, 2 MSO_I }, { 7 MSO_I, 2 MSO_I }, { 7 MSO_I, 0 MSO_I },
1973cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I }, { 4 MSO_I, 3 MSO_I }, { 6 MSO_I, 3 MSO_I }, { 6 MSO_I, 1 MSO_I },
1974cdf0e10cSrcweir 	{ 21600, 10800 }, { 6 MSO_I, 5 MSO_I }, { 6 MSO_I, 7 MSO_I }, { 4 MSO_I, 7 MSO_I },
1975cdf0e10cSrcweir 	{ 4 MSO_I, 4 MSO_I }, { 7 MSO_I, 4 MSO_I }, { 7 MSO_I, 6 MSO_I }, { 5 MSO_I, 6 MSO_I },
1976cdf0e10cSrcweir 	{ 10800, 21600 }, { 1 MSO_I, 6 MSO_I }, { 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 4 MSO_I },
1977cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I }, { 0 MSO_I, 7 MSO_I }, { 2 MSO_I, 7 MSO_I }, { 2 MSO_I, 5 MSO_I },
1978cdf0e10cSrcweir 	{ 0, 10800 }, { 2 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 0 MSO_I, 3 MSO_I }
1979cdf0e10cSrcweir };
1980cdf0e10cSrcweir static const sal_uInt16 mso_sptQuadArrowCalloutSegm[] =
1981cdf0e10cSrcweir {
1982cdf0e10cSrcweir 	0x4000, 0x001f, 0x6001, 0x8000
1983cdf0e10cSrcweir };
1984cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc[] =
1985cdf0e10cSrcweir {
1986cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
1987cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
1988cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
1989cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
1990cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0400 } },
1991cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0401 } },
1992cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
1993cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0403 } }
1994cdf0e10cSrcweir };
1995cdf0e10cSrcweir static const sal_Int32 mso_sptQuadArrowCalloutDefault[] =
1996cdf0e10cSrcweir {
1997cdf0e10cSrcweir 	4, 5400, 8100, 2700, 9400
1998cdf0e10cSrcweir };
1999cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] =
2000cdf0e10cSrcweir {
2001cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 4 MSO_I, 4 MSO_I } }
2002cdf0e10cSrcweir };
2003cdf0e10cSrcweir static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] =
2004cdf0e10cSrcweir {
2005cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
2006*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0x102, 0x101 },
2007cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
2008*e5cfc9caSHerbert Dürr 		0x101, 0, 10800, 10800, 0x100, 10800, Mx80000000, 0x7fffffff },
2009cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
2010cdf0e10cSrcweir 		0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }
2011cdf0e10cSrcweir };
2012cdf0e10cSrcweir static const mso_CustomShape msoQuadArrowCallout =
2013cdf0e10cSrcweir {
2014cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptQuadArrowCalloutVert, sizeof( mso_sptQuadArrowCalloutVert ) / sizeof( SvxMSDffVertPair ),
2015cdf0e10cSrcweir 	(sal_uInt16*)mso_sptQuadArrowCalloutSegm, sizeof( mso_sptQuadArrowCalloutSegm ) >> 1,
2016cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptQuadArrowCalloutCalc, sizeof( mso_sptQuadArrowCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
2017cdf0e10cSrcweir 	(sal_Int32*)mso_sptQuadArrowCalloutDefault,
2018cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, sizeof( mso_sptQuadArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
2019cdf0e10cSrcweir 	21600, 21600,
2020*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
2021cdf0e10cSrcweir 	NULL, 0,
2022cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, sizeof( mso_sptQuadArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
2023cdf0e10cSrcweir };
2024cdf0e10cSrcweir 
2025cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCircularArrowVert[] =
2026cdf0e10cSrcweir {
2027cdf0e10cSrcweir 	{ 0x03 MSO_I, 0x03 MSO_I },
2028cdf0e10cSrcweir 	{ 0x14 MSO_I, 0x14 MSO_I },
2029cdf0e10cSrcweir 	{ 0x13 MSO_I, 0x12 MSO_I },
2030cdf0e10cSrcweir 	{ 0x11 MSO_I, 0x10 MSO_I },
2031cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 },
2032cdf0e10cSrcweir 	{ 0x09 MSO_I, 0x08 MSO_I },
2033cdf0e10cSrcweir 	{ 0x0B MSO_I, 0x0A MSO_I },
2034cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x17 MSO_I },
2035cdf0e10cSrcweir 	{ 0x2F MSO_I, 0x2E MSO_I },
2036cdf0e10cSrcweir 	{ 0x1D MSO_I, 0x1C MSO_I }
2037cdf0e10cSrcweir };
2038cdf0e10cSrcweir static const sal_uInt16 mso_sptCircularArrowSegm[] =
2039cdf0e10cSrcweir {
2040cdf0e10cSrcweir 	0xa404, 0xa504, 0x0003, 0x6001, 0x8000
2041cdf0e10cSrcweir };
2042cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCircularArrowCalc[] =
2043cdf0e10cSrcweir {
2044cdf0e10cSrcweir 	{ 0x2000, { 0x0147, 0x0000, 0x0000 } },
2045cdf0e10cSrcweir 	{ 0x2000, { 0x0148, 0x0000, 0x0000 } },
2046cdf0e10cSrcweir 	{ 0x2000, { 0x0149, 0x0000, 0x0000 } },
2047cdf0e10cSrcweir 	{ 0x4000, { 0x2A30, 0x0149, 0x0000 } },
2048cdf0e10cSrcweir 	{ 0x4009, { 0x2A30, 0x0147, 0x0000 } },
2049cdf0e10cSrcweir 	{ 0x400A, { 0x2A30, 0x0147, 0x0000 } },
2050cdf0e10cSrcweir 	{ 0x4009, { 0x2A30, 0x0148, 0x0000 } },
2051cdf0e10cSrcweir 	{ 0x400A, { 0x2A30, 0x0148, 0x0000 } },
2052cdf0e10cSrcweir 	{ 0x2000, { 0x0404, 0x2A30, 0x0000 } },
2053cdf0e10cSrcweir 	{ 0x2000, { 0x0405, 0x2A30, 0x0000 } },
2054cdf0e10cSrcweir 	{ 0x2000, { 0x0406, 0x2A30, 0x0000 } },
2055cdf0e10cSrcweir 	{ 0x2000, { 0x0407, 0x2A30, 0x0000 } },
2056cdf0e10cSrcweir 	{ 0x6009, { 0x0403, 0x0147, 0x0000 } },
2057cdf0e10cSrcweir 	{ 0x600A, { 0x0403, 0x0147, 0x0000 } },
2058cdf0e10cSrcweir 	{ 0x6009, { 0x0403, 0x0148, 0x0000 } },
2059cdf0e10cSrcweir 	{ 0x600A, { 0x0403, 0x0148, 0x0000 } },
2060cdf0e10cSrcweir 	{ 0x2000, { 0x040C, 0x2A30, 0x0000 } },
2061cdf0e10cSrcweir 	{ 0x2000, { 0x040D, 0x2A30, 0x0000 } },
2062cdf0e10cSrcweir 	{ 0x2000, { 0x040E, 0x2A30, 0x0000 } },
2063cdf0e10cSrcweir 	{ 0x2000, { 0x040F, 0x2A30, 0x0000 } },
2064cdf0e10cSrcweir 	{ 0x8000, { 0x5460, 0x0000, 0x0403 } },
2065cdf0e10cSrcweir 	{ 0x4009, { 0x34BC, 0x0148, 0x0000 } },
2066cdf0e10cSrcweir 	{ 0x400A, { 0x34BC, 0x0148, 0x0000 } },
2067cdf0e10cSrcweir 	{ 0x2000, { 0x0415, 0x2A30, 0x0000 } },
2068cdf0e10cSrcweir 	{ 0x2000, { 0x0416, 0x2A30, 0x0000 } },
2069cdf0e10cSrcweir 	{ 0x2000, { 0x0149, 0x0000, 0x0A8C } },
2070cdf0e10cSrcweir 	{ 0x6009, { 0x0419, 0x0148, 0x0000 } },
2071cdf0e10cSrcweir 	{ 0x600A, { 0x0419, 0x0148, 0x0000 } },
2072cdf0e10cSrcweir 	{ 0x2000, { 0x041A, 0x2A30, 0x0000 } },
2073cdf0e10cSrcweir 	{ 0x2000, { 0x041B, 0x2A30, 0x0000 } },
2074cdf0e10cSrcweir 	{ 0xA000, { 0x041D, 0x0000, 0x0418 } },
2075cdf0e10cSrcweir 	{ 0xA000, { 0x041D, 0x0000, 0x0418 } },
2076cdf0e10cSrcweir 	{ 0x6001, { 0x041E, 0x041F, 0x0001 } },
2077cdf0e10cSrcweir 	{ 0xA000, { 0x041C, 0x0000, 0x0417 } },
2078cdf0e10cSrcweir 	{ 0xA000, { 0x041C, 0x0000, 0x0417 } },
2079cdf0e10cSrcweir 	{ 0x6001, { 0x0421, 0x0422, 0x0001 } },
2080cdf0e10cSrcweir 	{ 0x6000, { 0x0420, 0x0423, 0x0000 } },
2081cdf0e10cSrcweir 	{ 0x200D, { 0x0424, 0x0000, 0x0000 } },
2082cdf0e10cSrcweir 	{ 0x200E, { 0x0148, 0x002D, 0x0000 } },
2083cdf0e10cSrcweir 	{ 0x6009, { 0x0425, 0x0426, 0x0000 } },
2084cdf0e10cSrcweir 	{ 0x200E, { 0x0148, 0x002D, 0x0000 } },
2085cdf0e10cSrcweir 	{ 0x600A, { 0x0425, 0x0428, 0x0000 } },
2086cdf0e10cSrcweir 	{ 0x000E, { 0x0000, 0x002D, 0x0000 } },
2087cdf0e10cSrcweir 	{ 0x6009, { 0x0427, 0x042A, 0x0000 } },
2088cdf0e10cSrcweir 	{ 0x000E, { 0x0000, 0x002D, 0x0000 } },
2089cdf0e10cSrcweir 	{ 0x6009, { 0x0429, 0x042C, 0x0000 } },
2090cdf0e10cSrcweir 	{ 0x6000, { 0x041C, 0x042B, 0x0000 } },
2091cdf0e10cSrcweir 	{ 0x6000, { 0x041D, 0x042D, 0x0000 } }
2092cdf0e10cSrcweir };
2093cdf0e10cSrcweir static const sal_Int32 mso_sptCircularArrowDefault[] =
2094cdf0e10cSrcweir {
2095cdf0e10cSrcweir 	3, 180, 0, 5500
2096cdf0e10cSrcweir };
2097cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] =	// todo
2098cdf0e10cSrcweir {
2099cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
2100cdf0e10cSrcweir };
2101cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCircularArrowHandle[] =
2102cdf0e10cSrcweir {
2103cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
2104*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 10800, 10800, -0x00b40000, +0x00b40000 },
2105cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
2106*e5cfc9caSHerbert Dürr 		0x102, 0x101, 10800, 10800, 0, 10800, -0x00b40000, +0x00b40000 }
2107cdf0e10cSrcweir };
2108cdf0e10cSrcweir static const mso_CustomShape msoCircularArrow =
2109cdf0e10cSrcweir {
2110cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCircularArrowVert, sizeof( mso_sptCircularArrowVert ) / sizeof( SvxMSDffVertPair ),
2111cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCircularArrowSegm, sizeof( mso_sptCircularArrowSegm ) >> 1,
2112cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCircularArrowCalc, sizeof( mso_sptCircularArrowCalc ) / sizeof( SvxMSDffCalculationData ),
2113cdf0e10cSrcweir 	(sal_Int32*)mso_sptCircularArrowDefault,
2114cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, sizeof( mso_sptCircularArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
2115cdf0e10cSrcweir 	21600, 21600,
2116*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
2117cdf0e10cSrcweir 	NULL, 0,
2118cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCircularArrowHandle, sizeof( mso_sptCircularArrowHandle ) / sizeof( SvxMSDffHandle )		// handles
2119cdf0e10cSrcweir };
2120cdf0e10cSrcweir 
2121cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeVert[] =
2122cdf0e10cSrcweir {
2123cdf0e10cSrcweir 	{ 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 },
2124cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 2 MSO_I, 0 },	{ 11 MSO_I, 0 }, { 4 MSO_I, 1 MSO_I },
2125cdf0e10cSrcweir 	{ 4 MSO_I, 12 MSO_I  }, { 4 MSO_I, 1 MSO_I },	{ 11 MSO_I, 0 }, { 11 MSO_I, 3 MSO_I }
2126cdf0e10cSrcweir };
2127cdf0e10cSrcweir static const sal_uInt16 mso_sptCubeSegm[] =
2128cdf0e10cSrcweir {
2129cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000,
2130cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2131cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2132cdf0e10cSrcweir };
2133cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCubeCalc[] =
2134cdf0e10cSrcweir {
2135cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2136cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
2137cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x400, 0 } },
2138cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
2139cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2140cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x402 } },	// 5
2141cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },					// 6
2142cdf0e10cSrcweir 	{ 0x6000, { 0x402, 0x406, 0 } },				// 7
2143cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },	// 8
2144cdf0e10cSrcweir 	{ 0x2001, { 0x408, 1, 2 } },					// 9
2145cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x409, 0 } },				// 10
2146cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 0 } },		// 11
2147cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom, 0, 0 } }		// 12
2148cdf0e10cSrcweir };
2149cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCubeTextRect[] =
2150cdf0e10cSrcweir {
2151cdf0e10cSrcweir 	{ { 0, 1 MSO_I }, { 4 MSO_I, 12 MSO_I } }
2152cdf0e10cSrcweir };
2153cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCubeHandle[] =
2154cdf0e10cSrcweir {
2155cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2156*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 21600 }
2157cdf0e10cSrcweir };
2158cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCubeGluePoints[] =
2159cdf0e10cSrcweir {
2160cdf0e10cSrcweir 	{ 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 }
2161cdf0e10cSrcweir };
2162cdf0e10cSrcweir static const mso_CustomShape msoCube =
2163cdf0e10cSrcweir {
2164cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCubeVert, sizeof( mso_sptCubeVert ) / sizeof( SvxMSDffVertPair ),
2165cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCubeSegm, sizeof( mso_sptCubeSegm ) >> 1,
2166cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCubeCalc, sizeof( mso_sptCubeCalc ) / sizeof( SvxMSDffCalculationData ),
2167cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
2168cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCubeTextRect, sizeof( mso_sptCubeTextRect ) / sizeof( SvxMSDffTextRectangles ),
2169cdf0e10cSrcweir 	21600, 21600,
2170cdf0e10cSrcweir 	10800, 10800,
2171cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCubeGluePoints, sizeof( mso_sptCubeGluePoints ) / sizeof( SvxMSDffVertPair ),
2172cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCubeHandle, sizeof( mso_sptCubeHandle ) / sizeof( SvxMSDffHandle )
2173cdf0e10cSrcweir };
2174cdf0e10cSrcweir 
2175cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBevelVert[] =
2176cdf0e10cSrcweir {
2177cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2178cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
2179cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
2180cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2181cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
2182cdf0e10cSrcweir };
2183cdf0e10cSrcweir static const sal_uInt16 mso_sptBevelSegm[] =
2184cdf0e10cSrcweir {
2185cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2186cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2187cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2188cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2189cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2190cdf0e10cSrcweir };
2191cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBevelCalc[] =
2192cdf0e10cSrcweir {
2193cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
2194cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2195cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
2196cdf0e10cSrcweir };
2197cdf0e10cSrcweir 
2198cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBevelTextRect[] =
2199cdf0e10cSrcweir {
2200cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
2201cdf0e10cSrcweir };
2202cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBevelHandle[] =
2203cdf0e10cSrcweir {
2204cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2205*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
2206cdf0e10cSrcweir };
2207cdf0e10cSrcweir static const mso_CustomShape msoBevel =
2208cdf0e10cSrcweir {
2209cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBevelVert, sizeof( mso_sptBevelVert ) / sizeof( SvxMSDffVertPair ),
2210cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBevelSegm, sizeof( mso_sptBevelSegm ) >> 1,
2211cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBevelCalc, sizeof( mso_sptBevelCalc ) / sizeof( SvxMSDffCalculationData ),
2212cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
2213cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBevelTextRect, sizeof( mso_sptBevelTextRect ) / sizeof( SvxMSDffTextRectangles ),
2214cdf0e10cSrcweir 	21600, 21600,
2215cdf0e10cSrcweir 	10800, 10800,
2216cdf0e10cSrcweir 	NULL, 0,
2217cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBevelHandle, sizeof( mso_sptBevelHandle ) / sizeof( SvxMSDffHandle )
2218cdf0e10cSrcweir };
2219cdf0e10cSrcweir 
2220cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFoldedCornerVert[] =	// adjustment1 : x 10800 - 21600
2221cdf0e10cSrcweir {
2222cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I }, { 0 MSO_I, 21600 },
2223cdf0e10cSrcweir 	{ 0, 21600 }, { 0 MSO_I, 21600 }, { 3 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I },
2224cdf0e10cSrcweir 	{ 10 MSO_I, 11 MSO_I }, { 21600, 0 MSO_I }
2225cdf0e10cSrcweir };
2226cdf0e10cSrcweir static const sal_uInt16 mso_sptFoldedCornerSegm[] =
2227cdf0e10cSrcweir {
2228cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000,
2229cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x6001, 0x8000
2230cdf0e10cSrcweir };
2231cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFoldedCornerCalc[] =
2232cdf0e10cSrcweir {
2233cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2234cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
2235cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 8000, 10800 } },
2236cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0402 } },
2237cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 2 } },
2238cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 4 } },
2239cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 7 } },
2240cdf0e10cSrcweir 	{ 0x2001, { 0x0401, 1, 16 } },
2241cdf0e10cSrcweir 	{ 0x6000, { 0x0403, 0x405, 0 } },
2242cdf0e10cSrcweir 	{ 0x6000, { 0x0400, 0x406, 0 } },
2243cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },
2244cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x407, 0 } }
2245cdf0e10cSrcweir };
2246cdf0e10cSrcweir static const sal_Int32 mso_sptFoldedCornerDefault[] =
2247cdf0e10cSrcweir {
2248cdf0e10cSrcweir 	1, 18900
2249cdf0e10cSrcweir };
2250cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] =
2251cdf0e10cSrcweir {
2252cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 11 MSO_I } }
2253cdf0e10cSrcweir };
2254cdf0e10cSrcweir static const SvxMSDffHandle mso_sptFoldedCornerHandle[] =
2255cdf0e10cSrcweir {
2256cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
2257*e5cfc9caSHerbert Dürr 		0x100, 1, 10800, 10800, 10800, 21600, Mx80000000, 0x7fffffff }
2258cdf0e10cSrcweir };
2259cdf0e10cSrcweir static const mso_CustomShape msoFoldedCorner =
2260cdf0e10cSrcweir {
2261cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFoldedCornerVert, sizeof( mso_sptFoldedCornerVert ) / sizeof( SvxMSDffVertPair ),
2262cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFoldedCornerSegm, sizeof( mso_sptFoldedCornerSegm ) >> 1,
2263cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptFoldedCornerCalc, sizeof( mso_sptFoldedCornerCalc ) / sizeof( SvxMSDffCalculationData ),
2264cdf0e10cSrcweir 	(sal_Int32*)mso_sptFoldedCornerDefault,
2265cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, sizeof( mso_sptFoldedCornerTextRect ) / sizeof( SvxMSDffTextRectangles ),
2266cdf0e10cSrcweir 	21600, 21600,
2267*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
2268cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
2269cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptFoldedCornerHandle, sizeof( mso_sptFoldedCornerHandle ) / sizeof( SvxMSDffHandle )
2270cdf0e10cSrcweir };
2271cdf0e10cSrcweir 
2272cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBlankVert[] =
2273cdf0e10cSrcweir {
2274cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2275cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 1 MSO_I, 0 MSO_I }, { 0 MSO_I, 0 MSO_I },
2276cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 0 MSO_I },
2277cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 0 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2278cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 0 MSO_I, 0 MSO_I }, { 0 MSO_I, 2 MSO_I }
2279cdf0e10cSrcweir };
2280cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBlankSegm[] =
2281cdf0e10cSrcweir {
2282cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2283cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2284cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2285cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2286cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2287cdf0e10cSrcweir };
2288cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc[] =
2289cdf0e10cSrcweir {
2290cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 21599, 21600 } },
2291cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
2292cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
2293cdf0e10cSrcweir };
2294cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] =
2295cdf0e10cSrcweir {
2296cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 2 MSO_I } }
2297cdf0e10cSrcweir };
2298cdf0e10cSrcweir static const SvxMSDffHandle mso_sptButtonHandle[] =
2299cdf0e10cSrcweir {
2300cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
2301*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 5400, Mx80000000, 0x7fffffff }
2302cdf0e10cSrcweir };
2303cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBlank =
2304cdf0e10cSrcweir {
2305cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBlankVert, sizeof( mso_sptActionButtonBlankVert ) / sizeof( SvxMSDffVertPair ),
2306cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBlankSegm, sizeof( mso_sptActionButtonBlankSegm ) >> 1,
2307cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBlankCalc, sizeof( mso_sptActionButtonBlankCalc ) / sizeof( SvxMSDffCalculationData ),
2308cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2309cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonBlankTextRect, sizeof( mso_sptActionButtonBlankTextRect ) / sizeof( SvxMSDffTextRectangles ),
2310cdf0e10cSrcweir 	21600, 21600,
2311cdf0e10cSrcweir 	10800, 10800,
2312cdf0e10cSrcweir 	NULL, 0,
2313cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2314cdf0e10cSrcweir };
2315cdf0e10cSrcweir 
2316cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptActionButtonTextRect[] =
2317cdf0e10cSrcweir {
2318cdf0e10cSrcweir 	{ { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
2319cdf0e10cSrcweir };
2320cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHomeVert[] =
2321cdf0e10cSrcweir {
2322cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2323cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2324cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2325cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2326cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2327cdf0e10cSrcweir 
2328cdf0e10cSrcweir 	{ 7 MSO_I, 0xa MSO_I }, { 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },
2329cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x14 MSO_I }, { 0x16 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
2330cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x1a MSO_I },	{ 0x1c MSO_I, 8 MSO_I }, { 0x1e MSO_I, 8 MSO_I },
2331cdf0e10cSrcweir 
2332cdf0e10cSrcweir 	{ 0xc MSO_I, 0xe MSO_I }, { 0xc MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I },{ 0x12 MSO_I, 0x14 MSO_I },
2333cdf0e10cSrcweir 
2334cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x24 MSO_I }, { 0x22 MSO_I, 0x1a MSO_I }, { 0x18 MSO_I, 0x1a MSO_I },
2335cdf0e10cSrcweir 	{ 0x18 MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x20 MSO_I, 0x1a MSO_I }
2336cdf0e10cSrcweir 
2337cdf0e10cSrcweir };
2338cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHomeSegm[] =
2339cdf0e10cSrcweir {
2340cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2341cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2342cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2343cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2344cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2345cdf0e10cSrcweir 	0x4000, 0x000a, 0x6001, 0x8000,
2346cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2347cdf0e10cSrcweir 	0x4000, 0x0007, 0x6001, 0x8000
2348cdf0e10cSrcweir };
2349cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc[] =	// adj value 0 - 5400
2350cdf0e10cSrcweir {
2351cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2352cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2353cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2354cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2355cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2356cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2357cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },							// scaling	 6
2358cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2359cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2360cdf0e10cSrcweir 
2361cdf0e10cSrcweir 	{ 0x4001, { -8000, 0x0406, 1 } },	// 9
2362cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0408, 0 } },	// a
2363cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// b
2364cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0407, 0 } },	// c
2365cdf0e10cSrcweir 	{ 0x4001, { -5000, 0x0406, 1 } },	// d
2366cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0408, 0 } },	// e
2367cdf0e10cSrcweir 	{ 0x4001, { -7000, 0x0406, 1 } },	// f
2368cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2369cdf0e10cSrcweir 	{ 0x4001, { 5000, 0x0406, 1 } },	// 11
2370cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2371cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 13
2372cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2373cdf0e10cSrcweir 	{ 0x4001, { 8000, 0x0406, 1 } },	// 15
2374cdf0e10cSrcweir 	{ 0x6000, { 0x0415,0x0407, 0 } },	// 16
2375cdf0e10cSrcweir 	{ 0x4001, { 6100, 0x0406, 1 } },	// 17
2376cdf0e10cSrcweir 	{ 0x6000, { 0x0417,0x0407, 0 } },	// 18
2377cdf0e10cSrcweir 	{ 0x4001, { 8260, 0x0406, 1 } },	// 19
2378cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0408, 0 } },	// 1a
2379cdf0e10cSrcweir 	{ 0x4001, { -6100, 0x0406, 1 } },	// 1b
2380cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2381cdf0e10cSrcweir 	{ 0x4001, { -8000, 0x0406, 1 } },	// 1d
2382cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2383cdf0e10cSrcweir 	{ 0x4001, { -1060, 0x0406, 1 } },	// 1f
2384cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
2385cdf0e10cSrcweir 	{ 0x4001, { 1060, 0x0406, 1 } },	// 21
2386cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2387cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 23
2388cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } }	// 24
2389cdf0e10cSrcweir 
2390cdf0e10cSrcweir };
2391cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHome =
2392cdf0e10cSrcweir {
2393cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonHomeVert, sizeof( mso_sptActionButtonHomeVert ) / sizeof( SvxMSDffVertPair ),
2394cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonHomeSegm, sizeof( mso_sptActionButtonHomeSegm ) >> 1,
2395cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonHomeCalc, sizeof( mso_sptActionButtonHomeCalc ) / sizeof( SvxMSDffCalculationData ),
2396cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2397cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2398cdf0e10cSrcweir 	21600, 21600,
2399cdf0e10cSrcweir 	10800, 10800,
2400cdf0e10cSrcweir 	NULL, 0,
2401cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2402cdf0e10cSrcweir };
2403cdf0e10cSrcweir 
2404cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonHelpVert[] =
2405cdf0e10cSrcweir {
2406cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2407cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2408cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2409cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2410cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I,4 MSO_I },
2411cdf0e10cSrcweir 	{ 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 },
2412cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x14 MSO_I }, { 0x12 MSO_I, 0x16 MSO_I },								// pp
2413cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x18 MSO_I },	{ 0x1a MSO_I, 8 MSO_I }, { 0x1c MSO_I, 8 MSO_I },		// ccp
2414cdf0e10cSrcweir 	{ 0x1e MSO_I, 8 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x20 MSO_I, 0x24 MSO_I },	// ccp
2415cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x26 MSO_I }, { 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },	// ccp
2416cdf0e10cSrcweir 	{ 0x2c MSO_I, 0x2a MSO_I }, { 0x2e MSO_I, 0x26 MSO_I }, { 0x2e MSO_I, 0x24 MSO_I },	// ccp
2417cdf0e10cSrcweir 	{ 0x30 MSO_I, 0x24 MSO_I }, { 0x30 MSO_I, 0x32 MSO_I }, { 0x34 MSO_I, 0x36 MSO_I },	// ccp
2418cdf0e10cSrcweir 	{ 7 MSO_I, 0x36 MSO_I },															// p
2419cdf0e10cSrcweir 	{ 0x12 MSO_I, 0x36 MSO_I }, { 0x1c MSO_I, 0x32 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I },	// ccp
2420cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x38 MSO_I }, { 0x3a MSO_I, 0x3c MSO_I }, { 0x12 MSO_I, 0x3c MSO_I },	// ccp
2421cdf0e10cSrcweir 	{ 7 MSO_I, 0x3c MSO_I }, { 0x34 MSO_I, 8 MSO_I }, { 0x34 MSO_I, 0x16 MSO_I },		// ccp
2422cdf0e10cSrcweir 	{ 0x34 MSO_I, 0x14 MSO_I }
2423cdf0e10cSrcweir };
2424cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonHelpSegm[] =
2425cdf0e10cSrcweir {
2426cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2427cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2428cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2429cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2430cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2431cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2432cdf0e10cSrcweir 	0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000
2433cdf0e10cSrcweir };
2434cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc[] =	// adj value 0 - 5400
2435cdf0e10cSrcweir {
2436cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2437cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2438cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2439cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2440cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2441cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2442cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2443cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2444cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2445cdf0e10cSrcweir 
2446cdf0e10cSrcweir 	{ 0x4001, { -1690, 0x0406, 1 } },	// 9
2447cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2448cdf0e10cSrcweir 	{ 0x4001, { 4600, 0x0406, 1 } },	// b
2449cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2450cdf0e10cSrcweir 	{ 0x4001, { 1690, 0x0406, 1 } },	// d
2451cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2452cdf0e10cSrcweir 	{ 0x4001, { 7980, 0x0406, 1 } },	// f
2453cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2454cdf0e10cSrcweir 	{ 0x4001, { 1270, 0x0406, 1 } },	// 11
2455cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2456cdf0e10cSrcweir 	{ 0x4001, { 4000, 0x0406, 1 } },	// 13
2457cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2458cdf0e10cSrcweir 	{ 0x4001, { 1750, 0x0406, 1 } },	// 15
2459cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2460cdf0e10cSrcweir 	{ 0x4001, { 800, 0x0406, 1 } },		// 17
2461cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
2462cdf0e10cSrcweir 	{ 0x4001, { 1650, 0x0406, 1 } },	// 19
2463cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2464cdf0e10cSrcweir 	{ 0x4001, { 2340, 0x0406, 1 } },	// 1b
2465cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2466cdf0e10cSrcweir 	{ 0x4001, { 3640, 0x0406, 1 } },	// 1d
2467cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2468cdf0e10cSrcweir 	{ 0x4001, { 4670, 0x0406, 1 } },	// 1f
2469cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
2470cdf0e10cSrcweir 	{ 0x4001, { -1570, 0x0406, 1 } },	// 21
2471cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0408, 0 } },	// 22
2472cdf0e10cSrcweir 	{ 0x4001, { -3390, 0x0406, 1 } },	// 23
2473cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
2474cdf0e10cSrcweir 	{ 0x4001, { -6050, 0x0406, 1 } },	// 25
2475cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
2476cdf0e10cSrcweir 	{ 0x4001, { 2540, 0x0406, 1 } },	// 27
2477cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0407, 0 } },	// 28
2478cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 29
2479cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2480cdf0e10cSrcweir 	{ 0x4001, { -2540, 0x0406, 1 } },	// 2b
2481cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0407, 0 } },	// 2c
2482cdf0e10cSrcweir 	{ 0x4001, { -4460, 0x0406, 1 } },	// 2d
2483cdf0e10cSrcweir 	{ 0x6000, { 0x042d, 0x0407, 0 } },	// 2e
2484cdf0e10cSrcweir 	{ 0x4001, { -2330, 0x0406, 1 } },	// 2f
2485cdf0e10cSrcweir 	{ 0x6000, { 0x042f, 0x0407, 0 } },	// 30
2486cdf0e10cSrcweir 	{ 0x4001, { -4700, 0x0406, 1 } },	// 31
2487cdf0e10cSrcweir 	{ 0x6000, { 0x0431, 0x0408, 0 } },	// 32
2488cdf0e10cSrcweir 	{ 0x4001, { -1270, 0x0406, 1 } },	// 33
2489cdf0e10cSrcweir 	{ 0x6000, { 0x0433, 0x0407, 0 } },	// 34
2490cdf0e10cSrcweir 	{ 0x4001, { -5720, 0x0406, 1 } },	// 35
2491cdf0e10cSrcweir 	{ 0x6000, { 0x0435, 0x0408, 0 } },	// 36
2492cdf0e10cSrcweir 	{ 0x4001, { -2540, 0x0406, 1 } },	// 37
2493cdf0e10cSrcweir 	{ 0x6000, { 0x0437, 0x0408, 0 } },	// 38
2494cdf0e10cSrcweir 	{ 0x4001, { 1800, 0x0406, 1 } },	// 39
2495cdf0e10cSrcweir 	{ 0x6000, { 0x0439, 0x0407, 0 } },	// 3a
2496cdf0e10cSrcweir 	{ 0x4001, { -1700, 0x0406, 1 } },	// 3b
2497cdf0e10cSrcweir 	{ 0x6000, { 0x043b, 0x0408, 0 } },	// 3c
2498cdf0e10cSrcweir 	{ 0x4001, { 6290, 0x0406, 1 } },	// 3d
2499cdf0e10cSrcweir 	{ 0x6000, { 0x043d, 0x0408, 0 } }	// 3e
2500cdf0e10cSrcweir };
2501cdf0e10cSrcweir static const mso_CustomShape msoActionButtonHelp =
2502cdf0e10cSrcweir {
2503cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonHelpVert, sizeof( mso_sptActionButtonHelpVert ) / sizeof( SvxMSDffVertPair ),
2504cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonHelpSegm, sizeof( mso_sptActionButtonHelpSegm ) >> 1,
2505cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonHelpCalc, sizeof( mso_sptActionButtonHelpCalc ) / sizeof( SvxMSDffCalculationData ),
2506cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2507cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2508cdf0e10cSrcweir 	21600, 21600,
2509cdf0e10cSrcweir 	10800, 10800,
2510cdf0e10cSrcweir 	NULL, 0,
2511cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2512cdf0e10cSrcweir };
2513cdf0e10cSrcweir 
2514cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonInformationVert[] =
2515cdf0e10cSrcweir {
2516cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2517cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2518cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2519cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2520cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2521cdf0e10cSrcweir 	{ 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 },
2522cdf0e10cSrcweir 	{ 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 },
2523cdf0e10cSrcweir 	{ 0x1a MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x1c MSO_I }, { 0x1e MSO_I, 0x20 MSO_I }, { 0x22 MSO_I, 0x20 MSO_I },
2524cdf0e10cSrcweir 	{ 0x22 MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x24 MSO_I }, { 0x1a MSO_I, 0x20 MSO_I }, { 0x26 MSO_I, 0x20 MSO_I },
2525cdf0e10cSrcweir 	{ 0x26 MSO_I, 0x28 MSO_I }, { 0x1a MSO_I, 0x28 MSO_I }
2526cdf0e10cSrcweir };
2527cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonInformationSegm[] =
2528cdf0e10cSrcweir {
2529cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2530cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2531cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2532cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2533cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2534cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2535cdf0e10cSrcweir 	0x4000, 0xa704, 0x6000, 0x8000,
2536cdf0e10cSrcweir 	0x4000, 0x0009, 0x6001, 0x8000
2537cdf0e10cSrcweir };
2538cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc[] =	// adj value 0 - 5400
2539cdf0e10cSrcweir {
2540cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2541cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2542cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2543cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2544cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2545cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2546cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2547cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2548cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2549cdf0e10cSrcweir 
2550cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2551cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2552cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2553cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2554cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2555cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2556cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2557cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2558cdf0e10cSrcweir 
2559cdf0e10cSrcweir 	{ 0x4001, { -2060, 0x0406, 1 } },	// 11
2560cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2561cdf0e10cSrcweir 	{ 0x4001, { -7620, 0x0406, 1 } },	// 13
2562cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2563cdf0e10cSrcweir 	{ 0x4001, { 2060, 0x0406, 1 } },	// 15
2564cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
2565cdf0e10cSrcweir 	{ 0x4001, { -3500, 0x0406, 1 } },	// 17
2566cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
2567cdf0e10cSrcweir 
2568cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 19
2569cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2570cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 1b
2571cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0408, 0 } },	// 1c
2572cdf0e10cSrcweir 	{ 0x4001, { 1480, 0x0406, 1 } },	// 1d
2573cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2574cdf0e10cSrcweir 	{ 0x4001, { 5080, 0x0406, 1 } },	// 1f
2575cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0408, 0 } },	// 20
2576cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// 21
2577cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2578cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 23
2579cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
2580cdf0e10cSrcweir 	{ 0x4001, { -1480, 0x0406, 1 } },	// 25
2581cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0407, 0 } },	// 26
2582cdf0e10cSrcweir 	{ 0x4001, { -1920, 0x0406, 1 } },	// 27
2583cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0408, 0 } },	// 28
2584cdf0e10cSrcweir 
2585cdf0e10cSrcweir 	{ 0x4001, { -5560, 0x0406, 1 } },	// 29
2586cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2587cdf0e10cSrcweir 
2588cdf0e10cSrcweir };
2589cdf0e10cSrcweir static const mso_CustomShape msoActionButtonInformation =
2590cdf0e10cSrcweir {
2591cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonInformationVert, sizeof( mso_sptActionButtonInformationVert ) / sizeof( SvxMSDffVertPair ),
2592cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonInformationSegm, sizeof( mso_sptActionButtonInformationSegm ) >> 1,
2593cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonInformationCalc, sizeof( mso_sptActionButtonInformationCalc ) / sizeof( SvxMSDffCalculationData ),
2594cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2595cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2596cdf0e10cSrcweir 	21600, 21600,
2597cdf0e10cSrcweir 	10800, 10800,
2598cdf0e10cSrcweir 	NULL, 0,
2599cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2600cdf0e10cSrcweir };
2601cdf0e10cSrcweir 
2602cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert[] =
2603cdf0e10cSrcweir {
2604cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2605cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2606cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2607cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I,4 MSO_I },
2608cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2609cdf0e10cSrcweir 
2610cdf0e10cSrcweir 	{ 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }
2611cdf0e10cSrcweir };
2612cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonForwardBackSegm[] =
2613cdf0e10cSrcweir {
2614cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2615cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2616cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2617cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2618cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2619cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
2620cdf0e10cSrcweir };
2621cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc[] =	// adj value 0 - 5400
2622cdf0e10cSrcweir {
2623cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2624cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2625cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2626cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2627cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2628cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2629cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2630cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2631cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2632cdf0e10cSrcweir 
2633cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2634cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2635cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2636cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2637cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2638cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2639cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2640cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } }	// 10
2641cdf0e10cSrcweir };
2642cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBackPrevious =
2643cdf0e10cSrcweir {
2644cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBackPreviousVert, sizeof( mso_sptActionButtonBackPreviousVert ) / sizeof( SvxMSDffVertPair ),
2645cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
2646cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ),
2647cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2648cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2649cdf0e10cSrcweir 	21600, 21600,
2650cdf0e10cSrcweir 	10800, 10800,
2651cdf0e10cSrcweir 	NULL, 0,
2652cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2653cdf0e10cSrcweir };
2654cdf0e10cSrcweir 
2655cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert[] =
2656cdf0e10cSrcweir {
2657cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2658cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2659cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2660cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2661cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2662cdf0e10cSrcweir 
2663cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 8 MSO_I }, { 0xa MSO_I, 0x10 MSO_I }
2664cdf0e10cSrcweir };
2665cdf0e10cSrcweir static const mso_CustomShape msoActionButtonForwardNext =
2666cdf0e10cSrcweir {
2667cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonForwardNextVert, sizeof( mso_sptActionButtonForwardNextVert ) / sizeof( SvxMSDffVertPair ),
2668cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonForwardBackSegm, sizeof( mso_sptActionButtonForwardBackSegm ) >> 1,
2669cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonForwardBackCalc, sizeof( mso_sptActionButtonForwardBackCalc ) / sizeof( SvxMSDffCalculationData ),
2670cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2671cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2672cdf0e10cSrcweir 	21600, 21600,
2673cdf0e10cSrcweir 	10800, 10800,
2674cdf0e10cSrcweir 	NULL, 0,
2675cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2676cdf0e10cSrcweir };
2677cdf0e10cSrcweir 
2678cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonBeginningVert[] =
2679cdf0e10cSrcweir {
2680cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2681cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2682cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2683cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2684cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2685cdf0e10cSrcweir 
2686cdf0e10cSrcweir 	{ 0xa MSO_I, 8 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
2687cdf0e10cSrcweir 	{ 0x14 MSO_I, 0xc MSO_I }, { 0x14 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }
2688cdf0e10cSrcweir };
2689cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonBeginningEndSegm[] =
2690cdf0e10cSrcweir {
2691cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2692cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2693cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2694cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2695cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2696cdf0e10cSrcweir 
2697cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
2698cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000
2699cdf0e10cSrcweir };
2700cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc[] =	// adj value 0 - 5400
2701cdf0e10cSrcweir {
2702cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2703cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2704cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2705cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2706cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2707cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2708cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2709cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2710cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2711cdf0e10cSrcweir 
2712cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// 9
2713cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2714cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// b
2715cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2716cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// d
2717cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2718cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// f
2719cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2720cdf0e10cSrcweir 
2721cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 11
2722cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0407, 0 } },	// 12
2723cdf0e10cSrcweir 	{ 0x4001, { -6140, 0x0406, 1 } },	// 13
2724cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
2725cdf0e10cSrcweir 
2726cdf0e10cSrcweir 
2727cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 15
2728cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
2729cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 17
2730cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } }	// 18
2731cdf0e10cSrcweir };
2732cdf0e10cSrcweir static const mso_CustomShape msoActionButtonBeginning =
2733cdf0e10cSrcweir {
2734cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonBeginningVert, sizeof( mso_sptActionButtonBeginningVert ) / sizeof( SvxMSDffVertPair ),
2735cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
2736cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ),
2737cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2738cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2739cdf0e10cSrcweir 	21600, 21600,
2740cdf0e10cSrcweir 	10800, 10800,
2741cdf0e10cSrcweir 	NULL, 0,
2742cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2743cdf0e10cSrcweir };
2744cdf0e10cSrcweir 
2745cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonEndVert[] =
2746cdf0e10cSrcweir {
2747cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2748cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2749cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2750cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2751cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 },	{ 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2752cdf0e10cSrcweir 
2753cdf0e10cSrcweir 	{ 0x16 MSO_I, 8 MSO_I }, { 0x12 MSO_I, 0x10 MSO_I }, { 0x12 MSO_I, 0xc MSO_I },
2754cdf0e10cSrcweir 
2755cdf0e10cSrcweir 	{ 0x18 MSO_I, 0xc MSO_I }, { 0x18 MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0x10 MSO_I }, { 0xe MSO_I, 0xc MSO_I }
2756cdf0e10cSrcweir };
2757cdf0e10cSrcweir static const mso_CustomShape msoActionButtonEnd =
2758cdf0e10cSrcweir {
2759cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonEndVert, sizeof( mso_sptActionButtonEndVert ) / sizeof( SvxMSDffVertPair ),
2760cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonBeginningEndSegm, sizeof( mso_sptActionButtonBeginningEndSegm ) >> 1,
2761cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonBeginningEndCalc, sizeof( mso_sptActionButtonBeginningEndCalc ) / sizeof( SvxMSDffCalculationData ),
2762cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2763cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2764cdf0e10cSrcweir 	21600, 21600,
2765cdf0e10cSrcweir 	10800, 10800,
2766cdf0e10cSrcweir 	NULL, 0,
2767cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2768cdf0e10cSrcweir };
2769cdf0e10cSrcweir 
2770cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonReturnVert[] =
2771cdf0e10cSrcweir {
2772cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2773cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },	{ 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2774cdf0e10cSrcweir 	{ 21600, 0 }, { 21600,	21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2775cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 },	{ 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2776cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2777cdf0e10cSrcweir 
2778cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I },	{ 0xe MSO_I, 0x10 MSO_I },							// ppp
2779cdf0e10cSrcweir 	{ 0xe MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 0x16 MSO_I },						// ccp
2780cdf0e10cSrcweir 	{ 7 MSO_I, 0x16 MSO_I },																				// p
2781cdf0e10cSrcweir 	{ 0x1a MSO_I, 0x16 MSO_I }, { 0x1c MSO_I, 0x12 MSO_I }, { 0x1c MSO_I, 0x10 MSO_I },						// ccp
2782cdf0e10cSrcweir 	{ 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
2783cdf0e10cSrcweir 	{ 0x24 MSO_I, 0xc MSO_I }, { 0x24 MSO_I, 0x10 MSO_I },													// pp
2784cdf0e10cSrcweir 	{ 0x24 MSO_I, 0x26 MSO_I },	{ 0x28 MSO_I, 0x2a MSO_I }, { 7 MSO_I, 0x2a MSO_I },						// ccp
2785cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x2a MSO_I },																				// p
2786cdf0e10cSrcweir 	{ 0x2c MSO_I, 0x2a MSO_I }, { 0xa MSO_I, 0x26 MSO_I }, { 0xa MSO_I,	0x10 MSO_I }						// ccp
2787cdf0e10cSrcweir };
2788cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonReturnSegm[] =
2789cdf0e10cSrcweir {
2790cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2791cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2792cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2793cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2794cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2795cdf0e10cSrcweir 	0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000
2796cdf0e10cSrcweir };
2797cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc[] =	// adj value 0 - 5400
2798cdf0e10cSrcweir {
2799cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2800cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2801cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2802cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2803cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2804cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2805cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2806cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2807cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2808cdf0e10cSrcweir 
2809cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2810cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2811cdf0e10cSrcweir 	{ 0x4001, { -3800, 0x0406, 1 } },	// b
2812cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2813cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// d
2814cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2815cdf0e10cSrcweir 	{ 0x4001, { 2330, 0x0406, 1 } },	// f
2816cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0408, 0 } },	// 10
2817cdf0e10cSrcweir 	{ 0x4001, { 3390, 0x0406, 1 } },	// 11
2818cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2819cdf0e10cSrcweir 	{ 0x4001, { -3100, 0x0406, 1 } },	// 13
2820cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
2821cdf0e10cSrcweir 	{ 0x4001, { 4230, 0x0406, 1 } },	// 15
2822cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2823cdf0e10cSrcweir 	{ 0x4001, { -1910, 0x0406, 1 } },	// 17
2824cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } },	// 18
2825cdf0e10cSrcweir 	{ 0x4001, { 1190, 0x0406, 1 } },	// 19
2826cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2827cdf0e10cSrcweir 	{ 0x4001, { 2110, 0x0406, 1 } },	// 1b
2828cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
2829cdf0e10cSrcweir 	{ 0x4001, { 4030, 0x0406, 1 } },	// 1d
2830cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
2831cdf0e10cSrcweir 	{ 0x4001, { -7830, 0x0406, 1 } },	// 1f
2832cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0408, 0 } },	// 20
2833cdf0e10cSrcweir 	{ 0x4001, { 8250, 0x0406, 1 } },	// 21
2834cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0407, 0 } },	// 22
2835cdf0e10cSrcweir 	{ 0x4001, { 6140, 0x0406, 1 } },	// 23
2836cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0407, 0 } },	// 24
2837cdf0e10cSrcweir 	{ 0x4001, { 5510, 0x0406, 1 } },	// 25
2838cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
2839cdf0e10cSrcweir 	{ 0x4001, { 3180, 0x0406, 1 } },	// 27
2840cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0407, 0 } },	// 28
2841cdf0e10cSrcweir 	{ 0x4001, { 8450, 0x0406, 1 } },	// 29
2842cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0408, 0 } },	// 2a
2843cdf0e10cSrcweir 	{ 0x4001, { -5090, 0x0406, 1 } },	// 2b
2844cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0407, 0 } }	// 2c
2845cdf0e10cSrcweir };
2846cdf0e10cSrcweir static const mso_CustomShape msoActionButtonReturn =
2847cdf0e10cSrcweir {
2848cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonReturnVert, sizeof( mso_sptActionButtonReturnVert ) / sizeof( SvxMSDffVertPair ),
2849cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonReturnSegm, sizeof( mso_sptActionButtonReturnSegm ) >> 1,
2850cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonReturnCalc, sizeof( mso_sptActionButtonReturnCalc ) / sizeof( SvxMSDffCalculationData ),
2851cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2852cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2853cdf0e10cSrcweir 	21600, 21600,
2854cdf0e10cSrcweir 	10800, 10800,
2855cdf0e10cSrcweir 	NULL, 0,
2856cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2857cdf0e10cSrcweir };
2858cdf0e10cSrcweir 
2859cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonDocumentVert[] =
2860cdf0e10cSrcweir {
2861cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2862cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2863cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 }, { 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2864cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2865cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2866cdf0e10cSrcweir 
2867cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
2868cdf0e10cSrcweir 	{ 0xa MSO_I, 0x14 MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0xe MSO_I, 0x12 MSO_I }
2869cdf0e10cSrcweir };
2870cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonDocumentSegm[] =
2871cdf0e10cSrcweir {
2872cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2873cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2874cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2875cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2876cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2877cdf0e10cSrcweir 
2878cdf0e10cSrcweir 	0x4000, 0x0004, 0x6001, 0x8000,
2879cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000
2880cdf0e10cSrcweir };
2881cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc[] =	// adj value 0 - 5400
2882cdf0e10cSrcweir {
2883cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2884cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2885cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2886cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2887cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2888cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2889cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2890cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2891cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2892cdf0e10cSrcweir 
2893cdf0e10cSrcweir 	{ 0x4001, { -6350, 0x0406, 1 } },	// 9
2894cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2895cdf0e10cSrcweir 	{ 0x4001, { -7830, 0x0406, 1 } },	// b
2896cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2897cdf0e10cSrcweir 	{ 0x4001, { 1690, 0x0406, 1 } },	// d
2898cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2899cdf0e10cSrcweir 	{ 0x4001, { 6350, 0x0406, 1 } },	// f
2900cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
2901cdf0e10cSrcweir 	{ 0x4001, { -3810, 0x0406, 1 } },	// 11
2902cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2903cdf0e10cSrcweir 	{ 0x4001, { 7830, 0x0406, 1 } },	// 13
2904cdf0e10cSrcweir     { 0x6000, { 0x0413, 0x0408, 0 } }	// 14
2905cdf0e10cSrcweir };
2906cdf0e10cSrcweir static const mso_CustomShape msoActionButtonDocument =
2907cdf0e10cSrcweir {
2908cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonDocumentVert, sizeof( mso_sptActionButtonDocumentVert ) / sizeof( SvxMSDffVertPair ),
2909cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonDocumentSegm, sizeof( mso_sptActionButtonDocumentSegm ) >> 1,
2910cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonDocumentCalc, sizeof( mso_sptActionButtonDocumentCalc ) / sizeof( SvxMSDffCalculationData ),
2911cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2912cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2913cdf0e10cSrcweir 	21600, 21600,
2914cdf0e10cSrcweir 	10800, 10800,
2915cdf0e10cSrcweir 	NULL, 0,
2916cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2917cdf0e10cSrcweir };
2918cdf0e10cSrcweir 
2919cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonSoundVert[] =
2920cdf0e10cSrcweir {
2921cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2922cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2923cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
2924cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
2925cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
2926cdf0e10cSrcweir 
2927cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x10 MSO_I, 0x14 MSO_I },
2928cdf0e10cSrcweir 	{ 0xe MSO_I, 0x16 MSO_I }, { 0xa MSO_I, 0x16 MSO_I }, { 0x18 MSO_I, 8 MSO_I }, { 0x1a MSO_I, 8 MSO_I },
2929cdf0e10cSrcweir 
2930cdf0e10cSrcweir 	{ 0x18 MSO_I, 0xc MSO_I }, { 0x1a MSO_I, 0x1c MSO_I },
2931cdf0e10cSrcweir 
2932cdf0e10cSrcweir 	{ 0x18 MSO_I, 0x16 MSO_I }, { 0x1a MSO_I, 0x1e MSO_I }
2933cdf0e10cSrcweir };
2934cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonSoundSegm[] =
2935cdf0e10cSrcweir {
2936cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2937cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2938cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2939cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2940cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
2941cdf0e10cSrcweir 
2942cdf0e10cSrcweir 	0x4000, 0x0005, 0x6001, 0x8000,
2943cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
2944cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
2945cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
2946cdf0e10cSrcweir };
2947cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc[] =	// adj value 0 - 5400
2948cdf0e10cSrcweir {
2949cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
2950cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
2951cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
2952cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
2953cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
2954cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
2955cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
2956cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
2957cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
2958cdf0e10cSrcweir 
2959cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
2960cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
2961cdf0e10cSrcweir 	{ 0x4001, { -2750, 0x0406, 1 } },	// b
2962cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
2963cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// d
2964cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
2965cdf0e10cSrcweir 	{ 0x4001, { 2120, 0x0406, 1 } },	// f
2966cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
2967cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 11
2968cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
2969cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 13
2970cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0408, 0 } },	// 14
2971cdf0e10cSrcweir 	{ 0x4001, { 2750, 0x0406, 1 } },	// 15
2972cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0408, 0 } },	// 16
2973cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 17
2974cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0407, 0 } },	// 18
2975cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 19
2976cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0407, 0 } },	// 1a
2977cdf0e10cSrcweir 	{ 0x4001, { -5930, 0x0406, 1 } },	// 1b
2978cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0408, 0 } },	// 1c
2979cdf0e10cSrcweir 	{ 0x4001, { 5930, 0x0406, 1 } },	// 1d
2980cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0408, 0 } }	// 1e
2981cdf0e10cSrcweir };
2982cdf0e10cSrcweir static const mso_CustomShape msoActionButtonSound =
2983cdf0e10cSrcweir {
2984cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonSoundVert, sizeof( mso_sptActionButtonSoundVert ) / sizeof( SvxMSDffVertPair ),
2985cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonSoundSegm, sizeof( mso_sptActionButtonSoundSegm ) >> 1,
2986cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonSoundCalc, sizeof( mso_sptActionButtonSoundCalc ) / sizeof( SvxMSDffCalculationData ),
2987cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
2988cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
2989cdf0e10cSrcweir 	21600, 21600,
2990cdf0e10cSrcweir 	10800, 10800,
2991cdf0e10cSrcweir 	NULL, 0,
2992cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
2993cdf0e10cSrcweir };
2994cdf0e10cSrcweir 
2995cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptActionButtonMovieVert[] =
2996cdf0e10cSrcweir {
2997cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2998cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 3 MSO_I, 2 MSO_I }, { 1 MSO_I, 2 MSO_I },
2999cdf0e10cSrcweir 	{ 21600, 0 }, { 21600, 21600 },	{ 3 MSO_I, 4 MSO_I }, { 3 MSO_I, 2 MSO_I },
3000cdf0e10cSrcweir 	{ 21600, 21600 }, { 0, 21600 }, { 1 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
3001cdf0e10cSrcweir 	{ 0, 21600 }, { 0, 0 }, { 1 MSO_I, 2 MSO_I }, { 1 MSO_I, 4 MSO_I },
3002cdf0e10cSrcweir 
3003cdf0e10cSrcweir 	{ 0xa MSO_I, 0xc MSO_I }, { 0xe MSO_I, 0xc MSO_I }, { 0x10 MSO_I, 0x12 MSO_I }, { 0x14 MSO_I, 0x12 MSO_I },
3004cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x18 MSO_I }, { 0x16 MSO_I, 0x1a MSO_I }, { 0x1c MSO_I, 0x1a MSO_I }, { 0x1e MSO_I, 0x18 MSO_I },
3005cdf0e10cSrcweir 	{ 0x20 MSO_I, 0x18 MSO_I }, { 0x20 MSO_I, 0x22 MSO_I }, { 0x1e MSO_I, 0x22 MSO_I }, { 0x1c MSO_I, 0x24 MSO_I },
3006cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x24 MSO_I }, { 0x16 MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x26 MSO_I }, { 0x2a MSO_I, 0x28 MSO_I },
3007cdf0e10cSrcweir 	{ 0x10 MSO_I, 0x28 MSO_I },	{ 0xe MSO_I, 0x2c MSO_I }, { 0xa MSO_I, 0x2c MSO_I }
3008cdf0e10cSrcweir };
3009cdf0e10cSrcweir static const sal_uInt16 mso_sptActionButtonMovieSegm[] =
3010cdf0e10cSrcweir {
3011cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3012cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3013cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3014cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3015cdf0e10cSrcweir 	0x4000, 0x0003, 0x6001, 0x8000,
3016cdf0e10cSrcweir 	0x4000, 0x0012, 0x6001, 0x8000
3017cdf0e10cSrcweir };
3018cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc[] =	// adj value 0 - 5400
3019cdf0e10cSrcweir {
3020cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3021cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3022cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3023cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3024cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3025cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },
3026cdf0e10cSrcweir 	{ 0x2001, { 0x0405, 1, 10800 } },			// scaling	 6
3027cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoRight, 1, 2 } },	// lr center 7
3028cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_geoBottom, 1, 2 } },	// ul center 8
3029cdf0e10cSrcweir 
3030cdf0e10cSrcweir 	{ 0x4001, { -8050, 0x0406, 1 } },	// 9
3031cdf0e10cSrcweir 	{ 0x6000, { 0x0409, 0x0407, 0 } },	// a
3032cdf0e10cSrcweir 	{ 0x4001, { -4020, 0x0406, 1 } },	// b
3033cdf0e10cSrcweir 	{ 0x6000, { 0x040b, 0x0408, 0 } },	// c
3034cdf0e10cSrcweir 	{ 0x4001, { -7000, 0x0406, 1 } },	// d
3035cdf0e10cSrcweir 	{ 0x6000, { 0x040d, 0x0407, 0 } },	// e
3036cdf0e10cSrcweir 	{ 0x4001, { -6560, 0x0406, 1 } },	// f
3037cdf0e10cSrcweir 	{ 0x6000, { 0x040f, 0x0407, 0 } },	// 10
3038cdf0e10cSrcweir 	{ 0x4001, { -3600, 0x0406, 1 } },	// 11
3039cdf0e10cSrcweir 	{ 0x6000, { 0x0411, 0x0408, 0 } },	// 12
3040cdf0e10cSrcweir 	{ 0x4001, { 4020, 0x0406, 1 } },	// 13
3041cdf0e10cSrcweir 	{ 0x6000, { 0x0413, 0x0407, 0 } },	// 14
3042cdf0e10cSrcweir 	{ 0x4001, { 4660, 0x0406, 1 } },	// 15
3043cdf0e10cSrcweir 	{ 0x6000, { 0x0415, 0x0407, 0 } },	// 16
3044cdf0e10cSrcweir 	{ 0x4001, { -2960, 0x0406, 1 } },	// 17
3045cdf0e10cSrcweir 	{ 0x6000, { 0x0417, 0x0408, 0 } },	// 18
3046cdf0e10cSrcweir 	{ 0x4001, { -2330, 0x0406, 1 } },	// 19
3047cdf0e10cSrcweir 	{ 0x6000, { 0x0419, 0x0408, 0 } },	// 1a
3048cdf0e10cSrcweir 	{ 0x4001, { 6780, 0x0406, 1 } },	// 1b
3049cdf0e10cSrcweir 	{ 0x6000, { 0x041b, 0x0407, 0 } },	// 1c
3050cdf0e10cSrcweir 	{ 0x4001, { 7200, 0x0406, 1 } },	// 1d
3051cdf0e10cSrcweir 	{ 0x6000, { 0x041d, 0x0407, 0 } },	// 1e
3052cdf0e10cSrcweir 	{ 0x4001, { 8050, 0x0406, 1 } },	// 1f
3053cdf0e10cSrcweir 	{ 0x6000, { 0x041f, 0x0407, 0 } },	// 20
3054cdf0e10cSrcweir 	{ 0x4001, { 2960, 0x0406, 1 } },	// 21
3055cdf0e10cSrcweir 	{ 0x6000, { 0x0421, 0x0408, 0 } },	// 22
3056cdf0e10cSrcweir 	{ 0x4001, { 2330, 0x0406, 1 } },	// 23
3057cdf0e10cSrcweir 	{ 0x6000, { 0x0423, 0x0408, 0 } },	// 24
3058cdf0e10cSrcweir 	{ 0x4001, { 3800, 0x0406, 1 } },	// 25
3059cdf0e10cSrcweir 	{ 0x6000, { 0x0425, 0x0408, 0 } },	// 26
3060cdf0e10cSrcweir 	{ 0x4001, { -1060, 0x0406, 1 } },	// 27
3061cdf0e10cSrcweir 	{ 0x6000, { 0x0427, 0x0408, 0 } },	// 28
3062cdf0e10cSrcweir 	{ 0x4001, { -6350, 0x0406, 1 } },	// 29
3063cdf0e10cSrcweir 	{ 0x6000, { 0x0429, 0x0407, 0 } },	// 2a
3064cdf0e10cSrcweir 	{ 0x4001, { -640, 0x0406, 1 } },	// 2b
3065cdf0e10cSrcweir 	{ 0x6000, { 0x042b, 0x0408, 0 } }	// 2c
3066cdf0e10cSrcweir };
3067cdf0e10cSrcweir static const mso_CustomShape msoActionButtonMovie =
3068cdf0e10cSrcweir {
3069cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptActionButtonMovieVert, sizeof( mso_sptActionButtonMovieVert ) / sizeof( SvxMSDffVertPair ),
3070cdf0e10cSrcweir 	(sal_uInt16*)mso_sptActionButtonMovieSegm, sizeof( mso_sptActionButtonMovieSegm ) >> 1,
3071cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptActionButtonMovieCalc, sizeof( mso_sptActionButtonMovieCalc ) / sizeof( SvxMSDffCalculationData ),
3072cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1400,
3073cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptActionButtonTextRect, sizeof( mso_sptActionButtonTextRect ) / sizeof( SvxMSDffTextRectangles ),
3074cdf0e10cSrcweir 	21600, 21600,
3075cdf0e10cSrcweir 	10800, 10800,
3076cdf0e10cSrcweir 	NULL, 0,
3077cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptButtonHandle, sizeof( mso_sptButtonHandle ) / sizeof( SvxMSDffHandle )
3078cdf0e10cSrcweir };
3079cdf0e10cSrcweir 
3080cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSmileyFaceVert[] =	// adj value 15510 - 17520
3081cdf0e10cSrcweir {
3082cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3083cdf0e10cSrcweir 	{ 7305,	7515 }, { 1165, 1165 }, { 0, 360 },
3084cdf0e10cSrcweir 	{ 14295, 7515 }, { 1165, 1165 }, { 0, 360 },
3085cdf0e10cSrcweir 	{ 4870, 1 MSO_I }, { 8680, 2 MSO_I }, { 12920, 2 MSO_I }, { 16730, 1 MSO_I }
3086cdf0e10cSrcweir };
3087cdf0e10cSrcweir static const sal_uInt16 mso_sptSmileyFaceSegm[] =
3088cdf0e10cSrcweir {
3089cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3090cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3091cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
3092cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000
3093cdf0e10cSrcweir };
3094cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSmileyFaceCalc[] =
3095cdf0e10cSrcweir {
3096cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 15510 } },
3097cdf0e10cSrcweir 	{ 0x8000, { 17520, 0, 0x400 } },
3098cdf0e10cSrcweir 	{ 0x4000, { 15510, 0x400, 0 } }
3099cdf0e10cSrcweir };
3100cdf0e10cSrcweir 
3101cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect[] =
3102cdf0e10cSrcweir {
3103cdf0e10cSrcweir 	{ { 0, 1 MSO_I }, { 4 MSO_I, 21600 } }
3104cdf0e10cSrcweir };
3105cdf0e10cSrcweir static const sal_Int32 mso_sptSmileyFaceDefault[] =
3106cdf0e10cSrcweir {
3107cdf0e10cSrcweir 	1, 17520
3108cdf0e10cSrcweir };
3109cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSmileyHandle[] =
3110cdf0e10cSrcweir {
3111cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3112*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 15510, 17520 }
3113cdf0e10cSrcweir };
3114cdf0e10cSrcweir static const mso_CustomShape msoSmileyFace =
3115cdf0e10cSrcweir {
3116cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSmileyFaceVert, sizeof( mso_sptSmileyFaceVert ) / sizeof( SvxMSDffVertPair ),
3117cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSmileyFaceSegm, sizeof( mso_sptSmileyFaceSegm ) >> 1,
3118cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSmileyFaceCalc, sizeof( mso_sptSmileyFaceCalc ) / sizeof( SvxMSDffCalculationData ),
3119cdf0e10cSrcweir 	(sal_Int32*)mso_sptSmileyFaceDefault,
3120cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3121cdf0e10cSrcweir 	21600, 21600,
3122*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3123cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3124cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSmileyHandle, sizeof( mso_sptSmileyHandle ) / sizeof( SvxMSDffHandle )		// handles
3125cdf0e10cSrcweir };
3126cdf0e10cSrcweir 
3127cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDonutVert[] =	// adj value 0 - 10800
3128cdf0e10cSrcweir {
3129cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3130cdf0e10cSrcweir 	{ 10800, 10800 }, { 1 MSO_I, 1 MSO_I }, { 0, 360 }
3131cdf0e10cSrcweir };
3132cdf0e10cSrcweir static const sal_uInt16 mso_sptDonutSegm[] =
3133cdf0e10cSrcweir {
3134cdf0e10cSrcweir 	0xa203, 0x6000, 0xa203, 0x8000
3135cdf0e10cSrcweir };
3136cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDonutCalc[] =
3137cdf0e10cSrcweir {
3138cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3139cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
3140cdf0e10cSrcweir };
3141cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDonutHandle[] =
3142cdf0e10cSrcweir {
3143cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3144*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
3145cdf0e10cSrcweir };
3146cdf0e10cSrcweir static const mso_CustomShape msoDonut =
3147cdf0e10cSrcweir {
3148cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDonutVert, sizeof( mso_sptDonutVert ) / sizeof( SvxMSDffVertPair ),
3149cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDonutSegm, sizeof( mso_sptDonutSegm ) >> 1,
3150cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDonutCalc, sizeof( mso_sptDonutCalc ) / sizeof( SvxMSDffCalculationData ),
3151cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
3152cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3153cdf0e10cSrcweir 	21600, 21600,
3154*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3155cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3156cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDonutHandle, sizeof( mso_sptDonutHandle ) / sizeof( SvxMSDffHandle )		// handles
3157cdf0e10cSrcweir };
3158cdf0e10cSrcweir 
3159cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptNoSmokingVert[] =	// adj value 0 - 7200
3160cdf0e10cSrcweir {
3161cdf0e10cSrcweir 	{ 10800, 10800 },  { 10800,	10800 }, { 0, 360 },
3162cdf0e10cSrcweir 	{ 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
3163cdf0e10cSrcweir 	{ 9 MSO_I, 0xa MSO_I }, { 0xb MSO_I, 0xc MSO_I }, { 0 MSO_I, 0 MSO_I }, { 1 MSO_I, 1 MSO_I },
3164cdf0e10cSrcweir 	{ 0xd MSO_I, 0xe MSO_I }, { 0xf MSO_I, 0x10 MSO_I }
3165cdf0e10cSrcweir };
3166cdf0e10cSrcweir static const sal_uInt16 mso_sptNoSmokingSegm[] =
3167cdf0e10cSrcweir {
3168cdf0e10cSrcweir 	0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000
3169cdf0e10cSrcweir };
3170cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] =
3171cdf0e10cSrcweir {
3172cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			// 0
3173cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },		// 1
3174cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },		// 2
3175cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },			// 3
3176cdf0e10cSrcweir 	{ 0xa080, { 0x403, 0, 0x402 } },					// 4
3177cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x403 } },					// 5 x1
3178cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x403, 0 } },					// 6 x2
3179cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x404 } },					// 7 y1
3180cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x404, 0 } },					// 8 y2
3181cdf0e10cSrcweir 	{ 0x6081, { 0x405, 0x407, 45 } },					// 9
3182cdf0e10cSrcweir 	{ 0x6082, { 0x405, 0x407, 45 } },					// a
3183cdf0e10cSrcweir 	{ 0x6081, { 0x405, 0x408, 45 } },					// b
3184cdf0e10cSrcweir 	{ 0x6082, { 0x405, 0x408, 45 } },					// c
3185cdf0e10cSrcweir 	{ 0x6081, { 0x406, 0x408, 45 } },					// d
3186cdf0e10cSrcweir 	{ 0x6082, { 0x406, 0x408, 45 } },					// e
3187cdf0e10cSrcweir 	{ 0x6081, { 0x406, 0x407, 45 } },					// f
3188cdf0e10cSrcweir 	{ 0x6082, { 0x406, 0x407, 45 } }					// 10
3189cdf0e10cSrcweir };
3190cdf0e10cSrcweir static const SvxMSDffHandle mso_sptNoSmokingHandle[] =
3191cdf0e10cSrcweir {
3192cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3193*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, 0, 7200, Mx80000000, 0x7fffffff }
3194cdf0e10cSrcweir };
3195cdf0e10cSrcweir static const mso_CustomShape msoNoSmoking =
3196cdf0e10cSrcweir {
3197cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptNoSmokingVert, sizeof( mso_sptNoSmokingVert ) / sizeof( SvxMSDffVertPair ),
3198cdf0e10cSrcweir 	(sal_uInt16*)mso_sptNoSmokingSegm, sizeof( mso_sptNoSmokingSegm ) >> 1,
3199cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptNoSmokingCalc, sizeof( mso_sptNoSmokingCalc ) / sizeof( SvxMSDffCalculationData ),
3200cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
3201cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( SvxMSDffTextRectangles ),
3202cdf0e10cSrcweir 	21600, 21600,
3203*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3204cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
3205cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptNoSmokingHandle, sizeof( mso_sptNoSmokingHandle ) / sizeof( SvxMSDffHandle )		// handles
3206cdf0e10cSrcweir };
3207cdf0e10cSrcweir 
3208cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBlockArcVert[] =	// adj value 0 (degrees)
3209cdf0e10cSrcweir {														// adj value 1:	0 -> 10800;
3210cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I },
3211cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 6 MSO_I, 6 MSO_I }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
3212cdf0e10cSrcweir };
3213cdf0e10cSrcweir static const sal_uInt16 mso_sptBlockArcSegm[] =
3214cdf0e10cSrcweir {
3215cdf0e10cSrcweir 	0xA404, 0xa504, 0x6001, 0x8000
3216cdf0e10cSrcweir };
3217cdf0e10cSrcweir static const sal_Int32 mso_sptBlockArcDefault[] =
3218cdf0e10cSrcweir {
3219cdf0e10cSrcweir 	2, 180, 5400
3220cdf0e10cSrcweir };
3221cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBlockArcCalc[] =
3222cdf0e10cSrcweir {
3223cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
3224cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
3225cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
3226cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
3227cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
3228cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
3229cdf0e10cSrcweir 	{ 0x4000, { 10800, DFF_Prop_adjust2Value, 0 } },
3230cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },
3231cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } }
3232cdf0e10cSrcweir };
3233cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBlockArcHandle[] =
3234cdf0e10cSrcweir {
3235cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
3236*e5cfc9caSHerbert Dürr 		0x101, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
3237cdf0e10cSrcweir };
3238cdf0e10cSrcweir static const mso_CustomShape msoBlockArc =
3239cdf0e10cSrcweir {
3240cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBlockArcVert, sizeof( mso_sptBlockArcVert ) / sizeof( SvxMSDffVertPair ),
3241cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBlockArcSegm, sizeof( mso_sptBlockArcSegm ) >> 1,
3242cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBlockArcCalc, sizeof( mso_sptBlockArcCalc ) / sizeof( SvxMSDffCalculationData ),
3243cdf0e10cSrcweir 	(sal_Int32*)mso_sptBlockArcDefault,
3244cdf0e10cSrcweir 	NULL, 0,
3245cdf0e10cSrcweir 	21600, 21600,
3246*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3247cdf0e10cSrcweir 	NULL, 0,
3248cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBlockArcHandle, sizeof( mso_sptBlockArcHandle ) / sizeof( SvxMSDffHandle )		// handles
3249cdf0e10cSrcweir };
3250cdf0e10cSrcweir 
3251cdf0e10cSrcweir // aware : control points are always part of the bounding box
3252cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartVert[] =
3253cdf0e10cSrcweir {
3254cdf0e10cSrcweir 	{ 10800, 21599 }, { 321, 6886 }, { 70, 6036 },		// ppp
3255cdf0e10cSrcweir 	{ -9, 5766 }, { -1,	5474 }, { 2, 5192 },			// ccp
3256cdf0e10cSrcweir 	{ 6, 4918 }, { 43, 4641 }, { 101, 4370 },			// ccp
3257cdf0e10cSrcweir 	{ 159, 4103 }, { 245, 3837 }, { 353, 3582 },		// ccp
3258cdf0e10cSrcweir 	{ 460, 3326 }, { 591, 3077 }, { 741, 2839 },		// ccp
3259cdf0e10cSrcweir 	{ 892, 2598 }, { 1066, 2369 }, { 1253, 2155 },		// ccp
3260cdf0e10cSrcweir 	{ 1443,	1938 }, { 1651,	1732 }, { 1874,	1543 },		// ccp
3261cdf0e10cSrcweir 	{ 2097,	1351 }, { 2337, 1174 }, { 2587, 1014 },		// ccp
3262cdf0e10cSrcweir 	{ 2839,	854 }, { 3106, 708 }, { 3380, 584 },		// ccp
3263cdf0e10cSrcweir 	{ 3656,	459 }, { 3945, 350 }, { 4237, 264 },		// ccp
3264cdf0e10cSrcweir 	{ 4533,	176 }, { 4838, 108 }, { 5144, 66 },			// ccp
3265cdf0e10cSrcweir 	{ 5454,	22 }, { 5771, 1 }, { 6086, 3 },				// ccp
3266cdf0e10cSrcweir 	{ 6407,	7 }, { 6731, 35 }, { 7048, 89 },			// ccp
3267cdf0e10cSrcweir 	{ 7374,	144 }, { 7700, 226 }, { 8015, 335 },		// ccp
3268cdf0e10cSrcweir 	{ 8344,	447 }, { 8667, 590 }, { 8972, 756 },		// ccp
3269cdf0e10cSrcweir 	{ 9297,	932 }, { 9613, 1135 }, { 9907, 1363 },		// ccp
3270cdf0e10cSrcweir 	{ 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 },	// ccp
3271cdf0e10cSrcweir 	{ 11697, 1363 },									// p
3272cdf0e10cSrcweir 	{ 11971, 1116 }, { 12304, 934 }, { 12630, 756 },	// ccp
3273cdf0e10cSrcweir 	{ 12935, 590 }, { 13528, 450 }, { 13589, 335 },		// ccp
3274cdf0e10cSrcweir 	{ 13901, 226 }, { 14227, 144 }, { 14556, 89 },		// ccp
3275cdf0e10cSrcweir 	{ 14872, 35 }, { 15195, 7 }, { 15517, 3 },			// ccp
3276cdf0e10cSrcweir 	{ 15830, 0 }, { 16147, 22 }, { 16458, 66 },			// ccp
3277cdf0e10cSrcweir 	{ 16764, 109 }, { 17068, 177 }, { 17365, 264 },		// ccp
3278cdf0e10cSrcweir 	{ 17658, 349 }, { 17946, 458 }, { 18222, 584 },		// ccp
3279cdf0e10cSrcweir 	{ 18496, 708 }, { 18762, 854 }, { 19015, 1014 },	// ccp
3280cdf0e10cSrcweir 	{ 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 },	// ccp
3281cdf0e10cSrcweir 	{ 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 },	// ccp
3282cdf0e10cSrcweir 	{ 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 },	// ccp
3283cdf0e10cSrcweir 	{ 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 },	// ccp
3284cdf0e10cSrcweir 	{ 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 },	// ccp
3285cdf0e10cSrcweir 	{ 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 },	// ccp
3286cdf0e10cSrcweir 	{ 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 },	// ccp
3287cdf0e10cSrcweir 	{ 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 },	// ccp
3288cdf0e10cSrcweir 	{ 10802, 21602 }									// p
3289cdf0e10cSrcweir };
3290cdf0e10cSrcweir static const sal_uInt16 mso_sptHeartSegm[] =
3291cdf0e10cSrcweir {
3292cdf0e10cSrcweir 	0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000
3293cdf0e10cSrcweir };
3294cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptHeartTextRect[] =
3295cdf0e10cSrcweir {
3296cdf0e10cSrcweir 	{ { 5080, 2540 }, { 16520, 13550 } }
3297cdf0e10cSrcweir };
3298cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHeartGluePoints[] =
3299cdf0e10cSrcweir {
3300cdf0e10cSrcweir 	{ 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 }
3301cdf0e10cSrcweir };
3302cdf0e10cSrcweir static const mso_CustomShape msoHeart =
3303cdf0e10cSrcweir {
3304cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHeartVert, sizeof( mso_sptHeartVert ) / sizeof( SvxMSDffVertPair ),
3305cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHeartSegm, sizeof( mso_sptHeartSegm ) >> 1,
3306cdf0e10cSrcweir 	NULL, 0,
3307cdf0e10cSrcweir 	NULL,
3308cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptHeartTextRect, sizeof( mso_sptHeartTextRect ) / sizeof( SvxMSDffTextRectangles ),
3309cdf0e10cSrcweir 	21615, 21602,
3310*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3311cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHeartGluePoints, sizeof( mso_sptHeartGluePoints ) / sizeof( SvxMSDffVertPair ),
3312cdf0e10cSrcweir 	NULL, 0		// handles
3313cdf0e10cSrcweir };
3314cdf0e10cSrcweir 
3315cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldVert[] =
3316cdf0e10cSrcweir {
3317cdf0e10cSrcweir 	{ 8458,	0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 },
3318cdf0e10cSrcweir 	{ 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 },
3319cdf0e10cSrcweir 	{ 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 }
3320cdf0e10cSrcweir };
3321cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect[] =
3322cdf0e10cSrcweir {
3323cdf0e10cSrcweir 	{ { 8680, 7410 }, { 13970, 14190 } }
3324cdf0e10cSrcweir };
3325cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLightningBoldGluePoints[] =
3326cdf0e10cSrcweir {
3327cdf0e10cSrcweir 	{ 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 },
3328cdf0e10cSrcweir 	{ 16558, 12016 }, { 12831, 6120 }
3329cdf0e10cSrcweir };
3330cdf0e10cSrcweir static const mso_CustomShape msoLightningBold =
3331cdf0e10cSrcweir {
3332cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLightningBoldVert, sizeof( mso_sptLightningBoldVert ) / sizeof( SvxMSDffVertPair ),
3333cdf0e10cSrcweir 	NULL, 0,
3334cdf0e10cSrcweir 	NULL, 0,
3335cdf0e10cSrcweir 	NULL,
3336cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, sizeof( mso_sptLightningBoldTextRect ) / sizeof( SvxMSDffTextRectangles ),
3337cdf0e10cSrcweir 	21600, 21600,
3338*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3339cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, sizeof( mso_sptLightningBoldGluePoints ) / sizeof( SvxMSDffVertPair ),
3340cdf0e10cSrcweir 	NULL, 0		// handles
3341cdf0e10cSrcweir };
3342cdf0e10cSrcweir 
3343cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSunVert[] =	// adj value 2700 -> 10125
3344cdf0e10cSrcweir {
3345cdf0e10cSrcweir 	{ 0, 10800 },				{ 4 MSO_I, 8 MSO_I },		{ 4 MSO_I, 9 MSO_I },
3346cdf0e10cSrcweir 	{ 0x0a MSO_I, 0x0b MSO_I },	{ 0x0c MSO_I, 0x0d MSO_I }, { 0x0e MSO_I, 0x0f MSO_I },
3347cdf0e10cSrcweir 	{ 0x10 MSO_I, 0x11 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0x14 MSO_I, 0x15 MSO_I },
3348cdf0e10cSrcweir 	{ 0x16 MSO_I, 0x17 MSO_I }, { 0x18 MSO_I, 0x19 MSO_I }, { 0x1a MSO_I, 0x1b MSO_I },
3349cdf0e10cSrcweir 	{ 0x1c MSO_I, 0x1d MSO_I }, { 0x1e MSO_I, 0x1f MSO_I }, { 0x20 MSO_I, 0x21 MSO_I },
3350cdf0e10cSrcweir 	{ 0x22 MSO_I, 0x23 MSO_I }, { 0x24 MSO_I, 0x25 MSO_I }, { 0x26 MSO_I, 0x27 MSO_I },
3351cdf0e10cSrcweir 	{ 0x28 MSO_I, 0x29 MSO_I }, { 0x2a MSO_I, 0x2b MSO_I }, { 0x2c MSO_I, 0x2d MSO_I },
3352cdf0e10cSrcweir 	{ 0x2e MSO_I, 0x2f MSO_I }, { 0x30 MSO_I, 0x31 MSO_I }, { 0x32 MSO_I, 0x33 MSO_I },
3353cdf0e10cSrcweir 	{ 10800, 10800 }, { 0x36 MSO_I, 0x36 MSO_I },	{ 0, 360 }
3354cdf0e10cSrcweir };
3355cdf0e10cSrcweir static const sal_uInt16 mso_sptSunSegm[] =
3356cdf0e10cSrcweir {
3357cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3358cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3359cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3360cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3361cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3362cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3363cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3364cdf0e10cSrcweir 	0x4000, 0x0002, 0x6001, 0x8000,
3365cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
3366cdf0e10cSrcweir };
3367cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSunCalc[] =
3368cdf0e10cSrcweir {
3369cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3370cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3371cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 2700 } },
3372cdf0e10cSrcweir 	{ 0x2001, { 0x402, 5080, 7425 } },
3373cdf0e10cSrcweir 	{ 0x2000, { 0x403, 2540, 0 } },
3374cdf0e10cSrcweir 	{ 0x8000, { 10125, 0, DFF_Prop_adjustValue } },
3375cdf0e10cSrcweir 	{ 0x2001, { 0x405, 2120, 7425 } },
3376cdf0e10cSrcweir 	{ 0x2000, { 0x406, 210, 0 } },
3377cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x407, 0 } },	// y1 (0x8)
3378cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x407 } },	// y2 (0x9)
3379cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 45 } },		// 0xa
3380cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 45 } },		// 0xb
3381cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 45 } },	// 0xc
3382cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 45 } },	// 0xd
3383cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 45 } },	// 0xe
3384cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 45 } },	// 0xf
3385cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 90 } },		// 0x10
3386cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 90 } },		// 0x11
3387cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 90 } },	// 0x12
3388cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 90 } },	// 0x13
3389cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 90 } },	// 0x14
3390cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 90 } },	// 0x15
3391cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 135 } },		// 0x16
3392cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 135 } },		// 0x17
3393cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 135 } },	// 0x18
3394cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 135 } },	// 0x19
3395cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 135 } },	// 0x1a
3396cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 135 } },	// 0x1b
3397cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 180 } },		// 0x1c
3398cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 180 } },		// 0x1d
3399cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 180 } },	// 0x1e
3400cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 180 } },	// 0x1f
3401cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 180 } },	// 0x20
3402cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 180 } },	// 0x21
3403cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 225 } },		// 0x22
3404cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 225 } },		// 0x23
3405cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 225 } },	// 0x24
3406cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 225 } },	// 0x25
3407cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 225 } },	// 0x26
3408cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 225 } },	// 0x27
3409cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 270 } },		// 0x28
3410cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 270 } },		// 0x29
3411cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 270 } },	// 0x2a
3412cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 270 } },	// 0x2b
3413cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 270 } },	// 0x2c
3414cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 270 } },	// 0x2d
3415cdf0e10cSrcweir 	{ 0x0081, { 0, 10800, 315 } },		// 0x2e
3416cdf0e10cSrcweir 	{ 0x0082, { 0, 10800, 315 } },		// 0x2f
3417cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x408, 315 } },	// 0x30
3418cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x408, 315 } },	// 0x31
3419cdf0e10cSrcweir 	{ 0x6081, { 0x404, 0x409, 315 } },	// 0x32
3420cdf0e10cSrcweir 	{ 0x6082, { 0x404, 0x409, 315 } },	// 0x33
3421cdf0e10cSrcweir 	{ 0x2081, { DFF_Prop_adjustValue, 10800, 45 } },	// 0x34	( textbox )
3422cdf0e10cSrcweir 	{ 0x2081, { DFF_Prop_adjustValue, 10800, 225 } },	// 0x35
3423cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } }
3424cdf0e10cSrcweir };
3425cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSunTextRect[] =
3426cdf0e10cSrcweir {
3427cdf0e10cSrcweir 	{ { 0x34 MSO_I, 0x34 MSO_I }, { 0x35 MSO_I, 0x35 MSO_I } }
3428cdf0e10cSrcweir };
3429cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSunHandle[] =
3430cdf0e10cSrcweir {
3431cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3432*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, 2700, 10125, Mx80000000, 0x7fffffff }
3433cdf0e10cSrcweir };
3434cdf0e10cSrcweir static const mso_CustomShape msoSun =
3435cdf0e10cSrcweir {
3436cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSunVert, sizeof( mso_sptSunVert ) / sizeof( SvxMSDffVertPair ),
3437cdf0e10cSrcweir 	(sal_uInt16*)mso_sptSunSegm, sizeof( mso_sptSunSegm ) >> 1,
3438cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSunCalc, sizeof( mso_sptSunCalc ) / sizeof( SvxMSDffCalculationData ),
3439cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
3440cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSunTextRect, sizeof( mso_sptSunTextRect ) / sizeof( SvxMSDffTextRectangles ),
3441cdf0e10cSrcweir 	21600, 21600,
3442*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3443cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3444cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSunHandle, sizeof( mso_sptSunHandle ) / sizeof( SvxMSDffHandle )		// handles
3445cdf0e10cSrcweir };
3446cdf0e10cSrcweir 
3447cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonVert[] =	// adj value 0 -> 18900
3448cdf0e10cSrcweir {
3449cdf0e10cSrcweir 	{ 21600, 0 },
3450cdf0e10cSrcweir 	{ 3 MSO_I, 4 MSO_I },	{ 0 MSO_I, 5080 },		{ 0 MSO_I, 10800 },	// ccp
3451cdf0e10cSrcweir 	{ 0 MSO_I, 16520 },		{ 3 MSO_I, 5 MSO_I },	{ 21600, 21600 },	// ccp
3452cdf0e10cSrcweir 	{ 9740, 21600 },		{ 0, 16730 },			{ 0, 10800 },		// ccp
3453cdf0e10cSrcweir 	{ 0, 4870 },			{ 9740, 0 },			{ 21600, 0	}		// ccp
3454cdf0e10cSrcweir };
3455cdf0e10cSrcweir static const sal_uInt16 mso_sptMoonSegm[] =
3456cdf0e10cSrcweir {
3457cdf0e10cSrcweir 	0x4000, 0x2004, 0x6000, 0x8000
3458cdf0e10cSrcweir };
3459cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptMoonCalc[] =
3460cdf0e10cSrcweir {
3461cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3462cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3463cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },
3464cdf0e10cSrcweir 	{ 0x6000, { 0x402, DFF_Prop_adjustValue, 0 } },
3465cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1794, 10000 } },
3466cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x0404 } },
3467cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 400, 18900 } },
3468cdf0e10cSrcweir 	{ 0x8081, { 0, 10800, 0x406 } },
3469cdf0e10cSrcweir 	{ 0x8082, { 0, 10800, 0x406 } },
3470cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x407, 0 } },
3471cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } }
3472cdf0e10cSrcweir };
3473cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptMoonTextRect[] =
3474cdf0e10cSrcweir {
3475cdf0e10cSrcweir 	{ { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 0xa MSO_I } }
3476cdf0e10cSrcweir };
3477cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptMoonGluePoints[] =
3478cdf0e10cSrcweir {
3479cdf0e10cSrcweir 	{ 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I, 10800 }
3480cdf0e10cSrcweir };
3481cdf0e10cSrcweir static const SvxMSDffHandle mso_sptMoonHandle[] =
3482cdf0e10cSrcweir {
3483cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3484*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, 0, 18900, Mx80000000, 0x7fffffff }
3485cdf0e10cSrcweir };
3486cdf0e10cSrcweir static const mso_CustomShape msoMoon =
3487cdf0e10cSrcweir {
3488cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptMoonVert, sizeof( mso_sptMoonVert ) / sizeof( SvxMSDffVertPair ),
3489cdf0e10cSrcweir 	(sal_uInt16*)mso_sptMoonSegm, sizeof( mso_sptMoonSegm ) >> 1,
3490cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptMoonCalc, sizeof( mso_sptMoonCalc ) / sizeof( SvxMSDffCalculationData ),
3491cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
3492cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptMoonTextRect, sizeof( mso_sptMoonTextRect ) / sizeof( SvxMSDffTextRectangles ),
3493cdf0e10cSrcweir 	21600, 21600,
3494*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3495cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptMoonGluePoints, sizeof( mso_sptMoonGluePoints ) / sizeof( SvxMSDffVertPair ),
3496cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptMoonHandle, sizeof( mso_sptMoonHandle ) / sizeof( SvxMSDffHandle )		// handles
3497cdf0e10cSrcweir };
3498cdf0e10cSrcweir 
3499cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracketPairVert[] =	// adj value 0 -> 10800
3500cdf0e10cSrcweir {
3501cdf0e10cSrcweir 	{ 0 MSO_I, 0 },		{ 0, 1 MSO_I },		// left top alignment
3502cdf0e10cSrcweir 	{ 0, 2 MSO_I },		{ 0 MSO_I, 21600 },	// left  bottom "
3503cdf0e10cSrcweir 	{ 3 MSO_I, 21600 },	{ 21600, 2 MSO_I },	// right bottom	"
3504cdf0e10cSrcweir 	{ 21600, 1 MSO_I },	{ 3 MSO_I, 0 }		// right top	"
3505cdf0e10cSrcweir };
3506cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketPairSegm[] =
3507cdf0e10cSrcweir {
3508cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x8000,
3509cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x8000
3510cdf0e10cSrcweir };
3511cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketPairCalc[] =
3512cdf0e10cSrcweir {
3513cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3514cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3515cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3516cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3517cdf0e10cSrcweir 	{ 0x2082, { DFF_Prop_adjustValue, 0, 45 } },
3518cdf0e10cSrcweir 	{ 0x2000, { 0x404, 0, 10800 } },
3519cdf0e10cSrcweir 	{ 0x8000, { 0, 0, DFF_Prop_adjustValue } },
3520cdf0e10cSrcweir 	{ 0xa000, { 0x406, 0, 0x405 } },
3521cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoLeft, 0, 0x407 } },
3522cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoTop, 0, 0x407 } },
3523cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoRight, 0x407, 0 } },
3524cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoBottom, 0x407, 0 } },
3525cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoLeft, 0, 0x405 } },
3526cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoTop, 0, 0x405 } },
3527cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoRight, 0x405, 0 } },
3528cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoBottom, 0x405, 0 } }
3529cdf0e10cSrcweir };
3530cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] =
3531cdf0e10cSrcweir {
3532cdf0e10cSrcweir 	{ { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 0xb MSO_I } }
3533cdf0e10cSrcweir };
3534cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracketPairHandle[] =
3535cdf0e10cSrcweir {
3536cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3537*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
3538cdf0e10cSrcweir };
3539cdf0e10cSrcweir static const mso_CustomShape msoBracketPair =
3540cdf0e10cSrcweir {
3541cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ),
3542cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketPairSegm, sizeof( mso_sptBracketPairSegm ) >> 1,
3543cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ),
3544cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3700,
3545cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, sizeof( mso_sptBracketPairTextRect ) / sizeof( SvxMSDffTextRectangles ),
3546cdf0e10cSrcweir 	21600, 21600,
3547*e5cfc9caSHerbert Dürr 	10800, Mx80000000,
3548cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3549cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBracketPairHandle, sizeof( mso_sptBracketPairHandle ) / sizeof( SvxMSDffHandle )		// handles
3550cdf0e10cSrcweir };
3551cdf0e10cSrcweir 
3552cdf0e10cSrcweir static const sal_uInt16 mso_sptPlaqueSegm[] =
3553cdf0e10cSrcweir {
3554cdf0e10cSrcweir 	0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
3555cdf0e10cSrcweir };
3556cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] =
3557cdf0e10cSrcweir {
3558cdf0e10cSrcweir 	{ { 0xc MSO_I, 0xd MSO_I }, { 0xe MSO_I, 0xf MSO_I } }
3559cdf0e10cSrcweir };
3560cdf0e10cSrcweir static const SvxMSDffHandle mso_sptPlaqueHandle[] =
3561cdf0e10cSrcweir {
3562cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3563*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
3564cdf0e10cSrcweir };
3565cdf0e10cSrcweir static const mso_CustomShape msoPlaque =
3566cdf0e10cSrcweir {
3567cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracketPairVert, sizeof( mso_sptBracketPairVert ) / sizeof( SvxMSDffVertPair ),
3568cdf0e10cSrcweir 	(sal_uInt16*)mso_sptPlaqueSegm, sizeof( mso_sptPlaqueSegm ) >> 1,
3569cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketPairCalc, sizeof( mso_sptBracketPairCalc ) / sizeof( SvxMSDffCalculationData ),
3570cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault3600,
3571cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptPlaqueTextRect, sizeof( mso_sptPlaqueTextRect ) / sizeof( SvxMSDffTextRectangles ),
3572cdf0e10cSrcweir 	21600, 21600,
3573cdf0e10cSrcweir 	10800, 10800,
3574cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3575cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptPlaqueHandle, sizeof( mso_sptPlaqueHandle ) / sizeof( SvxMSDffHandle )		// handles
3576cdf0e10cSrcweir };
3577cdf0e10cSrcweir 
3578cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBracePairVert[] =	// adj value 0 -> 5400
3579cdf0e10cSrcweir {
3580cdf0e10cSrcweir 	{ 4 MSO_I, 0 },	{ 0 MSO_I, 1 MSO_I }, { 0 MSO_I, 6 MSO_I }, { 0 ,10800 },			// left bracket
3581cdf0e10cSrcweir 	{ 0 MSO_I, 7 MSO_I }, { 0 MSO_I, 2 MSO_I },	{ 4 MSO_I, 21600 },
3582cdf0e10cSrcweir 	{ 8 MSO_I, 21600 },	{ 3 MSO_I, 2 MSO_I }, { 3 MSO_I, 7 MSO_I }, { 21600, 10800 },	// right bracket
3583cdf0e10cSrcweir 	{ 3 MSO_I, 6 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 8 MSO_I, 0 }
3584cdf0e10cSrcweir };
3585cdf0e10cSrcweir static const sal_uInt16 mso_sptBracePairSegm[] =
3586cdf0e10cSrcweir {
3587cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000,
3588cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000
3589cdf0e10cSrcweir };
3590cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracePairCalc[] =
3591cdf0e10cSrcweir {
3592cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, DFF_Prop_adjustValue, 0 } },
3593cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3594cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3595cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, DFF_Prop_adjustValue } },
3596cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },									//  4
3597cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 2, 1 } },						//  5
3598cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjustValue } },					//  6
3599cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },								//  7
3600cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x405 } },					//  8
3601cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 3 } },						//  9
3602cdf0e10cSrcweir 	{ 0x6000, { 0x409, DFF_Prop_adjustValue, 0 } },					// xa
3603cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoLeft, 0x40a, 0 } },						// xb
3604cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x409, 0 } },						// xc
3605cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x40a } },					// xd
3606cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } }					// xe
3607cdf0e10cSrcweir };
3608cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] =
3609cdf0e10cSrcweir {
3610cdf0e10cSrcweir 	{ { 0xb MSO_I, 0xc MSO_I }, { 0xd MSO_I, 0xe MSO_I } }
3611cdf0e10cSrcweir };
3612cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBracePairHandle[] =
3613cdf0e10cSrcweir {
3614cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
3615*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 5400 }
3616cdf0e10cSrcweir };
3617cdf0e10cSrcweir static const mso_CustomShape msoBracePair =
3618cdf0e10cSrcweir {
3619cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBracePairVert, sizeof( mso_sptBracePairVert ) / sizeof( SvxMSDffVertPair ),
3620cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracePairSegm, sizeof( mso_sptBracePairSegm ) >> 1,
3621cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracePairCalc, sizeof( mso_sptBracePairCalc ) / sizeof( SvxMSDffCalculationData ),
3622cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3623cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBracePairTextRect, sizeof( mso_sptBracePairTextRect ) / sizeof( SvxMSDffTextRectangles ),
3624cdf0e10cSrcweir 	21600, 21600,
3625*e5cfc9caSHerbert Dürr 	10800, Mx80000000,
3626cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
3627cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBracePairHandle, sizeof( mso_sptBracePairHandle ) / sizeof( SvxMSDffHandle )		// handles
3628cdf0e10cSrcweir };
3629cdf0e10cSrcweir 
3630cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBracketCalc[] =
3631cdf0e10cSrcweir {
3632cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
3633cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, DFF_Prop_adjustValue, 0 } },
3634cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, DFF_Prop_adjustValue } },
3635cdf0e10cSrcweir 	{ 0x6000, { DFF_Prop_geoTop, 0x400, 0 } },
3636cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } }
3637cdf0e10cSrcweir };
3638cdf0e10cSrcweir static const sal_uInt16 mso_sptBracketSegm[] =
3639cdf0e10cSrcweir {
3640cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2001, 0x8000
3641cdf0e10cSrcweir };
3642cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketVert[] =	// adj value 0 -> 10800
3643cdf0e10cSrcweir {
3644cdf0e10cSrcweir 	{ 21600, 0 }, { 10800,	0 }, { 0, 3 MSO_I }, { 0, 1 MSO_I },
3645cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 0, 4 MSO_I }, { 10800, 21600 }, { 21600, 21600 }
3646cdf0e10cSrcweir };
3647cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect[] =
3648cdf0e10cSrcweir {
3649cdf0e10cSrcweir 	{ { 6350, 3 MSO_I }, { 21600, 4 MSO_I } }
3650cdf0e10cSrcweir };
3651cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] =
3652cdf0e10cSrcweir {
3653cdf0e10cSrcweir 	{ 21600, 0 }, { 0, 10800 }, { 21600, 21600 }
3654cdf0e10cSrcweir };
3655cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBracketHandle[] =
3656cdf0e10cSrcweir {
3657cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3658*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
3659cdf0e10cSrcweir };
3660cdf0e10cSrcweir static const mso_CustomShape msoLeftBracket =
3661cdf0e10cSrcweir {
3662cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketVert, sizeof( mso_sptLeftBracketVert ) / sizeof( SvxMSDffVertPair ),
3663cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
3664cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ),
3665cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3666cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, sizeof( mso_sptLeftBracketTextRect ) / sizeof( SvxMSDffTextRectangles ),
3667cdf0e10cSrcweir 	21600, 21600,
3668*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3669cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3670cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftBracketHandle, sizeof( mso_sptLeftBracketHandle ) / sizeof( SvxMSDffHandle )		// handles
3671cdf0e10cSrcweir };
3672cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketVert[] =	// adj value 0 -> 10800
3673cdf0e10cSrcweir {
3674cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I }, { 21600, 1 MSO_I },
3675cdf0e10cSrcweir 	{ 21600, 2 MSO_I }, { 21600, 4 MSO_I }, { 10800, 21600 }, { 0, 21600 }
3676cdf0e10cSrcweir };
3677cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBracketTextRect[] =
3678cdf0e10cSrcweir {
3679cdf0e10cSrcweir 	{ { 0, 3 MSO_I }, { 15150, 4 MSO_I } }
3680cdf0e10cSrcweir };
3681cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] =
3682cdf0e10cSrcweir {
3683cdf0e10cSrcweir 	{ 0, 0 }, { 0, 21600 }, { 21600, 10800 }
3684cdf0e10cSrcweir };
3685cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBracketHandle[] =
3686cdf0e10cSrcweir {
3687cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3688*e5cfc9caSHerbert Dürr 		1, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
3689cdf0e10cSrcweir };
3690cdf0e10cSrcweir static const mso_CustomShape msoRightBracket =
3691cdf0e10cSrcweir {
3692cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketVert, sizeof( mso_sptRightBracketVert ) / sizeof( SvxMSDffVertPair ),
3693cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBracketSegm, sizeof( mso_sptBracketSegm ) >> 1,
3694cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBracketCalc, sizeof( mso_sptBracketCalc ) / sizeof( SvxMSDffCalculationData ),
3695cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault1800,
3696cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, sizeof( mso_sptRightBracketTextRect ) / sizeof( SvxMSDffTextRectangles ),
3697cdf0e10cSrcweir 	21600, 21600,
3698*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3699cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3700cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightBracketHandle, sizeof( mso_sptRightBracketHandle ) / sizeof( SvxMSDffHandle )		// handles
3701cdf0e10cSrcweir };
3702cdf0e10cSrcweir 
3703cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBraceCalc[] =
3704cdf0e10cSrcweir {
3705cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
3706cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
3707cdf0e10cSrcweir 	{ 0xa000, { 0x404, 0, DFF_Prop_adjustValue } },
3708cdf0e10cSrcweir 	{ 0xa000, { 0x404, 0, 0x400 } },
3709cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
3710cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x400, 0 } },
3711cdf0e10cSrcweir 	{ 0x6000, { 0x404, DFF_Prop_adjustValue, 0 } },
3712cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
3713cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },
3714cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 10000, 31953 } },
3715cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x409 } }
3716cdf0e10cSrcweir };
3717cdf0e10cSrcweir static const sal_uInt16 mso_sptBraceSegm[] =
3718cdf0e10cSrcweir {
3719cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000
3720cdf0e10cSrcweir };
3721cdf0e10cSrcweir static const sal_Int32 mso_sptBraceDefault[] =
3722cdf0e10cSrcweir {
3723cdf0e10cSrcweir 	2, 1800, 10800
3724cdf0e10cSrcweir };
3725cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptLeftBraceVert[] =
3726cdf0e10cSrcweir {
3727cdf0e10cSrcweir 	{ 21600, 0 },												// p
3728cdf0e10cSrcweir 	{ 16200, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },		// ccp
3729cdf0e10cSrcweir 	{ 10800, 2 MSO_I },											// p
3730cdf0e10cSrcweir 	{ 10800, 3 MSO_I }, { 5400, 4 MSO_I }, { 0, 4 MSO_I },		// ccp
3731cdf0e10cSrcweir 	{ 5400, 4 MSO_I }, 	{ 10800, 5 MSO_I }, { 10800, 6 MSO_I },	// ccp
3732cdf0e10cSrcweir 	{ 10800, 7 MSO_I },											// p
3733cdf0e10cSrcweir 	{ 10800, 8 MSO_I }, { 16200, 21600 }, { 21600, 21600 }		// ccp
3734cdf0e10cSrcweir };
3735cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] =
3736cdf0e10cSrcweir {
3737cdf0e10cSrcweir 	{ { 13800, 9 MSO_I }, { 21600, 10 MSO_I } }
3738cdf0e10cSrcweir };
3739cdf0e10cSrcweir static const SvxMSDffHandle mso_sptLeftBraceHandle[] =
3740cdf0e10cSrcweir {
3741cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3742*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 5400 },
3743cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3744*e5cfc9caSHerbert Dürr 		0, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 21600 }
3745cdf0e10cSrcweir };
3746cdf0e10cSrcweir static const mso_CustomShape msoLeftBrace =		// adj value0 0 -> 5400
3747cdf0e10cSrcweir {												// adj value1 0 -> 21600
3748cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBraceVert, sizeof( mso_sptLeftBraceVert ) / sizeof( SvxMSDffVertPair ),
3749cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
3750cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ),
3751cdf0e10cSrcweir 	(sal_Int32*)mso_sptBraceDefault,
3752cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, sizeof( mso_sptLeftBraceTextRect ) / sizeof( SvxMSDffTextRectangles ),
3753cdf0e10cSrcweir 	21600, 21600,
3754*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3755cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3756cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptLeftBraceHandle, sizeof( mso_sptLeftBraceHandle ) / sizeof( SvxMSDffHandle )		// handles
3757cdf0e10cSrcweir };
3758cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRightBraceVert[] =
3759cdf0e10cSrcweir {
3760cdf0e10cSrcweir 	{ 0, 0 },													// p
3761cdf0e10cSrcweir 	{ 5400, 0 }, { 10800, 0 MSO_I }, { 10800, 1 MSO_I },		// ccp
3762cdf0e10cSrcweir 	{ 10800, 2 MSO_I },											// p
3763cdf0e10cSrcweir 	{ 10800, 3 MSO_I },	{ 16200, 4 MSO_I }, { 21600, 4 MSO_I },	// ccp
3764cdf0e10cSrcweir 	{ 16200, 4 MSO_I },	{ 10800, 5 MSO_I },	{ 10800, 6 MSO_I },	// ccp
3765cdf0e10cSrcweir 	{ 10800, 7 MSO_I },											// p
3766cdf0e10cSrcweir 	{ 10800, 8 MSO_I }, { 5400,	21600 }, { 0, 21600	}			// ccp
3767cdf0e10cSrcweir };
3768cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] =
3769cdf0e10cSrcweir {
3770cdf0e10cSrcweir 	{ { 0, 9 MSO_I }, { 7800, 10 MSO_I } }
3771cdf0e10cSrcweir };
3772cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRightBraceHandle[] =
3773cdf0e10cSrcweir {
3774cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3775*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 5400 },
3776cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3777*e5cfc9caSHerbert Dürr 		1, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 21600 }
3778cdf0e10cSrcweir };
3779cdf0e10cSrcweir static const mso_CustomShape msoRightBrace =		// adj value0 0 -> 5400
3780cdf0e10cSrcweir {												// adj value1 0 -> 21600
3781cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBraceVert, sizeof( mso_sptRightBraceVert ) / sizeof( SvxMSDffVertPair ),
3782cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBraceSegm, sizeof( mso_sptBraceSegm ) >> 1,
3783cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBraceCalc, sizeof( mso_sptBraceCalc ) / sizeof( SvxMSDffCalculationData ),
3784cdf0e10cSrcweir 	(sal_Int32*)mso_sptBraceDefault,
3785cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, sizeof( mso_sptRightBraceTextRect ) / sizeof( SvxMSDffTextRectangles ),
3786cdf0e10cSrcweir 	21600, 21600,
3787*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3788cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / sizeof( SvxMSDffVertPair ),
3789cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRightBraceHandle, sizeof( mso_sptRightBraceHandle ) / sizeof( SvxMSDffHandle )		// handles
3790cdf0e10cSrcweir };
3791cdf0e10cSrcweir 
3792cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1Vert[] =
3793cdf0e10cSrcweir {
3794cdf0e10cSrcweir 	{ 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 },
3795cdf0e10cSrcweir 	{ 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 },
3796cdf0e10cSrcweir 	{ 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 },
3797cdf0e10cSrcweir 	{ 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 },
3798cdf0e10cSrcweir 	{ 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 },
3799cdf0e10cSrcweir 	{ 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 }
3800cdf0e10cSrcweir };
3801cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect[] =
3802cdf0e10cSrcweir {
3803cdf0e10cSrcweir 	{ { 4680, 6570 }, { 16140, 13280 } }
3804cdf0e10cSrcweir };
3805cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints[] =
3806cdf0e10cSrcweir {
3807cdf0e10cSrcweir 	{ 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 }
3808cdf0e10cSrcweir };
3809cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal1 =
3810cdf0e10cSrcweir {
3811cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal1Vert, sizeof( mso_sptIrregularSeal1Vert ) / sizeof( SvxMSDffVertPair ),
3812cdf0e10cSrcweir 	NULL, 0,
3813cdf0e10cSrcweir 	NULL, 0,
3814cdf0e10cSrcweir 	NULL,
3815cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, sizeof( mso_sptIrregularSeal1TextRect ) / sizeof( SvxMSDffTextRectangles ),
3816cdf0e10cSrcweir 	21600, 21600,
3817*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3818cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, sizeof( mso_sptIrregularSeal1GluePoints ) / sizeof( SvxMSDffVertPair ),
3819cdf0e10cSrcweir 	NULL, 0		// handles
3820cdf0e10cSrcweir };
3821cdf0e10cSrcweir 
3822cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2Vert[] =
3823cdf0e10cSrcweir {
3824cdf0e10cSrcweir 	{ 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 },
3825cdf0e10cSrcweir 	{ 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 },
3826cdf0e10cSrcweir 	{ 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 },
3827cdf0e10cSrcweir 	{ 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 },
3828cdf0e10cSrcweir 	{ 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 },
3829cdf0e10cSrcweir 	{ 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 },
3830cdf0e10cSrcweir 	{ 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 },
3831cdf0e10cSrcweir 	{ 11464, 4340 }
3832cdf0e10cSrcweir };
3833cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect[] =
3834cdf0e10cSrcweir {
3835cdf0e10cSrcweir 	{ { 5400, 6570 }, { 14160, 15290 } }
3836cdf0e10cSrcweir };
3837cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints[] =
3838cdf0e10cSrcweir {
3839cdf0e10cSrcweir 	{ 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 }
3840cdf0e10cSrcweir };
3841cdf0e10cSrcweir static const mso_CustomShape msoIrregularSeal2 =
3842cdf0e10cSrcweir {
3843cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal2Vert, sizeof( mso_sptIrregularSeal2Vert ) / sizeof( SvxMSDffVertPair ),
3844cdf0e10cSrcweir 	NULL, 0,
3845cdf0e10cSrcweir 	NULL, 0,
3846cdf0e10cSrcweir 	NULL,
3847cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, sizeof( mso_sptIrregularSeal2TextRect ) / sizeof( SvxMSDffTextRectangles ),
3848cdf0e10cSrcweir 	21600, 21600,
3849*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3850cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, sizeof( mso_sptIrregularSeal2GluePoints ) / sizeof( SvxMSDffVertPair ),
3851cdf0e10cSrcweir 	NULL, 0		// handles
3852cdf0e10cSrcweir };
3853cdf0e10cSrcweir 
3854cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal4Vert[] =		// adjustment1 : 0 - 10800
3855cdf0e10cSrcweir {
3856cdf0e10cSrcweir 	{ 0, 10800 }, { 4 MSO_I, 4 MSO_I }, { 10800, 0 }, { 3 MSO_I, 4 MSO_I },
3857cdf0e10cSrcweir 	{ 21600, 10800 }, { 3 MSO_I, 3 MSO_I }, { 10800, 21600 }, { 4 MSO_I, 3 MSO_I },
3858cdf0e10cSrcweir 	{ 0, 10800 }
3859cdf0e10cSrcweir };
3860cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal4Calc[] =
3861cdf0e10cSrcweir {
3862cdf0e10cSrcweir 	{ 0x0000, { 7600, 0, 0 } },
3863cdf0e10cSrcweir 	{ 0x6001, { 0x400, DFF_Prop_adjustValue, 10800 } },
3864cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x401 } },
3865cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x402, 0 } },
3866cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x402 } }
3867cdf0e10cSrcweir };
3868cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] =
3869cdf0e10cSrcweir {
3870cdf0e10cSrcweir 	{ { 4 MSO_I, 4 MSO_I }, { 3 MSO_I, 3 MSO_I } }
3871cdf0e10cSrcweir };
3872cdf0e10cSrcweir static const SvxMSDffHandle mso_sptSealHandle[] =
3873cdf0e10cSrcweir {
3874cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
3875*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
3876cdf0e10cSrcweir };
3877cdf0e10cSrcweir static const mso_CustomShape msoSeal4 =
3878cdf0e10cSrcweir {
3879cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal4Vert, sizeof( mso_sptSeal4Vert ) / sizeof( SvxMSDffVertPair ),
3880cdf0e10cSrcweir 	NULL, 0,
3881cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal4Calc, sizeof( mso_sptSeal4Calc ) / sizeof( SvxMSDffCalculationData ),
3882cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault8100,
3883cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSeal4TextRect, sizeof( mso_sptSeal4TextRect ) / sizeof( SvxMSDffTextRectangles ),
3884cdf0e10cSrcweir 	21600, 21600,
3885*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3886cdf0e10cSrcweir 	NULL, 0,
3887cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
3888cdf0e10cSrcweir };
3889cdf0e10cSrcweir 
3890cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStarVert[] =
3891cdf0e10cSrcweir {
3892cdf0e10cSrcweir 	{ 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 },
3893cdf0e10cSrcweir 	{ 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 },
3894cdf0e10cSrcweir 	{ 21600, 8256 }, { 13321, 8256 }, { 10797, 0 }
3895cdf0e10cSrcweir };
3896cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptStarTextRect[] =
3897cdf0e10cSrcweir {
3898cdf0e10cSrcweir 	{ { 6722, 8256 }, { 14878, 15460 } }
3899cdf0e10cSrcweir };
3900cdf0e10cSrcweir static const mso_CustomShape msoStar =
3901cdf0e10cSrcweir {
3902cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStarVert, sizeof( mso_sptStarVert ) / sizeof( SvxMSDffVertPair ),
3903cdf0e10cSrcweir 	NULL, 0,
3904cdf0e10cSrcweir 	NULL, 0,
3905cdf0e10cSrcweir 	NULL,
3906cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptStarTextRect, sizeof( mso_sptStarTextRect ) / sizeof( SvxMSDffTextRectangles ),
3907cdf0e10cSrcweir 	21600, 21600,
3908*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
3909cdf0e10cSrcweir 	NULL, 0,
3910cdf0e10cSrcweir 	NULL, 0		// handles
3911cdf0e10cSrcweir };
3912cdf0e10cSrcweir 
3913cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal24Calc[] =
3914cdf0e10cSrcweir {
3915cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
3916cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
3917cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
3918cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
3919cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
3920cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
3921cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
3922cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 7 } },
3923cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 7 } },
3924cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 15 } },
3925cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 15 } },
3926cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 22 } },
3927cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 22 } },
3928cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 30 } },
3929cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 30 } },
3930cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 37 } },
3931cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 37 } },
3932cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
3933cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
3934cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 52 } },
3935cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 52 } },
3936cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 60 } },
3937cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 60 } },
3938cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 67 } },
3939cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 67 } },
3940cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 75 } },
3941cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 75 } },
3942cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 82 } },
3943cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 82 } },
3944cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
3945cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
3946cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 97 } },
3947cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 97 } },
3948cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 105 } },
3949cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 105 } },
3950cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 112 } },
3951cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 112 } },
3952cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 120 } },
3953cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 120 } },
3954cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 127 } },
3955cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 127 } },
3956cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
3957cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
3958cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 142 } },
3959cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 142 } },
3960cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 150 } },
3961cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 150 } },
3962cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 157 } },
3963cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 157 } },
3964cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 165 } },
3965cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 165 } },
3966cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 172 } },
3967cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 172 } },
3968cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
3969cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
3970cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 187 } },
3971cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 187 } },
3972cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 195 } },
3973cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 195 } },
3974cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 202 } },
3975cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 202 } },
3976cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 210 } },
3977cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 210 } },
3978cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 217 } },
3979cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 217 } },
3980cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
3981cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
3982cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 232 } },
3983cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 232 } },
3984cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 240 } },
3985cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 240 } },
3986cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 247 } },
3987cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 247 } },
3988cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 255 } },
3989cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 255 } },
3990cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 262 } },
3991cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 262 } },
3992cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
3993cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
3994cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 277 } },
3995cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 277 } },
3996cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 285 } },
3997cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 285 } },
3998cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 292 } },
3999cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 292 } },
4000cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 300 } },
4001cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 300 } },
4002cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 307 } },
4003cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 307 } },
4004cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4005cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4006cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 322 } },
4007cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 322 } },
4008cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 330 } },
4009cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 330 } },
4010cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 337 } },
4011cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 337 } },
4012cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 345 } },
4013cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 345 } },
4014cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 352 } },
4015cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 352 } }
4016cdf0e10cSrcweir };
4017cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal8Vert[] =	// adj value 0 -> 10800
4018cdf0e10cSrcweir {
4019cdf0e10cSrcweir 	{ 5 MSO_I, 6 MSO_I }, { 11 MSO_I, 12 MSO_I }, { 17 MSO_I, 18 MSO_I }, { 23 MSO_I, 24 MSO_I },
4020cdf0e10cSrcweir 	{ 29 MSO_I, 30 MSO_I }, { 35 MSO_I, 36 MSO_I }, { 41 MSO_I, 42 MSO_I }, { 47 MSO_I, 48 MSO_I },
4021cdf0e10cSrcweir 	{ 53 MSO_I, 54 MSO_I }, { 59 MSO_I, 60 MSO_I }, { 65 MSO_I, 66 MSO_I }, { 71 MSO_I, 72 MSO_I },
4022cdf0e10cSrcweir 	{ 77 MSO_I, 78 MSO_I }, { 83 MSO_I, 84 MSO_I }, { 89 MSO_I, 90 MSO_I }, { 95 MSO_I, 96 MSO_I },
4023cdf0e10cSrcweir 	{ 5 MSO_I, 6 MSO_I }
4024cdf0e10cSrcweir };
4025cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptSealTextRect[] =
4026cdf0e10cSrcweir {
4027cdf0e10cSrcweir 	{ { 1 MSO_I, 2 MSO_I }, { 3 MSO_I, 4 MSO_I } }
4028cdf0e10cSrcweir };
4029cdf0e10cSrcweir static const mso_CustomShape msoSeal8 =
4030cdf0e10cSrcweir {
4031cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal8Vert, sizeof( mso_sptSeal8Vert ) / sizeof( SvxMSDffVertPair ),
4032cdf0e10cSrcweir 	NULL, 0,
4033cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ),
4034cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4035cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4036cdf0e10cSrcweir 	21600, 21600,
4037*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4038cdf0e10cSrcweir 	NULL, 0,
4039cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4040cdf0e10cSrcweir };
4041cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal16Vert[] =	// adj value 0 -> 10800
4042cdf0e10cSrcweir {
4043cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4044cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4045cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4046cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4047cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4048cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4049cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4050cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4051cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4052cdf0e10cSrcweir };
4053cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal16Calc[] =
4054cdf0e10cSrcweir {
4055cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
4056cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
4057cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
4058cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
4059cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
4060cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
4061cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
4062cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 11 } },
4063cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 11 } },
4064cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 22 } },
4065cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 22 } },
4066cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 33 } },
4067cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 33 } },
4068cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
4069cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
4070cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 56 } },
4071cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 56 } },
4072cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 67 } },
4073cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 67 } },
4074cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 78 } },
4075cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 78 } },
4076cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
4077cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
4078cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 101 } },
4079cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 101 } },
4080cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 112 } },
4081cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 112 } },
4082cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 123 } },
4083cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 123 } },
4084cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
4085cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
4086cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 146 } },
4087cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 146 } },
4088cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 157 } },
4089cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 157 } },
4090cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 168 } },
4091cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 168 } },
4092cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
4093cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
4094cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 191 } },
4095cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 191 } },
4096cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 202 } },
4097cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 202 } },
4098cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 213 } },
4099cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 213 } },
4100cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
4101cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
4102cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 236 } },
4103cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 236 } },
4104cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 247 } },
4105cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 247 } },
4106cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 258 } },
4107cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 258 } },
4108cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
4109cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
4110cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 281 } },
4111cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 281 } },
4112cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 292 } },
4113cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 292 } },
4114cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 303 } },
4115cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 303 } },
4116cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4117cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4118cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 326 } },
4119cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 326 } },
4120cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 337 } },
4121cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 337 } },
4122cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 348 } },
4123cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 348 } }
4124cdf0e10cSrcweir };
4125cdf0e10cSrcweir static const mso_CustomShape msoSeal16 =
4126cdf0e10cSrcweir {
4127cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal16Vert, sizeof( mso_sptSeal16Vert ) / sizeof( SvxMSDffVertPair ),
4128cdf0e10cSrcweir 	NULL, 0,
4129cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal16Calc, sizeof( mso_sptSeal16Calc ) / sizeof( SvxMSDffCalculationData ),
4130cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4131cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4132cdf0e10cSrcweir 	21600, 21600,
4133*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4134cdf0e10cSrcweir 	NULL, 0,
4135cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4136cdf0e10cSrcweir };
4137cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal24Vert[] =
4138cdf0e10cSrcweir {
4139cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4140cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4141cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4142cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4143cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4144cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4145cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4146cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4147cdf0e10cSrcweir 	{ 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
4148cdf0e10cSrcweir 	{ 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
4149cdf0e10cSrcweir 	{ 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
4150cdf0e10cSrcweir 	{ 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
4151cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4152cdf0e10cSrcweir };
4153cdf0e10cSrcweir static const mso_CustomShape msoSeal24 =
4154cdf0e10cSrcweir {
4155cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal24Vert, sizeof( mso_sptSeal24Vert ) / sizeof( SvxMSDffVertPair ),
4156cdf0e10cSrcweir 	NULL, 0,
4157cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal24Calc, sizeof( mso_sptSeal24Calc ) / sizeof( SvxMSDffCalculationData ),
4158cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4159cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4160cdf0e10cSrcweir 	21600, 21600,
4161*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4162cdf0e10cSrcweir 	NULL, 0,
4163cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )		// handles
4164cdf0e10cSrcweir };
4165cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptSeal32Calc[] =
4166cdf0e10cSrcweir {
4167cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 0x00
4168cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 315 } },				// 0x01	( textframe )
4169cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 315 } },				// 0x02
4170cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 135 } },				// 0x03
4171cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 135 } },				// 0x04
4172cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 0 } },
4173cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 0 } },
4174cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 5 } },
4175cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 5 } },
4176cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 11 } },
4177cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 11 } },
4178cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 16 } },
4179cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 16 } },
4180cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 22 } },
4181cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 22 } },
4182cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 28 } },
4183cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 28 } },
4184cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 33 } },
4185cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 33 } },
4186cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 39 } },
4187cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 39 } },
4188cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 45 } },
4189cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 45 } },
4190cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 50 } },
4191cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 50 } },
4192cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 56 } },
4193cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 56 } },
4194cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 61 } },
4195cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 61 } },
4196cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 67 } },
4197cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 67 } },
4198cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 73 } },
4199cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 73 } },
4200cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 78 } },
4201cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 78 } },
4202cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 84 } },
4203cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 84 } },
4204cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 90 } },
4205cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 90 } },
4206cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 95 } },
4207cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 95 } },
4208cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 101 } },
4209cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 101 } },
4210cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 106 } },
4211cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 106 } },
4212cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 112 } },
4213cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 112 } },
4214cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 118 } },
4215cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 118 } },
4216cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 123 } },
4217cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 123 } },
4218cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 129 } },
4219cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 129 } },
4220cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 135 } },
4221cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 135 } },
4222cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 140 } },
4223cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 140 } },
4224cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 146 } },
4225cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 146 } },
4226cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 151 } },
4227cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 151 } },
4228cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 157 } },
4229cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 157 } },
4230cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 163 } },
4231cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 163 } },
4232cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 168 } },
4233cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 168 } },
4234cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 174 } },
4235cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 174 } },
4236cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 180 } },
4237cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 180 } },
4238cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 185 } },
4239cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 185 } },
4240cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 191 } },
4241cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 191 } },
4242cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 196 } },
4243cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 196 } },
4244cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 202 } },
4245cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 202 } },
4246cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 208 } },
4247cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 208 } },
4248cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 213 } },
4249cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 213 } },
4250cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 219 } },
4251cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 219 } },
4252cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 225 } },
4253cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 225 } },
4254cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 230 } },
4255cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 230 } },
4256cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 236 } },
4257cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 236 } },
4258cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 241 } },
4259cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 241 } },
4260cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 247 } },
4261cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 247 } },
4262cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 253 } },
4263cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 253 } },
4264cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 258 } },
4265cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 258 } },
4266cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 264 } },
4267cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 264 } },
4268cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 270 } },
4269cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 270 } },
4270cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 275 } },
4271cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 275 } },
4272cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 281 } },
4273cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 281 } },
4274cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 286 } },
4275cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 286 } },
4276cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 292 } },
4277cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 292 } },
4278cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 298 } },
4279cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 298 } },
4280cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 303 } },
4281cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 303 } },
4282cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 309 } },
4283cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 309 } },
4284cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 315 } },
4285cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 315 } },
4286cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 320 } },
4287cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 320 } },
4288cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 326 } },
4289cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 326 } },
4290cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 331 } },
4291cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 331 } },
4292cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 337 } },
4293cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 337 } },
4294cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 343 } },
4295cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 343 } },
4296cdf0e10cSrcweir 	{ 0x0081, { 0,	 10800, 348 } },
4297cdf0e10cSrcweir 	{ 0x0082, { 0,	 10800, 348 } },
4298cdf0e10cSrcweir 	{ 0x2081, { 0x400, 10800, 354 } },
4299cdf0e10cSrcweir 	{ 0x2082, { 0x400, 10800, 354 } }
4300cdf0e10cSrcweir };
4301cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptSeal32Vert[] =
4302cdf0e10cSrcweir {
4303cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }, { 0x07 MSO_I, 0x08 MSO_I }, { 0x09 MSO_I, 0x0a MSO_I }, { 0x0b MSO_I, 0x0c MSO_I },
4304cdf0e10cSrcweir 	{ 0x0d MSO_I, 0x0e MSO_I }, { 0x0f MSO_I, 0x10 MSO_I }, { 0x11 MSO_I, 0x12 MSO_I }, { 0x13 MSO_I, 0x14 MSO_I },
4305cdf0e10cSrcweir 	{ 0x15 MSO_I, 0x16 MSO_I }, { 0x17 MSO_I, 0x18 MSO_I }, { 0x19 MSO_I, 0x1a MSO_I }, { 0x1b MSO_I, 0x1c MSO_I },
4306cdf0e10cSrcweir 	{ 0x1d MSO_I, 0x1e MSO_I }, { 0x1f MSO_I, 0x20 MSO_I }, { 0x21 MSO_I, 0x22 MSO_I }, { 0x23 MSO_I, 0x24 MSO_I },
4307cdf0e10cSrcweir 	{ 0x25 MSO_I, 0x26 MSO_I }, { 0x27 MSO_I, 0x28 MSO_I }, { 0x29 MSO_I, 0x2a MSO_I }, { 0x2b MSO_I, 0x2c MSO_I },
4308cdf0e10cSrcweir 	{ 0x2d MSO_I, 0x2e MSO_I }, { 0x2f MSO_I, 0x30 MSO_I }, { 0x31 MSO_I, 0x32 MSO_I }, { 0x33 MSO_I, 0x34 MSO_I },
4309cdf0e10cSrcweir 	{ 0x35 MSO_I, 0x36 MSO_I }, { 0x37 MSO_I, 0x38 MSO_I }, { 0x39 MSO_I, 0x3a MSO_I }, { 0x3b MSO_I, 0x3c MSO_I },
4310cdf0e10cSrcweir 	{ 0x3d MSO_I, 0x3e MSO_I }, { 0x3f MSO_I, 0x40 MSO_I }, { 0x41 MSO_I, 0x42 MSO_I }, { 0x43 MSO_I, 0x44 MSO_I },
4311cdf0e10cSrcweir 	{ 0x45 MSO_I, 0x46 MSO_I }, { 0x47 MSO_I, 0x48 MSO_I }, { 0x49 MSO_I, 0x4a MSO_I }, { 0x4b MSO_I, 0x4c MSO_I },
4312cdf0e10cSrcweir 	{ 0x4d MSO_I, 0x4e MSO_I }, { 0x4f MSO_I, 0x50 MSO_I }, { 0x51 MSO_I, 0x52 MSO_I }, { 0x53 MSO_I, 0x54 MSO_I },
4313cdf0e10cSrcweir 	{ 0x55 MSO_I, 0x56 MSO_I }, { 0x57 MSO_I, 0x58 MSO_I }, { 0x59 MSO_I, 0x5a MSO_I }, { 0x5b MSO_I, 0x5c MSO_I },
4314cdf0e10cSrcweir 	{ 0x5d MSO_I, 0x5e MSO_I }, { 0x5f MSO_I, 0x60 MSO_I }, { 0x61 MSO_I, 0x62 MSO_I }, { 0x63 MSO_I, 0x64 MSO_I },
4315cdf0e10cSrcweir 	{ 0x65 MSO_I, 0x66 MSO_I }, { 0x67 MSO_I, 0x68 MSO_I }, { 0x69 MSO_I, 0x6a MSO_I }, { 0x6b MSO_I, 0x6c MSO_I },
4316cdf0e10cSrcweir 	{ 0x6d MSO_I, 0x6e MSO_I }, { 0x6f MSO_I, 0x70 MSO_I }, { 0x71 MSO_I, 0x72 MSO_I }, { 0x73 MSO_I, 0x74 MSO_I },
4317cdf0e10cSrcweir 	{ 0x75 MSO_I, 0x76 MSO_I }, { 0x77 MSO_I, 0x78 MSO_I }, { 0x79 MSO_I, 0x7a MSO_I }, { 0x7b MSO_I, 0x7c MSO_I },
4318cdf0e10cSrcweir 	{ 0x7d MSO_I, 0x7e MSO_I }, { 0x7f MSO_I, 0x80 MSO_I }, { 0x81 MSO_I, 0x82 MSO_I }, { 0x83 MSO_I, 0x84 MSO_I },
4319cdf0e10cSrcweir 	{ 0x05 MSO_I, 0x06 MSO_I }
4320cdf0e10cSrcweir };
4321cdf0e10cSrcweir static const mso_CustomShape msoSeal32 =
4322cdf0e10cSrcweir {
4323cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptSeal32Vert, sizeof( mso_sptSeal32Vert ) / sizeof( SvxMSDffVertPair ),
4324cdf0e10cSrcweir 	NULL, 0,
4325cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptSeal32Calc, sizeof( mso_sptSeal32Calc ) / sizeof( SvxMSDffCalculationData ),
4326cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2500,
4327cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( SvxMSDffTextRectangles ),
4328cdf0e10cSrcweir 	21600, 21600,
4329*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4330cdf0e10cSrcweir 	NULL, 0,
4331cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )
4332cdf0e10cSrcweir };
4333cdf0e10cSrcweir 
4334cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbon2Vert[] =	// adjustment1 : x 2700	 - 8100		def 5400
4335cdf0e10cSrcweir {														// adjustment2 : y 14400 - 21600	def 18900
4336cdf0e10cSrcweir 	{ 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },										// pp
4337cdf0e10cSrcweir 	{ 12 MSO_I, 14 MSO_I }, { 15 MSO_I, 21600 }, { 16 MSO_I, 21600 },					// ccp
4338cdf0e10cSrcweir 	{ 0, 21600 }, { 2750, 7 MSO_I }, { 0, 2 MSO_I }, { 0 MSO_I, 2 MSO_I },				// pppp
4339cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I },																// p
4340cdf0e10cSrcweir 	{ 0 MSO_I, 5 MSO_I }, { 10 MSO_I, 0 }, { 11 MSO_I, 0 },								// ccp
4341cdf0e10cSrcweir 	{ 17 MSO_I, 0 },																	// p
4342cdf0e10cSrcweir 	{ 18 MSO_I, 0 }, { 19 MSO_I, 5 MSO_I }, { 19 MSO_I, 4 MSO_I },						// ccp
4343cdf0e10cSrcweir 	{ 19 MSO_I, 2 MSO_I }, { 21600, 2 MSO_I }, { 18850, 7 MSO_I }, { 21600, 21600 },	// pppp
4344cdf0e10cSrcweir 	{ 20 MSO_I, 21600 },																// p
4345cdf0e10cSrcweir 	{ 21 MSO_I, 21600 }, { 22 MSO_I, 14 MSO_I }, { 22 MSO_I, 13 MSO_I },				// ccp
4346cdf0e10cSrcweir 	{ 22 MSO_I, 1 MSO_I }, { 12 MSO_I, 1 MSO_I }, { 12 MSO_I, 13 MSO_I },				// ppp
4347cdf0e10cSrcweir 	{ 12 MSO_I, 23 MSO_I }, { 15 MSO_I, 24 MSO_I }, { 16 MSO_I, 24 MSO_I },				// ccp
4348cdf0e10cSrcweir 	{ 11 MSO_I, 24 MSO_I },																// p
4349cdf0e10cSrcweir 	{ 10 MSO_I, 24 MSO_I }, { 0 MSO_I, 26 MSO_I }, { 0 MSO_I, 25 MSO_I },				// ccp
4350cdf0e10cSrcweir 	{ 0 MSO_I, 27 MSO_I }, { 10 MSO_I, 1 MSO_I }, { 11 MSO_I, 1 MSO_I },				// ccp
4351cdf0e10cSrcweir 
4352cdf0e10cSrcweir 	{ 22 MSO_I, 1 MSO_I }, { 22 MSO_I, 13 MSO_I },										// pp
4353cdf0e10cSrcweir 	{ 22 MSO_I, 23 MSO_I }, { 21 MSO_I, 24 MSO_I }, { 20 MSO_I, 24 MSO_I },				// ccp
4354cdf0e10cSrcweir 	{ 17 MSO_I, 24 MSO_I },																// p
4355cdf0e10cSrcweir 	{ 18 MSO_I, 24 MSO_I }, { 19 MSO_I, 26 MSO_I }, { 19 MSO_I, 25 MSO_I },				// ccp
4356cdf0e10cSrcweir 	{ 19 MSO_I, 27 MSO_I }, { 18 MSO_I, 1 MSO_I }, { 17 MSO_I, 1 MSO_I },				// ccp
4357cdf0e10cSrcweir 
4358cdf0e10cSrcweir 	{ 0 MSO_I, 25 MSO_I }, { 0 MSO_I, 2 MSO_I },										// pp
4359cdf0e10cSrcweir 
4360cdf0e10cSrcweir 	{ 19 MSO_I, 25 MSO_I }, { 19 MSO_I, 2 MSO_I }										// pp
4361cdf0e10cSrcweir };
4362cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbon2Segm[] =
4363cdf0e10cSrcweir {
4364cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000,
4365cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4366cdf0e10cSrcweir 	0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4367cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4368cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4369cdf0e10cSrcweir };
4370cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbon2Calc[] =
4371cdf0e10cSrcweir {
4372cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 00
4373cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 01
4374cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },						// 02
4375cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },							// 03
4376cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 2 } },							// 04
4377cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },							// 05
4378cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },							// 06
4379cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },						// 07
4380cdf0e10cSrcweir 	{ 0x0000, { 420, 0, 0 } },								// 08
4381cdf0e10cSrcweir 	{ 0x2001, { 0x408, 2, 1 } },							// 09
4382cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },						// 10
4383cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x409, 0 } },						// 11
4384cdf0e10cSrcweir 	{ 0x2000, { 0x400, 2700, 0 } },							// 12
4385cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },						// 13
4386cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },						// 14
4387cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x408 } },						// 15
4388cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x409 } },						// 16
4389cdf0e10cSrcweir 
4390cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },						// 17
4391cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },						// 18
4392cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },						// 19
4393cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },						// 20
4394cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },						// 21
4395cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } },						// 22
4396cdf0e10cSrcweir 
4397cdf0e10cSrcweir 	{ 0xa000, { 0x40d, 0, 0x405 } },						// 23
4398cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x403, 0 } },						// 24
4399cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x404, 0 } },						// 25
4400cdf0e10cSrcweir 	{ 0x6000, { 0x419, 0x405, 0 } },						// 26
4401cdf0e10cSrcweir 	{ 0xa000, { 0x419, 0, 0x405 } }							// 27
4402cdf0e10cSrcweir };
4403cdf0e10cSrcweir static const sal_Int32 mso_sptRibbon2Default[] =
4404cdf0e10cSrcweir {
4405cdf0e10cSrcweir 	2, 5400, 18900
4406cdf0e10cSrcweir };
4407cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] =
4408cdf0e10cSrcweir {
4409cdf0e10cSrcweir 	{ { 0 MSO_I, 0 }, { 19 MSO_I, 1 MSO_I } }
4410cdf0e10cSrcweir };
4411cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbon2Handle[] =
4412cdf0e10cSrcweir {
4413cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4414*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 2700, 8100, Mx80000000, 0x7fffffff },
4415cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4416*e5cfc9caSHerbert Dürr 		10800, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 14400, 21600 }
4417cdf0e10cSrcweir };
4418cdf0e10cSrcweir static const mso_CustomShape msoRibbon2 =
4419cdf0e10cSrcweir {
4420cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbon2Vert, sizeof( mso_sptRibbon2Vert ) / sizeof( SvxMSDffVertPair ),
4421cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRibbon2Segm, sizeof( mso_sptRibbon2Segm ) >> 1,
4422cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRibbon2Calc, sizeof( mso_sptRibbon2Calc ) / sizeof( SvxMSDffCalculationData ),
4423cdf0e10cSrcweir 	(sal_Int32*)mso_sptRibbon2Default,
4424cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, sizeof( mso_sptRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ),
4425cdf0e10cSrcweir 	21600, 21600,
4426*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4427cdf0e10cSrcweir 	NULL, 0,
4428cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRibbon2Handle, sizeof( mso_sptRibbon2Handle ) / sizeof( SvxMSDffHandle )
4429cdf0e10cSrcweir };
4430cdf0e10cSrcweir 
4431cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonVert[] =
4432cdf0e10cSrcweir {
4433cdf0e10cSrcweir 	{ 0, 0 }, { 3 MSO_I, 0 },
4434cdf0e10cSrcweir 	{ 4 MSO_I, 11 MSO_I }, { 4 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I }, { 5 MSO_I, 11 MSO_I },
4435cdf0e10cSrcweir 	{ 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 },
4436cdf0e10cSrcweir 	{ 0 MSO_I, 16 MSO_I }, { 0 MSO_I, 15 MSO_I }, { 0, 15 MSO_I }, { 2700, 14 MSO_I },
4437cdf0e10cSrcweir 
4438cdf0e10cSrcweir 	{ 4 MSO_I, 11 MSO_I },
4439cdf0e10cSrcweir 	{ 3 MSO_I, 12 MSO_I }, { 1 MSO_I, 12 MSO_I },
4440cdf0e10cSrcweir 	{ 0 MSO_I, 13 MSO_I }, { 1 MSO_I, 10 MSO_I }, { 4 MSO_I, 10 MSO_I },
4441cdf0e10cSrcweir 	{ 5 MSO_I, 11 MSO_I },
4442cdf0e10cSrcweir 	{ 6 MSO_I, 12 MSO_I }, { 8 MSO_I, 12 MSO_I },
4443cdf0e10cSrcweir 	{ 9 MSO_I, 13 MSO_I }, { 8 MSO_I, 10 MSO_I }, { 5 MSO_I, 10 MSO_I },
4444cdf0e10cSrcweir 	{ 0 MSO_I, 13 MSO_I },
4445cdf0e10cSrcweir 	{ 0 MSO_I, 15 MSO_I },
4446cdf0e10cSrcweir 	{ 9 MSO_I, 13 MSO_I },
4447cdf0e10cSrcweir 	{ 9 MSO_I, 15 MSO_I }
4448cdf0e10cSrcweir };
4449cdf0e10cSrcweir static const sal_uInt16 mso_sptRibbonSegm[] =
4450cdf0e10cSrcweir {
4451cdf0e10cSrcweir 	0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000,
4452cdf0e10cSrcweir 	0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4453cdf0e10cSrcweir 	0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4454cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0001, 0x8000,
4455cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0001, 0x8000
4456cdf0e10cSrcweir };
4457cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptRibbonCalc[] =
4458cdf0e10cSrcweir {
4459cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },				// 00
4460cdf0e10cSrcweir 	{ 0x2000, { 0x400, 675, 0 } },							// 01
4461cdf0e10cSrcweir 	{ 0x2000, { 0x401, 675, 0 } },							// 02
4462cdf0e10cSrcweir 	{ 0x2000, { 0x402, 675, 0 } },							// 03
4463cdf0e10cSrcweir 	{ 0x2000, { 0x403, 675, 0 } },							// 04
4464cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },						// 05
4465cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },						// 06
4466cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },						// 07
4467cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } },						// 08
4468cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },						// 09
4469cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },			// 10
4470cdf0e10cSrcweir 	{ 0x2001, { 0x40a, 1, 4 } },							// 11
4471cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 2, 1 } },							// 12
4472cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 3, 1 } },							// 13
4473cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x40c } },						// 14
4474cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },						// 15
4475cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },						// 16
4476cdf0e10cSrcweir 	{ 0x0001, { 21600, 1, 2 } },							// 17
4477cdf0e10cSrcweir 	{ 0x0000, { 21600, 0, 2700 } },							// 18
4478cdf0e10cSrcweir 	{ 0x2000, { 0x411, 0, 2700 } }							// 19
4479cdf0e10cSrcweir };
4480cdf0e10cSrcweir static const sal_Int32 mso_sptRibbonDefault[] =
4481cdf0e10cSrcweir {
4482cdf0e10cSrcweir 	2, 5400, 2700
4483cdf0e10cSrcweir };
4484cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptRibbonTextRect[] =
4485cdf0e10cSrcweir {
4486cdf0e10cSrcweir 	{ { 0 MSO_I, 10 MSO_I }, { 9 MSO_I, 21600 } }
4487cdf0e10cSrcweir };
4488cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptRibbonGluePoints[] =
4489cdf0e10cSrcweir {
4490cdf0e10cSrcweir 	{ 17 MSO_I, 10 MSO_I }, { 2700, 14 MSO_I }, { 17 MSO_I, 21600 }, { 18 MSO_I, 14 MSO_I }
4491cdf0e10cSrcweir };
4492cdf0e10cSrcweir static const SvxMSDffHandle mso_sptRibbonHandle[] =
4493cdf0e10cSrcweir {
4494cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4495*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 2700, 8100, Mx80000000, 0x7fffffff },
4496cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4497*e5cfc9caSHerbert Dürr 		10800, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, 0, 7200 }
4498cdf0e10cSrcweir };
4499cdf0e10cSrcweir static const mso_CustomShape msoRibbon =
4500cdf0e10cSrcweir {
4501cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbonVert, sizeof( mso_sptRibbonVert ) / sizeof( SvxMSDffVertPair ),
4502cdf0e10cSrcweir 	(sal_uInt16*)mso_sptRibbonSegm, sizeof( mso_sptRibbonSegm ) >> 1,
4503cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptRibbonCalc, sizeof( mso_sptRibbonCalc ) / sizeof( SvxMSDffCalculationData ),
4504cdf0e10cSrcweir 	(sal_Int32*)mso_sptRibbonDefault,
4505cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptRibbonTextRect, sizeof( mso_sptRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ),
4506cdf0e10cSrcweir 	21600, 21600,
4507*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4508cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptRibbonGluePoints, sizeof( mso_sptRibbonGluePoints ) / sizeof( SvxMSDffVertPair ),
4509cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptRibbonHandle, sizeof( mso_sptRibbonHandle ) / sizeof( SvxMSDffHandle )
4510cdf0e10cSrcweir };
45114d2151e5SArmin Le Grand //msosptEllipseRibbon
45124d2151e5SArmin Le Grand //svg path = ar@9@38@8@37,0@27@0@26@9@13@8@4@0@25@22@25@9@38@8@37@22@26@3@27l@7@40@3,wa@9@35@8@10@3,0@21@33@9@36@8@1@21@31@20@31@9@35@8@10@20@33,,l@5@40xewr@9@36@8@1@20@31@0@32nfl@20@33ear@9@36@8@1@21@31@22@32nfl@21@33em@0@26nfl@0@32em@22@26nfl@22@32e
45134d2151e5SArmin Le Grand //odp path = A ?f9 ?f38 ?f8 ?f37 0 ?f27 ?f0 ?f26 ?f9 ?f13 ?f8 ?f4 ?f0 ?f25 ?f22 ?f25 ?f9 ?f38 ?f8 ?f37 ?f22 ?f26 ?f3 ?f27 L ?f7 ?f40 ?f3 0 W ?f9 ?f35 ?f8 ?f10 ?f3 0 ?f21 ?f33 ?f9 ?f36 ?f8 ?f1 ?f21 ?f31 ?f20 ?f31 ?f9 ?f35 ?f8 ?f10 ?f20 ?f33 0 0 L ?f5 ?f40 Z N W ?f9 ?f36 ?f8 ?f1 ?f20 ?f31 ?f0 ?f32 F L ?f20 ?f33 N A ?f9 ?f36 ?f8 ?f1 ?f21 ?f31 ?f22 ?f32 F L ?f21 ?f33 N M ?f0 ?f26 F L ?f0 ?f32 N M ?f22 ?f26 F L ?f22 ?f32 N
45144d2151e5SArmin Le Grand static const SvxMSDffVertPair mso_sptEllipseRibbonVert[] =
45154d2151e5SArmin Le Grand {
45164d2151e5SArmin Le Grand 	{ 9 MSO_I , 38 MSO_I },
45174d2151e5SArmin Le Grand 	{ 8 MSO_I , 37 MSO_I },
45184d2151e5SArmin Le Grand 	{ 0 , 27 MSO_I },
45194d2151e5SArmin Le Grand 	{ 0 MSO_I , 26 MSO_I },
45204d2151e5SArmin Le Grand 	{ 9 MSO_I , 13 MSO_I },
45214d2151e5SArmin Le Grand 	{ 8 MSO_I , 4 MSO_I },
45224d2151e5SArmin Le Grand 	{ 0 MSO_I , 25 MSO_I },
45234d2151e5SArmin Le Grand 	{ 22 MSO_I , 25 MSO_I },
45244d2151e5SArmin Le Grand 	{ 9 MSO_I , 38 MSO_I },
45254d2151e5SArmin Le Grand 	{ 8 MSO_I , 37 MSO_I },
45264d2151e5SArmin Le Grand 	{ 22 MSO_I , 26 MSO_I },
45274d2151e5SArmin Le Grand 	{ 3 MSO_I , 27 MSO_I },
45284d2151e5SArmin Le Grand 	{ 7 MSO_I , 40 MSO_I },
45294d2151e5SArmin Le Grand 	{ 3 MSO_I , 0 },
45304d2151e5SArmin Le Grand 	{ 9 MSO_I , 35 MSO_I },
45314d2151e5SArmin Le Grand 	{ 8 MSO_I , 10 MSO_I },
45324d2151e5SArmin Le Grand 	{ 3 MSO_I , 0 },
45334d2151e5SArmin Le Grand 	{ 21 MSO_I , 33 MSO_I },
45344d2151e5SArmin Le Grand 	{ 9 MSO_I , 36 MSO_I },
45354d2151e5SArmin Le Grand 	{ 8 MSO_I , 1 MSO_I },
45364d2151e5SArmin Le Grand 	{ 21 MSO_I , 31 MSO_I },
45374d2151e5SArmin Le Grand 	{ 20 MSO_I , 31 MSO_I },
45384d2151e5SArmin Le Grand 	{ 9 MSO_I , 35 MSO_I },
45394d2151e5SArmin Le Grand 	{ 8 MSO_I , 10 MSO_I },
45404d2151e5SArmin Le Grand 	{ 20 MSO_I , 33 MSO_I },
45414d2151e5SArmin Le Grand 	{ 0 , 0 },
45424d2151e5SArmin Le Grand 	{ 5 MSO_I , 40 MSO_I },
45434d2151e5SArmin Le Grand 	{ 9 MSO_I , 36 MSO_I },
45444d2151e5SArmin Le Grand 	{ 8 MSO_I , 1 MSO_I },
45454d2151e5SArmin Le Grand 	{ 20 MSO_I , 31 MSO_I },
45464d2151e5SArmin Le Grand 	{ 0 MSO_I , 32 MSO_I },
45474d2151e5SArmin Le Grand 	{ 20 MSO_I , 33 MSO_I },
45484d2151e5SArmin Le Grand 	{ 9 MSO_I , 36 MSO_I },
45494d2151e5SArmin Le Grand 	{ 8 MSO_I , 1 MSO_I },
45504d2151e5SArmin Le Grand 	{ 21 MSO_I , 31 MSO_I },
45514d2151e5SArmin Le Grand 	{ 22 MSO_I , 32 MSO_I },
45524d2151e5SArmin Le Grand 	{ 21 MSO_I , 33 MSO_I },
45534d2151e5SArmin Le Grand 	{ 0 MSO_I , 26 MSO_I },
45544d2151e5SArmin Le Grand 	{ 0 MSO_I , 32 MSO_I },
45554d2151e5SArmin Le Grand 	{ 22 MSO_I , 26 MSO_I },
45564d2151e5SArmin Le Grand 	{ 22 MSO_I , 32 MSO_I }
45574d2151e5SArmin Le Grand };
45584d2151e5SArmin Le Grand 
45594d2151e5SArmin Le Grand static const sal_uInt16 mso_sptEllipseRibbonSegm[] =
45604d2151e5SArmin Le Grand {
45614d2151e5SArmin Le Grand 	0xa30c /*ar*/,0x0002/*l*/,0xa50c/*wa*/,0x0001/*l*/,
45624d2151e5SArmin Le Grand 	0x6001/*x*/, 0x8000/*e*/,0xa504/*wr*/,0xaa00/*nf*/,
45634d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0xa304/*ar*/,0xaa00/*nf*/,
45644d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/,
45654d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/,
45664d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/
45674d2151e5SArmin Le Grand };
45684d2151e5SArmin Le Grand 
45694d2151e5SArmin Le Grand static const SvxMSDffCalculationData mso_sptEllipseRibbonCalc[] =
45704d2151e5SArmin Le Grand {
45714d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjustValue , 0 , 0 } }, //val #0
45724d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjust2Value , 0 , 0 } }, //val #1
45734d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjust3Value , 0 , 0 } }, //val #2
45744d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_geoRight , 0 , 0 } }, //val width
45754d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_geoBottom , 0 , 0 } }, //val height
45764d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 1 , 8 } }, //prod width 1 8
45774d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 1 , 2 } }, //prod width 1 2
45784d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 7 , 8 } }, //prod width 7 8
45794d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 3 , 2 } }, //prod width 3 2
45804d2151e5SArmin Le Grand 	{ 0x8000 , { 0 , 0 , 0x406 } }, //sum 0 0 @6
45814d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust3Value } }, //sum height 0 #2
45824d2151e5SArmin Le Grand 	{ 0x2001 , { 0x40a , 30573 , 4096 } }, //prod @10 30573 4096
45834d2151e5SArmin Le Grand 	{ 0x2001 , { 0x40b , 2 , 1 } }, //prod @11 2 1
45844d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , 0x40c } }, //sum height 0 @12
45854d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40b , DFF_Prop_adjust3Value , 0 } }, //sum @11 #2 0
45864d2151e5SArmin Le Grand 	{ 0xe000 , { 0x40b , DFF_Prop_geoBottom , DFF_Prop_adjust2Value } }, //sum @11 height #1
45874d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust2Value } }, //sum height 0 #1
45884d2151e5SArmin Le Grand 	{ 0x2001 , { 0x410 , 1 , 2 } }, //prod @16 1 2
45894d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40b , 0x411 , 0 } }, //sum @11 @17 0
45904d2151e5SArmin Le Grand 	{ 0xe000 , { 0x40e , DFF_Prop_adjust2Value , DFF_Prop_geoBottom } }, //sum @14 #1 height
45914d2151e5SArmin Le Grand 	{ 0x6000 , { DFF_Prop_adjustValue , 0x405 , 0 } }, //sum #0 @5 0
45924d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoRight , 0 , 0x414 } }, //sum width 0 @20
45934d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoRight , 0 , DFF_Prop_adjustValue } }, //sum width 0 #0
45944d2151e5SArmin Le Grand 	{ 0xa000 , { 0x406 , 0 , DFF_Prop_adjustValue } }, //sum @6 0 #0
45954d2151e5SArmin Le Grand 	{ 0xe00f , { 0x417 , DFF_Prop_geoRight , 0x40b } }, //ellipse @23 width @11
45964d2151e5SArmin Le Grand 	{ 0xe000 , { 0x418 , DFF_Prop_geoBottom , 0x40b } }, //sum @24 height @11
45974d2151e5SArmin Le Grand 	{ 0xe000 , { 0x419 , 0x40b , 0x413 } }, //sum @25 @11 @19
45984d2151e5SArmin Le Grand 	{ 0xe000 , { DFF_Prop_adjust3Value , 0x40b , 0x413 } }, //sum #2 @11 @19
45994d2151e5SArmin Le Grand 	{ 0x2001 , { 0x40b , 2391 , 32768 } }, //prod @11 2391 32768
46004d2151e5SArmin Le Grand 	{ 0xa000 , { 0x406 , 0 , 0x414 } }, //sum @6 0 @20
46014d2151e5SArmin Le Grand 	{ 0xe00f , { 0x41d , DFF_Prop_geoRight , 0x40b } }, //ellipse @29 width @11
46024d2151e5SArmin Le Grand 	{ 0xe000 , { DFF_Prop_adjust2Value , 0x41e , 0x40b } }, //sum #1 @30 @11
46034d2151e5SArmin Le Grand 	{ 0xe000 , { 0x419 , DFF_Prop_adjust2Value , DFF_Prop_geoBottom } }, //sum @25 #1 height
46044d2151e5SArmin Le Grand 	{ 0xe000 , { DFF_Prop_geoBottom , 0x41e , 0x40e } }, //sum height @30 @14
46054d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40b , 0x40e , 0 } }, //sum @11 @14 0
46064d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , 0x422 } }, //sum height 0 @34
46074d2151e5SArmin Le Grand 	{ 0xe000 , { 0x423 , 0x413 , 0x40b } }, //sum @35 @19 @11
46084d2151e5SArmin Le Grand 	{ 0xe000 , { 0x40a , 0x40f , 0x40b } }, //sum @10 @15 @11
46094d2151e5SArmin Le Grand 	{ 0xe000 , { 0x423 , 0x40f , 0x40b } }, //sum @35 @15 @11
46104d2151e5SArmin Le Grand 	{ 0xe000 , { 0x41c , 0x40e , 0x412 } }, //sum @28 @14 @18
46114d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , 0x427 } }, //sum height 0 @39
46124d2151e5SArmin Le Grand 	{ 0xa000 , { 0x413 , 0 , 0x412 } }, //sum @19 0 @18
46134d2151e5SArmin Le Grand 	{ 0x2001 , { 0x429 , 2 , 3 } }, //prod @41 2 3
46144d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_adjust2Value , 0 , 0x42a } }, //sum #1 0 @42
46154d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_adjust3Value , 0 , 0x42a } }, //sum #2 0 @42
46164d2151e5SArmin Le Grand 	{ 0x2004 , { 0x42c , 20925 , 0 } }, //min @44 20925
46174d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 3 , 8 } }, //prod width 3 8
46184d2151e5SArmin Le Grand 	{ 0x2000 , { 0x42e , 0 , 4 } }, //sum @46 0 4
46194d2151e5SArmin Le Grand };
46204d2151e5SArmin Le Grand 
46214d2151e5SArmin Le Grand static const SvxMSDffTextRectangles mso_sptEllipseRibbonTextRect[] =
46224d2151e5SArmin Le Grand {//@0,@1,@22,@25
46234d2151e5SArmin Le Grand 	{ { 0 MSO_I, 1 MSO_I }, { 22 MSO_I, 25 MSO_I } }
46244d2151e5SArmin Le Grand };
46254d2151e5SArmin Le Grand 
46264d2151e5SArmin Le Grand static const sal_Int32 mso_sptEllipseRibbonDefault[] =
46274d2151e5SArmin Le Grand {
46284d2151e5SArmin Le Grand 	3,5400,5400,18900
46294d2151e5SArmin Le Grand };
46304d2151e5SArmin Le Grand 
46314d2151e5SArmin Le Grand static const SvxMSDffHandle mso_sptEllipseRibbonHandle[] =
46324d2151e5SArmin Le Grand {
46334d2151e5SArmin Le Grand //position="#0,bottomRight" xrange="@5,@47
46344d2151e5SArmin Le Grand //position="center,#1" yrange="@10,@43
46354d2151e5SArmin Le Grand //position="topLeft,#2" yrange="@27,@45
46364d2151e5SArmin Le Grand 	{   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
4637*e5cfc9caSHerbert Dürr 		0x100, 21600, 0, 0, 0x8/*5+3*/, 0x32/*47+3*/, Mx80000000, 0x7fffffff },
46384d2151e5SArmin Le Grand 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
4639*e5cfc9caSHerbert Dürr 		10800, 0x101, 0, 0, Mx80000000, 0x7fffffff,0xd/*10+3*/, 0x2e /*43+3*/ },
46404d2151e5SArmin Le Grand 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
4641*e5cfc9caSHerbert Dürr 		0, 0x102, 0, 0, Mx80000000, 0x7fffffff,0x1e/*27+3*/, 0x30 /*45+3*/ }
46424d2151e5SArmin Le Grand };
46434d2151e5SArmin Le Grand 
46444d2151e5SArmin Le Grand static const mso_CustomShape msosptEllipseRibbon =
46454d2151e5SArmin Le Grand {
46464d2151e5SArmin Le Grand 	(SvxMSDffVertPair*)mso_sptEllipseRibbonVert, sizeof( mso_sptEllipseRibbonVert ) / sizeof( SvxMSDffVertPair ),
46474d2151e5SArmin Le Grand 	(sal_uInt16*)mso_sptEllipseRibbonSegm, sizeof( mso_sptEllipseRibbonSegm ) >> 1,
46484d2151e5SArmin Le Grand 	(SvxMSDffCalculationData*)mso_sptEllipseRibbonCalc, sizeof( mso_sptEllipseRibbonCalc ) / sizeof( SvxMSDffCalculationData ),
46494d2151e5SArmin Le Grand 	(sal_Int32*)mso_sptEllipseRibbonDefault,
46504d2151e5SArmin Le Grand 	(SvxMSDffTextRectangles*)mso_sptEllipseRibbonTextRect, sizeof( mso_sptEllipseRibbonTextRect ) / sizeof( SvxMSDffTextRectangles ),
46514d2151e5SArmin Le Grand 	21600, 21600,
4652*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
46534d2151e5SArmin Le Grand 	NULL, 0,
46544d2151e5SArmin Le Grand 	(SvxMSDffHandle*)mso_sptEllipseRibbonHandle, sizeof( mso_sptEllipseRibbonHandle ) / sizeof( SvxMSDffHandle )
46554d2151e5SArmin Le Grand };
46564d2151e5SArmin Le Grand 
46574d2151e5SArmin Le Grand //msosptEllipseRibbon2
46584d2151e5SArmin Le Grand //svg path = wr@9@34@8@35,0@24@0@23@9,0@8@11@0@22@19@22@9@34@8@35@19@23@3@24l@7@36@3@4at@9@31@8@32@3@4@18@30@9@1@8@33@18@28@17@28@9@31@8@32@17@30,0@4l@5@36xear@9@1@8@33@17@28@0@29nfl@17@30ewr@9@1@8@33@18@28@19@29nfl@18@30em@0@23nfl@0@29em@19@23nfl@19@29e
46594d2151e5SArmin Le Grand static const SvxMSDffVertPair mso_sptEllipseRibbon2Vert[] =
46604d2151e5SArmin Le Grand {
46614d2151e5SArmin Le Grand 	{ 9 MSO_I , 34 MSO_I },
46624d2151e5SArmin Le Grand 	{ 8 MSO_I , 35 MSO_I },
46634d2151e5SArmin Le Grand 	{ 0 , 24 MSO_I },
46644d2151e5SArmin Le Grand 	{ 0 MSO_I , 23 MSO_I },
46654d2151e5SArmin Le Grand 	{ 9 MSO_I , 0 },
46664d2151e5SArmin Le Grand 	{ 8 MSO_I , 11 MSO_I },
46674d2151e5SArmin Le Grand 	{ 0 MSO_I , 22 MSO_I },
46684d2151e5SArmin Le Grand 	{ 19 MSO_I , 22 MSO_I },
46694d2151e5SArmin Le Grand 	{ 9 MSO_I , 34 MSO_I },
46704d2151e5SArmin Le Grand 	{ 8 MSO_I , 35 MSO_I },
46714d2151e5SArmin Le Grand 	{ 19 MSO_I , 23 MSO_I },
46724d2151e5SArmin Le Grand 	{ 3 MSO_I , 24 MSO_I },
46734d2151e5SArmin Le Grand 	{ 7 MSO_I , 36 MSO_I },
46744d2151e5SArmin Le Grand 	{ 3 MSO_I , 4 MSO_I },
46754d2151e5SArmin Le Grand 	{ 9 MSO_I , 31 MSO_I },
46764d2151e5SArmin Le Grand 	{ 8 MSO_I , 32 MSO_I },
46774d2151e5SArmin Le Grand 	{ 3 MSO_I , 4 MSO_I },
46784d2151e5SArmin Le Grand 	{ 18 MSO_I , 30 MSO_I },
46794d2151e5SArmin Le Grand 	{ 9 MSO_I , 1 MSO_I },
46804d2151e5SArmin Le Grand 	{ 8 MSO_I , 33 MSO_I },
46814d2151e5SArmin Le Grand 	{ 18 MSO_I , 28 MSO_I },
46824d2151e5SArmin Le Grand 	{ 17 MSO_I , 28 MSO_I },
46834d2151e5SArmin Le Grand 	{ 9 MSO_I , 31 MSO_I },
46844d2151e5SArmin Le Grand 	{ 8 MSO_I , 32 MSO_I },
46854d2151e5SArmin Le Grand 	{ 17 MSO_I , 30 MSO_I },
46864d2151e5SArmin Le Grand 	{ 0 , 4l MSO_I },
46874d2151e5SArmin Le Grand 	{ 5 MSO_I , 36 MSO_I },
46884d2151e5SArmin Le Grand 	{ 9 MSO_I , 1 MSO_I },
46894d2151e5SArmin Le Grand 	{ 8 MSO_I , 33 MSO_I },
46904d2151e5SArmin Le Grand 	{ 17 MSO_I , 28 MSO_I },
46914d2151e5SArmin Le Grand 	{ 0 MSO_I , 29 MSO_I },
46924d2151e5SArmin Le Grand 	{ 17 MSO_I , 30 MSO_I },
46934d2151e5SArmin Le Grand 	{ 9 MSO_I , 1 MSO_I },
46944d2151e5SArmin Le Grand 	{ 8 MSO_I , 33 MSO_I },
46954d2151e5SArmin Le Grand 	{ 18 MSO_I , 28 MSO_I },
46964d2151e5SArmin Le Grand 	{ 19 MSO_I , 29 MSO_I },
46974d2151e5SArmin Le Grand 	{ 18 MSO_I , 30 MSO_I },
46984d2151e5SArmin Le Grand 	{ 0 MSO_I , 23 MSO_I },
46994d2151e5SArmin Le Grand 	{ 0 MSO_I , 29 MSO_I },
47004d2151e5SArmin Le Grand 	{ 19 MSO_I , 23 MSO_I },
47014d2151e5SArmin Le Grand 	{ 19 MSO_I , 29 MSO_I }
47024d2151e5SArmin Le Grand };
47034d2151e5SArmin Le Grand static const sal_uInt16 mso_sptEllipseRibbon2Segm[] =
47044d2151e5SArmin Le Grand {
47054d2151e5SArmin Le Grand 	0xa50c/*wr*/,0x0002/*l*/,0xa30c/*at*/,0x0001/*l*/,
47064d2151e5SArmin Le Grand 	0x6001/*x*/, 0x8000/*e*/,0xa304/*ar*/,0xaa00/*nf*/,
47074d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0xa504/*wr*/,0xaa00/*nf*/,
47084d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/,
47094d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/,0x4000/*m*/,0xaa00/*nf*/,
47104d2151e5SArmin Le Grand 	0x0001/*l*/, 0x8000/*e*/
47114d2151e5SArmin Le Grand };
47124d2151e5SArmin Le Grand 
47134d2151e5SArmin Le Grand static const SvxMSDffCalculationData mso_sptEllipseRibbon2Calc[] =
47144d2151e5SArmin Le Grand {
47154d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjustValue , 0 , 0 } }, //val #0
47164d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjust2Value , 0 , 0 } }, //val #1
47174d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_adjust3Value , 0 , 0 } }, //val #2
47184d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_geoRight , 0 , 0 } }, //val width
47194d2151e5SArmin Le Grand 	{ 0x2000 , { DFF_Prop_geoBottom , 0 , 0 } }, //val height
47204d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 1 , 8 } }, //prod width 1 8
47214d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 1 , 2 } }, //prod width 1 2
47224d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 7 , 8 } }, //prod width 7 8
47234d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 3 , 2 } }, //prod width 3 2
47244d2151e5SArmin Le Grand 	{ 0x8000 , { 0 , 0 , 0x406 } }, //sum 0 0 @6
47254d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_adjust3Value , 30573 , 4096 } }, //prod #2 30573 4096
47264d2151e5SArmin Le Grand 	{ 0x2001 , { 0x40a , 2 , 1 } }, //prod @10 2 1
47274d2151e5SArmin Le Grand 	{ 0xe000 , { 0x40a , DFF_Prop_geoBottom , DFF_Prop_adjust3Value } }, //sum @10 height #2
47284d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40a , DFF_Prop_adjust2Value , 0 } }, //sum @10 #1 0
47294d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_adjust2Value , 1 , 2 } }, //prod #1 1 2
47304d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40a , 0x40e , 0 } }, //sum @10 @14 0
47314d2151e5SArmin Le Grand 	{ 0xa000 , { 0x40c , 0 , DFF_Prop_adjust2Value } }, //sum @12 0 #1
47324d2151e5SArmin Le Grand 	{ 0x6000 , { DFF_Prop_adjustValue , 0x405 , 0 } }, //sum #0 @5 0
47334d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoRight , 0 , 0x411 } }, //sum width 0 @17
47344d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoRight , 0 , DFF_Prop_adjustValue } }, //sum width 0 #0
47354d2151e5SArmin Le Grand 	{ 0xa000 , { 0x406 , 0 , DFF_Prop_adjustValue } }, //sum @6 0 #0
47364d2151e5SArmin Le Grand 	{ 0xe00f , { 0x414 , DFF_Prop_geoRight , 0x40a } }, //ellipse @20 width @10
47374d2151e5SArmin Le Grand 	{ 0xa000 , { 0x40a , 0 , 0x415 } }, //sum @10 0 @21
47384d2151e5SArmin Le Grand 	{ 0xe000 , { 0x416 , 0x410 , 0x40a } }, //sum @22 @16 @10
47394d2151e5SArmin Le Grand 	{ 0xe000 , { DFF_Prop_adjust3Value , 0x410 , 0x40a } }, //sum #2 @16 @10
47404d2151e5SArmin Le Grand 	{ 0x2001 , { 0x40a , 2391 , 32768 } }, //prod @10 2391 32768
47414d2151e5SArmin Le Grand 	{ 0xa000 , { 0x406 , 0 , 0x411 } }, //sum @6 0 @17
47424d2151e5SArmin Le Grand 	{ 0xe00f , { 0x41a , DFF_Prop_geoRight , 0x40a } }, //ellipse @26 width @10
47434d2151e5SArmin Le Grand 	{ 0xe000 , { 0x40a , DFF_Prop_adjust2Value , 0x41b } }, //sum @10 #1 @27
47444d2151e5SArmin Le Grand 	{ 0x6000 , { 0x416 , DFF_Prop_adjust2Value , 0 } }, //sum @22 #1 0
47454d2151e5SArmin Le Grand 	{ 0xa000 , { 0x40c , 0 , 0x41b } }, //sum @12 0 @27
47464d2151e5SArmin Le Grand 	{ 0xa000 , { DFF_Prop_geoBottom , 0 , DFF_Prop_adjust3Value } }, //sum height 0 #2
47474d2151e5SArmin Le Grand 	{ 0x6000 , { 0x40a , 0x40c , 0 } }, //sum @10 @12 0
47484d2151e5SArmin Le Grand 	{ 0xe000 , { 0x420 , 0x40a , 0x410 } }, //sum @32 @10 @16
47494d2151e5SArmin Le Grand 	{ 0xe000 , { 0x41f , 0x40a , 0x40d } }, //sum @31 @10 @13
47504d2151e5SArmin Le Grand 	{ 0xe000 , { 0x420 , 0x40a , 0x40d } }, //sum @32 @10 @13
47514d2151e5SArmin Le Grand 	{ 0xe000 , { 0x419 , 0x40c , 0x40f } }, //sum @25 @12 @15
47524d2151e5SArmin Le Grand 	{ 0xa000 , { 0x410 , 0 , 0x40f } }, //sum @16 0 @15
47534d2151e5SArmin Le Grand 	{ 0x2001 , { 0x425 , 2 , 3 } }, //prod @37 2 3
47544d2151e5SArmin Le Grand 	{ 0x6000 , { 0x401 , 0x426 , 0 } }, //sum @1 @38 0
47554d2151e5SArmin Le Grand 	{ 0x6000 , { DFF_Prop_adjust3Value , 0x426 , 0 } }, //sum #2 @38 0
47564d2151e5SArmin Le Grand 	{ 0x2005 , { 0x428 , 675 , 0 } }, //max @40 675
47574d2151e5SArmin Le Grand 	{ 0x2001 , { DFF_Prop_geoRight , 3 , 8 } }, //prod width 3 8
47584d2151e5SArmin Le Grand 	{ 0x2000 , { 0x42a , 0 , 4 } } //sum @42 0 4
47594d2151e5SArmin Le Grand };
47604d2151e5SArmin Le Grand 
47614d2151e5SArmin Le Grand static const SvxMSDffTextRectangles mso_sptEllipseRibbon2TextRect[] =
47624d2151e5SArmin Le Grand {//@0,@22,@19,@1
47634d2151e5SArmin Le Grand 	{ { 0 MSO_I, 22 MSO_I }, { 19 MSO_I, 1 MSO_I } }
47644d2151e5SArmin Le Grand };
47654d2151e5SArmin Le Grand 
47664d2151e5SArmin Le Grand static const sal_Int32 mso_sptEllipseRibbon2Default[] =
47674d2151e5SArmin Le Grand {
47684d2151e5SArmin Le Grand 	3,5400,16200,2700
47694d2151e5SArmin Le Grand };
47704d2151e5SArmin Le Grand 
47714d2151e5SArmin Le Grand static const SvxMSDffHandle mso_sptEllipseRibbon2Handle[] =
47724d2151e5SArmin Le Grand {
47734d2151e5SArmin Le Grand //position="#0,topLeft" xrange="@5,@43
47744d2151e5SArmin Le Grand //position="center,#1" yrange="@39,@31
47754d2151e5SArmin Le Grand //position="topLeft,#2" yrange="@41,@24
47764d2151e5SArmin Le Grand 	{   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
4777*e5cfc9caSHerbert Dürr 		0x100, 0, 0, 0, 0x8/*5+3*/, 0x2e/*43+3*/, Mx80000000, 0x7fffffff },
47784d2151e5SArmin Le Grand 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
4779*e5cfc9caSHerbert Dürr 		10800, 0x101, 0, 0, Mx80000000, 0x7fffffff,0x2a/*39+3*/, 0x22 /*31+3*/ },
47804d2151e5SArmin Le Grand 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
4781*e5cfc9caSHerbert Dürr 		0, 0x102, 0, 0, Mx80000000, 0x7fffffff,0x2c/*41+3*/, 0x1b /*24+3*/ }
47824d2151e5SArmin Le Grand };
47834d2151e5SArmin Le Grand 
47844d2151e5SArmin Le Grand static const mso_CustomShape msosptEllipseRibbon2 =
47854d2151e5SArmin Le Grand {
47864d2151e5SArmin Le Grand 	(SvxMSDffVertPair*)mso_sptEllipseRibbon2Vert, sizeof( mso_sptEllipseRibbon2Vert ) / sizeof( SvxMSDffVertPair ),
47874d2151e5SArmin Le Grand 	(sal_uInt16*)mso_sptEllipseRibbon2Segm, sizeof( mso_sptEllipseRibbon2Segm ) >> 1,
47884d2151e5SArmin Le Grand 	(SvxMSDffCalculationData*)mso_sptEllipseRibbon2Calc, sizeof( mso_sptEllipseRibbon2Calc ) / sizeof( SvxMSDffCalculationData ),
47894d2151e5SArmin Le Grand 	(sal_Int32*)mso_sptEllipseRibbon2Default,
47904d2151e5SArmin Le Grand 	(SvxMSDffTextRectangles*)mso_sptEllipseRibbon2TextRect, sizeof( mso_sptEllipseRibbon2TextRect ) / sizeof( SvxMSDffTextRectangles ),
47914d2151e5SArmin Le Grand 	21600, 21600,
4792*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
47934d2151e5SArmin Le Grand 	NULL, 0,
47944d2151e5SArmin Le Grand 	(SvxMSDffHandle*)mso_sptEllipseRibbon2Handle, sizeof( mso_sptEllipseRibbon2Handle ) / sizeof( SvxMSDffHandle )
47954d2151e5SArmin Le Grand };
47964d2151e5SArmin Le Grand // End
4797cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptVerticalScrollVert[] =	// adjustment1 : 0 - 5400
4798cdf0e10cSrcweir {
4799cdf0e10cSrcweir 	{ 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I }, { 0 MSO_I, 12 MSO_I },
4800cdf0e10cSrcweir 	{ 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 2 MSO_I, 0 }, { 21600, 1 MSO_I },
4801cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 11 MSO_I }, { 5 MSO_I, 21600 },
4802cdf0e10cSrcweir 
4803cdf0e10cSrcweir 	{ 6 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 4 MSO_I, 1 MSO_I },
4804cdf0e10cSrcweir 
4805cdf0e10cSrcweir 	{ 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I }, { 1 MSO_I, 12 MSO_I },
4806cdf0e10cSrcweir 	{ 9 MSO_I, 10 MSO_I }, { 1 MSO_I, 11 MSO_I },
4807cdf0e10cSrcweir 
4808cdf0e10cSrcweir 	{ 4 MSO_I, 0 }, { 6 MSO_I, 1 MSO_I },
4809cdf0e10cSrcweir 
4810cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
4811cdf0e10cSrcweir 
4812cdf0e10cSrcweir 	{ 4 MSO_I, 0 MSO_I },
4813cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I }
4814cdf0e10cSrcweir };
4815cdf0e10cSrcweir static const sal_uInt16 mso_sptVerticalScrollSegm[] =
4816cdf0e10cSrcweir {
4817cdf0e10cSrcweir 	0x4000, 0xa702,	0x0002,	0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000,
4818cdf0e10cSrcweir 	0x4000, 0xa801, 0xa702, 0x6000, 0x8000,
4819cdf0e10cSrcweir 	0x4000, 0xa803, 0xa702, 0x6001, 0x8000,
4820cdf0e10cSrcweir 	0x4000, 0xa701, 0x8000,
4821cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4822cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4823cdf0e10cSrcweir };
4824cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptScrollCalc[] =
4825cdf0e10cSrcweir {
4826cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
4827cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
4828cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x401 } },
4829cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x400 } },
4830cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
4831cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoRight, 0, 0x404 } },
4832cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },
4833cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } },
4834cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x407, 0 } },
4835cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x407, 0 } },
4836cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x409 } },
4837cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x401 } },
4838cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x400 } },
4839cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_geoBottom, 0, 0x404 } }
4840cdf0e10cSrcweir };
4841cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptScrollTextRect[] =
4842cdf0e10cSrcweir {
4843cdf0e10cSrcweir 	{ { 0 MSO_I, 0 MSO_I }, { 3 MSO_I, 12 MSO_I } }
4844cdf0e10cSrcweir };
4845cdf0e10cSrcweir static const SvxMSDffHandle mso_sptVerticalScrollHandle[] =
4846cdf0e10cSrcweir {
4847cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4848*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 5400 }
4849cdf0e10cSrcweir };
4850cdf0e10cSrcweir static const mso_CustomShape msoVerticalScroll =
4851cdf0e10cSrcweir {
4852cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptVerticalScrollVert, sizeof( mso_sptVerticalScrollVert ) / sizeof( SvxMSDffVertPair ),
4853cdf0e10cSrcweir 	(sal_uInt16*)mso_sptVerticalScrollSegm, sizeof( mso_sptVerticalScrollSegm ) >> 1,
4854cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ),
4855cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
4856cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ),
4857cdf0e10cSrcweir 	21600, 21600,
4858cdf0e10cSrcweir 	11000, 10800,
4859cdf0e10cSrcweir 	NULL, 0,
4860cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptVerticalScrollHandle, sizeof( mso_sptVerticalScrollHandle ) / sizeof( SvxMSDffHandle )
4861cdf0e10cSrcweir };
4862cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptHorizontalScrollVert[] =	// adjustment1 : 0 - 5400
4863cdf0e10cSrcweir {
4864cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 1 MSO_I, 0 MSO_I }, { 3 MSO_I, 0 MSO_I }, { 3 MSO_I, 1 MSO_I },
4865cdf0e10cSrcweir 	{ 2 MSO_I, 0 }, { 21600, 1 MSO_I }, { 21600, 13 MSO_I }, { 2 MSO_I, 12 MSO_I },
4866cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I }, { 1 MSO_I, 21600 }, { 0, 11 MSO_I },
4867cdf0e10cSrcweir 
4868cdf0e10cSrcweir 	{ 1 MSO_I, 4 MSO_I }, { 9 MSO_I, 8 MSO_I }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 6 MSO_I },
4869cdf0e10cSrcweir 
4870cdf0e10cSrcweir 	{ 2 MSO_I, 1 MSO_I }, { 3 MSO_I, 9 MSO_I }, { 3 MSO_I, 1 MSO_I }, { 2 MSO_I, 0 },
4871cdf0e10cSrcweir 	{ 21600, 1 MSO_I }, { 2 MSO_I, 0 MSO_I },
4872cdf0e10cSrcweir 
4873cdf0e10cSrcweir 	{ 1 MSO_I, 6 MSO_I },
4874cdf0e10cSrcweir 	{ 0, 4 MSO_I },
4875cdf0e10cSrcweir 
4876cdf0e10cSrcweir 	{ 2 MSO_I, 0 MSO_I },
4877cdf0e10cSrcweir 	{ 3 MSO_I, 0 MSO_I },
4878cdf0e10cSrcweir 
4879cdf0e10cSrcweir 	{ 0 MSO_I, 4 MSO_I },
4880cdf0e10cSrcweir 	{ 0 MSO_I, 11 MSO_I }
4881cdf0e10cSrcweir };
4882cdf0e10cSrcweir static const sal_uInt16 mso_sptHorizontalScrollSegm[] =
4883cdf0e10cSrcweir {
4884cdf0e10cSrcweir 	0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000,
4885cdf0e10cSrcweir 	0x4000, 0xa803, 0x6000, 0x8000,
4886cdf0e10cSrcweir 	0x4000, 0xa803, 0xa702, 0x6000, 0x8000,
4887cdf0e10cSrcweir 	0x4000, 0xa701, 0x8000,
4888cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
4889cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
4890cdf0e10cSrcweir };
4891cdf0e10cSrcweir static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] =
4892cdf0e10cSrcweir {
4893cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
4894*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 5400, Mx80000000, 0x7fffffff }
4895cdf0e10cSrcweir };
4896cdf0e10cSrcweir static const mso_CustomShape msoHorizontalScroll =
4897cdf0e10cSrcweir {
4898cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptHorizontalScrollVert, sizeof( mso_sptHorizontalScrollVert ) / sizeof( SvxMSDffVertPair ),
4899cdf0e10cSrcweir 	(sal_uInt16*)mso_sptHorizontalScrollSegm, sizeof( mso_sptHorizontalScrollSegm ) >> 1,
4900cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptScrollCalc, sizeof( mso_sptScrollCalc ) / sizeof( SvxMSDffCalculationData ),
4901cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault2700,
4902cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptScrollTextRect, sizeof( mso_sptScrollTextRect ) / sizeof( SvxMSDffTextRectangles ),
4903cdf0e10cSrcweir 	21600, 21600,
4904cdf0e10cSrcweir 	10800, 11000,
4905cdf0e10cSrcweir 	NULL, 0,
4906cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptHorizontalScrollHandle, sizeof( mso_sptHorizontalScrollHandle ) / sizeof( SvxMSDffHandle )
4907cdf0e10cSrcweir };
4908cdf0e10cSrcweir 
4909cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartProcessVert[] =
4910cdf0e10cSrcweir {
4911cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
4912cdf0e10cSrcweir };
4913cdf0e10cSrcweir static const mso_CustomShape msoFlowChartProcess =
4914cdf0e10cSrcweir {
4915cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartProcessVert, sizeof( mso_sptFlowChartProcessVert ) / sizeof( SvxMSDffVertPair ),
4916cdf0e10cSrcweir 	NULL, 0,
4917cdf0e10cSrcweir 	NULL, 0,
4918cdf0e10cSrcweir 	NULL,
4919cdf0e10cSrcweir 	NULL, 0,
4920cdf0e10cSrcweir 	21600, 21600,
4921*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4922cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4923cdf0e10cSrcweir 	NULL, 0		// handles
4924cdf0e10cSrcweir };
4925cdf0e10cSrcweir 
4926cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert[] =
4927cdf0e10cSrcweir {
4928cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 21600, 2 MSO_I },
4929cdf0e10cSrcweir 	{ 21600, 3 MSO_I }, { 1 MSO_I, 21600 }, { 0 MSO_I, 21600 }, { 0, 3 MSO_I }
4930cdf0e10cSrcweir };
4931cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm[] =
4932cdf0e10cSrcweir {
4933cdf0e10cSrcweir 	0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
4934cdf0e10cSrcweir };
4935cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc[] =
4936cdf0e10cSrcweir {
4937cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoLeft, 2540, 0 } },
4938cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 2540 } },
4939cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoTop, 2540, 0 } },
4940cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom, 0, 2540 } },
4941cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoLeft, 800, 0 } },
4942cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoRight, 0, 800 } },
4943cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoTop, 800, 0 } },
4944cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_geoBottom,0, 800 } }
4945cdf0e10cSrcweir };
4946cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect[] =
4947cdf0e10cSrcweir {
4948cdf0e10cSrcweir 	{ { 4 MSO_I, 6 MSO_I }, { 5 MSO_I, 7 MSO_I } }
4949cdf0e10cSrcweir };
4950cdf0e10cSrcweir static const mso_CustomShape msoFlowChartAlternateProcess =
4951cdf0e10cSrcweir {
4952cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartAlternateProcessVert, sizeof( mso_sptFlowChartAlternateProcessVert ) / sizeof( SvxMSDffVertPair ),
4953cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartAlternateProcessSegm, sizeof( mso_sptFlowChartAlternateProcessSegm ) >> 1,
4954cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptFlowChartAlternateProcessCalc, sizeof( mso_sptFlowChartAlternateProcessCalc ) / sizeof( SvxMSDffCalculationData ),
4955cdf0e10cSrcweir 	NULL,
4956cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, sizeof( mso_sptFlowChartAlternateProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
4957cdf0e10cSrcweir 	21600, 21600,
4958*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4959cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4960cdf0e10cSrcweir 	NULL, 0		// handles
4961cdf0e10cSrcweir };
4962cdf0e10cSrcweir 
4963cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDecisionVert[] =
4964cdf0e10cSrcweir {
4965cdf0e10cSrcweir 	{ 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }
4966cdf0e10cSrcweir };
4967cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect[] =
4968cdf0e10cSrcweir {
4969cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
4970cdf0e10cSrcweir };
4971cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDecision =
4972cdf0e10cSrcweir {
4973cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDecisionVert, sizeof( mso_sptFlowChartDecisionVert ) / sizeof( SvxMSDffVertPair ),
4974cdf0e10cSrcweir 	NULL, 0,
4975cdf0e10cSrcweir 	NULL, 0,
4976cdf0e10cSrcweir 	NULL,
4977cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, sizeof( mso_sptFlowChartDecisionTextRect ) / sizeof( SvxMSDffTextRectangles ),
4978cdf0e10cSrcweir 	21600, 21600,
4979*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
4980cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
4981cdf0e10cSrcweir 	NULL, 0		// handles
4982cdf0e10cSrcweir };
4983cdf0e10cSrcweir 
4984cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert[] =
4985cdf0e10cSrcweir {
4986cdf0e10cSrcweir 	{ 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 }
4987cdf0e10cSrcweir };
4988cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect[] =
4989cdf0e10cSrcweir {
4990cdf0e10cSrcweir 	{ { 4230, 0 }, { 17370, 21600 } }
4991cdf0e10cSrcweir };
4992cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints[] =
4993cdf0e10cSrcweir {
4994cdf0e10cSrcweir 	{ 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 }
4995cdf0e10cSrcweir };
4996cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInputOutput =
4997cdf0e10cSrcweir {
4998cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInputOutputVert, sizeof( mso_sptFlowChartInputOutputVert ) / sizeof( SvxMSDffVertPair ),
4999cdf0e10cSrcweir 	NULL, 0,
5000cdf0e10cSrcweir 	NULL, 0,
5001cdf0e10cSrcweir 	NULL,
5002cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, sizeof( mso_sptFlowChartInputOutputTextRect ) / sizeof( SvxMSDffTextRectangles ),
5003cdf0e10cSrcweir 	21600, 21600,
5004*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5005cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, sizeof( mso_sptFlowChartInputOutputGluePoints ) / sizeof( SvxMSDffVertPair ),
5006cdf0e10cSrcweir 	NULL, 0		// handles
5007cdf0e10cSrcweir };
5008cdf0e10cSrcweir 
5009cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert[] =
5010cdf0e10cSrcweir {
5011cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
5012cdf0e10cSrcweir 
5013cdf0e10cSrcweir 	{ 2540, 0 }, { 2540, 21600 },
5014cdf0e10cSrcweir 
5015cdf0e10cSrcweir 	{ 21600 - 2540, 0 }, { 21600 - 2540, 21600 }
5016cdf0e10cSrcweir };
5017cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm[] =
5018cdf0e10cSrcweir {
5019cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
5020cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5021cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5022cdf0e10cSrcweir };
5023cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect[] =
5024cdf0e10cSrcweir {
5025cdf0e10cSrcweir 	{ { 2540, 0 }, { 21600 - 2540, 21600 } }
5026cdf0e10cSrcweir };
5027cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPredefinedProcess =
5028cdf0e10cSrcweir {
5029cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPredefinedProcessVert, sizeof( mso_sptFlowChartPredefinedProcessVert ) / sizeof( SvxMSDffVertPair ),
5030cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartPredefinedProcessSegm, sizeof( mso_sptFlowChartPredefinedProcessSegm ) >> 1,
5031cdf0e10cSrcweir 	NULL, 0,
5032cdf0e10cSrcweir 	NULL,
5033cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, sizeof( mso_sptFlowChartPredefinedProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
5034cdf0e10cSrcweir 	21600, 21600,
5035*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5036cdf0e10cSrcweir 	NULL, 0,
5037cdf0e10cSrcweir 	NULL, 0		// handles
5038cdf0e10cSrcweir };
5039cdf0e10cSrcweir 
5040cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert[] =
5041cdf0e10cSrcweir {
5042cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
5043cdf0e10cSrcweir 
5044cdf0e10cSrcweir 	{ 4230, 0 }, { 4230, 21600 },
5045cdf0e10cSrcweir 
5046cdf0e10cSrcweir 	{ 0, 4230 }, { 21600, 4230 }
5047cdf0e10cSrcweir };
5048cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartInternalStorageSegm[] =
5049cdf0e10cSrcweir {
5050cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
5051cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5052cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5053cdf0e10cSrcweir };
5054cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect[] =
5055cdf0e10cSrcweir {
5056cdf0e10cSrcweir 	{ { 4230, 4230 }, { 21600, 21600 } }
5057cdf0e10cSrcweir };
5058cdf0e10cSrcweir static const mso_CustomShape msoFlowChartInternalStorage =
5059cdf0e10cSrcweir {
5060cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartInternalStorageVert, sizeof( mso_sptFlowChartInternalStorageVert ) / sizeof( SvxMSDffVertPair ),
5061cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartInternalStorageSegm, sizeof( mso_sptFlowChartInternalStorageSegm ) >> 1,
5062cdf0e10cSrcweir 	NULL, 0,
5063cdf0e10cSrcweir 	NULL,
5064cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, sizeof( mso_sptFlowChartInternalStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
5065cdf0e10cSrcweir 	21600, 21600,
5066*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5067cdf0e10cSrcweir 	NULL, 0,
5068cdf0e10cSrcweir 	NULL, 0		// handles
5069cdf0e10cSrcweir };
5070cdf0e10cSrcweir 
5071cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentVert[] =
5072cdf0e10cSrcweir {
5073cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 17360 },
5074cdf0e10cSrcweir 	{ 13050, 17220 }, {	13340, 20770 }, { 5620, 21600 },	// ccp
5075cdf0e10cSrcweir 	{ 2860, 21100 }, { 1850, 20700 }, { 0,	20120 }			// ccp
5076cdf0e10cSrcweir };
5077cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDocumentSegm[] =
5078cdf0e10cSrcweir {
5079cdf0e10cSrcweir 	0x4000, 0x0002, 0x2002, 0x6000, 0x8000
5080cdf0e10cSrcweir };
5081cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect[] =
5082cdf0e10cSrcweir {
5083cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 17360 } }
5084cdf0e10cSrcweir };
5085cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints[] =
5086cdf0e10cSrcweir {
5087cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 }
5088cdf0e10cSrcweir };
5089cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDocument =
5090cdf0e10cSrcweir {
5091cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDocumentVert, sizeof( mso_sptFlowChartDocumentVert ) / sizeof( SvxMSDffVertPair ),
5092cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDocumentSegm, sizeof( mso_sptFlowChartDocumentSegm ) >> 1,
5093cdf0e10cSrcweir 	NULL, 0,
5094cdf0e10cSrcweir 	NULL,
5095cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, sizeof( mso_sptFlowChartDocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
5096cdf0e10cSrcweir 	21600, 21600,
5097*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5098cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, sizeof( mso_sptFlowChartDocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
5099cdf0e10cSrcweir 	NULL, 0		// handles
5100cdf0e10cSrcweir };
5101cdf0e10cSrcweir 
5102cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert[] =
5103cdf0e10cSrcweir {
5104cdf0e10cSrcweir 	{ 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 },
5105cdf0e10cSrcweir 	{ 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 },
5106cdf0e10cSrcweir 	{ 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 },
5107cdf0e10cSrcweir 	{ 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 },						// ccp
5108cdf0e10cSrcweir 	{ 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 },							// ccp
5109cdf0e10cSrcweir 
5110cdf0e10cSrcweir 	{ 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 },
5111cdf0e10cSrcweir 
5112cdf0e10cSrcweir 	{ 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 }
5113cdf0e10cSrcweir };
5114cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMultidocumentSegm[] =
5115cdf0e10cSrcweir {
5116cdf0e10cSrcweir 	0x4000, 0x000a, 0x2002, 0x6000, 0x8000,
5117cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0002, 0x8000,			// NO FILL
5118cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0002, 0x8000			// NO FILL
5119cdf0e10cSrcweir };
5120cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect[] =
5121cdf0e10cSrcweir {
5122cdf0e10cSrcweir 	{ { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } }
5123cdf0e10cSrcweir };
5124cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints[] =
5125cdf0e10cSrcweir {
5126cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
5127cdf0e10cSrcweir };
5128cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMultidocument =
5129cdf0e10cSrcweir {
5130cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMultidocumentVert, sizeof( mso_sptFlowChartMultidocumentVert ) / sizeof( SvxMSDffVertPair ),
5131cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMultidocumentSegm, sizeof( mso_sptFlowChartMultidocumentSegm ) >> 1,
5132cdf0e10cSrcweir 	NULL, 0,
5133cdf0e10cSrcweir 	NULL,
5134cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, sizeof( mso_sptFlowChartMultidocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
5135cdf0e10cSrcweir 	21600, 21600,
5136*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5137cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, sizeof( mso_sptFlowChartMultidocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
5138cdf0e10cSrcweir 	NULL, 0		// handles
5139cdf0e10cSrcweir };
5140cdf0e10cSrcweir 
5141cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert[] =
5142cdf0e10cSrcweir {
5143cdf0e10cSrcweir 	{ 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 },
5144cdf0e10cSrcweir 	{ 21600, 10800 }, { 18130, 21600 }
5145cdf0e10cSrcweir };
5146cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartTerminatorSegm[] =
5147cdf0e10cSrcweir {
5148cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
5149cdf0e10cSrcweir };
5150cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect[] =
5151cdf0e10cSrcweir {
5152cdf0e10cSrcweir 	{ { 1060, 3180 }, { 20540, 18420 } }
5153cdf0e10cSrcweir };
5154cdf0e10cSrcweir static const mso_CustomShape msoFlowChartTerminator =
5155cdf0e10cSrcweir {
5156cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartTerminatorVert, sizeof( mso_sptFlowChartTerminatorVert ) / sizeof( SvxMSDffVertPair ),
5157cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartTerminatorSegm, sizeof( mso_sptFlowChartTerminatorSegm ) >> 1,
5158cdf0e10cSrcweir 	NULL, 0,
5159cdf0e10cSrcweir 	NULL,
5160cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, sizeof( mso_sptFlowChartTerminatorTextRect ) / sizeof( SvxMSDffTextRectangles ),
5161cdf0e10cSrcweir 	21600, 21600,
5162*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5163cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5164cdf0e10cSrcweir 	NULL, 0		// handles
5165cdf0e10cSrcweir };
5166cdf0e10cSrcweir 
5167cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPreparationVert[] =
5168cdf0e10cSrcweir {
5169cdf0e10cSrcweir 	{ 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 },
5170cdf0e10cSrcweir 	{ 4350, 21600 }, { 0, 10800 }, { 4350, 0 }
5171cdf0e10cSrcweir };
5172cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect[] =
5173cdf0e10cSrcweir {
5174cdf0e10cSrcweir 	{ { 4350, 0 }, { 17250, 21600 } }
5175cdf0e10cSrcweir };
5176cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPreparation =
5177cdf0e10cSrcweir {
5178cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPreparationVert, sizeof( mso_sptFlowChartPreparationVert ) / sizeof( SvxMSDffVertPair ),
5179cdf0e10cSrcweir 	NULL, 0,
5180cdf0e10cSrcweir 	NULL, 0,
5181cdf0e10cSrcweir 	NULL,
5182cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, sizeof( mso_sptFlowChartPreparationTextRect ) / sizeof( SvxMSDffTextRectangles ),
5183cdf0e10cSrcweir 	21600, 21600,
5184*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5185cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5186cdf0e10cSrcweir 	NULL, 0		// handles
5187cdf0e10cSrcweir };
5188cdf0e10cSrcweir 
5189cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputVert[] =
5190cdf0e10cSrcweir {
5191cdf0e10cSrcweir 	{ 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 }
5192cdf0e10cSrcweir };
5193cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect[] =
5194cdf0e10cSrcweir {
5195cdf0e10cSrcweir 	{ { 0, 4300 }, { 21600, 21600 } }
5196cdf0e10cSrcweir };
5197cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints[] =
5198cdf0e10cSrcweir {
5199cdf0e10cSrcweir 	{ 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
5200cdf0e10cSrcweir };
5201cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualInput =
5202cdf0e10cSrcweir {
5203cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualInputVert, sizeof( mso_sptFlowChartManualInputVert ) / sizeof( SvxMSDffVertPair ),
5204cdf0e10cSrcweir 	NULL, 0,
5205cdf0e10cSrcweir 	NULL, 0,
5206cdf0e10cSrcweir 	NULL,
5207cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, sizeof( mso_sptFlowChartManualInputTextRect ) / sizeof( SvxMSDffTextRectangles ),
5208cdf0e10cSrcweir 	21600, 21600,
5209*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5210cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, sizeof( mso_sptFlowChartManualInputGluePoints ) / sizeof( SvxMSDffVertPair ),
5211cdf0e10cSrcweir 	NULL, 0		// handles
5212cdf0e10cSrcweir };
5213cdf0e10cSrcweir 
5214cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert[] =
5215cdf0e10cSrcweir {
5216cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 }
5217cdf0e10cSrcweir };
5218cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect[] =
5219cdf0e10cSrcweir {
5220cdf0e10cSrcweir 	{ { 4350, 0 }, { 17250, 21600 } }
5221cdf0e10cSrcweir };
5222cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints[] =
5223cdf0e10cSrcweir {
5224cdf0e10cSrcweir 	{ 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 }
5225cdf0e10cSrcweir };
5226cdf0e10cSrcweir static const mso_CustomShape msoFlowChartManualOperation =
5227cdf0e10cSrcweir {
5228cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualOperationVert, sizeof( mso_sptFlowChartManualOperationVert ) / sizeof( SvxMSDffVertPair ),
5229cdf0e10cSrcweir 	NULL, 0,
5230cdf0e10cSrcweir 	NULL, 0,
5231cdf0e10cSrcweir 	NULL,
5232cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, sizeof( mso_sptFlowChartManualOperationTextRect ) / sizeof( SvxMSDffTextRectangles ),
5233cdf0e10cSrcweir 	21600, 21600,
5234*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5235cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, sizeof( mso_sptFlowChartManualOperationGluePoints ) / sizeof( SvxMSDffVertPair ),
5236cdf0e10cSrcweir 	NULL, 0		// handles
5237cdf0e10cSrcweir };
5238cdf0e10cSrcweir 
5239cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartConnectorVert[] =
5240cdf0e10cSrcweir {
5241cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 },  { 0, 360 }
5242cdf0e10cSrcweir };
5243cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartConnectorSegm[] =
5244cdf0e10cSrcweir {
5245cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000
5246cdf0e10cSrcweir };
5247cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect[] =
5248cdf0e10cSrcweir {
5249cdf0e10cSrcweir 	{ { 3180, 3180 }, { 18420, 18420 } }
5250cdf0e10cSrcweir };
5251cdf0e10cSrcweir static const mso_CustomShape msoFlowChartConnector =
5252cdf0e10cSrcweir {
5253cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartConnectorVert, sizeof( mso_sptFlowChartConnectorVert ) / sizeof( SvxMSDffVertPair ),
5254cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartConnectorSegm, sizeof( mso_sptFlowChartConnectorSegm ) >> 1,
5255cdf0e10cSrcweir 	NULL, 0,
5256cdf0e10cSrcweir 	NULL,
5257cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, sizeof( mso_sptFlowChartConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
5258cdf0e10cSrcweir 	21600, 21600,
5259*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5260cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
5261cdf0e10cSrcweir 	NULL, 0		// handles
5262cdf0e10cSrcweir };
5263cdf0e10cSrcweir 
5264cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert[] =
5265cdf0e10cSrcweir {
5266cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 },
5267cdf0e10cSrcweir 	{ 0, 17150 }, { 0, 0 }
5268cdf0e10cSrcweir };
5269cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect[] =
5270cdf0e10cSrcweir {
5271cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 17150 } }
5272cdf0e10cSrcweir };
5273cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOffpageConnector =
5274cdf0e10cSrcweir {
5275cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOffpageConnectorVert, sizeof( mso_sptFlowChartOffpageConnectorVert ) / sizeof( SvxMSDffVertPair ),
5276cdf0e10cSrcweir 	NULL, 0,
5277cdf0e10cSrcweir 	NULL, 0,
5278cdf0e10cSrcweir 	NULL,
5279cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, sizeof( mso_sptFlowChartOffpageConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
5280cdf0e10cSrcweir 	21600, 21600,
5281*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5282cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5283cdf0e10cSrcweir 	NULL, 0		// handles
5284cdf0e10cSrcweir };
5285cdf0e10cSrcweir 
5286cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert[] =
5287cdf0e10cSrcweir {
5288cdf0e10cSrcweir 	{ 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
5289cdf0e10cSrcweir 	{ 0, 4300 }, { 4300, 0 }
5290cdf0e10cSrcweir };
5291cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect[] =
5292cdf0e10cSrcweir {
5293cdf0e10cSrcweir 	{ { 0, 4300 }, { 21600, 21600 } }
5294cdf0e10cSrcweir };
5295cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedCard =
5296cdf0e10cSrcweir {
5297cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedCardVert, sizeof( mso_sptFlowChartPunchedCardVert ) / sizeof( SvxMSDffVertPair ),
5298cdf0e10cSrcweir 	NULL, 0,
5299cdf0e10cSrcweir 	NULL, 0,
5300cdf0e10cSrcweir 	NULL,
5301cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, sizeof( mso_sptFlowChartPunchedCardTextRect ) / sizeof( SvxMSDffTextRectangles ),
5302cdf0e10cSrcweir 	21600, 21600,
5303*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5304cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5305cdf0e10cSrcweir 	NULL, 0		// handles
5306cdf0e10cSrcweir };
5307cdf0e10cSrcweir 
5308cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert[] =
5309cdf0e10cSrcweir {
5310cdf0e10cSrcweir 	{ 0, 2230 },											// p
5311cdf0e10cSrcweir 	{ 820, 3990 }, { 3410, 3980 }, { 5370, 4360 },			// ccp
5312cdf0e10cSrcweir 	{ 7430, 4030 },	{ 10110, 3890 }, { 10690, 2270 },		// ccp
5313cdf0e10cSrcweir 	{ 11440, 300 }, { 14200, 160 }, { 16150, 0 },			// ccp
5314cdf0e10cSrcweir 	{ 18670, 170 }, {  20690, 390 }, { 21600, 2230 },		// ccp
5315cdf0e10cSrcweir 	{ 21600, 19420 },										// p
5316cdf0e10cSrcweir 	{ 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 },	// ccp
5317cdf0e10cSrcweir 	{ 14710, 17370 }, {	11310, 17510 }, { 10770, 19430 },	// ccp
5318cdf0e10cSrcweir 	{ 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 },		// ccp
5319cdf0e10cSrcweir 	{ 3220, 21250 }, { 610, 21130 }, { 0, 19420	}			// ccp
5320cdf0e10cSrcweir };
5321cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm[] =
5322cdf0e10cSrcweir {
5323cdf0e10cSrcweir 	0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000
5324cdf0e10cSrcweir };
5325cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect[] =
5326cdf0e10cSrcweir {
5327cdf0e10cSrcweir 	{ { 0, 4360 }, { 21600, 17240 } }
5328cdf0e10cSrcweir };
5329cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints[] =
5330cdf0e10cSrcweir {
5331cdf0e10cSrcweir 	{ 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 }
5332cdf0e10cSrcweir };
5333cdf0e10cSrcweir static const mso_CustomShape msoFlowChartPunchedTape =
5334cdf0e10cSrcweir {
5335cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeVert, sizeof( mso_sptFlowChartPunchedTapeVert ) / sizeof( SvxMSDffVertPair ),
5336cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartPunchedTapeSegm, sizeof( mso_sptFlowChartPunchedTapeSegm ) >> 1,
5337cdf0e10cSrcweir 	NULL, 0,
5338cdf0e10cSrcweir 	NULL,
5339cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, sizeof( mso_sptFlowChartPunchedTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5340cdf0e10cSrcweir 	21600, 21600,
5341*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5342cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, sizeof( mso_sptFlowChartPunchedTapeGluePoints ) / sizeof( SvxMSDffVertPair ),
5343cdf0e10cSrcweir 	NULL, 0		// handles
5344cdf0e10cSrcweir };
5345cdf0e10cSrcweir 
5346cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert[] =
5347cdf0e10cSrcweir {
5348cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5349cdf0e10cSrcweir 
5350cdf0e10cSrcweir 	{ 3100, 3100 },
5351cdf0e10cSrcweir 	{ 18500, 18500 },
5352cdf0e10cSrcweir 
5353cdf0e10cSrcweir 	{ 3100, 18500 },
5354cdf0e10cSrcweir 	{ 18500, 3100 }
5355cdf0e10cSrcweir };
5356cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm[] =
5357cdf0e10cSrcweir {
5358cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
5359cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5360cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5361cdf0e10cSrcweir };
5362cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect[] =
5363cdf0e10cSrcweir {
5364cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5365cdf0e10cSrcweir };
5366cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSummingJunction =
5367cdf0e10cSrcweir {
5368cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartSummingJunctionVert, sizeof( mso_sptFlowChartSummingJunctionVert ) / sizeof( SvxMSDffVertPair ),
5369cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartSummingJunctionSegm, sizeof( mso_sptFlowChartSummingJunctionSegm ) >> 1,
5370cdf0e10cSrcweir 	NULL, 0,
5371cdf0e10cSrcweir 	NULL,
5372cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, sizeof( mso_sptFlowChartSummingJunctionTextRect ) / sizeof( SvxMSDffTextRectangles ),
5373cdf0e10cSrcweir 	21600, 21600,
5374*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5375cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
5376cdf0e10cSrcweir 	NULL, 0		// handles
5377cdf0e10cSrcweir };
5378cdf0e10cSrcweir 
5379cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOrVert[] =
5380cdf0e10cSrcweir {
5381cdf0e10cSrcweir 	{ 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5382cdf0e10cSrcweir 
5383cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 },
5384cdf0e10cSrcweir 
5385cdf0e10cSrcweir 	{ 10800, 0 }, { 10800, 21600 }
5386cdf0e10cSrcweir };
5387cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOrSegm[] =
5388cdf0e10cSrcweir {
5389cdf0e10cSrcweir 	0xa203, 0x6000, 0x8000,
5390cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
5391cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5392cdf0e10cSrcweir };
5393cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect[] =
5394cdf0e10cSrcweir {
5395cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5396cdf0e10cSrcweir };
5397cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOr =
5398cdf0e10cSrcweir {
5399cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOrVert, sizeof( mso_sptFlowChartOrVert ) / sizeof( SvxMSDffVertPair ),
5400cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartOrSegm, sizeof( mso_sptFlowChartOrSegm ) >> 1,
5401cdf0e10cSrcweir 	NULL, 0,
5402cdf0e10cSrcweir 	NULL,
5403cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, sizeof( mso_sptFlowChartOrTextRect ) / sizeof( SvxMSDffTextRectangles ),
5404cdf0e10cSrcweir 	21600, 21600,
5405*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5406cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( SvxMSDffVertPair ),
5407cdf0e10cSrcweir 	NULL, 0		// handles
5408cdf0e10cSrcweir };
5409cdf0e10cSrcweir 
5410cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateVert[] =
5411cdf0e10cSrcweir {
5412cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 }
5413cdf0e10cSrcweir };
5414cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect[] =
5415cdf0e10cSrcweir {
5416cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
5417cdf0e10cSrcweir };
5418cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints[] =
5419cdf0e10cSrcweir {
5420cdf0e10cSrcweir 	{ 10800, 0 }, { 10800, 10800 }, { 10800, 21600 }
5421cdf0e10cSrcweir };
5422cdf0e10cSrcweir static const mso_CustomShape msoFlowChartCollate =
5423cdf0e10cSrcweir {
5424cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartCollateVert, sizeof( mso_sptFlowChartCollateVert ) / sizeof( SvxMSDffVertPair ),
5425cdf0e10cSrcweir 	NULL, 0,
5426cdf0e10cSrcweir 	NULL, 0,
5427cdf0e10cSrcweir 	NULL,
5428cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, sizeof( mso_sptFlowChartCollateTextRect ) / sizeof( SvxMSDffTextRectangles ),
5429cdf0e10cSrcweir 	21600, 21600,
5430*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5431cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, sizeof( mso_sptFlowChartCollateGluePoints ) / sizeof( SvxMSDffVertPair ),
5432cdf0e10cSrcweir 	NULL, 0		// handles
5433cdf0e10cSrcweir };
5434cdf0e10cSrcweir 
5435cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartSortVert[] =
5436cdf0e10cSrcweir {
5437cdf0e10cSrcweir 	{ 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 },
5438cdf0e10cSrcweir 
5439cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 }
5440cdf0e10cSrcweir };
5441cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartSortSegm[] =
5442cdf0e10cSrcweir {
5443cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
5444cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
5445cdf0e10cSrcweir };
5446cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect[] =
5447cdf0e10cSrcweir {
5448cdf0e10cSrcweir 	{ { 5400, 5400 }, { 16200, 16200 } }
5449cdf0e10cSrcweir };
5450cdf0e10cSrcweir static const mso_CustomShape msoFlowChartSort =
5451cdf0e10cSrcweir {
5452cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartSortVert, sizeof( mso_sptFlowChartSortVert ) / sizeof( SvxMSDffVertPair ),
5453cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartSortSegm, sizeof( mso_sptFlowChartSortSegm ) >> 1,
5454cdf0e10cSrcweir 	NULL, 0,
5455cdf0e10cSrcweir 	NULL,
5456cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, sizeof( mso_sptFlowChartSortTextRect ) / sizeof( SvxMSDffTextRectangles ),
5457cdf0e10cSrcweir 	21600, 21600,
5458*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5459cdf0e10cSrcweir 	NULL, 0,
5460cdf0e10cSrcweir 	NULL, 0		// handles
5461cdf0e10cSrcweir };
5462cdf0e10cSrcweir 
5463cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractVert[] =
5464cdf0e10cSrcweir {
5465cdf0e10cSrcweir 	{ 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 }
5466cdf0e10cSrcweir };
5467cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect[] =
5468cdf0e10cSrcweir {
5469cdf0e10cSrcweir 	{ { 5400, 10800 }, { 16200, 21600 } }
5470cdf0e10cSrcweir };
5471cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints[] =
5472cdf0e10cSrcweir {
5473cdf0e10cSrcweir 	{ 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 }
5474cdf0e10cSrcweir };
5475cdf0e10cSrcweir static const mso_CustomShape msoFlowChartExtract =
5476cdf0e10cSrcweir {
5477cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractVert, sizeof( mso_sptFlowChartExtractVert ) / sizeof( SvxMSDffVertPair ),
5478cdf0e10cSrcweir 	NULL, 0,
5479cdf0e10cSrcweir 	NULL, 0,
5480cdf0e10cSrcweir 	NULL,
5481cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, sizeof( mso_sptFlowChartExtractTextRect ) / sizeof( SvxMSDffTextRectangles ),
5482cdf0e10cSrcweir 	21600, 21600,
5483*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5484cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
5485cdf0e10cSrcweir 	NULL, 0		// handles
5486cdf0e10cSrcweir };
5487cdf0e10cSrcweir 
5488cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMergeVert[] =
5489cdf0e10cSrcweir {
5490cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 }
5491cdf0e10cSrcweir };
5492cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect[] =
5493cdf0e10cSrcweir {
5494cdf0e10cSrcweir 	{ { 5400, 0 }, { 16200, 10800 } }
5495cdf0e10cSrcweir };
5496cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMerge =
5497cdf0e10cSrcweir {
5498cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMergeVert, sizeof( mso_sptFlowChartMergeVert ) / sizeof( SvxMSDffVertPair ),
5499cdf0e10cSrcweir 	NULL, 0,
5500cdf0e10cSrcweir 	NULL, 0,
5501cdf0e10cSrcweir 	NULL,
5502cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, sizeof( mso_sptFlowChartMergeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5503cdf0e10cSrcweir 	21600, 21600,
5504*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5505cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
5506cdf0e10cSrcweir 	NULL, 0		// handles
5507cdf0e10cSrcweir };
5508cdf0e10cSrcweir 
5509cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert[] =
5510cdf0e10cSrcweir {
5511cdf0e10cSrcweir 	{ 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 },
5512cdf0e10cSrcweir 	{ 18000, 10800 }, { 21600, 21600 }
5513cdf0e10cSrcweir };
5514cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm[] =
5515cdf0e10cSrcweir {
5516cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
5517cdf0e10cSrcweir };
5518cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect[] =
5519cdf0e10cSrcweir {
5520cdf0e10cSrcweir 	{ { 3600, 0 }, { 18000, 21600 } }
5521cdf0e10cSrcweir };
5522cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints[] =
5523cdf0e10cSrcweir {
5524cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 }
5525cdf0e10cSrcweir };
5526cdf0e10cSrcweir static const mso_CustomShape msoFlowChartOnlineStorage =
5527cdf0e10cSrcweir {
5528cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageVert, sizeof( mso_sptFlowChartOnlineStorageVert ) / sizeof( SvxMSDffVertPair ),
5529cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartOnlineStorageSegm, sizeof( mso_sptFlowChartOnlineStorageSegm ) >> 1,
5530cdf0e10cSrcweir 	NULL, 0,
5531cdf0e10cSrcweir 	NULL,
5532cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, sizeof( mso_sptFlowChartOnlineStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
5533cdf0e10cSrcweir 	21600, 21600,
5534*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5535cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, sizeof( mso_sptFlowChartOnlineStorageGluePoints ) / sizeof( SvxMSDffVertPair ),
5536cdf0e10cSrcweir 	NULL, 0		// handles
5537cdf0e10cSrcweir };
5538cdf0e10cSrcweir 
5539cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDelayVert[] =
5540cdf0e10cSrcweir {
5541cdf0e10cSrcweir 	{ 10800, 0 }, {	21600, 10800 }, { 10800, 21600 }, {	0, 21600 },
5542cdf0e10cSrcweir 	{ 0, 0 }
5543cdf0e10cSrcweir };
5544cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDelaySegm[] =
5545cdf0e10cSrcweir {
5546cdf0e10cSrcweir 	0x4000, 0xa702, 0x0002, 0x6000, 0x8000
5547cdf0e10cSrcweir };
5548cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect[] =
5549cdf0e10cSrcweir {
5550cdf0e10cSrcweir 	{ { 0, 3100 }, { 18500, 18500 } }
5551cdf0e10cSrcweir };
5552cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDelay =
5553cdf0e10cSrcweir {
5554cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDelayVert, sizeof( mso_sptFlowChartDelayVert ) / sizeof( SvxMSDffVertPair ),
5555cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDelaySegm, sizeof( mso_sptFlowChartDelaySegm ) >> 1,
5556cdf0e10cSrcweir 	NULL, 0,
5557cdf0e10cSrcweir 	NULL,
5558cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, sizeof( mso_sptFlowChartDelayTextRect ) / sizeof( SvxMSDffTextRectangles ),
5559cdf0e10cSrcweir 	21600, 21600,
5560*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5561cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5562cdf0e10cSrcweir 	NULL, 0		// handles
5563cdf0e10cSrcweir };
5564cdf0e10cSrcweir 
5565cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert[] =
5566cdf0e10cSrcweir {
5567cdf0e10cSrcweir 	{ 20980, 18150 }, {	20980, 21600 }, { 10670, 21600 },
5568cdf0e10cSrcweir 	{ 4770, 21540 }, { 0, 16720 }, { 0, 10800 },			// ccp
5569cdf0e10cSrcweir 	{ 0, 4840 }, { 4840, 0 }, { 10800, 0 },					// ccp
5570cdf0e10cSrcweir 	{ 16740, 0 }, { 21600, 4840 }, { 21600, 10800 },		// ccp
5571cdf0e10cSrcweir 	{ 21600, 13520 }, {	20550, 16160 }, { 18670, 18170 }	// ccp
5572cdf0e10cSrcweir };
5573cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm[] =
5574cdf0e10cSrcweir {
5575cdf0e10cSrcweir 	0x4000, 0x0002, 0x2004, 0x6000, 0x8000
5576cdf0e10cSrcweir };
5577cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect[] =
5578cdf0e10cSrcweir {
5579cdf0e10cSrcweir 	{ { 3100, 3100 }, { 18500, 18500 } }
5580cdf0e10cSrcweir };
5581cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticTape =
5582cdf0e10cSrcweir {
5583cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticTapeVert, sizeof( mso_sptFlowChartMagneticTapeVert ) / sizeof( SvxMSDffVertPair ),
5584cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticTapeSegm, sizeof( mso_sptFlowChartMagneticTapeSegm ) >> 1,
5585cdf0e10cSrcweir 	NULL, 0,
5586cdf0e10cSrcweir 	NULL,
5587cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, sizeof( mso_sptFlowChartMagneticTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
5588cdf0e10cSrcweir 	21600, 21600,
5589*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5590cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5591cdf0e10cSrcweir 	NULL, 0		// handles
5592cdf0e10cSrcweir };
5593cdf0e10cSrcweir 
5594cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert[] =
5595cdf0e10cSrcweir {
5596cdf0e10cSrcweir 	{ 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 },
5597cdf0e10cSrcweir 	{ 10800, 21600 }, { 0, 18200 },
5598cdf0e10cSrcweir 
5599cdf0e10cSrcweir 	{ 0, 3400 }, { 10800, 6800 }, { 21600, 3400 }
5600cdf0e10cSrcweir };
5601cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm[] =
5602cdf0e10cSrcweir {
5603cdf0e10cSrcweir 	0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000,
5604cdf0e10cSrcweir 	0x4000, 0xa802, 0x8000
5605cdf0e10cSrcweir };
5606cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect[] =
5607cdf0e10cSrcweir {
5608cdf0e10cSrcweir 	{ { 0, 6800 }, { 21600, 18200 } }
5609cdf0e10cSrcweir };
5610cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints[] =
5611cdf0e10cSrcweir {
5612cdf0e10cSrcweir 	{ 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
5613cdf0e10cSrcweir };
5614cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDisk =
5615cdf0e10cSrcweir {
5616cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskVert, sizeof( mso_sptFlowChartMagneticDiskVert ) / sizeof( SvxMSDffVertPair ),
5617cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticDiskSegm, sizeof( mso_sptFlowChartMagneticDiskSegm ) >> 1,
5618cdf0e10cSrcweir 	NULL, 0,
5619cdf0e10cSrcweir 	NULL,
5620cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, sizeof( mso_sptFlowChartMagneticDiskTextRect ) / sizeof( SvxMSDffTextRectangles ),
5621cdf0e10cSrcweir 	21600, 21600,
5622*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5623cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, sizeof( mso_sptFlowChartMagneticDiskGluePoints ) / sizeof( SvxMSDffVertPair ),
5624cdf0e10cSrcweir 	NULL, 0		// handles
5625cdf0e10cSrcweir };
5626cdf0e10cSrcweir 
5627cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert[] =
5628cdf0e10cSrcweir {
5629cdf0e10cSrcweir 	{ 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 },
5630cdf0e10cSrcweir 	{ 0, 10800 }, { 3400, 0 },
5631cdf0e10cSrcweir 
5632cdf0e10cSrcweir 	{ 18200, 0 }, { 14800, 10800 }, { 18200, 21600 }
5633cdf0e10cSrcweir };
5634cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm[] =
5635cdf0e10cSrcweir {
5636cdf0e10cSrcweir 	0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000,
5637cdf0e10cSrcweir 	0x4000, 0xa702, 0x8000
5638cdf0e10cSrcweir };
5639cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect[] =
5640cdf0e10cSrcweir {
5641cdf0e10cSrcweir 	{ { 3400, 0 }, { 14800, 21600 } }
5642cdf0e10cSrcweir };
5643cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints[] =
5644cdf0e10cSrcweir {
5645cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 }
5646cdf0e10cSrcweir };
5647cdf0e10cSrcweir static const mso_CustomShape msoFlowChartMagneticDrum =
5648cdf0e10cSrcweir {
5649cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumVert, sizeof( mso_sptFlowChartMagneticDrumVert ) / sizeof( SvxMSDffVertPair ),
5650cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartMagneticDrumSegm, sizeof( mso_sptFlowChartMagneticDrumSegm ) >> 1,
5651cdf0e10cSrcweir 	NULL, 0,
5652cdf0e10cSrcweir 	NULL,
5653cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, sizeof( mso_sptFlowChartMagneticDrumTextRect ) / sizeof( SvxMSDffTextRectangles ),
5654cdf0e10cSrcweir 	21600, 21600,
5655*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5656cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, sizeof( mso_sptFlowChartMagneticDrumGluePoints ) / sizeof( SvxMSDffVertPair ),
5657cdf0e10cSrcweir 	NULL, 0		// handles
5658cdf0e10cSrcweir };
5659cdf0e10cSrcweir 
5660cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFlowChartDisplayVert[] =
5661cdf0e10cSrcweir {
5662cdf0e10cSrcweir 	{ 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 },
5663cdf0e10cSrcweir 	{ 3600, 21600 }, { 0, 10800 }
5664cdf0e10cSrcweir };
5665cdf0e10cSrcweir static const sal_uInt16 mso_sptFlowChartDisplaySegm[] =
5666cdf0e10cSrcweir {
5667cdf0e10cSrcweir 	0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000
5668cdf0e10cSrcweir };
5669cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect[] =
5670cdf0e10cSrcweir {
5671cdf0e10cSrcweir 	{ { 3600, 0 }, { 17800, 21600 } }
5672cdf0e10cSrcweir };
5673cdf0e10cSrcweir static const mso_CustomShape msoFlowChartDisplay =
5674cdf0e10cSrcweir {
5675cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFlowChartDisplayVert, sizeof( mso_sptFlowChartDisplayVert ) / sizeof( SvxMSDffVertPair ),
5676cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFlowChartDisplaySegm, sizeof( mso_sptFlowChartDisplaySegm ) >> 1,
5677cdf0e10cSrcweir 	NULL, 0,
5678cdf0e10cSrcweir 	NULL,
5679cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, sizeof( mso_sptFlowChartDisplayTextRect ) / sizeof( SvxMSDffTextRectangles ),
5680cdf0e10cSrcweir 	21600, 21600,
5681*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5682cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( SvxMSDffVertPair ),
5683cdf0e10cSrcweir 	NULL, 0		// handles
5684cdf0e10cSrcweir };
5685cdf0e10cSrcweir 
5686cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert[] =
5687cdf0e10cSrcweir {
5688cdf0e10cSrcweir 	{ 0, 0 },
5689cdf0e10cSrcweir 	{ 0, 3590 }, { 2 MSO_I, 3 MSO_I }, { 0, 8970 },
5690cdf0e10cSrcweir 	{ 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
5691cdf0e10cSrcweir 	{ 0, 21600 },
5692cdf0e10cSrcweir 	{ 3590, 21600 }, { 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
5693cdf0e10cSrcweir 	{ 12630, 21600 }, { 8 MSO_I, 9 MSO_I }, { 18010, 21600 },
5694cdf0e10cSrcweir 	{ 21600, 21600 },
5695cdf0e10cSrcweir 	{ 21600, 18010 }, { 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
5696cdf0e10cSrcweir 	{ 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
5697cdf0e10cSrcweir 	{ 21600, 0 },
5698cdf0e10cSrcweir 	{ 18010, 0 }, { 14 MSO_I, 15 MSO_I }, { 12630, 0 },
5699cdf0e10cSrcweir 	{ 8970, 0 }, { 16 MSO_I, 17 MSO_I }, { 3590, 0 },
5700cdf0e10cSrcweir 	{ 0, 0 }
5701cdf0e10cSrcweir };
5702cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc[] =
5703cdf0e10cSrcweir {
5704cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },		//0x400
5705cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0,10800 } },
5706cdf0e10cSrcweir 	{ 0x6006, { 0x412, DFF_Prop_adjustValue, 0 } },		//0x402
5707cdf0e10cSrcweir 	{ 0x6006, { 0x412, DFF_Prop_adjust2Value, 6280 } },
5708cdf0e10cSrcweir 	{ 0x6006, { 0x417, DFF_Prop_adjustValue, 0 } },		//0x404
5709cdf0e10cSrcweir 	{ 0x6006, { 0x417, DFF_Prop_adjust2Value, 15320 } },
5710cdf0e10cSrcweir 	{ 0x6006, { 0x41a, DFF_Prop_adjustValue, 6280 } },	//0x406
5711cdf0e10cSrcweir 	{ 0x6006, { 0x41a, DFF_Prop_adjust2Value, 21600 } },
5712cdf0e10cSrcweir 	{ 0x6006, { 0x41d, DFF_Prop_adjustValue, 15320 } },	//0x408
5713cdf0e10cSrcweir 	{ 0x6006, { 0x41d, DFF_Prop_adjust2Value, 21600 } },
5714cdf0e10cSrcweir 	{ 0x6006, { 0x420, DFF_Prop_adjustValue, 21600 } },	//0x40a
5715cdf0e10cSrcweir 	{ 0x6006, { 0x420, DFF_Prop_adjust2Value, 15320 } },
5716cdf0e10cSrcweir 	{ 0x6006, { 0x422, DFF_Prop_adjustValue, 21600 } },	//0x40c
5717cdf0e10cSrcweir 	{ 0x6006, { 0x422, DFF_Prop_adjust2Value, 6280 } },
5718cdf0e10cSrcweir 	{ 0x6006, { 0x424, DFF_Prop_adjustValue, 15320 } },	//0x40e
5719cdf0e10cSrcweir 	{ 0x6006, { 0x424, DFF_Prop_adjust2Value, 0 } },
5720cdf0e10cSrcweir 	{ 0x6006, { 0x426, DFF_Prop_adjustValue, 6280 } },	//0x410
5721cdf0e10cSrcweir 	{ 0x6006, { 0x426, DFF_Prop_adjust2Value, 0 } },
5722cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjustValue, -1, 0x413 } },	//0x412
5723cdf0e10cSrcweir 	{ 0xa006, { 0x401, -1, 0x416 } },
5724cdf0e10cSrcweir 	{ 0x2003, { 0x400, 0, 0 } },						//0x414
5725cdf0e10cSrcweir 	{ 0x2003, { 0x401, 0, 0 } },
5726cdf0e10cSrcweir 	{ 0xa000, { 0x414, 0, 0x415 } },					//0x416
5727cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjustValue, -1, 0x418 } },
5728cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x416, -1 } },					//0x418
5729cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 21600 } },
5730cdf0e10cSrcweir 	{ 0x6006, { 0x419, 0x41b, -1 } },					//0x41a
5731cdf0e10cSrcweir 	{ 0xa006, { 0x400, -1, 0x41c } },
5732cdf0e10cSrcweir 	{ 0xa000, { 0x415, 0, 0x414 } },					//0x41c
5733cdf0e10cSrcweir 	{ 0x6006, { 0x419, 0x41e, -1 } },
5734cdf0e10cSrcweir 	{ 0x6006, { 0x400, 0x41c, -1 } },					//0x41e
5735cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 21600 } },
5736cdf0e10cSrcweir 	{ 0x6006, { 0x41f, 0x421, -1 } },					//0x420
5737cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x416, -1 } },
5738cdf0e10cSrcweir 	{ 0x6006, { 0x41f, 0x423, -1 } },					//0x422
5739cdf0e10cSrcweir 	{ 0xa006, { 0x401, -1, 0x416 } },
5740cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjust2Value, -1, 0x425 } },	//0x424
5741cdf0e10cSrcweir 	{ 0x6006, { 0x400, 0x41c, -1 } },
5742cdf0e10cSrcweir 	{ 0xa006, { DFF_Prop_adjust2Value, -1, 0x427 } },	//0x426
5743cdf0e10cSrcweir 	{ 0xa006, { 0x400, -1, 0x41c } },
5744cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			//0x428
5745cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } }
5746cdf0e10cSrcweir };
5747cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeRectCalloutDefault[] =
5748cdf0e10cSrcweir {
5749cdf0e10cSrcweir 	2, 1400, 25920
5750cdf0e10cSrcweir };
5751cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect[] =
5752cdf0e10cSrcweir {
5753cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
5754cdf0e10cSrcweir };
5755cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints[] =
5756cdf0e10cSrcweir {
5757cdf0e10cSrcweir 	{ 10800, 0 }, { 0, 10800 },  { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I, 41 MSO_I }
5758cdf0e10cSrcweir };
5759cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle[] =
5760cdf0e10cSrcweir {
5761cdf0e10cSrcweir 	{
5762cdf0e10cSrcweir 		0,
5763*e5cfc9caSHerbert Dürr 		0x100, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff
5764cdf0e10cSrcweir 	}
5765cdf0e10cSrcweir };
5766cdf0e10cSrcweir static const mso_CustomShape msoWedgeRectCallout =
5767cdf0e10cSrcweir {
5768cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRectCalloutVert, sizeof( mso_sptWedgeRectCalloutVert ) / sizeof( SvxMSDffVertPair ),
5769cdf0e10cSrcweir 	NULL, 0,
5770cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5771cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5772cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, sizeof( mso_sptWedgeRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5773cdf0e10cSrcweir 	21600, 21600,
5774*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5775cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, sizeof( mso_sptWedgeRectCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
5776cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5777cdf0e10cSrcweir };
5778cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert[] =
5779cdf0e10cSrcweir {
5780cdf0e10cSrcweir 	{ 3590, 0 },
5781cdf0e10cSrcweir 	{ 0, 3590 },
5782cdf0e10cSrcweir 	{ 2 MSO_I, 3 MSO_I }, { 0, 8970 },
5783cdf0e10cSrcweir 	{ 0, 12630 },{ 4 MSO_I, 5 MSO_I }, { 0, 18010 },
5784cdf0e10cSrcweir 	{ 3590, 21600 },
5785cdf0e10cSrcweir 	{ 6 MSO_I, 7 MSO_I }, { 8970, 21600 },
5786cdf0e10cSrcweir 	{ 12630, 21600 }, { 8 MSO_I, 9 MSO_I },	{ 18010, 21600 },
5787cdf0e10cSrcweir 	{ 21600, 18010 },
5788cdf0e10cSrcweir 	{ 10 MSO_I, 11 MSO_I }, { 21600, 12630 },
5789cdf0e10cSrcweir 	{ 21600, 8970 }, { 12 MSO_I, 13 MSO_I }, { 21600, 3590 },
5790cdf0e10cSrcweir 	{ 18010, 0 },
5791cdf0e10cSrcweir 	{ 14 MSO_I, 15 MSO_I }, { 12630, 0 },
5792cdf0e10cSrcweir 	{ 8970, 0 }, { 16 MSO_I, 17 MSO_I }
5793cdf0e10cSrcweir };
5794cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeRRectCalloutSegm[] =
5795cdf0e10cSrcweir {
5796cdf0e10cSrcweir 	0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000
5797cdf0e10cSrcweir };
5798cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect[] =
5799cdf0e10cSrcweir {
5800cdf0e10cSrcweir 	{ { 800, 800 }, { 20800, 20800 } }
5801cdf0e10cSrcweir };
5802cdf0e10cSrcweir static const mso_CustomShape msoWedgeRRectCallout =
5803cdf0e10cSrcweir {
5804cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeRRectCalloutVert, sizeof( mso_sptWedgeRRectCalloutVert ) / sizeof( SvxMSDffVertPair ),
5805cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWedgeRRectCalloutSegm, sizeof( mso_sptWedgeRRectCalloutSegm ) >> 1,
5806cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5807cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5808cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, sizeof( mso_sptWedgeRRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5809cdf0e10cSrcweir 	21600, 21600,
5810*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5811cdf0e10cSrcweir 	NULL, 0,
5812cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5813cdf0e10cSrcweir };
5814cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBalloonVert[] =
5815cdf0e10cSrcweir {
5816cdf0e10cSrcweir 	{ 3590, 0 },
5817cdf0e10cSrcweir 	{ 0, 3590 },
5818cdf0e10cSrcweir 	{ 0, 14460 },
5819cdf0e10cSrcweir 	{ 3590, 18050 },
5820cdf0e10cSrcweir 	{ 40 MSO_I, 21600 }, { 5420, 18050 },
5821cdf0e10cSrcweir 	{ 18010, 18050 },
5822cdf0e10cSrcweir 	{ 21600, 14460 },
5823cdf0e10cSrcweir 	{ 21600, 3590 },
5824cdf0e10cSrcweir 	{ 18010, 0 }
5825cdf0e10cSrcweir };
5826cdf0e10cSrcweir static const sal_uInt16 mso_sptBalloonSegm[] =
5827cdf0e10cSrcweir {
5828cdf0e10cSrcweir 	0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000
5829cdf0e10cSrcweir };
5830cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBalloonHandle[] =
5831cdf0e10cSrcweir {
5832cdf0e10cSrcweir 	{
5833cdf0e10cSrcweir 		MSDFF_HANDLE_FLAGS_RANGE,
5834*e5cfc9caSHerbert Dürr 		0x100, 1, 10800, 10800, 0, 8990, Mx80000000, 0x7fffffff
5835cdf0e10cSrcweir 	}
5836cdf0e10cSrcweir };
5837cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] =
5838cdf0e10cSrcweir {
5839cdf0e10cSrcweir 	{ { 800, 800 }, { 20800, 17250 } }
5840cdf0e10cSrcweir };
5841cdf0e10cSrcweir static const mso_CustomShape msoBalloon =
5842cdf0e10cSrcweir {
5843cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBalloonVert, sizeof( mso_sptBalloonVert ) / sizeof( SvxMSDffVertPair ),
5844cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBalloonSegm, sizeof( mso_sptBalloonSegm ) >> 1,
5845cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeRectCalloutCalc, sizeof( mso_sptWedgeRectCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5846cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeRectCalloutDefault,
5847cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptBalloonTextRect, sizeof( mso_sptBalloonTextRect ) / sizeof( SvxMSDffTextRectangles ),
5848cdf0e10cSrcweir 	21600, 21600,
5849*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5850cdf0e10cSrcweir 	NULL, 0,
5851cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBalloonHandle, sizeof( mso_sptBalloonHandle ) / sizeof( SvxMSDffHandle )		// handles
5852cdf0e10cSrcweir };
5853cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert[] =
5854cdf0e10cSrcweir {
5855cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I, 0x17 MSO_I }, { 0x12 MSO_I, 0x13 MSO_I }, { 0xe MSO_I, 0xf MSO_I }
5856cdf0e10cSrcweir };
5857cdf0e10cSrcweir static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm[] =
5858cdf0e10cSrcweir {
5859cdf0e10cSrcweir 	0xa504, 0x0001, 0x6001, 0x8000
5860cdf0e10cSrcweir };
5861cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc[] =
5862cdf0e10cSrcweir {
5863cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },		// 00 rad x
5864cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },	// 01 rad y
5865cdf0e10cSrcweir 	{ 0x6001, { 0x400, 0x400, 1 } },					// 02 rad x^2
5866cdf0e10cSrcweir 	{ 0x6001, { 0x401, 0x401, 1 } },					// 03 rad y^2
5867cdf0e10cSrcweir 	{ 0x6000, { 0x402, 0x403, 0 } },					// 04
5868cdf0e10cSrcweir 	{ 0x200d, { 0x404, 0, 0 } },						// 05
5869cdf0e10cSrcweir 	{ 0x2000, { 0x405, 0, 10800 } },					// 06 > 0 ? spur needs to be drawn : 10800
5870cdf0e10cSrcweir 	{ 0x6008, { 0x400, 0x401, 0 } },					// 07 atan2 -> angle
5871cdf0e10cSrcweir 	{ 0x2000, { 0x407, 0, 10 } },						// 08
5872cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10, 0 } },						// 09
5873cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x407, 0 } },					// 0a
5874cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x407, 0 } },					// 0b
5875cdf0e10cSrcweir 	{ 0x2000, { 0x40a, 10800, 0 } },					// 0c
5876cdf0e10cSrcweir 	{ 0x2000, { 0x40b, 10800, 0 } },					// 0d
5877cdf0e10cSrcweir 	{ 0xe006, { 0x406, DFF_Prop_adjustValue, 0x40c } },	// 0e
5878cdf0e10cSrcweir 	{ 0xe006, { 0x406, DFF_Prop_adjust2Value, 0x40d } },// 0f
5879cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x408, 0 } },					// 10
5880cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x408, 0 } },					// 11
5881cdf0e10cSrcweir 	{ 0x2000, { 0x410, 10800, 0 } },					// 12
5882cdf0e10cSrcweir 	{ 0x2000, { 0x411, 10800, 0 } },					// 13
5883cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x409, 0 } },					// 14
5884cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x409, 0 } },					// 15
5885cdf0e10cSrcweir 	{ 0x2000, { 0x414, 10800, 0 } },					// 16
5886cdf0e10cSrcweir 	{ 0x2000, { 0x415, 10800, 0 } }					    // 17
5887cdf0e10cSrcweir };
5888cdf0e10cSrcweir static const sal_Int32 mso_sptWedgeEllipseCalloutDefault[] =
5889cdf0e10cSrcweir {
5890cdf0e10cSrcweir 	2, 1350, 25920
5891cdf0e10cSrcweir };
5892cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints[] =
5893cdf0e10cSrcweir {
5894cdf0e10cSrcweir 	{ 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I, 0xf MSO_I }
5895cdf0e10cSrcweir };
5896cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect[] =
5897cdf0e10cSrcweir {
5898cdf0e10cSrcweir 	{ { 3200, 3200 }, { 18400, 18400 } }
5899cdf0e10cSrcweir };
5900cdf0e10cSrcweir static const mso_CustomShape msoWedgeEllipseCallout =
5901cdf0e10cSrcweir {
5902cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutVert, sizeof( mso_sptWedgeEllipseCalloutVert ) / sizeof( SvxMSDffVertPair ),
5903cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWedgeEllipseCalloutSegm, sizeof( mso_sptWedgeEllipseCalloutSegm ) >> 1,
5904cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWedgeEllipseCalloutCalc, sizeof( mso_sptWedgeEllipseCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
5905cdf0e10cSrcweir 	(sal_Int32*)mso_sptWedgeEllipseCalloutDefault,
5906cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, sizeof( mso_sptWedgeEllipseCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
5907cdf0e10cSrcweir 	21600, 21600,
5908*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
5909cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, sizeof( mso_sptWedgeEllipseCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
5910cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
5911cdf0e10cSrcweir };
5912cdf0e10cSrcweir 
5913cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCloudCalloutVert[] =
5914cdf0e10cSrcweir {
5915cdf0e10cSrcweir 	{ 1930,7160 },										// p
5916cdf0e10cSrcweir 	{ 1530,4490	}, { 3400,1970 }, { 5270,1970 },		// ccp
5917cdf0e10cSrcweir 	{ 5860,1950	}, { 6470,2210 }, { 6970,2600 },		// ccp
5918cdf0e10cSrcweir 	{ 7450,1390	}, { 8340,650 }, { 9340,650	},			// ccp
5919cdf0e10cSrcweir 	{ 10004,690	}, { 10710,1050	}, { 11210,1700	},		// ccp
5920cdf0e10cSrcweir 	{ 11570,630	}, { 12330,0 }, { 13150,0 },			// ccp
5921cdf0e10cSrcweir 	{ 13840,0 }, { 14470,460 }, { 14870,1160 },			// ccp
5922cdf0e10cSrcweir 	{ 15330,440 }, { 16020,0 }, { 16740,0 },			// ccp
5923cdf0e10cSrcweir 	{ 17910,0 }, { 18900,1130 }, { 19110,2710 },		// ccp
5924cdf0e10cSrcweir 	{ 20240,3150 }, { 21060,4580 }, { 21060,6220 },		// ccp
5925cdf0e10cSrcweir 	{ 21060,6720 }, { 21000,7200 }, { 20830,7660 },		// ccp
5926cdf0e10cSrcweir 	{ 21310,8460 }, { 21600,9450 }, { 21600,10460 },	// ccp
5927cdf0e10cSrcweir 	{ 21600,12750 }, { 20310,14680 }, { 18650,15010	},	// ccp
5928cdf0e10cSrcweir 	{ 18650,17200 }, { 17370,18920 }, { 15770,18920 },	// ccp
5929cdf0e10cSrcweir 	{ 15220,18920 }, { 14700,18710 }, { 14240,18310	},	// ccp
5930cdf0e10cSrcweir 	{ 13820,20240 }, { 12490,21600 }, { 11000,21600 },	// ccp
5931cdf0e10cSrcweir 	{ 9890,21600 }, { 8840,20790 }, { 8210,19510 },		// ccp
5932cdf0e10cSrcweir 	{ 7620,20000 }, { 7930,20290 }, { 6240,20290 },		// ccp
5933cdf0e10cSrcweir 	{ 4850,20290 }, { 3570,19280 }, { 2900,17640 },		// ccp
5934cdf0e10cSrcweir 	{ 1300,17600 }, { 480,16300 }, { 480,14660 },		// ccp
5935cdf0e10cSrcweir 	{ 480,13900	}, { 690,13210 }, { 1070,12640 },		// ccp
5936cdf0e10cSrcweir 	{ 380,12160	}, { 0,11210 }, { 0,10120 },			// ccp
5937cdf0e10cSrcweir 	{ 0,8590 },	{ 840,7330 }, { 1930,7160 },			// ccp
5938cdf0e10cSrcweir 
5939cdf0e10cSrcweir 	{ 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 },			// pccp
5940cdf0e10cSrcweir 	{ 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 },			// pccp
5941cdf0e10cSrcweir 	{ 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 },		// pccp
5942cdf0e10cSrcweir 	{ 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 },		// pccp
5943cdf0e10cSrcweir 	{ 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 },		// pccp
5944cdf0e10cSrcweir 	{ 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 },		// pccp
5945cdf0e10cSrcweir 	{ 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 },	// pccp
5946cdf0e10cSrcweir 	{ 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 },	// pccp
5947cdf0e10cSrcweir 	{ 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 },		// pccp
5948cdf0e10cSrcweir 	{ 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 },		// pccp
5949cdf0e10cSrcweir 	{ 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 },		// pccp
5950cdf0e10cSrcweir 
5951cdf0e10cSrcweir 	{ 0x11 MSO_I, 0x12 MSO_I }, { 1800, 1800 }, { 0, 360 },					// circ1
5952cdf0e10cSrcweir 	{ 0x13 MSO_I, 0x14 MSO_I }, { 1200, 1200 }, { 0, 360 },					// circ2
5953cdf0e10cSrcweir 	{ 0xd MSO_I, 0xe MSO_I }, { 700, 700 }, { 0, 360 }						// circ3
5954cdf0e10cSrcweir };
5955cdf0e10cSrcweir static const sal_uInt16 mso_sptCloudCalloutSegm[] =
5956cdf0e10cSrcweir {
5957cdf0e10cSrcweir 	0x4000, 0x2016, 0x6001, 0x8000,
5958cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5959cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5960cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5961cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5962cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5963cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5964cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5965cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5966cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5967cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5968cdf0e10cSrcweir 	0x4000, 0x2001, 0xaa00, 0x8000,
5969cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000,
5970cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000,
5971cdf0e10cSrcweir 	0xa203, 0x6001, 0x8000
5972cdf0e10cSrcweir };
5973cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCloudCalloutCalc[] =
5974cdf0e10cSrcweir {
5975cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
5976cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 10800 } },
5977cdf0e10cSrcweir 	{ 0x6008, { 0x400, 0x401, 0 } },
5978cdf0e10cSrcweir 	{ 0x400a, { 10800, 0x402, 0 } },					// 3
5979cdf0e10cSrcweir 	{ 0x4009, { 10800, 0x402, 0 } },					// 4
5980cdf0e10cSrcweir 	{ 0x2000, { 0x403, 10800, 0 } },					// 5
5981cdf0e10cSrcweir 	{ 0x2000, { 0x404, 10800, 0 } },					// 6
5982cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjustValue, 0, 0x405 } },		// 7
5983cdf0e10cSrcweir 	{ 0xa000, { DFF_Prop_adjust2Value,0, 0x406 } },		// 8
5984cdf0e10cSrcweir 	{ 0x2001, { 0x407, 1, 3 } },						// 9
5985cdf0e10cSrcweir 	{ 0x2001, { 0x408, 1, 3 } },						// 0xa
5986cdf0e10cSrcweir 	{ 0x2001, { 0x407, 2, 3 } },						// 0xb
5987cdf0e10cSrcweir 	{ 0x2001, { 0x408, 2, 3 } },						// 0xc
5988cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },			// 0xd
5989cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },		// 0xe
5990cdf0e10cSrcweir 	{ 0x2001, { 0x403, 1, 10800 / 900 } },				// 0xf	taking half x distance of the radius from the first bobble
5991cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 10800 / 900 } },				// 0x10
5992cdf0e10cSrcweir 	{ 0xe000, { 0x409, 0x405, 0x40f } },				// 0x11
5993cdf0e10cSrcweir 	{ 0xe000, { 0x40a, 0x406, 0x410 } },				// 0x12
5994cdf0e10cSrcweir 	{ 0x6000, { 0x40b, 0x405, 0 } },					// 0x13
5995cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x406, 0 } }						// 0x14
5996cdf0e10cSrcweir };
5997cdf0e10cSrcweir static const sal_Int32 mso_sptCloudCalloutDefault[] =
5998cdf0e10cSrcweir {
5999cdf0e10cSrcweir 	2, 1350, 25920
6000cdf0e10cSrcweir };
6001cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect[] =
6002cdf0e10cSrcweir {
6003cdf0e10cSrcweir 	{ { 3000, 3320 }, { 17110, 17330 } }
6004cdf0e10cSrcweir };
6005cdf0e10cSrcweir static const mso_CustomShape msoCloudCallout =
6006cdf0e10cSrcweir {
6007cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCloudCalloutVert, sizeof( mso_sptCloudCalloutVert ) / sizeof( SvxMSDffVertPair ),
6008cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCloudCalloutSegm, sizeof( mso_sptCloudCalloutSegm ) >> 1,
6009cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCloudCalloutCalc, sizeof( mso_sptCloudCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
6010cdf0e10cSrcweir 	(sal_Int32*)mso_sptCloudCalloutDefault,
6011cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, sizeof( mso_sptCloudCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
6012cdf0e10cSrcweir 	21600, 21600,
6013*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6014cdf0e10cSrcweir 	NULL, 0,
6015cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle )		// handles
6016cdf0e10cSrcweir };
6017cdf0e10cSrcweir 
6018cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveVert[] =	// adjustment1 : 0 - 4460
6019cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
6020cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
6021cdf0e10cSrcweir 	{ 24 MSO_I, 1 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 29 MSO_I, 1 MSO_I }
6022cdf0e10cSrcweir };
6023cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptWaveCalc[] =
6024cdf0e10cSrcweir {
6025cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	//400 (vert.adj)
6026cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			//401
6027cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
6028cdf0e10cSrcweir 	{ 0x2000, { 0x402, 0, 10800 } },			//403 -2160 -> 2160 (horz.adj)
6029cdf0e10cSrcweir 	{ 0x2001, { 0x403, 2, 1 } },				//404 -4320 -> 4320 (horz.adj)
6030cdf0e10cSrcweir 	{ 0x2003, { 0x404, 0, 0 } },				//405 abs( 0x404 )	(horz.adj)
6031cdf0e10cSrcweir 	{ 0x8000, { 4320, 0, 0x405 } },				//406
6032cdf0e10cSrcweir 	{ 0xa006, { 0x403, 0, 0x405 } },			//407
6033cdf0e10cSrcweir 	{ 0x4001, { 15800, 0x400, 4460 } },			//408 0 -> 15800	(vert.adj)
6034cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x408 } },			//409
6035cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },			//40a
6036cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },			//40b
6037cdf0e10cSrcweir 	{ 0x6006, { 0x403, 0x40b, 21600 } },		//40c
6038cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x407 } },			//40d width between p0 and p1
6039cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//40e
6040cdf0e10cSrcweir 	{ 0xa000, { 0x407, 7200, 0x40e } },			//40f
6041cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x40e, 7200 } },			//410
6042cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },				//411 1/2 width
6043cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x411, 0 } },			//412 top center glue xpos
6044cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x412 } },			//413 bottom center glue xpos
6045cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//414 left glue x pos
6046cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x414 } },			//415 right glue x pos
6047cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },				//416 y1 (textbox)
6048cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x416 } },			//417 y2 (textbox)
6049cdf0e10cSrcweir 
6050cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x407 } },			//418 p2
6051cdf0e10cSrcweir 
6052cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },			//419 c
6053cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x408, 0 } },			//41a
6054cdf0e10cSrcweir 
6055cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },			//41b c
6056cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x408 } },			//41c
6057cdf0e10cSrcweir 
6058cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } } 			//41d p3
6059cdf0e10cSrcweir };
6060cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptWaveGluePoints[] =
6061cdf0e10cSrcweir {
6062cdf0e10cSrcweir 	{ 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
6063cdf0e10cSrcweir };
6064cdf0e10cSrcweir static const sal_uInt16 mso_sptWaveSegm[] =
6065cdf0e10cSrcweir {
6066cdf0e10cSrcweir 	0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000
6067cdf0e10cSrcweir };
6068cdf0e10cSrcweir static const SvxMSDffHandle mso_sptWaveHandle[] =
6069cdf0e10cSrcweir {
6070cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6071*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 4460 },
6072cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6073*e5cfc9caSHerbert Dürr 		0x101, 21600, 10800, 10800, 8640, 12960, Mx80000000, 0x7fffffff }
6074cdf0e10cSrcweir };
6075cdf0e10cSrcweir static const sal_Int32 mso_sptWaveDefault[] =
6076cdf0e10cSrcweir {
6077cdf0e10cSrcweir 	2, 1400, 10800
6078cdf0e10cSrcweir };
6079cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptWaveTextRect[] =
6080cdf0e10cSrcweir {
6081cdf0e10cSrcweir 	{ { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
6082cdf0e10cSrcweir };
6083cdf0e10cSrcweir static const mso_CustomShape msoWave =
6084cdf0e10cSrcweir {
6085cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveVert, sizeof( mso_sptWaveVert ) / sizeof( SvxMSDffVertPair ),
6086cdf0e10cSrcweir 	(sal_uInt16*)mso_sptWaveSegm, sizeof( mso_sptWaveSegm ) >> 1,
6087cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
6088cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
6089cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptWaveTextRect, sizeof( mso_sptWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
6090cdf0e10cSrcweir 	21600, 21600,
6091*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6092cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
6093cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
6094cdf0e10cSrcweir };
6095cdf0e10cSrcweir 
6096cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveVert[] =	// adjustment1 : 0 - 2230
6097cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
6098cdf0e10cSrcweir 	{ 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 },
6099cdf0e10cSrcweir 	{ 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 }
6100cdf0e10cSrcweir };
6101cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptDoubleWaveCalc[] =
6102cdf0e10cSrcweir {
6103cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	//400 (vert.adj)
6104cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			//401
6105cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },//402 (horz.adj)
6106cdf0e10cSrcweir 	{ 0x2000, { 0x402, 0, 10800 } },			//403 -2160 -> 2160 (horz.adj)
6107cdf0e10cSrcweir 	{ 0x2001, { 0x403, 2, 1 } },				//404 -4320 -> 4320 (horz.adj)
6108cdf0e10cSrcweir 	{ 0x2003, { 0x404, 0, 0 } },				//405 abs( 0x404 )	(horz.adj)
6109cdf0e10cSrcweir 	{ 0x8000, { 4320, 0, 0x405 } },				//406 -> not used
6110cdf0e10cSrcweir 	{ 0xa006, { 0x403, 0, 0x405 } },			//407
6111cdf0e10cSrcweir 	{ 0x4001, { 7900, 0x400, 2230 } },			//408 0 -> 7900	(vert.adj)
6112cdf0e10cSrcweir 	{ 0xa000, { 0x400, 0, 0x408 } },			//409
6113cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x408, 0 } },			//40a
6114cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },			//40b
6115cdf0e10cSrcweir 	{ 0x6006, { 0x403, 0x40b, 21600 } },		//40c
6116cdf0e10cSrcweir 	{ 0xa000, { 0x40c, 0, 0x407 } },			//40d width between p0 and p1
6117cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//40e
6118cdf0e10cSrcweir 	{ 0xa000, { 0x407, 3600, 0x40e } },			//40f
6119cdf0e10cSrcweir 	{ 0x6000, { 0x40c, 0x40e, 3600 } },			//410
6120cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },				//411 1/2 width
6121cdf0e10cSrcweir 	{ 0x6000, { 0x407, 0x411, 0 } },			//412 top center glue xpos
6122cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x412 } },			//413 bottom center glue xpos
6123cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },				//414 left glue x pos
6124cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x414 } },			//415 right glue x pos
6125cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },				//416 y1 (textbox)
6126cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x416 } },			//417 y2 (textbox)
6127cdf0e10cSrcweir 
6128cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x407 } },			//418 p2
6129cdf0e10cSrcweir 
6130cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40f } },			//419 c
6131cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x408, 0 } },			//41a
6132cdf0e10cSrcweir 
6133cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x410 } },			//41b c
6134cdf0e10cSrcweir 	{ 0xa000, { 0x401, 0, 0x408 } },			//41c
6135cdf0e10cSrcweir 
6136cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40c } }, 			//41d p3
6137cdf0e10cSrcweir 	{ 0xa000, { 0x412, 0, 0x40e } },			//41e
6138cdf0e10cSrcweir 	{ 0x6000, { 0x412, 0x40e, 0 } },			//41f
6139cdf0e10cSrcweir 	{ 0xa000, { 0x413, 0, 0x40e } },			//420
6140cdf0e10cSrcweir 	{ 0x6000, { 0x413, 0x40e, 0 } }				//421
6141cdf0e10cSrcweir };
6142cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints[] =
6143cdf0e10cSrcweir {
6144cdf0e10cSrcweir 	{ 0x12 MSO_I, 0 MSO_I }, { 0x14 MSO_I, 10800 }, { 0x13 MSO_I, 1 MSO_I }, { 0x15 MSO_I, 10800 }
6145cdf0e10cSrcweir };
6146cdf0e10cSrcweir static const sal_uInt16 mso_sptDoubleWaveSegm[] =
6147cdf0e10cSrcweir {
6148cdf0e10cSrcweir 	0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000
6149cdf0e10cSrcweir };
6150cdf0e10cSrcweir static const SvxMSDffHandle mso_sptDoubleWaveHandle[] =
6151cdf0e10cSrcweir {
6152cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6153*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 2230 },
6154cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6155*e5cfc9caSHerbert Dürr 		0x101, 21600, 10800, 10800, 8640, 12960, Mx80000000, 0x7fffffff }
6156cdf0e10cSrcweir };
6157cdf0e10cSrcweir static const sal_Int32 mso_sptDoubleWaveDefault[] =
6158cdf0e10cSrcweir {
6159cdf0e10cSrcweir 	2, 1400, 10800
6160cdf0e10cSrcweir };
6161cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect[] =
6162cdf0e10cSrcweir {
6163cdf0e10cSrcweir 	{ { 5 MSO_I, 22 MSO_I }, { 11 MSO_I, 23 MSO_I } }
6164cdf0e10cSrcweir };
6165cdf0e10cSrcweir static const mso_CustomShape msoDoubleWave =
6166cdf0e10cSrcweir {
6167cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveVert, sizeof( mso_sptDoubleWaveVert ) / sizeof( SvxMSDffVertPair ),
6168cdf0e10cSrcweir 	(sal_uInt16*)mso_sptDoubleWaveSegm, sizeof( mso_sptDoubleWaveSegm ) >> 1,
6169cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
6170cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
6171cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
6172cdf0e10cSrcweir 	21600, 21600,
6173*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6174cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
6175cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
6176cdf0e10cSrcweir };
6177cdf0e10cSrcweir 
6178cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default
6179cdf0e10cSrcweir static const sal_uInt16 mso_DefaultFillingTable[] =
6180cdf0e10cSrcweir {
6181cdf0e10cSrcweir 	0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000
6182cdf0e10cSrcweir };
IsCustomShapeFilledByDefault(MSO_SPT eSpType)6183cdf0e10cSrcweir sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
6184cdf0e10cSrcweir {
6185cdf0e10cSrcweir 	sal_Bool bIsFilledByDefault = sal_True;
6186cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
6187cdf0e10cSrcweir 	if ( i < 0x100 )
6188cdf0e10cSrcweir 		bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
6189cdf0e10cSrcweir 	return bIsFilledByDefault;
6190cdf0e10cSrcweir }
GetCustomShapeConnectionTypeDefault(MSO_SPT eSpType)6191cdf0e10cSrcweir sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType )
6192cdf0e10cSrcweir {
6193cdf0e10cSrcweir 	sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS;
6194cdf0e10cSrcweir 	const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType );
6195cdf0e10cSrcweir 	if ( pDefCustomShape && pDefCustomShape->nGluePoints )
6196cdf0e10cSrcweir 		nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM;
6197cdf0e10cSrcweir 	else
6198cdf0e10cSrcweir 	{
6199cdf0e10cSrcweir 		switch( eSpType )
6200cdf0e10cSrcweir 		{
6201cdf0e10cSrcweir 			case mso_sptRectangle :
6202cdf0e10cSrcweir 			case mso_sptRoundRectangle :
6203cdf0e10cSrcweir 			case mso_sptPictureFrame :
6204cdf0e10cSrcweir 			case mso_sptFlowChartProcess :
6205cdf0e10cSrcweir 			case mso_sptFlowChartPredefinedProcess :
6206cdf0e10cSrcweir 			case mso_sptFlowChartInternalStorage :
6207cdf0e10cSrcweir 			case mso_sptTextPlainText :
6208cdf0e10cSrcweir 			case mso_sptTextBox :
6209cdf0e10cSrcweir 			case mso_sptVerticalScroll :
6210cdf0e10cSrcweir 			case mso_sptHorizontalScroll :
6211cdf0e10cSrcweir 				nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT;
6212cdf0e10cSrcweir 			default: break;
6213cdf0e10cSrcweir 		}
6214cdf0e10cSrcweir 	}
6215cdf0e10cSrcweir 	return nGluePointType;
6216cdf0e10cSrcweir }
6217cdf0e10cSrcweir 
6218cdf0e10cSrcweir // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default
6219cdf0e10cSrcweir // #i28269#
6220cdf0e10cSrcweir static const sal_uInt16 mso_DefaultStrokingTable[] =
6221cdf0e10cSrcweir {
6222cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000,
6223cdf0e10cSrcweir 	0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame)
6224cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000,
6225cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000
6226cdf0e10cSrcweir };
6227cdf0e10cSrcweir // #i28269#
IsCustomShapeStrokedByDefault(MSO_SPT eSpType)6228cdf0e10cSrcweir sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType )
6229cdf0e10cSrcweir {
6230cdf0e10cSrcweir 	sal_Bool bIsStrokedByDefault = sal_True;
6231cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
6232cdf0e10cSrcweir 	if ( i < 0x100 )
6233cdf0e10cSrcweir 		bIsStrokedByDefault = ( mso_DefaultStrokingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
6234cdf0e10cSrcweir 	return bIsStrokedByDefault;
6235cdf0e10cSrcweir }
6236cdf0e10cSrcweir 
6237cdf0e10cSrcweir static const sal_uInt16 msoSortFilledObjectsToBackTable[] =
6238cdf0e10cSrcweir {
6239cdf0e10cSrcweir 	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
6240cdf0e10cSrcweir };
SortFilledObjectsToBackByDefault(MSO_SPT eSpType)6241cdf0e10cSrcweir sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType )
6242cdf0e10cSrcweir {
6243cdf0e10cSrcweir 	sal_Bool bSortFilledObjectsToBackByDefault = sal_True;
6244cdf0e10cSrcweir 	sal_uInt32 i = (sal_uInt32)eSpType;
6245cdf0e10cSrcweir 	if ( i < 0x100 )
6246cdf0e10cSrcweir 		bSortFilledObjectsToBackByDefault = ( msoSortFilledObjectsToBackTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) != 0;
6247cdf0e10cSrcweir 	return bSortFilledObjectsToBackByDefault;
6248cdf0e10cSrcweir }
6249cdf0e10cSrcweir 
6250cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptFontWorkVert[] =
6251cdf0e10cSrcweir {
6252cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 }
6253cdf0e10cSrcweir };
6254cdf0e10cSrcweir static const sal_uInt16 mso_sptFontWorkSegm[] =
6255cdf0e10cSrcweir {
6256cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6257cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6258cdf0e10cSrcweir };
6259cdf0e10cSrcweir static const SvxMSDffTextRectangles mso_sptFontWorkTextRect[] =
6260cdf0e10cSrcweir {
6261cdf0e10cSrcweir 	{ { 0, 0 }, { 21600, 21600 } }
6262cdf0e10cSrcweir };
6263cdf0e10cSrcweir static const mso_CustomShape msoFontWork =
6264cdf0e10cSrcweir {
6265cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptFontWorkVert, sizeof( mso_sptFontWorkVert ) / sizeof( SvxMSDffVertPair ),
6266cdf0e10cSrcweir 	(sal_uInt16*)mso_sptFontWorkSegm, sizeof( mso_sptFontWorkSegm ) >> 1,
6267cdf0e10cSrcweir 	NULL, 0,
6268cdf0e10cSrcweir 	NULL,
6269cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6270cdf0e10cSrcweir 	21600, 21600,
6271*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6272cdf0e10cSrcweir 	NULL, 0,
6273cdf0e10cSrcweir 	NULL, 0	// Handles
6274cdf0e10cSrcweir };
6275cdf0e10cSrcweir 
6276cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextPlainTextVert[] =
6277cdf0e10cSrcweir {
6278cdf0e10cSrcweir 	{ 3 MSO_I, 0 }, { 5 MSO_I, 0 }, { 6 MSO_I, 21600 }, { 7 MSO_I, 21600 }
6279cdf0e10cSrcweir };
6280cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextPlainTextCalc[] =	// adjustment1 : 6629 - 14971
6281cdf0e10cSrcweir {
6282cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 10800 } },
6283cdf0e10cSrcweir 	{ 0x2001, { 0x400, 2, 1 } },
6284cdf0e10cSrcweir 	{ 0x2003, { 0x401, 0, 0 } },
6285cdf0e10cSrcweir 	{ 0xa006, { 0x401, 0, 0x402 } },		// x1(3)
6286cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6287cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x404, 21600 } },	// x2(5)
6288cdf0e10cSrcweir 	{ 0x6006, { 0x401, 0x402, 0 } },		// x2
6289cdf0e10cSrcweir 	{ 0xa006, { 0x401, 21600, 0x404 } }		// x3(7)
6290cdf0e10cSrcweir };
6291cdf0e10cSrcweir static const sal_uInt16 mso_sptTextPlainTextSegm[] =
6292cdf0e10cSrcweir {
6293cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6294cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6295cdf0e10cSrcweir };
6296cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextPlainTextHandle[] =
6297cdf0e10cSrcweir {
6298cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6299*e5cfc9caSHerbert Dürr 		0x100, 21600, 10800, 10800, 6629, 14971, Mx80000000, 0x7fffffff }
6300cdf0e10cSrcweir };
6301cdf0e10cSrcweir static const mso_CustomShape msoTextPlainText =
6302cdf0e10cSrcweir {
6303cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextPlainTextVert, sizeof( mso_sptTextPlainTextVert ) / sizeof( SvxMSDffVertPair ),
6304cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextPlainTextSegm, sizeof( mso_sptTextPlainTextSegm ) >> 1,
6305cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextPlainTextCalc, sizeof( mso_sptTextPlainTextCalc ) / sizeof( SvxMSDffCalculationData ),
6306cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6307cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6308cdf0e10cSrcweir 	21600, 21600,
6309*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6310cdf0e10cSrcweir 	NULL, 0,
6311cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextPlainTextHandle, sizeof( mso_sptTextPlainTextHandle ) / sizeof( SvxMSDffHandle )
6312cdf0e10cSrcweir };
6313cdf0e10cSrcweir 
6314cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextStopVert[] =
6315cdf0e10cSrcweir {
6316cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I },
6317cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I }
6318cdf0e10cSrcweir };
6319cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextStopCalc[] =	// adjustment1 : 3080 - 10800
6320cdf0e10cSrcweir {
6321cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6322cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6323cdf0e10cSrcweir };
6324cdf0e10cSrcweir static const sal_uInt16 mso_sptTextStopSegm[] =
6325cdf0e10cSrcweir {
6326cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000,
6327cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000
6328cdf0e10cSrcweir };
6329cdf0e10cSrcweir static const sal_Int32 mso_sptTextStopDefault[] =
6330cdf0e10cSrcweir {
6331cdf0e10cSrcweir 	1, 2700
6332cdf0e10cSrcweir };
6333cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextStopHandle[] =
6334cdf0e10cSrcweir {
6335cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6336*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 3080, 10800 }
6337cdf0e10cSrcweir };
6338cdf0e10cSrcweir static const mso_CustomShape msoTextStop =
6339cdf0e10cSrcweir {
6340cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextStopVert, sizeof( mso_sptTextStopVert ) / sizeof( SvxMSDffVertPair ),
6341cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextStopSegm, sizeof( mso_sptTextStopSegm ) >> 1,
6342cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextStopCalc, sizeof( mso_sptTextStopCalc ) / sizeof( SvxMSDffCalculationData ),
6343cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextStopDefault,
6344cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6345cdf0e10cSrcweir 	21600, 21600,
6346*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6347cdf0e10cSrcweir 	NULL, 0,
6348cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextStopHandle, sizeof( mso_sptTextStopHandle ) / sizeof( SvxMSDffHandle )
6349cdf0e10cSrcweir };
6350cdf0e10cSrcweir 
6351cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleVert[] =
6352cdf0e10cSrcweir {
6353cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 21600 }
6354cdf0e10cSrcweir };
6355cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextTriangleCalc[] =	// adjustment1 : 6629 - 14971
6356cdf0e10cSrcweir {
6357cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
6358cdf0e10cSrcweir };
6359cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleSegm[] =
6360cdf0e10cSrcweir {
6361cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6362cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6363cdf0e10cSrcweir };
6364cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextTriangleHandle[] =
6365cdf0e10cSrcweir {
6366cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6367*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 21600 }
6368cdf0e10cSrcweir };
6369cdf0e10cSrcweir static const mso_CustomShape msoTextTriangle =
6370cdf0e10cSrcweir {
6371cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextTriangleVert, sizeof( mso_sptTextTriangleVert ) / sizeof( SvxMSDffVertPair ),
6372cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextTriangleSegm, sizeof( mso_sptTextTriangleSegm ) >> 1,
6373cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
6374cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6375cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6376cdf0e10cSrcweir 	21600, 21600,
6377*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6378cdf0e10cSrcweir 	NULL, 0,
6379cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle )
6380cdf0e10cSrcweir };
6381cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert[] =
6382cdf0e10cSrcweir {
6383cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
6384cdf0e10cSrcweir };
6385cdf0e10cSrcweir static const sal_uInt16 mso_sptTextTriangleInvertedSegm[] =
6386cdf0e10cSrcweir {
6387cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6388cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6389cdf0e10cSrcweir };
6390cdf0e10cSrcweir static const mso_CustomShape msoTextTriangleInverted =
6391cdf0e10cSrcweir {
6392cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextTriangleInvertedVert, sizeof( mso_sptTextTriangleInvertedVert ) / sizeof( SvxMSDffVertPair ),
6393cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextTriangleInvertedSegm, sizeof( mso_sptTextTriangleInvertedSegm ) >> 1,
6394cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextTriangleCalc, sizeof( mso_sptTextTriangleCalc ) / sizeof( SvxMSDffCalculationData ),
6395cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault10800,
6396cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6397cdf0e10cSrcweir 	21600, 21600,
6398*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6399cdf0e10cSrcweir 	NULL, 0,
6400cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( SvxMSDffHandle )
6401cdf0e10cSrcweir };
6402cdf0e10cSrcweir 
6403cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronVert[] =
6404cdf0e10cSrcweir {
6405cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 10800, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 10800, 1 MSO_I }, { 21600, 21600 }
6406cdf0e10cSrcweir };
6407cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronCalc[] =	// adjustment1 : 6629 - 14971
6408cdf0e10cSrcweir {
6409cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6410cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6411cdf0e10cSrcweir };
6412cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronSegm[] =
6413cdf0e10cSrcweir {
6414cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6415cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6416cdf0e10cSrcweir };
6417cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronHandle[] =
6418cdf0e10cSrcweir {
6419cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6420*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
6421cdf0e10cSrcweir };
6422cdf0e10cSrcweir static const mso_CustomShape msoTextChevron =
6423cdf0e10cSrcweir {
6424cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextChevronVert, sizeof( mso_sptTextChevronVert ) / sizeof( SvxMSDffVertPair ),
6425cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextChevronSegm, sizeof( mso_sptTextChevronSegm ) >> 1,
6426cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextChevronCalc, sizeof( mso_sptTextChevronCalc ) / sizeof( SvxMSDffCalculationData ),
6427cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault5400,
6428cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6429cdf0e10cSrcweir 	21600, 21600,
6430*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6431cdf0e10cSrcweir 	NULL, 0,
6432cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextChevronHandle, sizeof( mso_sptTextChevronHandle ) / sizeof( SvxMSDffHandle )
6433cdf0e10cSrcweir };
6434cdf0e10cSrcweir 
6435cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextChevronInvertedVert[] =
6436cdf0e10cSrcweir {
6437cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 1 MSO_I }, { 21600, 0 }, { 0, 0 MSO_I }, { 10800, 21600 }, { 21600, 0 MSO_I }
6438cdf0e10cSrcweir };
6439cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc[] =	// adjustment1 : 6629 - 14971
6440cdf0e10cSrcweir {
6441cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6442cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6443cdf0e10cSrcweir };
6444cdf0e10cSrcweir static const sal_uInt16 mso_sptTextChevronInvertedSegm[] =
6445cdf0e10cSrcweir {
6446cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000,
6447cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
6448cdf0e10cSrcweir };
6449cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] =
6450cdf0e10cSrcweir {
6451cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6452*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 10800, 21600 }
6453cdf0e10cSrcweir };
6454cdf0e10cSrcweir static const mso_CustomShape msoTextChevronInverted =
6455cdf0e10cSrcweir {
6456cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextChevronInvertedVert, sizeof( mso_sptTextChevronInvertedVert ) / sizeof( SvxMSDffVertPair ),
6457cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextChevronInvertedSegm, sizeof( mso_sptTextChevronInvertedSegm ) >> 1,
6458cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextChevronInvertedCalc, sizeof( mso_sptTextChevronInvertedCalc ) / sizeof( SvxMSDffCalculationData ),
6459cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault16200,
6460cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6461cdf0e10cSrcweir 	21600, 21600,
6462*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6463cdf0e10cSrcweir 	NULL, 0,
6464cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) / sizeof( SvxMSDffHandle )
6465cdf0e10cSrcweir };
646689e73156SSun Ying //V 0 0 21600 ?f2 0 ?f0 21600 ?f0
646789e73156SSun Ying //W 0 0 21600 ?f2 21600 ?f0 0 ?f0 N
646889e73156SSun Ying //V 0 ?f3 21600 21600 0 ?f1 21600 ?f1
646989e73156SSun Ying //W 0 ?f3 21600 21600 21600 ?f1 0 ?f1 N
647089e73156SSun Ying //mso_sptTextRingInside
647189e73156SSun Ying static const SvxMSDffVertPair mso_sptTextRingInsideVert[] =
647289e73156SSun Ying {
647389e73156SSun Ying 	{ 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I },{ 21600, 0 MSO_I },//V
647489e73156SSun Ying 	{ 0, 0 }, { 21600, 2 MSO_I }, { 21600, 0 MSO_I },{ 0, 0 MSO_I },//W
647589e73156SSun Ying 	{ 0, 3 MSO_I }, { 21600, 21600 }, { 0, 1 MSO_I },{ 21600, 1 MSO_I },//V
647689e73156SSun Ying 	{ 0, 3 MSO_I }, { 21600, 21600 }, { 21600, 1 MSO_I },{ 0, 1 MSO_I }//W
647789e73156SSun Ying };
647889e73156SSun Ying static const SvxMSDffCalculationData mso_sptTextRingInsideCalc[] =	// adjustment1 : 6629 - 14971
647989e73156SSun Ying {
648089e73156SSun Ying 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
648189e73156SSun Ying 	{ 0x8000, { 21600, 0, 0x400 } },
648289e73156SSun Ying 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //$0
648389e73156SSun Ying 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }//21600-$0
648489e73156SSun Ying };
648589e73156SSun Ying static const sal_uInt16 mso_sptTextRingInsideSegm[] =
648689e73156SSun Ying {
648789e73156SSun Ying 	0xa604, 0xa504,0x8000,
648889e73156SSun Ying 	0xa604, 0xa504,0x8000
648989e73156SSun Ying };
649089e73156SSun Ying static const SvxMSDffHandle mso_sptTextRingInsideHandle[] =
649189e73156SSun Ying {
649289e73156SSun Ying 	{	MSDFF_HANDLE_FLAGS_RANGE| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
6493*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 10800, 21600 }
649489e73156SSun Ying };
649589e73156SSun Ying static const mso_CustomShape msoTextRingInside =
649689e73156SSun Ying {
649789e73156SSun Ying 	(SvxMSDffVertPair*)mso_sptTextRingInsideVert, sizeof( mso_sptTextRingInsideVert ) / sizeof( SvxMSDffVertPair ),
649889e73156SSun Ying 	(sal_uInt16*)mso_sptTextRingInsideSegm, sizeof( mso_sptTextRingInsideSegm ) >> 1,
649989e73156SSun Ying 	(SvxMSDffCalculationData*)mso_sptTextRingInsideCalc, sizeof( mso_sptTextRingInsideCalc ) / sizeof( SvxMSDffCalculationData ),
650089e73156SSun Ying 	(sal_Int32*)mso_sptDefault13500,
650189e73156SSun Ying 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
650289e73156SSun Ying 	21600, 21600,
6503*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
650489e73156SSun Ying 	NULL, 0,
650589e73156SSun Ying 	(SvxMSDffHandle*)mso_sptTextRingInsideHandle, sizeof( mso_sptTextRingInsideHandle ) / sizeof( SvxMSDffHandle )
650689e73156SSun Ying };
6507be2132acSSun Ying //mso_sptTextRingOutside
6508be2132acSSun Ying //path = U 10800 ?f0 21600 ?f2 180 539 N U 10800 ?f1 21600 ?f2 180 539 N
6509cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextRingOutsideVert[] =
6510cdf0e10cSrcweir {
6511be2132acSSun Ying 	{ 10800, 0 MSO_I }, { 21600, 2 MSO_I }, { 180, 539},//U
6512be2132acSSun Ying 	{ 10800, 1 MSO_I }, { 21600, 2 MSO_I }, { 180, 539 }//U
6513be2132acSSun Ying 	//{ 10800, 0 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 },
6514be2132acSSun Ying 	//{ 10800, 1 MSO_I }, { 10800, 0 MSO_I }, { 180, 359 }
6515cdf0e10cSrcweir };
6516cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc[] =	// adjustment1 : 6629 - 14971
6517cdf0e10cSrcweir {
6518cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjustValue, 1, 2 } },
6519be2132acSSun Ying 	{ 0x8000, { 21600, 0, 0x400 } },
6520be2132acSSun Ying 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }, //$0
6521be2132acSSun Ying 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }//21600-$0
6522cdf0e10cSrcweir };
6523cdf0e10cSrcweir static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
6524cdf0e10cSrcweir {
6525cdf0e10cSrcweir 	0xA203, 0x8000,
6526cdf0e10cSrcweir 	0xA203, 0x8000
6527cdf0e10cSrcweir };
6528cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] =
6529cdf0e10cSrcweir {
6530be2132acSSun Ying 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
6531*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 10800, 21600 }
6532cdf0e10cSrcweir };
6533cdf0e10cSrcweir static const mso_CustomShape msoTextRingOutside =
6534cdf0e10cSrcweir {
6535cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextRingOutsideVert, sizeof( mso_sptTextRingOutsideVert ) / sizeof( SvxMSDffVertPair ),
6536cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextRingOutsideSegm, sizeof( mso_sptTextRingOutsideSegm ) >> 1,
6537cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextRingOutsideCalc, sizeof( mso_sptTextRingOutsideCalc ) / sizeof( SvxMSDffCalculationData ),
6538be2132acSSun Ying 	(sal_Int32*)mso_sptDefault13500,
6539cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6540cdf0e10cSrcweir 	21600, 21600,
6541*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6542cdf0e10cSrcweir 	NULL, 0,
6543cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextRingOutsideHandle, sizeof( mso_sptTextRingOutsideHandle ) / sizeof( SvxMSDffHandle )
6544cdf0e10cSrcweir };
6545cdf0e10cSrcweir 
6546cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeRightVert[] =
6547cdf0e10cSrcweir {
6548cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 MSO_I }, { 0, 21600 }, { 21600, 1 MSO_I }
6549cdf0e10cSrcweir };
6550cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextFadeCalc[] =
6551cdf0e10cSrcweir {
6552cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6553cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } }
6554cdf0e10cSrcweir };
6555cdf0e10cSrcweir static const sal_uInt16 mso_sptTextFadeSegm[] =
6556cdf0e10cSrcweir {
6557cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6558cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
6559cdf0e10cSrcweir };
6560cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeRightHandle[] =
6561cdf0e10cSrcweir {
6562cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6563*e5cfc9caSHerbert Dürr 		21600, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
6564cdf0e10cSrcweir };
6565cdf0e10cSrcweir static const mso_CustomShape msoTextFadeRight =
6566cdf0e10cSrcweir {
6567cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeRightVert, sizeof( mso_sptTextFadeRightVert ) / sizeof( SvxMSDffVertPair ),
6568cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6569cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6570cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6571cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6572cdf0e10cSrcweir 	21600, 21600,
6573*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6574cdf0e10cSrcweir 	NULL, 0,
6575cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeRightHandle, sizeof( mso_sptTextFadeRightHandle ) / sizeof( SvxMSDffHandle )
6576cdf0e10cSrcweir };
6577cdf0e10cSrcweir 
6578cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] =
6579cdf0e10cSrcweir {
6580cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 21600, 0 }, { 0, 1 MSO_I }, { 21600, 21600 }
6581cdf0e10cSrcweir };
6582cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] =
6583cdf0e10cSrcweir {
6584cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6585*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10800 }
6586cdf0e10cSrcweir };
6587cdf0e10cSrcweir static const mso_CustomShape msoTextFadeLeft =
6588cdf0e10cSrcweir {
6589cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeLeftVert, sizeof( mso_sptTextFadeLeftVert ) / sizeof( SvxMSDffVertPair ),
6590cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6591cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6592cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6593cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6594cdf0e10cSrcweir 	21600, 21600,
6595*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6596cdf0e10cSrcweir 	NULL, 0,
6597cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeLeftHandle, sizeof( mso_sptTextFadeLeftHandle ) / sizeof( SvxMSDffHandle )
6598cdf0e10cSrcweir };
6599cdf0e10cSrcweir 
6600cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeUpVert[] =
6601cdf0e10cSrcweir {
6602cdf0e10cSrcweir 	{ 0 MSO_I, 0 }, { 1 MSO_I, 0 }, { 0, 21600 }, { 21600, 21600 }
6603cdf0e10cSrcweir };
6604cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeUpHandle[] =
6605cdf0e10cSrcweir {
6606cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6607*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6608cdf0e10cSrcweir };
6609cdf0e10cSrcweir static const mso_CustomShape msoTextFadeUp =
6610cdf0e10cSrcweir {
6611cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeUpVert, sizeof( mso_sptTextFadeUpVert ) / sizeof( SvxMSDffVertPair ),
6612cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6613cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6614cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6615cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6616cdf0e10cSrcweir 	21600, 21600,
6617*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6618cdf0e10cSrcweir 	NULL, 0,
6619cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeUpHandle, sizeof( mso_sptTextFadeUpHandle ) / sizeof( SvxMSDffHandle )
6620cdf0e10cSrcweir };
6621cdf0e10cSrcweir 
6622cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextFadeDownVert[] =
6623cdf0e10cSrcweir {
6624cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 0 MSO_I, 21600 }, { 1 MSO_I, 21600 }
6625cdf0e10cSrcweir };
6626cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextFadeDownHandle[] =
6627cdf0e10cSrcweir {
6628cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6629*e5cfc9caSHerbert Dürr 		0x100, 21600, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6630cdf0e10cSrcweir };
6631cdf0e10cSrcweir static const mso_CustomShape msoTextFadeDown =
6632cdf0e10cSrcweir {
6633cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextFadeDownVert, sizeof( mso_sptTextFadeDownVert ) / sizeof( SvxMSDffVertPair ),
6634cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6635cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6636cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault7200,
6637cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6638cdf0e10cSrcweir 	21600, 21600,
6639*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6640cdf0e10cSrcweir 	NULL, 0,
6641cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextFadeDownHandle, sizeof( mso_sptTextFadeDownHandle ) / sizeof( SvxMSDffHandle )
6642cdf0e10cSrcweir };
6643cdf0e10cSrcweir 
6644cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantUpVert[] =
6645cdf0e10cSrcweir {
6646cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I }
6647cdf0e10cSrcweir };
6648cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantUpHandle[] =
6649cdf0e10cSrcweir {
6650cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6651*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 15400 }
6652cdf0e10cSrcweir };
6653cdf0e10cSrcweir static const mso_CustomShape msoTextSlantUp =
6654cdf0e10cSrcweir {
6655cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSlantUpVert, sizeof( mso_sptTextSlantUpVert ) / sizeof( SvxMSDffVertPair ),
6656cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6657cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6658cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault12000,
6659cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6660cdf0e10cSrcweir 	21600, 21600,
6661*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6662cdf0e10cSrcweir 	NULL, 0,
6663cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextSlantUpHandle, sizeof( mso_sptTextSlantUpHandle ) / sizeof( SvxMSDffHandle )
6664cdf0e10cSrcweir };
6665cdf0e10cSrcweir 
6666cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextSlantDownVert[] =
6667cdf0e10cSrcweir {
6668cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 1 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
6669cdf0e10cSrcweir };
6670cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextSlantDownHandle[] =
6671cdf0e10cSrcweir {
6672cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6673*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 6200, 21600 }
6674cdf0e10cSrcweir };
6675cdf0e10cSrcweir static const mso_CustomShape msoTextSlantDown =
6676cdf0e10cSrcweir {
6677cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextSlantDownVert, sizeof( mso_sptTextSlantDownVert ) / sizeof( SvxMSDffVertPair ),
6678cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6679cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextFadeCalc, sizeof( mso_sptTextFadeCalc ) / sizeof( SvxMSDffCalculationData ),
6680cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault12000,
6681cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6682cdf0e10cSrcweir 	21600, 21600,
6683*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6684cdf0e10cSrcweir 	NULL, 0,
6685cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextSlantDownHandle, sizeof( mso_sptTextSlantDownHandle ) / sizeof( SvxMSDffHandle )
6686cdf0e10cSrcweir };
6687cdf0e10cSrcweir 
6688cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeUpVert[] =
6689cdf0e10cSrcweir {
6690cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I }
6691cdf0e10cSrcweir };
6692cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] =
6693cdf0e10cSrcweir {
6694cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
6695cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },
6696cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 4 } }
6697cdf0e10cSrcweir };
6698cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] =
6699cdf0e10cSrcweir {
6700cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6701*e5cfc9caSHerbert Dürr 		21600, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 6200, 21600 }
6702cdf0e10cSrcweir };
6703cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeUp =
6704cdf0e10cSrcweir {
6705cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCascadeUpVert, sizeof( mso_sptTextCascadeUpVert ) / sizeof( SvxMSDffVertPair ),
6706cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6707cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ),
6708cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault9600,
6709cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6710cdf0e10cSrcweir 	21600, 21600,
6711*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6712cdf0e10cSrcweir 	NULL, 0,
6713cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCascadeUpHandle, sizeof( mso_sptTextCascadeUpHandle ) / sizeof( SvxMSDffHandle )
6714cdf0e10cSrcweir };
6715cdf0e10cSrcweir 
6716cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] =
6717cdf0e10cSrcweir {
6718cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 2 MSO_I }, { 0, 0 MSO_I }, { 21600, 21600 }
6719cdf0e10cSrcweir };
6720cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] =
6721cdf0e10cSrcweir {
6722cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
6723*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 6200, 21600 }
6724cdf0e10cSrcweir };
6725cdf0e10cSrcweir static const mso_CustomShape msoTextCascadeDown =
6726cdf0e10cSrcweir {
6727cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCascadeDownVert, sizeof( mso_sptTextCascadeDownVert ) / sizeof( SvxMSDffVertPair ),
6728cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextFadeSegm, sizeof( mso_sptTextFadeSegm ) >> 1,
6729cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCascadeCalc, sizeof( mso_sptTextCascadeCalc ) / sizeof( SvxMSDffCalculationData ),
6730cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault9600,
6731cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6732cdf0e10cSrcweir 	21600, 21600,
6733*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6734cdf0e10cSrcweir 	NULL, 0,
6735cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCascadeDownHandle, sizeof( mso_sptTextCascadeDownHandle ) / sizeof( SvxMSDffHandle )
6736cdf0e10cSrcweir };
6737cdf0e10cSrcweir 
6738cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpCurveVert[] =
6739cdf0e10cSrcweir {
6740cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I }
6741cdf0e10cSrcweir };
6742cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchCurveCalc[] =
6743cdf0e10cSrcweir {
6744cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6745cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6746cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6747cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6748cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } }
6749cdf0e10cSrcweir };
6750cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpCurveSegm[] =
6751cdf0e10cSrcweir {
6752cdf0e10cSrcweir 	0xA504, 0x8000		// clockw�se arc
6753cdf0e10cSrcweir };
6754cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] =
6755cdf0e10cSrcweir {
6756cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6757*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6758cdf0e10cSrcweir };
6759cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpCurveDefault[] =
6760cdf0e10cSrcweir {
6761cdf0e10cSrcweir 	1, 180
6762cdf0e10cSrcweir };
6763cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpCurve =
6764cdf0e10cSrcweir {
6765cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchUpCurveVert, sizeof( mso_sptTextArchUpCurveVert ) / sizeof( SvxMSDffVertPair ),
6766cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchUpCurveSegm, sizeof( mso_sptTextArchUpCurveSegm ) >> 1,
6767cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6768cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchUpCurveDefault,
6769cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6770cdf0e10cSrcweir 	21600, 21600,
6771*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6772cdf0e10cSrcweir 	NULL, 0,
6773cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, sizeof( mso_sptTextArchUpCurveHandle ) / sizeof( SvxMSDffHandle )
6774cdf0e10cSrcweir };
6775cdf0e10cSrcweir 
6776cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownCurveVert[] =
6777cdf0e10cSrcweir {
6778cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
6779cdf0e10cSrcweir };
6780cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownCurveSegm[] =
6781cdf0e10cSrcweir {
6782cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise arc to
6783cdf0e10cSrcweir };
6784cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] =
6785cdf0e10cSrcweir {
6786cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6787*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6788cdf0e10cSrcweir };
6789cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownCurveDefault[] =
6790cdf0e10cSrcweir {
6791cdf0e10cSrcweir 	1, 0
6792cdf0e10cSrcweir };
6793cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownCurve =
6794cdf0e10cSrcweir {
6795cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchDownCurveVert, sizeof( mso_sptTextArchDownCurveVert ) / sizeof( SvxMSDffVertPair ),
6796cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchDownCurveSegm, sizeof( mso_sptTextArchDownCurveSegm ) >> 1,
6797cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchCurveCalc, sizeof( mso_sptTextArchCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6798cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchDownCurveDefault,
6799cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6800cdf0e10cSrcweir 	21600, 21600,
6801*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6802cdf0e10cSrcweir 	NULL, 0,
6803cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, sizeof( mso_sptTextArchDownCurveHandle ) / sizeof( SvxMSDffHandle )
6804cdf0e10cSrcweir };
6805cdf0e10cSrcweir 
6806cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCircleCurveVert[] =
6807cdf0e10cSrcweir {
6808cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I }
6809cdf0e10cSrcweir };
6810cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc[] =
6811cdf0e10cSrcweir {
6812cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6813cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6814cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6815cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6816cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
6817cdf0e10cSrcweir };
6818cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCircleCurveSegm[] =
6819cdf0e10cSrcweir {
6820cdf0e10cSrcweir 	0xA504, 0x8000		// clockwise arc to
6821cdf0e10cSrcweir };
6822cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] =
6823cdf0e10cSrcweir {
6824cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6825*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6826cdf0e10cSrcweir };
6827cdf0e10cSrcweir static const sal_Int32 mso_sptTextCircleCurveDefault[] =
6828cdf0e10cSrcweir {
6829cdf0e10cSrcweir 	1, -179
6830cdf0e10cSrcweir };
6831cdf0e10cSrcweir static const mso_CustomShape msoTextCircleCurve =
6832cdf0e10cSrcweir {
6833cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCircleCurveVert, sizeof( mso_sptTextCircleCurveVert ) / sizeof( SvxMSDffVertPair ),
6834cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCircleCurveSegm, sizeof( mso_sptTextCircleCurveSegm ) >> 1,
6835cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCircleCurveCalc, sizeof( mso_sptTextCircleCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6836cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCircleCurveDefault,
6837cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6838cdf0e10cSrcweir 	21600, 21600,
6839*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6840cdf0e10cSrcweir 	NULL, 0,
6841cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCircleCurveHandle, sizeof( mso_sptTextCircleCurveHandle ) / sizeof( SvxMSDffHandle )
6842cdf0e10cSrcweir };
6843cdf0e10cSrcweir 
6844cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonCurveVert[] =
6845cdf0e10cSrcweir {
6846cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
6847cdf0e10cSrcweir 	{ 0, 10800 }, { 21600, 10800 },
6848cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
6849cdf0e10cSrcweir };
6850cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc[] =
6851cdf0e10cSrcweir {
6852cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6853cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6854cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6855cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6856cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6857cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }
6858cdf0e10cSrcweir };
6859cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonCurveSegm[] =
6860cdf0e10cSrcweir {
6861cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
6862cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
6863cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise
6864cdf0e10cSrcweir };
6865cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] =
6866cdf0e10cSrcweir {
6867cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR,
6868*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6869cdf0e10cSrcweir };
6870cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonCurveDefault[] =
6871cdf0e10cSrcweir {
6872cdf0e10cSrcweir 	1, 180
6873cdf0e10cSrcweir };
6874cdf0e10cSrcweir static const mso_CustomShape msoTextButtonCurve =
6875cdf0e10cSrcweir {
6876cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextButtonCurveVert, sizeof( mso_sptTextButtonCurveVert ) / sizeof( SvxMSDffVertPair ),
6877cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextButtonCurveSegm, sizeof( mso_sptTextButtonCurveSegm ) >> 1,
6878cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextButtonCurveCalc, sizeof( mso_sptTextButtonCurveCalc ) / sizeof( SvxMSDffCalculationData ),
6879cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextButtonCurveDefault,
6880cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6881cdf0e10cSrcweir 	21600, 21600,
6882*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6883cdf0e10cSrcweir 	NULL, 0,
6884cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextButtonCurveHandle, sizeof( mso_sptTextButtonCurveHandle ) / sizeof( SvxMSDffHandle )
6885cdf0e10cSrcweir };
6886cdf0e10cSrcweir 
6887cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchUpPourVert[] =
6888cdf0e10cSrcweir {
6889cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
6890cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 0xa MSO_I, 9 MSO_I }
6891cdf0e10cSrcweir };
6892cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextArchPourCalc[] =
6893cdf0e10cSrcweir {
6894cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6895cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6896cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6897cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6898cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },
6899cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
6900cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },	// 6
6901cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
6902cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } },				// 8
6903cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10800, 0 } },
6904cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x408 } },				// 10
6905cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } }
6906cdf0e10cSrcweir };
6907cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchUpPourSegm[] =
6908cdf0e10cSrcweir {
6909cdf0e10cSrcweir 	0xA504, 0x8000,	0xA504, 0x8000
6910cdf0e10cSrcweir };
6911cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextArchPourHandle[] =
6912cdf0e10cSrcweir {
6913cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
6914*e5cfc9caSHerbert Dürr 		0x101, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6915cdf0e10cSrcweir };
6916cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchUpPourDefault[] =
6917cdf0e10cSrcweir {
6918cdf0e10cSrcweir 	2, 180, 5400
6919cdf0e10cSrcweir };
6920cdf0e10cSrcweir static const mso_CustomShape msoTextArchUpPour =
6921cdf0e10cSrcweir {
6922cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchUpPourVert, sizeof( mso_sptTextArchUpPourVert ) / sizeof( SvxMSDffVertPair ),
6923cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchUpPourSegm, sizeof( mso_sptTextArchUpPourSegm ) >> 1,
6924cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ),
6925cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchUpPourDefault,
6926cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6927cdf0e10cSrcweir 	21600, 21600,
6928*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6929cdf0e10cSrcweir 	NULL, 0,
6930cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle )
6931cdf0e10cSrcweir };
6932cdf0e10cSrcweir 
6933cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextArchDownPourVert[] =
6934cdf0e10cSrcweir {
6935cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 0xa MSO_I, 9 MSO_I }, { 8 MSO_I, 9 MSO_I },
6936cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 4 MSO_I, 3 MSO_I }, { 2 MSO_I, 3 MSO_I }
6937cdf0e10cSrcweir };
6938cdf0e10cSrcweir static const sal_uInt16 mso_sptTextArchDownPourSegm[] =
6939cdf0e10cSrcweir {
6940cdf0e10cSrcweir 	0xA304, 0x8000,	0xA304, 0x8000
6941cdf0e10cSrcweir };
6942cdf0e10cSrcweir static const sal_Int32 mso_sptTextArchDownPourDefault[] =
6943cdf0e10cSrcweir {
6944cdf0e10cSrcweir 	2, 0, 5400
6945cdf0e10cSrcweir };
6946cdf0e10cSrcweir static const mso_CustomShape msoTextArchDownPour =
6947cdf0e10cSrcweir {
6948cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextArchDownPourVert, sizeof( mso_sptTextArchDownPourVert ) / sizeof( SvxMSDffVertPair ),
6949cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextArchDownPourSegm, sizeof( mso_sptTextArchDownPourSegm ) >> 1,
6950cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextArchPourCalc, sizeof( mso_sptTextArchPourCalc ) / sizeof( SvxMSDffCalculationData ),
6951cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextArchDownPourDefault,
6952cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
6953cdf0e10cSrcweir 	21600, 21600,
6954*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
6955cdf0e10cSrcweir 	NULL, 0,
6956cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( SvxMSDffHandle )
6957cdf0e10cSrcweir };
6958cdf0e10cSrcweir 
6959cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCirclePourVert[] =
6960cdf0e10cSrcweir {
6961cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 2 MSO_I, 4 MSO_I },
6962cdf0e10cSrcweir 	{ 5 MSO_I, 5 MSO_I }, { 11 MSO_I, 11 MSO_I }, { 8 MSO_I, 9 MSO_I }, { 8 MSO_I, 0xa MSO_I }
6963cdf0e10cSrcweir };
6964cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCirclePourCalc[] =
6965cdf0e10cSrcweir {
6966cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },
6967cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },
6968cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },
6969cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },
6970cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },
6971cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },
6972cdf0e10cSrcweir 	{ 0x600a, { 0x405, DFF_Prop_adjustValue, 0 } },	// 6
6973cdf0e10cSrcweir 	{ 0x6009, { 0x405, DFF_Prop_adjustValue, 0 } },
6974cdf0e10cSrcweir 	{ 0x2000, { 0x406, 10800, 0 } },				// 8
6975cdf0e10cSrcweir 	{ 0x2000, { 0x407, 10800, 0 } },
6976cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x409 } },				// 10
6977cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },
6978cdf0e10cSrcweir 	{ 0x000, { 21600, 0, 0 } }
6979cdf0e10cSrcweir };
6980cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCirclePourSegm[] =
6981cdf0e10cSrcweir {
6982cdf0e10cSrcweir 	0xA504, 0x8000, 0xA504, 0x8000
6983cdf0e10cSrcweir };
6984cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCirclePourHandle[] =
6985cdf0e10cSrcweir {
6986cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
6987*e5cfc9caSHerbert Dürr 		0x101, 0x100, 10800, 10800, 0, 10800, Mx80000000, 0x7fffffff }
6988cdf0e10cSrcweir };
6989cdf0e10cSrcweir static const sal_Int32 mso_sptTextCirclePourDefault[] =
6990cdf0e10cSrcweir {
6991cdf0e10cSrcweir 	2,  -179, 5400
6992cdf0e10cSrcweir };
6993cdf0e10cSrcweir static const mso_CustomShape msoTextCirclePour =
6994cdf0e10cSrcweir {
6995cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCirclePourVert, sizeof( mso_sptTextCirclePourVert ) / sizeof( SvxMSDffVertPair ),
6996cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCirclePourSegm, sizeof( mso_sptTextCirclePourSegm ) >> 1,
6997cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCirclePourCalc, sizeof( mso_sptTextCirclePourCalc ) / sizeof( SvxMSDffCalculationData ),
6998cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCirclePourDefault,
6999cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7000cdf0e10cSrcweir 	21600, 21600,
7001*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7002cdf0e10cSrcweir 	NULL, 0,
7003cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCirclePourHandle, sizeof( mso_sptTextCirclePourHandle ) / sizeof( SvxMSDffHandle )
7004cdf0e10cSrcweir };
7005cdf0e10cSrcweir 
7006cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextButtonPourVert[] =
7007cdf0e10cSrcweir {
7008cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 3 MSO_I }, { 4 MSO_I, 3 MSO_I },
7009cdf0e10cSrcweir 	{ 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 11 MSO_I }, { 12 MSO_I, 11 MSO_I },
7010cdf0e10cSrcweir 	{ 0x16 MSO_I, 16 MSO_I }, { 0x15 MSO_I, 16 MSO_I },
7011cdf0e10cSrcweir 	{ 0x16 MSO_I, 15 MSO_I }, { 0x15 MSO_I, 15 MSO_I },
7012cdf0e10cSrcweir 	{ 6 MSO_I, 6 MSO_I }, { 7 MSO_I, 7 MSO_I }, { 10 MSO_I, 13 MSO_I }, { 12 MSO_I, 13 MSO_I },
7013cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }, { 2 MSO_I, 5 MSO_I }, { 4 MSO_I, 5 MSO_I }
7014cdf0e10cSrcweir };
7015cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextButtonPourCalc[] =
7016cdf0e10cSrcweir {
7017cdf0e10cSrcweir 	{ 0x400a, { 10800, DFF_Prop_adjustValue, 0 } },					// 0x00
7018cdf0e10cSrcweir 	{ 0x4009, { 10800, DFF_Prop_adjustValue, 0 } },					// 0x01
7019cdf0e10cSrcweir 	{ 0x2000, { 0x400, 10800, 0 } },								// 0x02
7020cdf0e10cSrcweir 	{ 0x2000, { 0x401, 10800, 0 } },								// 0x03
7021cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x402 } },								// 0x04
7022cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },								// 0x05
7023cdf0e10cSrcweir 
7024cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, DFF_Prop_adjust2Value } },				// 0x06
7025cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } },								// 0x07
7026cdf0e10cSrcweir 
7027cdf0e10cSrcweir 	{ 0x600a, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } },	// 0x08
7028cdf0e10cSrcweir 	{ 0x6009, { DFF_Prop_adjust2Value, DFF_Prop_adjustValue, 0 } },	// 0x09
7029cdf0e10cSrcweir 	{ 0x2000, { 0x408, 10800, 0 } },	// 0x0a
7030cdf0e10cSrcweir 	{ 0x2000, { 0x409, 10800, 0 } },	// 0x0b
7031cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40a } },	// 0x0c
7032cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x40b } },	// 0x0d
7033cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },		// 0x0e
7034cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x40e, 0 } },	// 0x0f
7035cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x40e } },	// 0x10
7036cdf0e10cSrcweir 	{ 0x6001, { 0x40e, 0x40e, 1 } },	// 0x11
7037cdf0e10cSrcweir 	{ 0x6001, { DFF_Prop_adjust2Value, DFF_Prop_adjust2Value, 1 } },	// 0x12
7038cdf0e10cSrcweir 	{ 0xA000, { 0x412, 0, 0x411 } },	// 0x13
7039cdf0e10cSrcweir 	{ 0x200d, { 0x413, 0, 0 } },		// 0x14
7040cdf0e10cSrcweir 	{ 0x4000, { 10800, 0x414, 0 } },	// 0x15
7041cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x414 } }		// 0x16
7042cdf0e10cSrcweir };
7043cdf0e10cSrcweir static const sal_uInt16 mso_sptTextButtonPourSegm[] =
7044cdf0e10cSrcweir {
7045cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
7046cdf0e10cSrcweir 	0xA504, 0x8000,		// clockwise arc
7047cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7048cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7049cdf0e10cSrcweir 	0xA304, 0x8000,		// counter clockwise
7050cdf0e10cSrcweir 	0xA304, 0x8000		// counter clockwise
7051cdf0e10cSrcweir };
7052cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextButtonPourHandle[] =
7053cdf0e10cSrcweir {
7054cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
7055*e5cfc9caSHerbert Dürr 		0x101, 0x100, 10800, 10800, 4320, 10800, Mx80000000, 0x7fffffff }
7056cdf0e10cSrcweir };
7057cdf0e10cSrcweir static const sal_Int32 mso_sptTextButtonPourDefault[] =
7058cdf0e10cSrcweir {
7059cdf0e10cSrcweir 	2, 180, 5400
7060cdf0e10cSrcweir };
7061cdf0e10cSrcweir static const mso_CustomShape msoTextButtonPour =
7062cdf0e10cSrcweir {
7063cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextButtonPourVert, sizeof( mso_sptTextButtonPourVert ) / sizeof( SvxMSDffVertPair ),
7064cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextButtonPourSegm, sizeof( mso_sptTextButtonPourSegm ) >> 1,
7065cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextButtonPourCalc, sizeof( mso_sptTextButtonPourCalc ) / sizeof( SvxMSDffCalculationData ),
7066cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextButtonPourDefault,
7067cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7068cdf0e10cSrcweir 	21600, 21600,
7069*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7070cdf0e10cSrcweir 	NULL, 0,
7071cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextButtonPourHandle, sizeof( mso_sptTextButtonPourHandle ) / sizeof( SvxMSDffHandle )
7072cdf0e10cSrcweir };
7073cdf0e10cSrcweir 
7074cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveUpVert[] =
7075cdf0e10cSrcweir {
7076cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
7077cdf0e10cSrcweir 	{ 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*/ }
7078cdf0e10cSrcweir };
7079cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCurveUpCalc[] =
7080cdf0e10cSrcweir {
7081cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7082cdf0e10cSrcweir 	{ 0x4001, { 14250, 0x400, 12170 } },		// 401
7083cdf0e10cSrcweir 	{ 0x4001, { 12800, 0x400, 12170 } },		// 402
7084cdf0e10cSrcweir 	{ 0x4001, { 6380, 0x400, 12170 } },			// 403
7085cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } }				// 404
7086cdf0e10cSrcweir };
7087cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCurveUpSegm[] =
7088cdf0e10cSrcweir {
7089cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000,
7090cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7091cdf0e10cSrcweir };
7092cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveUpHandle[] =
7093cdf0e10cSrcweir {
7094cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7095*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 12170 }
7096cdf0e10cSrcweir };
7097cdf0e10cSrcweir static const sal_Int32 mso_sptTextCurveUpDefault[] =
7098cdf0e10cSrcweir {
7099cdf0e10cSrcweir 	1, 9900
7100cdf0e10cSrcweir };
7101cdf0e10cSrcweir static const mso_CustomShape msoTextCurveUp =
7102cdf0e10cSrcweir {
7103cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCurveUpVert, sizeof( mso_sptTextCurveUpVert ) / sizeof( SvxMSDffVertPair ),
7104cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
7105cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ),
7106cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCurveUpDefault,
7107cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7108cdf0e10cSrcweir 	21600, 21600,
7109*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7110cdf0e10cSrcweir 	NULL, 0,
7111cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCurveUpHandle, sizeof( mso_sptTextCurveUpHandle ) / sizeof( SvxMSDffHandle )
7112cdf0e10cSrcweir };
7113cdf0e10cSrcweir 
7114cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCurveDownVert[] =
7115cdf0e10cSrcweir {
7116cdf0e10cSrcweir //	{ 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
7117cdf0e10cSrcweir 	{ 0, 0 }, { 9960, 2 MSO_I }, { 16700, 1 MSO_I }, { 21600, 0 MSO_I },
7118cdf0e10cSrcweir 
7119cdf0e10cSrcweir //	{ 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*/ }
7120cdf0e10cSrcweir 	{ 0, 4 MSO_I }, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I }
7121cdf0e10cSrcweir };
7122cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCurveDownHandle[] =
7123cdf0e10cSrcweir {
7124cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7125*e5cfc9caSHerbert Dürr 		21600, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 12170 }
7126cdf0e10cSrcweir };
7127cdf0e10cSrcweir static const mso_CustomShape msoTextCurveDown =
7128cdf0e10cSrcweir {
7129cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCurveDownVert, sizeof( mso_sptTextCurveDownVert ) / sizeof( SvxMSDffVertPair ),
7130cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCurveUpSegm, sizeof( mso_sptTextCurveUpSegm ) >> 1,
7131cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCurveUpCalc, sizeof( mso_sptTextCurveUpCalc ) / sizeof( SvxMSDffCalculationData ),
7132cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCurveUpDefault,
7133cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7134cdf0e10cSrcweir 	21600, 21600,
7135*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7136cdf0e10cSrcweir 	NULL, 0,
7137cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCurveDownHandle, sizeof( mso_sptTextCurveDownHandle ) / sizeof( SvxMSDffHandle )
7138cdf0e10cSrcweir };
7139cdf0e10cSrcweir 
7140cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanUpVert[] =
7141cdf0e10cSrcweir {
7142cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I },
7143cdf0e10cSrcweir 	{ 0, 21600 }, { 900, 4 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 4 MSO_I }, { 21600, 21600 }
7144cdf0e10cSrcweir };
7145cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanUpCalc[] =
7146cdf0e10cSrcweir {
7147cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 400
7148cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 401
7149cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 14400 } }, // 402
7150cdf0e10cSrcweir 	{ 0x4001, { 5470, 0x402, 7200 } },				// 403
7151cdf0e10cSrcweir 	{ 0x4000, { 16130, 0x403, 0 } }					// 404
7152cdf0e10cSrcweir };
7153cdf0e10cSrcweir static const sal_uInt16 mso_sptTextCanUpSegm[] =
7154cdf0e10cSrcweir {
7155cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7156cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7157cdf0e10cSrcweir };
7158cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanUpHandle[] =
7159cdf0e10cSrcweir {
7160cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7161*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 14400, 21600 }
7162cdf0e10cSrcweir };
7163cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanUpDefault[] =
7164cdf0e10cSrcweir {
7165cdf0e10cSrcweir 	1, 18500
7166cdf0e10cSrcweir };
7167cdf0e10cSrcweir static const mso_CustomShape msoTextCanUp =
7168cdf0e10cSrcweir {
7169cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCanUpVert, sizeof( mso_sptTextCanUpVert ) / sizeof( SvxMSDffVertPair ),
7170cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
7171cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCanUpCalc, sizeof( mso_sptTextCanUpCalc ) / sizeof( SvxMSDffCalculationData ),
7172cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCanUpDefault,
7173cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7174cdf0e10cSrcweir 	21600, 21600,
7175*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7176cdf0e10cSrcweir 	NULL, 0,
7177cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCanUpHandle, sizeof( mso_sptTextCanUpHandle ) / sizeof( SvxMSDffHandle )
7178cdf0e10cSrcweir };
7179cdf0e10cSrcweir 
7180cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextCanDownVert[] =
7181cdf0e10cSrcweir {
7182cdf0e10cSrcweir 	{ 0, 0 }, { 900, 2 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 20700, 2 MSO_I }, { 21600, 0 },
7183cdf0e10cSrcweir 	{ 0, 1 MSO_I }, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I }
7184cdf0e10cSrcweir };
7185cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] =
7186cdf0e10cSrcweir {
7187cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },		// 400
7188cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, DFF_Prop_adjustValue } },	// 401
7189cdf0e10cSrcweir 	{ 0x4001, { 5470, 0x400, 7200 } }				// 402
7190cdf0e10cSrcweir };
7191cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextCanDownHandle[] =
7192cdf0e10cSrcweir {
7193cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7194*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 7200 }
7195cdf0e10cSrcweir };
7196cdf0e10cSrcweir static const sal_Int32 mso_sptTextCanDownDefault[] =
7197cdf0e10cSrcweir {
7198cdf0e10cSrcweir 	1, 3100
7199cdf0e10cSrcweir };
7200cdf0e10cSrcweir static const mso_CustomShape msoTextCanDown =
7201cdf0e10cSrcweir {
7202cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextCanDownVert, sizeof( mso_sptTextCanDownVert ) / sizeof( SvxMSDffVertPair ),
7203cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
7204cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextCanDownCalc, sizeof( mso_sptTextCanDownCalc ) / sizeof( SvxMSDffCalculationData ),
7205cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextCanDownDefault,
7206cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7207cdf0e10cSrcweir 	21600, 21600,
7208*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7209cdf0e10cSrcweir 	NULL, 0,
7210cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextCanDownHandle, sizeof( mso_sptTextCanDownHandle ) / sizeof( SvxMSDffHandle )
7211cdf0e10cSrcweir };
7212cdf0e10cSrcweir 
7213cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateVert[] =
7214cdf0e10cSrcweir {
7215cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 4100, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I }, { 21600, 0 MSO_I },
7216cdf0e10cSrcweir 	{ 0, 2 MSO_I }, { 4100, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I }, { 21600, 2 MSO_I }
7217cdf0e10cSrcweir };
7218cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateCalc[] =
7219cdf0e10cSrcweir {
7220cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7221cdf0e10cSrcweir 	{ 0x4001, { 1530, 0x400, 4650 } },			// 401
7222cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			// 402
7223cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } }				// 403
7224cdf0e10cSrcweir };
7225cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateHandle[] =
7226cdf0e10cSrcweir {
7227cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7228*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 4650 }
7229cdf0e10cSrcweir };
7230cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateDefault[] =
7231cdf0e10cSrcweir {
7232cdf0e10cSrcweir 	1, 2950
7233cdf0e10cSrcweir };
7234cdf0e10cSrcweir static const mso_CustomShape msoTextInflate =
7235cdf0e10cSrcweir {
7236cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateVert, sizeof( mso_sptTextInflateVert ) / sizeof( SvxMSDffVertPair ),
7237cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
7238cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateCalc, sizeof( mso_sptTextInflateCalc ) / sizeof( SvxMSDffCalculationData ),
7239cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateDefault,
7240cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7241cdf0e10cSrcweir 	21600, 21600,
7242*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7243cdf0e10cSrcweir 	NULL, 0,
7244cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateHandle, sizeof( mso_sptTextInflateHandle ) / sizeof( SvxMSDffHandle )
7245cdf0e10cSrcweir };
7246cdf0e10cSrcweir 
7247cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateVert[] =
7248cdf0e10cSrcweir {
7249cdf0e10cSrcweir 	{ 0, 0 }, { 3500, 1 MSO_I }, { 7100, 0 MSO_I }, { 10800, 0 MSO_I }, { 14500, 0 MSO_I }, { 18100, 1 MSO_I }, { 21600, 0 },
7250cdf0e10cSrcweir 	{ 0, 21600 }, { 3500, 3 MSO_I }, { 7100, 2 MSO_I }, { 10800, 2 MSO_I }, { 14500, 2 MSO_I }, { 18100, 3 MSO_I }, { 21600, 21600 }
7251cdf0e10cSrcweir };
7252cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] =
7253cdf0e10cSrcweir {
7254cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7255cdf0e10cSrcweir 	{ 0x2001, { 0x400, 5320, 7100 } },			// 401
7256cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x400 } },			// 402
7257cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x401 } }				// 403
7258cdf0e10cSrcweir };
7259cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateHandle[] =
7260cdf0e10cSrcweir {
7261cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7262*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 8100 }
7263cdf0e10cSrcweir };
7264cdf0e10cSrcweir static const mso_CustomShape msoTextDeflate =
7265cdf0e10cSrcweir {
7266cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateVert, sizeof( mso_sptTextDeflateVert ) / sizeof( SvxMSDffVertPair ),
7267cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextCanUpSegm, sizeof( mso_sptTextCanUpSegm ) >> 1,
7268cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateCalc, sizeof( mso_sptTextDeflateCalc ) / sizeof( SvxMSDffCalculationData ),
7269cdf0e10cSrcweir 	(sal_Int32*)mso_sptDefault8100,
7270cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7271cdf0e10cSrcweir 	21600, 21600,
7272*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7273cdf0e10cSrcweir 	NULL, 0,
7274cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateHandle, sizeof( mso_sptTextDeflateHandle ) / sizeof( SvxMSDffHandle )
7275cdf0e10cSrcweir };
7276cdf0e10cSrcweir 
7277cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateBottomVert[] =
7278cdf0e10cSrcweir {
7279cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7280cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 3500, 3 MSO_I }, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I }, { 21600, 0 MSO_I }
7281cdf0e10cSrcweir };
7282cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc[] =
7283cdf0e10cSrcweir {
7284cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7285cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 11150 } },			// 401 0->10450
7286cdf0e10cSrcweir 	{ 0x2001, { 0x401, 3900, 10450 } },			// 402
7287cdf0e10cSrcweir 	{ 0x2000, { 0x402, 17700, 0 } }				// 403
7288cdf0e10cSrcweir };
7289cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateBottomSegm[] =
7290cdf0e10cSrcweir {
7291cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7292cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7293cdf0e10cSrcweir };
7294cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] =
7295cdf0e10cSrcweir {
7296cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7297*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 11150, 21600 }
7298cdf0e10cSrcweir };
7299cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateBottomDefault[] =
7300cdf0e10cSrcweir {
7301cdf0e10cSrcweir 	1, 14700
7302cdf0e10cSrcweir };
7303cdf0e10cSrcweir static const mso_CustomShape msoTextInflateBottom =
7304cdf0e10cSrcweir {
7305cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateBottomVert, sizeof( mso_sptTextInflateBottomVert ) / sizeof( SvxMSDffVertPair ),
7306cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextInflateBottomSegm, sizeof( mso_sptTextInflateBottomSegm ) >> 1,
7307cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateBottomCalc, sizeof( mso_sptTextInflateBottomCalc ) / sizeof( SvxMSDffCalculationData ),
7308cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateBottomDefault,
7309cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7310cdf0e10cSrcweir 	21600, 21600,
7311*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7312cdf0e10cSrcweir 	NULL, 0,
7313cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateBottomHandle, sizeof( mso_sptTextInflateBottomHandle ) / sizeof( SvxMSDffHandle )
7314cdf0e10cSrcweir };
7315cdf0e10cSrcweir 
7316cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateBottomVert[] =
7317cdf0e10cSrcweir {
7318cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7319cdf0e10cSrcweir 	{ 0, 21600 }, { 2900, 3 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 3 MSO_I }, { 21600, 21600 }
7320cdf0e10cSrcweir };
7321cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc[] =
7322cdf0e10cSrcweir {
7323cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7324cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 1350 } },				// 401 0->20250
7325cdf0e10cSrcweir 	{ 0x2001, { 0x401, 12070, 20250 } },		// 402
7326cdf0e10cSrcweir 	{ 0x2000, { 0x402, 9530, 0 } }				// 403
7327cdf0e10cSrcweir };
7328cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateBottomSegm[] =
7329cdf0e10cSrcweir {
7330cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7331cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7332cdf0e10cSrcweir };
7333cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] =
7334cdf0e10cSrcweir {
7335cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7336*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 1350, 21600 }
7337cdf0e10cSrcweir };
7338cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateBottomDefault[] =
7339cdf0e10cSrcweir {
7340cdf0e10cSrcweir 	1, 11500
7341cdf0e10cSrcweir };
7342cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateBottom =
7343cdf0e10cSrcweir {
7344cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateBottomVert, sizeof( mso_sptTextDeflateBottomVert ) / sizeof( SvxMSDffVertPair ),
7345cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateBottomSegm, sizeof( mso_sptTextDeflateBottomSegm ) >> 1,
7346cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateBottomCalc, sizeof( mso_sptTextDeflateBottomCalc ) / sizeof( SvxMSDffCalculationData ),
7347cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateBottomDefault,
7348cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7349cdf0e10cSrcweir 	21600, 21600,
7350*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7351cdf0e10cSrcweir 	NULL, 0,
7352cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, sizeof( mso_sptTextDeflateBottomHandle ) / sizeof( SvxMSDffHandle )
7353cdf0e10cSrcweir };
7354cdf0e10cSrcweir 
7355cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextInflateTopVert[] =
7356cdf0e10cSrcweir {
7357cdf0e10cSrcweir 	{ 0, 0 MSO_I }, { 3500, 1 MSO_I }, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I }, { 21600, 0 MSO_I },
7358cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7359cdf0e10cSrcweir };
7360cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextInflateTopCalc[] =
7361cdf0e10cSrcweir {
7362cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7363cdf0e10cSrcweir 	{ 0x2001, { 0x400, 3900, 10450 } }			// 401
7364cdf0e10cSrcweir };
7365cdf0e10cSrcweir static const sal_uInt16 mso_sptTextInflateTopSegm[] =
7366cdf0e10cSrcweir {
7367cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7368cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7369cdf0e10cSrcweir };
7370cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextInflateTopHandle[] =
7371cdf0e10cSrcweir {
7372cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7373*e5cfc9caSHerbert Dürr 		0, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 10450 }
7374cdf0e10cSrcweir };
7375cdf0e10cSrcweir static const sal_Int32 mso_sptTextInflateTopDefault[] =
7376cdf0e10cSrcweir {
7377cdf0e10cSrcweir 	1, 6900
7378cdf0e10cSrcweir };
7379cdf0e10cSrcweir static const mso_CustomShape msoTextInflateTop =
7380cdf0e10cSrcweir {
7381cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextInflateTopVert, sizeof( mso_sptTextInflateTopVert ) / sizeof( SvxMSDffVertPair ),
7382cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextInflateTopSegm, sizeof( mso_sptTextInflateTopSegm ) >> 1,
7383cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextInflateTopCalc, sizeof( mso_sptTextInflateTopCalc ) / sizeof( SvxMSDffCalculationData ),
7384cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextInflateTopDefault,
7385cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7386cdf0e10cSrcweir 	21600, 21600,
7387*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7388cdf0e10cSrcweir 	NULL, 0,
7389cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextInflateTopHandle, sizeof( mso_sptTextInflateTopHandle ) / sizeof( SvxMSDffHandle )
7390cdf0e10cSrcweir };
7391cdf0e10cSrcweir 
7392cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateTopVert[] =
7393cdf0e10cSrcweir {
7394cdf0e10cSrcweir 	{ 0, 0 }, { 2900, 1 MSO_I }, { 7200, 0 MSO_I }, { 10800, 0 MSO_I }, { 14400, 0 MSO_I }, { 18700, 1 MSO_I }, { 21600, 0 },
7395cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7396cdf0e10cSrcweir };
7397cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc[] =
7398cdf0e10cSrcweir {
7399cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7400cdf0e10cSrcweir 	{ 0x2001, { 0x400, 12070, 20250 } }         // 402
7401cdf0e10cSrcweir };
7402cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateTopSegm[] =
7403cdf0e10cSrcweir {
7404cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7405cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7406cdf0e10cSrcweir };
7407cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] =
7408cdf0e10cSrcweir {
7409cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7410*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 0, 20250 }
7411cdf0e10cSrcweir };
7412cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateTopDefault[] =
7413cdf0e10cSrcweir {
7414cdf0e10cSrcweir 	1, 10100
7415cdf0e10cSrcweir };
7416cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateTop =
7417cdf0e10cSrcweir {
7418cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateTopVert, sizeof( mso_sptTextDeflateTopVert ) / sizeof( SvxMSDffVertPair ),
7419cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateTopSegm, sizeof( mso_sptTextDeflateTopSegm ) >> 1,
7420cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateTopCalc, sizeof( mso_sptTextDeflateTopCalc ) / sizeof( SvxMSDffCalculationData ),
7421cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateTopDefault,
7422cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7423cdf0e10cSrcweir 	21600, 21600,
7424*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7425cdf0e10cSrcweir 	NULL, 0,
7426cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateTopHandle, sizeof( mso_sptTextDeflateTopHandle ) / sizeof( SvxMSDffHandle )
7427cdf0e10cSrcweir };
7428cdf0e10cSrcweir 
7429cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateVert[] =
7430cdf0e10cSrcweir {
7431cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7432cdf0e10cSrcweir 	{ 0, 10100 }, { 3300, 3 MSO_I }, { 7100, 5 MSO_I }, { 10800, 5 MSO_I }, { 14500, 5 MSO_I }, { 18300, 3 MSO_I }, { 21600, 10100 },
7433cdf0e10cSrcweir 	{ 0, 11500 }, { 3300, 4 MSO_I }, { 7100, 6 MSO_I }, { 10800, 6 MSO_I }, { 14500, 6 MSO_I }, { 18300, 4 MSO_I }, { 21600, 11500 },
7434cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7435cdf0e10cSrcweir };
7436cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc[] =
7437cdf0e10cSrcweir {
7438cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },	// 400
7439cdf0e10cSrcweir 	{ 0x8000, { 10800, 0, 0x400 } },			// 401
7440cdf0e10cSrcweir 	{ 0x2001, { 0x401, 5770, 9500 } },			// 402
7441cdf0e10cSrcweir 	{ 0x8000, { 10100, 0, 0x402 } },			// 403
7442cdf0e10cSrcweir 	{ 0x8000, { 11500, 0, 0x402 } },			// 404
7443cdf0e10cSrcweir 	{ 0x2000, { 0x400, 0, 700 } },				// 405
7444cdf0e10cSrcweir 	{ 0x2000, { 0x400, 700, 0 }	}  		    	// 406
7445cdf0e10cSrcweir };
7446cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateSegm[] =
7447cdf0e10cSrcweir {
7448cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7449cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7450cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7451cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7452cdf0e10cSrcweir };
7453cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] =
7454cdf0e10cSrcweir {
7455cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7456*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 1300, 20300 }
7457cdf0e10cSrcweir };
7458cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDefault[] =
7459cdf0e10cSrcweir {
7460cdf0e10cSrcweir 	1, 6500
7461cdf0e10cSrcweir };
7462cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflate =
7463cdf0e10cSrcweir {
7464cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateInflateVert, sizeof( mso_sptTextDeflateInflateVert ) / sizeof( SvxMSDffVertPair ),
7465cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateInflateSegm, sizeof( mso_sptTextDeflateInflateSegm ) >> 1,
7466cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateInflateCalc, sizeof( mso_sptTextDeflateInflateCalc ) / sizeof( SvxMSDffCalculationData ),
7467cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateInflateDefault,
7468cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7469cdf0e10cSrcweir 	21600, 21600,
7470*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7471cdf0e10cSrcweir 	NULL, 0,
7472cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, sizeof( mso_sptTextDeflateInflateHandle ) / sizeof( SvxMSDffHandle )
7473cdf0e10cSrcweir };
7474cdf0e10cSrcweir 
7475cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert[] =
7476cdf0e10cSrcweir {
7477cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 },
7478cdf0e10cSrcweir 	{ 0, 6600 }, { 3600, 3 MSO_I }, { 7250, 4 MSO_I }, { 10800, 4 MSO_I }, { 14350, 4 MSO_I }, { 18000, 3 MSO_I }, { 21600, 6600 },
7479cdf0e10cSrcweir 	{ 0, 7500 }, { 3600, 5 MSO_I }, { 7250, 6 MSO_I }, { 10800, 6 MSO_I }, { 14350, 6 MSO_I }, { 18000, 5 MSO_I }, { 21600, 7500 },
7480cdf0e10cSrcweir 	{ 0, 14100 }, { 3600, 9 MSO_I }, { 7250, 10 MSO_I }, { 10800, 10 MSO_I }, { 14350, 10 MSO_I }, { 18000, 9 MSO_I }, { 21600, 14100 },
7481cdf0e10cSrcweir 	{ 0, 15000 }, { 3600, 7 MSO_I }, { 7250, 8 MSO_I }, { 10800, 8 MSO_I }, { 14350, 8 MSO_I }, { 18000, 7 MSO_I }, { 21600, 15000 },
7482cdf0e10cSrcweir 	{ 0, 21600 }, { 21600, 21600 }
7483cdf0e10cSrcweir };
7484cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc[] =
7485cdf0e10cSrcweir {
7486cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 850 } },		// 400
7487cdf0e10cSrcweir 	{ 0x2001, { 0x400, 6120, 8700 } },
7488cdf0e10cSrcweir 	{ 0x2000, { 0x401, 0, 4280 } },
7489cdf0e10cSrcweir 	{ 0x4000, { 6600, 0x402, 0 } },
7490cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 450 } },		// 404
7491cdf0e10cSrcweir 	{ 0x2000, { 0x403, 900, 0 } },						// 405
7492cdf0e10cSrcweir 	{ 0x2000, { 0x404, 900, 0 } },						// 406
7493cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x403 } },					// 407
7494cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x404 } },					// 408
7495cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x405 } },					// 409
7496cdf0e10cSrcweir 	{ 0x8000, { 21600, 0, 0x406 } }						// 410
7497cdf0e10cSrcweir };
7498cdf0e10cSrcweir static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] =
7499cdf0e10cSrcweir {
7500cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7501cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7502cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7503cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7504cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7505cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7506cdf0e10cSrcweir };
7507cdf0e10cSrcweir static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] =
7508cdf0e10cSrcweir {
7509cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
7510*e5cfc9caSHerbert Dürr 		10800, 0x100, 10800, 10800, Mx80000000, 0x7fffffff, 850, 9550 }
7511cdf0e10cSrcweir };
7512cdf0e10cSrcweir static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] =
7513cdf0e10cSrcweir {
7514cdf0e10cSrcweir 	1, 6050
7515cdf0e10cSrcweir };
7516cdf0e10cSrcweir static const mso_CustomShape msoTextDeflateInflateDeflate =
7517cdf0e10cSrcweir {
7518cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextDeflateInflateDeflateVert, sizeof( mso_sptTextDeflateInflateDeflateVert ) / sizeof( SvxMSDffVertPair ),
7519cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextDeflateInflateDeflateSegm, sizeof( mso_sptTextDeflateInflateDeflateSegm ) >> 1,
7520cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptTextDeflateInflateDeflateCalc, sizeof( mso_sptTextDeflateInflateDeflateCalc ) / sizeof( SvxMSDffCalculationData ),
7521cdf0e10cSrcweir 	(sal_Int32*)mso_sptTextDeflateInflateDeflateDefault,
7522cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7523cdf0e10cSrcweir 	21600, 21600,
7524*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7525cdf0e10cSrcweir 	NULL, 0,
7526cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, sizeof( mso_sptTextDeflateInflateDeflateHandle ) / sizeof( SvxMSDffHandle )
7527cdf0e10cSrcweir };
7528cdf0e10cSrcweir 
7529cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave1Vert[] =	// adjustment1 : 0 - 4459
7530cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
7531cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 9 MSO_I }, { 16 MSO_I, 10 MSO_I }, { 12 MSO_I, 0 MSO_I },
7532cdf0e10cSrcweir 	{ 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 28 MSO_I }, { 25 MSO_I, 26 MSO_I }, { 24 MSO_I, 1 MSO_I }
7533cdf0e10cSrcweir };
7534cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave1Segm[] =
7535cdf0e10cSrcweir {
7536cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000,
7537cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000
7538cdf0e10cSrcweir };
7539cdf0e10cSrcweir static const mso_CustomShape msoTextWave1 =
7540cdf0e10cSrcweir {
7541cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave1Vert, sizeof( mso_sptTextWave1Vert ) / sizeof( SvxMSDffVertPair ),
7542cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
7543cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7544cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
7545cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7546cdf0e10cSrcweir 	21600, 21600,
7547*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7548cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7549cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
7550cdf0e10cSrcweir };
7551cdf0e10cSrcweir 
7552cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave2Vert[] =	// adjustment1 : 0 - 4459
7553cdf0e10cSrcweir {													// adjustment2 : 8640 - 12960
7554cdf0e10cSrcweir 	{ 7 MSO_I, 0 MSO_I }, { 15 MSO_I, 10 MSO_I }, { 16 MSO_I, 9 MSO_I }, { 12 MSO_I, 0 MSO_I },
7555cdf0e10cSrcweir 	{ 29 MSO_I, 1 MSO_I }, { 27 MSO_I, 26 MSO_I }, { 25 MSO_I, 28 MSO_I }, { 24 MSO_I, 1 MSO_I }
7556cdf0e10cSrcweir };
7557cdf0e10cSrcweir static const mso_CustomShape msoTextWave2 =
7558cdf0e10cSrcweir {
7559cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave2Vert, sizeof( mso_sptTextWave2Vert ) / sizeof( SvxMSDffVertPair ),
7560cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave1Segm, sizeof( mso_sptTextWave1Segm ) >> 1,
7561cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptWaveCalc, sizeof( mso_sptWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7562cdf0e10cSrcweir 	(sal_Int32*)mso_sptWaveDefault,
7563cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( SvxMSDffTextRectangles ),
7564cdf0e10cSrcweir 	21600, 21600,
7565*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7566cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7567cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
7568cdf0e10cSrcweir };
7569cdf0e10cSrcweir 
7570cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave3Vert[] =	// adjustment1 : 0 - 2230
7571cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
7572cdf0e10cSrcweir 	{ 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 },
7573cdf0e10cSrcweir 	{ 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 }
7574cdf0e10cSrcweir };
7575cdf0e10cSrcweir static const sal_uInt16 mso_sptTextWave3Segm[] =
7576cdf0e10cSrcweir {
7577cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000,
7578cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
7579cdf0e10cSrcweir };
7580cdf0e10cSrcweir static const mso_CustomShape msoTextWave3 =
7581cdf0e10cSrcweir {
7582cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave3Vert, sizeof( mso_sptTextWave3Vert ) / sizeof( SvxMSDffVertPair ),
7583cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
7584cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7585cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
7586cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
7587cdf0e10cSrcweir 	21600, 21600,
7588*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7589cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7590cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
7591cdf0e10cSrcweir };
7592cdf0e10cSrcweir 
7593cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptTextWave4Vert[] =	// adjustment1 : 0 - 2230
7594cdf0e10cSrcweir {														// adjustment2 : 8640 - 12960
7595cdf0e10cSrcweir 	{ 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 },
7596cdf0e10cSrcweir 	{ 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 }
7597cdf0e10cSrcweir };
7598cdf0e10cSrcweir static const mso_CustomShape msoTextWave4 =
7599cdf0e10cSrcweir {
7600cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptTextWave4Vert, sizeof( mso_sptTextWave4Vert ) / sizeof( SvxMSDffVertPair ),
7601cdf0e10cSrcweir 	(sal_uInt16*)mso_sptTextWave3Segm, sizeof( mso_sptTextWave3Segm ) >> 1,
7602cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptDoubleWaveCalc, sizeof( mso_sptDoubleWaveCalc ) / sizeof( SvxMSDffCalculationData ),
7603cdf0e10cSrcweir 	(sal_Int32*)mso_sptDoubleWaveDefault,
7604cdf0e10cSrcweir 	(SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / sizeof( SvxMSDffTextRectangles ),
7605cdf0e10cSrcweir 	21600, 21600,
7606*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7607cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / sizeof( SvxMSDffVertPair ),
7608cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( SvxMSDffHandle )
7609cdf0e10cSrcweir };
7610cdf0e10cSrcweir 
7611cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault1[] =
7612cdf0e10cSrcweir {
7613cdf0e10cSrcweir 	4, -1800, 24500, -1800, 4000
7614cdf0e10cSrcweir };
7615cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault2[] =
7616cdf0e10cSrcweir {
7617cdf0e10cSrcweir 	4, -8300, 24500, -1800, 4000
7618cdf0e10cSrcweir };
7619cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault3[] =
7620cdf0e10cSrcweir {
7621cdf0e10cSrcweir 	6, -10000, 24500, -3600, 4000, -1800, 4000
7622cdf0e10cSrcweir };
7623cdf0e10cSrcweir static const sal_Int32 mso_sptCalloutDefault4[] =
7624cdf0e10cSrcweir {
7625cdf0e10cSrcweir 	8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000
7626cdf0e10cSrcweir };
7627cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCalloutVert1[] =
7628cdf0e10cSrcweir {
7629cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I, 1 MSO_I }, { 2 MSO_I, 3 MSO_I }
7630cdf0e10cSrcweir };
7631cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle1[] =
7632cdf0e10cSrcweir {
7633cdf0e10cSrcweir 	{	0,
7634*e5cfc9caSHerbert Dürr 		0x100, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7635cdf0e10cSrcweir 	{	0,
7636*e5cfc9caSHerbert Dürr 		0x102, 0x103, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff }
7637cdf0e10cSrcweir };
7638cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1a[] =
7639cdf0e10cSrcweir {
7640cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7641cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7642cdf0e10cSrcweir };
7643cdf0e10cSrcweir static const sal_uInt16 mso_sptCalloutSegm1b[] =
7644cdf0e10cSrcweir {
7645cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7646cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7647cdf0e10cSrcweir };
7648cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout1Vert[] =
7649cdf0e10cSrcweir {
7650cdf0e10cSrcweir 	{ 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 }
7651cdf0e10cSrcweir };
7652cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1a[] =
7653cdf0e10cSrcweir {
7654cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7655cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7656cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7657cdf0e10cSrcweir };
7658cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout1Segm1b[] =
7659cdf0e10cSrcweir {
7660cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7661cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7662cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7663cdf0e10cSrcweir };
7664cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Verta[] =
7665cdf0e10cSrcweir {
7666cdf0e10cSrcweir 	{ 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 }
7667cdf0e10cSrcweir };
7668cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout2Vertb[] =
7669cdf0e10cSrcweir {
7670cdf0e10cSrcweir 	{ 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 }
7671cdf0e10cSrcweir };
7672cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle2[] =
7673cdf0e10cSrcweir {
7674cdf0e10cSrcweir 	{	0,
7675*e5cfc9caSHerbert Dürr 		0x100, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7676cdf0e10cSrcweir 	{	0,
7677*e5cfc9caSHerbert Dürr 		0x102, 0x103, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7678cdf0e10cSrcweir 	{	0,
7679*e5cfc9caSHerbert Dürr 		0x104, 0x105, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff }
7680cdf0e10cSrcweir };
7681cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1a[] =
7682cdf0e10cSrcweir {
7683cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7684cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7685cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7686cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7687cdf0e10cSrcweir };
7688cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1b[] =
7689cdf0e10cSrcweir {
7690cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7691cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7692cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7693cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7694cdf0e10cSrcweir };
7695cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1c[] =
7696cdf0e10cSrcweir {
7697cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7698cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7699cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7700cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7701cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7702cdf0e10cSrcweir };
7703cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout2Segm1d[] =
7704cdf0e10cSrcweir {
7705cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7706cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7707cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7708cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000,
7709cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7710cdf0e10cSrcweir };
7711cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Verta[] =
7712cdf0e10cSrcweir {
7713cdf0e10cSrcweir 	{ 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 }
7714cdf0e10cSrcweir };
7715cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCallout3Vertb[] =
7716cdf0e10cSrcweir {
7717cdf0e10cSrcweir 	{ 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 }
7718cdf0e10cSrcweir };
7719cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCalloutHandle3[] =
7720cdf0e10cSrcweir {
7721cdf0e10cSrcweir 	{	0,
7722*e5cfc9caSHerbert Dürr 		0x100, 0x101, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7723cdf0e10cSrcweir 	{	0,
7724*e5cfc9caSHerbert Dürr 		0x102, 0x103, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7725cdf0e10cSrcweir 	{	0,
7726*e5cfc9caSHerbert Dürr 		0x104, 0x105, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff },
7727cdf0e10cSrcweir 	{	0,
7728*e5cfc9caSHerbert Dürr 		0x106, 0x107, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff }
7729cdf0e10cSrcweir };
7730cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1a[] =
7731cdf0e10cSrcweir {
7732cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7733cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000			// NO_FILL
7734cdf0e10cSrcweir };
7735cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1b[] =
7736cdf0e10cSrcweir {
7737cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7738cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000			// NO FILL
7739cdf0e10cSrcweir };
7740cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1c[] =
7741cdf0e10cSrcweir {
7742cdf0e10cSrcweir 	0x4000, 0x0003, 0x6000, 0x8000,
7743cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000,			// NO FILL
7744cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7745cdf0e10cSrcweir };
7746cdf0e10cSrcweir static const sal_uInt16 mso_sptCallout3Segm1d[] =
7747cdf0e10cSrcweir {
7748cdf0e10cSrcweir 	0x4000, 0xab00, 0x0003, 0x6000, 0x8000,	// NO STROKE
7749cdf0e10cSrcweir 	0x4000, 0xaa00, 0x0003, 0x8000,			// NO FILL
7750cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7751cdf0e10cSrcweir };
7752cdf0e10cSrcweir 
7753cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCalloutCalc[] =
7754cdf0e10cSrcweir {
7755cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
7756cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
7757cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
7758cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust4Value, 0, 0 } },
7759cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust5Value, 0, 0 } },
7760cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust6Value, 0, 0 } },
7761cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust7Value, 0, 0 } },
7762cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust8Value, 0, 0 } }
7763cdf0e10cSrcweir };
7764cdf0e10cSrcweir 
7765cdf0e10cSrcweir static const mso_CustomShape msoCallout90 =
7766cdf0e10cSrcweir {
7767cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7768cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7769cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7770cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7771cdf0e10cSrcweir 	NULL, 0,
7772cdf0e10cSrcweir 	21600, 21600,
7773*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7774cdf0e10cSrcweir 	NULL, 0,
7775cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7776cdf0e10cSrcweir };
7777cdf0e10cSrcweir static const mso_CustomShape msoCallout1 =
7778cdf0e10cSrcweir {
7779cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7780cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7781cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7782cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7783cdf0e10cSrcweir 	NULL, 0,
7784cdf0e10cSrcweir 	21600, 21600,
7785*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7786cdf0e10cSrcweir 	NULL, 0,
7787cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7788cdf0e10cSrcweir };
7789cdf0e10cSrcweir static const mso_CustomShape msoCallout2 =
7790cdf0e10cSrcweir {
7791cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ),
7792cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1b, sizeof( mso_sptCallout2Segm1b ) >> 1,
7793cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7794cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7795cdf0e10cSrcweir 	NULL, 0,
7796cdf0e10cSrcweir 	21600, 21600,
7797*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7798cdf0e10cSrcweir 	NULL, 0,
7799cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7800cdf0e10cSrcweir };
7801cdf0e10cSrcweir static const mso_CustomShape msoCallout3 =
7802cdf0e10cSrcweir {
7803cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ),
7804cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1b, sizeof( mso_sptCallout3Segm1b ) >> 1,
7805cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7806cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7807cdf0e10cSrcweir 	NULL, 0,
7808cdf0e10cSrcweir 	21600, 21600,
7809*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7810cdf0e10cSrcweir 	NULL, 0,
7811cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7812cdf0e10cSrcweir };
7813cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout90 =
7814cdf0e10cSrcweir {
7815cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7816cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1b, sizeof( mso_sptCalloutSegm1b ) >> 1,
7817cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7818cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7819cdf0e10cSrcweir 	NULL, 0,
7820cdf0e10cSrcweir 	21600, 21600,
7821*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7822cdf0e10cSrcweir 	NULL, 0,
7823cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7824cdf0e10cSrcweir };
7825cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout1 =
7826cdf0e10cSrcweir {
7827cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ),
7828cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout1Segm1b, sizeof( mso_sptCallout1Segm1b ) >> 1,
7829cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7830cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7831cdf0e10cSrcweir 	NULL, 0,
7832cdf0e10cSrcweir 	21600, 21600,
7833*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7834cdf0e10cSrcweir 	NULL, 0,
7835cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7836cdf0e10cSrcweir };
7837cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout2 =
7838cdf0e10cSrcweir {
7839cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ),
7840cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1d, sizeof( mso_sptCallout2Segm1d ) >> 1,
7841cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7842cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7843cdf0e10cSrcweir 	NULL, 0,
7844cdf0e10cSrcweir 	21600, 21600,
7845*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7846cdf0e10cSrcweir 	NULL, 0,
7847cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7848cdf0e10cSrcweir };
7849cdf0e10cSrcweir static const mso_CustomShape msoAccentCallout3 =
7850cdf0e10cSrcweir {
7851cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ),
7852cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1d, sizeof( mso_sptCallout3Segm1d ) >> 1,
7853cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7854cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7855cdf0e10cSrcweir 	NULL, 0,
7856cdf0e10cSrcweir 	21600, 21600,
7857*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7858cdf0e10cSrcweir 	NULL, 0,
7859cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7860cdf0e10cSrcweir };
7861cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout90 =
7862cdf0e10cSrcweir {
7863cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7864cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7865cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7866cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7867cdf0e10cSrcweir 	NULL, 0,
7868cdf0e10cSrcweir 	21600, 21600,
7869*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7870cdf0e10cSrcweir 	NULL, 0,
7871cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7872cdf0e10cSrcweir };
7873cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout1 =
7874cdf0e10cSrcweir {
7875cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7876cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7877cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7878cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7879cdf0e10cSrcweir 	NULL, 0,
7880cdf0e10cSrcweir 	21600, 21600,
7881*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7882cdf0e10cSrcweir 	NULL, 0,
7883cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7884cdf0e10cSrcweir };
7885cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout2 =
7886cdf0e10cSrcweir {
7887cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Verta, sizeof( mso_sptCallout2Verta ) / sizeof( SvxMSDffVertPair ),
7888cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1a, sizeof( mso_sptCallout2Segm1a ) >> 1,
7889cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7890cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7891cdf0e10cSrcweir 	NULL, 0,
7892cdf0e10cSrcweir 	21600, 21600,
7893*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7894cdf0e10cSrcweir 	NULL, 0,
7895cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7896cdf0e10cSrcweir };
7897cdf0e10cSrcweir static const mso_CustomShape msoBorderCallout3 =
7898cdf0e10cSrcweir {
7899cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Verta, sizeof( mso_sptCallout3Verta ) / sizeof( SvxMSDffVertPair ),
7900cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1a, sizeof( mso_sptCallout3Segm1a ) >> 1,
7901cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7902cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7903cdf0e10cSrcweir 	NULL, 0,
7904cdf0e10cSrcweir 	21600, 21600,
7905*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7906cdf0e10cSrcweir 	NULL, 0,
7907cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7908cdf0e10cSrcweir };
7909cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout90 =
7910cdf0e10cSrcweir {
7911cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCalloutVert1, sizeof( mso_sptCalloutVert1 ) / sizeof( SvxMSDffVertPair ),
7912cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCalloutSegm1a, sizeof( mso_sptCalloutSegm1a ) >> 1,
7913cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7914cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault1,
7915cdf0e10cSrcweir 	NULL, 0,
7916cdf0e10cSrcweir 	21600, 21600,
7917*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7918cdf0e10cSrcweir 	NULL, 0,
7919cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7920cdf0e10cSrcweir };
7921cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout1 =
7922cdf0e10cSrcweir {
7923cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout1Vert, sizeof( mso_sptCallout1Vert ) / sizeof( SvxMSDffVertPair ),
7924cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout1Segm1a, sizeof( mso_sptCallout1Segm1a ) >> 1,
7925cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7926cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault2,
7927cdf0e10cSrcweir 	NULL, 0,
7928cdf0e10cSrcweir 	21600, 21600,
7929*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7930cdf0e10cSrcweir 	NULL, 0,
7931cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( SvxMSDffHandle )
7932cdf0e10cSrcweir };
7933cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout2 =
7934cdf0e10cSrcweir {
7935cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout2Vertb, sizeof( mso_sptCallout2Vertb ) / sizeof( SvxMSDffVertPair ),
7936cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout2Segm1c, sizeof( mso_sptCallout2Segm1c ) >> 1,
7937cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7938cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault3,
7939cdf0e10cSrcweir 	NULL, 0,
7940cdf0e10cSrcweir 	21600, 21600,
7941*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7942cdf0e10cSrcweir 	NULL, 0,
7943cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( SvxMSDffHandle )
7944cdf0e10cSrcweir };
7945cdf0e10cSrcweir static const mso_CustomShape msoAccentBorderCallout3 =
7946cdf0e10cSrcweir {
7947cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCallout3Vertb, sizeof( mso_sptCallout3Vertb ) / sizeof( SvxMSDffVertPair ),
7948cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCallout3Segm1c, sizeof( mso_sptCallout3Segm1c ) >> 1,
7949cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCalloutCalc, sizeof( mso_sptCalloutCalc ) / sizeof( SvxMSDffCalculationData ),
7950cdf0e10cSrcweir 	(sal_Int32*)mso_sptCalloutDefault4,
7951cdf0e10cSrcweir 	NULL, 0,
7952cdf0e10cSrcweir 	21600, 21600,
7953*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7954cdf0e10cSrcweir 	NULL, 0,
7955cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( SvxMSDffHandle )
7956cdf0e10cSrcweir };
7957cdf0e10cSrcweir 
7958cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptStraightConnector1Vert[] =
7959cdf0e10cSrcweir {
7960cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 21600 }
7961cdf0e10cSrcweir };
7962cdf0e10cSrcweir static const sal_uInt16 mso_sptStraightConnector1Segm[] =
7963cdf0e10cSrcweir {
7964cdf0e10cSrcweir 	0x4000, 0x0001, 0x8000
7965cdf0e10cSrcweir };
7966cdf0e10cSrcweir static const mso_CustomShape msoStraightConnector1 =
7967cdf0e10cSrcweir {
7968cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptStraightConnector1Vert, sizeof( mso_sptStraightConnector1Vert ) / sizeof( SvxMSDffVertPair ),
7969cdf0e10cSrcweir 	(sal_uInt16*)mso_sptStraightConnector1Segm, sizeof( mso_sptStraightConnector1Segm ) >> 1,
7970cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
7971cdf0e10cSrcweir 	(sal_Int32*)NULL,
7972cdf0e10cSrcweir 	NULL, 0,
7973cdf0e10cSrcweir 	21600, 21600,
7974*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7975cdf0e10cSrcweir 	NULL, 0,
7976cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
7977cdf0e10cSrcweir };
7978cdf0e10cSrcweir 
7979cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector2Vert[] =
7980cdf0e10cSrcweir {
7981cdf0e10cSrcweir 	{ 0, 0 }, { 21600, 0 }, { 21600, 21600 }
7982cdf0e10cSrcweir };
7983cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector2Segm[] =
7984cdf0e10cSrcweir {
7985cdf0e10cSrcweir 	0x4000, 0x0002, 0x8000
7986cdf0e10cSrcweir };
7987cdf0e10cSrcweir static const mso_CustomShape msoBentConnector2 =
7988cdf0e10cSrcweir {
7989cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector2Vert, sizeof( mso_sptBentConnector2Vert ) / sizeof( SvxMSDffVertPair ),
7990cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector2Segm, sizeof( mso_sptBentConnector2Segm ) >> 1,
7991cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
7992cdf0e10cSrcweir 	(sal_Int32*)NULL,
7993cdf0e10cSrcweir 	NULL, 0,
7994cdf0e10cSrcweir 	21600, 21600,
7995*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
7996cdf0e10cSrcweir 	NULL, 0,
7997cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
7998cdf0e10cSrcweir };
7999cdf0e10cSrcweir 
8000cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector3Vert[] =
8001cdf0e10cSrcweir {
8002cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 21600 }, { 21600, 21600 }
8003cdf0e10cSrcweir };
8004cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector3Segm[] =
8005cdf0e10cSrcweir {
8006cdf0e10cSrcweir 	0x4000, 0x0003, 0x8000
8007cdf0e10cSrcweir };
8008cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector3Calc[] =
8009cdf0e10cSrcweir {
8010cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } }
8011cdf0e10cSrcweir };
8012cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector3Default[] =
8013cdf0e10cSrcweir {
8014cdf0e10cSrcweir 	1, 10800
8015cdf0e10cSrcweir };
8016cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector3Handle[] =
8017cdf0e10cSrcweir {
8018cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
8019*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff }
8020cdf0e10cSrcweir };
8021cdf0e10cSrcweir static const mso_CustomShape msoBentConnector3 =
8022cdf0e10cSrcweir {
8023cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector3Vert, sizeof( mso_sptBentConnector3Vert ) / sizeof( SvxMSDffVertPair ),
8024cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector3Segm, sizeof( mso_sptBentConnector3Segm ) >> 1,
8025cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector3Calc, sizeof( mso_sptBentConnector3Calc ) / sizeof( SvxMSDffCalculationData ),
8026cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector3Default,
8027cdf0e10cSrcweir 	NULL, 0,
8028cdf0e10cSrcweir 	21600, 21600,
8029*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8030cdf0e10cSrcweir 	NULL, 0,
8031cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector3Handle, sizeof( mso_sptBentConnector3Handle ) / sizeof( SvxMSDffHandle )
8032cdf0e10cSrcweir };
8033cdf0e10cSrcweir 
8034cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector4Vert[] =
8035cdf0e10cSrcweir {
8036cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 1 MSO_I }, { 21600, 1 MSO_I }, { 21600, 21600 }
8037cdf0e10cSrcweir };
8038cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector4Segm[] =
8039cdf0e10cSrcweir {
8040cdf0e10cSrcweir 	0x4000, 0x0004, 0x8000
8041cdf0e10cSrcweir };
8042cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector4Calc[] =
8043cdf0e10cSrcweir {
8044cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
8045cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
8046cdf0e10cSrcweir 	{ 0x2000, { 0x400, 21600, 0 } },
8047cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
8048cdf0e10cSrcweir 	{ 0x2001, { 0x401, 1, 2 } }
8049cdf0e10cSrcweir };
8050cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector4Default[] =
8051cdf0e10cSrcweir {
8052cdf0e10cSrcweir 	2, 10800, 10800
8053cdf0e10cSrcweir };
8054cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector4Handle[] =
8055cdf0e10cSrcweir {
8056cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8057*e5cfc9caSHerbert Dürr 		0x100, 4 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 4 + 3, 4 + 3 },
8058cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
8059*e5cfc9caSHerbert Dürr 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, Mx80000000, 0x7fffffff }
8060cdf0e10cSrcweir };
8061cdf0e10cSrcweir static const mso_CustomShape msoBentConnector4 =
8062cdf0e10cSrcweir {
8063cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector4Vert, sizeof( mso_sptBentConnector4Vert ) / sizeof( SvxMSDffVertPair ),
8064cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector4Segm, sizeof( mso_sptBentConnector4Segm ) >> 1,
8065cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector4Calc, sizeof( mso_sptBentConnector4Calc ) / sizeof( SvxMSDffCalculationData ),
8066cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector4Default,
8067cdf0e10cSrcweir 	NULL, 0,
8068cdf0e10cSrcweir 	21600, 21600,
8069*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8070cdf0e10cSrcweir 	NULL, 0,
8071cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector4Handle, sizeof( mso_sptBentConnector4Handle ) / sizeof( SvxMSDffHandle )
8072cdf0e10cSrcweir };
8073cdf0e10cSrcweir 
8074cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptBentConnector5Vert[] =
8075cdf0e10cSrcweir {
8076cdf0e10cSrcweir 	{ 0, 0 }, { 0 MSO_I, 0 }, { 0 MSO_I, 4 MSO_I }, { 1 MSO_I, 4 MSO_I }, { 1 MSO_I, 21600 }, { 21600, 21600 }
8077cdf0e10cSrcweir };
8078cdf0e10cSrcweir static const sal_uInt16 mso_sptBentConnector5Segm[] =
8079cdf0e10cSrcweir {
8080cdf0e10cSrcweir 	0x4000, 0x0005, 0x8000
8081cdf0e10cSrcweir };
8082cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptBentConnector5Calc[] =
8083cdf0e10cSrcweir {
8084cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
8085cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
8086cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
8087cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
8088cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
8089cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
8090cdf0e10cSrcweir 	{ 0x4000, { 21600, 0x404, 0 } },
8091cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } }
8092cdf0e10cSrcweir };
8093cdf0e10cSrcweir static const sal_Int32 mso_sptBentConnector5Default[] =
8094cdf0e10cSrcweir {
8095cdf0e10cSrcweir 	3, 10800, 10800, 10800
8096cdf0e10cSrcweir };
8097cdf0e10cSrcweir static const SvxMSDffHandle mso_sptBentConnector5Handle[] =
8098cdf0e10cSrcweir {
8099cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8100*e5cfc9caSHerbert Dürr 		0x100, 5 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 5 + 3, 5 + 3 },
8101cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
8102*e5cfc9caSHerbert Dürr 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, Mx80000000, 0x7fffffff },
8103cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8104*e5cfc9caSHerbert Dürr 		0x102, 7 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 7 + 3, 7 + 3 }
8105cdf0e10cSrcweir };
8106cdf0e10cSrcweir static const mso_CustomShape msoBentConnector5 =
8107cdf0e10cSrcweir {
8108cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptBentConnector5Vert, sizeof( mso_sptBentConnector5Vert ) / sizeof( SvxMSDffVertPair ),
8109cdf0e10cSrcweir 	(sal_uInt16*)mso_sptBentConnector5Segm, sizeof( mso_sptBentConnector5Segm ) >> 1,
8110cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptBentConnector5Calc, sizeof( mso_sptBentConnector5Calc ) / sizeof( SvxMSDffCalculationData ),
8111cdf0e10cSrcweir 	(sal_Int32*)mso_sptBentConnector5Default,
8112cdf0e10cSrcweir 	NULL, 0,
8113cdf0e10cSrcweir 	21600, 21600,
8114*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8115cdf0e10cSrcweir 	NULL, 0,
8116cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptBentConnector5Handle, sizeof( mso_sptBentConnector5Handle ) / sizeof( SvxMSDffHandle )
8117cdf0e10cSrcweir };
8118cdf0e10cSrcweir 
8119cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector2Vert[] =
8120cdf0e10cSrcweir {
8121cdf0e10cSrcweir 	{ 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 }
8122cdf0e10cSrcweir };
8123cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector2Segm[] =
8124cdf0e10cSrcweir {
8125cdf0e10cSrcweir 	0x4000, 0x2001, 0x8000
8126cdf0e10cSrcweir };
8127cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector2 =
8128cdf0e10cSrcweir {
8129cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector2Vert, sizeof( mso_sptCurvedConnector2Vert ) / sizeof( SvxMSDffVertPair ),
8130cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector2Segm, sizeof( mso_sptCurvedConnector2Segm ) >> 1,
8131cdf0e10cSrcweir 	(SvxMSDffCalculationData*)NULL, 0,
8132cdf0e10cSrcweir 	(sal_Int32*)NULL,
8133cdf0e10cSrcweir 	NULL, 0,
8134cdf0e10cSrcweir 	21600, 21600,
8135*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8136cdf0e10cSrcweir 	NULL, 0,
8137cdf0e10cSrcweir 	(SvxMSDffHandle*)NULL, 0
8138cdf0e10cSrcweir };
8139cdf0e10cSrcweir 
8140cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector3Vert[] =
8141cdf0e10cSrcweir {
8142cdf0e10cSrcweir 	{ 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 5400 }, { 0 MSO_I, 10800 }, { 0 MSO_I, 16200 }, { 3 MSO_I, 21600 }, { 21600, 21600 }
8143cdf0e10cSrcweir };
8144cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector3Segm[] =
8145cdf0e10cSrcweir {
8146cdf0e10cSrcweir 	0x4000, 0x2002, 0x8000
8147cdf0e10cSrcweir };
8148cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc[] =
8149cdf0e10cSrcweir {
8150cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
8151cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
8152cdf0e10cSrcweir 	{ 0x2000, { 0x400, 21600, 0 } },
8153cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } }
8154cdf0e10cSrcweir };
8155cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector3Default[] =
8156cdf0e10cSrcweir {
8157cdf0e10cSrcweir 	1, 10800
8158cdf0e10cSrcweir };
8159cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] =
8160cdf0e10cSrcweir {
8161cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE,
8162*e5cfc9caSHerbert Dürr 		0x100, 10800, 10800, 10800, Mx80000000, 0x7fffffff, Mx80000000, 0x7fffffff }
8163cdf0e10cSrcweir };
8164cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector3 =
8165cdf0e10cSrcweir {
8166cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector3Vert, sizeof( mso_sptCurvedConnector3Vert ) / sizeof( SvxMSDffVertPair ),
8167cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector3Segm, sizeof( mso_sptCurvedConnector3Segm ) >> 1,
8168cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector3Calc, sizeof( mso_sptCurvedConnector3Calc ) / sizeof( SvxMSDffCalculationData ),
8169cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector3Default,
8170cdf0e10cSrcweir 	NULL, 0,
8171cdf0e10cSrcweir 	21600, 21600,
8172*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8173cdf0e10cSrcweir 	NULL, 0,
8174cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector3Handle, sizeof( mso_sptCurvedConnector3Handle ) / sizeof( SvxMSDffHandle )
8175cdf0e10cSrcweir };
8176cdf0e10cSrcweir 
8177cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector4Vert[] =
8178cdf0e10cSrcweir {
8179cdf0e10cSrcweir 	{ 0, 0 }, { 1 MSO_I, 0 }, { 0 MSO_I, 10 MSO_I }, { 0 MSO_I, 9 MSO_I },
8180cdf0e10cSrcweir 	{ 0 MSO_I, 12 MSO_I }, { 5 MSO_I, 8 MSO_I }, { 3 MSO_I, 8 MSO_I },
8181cdf0e10cSrcweir 	{ 7 MSO_I, 8 MSO_I }, { 21600, 14 MSO_I }, { 21600, 21600 }
8182cdf0e10cSrcweir 
8183cdf0e10cSrcweir };
8184cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector4Segm[] =
8185cdf0e10cSrcweir {
8186cdf0e10cSrcweir 	0x4000, 0x2003, 0x8000
8187cdf0e10cSrcweir };
8188cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc[] =
8189cdf0e10cSrcweir {
8190cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
8191cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } },
8192cdf0e10cSrcweir 	{ 0x4000, { 21600, 0x400, 0 } },
8193cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
8194cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x403, 0 } },
8195cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
8196cdf0e10cSrcweir 	{ 0x2000, { 0x403, 21600, 0 } },
8197cdf0e10cSrcweir 	{ 0x2001, { 0x406, 1, 2 } },
8198cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
8199cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjust2Value, 1, 2 } },
8200cdf0e10cSrcweir 	{ 0x2001, { DFF_Prop_adjust2Value, 1, 4 } },
8201cdf0e10cSrcweir 	{ 0x6000, { 0x408, 0x409, 0 } },
8202cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 1, 2 } },
8203cdf0e10cSrcweir 	{ 0x2000, { 0x408, 21600, 0 } },
8204cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } }
8205cdf0e10cSrcweir };
8206cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector4Default[] =
8207cdf0e10cSrcweir {
8208cdf0e10cSrcweir 	2, 10800, 10800
8209cdf0e10cSrcweir };
8210cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] =
8211cdf0e10cSrcweir {
8212cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8213*e5cfc9caSHerbert Dürr 		0x100, 9 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 9 + 3, 9 + 3 },
8214cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
8215*e5cfc9caSHerbert Dürr 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, Mx80000000, 0x7fffffff }
8216cdf0e10cSrcweir };
8217cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector4 =
8218cdf0e10cSrcweir {
8219cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector4Vert, sizeof( mso_sptCurvedConnector4Vert ) / sizeof( SvxMSDffVertPair ),
8220cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector4Segm, sizeof( mso_sptCurvedConnector4Segm ) >> 1,
8221cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector4Calc, sizeof( mso_sptCurvedConnector4Calc ) / sizeof( SvxMSDffCalculationData ),
8222cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector4Default,
8223cdf0e10cSrcweir 	NULL, 0,
8224cdf0e10cSrcweir 	21600, 21600,
8225*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8226cdf0e10cSrcweir 	NULL, 0,
8227cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector4Handle, sizeof( mso_sptCurvedConnector4Handle ) / sizeof( SvxMSDffHandle )
8228cdf0e10cSrcweir };
8229cdf0e10cSrcweir 
8230cdf0e10cSrcweir static const SvxMSDffVertPair mso_sptCurvedConnector5Vert[] =
8231cdf0e10cSrcweir {
8232cdf0e10cSrcweir 	{ 0, 0 },
8233cdf0e10cSrcweir 	{ 21 MSO_I, 0 }, { 0 MSO_I, 12 MSO_I }, { 0 MSO_I, 11 MSO_I },
8234cdf0e10cSrcweir 	{ 0 MSO_I, 14 MSO_I }, { 6 MSO_I, 4 MSO_I }, { 3 MSO_I, 4 MSO_I },
8235cdf0e10cSrcweir 	{ 8 MSO_I, 4 MSO_I }, { 1 MSO_I, 18 MSO_I }, { 1 MSO_I, 16 MSO_I },
8236cdf0e10cSrcweir 	{ 1 MSO_I, 20 MSO_I }, { 10 MSO_I, 21600 }, { 21600, 21600 }
8237cdf0e10cSrcweir };
8238cdf0e10cSrcweir static const sal_uInt16 mso_sptCurvedConnector5Segm[] =
8239cdf0e10cSrcweir {
8240cdf0e10cSrcweir 	0x4000, 0x2004, 0x8000
8241cdf0e10cSrcweir };
8242cdf0e10cSrcweir static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc[] =
8243cdf0e10cSrcweir {
8244cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjustValue, 0, 0 } },
8245cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust3Value, 0, 0 } },
8246cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x401, 0 } },
8247cdf0e10cSrcweir 	{ 0x2001, { 0x402, 1, 2 } },
8248cdf0e10cSrcweir 	{ 0x2000, { DFF_Prop_adjust2Value, 0, 0 } },
8249cdf0e10cSrcweir 	{ 0x6000, { 0x400, 0x403, 0 } },
8250cdf0e10cSrcweir 	{ 0x2001, { 0x405, 1, 2 } },
8251cdf0e10cSrcweir 	{ 0x6000, { 0x401, 0x403, 0 } },
8252cdf0e10cSrcweir 	{ 0x2001, { 0x407, 1, 2 } },
8253cdf0e10cSrcweir 	{ 0x2000, { 0x401, 21600, 0 } },
8254cdf0e10cSrcweir 	{ 0x2001, { 0x409, 1, 2 } },
8255cdf0e10cSrcweir 	{ 0x2001, { 0x404, 1, 2 } },
8256cdf0e10cSrcweir 	{ 0x2001, { 0x40b, 1, 2 } },
8257cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x40b, 0 } },
8258cdf0e10cSrcweir 	{ 0x2001, { 0x40d, 1, 2 } },
8259cdf0e10cSrcweir 	{ 0x2000, { 0x404, 21600, 0 } },
8260cdf0e10cSrcweir 	{ 0x2001, { 0x40f, 1, 2 } },
8261cdf0e10cSrcweir 	{ 0x6000, { 0x404, 0x410, 0 } },
8262cdf0e10cSrcweir 	{ 0x2001, { 0x411, 1, 2 } },
8263cdf0e10cSrcweir 	{ 0x2000, { 0x410, 21600, 0 } },
8264cdf0e10cSrcweir 	{ 0x2001, { 0x413, 1, 2 } },
8265cdf0e10cSrcweir 	{ 0x2001, { 0x400, 1, 2 } }
8266cdf0e10cSrcweir };
8267cdf0e10cSrcweir static const sal_Int32 mso_sptCurvedConnector5Default[] =
8268cdf0e10cSrcweir {
8269cdf0e10cSrcweir 	3, 10800, 10800, 10800
8270cdf0e10cSrcweir };
8271cdf0e10cSrcweir static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] =
8272cdf0e10cSrcweir {
8273cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8274*e5cfc9caSHerbert Dürr 		0x100, 11 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 11 + 3, 11 + 3 },
8275cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
8276*e5cfc9caSHerbert Dürr 		3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, Mx80000000, 0x7fffffff },
8277cdf0e10cSrcweir 	{	MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
8278*e5cfc9caSHerbert Dürr 		0x102, 16 + 3, 10800, 10800, Mx80000000, 0x7fffffff, 16 + 3, 16 + 3 }
8279cdf0e10cSrcweir };
8280cdf0e10cSrcweir static const mso_CustomShape msoCurvedConnector5 =
8281cdf0e10cSrcweir {
8282cdf0e10cSrcweir 	(SvxMSDffVertPair*)mso_sptCurvedConnector5Vert, sizeof( mso_sptCurvedConnector5Vert ) / sizeof( SvxMSDffVertPair ),
8283cdf0e10cSrcweir 	(sal_uInt16*)mso_sptCurvedConnector5Segm, sizeof( mso_sptCurvedConnector5Segm ) >> 1,
8284cdf0e10cSrcweir 	(SvxMSDffCalculationData*)mso_sptCurvedConnector5Calc, sizeof( mso_sptCurvedConnector5Calc ) / sizeof( SvxMSDffCalculationData ),
8285cdf0e10cSrcweir 	(sal_Int32*)mso_sptCurvedConnector5Default,
8286cdf0e10cSrcweir 	NULL, 0,
8287cdf0e10cSrcweir 	21600, 21600,
8288*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8289cdf0e10cSrcweir 	NULL, 0,
8290cdf0e10cSrcweir 	(SvxMSDffHandle*)mso_sptCurvedConnector5Handle, sizeof( mso_sptCurvedConnector5Handle ) / sizeof( SvxMSDffHandle )
8291cdf0e10cSrcweir };
8292cdf0e10cSrcweir 
8293129ba977SZhe Wang /////////////////////////////teardrop////////////////////////////////////////////
8294129ba977SZhe Wang static const SvxMSDffVertPair mso_sptTearDropVert[] =
8295129ba977SZhe Wang {
8296129ba977SZhe Wang 	{ 10800, 0 },
8297129ba977SZhe Wang 	{ 0, 10800 },												    // X
8298129ba977SZhe Wang 	{ 10800, 21600 },                                               // Y
8299129ba977SZhe Wang 	{ 21600, 10800 },                                               // X
8300129ba977SZhe Wang 	{ 21600, 10800 }, { 21600, 3 MSO_I }, { 0 MSO_I, 1 MSO_I },  			// C
8301129ba977SZhe Wang 	{ 0 MSO_I, 1 MSO_I }, { 4 MSO_I, 0 }, { 10800, 0 }
8302129ba977SZhe Wang };
8303129ba977SZhe Wang 
8304129ba977SZhe Wang //	the last number (0x***n)  :  0 = sum, 1 = prod, 2 = mid, 3 = abs, 4 = min, 5 = max, 6 = if, 13 = sqrt, 15 = eclipse ...
8305129ba977SZhe Wang //    the first number(0xn***)  :  2/4/8 the first/second/third value is not directly value
8306129ba977SZhe Wang static const SvxMSDffCalculationData mso_sptTearDropCalc[] =
8307129ba977SZhe Wang {
8308129ba977SZhe Wang 	{ 0x2000 , { DFF_Prop_adjustValue , 0 , 0 } },  // 0  adjust value #0
8309129ba977SZhe Wang 	{ 0x8000 , { 21600 , 0 , 0x0400 } }, 			// 1  21600 - @0                     y0
8310129ba977SZhe Wang 	{ 0x8000 , { 32400 , 0 , 0x0400 } },            // 2   (32400 - @0)
8311129ba977SZhe Wang 	{ 0x2001 , { 0x0402 , 1 , 2 } },                // 3   (32400 - @0)/2               y1
8312129ba977SZhe Wang 	{ 0x2002 , { 0x0400 , 10800 , 0 } }, 			// 4  (@0+10800)/2                  x2
8313129ba977SZhe Wang };
8314129ba977SZhe Wang 
8315129ba977SZhe Wang //m, qx, qy, qx,C,C
8316129ba977SZhe Wang //the last number(0x***n) : repeat number of this current Segm
8317129ba977SZhe Wang static const sal_uInt16 mso_sptTearDropSegm[] =
8318129ba977SZhe Wang {
8319129ba977SZhe Wang 	0x4000, 0xa701, 0xa801, 0xa701, 0x2002, 0x6000, 0x8000
8320129ba977SZhe Wang };
8321129ba977SZhe Wang 
8322129ba977SZhe Wang static const SvxMSDffTextRectangles mso_sptTearDropTextRect[] =
8323129ba977SZhe Wang {
8324129ba977SZhe Wang 	{ { 2863, 2863 }, { 18737, 18737 } }
8325129ba977SZhe Wang };
8326129ba977SZhe Wang 
8327129ba977SZhe Wang //the range of adjust values
8328129ba977SZhe Wang static const SvxMSDffHandle mso_sptTearDropHandle[] =
8329129ba977SZhe Wang {
8330129ba977SZhe Wang 	//position="$0,0" xrange="10800,32400"
8331129ba977SZhe Wang 	{   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
8332*e5cfc9caSHerbert Dürr 		0x100, 0, 10800, 10800, 10800, 32400, Mx80000000, 0x7fffffff }
8333129ba977SZhe Wang };
8334129ba977SZhe Wang 
8335129ba977SZhe Wang //the number of adjust values, the default values
8336129ba977SZhe Wang static const sal_Int32 mso_sptTearDropDefault[] =
8337129ba977SZhe Wang {
8338129ba977SZhe Wang 	1, 21600
8339129ba977SZhe Wang };
8340129ba977SZhe Wang 
8341129ba977SZhe Wang static const mso_CustomShape msoTearDrop =
8342129ba977SZhe Wang {
8343129ba977SZhe Wang 	(SvxMSDffVertPair*)mso_sptTearDropVert, sizeof( mso_sptTearDropVert ) / sizeof( SvxMSDffVertPair ),
8344129ba977SZhe Wang 	(sal_uInt16*)mso_sptTearDropSegm, sizeof( mso_sptTearDropSegm ) >> 1,
8345129ba977SZhe Wang 	(SvxMSDffCalculationData*)mso_sptTearDropCalc, sizeof(mso_sptTearDropCalc)/sizeof(SvxMSDffCalculationData),
8346129ba977SZhe Wang 	(sal_Int32*)mso_sptTearDropDefault,
8347129ba977SZhe Wang 	(SvxMSDffTextRectangles*)mso_sptTearDropTextRect, sizeof( mso_sptTearDropTextRect ) / sizeof( SvxMSDffTextRectangles ),
8348129ba977SZhe Wang 	21600, 21600,
8349*e5cfc9caSHerbert Dürr 	Mx80000000, Mx80000000,
8350129ba977SZhe Wang 	NULL, 0,
8351129ba977SZhe Wang 	(SvxMSDffHandle*)mso_sptTearDropHandle, sizeof(mso_sptTearDropHandle)/sizeof(SvxMSDffHandle)		// handles
8352129ba977SZhe Wang };
8353129ba977SZhe Wang 
8354129ba977SZhe Wang 
GetCustomShapeContent(MSO_SPT eSpType)8355cdf0e10cSrcweir const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType )
8356cdf0e10cSrcweir {
8357cdf0e10cSrcweir 	const mso_CustomShape* pCustomShape = NULL;
8358cdf0e10cSrcweir 	switch( eSpType )
8359cdf0e10cSrcweir 	{
8360cdf0e10cSrcweir 		case mso_sptArc :						pCustomShape = &msoArc; break;
836139b9b168SArmin Le Grand 		case mso_sptLine:						pCustomShape = &msoStraightConnector1; break;
8362cdf0e10cSrcweir 		case mso_sptRectangle :					pCustomShape = &msoRectangle; break;
8363cdf0e10cSrcweir 		case mso_sptParallelogram :				pCustomShape = &msoParallelogram; break;
8364cdf0e10cSrcweir 		case mso_sptTrapezoid :					pCustomShape = &msoTrapezoid; break;
8365cdf0e10cSrcweir 		case mso_sptDiamond :					pCustomShape = &msoDiamond; break;
8366cdf0e10cSrcweir 		case mso_sptRoundRectangle :			pCustomShape = &msoRoundRectangle; break;
8367cdf0e10cSrcweir 		case mso_sptOctagon :					pCustomShape = &msoOctagon; break;
8368cdf0e10cSrcweir 		case mso_sptIsocelesTriangle :			pCustomShape = &msoIsocelesTriangle; break;
8369cdf0e10cSrcweir 		case mso_sptRightTriangle :				pCustomShape = &msoRightTriangle; break;
8370cdf0e10cSrcweir 		case mso_sptEllipse :					pCustomShape = &msoEllipse; break;
8371cdf0e10cSrcweir 		case mso_sptHexagon :					pCustomShape = &msoHexagon; break;
8372cdf0e10cSrcweir 		case mso_sptPlus :						pCustomShape = &msoPlus; break;
8373cdf0e10cSrcweir 		case mso_sptPentagon :					pCustomShape = &msoPentagon; break;
8374cdf0e10cSrcweir 		case mso_sptCan :						pCustomShape = &msoCan; break;
8375cdf0e10cSrcweir 		case mso_sptCube :						pCustomShape = &msoCube; break;
8376cdf0e10cSrcweir 		case mso_sptBalloon :					pCustomShape = &msoBalloon; break;
8377cdf0e10cSrcweir 		case mso_sptActionButtonBlank :			pCustomShape = &msoActionButtonBlank; break;
8378cdf0e10cSrcweir 		case mso_sptActionButtonHome :			pCustomShape = &msoActionButtonHome; break;
8379cdf0e10cSrcweir 		case mso_sptActionButtonHelp :			pCustomShape = &msoActionButtonHelp; break;
8380cdf0e10cSrcweir 		case mso_sptActionButtonInformation :	pCustomShape = &msoActionButtonInformation; break;
8381cdf0e10cSrcweir 		case mso_sptActionButtonBackPrevious :	pCustomShape = &msoActionButtonBackPrevious; break;
8382cdf0e10cSrcweir 		case mso_sptActionButtonForwardNext :	pCustomShape = &msoActionButtonForwardNext; break;
8383cdf0e10cSrcweir 		case mso_sptActionButtonBeginning :		pCustomShape = &msoActionButtonBeginning; break;
8384cdf0e10cSrcweir 		case mso_sptActionButtonEnd :			pCustomShape = &msoActionButtonEnd; break;
8385cdf0e10cSrcweir 		case mso_sptActionButtonReturn :		pCustomShape = &msoActionButtonReturn;	break;
8386cdf0e10cSrcweir 		case mso_sptActionButtonDocument :		pCustomShape = &msoActionButtonDocument; break;
8387cdf0e10cSrcweir 		case mso_sptActionButtonSound :			pCustomShape = &msoActionButtonSound; break;
8388cdf0e10cSrcweir 		case mso_sptActionButtonMovie :			pCustomShape = &msoActionButtonMovie; break;
8389cdf0e10cSrcweir 		case mso_sptBevel :						pCustomShape = &msoBevel; break;
8390cdf0e10cSrcweir 		case mso_sptFoldedCorner :				pCustomShape = &msoFoldedCorner; break;
8391cdf0e10cSrcweir 		case mso_sptSmileyFace :				pCustomShape = &msoSmileyFace;	break;
8392cdf0e10cSrcweir 		case mso_sptDonut :						pCustomShape = &msoDonut; break;
8393cdf0e10cSrcweir 		case mso_sptNoSmoking :					pCustomShape = &msoNoSmoking; break;
8394cdf0e10cSrcweir 		case mso_sptBlockArc :					pCustomShape = &msoBlockArc; break;
8395cdf0e10cSrcweir 		case mso_sptHeart :						pCustomShape = &msoHeart; break;
8396cdf0e10cSrcweir 		case mso_sptLightningBolt :				pCustomShape = &msoLightningBold; break;
8397cdf0e10cSrcweir 		case mso_sptSun	:						pCustomShape = &msoSun; break;
8398cdf0e10cSrcweir 		case mso_sptMoon :						pCustomShape = &msoMoon; break;
8399cdf0e10cSrcweir 		case mso_sptBracketPair :				pCustomShape = &msoBracketPair; break;
8400cdf0e10cSrcweir 		case mso_sptBracePair :					pCustomShape = &msoBracePair; break;
8401cdf0e10cSrcweir 		case mso_sptPlaque :					pCustomShape = &msoPlaque; break;
8402cdf0e10cSrcweir 		case mso_sptLeftBracket :				pCustomShape = &msoLeftBracket; break;
8403cdf0e10cSrcweir 		case mso_sptRightBracket :				pCustomShape = &msoRightBracket; break;
8404cdf0e10cSrcweir 		case mso_sptLeftBrace :					pCustomShape = &msoLeftBrace; break;
8405cdf0e10cSrcweir 		case mso_sptRightBrace :				pCustomShape = &msoRightBrace; break;
8406cdf0e10cSrcweir 		case mso_sptArrow :						pCustomShape = &msoArrow; break;
8407cdf0e10cSrcweir 		case mso_sptUpArrow :					pCustomShape = &msoUpArrow; break;
8408cdf0e10cSrcweir 		case mso_sptDownArrow :					pCustomShape = &msoDownArrow; break;
8409cdf0e10cSrcweir 		case mso_sptLeftArrow :					pCustomShape = &msoLeftArrow; break;
8410cdf0e10cSrcweir 		case mso_sptLeftRightArrow :			pCustomShape = &msoLeftRightArrow; break;
8411cdf0e10cSrcweir 		case mso_sptUpDownArrow :				pCustomShape = &msoUpDownArrow; break;
8412cdf0e10cSrcweir 		case mso_sptQuadArrow :					pCustomShape = &msoQuadArrow; break;
8413cdf0e10cSrcweir 		case mso_sptLeftRightUpArrow :			pCustomShape = &msoLeftRightUpArrow; break;
8414cdf0e10cSrcweir 		case mso_sptBentArrow :					pCustomShape = &msoBentArrow; break;
8415cdf0e10cSrcweir 		case mso_sptUturnArrow :				pCustomShape = &msoUturnArrow; break;
8416cdf0e10cSrcweir 		case mso_sptLeftUpArrow :				pCustomShape = &msoLeftUpArrow; break;
8417cdf0e10cSrcweir 		case mso_sptBentUpArrow :				pCustomShape = &msoBentUpArrow; break;
8418cdf0e10cSrcweir 		case mso_sptCurvedRightArrow :			pCustomShape = &msoCurvedRightArrow; break;
8419cdf0e10cSrcweir 		case mso_sptCurvedLeftArrow :			pCustomShape = &msoCurvedLeftArrow; break;
8420cdf0e10cSrcweir 		case mso_sptCurvedUpArrow :				pCustomShape = &msoCurvedUpArrow; break;
8421cdf0e10cSrcweir 		case mso_sptCurvedDownArrow :			pCustomShape = &msoCurvedDownArrow; break;
8422cdf0e10cSrcweir 		case mso_sptStripedRightArrow :			pCustomShape = &msoStripedRightArrow; break;
8423cdf0e10cSrcweir 		case mso_sptNotchedRightArrow :			pCustomShape = &msoNotchedRightArrow; break;
8424cdf0e10cSrcweir 		case mso_sptHomePlate :					pCustomShape = &msoHomePlate; break;
8425cdf0e10cSrcweir 		case mso_sptChevron :					pCustomShape = &msoChevron; break;
8426cdf0e10cSrcweir 		case mso_sptRightArrowCallout :			pCustomShape = &msoRightArrowCallout; break;
8427cdf0e10cSrcweir 		case mso_sptLeftArrowCallout :			pCustomShape = &msoLeftArrowCallout; break;
8428cdf0e10cSrcweir 		case mso_sptUpArrowCallout :			pCustomShape = &msoUpArrowCallout; break;
8429cdf0e10cSrcweir 		case mso_sptDownArrowCallout :			pCustomShape = &msoDownArrowCallout; break;
8430cdf0e10cSrcweir 		case mso_sptLeftRightArrowCallout :		pCustomShape = &msoLeftRightArrowCallout; break;
8431cdf0e10cSrcweir 		case mso_sptUpDownArrowCallout :		pCustomShape = &msoUpDownArrowCallout; break;
8432cdf0e10cSrcweir 		case mso_sptQuadArrowCallout :			pCustomShape = &msoQuadArrowCallout; break;
8433cdf0e10cSrcweir 		case mso_sptCircularArrow :				pCustomShape = &msoCircularArrow; break;
8434cdf0e10cSrcweir 		case mso_sptIrregularSeal1 :			pCustomShape = &msoIrregularSeal1; break;
8435cdf0e10cSrcweir 		case mso_sptIrregularSeal2 :			pCustomShape = &msoIrregularSeal2; break;
8436cdf0e10cSrcweir 		case mso_sptSeal4 :						pCustomShape = &msoSeal4; break;
8437cdf0e10cSrcweir 		case mso_sptStar :						pCustomShape = &msoStar; break;
8438cdf0e10cSrcweir 		case mso_sptSeal8 :						pCustomShape = &msoSeal8; break;
8439cdf0e10cSrcweir 		case mso_sptSeal :
8440cdf0e10cSrcweir 		case mso_sptSeal16 :					pCustomShape = &msoSeal16; break;
8441cdf0e10cSrcweir 		case mso_sptSeal24 :					pCustomShape = &msoSeal24; break;
8442cdf0e10cSrcweir 		case mso_sptSeal32 :					pCustomShape = &msoSeal32; break;
8443cdf0e10cSrcweir 		case mso_sptRibbon2 :					pCustomShape = &msoRibbon2; break;
8444cdf0e10cSrcweir 		case mso_sptRibbon :					pCustomShape = &msoRibbon; break;
84454d2151e5SArmin Le Grand 		case mso_sptEllipseRibbon2 :			pCustomShape = &msosptEllipseRibbon2; break;	// SJ: TODO
84464d2151e5SArmin Le Grand 		case mso_sptEllipseRibbon :				pCustomShape = &msosptEllipseRibbon; break;	// SJ: TODO
8447cdf0e10cSrcweir 		case mso_sptVerticalScroll :			pCustomShape = &msoVerticalScroll;	break;
8448cdf0e10cSrcweir 		case mso_sptHorizontalScroll :			pCustomShape = &msoHorizontalScroll; break;
8449cdf0e10cSrcweir 		case mso_sptFlowChartProcess :			pCustomShape = &msoFlowChartProcess; break;
8450cdf0e10cSrcweir 		case mso_sptFlowChartAlternateProcess :	pCustomShape = &msoFlowChartAlternateProcess; break;
8451cdf0e10cSrcweir 		case mso_sptFlowChartDecision :			pCustomShape = &msoFlowChartDecision; break;
8452cdf0e10cSrcweir 		case mso_sptFlowChartInputOutput :		pCustomShape = &msoFlowChartInputOutput; break;
8453cdf0e10cSrcweir 		case mso_sptFlowChartPredefinedProcess :pCustomShape = &msoFlowChartPredefinedProcess; break;
8454cdf0e10cSrcweir 		case mso_sptFlowChartInternalStorage :	pCustomShape = &msoFlowChartInternalStorage; break;
8455cdf0e10cSrcweir 		case mso_sptFlowChartDocument :			pCustomShape = &msoFlowChartDocument; break;
8456cdf0e10cSrcweir 		case mso_sptFlowChartMultidocument :	pCustomShape = &msoFlowChartMultidocument; break;
8457cdf0e10cSrcweir 		case mso_sptFlowChartTerminator :		pCustomShape = &msoFlowChartTerminator; break;
8458cdf0e10cSrcweir 		case mso_sptFlowChartPreparation :		pCustomShape = &msoFlowChartPreparation; break;
8459cdf0e10cSrcweir 		case mso_sptFlowChartManualInput :		pCustomShape = &msoFlowChartManualInput; break;
8460cdf0e10cSrcweir 		case mso_sptFlowChartManualOperation :	pCustomShape = &msoFlowChartManualOperation; break;
8461cdf0e10cSrcweir 		case mso_sptFlowChartConnector :		pCustomShape = &msoFlowChartConnector; break;
8462cdf0e10cSrcweir 		case mso_sptFlowChartOffpageConnector : pCustomShape = &msoFlowChartOffpageConnector; break;
8463cdf0e10cSrcweir 		case mso_sptFlowChartPunchedCard :		pCustomShape = &msoFlowChartPunchedCard; break;
8464cdf0e10cSrcweir 		case mso_sptFlowChartPunchedTape :		pCustomShape = &msoFlowChartPunchedTape; break;
8465cdf0e10cSrcweir 		case mso_sptFlowChartSummingJunction :	pCustomShape = &msoFlowChartSummingJunction; break;
8466cdf0e10cSrcweir 		case mso_sptFlowChartOr :				pCustomShape = &msoFlowChartOr; break;
8467cdf0e10cSrcweir 		case mso_sptFlowChartCollate :			pCustomShape = &msoFlowChartCollate; break;
8468cdf0e10cSrcweir 		case mso_sptFlowChartSort :				pCustomShape = &msoFlowChartSort; break;
8469cdf0e10cSrcweir 		case mso_sptFlowChartExtract :			pCustomShape = &msoFlowChartExtract; break;
8470cdf0e10cSrcweir 		case mso_sptFlowChartMerge :			pCustomShape = &msoFlowChartMerge; break;
8471cdf0e10cSrcweir 		case mso_sptFlowChartOnlineStorage :	pCustomShape = &msoFlowChartOnlineStorage; break;
8472cdf0e10cSrcweir 		case mso_sptFlowChartDelay :			pCustomShape = &msoFlowChartDelay; break;
8473cdf0e10cSrcweir 		case mso_sptFlowChartMagneticTape :		pCustomShape = &msoFlowChartMagneticTape; break;
8474cdf0e10cSrcweir 		case mso_sptFlowChartMagneticDisk :		pCustomShape = &msoFlowChartMagneticDisk; break;
8475cdf0e10cSrcweir 		case mso_sptFlowChartMagneticDrum :		pCustomShape = &msoFlowChartMagneticDrum; break;
8476cdf0e10cSrcweir 		case mso_sptFlowChartDisplay :			pCustomShape = &msoFlowChartDisplay; break;
8477cdf0e10cSrcweir 		case mso_sptWedgeRectCallout :			pCustomShape = &msoWedgeRectCallout; break;
8478cdf0e10cSrcweir 		case mso_sptWedgeRRectCallout :			pCustomShape = &msoWedgeRRectCallout; break;
8479cdf0e10cSrcweir 		case mso_sptWedgeEllipseCallout :		pCustomShape = &msoWedgeEllipseCallout; break;
8480cdf0e10cSrcweir 		case mso_sptCloudCallout :				pCustomShape = &msoCloudCallout; break;
8481cdf0e10cSrcweir 		case mso_sptWave :						pCustomShape = &msoWave; break;
8482cdf0e10cSrcweir 		case mso_sptDoubleWave :				pCustomShape = &msoDoubleWave; break;
8483cdf0e10cSrcweir 
8484cdf0e10cSrcweir 		// callout
8485cdf0e10cSrcweir 		case mso_sptCallout1 :					pCustomShape = &msoCallout1; break;
8486cdf0e10cSrcweir 		case mso_sptCallout2 :					pCustomShape = &msoCallout2; break;
8487cdf0e10cSrcweir 		case mso_sptCallout3 :					pCustomShape = &msoCallout3; break;
8488cdf0e10cSrcweir 		case mso_sptAccentCallout1 :			pCustomShape = &msoAccentCallout1; break;
8489cdf0e10cSrcweir 		case mso_sptAccentCallout2 :			pCustomShape = &msoAccentCallout2; break;
8490cdf0e10cSrcweir 		case mso_sptAccentCallout3 :			pCustomShape = &msoAccentCallout3; break;
8491cdf0e10cSrcweir 		case mso_sptBorderCallout1 :			pCustomShape = &msoBorderCallout1; break;
8492cdf0e10cSrcweir 		case mso_sptBorderCallout2 :			pCustomShape = &msoBorderCallout2; break;
8493cdf0e10cSrcweir 		case mso_sptBorderCallout3 :			pCustomShape = &msoBorderCallout3; break;
8494cdf0e10cSrcweir 		case mso_sptAccentBorderCallout1 :		pCustomShape = &msoAccentBorderCallout1; break;
8495cdf0e10cSrcweir 		case mso_sptAccentBorderCallout2 :		pCustomShape = &msoAccentBorderCallout2; break;
8496cdf0e10cSrcweir 		case mso_sptAccentBorderCallout3 :		pCustomShape = &msoAccentBorderCallout3; break;
8497cdf0e10cSrcweir 		case mso_sptCallout90 :					pCustomShape = &msoCallout90; break;
8498cdf0e10cSrcweir 		case mso_sptAccentCallout90 :			pCustomShape = &msoAccentCallout90; break;
8499cdf0e10cSrcweir 		case mso_sptBorderCallout90 :			pCustomShape = &msoBorderCallout90; break;
8500cdf0e10cSrcweir 		case mso_sptAccentBorderCallout90 :		pCustomShape = &msoAccentBorderCallout90; break;
8501cdf0e10cSrcweir 
8502cdf0e10cSrcweir 		// connectors
8503cdf0e10cSrcweir 		case mso_sptStraightConnector1 :		pCustomShape = &msoStraightConnector1; break;
8504cdf0e10cSrcweir 		case mso_sptBentConnector2 :			pCustomShape = &msoBentConnector2; break;
8505cdf0e10cSrcweir 		case mso_sptBentConnector3 :			pCustomShape = &msoBentConnector3; break;
8506cdf0e10cSrcweir 		case mso_sptBentConnector4 :			pCustomShape = &msoBentConnector4; break;
8507cdf0e10cSrcweir 		case mso_sptBentConnector5 :			pCustomShape = &msoBentConnector5; break;
8508cdf0e10cSrcweir 		case mso_sptCurvedConnector2 :			pCustomShape = &msoCurvedConnector2; break;
8509cdf0e10cSrcweir 		case mso_sptCurvedConnector3 :			pCustomShape = &msoCurvedConnector3; break;
8510cdf0e10cSrcweir 		case mso_sptCurvedConnector4 :			pCustomShape = &msoCurvedConnector4; break;
8511cdf0e10cSrcweir 		case mso_sptCurvedConnector5 :			pCustomShape = &msoCurvedConnector5; break;
8512cdf0e10cSrcweir 
8513cdf0e10cSrcweir 		// Dont know, simply mapping to TextSimple
8514cdf0e10cSrcweir 		case mso_sptTextOnRing :
8515cdf0e10cSrcweir 		case mso_sptTextOnCurve :
8516cdf0e10cSrcweir 		case mso_sptTextRing :
8517cdf0e10cSrcweir 		case mso_sptTextWave :
8518cdf0e10cSrcweir 		case mso_sptTextCurve :
8519cdf0e10cSrcweir 		case mso_sptTextHexagon :
8520cdf0e10cSrcweir 		case mso_sptTextOctagon :
8521cdf0e10cSrcweir 		case mso_sptTextBox	:					pCustomShape = &msoTextSimple; break;
8522cdf0e10cSrcweir 
8523cdf0e10cSrcweir 		// FontWork
8524cdf0e10cSrcweir 		case mso_sptTextSimple :
8525cdf0e10cSrcweir 		case mso_sptTextPlainText :				pCustomShape = &msoTextPlainText; break;
8526cdf0e10cSrcweir 		case mso_sptTextStop :					pCustomShape = &msoTextStop; break;
8527cdf0e10cSrcweir 		case mso_sptTextTriangle :				pCustomShape = &msoTextTriangle; break;
8528cdf0e10cSrcweir 		case mso_sptTextTriangleInverted :		pCustomShape = &msoTextTriangleInverted; break;
8529cdf0e10cSrcweir 		case mso_sptTextChevron :				pCustomShape = &msoTextChevron; break;
8530cdf0e10cSrcweir 		case mso_sptTextChevronInverted :		pCustomShape = &msoTextChevronInverted; break;
853189e73156SSun Ying 		case mso_sptTextRingInside :			pCustomShape = &msoTextRingInside; break;	// SJ: TODO->the orientation of the ellipse needs to be changed
8532cdf0e10cSrcweir 		case mso_sptTextRingOutside :			pCustomShape = &msoTextRingOutside; break;
8533cdf0e10cSrcweir 		case mso_sptTextFadeRight :				pCustomShape = &msoTextFadeRight; break;
8534cdf0e10cSrcweir 		case mso_sptTextFadeLeft :				pCustomShape = &msoTextFadeLeft; break;
8535cdf0e10cSrcweir 		case mso_sptTextFadeUp :				pCustomShape = &msoTextFadeUp; break;
8536cdf0e10cSrcweir 		case mso_sptTextFadeDown :				pCustomShape = &msoTextFadeDown; break;
8537cdf0e10cSrcweir 		case mso_sptTextSlantUp :				pCustomShape = &msoTextSlantUp; break;
8538cdf0e10cSrcweir 		case mso_sptTextSlantDown :				pCustomShape = &msoTextSlantDown; break;
8539cdf0e10cSrcweir 		case mso_sptTextCascadeUp :				pCustomShape = &msoTextCascadeUp; break;
8540cdf0e10cSrcweir 		case mso_sptTextCascadeDown :			pCustomShape = &msoTextCascadeDown; break;
8541cdf0e10cSrcweir 		case mso_sptTextArchUpCurve :			pCustomShape = &msoTextArchUpCurve; break;
8542cdf0e10cSrcweir 		case mso_sptTextArchDownCurve :			pCustomShape = &msoTextArchDownCurve; break;
8543cdf0e10cSrcweir 		case mso_sptTextCircleCurve :			pCustomShape = &msoTextCircleCurve; break;
8544cdf0e10cSrcweir 		case mso_sptTextButtonCurve :			pCustomShape = &msoTextButtonCurve; break;
8545cdf0e10cSrcweir 		case mso_sptTextArchUpPour :			pCustomShape = &msoTextArchUpPour; break;
8546cdf0e10cSrcweir 		case mso_sptTextArchDownPour :			pCustomShape = &msoTextArchDownPour; break;
8547cdf0e10cSrcweir 		case mso_sptTextCirclePour :			pCustomShape = &msoTextCirclePour; break;
8548cdf0e10cSrcweir 		case mso_sptTextButtonPour :			pCustomShape = &msoTextButtonPour; break;
8549cdf0e10cSrcweir 		case mso_sptTextCurveUp :				pCustomShape = &msoTextCurveUp; break;
8550cdf0e10cSrcweir 		case mso_sptTextCurveDown :				pCustomShape = &msoTextCurveDown; break;
8551cdf0e10cSrcweir 		case mso_sptTextCanUp :					pCustomShape = &msoTextCanUp; break;
8552cdf0e10cSrcweir 		case mso_sptTextCanDown :				pCustomShape = &msoTextCanDown; break;
8553cdf0e10cSrcweir 		case mso_sptTextInflate :				pCustomShape = &msoTextInflate; break;
8554cdf0e10cSrcweir 		case mso_sptTextDeflate :				pCustomShape = &msoTextDeflate; break;
8555cdf0e10cSrcweir 		case mso_sptTextInflateBottom :			pCustomShape = &msoTextInflateBottom; break;
8556cdf0e10cSrcweir 		case mso_sptTextDeflateBottom :			pCustomShape = &msoTextDeflateBottom; break;
8557cdf0e10cSrcweir 		case mso_sptTextInflateTop :			pCustomShape = &msoTextInflateTop; break;
8558cdf0e10cSrcweir 		case mso_sptTextDeflateTop :			pCustomShape = &msoTextDeflateTop; break;
8559cdf0e10cSrcweir 		case mso_sptTextDeflateInflate :		pCustomShape = &msoTextDeflateInflate; break;
8560cdf0e10cSrcweir 		case mso_sptTextDeflateInflateDeflate :	pCustomShape = &msoTextDeflateInflateDeflate; break;
8561cdf0e10cSrcweir 		case mso_sptTextWave1 :					pCustomShape = &msoTextWave1; break;
8562cdf0e10cSrcweir 		case mso_sptTextWave2 :					pCustomShape = &msoTextWave2; break;
8563cdf0e10cSrcweir 		case mso_sptTextWave3 :					pCustomShape = &msoTextWave3; break;
8564cdf0e10cSrcweir 		case mso_sptTextWave4 :					pCustomShape = &msoTextWave4; break;
8565129ba977SZhe Wang 		case mso_sptTearDrop :                  pCustomShape = &msoTearDrop; break;
8566cdf0e10cSrcweir 		default :
8567cdf0e10cSrcweir 		break;
8568cdf0e10cSrcweir 	}
8569cdf0e10cSrcweir 	return pCustomShape;
8570cdf0e10cSrcweir }
8571