1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EnhancedCustomShapeGeometry.cxx,v $
10 * $Revision: 1.23.92.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_svx.hxx"
33 #include "EnhancedCustomShapeGeometry.hxx"
34 #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
36 static const SvxMSDffVertPair Vert[] =
40 static const sal_uInt16 Segm[] =
45 static const SvxMSDffCalculationData Calc[] =
49 static const sal_Int32 Default[] =
53 static const SvxMSDffTextRect TextRect[] =
55 { { 0, 0 }, { 0, 0 } }
57 static const mso_CustomShape mso =
59 (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
60 (sal_uInt16*)mso_sptSegm, sizeof( mso_sptSegm ) >> 1,
61 (SvxMSDffCalculationData*)mso_sptCalc, sizeof( mso_sptCalc ) / sizeof( SvxMSDffCalculationData ),
62 (sal_Int32*)mso_sptDefault,
63 (SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( SvxMSDffTextRectangles ),
65 0x80000000, 0x80000000,
66 (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
67 (SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles )
71 static const sal_Int32 mso_sptDefault0
[] =
75 static const sal_Int32 mso_sptDefault1400
[] =
79 static const sal_Int32 mso_sptDefault1800
[] =
83 static const sal_Int32 mso_sptDefault2500
[] =
87 static const sal_Int32 mso_sptDefault2700
[] =
91 static const sal_Int32 mso_sptDefault3600
[] =
95 static const sal_Int32 mso_sptDefault3700
[] =
99 static const sal_Int32 mso_sptDefault5400
[] =
103 static const sal_Int32 mso_sptDefault7200
[] =
107 static const sal_Int32 mso_sptDefault8100
[] =
111 static const sal_Int32 mso_sptDefault9600
[] =
115 static const sal_Int32 mso_sptDefault10800
[] =
119 static const sal_Int32 mso_sptDefault12000
[] =
123 static const sal_Int32 mso_sptDefault13500
[] =
127 static const sal_Int32 mso_sptDefault16200
[] =
131 static const sal_Int32 mso_sptDefault16200and5400
[] =
136 static const SvxMSDffVertPair mso_sptArcVert
[] =
138 { 0, 0 }, { 21600, 21600 }, { 3 MSO_I
, 1 MSO_I
}, { 7 MSO_I
, 5 MSO_I
}, { 10800, 10800 },
139 { 0, 0 }, { 21600, 21600 }, { 3 MSO_I
, 1 MSO_I
}, { 7 MSO_I
, 5 MSO_I
}
141 static const sal_uInt16 mso_sptArcSegm
[] =
143 0xa504, 0xab00, 0x0001, 0x6001, 0x8000,
144 0xa504, 0xaa00, 0x8000
146 static const SvxMSDffCalculationData mso_sptArcCalc
[] =
148 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
149 { 0x2000, { 0x400, 10800, 0 } },
150 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
151 { 0x2000, { 0x402, 10800, 0 } },
152 { 0x4009, { 10800, DFF_Prop_adjust2Value
, 0 } },
153 { 0x2000, { 0x404, 10800, 0 } },
154 { 0x400a, { 10800, DFF_Prop_adjust2Value
, 0 } },
155 { 0x2000, { 0x406, 10800, 0 } }
157 static const sal_Int32 mso_sptArcDefault
[] =
161 static const SvxMSDffVertPair mso_sptStandardGluePoints
[] =
163 { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
165 static const SvxMSDffHandle mso_sptArcHandle
[] =
167 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
168 10800, 0x100, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff },
169 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
170 10800, 0x101, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff }
172 static const mso_CustomShape msoArc
=
174 (SvxMSDffVertPair
*)mso_sptArcVert
, sizeof( mso_sptArcVert
) / sizeof( SvxMSDffVertPair
),
175 (sal_uInt16
*)mso_sptArcSegm
, sizeof( mso_sptArcSegm
) >> 1,
176 (SvxMSDffCalculationData
*)mso_sptArcCalc
, sizeof( mso_sptArcCalc
) / sizeof( SvxMSDffCalculationData
),
177 (sal_Int32
*)mso_sptArcDefault
,
180 0x80000000, 0x80000000,
182 (SvxMSDffHandle
*)mso_sptArcHandle
, sizeof( mso_sptArcHandle
) / sizeof( SvxMSDffHandle
) // handles
185 static const SvxMSDffVertPair mso_sptTextSimpleVert
[] =
187 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
189 static const mso_CustomShape msoTextSimple
=
191 (SvxMSDffVertPair
*)mso_sptTextSimpleVert
, sizeof( mso_sptTextSimpleVert
) / sizeof( SvxMSDffVertPair
),
197 0x80000000, 0x80000000,
202 static const SvxMSDffVertPair mso_sptRectangleVert
[] =
204 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
206 static const mso_CustomShape msoRectangle
=
208 (SvxMSDffVertPair
*)mso_sptRectangleVert
, sizeof( mso_sptRectangleVert
) / sizeof( SvxMSDffVertPair
),
214 0x80000000, 0x80000000,
219 static const SvxMSDffVertPair mso_sptRoundRectangleVert
[] = // adj value 0 -> 10800
221 { 7 MSO_I
, 0 }, { 0, 8 MSO_I
}, { 0, 9 MSO_I
}, { 7 MSO_I
, 21600 },
222 { 10 MSO_I
, 21600 }, { 21600, 9 MSO_I
}, { 21600, 8 MSO_I
}, { 10 MSO_I
, 0 }
224 static const sal_uInt16 mso_sptRoundRectangleSegm
[] =
226 0x4000, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x6000, 0x8000
228 static const SvxMSDffCalculationData mso_sptRoundRectangleCalc
[] =
230 { 0x000e, { 0, 45, 0 } },
231 { 0x6009, { DFF_Prop_adjustValue
, 0x400, 0 } },
232 { 0x2001, { 0x401, 3163, 7636 } },
233 { 0x6000, { DFF_Prop_geoLeft
, 0x402, 0 } },
234 { 0x6000, { DFF_Prop_geoTop
, 0x402, 0 } },
235 { 0xa000, { DFF_Prop_geoRight
, 0, 0x402 } },
236 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x402 } },
237 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
238 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
239 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
240 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} }
242 static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect
[] =
244 { { 3 MSO_I
, 4 MSO_I
}, { 5 MSO_I
, 6 MSO_I
} }
246 static const SvxMSDffHandle mso_sptRoundRectangleHandle
[] =
248 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
249 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
251 static const mso_CustomShape msoRoundRectangle
=
253 (SvxMSDffVertPair
*)mso_sptRoundRectangleVert
, sizeof( mso_sptRoundRectangleVert
) / sizeof( SvxMSDffVertPair
),
254 (sal_uInt16
*)mso_sptRoundRectangleSegm
, sizeof( mso_sptRoundRectangleSegm
) >> 1,
255 (SvxMSDffCalculationData
*)mso_sptRoundRectangleCalc
, sizeof( mso_sptRoundRectangleCalc
) / sizeof( SvxMSDffCalculationData
),
256 (sal_Int32
*)mso_sptDefault3600
,
257 (SvxMSDffTextRectangles
*)mso_sptRoundRectangleTextRect
, sizeof( mso_sptRoundRectangleTextRect
) / sizeof( SvxMSDffTextRectangles
),
261 (SvxMSDffHandle
*)mso_sptRoundRectangleHandle
, sizeof( mso_sptRoundRectangleHandle
) / sizeof( SvxMSDffHandle
) // handles
264 static const SvxMSDffVertPair mso_sptRightTriangleVert
[] =
266 { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
268 static const SvxMSDffTextRectangles mso_sptRightTriangleTextRect
[] =
270 { { 1900, 12700 }, { 12700, 19700 } }
272 static const SvxMSDffVertPair mso_sptRightTriangleGluePoints
[] =
274 { 10800, 0 }, { 5400, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 16200, 10800 }
276 static const mso_CustomShape msoRightTriangle
=
278 (SvxMSDffVertPair
*)mso_sptRightTriangleVert
, sizeof( mso_sptRightTriangleVert
) / sizeof( SvxMSDffVertPair
),
282 (SvxMSDffTextRectangles
*)mso_sptRightTriangleTextRect
, sizeof( mso_sptRightTriangleTextRect
) / sizeof( SvxMSDffTextRectangles
),
284 0x80000000, 0x80000000,
285 (SvxMSDffVertPair
*)mso_sptRightTriangleGluePoints
, sizeof( mso_sptRightTriangleGluePoints
) / sizeof( SvxMSDffVertPair
),
289 static const SvxMSDffVertPair mso_sptEllipseVert
[] =
291 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }
293 static const sal_uInt16 mso_sptEllipseSegm
[] =
295 0xa203, 0x6000, 0x8000
297 static const SvxMSDffTextRectangles mso_sptEllipseTextRect
[] =
299 { { 3163, 3163 }, { 18437, 18437 } }
301 static const SvxMSDffVertPair mso_sptEllipseGluePoints
[] =
303 { 10800, 0 }, { 3163, 3163 }, { 0, 10800 }, { 3163, 18437 }, { 10800, 21600 }, { 18437, 18437 }, { 21600, 10800 }, { 18437, 3163 }
305 static const mso_CustomShape msoEllipse
=
307 (SvxMSDffVertPair
*)mso_sptEllipseVert
, sizeof( mso_sptEllipseVert
) / sizeof( SvxMSDffVertPair
),
308 (sal_uInt16
*)mso_sptEllipseSegm
, sizeof( mso_sptEllipseSegm
) >> 1,
311 (SvxMSDffTextRectangles
*)mso_sptEllipseTextRect
, sizeof( mso_sptEllipseTextRect
) / sizeof( SvxMSDffTextRectangles
),
313 0x80000000, 0x80000000,
314 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
318 static const SvxMSDffVertPair mso_sptParallelogramVert
[] = // adjustment1 : 0 - 21600
320 { 0 MSO_I
, 0 }, { 21600, 0 }, { 1 MSO_I
, 21600 }, { 0, 21600 }
322 static const sal_uInt16 mso_sptParallelogramSegm
[] =
324 0x4000, 0x0003, 0x6001, 0x8000
326 static const SvxMSDffCalculationData mso_sptParallelogramCalc
[] =
328 { 0x4000, { 0, DFF_Prop_adjustValue
, 0 } },
329 { 0x8000, { 0, 21600, DFF_Prop_adjustValue
} },
330 { 0x2001, { DFF_Prop_adjustValue
, 10, 24 } },
331 { 0x2000, { 0x0402, 1750, 0 } },
332 { 0x8000, { 21600, 0, 0x0403 } },
333 { 0x2001, { 0x400, 1, 2 } },
334 { 0x4000, { 10800, 0x405, 0 } },
335 { 0x2000, { 0x400, 0, 10800 } },
336 { 0x6006, { 0x407, 0x40d, 0 } },
337 { 0x8000, { 10800, 0, 0x405 } },
338 { 0x6006, { 0x407, 0x40c, 21600 } },
339 { 0x8000, { 21600, 0, 0x405 } },
340 { 0x8001, { 21600, 10800, 0x400 } },
341 { 0x8000, { 21600, 0, 0x40c } }
343 static const SvxMSDffTextRectangles mso_sptParallelogramTextRect
[] =
345 { { 3 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 4 MSO_I
} }
347 static const SvxMSDffVertPair mso_sptParallelogramGluePoints
[] =
349 { 6 MSO_I
, 0 }, { 10800, 8 MSO_I
}, { 11 MSO_I
, 10800 }, { 9 MSO_I
, 21600 }, { 10800, 10 MSO_I
}, { 5 MSO_I
, 10800 }
351 static const SvxMSDffHandle mso_sptParallelogramHandle
[] =
353 { MSDFF_HANDLE_FLAGS_RANGE
,
354 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
356 static const mso_CustomShape msoParallelogram
=
358 (SvxMSDffVertPair
*)mso_sptParallelogramVert
, sizeof( mso_sptParallelogramVert
) / sizeof( SvxMSDffVertPair
),
359 (sal_uInt16
*)mso_sptParallelogramSegm
, sizeof( mso_sptParallelogramSegm
) >> 1,
360 (SvxMSDffCalculationData
*)mso_sptParallelogramCalc
, sizeof( mso_sptParallelogramCalc
) / sizeof( SvxMSDffCalculationData
),
361 (sal_Int32
*)mso_sptDefault5400
,
362 (SvxMSDffTextRectangles
*)mso_sptParallelogramTextRect
, sizeof( mso_sptParallelogramTextRect
) / sizeof( SvxMSDffTextRectangles
),
364 0x80000000, 0x80000000,
365 (SvxMSDffVertPair
*)mso_sptParallelogramGluePoints
, sizeof( mso_sptParallelogramGluePoints
) / sizeof( SvxMSDffVertPair
),
366 (SvxMSDffHandle
*)mso_sptParallelogramHandle
, sizeof( mso_sptParallelogramHandle
) / sizeof( SvxMSDffHandle
) // handles
369 static const SvxMSDffVertPair mso_sptDiamondVert
[] =
371 { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }, { 10800, 0 }
373 static const SvxMSDffTextRectangles mso_sptDiamondTextRect
[] =
375 { { 5400, 5400 }, { 16200, 16200 } }
377 static const mso_CustomShape msoDiamond
=
379 (SvxMSDffVertPair
*)mso_sptDiamondVert
, sizeof( mso_sptDiamondVert
) / sizeof( SvxMSDffVertPair
),
383 (SvxMSDffTextRectangles
*)mso_sptDiamondTextRect
, sizeof( mso_sptDiamondTextRect
) / sizeof( SvxMSDffTextRectangles
),
385 0x80000000, 0x80000000,
386 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
390 static const SvxMSDffVertPair mso_sptTrapezoidVert
[] = // adjustment1 : 0 - 10800
392 { 0, 0 }, { 21600, 0 }, {0 MSO_I
, 21600 }, { 1 MSO_I
, 21600 }
394 static const sal_uInt16 mso_sptTrapezoidSegm
[] =
396 0x4000, 0x0003, 0x6001, 0x8000
398 static const SvxMSDffCalculationData mso_sptTrapezoidCalc
[] =
400 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
401 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
402 { 0x2001, { DFF_Prop_adjustValue
, 10, 18 } },
403 { 0x2000, { 0x0402, 1750, 0 } },
404 { 0x8000, { 21600, 0, 0x403 } },
405 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
406 { 0x8000, { 21600, 0, 0x405 } }
408 static const SvxMSDffTextRectangles mso_sptTrapezoidTextRect
[] =
410 { { 3 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 4 MSO_I
} }
412 static const SvxMSDffVertPair mso_sptTrapezoidGluePoints
[] =
414 { 6 MSO_I
, 10800 }, { 10800, 21600 }, { 5 MSO_I
, 10800 }, { 10800, 0 }
416 static const SvxMSDffHandle mso_sptTrapezoidHandle
[] =
418 { MSDFF_HANDLE_FLAGS_RANGE
,
419 0x100, 1, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
421 static const mso_CustomShape msoTrapezoid
=
423 (SvxMSDffVertPair
*)mso_sptTrapezoidVert
, sizeof( mso_sptTrapezoidVert
) / sizeof( SvxMSDffVertPair
),
424 (sal_uInt16
*)mso_sptTrapezoidSegm
, sizeof( mso_sptTrapezoidSegm
) >> 1,
425 (SvxMSDffCalculationData
*)mso_sptTrapezoidCalc
, sizeof( mso_sptTrapezoidCalc
) / sizeof( SvxMSDffCalculationData
),
426 (sal_Int32
*)mso_sptDefault5400
,
427 (SvxMSDffTextRectangles
*)mso_sptTrapezoidTextRect
, sizeof( mso_sptTrapezoidTextRect
) / sizeof( SvxMSDffTextRectangles
),
429 0x80000000, 0x80000000,
430 (SvxMSDffVertPair
*)mso_sptTrapezoidGluePoints
, sizeof( mso_sptTrapezoidGluePoints
) / sizeof( SvxMSDffVertPair
),
431 (SvxMSDffHandle
*)mso_sptTrapezoidHandle
, sizeof( mso_sptTrapezoidHandle
) / sizeof( SvxMSDffHandle
) // handles
434 static const SvxMSDffVertPair mso_sptOctagonVert
[] = // adjustment1 : 0 - 10800
436 { 0 MSO_I
, 0 }, { 2 MSO_I
, 0 }, { 21600, 1 MSO_I
}, { 21600, 3 MSO_I
},
437 { 2 MSO_I
, 21600 }, { 0 MSO_I
, 21600 }, { 0, 3 MSO_I
}, { 0, 1 MSO_I
}
439 static const sal_uInt16 mso_sptOctagonSegm
[] =
441 0x4000, 0x0007, 0x6001, 0x8000
443 static const SvxMSDffCalculationData mso_sptOctagonCalc
[] =
445 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
446 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
447 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
448 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
449 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
450 { 0x6000, { DFF_Prop_geoLeft
, 0x404, 0 } },
451 { 0x6000, { DFF_Prop_geoTop
, 0x404, 0 } },
452 { 0xa000, { DFF_Prop_geoRight
, 0, 0x404 } },
453 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x404 } }
455 static const sal_Int32 mso_sptOctagonDefault
[] =
459 static const SvxMSDffTextRectangles mso_sptOctagonTextRect
[] =
461 { { 5 MSO_I
, 6 MSO_I
}, { 7 MSO_I
, 8 MSO_I
} }
463 static const SvxMSDffHandle mso_sptOctagonHandle
[] =
465 { MSDFF_HANDLE_FLAGS_RANGE
,
466 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
468 static const mso_CustomShape msoOctagon
=
470 (SvxMSDffVertPair
*)mso_sptOctagonVert
, sizeof( mso_sptOctagonVert
) / sizeof( SvxMSDffVertPair
),
471 (sal_uInt16
*)mso_sptOctagonSegm
, sizeof( mso_sptOctagonSegm
) >> 1,
472 (SvxMSDffCalculationData
*)mso_sptOctagonCalc
, sizeof( mso_sptOctagonCalc
) / sizeof( SvxMSDffCalculationData
),
473 (sal_Int32
*)mso_sptOctagonDefault
,
474 (SvxMSDffTextRectangles
*)mso_sptOctagonTextRect
, sizeof( mso_sptOctagonTextRect
) / sizeof( SvxMSDffTextRectangles
),
477 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
478 (SvxMSDffHandle
*)mso_sptOctagonHandle
, sizeof( mso_sptOctagonHandle
) / sizeof( SvxMSDffHandle
) // handles
481 static const SvxMSDffVertPair mso_sptIsocelesTriangleVert
[] = // adjustment1 : 0 - 21600
483 { 0 MSO_I
, 0 }, { 21600, 21600 }, { 0, 21600 }
485 static const sal_uInt16 mso_sptIsocelesTriangleSegm
[] =
487 0x4000, 0x0002, 0x6001, 0x8000
489 static const SvxMSDffCalculationData mso_sptIsocelesTriangleCalc
[] =
491 { 0x4000, { 0, DFF_Prop_adjustValue
, 0 } },
492 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
493 { 0x2000, { 0x401, 10800, 0 } },
494 { 0x2001, { DFF_Prop_adjustValue
, 2, 3 } },
495 { 0x2000, { 0x403, 7200, 0 } },
496 { 0x8000, { 21600, 0, 0x400 } },
497 { 0x2001, { 0x405, 1, 2 } },
498 { 0x8000, { 21600, 0, 0x406 } }
500 static const SvxMSDffTextRectangles mso_sptIsocelesTriangleTextRect
[] =
502 { { 1 MSO_I
, 10800 }, { 2 MSO_I
, 18000 } },
503 { { 3 MSO_I
, 7200 }, { 4 MSO_I
, 21600 } }
505 static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints
[] =
507 { 10800, 0 }, { 1 MSO_I
, 10800 }, { 0, 21600 }, { 10800, 21600 }, { 21600, 21600 }, { 7 MSO_I
, 10800 }
509 static const SvxMSDffHandle mso_sptIsocelesTriangleHandle
[] =
511 { MSDFF_HANDLE_FLAGS_RANGE
,
512 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
514 static const mso_CustomShape msoIsocelesTriangle
=
516 (SvxMSDffVertPair
*)mso_sptIsocelesTriangleVert
, sizeof( mso_sptIsocelesTriangleVert
) / sizeof( SvxMSDffVertPair
),
517 (sal_uInt16
*)mso_sptIsocelesTriangleSegm
, sizeof( mso_sptIsocelesTriangleSegm
) >> 1,
518 (SvxMSDffCalculationData
*)mso_sptIsocelesTriangleCalc
, sizeof( mso_sptIsocelesTriangleCalc
) / sizeof( SvxMSDffCalculationData
),
519 (sal_Int32
*)mso_sptDefault10800
,
520 (SvxMSDffTextRectangles
*)mso_sptIsocelesTriangleTextRect
, sizeof( mso_sptIsocelesTriangleTextRect
) / sizeof( SvxMSDffTextRectangles
),
522 0x80000000, 0x80000000,
523 (SvxMSDffVertPair
*)mso_sptIsocelesTriangleGluePoints
, sizeof( mso_sptIsocelesTriangleGluePoints
) / sizeof( SvxMSDffVertPair
),
524 (SvxMSDffHandle
*)mso_sptIsocelesTriangleHandle
, sizeof( mso_sptIsocelesTriangleHandle
) / sizeof( SvxMSDffHandle
) // handles
527 static const SvxMSDffVertPair mso_sptHexagonVert
[] = // adjustment1 : 0 - 10800
529 { 0 MSO_I
, 0 }, { 1 MSO_I
, 0 }, { 21600, 10800 }, { 1 MSO_I
, 21600 },
530 { 0 MSO_I
, 21600 }, { 0, 10800 }
532 static const sal_uInt16 mso_sptHexagonSegm
[] =
534 0x4000, 0x0005, 0x6001, 0x8000
536 static const SvxMSDffCalculationData mso_sptHexagonCalc
[] =
538 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
539 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
540 { 0x2001, { DFF_Prop_adjustValue
, 100, 234 } },
541 { 0x2000, { 0x402, 1700, 0 } },
542 { 0x8000, { 21600, 0, 0x403 } }
544 static const SvxMSDffTextRectangles mso_sptHexagonTextRect
[] =
546 { { 3 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 4 MSO_I
} }
548 static const SvxMSDffHandle mso_sptHexagonHandle
[] =
550 { MSDFF_HANDLE_FLAGS_RANGE
,
551 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
553 static const mso_CustomShape msoHexagon
=
555 (SvxMSDffVertPair
*)mso_sptHexagonVert
, sizeof( mso_sptHexagonVert
) / sizeof( SvxMSDffVertPair
),
556 (sal_uInt16
*)mso_sptHexagonSegm
, sizeof( mso_sptHexagonSegm
) >> 1,
557 (SvxMSDffCalculationData
*)mso_sptHexagonCalc
, sizeof( mso_sptHexagonCalc
) / sizeof( SvxMSDffCalculationData
),
558 (sal_Int32
*)mso_sptDefault5400
,
559 (SvxMSDffTextRectangles
*)mso_sptHexagonTextRect
, sizeof( mso_sptHexagonTextRect
) / sizeof( SvxMSDffTextRectangles
),
561 0x80000000, 0x80000000,
562 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
563 (SvxMSDffHandle
*)mso_sptHexagonHandle
, sizeof( mso_sptHexagonHandle
) / sizeof( SvxMSDffHandle
) // handles
566 static const SvxMSDffVertPair mso_sptPentagonVert
[] =
568 { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 17370, 21600 },
569 { 21600, 8260 }, { 10800, 0 }
571 static const SvxMSDffTextRectangles mso_sptPentagonTextRect
[] =
573 { { 4230, 5080 }, { 17370, 21600 } }
575 static const SvxMSDffVertPair mso_sptPentagonGluePoints
[] =
577 { 10800, 0 }, { 0, 8260 }, { 4230, 21600 }, { 10800, 21600 },
578 { 17370, 21600 }, { 21600, 8260 }
580 static const mso_CustomShape msoPentagon
=
582 (SvxMSDffVertPair
*)mso_sptPentagonVert
, sizeof( mso_sptPentagonVert
) / sizeof( SvxMSDffVertPair
),
586 (SvxMSDffTextRectangles
*)mso_sptPentagonTextRect
, sizeof( mso_sptPentagonTextRect
) / sizeof( SvxMSDffTextRectangles
),
588 0x80000000, 0x80000000,
589 (SvxMSDffVertPair
*)mso_sptPentagonGluePoints
, sizeof( mso_sptPentagonGluePoints
) / sizeof( SvxMSDffVertPair
),
593 static const SvxMSDffVertPair mso_sptPlusVert
[] = // adjustment1 : 0 - 10800
595 { 1 MSO_I
, 0 }, { 2 MSO_I
, 0 }, { 2 MSO_I
, 1 MSO_I
}, { 21600, 1 MSO_I
},
596 { 21600, 3 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 21600 }, { 1 MSO_I
, 21600 },
597 { 1 MSO_I
, 3 MSO_I
}, { 0, 3 MSO_I
}, { 0, 1 MSO_I
}, { 1 MSO_I
, 1 MSO_I
}, { 1 MSO_I
, 0 }
599 static const SvxMSDffCalculationData mso_sptPlusCalc
[] =
601 { 0x2001, { DFF_Prop_adjustValue
, 10799, 10800 } },
602 { 0x2000, { 0x400, 0, 0 } },
603 { 0xa000, { DFF_Prop_geoRight
, 0, 0x400 } },
604 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } }
606 static const SvxMSDffTextRectangles mso_sptPlusTextRect
[] =
608 { { 1 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 3 MSO_I
} }
610 static const SvxMSDffHandle mso_sptPlusHandle
[] =
612 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
613 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
615 static const mso_CustomShape msoPlus
=
617 (SvxMSDffVertPair
*)mso_sptPlusVert
, sizeof( mso_sptPlusVert
) / sizeof( SvxMSDffVertPair
),
619 (SvxMSDffCalculationData
*)mso_sptPlusCalc
, sizeof( mso_sptPlusCalc
) / sizeof( SvxMSDffCalculationData
),
620 (sal_Int32
*)mso_sptDefault5400
,
621 (SvxMSDffTextRectangles
*)mso_sptPlusTextRect
, sizeof( mso_sptPlusTextRect
) / sizeof( SvxMSDffTextRectangles
),
624 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
625 (SvxMSDffHandle
*)mso_sptPlusHandle
, sizeof( mso_sptPlusHandle
) / sizeof( SvxMSDffHandle
) // handles
628 static const SvxMSDffVertPair mso_sptCanVert
[] = // adjustment1 : 0 - 10800
631 { 20, 0 }, { 0, 2 MSO_I
}, { 0, 0 MSO_I
}, // ccp
633 { 0, 4 MSO_I
}, { 20, 21600 }, { 44, 21600 }, // ccp
634 { 68, 21600 }, { 88, 4 MSO_I
}, { 88, 3 MSO_I
}, // ccp
635 { 88, 0 MSO_I
}, // p
636 { 88, 2 MSO_I
}, { 68, 0 }, { 44, 0 }, // ccp
638 { 20, 0 }, { 0, 2 MSO_I
}, { 0, 0 MSO_I
}, // ccp
639 { 0, 5 MSO_I
}, { 20, 6 MSO_I
}, { 44, 6 MSO_I
}, // ccp
640 { 68, 6 MSO_I
},{ 88, 5 MSO_I
}, { 88, 0 MSO_I
}, // ccp
641 { 88, 2 MSO_I
},{ 68, 0 }, { 44, 0 } // ccp
643 static const sal_uInt16 mso_sptCanSegm
[] =
645 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x6001, 0x8000,
646 0x4000, 0x2004, 0x6001, 0x8000
648 static const SvxMSDffCalculationData mso_sptCanCalc
[] =
650 { 0x2001, { DFF_Prop_adjustValue
, 2, 4 } }, // 1/4
651 { 0x2001, { 0x0400, 6, 11 } },
652 { 0xa000, { 0x0400, 0, 0x0401 } },
653 { 0x8000, { 21600, 0, 0x0400 } },
654 { 0x6000, { 0x0403, 0x0401, 0 } },
655 { 0x6000, { 0x0400, 0x0401, 0 } },
656 { 0x2001, { DFF_Prop_adjustValue
, 2, 2 } },
657 { 0x0000, { 44, 0, 0 } }
659 static const SvxMSDffTextRectangles mso_sptCanTextRect
[] =
661 { { 0, 6 MSO_I
}, { 88, 3 MSO_I
} }
663 static const SvxMSDffVertPair mso_sptCanGluePoints
[] =
665 { 44, 6 MSO_I
}, { 44, 0 }, { 0, 10800 }, { 44, 21600 }, { 88, 10800 }
667 static const SvxMSDffHandle mso_sptCanHandle
[] =
669 { MSDFF_HANDLE_FLAGS_RANGE
,
670 7 + 3, 0x100, 44, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
672 static const mso_CustomShape msoCan
=
674 (SvxMSDffVertPair
*)mso_sptCanVert
, sizeof( mso_sptCanVert
) / sizeof( SvxMSDffVertPair
),
675 (sal_uInt16
*)mso_sptCanSegm
, sizeof( mso_sptCanSegm
) >> 1,
676 (SvxMSDffCalculationData
*)mso_sptCanCalc
, sizeof( mso_sptCanCalc
) / sizeof( SvxMSDffCalculationData
),
677 (sal_Int32
*)mso_sptDefault5400
,
678 (SvxMSDffTextRectangles
*)mso_sptCanTextRect
, sizeof( mso_sptCanTextRect
) / sizeof( SvxMSDffTextRectangles
),
680 0x80000000, 0x80000000,
681 (SvxMSDffVertPair
*)mso_sptCanGluePoints
, sizeof( mso_sptCanGluePoints
) / sizeof( SvxMSDffVertPair
),
682 (SvxMSDffHandle
*)mso_sptCanHandle
, sizeof( mso_sptCanHandle
) / sizeof( SvxMSDffHandle
) // handles
685 static const SvxMSDffVertPair mso_sptArrowVert
[] = // adjustment1: x 0 - 21600
686 { // adjustment2: y 0 - 10800
687 { 0, 0 MSO_I
}, { 1 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 0 }, { 21600, 10800 },
688 { 1 MSO_I
, 21600 }, { 1 MSO_I
, 2 MSO_I
}, { 0, 2 MSO_I
}
690 static const sal_uInt16 mso_sptArrowSegm
[] =
692 0x4000, 0x0006, 0x6001, 0x8000
694 static const SvxMSDffCalculationData mso_sptArrowCalc
[] =
696 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
697 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
698 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} },
699 { 0x8000, { 21600, 0, 0x401 } },
700 { 0x6001, { 0x403, 0x400, 10800 } },
701 { 0x6000, { 0x401, 0x404, 0 } },
702 { 0x6001, { 0x401, 0x400, 10800 } },
703 { 0xa000, { 0x401, 0, 0x406 } }
705 static const SvxMSDffTextRectangles mso_sptArrowTextRect
[] =
707 { { 0, 0 MSO_I
}, { 5 MSO_I
, 2 MSO_I
} }
709 static const SvxMSDffHandle mso_sptArrowHandle
[] =
711 { MSDFF_HANDLE_FLAGS_RANGE
,
712 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
714 static const mso_CustomShape msoArrow
=
716 (SvxMSDffVertPair
*)mso_sptArrowVert
, sizeof( mso_sptArrowVert
) / sizeof( SvxMSDffVertPair
),
717 (sal_uInt16
*)mso_sptArrowSegm
, sizeof( mso_sptArrowSegm
) >> 1,
718 (SvxMSDffCalculationData
*)mso_sptArrowCalc
, sizeof( mso_sptArrowCalc
) / sizeof( SvxMSDffCalculationData
),
719 (sal_Int32
*)mso_sptDefault16200and5400
,
720 (SvxMSDffTextRectangles
*)mso_sptArrowTextRect
, sizeof( mso_sptArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
722 0x80000000, 0x80000000,
724 (SvxMSDffHandle
*)mso_sptArrowHandle
, sizeof( mso_sptArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
727 static const SvxMSDffVertPair mso_sptLeftArrowVert
[] = // adjustment1: x 0 - 21600
728 { // adjustment2: y 0 - 10800
729 { 21600, 0 MSO_I
}, { 1 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 0 }, { 0, 10800 },
730 { 1 MSO_I
, 21600 }, { 1 MSO_I
, 2 MSO_I
}, { 21600, 2 MSO_I
}
732 static const sal_uInt16 mso_sptLeftArrowSegm
[] =
734 0x4000, 0x0006, 0x6001, 0x8000
736 static const sal_Int32 mso_sptLeftArrowDefault
[] =
740 static const SvxMSDffTextRectangles mso_sptLeftArrowTextRect
[] =
742 { { 7 MSO_I
, 0 MSO_I
}, { 21600, 2 MSO_I
} }
744 static const SvxMSDffHandle mso_sptLeftArrowHandle
[] =
746 { MSDFF_HANDLE_FLAGS_RANGE
,
747 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
749 static const mso_CustomShape msoLeftArrow
=
751 (SvxMSDffVertPair
*)mso_sptLeftArrowVert
, sizeof( mso_sptLeftArrowVert
) / sizeof( SvxMSDffVertPair
),
752 (sal_uInt16
*)mso_sptLeftArrowSegm
, sizeof( mso_sptLeftArrowSegm
) >> 1,
753 (SvxMSDffCalculationData
*)mso_sptArrowCalc
, sizeof( mso_sptArrowCalc
) / sizeof( SvxMSDffCalculationData
),
754 (sal_Int32
*)mso_sptLeftArrowDefault
,
755 (SvxMSDffTextRectangles
*)mso_sptLeftArrowTextRect
, sizeof( mso_sptLeftArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
757 0x80000000, 0x80000000,
759 (SvxMSDffHandle
*)mso_sptLeftArrowHandle
, sizeof( mso_sptLeftArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
762 static const SvxMSDffVertPair mso_sptDownArrowVert
[] = // adjustment1: x 0 - 21600
763 { // adjustment2: y 0 - 10800
764 { 0 MSO_I
, 0 }, { 0 MSO_I
, 1 MSO_I
}, { 0, 1 MSO_I
}, { 10800, 21600 },
765 { 21600, 1 MSO_I
}, { 2 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 0 }
767 static const sal_uInt16 mso_sptDownArrowSegm
[] =
769 0x4000, 0x0006, 0x6001, 0x8000
771 static const SvxMSDffTextRectangles mso_sptDownArrowTextRect
[] =
773 { { 0 MSO_I
, 0 }, { 2 MSO_I
, 5 MSO_I
} }
775 static const SvxMSDffHandle mso_sptDownArrowHandle
[] =
777 { MSDFF_HANDLE_FLAGS_RANGE
,
778 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
780 static const mso_CustomShape msoDownArrow
=
782 (SvxMSDffVertPair
*)mso_sptDownArrowVert
, sizeof( mso_sptDownArrowVert
) / sizeof( SvxMSDffVertPair
),
783 (sal_uInt16
*)mso_sptDownArrowSegm
, sizeof( mso_sptDownArrowSegm
) >> 1,
784 (SvxMSDffCalculationData
*)mso_sptArrowCalc
, sizeof( mso_sptArrowCalc
) / sizeof( SvxMSDffCalculationData
),
785 (sal_Int32
*)mso_sptDefault16200and5400
,
786 (SvxMSDffTextRectangles
*)mso_sptDownArrowTextRect
, sizeof( mso_sptDownArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
788 0x80000000, 0x80000000,
790 (SvxMSDffHandle
*)mso_sptDownArrowHandle
, sizeof( mso_sptDownArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
793 static const SvxMSDffVertPair mso_sptUpArrowVert
[] = // adjustment1: x 0 - 21600
794 { // adjustment2: y 0 - 10800
795 { 0 MSO_I
, 21600 }, { 0 MSO_I
, 1 MSO_I
}, { 0, 1 MSO_I
}, { 10800, 0 },
796 { 21600, 1 MSO_I
}, { 2 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 21600 }
798 static const sal_uInt16 mso_sptUpArrowSegm
[] =
800 0x4000, 0x0006, 0x6001, 0x8000
802 static const sal_Int32 mso_sptUpArrowDefault
[] =
806 static const SvxMSDffTextRectangles mso_sptUpArrowTextRect
[] =
808 { { 0 MSO_I
, 7 MSO_I
}, { 2 MSO_I
, 21600 } }
810 static const SvxMSDffHandle mso_sptUpArrowHandle
[] =
812 { MSDFF_HANDLE_FLAGS_RANGE
,
813 0x101, 0x100, 10800, 10800, 0, 10800, 0, 21600 }
815 static const mso_CustomShape msoUpArrow
=
817 (SvxMSDffVertPair
*)mso_sptUpArrowVert
, sizeof( mso_sptUpArrowVert
) / sizeof( SvxMSDffVertPair
),
818 (sal_uInt16
*)mso_sptUpArrowSegm
, sizeof( mso_sptUpArrowSegm
) >> 1,
819 (SvxMSDffCalculationData
*)mso_sptArrowCalc
, sizeof( mso_sptArrowCalc
) / sizeof( SvxMSDffCalculationData
),
820 (sal_Int32
*)mso_sptUpArrowDefault
,
821 (SvxMSDffTextRectangles
*)mso_sptUpArrowTextRect
, sizeof( mso_sptUpArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
823 0x80000000, 0x80000000,
825 (SvxMSDffHandle
*)mso_sptUpArrowHandle
, sizeof( mso_sptUpArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
828 static const SvxMSDffVertPair mso_sptLeftRightArrowVert
[] = // adjustment1: x 0 - 10800
829 { // adjustment2: y 0 - 10800
830 { 0, 10800 }, { 0 MSO_I
, 0 }, { 0 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 1 MSO_I
},
831 { 2 MSO_I
, 0 }, { 21600, 10800 }, { 2 MSO_I
, 21600 }, { 2 MSO_I
, 3 MSO_I
},
832 { 0 MSO_I
, 3 MSO_I
}, { 0 MSO_I
, 21600 }
834 static const sal_uInt16 mso_sptLeftRightArrowSegm
[] =
836 0x4000, 0x0009, 0x6001, 0x8000
838 static const SvxMSDffCalculationData mso_sptDoubleArrowCalc
[] =
840 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
841 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
842 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
843 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} },
844 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} },
845 { 0x6001, { DFF_Prop_adjustValue
, 0x404, 10800 } },
846 { 0x8000, { 21600, 0, 0x405 } },
847 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
848 { 0x6001, { DFF_Prop_adjust2Value
, 0x407, 10800 } },
849 { 0x8000, { 21600, 0, 0x408 } }
851 static const sal_Int32 mso_sptLeftRightArrowDefault
[] =
855 static const SvxMSDffTextRectangles mso_sptLeftRightArrowTextRect
[] =
857 { { 5 MSO_I
, 1 MSO_I
}, { 6 MSO_I
, 3 MSO_I
} }
859 static const SvxMSDffHandle mso_sptLeftRightArrowHandle
[] =
861 { MSDFF_HANDLE_FLAGS_RANGE
,
862 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
864 static const mso_CustomShape msoLeftRightArrow
=
866 (SvxMSDffVertPair
*)mso_sptLeftRightArrowVert
, sizeof( mso_sptLeftRightArrowVert
) / sizeof( SvxMSDffVertPair
),
867 (sal_uInt16
*)mso_sptLeftRightArrowSegm
, sizeof( mso_sptLeftRightArrowSegm
) >> 1,
868 (SvxMSDffCalculationData
*)mso_sptDoubleArrowCalc
, sizeof( mso_sptDoubleArrowCalc
) / sizeof( SvxMSDffCalculationData
),
869 (sal_Int32
*)mso_sptLeftRightArrowDefault
,
870 (SvxMSDffTextRectangles
*)mso_sptLeftRightArrowTextRect
, sizeof( mso_sptLeftRightArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
872 0x80000000, 0x80000000,
874 (SvxMSDffHandle
*)mso_sptLeftRightArrowHandle
, sizeof( mso_sptLeftRightArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
877 static const SvxMSDffVertPair mso_sptUpDownArrowVert
[] = // adjustment1: x 0 - 10800
878 { // adjustment2: y 0 - 10800
879 { 0, 1 MSO_I
}, { 10800, 0 }, { 21600, 1 MSO_I
}, { 2 MSO_I
, 1 MSO_I
},
880 { 2 MSO_I
, 3 MSO_I
}, { 21600, 3 MSO_I
}, { 10800, 21600 }, { 0, 3 MSO_I
},
881 { 0 MSO_I
, 3 MSO_I
}, { 0 MSO_I
, 1 MSO_I
}
883 static const sal_uInt16 mso_sptUpDownArrowSegm
[] =
885 0x4000, 0x0009, 0x6001, 0x8000
887 static const sal_Int32 mso_sptUpDownArrowDefault
[] =
891 static const SvxMSDffTextRectangles mso_sptUpDownArrowTextRect
[] =
893 { { 0 MSO_I
, 8 MSO_I
}, { 2 MSO_I
, 9 MSO_I
} }
895 static const SvxMSDffHandle mso_sptUpDownArrowHandle
[] =
897 { MSDFF_HANDLE_FLAGS_RANGE
,
898 0x100, 0x101, 10800, 10800, 0, 10800, 0, 10800 }
900 static const mso_CustomShape msoUpDownArrow
=
902 (SvxMSDffVertPair
*)mso_sptUpDownArrowVert
, sizeof( mso_sptUpDownArrowVert
) / sizeof( SvxMSDffVertPair
),
903 (sal_uInt16
*)mso_sptUpDownArrowSegm
, sizeof( mso_sptUpDownArrowSegm
) >> 1,
904 (SvxMSDffCalculationData
*)mso_sptDoubleArrowCalc
, sizeof( mso_sptDoubleArrowCalc
) / sizeof( SvxMSDffCalculationData
),
905 (sal_Int32
*)mso_sptUpDownArrowDefault
,
906 (SvxMSDffTextRectangles
*)mso_sptUpDownArrowTextRect
, sizeof( mso_sptUpDownArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
908 0x80000000, 0x80000000,
910 (SvxMSDffHandle
*)mso_sptUpDownArrowHandle
, sizeof( mso_sptUpDownArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
913 static const SvxMSDffVertPair mso_sptQuadArrowVert
[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
914 { // adjustment3: y 0 - 10800
915 { 0, 10800 }, { 0 MSO_I
, 1 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}, { 2 MSO_I
, 2 MSO_I
},
916 { 2 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 0 MSO_I
}, { 10800, 0 }, { 3 MSO_I
, 0 MSO_I
},
917 { 4 MSO_I
, 0 MSO_I
}, { 4 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 1 MSO_I
},
918 { 21600, 10800 }, { 5 MSO_I
, 3 MSO_I
}, { 5 MSO_I
, 4 MSO_I
}, { 4 MSO_I
, 4 MSO_I
},
919 { 4 MSO_I
, 5 MSO_I
}, { 3 MSO_I
, 5 MSO_I
}, { 10800, 21600 }, { 1 MSO_I
, 5 MSO_I
},
920 { 2 MSO_I
, 5 MSO_I
}, { 2 MSO_I
, 4 MSO_I
}, { 0 MSO_I
, 4 MSO_I
}, { 0 MSO_I
, 3 MSO_I
}
922 static const sal_uInt16 mso_sptQuadArrowSegm
[] =
924 0x4000, 0x0017, 0x6001, 0x8000
926 static const SvxMSDffCalculationData mso_sptQuadArrowCalc
[] =
928 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
929 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
930 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
931 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
932 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} },
933 { 0x8000, { 21600, 0, DFF_Prop_adjust3Value
} }
935 static const sal_Int32 mso_sptQuadArrowDefault
[] =
939 static const SvxMSDffTextRectangles mso_sptQuadArrowTextRect
[] = // todo
941 { { 0, 0 }, { 21600, 21600 } }
943 static const SvxMSDffHandle mso_sptQuadArrowHandle
[] =
945 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
946 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
947 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
948 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
950 static const mso_CustomShape msoQuadArrow
=
952 (SvxMSDffVertPair
*)mso_sptQuadArrowVert
, sizeof( mso_sptQuadArrowVert
) / sizeof( SvxMSDffVertPair
),
953 (sal_uInt16
*)mso_sptQuadArrowSegm
, sizeof( mso_sptQuadArrowSegm
) >> 1,
954 (SvxMSDffCalculationData
*)mso_sptQuadArrowCalc
, sizeof( mso_sptQuadArrowCalc
) / sizeof( SvxMSDffCalculationData
),
955 (sal_Int32
*)mso_sptQuadArrowDefault
,
956 (SvxMSDffTextRectangles
*)mso_sptQuadArrowTextRect
, sizeof( mso_sptQuadArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
958 0x80000000, 0x80000000,
960 (SvxMSDffHandle
*)mso_sptQuadArrowHandle
, sizeof( mso_sptQuadArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
963 static const SvxMSDffVertPair mso_sptLeftRightUpArrowVert
[] = // adjustment1: x 0 - 10800, adjustment2: x 0 - 10800
964 { // adjustment3: y 0 - 21600
965 { 10800, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 4 MSO_I
, 2 MSO_I
}, { 4 MSO_I
, 1 MSO_I
},
966 { 5 MSO_I
, 1 MSO_I
}, { 5 MSO_I
, 0 MSO_I
}, { 21600, 10800 }, { 5 MSO_I
, 3 MSO_I
},
967 { 5 MSO_I
, 4 MSO_I
}, { 2 MSO_I
, 4 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}, { 0, 10800 },
968 { 2 MSO_I
, 0 MSO_I
}, { 2 MSO_I
, 1 MSO_I
}, { 1 MSO_I
, 1 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
971 static const sal_uInt16 mso_sptLeftRightUpArrowSegm
[] =
973 0x4000, 0x0010, 0x6001, 0x8000
975 static const SvxMSDffCalculationData mso_sptLeftRightUpArrowCalc
[] =
977 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0
978 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 1
979 { 0x6001, { 0x0403, DFF_Prop_adjust3Value
, 21600 } }, // 2
980 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 3
981 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} }, // 4
982 { 0x8000, { 21600, 0, 0x0402 } } // 5
984 static const sal_Int32 mso_sptLeftRightUpArrowDefault
[] =
988 static const SvxMSDffTextRectangles mso_sptLeftRightUpArrowTextRect
[] = // todo
990 { { 0, 0 }, { 21600, 21600 } }
992 static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle
[] =
994 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
995 0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
996 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
997 0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
999 static const mso_CustomShape msoLeftRightUpArrow
=
1001 (SvxMSDffVertPair
*)mso_sptLeftRightUpArrowVert
, sizeof( mso_sptLeftRightUpArrowVert
) / sizeof( SvxMSDffVertPair
),
1002 (sal_uInt16
*)mso_sptLeftRightUpArrowSegm
, sizeof( mso_sptLeftRightUpArrowSegm
) >> 1,
1003 (SvxMSDffCalculationData
*)mso_sptLeftRightUpArrowCalc
, sizeof( mso_sptLeftRightUpArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1004 (sal_Int32
*)mso_sptLeftRightUpArrowDefault
,
1005 (SvxMSDffTextRectangles
*)mso_sptLeftRightUpArrowTextRect
, sizeof( mso_sptLeftRightUpArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1007 0x80000000, 0x80000000,
1009 (SvxMSDffHandle
*)mso_sptLeftRightUpArrowHandle
, sizeof( mso_sptLeftRightUpArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
1012 static const SvxMSDffVertPair mso_sptBentArrowVert
[] = // adjustment1 : x 12427 - 21600
1013 { // adjustment2 : y 0 - 6079
1014 { 0, 21600 }, { 0, 12160 }, { 12427, 1 MSO_I
}, { 0 MSO_I
, 1 MSO_I
},
1015 { 0 MSO_I
, 0 }, { 21600, 6079 }, { 0 MSO_I
, 12158 }, { 0 MSO_I
, 2 MSO_I
},
1016 { 12427, 2 MSO_I
}, { 4 MSO_I
, 12160 }, { 4 MSO_I
, 21600 }
1018 static const sal_uInt16 mso_sptBentArrowSegm
[] =
1020 0x4000, 0x0001, 0xa801, 0x0006, 0xa701, 0x0001, 0x6001, 0x8000
1022 static const SvxMSDffCalculationData mso_sptBentArrowCalc
[] =
1024 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1025 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1026 { 0x8000, { 12158, 0, DFF_Prop_adjust2Value
} },
1027 { 0x8000, { 6079, 0, DFF_Prop_adjust2Value
} },
1028 { 0x2001, { 0x0403, 2, 1 } }
1030 static const sal_Int32 mso_sptBentArrowDefault
[] =
1034 static const SvxMSDffTextRectangles mso_sptBentArrowTextRect
[] = // todo
1036 { { 0, 0 }, { 21600, 21600 } }
1038 static const SvxMSDffHandle mso_sptBentArrowHandle
[] =
1040 { MSDFF_HANDLE_FLAGS_RANGE
,
1041 0x100, 0x101, 10800, 10800, 12427, 21600, 0, 6079 }
1043 static const mso_CustomShape msoBentArrow
=
1045 (SvxMSDffVertPair
*)mso_sptBentArrowVert
, sizeof( mso_sptBentArrowVert
) / sizeof( SvxMSDffVertPair
),
1046 (sal_uInt16
*)mso_sptBentArrowSegm
, sizeof( mso_sptBentArrowSegm
) >> 1,
1047 (SvxMSDffCalculationData
*)mso_sptBentArrowCalc
, sizeof( mso_sptBentArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1048 (sal_Int32
*)mso_sptBentArrowDefault
,
1049 (SvxMSDffTextRectangles
*)mso_sptBentArrowTextRect
, sizeof( mso_sptBentArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1051 0x80000000, 0x80000000,
1053 (SvxMSDffHandle
*)mso_sptBentArrowHandle
, sizeof( mso_sptBentArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
1056 static const SvxMSDffVertPair mso_sptUturnArrowVert
[] =
1058 { 0, 21600 }, { 0, 8550 }, // pp
1059 { 0, 3540 }, { 4370, 0 }, { 9270, 0 }, // ccp
1060 { 13890, 0 }, { 18570, 3230 }, { 18600, 8300 }, // ccp
1061 { 21600, 8300 }, { 15680, 14260 }, { 9700, 8300 }, { 12500, 8300 }, // pppp
1062 { 12320, 6380 }, { 10870, 5850 }, { 9320, 5850 }, // ccp
1063 { 7770, 5850 }, { 6040, 6410 }, { 6110, 8520 }, // ccp
1066 static const sal_uInt16 mso_sptUturnArrowSegm
[] =
1068 0x4000, 0x0001, 0x2002, 0x0004, 0x2002, 0x0001, 0x6000, 0x8000
1070 static const SvxMSDffTextRectangles mso_sptUturnArrowTextRect
[] =
1072 { { 0, 8280 }, { 6110, 21600 } }
1074 static const mso_CustomShape msoUturnArrow
=
1076 (SvxMSDffVertPair
*)mso_sptUturnArrowVert
, sizeof( mso_sptUturnArrowVert
) / sizeof( SvxMSDffVertPair
),
1077 (sal_uInt16
*)mso_sptUturnArrowSegm
, sizeof( mso_sptUturnArrowSegm
) >> 1,
1080 (SvxMSDffTextRectangles
*)mso_sptUturnArrowTextRect
, sizeof( mso_sptUturnArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1082 0x80000000, 0x80000000,
1087 static const SvxMSDffVertPair mso_sptLeftUpArrowVert
[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1088 { // adjustment3 : y 0 - 21600
1089 { 0, 5 MSO_I
}, { 2 MSO_I
, 0 MSO_I
}, { 2 MSO_I
, 7 MSO_I
}, { 7 MSO_I
, 7 MSO_I
},
1090 { 7 MSO_I
, 2 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 0 }, { 21600, 2 MSO_I
},
1091 { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 21600 }
1093 static const sal_uInt16 mso_sptLeftUpArrowSegm
[] =
1095 0x4000, 0x000b, 0x6001, 0x8000
1097 static const SvxMSDffCalculationData mso_sptLeftUpArrowCalc
[] =
1099 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0
1100 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 1
1101 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } }, // 2
1102 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 3
1103 { 0x2001, { 0x0403, 1, 2 } }, // 4
1104 { 0x6000, { DFF_Prop_adjustValue
, 0x0404, 0 } }, // 5
1105 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} }, // 6
1106 { 0x6000, { DFF_Prop_adjustValue
, 0x0406, 0 } }, // 7
1107 { 0x8000, { 21600, 0, 0x406 } }, // 8
1108 { 0xa000, { 0x408, 0, 0x406 } } // 9
1110 static const sal_Int32 mso_sptLeftUpArrowDefault
[] =
1112 3, 9340, 18500, 6200
1114 static const SvxMSDffTextRectangles mso_sptLeftUpArrowTextRect
[] =
1116 { { 2 MSO_I
, 7 MSO_I
}, { 1 MSO_I
, 1 MSO_I
} },
1117 { { 7 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 1 MSO_I
} }
1119 static const SvxMSDffHandle mso_sptLeftUpArrowHandle
[] =
1121 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
1122 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1123 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1124 0x100, 0, 10800, 10800, 0x102, 3 + 9, 0x80000000, 0x7fffffff }
1126 static const mso_CustomShape msoLeftUpArrow
=
1128 (SvxMSDffVertPair
*)mso_sptLeftUpArrowVert
, sizeof( mso_sptLeftUpArrowVert
) / sizeof( SvxMSDffVertPair
),
1129 (sal_uInt16
*)mso_sptLeftUpArrowSegm
, sizeof( mso_sptLeftUpArrowSegm
) >> 1,
1130 (SvxMSDffCalculationData
*)mso_sptLeftUpArrowCalc
, sizeof( mso_sptLeftUpArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1131 (sal_Int32
*)mso_sptLeftUpArrowDefault
,
1132 (SvxMSDffTextRectangles
*)mso_sptLeftUpArrowTextRect
, sizeof( mso_sptLeftUpArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1134 0x80000000, 0x80000000,
1136 (SvxMSDffHandle
*)mso_sptLeftUpArrowHandle
, sizeof( mso_sptLeftUpArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
1139 static const SvxMSDffVertPair mso_sptBentUpArrowVert
[] = // adjustment1 : x 0 - 21600, adjustment2 : x 0 - 21600
1140 { // adjustment3 : y 0 - 21600
1141 { 0, 8 MSO_I
}, { 7 MSO_I
, 8 MSO_I
}, { 7 MSO_I
, 2 MSO_I
}, { 0 MSO_I
, 2 MSO_I
},
1142 { 5 MSO_I
, 0 }, { 21600, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 21600 },
1145 static const sal_uInt16 mso_sptBentUpArrowSegm
[] =
1147 0x4000, 0x0008, 0x6001, 0x8000
1149 static const SvxMSDffCalculationData mso_sptBentUpArrowCalc
[] =
1151 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0
1152 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 1
1153 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } }, // 2
1154 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 3
1155 { 0x2001, { 0x0403, 1, 2 } }, // 4
1156 { 0x6000, { DFF_Prop_adjustValue
, 0x0404, 0 } }, // 5
1157 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} }, // 6
1158 { 0x6000, { DFF_Prop_adjustValue
, 0x0406, 0 } }, // 7
1159 { 0x6000, { 0x0407, 0x0406, 0 } }, // 8
1160 { 0x8000, { 21600, 0, 0x406 } }, // 9
1161 { 0xa000, { 0x409, 0, 0x406 } } // a
1163 static const sal_Int32 mso_sptBentUpArrowDefault
[] =
1165 3, 9340, 18500, 7200
1167 static const SvxMSDffTextRectangles mso_sptBentUpArrowTextRect
[] =
1169 { { 2 MSO_I
, 7 MSO_I
}, { 1 MSO_I
, 1 MSO_I
} },
1170 { { 7 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 1 MSO_I
} }
1172 static const SvxMSDffHandle mso_sptBentUpArrowHandle
[] =
1174 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
1175 0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
1176 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1177 0x100, 0, 10800, 10800, 0x102, 3 + 10, 0x80000000, 0x7fffffff }
1179 static const mso_CustomShape msoBentUpArrow
=
1181 (SvxMSDffVertPair
*)mso_sptBentUpArrowVert
, sizeof( mso_sptBentUpArrowVert
) / sizeof( SvxMSDffVertPair
),
1182 (sal_uInt16
*)mso_sptBentUpArrowSegm
, sizeof( mso_sptBentUpArrowSegm
) >> 1,
1183 (SvxMSDffCalculationData
*)mso_sptBentUpArrowCalc
, sizeof( mso_sptBentUpArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1184 (sal_Int32
*)mso_sptBentUpArrowDefault
,
1185 (SvxMSDffTextRectangles
*)mso_sptBentUpArrowTextRect
, sizeof( mso_sptBentUpArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1187 0x80000000, 0x80000000,
1189 (SvxMSDffHandle
*)mso_sptBentUpArrowHandle
, sizeof( mso_sptBentUpArrowHandle
) / sizeof( SvxMSDffHandle
)
1193 static const SvxMSDffVertPair mso_sptCurvedDownVert
[] =
1195 { 0, 0 }, { 3 MSO_I
, 21 MSO_I
}, { 0, 21600 }, { 4 MSO_I
, 0 },
1196 { 0, 0 }, { 3 MSO_I
, 21 MSO_I
}, { 4 MSO_I
, 0 }, { 17 MSO_I
, 24 MSO_I
},
1197 { 15 MSO_I
, 0 }, { 1 MSO_I
, 21 MSO_I
}, { 17 MSO_I
, 24 MSO_I
}, { 15 MSO_I
, 21600 },
1198 { 15 MSO_I
, 0 }, { 1 MSO_I
, 21 MSO_I
}, { 7 MSO_I
, 0 }, { 13 MSO_I
, 2 MSO_I
},
1199 { 14 MSO_I
, 2 MSO_I
}, { 8 MSO_I
, 21600 }, { 12 MSO_I
, 2 MSO_I
},
1200 { 0, 0 }, { 3 MSO_I
, 21 MSO_I
}, { 11 MSO_I
, 2 MSO_I
}, { 17 MSO_I
, 24 MSO_I
},
1201 { 0, 0 }, { 3 MSO_I
, 21 MSO_I
}, { 17 MSO_I
, 24 MSO_I
}, { 4 MSO_I
, 0 }
1203 static const sal_uInt16 mso_sptCurvedDownSegm
[] =
1215 static const SvxMSDffCalculationData mso_sptCurvedDownCalc
[] =
1217 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1218 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1219 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1220 { 0xa000, { DFF_Prop_adjustValue
, 21600, DFF_Prop_adjust2Value
} },
1221 { 0x2001, { 0x403, 1, 2 } },
1222 { 0x6000, { DFF_Prop_adjust2Value
, DFF_Prop_adjust2Value
, 21600 } },
1223 { 0xe000, { 0x405, DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
} },
1224 { 0x2001, { 0x406, 1, 2 } },
1225 { 0x4002, { 21600, DFF_Prop_adjustValue
, 0 } },
1226 { 0x8000, { 21600, 0, DFF_Prop_adjust3Value
} },
1227 { 0xa00f, { 0x409, 21600, 0x404 } },
1228 { 0x6000, { 0x404, 0x40a, 0 } },
1229 { 0x6000, { 0x40b, DFF_Prop_adjust2Value
, 21600 } },
1230 { 0x6000, { 0x407, 0x40a, 0 } },
1231 { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue
} },
1232 { 0xa000, { 0x405, 0, DFF_Prop_adjustValue
} },
1233 { 0x2001, { 0x40f, 1, 2 } },
1234 { 0x6002, { 0x404, 0x407, 0 } },
1235 { 0x6000, { DFF_Prop_adjustValue
, DFF_Prop_adjust2Value
, 21600 } },
1236 { 0x2001, { 0x412, 1, 2 } },
1237 { 0xa000, { 0x411, 0, 0x413 } },
1238 { 0x0001, { 21600, 2, 1 } },
1239 { 0xa000, { 0x411, 0, 0x404 } },
1240 { 0x600f, { 0x416, 0x404, 21600 } },
1241 { 0x8000, { 21600, 0, 0x417 } },
1242 { 0x2000, { 0x408, 128, 0 } },
1243 { 0x2001, { 0x405, 1, 2 } },
1244 { 0x2000, { 0x405, 0, 128 } },
1245 { 0xe000, { DFF_Prop_adjustValue
, 0x411, 0x40c } },
1246 { 0x600f, { 0x414, 0x404, 21600 } },
1247 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
1248 { 0x2001, { 0x41e, 1, 2 } },
1249 { 0x0001, { 21600, 21600, 1 } },
1250 { 0x6001, { 0x409, 0x409, 1 } },
1251 { 0xa000, { 0x420, 0, 0x421 } },
1252 { 0x200d, { 0x422, 0, 0 } },
1253 { 0x2000, { 0x423, 21600, 0 } },
1254 { 0x8001, { 21600, 21600, 0x424 } },
1255 { 0x2000, { 0x425, 64, 0 } },
1256 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
1257 { 0x600f, { 0x41f, 0x427, 21600 } },
1258 { 0x8000, { 21600, 0, 0x428 } },
1259 { 0x2000, { 0x429, 64, 0 } },
1260 { 0x2001, { 0x404, 1, 2 } },
1261 { 0xa000, { DFF_Prop_adjust2Value
, 0, 0x42b } },
1262 { 0x0001, { 21600, 2195, 16384 } },
1263 { 0x0001, { 21600, 14189, 16384 } }
1265 static const sal_Int32 mso_sptCurvedDownDefault
[] =
1267 3, 12960, 19440, 14400
1269 static const SvxMSDffTextRectangles mso_sptCurvedDownTextRect
[] =
1271 { { 43 MSO_I
, 45 MSO_I
}, { 44 MSO_I
, 46 MSO_I
} }
1273 static const SvxMSDffVertPair mso_sptCurvedDownGluePoints
[] =
1275 { 17 MSO_I
, 0 }, { 16 MSO_I
, 21600 }, { 12 MSO_I
, 2 MSO_I
}, { 8 MSO_I
, 21600 }, { 14 MSO_I
, 2 MSO_I
}
1277 static const SvxMSDffHandle mso_sptCurvedDownHandles
[] =
1279 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1280 0x100, 21600, 10800, 10800, 3 + 0x26, 3 + 0x1b, 0, 10800 },
1281 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
1282 0x101, 21600, 10800, 10800, 3 + 0x19, 21600, 0, 10800 },
1283 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
1284 21600, 0x102, 10800, 10800, 3375, 21600, 3 + 0x2a, 21600 }
1286 static const mso_CustomShape msoCurvedDownArrow
=
1288 (SvxMSDffVertPair
*)mso_sptCurvedDownVert
, sizeof( mso_sptCurvedDownVert
) / sizeof( SvxMSDffVertPair
),
1289 (sal_uInt16
*)mso_sptCurvedDownSegm
, sizeof( mso_sptCurvedDownSegm
) >> 1,
1290 (SvxMSDffCalculationData
*)mso_sptCurvedDownCalc
, sizeof( mso_sptCurvedDownCalc
) / sizeof( SvxMSDffCalculationData
),
1291 (sal_Int32
*)mso_sptCurvedDownDefault
,
1292 (SvxMSDffTextRectangles
*)mso_sptCurvedDownTextRect
, sizeof( mso_sptCurvedDownTextRect
) / sizeof( SvxMSDffTextRectangles
),
1294 0x80000000, 0x80000000,
1295 (SvxMSDffVertPair
*)mso_sptCurvedDownGluePoints
, sizeof( mso_sptCurvedDownGluePoints
) / sizeof( SvxMSDffVertPair
),
1296 (SvxMSDffHandle
*)mso_sptCurvedDownHandles
, sizeof( mso_sptCurvedDownHandles
) / sizeof( SvxMSDffHandle
)
1299 static const SvxMSDffVertPair mso_sptCurvedUpVert
[] =
1301 { 0, 22 MSO_I
}, { 3 MSO_I
, 21 MSO_I
}, { 0, 0 }, { 4 MSO_I
, 21 MSO_I
},
1302 { 14 MSO_I
, 22 MSO_I
}, { 1 MSO_I
, 21 MSO_I
}, { 7 MSO_I
, 21 MSO_I
}, { 12 MSO_I
, 2 MSO_I
},
1303 { 13 MSO_I
, 2 MSO_I
}, { 8 MSO_I
, 0 }, { 11 MSO_I
, 2 MSO_I
},
1304 { 0, 22 MSO_I
}, { 3 MSO_I
, 21 MSO_I
}, { 10 MSO_I
, 2 MSO_I
}, { 16 MSO_I
, 24 MSO_I
},
1305 { 14 MSO_I
, 22 MSO_I
}, { 1 MSO_I
, 21 MSO_I
}, { 16 MSO_I
, 24 MSO_I
}, { 14 MSO_I
, 0 },
1306 { 14 MSO_I
, 22 MSO_I
}, { 1 MSO_I
, 21 MSO_I
}, { 7 MSO_I
, 21 MSO_I
}, { 16 MSO_I
, 24 MSO_I
}
1308 static const sal_uInt16 mso_sptCurvedUpSegm
[] =
1319 static const SvxMSDffCalculationData mso_sptCurvedUpCalc
[] =
1321 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1322 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1323 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1324 { 0xa000, { DFF_Prop_adjustValue
, 21600, DFF_Prop_adjust2Value
} },
1325 { 0x2001, { 0x403, 1, 2 } },
1326 { 0x6000, { DFF_Prop_adjust2Value
, DFF_Prop_adjust2Value
, 21600 } },
1327 { 0xe000, { 0x405, DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
} },
1328 { 0x2001, { 0x406, 1, 2 } },
1329 { 0x4002, { 21600, DFF_Prop_adjustValue
, 0 } },
1330 { 0xa00f, { DFF_Prop_adjust3Value
, 21600, 0x404 } },
1331 { 0x6000, { 0x404, 0x409, 0 } },
1332 { 0x6000, { 0x40a, DFF_Prop_adjust2Value
, 21600 } },
1333 { 0x6000, { 0x407, 0x409, 0 } },
1334 { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue
} },
1335 { 0xa000, { 0x405, 0, DFF_Prop_adjustValue
} },
1336 { 0x2001, { 0x40e, 1, 2 } },
1337 { 0x6002, { 0x404, 0x407, 0 } },
1338 { 0x6000, { DFF_Prop_adjustValue
, DFF_Prop_adjust2Value
, 21600 } },
1339 { 0x2001, { 0x411, 1, 2 } },
1340 { 0xa000, { 0x410, 0, 0x412 } },
1341 { 0x0000, { 21600, 0, 0 } },
1342 { 0x0000, { 21600, 0, 0 } },
1343 { 0x0000, { 0, 0, 21600 } },
1344 { 0xa000, { 0x410, 0, 0x404 } },
1345 { 0x600f, { 0x417, 0x404, 21600 } },
1346 { 0x2000, { 0x408, 128, 0 } },
1347 { 0x2001, { 0x405, 1, 2 } },
1348 { 0x2000, { 0x405, 0, 128 } },
1349 { 0xe000, { DFF_Prop_adjustValue
, 0x410, 0x40b } },
1350 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
1351 { 0x2001, { 0x41d, 1, 2 } },
1352 { 0x0001, { 21600, 21600, 1 } },
1353 { 0x6001, { DFF_Prop_adjust3Value
, DFF_Prop_adjust3Value
, 1 } },
1354 { 0xa000, { 0x41f, 0, 0x420 } },
1355 { 0x200d, { 0x421, 0, 0 } },
1356 { 0x2000, { 0x422, 21600, 0 } },
1357 { 0x8001, { 21600, 21600, 0x423 } },
1358 { 0x2000, { 0x424, 64, 0 } },
1359 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
1360 { 0x600f, { 0x41e, 0x426, 21600 } },
1361 { 0x2000, { 0x427, 0, 64 } },
1362 { 0x2001, { 0x404, 1, 2 } },
1363 { 0xa000, { DFF_Prop_adjust2Value
, 0, 0x429 } },
1364 { 0x0001, { 21600, 2195, 16384 } },
1365 { 0x0001, { 21600, 14189, 16384 } }
1367 static const sal_Int32 mso_sptCurvedUpDefault
[] =
1369 3, 12960, 19440, 7200
1371 static const SvxMSDffTextRectangles mso_sptCurvedUpTextRect
[] =
1373 { { 41 MSO_I
, 43 MSO_I
}, { 42 MSO_I
, 44 MSO_I
} }
1375 static const SvxMSDffVertPair mso_sptCurvedUpGluePoints
[] =
1377 { 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
}
1379 static const SvxMSDffHandle mso_sptCurvedUpHandles
[] =
1381 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1382 0x100, 0, 10800, 10800, 3 + 37, 3 + 27, 0, 10800 },
1383 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1384 0x101, 0, 10800, 10800, 3 + 25, 3 + 20, 0, 10800 },
1385 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1386 21600, 0x102, 10800, 10800, 3375, 21600, 0, 3 + 40 }
1388 static const mso_CustomShape msoCurvedUpArrow
=
1390 (SvxMSDffVertPair
*)mso_sptCurvedUpVert
, sizeof( mso_sptCurvedUpVert
) / sizeof( SvxMSDffVertPair
),
1391 (sal_uInt16
*)mso_sptCurvedUpSegm
, sizeof( mso_sptCurvedUpSegm
) >> 1,
1392 (SvxMSDffCalculationData
*)mso_sptCurvedUpCalc
, sizeof( mso_sptCurvedUpCalc
) / sizeof( SvxMSDffCalculationData
),
1393 (sal_Int32
*)mso_sptCurvedUpDefault
,
1394 (SvxMSDffTextRectangles
*)mso_sptCurvedUpTextRect
, sizeof( mso_sptCurvedUpTextRect
) / sizeof( SvxMSDffTextRectangles
),
1396 0x80000000, 0x80000000,
1397 (SvxMSDffVertPair
*)mso_sptCurvedUpGluePoints
, sizeof( mso_sptCurvedUpGluePoints
) / sizeof( SvxMSDffVertPair
),
1398 (SvxMSDffHandle
*)mso_sptCurvedUpHandles
, sizeof( mso_sptCurvedUpHandles
) / sizeof( SvxMSDffHandle
)
1401 static const SvxMSDffVertPair mso_sptCurvedRightVert
[] =
1403 { 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
},
1404 { 2 MSO_I
, 14 MSO_I
}, { 22 MSO_I
, 8 MSO_I
}, { 2 MSO_I
, 12 MSO_I
},
1405 { 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
},
1406 { 0, 0 }, { 23 MSO_I
, 3 MSO_I
}, { 0, 4 MSO_I
}, { 26 MSO_I
, 17 MSO_I
}
1408 static const sal_uInt16 mso_sptCurvedRightSegm
[] =
1419 static const SvxMSDffCalculationData mso_sptCurvedRightCalc
[] =
1421 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1422 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1423 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1424 { 0xa000, { DFF_Prop_adjustValue
, 21600, DFF_Prop_adjust2Value
} },
1425 { 0x2001, { 0x403, 1, 2 } },
1426 { 0x6000, { DFF_Prop_adjust2Value
, DFF_Prop_adjust2Value
, 21600 } },
1427 { 0xe000, { 0x405, DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
} },
1428 { 0x2001, { 0x406, 1, 2 } },
1429 { 0x4002, { 21600, DFF_Prop_adjustValue
, 0 } },
1430 { 0x8000, { 21600, 0, DFF_Prop_adjust3Value
} },
1431 { 0xa00f, { 0x409, 21600, 0x404 } },
1432 { 0x6000, { 0x404, 0x40a, 0 } },
1433 { 0x6000, { 0x40b, DFF_Prop_adjust2Value
, 21600 } },
1434 { 0x6000, { 0x407, 0x40a, 0 } },
1435 { 0xa000, { 0x40c, 21600, DFF_Prop_adjustValue
} },
1436 { 0xa000, { 0x405, 0, DFF_Prop_adjustValue
} },
1437 { 0x2001, { 0x40f, 1, 2 } },
1438 { 0x6002, { 0x404, 0x407, 0 } },
1439 { 0x6000, { DFF_Prop_adjustValue
, DFF_Prop_adjust2Value
, 21600 } },
1440 { 0x2001, { 0x412, 1, 2 } },
1441 { 0xa000, { 0x411, 0, 0x413 } },
1442 { 0x0000, { 21600, 0, 0 } },
1443 { 0x0000, { 21600, 0, 0 } },
1444 { 0x0001, { 21600, 2, 1 } },
1445 { 0xa000, { 0x411, 0, 0x404 } },
1446 { 0x600f, { 0x418, 0x404, 21600 } },
1447 { 0x8000, { 21600, 0, 0x419 } },
1448 { 0x2000, { 0x408, 128, 0 } },
1449 { 0x2001, { 0x405, 1, 2 } },
1450 { 0x2000, { 0x405, 0, 128 } },
1451 { 0xe000, { DFF_Prop_adjustValue
, 0x411, 0x40c } },
1452 { 0x600f, { 0x414, 0x404, 21600 } },
1453 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
1454 { 0x2001, { 0x420, 1, 2 } },
1455 { 0x0001, { 21600, 21600, 1 } },
1456 { 0x6001, { 0x409, 0x409, 1 } },
1457 { 0xa000, { 0x422, 0, 0x423 } },
1458 { 0x200d, { 0x424, 0, 0 } },
1459 { 0x2000, { 0x425, 21600, 0 } },
1460 { 0x8001, { 21600, 21600, 0x426 } },
1461 { 0x2000, { 0x427, 64, 0 } },
1462 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
1463 { 0x600f, { 0x421, 0x429, 21600 } },
1464 { 0x8000, { 21600, 0, 0x42a } },
1465 { 0x2000, { 0x42b, 64, 0 } },
1466 { 0x2001, { 0x404, 1, 2 } },
1467 { 0xa000, { DFF_Prop_adjust2Value
, 0, 0x42d } },
1468 { 0x0001, { 21600, 2195, 16384 } },
1469 { 0x0001, { 21600, 14189, 16384 } }
1471 static const sal_Int32 mso_sptCurvedRightDefault
[] =
1473 3, 12960, 19440, 14400
1475 static const SvxMSDffTextRectangles mso_sptCurvedRightTextRect
[] =
1477 { { 47 MSO_I
, 45 MSO_I
}, { 48 MSO_I
, 46 MSO_I
} }
1479 static const SvxMSDffVertPair mso_sptCurvedRightGluePoints
[] =
1481 { 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
}
1483 static const SvxMSDffHandle mso_sptCurvedRightHandles
[] =
1485 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1486 21600, 0x100, 10800, 10800, 0, 10800, 3 + 40, 3 + 29 },
1487 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1488 21600, 0x101, 10800, 10800, 0, 10800, 3 + 27, 3 + 21 },
1489 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1490 0x102, 21600, 10800, 10800, 3 + 44, 3 + 22, 3375, 21600 }
1492 static const mso_CustomShape msoCurvedRightArrow
=
1494 (SvxMSDffVertPair
*)mso_sptCurvedRightVert
, sizeof( mso_sptCurvedRightVert
) / sizeof( SvxMSDffVertPair
),
1495 (sal_uInt16
*)mso_sptCurvedRightSegm
, sizeof( mso_sptCurvedRightSegm
) >> 1,
1496 (SvxMSDffCalculationData
*)mso_sptCurvedRightCalc
, sizeof( mso_sptCurvedRightCalc
) / sizeof( SvxMSDffCalculationData
),
1497 (sal_Int32
*)mso_sptCurvedRightDefault
,
1498 (SvxMSDffTextRectangles
*)mso_sptCurvedRightTextRect
, sizeof( mso_sptCurvedRightTextRect
) / sizeof( SvxMSDffTextRectangles
),
1500 0x80000000, 0x80000000,
1501 (SvxMSDffVertPair
*)mso_sptCurvedRightGluePoints
, sizeof( mso_sptCurvedRightGluePoints
) / sizeof( SvxMSDffVertPair
),
1502 (SvxMSDffHandle
*)mso_sptCurvedRightHandles
, sizeof( mso_sptCurvedRightHandles
) / sizeof( SvxMSDffHandle
)
1505 static const SvxMSDffVertPair mso_sptCurvedLeftVert
[] =
1507 { 22 MSO_I
, 0 }, { 21 MSO_I
, 3 MSO_I
}, { 0, 0 }, { 21 MSO_I
, 4 MSO_I
}, { 22 MSO_I
, 14 MSO_I
}, { 21 MSO_I
, 1 MSO_I
}, { 21 MSO_I
, 7 MSO_I
}, { 2 MSO_I
, 12 MSO_I
},
1508 { 2 MSO_I
, 13 MSO_I
}, { 0, 8 MSO_I
}, { 2 MSO_I
, 11 MSO_I
},
1509 { 22 MSO_I
, 0 }, { 21 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 10 MSO_I
}, { 24 MSO_I
, 16 MSO_I
}, { 22 MSO_I
, 14 MSO_I
}, { 21 MSO_I
, 1 MSO_I
}, { 24 MSO_I
, 16 MSO_I
}, { 0, 14 MSO_I
},
1510 { 22 MSO_I
, 14 MSO_I
}, { 21 MSO_I
, 1 MSO_I
}, { 21 MSO_I
, 7 MSO_I
}, { 24 MSO_I
, 16 MSO_I
}
1512 static const sal_uInt16 mso_sptCurvedLeftSegm
[] =
1523 static const SvxMSDffCalculationData mso_sptCurvedLeftCalc
[] =
1525 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1526 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1527 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1528 { 0xa000, { DFF_Prop_adjustValue
, 21600, DFF_Prop_adjust2Value
} },
1529 { 0x2001, { 0x403, 1, 2 } },
1530 { 0x6000, { DFF_Prop_adjust2Value
, DFF_Prop_adjust2Value
, 21600 } },
1531 { 0xe000, { 0x405, DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
} },
1532 { 0x2001, { 0x406, 1, 2 } },
1533 { 0x4002, { 21600, DFF_Prop_adjustValue
, 0 } },
1534 { 0xa00f, { DFF_Prop_adjust3Value
, 21600, 0x404 } },
1535 { 0x6000, { 0x404, 0x409, 0 } },
1536 { 0x6000, { 0x40a, DFF_Prop_adjust2Value
, 21600 } },
1537 { 0x6000, { 0x407, 0x409, 0 } },
1538 { 0xa000, { 0x40b, 21600, DFF_Prop_adjustValue
} },
1539 { 0xa000, { 0x405, 0, DFF_Prop_adjustValue
} },
1540 { 0x2001, { 0x40e, 1, 2 } },
1541 { 0x6002, { 0x404, 0x407, 0 } },
1542 { 0x6000, { DFF_Prop_adjustValue
, DFF_Prop_adjust2Value
, 21600 } },
1543 { 0x2001, { 0x411, 1, 2 } },
1544 { 0xa000, { 0x410, 0, 0x412 } },
1545 { 0x0000, { 21600, 0, 0 } },
1546 { 0x0000, { 21600, 0, 0 } },
1547 { 0x0000, { 0, 0, 21600 } },
1548 { 0xa000, { 0x410, 0, 0x404 } },
1549 { 0x600f, { 0x417, 0x404, 21600 } },
1550 { 0x2000, { 0x408, 128, 0 } },
1551 { 0x2001, { 0x405, 1, 2 } },
1552 { 0x2000, { 0x405, 0, 128 } },
1553 { 0xe000, { DFF_Prop_adjustValue
, 0x410, 0x40b } },
1554 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
1555 { 0x2001, { 0x41d, 1, 2 } },
1556 { 0x0001, { 21600, 21600, 1 } },
1557 { 0x6001, { DFF_Prop_adjust3Value
, DFF_Prop_adjust3Value
, 1 } },
1558 { 0xa000, { 0x41f, 0, 0x420 } },
1559 { 0x200d, { 0x421, 0, 0 } },
1560 { 0x2000, { 0x422, 21600, 0 } },
1561 { 0x8001, { 21600, 21600, 0x423 } },
1562 { 0x2000, { 0x424, 64, 0 } },
1563 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
1564 { 0x600f, { 0x41e, 0x426, 21600 } },
1565 { 0x2000, { 0x427, 0, 64 } },
1566 { 0x2001, { 0x404, 1, 2 } },
1567 { 0xa000, { DFF_Prop_adjust2Value
, 0, 0x429 } },
1568 { 0x0001, { 21600, 2195, 16384 } },
1569 { 0x0001, { 21600, 14189, 16384 } }
1571 static const sal_Int32 mso_sptCurvedLeftDefault
[] =
1573 3, 12960, 19440, 7200
1575 static const SvxMSDffTextRectangles mso_sptCurvedLeftTextRect
[] =
1577 { { 43 MSO_I
, 41 MSO_I
}, { 44 MSO_I
, 42 MSO_I
} }
1579 static const SvxMSDffVertPair mso_sptCurvedLeftGluePoints
[] =
1581 { 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
}
1583 static const SvxMSDffHandle mso_sptCurvedLeftHandles
[] =
1585 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1586 0, 0x100, 10800, 10800, 0, 10800, 3 + 37, 3 + 27 },
1587 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1588 0, 0x101, 10800, 10800, 0, 10800, 3 + 25, 3 + 20 },
1589 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1590 0x102, 21600, 10800, 10800, 0, 3 + 40, 3375, 21600 }
1592 static const mso_CustomShape msoCurvedLeftArrow
=
1594 (SvxMSDffVertPair
*)mso_sptCurvedLeftVert
, sizeof( mso_sptCurvedLeftVert
) / sizeof( SvxMSDffVertPair
),
1595 (sal_uInt16
*)mso_sptCurvedLeftSegm
, sizeof( mso_sptCurvedLeftSegm
) >> 1,
1596 (SvxMSDffCalculationData
*)mso_sptCurvedLeftCalc
, sizeof( mso_sptCurvedLeftCalc
) / sizeof( SvxMSDffCalculationData
),
1597 (sal_Int32
*)mso_sptCurvedLeftDefault
,
1598 (SvxMSDffTextRectangles
*)mso_sptCurvedLeftTextRect
, sizeof( mso_sptCurvedLeftTextRect
) / sizeof( SvxMSDffTextRectangles
),
1600 0x80000000, 0x80000000,
1601 (SvxMSDffVertPair
*)mso_sptCurvedLeftGluePoints
, sizeof( mso_sptCurvedLeftGluePoints
) / sizeof( SvxMSDffVertPair
),
1602 (SvxMSDffHandle
*)mso_sptCurvedLeftHandles
, sizeof( mso_sptCurvedLeftHandles
) / sizeof( SvxMSDffHandle
)
1609 static const SvxMSDffVertPair mso_sptStripedRightArrowVert
[] = // adjustment1 : x 3375 - 21600
1610 { // adjustment2 : y 0 - 10800
1611 { 3375, 0 MSO_I
}, { 1 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 0 }, { 21600, 10800 },
1612 { 1 MSO_I
, 21600 }, { 1 MSO_I
, 2 MSO_I
}, { 3375, 2 MSO_I
}, { 0, 0 MSO_I
},
1613 { 675, 0 MSO_I
}, { 675, 2 MSO_I
}, { 0, 2 MSO_I
}, { 1350, 0 MSO_I
},
1614 { 2700, 0 MSO_I
}, { 2700, 2 MSO_I
}, { 1350, 2 MSO_I
}
1616 static const sal_uInt16 mso_sptStripedRightArrowSegm
[] =
1618 0x4000, 0x0006, 0x6001, 0x8000,
1619 0x4000, 0x0003, 0x6001, 0x8000,
1620 0x4000, 0x0003, 0x6001, 0x8000
1622 static const SvxMSDffCalculationData mso_sptStripedRightArrowCalc
[] =
1624 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1625 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1626 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} },
1627 { 0x8000, { 21600, 0, 0x401 } },
1628 { 0x6001, { 0x403, 0x400, 10800 } },
1629 { 0x6000, { 0x401, 0x404, 0 } }
1631 static const SvxMSDffTextRectangles mso_sptStripedRightArrowTextRect
[] =
1633 { { 3375, 0 MSO_I
}, { 5 MSO_I
, 2 MSO_I
} }
1635 static const SvxMSDffHandle mso_sptStripedRightArrowHandle
[] =
1637 { MSDFF_HANDLE_FLAGS_RANGE
,
1638 0x100, 0x101, 10800, 10800, 3375, 21600, 0, 10800 }
1640 static const mso_CustomShape msoStripedRightArrow
=
1642 (SvxMSDffVertPair
*)mso_sptStripedRightArrowVert
, sizeof( mso_sptStripedRightArrowVert
) / sizeof( SvxMSDffVertPair
),
1643 (sal_uInt16
*)mso_sptStripedRightArrowSegm
, sizeof( mso_sptStripedRightArrowSegm
) >> 1,
1644 (SvxMSDffCalculationData
*)mso_sptStripedRightArrowCalc
, sizeof( mso_sptStripedRightArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1645 (sal_Int32
*)mso_sptDefault16200and5400
,
1646 (SvxMSDffTextRectangles
*)mso_sptStripedRightArrowTextRect
, sizeof( mso_sptStripedRightArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1648 0x80000000, 0x80000000,
1650 (SvxMSDffHandle
*)mso_sptStripedRightArrowHandle
, sizeof( mso_sptStripedRightArrowHandle
) / sizeof( SvxMSDffHandle
)
1653 static const SvxMSDffVertPair mso_sptNotchedRightArrowVert
[] = // adjustment1 : x 0 - 21600 (default 16200)
1654 { // adjustment2 : y 0 - 10800 (default 5400)
1655 { 0, 1 MSO_I
}, { 0 MSO_I
, 1 MSO_I
}, { 0 MSO_I
, 0 }, { 21600, 10800 },
1656 { 0 MSO_I
, 21600 }, { 0 MSO_I
, 2 MSO_I
}, { 0, 2 MSO_I
}, { 5 MSO_I
, 10800 }, { 0, 1 MSO_I
}
1658 static const SvxMSDffCalculationData mso_sptNotchedRightArrowCalc
[] =
1660 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1661 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1662 { 0x8000, { 21600, 0, DFF_Prop_adjust2Value
} },
1663 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
1664 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} },
1665 { 0x6001, { 0x403, 0x404, 10800 } }
1667 static const SvxMSDffTextRectangles mso_sptNotchedRightArrowTextRect
[] = // todo
1669 { { 0, 0 }, { 21600, 21600 } }
1671 static const SvxMSDffHandle mso_sptNotchedRightArrowHandle
[] =
1673 { MSDFF_HANDLE_FLAGS_RANGE
,
1674 0x100, 0x101, 10800, 10800, 0, 21600, 0, 10800 }
1676 static const mso_CustomShape msoNotchedRightArrow
=
1678 (SvxMSDffVertPair
*)mso_sptNotchedRightArrowVert
, sizeof( mso_sptNotchedRightArrowVert
) / sizeof( SvxMSDffVertPair
),
1680 (SvxMSDffCalculationData
*)mso_sptNotchedRightArrowCalc
, sizeof( mso_sptNotchedRightArrowCalc
) / sizeof( SvxMSDffCalculationData
),
1681 (sal_Int32
*)mso_sptDefault16200and5400
,
1682 (SvxMSDffTextRectangles
*)mso_sptNotchedRightArrowTextRect
, sizeof( mso_sptNotchedRightArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
1684 0x80000000, 0x80000000,
1686 (SvxMSDffHandle
*)mso_sptNotchedRightArrowHandle
, sizeof( mso_sptNotchedRightArrowHandle
) / sizeof( SvxMSDffHandle
)
1689 static const SvxMSDffVertPair mso_sptHomePlateVert
[] = // adjustment1 : x 0 - 21600
1691 { 0, 0 }, { 0 MSO_I
, 0 }, { 21600, 10800 }, { 0 MSO_I
, 21600 },
1694 static const sal_uInt16 mso_sptHomePlateSegm
[] =
1696 0x4000, 0x0004, 0x6001, 0x8000
1698 static const SvxMSDffCalculationData mso_sptHomePlateCalc
[] =
1700 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }
1702 static const sal_Int32 mso_sptHomePlateDefault
[] =
1706 static const SvxMSDffTextRectangles mso_sptHomePlateTextRect
[] = // todo
1708 { { 0, 0 }, { 21600, 21600 } }
1710 static const SvxMSDffHandle mso_sptHomePlateHandle
[] =
1712 { MSDFF_HANDLE_FLAGS_RANGE
,
1713 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
1715 static const mso_CustomShape msoHomePlate
=
1717 (SvxMSDffVertPair
*)mso_sptHomePlateVert
, sizeof( mso_sptHomePlateVert
) / sizeof( SvxMSDffVertPair
),
1718 (sal_uInt16
*)mso_sptHomePlateSegm
, sizeof( mso_sptHomePlateSegm
) >> 1,
1719 (SvxMSDffCalculationData
*)mso_sptHomePlateCalc
, sizeof( mso_sptHomePlateCalc
) / sizeof( SvxMSDffCalculationData
),
1720 (sal_Int32
*)mso_sptHomePlateDefault
,
1721 (SvxMSDffTextRectangles
*)mso_sptHomePlateTextRect
, sizeof( mso_sptHomePlateTextRect
) / sizeof( SvxMSDffTextRectangles
),
1723 0x80000000, 0x80000000,
1725 (SvxMSDffHandle
*)mso_sptHomePlateHandle
, sizeof( mso_sptHomePlateHandle
) / sizeof( SvxMSDffHandle
)
1728 static const SvxMSDffVertPair mso_sptChevronVert
[] = // adjustment1 : x 0 - 21600
1730 { 0, 0 }, { 0 MSO_I
, 0 }, { 21600, 10800 }, { 0 MSO_I
, 21600 },
1731 { 0, 21600 }, { 1 MSO_I
, 10800 }
1733 static const sal_uInt16 mso_sptChevronSegm
[] =
1735 0x4000, 0x0005, 0x6001, 0x8000
1737 static const SvxMSDffCalculationData mso_sptChevronCalc
[] =
1739 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1740 { 0x8000, { 21600, 0, 0x0400 } }
1742 static const sal_Int32 mso_sptChevronDefault
[] =
1746 static const SvxMSDffTextRectangles mso_sptChevronTextRect
[] = // todo
1748 { { 0, 0 }, { 21600, 21600 } }
1750 static const SvxMSDffHandle mso_sptChevronHandle
[] =
1752 { MSDFF_HANDLE_FLAGS_RANGE
,
1753 0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
1755 static const mso_CustomShape msoChevron
=
1757 (SvxMSDffVertPair
*)mso_sptChevronVert
, sizeof( mso_sptChevronVert
) / sizeof( SvxMSDffVertPair
),
1758 (sal_uInt16
*)mso_sptChevronSegm
, sizeof( mso_sptChevronSegm
) >> 1,
1759 (SvxMSDffCalculationData
*)mso_sptChevronCalc
, sizeof( mso_sptChevronCalc
) / sizeof( SvxMSDffCalculationData
),
1760 (sal_Int32
*)mso_sptChevronDefault
,
1761 (SvxMSDffTextRectangles
*)mso_sptChevronTextRect
, sizeof( mso_sptChevronTextRect
) / sizeof( SvxMSDffTextRectangles
),
1763 0x80000000, 0x80000000,
1765 (SvxMSDffHandle
*)mso_sptChevronHandle
, sizeof( mso_sptChevronHandle
) / sizeof( SvxMSDffHandle
)
1768 static const SvxMSDffVertPair mso_sptRightArrowCalloutVert
[] = // adjustment1 : x 0 - 21000
1769 { // adjustment2 : y 0 - 10800
1770 { 0, 0 }, { 0 MSO_I
, 0 }, { 0 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 3 MSO_I
},
1771 { 2 MSO_I
, 1 MSO_I
}, { 21600, 10800 }, { 2 MSO_I
, 4 MSO_I
}, { 2 MSO_I
, 5 MSO_I
},
1772 { 0 MSO_I
, 5 MSO_I
}, { 0 MSO_I
, 21600 }, { 0, 21600 }
1774 static const sal_uInt16 mso_sptRightArrowCalloutSegm
[] =
1776 0x4000, 0x000a, 0x6001, 0x8000
1778 static const SvxMSDffCalculationData mso_sptRightArrowCalloutCalc
[] =
1780 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1781 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1782 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1783 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
1784 { 0x8000, { 21600, 0, 0x0401 } },
1785 { 0x8000, { 21600, 0, 0x0403 } }
1787 static const sal_Int32 mso_sptRightArrowCalloutDefault
[] =
1789 4, 14400, 5400, 18000, 8100
1791 static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect
[] =
1793 { { 0, 0 }, { 0 MSO_I
, 21600 } }
1795 static const SvxMSDffHandle mso_sptRightArrowCalloutHandle
[] =
1797 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1798 0x100, 0, 10800, 10800, 0, 0x102, 0x80000000, 0x7fffffff },
1799 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
1800 0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 },
1801 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1802 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
1804 static const mso_CustomShape msoRightArrowCallout
=
1806 (SvxMSDffVertPair
*)mso_sptRightArrowCalloutVert
, sizeof( mso_sptRightArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
1807 (sal_uInt16
*)mso_sptRightArrowCalloutSegm
, sizeof( mso_sptRightArrowCalloutSegm
) >> 1,
1808 (SvxMSDffCalculationData
*)mso_sptRightArrowCalloutCalc
, sizeof( mso_sptRightArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
1809 (sal_Int32
*)mso_sptRightArrowCalloutDefault
,
1810 (SvxMSDffTextRectangles
*)mso_sptRightArrowCalloutTextRect
, sizeof( mso_sptRightArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
1812 0x80000000, 0x80000000,
1814 (SvxMSDffHandle
*)mso_sptRightArrowCalloutHandle
, sizeof( mso_sptRightArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
1817 static const SvxMSDffVertPair mso_sptLeftArrowCalloutVert
[] = // adjustment1 : x 0 - 21600, adjustment2 : y 0 - 10800
1818 { // adjustment3 : x 0 - 21600, adjustment4 : y 0 - 10800
1819 { 0 MSO_I
, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0 MSO_I
, 21600 },
1820 { 0 MSO_I
, 5 MSO_I
}, { 2 MSO_I
, 5 MSO_I
}, { 2 MSO_I
, 4 MSO_I
}, { 0, 10800 },
1821 { 2 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}, { 0 MSO_I
, 3 MSO_I
}
1823 static const sal_uInt16 mso_sptLeftArrowCalloutSegm
[] =
1825 0x4000, 0x000a, 0x6001, 0x8000
1827 static const SvxMSDffCalculationData mso_sptLeftArrowCalloutCalc
[] =
1829 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1830 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1831 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1832 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
1833 { 0x8000, { 21600, 0, 0x0401 } },
1834 { 0x8000, { 21600, 0, 0x0403 } }
1836 static const sal_Int32 mso_sptLeftArrowCalloutDefault
[] =
1838 4, 7200, 5400, 3600, 8100
1840 static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect
[] =
1842 { { 0 MSO_I
, 0 }, { 21600, 21600 } }
1844 static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle
[] =
1846 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
1847 0x100, 0, 10800, 10800, 0x102, 21600, 0x80000000, 0x7fffffff },
1848 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
1849 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
1850 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1851 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
1853 static const mso_CustomShape msoLeftArrowCallout
=
1855 (SvxMSDffVertPair
*)mso_sptLeftArrowCalloutVert
, sizeof( mso_sptLeftArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
1856 (sal_uInt16
*)mso_sptLeftArrowCalloutSegm
, sizeof( mso_sptLeftArrowCalloutSegm
) >> 1,
1857 (SvxMSDffCalculationData
*)mso_sptLeftArrowCalloutCalc
, sizeof( mso_sptLeftArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
1858 (sal_Int32
*)mso_sptLeftArrowCalloutDefault
,
1859 (SvxMSDffTextRectangles
*)mso_sptLeftArrowCalloutTextRect
, sizeof( mso_sptLeftArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
1861 0x80000000, 0x80000000,
1863 (SvxMSDffHandle
*)mso_sptLeftArrowCalloutHandle
, sizeof( mso_sptLeftArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
1866 static const SvxMSDffVertPair mso_sptUpArrowCalloutVert
[] =
1868 { 21600, 0 MSO_I
}, { 21600, 21600 }, { 0, 21600 }, { 0, 0 MSO_I
},
1869 { 3 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
}, { 10800, 0 },
1870 { 4 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 0 MSO_I
}
1872 static const sal_uInt16 mso_sptUpArrowCalloutSegm
[] =
1874 0x4000, 0x000a, 0x6001, 0x8000
1876 static const SvxMSDffCalculationData mso_sptUpArrowCalloutCalc
[] =
1878 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1879 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1880 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1881 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
1882 { 0x8000, { 21600, 0, 0x0401 } },
1883 { 0x8000, { 21600, 0, 0x0403 } }
1885 static const sal_Int32 mso_sptUpArrowCalloutDefault
[] =
1887 4, 7200, 5400, 3600, 8100
1889 static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect
[] =
1891 { { 0, 0 MSO_I
}, { 21600, 21600 } }
1893 static const SvxMSDffHandle mso_sptUpArrowCalloutHandle
[] =
1895 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
1896 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 21600 },
1897 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1898 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
1899 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1900 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
1902 static const mso_CustomShape msoUpArrowCallout
=
1904 (SvxMSDffVertPair
*)mso_sptUpArrowCalloutVert
, sizeof( mso_sptUpArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
1905 (sal_uInt16
*)mso_sptUpArrowCalloutSegm
, sizeof( mso_sptUpArrowCalloutSegm
) >> 1,
1906 (SvxMSDffCalculationData
*)mso_sptUpArrowCalloutCalc
, sizeof( mso_sptUpArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
1907 (sal_Int32
*)mso_sptUpArrowCalloutDefault
,
1908 (SvxMSDffTextRectangles
*)mso_sptUpArrowCalloutTextRect
, sizeof( mso_sptUpArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
1910 0x80000000, 0x80000000,
1912 (SvxMSDffHandle
*)mso_sptUpArrowCalloutHandle
, sizeof( mso_sptUpArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
1915 static const SvxMSDffVertPair mso_sptDownArrowCalloutVert
[] =
1917 { 0, 0 MSO_I
}, { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I
},
1918 { 5 MSO_I
, 0 MSO_I
}, { 5 MSO_I
, 2 MSO_I
}, { 4 MSO_I
, 2 MSO_I
}, { 10800, 21600 },
1919 { 1 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 0 MSO_I
}
1921 static const sal_uInt16 mso_sptDownArrowCalloutSegm
[] =
1923 0x4000, 0x000a, 0x6001, 0x8000
1925 static const SvxMSDffCalculationData mso_sptDownArrowCalloutCalc
[] =
1927 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1928 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1929 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1930 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
1931 { 0x8000, { 21600, 0, 0x0401 } },
1932 { 0x8000, { 21600, 0, 0x0403 } }
1934 static const sal_Int32 mso_sptDownArrowCalloutDefault
[] =
1936 4, 14400, 5400, 18000, 8100
1938 static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect
[] =
1940 { { 0, 0 }, { 21600, 0 MSO_I
} }
1942 static const SvxMSDffHandle mso_sptDownArrowCalloutHandle
[] =
1944 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
1945 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x102 },
1946 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
1947 0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 },
1948 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
1949 0x101, 1, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
1951 static const mso_CustomShape msoDownArrowCallout
=
1953 (SvxMSDffVertPair
*)mso_sptDownArrowCalloutVert
, sizeof( mso_sptDownArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
1954 (sal_uInt16
*)mso_sptDownArrowCalloutSegm
, sizeof( mso_sptDownArrowCalloutSegm
) >> 1,
1955 (SvxMSDffCalculationData
*)mso_sptDownArrowCalloutCalc
, sizeof( mso_sptDownArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
1956 (sal_Int32
*)mso_sptDownArrowCalloutDefault
,
1957 (SvxMSDffTextRectangles
*)mso_sptDownArrowCalloutTextRect
, sizeof( mso_sptDownArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
1959 0x80000000, 0x80000000,
1961 (SvxMSDffHandle
*)mso_sptDownArrowCalloutHandle
, sizeof( mso_sptDownArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
1964 static const SvxMSDffVertPair mso_sptLeftRightArrowCalloutVert
[] =
1966 { 0 MSO_I
, 0 }, { 4 MSO_I
, 0 }, { 4 MSO_I
, 3 MSO_I
}, { 6 MSO_I
, 3 MSO_I
},
1967 { 6 MSO_I
, 1 MSO_I
}, { 21600, 10800 }, { 6 MSO_I
, 5 MSO_I
}, { 6 MSO_I
, 7 MSO_I
},
1968 { 4 MSO_I
, 7 MSO_I
}, { 4 MSO_I
, 21600 }, { 0 MSO_I
, 21600 }, { 0 MSO_I
, 7 MSO_I
},
1969 { 2 MSO_I
, 7 MSO_I
}, { 2 MSO_I
, 5 MSO_I
}, { 0, 10800 }, { 2 MSO_I
, 1 MSO_I
},
1970 { 2 MSO_I
, 3 MSO_I
}, { 0 MSO_I
, 3 MSO_I
}
1972 static const sal_uInt16 mso_sptLeftRightArrowCalloutSegm
[] =
1974 0x4000, 0x0011, 0x6001, 0x8000
1976 static const SvxMSDffCalculationData mso_sptLeftRightArrowCalloutCalc
[] =
1978 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
1979 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
1980 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
1981 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
1982 { 0x8000, { 21600, 0, 0x0400 } },
1983 { 0x8000, { 21600, 0, 0x0401 } },
1984 { 0x8000, { 21600, 0, 0x0402 } },
1985 { 0x8000, { 21600, 0, 0x0403 } }
1987 static const sal_Int32 mso_sptLeftRightArrowCalloutDefault
[] =
1989 4, 5400, 5500, 2700, 8100
1991 static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect
[] =
1993 { { 0 MSO_I
, 0 }, { 4 MSO_I
, 21600 } }
1995 static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle
[] =
1997 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
1998 0x100, 0, 10800, 10800, 0x102, 10800, 0x80000000, 0x7fffffff },
1999 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
2000 0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
2001 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
2002 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
2004 static const mso_CustomShape msoLeftRightArrowCallout
=
2006 (SvxMSDffVertPair
*)mso_sptLeftRightArrowCalloutVert
, sizeof( mso_sptLeftRightArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
2007 (sal_uInt16
*)mso_sptLeftRightArrowCalloutSegm
, sizeof( mso_sptLeftRightArrowCalloutSegm
) >> 1,
2008 (SvxMSDffCalculationData
*)mso_sptLeftRightArrowCalloutCalc
, sizeof( mso_sptLeftRightArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
2009 (sal_Int32
*)mso_sptLeftRightArrowCalloutDefault
,
2010 (SvxMSDffTextRectangles
*)mso_sptLeftRightArrowCalloutTextRect
, sizeof( mso_sptLeftRightArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
2012 0x80000000, 0x80000000,
2014 (SvxMSDffHandle
*)mso_sptLeftRightArrowCalloutHandle
, sizeof( mso_sptLeftRightArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
2017 static const SvxMSDffVertPair mso_sptUpDownArrowCalloutVert
[] =
2019 { 0, 0 MSO_I
}, { 0, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 6 MSO_I
},
2020 { 1 MSO_I
, 6 MSO_I
}, { 10800, 21600 }, { 5 MSO_I
, 6 MSO_I
}, { 7 MSO_I
, 6 MSO_I
},
2021 { 7 MSO_I
, 4 MSO_I
}, { 21600, 4 MSO_I
}, { 21600, 0 MSO_I
}, { 7 MSO_I
, 0 MSO_I
},
2022 { 7 MSO_I
, 2 MSO_I
}, { 5 MSO_I
, 2 MSO_I
}, { 10800, 0 }, { 1 MSO_I
, 2 MSO_I
},
2023 { 3 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 0 MSO_I
}
2025 static const sal_uInt16 mso_sptUpDownArrowCalloutSegm
[] =
2027 0x4000, 0x0011, 0x6001, 0x8000
2029 static const SvxMSDffCalculationData mso_sptUpDownArrowCalloutCalc
[] =
2031 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2032 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
2033 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
2034 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
2035 { 0x8000, { 21600, 0, 0x0400 } },
2036 { 0x8000, { 21600, 0, 0x0401 } },
2037 { 0x8000, { 21600, 0, 0x0402 } },
2038 { 0x8000, { 21600, 0, 0x0403 } }
2040 static const sal_Int32 mso_sptUpDownArrowCalloutDefault
[] =
2042 4, 5400, 5500, 2700, 8100
2044 static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect
[] =
2046 { { 0, 0 MSO_I
}, { 21600, 4 MSO_I
} }
2048 static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle
[] =
2050 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
,
2051 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 10800 },
2052 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
2053 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
2054 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
2055 0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
2057 static const mso_CustomShape msoUpDownArrowCallout
=
2059 (SvxMSDffVertPair
*)mso_sptUpDownArrowCalloutVert
, sizeof( mso_sptUpDownArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
2060 (sal_uInt16
*)mso_sptUpDownArrowCalloutSegm
, sizeof( mso_sptUpDownArrowCalloutSegm
) >> 1,
2061 (SvxMSDffCalculationData
*)mso_sptUpDownArrowCalloutCalc
, sizeof( mso_sptUpDownArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
2062 (sal_Int32
*)mso_sptUpDownArrowCalloutDefault
,
2063 (SvxMSDffTextRectangles
*)mso_sptUpDownArrowCalloutTextRect
, sizeof( mso_sptUpDownArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
2065 0x80000000, 0x80000000,
2067 (SvxMSDffHandle
*)mso_sptUpDownArrowCalloutHandle
, sizeof( mso_sptUpDownArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
2070 static const SvxMSDffVertPair mso_sptQuadArrowCalloutVert
[] =
2072 { 0 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2073 { 10800, 0 }, { 5 MSO_I
, 2 MSO_I
}, { 7 MSO_I
, 2 MSO_I
}, { 7 MSO_I
, 0 MSO_I
},
2074 { 4 MSO_I
, 0 MSO_I
}, { 4 MSO_I
, 3 MSO_I
}, { 6 MSO_I
, 3 MSO_I
}, { 6 MSO_I
, 1 MSO_I
},
2075 { 21600, 10800 }, { 6 MSO_I
, 5 MSO_I
}, { 6 MSO_I
, 7 MSO_I
}, { 4 MSO_I
, 7 MSO_I
},
2076 { 4 MSO_I
, 4 MSO_I
}, { 7 MSO_I
, 4 MSO_I
}, { 7 MSO_I
, 6 MSO_I
}, { 5 MSO_I
, 6 MSO_I
},
2077 { 10800, 21600 }, { 1 MSO_I
, 6 MSO_I
}, { 3 MSO_I
, 6 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2078 { 0 MSO_I
, 4 MSO_I
}, { 0 MSO_I
, 7 MSO_I
}, { 2 MSO_I
, 7 MSO_I
}, { 2 MSO_I
, 5 MSO_I
},
2079 { 0, 10800 }, { 2 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}, { 0 MSO_I
, 3 MSO_I
}
2081 static const sal_uInt16 mso_sptQuadArrowCalloutSegm
[] =
2083 0x4000, 0x001f, 0x6001, 0x8000
2085 static const SvxMSDffCalculationData mso_sptQuadArrowCalloutCalc
[] =
2087 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2088 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
2089 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
2090 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
2091 { 0x8000, { 21600, 0, 0x0400 } },
2092 { 0x8000, { 21600, 0, 0x0401 } },
2093 { 0x8000, { 21600, 0, 0x0402 } },
2094 { 0x8000, { 21600, 0, 0x0403 } }
2096 static const sal_Int32 mso_sptQuadArrowCalloutDefault
[] =
2098 4, 5400, 8100, 2700, 9400
2100 static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect
[] =
2102 { { 0 MSO_I
, 0 MSO_I
}, { 4 MSO_I
, 4 MSO_I
} }
2104 static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle
[] =
2106 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
2107 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 0x101 },
2108 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
,
2109 0x101, 0, 10800, 10800, 0x100, 10800, 0x80000000, 0x7fffffff },
2110 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
2111 0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }
2113 static const mso_CustomShape msoQuadArrowCallout
=
2115 (SvxMSDffVertPair
*)mso_sptQuadArrowCalloutVert
, sizeof( mso_sptQuadArrowCalloutVert
) / sizeof( SvxMSDffVertPair
),
2116 (sal_uInt16
*)mso_sptQuadArrowCalloutSegm
, sizeof( mso_sptQuadArrowCalloutSegm
) >> 1,
2117 (SvxMSDffCalculationData
*)mso_sptQuadArrowCalloutCalc
, sizeof( mso_sptQuadArrowCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
2118 (sal_Int32
*)mso_sptQuadArrowCalloutDefault
,
2119 (SvxMSDffTextRectangles
*)mso_sptQuadArrowCalloutTextRect
, sizeof( mso_sptQuadArrowCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
2121 0x80000000, 0x80000000,
2123 (SvxMSDffHandle
*)mso_sptQuadArrowCalloutHandle
, sizeof( mso_sptQuadArrowCalloutHandle
) / sizeof( SvxMSDffHandle
)
2126 static const SvxMSDffVertPair mso_sptCircularArrowVert
[] =
2128 { 0x03 MSO_I
, 0x03 MSO_I
},
2129 { 0x14 MSO_I
, 0x14 MSO_I
},
2130 { 0x13 MSO_I
, 0x12 MSO_I
},
2131 { 0x11 MSO_I
, 0x10 MSO_I
},
2132 { 0, 0 }, { 21600, 21600 },
2133 { 0x09 MSO_I
, 0x08 MSO_I
},
2134 { 0x0B MSO_I
, 0x0A MSO_I
},
2135 { 0x18 MSO_I
, 0x17 MSO_I
},
2136 { 0x2F MSO_I
, 0x2E MSO_I
},
2137 { 0x1D MSO_I
, 0x1C MSO_I
}
2139 static const sal_uInt16 mso_sptCircularArrowSegm
[] =
2141 0xa404, 0xa504, 0x0003, 0x6001, 0x8000
2143 static const SvxMSDffCalculationData mso_sptCircularArrowCalc
[] =
2145 { 0x2000, { 0x0147, 0x0000, 0x0000 } },
2146 { 0x2000, { 0x0148, 0x0000, 0x0000 } },
2147 { 0x2000, { 0x0149, 0x0000, 0x0000 } },
2148 { 0x4000, { 0x2A30, 0x0149, 0x0000 } },
2149 { 0x4009, { 0x2A30, 0x0147, 0x0000 } },
2150 { 0x400A, { 0x2A30, 0x0147, 0x0000 } },
2151 { 0x4009, { 0x2A30, 0x0148, 0x0000 } },
2152 { 0x400A, { 0x2A30, 0x0148, 0x0000 } },
2153 { 0x2000, { 0x0404, 0x2A30, 0x0000 } },
2154 { 0x2000, { 0x0405, 0x2A30, 0x0000 } },
2155 { 0x2000, { 0x0406, 0x2A30, 0x0000 } },
2156 { 0x2000, { 0x0407, 0x2A30, 0x0000 } },
2157 { 0x6009, { 0x0403, 0x0147, 0x0000 } },
2158 { 0x600A, { 0x0403, 0x0147, 0x0000 } },
2159 { 0x6009, { 0x0403, 0x0148, 0x0000 } },
2160 { 0x600A, { 0x0403, 0x0148, 0x0000 } },
2161 { 0x2000, { 0x040C, 0x2A30, 0x0000 } },
2162 { 0x2000, { 0x040D, 0x2A30, 0x0000 } },
2163 { 0x2000, { 0x040E, 0x2A30, 0x0000 } },
2164 { 0x2000, { 0x040F, 0x2A30, 0x0000 } },
2165 { 0x8000, { 0x5460, 0x0000, 0x0403 } },
2166 { 0x4009, { 0x34BC, 0x0148, 0x0000 } },
2167 { 0x400A, { 0x34BC, 0x0148, 0x0000 } },
2168 { 0x2000, { 0x0415, 0x2A30, 0x0000 } },
2169 { 0x2000, { 0x0416, 0x2A30, 0x0000 } },
2170 { 0x2000, { 0x0149, 0x0000, 0x0A8C } },
2171 { 0x6009, { 0x0419, 0x0148, 0x0000 } },
2172 { 0x600A, { 0x0419, 0x0148, 0x0000 } },
2173 { 0x2000, { 0x041A, 0x2A30, 0x0000 } },
2174 { 0x2000, { 0x041B, 0x2A30, 0x0000 } },
2175 { 0xA000, { 0x041D, 0x0000, 0x0418 } },
2176 { 0xA000, { 0x041D, 0x0000, 0x0418 } },
2177 { 0x6001, { 0x041E, 0x041F, 0x0001 } },
2178 { 0xA000, { 0x041C, 0x0000, 0x0417 } },
2179 { 0xA000, { 0x041C, 0x0000, 0x0417 } },
2180 { 0x6001, { 0x0421, 0x0422, 0x0001 } },
2181 { 0x6000, { 0x0420, 0x0423, 0x0000 } },
2182 { 0x200D, { 0x0424, 0x0000, 0x0000 } },
2183 { 0x200E, { 0x0148, 0x002D, 0x0000 } },
2184 { 0x6009, { 0x0425, 0x0426, 0x0000 } },
2185 { 0x200E, { 0x0148, 0x002D, 0x0000 } },
2186 { 0x600A, { 0x0425, 0x0428, 0x0000 } },
2187 { 0x000E, { 0x0000, 0x002D, 0x0000 } },
2188 { 0x6009, { 0x0427, 0x042A, 0x0000 } },
2189 { 0x000E, { 0x0000, 0x002D, 0x0000 } },
2190 { 0x6009, { 0x0429, 0x042C, 0x0000 } },
2191 { 0x6000, { 0x041C, 0x042B, 0x0000 } },
2192 { 0x6000, { 0x041D, 0x042D, 0x0000 } }
2194 static const sal_Int32 mso_sptCircularArrowDefault
[] =
2198 static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect
[] = // todo
2200 { { 0, 0 }, { 21600, 21600 } }
2202 static const SvxMSDffHandle mso_sptCircularArrowHandle
[] =
2204 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
2205 10800, 0x100, 10800, 10800, 10800, 10800, 0xff4c0000, 0x00b40000 },
2206 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
2207 0x102, 0x101, 10800, 10800, 0, 10800, 0xff4c0000, 0x00b40000 }
2209 static const mso_CustomShape msoCircularArrow
=
2211 (SvxMSDffVertPair
*)mso_sptCircularArrowVert
, sizeof( mso_sptCircularArrowVert
) / sizeof( SvxMSDffVertPair
),
2212 (sal_uInt16
*)mso_sptCircularArrowSegm
, sizeof( mso_sptCircularArrowSegm
) >> 1,
2213 (SvxMSDffCalculationData
*)mso_sptCircularArrowCalc
, sizeof( mso_sptCircularArrowCalc
) / sizeof( SvxMSDffCalculationData
),
2214 (sal_Int32
*)mso_sptCircularArrowDefault
,
2215 (SvxMSDffTextRectangles
*)mso_sptCircularArrowTextRect
, sizeof( mso_sptCircularArrowTextRect
) / sizeof( SvxMSDffTextRectangles
),
2217 0x80000000, 0x80000000,
2219 (SvxMSDffHandle
*)mso_sptCircularArrowHandle
, sizeof( mso_sptCircularArrowHandle
) / sizeof( SvxMSDffHandle
) // handles
2222 static const SvxMSDffVertPair mso_sptCubeVert
[] =
2224 { 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
},
2225 { 0, 1 MSO_I
}, { 2 MSO_I
, 0 }, { 11 MSO_I
, 0 }, { 4 MSO_I
, 1 MSO_I
},
2226 { 4 MSO_I
, 12 MSO_I
}, { 4 MSO_I
, 1 MSO_I
}, { 11 MSO_I
, 0 }, { 11 MSO_I
, 3 MSO_I
}
2228 static const sal_uInt16 mso_sptCubeSegm
[] =
2230 0x4000, 0x0005, 0x6001, 0x8000,
2231 0x4000, 0x0003, 0x6001, 0x8000,
2232 0x4000, 0x0003, 0x6001, 0x8000
2234 static const SvxMSDffCalculationData mso_sptCubeCalc
[] =
2236 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2237 { 0x6000, { DFF_Prop_geoTop
, 0x400, 0 } },
2238 { 0x6000, { DFF_Prop_geoLeft
, 0x400, 0 } },
2239 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } },
2240 { 0xa000, { DFF_Prop_geoRight
, 0, 0x400 } },
2241 { 0xa000, { DFF_Prop_geoRight
, 0, 0x402 } }, // 5
2242 { 0x2001, { 0x405, 1, 2 } }, // 6
2243 { 0x6000, { 0x402, 0x406, 0 } }, // 7
2244 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x401 } }, // 8
2245 { 0x2001, { 0x408, 1, 2 } }, // 9
2246 { 0x6000, { 0x401, 0x409, 0 } }, // 10
2247 { 0x2000, { DFF_Prop_geoRight
, 0, 0 } }, // 11
2248 { 0x2000, { DFF_Prop_geoBottom
, 0, 0 } } // 12
2250 static const SvxMSDffTextRectangles mso_sptCubeTextRect
[] =
2252 { { 0, 1 MSO_I
}, { 4 MSO_I
, 12 MSO_I
} }
2254 static const SvxMSDffHandle mso_sptCubeHandle
[] =
2256 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
2257 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
2259 static const SvxMSDffVertPair mso_sptCubeGluePoints
[] =
2261 { 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
}
2263 static const mso_CustomShape msoCube
=
2265 (SvxMSDffVertPair
*)mso_sptCubeVert
, sizeof( mso_sptCubeVert
) / sizeof( SvxMSDffVertPair
),
2266 (sal_uInt16
*)mso_sptCubeSegm
, sizeof( mso_sptCubeSegm
) >> 1,
2267 (SvxMSDffCalculationData
*)mso_sptCubeCalc
, sizeof( mso_sptCubeCalc
) / sizeof( SvxMSDffCalculationData
),
2268 (sal_Int32
*)mso_sptDefault5400
,
2269 (SvxMSDffTextRectangles
*)mso_sptCubeTextRect
, sizeof( mso_sptCubeTextRect
) / sizeof( SvxMSDffTextRectangles
),
2272 (SvxMSDffVertPair
*)mso_sptCubeGluePoints
, sizeof( mso_sptCubeGluePoints
) / sizeof( SvxMSDffVertPair
),
2273 (SvxMSDffHandle
*)mso_sptCubeHandle
, sizeof( mso_sptCubeHandle
) / sizeof( SvxMSDffHandle
)
2276 static const SvxMSDffVertPair mso_sptBevelVert
[] =
2278 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2279 { 0, 0 }, { 21600, 0 }, { 1 MSO_I
, 0 MSO_I
}, { 0 MSO_I
, 0 MSO_I
},
2280 { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 0 MSO_I
},
2281 { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2282 { 0, 21600 }, { 0, 0 }, { 0 MSO_I
, 0 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}
2284 static const sal_uInt16 mso_sptBevelSegm
[] =
2286 0x4000, 0x0003, 0x6001, 0x8000,
2287 0x4000, 0x0003, 0x6001, 0x8000,
2288 0x4000, 0x0003, 0x6001, 0x8000,
2289 0x4000, 0x0003, 0x6001, 0x8000,
2290 0x4000, 0x0003, 0x6001, 0x8000
2292 static const SvxMSDffCalculationData mso_sptBevelCalc
[] =
2294 { 0x2001, { DFF_Prop_adjustValue
, 21599, 21600 } },
2295 { 0xa000, { DFF_Prop_geoRight
, 0, 0x400 } },
2296 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } }
2299 static const SvxMSDffTextRectangles mso_sptBevelTextRect
[] =
2301 { { 0 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 2 MSO_I
} }
2303 static const SvxMSDffHandle mso_sptBevelHandle
[] =
2305 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
2306 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
2308 static const mso_CustomShape msoBevel
=
2310 (SvxMSDffVertPair
*)mso_sptBevelVert
, sizeof( mso_sptBevelVert
) / sizeof( SvxMSDffVertPair
),
2311 (sal_uInt16
*)mso_sptBevelSegm
, sizeof( mso_sptBevelSegm
) >> 1,
2312 (SvxMSDffCalculationData
*)mso_sptBevelCalc
, sizeof( mso_sptBevelCalc
) / sizeof( SvxMSDffCalculationData
),
2313 (sal_Int32
*)mso_sptDefault2700
,
2314 (SvxMSDffTextRectangles
*)mso_sptBevelTextRect
, sizeof( mso_sptBevelTextRect
) / sizeof( SvxMSDffTextRectangles
),
2318 (SvxMSDffHandle
*)mso_sptBevelHandle
, sizeof( mso_sptBevelHandle
) / sizeof( SvxMSDffHandle
)
2321 static const SvxMSDffVertPair mso_sptFoldedCornerVert
[] = // adjustment1 : x 10800 - 21600
2323 { 0, 0 }, { 21600, 0 }, { 21600, 0 MSO_I
}, { 0 MSO_I
, 21600 },
2324 { 0, 21600 }, { 0 MSO_I
, 21600 }, { 3 MSO_I
, 0 MSO_I
}, { 8 MSO_I
, 9 MSO_I
},
2325 { 10 MSO_I
, 11 MSO_I
}, { 21600, 0 MSO_I
}
2327 static const sal_uInt16 mso_sptFoldedCornerSegm
[] =
2329 0x4000, 0x0004, 0x6001, 0x8000,
2330 0x4000, 0x0001, 0x2001, 0x6001, 0x8000
2332 static const SvxMSDffCalculationData mso_sptFoldedCornerCalc
[] =
2334 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2335 { 0x8000, { 21600, 0, 0x400 } },
2336 { 0x2001, { 0x0401, 8000, 10800 } },
2337 { 0x8000, { 21600, 0, 0x0402 } },
2338 { 0x2001, { 0x0401, 1, 2 } },
2339 { 0x2001, { 0x0401, 1, 4 } },
2340 { 0x2001, { 0x0401, 1, 7 } },
2341 { 0x2001, { 0x0401, 1, 16 } },
2342 { 0x6000, { 0x0403, 0x405, 0 } },
2343 { 0x6000, { 0x0400, 0x406, 0 } },
2344 { 0x8000, { 21600, 0, 0x404 } },
2345 { 0x6000, { 0x400, 0x407, 0 } }
2347 static const sal_Int32 mso_sptFoldedCornerDefault
[] =
2351 static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect
[] =
2353 { { 0, 0 }, { 21600, 11 MSO_I
} }
2355 static const SvxMSDffHandle mso_sptFoldedCornerHandle
[] =
2357 { MSDFF_HANDLE_FLAGS_RANGE
,
2358 0x100, 1, 10800, 10800, 10800, 21600, 0x80000000, 0x7fffffff }
2360 static const mso_CustomShape msoFoldedCorner
=
2362 (SvxMSDffVertPair
*)mso_sptFoldedCornerVert
, sizeof( mso_sptFoldedCornerVert
) / sizeof( SvxMSDffVertPair
),
2363 (sal_uInt16
*)mso_sptFoldedCornerSegm
, sizeof( mso_sptFoldedCornerSegm
) >> 1,
2364 (SvxMSDffCalculationData
*)mso_sptFoldedCornerCalc
, sizeof( mso_sptFoldedCornerCalc
) / sizeof( SvxMSDffCalculationData
),
2365 (sal_Int32
*)mso_sptFoldedCornerDefault
,
2366 (SvxMSDffTextRectangles
*)mso_sptFoldedCornerTextRect
, sizeof( mso_sptFoldedCornerTextRect
) / sizeof( SvxMSDffTextRectangles
),
2368 0x80000000, 0x80000000,
2369 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
2370 (SvxMSDffHandle
*)mso_sptFoldedCornerHandle
, sizeof( mso_sptFoldedCornerHandle
) / sizeof( SvxMSDffHandle
)
2373 static const SvxMSDffVertPair mso_sptActionButtonBlankVert
[] =
2375 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2376 { 0, 0 }, { 21600, 0 }, { 1 MSO_I
, 0 MSO_I
}, { 0 MSO_I
, 0 MSO_I
},
2377 { 21600, 0 }, { 21600, 21600 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 0 MSO_I
},
2378 { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2379 { 0, 21600 }, { 0, 0 }, { 0 MSO_I
, 0 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}
2381 static const sal_uInt16 mso_sptActionButtonBlankSegm
[] =
2383 0x4000, 0x0003, 0x6001, 0x8000,
2384 0x4000, 0x0003, 0x6001, 0x8000,
2385 0x4000, 0x0003, 0x6001, 0x8000,
2386 0x4000, 0x0003, 0x6001, 0x8000,
2387 0x4000, 0x0003, 0x6001, 0x8000
2389 static const SvxMSDffCalculationData mso_sptActionButtonBlankCalc
[] =
2391 { 0x2001, { DFF_Prop_adjustValue
, 21599, 21600 } },
2392 { 0xa000, { DFF_Prop_geoRight
, 0, 0x400 } },
2393 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } }
2395 static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect
[] =
2397 { { 0 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 2 MSO_I
} }
2399 static const SvxMSDffHandle mso_sptButtonHandle
[] =
2401 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
2402 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
2404 static const mso_CustomShape msoActionButtonBlank
=
2406 (SvxMSDffVertPair
*)mso_sptActionButtonBlankVert
, sizeof( mso_sptActionButtonBlankVert
) / sizeof( SvxMSDffVertPair
),
2407 (sal_uInt16
*)mso_sptActionButtonBlankSegm
, sizeof( mso_sptActionButtonBlankSegm
) >> 1,
2408 (SvxMSDffCalculationData
*)mso_sptActionButtonBlankCalc
, sizeof( mso_sptActionButtonBlankCalc
) / sizeof( SvxMSDffCalculationData
),
2409 (sal_Int32
*)mso_sptDefault1400
,
2410 (SvxMSDffTextRectangles
*)mso_sptActionButtonBlankTextRect
, sizeof( mso_sptActionButtonBlankTextRect
) / sizeof( SvxMSDffTextRectangles
),
2414 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2417 static const SvxMSDffTextRectangles mso_sptActionButtonTextRect
[] =
2419 { { 1 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 4 MSO_I
} }
2421 static const SvxMSDffVertPair mso_sptActionButtonHomeVert
[] =
2423 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2424 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2425 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2426 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2427 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2429 { 7 MSO_I
, 0xa MSO_I
}, { 0xc MSO_I
, 0xe MSO_I
}, { 0xc MSO_I
, 0x10 MSO_I
}, { 0x12 MSO_I
, 0x10 MSO_I
},
2430 { 0x12 MSO_I
, 0x14 MSO_I
}, { 0x16 MSO_I
, 8 MSO_I
}, { 0x18 MSO_I
, 8 MSO_I
}, { 0x18 MSO_I
, 0x1a MSO_I
},
2431 { 0x1c MSO_I
, 0x1a MSO_I
}, { 0x1c MSO_I
, 8 MSO_I
}, { 0x1e MSO_I
, 8 MSO_I
},
2433 { 0xc MSO_I
, 0xe MSO_I
}, { 0xc MSO_I
, 0x10 MSO_I
}, { 0x12 MSO_I
, 0x10 MSO_I
},{ 0x12 MSO_I
, 0x14 MSO_I
},
2435 { 0x20 MSO_I
, 0x24 MSO_I
}, { 0x22 MSO_I
, 0x24 MSO_I
}, { 0x22 MSO_I
, 0x1a MSO_I
}, { 0x18 MSO_I
, 0x1a MSO_I
},
2436 { 0x18 MSO_I
, 8 MSO_I
}, { 0x1c MSO_I
, 8 MSO_I
}, { 0x1c MSO_I
, 0x1a MSO_I
}, { 0x20 MSO_I
, 0x1a MSO_I
}
2439 static const sal_uInt16 mso_sptActionButtonHomeSegm
[] =
2441 0x4000, 0x0003, 0x6001, 0x8000,
2442 0x4000, 0x0003, 0x6001, 0x8000,
2443 0x4000, 0x0003, 0x6001, 0x8000,
2444 0x4000, 0x0003, 0x6001, 0x8000,
2445 0x4000, 0x0003, 0x6001, 0x8000,
2446 0x4000, 0x000a, 0x6001, 0x8000,
2447 0x4000, 0x0003, 0x6001, 0x8000,
2448 0x4000, 0x0007, 0x6001, 0x8000
2450 static const SvxMSDffCalculationData mso_sptActionButtonHomeCalc
[] = // adj value 0 - 5400
2452 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2453 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2454 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2455 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2456 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2457 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2458 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2459 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2460 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2462 { 0x4001, { -8000, 0x0406, 1 } }, // 9
2463 { 0x6000, { 0x0409, 0x0408, 0 } }, // a
2464 { 0x4001, { 2960, 0x0406, 1 } }, // b
2465 { 0x6000, { 0x040b, 0x0407, 0 } }, // c
2466 { 0x4001, { -5000, 0x0406, 1 } }, // d
2467 { 0x6000, { 0x040d, 0x0408, 0 } }, // e
2468 { 0x4001, { -7000, 0x0406, 1 } }, // f
2469 { 0x6000, { 0x040f, 0x0408, 0 } }, // 10
2470 { 0x4001, { 5000, 0x0406, 1 } }, // 11
2471 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12
2472 { 0x4001, { -2960, 0x0406, 1 } }, // 13
2473 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14
2474 { 0x4001, { 8000, 0x0406, 1 } }, // 15
2475 { 0x6000, { 0x0415,0x0407, 0 } }, // 16
2476 { 0x4001, { 6100, 0x0406, 1 } }, // 17
2477 { 0x6000, { 0x0417,0x0407, 0 } }, // 18
2478 { 0x4001, { 8260, 0x0406, 1 } }, // 19
2479 { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a
2480 { 0x4001, { -6100, 0x0406, 1 } }, // 1b
2481 { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c
2482 { 0x4001, { -8000, 0x0406, 1 } }, // 1d
2483 { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e
2484 { 0x4001, { -1060, 0x0406, 1 } }, // 1f
2485 { 0x6000, { 0x041f, 0x0407, 0 } }, // 20
2486 { 0x4001, { 1060, 0x0406, 1 } }, // 21
2487 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22
2488 { 0x4001, { 4020, 0x0406, 1 } }, // 23
2489 { 0x6000, { 0x0423, 0x0408, 0 } } // 24
2492 static const mso_CustomShape msoActionButtonHome
=
2494 (SvxMSDffVertPair
*)mso_sptActionButtonHomeVert
, sizeof( mso_sptActionButtonHomeVert
) / sizeof( SvxMSDffVertPair
),
2495 (sal_uInt16
*)mso_sptActionButtonHomeSegm
, sizeof( mso_sptActionButtonHomeSegm
) >> 1,
2496 (SvxMSDffCalculationData
*)mso_sptActionButtonHomeCalc
, sizeof( mso_sptActionButtonHomeCalc
) / sizeof( SvxMSDffCalculationData
),
2497 (sal_Int32
*)mso_sptDefault1400
,
2498 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2502 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2505 static const SvxMSDffVertPair mso_sptActionButtonHelpVert
[] =
2507 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2508 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2509 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2510 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2511 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
,4 MSO_I
},
2512 { 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
},
2513 { 0x12 MSO_I
, 0x14 MSO_I
}, { 0x12 MSO_I
, 0x16 MSO_I
}, // pp
2514 { 0x12 MSO_I
, 0x18 MSO_I
}, { 0x1a MSO_I
, 8 MSO_I
}, { 0x1c MSO_I
, 8 MSO_I
}, // ccp
2515 { 0x1e MSO_I
, 8 MSO_I
}, { 0x20 MSO_I
, 0x22 MSO_I
}, { 0x20 MSO_I
, 0x24 MSO_I
}, // ccp
2516 { 0x20 MSO_I
, 0x26 MSO_I
}, { 0x28 MSO_I
, 0x2a MSO_I
}, { 7 MSO_I
, 0x2a MSO_I
}, // ccp
2517 { 0x2c MSO_I
, 0x2a MSO_I
}, { 0x2e MSO_I
, 0x26 MSO_I
}, { 0x2e MSO_I
, 0x24 MSO_I
}, // ccp
2518 { 0x30 MSO_I
, 0x24 MSO_I
}, { 0x30 MSO_I
, 0x32 MSO_I
}, { 0x34 MSO_I
, 0x36 MSO_I
}, // ccp
2519 { 7 MSO_I
, 0x36 MSO_I
}, // p
2520 { 0x12 MSO_I
, 0x36 MSO_I
}, { 0x1c MSO_I
, 0x32 MSO_I
}, { 0x1c MSO_I
, 0x24 MSO_I
}, // ccp
2521 { 0x1c MSO_I
, 0x38 MSO_I
}, { 0x3a MSO_I
, 0x3c MSO_I
}, { 0x12 MSO_I
, 0x3c MSO_I
}, // ccp
2522 { 7 MSO_I
, 0x3c MSO_I
}, { 0x34 MSO_I
, 8 MSO_I
}, { 0x34 MSO_I
, 0x16 MSO_I
}, // ccp
2523 { 0x34 MSO_I
, 0x14 MSO_I
}
2525 static const sal_uInt16 mso_sptActionButtonHelpSegm
[] =
2527 0x4000, 0x0003, 0x6001, 0x8000,
2528 0x4000, 0x0003, 0x6001, 0x8000,
2529 0x4000, 0x0003, 0x6001, 0x8000,
2530 0x4000, 0x0003, 0x6001, 0x8000,
2531 0x4000, 0x0003, 0x6001, 0x8000,
2532 0x4000, 0xa704, 0x6000, 0x8000,
2533 0x4000, 0x0001, 0x2004, 0x0001, 0x2004, 0x0001, 0x6001, 0x8000
2535 static const SvxMSDffCalculationData mso_sptActionButtonHelpCalc
[] = // adj value 0 - 5400
2537 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2538 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2539 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2540 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2541 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2542 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2543 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2544 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2545 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2547 { 0x4001, { -1690, 0x0406, 1 } }, // 9
2548 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2549 { 0x4001, { 4600, 0x0406, 1 } }, // b
2550 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2551 { 0x4001, { 1690, 0x0406, 1 } }, // d
2552 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
2553 { 0x4001, { 7980, 0x0406, 1 } }, // f
2554 { 0x6000, { 0x040f, 0x0408, 0 } }, // 10
2555 { 0x4001, { 1270, 0x0406, 1 } }, // 11
2556 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12
2557 { 0x4001, { 4000, 0x0406, 1 } }, // 13
2558 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14
2559 { 0x4001, { 1750, 0x0406, 1 } }, // 15
2560 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16
2561 { 0x4001, { 800, 0x0406, 1 } }, // 17
2562 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18
2563 { 0x4001, { 1650, 0x0406, 1 } }, // 19
2564 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a
2565 { 0x4001, { 2340, 0x0406, 1 } }, // 1b
2566 { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c
2567 { 0x4001, { 3640, 0x0406, 1 } }, // 1d
2568 { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e
2569 { 0x4001, { 4670, 0x0406, 1 } }, // 1f
2570 { 0x6000, { 0x041f, 0x0407, 0 } }, // 20
2571 { 0x4001, { -1570, 0x0406, 1 } }, // 21
2572 { 0x6000, { 0x0421, 0x0408, 0 } }, // 22
2573 { 0x4001, { -3390, 0x0406, 1 } }, // 23
2574 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24
2575 { 0x4001, { -6050, 0x0406, 1 } }, // 25
2576 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26
2577 { 0x4001, { 2540, 0x0406, 1 } }, // 27
2578 { 0x6000, { 0x0427, 0x0407, 0 } }, // 28
2579 { 0x4001, { -8050, 0x0406, 1 } }, // 29
2580 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a
2581 { 0x4001, { -2540, 0x0406, 1 } }, // 2b
2582 { 0x6000, { 0x042b, 0x0407, 0 } }, // 2c
2583 { 0x4001, { -4460, 0x0406, 1 } }, // 2d
2584 { 0x6000, { 0x042d, 0x0407, 0 } }, // 2e
2585 { 0x4001, { -2330, 0x0406, 1 } }, // 2f
2586 { 0x6000, { 0x042f, 0x0407, 0 } }, // 30
2587 { 0x4001, { -4700, 0x0406, 1 } }, // 31
2588 { 0x6000, { 0x0431, 0x0408, 0 } }, // 32
2589 { 0x4001, { -1270, 0x0406, 1 } }, // 33
2590 { 0x6000, { 0x0433, 0x0407, 0 } }, // 34
2591 { 0x4001, { -5720, 0x0406, 1 } }, // 35
2592 { 0x6000, { 0x0435, 0x0408, 0 } }, // 36
2593 { 0x4001, { -2540, 0x0406, 1 } }, // 37
2594 { 0x6000, { 0x0437, 0x0408, 0 } }, // 38
2595 { 0x4001, { 1800, 0x0406, 1 } }, // 39
2596 { 0x6000, { 0x0439, 0x0407, 0 } }, // 3a
2597 { 0x4001, { -1700, 0x0406, 1 } }, // 3b
2598 { 0x6000, { 0x043b, 0x0408, 0 } }, // 3c
2599 { 0x4001, { 6290, 0x0406, 1 } }, // 3d
2600 { 0x6000, { 0x043d, 0x0408, 0 } } // 3e
2602 static const mso_CustomShape msoActionButtonHelp
=
2604 (SvxMSDffVertPair
*)mso_sptActionButtonHelpVert
, sizeof( mso_sptActionButtonHelpVert
) / sizeof( SvxMSDffVertPair
),
2605 (sal_uInt16
*)mso_sptActionButtonHelpSegm
, sizeof( mso_sptActionButtonHelpSegm
) >> 1,
2606 (SvxMSDffCalculationData
*)mso_sptActionButtonHelpCalc
, sizeof( mso_sptActionButtonHelpCalc
) / sizeof( SvxMSDffCalculationData
),
2607 (sal_Int32
*)mso_sptDefault1400
,
2608 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2612 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2615 static const SvxMSDffVertPair mso_sptActionButtonInformationVert
[] =
2617 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2618 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2619 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2620 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2621 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2622 { 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
},
2623 { 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
},
2624 { 0x1a MSO_I
, 0x1c MSO_I
}, { 0x1e MSO_I
, 0x1c MSO_I
}, { 0x1e MSO_I
, 0x20 MSO_I
}, { 0x22 MSO_I
, 0x20 MSO_I
},
2625 { 0x22 MSO_I
, 0x24 MSO_I
}, { 0x1a MSO_I
, 0x24 MSO_I
}, { 0x1a MSO_I
, 0x20 MSO_I
}, { 0x26 MSO_I
, 0x20 MSO_I
},
2626 { 0x26 MSO_I
, 0x28 MSO_I
}, { 0x1a MSO_I
, 0x28 MSO_I
}
2628 static const sal_uInt16 mso_sptActionButtonInformationSegm
[] =
2630 0x4000, 0x0003, 0x6001, 0x8000,
2631 0x4000, 0x0003, 0x6001, 0x8000,
2632 0x4000, 0x0003, 0x6001, 0x8000,
2633 0x4000, 0x0003, 0x6001, 0x8000,
2634 0x4000, 0x0003, 0x6001, 0x8000,
2635 0x4000, 0xa704, 0x6000, 0x8000,
2636 0x4000, 0xa704, 0x6000, 0x8000,
2637 0x4000, 0x0009, 0x6001, 0x8000
2639 static const SvxMSDffCalculationData mso_sptActionButtonInformationCalc
[] = // adj value 0 - 5400
2641 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2642 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2643 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2644 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2645 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2646 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2647 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2648 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2649 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2651 { 0x4001, { -8050, 0x0406, 1 } }, // 9
2652 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2653 { 0x4001, { -8050, 0x0406, 1 } }, // b
2654 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2655 { 0x4001, { 8050, 0x0406, 1 } }, // d
2656 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
2657 { 0x4001, { 8050, 0x0406, 1 } }, // f
2658 { 0x6000, { 0x040f, 0x0408, 0 } }, // 10
2660 { 0x4001, { -2060, 0x0406, 1 } }, // 11
2661 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12
2662 { 0x4001, { -7620, 0x0406, 1 } }, // 13
2663 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14
2664 { 0x4001, { 2060, 0x0406, 1 } }, // 15
2665 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16
2666 { 0x4001, { -3500, 0x0406, 1 } }, // 17
2667 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18
2669 { 0x4001, { -2960, 0x0406, 1 } }, // 19
2670 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a
2671 { 0x4001, { -2960, 0x0406, 1 } }, // 1b
2672 { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c
2673 { 0x4001, { 1480, 0x0406, 1 } }, // 1d
2674 { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e
2675 { 0x4001, { 5080, 0x0406, 1 } }, // 1f
2676 { 0x6000, { 0x041f, 0x0408, 0 } }, // 20
2677 { 0x4001, { 2960, 0x0406, 1 } }, // 21
2678 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22
2679 { 0x4001, { 6140, 0x0406, 1 } }, // 23
2680 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24
2681 { 0x4001, { -1480, 0x0406, 1 } }, // 25
2682 { 0x6000, { 0x0425, 0x0407, 0 } }, // 26
2683 { 0x4001, { -1920, 0x0406, 1 } }, // 27
2684 { 0x6000, { 0x0427, 0x0408, 0 } }, // 28
2686 { 0x4001, { -5560, 0x0406, 1 } }, // 29
2687 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a
2690 static const mso_CustomShape msoActionButtonInformation
=
2692 (SvxMSDffVertPair
*)mso_sptActionButtonInformationVert
, sizeof( mso_sptActionButtonInformationVert
) / sizeof( SvxMSDffVertPair
),
2693 (sal_uInt16
*)mso_sptActionButtonInformationSegm
, sizeof( mso_sptActionButtonInformationSegm
) >> 1,
2694 (SvxMSDffCalculationData
*)mso_sptActionButtonInformationCalc
, sizeof( mso_sptActionButtonInformationCalc
) / sizeof( SvxMSDffCalculationData
),
2695 (sal_Int32
*)mso_sptDefault1400
,
2696 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2700 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2703 static const SvxMSDffVertPair mso_sptActionButtonBackPreviousVert
[] =
2705 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2706 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2707 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2708 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
,4 MSO_I
},
2709 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2711 { 0xa MSO_I
, 8 MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0x10 MSO_I
}
2713 static const sal_uInt16 mso_sptActionButtonForwardBackSegm
[] =
2715 0x4000, 0x0003, 0x6001, 0x8000,
2716 0x4000, 0x0003, 0x6001, 0x8000,
2717 0x4000, 0x0003, 0x6001, 0x8000,
2718 0x4000, 0x0003, 0x6001, 0x8000,
2719 0x4000, 0x0003, 0x6001, 0x8000,
2720 0x4000, 0x0002, 0x6001, 0x8000
2722 static const SvxMSDffCalculationData mso_sptActionButtonForwardBackCalc
[] = // adj value 0 - 5400
2724 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2725 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2726 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2727 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2728 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2729 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2730 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2731 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2732 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2734 { 0x4001, { -8050, 0x0406, 1 } }, // 9
2735 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2736 { 0x4001, { -8050, 0x0406, 1 } }, // b
2737 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2738 { 0x4001, { 8050, 0x0406, 1 } }, // d
2739 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
2740 { 0x4001, { 8050, 0x0406, 1 } }, // f
2741 { 0x6000, { 0x040f, 0x0408, 0 } } // 10
2743 static const mso_CustomShape msoActionButtonBackPrevious
=
2745 (SvxMSDffVertPair
*)mso_sptActionButtonBackPreviousVert
, sizeof( mso_sptActionButtonBackPreviousVert
) / sizeof( SvxMSDffVertPair
),
2746 (sal_uInt16
*)mso_sptActionButtonForwardBackSegm
, sizeof( mso_sptActionButtonForwardBackSegm
) >> 1,
2747 (SvxMSDffCalculationData
*)mso_sptActionButtonForwardBackCalc
, sizeof( mso_sptActionButtonForwardBackCalc
) / sizeof( SvxMSDffCalculationData
),
2748 (sal_Int32
*)mso_sptDefault1400
,
2749 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2753 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2756 static const SvxMSDffVertPair mso_sptActionButtonForwardNextVert
[] =
2758 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2759 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2760 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2761 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2762 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2764 { 0xa MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 8 MSO_I
}, { 0xa MSO_I
, 0x10 MSO_I
}
2766 static const mso_CustomShape msoActionButtonForwardNext
=
2768 (SvxMSDffVertPair
*)mso_sptActionButtonForwardNextVert
, sizeof( mso_sptActionButtonForwardNextVert
) / sizeof( SvxMSDffVertPair
),
2769 (sal_uInt16
*)mso_sptActionButtonForwardBackSegm
, sizeof( mso_sptActionButtonForwardBackSegm
) >> 1,
2770 (SvxMSDffCalculationData
*)mso_sptActionButtonForwardBackCalc
, sizeof( mso_sptActionButtonForwardBackCalc
) / sizeof( SvxMSDffCalculationData
),
2771 (sal_Int32
*)mso_sptDefault1400
,
2772 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2776 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2779 static const SvxMSDffVertPair mso_sptActionButtonBeginningVert
[] =
2781 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2782 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2783 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2784 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2785 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2787 { 0xa MSO_I
, 8 MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0x10 MSO_I
}, { 0x12 MSO_I
, 0xc MSO_I
},
2788 { 0x14 MSO_I
, 0xc MSO_I
}, { 0x14 MSO_I
, 0x10 MSO_I
}, { 0x12 MSO_I
, 0x10 MSO_I
}
2790 static const sal_uInt16 mso_sptActionButtonBeginningEndSegm
[] =
2792 0x4000, 0x0003, 0x6001, 0x8000,
2793 0x4000, 0x0003, 0x6001, 0x8000,
2794 0x4000, 0x0003, 0x6001, 0x8000,
2795 0x4000, 0x0003, 0x6001, 0x8000,
2796 0x4000, 0x0003, 0x6001, 0x8000,
2798 0x4000, 0x0002, 0x6001, 0x8000,
2799 0x4000, 0x0003, 0x6001, 0x8000
2801 static const SvxMSDffCalculationData mso_sptActionButtonBeginningEndCalc
[] = // adj value 0 - 5400
2803 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2804 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2805 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2806 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2807 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2808 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2809 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2810 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2811 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2813 { 0x4001, { -4020, 0x0406, 1 } }, // 9
2814 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2815 { 0x4001, { -8050, 0x0406, 1 } }, // b
2816 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2817 { 0x4001, { 8050, 0x0406, 1 } }, // d
2818 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
2819 { 0x4001, { 8050, 0x0406, 1 } }, // f
2820 { 0x6000, { 0x040f, 0x0408, 0 } }, // 10
2822 { 0x4001, { -8050, 0x0406, 1 } }, // 11
2823 { 0x6000, { 0x0411, 0x0407, 0 } }, // 12
2824 { 0x4001, { -6140, 0x0406, 1 } }, // 13
2825 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14
2828 { 0x4001, { 4020, 0x0406, 1 } }, // 15
2829 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16
2830 { 0x4001, { 6140, 0x0406, 1 } }, // 17
2831 { 0x6000, { 0x0417, 0x0407, 0 } } // 18
2833 static const mso_CustomShape msoActionButtonBeginning
=
2835 (SvxMSDffVertPair
*)mso_sptActionButtonBeginningVert
, sizeof( mso_sptActionButtonBeginningVert
) / sizeof( SvxMSDffVertPair
),
2836 (sal_uInt16
*)mso_sptActionButtonBeginningEndSegm
, sizeof( mso_sptActionButtonBeginningEndSegm
) >> 1,
2837 (SvxMSDffCalculationData
*)mso_sptActionButtonBeginningEndCalc
, sizeof( mso_sptActionButtonBeginningEndCalc
) / sizeof( SvxMSDffCalculationData
),
2838 (sal_Int32
*)mso_sptDefault1400
,
2839 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2843 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2846 static const SvxMSDffVertPair mso_sptActionButtonEndVert
[] =
2848 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2849 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2850 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2851 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2852 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2854 { 0x16 MSO_I
, 8 MSO_I
}, { 0x12 MSO_I
, 0x10 MSO_I
}, { 0x12 MSO_I
, 0xc MSO_I
},
2856 { 0x18 MSO_I
, 0xc MSO_I
}, { 0x18 MSO_I
, 0x10 MSO_I
}, { 0xe MSO_I
, 0x10 MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}
2858 static const mso_CustomShape msoActionButtonEnd
=
2860 (SvxMSDffVertPair
*)mso_sptActionButtonEndVert
, sizeof( mso_sptActionButtonEndVert
) / sizeof( SvxMSDffVertPair
),
2861 (sal_uInt16
*)mso_sptActionButtonBeginningEndSegm
, sizeof( mso_sptActionButtonBeginningEndSegm
) >> 1,
2862 (SvxMSDffCalculationData
*)mso_sptActionButtonBeginningEndCalc
, sizeof( mso_sptActionButtonBeginningEndCalc
) / sizeof( SvxMSDffCalculationData
),
2863 (sal_Int32
*)mso_sptDefault1400
,
2864 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2868 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2871 static const SvxMSDffVertPair mso_sptActionButtonReturnVert
[] =
2873 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2874 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2875 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2876 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2877 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2879 { 0xa MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0x10 MSO_I
}, // ppp
2880 { 0xe MSO_I
, 0x12 MSO_I
}, { 0x14 MSO_I
, 0x16 MSO_I
}, { 0x18 MSO_I
, 0x16 MSO_I
}, // ccp
2881 { 7 MSO_I
, 0x16 MSO_I
}, // p
2882 { 0x1a MSO_I
, 0x16 MSO_I
}, { 0x1c MSO_I
, 0x12 MSO_I
}, { 0x1c MSO_I
, 0x10 MSO_I
}, // ccp
2883 { 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
2884 { 0x24 MSO_I
, 0xc MSO_I
}, { 0x24 MSO_I
, 0x10 MSO_I
}, // pp
2885 { 0x24 MSO_I
, 0x26 MSO_I
}, { 0x28 MSO_I
, 0x2a MSO_I
}, { 7 MSO_I
, 0x2a MSO_I
}, // ccp
2886 { 0x18 MSO_I
, 0x2a MSO_I
}, // p
2887 { 0x2c MSO_I
, 0x2a MSO_I
}, { 0xa MSO_I
, 0x26 MSO_I
}, { 0xa MSO_I
, 0x10 MSO_I
} // ccp
2889 static const sal_uInt16 mso_sptActionButtonReturnSegm
[] =
2891 0x4000, 0x0003, 0x6001, 0x8000,
2892 0x4000, 0x0003, 0x6001, 0x8000,
2893 0x4000, 0x0003, 0x6001, 0x8000,
2894 0x4000, 0x0003, 0x6001, 0x8000,
2895 0x4000, 0x0003, 0x6001, 0x8000,
2896 0x4000, 0x0002, 0x2001, 0x0001, 0x2001, 0x0006,0x2001, 0x0001, 0x2001, 0x6001, 0x8000
2898 static const SvxMSDffCalculationData mso_sptActionButtonReturnCalc
[] = // adj value 0 - 5400
2900 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2901 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2902 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2903 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2904 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2905 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2906 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2907 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2908 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2910 { 0x4001, { -8050, 0x0406, 1 } }, // 9
2911 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2912 { 0x4001, { -3800, 0x0406, 1 } }, // b
2913 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2914 { 0x4001, { -4020, 0x0406, 1 } }, // d
2915 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
2916 { 0x4001, { 2330, 0x0406, 1 } }, // f
2917 { 0x6000, { 0x040f, 0x0408, 0 } }, // 10
2918 { 0x4001, { 3390, 0x0406, 1 } }, // 11
2919 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12
2920 { 0x4001, { -3100, 0x0406, 1 } }, // 13
2921 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14
2922 { 0x4001, { 4230, 0x0406, 1 } }, // 15
2923 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16
2924 { 0x4001, { -1910, 0x0406, 1 } }, // 17
2925 { 0x6000, { 0x0417, 0x0407, 0 } }, // 18
2926 { 0x4001, { 1190, 0x0406, 1 } }, // 19
2927 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a
2928 { 0x4001, { 2110, 0x0406, 1 } }, // 1b
2929 { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c
2930 { 0x4001, { 4030, 0x0406, 1 } }, // 1d
2931 { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e
2932 { 0x4001, { -7830, 0x0406, 1 } }, // 1f
2933 { 0x6000, { 0x041f, 0x0408, 0 } }, // 20
2934 { 0x4001, { 8250, 0x0406, 1 } }, // 21
2935 { 0x6000, { 0x0421, 0x0407, 0 } }, // 22
2936 { 0x4001, { 6140, 0x0406, 1 } }, // 23
2937 { 0x6000, { 0x0423, 0x0407, 0 } }, // 24
2938 { 0x4001, { 5510, 0x0406, 1 } }, // 25
2939 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26
2940 { 0x4001, { 3180, 0x0406, 1 } }, // 27
2941 { 0x6000, { 0x0427, 0x0407, 0 } }, // 28
2942 { 0x4001, { 8450, 0x0406, 1 } }, // 29
2943 { 0x6000, { 0x0429, 0x0408, 0 } }, // 2a
2944 { 0x4001, { -5090, 0x0406, 1 } }, // 2b
2945 { 0x6000, { 0x042b, 0x0407, 0 } } // 2c
2947 static const mso_CustomShape msoActionButtonReturn
=
2949 (SvxMSDffVertPair
*)mso_sptActionButtonReturnVert
, sizeof( mso_sptActionButtonReturnVert
) / sizeof( SvxMSDffVertPair
),
2950 (sal_uInt16
*)mso_sptActionButtonReturnSegm
, sizeof( mso_sptActionButtonReturnSegm
) >> 1,
2951 (SvxMSDffCalculationData
*)mso_sptActionButtonReturnCalc
, sizeof( mso_sptActionButtonReturnCalc
) / sizeof( SvxMSDffCalculationData
),
2952 (sal_Int32
*)mso_sptDefault1400
,
2953 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
2957 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
2960 static const SvxMSDffVertPair mso_sptActionButtonDocumentVert
[] =
2962 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
2963 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
2964 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
2965 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
2966 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
2968 { 0xa MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0x10 MSO_I
, 0x12 MSO_I
}, { 0x10 MSO_I
, 0x14 MSO_I
},
2969 { 0xa MSO_I
, 0x14 MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0x10 MSO_I
, 0x12 MSO_I
}, { 0xe MSO_I
, 0x12 MSO_I
}
2971 static const sal_uInt16 mso_sptActionButtonDocumentSegm
[] =
2973 0x4000, 0x0003, 0x6001, 0x8000,
2974 0x4000, 0x0003, 0x6001, 0x8000,
2975 0x4000, 0x0003, 0x6001, 0x8000,
2976 0x4000, 0x0003, 0x6001, 0x8000,
2977 0x4000, 0x0003, 0x6001, 0x8000,
2979 0x4000, 0x0004, 0x6001, 0x8000,
2980 0x4000, 0x0002, 0x6001, 0x8000
2982 static const SvxMSDffCalculationData mso_sptActionButtonDocumentCalc
[] = // adj value 0 - 5400
2984 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
2985 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
2986 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
2987 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
2988 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
2989 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
2990 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
2991 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
2992 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
2994 { 0x4001, { -6350, 0x0406, 1 } }, // 9
2995 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
2996 { 0x4001, { -7830, 0x0406, 1 } }, // b
2997 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
2998 { 0x4001, { 1690, 0x0406, 1 } }, // d
2999 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
3000 { 0x4001, { 6350, 0x0406, 1 } }, // f
3001 { 0x6000, { 0x040f, 0x0407, 0 } }, // 10
3002 { 0x4001, { -3810, 0x0406, 1 } }, // 11
3003 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12
3004 { 0x4001, { 7830, 0x0406, 1 } }, // 13
3005 { 0x6000, { 0x0413, 0x0408, 0 } } // 14
3007 static const mso_CustomShape msoActionButtonDocument
=
3009 (SvxMSDffVertPair
*)mso_sptActionButtonDocumentVert
, sizeof( mso_sptActionButtonDocumentVert
) / sizeof( SvxMSDffVertPair
),
3010 (sal_uInt16
*)mso_sptActionButtonDocumentSegm
, sizeof( mso_sptActionButtonDocumentSegm
) >> 1,
3011 (SvxMSDffCalculationData
*)mso_sptActionButtonDocumentCalc
, sizeof( mso_sptActionButtonDocumentCalc
) / sizeof( SvxMSDffCalculationData
),
3012 (sal_Int32
*)mso_sptDefault1400
,
3013 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
3017 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
3020 static const SvxMSDffVertPair mso_sptActionButtonSoundVert
[] =
3022 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
3023 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
3024 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
3025 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
3026 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
3028 { 0xa MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0x10 MSO_I
, 0x12 MSO_I
}, { 0x10 MSO_I
, 0x14 MSO_I
},
3029 { 0xe MSO_I
, 0x16 MSO_I
}, { 0xa MSO_I
, 0x16 MSO_I
}, { 0x18 MSO_I
, 8 MSO_I
}, { 0x1a MSO_I
, 8 MSO_I
},
3031 { 0x18 MSO_I
, 0xc MSO_I
}, { 0x1a MSO_I
, 0x1c MSO_I
},
3033 { 0x18 MSO_I
, 0x16 MSO_I
}, { 0x1a MSO_I
, 0x1e MSO_I
}
3035 static const sal_uInt16 mso_sptActionButtonSoundSegm
[] =
3037 0x4000, 0x0003, 0x6001, 0x8000,
3038 0x4000, 0x0003, 0x6001, 0x8000,
3039 0x4000, 0x0003, 0x6001, 0x8000,
3040 0x4000, 0x0003, 0x6001, 0x8000,
3041 0x4000, 0x0003, 0x6001, 0x8000,
3043 0x4000, 0x0005, 0x6001, 0x8000,
3044 0x4000, 0x0001, 0x8000,
3045 0x4000, 0x0001, 0x8000,
3046 0x4000, 0x0001, 0x8000
3048 static const SvxMSDffCalculationData mso_sptActionButtonSoundCalc
[] = // adj value 0 - 5400
3050 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3051 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
3052 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
3053 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
3054 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
3055 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
3056 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
3057 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
3058 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
3060 { 0x4001, { -8050, 0x0406, 1 } }, // 9
3061 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
3062 { 0x4001, { -2750, 0x0406, 1 } }, // b
3063 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
3064 { 0x4001, { -2960, 0x0406, 1 } }, // d
3065 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
3066 { 0x4001, { 2120, 0x0406, 1 } }, // f
3067 { 0x6000, { 0x040f, 0x0407, 0 } }, // 10
3068 { 0x4001, { -8050, 0x0406, 1 } }, // 11
3069 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12
3070 { 0x4001, { 8050, 0x0406, 1 } }, // 13
3071 { 0x6000, { 0x0413, 0x0408, 0 } }, // 14
3072 { 0x4001, { 2750, 0x0406, 1 } }, // 15
3073 { 0x6000, { 0x0415, 0x0408, 0 } }, // 16
3074 { 0x4001, { 4020, 0x0406, 1 } }, // 17
3075 { 0x6000, { 0x0417, 0x0407, 0 } }, // 18
3076 { 0x4001, { 8050, 0x0406, 1 } }, // 19
3077 { 0x6000, { 0x0419, 0x0407, 0 } }, // 1a
3078 { 0x4001, { -5930, 0x0406, 1 } }, // 1b
3079 { 0x6000, { 0x041b, 0x0408, 0 } }, // 1c
3080 { 0x4001, { 5930, 0x0406, 1 } }, // 1d
3081 { 0x6000, { 0x041d, 0x0408, 0 } } // 1e
3083 static const mso_CustomShape msoActionButtonSound
=
3085 (SvxMSDffVertPair
*)mso_sptActionButtonSoundVert
, sizeof( mso_sptActionButtonSoundVert
) / sizeof( SvxMSDffVertPair
),
3086 (sal_uInt16
*)mso_sptActionButtonSoundSegm
, sizeof( mso_sptActionButtonSoundSegm
) >> 1,
3087 (SvxMSDffCalculationData
*)mso_sptActionButtonSoundCalc
, sizeof( mso_sptActionButtonSoundCalc
) / sizeof( SvxMSDffCalculationData
),
3088 (sal_Int32
*)mso_sptDefault1400
,
3089 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
3093 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
3096 static const SvxMSDffVertPair mso_sptActionButtonMovieVert
[] =
3098 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
3099 { 0, 0 }, { 21600, 0 }, { 3 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 2 MSO_I
},
3100 { 21600, 0 }, { 21600, 21600 }, { 3 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 2 MSO_I
},
3101 { 21600, 21600 }, { 0, 21600 }, { 1 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
3102 { 0, 21600 }, { 0, 0 }, { 1 MSO_I
, 2 MSO_I
}, { 1 MSO_I
, 4 MSO_I
},
3104 { 0xa MSO_I
, 0xc MSO_I
}, { 0xe MSO_I
, 0xc MSO_I
}, { 0x10 MSO_I
, 0x12 MSO_I
}, { 0x14 MSO_I
, 0x12 MSO_I
},
3105 { 0x16 MSO_I
, 0x18 MSO_I
}, { 0x16 MSO_I
, 0x1a MSO_I
}, { 0x1c MSO_I
, 0x1a MSO_I
}, { 0x1e MSO_I
, 0x18 MSO_I
},
3106 { 0x20 MSO_I
, 0x18 MSO_I
}, { 0x20 MSO_I
, 0x22 MSO_I
}, { 0x1e MSO_I
, 0x22 MSO_I
}, { 0x1c MSO_I
, 0x24 MSO_I
},
3107 { 0x16 MSO_I
, 0x24 MSO_I
}, { 0x16 MSO_I
, 0x26 MSO_I
}, { 0x2a MSO_I
, 0x26 MSO_I
}, { 0x2a MSO_I
, 0x28 MSO_I
},
3108 { 0x10 MSO_I
, 0x28 MSO_I
}, { 0xe MSO_I
, 0x2c MSO_I
}, { 0xa MSO_I
, 0x2c MSO_I
}
3110 static const sal_uInt16 mso_sptActionButtonMovieSegm
[] =
3112 0x4000, 0x0003, 0x6001, 0x8000,
3113 0x4000, 0x0003, 0x6001, 0x8000,
3114 0x4000, 0x0003, 0x6001, 0x8000,
3115 0x4000, 0x0003, 0x6001, 0x8000,
3116 0x4000, 0x0003, 0x6001, 0x8000,
3117 0x4000, 0x0012, 0x6001, 0x8000
3119 static const SvxMSDffCalculationData mso_sptActionButtonMovieCalc
[] = // adj value 0 - 5400
3121 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3122 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
3123 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
3124 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
3125 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
3126 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} },
3127 { 0x2001, { 0x0405, 1, 10800 } }, // scaling 6
3128 { 0x2001, { DFF_Prop_geoRight
, 1, 2 } }, // lr center 7
3129 { 0x2001, { DFF_Prop_geoBottom
, 1, 2 } }, // ul center 8
3131 { 0x4001, { -8050, 0x0406, 1 } }, // 9
3132 { 0x6000, { 0x0409, 0x0407, 0 } }, // a
3133 { 0x4001, { -4020, 0x0406, 1 } }, // b
3134 { 0x6000, { 0x040b, 0x0408, 0 } }, // c
3135 { 0x4001, { -7000, 0x0406, 1 } }, // d
3136 { 0x6000, { 0x040d, 0x0407, 0 } }, // e
3137 { 0x4001, { -6560, 0x0406, 1 } }, // f
3138 { 0x6000, { 0x040f, 0x0407, 0 } }, // 10
3139 { 0x4001, { -3600, 0x0406, 1 } }, // 11
3140 { 0x6000, { 0x0411, 0x0408, 0 } }, // 12
3141 { 0x4001, { 4020, 0x0406, 1 } }, // 13
3142 { 0x6000, { 0x0413, 0x0407, 0 } }, // 14
3143 { 0x4001, { 4660, 0x0406, 1 } }, // 15
3144 { 0x6000, { 0x0415, 0x0407, 0 } }, // 16
3145 { 0x4001, { -2960, 0x0406, 1 } }, // 17
3146 { 0x6000, { 0x0417, 0x0408, 0 } }, // 18
3147 { 0x4001, { -2330, 0x0406, 1 } }, // 19
3148 { 0x6000, { 0x0419, 0x0408, 0 } }, // 1a
3149 { 0x4001, { 6780, 0x0406, 1 } }, // 1b
3150 { 0x6000, { 0x041b, 0x0407, 0 } }, // 1c
3151 { 0x4001, { 7200, 0x0406, 1 } }, // 1d
3152 { 0x6000, { 0x041d, 0x0407, 0 } }, // 1e
3153 { 0x4001, { 8050, 0x0406, 1 } }, // 1f
3154 { 0x6000, { 0x041f, 0x0407, 0 } }, // 20
3155 { 0x4001, { 2960, 0x0406, 1 } }, // 21
3156 { 0x6000, { 0x0421, 0x0408, 0 } }, // 22
3157 { 0x4001, { 2330, 0x0406, 1 } }, // 23
3158 { 0x6000, { 0x0423, 0x0408, 0 } }, // 24
3159 { 0x4001, { 3800, 0x0406, 1 } }, // 25
3160 { 0x6000, { 0x0425, 0x0408, 0 } }, // 26
3161 { 0x4001, { -1060, 0x0406, 1 } }, // 27
3162 { 0x6000, { 0x0427, 0x0408, 0 } }, // 28
3163 { 0x4001, { -6350, 0x0406, 1 } }, // 29
3164 { 0x6000, { 0x0429, 0x0407, 0 } }, // 2a
3165 { 0x4001, { -640, 0x0406, 1 } }, // 2b
3166 { 0x6000, { 0x042b, 0x0408, 0 } } // 2c
3168 static const mso_CustomShape msoActionButtonMovie
=
3170 (SvxMSDffVertPair
*)mso_sptActionButtonMovieVert
, sizeof( mso_sptActionButtonMovieVert
) / sizeof( SvxMSDffVertPair
),
3171 (sal_uInt16
*)mso_sptActionButtonMovieSegm
, sizeof( mso_sptActionButtonMovieSegm
) >> 1,
3172 (SvxMSDffCalculationData
*)mso_sptActionButtonMovieCalc
, sizeof( mso_sptActionButtonMovieCalc
) / sizeof( SvxMSDffCalculationData
),
3173 (sal_Int32
*)mso_sptDefault1400
,
3174 (SvxMSDffTextRectangles
*)mso_sptActionButtonTextRect
, sizeof( mso_sptActionButtonTextRect
) / sizeof( SvxMSDffTextRectangles
),
3178 (SvxMSDffHandle
*)mso_sptButtonHandle
, sizeof( mso_sptButtonHandle
) / sizeof( SvxMSDffHandle
)
3181 static const SvxMSDffVertPair mso_sptSmileyFaceVert
[] = // adj value 15510 - 17520
3183 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3184 { 7305, 7515 }, { 1165, 1165 }, { 0, 360 },
3185 { 14295, 7515 }, { 1165, 1165 }, { 0, 360 },
3186 { 4870, 1 MSO_I
}, { 8680, 2 MSO_I
}, { 12920, 2 MSO_I
}, { 16730, 1 MSO_I
}
3188 static const sal_uInt16 mso_sptSmileyFaceSegm
[] =
3190 0xa203, 0x6000, 0x8000,
3191 0xa203, 0x6000, 0x8000,
3192 0xa203, 0x6000, 0x8000,
3193 0x4000, 0x2001, 0xaa00, 0x8000
3195 static const SvxMSDffCalculationData mso_sptSmileyFaceCalc
[] =
3197 { 0x2000, { DFF_Prop_adjustValue
, 0, 15510 } },
3198 { 0x8000, { 17520, 0, 0x400 } },
3199 { 0x4000, { 15510, 0x400, 0 } }
3202 static const SvxMSDffTextRectangles mso_sptSmileyFaceTextRect
[] =
3204 { { 0, 1 MSO_I
}, { 4 MSO_I
, 21600 } }
3206 static const sal_Int32 mso_sptSmileyFaceDefault
[] =
3210 static const SvxMSDffHandle mso_sptSmileyHandle
[] =
3212 { MSDFF_HANDLE_FLAGS_RANGE
,
3213 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 15510, 17520 }
3215 static const mso_CustomShape msoSmileyFace
=
3217 (SvxMSDffVertPair
*)mso_sptSmileyFaceVert
, sizeof( mso_sptSmileyFaceVert
) / sizeof( SvxMSDffVertPair
),
3218 (sal_uInt16
*)mso_sptSmileyFaceSegm
, sizeof( mso_sptSmileyFaceSegm
) >> 1,
3219 (SvxMSDffCalculationData
*)mso_sptSmileyFaceCalc
, sizeof( mso_sptSmileyFaceCalc
) / sizeof( SvxMSDffCalculationData
),
3220 (sal_Int32
*)mso_sptSmileyFaceDefault
,
3221 (SvxMSDffTextRectangles
*)mso_sptEllipseTextRect
, sizeof( mso_sptEllipseTextRect
) / sizeof( SvxMSDffTextRectangles
),
3223 0x80000000, 0x80000000,
3224 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
3225 (SvxMSDffHandle
*)mso_sptSmileyHandle
, sizeof( mso_sptSmileyHandle
) / sizeof( SvxMSDffHandle
) // handles
3228 static const SvxMSDffVertPair mso_sptDonutVert
[] = // adj value 0 - 10800
3230 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3231 { 10800, 10800 }, { 1 MSO_I
, 1 MSO_I
}, { 0, 360 }
3233 static const sal_uInt16 mso_sptDonutSegm
[] =
3235 0xa203, 0x6000, 0xa203, 0x8000
3237 static const SvxMSDffCalculationData mso_sptDonutCalc
[] =
3239 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3240 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} }
3242 static const SvxMSDffHandle mso_sptDonutHandle
[] =
3244 { MSDFF_HANDLE_FLAGS_RANGE
,
3245 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3247 static const mso_CustomShape msoDonut
=
3249 (SvxMSDffVertPair
*)mso_sptDonutVert
, sizeof( mso_sptDonutVert
) / sizeof( SvxMSDffVertPair
),
3250 (sal_uInt16
*)mso_sptDonutSegm
, sizeof( mso_sptDonutSegm
) >> 1,
3251 (SvxMSDffCalculationData
*)mso_sptDonutCalc
, sizeof( mso_sptDonutCalc
) / sizeof( SvxMSDffCalculationData
),
3252 (sal_Int32
*)mso_sptDefault5400
,
3253 (SvxMSDffTextRectangles
*)mso_sptEllipseTextRect
, sizeof( mso_sptEllipseTextRect
) / sizeof( SvxMSDffTextRectangles
),
3255 0x80000000, 0x80000000,
3256 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
3257 (SvxMSDffHandle
*)mso_sptDonutHandle
, sizeof( mso_sptDonutHandle
) / sizeof( SvxMSDffHandle
) // handles
3260 static const SvxMSDffVertPair mso_sptNoSmokingVert
[] = // adj value 0 - 7200
3262 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
3263 { 0 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 1 MSO_I
},
3264 { 9 MSO_I
, 0xa MSO_I
}, { 0xb MSO_I
, 0xc MSO_I
}, { 0 MSO_I
, 0 MSO_I
}, { 1 MSO_I
, 1 MSO_I
},
3265 { 0xd MSO_I
, 0xe MSO_I
}, { 0xf MSO_I
, 0x10 MSO_I
}
3267 static const sal_uInt16 mso_sptNoSmokingSegm
[] =
3269 0xa203, 0x6000, 0xa404, 0x6000, 0xa404, 0x6000, 0x8000
3271 static const SvxMSDffCalculationData mso_sptNoSmokingCalc
[] =
3273 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0
3274 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 1
3275 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} }, // 2
3276 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } }, // 3
3277 { 0xa080, { 0x403, 0, 0x402 } }, // 4
3278 { 0x8000, { 10800, 0, 0x403 } }, // 5 x1
3279 { 0x4000, { 10800, 0x403, 0 } }, // 6 x2
3280 { 0x8000, { 10800, 0, 0x404 } }, // 7 y1
3281 { 0x4000, { 10800, 0x404, 0 } }, // 8 y2
3282 { 0x6081, { 0x405, 0x407, 45 } }, // 9
3283 { 0x6082, { 0x405, 0x407, 45 } }, // a
3284 { 0x6081, { 0x405, 0x408, 45 } }, // b
3285 { 0x6082, { 0x405, 0x408, 45 } }, // c
3286 { 0x6081, { 0x406, 0x408, 45 } }, // d
3287 { 0x6082, { 0x406, 0x408, 45 } }, // e
3288 { 0x6081, { 0x406, 0x407, 45 } }, // f
3289 { 0x6082, { 0x406, 0x407, 45 } } // 10
3291 static const SvxMSDffHandle mso_sptNoSmokingHandle
[] =
3293 { MSDFF_HANDLE_FLAGS_RANGE
,
3294 0x100, 10800, 10800, 10800, 0, 7200, 0x80000000, 0x7fffffff }
3296 static const mso_CustomShape msoNoSmoking
=
3298 (SvxMSDffVertPair
*)mso_sptNoSmokingVert
, sizeof( mso_sptNoSmokingVert
) / sizeof( SvxMSDffVertPair
),
3299 (sal_uInt16
*)mso_sptNoSmokingSegm
, sizeof( mso_sptNoSmokingSegm
) >> 1,
3300 (SvxMSDffCalculationData
*)mso_sptNoSmokingCalc
, sizeof( mso_sptNoSmokingCalc
) / sizeof( SvxMSDffCalculationData
),
3301 (sal_Int32
*)mso_sptDefault2700
,
3302 (SvxMSDffTextRectangles
*)mso_sptEllipseTextRect
, sizeof( mso_sptEllipseTextRect
) / sizeof( SvxMSDffTextRectangles
),
3304 0x80000000, 0x80000000,
3305 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
3306 (SvxMSDffHandle
*)mso_sptNoSmokingHandle
, sizeof( mso_sptNoSmokingHandle
) / sizeof( SvxMSDffHandle
) // handles
3309 static const SvxMSDffVertPair mso_sptBlockArcVert
[] = // adj value 0 (degrees)
3310 { // adj value 1: 0 -> 10800;
3311 { 0, 0 }, { 21600, 21600 }, { 4 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 3 MSO_I
},
3312 { 5 MSO_I
, 5 MSO_I
}, { 6 MSO_I
, 6 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 3 MSO_I
}
3314 static const sal_uInt16 mso_sptBlockArcSegm
[] =
3316 0xA404, 0xa504, 0x6001, 0x8000
3318 static const sal_Int32 mso_sptBlockArcDefault
[] =
3322 static const SvxMSDffCalculationData mso_sptBlockArcCalc
[] =
3324 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
3325 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
3326 { 0x2000, { 0x400, 10800, 0 } },
3327 { 0x2000, { 0x401, 10800, 0 } },
3328 { 0x8000, { 21600, 0, 0x402 } },
3329 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} },
3330 { 0x4000, { 10800, DFF_Prop_adjust2Value
, 0 } },
3331 { 0x600a, { 0x405, DFF_Prop_adjustValue
, 0 } },
3332 { 0x6009, { 0x405, DFF_Prop_adjustValue
, 0 } }
3334 static const SvxMSDffHandle mso_sptBlockArcHandle
[] =
3336 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
3337 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3339 static const mso_CustomShape msoBlockArc
=
3341 (SvxMSDffVertPair
*)mso_sptBlockArcVert
, sizeof( mso_sptBlockArcVert
) / sizeof( SvxMSDffVertPair
),
3342 (sal_uInt16
*)mso_sptBlockArcSegm
, sizeof( mso_sptBlockArcSegm
) >> 1,
3343 (SvxMSDffCalculationData
*)mso_sptBlockArcCalc
, sizeof( mso_sptBlockArcCalc
) / sizeof( SvxMSDffCalculationData
),
3344 (sal_Int32
*)mso_sptBlockArcDefault
,
3347 0x80000000, 0x80000000,
3349 (SvxMSDffHandle
*)mso_sptBlockArcHandle
, sizeof( mso_sptBlockArcHandle
) / sizeof( SvxMSDffHandle
) // handles
3352 // aware : control points are always part of the bounding box
3353 static const SvxMSDffVertPair mso_sptHeartVert
[] =
3355 { 10800, 21599 }, { 321, 6886 }, { 70, 6036 }, // ppp
3356 { -9, 5766 }, { -1, 5474 }, { 2, 5192 }, // ccp
3357 { 6, 4918 }, { 43, 4641 }, { 101, 4370 }, // ccp
3358 { 159, 4103 }, { 245, 3837 }, { 353, 3582 }, // ccp
3359 { 460, 3326 }, { 591, 3077 }, { 741, 2839 }, // ccp
3360 { 892, 2598 }, { 1066, 2369 }, { 1253, 2155 }, // ccp
3361 { 1443, 1938 }, { 1651, 1732 }, { 1874, 1543 }, // ccp
3362 { 2097, 1351 }, { 2337, 1174 }, { 2587, 1014 }, // ccp
3363 { 2839, 854 }, { 3106, 708 }, { 3380, 584 }, // ccp
3364 { 3656, 459 }, { 3945, 350 }, { 4237, 264 }, // ccp
3365 { 4533, 176 }, { 4838, 108 }, { 5144, 66 }, // ccp
3366 { 5454, 22 }, { 5771, 1 }, { 6086, 3 }, // ccp
3367 { 6407, 7 }, { 6731, 35 }, { 7048, 89 }, // ccp
3368 { 7374, 144 }, { 7700, 226 }, { 8015, 335 }, // ccp
3369 { 8344, 447 }, { 8667, 590 }, { 8972, 756 }, // ccp
3370 { 9297, 932 }, { 9613, 1135 }, { 9907, 1363 }, // ccp
3371 { 10224, 1609 }, { 10504, 1900 }, { 10802, 2169 }, // ccp
3372 { 11697, 1363 }, // p
3373 { 11971, 1116 }, { 12304, 934 }, { 12630, 756 }, // ccp
3374 { 12935, 590 }, { 13528, 450 }, { 13589, 335 }, // ccp
3375 { 13901, 226 }, { 14227, 144 }, { 14556, 89 }, // ccp
3376 { 14872, 35 }, { 15195, 7 }, { 15517, 3 }, // ccp
3377 { 15830, 0 }, { 16147, 22 }, { 16458, 66 }, // ccp
3378 { 16764, 109 }, { 17068, 177 }, { 17365, 264 }, // ccp
3379 { 17658, 349 }, { 17946, 458 }, { 18222, 584 }, // ccp
3380 { 18496, 708 }, { 18762, 854 }, { 19015, 1014 }, // ccp
3381 { 19264, 1172 }, { 19504, 1349 }, { 19730, 1543 }, // ccp
3382 { 19950, 1731 }, { 20158, 1937 }, { 20350, 2155 }, // ccp
3383 { 20536, 2369 }, { 20710, 2598 }, { 20861, 2839 }, // ccp
3384 { 21010, 3074 }, { 21143, 3323 }, { 21251, 3582 }, // ccp
3385 { 21357, 3835 }, { 21443, 4099 }, { 21502, 4370 }, // ccp
3386 { 21561, 4639 }, { 21595, 4916 }, { 21600, 5192 }, // ccp
3387 { 21606, 5474 }, { 21584, 5760 }, { 21532, 6036 }, // ccp
3388 { 21478, 6326 }, { 21366, 6603 }, { 21282, 6887 }, // ccp
3389 { 10802, 21602 } // p
3391 static const sal_uInt16 mso_sptHeartSegm
[] =
3393 0x4000, 0x0002, 0x2010, 0x0001, 0x2010, 0x0001, 0x6001, 0x8000
3395 static const SvxMSDffTextRectangles mso_sptHeartTextRect
[] =
3397 { { 5080, 2540 }, { 16520, 13550 } }
3399 static const SvxMSDffVertPair mso_sptHeartGluePoints
[] =
3401 { 10800, 2180 }, { 3090, 10800 }, { 10800, 21600 }, { 18490, 10800 }
3403 static const mso_CustomShape msoHeart
=
3405 (SvxMSDffVertPair
*)mso_sptHeartVert
, sizeof( mso_sptHeartVert
) / sizeof( SvxMSDffVertPair
),
3406 (sal_uInt16
*)mso_sptHeartSegm
, sizeof( mso_sptHeartSegm
) >> 1,
3409 (SvxMSDffTextRectangles
*)mso_sptHeartTextRect
, sizeof( mso_sptHeartTextRect
) / sizeof( SvxMSDffTextRectangles
),
3411 0x80000000, 0x80000000,
3412 (SvxMSDffVertPair
*)mso_sptHeartGluePoints
, sizeof( mso_sptHeartGluePoints
) / sizeof( SvxMSDffVertPair
),
3416 static const SvxMSDffVertPair mso_sptLightningBoldVert
[] =
3418 { 8458, 0 }, { 0, 3923 }, { 7564, 8416 }, { 4993, 9720 },
3419 { 12197, 13904 }, { 9987, 14934 }, { 21600, 21600 }, { 14768, 12911 },
3420 { 16558, 12016 }, { 11030, 6840 }, { 12831, 6120 }, { 8458, 0 }
3422 static const SvxMSDffTextRectangles mso_sptLightningBoldTextRect
[] =
3424 { { 8680, 7410 }, { 13970, 14190 } }
3426 static const SvxMSDffVertPair mso_sptLightningBoldGluePoints
[] =
3428 { 8458, 0 }, { 0, 3923 }, { 4993, 9720 }, { 9987, 14934 }, { 21600, 21600 },
3429 { 16558, 12016 }, { 12831, 6120 }
3431 static const mso_CustomShape msoLightningBold
=
3433 (SvxMSDffVertPair
*)mso_sptLightningBoldVert
, sizeof( mso_sptLightningBoldVert
) / sizeof( SvxMSDffVertPair
),
3437 (SvxMSDffTextRectangles
*)mso_sptLightningBoldTextRect
, sizeof( mso_sptLightningBoldTextRect
) / sizeof( SvxMSDffTextRectangles
),
3439 0x80000000, 0x80000000,
3440 (SvxMSDffVertPair
*)mso_sptLightningBoldGluePoints
, sizeof( mso_sptLightningBoldGluePoints
) / sizeof( SvxMSDffVertPair
),
3444 static const SvxMSDffVertPair mso_sptSunVert
[] = // adj value 2700 -> 10125
3446 { 0, 10800 }, { 4 MSO_I
, 8 MSO_I
}, { 4 MSO_I
, 9 MSO_I
},
3447 { 0x0a MSO_I
, 0x0b MSO_I
}, { 0x0c MSO_I
, 0x0d MSO_I
}, { 0x0e MSO_I
, 0x0f MSO_I
},
3448 { 0x10 MSO_I
, 0x11 MSO_I
}, { 0x12 MSO_I
, 0x13 MSO_I
}, { 0x14 MSO_I
, 0x15 MSO_I
},
3449 { 0x16 MSO_I
, 0x17 MSO_I
}, { 0x18 MSO_I
, 0x19 MSO_I
}, { 0x1a MSO_I
, 0x1b MSO_I
},
3450 { 0x1c MSO_I
, 0x1d MSO_I
}, { 0x1e MSO_I
, 0x1f MSO_I
}, { 0x20 MSO_I
, 0x21 MSO_I
},
3451 { 0x22 MSO_I
, 0x23 MSO_I
}, { 0x24 MSO_I
, 0x25 MSO_I
}, { 0x26 MSO_I
, 0x27 MSO_I
},
3452 { 0x28 MSO_I
, 0x29 MSO_I
}, { 0x2a MSO_I
, 0x2b MSO_I
}, { 0x2c MSO_I
, 0x2d MSO_I
},
3453 { 0x2e MSO_I
, 0x2f MSO_I
}, { 0x30 MSO_I
, 0x31 MSO_I
}, { 0x32 MSO_I
, 0x33 MSO_I
},
3454 { 10800, 10800 }, { 0x36 MSO_I
, 0x36 MSO_I
}, { 0, 360 }
3456 static const sal_uInt16 mso_sptSunSegm
[] =
3458 0x4000, 0x0002, 0x6001, 0x8000,
3459 0x4000, 0x0002, 0x6001, 0x8000,
3460 0x4000, 0x0002, 0x6001, 0x8000,
3461 0x4000, 0x0002, 0x6001, 0x8000,
3462 0x4000, 0x0002, 0x6001, 0x8000,
3463 0x4000, 0x0002, 0x6001, 0x8000,
3464 0x4000, 0x0002, 0x6001, 0x8000,
3465 0x4000, 0x0002, 0x6001, 0x8000,
3466 0xa203, 0x6000, 0x8000
3468 static const SvxMSDffCalculationData mso_sptSunCalc
[] =
3470 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3471 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
3472 { 0x2000, { DFF_Prop_adjustValue
, 0, 2700 } },
3473 { 0x2001, { 0x402, 5080, 7425 } },
3474 { 0x2000, { 0x403, 2540, 0 } },
3475 { 0x8000, { 10125, 0, DFF_Prop_adjustValue
} },
3476 { 0x2001, { 0x405, 2120, 7425 } },
3477 { 0x2000, { 0x406, 210, 0 } },
3478 { 0x4000, { 10800, 0x407, 0 } }, // y1 (0x8)
3479 { 0x8000, { 10800, 0, 0x407 } }, // y2 (0x9)
3480 { 0x0081, { 0, 10800, 45 } }, // 0xa
3481 { 0x0082, { 0, 10800, 45 } }, // 0xb
3482 { 0x6081, { 0x404, 0x408, 45 } }, // 0xc
3483 { 0x6082, { 0x404, 0x408, 45 } }, // 0xd
3484 { 0x6081, { 0x404, 0x409, 45 } }, // 0xe
3485 { 0x6082, { 0x404, 0x409, 45 } }, // 0xf
3486 { 0x0081, { 0, 10800, 90 } }, // 0x10
3487 { 0x0082, { 0, 10800, 90 } }, // 0x11
3488 { 0x6081, { 0x404, 0x408, 90 } }, // 0x12
3489 { 0x6082, { 0x404, 0x408, 90 } }, // 0x13
3490 { 0x6081, { 0x404, 0x409, 90 } }, // 0x14
3491 { 0x6082, { 0x404, 0x409, 90 } }, // 0x15
3492 { 0x0081, { 0, 10800, 135 } }, // 0x16
3493 { 0x0082, { 0, 10800, 135 } }, // 0x17
3494 { 0x6081, { 0x404, 0x408, 135 } }, // 0x18
3495 { 0x6082, { 0x404, 0x408, 135 } }, // 0x19
3496 { 0x6081, { 0x404, 0x409, 135 } }, // 0x1a
3497 { 0x6082, { 0x404, 0x409, 135 } }, // 0x1b
3498 { 0x0081, { 0, 10800, 180 } }, // 0x1c
3499 { 0x0082, { 0, 10800, 180 } }, // 0x1d
3500 { 0x6081, { 0x404, 0x408, 180 } }, // 0x1e
3501 { 0x6082, { 0x404, 0x408, 180 } }, // 0x1f
3502 { 0x6081, { 0x404, 0x409, 180 } }, // 0x20
3503 { 0x6082, { 0x404, 0x409, 180 } }, // 0x21
3504 { 0x0081, { 0, 10800, 225 } }, // 0x22
3505 { 0x0082, { 0, 10800, 225 } }, // 0x23
3506 { 0x6081, { 0x404, 0x408, 225 } }, // 0x24
3507 { 0x6082, { 0x404, 0x408, 225 } }, // 0x25
3508 { 0x6081, { 0x404, 0x409, 225 } }, // 0x26
3509 { 0x6082, { 0x404, 0x409, 225 } }, // 0x27
3510 { 0x0081, { 0, 10800, 270 } }, // 0x28
3511 { 0x0082, { 0, 10800, 270 } }, // 0x29
3512 { 0x6081, { 0x404, 0x408, 270 } }, // 0x2a
3513 { 0x6082, { 0x404, 0x408, 270 } }, // 0x2b
3514 { 0x6081, { 0x404, 0x409, 270 } }, // 0x2c
3515 { 0x6082, { 0x404, 0x409, 270 } }, // 0x2d
3516 { 0x0081, { 0, 10800, 315 } }, // 0x2e
3517 { 0x0082, { 0, 10800, 315 } }, // 0x2f
3518 { 0x6081, { 0x404, 0x408, 315 } }, // 0x30
3519 { 0x6082, { 0x404, 0x408, 315 } }, // 0x31
3520 { 0x6081, { 0x404, 0x409, 315 } }, // 0x32
3521 { 0x6082, { 0x404, 0x409, 315 } }, // 0x33
3522 { 0x2081, { DFF_Prop_adjustValue
, 10800, 45 } }, // 0x34 ( textbox )
3523 { 0x2081, { DFF_Prop_adjustValue
, 10800, 225 } }, // 0x35
3524 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} }
3526 static const SvxMSDffTextRectangles mso_sptSunTextRect
[] =
3528 { { 0x34 MSO_I
, 0x34 MSO_I
}, { 0x35 MSO_I
, 0x35 MSO_I
} }
3530 static const SvxMSDffHandle mso_sptSunHandle
[] =
3532 { MSDFF_HANDLE_FLAGS_RANGE
,
3533 0x100, 10800, 10800, 10800, 2700, 10125, 0x80000000, 0x7fffffff }
3535 static const mso_CustomShape msoSun
=
3537 (SvxMSDffVertPair
*)mso_sptSunVert
, sizeof( mso_sptSunVert
) / sizeof( SvxMSDffVertPair
),
3538 (sal_uInt16
*)mso_sptSunSegm
, sizeof( mso_sptSunSegm
) >> 1,
3539 (SvxMSDffCalculationData
*)mso_sptSunCalc
, sizeof( mso_sptSunCalc
) / sizeof( SvxMSDffCalculationData
),
3540 (sal_Int32
*)mso_sptDefault5400
,
3541 (SvxMSDffTextRectangles
*)mso_sptSunTextRect
, sizeof( mso_sptSunTextRect
) / sizeof( SvxMSDffTextRectangles
),
3543 0x80000000, 0x80000000,
3544 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
3545 (SvxMSDffHandle
*)mso_sptSunHandle
, sizeof( mso_sptSunHandle
) / sizeof( SvxMSDffHandle
) // handles
3548 static const SvxMSDffVertPair mso_sptMoonVert
[] = // adj value 0 -> 18900
3551 { 3 MSO_I
, 4 MSO_I
}, { 0 MSO_I
, 5080 }, { 0 MSO_I
, 10800 }, // ccp
3552 { 0 MSO_I
, 16520 }, { 3 MSO_I
, 5 MSO_I
}, { 21600, 21600 }, // ccp
3553 { 9740, 21600 }, { 0, 16730 }, { 0, 10800 }, // ccp
3554 { 0, 4870 }, { 9740, 0 }, { 21600, 0 } // ccp
3556 static const sal_uInt16 mso_sptMoonSegm
[] =
3558 0x4000, 0x2004, 0x6000, 0x8000
3560 static const SvxMSDffCalculationData mso_sptMoonCalc
[] =
3562 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3563 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
3564 { 0x2001, { 0x401, 1, 2 } },
3565 { 0x6000, { 0x402, DFF_Prop_adjustValue
, 0 } },
3566 { 0x2001, { DFF_Prop_adjustValue
, 1794, 10000 } },
3567 { 0x8000, { 21600, 0, 0x0404 } },
3568 { 0x2001, { DFF_Prop_adjustValue
, 400, 18900 } },
3569 { 0x8081, { 0, 10800, 0x406 } },
3570 { 0x8082, { 0, 10800, 0x406 } },
3571 { 0x6000, { 0x407, 0x407, 0 } },
3572 { 0x8000, { 21600, 0, 0x408 } }
3574 static const SvxMSDffTextRectangles mso_sptMoonTextRect
[] =
3576 { { 9 MSO_I
, 8 MSO_I
}, { 0 MSO_I
, 0xa MSO_I
} }
3578 static const SvxMSDffVertPair mso_sptMoonGluePoints
[] =
3580 { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }, { 0 MSO_I
, 10800 }
3582 static const SvxMSDffHandle mso_sptMoonHandle
[] =
3584 { MSDFF_HANDLE_FLAGS_RANGE
,
3585 0x100, 10800, 10800, 10800, 0, 18900, 0x80000000, 0x7fffffff }
3587 static const mso_CustomShape msoMoon
=
3589 (SvxMSDffVertPair
*)mso_sptMoonVert
, sizeof( mso_sptMoonVert
) / sizeof( SvxMSDffVertPair
),
3590 (sal_uInt16
*)mso_sptMoonSegm
, sizeof( mso_sptMoonSegm
) >> 1,
3591 (SvxMSDffCalculationData
*)mso_sptMoonCalc
, sizeof( mso_sptMoonCalc
) / sizeof( SvxMSDffCalculationData
),
3592 (sal_Int32
*)mso_sptDefault10800
,
3593 (SvxMSDffTextRectangles
*)mso_sptMoonTextRect
, sizeof( mso_sptMoonTextRect
) / sizeof( SvxMSDffTextRectangles
),
3595 0x80000000, 0x80000000,
3596 (SvxMSDffVertPair
*)mso_sptMoonGluePoints
, sizeof( mso_sptMoonGluePoints
) / sizeof( SvxMSDffVertPair
),
3597 (SvxMSDffHandle
*)mso_sptMoonHandle
, sizeof( mso_sptMoonHandle
) / sizeof( SvxMSDffHandle
) // handles
3600 static const SvxMSDffVertPair mso_sptBracketPairVert
[] = // adj value 0 -> 10800
3602 { 0 MSO_I
, 0 }, { 0, 1 MSO_I
}, // left top alignment
3603 { 0, 2 MSO_I
}, { 0 MSO_I
, 21600 }, // left bottom "
3604 { 3 MSO_I
, 21600 }, { 21600, 2 MSO_I
}, // right bottom "
3605 { 21600, 1 MSO_I
}, { 3 MSO_I
, 0 } // right top "
3607 static const sal_uInt16 mso_sptBracketPairSegm
[] =
3609 0x4000, 0xa701, 0x0001, 0xa801, 0x8000,
3610 0x4000, 0xa701, 0x0001, 0xa801, 0x8000
3612 static const SvxMSDffCalculationData mso_sptBracketPairCalc
[] =
3614 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
3615 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
3616 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
3617 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
3618 { 0x2082, { DFF_Prop_adjustValue
, 0, 45 } },
3619 { 0x2000, { 0x404, 0, 10800 } },
3620 { 0x8000, { 0, 0, DFF_Prop_adjustValue
} },
3621 { 0xa000, { 0x406, 0, 0x405 } },
3622 { 0xa000, { DFF_Prop_geoLeft
, 0, 0x407 } },
3623 { 0xa000, { DFF_Prop_geoTop
, 0, 0x407 } },
3624 { 0x6000, { DFF_Prop_geoRight
, 0x407, 0 } },
3625 { 0x6000, { DFF_Prop_geoBottom
, 0x407, 0 } },
3626 { 0xa000, { DFF_Prop_geoLeft
, 0, 0x405 } },
3627 { 0xa000, { DFF_Prop_geoTop
, 0, 0x405 } },
3628 { 0x6000, { DFF_Prop_geoRight
, 0x405, 0 } },
3629 { 0x6000, { DFF_Prop_geoBottom
, 0x405, 0 } }
3631 static const SvxMSDffTextRectangles mso_sptBracketPairTextRect
[] =
3633 { { 8 MSO_I
, 9 MSO_I
}, { 0xa MSO_I
, 0xb MSO_I
} }
3635 static const SvxMSDffHandle mso_sptBracketPairHandle
[] =
3637 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
3638 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3640 static const mso_CustomShape msoBracketPair
=
3642 (SvxMSDffVertPair
*)mso_sptBracketPairVert
, sizeof( mso_sptBracketPairVert
) / sizeof( SvxMSDffVertPair
),
3643 (sal_uInt16
*)mso_sptBracketPairSegm
, sizeof( mso_sptBracketPairSegm
) >> 1,
3644 (SvxMSDffCalculationData
*)mso_sptBracketPairCalc
, sizeof( mso_sptBracketPairCalc
) / sizeof( SvxMSDffCalculationData
),
3645 (sal_Int32
*)mso_sptDefault3700
,
3646 (SvxMSDffTextRectangles
*)mso_sptBracketPairTextRect
, sizeof( mso_sptBracketPairTextRect
) / sizeof( SvxMSDffTextRectangles
),
3649 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
3650 (SvxMSDffHandle
*)mso_sptBracketPairHandle
, sizeof( mso_sptBracketPairHandle
) / sizeof( SvxMSDffHandle
) // handles
3653 static const sal_uInt16 mso_sptPlaqueSegm
[] =
3655 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
3657 static const SvxMSDffTextRectangles mso_sptPlaqueTextRect
[] =
3659 { { 0xc MSO_I
, 0xd MSO_I
}, { 0xe MSO_I
, 0xf MSO_I
} }
3661 static const SvxMSDffHandle mso_sptPlaqueHandle
[] =
3663 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
3664 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3666 static const mso_CustomShape msoPlaque
=
3668 (SvxMSDffVertPair
*)mso_sptBracketPairVert
, sizeof( mso_sptBracketPairVert
) / sizeof( SvxMSDffVertPair
),
3669 (sal_uInt16
*)mso_sptPlaqueSegm
, sizeof( mso_sptPlaqueSegm
) >> 1,
3670 (SvxMSDffCalculationData
*)mso_sptBracketPairCalc
, sizeof( mso_sptBracketPairCalc
) / sizeof( SvxMSDffCalculationData
),
3671 (sal_Int32
*)mso_sptDefault3600
,
3672 (SvxMSDffTextRectangles
*)mso_sptPlaqueTextRect
, sizeof( mso_sptPlaqueTextRect
) / sizeof( SvxMSDffTextRectangles
),
3675 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
3676 (SvxMSDffHandle
*)mso_sptPlaqueHandle
, sizeof( mso_sptPlaqueHandle
) / sizeof( SvxMSDffHandle
) // handles
3679 static const SvxMSDffVertPair mso_sptBracePairVert
[] = // adj value 0 -> 5400
3681 { 4 MSO_I
, 0 }, { 0 MSO_I
, 1 MSO_I
}, { 0 MSO_I
, 6 MSO_I
}, { 0 ,10800 }, // left bracket
3682 { 0 MSO_I
, 7 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}, { 4 MSO_I
, 21600 },
3683 { 8 MSO_I
, 21600 }, { 3 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 7 MSO_I
}, { 21600, 10800 }, // right bracket
3684 { 3 MSO_I
, 6 MSO_I
}, { 3 MSO_I
, 1 MSO_I
}, { 8 MSO_I
, 0 }
3686 static const sal_uInt16 mso_sptBracePairSegm
[] =
3688 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000,
3689 0x4000, 0xa701, 0x0001, 0xa801, 0xa701, 0x0001, 0xa801, 0x8000
3691 static const SvxMSDffCalculationData mso_sptBracePairCalc
[] =
3693 { 0x6000, { DFF_Prop_geoLeft
, DFF_Prop_adjustValue
, 0 } },
3694 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
3695 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
3696 { 0xa000, { DFF_Prop_geoRight
, 0, DFF_Prop_adjustValue
} },
3697 { 0x2001, { 0x400, 2, 1 } }, // 4
3698 { 0x2001, { DFF_Prop_adjustValue
, 2, 1 } }, // 5
3699 { 0x8000, { 10800, 0, DFF_Prop_adjustValue
} }, // 6
3700 { 0x8000, { 21600, 0, 0x406 } }, // 7
3701 { 0xa000, { DFF_Prop_geoRight
, 0, 0x405 } }, // 8
3702 { 0x2001, { DFF_Prop_adjustValue
, 1, 3 } }, // 9
3703 { 0x6000, { 0x409, DFF_Prop_adjustValue
, 0 } }, // xa
3704 { 0x6000, { DFF_Prop_geoLeft
, 0x40a, 0 } }, // xb
3705 { 0x6000, { DFF_Prop_geoTop
, 0x409, 0 } }, // xc
3706 { 0xa000, { DFF_Prop_geoRight
, 0, 0x40a } }, // xd
3707 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x409 } } // xe
3709 static const SvxMSDffTextRectangles mso_sptBracePairTextRect
[] =
3711 { { 0xb MSO_I
, 0xc MSO_I
}, { 0xd MSO_I
, 0xe MSO_I
} }
3713 static const SvxMSDffHandle mso_sptBracePairHandle
[] =
3715 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_SWITCHED
,
3716 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
3718 static const mso_CustomShape msoBracePair
=
3720 (SvxMSDffVertPair
*)mso_sptBracePairVert
, sizeof( mso_sptBracePairVert
) / sizeof( SvxMSDffVertPair
),
3721 (sal_uInt16
*)mso_sptBracePairSegm
, sizeof( mso_sptBracePairSegm
) >> 1,
3722 (SvxMSDffCalculationData
*)mso_sptBracePairCalc
, sizeof( mso_sptBracePairCalc
) / sizeof( SvxMSDffCalculationData
),
3723 (sal_Int32
*)mso_sptDefault1800
,
3724 (SvxMSDffTextRectangles
*)mso_sptBracePairTextRect
, sizeof( mso_sptBracePairTextRect
) / sizeof( SvxMSDffTextRectangles
),
3727 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
3728 (SvxMSDffHandle
*)mso_sptBracePairHandle
, sizeof( mso_sptBracePairHandle
) / sizeof( SvxMSDffHandle
) // handles
3731 static const SvxMSDffCalculationData mso_sptBracketCalc
[] =
3733 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
3734 { 0x6000, { DFF_Prop_geoTop
, DFF_Prop_adjustValue
, 0 } },
3735 { 0xa000, { DFF_Prop_geoBottom
, 0, DFF_Prop_adjustValue
} },
3736 { 0x6000, { DFF_Prop_geoTop
, 0x400, 0 } },
3737 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } }
3739 static const sal_uInt16 mso_sptBracketSegm
[] =
3741 0x4000, 0x2001, 0x0001, 0x2001, 0x8000
3743 static const SvxMSDffVertPair mso_sptLeftBracketVert
[] = // adj value 0 -> 10800
3745 { 21600, 0 }, { 10800, 0 }, { 0, 3 MSO_I
}, { 0, 1 MSO_I
},
3746 { 0, 2 MSO_I
}, { 0, 4 MSO_I
}, { 10800, 21600 }, { 21600, 21600 }
3748 static const SvxMSDffTextRectangles mso_sptLeftBracketTextRect
[] =
3750 { { 6350, 3 MSO_I
}, { 21600, 4 MSO_I
} }
3752 static const SvxMSDffVertPair mso_sptLeftBracketGluePoints
[] =
3754 { 21600, 0 }, { 0, 10800 }, { 21600, 21600 }
3756 static const SvxMSDffHandle mso_sptLeftBracketHandle
[] =
3758 { MSDFF_HANDLE_FLAGS_RANGE
,
3759 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
3761 static const mso_CustomShape msoLeftBracket
=
3763 (SvxMSDffVertPair
*)mso_sptLeftBracketVert
, sizeof( mso_sptLeftBracketVert
) / sizeof( SvxMSDffVertPair
),
3764 (sal_uInt16
*)mso_sptBracketSegm
, sizeof( mso_sptBracketSegm
) >> 1,
3765 (SvxMSDffCalculationData
*)mso_sptBracketCalc
, sizeof( mso_sptBracketCalc
) / sizeof( SvxMSDffCalculationData
),
3766 (sal_Int32
*)mso_sptDefault1800
,
3767 (SvxMSDffTextRectangles
*)mso_sptLeftBracketTextRect
, sizeof( mso_sptLeftBracketTextRect
) / sizeof( SvxMSDffTextRectangles
),
3769 0x80000000, 0x80000000,
3770 (SvxMSDffVertPair
*)mso_sptLeftBracketGluePoints
, sizeof( mso_sptLeftBracketGluePoints
) / sizeof( SvxMSDffVertPair
),
3771 (SvxMSDffHandle
*)mso_sptLeftBracketHandle
, sizeof( mso_sptLeftBracketHandle
) / sizeof( SvxMSDffHandle
) // handles
3773 static const SvxMSDffVertPair mso_sptRightBracketVert
[] = // adj value 0 -> 10800
3775 { 0, 0 }, { 10800, 0 }, { 21600, 3 MSO_I
}, { 21600, 1 MSO_I
},
3776 { 21600, 2 MSO_I
}, { 21600, 4 MSO_I
}, { 10800, 21600 }, { 0, 21600 }
3778 static const SvxMSDffTextRectangles mso_sptRightBracketTextRect
[] =
3780 { { 0, 3 MSO_I
}, { 15150, 4 MSO_I
} }
3782 static const SvxMSDffVertPair mso_sptRightBracketGluePoints
[] =
3784 { 0, 0 }, { 0, 21600 }, { 21600, 10800 }
3786 static const SvxMSDffHandle mso_sptRightBracketHandle
[] =
3788 { MSDFF_HANDLE_FLAGS_RANGE
,
3789 1, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
3791 static const mso_CustomShape msoRightBracket
=
3793 (SvxMSDffVertPair
*)mso_sptRightBracketVert
, sizeof( mso_sptRightBracketVert
) / sizeof( SvxMSDffVertPair
),
3794 (sal_uInt16
*)mso_sptBracketSegm
, sizeof( mso_sptBracketSegm
) >> 1,
3795 (SvxMSDffCalculationData
*)mso_sptBracketCalc
, sizeof( mso_sptBracketCalc
) / sizeof( SvxMSDffCalculationData
),
3796 (sal_Int32
*)mso_sptDefault1800
,
3797 (SvxMSDffTextRectangles
*)mso_sptRightBracketTextRect
, sizeof( mso_sptRightBracketTextRect
) / sizeof( SvxMSDffTextRectangles
),
3799 0x80000000, 0x80000000,
3800 (SvxMSDffVertPair
*)mso_sptRightBracketGluePoints
, sizeof( mso_sptRightBracketGluePoints
) / sizeof( SvxMSDffVertPair
),
3801 (SvxMSDffHandle
*)mso_sptRightBracketHandle
, sizeof( mso_sptRightBracketHandle
) / sizeof( SvxMSDffHandle
) // handles
3804 static const SvxMSDffCalculationData mso_sptBraceCalc
[] =
3806 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
3807 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
3808 { 0xa000, { 0x404, 0, DFF_Prop_adjustValue
} },
3809 { 0xa000, { 0x404, 0, 0x400 } },
3810 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
3811 { 0x6000, { 0x404, 0x400, 0 } },
3812 { 0x6000, { 0x404, DFF_Prop_adjustValue
, 0 } },
3813 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
3814 { 0x8000, { 21600, 0, 0x400 } },
3815 { 0x2001, { DFF_Prop_adjustValue
, 10000, 31953 } },
3816 { 0x8000, { 21600, 0, 0x409 } }
3818 static const sal_uInt16 mso_sptBraceSegm
[] =
3820 0x4000, 0x2001, 0x0001, 0x2002, 0x0001, 0x2001, 0x8000
3822 static const sal_Int32 mso_sptBraceDefault
[] =
3826 static const SvxMSDffVertPair mso_sptLeftBraceVert
[] =
3829 { 16200, 0 }, { 10800, 0 MSO_I
}, { 10800, 1 MSO_I
}, // ccp
3830 { 10800, 2 MSO_I
}, // p
3831 { 10800, 3 MSO_I
}, { 5400, 4 MSO_I
}, { 0, 4 MSO_I
}, // ccp
3832 { 5400, 4 MSO_I
}, { 10800, 5 MSO_I
}, { 10800, 6 MSO_I
}, // ccp
3833 { 10800, 7 MSO_I
}, // p
3834 { 10800, 8 MSO_I
}, { 16200, 21600 }, { 21600, 21600 } // ccp
3836 static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect
[] =
3838 { { 13800, 9 MSO_I
}, { 21600, 10 MSO_I
} }
3840 static const SvxMSDffHandle mso_sptLeftBraceHandle
[] =
3842 { MSDFF_HANDLE_FLAGS_RANGE
,
3843 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
3844 { MSDFF_HANDLE_FLAGS_RANGE
,
3845 0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
3847 static const mso_CustomShape msoLeftBrace
= // adj value0 0 -> 5400
3848 { // adj value1 0 -> 21600
3849 (SvxMSDffVertPair
*)mso_sptLeftBraceVert
, sizeof( mso_sptLeftBraceVert
) / sizeof( SvxMSDffVertPair
),
3850 (sal_uInt16
*)mso_sptBraceSegm
, sizeof( mso_sptBraceSegm
) >> 1,
3851 (SvxMSDffCalculationData
*)mso_sptBraceCalc
, sizeof( mso_sptBraceCalc
) / sizeof( SvxMSDffCalculationData
),
3852 (sal_Int32
*)mso_sptBraceDefault
,
3853 (SvxMSDffTextRectangles
*)mso_sptLeftBraceTextRect
, sizeof( mso_sptLeftBraceTextRect
) / sizeof( SvxMSDffTextRectangles
),
3855 0x80000000, 0x80000000,
3856 (SvxMSDffVertPair
*)mso_sptLeftBracketGluePoints
, sizeof( mso_sptLeftBracketGluePoints
) / sizeof( SvxMSDffVertPair
),
3857 (SvxMSDffHandle
*)mso_sptLeftBraceHandle
, sizeof( mso_sptLeftBraceHandle
) / sizeof( SvxMSDffHandle
) // handles
3859 static const SvxMSDffVertPair mso_sptRightBraceVert
[] =
3862 { 5400, 0 }, { 10800, 0 MSO_I
}, { 10800, 1 MSO_I
}, // ccp
3863 { 10800, 2 MSO_I
}, // p
3864 { 10800, 3 MSO_I
}, { 16200, 4 MSO_I
}, { 21600, 4 MSO_I
}, // ccp
3865 { 16200, 4 MSO_I
}, { 10800, 5 MSO_I
}, { 10800, 6 MSO_I
}, // ccp
3866 { 10800, 7 MSO_I
}, // p
3867 { 10800, 8 MSO_I
}, { 5400, 21600 }, { 0, 21600 } // ccp
3869 static const SvxMSDffTextRectangles mso_sptRightBraceTextRect
[] =
3871 { { 0, 9 MSO_I
}, { 7800, 10 MSO_I
} }
3873 static const SvxMSDffHandle mso_sptRightBraceHandle
[] =
3875 { MSDFF_HANDLE_FLAGS_RANGE
,
3876 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
3877 { MSDFF_HANDLE_FLAGS_RANGE
,
3878 1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
3880 static const mso_CustomShape msoRightBrace
= // adj value0 0 -> 5400
3881 { // adj value1 0 -> 21600
3882 (SvxMSDffVertPair
*)mso_sptRightBraceVert
, sizeof( mso_sptRightBraceVert
) / sizeof( SvxMSDffVertPair
),
3883 (sal_uInt16
*)mso_sptBraceSegm
, sizeof( mso_sptBraceSegm
) >> 1,
3884 (SvxMSDffCalculationData
*)mso_sptBraceCalc
, sizeof( mso_sptBraceCalc
) / sizeof( SvxMSDffCalculationData
),
3885 (sal_Int32
*)mso_sptBraceDefault
,
3886 (SvxMSDffTextRectangles
*)mso_sptRightBraceTextRect
, sizeof( mso_sptRightBraceTextRect
) / sizeof( SvxMSDffTextRectangles
),
3888 0x80000000, 0x80000000,
3889 (SvxMSDffVertPair
*)mso_sptRightBracketGluePoints
, sizeof( mso_sptRightBracketGluePoints
) / sizeof( SvxMSDffVertPair
),
3890 (SvxMSDffHandle
*)mso_sptRightBraceHandle
, sizeof( mso_sptRightBraceHandle
) / sizeof( SvxMSDffHandle
) // handles
3893 static const SvxMSDffVertPair mso_sptIrregularSeal1Vert
[] =
3895 { 10901, 5905 }, { 8458, 2399 }, { 7417, 6425 }, { 476, 2399 },
3896 { 4732, 7722 }, { 106, 8718 }, { 3828, 11880 }, { 243, 14689 },
3897 { 5772, 14041 }, { 4868, 17719 }, { 7819, 15730 }, { 8590, 21600 },
3898 { 10637, 15038 }, { 13349, 19840 }, { 14125, 14561 }, { 18248, 18195 },
3899 { 16938, 13044 }, { 21600, 13393 }, { 17710, 10579 }, { 21198, 8242 },
3900 { 16806, 7417 }, { 18482, 4560 }, { 14257, 5429 }, { 14623, 106 }, { 10901, 5905 }
3902 static const SvxMSDffTextRectangles mso_sptIrregularSeal1TextRect
[] =
3904 { { 4680, 6570 }, { 16140, 13280 } }
3906 static const SvxMSDffVertPair mso_sptIrregularSeal1GluePoints
[] =
3908 { 14623, 106 }, { 106, 8718 }, { 8590, 21600 }, { 21600, 13393 }
3910 static const mso_CustomShape msoIrregularSeal1
=
3912 (SvxMSDffVertPair
*)mso_sptIrregularSeal1Vert
, sizeof( mso_sptIrregularSeal1Vert
) / sizeof( SvxMSDffVertPair
),
3916 (SvxMSDffTextRectangles
*)mso_sptIrregularSeal1TextRect
, sizeof( mso_sptIrregularSeal1TextRect
) / sizeof( SvxMSDffTextRectangles
),
3918 0x80000000, 0x80000000,
3919 (SvxMSDffVertPair
*)mso_sptIrregularSeal1GluePoints
, sizeof( mso_sptIrregularSeal1GluePoints
) / sizeof( SvxMSDffVertPair
),
3923 static const SvxMSDffVertPair mso_sptIrregularSeal2Vert
[] =
3925 { 11464, 4340 }, { 9722, 1887 }, { 8548, 6383 }, { 4503, 3626 },
3926 { 5373, 7816 }, { 1174, 8270 }, { 3934, 11592 }, { 0, 12875 },
3927 { 3329, 15372 }, { 1283, 17824 }, { 4804, 18239 }, { 4918, 21600 },
3928 { 7525, 18125 }, { 8698, 19712 }, { 9871, 17371 }, { 11614, 18844 },
3929 { 12178, 15937 }, { 14943, 17371 }, { 14640, 14348 }, { 18878, 15632 },
3930 { 16382, 12311 }, { 18270, 11292 }, { 16986, 9404 }, { 21600, 6646 },
3931 { 16382, 6533 }, { 18005, 3172 }, { 14524, 5778 }, { 14789, 0 },
3934 static const SvxMSDffTextRectangles mso_sptIrregularSeal2TextRect
[] =
3936 { { 5400, 6570 }, { 14160, 15290 } }
3938 static const SvxMSDffVertPair mso_sptIrregularSeal2GluePoints
[] =
3940 { 9722, 1887 }, { 0, 12875 }, { 11614, 18844 }, { 21600, 6646 }
3942 static const mso_CustomShape msoIrregularSeal2
=
3944 (SvxMSDffVertPair
*)mso_sptIrregularSeal2Vert
, sizeof( mso_sptIrregularSeal2Vert
) / sizeof( SvxMSDffVertPair
),
3948 (SvxMSDffTextRectangles
*)mso_sptIrregularSeal2TextRect
, sizeof( mso_sptIrregularSeal2TextRect
) / sizeof( SvxMSDffTextRectangles
),
3950 0x80000000, 0x80000000,
3951 (SvxMSDffVertPair
*)mso_sptIrregularSeal2GluePoints
, sizeof( mso_sptIrregularSeal2GluePoints
) / sizeof( SvxMSDffVertPair
),
3955 static const SvxMSDffVertPair mso_sptSeal4Vert
[] = // adjustment1 : 0 - 10800
3957 { 0, 10800 }, { 4 MSO_I
, 4 MSO_I
}, { 10800, 0 }, { 3 MSO_I
, 4 MSO_I
},
3958 { 21600, 10800 }, { 3 MSO_I
, 3 MSO_I
}, { 10800, 21600 }, { 4 MSO_I
, 3 MSO_I
},
3961 static const SvxMSDffCalculationData mso_sptSeal4Calc
[] =
3963 { 0x0000, { 7600, 0, 0 } },
3964 { 0x6001, { 0x400, DFF_Prop_adjustValue
, 10800 } },
3965 { 0xa000, { 0x400, 0, 0x401 } },
3966 { 0x4000, { 10800, 0x402, 0 } },
3967 { 0x8000, { 10800, 0, 0x402 } }
3969 static const SvxMSDffTextRectangles mso_sptSeal4TextRect
[] =
3971 { { 4 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 3 MSO_I
} }
3973 static const SvxMSDffHandle mso_sptSealHandle
[] =
3975 { MSDFF_HANDLE_FLAGS_RANGE
,
3976 0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
3978 static const mso_CustomShape msoSeal4
=
3980 (SvxMSDffVertPair
*)mso_sptSeal4Vert
, sizeof( mso_sptSeal4Vert
) / sizeof( SvxMSDffVertPair
),
3982 (SvxMSDffCalculationData
*)mso_sptSeal4Calc
, sizeof( mso_sptSeal4Calc
) / sizeof( SvxMSDffCalculationData
),
3983 (sal_Int32
*)mso_sptDefault8100
,
3984 (SvxMSDffTextRectangles
*)mso_sptSeal4TextRect
, sizeof( mso_sptSeal4TextRect
) / sizeof( SvxMSDffTextRectangles
),
3986 0x80000000, 0x80000000,
3988 (SvxMSDffHandle
*)mso_sptSealHandle
, sizeof( mso_sptSealHandle
) / sizeof( SvxMSDffHandle
) // handles
3991 static const SvxMSDffVertPair mso_sptStarVert
[] =
3993 { 10797, 0 }, { 8278, 8256 }, { 0, 8256 }, { 6722, 13405 },
3994 { 4198, 21600 }, { 10797, 16580 }, { 17401, 21600 }, { 14878, 13405 },
3995 { 21600, 8256 }, { 13321, 8256 }, { 10797, 0 }
3997 static const SvxMSDffTextRectangles mso_sptStarTextRect
[] =
3999 { { 6722, 8256 }, { 14878, 15460 } }
4001 static const mso_CustomShape msoStar
=
4003 (SvxMSDffVertPair
*)mso_sptStarVert
, sizeof( mso_sptStarVert
) / sizeof( SvxMSDffVertPair
),
4007 (SvxMSDffTextRectangles
*)mso_sptStarTextRect
, sizeof( mso_sptStarTextRect
) / sizeof( SvxMSDffTextRectangles
),
4009 0x80000000, 0x80000000,
4014 static const SvxMSDffCalculationData mso_sptSeal24Calc
[] =
4016 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0x00
4017 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe )
4018 { 0x2082, { 0x400, 10800, 315 } }, // 0x02
4019 { 0x2081, { 0x400, 10800, 135 } }, // 0x03
4020 { 0x2082, { 0x400, 10800, 135 } }, // 0x04
4021 { 0x0081, { 0, 10800, 0 } },
4022 { 0x0082, { 0, 10800, 0 } },
4023 { 0x2081, { 0x400, 10800, 7 } },
4024 { 0x2082, { 0x400, 10800, 7 } },
4025 { 0x0081, { 0, 10800, 15 } },
4026 { 0x0082, { 0, 10800, 15 } },
4027 { 0x2081, { 0x400, 10800, 22 } },
4028 { 0x2082, { 0x400, 10800, 22 } },
4029 { 0x0081, { 0, 10800, 30 } },
4030 { 0x0082, { 0, 10800, 30 } },
4031 { 0x2081, { 0x400, 10800, 37 } },
4032 { 0x2082, { 0x400, 10800, 37 } },
4033 { 0x0081, { 0, 10800, 45 } },
4034 { 0x0082, { 0, 10800, 45 } },
4035 { 0x2081, { 0x400, 10800, 52 } },
4036 { 0x2082, { 0x400, 10800, 52 } },
4037 { 0x0081, { 0, 10800, 60 } },
4038 { 0x0082, { 0, 10800, 60 } },
4039 { 0x2081, { 0x400, 10800, 67 } },
4040 { 0x2082, { 0x400, 10800, 67 } },
4041 { 0x0081, { 0, 10800, 75 } },
4042 { 0x0082, { 0, 10800, 75 } },
4043 { 0x2081, { 0x400, 10800, 82 } },
4044 { 0x2082, { 0x400, 10800, 82 } },
4045 { 0x0081, { 0, 10800, 90 } },
4046 { 0x0082, { 0, 10800, 90 } },
4047 { 0x2081, { 0x400, 10800, 97 } },
4048 { 0x2082, { 0x400, 10800, 97 } },
4049 { 0x0081, { 0, 10800, 105 } },
4050 { 0x0082, { 0, 10800, 105 } },
4051 { 0x2081, { 0x400, 10800, 112 } },
4052 { 0x2082, { 0x400, 10800, 112 } },
4053 { 0x0081, { 0, 10800, 120 } },
4054 { 0x0082, { 0, 10800, 120 } },
4055 { 0x2081, { 0x400, 10800, 127 } },
4056 { 0x2082, { 0x400, 10800, 127 } },
4057 { 0x0081, { 0, 10800, 135 } },
4058 { 0x0082, { 0, 10800, 135 } },
4059 { 0x2081, { 0x400, 10800, 142 } },
4060 { 0x2082, { 0x400, 10800, 142 } },
4061 { 0x0081, { 0, 10800, 150 } },
4062 { 0x0082, { 0, 10800, 150 } },
4063 { 0x2081, { 0x400, 10800, 157 } },
4064 { 0x2082, { 0x400, 10800, 157 } },
4065 { 0x0081, { 0, 10800, 165 } },
4066 { 0x0082, { 0, 10800, 165 } },
4067 { 0x2081, { 0x400, 10800, 172 } },
4068 { 0x2082, { 0x400, 10800, 172 } },
4069 { 0x0081, { 0, 10800, 180 } },
4070 { 0x0082, { 0, 10800, 180 } },
4071 { 0x2081, { 0x400, 10800, 187 } },
4072 { 0x2082, { 0x400, 10800, 187 } },
4073 { 0x0081, { 0, 10800, 195 } },
4074 { 0x0082, { 0, 10800, 195 } },
4075 { 0x2081, { 0x400, 10800, 202 } },
4076 { 0x2082, { 0x400, 10800, 202 } },
4077 { 0x0081, { 0, 10800, 210 } },
4078 { 0x0082, { 0, 10800, 210 } },
4079 { 0x2081, { 0x400, 10800, 217 } },
4080 { 0x2082, { 0x400, 10800, 217 } },
4081 { 0x0081, { 0, 10800, 225 } },
4082 { 0x0082, { 0, 10800, 225 } },
4083 { 0x2081, { 0x400, 10800, 232 } },
4084 { 0x2082, { 0x400, 10800, 232 } },
4085 { 0x0081, { 0, 10800, 240 } },
4086 { 0x0082, { 0, 10800, 240 } },
4087 { 0x2081, { 0x400, 10800, 247 } },
4088 { 0x2082, { 0x400, 10800, 247 } },
4089 { 0x0081, { 0, 10800, 255 } },
4090 { 0x0082, { 0, 10800, 255 } },
4091 { 0x2081, { 0x400, 10800, 262 } },
4092 { 0x2082, { 0x400, 10800, 262 } },
4093 { 0x0081, { 0, 10800, 270 } },
4094 { 0x0082, { 0, 10800, 270 } },
4095 { 0x2081, { 0x400, 10800, 277 } },
4096 { 0x2082, { 0x400, 10800, 277 } },
4097 { 0x0081, { 0, 10800, 285 } },
4098 { 0x0082, { 0, 10800, 285 } },
4099 { 0x2081, { 0x400, 10800, 292 } },
4100 { 0x2082, { 0x400, 10800, 292 } },
4101 { 0x0081, { 0, 10800, 300 } },
4102 { 0x0082, { 0, 10800, 300 } },
4103 { 0x2081, { 0x400, 10800, 307 } },
4104 { 0x2082, { 0x400, 10800, 307 } },
4105 { 0x0081, { 0, 10800, 315 } },
4106 { 0x0082, { 0, 10800, 315 } },
4107 { 0x2081, { 0x400, 10800, 322 } },
4108 { 0x2082, { 0x400, 10800, 322 } },
4109 { 0x0081, { 0, 10800, 330 } },
4110 { 0x0082, { 0, 10800, 330 } },
4111 { 0x2081, { 0x400, 10800, 337 } },
4112 { 0x2082, { 0x400, 10800, 337 } },
4113 { 0x0081, { 0, 10800, 345 } },
4114 { 0x0082, { 0, 10800, 345 } },
4115 { 0x2081, { 0x400, 10800, 352 } },
4116 { 0x2082, { 0x400, 10800, 352 } }
4118 static const SvxMSDffVertPair mso_sptSeal8Vert
[] = // adj value 0 -> 10800
4120 { 5 MSO_I
, 6 MSO_I
}, { 11 MSO_I
, 12 MSO_I
}, { 17 MSO_I
, 18 MSO_I
}, { 23 MSO_I
, 24 MSO_I
},
4121 { 29 MSO_I
, 30 MSO_I
}, { 35 MSO_I
, 36 MSO_I
}, { 41 MSO_I
, 42 MSO_I
}, { 47 MSO_I
, 48 MSO_I
},
4122 { 53 MSO_I
, 54 MSO_I
}, { 59 MSO_I
, 60 MSO_I
}, { 65 MSO_I
, 66 MSO_I
}, { 71 MSO_I
, 72 MSO_I
},
4123 { 77 MSO_I
, 78 MSO_I
}, { 83 MSO_I
, 84 MSO_I
}, { 89 MSO_I
, 90 MSO_I
}, { 95 MSO_I
, 96 MSO_I
},
4124 { 5 MSO_I
, 6 MSO_I
}
4126 static const SvxMSDffTextRectangles mso_sptSealTextRect
[] =
4128 { { 1 MSO_I
, 2 MSO_I
}, { 3 MSO_I
, 4 MSO_I
} }
4130 static const mso_CustomShape msoSeal8
=
4132 (SvxMSDffVertPair
*)mso_sptSeal8Vert
, sizeof( mso_sptSeal8Vert
) / sizeof( SvxMSDffVertPair
),
4134 (SvxMSDffCalculationData
*)mso_sptSeal24Calc
, sizeof( mso_sptSeal24Calc
) / sizeof( SvxMSDffCalculationData
),
4135 (sal_Int32
*)mso_sptDefault2500
,
4136 (SvxMSDffTextRectangles
*)mso_sptSealTextRect
, sizeof( mso_sptSealTextRect
) / sizeof( SvxMSDffTextRectangles
),
4138 0x80000000, 0x80000000,
4140 (SvxMSDffHandle
*)mso_sptSealHandle
, sizeof( mso_sptSealHandle
) / sizeof( SvxMSDffHandle
) // handles
4142 static const SvxMSDffVertPair mso_sptSeal16Vert
[] = // adj value 0 -> 10800
4144 { 0x05 MSO_I
, 0x06 MSO_I
}, { 0x07 MSO_I
, 0x08 MSO_I
}, { 0x09 MSO_I
, 0x0a MSO_I
}, { 0x0b MSO_I
, 0x0c MSO_I
},
4145 { 0x0d MSO_I
, 0x0e MSO_I
}, { 0x0f MSO_I
, 0x10 MSO_I
}, { 0x11 MSO_I
, 0x12 MSO_I
}, { 0x13 MSO_I
, 0x14 MSO_I
},
4146 { 0x15 MSO_I
, 0x16 MSO_I
}, { 0x17 MSO_I
, 0x18 MSO_I
}, { 0x19 MSO_I
, 0x1a MSO_I
}, { 0x1b MSO_I
, 0x1c MSO_I
},
4147 { 0x1d MSO_I
, 0x1e MSO_I
}, { 0x1f MSO_I
, 0x20 MSO_I
}, { 0x21 MSO_I
, 0x22 MSO_I
}, { 0x23 MSO_I
, 0x24 MSO_I
},
4148 { 0x25 MSO_I
, 0x26 MSO_I
}, { 0x27 MSO_I
, 0x28 MSO_I
}, { 0x29 MSO_I
, 0x2a MSO_I
}, { 0x2b MSO_I
, 0x2c MSO_I
},
4149 { 0x2d MSO_I
, 0x2e MSO_I
}, { 0x2f MSO_I
, 0x30 MSO_I
}, { 0x31 MSO_I
, 0x32 MSO_I
}, { 0x33 MSO_I
, 0x34 MSO_I
},
4150 { 0x35 MSO_I
, 0x36 MSO_I
}, { 0x37 MSO_I
, 0x38 MSO_I
}, { 0x39 MSO_I
, 0x3a MSO_I
}, { 0x3b MSO_I
, 0x3c MSO_I
},
4151 { 0x3d MSO_I
, 0x3e MSO_I
}, { 0x3f MSO_I
, 0x40 MSO_I
}, { 0x41 MSO_I
, 0x42 MSO_I
}, { 0x43 MSO_I
, 0x44 MSO_I
},
4152 { 0x05 MSO_I
, 0x06 MSO_I
}
4154 static const SvxMSDffCalculationData mso_sptSeal16Calc
[] =
4156 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0x00
4157 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe )
4158 { 0x2082, { 0x400, 10800, 315 } }, // 0x02
4159 { 0x2081, { 0x400, 10800, 135 } }, // 0x03
4160 { 0x2082, { 0x400, 10800, 135 } }, // 0x04
4161 { 0x0081, { 0, 10800, 0 } },
4162 { 0x0082, { 0, 10800, 0 } },
4163 { 0x2081, { 0x400, 10800, 11 } },
4164 { 0x2082, { 0x400, 10800, 11 } },
4165 { 0x0081, { 0, 10800, 22 } },
4166 { 0x0082, { 0, 10800, 22 } },
4167 { 0x2081, { 0x400, 10800, 33 } },
4168 { 0x2082, { 0x400, 10800, 33 } },
4169 { 0x0081, { 0, 10800, 45 } },
4170 { 0x0082, { 0, 10800, 45 } },
4171 { 0x2081, { 0x400, 10800, 56 } },
4172 { 0x2082, { 0x400, 10800, 56 } },
4173 { 0x0081, { 0, 10800, 67 } },
4174 { 0x0082, { 0, 10800, 67 } },
4175 { 0x2081, { 0x400, 10800, 78 } },
4176 { 0x2082, { 0x400, 10800, 78 } },
4177 { 0x0081, { 0, 10800, 90 } },
4178 { 0x0082, { 0, 10800, 90 } },
4179 { 0x2081, { 0x400, 10800, 101 } },
4180 { 0x2082, { 0x400, 10800, 101 } },
4181 { 0x0081, { 0, 10800, 112 } },
4182 { 0x0082, { 0, 10800, 112 } },
4183 { 0x2081, { 0x400, 10800, 123 } },
4184 { 0x2082, { 0x400, 10800, 123 } },
4185 { 0x0081, { 0, 10800, 135 } },
4186 { 0x0082, { 0, 10800, 135 } },
4187 { 0x2081, { 0x400, 10800, 146 } },
4188 { 0x2082, { 0x400, 10800, 146 } },
4189 { 0x0081, { 0, 10800, 157 } },
4190 { 0x0082, { 0, 10800, 157 } },
4191 { 0x2081, { 0x400, 10800, 168 } },
4192 { 0x2082, { 0x400, 10800, 168 } },
4193 { 0x0081, { 0, 10800, 180 } },
4194 { 0x0082, { 0, 10800, 180 } },
4195 { 0x2081, { 0x400, 10800, 191 } },
4196 { 0x2082, { 0x400, 10800, 191 } },
4197 { 0x0081, { 0, 10800, 202 } },
4198 { 0x0082, { 0, 10800, 202 } },
4199 { 0x2081, { 0x400, 10800, 213 } },
4200 { 0x2082, { 0x400, 10800, 213 } },
4201 { 0x0081, { 0, 10800, 225 } },
4202 { 0x0082, { 0, 10800, 225 } },
4203 { 0x2081, { 0x400, 10800, 236 } },
4204 { 0x2082, { 0x400, 10800, 236 } },
4205 { 0x0081, { 0, 10800, 247 } },
4206 { 0x0082, { 0, 10800, 247 } },
4207 { 0x2081, { 0x400, 10800, 258 } },
4208 { 0x2082, { 0x400, 10800, 258 } },
4209 { 0x0081, { 0, 10800, 270 } },
4210 { 0x0082, { 0, 10800, 270 } },
4211 { 0x2081, { 0x400, 10800, 281 } },
4212 { 0x2082, { 0x400, 10800, 281 } },
4213 { 0x0081, { 0, 10800, 292 } },
4214 { 0x0082, { 0, 10800, 292 } },
4215 { 0x2081, { 0x400, 10800, 303 } },
4216 { 0x2082, { 0x400, 10800, 303 } },
4217 { 0x0081, { 0, 10800, 315 } },
4218 { 0x0082, { 0, 10800, 315 } },
4219 { 0x2081, { 0x400, 10800, 326 } },
4220 { 0x2082, { 0x400, 10800, 326 } },
4221 { 0x0081, { 0, 10800, 337 } },
4222 { 0x0082, { 0, 10800, 337 } },
4223 { 0x2081, { 0x400, 10800, 348 } },
4224 { 0x2082, { 0x400, 10800, 348 } }
4226 static const mso_CustomShape msoSeal16
=
4228 (SvxMSDffVertPair
*)mso_sptSeal16Vert
, sizeof( mso_sptSeal16Vert
) / sizeof( SvxMSDffVertPair
),
4230 (SvxMSDffCalculationData
*)mso_sptSeal16Calc
, sizeof( mso_sptSeal16Calc
) / sizeof( SvxMSDffCalculationData
),
4231 (sal_Int32
*)mso_sptDefault2500
,
4232 (SvxMSDffTextRectangles
*)mso_sptSealTextRect
, sizeof( mso_sptSealTextRect
) / sizeof( SvxMSDffTextRectangles
),
4234 0x80000000, 0x80000000,
4236 (SvxMSDffHandle
*)mso_sptSealHandle
, sizeof( mso_sptSealHandle
) / sizeof( SvxMSDffHandle
) // handles
4238 static const SvxMSDffVertPair mso_sptSeal24Vert
[] =
4240 { 0x05 MSO_I
, 0x06 MSO_I
}, { 0x07 MSO_I
, 0x08 MSO_I
}, { 0x09 MSO_I
, 0x0a MSO_I
}, { 0x0b MSO_I
, 0x0c MSO_I
},
4241 { 0x0d MSO_I
, 0x0e MSO_I
}, { 0x0f MSO_I
, 0x10 MSO_I
}, { 0x11 MSO_I
, 0x12 MSO_I
}, { 0x13 MSO_I
, 0x14 MSO_I
},
4242 { 0x15 MSO_I
, 0x16 MSO_I
}, { 0x17 MSO_I
, 0x18 MSO_I
}, { 0x19 MSO_I
, 0x1a MSO_I
}, { 0x1b MSO_I
, 0x1c MSO_I
},
4243 { 0x1d MSO_I
, 0x1e MSO_I
}, { 0x1f MSO_I
, 0x20 MSO_I
}, { 0x21 MSO_I
, 0x22 MSO_I
}, { 0x23 MSO_I
, 0x24 MSO_I
},
4244 { 0x25 MSO_I
, 0x26 MSO_I
}, { 0x27 MSO_I
, 0x28 MSO_I
}, { 0x29 MSO_I
, 0x2a MSO_I
}, { 0x2b MSO_I
, 0x2c MSO_I
},
4245 { 0x2d MSO_I
, 0x2e MSO_I
}, { 0x2f MSO_I
, 0x30 MSO_I
}, { 0x31 MSO_I
, 0x32 MSO_I
}, { 0x33 MSO_I
, 0x34 MSO_I
},
4246 { 0x35 MSO_I
, 0x36 MSO_I
}, { 0x37 MSO_I
, 0x38 MSO_I
}, { 0x39 MSO_I
, 0x3a MSO_I
}, { 0x3b MSO_I
, 0x3c MSO_I
},
4247 { 0x3d MSO_I
, 0x3e MSO_I
}, { 0x3f MSO_I
, 0x40 MSO_I
}, { 0x41 MSO_I
, 0x42 MSO_I
}, { 0x43 MSO_I
, 0x44 MSO_I
},
4248 { 0x45 MSO_I
, 0x46 MSO_I
}, { 0x47 MSO_I
, 0x48 MSO_I
}, { 0x49 MSO_I
, 0x4a MSO_I
}, { 0x4b MSO_I
, 0x4c MSO_I
},
4249 { 0x4d MSO_I
, 0x4e MSO_I
}, { 0x4f MSO_I
, 0x50 MSO_I
}, { 0x51 MSO_I
, 0x52 MSO_I
}, { 0x53 MSO_I
, 0x54 MSO_I
},
4250 { 0x55 MSO_I
, 0x56 MSO_I
}, { 0x57 MSO_I
, 0x58 MSO_I
}, { 0x59 MSO_I
, 0x5a MSO_I
}, { 0x5b MSO_I
, 0x5c MSO_I
},
4251 { 0x5d MSO_I
, 0x5e MSO_I
}, { 0x5f MSO_I
, 0x60 MSO_I
}, { 0x61 MSO_I
, 0x62 MSO_I
}, { 0x63 MSO_I
, 0x64 MSO_I
},
4252 { 0x05 MSO_I
, 0x06 MSO_I
}
4254 static const mso_CustomShape msoSeal24
=
4256 (SvxMSDffVertPair
*)mso_sptSeal24Vert
, sizeof( mso_sptSeal24Vert
) / sizeof( SvxMSDffVertPair
),
4258 (SvxMSDffCalculationData
*)mso_sptSeal24Calc
, sizeof( mso_sptSeal24Calc
) / sizeof( SvxMSDffCalculationData
),
4259 (sal_Int32
*)mso_sptDefault2500
,
4260 (SvxMSDffTextRectangles
*)mso_sptSealTextRect
, sizeof( mso_sptSealTextRect
) / sizeof( SvxMSDffTextRectangles
),
4262 0x80000000, 0x80000000,
4264 (SvxMSDffHandle
*)mso_sptSealHandle
, sizeof( mso_sptSealHandle
) / sizeof( SvxMSDffHandle
) // handles
4266 static const SvxMSDffCalculationData mso_sptSeal32Calc
[] =
4268 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0x00
4269 { 0x2081, { 0x400, 10800, 315 } }, // 0x01 ( textframe )
4270 { 0x2082, { 0x400, 10800, 315 } }, // 0x02
4271 { 0x2081, { 0x400, 10800, 135 } }, // 0x03
4272 { 0x2082, { 0x400, 10800, 135 } }, // 0x04
4273 { 0x0081, { 0, 10800, 0 } },
4274 { 0x0082, { 0, 10800, 0 } },
4275 { 0x2081, { 0x400, 10800, 5 } },
4276 { 0x2082, { 0x400, 10800, 5 } },
4277 { 0x0081, { 0, 10800, 11 } },
4278 { 0x0082, { 0, 10800, 11 } },
4279 { 0x2081, { 0x400, 10800, 16 } },
4280 { 0x2082, { 0x400, 10800, 16 } },
4281 { 0x0081, { 0, 10800, 22 } },
4282 { 0x0082, { 0, 10800, 22 } },
4283 { 0x2081, { 0x400, 10800, 28 } },
4284 { 0x2082, { 0x400, 10800, 28 } },
4285 { 0x0081, { 0, 10800, 33 } },
4286 { 0x0082, { 0, 10800, 33 } },
4287 { 0x2081, { 0x400, 10800, 39 } },
4288 { 0x2082, { 0x400, 10800, 39 } },
4289 { 0x0081, { 0, 10800, 45 } },
4290 { 0x0082, { 0, 10800, 45 } },
4291 { 0x2081, { 0x400, 10800, 50 } },
4292 { 0x2082, { 0x400, 10800, 50 } },
4293 { 0x0081, { 0, 10800, 56 } },
4294 { 0x0082, { 0, 10800, 56 } },
4295 { 0x2081, { 0x400, 10800, 61 } },
4296 { 0x2082, { 0x400, 10800, 61 } },
4297 { 0x0081, { 0, 10800, 67 } },
4298 { 0x0082, { 0, 10800, 67 } },
4299 { 0x2081, { 0x400, 10800, 73 } },
4300 { 0x2082, { 0x400, 10800, 73 } },
4301 { 0x0081, { 0, 10800, 78 } },
4302 { 0x0082, { 0, 10800, 78 } },
4303 { 0x2081, { 0x400, 10800, 84 } },
4304 { 0x2082, { 0x400, 10800, 84 } },
4305 { 0x0081, { 0, 10800, 90 } },
4306 { 0x0082, { 0, 10800, 90 } },
4307 { 0x2081, { 0x400, 10800, 95 } },
4308 { 0x2082, { 0x400, 10800, 95 } },
4309 { 0x0081, { 0, 10800, 101 } },
4310 { 0x0082, { 0, 10800, 101 } },
4311 { 0x2081, { 0x400, 10800, 106 } },
4312 { 0x2082, { 0x400, 10800, 106 } },
4313 { 0x0081, { 0, 10800, 112 } },
4314 { 0x0082, { 0, 10800, 112 } },
4315 { 0x2081, { 0x400, 10800, 118 } },
4316 { 0x2082, { 0x400, 10800, 118 } },
4317 { 0x0081, { 0, 10800, 123 } },
4318 { 0x0082, { 0, 10800, 123 } },
4319 { 0x2081, { 0x400, 10800, 129 } },
4320 { 0x2082, { 0x400, 10800, 129 } },
4321 { 0x0081, { 0, 10800, 135 } },
4322 { 0x0082, { 0, 10800, 135 } },
4323 { 0x2081, { 0x400, 10800, 140 } },
4324 { 0x2082, { 0x400, 10800, 140 } },
4325 { 0x0081, { 0, 10800, 146 } },
4326 { 0x0082, { 0, 10800, 146 } },
4327 { 0x2081, { 0x400, 10800, 151 } },
4328 { 0x2082, { 0x400, 10800, 151 } },
4329 { 0x0081, { 0, 10800, 157 } },
4330 { 0x0082, { 0, 10800, 157 } },
4331 { 0x2081, { 0x400, 10800, 163 } },
4332 { 0x2082, { 0x400, 10800, 163 } },
4333 { 0x0081, { 0, 10800, 168 } },
4334 { 0x0082, { 0, 10800, 168 } },
4335 { 0x2081, { 0x400, 10800, 174 } },
4336 { 0x2082, { 0x400, 10800, 174 } },
4337 { 0x0081, { 0, 10800, 180 } },
4338 { 0x0082, { 0, 10800, 180 } },
4339 { 0x2081, { 0x400, 10800, 185 } },
4340 { 0x2082, { 0x400, 10800, 185 } },
4341 { 0x0081, { 0, 10800, 191 } },
4342 { 0x0082, { 0, 10800, 191 } },
4343 { 0x2081, { 0x400, 10800, 196 } },
4344 { 0x2082, { 0x400, 10800, 196 } },
4345 { 0x0081, { 0, 10800, 202 } },
4346 { 0x0082, { 0, 10800, 202 } },
4347 { 0x2081, { 0x400, 10800, 208 } },
4348 { 0x2082, { 0x400, 10800, 208 } },
4349 { 0x0081, { 0, 10800, 213 } },
4350 { 0x0082, { 0, 10800, 213 } },
4351 { 0x2081, { 0x400, 10800, 219 } },
4352 { 0x2082, { 0x400, 10800, 219 } },
4353 { 0x0081, { 0, 10800, 225 } },
4354 { 0x0082, { 0, 10800, 225 } },
4355 { 0x2081, { 0x400, 10800, 230 } },
4356 { 0x2082, { 0x400, 10800, 230 } },
4357 { 0x0081, { 0, 10800, 236 } },
4358 { 0x0082, { 0, 10800, 236 } },
4359 { 0x2081, { 0x400, 10800, 241 } },
4360 { 0x2082, { 0x400, 10800, 241 } },
4361 { 0x0081, { 0, 10800, 247 } },
4362 { 0x0082, { 0, 10800, 247 } },
4363 { 0x2081, { 0x400, 10800, 253 } },
4364 { 0x2082, { 0x400, 10800, 253 } },
4365 { 0x0081, { 0, 10800, 258 } },
4366 { 0x0082, { 0, 10800, 258 } },
4367 { 0x2081, { 0x400, 10800, 264 } },
4368 { 0x2082, { 0x400, 10800, 264 } },
4369 { 0x0081, { 0, 10800, 270 } },
4370 { 0x0082, { 0, 10800, 270 } },
4371 { 0x2081, { 0x400, 10800, 275 } },
4372 { 0x2082, { 0x400, 10800, 275 } },
4373 { 0x0081, { 0, 10800, 281 } },
4374 { 0x0082, { 0, 10800, 281 } },
4375 { 0x2081, { 0x400, 10800, 286 } },
4376 { 0x2082, { 0x400, 10800, 286 } },
4377 { 0x0081, { 0, 10800, 292 } },
4378 { 0x0082, { 0, 10800, 292 } },
4379 { 0x2081, { 0x400, 10800, 298 } },
4380 { 0x2082, { 0x400, 10800, 298 } },
4381 { 0x0081, { 0, 10800, 303 } },
4382 { 0x0082, { 0, 10800, 303 } },
4383 { 0x2081, { 0x400, 10800, 309 } },
4384 { 0x2082, { 0x400, 10800, 309 } },
4385 { 0x0081, { 0, 10800, 315 } },
4386 { 0x0082, { 0, 10800, 315 } },
4387 { 0x2081, { 0x400, 10800, 320 } },
4388 { 0x2082, { 0x400, 10800, 320 } },
4389 { 0x0081, { 0, 10800, 326 } },
4390 { 0x0082, { 0, 10800, 326 } },
4391 { 0x2081, { 0x400, 10800, 331 } },
4392 { 0x2082, { 0x400, 10800, 331 } },
4393 { 0x0081, { 0, 10800, 337 } },
4394 { 0x0082, { 0, 10800, 337 } },
4395 { 0x2081, { 0x400, 10800, 343 } },
4396 { 0x2082, { 0x400, 10800, 343 } },
4397 { 0x0081, { 0, 10800, 348 } },
4398 { 0x0082, { 0, 10800, 348 } },
4399 { 0x2081, { 0x400, 10800, 354 } },
4400 { 0x2082, { 0x400, 10800, 354 } }
4402 static const SvxMSDffVertPair mso_sptSeal32Vert
[] =
4404 { 0x05 MSO_I
, 0x06 MSO_I
}, { 0x07 MSO_I
, 0x08 MSO_I
}, { 0x09 MSO_I
, 0x0a MSO_I
}, { 0x0b MSO_I
, 0x0c MSO_I
},
4405 { 0x0d MSO_I
, 0x0e MSO_I
}, { 0x0f MSO_I
, 0x10 MSO_I
}, { 0x11 MSO_I
, 0x12 MSO_I
}, { 0x13 MSO_I
, 0x14 MSO_I
},
4406 { 0x15 MSO_I
, 0x16 MSO_I
}, { 0x17 MSO_I
, 0x18 MSO_I
}, { 0x19 MSO_I
, 0x1a MSO_I
}, { 0x1b MSO_I
, 0x1c MSO_I
},
4407 { 0x1d MSO_I
, 0x1e MSO_I
}, { 0x1f MSO_I
, 0x20 MSO_I
}, { 0x21 MSO_I
, 0x22 MSO_I
}, { 0x23 MSO_I
, 0x24 MSO_I
},
4408 { 0x25 MSO_I
, 0x26 MSO_I
}, { 0x27 MSO_I
, 0x28 MSO_I
}, { 0x29 MSO_I
, 0x2a MSO_I
}, { 0x2b MSO_I
, 0x2c MSO_I
},
4409 { 0x2d MSO_I
, 0x2e MSO_I
}, { 0x2f MSO_I
, 0x30 MSO_I
}, { 0x31 MSO_I
, 0x32 MSO_I
}, { 0x33 MSO_I
, 0x34 MSO_I
},
4410 { 0x35 MSO_I
, 0x36 MSO_I
}, { 0x37 MSO_I
, 0x38 MSO_I
}, { 0x39 MSO_I
, 0x3a MSO_I
}, { 0x3b MSO_I
, 0x3c MSO_I
},
4411 { 0x3d MSO_I
, 0x3e MSO_I
}, { 0x3f MSO_I
, 0x40 MSO_I
}, { 0x41 MSO_I
, 0x42 MSO_I
}, { 0x43 MSO_I
, 0x44 MSO_I
},
4412 { 0x45 MSO_I
, 0x46 MSO_I
}, { 0x47 MSO_I
, 0x48 MSO_I
}, { 0x49 MSO_I
, 0x4a MSO_I
}, { 0x4b MSO_I
, 0x4c MSO_I
},
4413 { 0x4d MSO_I
, 0x4e MSO_I
}, { 0x4f MSO_I
, 0x50 MSO_I
}, { 0x51 MSO_I
, 0x52 MSO_I
}, { 0x53 MSO_I
, 0x54 MSO_I
},
4414 { 0x55 MSO_I
, 0x56 MSO_I
}, { 0x57 MSO_I
, 0x58 MSO_I
}, { 0x59 MSO_I
, 0x5a MSO_I
}, { 0x5b MSO_I
, 0x5c MSO_I
},
4415 { 0x5d MSO_I
, 0x5e MSO_I
}, { 0x5f MSO_I
, 0x60 MSO_I
}, { 0x61 MSO_I
, 0x62 MSO_I
}, { 0x63 MSO_I
, 0x64 MSO_I
},
4416 { 0x65 MSO_I
, 0x66 MSO_I
}, { 0x67 MSO_I
, 0x68 MSO_I
}, { 0x69 MSO_I
, 0x6a MSO_I
}, { 0x6b MSO_I
, 0x6c MSO_I
},
4417 { 0x6d MSO_I
, 0x6e MSO_I
}, { 0x6f MSO_I
, 0x70 MSO_I
}, { 0x71 MSO_I
, 0x72 MSO_I
}, { 0x73 MSO_I
, 0x74 MSO_I
},
4418 { 0x75 MSO_I
, 0x76 MSO_I
}, { 0x77 MSO_I
, 0x78 MSO_I
}, { 0x79 MSO_I
, 0x7a MSO_I
}, { 0x7b MSO_I
, 0x7c MSO_I
},
4419 { 0x7d MSO_I
, 0x7e MSO_I
}, { 0x7f MSO_I
, 0x80 MSO_I
}, { 0x81 MSO_I
, 0x82 MSO_I
}, { 0x83 MSO_I
, 0x84 MSO_I
},
4420 { 0x05 MSO_I
, 0x06 MSO_I
}
4422 static const mso_CustomShape msoSeal32
=
4424 (SvxMSDffVertPair
*)mso_sptSeal32Vert
, sizeof( mso_sptSeal32Vert
) / sizeof( SvxMSDffVertPair
),
4426 (SvxMSDffCalculationData
*)mso_sptSeal32Calc
, sizeof( mso_sptSeal32Calc
) / sizeof( SvxMSDffCalculationData
),
4427 (sal_Int32
*)mso_sptDefault2500
,
4428 (SvxMSDffTextRectangles
*)mso_sptSealTextRect
, sizeof( mso_sptSealTextRect
) / sizeof( SvxMSDffTextRectangles
),
4430 0x80000000, 0x80000000,
4432 (SvxMSDffHandle
*)mso_sptSealHandle
, sizeof( mso_sptSealHandle
) / sizeof( SvxMSDffHandle
)
4435 static const SvxMSDffVertPair mso_sptRibbon2Vert
[] = // adjustment1 : x 2700 - 8100 def 5400
4436 { // adjustment2 : y 14400 - 21600 def 18900
4437 { 12 MSO_I
, 1 MSO_I
}, { 12 MSO_I
, 13 MSO_I
}, // pp
4438 { 12 MSO_I
, 14 MSO_I
}, { 15 MSO_I
, 21600 }, { 16 MSO_I
, 21600 }, // ccp
4439 { 0, 21600 }, { 2750, 7 MSO_I
}, { 0, 2 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}, // pppp
4440 { 0 MSO_I
, 4 MSO_I
}, // p
4441 { 0 MSO_I
, 5 MSO_I
}, { 10 MSO_I
, 0 }, { 11 MSO_I
, 0 }, // ccp
4442 { 17 MSO_I
, 0 }, // p
4443 { 18 MSO_I
, 0 }, { 19 MSO_I
, 5 MSO_I
}, { 19 MSO_I
, 4 MSO_I
}, // ccp
4444 { 19 MSO_I
, 2 MSO_I
}, { 21600, 2 MSO_I
}, { 18850, 7 MSO_I
}, { 21600, 21600 }, // pppp
4445 { 20 MSO_I
, 21600 }, // p
4446 { 21 MSO_I
, 21600 }, { 22 MSO_I
, 14 MSO_I
}, { 22 MSO_I
, 13 MSO_I
}, // ccp
4447 { 22 MSO_I
, 1 MSO_I
}, { 12 MSO_I
, 1 MSO_I
}, { 12 MSO_I
, 13 MSO_I
}, // ppp
4448 { 12 MSO_I
, 23 MSO_I
}, { 15 MSO_I
, 24 MSO_I
}, { 16 MSO_I
, 24 MSO_I
}, // ccp
4449 { 11 MSO_I
, 24 MSO_I
}, // p
4450 { 10 MSO_I
, 24 MSO_I
}, { 0 MSO_I
, 26 MSO_I
}, { 0 MSO_I
, 25 MSO_I
}, // ccp
4451 { 0 MSO_I
, 27 MSO_I
}, { 10 MSO_I
, 1 MSO_I
}, { 11 MSO_I
, 1 MSO_I
}, // ccp
4453 { 22 MSO_I
, 1 MSO_I
}, { 22 MSO_I
, 13 MSO_I
}, // pp
4454 { 22 MSO_I
, 23 MSO_I
}, { 21 MSO_I
, 24 MSO_I
}, { 20 MSO_I
, 24 MSO_I
}, // ccp
4455 { 17 MSO_I
, 24 MSO_I
}, // p
4456 { 18 MSO_I
, 24 MSO_I
}, { 19 MSO_I
, 26 MSO_I
}, { 19 MSO_I
, 25 MSO_I
}, // ccp
4457 { 19 MSO_I
, 27 MSO_I
}, { 18 MSO_I
, 1 MSO_I
}, { 17 MSO_I
, 1 MSO_I
}, // ccp
4459 { 0 MSO_I
, 25 MSO_I
}, { 0 MSO_I
, 2 MSO_I
}, // pp
4461 { 19 MSO_I
, 25 MSO_I
}, { 19 MSO_I
, 2 MSO_I
} // pp
4463 static const sal_uInt16 mso_sptRibbon2Segm
[] =
4465 0x4000, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x2001, 0x0005, 0x2001, 0x0001, 0x6001, 0x8000,
4466 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4467 0x4000, 0x0001, 0x2001, 0x0001, 0x2002, 0x6001, 0x8000,
4468 0x4000, 0x0001, 0x8000,
4469 0x4000, 0x0001, 0x8000
4471 static const SvxMSDffCalculationData mso_sptRibbon2Calc
[] =
4473 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 00
4474 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 01
4475 { 0x8000, { 21600, 0, 0x401 } }, // 02
4476 { 0x2001, { 0x402, 1, 2 } }, // 03
4477 { 0x2001, { 0x403, 1, 2 } }, // 04
4478 { 0x2001, { 0x404, 1, 2 } }, // 05
4479 { 0x2001, { 0x401, 1, 2 } }, // 06
4480 { 0x8000, { 21600, 0, 0x406 } }, // 07
4481 { 0x0000, { 420, 0, 0 } }, // 08
4482 { 0x2001, { 0x408, 2, 1 } }, // 09
4483 { 0x6000, { 0x400, 0x408, 0 } }, // 10
4484 { 0x6000, { 0x400, 0x409, 0 } }, // 11
4485 { 0x2000, { 0x400, 2700, 0 } }, // 12
4486 { 0x8000, { 21600, 0, 0x404 } }, // 13
4487 { 0x8000, { 21600, 0, 0x405 } }, // 14
4488 { 0xa000, { 0x40c, 0, 0x408 } }, // 15
4489 { 0xa000, { 0x40c, 0, 0x409 } }, // 16
4491 { 0x8000, { 21600, 0, 0x40b } }, // 17
4492 { 0x8000, { 21600, 0, 0x40a } }, // 18
4493 { 0x8000, { 21600, 0, 0x400 } }, // 19
4494 { 0x8000, { 21600, 0, 0x410 } }, // 20
4495 { 0x8000, { 21600, 0, 0x40f } }, // 21
4496 { 0x8000, { 21600, 0, 0x40c } }, // 22
4498 { 0xa000, { 0x40d, 0, 0x405 } }, // 23
4499 { 0x6000, { 0x401, 0x403, 0 } }, // 24
4500 { 0x6000, { 0x401, 0x404, 0 } }, // 25
4501 { 0x6000, { 0x419, 0x405, 0 } }, // 26
4502 { 0xa000, { 0x419, 0, 0x405 } } // 27
4504 static const sal_Int32 mso_sptRibbon2Default
[] =
4508 static const SvxMSDffTextRectangles mso_sptRibbon2TextRect
[] =
4510 { { 0 MSO_I
, 0 }, { 19 MSO_I
, 1 MSO_I
} }
4512 static const SvxMSDffHandle mso_sptRibbon2Handle
[] =
4514 { MSDFF_HANDLE_FLAGS_RANGE
,
4515 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
4516 { MSDFF_HANDLE_FLAGS_RANGE
,
4517 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
4519 static const mso_CustomShape msoRibbon2
=
4521 (SvxMSDffVertPair
*)mso_sptRibbon2Vert
, sizeof( mso_sptRibbon2Vert
) / sizeof( SvxMSDffVertPair
),
4522 (sal_uInt16
*)mso_sptRibbon2Segm
, sizeof( mso_sptRibbon2Segm
) >> 1,
4523 (SvxMSDffCalculationData
*)mso_sptRibbon2Calc
, sizeof( mso_sptRibbon2Calc
) / sizeof( SvxMSDffCalculationData
),
4524 (sal_Int32
*)mso_sptRibbon2Default
,
4525 (SvxMSDffTextRectangles
*)mso_sptRibbon2TextRect
, sizeof( mso_sptRibbon2TextRect
) / sizeof( SvxMSDffTextRectangles
),
4527 0x80000000, 0x80000000,
4529 (SvxMSDffHandle
*)mso_sptRibbon2Handle
, sizeof( mso_sptRibbon2Handle
) / sizeof( SvxMSDffHandle
)
4532 static const SvxMSDffVertPair mso_sptRibbonVert
[] =
4534 { 0, 0 }, { 3 MSO_I
, 0 },
4535 { 4 MSO_I
, 11 MSO_I
}, { 4 MSO_I
, 10 MSO_I
}, { 5 MSO_I
, 10 MSO_I
}, { 5 MSO_I
, 11 MSO_I
},
4536 { 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 },
4537 { 0 MSO_I
, 16 MSO_I
}, { 0 MSO_I
, 15 MSO_I
}, { 0, 15 MSO_I
}, { 2700, 14 MSO_I
},
4539 { 4 MSO_I
, 11 MSO_I
},
4540 { 3 MSO_I
, 12 MSO_I
}, { 1 MSO_I
, 12 MSO_I
},
4541 { 0 MSO_I
, 13 MSO_I
}, { 1 MSO_I
, 10 MSO_I
}, { 4 MSO_I
, 10 MSO_I
},
4542 { 5 MSO_I
, 11 MSO_I
},
4543 { 6 MSO_I
, 12 MSO_I
}, { 8 MSO_I
, 12 MSO_I
},
4544 { 9 MSO_I
, 13 MSO_I
}, { 8 MSO_I
, 10 MSO_I
}, { 5 MSO_I
, 10 MSO_I
},
4545 { 0 MSO_I
, 13 MSO_I
},
4546 { 0 MSO_I
, 15 MSO_I
},
4547 { 9 MSO_I
, 13 MSO_I
},
4548 { 9 MSO_I
, 15 MSO_I
}
4550 static const sal_uInt16 mso_sptRibbonSegm
[] =
4552 0x4000, 0x0001, 0xa701, 0x0003, 0xa801, 0x0005, 0xa801, 0x0001, 0xa701, 0x0003, 0x6000, 0x8000,
4553 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4554 0x4000, 0xaa00, 0xa801, 0x0001, 0xa702, 0x0001, 0x8000,
4555 0x4000, 0xaa00, 0x0001, 0x8000,
4556 0x4000, 0xaa00, 0x0001, 0x8000
4558 static const SvxMSDffCalculationData mso_sptRibbonCalc
[] =
4560 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 00
4561 { 0x2000, { 0x400, 675, 0 } }, // 01
4562 { 0x2000, { 0x401, 675, 0 } }, // 02
4563 { 0x2000, { 0x402, 675, 0 } }, // 03
4564 { 0x2000, { 0x403, 675, 0 } }, // 04
4565 { 0x8000, { 21600, 0, 0x404 } }, // 05
4566 { 0x8000, { 21600, 0, 0x403 } }, // 06
4567 { 0x8000, { 21600, 0, 0x402 } }, // 07
4568 { 0x8000, { 21600, 0, 0x401 } }, // 08
4569 { 0x8000, { 21600, 0, 0x400 } }, // 09
4570 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 10
4571 { 0x2001, { 0x40a, 1, 4 } }, // 11
4572 { 0x2001, { 0x40b, 2, 1 } }, // 12
4573 { 0x2001, { 0x40b, 3, 1 } }, // 13
4574 { 0x8000, { 10800, 0, 0x40c } }, // 14
4575 { 0x8000, { 21600, 0, 0x40a } }, // 15
4576 { 0x8000, { 21600, 0, 0x40b } }, // 16
4577 { 0x0001, { 21600, 1, 2 } }, // 17
4578 { 0x0000, { 21600, 0, 2700 } }, // 18
4579 { 0x2000, { 0x411, 0, 2700 } } // 19
4581 static const sal_Int32 mso_sptRibbonDefault
[] =
4585 static const SvxMSDffTextRectangles mso_sptRibbonTextRect
[] =
4587 { { 0 MSO_I
, 10 MSO_I
}, { 9 MSO_I
, 21600 } }
4589 static const SvxMSDffVertPair mso_sptRibbonGluePoints
[] =
4591 { 17 MSO_I
, 10 MSO_I
}, { 2700, 14 MSO_I
}, { 17 MSO_I
, 21600 }, { 18 MSO_I
, 14 MSO_I
}
4593 static const SvxMSDffHandle mso_sptRibbonHandle
[] =
4595 { MSDFF_HANDLE_FLAGS_RANGE
,
4596 0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
4597 { MSDFF_HANDLE_FLAGS_RANGE
,
4598 10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
4600 static const mso_CustomShape msoRibbon
=
4602 (SvxMSDffVertPair
*)mso_sptRibbonVert
, sizeof( mso_sptRibbonVert
) / sizeof( SvxMSDffVertPair
),
4603 (sal_uInt16
*)mso_sptRibbonSegm
, sizeof( mso_sptRibbonSegm
) >> 1,
4604 (SvxMSDffCalculationData
*)mso_sptRibbonCalc
, sizeof( mso_sptRibbonCalc
) / sizeof( SvxMSDffCalculationData
),
4605 (sal_Int32
*)mso_sptRibbonDefault
,
4606 (SvxMSDffTextRectangles
*)mso_sptRibbonTextRect
, sizeof( mso_sptRibbonTextRect
) / sizeof( SvxMSDffTextRectangles
),
4608 0x80000000, 0x80000000,
4609 (SvxMSDffVertPair
*)mso_sptRibbonGluePoints
, sizeof( mso_sptRibbonGluePoints
) / sizeof( SvxMSDffVertPair
),
4610 (SvxMSDffHandle
*)mso_sptRibbonHandle
, sizeof( mso_sptRibbonHandle
) / sizeof( SvxMSDffHandle
)
4613 static const SvxMSDffVertPair mso_sptVerticalScrollVert
[] = // adjustment1 : 0 - 5400
4615 { 1 MSO_I
, 21600 }, { 0, 11 MSO_I
}, { 1 MSO_I
, 12 MSO_I
}, { 0 MSO_I
, 12 MSO_I
},
4616 { 0 MSO_I
, 1 MSO_I
}, { 4 MSO_I
, 0 }, { 2 MSO_I
, 0 }, { 21600, 1 MSO_I
},
4617 { 2 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 11 MSO_I
}, { 5 MSO_I
, 21600 },
4619 { 6 MSO_I
, 1 MSO_I
}, { 4 MSO_I
, 0 MSO_I
}, { 8 MSO_I
, 9 MSO_I
}, { 4 MSO_I
, 1 MSO_I
},
4621 { 0 MSO_I
, 11 MSO_I
}, { 1 MSO_I
, 21600 }, { 0, 11 MSO_I
}, { 1 MSO_I
, 12 MSO_I
},
4622 { 9 MSO_I
, 10 MSO_I
}, { 1 MSO_I
, 11 MSO_I
},
4624 { 4 MSO_I
, 0 }, { 6 MSO_I
, 1 MSO_I
},
4626 { 0 MSO_I
, 12 MSO_I
}, { 0 MSO_I
, 11 MSO_I
},
4628 { 4 MSO_I
, 0 MSO_I
},
4629 { 2 MSO_I
, 0 MSO_I
}
4631 static const sal_uInt16 mso_sptVerticalScrollSegm
[] =
4633 0x4000, 0xa702, 0x0002, 0xa801, 0x0001, 0xa702, 0x0002, 0xa801, 0x6001, 0x8000,
4634 0x4000, 0xa801, 0xa702, 0x6000, 0x8000,
4635 0x4000, 0xa803, 0xa702, 0x6001, 0x8000,
4636 0x4000, 0xa701, 0x8000,
4637 0x4000, 0x0001, 0x8000,
4638 0x4000, 0x0001, 0x8000
4640 static const SvxMSDffCalculationData mso_sptScrollCalc
[] =
4642 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
4643 { 0x2001, { 0x400, 1, 2 } },
4644 { 0xa000, { DFF_Prop_geoRight
, 0, 0x401 } },
4645 { 0xa000, { DFF_Prop_geoRight
, 0, 0x400 } },
4646 { 0x6000, { 0x400, 0x401, 0 } },
4647 { 0xa000, { DFF_Prop_geoRight
, 0, 0x404 } },
4648 { 0x2001, { 0x400, 2, 1 } },
4649 { 0x2001, { 0x401, 1, 2 } },
4650 { 0x6000, { 0x400, 0x407, 0 } },
4651 { 0x6000, { 0x401, 0x407, 0 } },
4652 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x409 } },
4653 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x401 } },
4654 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x400 } },
4655 { 0xa000, { DFF_Prop_geoBottom
, 0, 0x404 } }
4657 static const SvxMSDffTextRectangles mso_sptScrollTextRect
[] =
4659 { { 0 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 12 MSO_I
} }
4661 static const SvxMSDffHandle mso_sptVerticalScrollHandle
[] =
4663 { MSDFF_HANDLE_FLAGS_RANGE
,
4664 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
4666 static const mso_CustomShape msoVerticalScroll
=
4668 (SvxMSDffVertPair
*)mso_sptVerticalScrollVert
, sizeof( mso_sptVerticalScrollVert
) / sizeof( SvxMSDffVertPair
),
4669 (sal_uInt16
*)mso_sptVerticalScrollSegm
, sizeof( mso_sptVerticalScrollSegm
) >> 1,
4670 (SvxMSDffCalculationData
*)mso_sptScrollCalc
, sizeof( mso_sptScrollCalc
) / sizeof( SvxMSDffCalculationData
),
4671 (sal_Int32
*)mso_sptDefault2700
,
4672 (SvxMSDffTextRectangles
*)mso_sptScrollTextRect
, sizeof( mso_sptScrollTextRect
) / sizeof( SvxMSDffTextRectangles
),
4676 (SvxMSDffHandle
*)mso_sptVerticalScrollHandle
, sizeof( mso_sptVerticalScrollHandle
) / sizeof( SvxMSDffHandle
)
4678 static const SvxMSDffVertPair mso_sptHorizontalScrollVert
[] = // adjustment1 : 0 - 5400
4680 { 0, 4 MSO_I
}, { 1 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 0 MSO_I
}, { 3 MSO_I
, 1 MSO_I
},
4681 { 2 MSO_I
, 0 }, { 21600, 1 MSO_I
}, { 21600, 13 MSO_I
}, { 2 MSO_I
, 12 MSO_I
},
4682 { 0 MSO_I
, 12 MSO_I
}, { 0 MSO_I
, 11 MSO_I
}, { 1 MSO_I
, 21600 }, { 0, 11 MSO_I
},
4684 { 1 MSO_I
, 4 MSO_I
}, { 9 MSO_I
, 8 MSO_I
}, { 0 MSO_I
, 4 MSO_I
}, { 1 MSO_I
, 6 MSO_I
},
4686 { 2 MSO_I
, 1 MSO_I
}, { 3 MSO_I
, 9 MSO_I
}, { 3 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 0 },
4687 { 21600, 1 MSO_I
}, { 2 MSO_I
, 0 MSO_I
},
4689 { 1 MSO_I
, 6 MSO_I
},
4692 { 2 MSO_I
, 0 MSO_I
},
4693 { 3 MSO_I
, 0 MSO_I
},
4695 { 0 MSO_I
, 4 MSO_I
},
4696 { 0 MSO_I
, 11 MSO_I
}
4698 static const sal_uInt16 mso_sptHorizontalScrollSegm
[] =
4700 0x4000, 0xa801, 0x0002, 0xa802, 0x0001, 0xa801, 0x0002, 0xa802, 0x6001, 0x8000,
4701 0x4000, 0xa803, 0x6000, 0x8000,
4702 0x4000, 0xa803, 0xa702, 0x6000, 0x8000,
4703 0x4000, 0xa701, 0x8000,
4704 0x4000, 0x0001, 0x8000,
4705 0x4000, 0x0001, 0x8000
4707 static const SvxMSDffHandle mso_sptHorizontalScrollHandle
[] =
4709 { MSDFF_HANDLE_FLAGS_RANGE
,
4710 0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
4712 static const mso_CustomShape msoHorizontalScroll
=
4714 (SvxMSDffVertPair
*)mso_sptHorizontalScrollVert
, sizeof( mso_sptHorizontalScrollVert
) / sizeof( SvxMSDffVertPair
),
4715 (sal_uInt16
*)mso_sptHorizontalScrollSegm
, sizeof( mso_sptHorizontalScrollSegm
) >> 1,
4716 (SvxMSDffCalculationData
*)mso_sptScrollCalc
, sizeof( mso_sptScrollCalc
) / sizeof( SvxMSDffCalculationData
),
4717 (sal_Int32
*)mso_sptDefault2700
,
4718 (SvxMSDffTextRectangles
*)mso_sptScrollTextRect
, sizeof( mso_sptScrollTextRect
) / sizeof( SvxMSDffTextRectangles
),
4722 (SvxMSDffHandle
*)mso_sptHorizontalScrollHandle
, sizeof( mso_sptHorizontalScrollHandle
) / sizeof( SvxMSDffHandle
)
4725 static const SvxMSDffVertPair mso_sptFlowChartProcessVert
[] =
4727 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 0 }
4729 static const mso_CustomShape msoFlowChartProcess
=
4731 (SvxMSDffVertPair
*)mso_sptFlowChartProcessVert
, sizeof( mso_sptFlowChartProcessVert
) / sizeof( SvxMSDffVertPair
),
4737 0x80000000, 0x80000000,
4738 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
4742 static const SvxMSDffVertPair mso_sptFlowChartAlternateProcessVert
[] =
4744 { 0, 2 MSO_I
}, { 0 MSO_I
, 0 }, { 1 MSO_I
, 0 }, { 21600, 2 MSO_I
},
4745 { 21600, 3 MSO_I
}, { 1 MSO_I
, 21600 }, { 0 MSO_I
, 21600 }, { 0, 3 MSO_I
}
4747 static const sal_uInt16 mso_sptFlowChartAlternateProcessSegm
[] =
4749 0x4000, 0xa801, 0x0001, 0xa701, 0x0001, 0xa801, 0x0001, 0xa701, 0x6000, 0x8000
4751 static const SvxMSDffCalculationData mso_sptFlowChartAlternateProcessCalc
[] =
4753 { 0x2000, { DFF_Prop_geoLeft
, 2540, 0 } },
4754 { 0x2000, { DFF_Prop_geoRight
, 0, 2540 } },
4755 { 0x2000, { DFF_Prop_geoTop
, 2540, 0 } },
4756 { 0x2000, { DFF_Prop_geoBottom
, 0, 2540 } },
4757 { 0x2000, { DFF_Prop_geoLeft
, 800, 0 } },
4758 { 0x2000, { DFF_Prop_geoRight
, 0, 800 } },
4759 { 0x2000, { DFF_Prop_geoTop
, 800, 0 } },
4760 { 0x2000, { DFF_Prop_geoBottom
,0, 800 } }
4762 static const SvxMSDffTextRectangles mso_sptFlowChartAlternateProcessTextRect
[] =
4764 { { 4 MSO_I
, 6 MSO_I
}, { 5 MSO_I
, 7 MSO_I
} }
4766 static const mso_CustomShape msoFlowChartAlternateProcess
=
4768 (SvxMSDffVertPair
*)mso_sptFlowChartAlternateProcessVert
, sizeof( mso_sptFlowChartAlternateProcessVert
) / sizeof( SvxMSDffVertPair
),
4769 (sal_uInt16
*)mso_sptFlowChartAlternateProcessSegm
, sizeof( mso_sptFlowChartAlternateProcessSegm
) >> 1,
4770 (SvxMSDffCalculationData
*)mso_sptFlowChartAlternateProcessCalc
, sizeof( mso_sptFlowChartAlternateProcessCalc
) / sizeof( SvxMSDffCalculationData
),
4772 (SvxMSDffTextRectangles
*)mso_sptFlowChartAlternateProcessTextRect
, sizeof( mso_sptFlowChartAlternateProcessTextRect
) / sizeof( SvxMSDffTextRectangles
),
4774 0x80000000, 0x80000000,
4775 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
4779 static const SvxMSDffVertPair mso_sptFlowChartDecisionVert
[] =
4781 { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 10800 }
4783 static const SvxMSDffTextRectangles mso_sptFlowChartDecisionTextRect
[] =
4785 { { 5400, 5400 }, { 16200, 16200 } }
4787 static const mso_CustomShape msoFlowChartDecision
=
4789 (SvxMSDffVertPair
*)mso_sptFlowChartDecisionVert
, sizeof( mso_sptFlowChartDecisionVert
) / sizeof( SvxMSDffVertPair
),
4793 (SvxMSDffTextRectangles
*)mso_sptFlowChartDecisionTextRect
, sizeof( mso_sptFlowChartDecisionTextRect
) / sizeof( SvxMSDffTextRectangles
),
4795 0x80000000, 0x80000000,
4796 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
4800 static const SvxMSDffVertPair mso_sptFlowChartInputOutputVert
[] =
4802 { 4230, 0 }, { 21600, 0 }, { 17370, 21600 }, { 0, 21600 }, { 4230, 0 }
4804 static const SvxMSDffTextRectangles mso_sptFlowChartInputOutputTextRect
[] =
4806 { { 4230, 0 }, { 17370, 21600 } }
4808 static const SvxMSDffVertPair mso_sptFlowChartInputOutputGluePoints
[] =
4810 { 12960, 0 }, { 10800, 0 }, { 2160, 10800 }, { 8600, 21600 }, { 10800, 21600 }, { 19400, 10800 }
4812 static const mso_CustomShape msoFlowChartInputOutput
=
4814 (SvxMSDffVertPair
*)mso_sptFlowChartInputOutputVert
, sizeof( mso_sptFlowChartInputOutputVert
) / sizeof( SvxMSDffVertPair
),
4818 (SvxMSDffTextRectangles
*)mso_sptFlowChartInputOutputTextRect
, sizeof( mso_sptFlowChartInputOutputTextRect
) / sizeof( SvxMSDffTextRectangles
),
4820 0x80000000, 0x80000000,
4821 (SvxMSDffVertPair
*)mso_sptFlowChartInputOutputGluePoints
, sizeof( mso_sptFlowChartInputOutputGluePoints
) / sizeof( SvxMSDffVertPair
),
4825 static const SvxMSDffVertPair mso_sptFlowChartPredefinedProcessVert
[] =
4827 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
4829 { 2540, 0 }, { 2540, 21600 },
4831 { 21600 - 2540, 0 }, { 21600 - 2540, 21600 }
4833 static const sal_uInt16 mso_sptFlowChartPredefinedProcessSegm
[] =
4835 0x4000, 0x0003, 0x6000, 0x8000,
4836 0x4000, 0x0001, 0x8000,
4837 0x4000, 0x0001, 0x8000
4839 static const SvxMSDffTextRectangles mso_sptFlowChartPredefinedProcessTextRect
[] =
4841 { { 2540, 0 }, { 21600 - 2540, 21600 } }
4843 static const mso_CustomShape msoFlowChartPredefinedProcess
=
4845 (SvxMSDffVertPair
*)mso_sptFlowChartPredefinedProcessVert
, sizeof( mso_sptFlowChartPredefinedProcessVert
) / sizeof( SvxMSDffVertPair
),
4846 (sal_uInt16
*)mso_sptFlowChartPredefinedProcessSegm
, sizeof( mso_sptFlowChartPredefinedProcessSegm
) >> 1,
4849 (SvxMSDffTextRectangles
*)mso_sptFlowChartPredefinedProcessTextRect
, sizeof( mso_sptFlowChartPredefinedProcessTextRect
) / sizeof( SvxMSDffTextRectangles
),
4851 0x80000000, 0x80000000,
4856 static const SvxMSDffVertPair mso_sptFlowChartInternalStorageVert
[] =
4858 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
4860 { 4230, 0 }, { 4230, 21600 },
4862 { 0, 4230 }, { 21600, 4230 }
4864 static const sal_uInt16 mso_sptFlowChartInternalStorageSegm
[] =
4866 0x4000, 0x0003, 0x6000, 0x8000,
4867 0x4000, 0x0001, 0x8000,
4868 0x4000, 0x0001, 0x8000
4870 static const SvxMSDffTextRectangles mso_sptFlowChartInternalStorageTextRect
[] =
4872 { { 4230, 4230 }, { 21600, 21600 } }
4874 static const mso_CustomShape msoFlowChartInternalStorage
=
4876 (SvxMSDffVertPair
*)mso_sptFlowChartInternalStorageVert
, sizeof( mso_sptFlowChartInternalStorageVert
) / sizeof( SvxMSDffVertPair
),
4877 (sal_uInt16
*)mso_sptFlowChartInternalStorageSegm
, sizeof( mso_sptFlowChartInternalStorageSegm
) >> 1,
4880 (SvxMSDffTextRectangles
*)mso_sptFlowChartInternalStorageTextRect
, sizeof( mso_sptFlowChartInternalStorageTextRect
) / sizeof( SvxMSDffTextRectangles
),
4882 0x80000000, 0x80000000,
4887 static const SvxMSDffVertPair mso_sptFlowChartDocumentVert
[] =
4889 { 0, 0 }, { 21600, 0 }, { 21600, 17360 },
4890 { 13050, 17220 }, { 13340, 20770 }, { 5620, 21600 }, // ccp
4891 { 2860, 21100 }, { 1850, 20700 }, { 0, 20120 } // ccp
4893 static const sal_uInt16 mso_sptFlowChartDocumentSegm
[] =
4895 0x4000, 0x0002, 0x2002, 0x6000, 0x8000
4897 static const SvxMSDffTextRectangles mso_sptFlowChartDocumentTextRect
[] =
4899 { { 0, 0 }, { 21600, 17360 } }
4901 static const SvxMSDffVertPair mso_sptFlowChartDocumentGluePoints
[] =
4903 { 10800, 0 }, { 0, 10800 }, { 10800, 20320 }, { 21600, 10800 }
4905 static const mso_CustomShape msoFlowChartDocument
=
4907 (SvxMSDffVertPair
*)mso_sptFlowChartDocumentVert
, sizeof( mso_sptFlowChartDocumentVert
) / sizeof( SvxMSDffVertPair
),
4908 (sal_uInt16
*)mso_sptFlowChartDocumentSegm
, sizeof( mso_sptFlowChartDocumentSegm
) >> 1,
4911 (SvxMSDffTextRectangles
*)mso_sptFlowChartDocumentTextRect
, sizeof( mso_sptFlowChartDocumentTextRect
) / sizeof( SvxMSDffTextRectangles
),
4913 0x80000000, 0x80000000,
4914 (SvxMSDffVertPair
*)mso_sptFlowChartDocumentGluePoints
, sizeof( mso_sptFlowChartDocumentGluePoints
) / sizeof( SvxMSDffVertPair
),
4918 static const SvxMSDffVertPair mso_sptFlowChartMultidocumentVert
[] =
4920 { 0, 3600 }, { 1500, 3600 }, { 1500, 1800 }, { 3000, 1800 },
4921 { 3000, 0 }, { 21600, 0 }, { 21600, 14409 }, { 21600 - 1500, 14409 },
4922 { 21600 - 1500, 14409 + 1800 }, { 21600 - 3000, 14409 + 1800 }, { 21600 - 3000, 14409 + 3600 },
4923 { 11610, 14293 + 3600 }, { 11472, 17239 + 3600 }, { 4833, 17928 + 3600 }, // ccp
4924 { 2450, 17513 + 3600 }, { 1591, 17181 + 3600 }, { 0, 16700 + 3600 }, // ccp
4926 { 1500, 3600 }, { 21600 - 3000, 3600 }, { 21600 - 3000, 14409 + 1800 },
4928 { 3000, 1800 }, { 21600 - 1500, 1800 }, { 21600 - 1500, 14409 }
4930 static const sal_uInt16 mso_sptFlowChartMultidocumentSegm
[] =
4932 0x4000, 0x000a, 0x2002, 0x6000, 0x8000,
4933 0x4000, 0xaa00, 0x0002, 0x8000, // NO FILL
4934 0x4000, 0xaa00, 0x0002, 0x8000 // NO FILL
4936 static const SvxMSDffTextRectangles mso_sptFlowChartMultidocumentTextRect
[] =
4938 { { 0, 3600 }, { 21600 - 3000, 14409 + 3600 } }
4940 static const SvxMSDffVertPair mso_sptFlowChartMultidocumentGluePoints
[] =
4942 { 10800, 0 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
4944 static const mso_CustomShape msoFlowChartMultidocument
=
4946 (SvxMSDffVertPair
*)mso_sptFlowChartMultidocumentVert
, sizeof( mso_sptFlowChartMultidocumentVert
) / sizeof( SvxMSDffVertPair
),
4947 (sal_uInt16
*)mso_sptFlowChartMultidocumentSegm
, sizeof( mso_sptFlowChartMultidocumentSegm
) >> 1,
4950 (SvxMSDffTextRectangles
*)mso_sptFlowChartMultidocumentTextRect
, sizeof( mso_sptFlowChartMultidocumentTextRect
) / sizeof( SvxMSDffTextRectangles
),
4952 0x80000000, 0x80000000,
4953 (SvxMSDffVertPair
*)mso_sptFlowChartMultidocumentGluePoints
, sizeof( mso_sptFlowChartMultidocumentGluePoints
) / sizeof( SvxMSDffVertPair
),
4957 static const SvxMSDffVertPair mso_sptFlowChartTerminatorVert
[] =
4959 { 3470, 21600 }, { 0, 10800 }, { 3470, 0 }, { 18130, 0 },
4960 { 21600, 10800 }, { 18130, 21600 }
4962 static const sal_uInt16 mso_sptFlowChartTerminatorSegm
[] =
4964 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
4966 static const SvxMSDffTextRectangles mso_sptFlowChartTerminatorTextRect
[] =
4968 { { 1060, 3180 }, { 20540, 18420 } }
4970 static const mso_CustomShape msoFlowChartTerminator
=
4972 (SvxMSDffVertPair
*)mso_sptFlowChartTerminatorVert
, sizeof( mso_sptFlowChartTerminatorVert
) / sizeof( SvxMSDffVertPair
),
4973 (sal_uInt16
*)mso_sptFlowChartTerminatorSegm
, sizeof( mso_sptFlowChartTerminatorSegm
) >> 1,
4976 (SvxMSDffTextRectangles
*)mso_sptFlowChartTerminatorTextRect
, sizeof( mso_sptFlowChartTerminatorTextRect
) / sizeof( SvxMSDffTextRectangles
),
4978 0x80000000, 0x80000000,
4979 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
4983 static const SvxMSDffVertPair mso_sptFlowChartPreparationVert
[] =
4985 { 4350, 0 }, { 17250, 0 }, { 21600, 10800 }, { 17250, 21600 },
4986 { 4350, 21600 }, { 0, 10800 }, { 4350, 0 }
4988 static const SvxMSDffTextRectangles mso_sptFlowChartPreparationTextRect
[] =
4990 { { 4350, 0 }, { 17250, 21600 } }
4992 static const mso_CustomShape msoFlowChartPreparation
=
4994 (SvxMSDffVertPair
*)mso_sptFlowChartPreparationVert
, sizeof( mso_sptFlowChartPreparationVert
) / sizeof( SvxMSDffVertPair
),
4998 (SvxMSDffTextRectangles
*)mso_sptFlowChartPreparationTextRect
, sizeof( mso_sptFlowChartPreparationTextRect
) / sizeof( SvxMSDffTextRectangles
),
5000 0x80000000, 0x80000000,
5001 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5005 static const SvxMSDffVertPair mso_sptFlowChartManualInputVert
[] =
5007 { 0, 4300 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0, 4300 }
5009 static const SvxMSDffTextRectangles mso_sptFlowChartManualInputTextRect
[] =
5011 { { 0, 4300 }, { 21600, 21600 } }
5013 static const SvxMSDffVertPair mso_sptFlowChartManualInputGluePoints
[] =
5015 { 10800, 2150 }, { 0, 10800 }, { 10800, 19890 }, { 21600, 10800 }
5017 static const mso_CustomShape msoFlowChartManualInput
=
5019 (SvxMSDffVertPair
*)mso_sptFlowChartManualInputVert
, sizeof( mso_sptFlowChartManualInputVert
) / sizeof( SvxMSDffVertPair
),
5023 (SvxMSDffTextRectangles
*)mso_sptFlowChartManualInputTextRect
, sizeof( mso_sptFlowChartManualInputTextRect
) / sizeof( SvxMSDffTextRectangles
),
5025 0x80000000, 0x80000000,
5026 (SvxMSDffVertPair
*)mso_sptFlowChartManualInputGluePoints
, sizeof( mso_sptFlowChartManualInputGluePoints
) / sizeof( SvxMSDffVertPair
),
5030 static const SvxMSDffVertPair mso_sptFlowChartManualOperationVert
[] =
5032 { 0, 0 }, { 21600, 0 }, { 17250, 21600 }, { 4350, 21600 }, { 0, 0 }
5034 static const SvxMSDffTextRectangles mso_sptFlowChartManualOperationTextRect
[] =
5036 { { 4350, 0 }, { 17250, 21600 } }
5038 static const SvxMSDffVertPair mso_sptFlowChartManualOperationGluePoints
[] =
5040 { 10800, 0 }, { 2160, 10800 }, { 10800, 21600 }, { 19440, 10800 }
5042 static const mso_CustomShape msoFlowChartManualOperation
=
5044 (SvxMSDffVertPair
*)mso_sptFlowChartManualOperationVert
, sizeof( mso_sptFlowChartManualOperationVert
) / sizeof( SvxMSDffVertPair
),
5048 (SvxMSDffTextRectangles
*)mso_sptFlowChartManualOperationTextRect
, sizeof( mso_sptFlowChartManualOperationTextRect
) / sizeof( SvxMSDffTextRectangles
),
5050 0x80000000, 0x80000000,
5051 (SvxMSDffVertPair
*)mso_sptFlowChartManualOperationGluePoints
, sizeof( mso_sptFlowChartManualOperationGluePoints
) / sizeof( SvxMSDffVertPair
),
5055 static const SvxMSDffVertPair mso_sptFlowChartConnectorVert
[] =
5057 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 }
5059 static const sal_uInt16 mso_sptFlowChartConnectorSegm
[] =
5061 0xa203, 0x6000, 0x8000
5063 static const SvxMSDffTextRectangles mso_sptFlowChartConnectorTextRect
[] =
5065 { { 3180, 3180 }, { 18420, 18420 } }
5067 static const mso_CustomShape msoFlowChartConnector
=
5069 (SvxMSDffVertPair
*)mso_sptFlowChartConnectorVert
, sizeof( mso_sptFlowChartConnectorVert
) / sizeof( SvxMSDffVertPair
),
5070 (sal_uInt16
*)mso_sptFlowChartConnectorSegm
, sizeof( mso_sptFlowChartConnectorSegm
) >> 1,
5073 (SvxMSDffTextRectangles
*)mso_sptFlowChartConnectorTextRect
, sizeof( mso_sptFlowChartConnectorTextRect
) / sizeof( SvxMSDffTextRectangles
),
5075 0x80000000, 0x80000000,
5076 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
5080 static const SvxMSDffVertPair mso_sptFlowChartOffpageConnectorVert
[] =
5082 { 0, 0 }, { 21600, 0 }, { 21600, 17150 }, { 10800, 21600 },
5083 { 0, 17150 }, { 0, 0 }
5085 static const SvxMSDffTextRectangles mso_sptFlowChartOffpageConnectorTextRect
[] =
5087 { { 0, 0 }, { 21600, 17150 } }
5089 static const mso_CustomShape msoFlowChartOffpageConnector
=
5091 (SvxMSDffVertPair
*)mso_sptFlowChartOffpageConnectorVert
, sizeof( mso_sptFlowChartOffpageConnectorVert
) / sizeof( SvxMSDffVertPair
),
5095 (SvxMSDffTextRectangles
*)mso_sptFlowChartOffpageConnectorTextRect
, sizeof( mso_sptFlowChartOffpageConnectorTextRect
) / sizeof( SvxMSDffTextRectangles
),
5097 0x80000000, 0x80000000,
5098 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5102 static const SvxMSDffVertPair mso_sptFlowChartPunchedCardVert
[] =
5104 { 4300, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 },
5105 { 0, 4300 }, { 4300, 0 }
5107 static const SvxMSDffTextRectangles mso_sptFlowChartPunchedCardTextRect
[] =
5109 { { 0, 4300 }, { 21600, 21600 } }
5111 static const mso_CustomShape msoFlowChartPunchedCard
=
5113 (SvxMSDffVertPair
*)mso_sptFlowChartPunchedCardVert
, sizeof( mso_sptFlowChartPunchedCardVert
) / sizeof( SvxMSDffVertPair
),
5117 (SvxMSDffTextRectangles
*)mso_sptFlowChartPunchedCardTextRect
, sizeof( mso_sptFlowChartPunchedCardTextRect
) / sizeof( SvxMSDffTextRectangles
),
5119 0x80000000, 0x80000000,
5120 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5124 static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeVert
[] =
5127 { 820, 3990 }, { 3410, 3980 }, { 5370, 4360 }, // ccp
5128 { 7430, 4030 }, { 10110, 3890 }, { 10690, 2270 }, // ccp
5129 { 11440, 300 }, { 14200, 160 }, { 16150, 0 }, // ccp
5130 { 18670, 170 }, { 20690, 390 }, { 21600, 2230 }, // ccp
5131 { 21600, 19420 }, // p
5132 { 20640, 17510 }, { 18320, 17490 }, { 16140, 17240 }, // ccp
5133 { 14710, 17370 }, { 11310, 17510 }, { 10770, 19430 }, // ccp
5134 { 10150, 21150 }, { 7380, 21290 }, { 5290, 21600 }, // ccp
5135 { 3220, 21250 }, { 610, 21130 }, { 0, 19420 } // ccp
5137 static const sal_uInt16 mso_sptFlowChartPunchedTapeSegm
[] =
5139 0x4000, 0x2004, 0x0001, 0x2004, 0x6000, 0x8000
5141 static const SvxMSDffTextRectangles mso_sptFlowChartPunchedTapeTextRect
[] =
5143 { { 0, 4360 }, { 21600, 17240 } }
5145 static const SvxMSDffVertPair mso_sptFlowChartPunchedTapeGluePoints
[] =
5147 { 10800, 2020 }, { 0, 10800 }, { 10800, 19320 }, { 21600, 10800 }
5149 static const mso_CustomShape msoFlowChartPunchedTape
=
5151 (SvxMSDffVertPair
*)mso_sptFlowChartPunchedTapeVert
, sizeof( mso_sptFlowChartPunchedTapeVert
) / sizeof( SvxMSDffVertPair
),
5152 (sal_uInt16
*)mso_sptFlowChartPunchedTapeSegm
, sizeof( mso_sptFlowChartPunchedTapeSegm
) >> 1,
5155 (SvxMSDffTextRectangles
*)mso_sptFlowChartPunchedTapeTextRect
, sizeof( mso_sptFlowChartPunchedTapeTextRect
) / sizeof( SvxMSDffTextRectangles
),
5157 0x80000000, 0x80000000,
5158 (SvxMSDffVertPair
*)mso_sptFlowChartPunchedTapeGluePoints
, sizeof( mso_sptFlowChartPunchedTapeGluePoints
) / sizeof( SvxMSDffVertPair
),
5162 static const SvxMSDffVertPair mso_sptFlowChartSummingJunctionVert
[] =
5164 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5172 static const sal_uInt16 mso_sptFlowChartSummingJunctionSegm
[] =
5174 0xa203, 0x6000, 0x8000,
5175 0x4000, 0x0001, 0x8000,
5176 0x4000, 0x0001, 0x8000
5178 static const SvxMSDffTextRectangles mso_sptFlowChartSummingJunctionTextRect
[] =
5180 { { 3100, 3100 }, { 18500, 18500 } }
5182 static const mso_CustomShape msoFlowChartSummingJunction
=
5184 (SvxMSDffVertPair
*)mso_sptFlowChartSummingJunctionVert
, sizeof( mso_sptFlowChartSummingJunctionVert
) / sizeof( SvxMSDffVertPair
),
5185 (sal_uInt16
*)mso_sptFlowChartSummingJunctionSegm
, sizeof( mso_sptFlowChartSummingJunctionSegm
) >> 1,
5188 (SvxMSDffTextRectangles
*)mso_sptFlowChartSummingJunctionTextRect
, sizeof( mso_sptFlowChartSummingJunctionTextRect
) / sizeof( SvxMSDffTextRectangles
),
5190 0x80000000, 0x80000000,
5191 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
5195 static const SvxMSDffVertPair mso_sptFlowChartOrVert
[] =
5197 { 10800, 10800 }, { 10800, 10800 }, { 0, 360 },
5199 { 0, 10800 }, { 21600, 10800 },
5201 { 10800, 0 }, { 10800, 21600 }
5203 static const sal_uInt16 mso_sptFlowChartOrSegm
[] =
5205 0xa203, 0x6000, 0x8000,
5206 0x4000, 0x0001, 0x8000,
5207 0x4000, 0x0001, 0x8000
5209 static const SvxMSDffTextRectangles mso_sptFlowChartOrTextRect
[] =
5211 { { 3100, 3100 }, { 18500, 18500 } }
5213 static const mso_CustomShape msoFlowChartOr
=
5215 (SvxMSDffVertPair
*)mso_sptFlowChartOrVert
, sizeof( mso_sptFlowChartOrVert
) / sizeof( SvxMSDffVertPair
),
5216 (sal_uInt16
*)mso_sptFlowChartOrSegm
, sizeof( mso_sptFlowChartOrSegm
) >> 1,
5219 (SvxMSDffTextRectangles
*)mso_sptFlowChartOrTextRect
, sizeof( mso_sptFlowChartOrTextRect
) / sizeof( SvxMSDffTextRectangles
),
5221 0x80000000, 0x80000000,
5222 (SvxMSDffVertPair
*)mso_sptEllipseGluePoints
, sizeof( mso_sptEllipseGluePoints
) / sizeof( SvxMSDffVertPair
),
5226 static const SvxMSDffVertPair mso_sptFlowChartCollateVert
[] =
5228 { 0, 0 }, { 21600, 21600 }, { 0, 21600 }, { 21600, 0 }, { 0, 0 }
5230 static const SvxMSDffTextRectangles mso_sptFlowChartCollateTextRect
[] =
5232 { { 5400, 5400 }, { 16200, 16200 } }
5234 static const SvxMSDffVertPair mso_sptFlowChartCollateGluePoints
[] =
5236 { 10800, 0 }, { 10800, 10800 }, { 10800, 21600 }
5238 static const mso_CustomShape msoFlowChartCollate
=
5240 (SvxMSDffVertPair
*)mso_sptFlowChartCollateVert
, sizeof( mso_sptFlowChartCollateVert
) / sizeof( SvxMSDffVertPair
),
5244 (SvxMSDffTextRectangles
*)mso_sptFlowChartCollateTextRect
, sizeof( mso_sptFlowChartCollateTextRect
) / sizeof( SvxMSDffTextRectangles
),
5246 0x80000000, 0x80000000,
5247 (SvxMSDffVertPair
*)mso_sptFlowChartCollateGluePoints
, sizeof( mso_sptFlowChartCollateGluePoints
) / sizeof( SvxMSDffVertPair
),
5251 static const SvxMSDffVertPair mso_sptFlowChartSortVert
[] =
5253 { 0, 10800 }, { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 },
5255 { 0, 10800 }, { 21600, 10800 }
5257 static const sal_uInt16 mso_sptFlowChartSortSegm
[] =
5259 0x4000, 0x0003, 0x6000, 0x8000,
5260 0x4000, 0x0001, 0x8000
5262 static const SvxMSDffTextRectangles mso_sptFlowChartSortTextRect
[] =
5264 { { 5400, 5400 }, { 16200, 16200 } }
5266 static const mso_CustomShape msoFlowChartSort
=
5268 (SvxMSDffVertPair
*)mso_sptFlowChartSortVert
, sizeof( mso_sptFlowChartSortVert
) / sizeof( SvxMSDffVertPair
),
5269 (sal_uInt16
*)mso_sptFlowChartSortSegm
, sizeof( mso_sptFlowChartSortSegm
) >> 1,
5272 (SvxMSDffTextRectangles
*)mso_sptFlowChartSortTextRect
, sizeof( mso_sptFlowChartSortTextRect
) / sizeof( SvxMSDffTextRectangles
),
5274 0x80000000, 0x80000000,
5279 static const SvxMSDffVertPair mso_sptFlowChartExtractVert
[] =
5281 { 10800, 0 }, { 21600, 21600 }, { 0, 21600 }, { 10800, 0 }
5283 static const SvxMSDffTextRectangles mso_sptFlowChartExtractTextRect
[] =
5285 { { 5400, 10800 }, { 16200, 21600 } }
5287 static const SvxMSDffVertPair mso_sptFlowChartExtractGluePoints
[] =
5289 { 10800, 0 }, { 5400, 10800 }, { 10800, 21600 }, { 16200, 10800 }
5291 static const mso_CustomShape msoFlowChartExtract
=
5293 (SvxMSDffVertPair
*)mso_sptFlowChartExtractVert
, sizeof( mso_sptFlowChartExtractVert
) / sizeof( SvxMSDffVertPair
),
5297 (SvxMSDffTextRectangles
*)mso_sptFlowChartExtractTextRect
, sizeof( mso_sptFlowChartExtractTextRect
) / sizeof( SvxMSDffTextRectangles
),
5299 0x80000000, 0x80000000,
5300 (SvxMSDffVertPair
*)mso_sptFlowChartExtractGluePoints
, sizeof( mso_sptFlowChartExtractGluePoints
) / sizeof( SvxMSDffVertPair
),
5304 static const SvxMSDffVertPair mso_sptFlowChartMergeVert
[] =
5306 { 0, 0 }, { 21600, 0 }, { 10800, 21600 }, { 0, 0 }
5308 static const SvxMSDffTextRectangles mso_sptFlowChartMergeTextRect
[] =
5310 { { 5400, 0 }, { 16200, 10800 } }
5312 static const mso_CustomShape msoFlowChartMerge
=
5314 (SvxMSDffVertPair
*)mso_sptFlowChartMergeVert
, sizeof( mso_sptFlowChartMergeVert
) / sizeof( SvxMSDffVertPair
),
5318 (SvxMSDffTextRectangles
*)mso_sptFlowChartMergeTextRect
, sizeof( mso_sptFlowChartMergeTextRect
) / sizeof( SvxMSDffTextRectangles
),
5320 0x80000000, 0x80000000,
5321 (SvxMSDffVertPair
*)mso_sptFlowChartExtractGluePoints
, sizeof( mso_sptFlowChartExtractGluePoints
) / sizeof( SvxMSDffVertPair
),
5325 static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageVert
[] =
5327 { 3600, 21600 }, { 0, 10800 }, { 3600, 0 }, { 21600, 0 },
5328 { 18000, 10800 }, { 21600, 21600 }
5330 static const sal_uInt16 mso_sptFlowChartOnlineStorageSegm
[] =
5332 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000
5334 static const SvxMSDffTextRectangles mso_sptFlowChartOnlineStorageTextRect
[] =
5336 { { 3600, 0 }, { 18000, 21600 } }
5338 static const SvxMSDffVertPair mso_sptFlowChartOnlineStorageGluePoints
[] =
5340 { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 18000, 10800 }
5342 static const mso_CustomShape msoFlowChartOnlineStorage
=
5344 (SvxMSDffVertPair
*)mso_sptFlowChartOnlineStorageVert
, sizeof( mso_sptFlowChartOnlineStorageVert
) / sizeof( SvxMSDffVertPair
),
5345 (sal_uInt16
*)mso_sptFlowChartOnlineStorageSegm
, sizeof( mso_sptFlowChartOnlineStorageSegm
) >> 1,
5348 (SvxMSDffTextRectangles
*)mso_sptFlowChartOnlineStorageTextRect
, sizeof( mso_sptFlowChartOnlineStorageTextRect
) / sizeof( SvxMSDffTextRectangles
),
5350 0x80000000, 0x80000000,
5351 (SvxMSDffVertPair
*)mso_sptFlowChartOnlineStorageGluePoints
, sizeof( mso_sptFlowChartOnlineStorageGluePoints
) / sizeof( SvxMSDffVertPair
),
5355 static const SvxMSDffVertPair mso_sptFlowChartDelayVert
[] =
5357 { 10800, 0 }, { 21600, 10800 }, { 10800, 21600 }, { 0, 21600 },
5360 static const sal_uInt16 mso_sptFlowChartDelaySegm
[] =
5362 0x4000, 0xa702, 0x0002, 0x6000, 0x8000
5364 static const SvxMSDffTextRectangles mso_sptFlowChartDelayTextRect
[] =
5366 { { 0, 3100 }, { 18500, 18500 } }
5368 static const mso_CustomShape msoFlowChartDelay
=
5370 (SvxMSDffVertPair
*)mso_sptFlowChartDelayVert
, sizeof( mso_sptFlowChartDelayVert
) / sizeof( SvxMSDffVertPair
),
5371 (sal_uInt16
*)mso_sptFlowChartDelaySegm
, sizeof( mso_sptFlowChartDelaySegm
) >> 1,
5374 (SvxMSDffTextRectangles
*)mso_sptFlowChartDelayTextRect
, sizeof( mso_sptFlowChartDelayTextRect
) / sizeof( SvxMSDffTextRectangles
),
5376 0x80000000, 0x80000000,
5377 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5381 static const SvxMSDffVertPair mso_sptFlowChartMagneticTapeVert
[] =
5383 { 20980, 18150 }, { 20980, 21600 }, { 10670, 21600 },
5384 { 4770, 21540 }, { 0, 16720 }, { 0, 10800 }, // ccp
5385 { 0, 4840 }, { 4840, 0 }, { 10800, 0 }, // ccp
5386 { 16740, 0 }, { 21600, 4840 }, { 21600, 10800 }, // ccp
5387 { 21600, 13520 }, { 20550, 16160 }, { 18670, 18170 } // ccp
5389 static const sal_uInt16 mso_sptFlowChartMagneticTapeSegm
[] =
5391 0x4000, 0x0002, 0x2004, 0x6000, 0x8000
5393 static const SvxMSDffTextRectangles mso_sptFlowChartMagneticTapeTextRect
[] =
5395 { { 3100, 3100 }, { 18500, 18500 } }
5397 static const mso_CustomShape msoFlowChartMagneticTape
=
5399 (SvxMSDffVertPair
*)mso_sptFlowChartMagneticTapeVert
, sizeof( mso_sptFlowChartMagneticTapeVert
) / sizeof( SvxMSDffVertPair
),
5400 (sal_uInt16
*)mso_sptFlowChartMagneticTapeSegm
, sizeof( mso_sptFlowChartMagneticTapeSegm
) >> 1,
5403 (SvxMSDffTextRectangles
*)mso_sptFlowChartMagneticTapeTextRect
, sizeof( mso_sptFlowChartMagneticTapeTextRect
) / sizeof( SvxMSDffTextRectangles
),
5405 0x80000000, 0x80000000,
5406 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5410 static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskVert
[] =
5412 { 0, 3400 }, { 10800, 0 }, { 21600, 3400 }, { 21600, 18200 },
5413 { 10800, 21600 }, { 0, 18200 },
5415 { 0, 3400 }, { 10800, 6800 }, { 21600, 3400 }
5417 static const sal_uInt16 mso_sptFlowChartMagneticDiskSegm
[] =
5419 0x4000, 0xa802, 0x0001, 0xa802, 0x6000, 0x8000,
5420 0x4000, 0xa802, 0x8000
5422 static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDiskTextRect
[] =
5424 { { 0, 6800 }, { 21600, 18200 } }
5426 static const SvxMSDffVertPair mso_sptFlowChartMagneticDiskGluePoints
[] =
5428 { 10800, 6800 }, { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }
5430 static const mso_CustomShape msoFlowChartMagneticDisk
=
5432 (SvxMSDffVertPair
*)mso_sptFlowChartMagneticDiskVert
, sizeof( mso_sptFlowChartMagneticDiskVert
) / sizeof( SvxMSDffVertPair
),
5433 (sal_uInt16
*)mso_sptFlowChartMagneticDiskSegm
, sizeof( mso_sptFlowChartMagneticDiskSegm
) >> 1,
5436 (SvxMSDffTextRectangles
*)mso_sptFlowChartMagneticDiskTextRect
, sizeof( mso_sptFlowChartMagneticDiskTextRect
) / sizeof( SvxMSDffTextRectangles
),
5438 0x80000000, 0x80000000,
5439 (SvxMSDffVertPair
*)mso_sptFlowChartMagneticDiskGluePoints
, sizeof( mso_sptFlowChartMagneticDiskGluePoints
) / sizeof( SvxMSDffVertPair
),
5443 static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumVert
[] =
5445 { 18200, 0 }, { 21600, 10800 }, { 18200, 21600 }, { 3400, 21600 },
5446 { 0, 10800 }, { 3400, 0 },
5448 { 18200, 0 }, { 14800, 10800 }, { 18200, 21600 }
5450 static const sal_uInt16 mso_sptFlowChartMagneticDrumSegm
[] =
5452 0x4000, 0xa702, 0x0001, 0xa702, 0x6000, 0x8000,
5453 0x4000, 0xa702, 0x8000
5455 static const SvxMSDffTextRectangles mso_sptFlowChartMagneticDrumTextRect
[] =
5457 { { 3400, 0 }, { 14800, 21600 } }
5459 static const SvxMSDffVertPair mso_sptFlowChartMagneticDrumGluePoints
[] =
5461 { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 14800, 10800 }, { 21600, 10800 }
5463 static const mso_CustomShape msoFlowChartMagneticDrum
=
5465 (SvxMSDffVertPair
*)mso_sptFlowChartMagneticDrumVert
, sizeof( mso_sptFlowChartMagneticDrumVert
) / sizeof( SvxMSDffVertPair
),
5466 (sal_uInt16
*)mso_sptFlowChartMagneticDrumSegm
, sizeof( mso_sptFlowChartMagneticDrumSegm
) >> 1,
5469 (SvxMSDffTextRectangles
*)mso_sptFlowChartMagneticDrumTextRect
, sizeof( mso_sptFlowChartMagneticDrumTextRect
) / sizeof( SvxMSDffTextRectangles
),
5471 0x80000000, 0x80000000,
5472 (SvxMSDffVertPair
*)mso_sptFlowChartMagneticDrumGluePoints
, sizeof( mso_sptFlowChartMagneticDrumGluePoints
) / sizeof( SvxMSDffVertPair
),
5476 static const SvxMSDffVertPair mso_sptFlowChartDisplayVert
[] =
5478 { 3600, 0 }, { 17800, 0 }, { 21600, 10800 }, { 17800, 21600 },
5479 { 3600, 21600 }, { 0, 10800 }
5481 static const sal_uInt16 mso_sptFlowChartDisplaySegm
[] =
5483 0x4000, 0x0001, 0xa702, 0x0002, 0x6000, 0x8000
5485 static const SvxMSDffTextRectangles mso_sptFlowChartDisplayTextRect
[] =
5487 { { 3600, 0 }, { 17800, 21600 } }
5489 static const mso_CustomShape msoFlowChartDisplay
=
5491 (SvxMSDffVertPair
*)mso_sptFlowChartDisplayVert
, sizeof( mso_sptFlowChartDisplayVert
) / sizeof( SvxMSDffVertPair
),
5492 (sal_uInt16
*)mso_sptFlowChartDisplaySegm
, sizeof( mso_sptFlowChartDisplaySegm
) >> 1,
5495 (SvxMSDffTextRectangles
*)mso_sptFlowChartDisplayTextRect
, sizeof( mso_sptFlowChartDisplayTextRect
) / sizeof( SvxMSDffTextRectangles
),
5497 0x80000000, 0x80000000,
5498 (SvxMSDffVertPair
*)mso_sptStandardGluePoints
, sizeof( mso_sptStandardGluePoints
) / sizeof( SvxMSDffVertPair
),
5502 static const SvxMSDffVertPair mso_sptWedgeRectCalloutVert
[] =
5505 { 0, 3590 }, { 2 MSO_I
, 3 MSO_I
}, { 0, 8970 },
5506 { 0, 12630 },{ 4 MSO_I
, 5 MSO_I
}, { 0, 18010 },
5508 { 3590, 21600 }, { 6 MSO_I
, 7 MSO_I
}, { 8970, 21600 },
5509 { 12630, 21600 }, { 8 MSO_I
, 9 MSO_I
}, { 18010, 21600 },
5511 { 21600, 18010 }, { 10 MSO_I
, 11 MSO_I
}, { 21600, 12630 },
5512 { 21600, 8970 }, { 12 MSO_I
, 13 MSO_I
}, { 21600, 3590 },
5514 { 18010, 0 }, { 14 MSO_I
, 15 MSO_I
}, { 12630, 0 },
5515 { 8970, 0 }, { 16 MSO_I
, 17 MSO_I
}, { 3590, 0 },
5518 static const SvxMSDffCalculationData mso_sptWedgeRectCalloutCalc
[] =
5520 { 0x2000, { DFF_Prop_adjustValue
, 0, 10800 } }, //0x400
5521 { 0x2000, { DFF_Prop_adjust2Value
, 0,10800 } },
5522 { 0x6006, { 0x412, DFF_Prop_adjustValue
, 0 } }, //0x402
5523 { 0x6006, { 0x412, DFF_Prop_adjust2Value
, 6280 } },
5524 { 0x6006, { 0x417, DFF_Prop_adjustValue
, 0 } }, //0x404
5525 { 0x6006, { 0x417, DFF_Prop_adjust2Value
, 15320 } },
5526 { 0x6006, { 0x41a, DFF_Prop_adjustValue
, 6280 } }, //0x406
5527 { 0x6006, { 0x41a, DFF_Prop_adjust2Value
, 21600 } },
5528 { 0x6006, { 0x41d, DFF_Prop_adjustValue
, 15320 } }, //0x408
5529 { 0x6006, { 0x41d, DFF_Prop_adjust2Value
, 21600 } },
5530 { 0x6006, { 0x420, DFF_Prop_adjustValue
, 21600 } }, //0x40a
5531 { 0x6006, { 0x420, DFF_Prop_adjust2Value
, 15320 } },
5532 { 0x6006, { 0x422, DFF_Prop_adjustValue
, 21600 } }, //0x40c
5533 { 0x6006, { 0x422, DFF_Prop_adjust2Value
, 6280 } },
5534 { 0x6006, { 0x424, DFF_Prop_adjustValue
, 15320 } }, //0x40e
5535 { 0x6006, { 0x424, DFF_Prop_adjust2Value
, 0 } },
5536 { 0x6006, { 0x426, DFF_Prop_adjustValue
, 6280 } }, //0x410
5537 { 0x6006, { 0x426, DFF_Prop_adjust2Value
, 0 } },
5538 { 0xa006, { DFF_Prop_adjustValue
, -1, 0x413 } }, //0x412
5539 { 0xa006, { 0x401, -1, 0x416 } },
5540 { 0x2003, { 0x400, 0, 0 } }, //0x414
5541 { 0x2003, { 0x401, 0, 0 } },
5542 { 0xa000, { 0x414, 0, 0x415 } }, //0x416
5543 { 0xa006, { DFF_Prop_adjustValue
, -1, 0x418 } },
5544 { 0x6006, { 0x401, 0x416, -1 } }, //0x418
5545 { 0x2000, { DFF_Prop_adjust2Value
, 0, 21600 } },
5546 { 0x6006, { 0x419, 0x41b, -1 } }, //0x41a
5547 { 0xa006, { 0x400, -1, 0x41c } },
5548 { 0xa000, { 0x415, 0, 0x414 } }, //0x41c
5549 { 0x6006, { 0x419, 0x41e, -1 } },
5550 { 0x6006, { 0x400, 0x41c, -1 } }, //0x41e
5551 { 0x2000, { DFF_Prop_adjustValue
, 0, 21600 } },
5552 { 0x6006, { 0x41f, 0x421, -1 } }, //0x420
5553 { 0x6006, { 0x401, 0x416, -1 } },
5554 { 0x6006, { 0x41f, 0x423, -1 } }, //0x422
5555 { 0xa006, { 0x401, -1, 0x416 } },
5556 { 0xa006, { DFF_Prop_adjust2Value
, -1, 0x425 } }, //0x424
5557 { 0x6006, { 0x400, 0x41c, -1 } },
5558 { 0xa006, { DFF_Prop_adjust2Value
, -1, 0x427 } }, //0x426
5559 { 0xa006, { 0x400, -1, 0x41c } },
5560 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, //0x428
5561 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }
5563 static const sal_Int32 mso_sptWedgeRectCalloutDefault
[] =
5567 static const SvxMSDffTextRectangles mso_sptWedgeRectCalloutTextRect
[] =
5569 { { 0, 0 }, { 21600, 21600 } }
5571 static const SvxMSDffVertPair mso_sptWedgeRectCalloutGluePoints
[] =
5573 { 10800, 0 }, { 0, 10800 }, { 10800, 21600 }, { 21600, 10800 }, { 40 MSO_I
, 41 MSO_I
}
5575 static const SvxMSDffHandle mso_sptCalloutHandle
[] =
5579 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff
5582 static const mso_CustomShape msoWedgeRectCallout
=
5584 (SvxMSDffVertPair
*)mso_sptWedgeRectCalloutVert
, sizeof( mso_sptWedgeRectCalloutVert
) / sizeof( SvxMSDffVertPair
),
5586 (SvxMSDffCalculationData
*)mso_sptWedgeRectCalloutCalc
, sizeof( mso_sptWedgeRectCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
5587 (sal_Int32
*)mso_sptWedgeRectCalloutDefault
,
5588 (SvxMSDffTextRectangles
*)mso_sptWedgeRectCalloutTextRect
, sizeof( mso_sptWedgeRectCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
5590 0x80000000, 0x80000000,
5591 (SvxMSDffVertPair
*)mso_sptWedgeRectCalloutGluePoints
, sizeof( mso_sptWedgeRectCalloutGluePoints
) / sizeof( SvxMSDffVertPair
),
5592 (SvxMSDffHandle
*)mso_sptCalloutHandle
, sizeof( mso_sptCalloutHandle
) / sizeof( SvxMSDffHandle
) // handles
5594 static const SvxMSDffVertPair mso_sptWedgeRRectCalloutVert
[] =
5598 { 2 MSO_I
, 3 MSO_I
}, { 0, 8970 },
5599 { 0, 12630 },{ 4 MSO_I
, 5 MSO_I
}, { 0, 18010 },
5601 { 6 MSO_I
, 7 MSO_I
}, { 8970, 21600 },
5602 { 12630, 21600 }, { 8 MSO_I
, 9 MSO_I
}, { 18010, 21600 },
5604 { 10 MSO_I
, 11 MSO_I
}, { 21600, 12630 },
5605 { 21600, 8970 }, { 12 MSO_I
, 13 MSO_I
}, { 21600, 3590 },
5607 { 14 MSO_I
, 15 MSO_I
}, { 12630, 0 },
5608 { 8970, 0 }, { 16 MSO_I
, 17 MSO_I
}
5610 static const sal_uInt16 mso_sptWedgeRRectCalloutSegm
[] =
5612 0x4000, 0xa701, 0x0005, 0xa801, 0x0005, 0xa701, 0x0005, 0xa801, 0x0004, 0x6001, 0x8000
5614 static const SvxMSDffTextRectangles mso_sptWedgeRRectCalloutTextRect
[] =
5616 { { 800, 800 }, { 20800, 20800 } }
5618 static const mso_CustomShape msoWedgeRRectCallout
=
5620 (SvxMSDffVertPair
*)mso_sptWedgeRRectCalloutVert
, sizeof( mso_sptWedgeRRectCalloutVert
) / sizeof( SvxMSDffVertPair
),
5621 (sal_uInt16
*)mso_sptWedgeRRectCalloutSegm
, sizeof( mso_sptWedgeRRectCalloutSegm
) >> 1,
5622 (SvxMSDffCalculationData
*)mso_sptWedgeRectCalloutCalc
, sizeof( mso_sptWedgeRectCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
5623 (sal_Int32
*)mso_sptWedgeRectCalloutDefault
,
5624 (SvxMSDffTextRectangles
*)mso_sptWedgeRRectCalloutTextRect
, sizeof( mso_sptWedgeRRectCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
5626 0x80000000, 0x80000000,
5628 (SvxMSDffHandle
*)mso_sptCalloutHandle
, sizeof( mso_sptCalloutHandle
) / sizeof( SvxMSDffHandle
) // handles
5630 static const SvxMSDffVertPair mso_sptBalloonVert
[] =
5636 { 40 MSO_I
, 21600 }, { 5420, 18050 },
5642 static const sal_uInt16 mso_sptBalloonSegm
[] =
5644 0x4000, 0xa701, 0x0001, 0xa801, 0x0003, 0xa701, 0x0001, 0xa801, 0x6001, 0x8000
5646 static const SvxMSDffHandle mso_sptBalloonHandle
[] =
5649 MSDFF_HANDLE_FLAGS_RANGE
,
5650 0x100, 1, 10800, 10800, 0, 8990, 0x80000000, 0x7fffffff
5653 static const SvxMSDffTextRectangles mso_sptBalloonTextRect
[] =
5655 { { 800, 800 }, { 20800, 17250 } }
5657 static const mso_CustomShape msoBalloon
=
5659 (SvxMSDffVertPair
*)mso_sptBalloonVert
, sizeof( mso_sptBalloonVert
) / sizeof( SvxMSDffVertPair
),
5660 (sal_uInt16
*)mso_sptBalloonSegm
, sizeof( mso_sptBalloonSegm
) >> 1,
5661 (SvxMSDffCalculationData
*)mso_sptWedgeRectCalloutCalc
, sizeof( mso_sptWedgeRectCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
5662 (sal_Int32
*)mso_sptWedgeRectCalloutDefault
,
5663 (SvxMSDffTextRectangles
*)mso_sptBalloonTextRect
, sizeof( mso_sptBalloonTextRect
) / sizeof( SvxMSDffTextRectangles
),
5665 0x80000000, 0x80000000,
5667 (SvxMSDffHandle
*)mso_sptBalloonHandle
, sizeof( mso_sptBalloonHandle
) / sizeof( SvxMSDffHandle
) // handles
5669 static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutVert
[] =
5671 { 0, 0 }, { 21600, 21600 }, { 0x16 MSO_I
, 0x17 MSO_I
}, { 0x12 MSO_I
, 0x13 MSO_I
}, { 0xe MSO_I
, 0xf MSO_I
}
5673 static const sal_uInt16 mso_sptWedgeEllipseCalloutSegm
[] =
5675 0xa504, 0x0001, 0x6001, 0x8000
5677 static const SvxMSDffCalculationData mso_sptWedgeEllipseCalloutCalc
[] =
5679 { 0x2000, { DFF_Prop_adjustValue
, 0, 10800 } }, // 00 rad x
5680 { 0x2000, { DFF_Prop_adjust2Value
, 0, 10800 } }, // 01 rad y
5681 { 0x6001, { 0x400, 0x400, 1 } }, // 02 rad x^2
5682 { 0x6001, { 0x401, 0x401, 1 } }, // 03 rad y^2
5683 { 0x6000, { 0x402, 0x403, 0 } }, // 04
5684 { 0x200d, { 0x404, 0, 0 } }, // 05
5685 { 0x2000, { 0x405, 0, 10800 } }, // 06 > 0 ? spur needs to be drawn : 10800
5686 { 0x6008, { 0x400, 0x401, 0 } }, // 07 atan2 -> angle
5687 { 0x2000, { 0x407, 0, 10 } }, // 08
5688 { 0x2000, { 0x407, 10, 0 } }, // 09
5689 { 0x400a, { 10800, 0x407, 0 } }, // 0a
5690 { 0x4009, { 10800, 0x407, 0 } }, // 0b
5691 { 0x2000, { 0x40a, 10800, 0 } }, // 0c
5692 { 0x2000, { 0x40b, 10800, 0 } }, // 0d
5693 { 0xe006, { 0x406, DFF_Prop_adjustValue
, 0x40c } }, // 0e
5694 { 0xe006, { 0x406, DFF_Prop_adjust2Value
, 0x40d } },// 0f
5695 { 0x400a, { 10800, 0x408, 0 } }, // 10
5696 { 0x4009, { 10800, 0x408, 0 } }, // 11
5697 { 0x2000, { 0x410, 10800, 0 } }, // 12
5698 { 0x2000, { 0x411, 10800, 0 } }, // 13
5699 { 0x400a, { 10800, 0x409, 0 } }, // 14
5700 { 0x4009, { 10800, 0x409, 0 } }, // 15
5701 { 0x2000, { 0x414, 10800, 0 } }, // 16
5702 { 0x2000, { 0x415, 10800, 0 } } // 17
5704 static const sal_Int32 mso_sptWedgeEllipseCalloutDefault
[] =
5708 static const SvxMSDffVertPair mso_sptWedgeEllipseCalloutGluePoints
[] =
5710 { 10800, 0 }, { 3160, 3160 }, { 0, 10800 }, { 3160, 18440 }, { 10800, 21600 }, { 18440, 18440 }, { 21600, 10800 }, { 18440, 3160 }, { 0xe MSO_I
, 0xf MSO_I
}
5712 static const SvxMSDffTextRectangles mso_sptWedgeEllipseCalloutTextRect
[] =
5714 { { 3200, 3200 }, { 18400, 18400 } }
5716 static const mso_CustomShape msoWedgeEllipseCallout
=
5718 (SvxMSDffVertPair
*)mso_sptWedgeEllipseCalloutVert
, sizeof( mso_sptWedgeEllipseCalloutVert
) / sizeof( SvxMSDffVertPair
),
5719 (sal_uInt16
*)mso_sptWedgeEllipseCalloutSegm
, sizeof( mso_sptWedgeEllipseCalloutSegm
) >> 1,
5720 (SvxMSDffCalculationData
*)mso_sptWedgeEllipseCalloutCalc
, sizeof( mso_sptWedgeEllipseCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
5721 (sal_Int32
*)mso_sptWedgeEllipseCalloutDefault
,
5722 (SvxMSDffTextRectangles
*)mso_sptWedgeEllipseCalloutTextRect
, sizeof( mso_sptWedgeEllipseCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
5724 0x80000000, 0x80000000,
5725 (SvxMSDffVertPair
*)mso_sptWedgeEllipseCalloutGluePoints
, sizeof( mso_sptWedgeEllipseCalloutGluePoints
) / sizeof( SvxMSDffVertPair
),
5726 (SvxMSDffHandle
*)mso_sptCalloutHandle
, sizeof( mso_sptCalloutHandle
) / sizeof( SvxMSDffHandle
) // handles
5729 static const SvxMSDffVertPair mso_sptCloudCalloutVert
[] =
5732 { 1530,4490 }, { 3400,1970 }, { 5270,1970 }, // ccp
5733 { 5860,1950 }, { 6470,2210 }, { 6970,2600 }, // ccp
5734 { 7450,1390 }, { 8340,650 }, { 9340,650 }, // ccp
5735 { 10004,690 }, { 10710,1050 }, { 11210,1700 }, // ccp
5736 { 11570,630 }, { 12330,0 }, { 13150,0 }, // ccp
5737 { 13840,0 }, { 14470,460 }, { 14870,1160 }, // ccp
5738 { 15330,440 }, { 16020,0 }, { 16740,0 }, // ccp
5739 { 17910,0 }, { 18900,1130 }, { 19110,2710 }, // ccp
5740 { 20240,3150 }, { 21060,4580 }, { 21060,6220 }, // ccp
5741 { 21060,6720 }, { 21000,7200 }, { 20830,7660 }, // ccp
5742 { 21310,8460 }, { 21600,9450 }, { 21600,10460 }, // ccp
5743 { 21600,12750 }, { 20310,14680 }, { 18650,15010 }, // ccp
5744 { 18650,17200 }, { 17370,18920 }, { 15770,18920 }, // ccp
5745 { 15220,18920 }, { 14700,18710 }, { 14240,18310 }, // ccp
5746 { 13820,20240 }, { 12490,21600 }, { 11000,21600 }, // ccp
5747 { 9890,21600 }, { 8840,20790 }, { 8210,19510 }, // ccp
5748 { 7620,20000 }, { 7930,20290 }, { 6240,20290 }, // ccp
5749 { 4850,20290 }, { 3570,19280 }, { 2900,17640 }, // ccp
5750 { 1300,17600 }, { 480,16300 }, { 480,14660 }, // ccp
5751 { 480,13900 }, { 690,13210 }, { 1070,12640 }, // ccp
5752 { 380,12160 }, { 0,11210 }, { 0,10120 }, // ccp
5753 { 0,8590 }, { 840,7330 }, { 1930,7160 }, // ccp
5755 { 1930, 7160 }, { 1950, 7410 }, { 2040, 7690 }, { 2090, 7920 }, // pccp
5756 { 6970, 2600 }, { 7200, 2790 }, { 7480, 3050 }, { 7670, 3310 }, // pccp
5757 { 11210, 1700 }, { 11130, 1910 }, { 11080, 2160 }, { 11030, 2400 }, // pccp
5758 { 14870, 1160 }, { 14720, 1400 }, { 14640, 1720 }, { 14540, 2010 }, // pccp
5759 { 19110, 2710 }, { 19130, 2890 }, { 19230, 3290 }, { 19190, 3380 }, // pccp
5760 { 20830, 7660 }, { 20660, 8170 }, { 20430, 8620 }, { 20110, 8990 }, // pccp
5761 { 18660, 15010 }, { 18740, 14200 }, { 18280, 12200 }, { 17000, 11450 }, // pccp
5762 { 14240, 18310 }, { 14320, 17980 }, { 14350, 17680 }, { 14370, 17360 }, // pccp
5763 { 8220, 19510 }, { 8060, 19250 }, { 7960, 18950 }, { 7860, 18640 }, // pccp
5764 { 2900, 17640 }, { 3090, 17600 }, { 3280, 17540 }, { 3460, 17450 }, // pccp
5765 { 1070, 12640 }, { 1400, 12900 }, { 1780, 13130 }, { 2330, 13040 }, // pccp
5767 { 0x11 MSO_I
, 0x12 MSO_I
}, { 1800, 1800 }, { 0, 360 }, // circ1
5768 { 0x13 MSO_I
, 0x14 MSO_I
}, { 1200, 1200 }, { 0, 360 }, // circ2
5769 { 0xd MSO_I
, 0xe MSO_I
}, { 700, 700 }, { 0, 360 } // circ3
5771 static const sal_uInt16 mso_sptCloudCalloutSegm
[] =
5773 0x4000, 0x2016, 0x6001, 0x8000,
5774 0x4000, 0x2001, 0xaa00, 0x8000,
5775 0x4000, 0x2001, 0xaa00, 0x8000,
5776 0x4000, 0x2001, 0xaa00, 0x8000,
5777 0x4000, 0x2001, 0xaa00, 0x8000,
5778 0x4000, 0x2001, 0xaa00, 0x8000,
5779 0x4000, 0x2001, 0xaa00, 0x8000,
5780 0x4000, 0x2001, 0xaa00, 0x8000,
5781 0x4000, 0x2001, 0xaa00, 0x8000,
5782 0x4000, 0x2001, 0xaa00, 0x8000,
5783 0x4000, 0x2001, 0xaa00, 0x8000,
5784 0x4000, 0x2001, 0xaa00, 0x8000,
5785 0xa203, 0x6001, 0x8000,
5786 0xa203, 0x6001, 0x8000,
5787 0xa203, 0x6001, 0x8000
5789 static const SvxMSDffCalculationData mso_sptCloudCalloutCalc
[] =
5791 { 0x2000, { DFF_Prop_adjustValue
, 0, 10800 } },
5792 { 0x2000, { DFF_Prop_adjust2Value
, 0, 10800 } },
5793 { 0x6008, { 0x400, 0x401, 0 } },
5794 { 0x400a, { 10800, 0x402, 0 } }, // 3
5795 { 0x4009, { 10800, 0x402, 0 } }, // 4
5796 { 0x2000, { 0x403, 10800, 0 } }, // 5
5797 { 0x2000, { 0x404, 10800, 0 } }, // 6
5798 { 0xa000, { DFF_Prop_adjustValue
, 0, 0x405 } }, // 7
5799 { 0xa000, { DFF_Prop_adjust2Value
,0, 0x406 } }, // 8
5800 { 0x2001, { 0x407, 1, 3 } }, // 9
5801 { 0x2001, { 0x408, 1, 3 } }, // 0xa
5802 { 0x2001, { 0x407, 2, 3 } }, // 0xb
5803 { 0x2001, { 0x408, 2, 3 } }, // 0xc
5804 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 0xd
5805 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } }, // 0xe
5806 { 0x2001, { 0x403, 1, 10800 / 900 } }, // 0xf taking half x distance of the radius from the first bobble
5807 { 0x2001, { 0x404, 1, 10800 / 900 } }, // 0x10
5808 { 0xe000, { 0x409, 0x405, 0x40f } }, // 0x11
5809 { 0xe000, { 0x40a, 0x406, 0x410 } }, // 0x12
5810 { 0x6000, { 0x40b, 0x405, 0 } }, // 0x13
5811 { 0x6000, { 0x40c, 0x406, 0 } } // 0x14
5813 static const sal_Int32 mso_sptCloudCalloutDefault
[] =
5817 static const SvxMSDffTextRectangles mso_sptCloudCalloutTextRect
[] =
5819 { { 3000, 3320 }, { 17110, 17330 } }
5821 static const mso_CustomShape msoCloudCallout
=
5823 (SvxMSDffVertPair
*)mso_sptCloudCalloutVert
, sizeof( mso_sptCloudCalloutVert
) / sizeof( SvxMSDffVertPair
),
5824 (sal_uInt16
*)mso_sptCloudCalloutSegm
, sizeof( mso_sptCloudCalloutSegm
) >> 1,
5825 (SvxMSDffCalculationData
*)mso_sptCloudCalloutCalc
, sizeof( mso_sptCloudCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
5826 (sal_Int32
*)mso_sptCloudCalloutDefault
,
5827 (SvxMSDffTextRectangles
*)mso_sptCloudCalloutTextRect
, sizeof( mso_sptCloudCalloutTextRect
) / sizeof( SvxMSDffTextRectangles
),
5829 0x80000000, 0x80000000,
5831 (SvxMSDffHandle
*)mso_sptCalloutHandle
, sizeof( mso_sptCalloutHandle
) / sizeof( SvxMSDffHandle
) // handles
5834 static const SvxMSDffVertPair mso_sptWaveVert
[] = // adjustment1 : 0 - 4460
5835 { // adjustment2 : 8640 - 12960
5836 { 7 MSO_I
, 0 MSO_I
}, { 15 MSO_I
, 9 MSO_I
}, { 16 MSO_I
, 10 MSO_I
}, { 12 MSO_I
, 0 MSO_I
},
5837 { 24 MSO_I
, 1 MSO_I
}, { 25 MSO_I
, 26 MSO_I
}, { 27 MSO_I
, 28 MSO_I
}, { 29 MSO_I
, 1 MSO_I
}
5839 static const SvxMSDffCalculationData mso_sptWaveCalc
[] =
5841 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, //400 (vert.adj)
5842 { 0x8000, { 21600, 0, 0x400 } }, //401
5843 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },//402 (horz.adj)
5844 { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj)
5845 { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj)
5846 { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj)
5847 { 0x8000, { 4320, 0, 0x405 } }, //406
5848 { 0xa006, { 0x403, 0, 0x405 } }, //407
5849 { 0x4001, { 15800, 0x400, 4460 } }, //408 0 -> 15800 (vert.adj)
5850 { 0xa000, { 0x400, 0, 0x408 } }, //409
5851 { 0x6000, { 0x400, 0x408, 0 } }, //40a
5852 { 0x8000, { 21600, 0, 0x404 } }, //40b
5853 { 0x6006, { 0x403, 0x40b, 21600 } }, //40c
5854 { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1
5855 { 0x2001, { 0x405, 1, 2 } }, //40e
5856 { 0xa000, { 0x407, 7200, 0x40e } }, //40f
5857 { 0x6000, { 0x40c, 0x40e, 7200 } }, //410
5858 { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width
5859 { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos
5860 { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos
5861 { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos
5862 { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos
5863 { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox)
5864 { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox)
5866 { 0x8000, { 21600, 0, 0x407 } }, //418 p2
5868 { 0x8000, { 21600, 0, 0x40f } }, //419 c
5869 { 0x6000, { 0x401, 0x408, 0 } }, //41a
5871 { 0x8000, { 21600, 0, 0x410 } }, //41b c
5872 { 0xa000, { 0x401, 0, 0x408 } }, //41c
5874 { 0x8000, { 21600, 0, 0x40c } } //41d p3
5876 static const SvxMSDffVertPair mso_sptWaveGluePoints
[] =
5878 { 0x12 MSO_I
, 0 MSO_I
}, { 0x14 MSO_I
, 10800 }, { 0x13 MSO_I
, 1 MSO_I
}, { 0x15 MSO_I
, 10800 }
5880 static const sal_uInt16 mso_sptWaveSegm
[] =
5882 0x4000, 0x2001, 0x0001, 0x2001, 0x6000, 0x8000
5884 static const SvxMSDffHandle mso_sptWaveHandle
[] =
5886 { MSDFF_HANDLE_FLAGS_RANGE
,
5887 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4460 },
5888 { MSDFF_HANDLE_FLAGS_RANGE
,
5889 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
5891 static const sal_Int32 mso_sptWaveDefault
[] =
5895 static const SvxMSDffTextRectangles mso_sptWaveTextRect
[] =
5897 { { 5 MSO_I
, 22 MSO_I
}, { 11 MSO_I
, 23 MSO_I
} }
5899 static const mso_CustomShape msoWave
=
5901 (SvxMSDffVertPair
*)mso_sptWaveVert
, sizeof( mso_sptWaveVert
) / sizeof( SvxMSDffVertPair
),
5902 (sal_uInt16
*)mso_sptWaveSegm
, sizeof( mso_sptWaveSegm
) >> 1,
5903 (SvxMSDffCalculationData
*)mso_sptWaveCalc
, sizeof( mso_sptWaveCalc
) / sizeof( SvxMSDffCalculationData
),
5904 (sal_Int32
*)mso_sptWaveDefault
,
5905 (SvxMSDffTextRectangles
*)mso_sptWaveTextRect
, sizeof( mso_sptWaveTextRect
) / sizeof( SvxMSDffTextRectangles
),
5907 0x80000000, 0x80000000,
5908 (SvxMSDffVertPair
*)mso_sptWaveGluePoints
, sizeof( mso_sptWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
5909 (SvxMSDffHandle
*)mso_sptWaveHandle
, sizeof( mso_sptWaveHandle
) / sizeof( SvxMSDffHandle
)
5912 static const SvxMSDffVertPair mso_sptDoubleWaveVert
[] = // adjustment1 : 0 - 2230
5913 { // adjustment2 : 8640 - 12960
5914 { 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
},
5915 { 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
}
5917 static const SvxMSDffCalculationData mso_sptDoubleWaveCalc
[] =
5919 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, //400 (vert.adj)
5920 { 0x8000, { 21600, 0, 0x400 } }, //401
5921 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },//402 (horz.adj)
5922 { 0x2000, { 0x402, 0, 10800 } }, //403 -2160 -> 2160 (horz.adj)
5923 { 0x2001, { 0x403, 2, 1 } }, //404 -4320 -> 4320 (horz.adj)
5924 { 0x2003, { 0x404, 0, 0 } }, //405 abs( 0x404 ) (horz.adj)
5925 { 0x8000, { 4320, 0, 0x405 } }, //406 -> not used
5926 { 0xa006, { 0x403, 0, 0x405 } }, //407
5927 { 0x4001, { 7900, 0x400, 2230 } }, //408 0 -> 7900 (vert.adj)
5928 { 0xa000, { 0x400, 0, 0x408 } }, //409
5929 { 0x6000, { 0x400, 0x408, 0 } }, //40a
5930 { 0x8000, { 21600, 0, 0x404 } }, //40b
5931 { 0x6006, { 0x403, 0x40b, 21600 } }, //40c
5932 { 0xa000, { 0x40c, 0, 0x407 } }, //40d width between p0 and p1
5933 { 0x2001, { 0x405, 1, 2 } }, //40e
5934 { 0xa000, { 0x407, 3600, 0x40e } }, //40f
5935 { 0x6000, { 0x40c, 0x40e, 3600 } }, //410
5936 { 0x2001, { 0x40d, 1, 2 } }, //411 1/2 width
5937 { 0x6000, { 0x407, 0x411, 0 } }, //412 top center glue xpos
5938 { 0x8000, { 21600, 0, 0x412 } }, //413 bottom center glue xpos
5939 { 0x2001, { 0x405, 1, 2 } }, //414 left glue x pos
5940 { 0x8000, { 21600, 0, 0x414 } }, //415 right glue x pos
5941 { 0x2001, { 0x400, 2, 1 } }, //416 y1 (textbox)
5942 { 0x8000, { 21600, 0, 0x416 } }, //417 y2 (textbox)
5944 { 0x8000, { 21600, 0, 0x407 } }, //418 p2
5946 { 0x8000, { 21600, 0, 0x40f } }, //419 c
5947 { 0x6000, { 0x401, 0x408, 0 } }, //41a
5949 { 0x8000, { 21600, 0, 0x410 } }, //41b c
5950 { 0xa000, { 0x401, 0, 0x408 } }, //41c
5952 { 0x8000, { 21600, 0, 0x40c } }, //41d p3
5953 { 0xa000, { 0x412, 0, 0x40e } }, //41e
5954 { 0x6000, { 0x412, 0x40e, 0 } }, //41f
5955 { 0xa000, { 0x413, 0, 0x40e } }, //420
5956 { 0x6000, { 0x413, 0x40e, 0 } } //421
5958 static const SvxMSDffVertPair mso_sptDoubleWaveGluePoints
[] =
5960 { 0x12 MSO_I
, 0 MSO_I
}, { 0x14 MSO_I
, 10800 }, { 0x13 MSO_I
, 1 MSO_I
}, { 0x15 MSO_I
, 10800 }
5962 static const sal_uInt16 mso_sptDoubleWaveSegm
[] =
5964 0x4000, 0x2002, 0x0001, 0x2002, 0x6000, 0x8000
5966 static const SvxMSDffHandle mso_sptDoubleWaveHandle
[] =
5968 { MSDFF_HANDLE_FLAGS_RANGE
,
5969 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 2230 },
5970 { MSDFF_HANDLE_FLAGS_RANGE
,
5971 0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
5973 static const sal_Int32 mso_sptDoubleWaveDefault
[] =
5977 static const SvxMSDffTextRectangles mso_sptDoubleWaveTextRect
[] =
5979 { { 5 MSO_I
, 22 MSO_I
}, { 11 MSO_I
, 23 MSO_I
} }
5981 static const mso_CustomShape msoDoubleWave
=
5983 (SvxMSDffVertPair
*)mso_sptDoubleWaveVert
, sizeof( mso_sptDoubleWaveVert
) / sizeof( SvxMSDffVertPair
),
5984 (sal_uInt16
*)mso_sptDoubleWaveSegm
, sizeof( mso_sptDoubleWaveSegm
) >> 1,
5985 (SvxMSDffCalculationData
*)mso_sptDoubleWaveCalc
, sizeof( mso_sptDoubleWaveCalc
) / sizeof( SvxMSDffCalculationData
),
5986 (sal_Int32
*)mso_sptDoubleWaveDefault
,
5987 (SvxMSDffTextRectangles
*)mso_sptDoubleWaveTextRect
, sizeof( mso_sptDoubleWaveTextRect
) / sizeof( SvxMSDffTextRectangles
),
5989 0x80000000, 0x80000000,
5990 (SvxMSDffVertPair
*)mso_sptDoubleWaveGluePoints
, sizeof( mso_sptDoubleWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
5991 (SvxMSDffHandle
*)mso_sptDoubleWaveHandle
, sizeof( mso_sptDoubleWaveHandle
) / sizeof( SvxMSDffHandle
)
5994 // for each shapetype a bit of 1 is indicating that the shape is NOT filled by default
5995 static const sal_uInt16 mso_DefaultFillingTable
[] =
5997 0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000
5999 sal_Bool
IsCustomShapeFilledByDefault( MSO_SPT eSpType
)
6001 sal_Bool bIsFilledByDefault
= sal_True
;
6002 sal_uInt32 i
= (sal_uInt32
)eSpType
;
6004 bIsFilledByDefault
= ( mso_DefaultFillingTable
[ i
>> 4 ] & ( 1 << ( i
& 0xf ) ) ) == 0;
6005 return bIsFilledByDefault
;
6007 sal_Int16
GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType
)
6009 sal_Int16 nGluePointType
= com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS
;
6010 const mso_CustomShape
* pDefCustomShape
= GetCustomShapeContent( eSpType
);
6011 if ( pDefCustomShape
&& pDefCustomShape
->nGluePoints
)
6012 nGluePointType
= com::sun::star::drawing::EnhancedCustomShapeGluePointType::CUSTOM
;
6017 case mso_sptRectangle
:
6018 case mso_sptRoundRectangle
:
6019 case mso_sptPictureFrame
:
6020 case mso_sptFlowChartProcess
:
6021 case mso_sptFlowChartPredefinedProcess
:
6022 case mso_sptFlowChartInternalStorage
:
6023 case mso_sptTextPlainText
:
6024 case mso_sptTextBox
:
6025 case mso_sptVerticalScroll
:
6026 case mso_sptHorizontalScroll
:
6027 nGluePointType
= com::sun::star::drawing::EnhancedCustomShapeGluePointType::RECT
;
6031 return nGluePointType
;
6034 // for each shapetype a bit of 1 is indicating that the shape is NOT stroked by default
6036 static const sal_uInt16 mso_DefaultStrokingTable
[] =
6038 0x0000, 0x0000, 0x0000, 0x0000,
6039 0x0800, 0x0000, 0x0000, 0x0000, // #i28269# Added shape 75 (mso_sptPictureFrame)
6040 0x0000, 0x0000, 0x0000, 0x0000,
6041 0x0000, 0x0000, 0x0000, 0x0000
6044 sal_Bool
IsCustomShapeStrokedByDefault( MSO_SPT eSpType
)
6046 sal_Bool bIsStrokedByDefault
= sal_True
;
6047 sal_uInt32 i
= (sal_uInt32
)eSpType
;
6049 bIsStrokedByDefault
= ( mso_DefaultStrokingTable
[ i
>> 4 ] & ( 1 << ( i
& 0xf ) ) ) == 0;
6050 return bIsStrokedByDefault
;
6053 static const sal_uInt16 msoSortFilledObjectsToBackTable
[] =
6055 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
6057 sal_Bool
SortFilledObjectsToBackByDefault( MSO_SPT eSpType
)
6059 sal_Bool bSortFilledObjectsToBackByDefault
= sal_True
;
6060 sal_uInt32 i
= (sal_uInt32
)eSpType
;
6062 bSortFilledObjectsToBackByDefault
= ( msoSortFilledObjectsToBackTable
[ i
>> 4 ] & ( 1 << ( i
& 0xf ) ) ) != 0;
6063 return bSortFilledObjectsToBackByDefault
;
6066 static const SvxMSDffVertPair mso_sptFontWorkVert
[] =
6068 { 0, 0 }, { 21600, 0 }, { 0, 21600 }, { 21600, 21600 }
6070 static const sal_uInt16 mso_sptFontWorkSegm
[] =
6072 0x4000, 0x0001, 0x8000,
6073 0x4000, 0x0001, 0x8000
6075 static const SvxMSDffTextRectangles mso_sptFontWorkTextRect
[] =
6077 { { 0, 0 }, { 21600, 21600 } }
6079 static const mso_CustomShape msoFontWork
=
6081 (SvxMSDffVertPair
*)mso_sptFontWorkVert
, sizeof( mso_sptFontWorkVert
) / sizeof( SvxMSDffVertPair
),
6082 (sal_uInt16
*)mso_sptFontWorkSegm
, sizeof( mso_sptFontWorkSegm
) >> 1,
6085 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6087 0x80000000, 0x80000000,
6092 static const SvxMSDffVertPair mso_sptTextPlainTextVert
[] =
6094 { 3 MSO_I
, 0 }, { 5 MSO_I
, 0 }, { 6 MSO_I
, 21600 }, { 7 MSO_I
, 21600 }
6096 static const SvxMSDffCalculationData mso_sptTextPlainTextCalc
[] = // adjustment1 : 6629 - 14971
6098 { 0x2000, { DFF_Prop_adjustValue
, 0, 10800 } },
6099 { 0x2001, { 0x400, 2, 1 } },
6100 { 0x2003, { 0x401, 0, 0 } },
6101 { 0xa006, { 0x401, 0, 0x402 } }, // x1(3)
6102 { 0x8000, { 21600, 0, 0x402 } },
6103 { 0x6006, { 0x401, 0x404, 21600 } }, // x2(5)
6104 { 0x6006, { 0x401, 0x402, 0 } }, // x2
6105 { 0xa006, { 0x401, 21600, 0x404 } } // x3(7)
6107 static const sal_uInt16 mso_sptTextPlainTextSegm
[] =
6109 0x4000, 0x0001, 0x8000,
6110 0x4000, 0x0001, 0x8000
6112 static const SvxMSDffHandle mso_sptTextPlainTextHandle
[] =
6114 { MSDFF_HANDLE_FLAGS_RANGE
,
6115 0x100, 21600, 10800, 10800, 6629, 14971, 0x80000000, 0x7fffffff }
6117 static const mso_CustomShape msoTextPlainText
=
6119 (SvxMSDffVertPair
*)mso_sptTextPlainTextVert
, sizeof( mso_sptTextPlainTextVert
) / sizeof( SvxMSDffVertPair
),
6120 (sal_uInt16
*)mso_sptTextPlainTextSegm
, sizeof( mso_sptTextPlainTextSegm
) >> 1,
6121 (SvxMSDffCalculationData
*)mso_sptTextPlainTextCalc
, sizeof( mso_sptTextPlainTextCalc
) / sizeof( SvxMSDffCalculationData
),
6122 (sal_Int32
*)mso_sptDefault10800
,
6123 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6125 0x80000000, 0x80000000,
6127 (SvxMSDffHandle
*)mso_sptTextPlainTextHandle
, sizeof( mso_sptTextPlainTextHandle
) / sizeof( SvxMSDffHandle
)
6130 static const SvxMSDffVertPair mso_sptTextStopVert
[] =
6132 { 0, 0 MSO_I
}, { 7200, 0 }, { 14400, 0 }, { 21600, 0 MSO_I
},
6133 { 0, 1 MSO_I
}, { 7200, 21600 }, { 14400, 21600 }, { 21600, 1 MSO_I
}
6135 static const SvxMSDffCalculationData mso_sptTextStopCalc
[] = // adjustment1 : 3080 - 10800
6137 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
6138 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }
6140 static const sal_uInt16 mso_sptTextStopSegm
[] =
6142 0x4000, 0x0003, 0x8000,
6143 0x4000, 0x0003, 0x8000
6145 static const sal_Int32 mso_sptTextStopDefault
[] =
6149 static const SvxMSDffHandle mso_sptTextStopHandle
[] =
6151 { MSDFF_HANDLE_FLAGS_RANGE
,
6152 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 3080, 10800 }
6154 static const mso_CustomShape msoTextStop
=
6156 (SvxMSDffVertPair
*)mso_sptTextStopVert
, sizeof( mso_sptTextStopVert
) / sizeof( SvxMSDffVertPair
),
6157 (sal_uInt16
*)mso_sptTextStopSegm
, sizeof( mso_sptTextStopSegm
) >> 1,
6158 (SvxMSDffCalculationData
*)mso_sptTextStopCalc
, sizeof( mso_sptTextStopCalc
) / sizeof( SvxMSDffCalculationData
),
6159 (sal_Int32
*)mso_sptTextStopDefault
,
6160 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6162 0x80000000, 0x80000000,
6164 (SvxMSDffHandle
*)mso_sptTextStopHandle
, sizeof( mso_sptTextStopHandle
) / sizeof( SvxMSDffHandle
)
6167 static const SvxMSDffVertPair mso_sptTextTriangleVert
[] =
6169 { 0, 0 MSO_I
}, { 10800, 0 }, { 21600, 0 MSO_I
}, { 0, 21600 }, { 21600, 21600 }
6171 static const SvxMSDffCalculationData mso_sptTextTriangleCalc
[] = // adjustment1 : 6629 - 14971
6173 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }
6175 static const sal_uInt16 mso_sptTextTriangleSegm
[] =
6177 0x4000, 0x0002, 0x8000,
6178 0x4000, 0x0001, 0x8000
6180 static const SvxMSDffHandle mso_sptTextTriangleHandle
[] =
6182 { MSDFF_HANDLE_FLAGS_RANGE
,
6183 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
6185 static const mso_CustomShape msoTextTriangle
=
6187 (SvxMSDffVertPair
*)mso_sptTextTriangleVert
, sizeof( mso_sptTextTriangleVert
) / sizeof( SvxMSDffVertPair
),
6188 (sal_uInt16
*)mso_sptTextTriangleSegm
, sizeof( mso_sptTextTriangleSegm
) >> 1,
6189 (SvxMSDffCalculationData
*)mso_sptTextTriangleCalc
, sizeof( mso_sptTextTriangleCalc
) / sizeof( SvxMSDffCalculationData
),
6190 (sal_Int32
*)mso_sptDefault10800
,
6191 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6193 0x80000000, 0x80000000,
6195 (SvxMSDffHandle
*)mso_sptTextTriangleHandle
, sizeof( mso_sptTextTriangleHandle
) / sizeof( SvxMSDffHandle
)
6197 static const SvxMSDffVertPair mso_sptTextTriangleInvertedVert
[] =
6199 { 0, 0 }, { 21600, 0 }, { 0, 0 MSO_I
}, { 10800, 21600 }, { 21600, 0 MSO_I
}
6201 static const sal_uInt16 mso_sptTextTriangleInvertedSegm
[] =
6203 0x4000, 0x0001, 0x8000,
6204 0x4000, 0x0002, 0x8000
6206 static const mso_CustomShape msoTextTriangleInverted
=
6208 (SvxMSDffVertPair
*)mso_sptTextTriangleInvertedVert
, sizeof( mso_sptTextTriangleInvertedVert
) / sizeof( SvxMSDffVertPair
),
6209 (sal_uInt16
*)mso_sptTextTriangleInvertedSegm
, sizeof( mso_sptTextTriangleInvertedSegm
) >> 1,
6210 (SvxMSDffCalculationData
*)mso_sptTextTriangleCalc
, sizeof( mso_sptTextTriangleCalc
) / sizeof( SvxMSDffCalculationData
),
6211 (sal_Int32
*)mso_sptDefault10800
,
6212 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6214 0x80000000, 0x80000000,
6216 (SvxMSDffHandle
*)mso_sptTextTriangleHandle
, sizeof( mso_sptTextTriangleHandle
) / sizeof( SvxMSDffHandle
)
6219 static const SvxMSDffVertPair mso_sptTextChevronVert
[] =
6221 { 0, 0 MSO_I
}, { 10800, 0 }, { 21600, 0 MSO_I
}, { 0, 21600 }, { 10800, 1 MSO_I
}, { 21600, 21600 }
6223 static const SvxMSDffCalculationData mso_sptTextChevronCalc
[] = // adjustment1 : 6629 - 14971
6225 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
6226 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }
6228 static const sal_uInt16 mso_sptTextChevronSegm
[] =
6230 0x4000, 0x0002, 0x8000,
6231 0x4000, 0x0002, 0x8000
6233 static const SvxMSDffHandle mso_sptTextChevronHandle
[] =
6235 { MSDFF_HANDLE_FLAGS_RANGE
,
6236 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6238 static const mso_CustomShape msoTextChevron
=
6240 (SvxMSDffVertPair
*)mso_sptTextChevronVert
, sizeof( mso_sptTextChevronVert
) / sizeof( SvxMSDffVertPair
),
6241 (sal_uInt16
*)mso_sptTextChevronSegm
, sizeof( mso_sptTextChevronSegm
) >> 1,
6242 (SvxMSDffCalculationData
*)mso_sptTextChevronCalc
, sizeof( mso_sptTextChevronCalc
) / sizeof( SvxMSDffCalculationData
),
6243 (sal_Int32
*)mso_sptDefault5400
,
6244 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6246 0x80000000, 0x80000000,
6248 (SvxMSDffHandle
*)mso_sptTextChevronHandle
, sizeof( mso_sptTextChevronHandle
) / sizeof( SvxMSDffHandle
)
6251 static const SvxMSDffVertPair mso_sptTextChevronInvertedVert
[] =
6253 { 0, 0 }, { 10800, 1 MSO_I
}, { 21600, 0 }, { 0, 0 MSO_I
}, { 10800, 21600 }, { 21600, 0 MSO_I
}
6255 static const SvxMSDffCalculationData mso_sptTextChevronInvertedCalc
[] = // adjustment1 : 6629 - 14971
6257 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
6258 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }
6260 static const sal_uInt16 mso_sptTextChevronInvertedSegm
[] =
6262 0x4000, 0x0002, 0x8000,
6263 0x4000, 0x0002, 0x8000
6265 static const SvxMSDffHandle mso_sptTextChevronInvertedHandle
[] =
6267 { MSDFF_HANDLE_FLAGS_RANGE
,
6268 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
6270 static const mso_CustomShape msoTextChevronInverted
=
6272 (SvxMSDffVertPair
*)mso_sptTextChevronInvertedVert
, sizeof( mso_sptTextChevronInvertedVert
) / sizeof( SvxMSDffVertPair
),
6273 (sal_uInt16
*)mso_sptTextChevronInvertedSegm
, sizeof( mso_sptTextChevronInvertedSegm
) >> 1,
6274 (SvxMSDffCalculationData
*)mso_sptTextChevronInvertedCalc
, sizeof( mso_sptTextChevronInvertedCalc
) / sizeof( SvxMSDffCalculationData
),
6275 (sal_Int32
*)mso_sptDefault16200
,
6276 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6278 0x80000000, 0x80000000,
6280 (SvxMSDffHandle
*)mso_sptTextChevronInvertedHandle
, sizeof( mso_sptTextChevronInvertedHandle
) / sizeof( SvxMSDffHandle
)
6283 static const SvxMSDffVertPair mso_sptTextRingOutsideVert
[] =
6285 { 10800, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 180, 359 },
6286 { 10800, 1 MSO_I
}, { 10800, 0 MSO_I
}, { 180, 359 }
6288 static const SvxMSDffCalculationData mso_sptTextRingOutsideCalc
[] = // adjustment1 : 6629 - 14971
6290 { 0x2001, { DFF_Prop_adjustValue
, 1, 2 } },
6291 { 0x8000, { 21600, 0, 0x400 } }
6293 static const sal_uInt16 mso_sptTextRingOutsideSegm
[] =
6298 static const SvxMSDffHandle mso_sptTextRingOutsideHandle
[] =
6300 { MSDFF_HANDLE_FLAGS_RANGE
,
6301 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
6303 static const mso_CustomShape msoTextRingOutside
=
6305 (SvxMSDffVertPair
*)mso_sptTextRingOutsideVert
, sizeof( mso_sptTextRingOutsideVert
) / sizeof( SvxMSDffVertPair
),
6306 (sal_uInt16
*)mso_sptTextRingOutsideSegm
, sizeof( mso_sptTextRingOutsideSegm
) >> 1,
6307 (SvxMSDffCalculationData
*)mso_sptTextRingOutsideCalc
, sizeof( mso_sptTextRingOutsideCalc
) / sizeof( SvxMSDffCalculationData
),
6308 (sal_Int32
*)mso_sptDefault16200
,
6309 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6311 0x80000000, 0x80000000,
6313 (SvxMSDffHandle
*)mso_sptTextRingOutsideHandle
, sizeof( mso_sptTextRingOutsideHandle
) / sizeof( SvxMSDffHandle
)
6316 static const SvxMSDffVertPair mso_sptTextFadeRightVert
[] =
6318 { 0, 0 }, { 21600, 0 MSO_I
}, { 0, 21600 }, { 21600, 1 MSO_I
}
6320 static const SvxMSDffCalculationData mso_sptTextFadeCalc
[] =
6322 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
6323 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }
6325 static const sal_uInt16 mso_sptTextFadeSegm
[] =
6327 0x4000, 0x0001, 0x8000,
6328 0x4000, 0x0001, 0x8000
6330 static const SvxMSDffHandle mso_sptTextFadeRightHandle
[] =
6332 { MSDFF_HANDLE_FLAGS_RANGE
,
6333 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6335 static const mso_CustomShape msoTextFadeRight
=
6337 (SvxMSDffVertPair
*)mso_sptTextFadeRightVert
, sizeof( mso_sptTextFadeRightVert
) / sizeof( SvxMSDffVertPair
),
6338 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6339 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6340 (sal_Int32
*)mso_sptDefault7200
,
6341 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6343 0x80000000, 0x80000000,
6345 (SvxMSDffHandle
*)mso_sptTextFadeRightHandle
, sizeof( mso_sptTextFadeRightHandle
) / sizeof( SvxMSDffHandle
)
6348 static const SvxMSDffVertPair mso_sptTextFadeLeftVert
[] =
6350 { 0, 0 MSO_I
}, { 21600, 0 }, { 0, 1 MSO_I
}, { 21600, 21600 }
6352 static const SvxMSDffHandle mso_sptTextFadeLeftHandle
[] =
6354 { MSDFF_HANDLE_FLAGS_RANGE
,
6355 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
6357 static const mso_CustomShape msoTextFadeLeft
=
6359 (SvxMSDffVertPair
*)mso_sptTextFadeLeftVert
, sizeof( mso_sptTextFadeLeftVert
) / sizeof( SvxMSDffVertPair
),
6360 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6361 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6362 (sal_Int32
*)mso_sptDefault7200
,
6363 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6365 0x80000000, 0x80000000,
6367 (SvxMSDffHandle
*)mso_sptTextFadeLeftHandle
, sizeof( mso_sptTextFadeLeftHandle
) / sizeof( SvxMSDffHandle
)
6370 static const SvxMSDffVertPair mso_sptTextFadeUpVert
[] =
6372 { 0 MSO_I
, 0 }, { 1 MSO_I
, 0 }, { 0, 21600 }, { 21600, 21600 }
6374 static const SvxMSDffHandle mso_sptTextFadeUpHandle
[] =
6376 { MSDFF_HANDLE_FLAGS_RANGE
,
6377 0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6379 static const mso_CustomShape msoTextFadeUp
=
6381 (SvxMSDffVertPair
*)mso_sptTextFadeUpVert
, sizeof( mso_sptTextFadeUpVert
) / sizeof( SvxMSDffVertPair
),
6382 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6383 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6384 (sal_Int32
*)mso_sptDefault7200
,
6385 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6387 0x80000000, 0x80000000,
6389 (SvxMSDffHandle
*)mso_sptTextFadeUpHandle
, sizeof( mso_sptTextFadeUpHandle
) / sizeof( SvxMSDffHandle
)
6392 static const SvxMSDffVertPair mso_sptTextFadeDownVert
[] =
6394 { 0, 0 }, { 21600, 0 }, { 0 MSO_I
, 21600 }, { 1 MSO_I
, 21600 }
6396 static const SvxMSDffHandle mso_sptTextFadeDownHandle
[] =
6398 { MSDFF_HANDLE_FLAGS_RANGE
,
6399 0x100, 21600, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6401 static const mso_CustomShape msoTextFadeDown
=
6403 (SvxMSDffVertPair
*)mso_sptTextFadeDownVert
, sizeof( mso_sptTextFadeDownVert
) / sizeof( SvxMSDffVertPair
),
6404 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6405 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6406 (sal_Int32
*)mso_sptDefault7200
,
6407 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6409 0x80000000, 0x80000000,
6411 (SvxMSDffHandle
*)mso_sptTextFadeDownHandle
, sizeof( mso_sptTextFadeDownHandle
) / sizeof( SvxMSDffHandle
)
6414 static const SvxMSDffVertPair mso_sptTextSlantUpVert
[] =
6416 { 0, 0 MSO_I
}, { 21600, 0 }, { 0, 21600 }, { 21600, 1 MSO_I
}
6418 static const SvxMSDffHandle mso_sptTextSlantUpHandle
[] =
6420 { MSDFF_HANDLE_FLAGS_RANGE
,
6421 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 15400 }
6423 static const mso_CustomShape msoTextSlantUp
=
6425 (SvxMSDffVertPair
*)mso_sptTextSlantUpVert
, sizeof( mso_sptTextSlantUpVert
) / sizeof( SvxMSDffVertPair
),
6426 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6427 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6428 (sal_Int32
*)mso_sptDefault12000
,
6429 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6431 0x80000000, 0x80000000,
6433 (SvxMSDffHandle
*)mso_sptTextSlantUpHandle
, sizeof( mso_sptTextSlantUpHandle
) / sizeof( SvxMSDffHandle
)
6436 static const SvxMSDffVertPair mso_sptTextSlantDownVert
[] =
6438 { 0, 0 }, { 21600, 1 MSO_I
}, { 0, 0 MSO_I
}, { 21600, 21600 }
6440 static const SvxMSDffHandle mso_sptTextSlantDownHandle
[] =
6442 { MSDFF_HANDLE_FLAGS_RANGE
,
6443 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6445 static const mso_CustomShape msoTextSlantDown
=
6447 (SvxMSDffVertPair
*)mso_sptTextSlantDownVert
, sizeof( mso_sptTextSlantDownVert
) / sizeof( SvxMSDffVertPair
),
6448 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6449 (SvxMSDffCalculationData
*)mso_sptTextFadeCalc
, sizeof( mso_sptTextFadeCalc
) / sizeof( SvxMSDffCalculationData
),
6450 (sal_Int32
*)mso_sptDefault12000
,
6451 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6453 0x80000000, 0x80000000,
6455 (SvxMSDffHandle
*)mso_sptTextSlantDownHandle
, sizeof( mso_sptTextSlantDownHandle
) / sizeof( SvxMSDffHandle
)
6458 static const SvxMSDffVertPair mso_sptTextCascadeUpVert
[] =
6460 { 0, 2 MSO_I
}, { 21600, 0 }, { 0, 21600 }, { 21600, 0 MSO_I
}
6462 static const SvxMSDffCalculationData mso_sptTextCascadeCalc
[] =
6464 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
6465 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} },
6466 { 0x2001, { 0x401, 1, 4 } }
6468 static const SvxMSDffHandle mso_sptTextCascadeUpHandle
[] =
6470 { MSDFF_HANDLE_FLAGS_RANGE
,
6471 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6473 static const mso_CustomShape msoTextCascadeUp
=
6475 (SvxMSDffVertPair
*)mso_sptTextCascadeUpVert
, sizeof( mso_sptTextCascadeUpVert
) / sizeof( SvxMSDffVertPair
),
6476 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6477 (SvxMSDffCalculationData
*)mso_sptTextCascadeCalc
, sizeof( mso_sptTextCascadeCalc
) / sizeof( SvxMSDffCalculationData
),
6478 (sal_Int32
*)mso_sptDefault9600
,
6479 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6481 0x80000000, 0x80000000,
6483 (SvxMSDffHandle
*)mso_sptTextCascadeUpHandle
, sizeof( mso_sptTextCascadeUpHandle
) / sizeof( SvxMSDffHandle
)
6486 static const SvxMSDffVertPair mso_sptTextCascadeDownVert
[] =
6488 { 0, 0 }, { 21600, 2 MSO_I
}, { 0, 0 MSO_I
}, { 21600, 21600 }
6490 static const SvxMSDffHandle mso_sptTextCascadeDownHandle
[] =
6492 { MSDFF_HANDLE_FLAGS_RANGE
,
6493 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
6495 static const mso_CustomShape msoTextCascadeDown
=
6497 (SvxMSDffVertPair
*)mso_sptTextCascadeDownVert
, sizeof( mso_sptTextCascadeDownVert
) / sizeof( SvxMSDffVertPair
),
6498 (sal_uInt16
*)mso_sptTextFadeSegm
, sizeof( mso_sptTextFadeSegm
) >> 1,
6499 (SvxMSDffCalculationData
*)mso_sptTextCascadeCalc
, sizeof( mso_sptTextCascadeCalc
) / sizeof( SvxMSDffCalculationData
),
6500 (sal_Int32
*)mso_sptDefault9600
,
6501 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6503 0x80000000, 0x80000000,
6505 (SvxMSDffHandle
*)mso_sptTextCascadeDownHandle
, sizeof( mso_sptTextCascadeDownHandle
) / sizeof( SvxMSDffHandle
)
6508 static const SvxMSDffVertPair mso_sptTextArchUpCurveVert
[] =
6510 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 3 MSO_I
}
6512 static const SvxMSDffCalculationData mso_sptTextArchCurveCalc
[] =
6514 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
6515 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
6516 { 0x2000, { 0x400, 10800, 0 } },
6517 { 0x2000, { 0x401, 10800, 0 } },
6518 { 0x8000, { 21600, 0, 0x402 } }
6520 static const sal_uInt16 mso_sptTextArchUpCurveSegm
[] =
6522 0xA504, 0x8000 // clockwÃse arc
6524 static const SvxMSDffHandle mso_sptTextArchUpCurveHandle
[] =
6526 { MSDFF_HANDLE_FLAGS_POLAR
,
6527 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6529 static const sal_Int32 mso_sptTextArchUpCurveDefault
[] =
6533 static const mso_CustomShape msoTextArchUpCurve
=
6535 (SvxMSDffVertPair
*)mso_sptTextArchUpCurveVert
, sizeof( mso_sptTextArchUpCurveVert
) / sizeof( SvxMSDffVertPair
),
6536 (sal_uInt16
*)mso_sptTextArchUpCurveSegm
, sizeof( mso_sptTextArchUpCurveSegm
) >> 1,
6537 (SvxMSDffCalculationData
*)mso_sptTextArchCurveCalc
, sizeof( mso_sptTextArchCurveCalc
) / sizeof( SvxMSDffCalculationData
),
6538 (sal_Int32
*)mso_sptTextArchUpCurveDefault
,
6539 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6541 0x80000000, 0x80000000,
6543 (SvxMSDffHandle
*)mso_sptTextArchUpCurveHandle
, sizeof( mso_sptTextArchUpCurveHandle
) / sizeof( SvxMSDffHandle
)
6546 static const SvxMSDffVertPair mso_sptTextArchDownCurveVert
[] =
6548 { 0, 0 }, { 21600, 21600 }, { 4 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}
6550 static const sal_uInt16 mso_sptTextArchDownCurveSegm
[] =
6552 0xA304, 0x8000 // counter clockwise arc to
6554 static const SvxMSDffHandle mso_sptTextArchDownCurveHandle
[] =
6556 { MSDFF_HANDLE_FLAGS_POLAR
,
6557 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6559 static const sal_Int32 mso_sptTextArchDownCurveDefault
[] =
6563 static const mso_CustomShape msoTextArchDownCurve
=
6565 (SvxMSDffVertPair
*)mso_sptTextArchDownCurveVert
, sizeof( mso_sptTextArchDownCurveVert
) / sizeof( SvxMSDffVertPair
),
6566 (sal_uInt16
*)mso_sptTextArchDownCurveSegm
, sizeof( mso_sptTextArchDownCurveSegm
) >> 1,
6567 (SvxMSDffCalculationData
*)mso_sptTextArchCurveCalc
, sizeof( mso_sptTextArchCurveCalc
) / sizeof( SvxMSDffCalculationData
),
6568 (sal_Int32
*)mso_sptTextArchDownCurveDefault
,
6569 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6571 0x80000000, 0x80000000,
6573 (SvxMSDffHandle
*)mso_sptTextArchDownCurveHandle
, sizeof( mso_sptTextArchDownCurveHandle
) / sizeof( SvxMSDffHandle
)
6576 static const SvxMSDffVertPair mso_sptTextCircleCurveVert
[] =
6578 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 4 MSO_I
}
6580 static const SvxMSDffCalculationData mso_sptTextCircleCurveCalc
[] =
6582 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
6583 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
6584 { 0x2000, { 0x400, 10800, 0 } },
6585 { 0x2000, { 0x401, 10800, 0 } },
6586 { 0x8000, { 21600, 0, 0x403 } }
6588 static const sal_uInt16 mso_sptTextCircleCurveSegm
[] =
6590 0xA504, 0x8000 // clockwise arc to
6592 static const SvxMSDffHandle mso_sptTextCircleCurveHandle
[] =
6594 { MSDFF_HANDLE_FLAGS_POLAR
,
6595 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6597 static const sal_Int32 mso_sptTextCircleCurveDefault
[] =
6601 static const mso_CustomShape msoTextCircleCurve
=
6603 (SvxMSDffVertPair
*)mso_sptTextCircleCurveVert
, sizeof( mso_sptTextCircleCurveVert
) / sizeof( SvxMSDffVertPair
),
6604 (sal_uInt16
*)mso_sptTextCircleCurveSegm
, sizeof( mso_sptTextCircleCurveSegm
) >> 1,
6605 (SvxMSDffCalculationData
*)mso_sptTextCircleCurveCalc
, sizeof( mso_sptTextCircleCurveCalc
) / sizeof( SvxMSDffCalculationData
),
6606 (sal_Int32
*)mso_sptTextCircleCurveDefault
,
6607 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6609 0x80000000, 0x80000000,
6611 (SvxMSDffHandle
*)mso_sptTextCircleCurveHandle
, sizeof( mso_sptTextCircleCurveHandle
) / sizeof( SvxMSDffHandle
)
6614 static const SvxMSDffVertPair mso_sptTextButtonCurveVert
[] =
6616 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 3 MSO_I
},
6617 { 0, 10800 }, { 21600, 10800 },
6618 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 5 MSO_I
}, { 4 MSO_I
, 5 MSO_I
}
6620 static const SvxMSDffCalculationData mso_sptTextButtonCurveCalc
[] =
6622 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
6623 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
6624 { 0x2000, { 0x400, 10800, 0 } },
6625 { 0x2000, { 0x401, 10800, 0 } },
6626 { 0x8000, { 21600, 0, 0x402 } },
6627 { 0x8000, { 21600, 0, 0x403 } }
6629 static const sal_uInt16 mso_sptTextButtonCurveSegm
[] =
6631 0xA504, 0x8000, // clockwise arc
6632 0x4000, 0x0001, 0x8000,
6633 0xA304, 0x8000 // counter clockwise
6635 static const SvxMSDffHandle mso_sptTextButtonCurveHandle
[] =
6637 { MSDFF_HANDLE_FLAGS_POLAR
,
6638 10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6640 static const sal_Int32 mso_sptTextButtonCurveDefault
[] =
6644 static const mso_CustomShape msoTextButtonCurve
=
6646 (SvxMSDffVertPair
*)mso_sptTextButtonCurveVert
, sizeof( mso_sptTextButtonCurveVert
) / sizeof( SvxMSDffVertPair
),
6647 (sal_uInt16
*)mso_sptTextButtonCurveSegm
, sizeof( mso_sptTextButtonCurveSegm
) >> 1,
6648 (SvxMSDffCalculationData
*)mso_sptTextButtonCurveCalc
, sizeof( mso_sptTextButtonCurveCalc
) / sizeof( SvxMSDffCalculationData
),
6649 (sal_Int32
*)mso_sptTextButtonCurveDefault
,
6650 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6652 0x80000000, 0x80000000,
6654 (SvxMSDffHandle
*)mso_sptTextButtonCurveHandle
, sizeof( mso_sptTextButtonCurveHandle
) / sizeof( SvxMSDffHandle
)
6657 static const SvxMSDffVertPair mso_sptTextArchUpPourVert
[] =
6659 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 3 MSO_I
},
6660 { 5 MSO_I
, 5 MSO_I
}, { 11 MSO_I
, 11 MSO_I
}, { 8 MSO_I
, 9 MSO_I
}, { 0xa MSO_I
, 9 MSO_I
}
6662 static const SvxMSDffCalculationData mso_sptTextArchPourCalc
[] =
6664 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
6665 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
6666 { 0x2000, { 0x400, 10800, 0 } },
6667 { 0x2000, { 0x401, 10800, 0 } },
6668 { 0x8000, { 21600, 0, 0x402 } },
6669 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} },
6670 { 0x600a, { 0x405, DFF_Prop_adjustValue
, 0 } }, // 6
6671 { 0x6009, { 0x405, DFF_Prop_adjustValue
, 0 } },
6672 { 0x2000, { 0x406, 10800, 0 } }, // 8
6673 { 0x2000, { 0x407, 10800, 0 } },
6674 { 0x8000, { 21600, 0, 0x408 } }, // 10
6675 { 0x8000, { 21600, 0, 0x405 } }
6677 static const sal_uInt16 mso_sptTextArchUpPourSegm
[] =
6679 0xA504, 0x8000, 0xA504, 0x8000
6681 static const SvxMSDffHandle mso_sptTextArchPourHandle
[] =
6683 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
6684 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6686 static const sal_Int32 mso_sptTextArchUpPourDefault
[] =
6690 static const mso_CustomShape msoTextArchUpPour
=
6692 (SvxMSDffVertPair
*)mso_sptTextArchUpPourVert
, sizeof( mso_sptTextArchUpPourVert
) / sizeof( SvxMSDffVertPair
),
6693 (sal_uInt16
*)mso_sptTextArchUpPourSegm
, sizeof( mso_sptTextArchUpPourSegm
) >> 1,
6694 (SvxMSDffCalculationData
*)mso_sptTextArchPourCalc
, sizeof( mso_sptTextArchPourCalc
) / sizeof( SvxMSDffCalculationData
),
6695 (sal_Int32
*)mso_sptTextArchUpPourDefault
,
6696 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6698 0x80000000, 0x80000000,
6700 (SvxMSDffHandle
*)mso_sptTextArchPourHandle
, sizeof( mso_sptTextArchPourHandle
) / sizeof( SvxMSDffHandle
)
6703 static const SvxMSDffVertPair mso_sptTextArchDownPourVert
[] =
6705 { 5 MSO_I
, 5 MSO_I
}, { 11 MSO_I
, 11 MSO_I
}, { 0xa MSO_I
, 9 MSO_I
}, { 8 MSO_I
, 9 MSO_I
},
6706 { 0, 0 }, { 21600, 21600 }, { 4 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}
6708 static const sal_uInt16 mso_sptTextArchDownPourSegm
[] =
6710 0xA304, 0x8000, 0xA304, 0x8000
6712 static const sal_Int32 mso_sptTextArchDownPourDefault
[] =
6716 static const mso_CustomShape msoTextArchDownPour
=
6718 (SvxMSDffVertPair
*)mso_sptTextArchDownPourVert
, sizeof( mso_sptTextArchDownPourVert
) / sizeof( SvxMSDffVertPair
),
6719 (sal_uInt16
*)mso_sptTextArchDownPourSegm
, sizeof( mso_sptTextArchDownPourSegm
) >> 1,
6720 (SvxMSDffCalculationData
*)mso_sptTextArchPourCalc
, sizeof( mso_sptTextArchPourCalc
) / sizeof( SvxMSDffCalculationData
),
6721 (sal_Int32
*)mso_sptTextArchDownPourDefault
,
6722 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6724 0x80000000, 0x80000000,
6726 (SvxMSDffHandle
*)mso_sptTextArchPourHandle
, sizeof( mso_sptTextArchPourHandle
) / sizeof( SvxMSDffHandle
)
6729 static const SvxMSDffVertPair mso_sptTextCirclePourVert
[] =
6731 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 2 MSO_I
, 4 MSO_I
},
6732 { 5 MSO_I
, 5 MSO_I
}, { 11 MSO_I
, 11 MSO_I
}, { 8 MSO_I
, 9 MSO_I
}, { 8 MSO_I
, 0xa MSO_I
}
6734 static const SvxMSDffCalculationData mso_sptTextCirclePourCalc
[] =
6736 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } },
6737 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } },
6738 { 0x2000, { 0x400, 10800, 0 } },
6739 { 0x2000, { 0x401, 10800, 0 } },
6740 { 0x8000, { 21600, 0, 0x403 } },
6741 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} },
6742 { 0x600a, { 0x405, DFF_Prop_adjustValue
, 0 } }, // 6
6743 { 0x6009, { 0x405, DFF_Prop_adjustValue
, 0 } },
6744 { 0x2000, { 0x406, 10800, 0 } }, // 8
6745 { 0x2000, { 0x407, 10800, 0 } },
6746 { 0x8000, { 21600, 0, 0x409 } }, // 10
6747 { 0x8000, { 21600, 0, 0x405 } },
6748 { 0x000, { 21600, 0, 0 } }
6750 static const sal_uInt16 mso_sptTextCirclePourSegm
[] =
6752 0xA504, 0x8000, 0xA504, 0x8000
6754 static const SvxMSDffHandle mso_sptTextCirclePourHandle
[] =
6756 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
6757 0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
6759 static const sal_Int32 mso_sptTextCirclePourDefault
[] =
6763 static const mso_CustomShape msoTextCirclePour
=
6765 (SvxMSDffVertPair
*)mso_sptTextCirclePourVert
, sizeof( mso_sptTextCirclePourVert
) / sizeof( SvxMSDffVertPair
),
6766 (sal_uInt16
*)mso_sptTextCirclePourSegm
, sizeof( mso_sptTextCirclePourSegm
) >> 1,
6767 (SvxMSDffCalculationData
*)mso_sptTextCirclePourCalc
, sizeof( mso_sptTextCirclePourCalc
) / sizeof( SvxMSDffCalculationData
),
6768 (sal_Int32
*)mso_sptTextCirclePourDefault
,
6769 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6771 0x80000000, 0x80000000,
6773 (SvxMSDffHandle
*)mso_sptTextCirclePourHandle
, sizeof( mso_sptTextCirclePourHandle
) / sizeof( SvxMSDffHandle
)
6776 static const SvxMSDffVertPair mso_sptTextButtonPourVert
[] =
6778 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 3 MSO_I
}, { 4 MSO_I
, 3 MSO_I
},
6779 { 6 MSO_I
, 6 MSO_I
}, { 7 MSO_I
, 7 MSO_I
}, { 10 MSO_I
, 11 MSO_I
}, { 12 MSO_I
, 11 MSO_I
},
6780 { 0x16 MSO_I
, 16 MSO_I
}, { 0x15 MSO_I
, 16 MSO_I
},
6781 { 0x16 MSO_I
, 15 MSO_I
}, { 0x15 MSO_I
, 15 MSO_I
},
6782 { 6 MSO_I
, 6 MSO_I
}, { 7 MSO_I
, 7 MSO_I
}, { 10 MSO_I
, 13 MSO_I
}, { 12 MSO_I
, 13 MSO_I
},
6783 { 0, 0 }, { 21600, 21600 }, { 2 MSO_I
, 5 MSO_I
}, { 4 MSO_I
, 5 MSO_I
}
6785 static const SvxMSDffCalculationData mso_sptTextButtonPourCalc
[] =
6787 { 0x400a, { 10800, DFF_Prop_adjustValue
, 0 } }, // 0x00
6788 { 0x4009, { 10800, DFF_Prop_adjustValue
, 0 } }, // 0x01
6789 { 0x2000, { 0x400, 10800, 0 } }, // 0x02
6790 { 0x2000, { 0x401, 10800, 0 } }, // 0x03
6791 { 0x8000, { 21600, 0, 0x402 } }, // 0x04
6792 { 0x8000, { 21600, 0, 0x403 } }, // 0x05
6794 { 0x8000, { 10800, 0, DFF_Prop_adjust2Value
} }, // 0x06
6795 { 0x8000, { 21600, 0, 0x406 } }, // 0x07
6797 { 0x600a, { DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
, 0 } }, // 0x08
6798 { 0x6009, { DFF_Prop_adjust2Value
, DFF_Prop_adjustValue
, 0 } }, // 0x09
6799 { 0x2000, { 0x408, 10800, 0 } }, // 0x0a
6800 { 0x2000, { 0x409, 10800, 0 } }, // 0x0b
6801 { 0x8000, { 21600, 0, 0x40a } }, // 0x0c
6802 { 0x8000, { 21600, 0, 0x40b } }, // 0x0d
6803 { 0x2001, { 0x406, 1, 2 } }, // 0x0e
6804 { 0x4000, { 10800, 0x40e, 0 } }, // 0x0f
6805 { 0x8000, { 10800, 0, 0x40e } }, // 0x10
6806 { 0x6001, { 0x40e, 0x40e, 1 } }, // 0x11
6807 { 0x6001, { DFF_Prop_adjust2Value
, DFF_Prop_adjust2Value
, 1 } }, // 0x12
6808 { 0xA000, { 0x412, 0, 0x411 } }, // 0x13
6809 { 0x200d, { 0x413, 0, 0 } }, // 0x14
6810 { 0x4000, { 10800, 0x414, 0 } }, // 0x15
6811 { 0x8000, { 10800, 0, 0x414 } } // 0x16
6813 static const sal_uInt16 mso_sptTextButtonPourSegm
[] =
6815 0xA504, 0x8000, // clockwise arc
6816 0xA504, 0x8000, // clockwise arc
6817 0x4000, 0x0001, 0x8000,
6818 0x4000, 0x0001, 0x8000,
6819 0xA304, 0x8000, // counter clockwise
6820 0xA304, 0x8000 // counter clockwise
6822 static const SvxMSDffHandle mso_sptTextButtonPourHandle
[] =
6824 { MSDFF_HANDLE_FLAGS_POLAR
| MSDFF_HANDLE_FLAGS_RADIUS_RANGE
,
6825 0x101, 0x100, 10800, 10800, 4320, 10800, 0x80000000, 0x7fffffff }
6827 static const sal_Int32 mso_sptTextButtonPourDefault
[] =
6831 static const mso_CustomShape msoTextButtonPour
=
6833 (SvxMSDffVertPair
*)mso_sptTextButtonPourVert
, sizeof( mso_sptTextButtonPourVert
) / sizeof( SvxMSDffVertPair
),
6834 (sal_uInt16
*)mso_sptTextButtonPourSegm
, sizeof( mso_sptTextButtonPourSegm
) >> 1,
6835 (SvxMSDffCalculationData
*)mso_sptTextButtonPourCalc
, sizeof( mso_sptTextButtonPourCalc
) / sizeof( SvxMSDffCalculationData
),
6836 (sal_Int32
*)mso_sptTextButtonPourDefault
,
6837 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6839 0x80000000, 0x80000000,
6841 (SvxMSDffHandle
*)mso_sptTextButtonPourHandle
, sizeof( mso_sptTextButtonPourHandle
) / sizeof( SvxMSDffHandle
)
6844 static const SvxMSDffVertPair mso_sptTextCurveUpVert
[] =
6846 { 0, 0 MSO_I
}, { 4900, 1 MSO_I
/*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I
/*12170->0 12800 ->0*/ }, { 21600, 0 },
6847 { 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*/ }
6849 static const SvxMSDffCalculationData mso_sptTextCurveUpCalc
[] =
6851 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
6852 { 0x4001, { 14250, 0x400, 12170 } }, // 401
6853 { 0x4001, { 12800, 0x400, 12170 } }, // 402
6854 { 0x4001, { 6380, 0x400, 12170 } }, // 403
6855 { 0x8000, { 21600, 0, 0x403 } } // 404
6857 static const sal_uInt16 mso_sptTextCurveUpSegm
[] =
6859 0x4000, 0x2001, 0x8000,
6860 0x4000, 0x2002, 0x8000
6862 static const SvxMSDffHandle mso_sptTextCurveUpHandle
[] =
6864 { MSDFF_HANDLE_FLAGS_RANGE
,
6865 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
6867 static const sal_Int32 mso_sptTextCurveUpDefault
[] =
6871 static const mso_CustomShape msoTextCurveUp
=
6873 (SvxMSDffVertPair
*)mso_sptTextCurveUpVert
, sizeof( mso_sptTextCurveUpVert
) / sizeof( SvxMSDffVertPair
),
6874 (sal_uInt16
*)mso_sptTextCurveUpSegm
, sizeof( mso_sptTextCurveUpSegm
) >> 1,
6875 (SvxMSDffCalculationData
*)mso_sptTextCurveUpCalc
, sizeof( mso_sptTextCurveUpCalc
) / sizeof( SvxMSDffCalculationData
),
6876 (sal_Int32
*)mso_sptTextCurveUpDefault
,
6877 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6879 0x80000000, 0x80000000,
6881 (SvxMSDffHandle
*)mso_sptTextCurveUpHandle
, sizeof( mso_sptTextCurveUpHandle
) / sizeof( SvxMSDffHandle
)
6884 static const SvxMSDffVertPair mso_sptTextCurveDownVert
[] =
6886 // { 0, 0 MSO_I }, { 4900, 1 MSO_I /*12170->0 14250 ->0*/ }, { 11640, 2 MSO_I /*12170->0 12800 ->0*/ }, { 21600, 0 },
6887 { 0, 0 }, { 9960, 2 MSO_I
}, { 16700, 1 MSO_I
}, { 21600, 0 MSO_I
},
6889 // { 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*/ }
6890 { 0, 4 MSO_I
}, { 5690, 21600 }, { 7490, 21600 }, { 11500, 21600 }, { 13100, 21600 }, { 17900, 21600 }, { 21600, 4 MSO_I
}
6892 static const SvxMSDffHandle mso_sptTextCurveDownHandle
[] =
6894 { MSDFF_HANDLE_FLAGS_RANGE
,
6895 21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
6897 static const mso_CustomShape msoTextCurveDown
=
6899 (SvxMSDffVertPair
*)mso_sptTextCurveDownVert
, sizeof( mso_sptTextCurveDownVert
) / sizeof( SvxMSDffVertPair
),
6900 (sal_uInt16
*)mso_sptTextCurveUpSegm
, sizeof( mso_sptTextCurveUpSegm
) >> 1,
6901 (SvxMSDffCalculationData
*)mso_sptTextCurveUpCalc
, sizeof( mso_sptTextCurveUpCalc
) / sizeof( SvxMSDffCalculationData
),
6902 (sal_Int32
*)mso_sptTextCurveUpDefault
,
6903 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6905 0x80000000, 0x80000000,
6907 (SvxMSDffHandle
*)mso_sptTextCurveDownHandle
, sizeof( mso_sptTextCurveDownHandle
) / sizeof( SvxMSDffHandle
)
6910 static const SvxMSDffVertPair mso_sptTextCanUpVert
[] =
6912 { 0, 1 MSO_I
}, { 900, 0 }, { 7100, 0 }, { 10800, 0 }, { 14500, 0 }, { 20700, 0 }, { 21600, 1 MSO_I
},
6913 { 0, 21600 }, { 900, 4 MSO_I
}, { 7100, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 14500, 0 MSO_I
}, { 20700, 4 MSO_I
}, { 21600, 21600 }
6915 static const SvxMSDffCalculationData mso_sptTextCanUpCalc
[] =
6917 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
6918 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 401
6919 { 0x2000, { DFF_Prop_adjustValue
, 0, 14400 } }, // 402
6920 { 0x4001, { 5470, 0x402, 7200 } }, // 403
6921 { 0x4000, { 16130, 0x403, 0 } } // 404
6923 static const sal_uInt16 mso_sptTextCanUpSegm
[] =
6925 0x4000, 0x2002, 0x8000,
6926 0x4000, 0x2002, 0x8000
6928 static const SvxMSDffHandle mso_sptTextCanUpHandle
[] =
6930 { MSDFF_HANDLE_FLAGS_RANGE
,
6931 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
6933 static const sal_Int32 mso_sptTextCanUpDefault
[] =
6937 static const mso_CustomShape msoTextCanUp
=
6939 (SvxMSDffVertPair
*)mso_sptTextCanUpVert
, sizeof( mso_sptTextCanUpVert
) / sizeof( SvxMSDffVertPair
),
6940 (sal_uInt16
*)mso_sptTextCanUpSegm
, sizeof( mso_sptTextCanUpSegm
) >> 1,
6941 (SvxMSDffCalculationData
*)mso_sptTextCanUpCalc
, sizeof( mso_sptTextCanUpCalc
) / sizeof( SvxMSDffCalculationData
),
6942 (sal_Int32
*)mso_sptTextCanUpDefault
,
6943 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6945 0x80000000, 0x80000000,
6947 (SvxMSDffHandle
*)mso_sptTextCanUpHandle
, sizeof( mso_sptTextCanUpHandle
) / sizeof( SvxMSDffHandle
)
6950 static const SvxMSDffVertPair mso_sptTextCanDownVert
[] =
6952 { 0, 0 }, { 900, 2 MSO_I
}, { 7100, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 14500, 0 MSO_I
}, { 20700, 2 MSO_I
}, { 21600, 0 },
6953 { 0, 1 MSO_I
}, { 900, 21600 }, { 7100, 21600 }, { 10800, 21600 }, { 14500, 21600 }, { 20700, 21600 }, { 21600, 1 MSO_I
}
6955 static const SvxMSDffCalculationData mso_sptTextCanDownCalc
[] =
6957 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
6958 { 0x8000, { 21600, 0, DFF_Prop_adjustValue
} }, // 401
6959 { 0x4001, { 5470, 0x400, 7200 } } // 402
6961 static const SvxMSDffHandle mso_sptTextCanDownHandle
[] =
6963 { MSDFF_HANDLE_FLAGS_RANGE
,
6964 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
6966 static const sal_Int32 mso_sptTextCanDownDefault
[] =
6970 static const mso_CustomShape msoTextCanDown
=
6972 (SvxMSDffVertPair
*)mso_sptTextCanDownVert
, sizeof( mso_sptTextCanDownVert
) / sizeof( SvxMSDffVertPair
),
6973 (sal_uInt16
*)mso_sptTextCanUpSegm
, sizeof( mso_sptTextCanUpSegm
) >> 1,
6974 (SvxMSDffCalculationData
*)mso_sptTextCanDownCalc
, sizeof( mso_sptTextCanDownCalc
) / sizeof( SvxMSDffCalculationData
),
6975 (sal_Int32
*)mso_sptTextCanDownDefault
,
6976 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
6978 0x80000000, 0x80000000,
6980 (SvxMSDffHandle
*)mso_sptTextCanDownHandle
, sizeof( mso_sptTextCanDownHandle
) / sizeof( SvxMSDffHandle
)
6983 static const SvxMSDffVertPair mso_sptTextInflateVert
[] =
6985 { 0, 0 MSO_I
}, { 4100, 1 MSO_I
}, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 17500, 1 MSO_I
}, { 21600, 0 MSO_I
},
6986 { 0, 2 MSO_I
}, { 4100, 3 MSO_I
}, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 17500, 3 MSO_I
}, { 21600, 2 MSO_I
}
6988 static const SvxMSDffCalculationData mso_sptTextInflateCalc
[] =
6990 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
6991 { 0x4001, { 1530, 0x400, 4650 } }, // 401
6992 { 0x8000, { 21600, 0, 0x400 } }, // 402
6993 { 0x8000, { 21600, 0, 0x401 } } // 403
6995 static const SvxMSDffHandle mso_sptTextInflateHandle
[] =
6997 { MSDFF_HANDLE_FLAGS_RANGE
,
6998 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4650 }
7000 static const sal_Int32 mso_sptTextInflateDefault
[] =
7004 static const mso_CustomShape msoTextInflate
=
7006 (SvxMSDffVertPair
*)mso_sptTextInflateVert
, sizeof( mso_sptTextInflateVert
) / sizeof( SvxMSDffVertPair
),
7007 (sal_uInt16
*)mso_sptTextCanUpSegm
, sizeof( mso_sptTextCanUpSegm
) >> 1,
7008 (SvxMSDffCalculationData
*)mso_sptTextInflateCalc
, sizeof( mso_sptTextInflateCalc
) / sizeof( SvxMSDffCalculationData
),
7009 (sal_Int32
*)mso_sptTextInflateDefault
,
7010 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7012 0x80000000, 0x80000000,
7014 (SvxMSDffHandle
*)mso_sptTextInflateHandle
, sizeof( mso_sptTextInflateHandle
) / sizeof( SvxMSDffHandle
)
7017 static const SvxMSDffVertPair mso_sptTextDeflateVert
[] =
7019 { 0, 0 }, { 3500, 1 MSO_I
}, { 7100, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 14500, 0 MSO_I
}, { 18100, 1 MSO_I
}, { 21600, 0 },
7020 { 0, 21600 }, { 3500, 3 MSO_I
}, { 7100, 2 MSO_I
}, { 10800, 2 MSO_I
}, { 14500, 2 MSO_I
}, { 18100, 3 MSO_I
}, { 21600, 21600 }
7022 static const SvxMSDffCalculationData mso_sptTextDeflateCalc
[] =
7024 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7025 { 0x2001, { 0x400, 5320, 7100 } }, // 401
7026 { 0x8000, { 21600, 0, 0x400 } }, // 402
7027 { 0x8000, { 21600, 0, 0x401 } } // 403
7029 static const SvxMSDffHandle mso_sptTextDeflateHandle
[] =
7031 { MSDFF_HANDLE_FLAGS_RANGE
,
7032 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 8100 }
7034 static const mso_CustomShape msoTextDeflate
=
7036 (SvxMSDffVertPair
*)mso_sptTextDeflateVert
, sizeof( mso_sptTextDeflateVert
) / sizeof( SvxMSDffVertPair
),
7037 (sal_uInt16
*)mso_sptTextCanUpSegm
, sizeof( mso_sptTextCanUpSegm
) >> 1,
7038 (SvxMSDffCalculationData
*)mso_sptTextDeflateCalc
, sizeof( mso_sptTextDeflateCalc
) / sizeof( SvxMSDffCalculationData
),
7039 (sal_Int32
*)mso_sptDefault8100
,
7040 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7042 0x80000000, 0x80000000,
7044 (SvxMSDffHandle
*)mso_sptTextDeflateHandle
, sizeof( mso_sptTextDeflateHandle
) / sizeof( SvxMSDffHandle
)
7047 static const SvxMSDffVertPair mso_sptTextInflateBottomVert
[] =
7049 { 0, 0 }, { 21600, 0 },
7050 { 0, 0 MSO_I
}, { 3500, 3 MSO_I
}, { 7300, 21600 }, { 10800, 21600 }, { 14300, 21600 }, { 18100, 3 MSO_I
}, { 21600, 0 MSO_I
}
7052 static const SvxMSDffCalculationData mso_sptTextInflateBottomCalc
[] =
7054 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7055 { 0x2000, { 0x400, 0, 11150 } }, // 401 0->10450
7056 { 0x2001, { 0x401, 3900, 10450 } }, // 402
7057 { 0x2000, { 0x402, 17700, 0 } } // 403
7059 static const sal_uInt16 mso_sptTextInflateBottomSegm
[] =
7061 0x4000, 0x0001, 0x8000,
7062 0x4000, 0x2002, 0x8000
7064 static const SvxMSDffHandle mso_sptTextInflateBottomHandle
[] =
7066 { MSDFF_HANDLE_FLAGS_RANGE
,
7067 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 11150, 21600 }
7069 static const sal_Int32 mso_sptTextInflateBottomDefault
[] =
7073 static const mso_CustomShape msoTextInflateBottom
=
7075 (SvxMSDffVertPair
*)mso_sptTextInflateBottomVert
, sizeof( mso_sptTextInflateBottomVert
) / sizeof( SvxMSDffVertPair
),
7076 (sal_uInt16
*)mso_sptTextInflateBottomSegm
, sizeof( mso_sptTextInflateBottomSegm
) >> 1,
7077 (SvxMSDffCalculationData
*)mso_sptTextInflateBottomCalc
, sizeof( mso_sptTextInflateBottomCalc
) / sizeof( SvxMSDffCalculationData
),
7078 (sal_Int32
*)mso_sptTextInflateBottomDefault
,
7079 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7081 0x80000000, 0x80000000,
7083 (SvxMSDffHandle
*)mso_sptTextInflateBottomHandle
, sizeof( mso_sptTextInflateBottomHandle
) / sizeof( SvxMSDffHandle
)
7086 static const SvxMSDffVertPair mso_sptTextDeflateBottomVert
[] =
7088 { 0, 0 }, { 21600, 0 },
7089 { 0, 21600 }, { 2900, 3 MSO_I
}, { 7200, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 14400, 0 MSO_I
}, { 18700, 3 MSO_I
}, { 21600, 21600 }
7091 static const SvxMSDffCalculationData mso_sptTextDeflateBottomCalc
[] =
7093 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7094 { 0x2000, { 0x400, 0, 1350 } }, // 401 0->20250
7095 { 0x2001, { 0x401, 12070, 20250 } }, // 402
7096 { 0x2000, { 0x402, 9530, 0 } } // 403
7098 static const sal_uInt16 mso_sptTextDeflateBottomSegm
[] =
7100 0x4000, 0x0001, 0x8000,
7101 0x4000, 0x2002, 0x8000
7103 static const SvxMSDffHandle mso_sptTextDeflateBottomHandle
[] =
7105 { MSDFF_HANDLE_FLAGS_RANGE
,
7106 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1350, 21600 }
7108 static const sal_Int32 mso_sptTextDeflateBottomDefault
[] =
7112 static const mso_CustomShape msoTextDeflateBottom
=
7114 (SvxMSDffVertPair
*)mso_sptTextDeflateBottomVert
, sizeof( mso_sptTextDeflateBottomVert
) / sizeof( SvxMSDffVertPair
),
7115 (sal_uInt16
*)mso_sptTextDeflateBottomSegm
, sizeof( mso_sptTextDeflateBottomSegm
) >> 1,
7116 (SvxMSDffCalculationData
*)mso_sptTextDeflateBottomCalc
, sizeof( mso_sptTextDeflateBottomCalc
) / sizeof( SvxMSDffCalculationData
),
7117 (sal_Int32
*)mso_sptTextDeflateBottomDefault
,
7118 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7120 0x80000000, 0x80000000,
7122 (SvxMSDffHandle
*)mso_sptTextDeflateBottomHandle
, sizeof( mso_sptTextDeflateBottomHandle
) / sizeof( SvxMSDffHandle
)
7125 static const SvxMSDffVertPair mso_sptTextInflateTopVert
[] =
7127 { 0, 0 MSO_I
}, { 3500, 1 MSO_I
}, { 7300, 0 }, { 10800, 0 }, { 14300, 0 }, { 18100, 1 MSO_I
}, { 21600, 0 MSO_I
},
7128 { 0, 21600 }, { 21600, 21600 }
7130 static const SvxMSDffCalculationData mso_sptTextInflateTopCalc
[] =
7132 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7133 { 0x2001, { 0x400, 3900, 10450 } } // 401
7135 static const sal_uInt16 mso_sptTextInflateTopSegm
[] =
7137 0x4000, 0x2002, 0x8000,
7138 0x4000, 0x0001, 0x8000
7140 static const SvxMSDffHandle mso_sptTextInflateTopHandle
[] =
7142 { MSDFF_HANDLE_FLAGS_RANGE
,
7143 0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10450 }
7145 static const sal_Int32 mso_sptTextInflateTopDefault
[] =
7149 static const mso_CustomShape msoTextInflateTop
=
7151 (SvxMSDffVertPair
*)mso_sptTextInflateTopVert
, sizeof( mso_sptTextInflateTopVert
) / sizeof( SvxMSDffVertPair
),
7152 (sal_uInt16
*)mso_sptTextInflateTopSegm
, sizeof( mso_sptTextInflateTopSegm
) >> 1,
7153 (SvxMSDffCalculationData
*)mso_sptTextInflateTopCalc
, sizeof( mso_sptTextInflateTopCalc
) / sizeof( SvxMSDffCalculationData
),
7154 (sal_Int32
*)mso_sptTextInflateTopDefault
,
7155 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7157 0x80000000, 0x80000000,
7159 (SvxMSDffHandle
*)mso_sptTextInflateTopHandle
, sizeof( mso_sptTextInflateTopHandle
) / sizeof( SvxMSDffHandle
)
7162 static const SvxMSDffVertPair mso_sptTextDeflateTopVert
[] =
7164 { 0, 0 }, { 2900, 1 MSO_I
}, { 7200, 0 MSO_I
}, { 10800, 0 MSO_I
}, { 14400, 0 MSO_I
}, { 18700, 1 MSO_I
}, { 21600, 0 },
7165 { 0, 21600 }, { 21600, 21600 }
7167 static const SvxMSDffCalculationData mso_sptTextDeflateTopCalc
[] =
7169 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7170 { 0x2001, { 0x400, 12070, 20250 } } // 402
7172 static const sal_uInt16 mso_sptTextDeflateTopSegm
[] =
7174 0x4000, 0x2002, 0x8000,
7175 0x4000, 0x0001, 0x8000
7177 static const SvxMSDffHandle mso_sptTextDeflateTopHandle
[] =
7179 { MSDFF_HANDLE_FLAGS_RANGE
,
7180 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 20250 }
7182 static const sal_Int32 mso_sptTextDeflateTopDefault
[] =
7186 static const mso_CustomShape msoTextDeflateTop
=
7188 (SvxMSDffVertPair
*)mso_sptTextDeflateTopVert
, sizeof( mso_sptTextDeflateTopVert
) / sizeof( SvxMSDffVertPair
),
7189 (sal_uInt16
*)mso_sptTextDeflateTopSegm
, sizeof( mso_sptTextDeflateTopSegm
) >> 1,
7190 (SvxMSDffCalculationData
*)mso_sptTextDeflateTopCalc
, sizeof( mso_sptTextDeflateTopCalc
) / sizeof( SvxMSDffCalculationData
),
7191 (sal_Int32
*)mso_sptTextDeflateTopDefault
,
7192 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7194 0x80000000, 0x80000000,
7196 (SvxMSDffHandle
*)mso_sptTextDeflateTopHandle
, sizeof( mso_sptTextDeflateTopHandle
) / sizeof( SvxMSDffHandle
)
7199 static const SvxMSDffVertPair mso_sptTextDeflateInflateVert
[] =
7201 { 0, 0 }, { 21600, 0 },
7202 { 0, 10100 }, { 3300, 3 MSO_I
}, { 7100, 5 MSO_I
}, { 10800, 5 MSO_I
}, { 14500, 5 MSO_I
}, { 18300, 3 MSO_I
}, { 21600, 10100 },
7203 { 0, 11500 }, { 3300, 4 MSO_I
}, { 7100, 6 MSO_I
}, { 10800, 6 MSO_I
}, { 14500, 6 MSO_I
}, { 18300, 4 MSO_I
}, { 21600, 11500 },
7204 { 0, 21600 }, { 21600, 21600 }
7206 static const SvxMSDffCalculationData mso_sptTextDeflateInflateCalc
[] =
7208 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }, // 400
7209 { 0x8000, { 10800, 0, 0x400 } }, // 401
7210 { 0x2001, { 0x401, 5770, 9500 } }, // 402
7211 { 0x8000, { 10100, 0, 0x402 } }, // 403
7212 { 0x8000, { 11500, 0, 0x402 } }, // 404
7213 { 0x2000, { 0x400, 0, 700 } }, // 405
7214 { 0x2000, { 0x400, 700, 0 } } // 406
7216 static const sal_uInt16 mso_sptTextDeflateInflateSegm
[] =
7218 0x4000, 0x0001, 0x8000,
7219 0x4000, 0x2002, 0x8000,
7220 0x4000, 0x2002, 0x8000,
7221 0x4000, 0x0001, 0x8000
7223 static const SvxMSDffHandle mso_sptTextDeflateInflateHandle
[] =
7225 { MSDFF_HANDLE_FLAGS_RANGE
,
7226 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1300, 20300 }
7228 static const sal_Int32 mso_sptTextDeflateInflateDefault
[] =
7232 static const mso_CustomShape msoTextDeflateInflate
=
7234 (SvxMSDffVertPair
*)mso_sptTextDeflateInflateVert
, sizeof( mso_sptTextDeflateInflateVert
) / sizeof( SvxMSDffVertPair
),
7235 (sal_uInt16
*)mso_sptTextDeflateInflateSegm
, sizeof( mso_sptTextDeflateInflateSegm
) >> 1,
7236 (SvxMSDffCalculationData
*)mso_sptTextDeflateInflateCalc
, sizeof( mso_sptTextDeflateInflateCalc
) / sizeof( SvxMSDffCalculationData
),
7237 (sal_Int32
*)mso_sptTextDeflateInflateDefault
,
7238 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7240 0x80000000, 0x80000000,
7242 (SvxMSDffHandle
*)mso_sptTextDeflateInflateHandle
, sizeof( mso_sptTextDeflateInflateHandle
) / sizeof( SvxMSDffHandle
)
7245 static const SvxMSDffVertPair mso_sptTextDeflateInflateDeflateVert
[] =
7247 { 0, 0 }, { 21600, 0 },
7248 { 0, 6600 }, { 3600, 3 MSO_I
}, { 7250, 4 MSO_I
}, { 10800, 4 MSO_I
}, { 14350, 4 MSO_I
}, { 18000, 3 MSO_I
}, { 21600, 6600 },
7249 { 0, 7500 }, { 3600, 5 MSO_I
}, { 7250, 6 MSO_I
}, { 10800, 6 MSO_I
}, { 14350, 6 MSO_I
}, { 18000, 5 MSO_I
}, { 21600, 7500 },
7250 { 0, 14100 }, { 3600, 9 MSO_I
}, { 7250, 10 MSO_I
}, { 10800, 10 MSO_I
}, { 14350, 10 MSO_I
}, { 18000, 9 MSO_I
}, { 21600, 14100 },
7251 { 0, 15000 }, { 3600, 7 MSO_I
}, { 7250, 8 MSO_I
}, { 10800, 8 MSO_I
}, { 14350, 8 MSO_I
}, { 18000, 7 MSO_I
}, { 21600, 15000 },
7252 { 0, 21600 }, { 21600, 21600 }
7254 static const SvxMSDffCalculationData mso_sptTextDeflateInflateDeflateCalc
[] =
7256 { 0x2000, { DFF_Prop_adjustValue
, 0, 850 } }, // 400
7257 { 0x2001, { 0x400, 6120, 8700 } },
7258 { 0x2000, { 0x401, 0, 4280 } },
7259 { 0x4000, { 6600, 0x402, 0 } },
7260 { 0x2000, { DFF_Prop_adjustValue
, 0, 450 } }, // 404
7261 { 0x2000, { 0x403, 900, 0 } }, // 405
7262 { 0x2000, { 0x404, 900, 0 } }, // 406
7263 { 0x8000, { 21600, 0, 0x403 } }, // 407
7264 { 0x8000, { 21600, 0, 0x404 } }, // 408
7265 { 0x8000, { 21600, 0, 0x405 } }, // 409
7266 { 0x8000, { 21600, 0, 0x406 } } // 410
7268 static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm
[] =
7270 0x4000, 0x0001, 0x8000,
7271 0x4000, 0x2002, 0x8000,
7272 0x4000, 0x2002, 0x8000,
7273 0x4000, 0x2002, 0x8000,
7274 0x4000, 0x2002, 0x8000,
7275 0x4000, 0x0001, 0x8000
7277 static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle
[] =
7279 { MSDFF_HANDLE_FLAGS_RANGE
,
7280 10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 850, 9550 }
7282 static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault
[] =
7286 static const mso_CustomShape msoTextDeflateInflateDeflate
=
7288 (SvxMSDffVertPair
*)mso_sptTextDeflateInflateDeflateVert
, sizeof( mso_sptTextDeflateInflateDeflateVert
) / sizeof( SvxMSDffVertPair
),
7289 (sal_uInt16
*)mso_sptTextDeflateInflateDeflateSegm
, sizeof( mso_sptTextDeflateInflateDeflateSegm
) >> 1,
7290 (SvxMSDffCalculationData
*)mso_sptTextDeflateInflateDeflateCalc
, sizeof( mso_sptTextDeflateInflateDeflateCalc
) / sizeof( SvxMSDffCalculationData
),
7291 (sal_Int32
*)mso_sptTextDeflateInflateDeflateDefault
,
7292 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7294 0x80000000, 0x80000000,
7296 (SvxMSDffHandle
*)mso_sptTextDeflateInflateDeflateHandle
, sizeof( mso_sptTextDeflateInflateDeflateHandle
) / sizeof( SvxMSDffHandle
)
7299 static const SvxMSDffVertPair mso_sptTextWave1Vert
[] = // adjustment1 : 0 - 4459
7300 { // adjustment2 : 8640 - 12960
7301 { 7 MSO_I
, 0 MSO_I
}, { 15 MSO_I
, 9 MSO_I
}, { 16 MSO_I
, 10 MSO_I
}, { 12 MSO_I
, 0 MSO_I
},
7302 { 29 MSO_I
, 1 MSO_I
}, { 27 MSO_I
, 28 MSO_I
}, { 25 MSO_I
, 26 MSO_I
}, { 24 MSO_I
, 1 MSO_I
}
7304 static const sal_uInt16 mso_sptTextWave1Segm
[] =
7306 0x4000, 0x2001, 0x8000,
7307 0x4000, 0x2001, 0x8000
7309 static const mso_CustomShape msoTextWave1
=
7311 (SvxMSDffVertPair
*)mso_sptTextWave1Vert
, sizeof( mso_sptTextWave1Vert
) / sizeof( SvxMSDffVertPair
),
7312 (sal_uInt16
*)mso_sptTextWave1Segm
, sizeof( mso_sptTextWave1Segm
) >> 1,
7313 (SvxMSDffCalculationData
*)mso_sptWaveCalc
, sizeof( mso_sptWaveCalc
) / sizeof( SvxMSDffCalculationData
),
7314 (sal_Int32
*)mso_sptWaveDefault
,
7315 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7317 0x80000000, 0x80000000,
7318 (SvxMSDffVertPair
*)mso_sptWaveGluePoints
, sizeof( mso_sptWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
7319 (SvxMSDffHandle
*)mso_sptWaveHandle
, sizeof( mso_sptWaveHandle
) / sizeof( SvxMSDffHandle
)
7322 static const SvxMSDffVertPair mso_sptTextWave2Vert
[] = // adjustment1 : 0 - 4459
7323 { // adjustment2 : 8640 - 12960
7324 { 7 MSO_I
, 0 MSO_I
}, { 15 MSO_I
, 10 MSO_I
}, { 16 MSO_I
, 9 MSO_I
}, { 12 MSO_I
, 0 MSO_I
},
7325 { 29 MSO_I
, 1 MSO_I
}, { 27 MSO_I
, 26 MSO_I
}, { 25 MSO_I
, 28 MSO_I
}, { 24 MSO_I
, 1 MSO_I
}
7327 static const mso_CustomShape msoTextWave2
=
7329 (SvxMSDffVertPair
*)mso_sptTextWave2Vert
, sizeof( mso_sptTextWave2Vert
) / sizeof( SvxMSDffVertPair
),
7330 (sal_uInt16
*)mso_sptTextWave1Segm
, sizeof( mso_sptTextWave1Segm
) >> 1,
7331 (SvxMSDffCalculationData
*)mso_sptWaveCalc
, sizeof( mso_sptWaveCalc
) / sizeof( SvxMSDffCalculationData
),
7332 (sal_Int32
*)mso_sptWaveDefault
,
7333 (SvxMSDffTextRectangles
*)mso_sptFontWorkTextRect
, sizeof( mso_sptFontWorkTextRect
) / sizeof( SvxMSDffTextRectangles
),
7335 0x80000000, 0x80000000,
7336 (SvxMSDffVertPair
*)mso_sptWaveGluePoints
, sizeof( mso_sptWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
7337 (SvxMSDffHandle
*)mso_sptWaveHandle
, sizeof( mso_sptWaveHandle
) / sizeof( SvxMSDffHandle
)
7340 static const SvxMSDffVertPair mso_sptTextWave3Vert
[] = // adjustment1 : 0 - 2230
7341 { // adjustment2 : 8640 - 12960
7342 { 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
},
7343 { 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
}
7345 static const sal_uInt16 mso_sptTextWave3Segm
[] =
7347 0x4000, 0x2002, 0x8000,
7348 0x4000, 0x2002, 0x8000
7350 static const mso_CustomShape msoTextWave3
=
7352 (SvxMSDffVertPair
*)mso_sptTextWave3Vert
, sizeof( mso_sptTextWave3Vert
) / sizeof( SvxMSDffVertPair
),
7353 (sal_uInt16
*)mso_sptTextWave3Segm
, sizeof( mso_sptTextWave3Segm
) >> 1,
7354 (SvxMSDffCalculationData
*)mso_sptDoubleWaveCalc
, sizeof( mso_sptDoubleWaveCalc
) / sizeof( SvxMSDffCalculationData
),
7355 (sal_Int32
*)mso_sptDoubleWaveDefault
,
7356 (SvxMSDffTextRectangles
*)mso_sptDoubleWaveTextRect
, sizeof( mso_sptDoubleWaveTextRect
) / sizeof( SvxMSDffTextRectangles
),
7358 0x80000000, 0x80000000,
7359 (SvxMSDffVertPair
*)mso_sptDoubleWaveGluePoints
, sizeof( mso_sptDoubleWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
7360 (SvxMSDffHandle
*)mso_sptDoubleWaveHandle
, sizeof( mso_sptDoubleWaveHandle
) / sizeof( SvxMSDffHandle
)
7363 static const SvxMSDffVertPair mso_sptTextWave4Vert
[] = // adjustment1 : 0 - 2230
7364 { // adjustment2 : 8640 - 12960
7365 { 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
},
7366 { 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
}
7368 static const mso_CustomShape msoTextWave4
=
7370 (SvxMSDffVertPair
*)mso_sptTextWave4Vert
, sizeof( mso_sptTextWave4Vert
) / sizeof( SvxMSDffVertPair
),
7371 (sal_uInt16
*)mso_sptTextWave3Segm
, sizeof( mso_sptTextWave3Segm
) >> 1,
7372 (SvxMSDffCalculationData
*)mso_sptDoubleWaveCalc
, sizeof( mso_sptDoubleWaveCalc
) / sizeof( SvxMSDffCalculationData
),
7373 (sal_Int32
*)mso_sptDoubleWaveDefault
,
7374 (SvxMSDffTextRectangles
*)mso_sptDoubleWaveTextRect
, sizeof( mso_sptDoubleWaveTextRect
) / sizeof( SvxMSDffTextRectangles
),
7376 0x80000000, 0x80000000,
7377 (SvxMSDffVertPair
*)mso_sptDoubleWaveGluePoints
, sizeof( mso_sptDoubleWaveGluePoints
) / sizeof( SvxMSDffVertPair
),
7378 (SvxMSDffHandle
*)mso_sptDoubleWaveHandle
, sizeof( mso_sptDoubleWaveHandle
) / sizeof( SvxMSDffHandle
)
7381 static const sal_Int32 mso_sptCalloutDefault1
[] =
7383 4, -1800, 24500, -1800, 4000
7385 static const sal_Int32 mso_sptCalloutDefault2
[] =
7387 4, -8300, 24500, -1800, 4000
7389 static const sal_Int32 mso_sptCalloutDefault3
[] =
7391 6, -10000, 24500, -3600, 4000, -1800, 4000
7393 static const sal_Int32 mso_sptCalloutDefault4
[] =
7395 8, 23400, 24500, 25200, 21600, 25200, 4000, 23400, 4000
7397 static const SvxMSDffVertPair mso_sptCalloutVert1
[] =
7399 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }, { 0, 21600 }, { 0 MSO_I
, 1 MSO_I
}, { 2 MSO_I
, 3 MSO_I
}
7401 static const SvxMSDffHandle mso_sptCalloutHandle1
[] =
7404 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7406 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7408 static const sal_uInt16 mso_sptCalloutSegm1a
[] =
7410 0x4000, 0x0003, 0x6000, 0x8000,
7411 0x4000, 0x0001, 0x8000
7413 static const sal_uInt16 mso_sptCalloutSegm1b
[] =
7415 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7416 0x4000, 0x0001, 0x8000
7418 static const SvxMSDffVertPair mso_sptCallout1Vert
[] =
7420 { 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 }
7422 static const sal_uInt16 mso_sptCallout1Segm1a
[] =
7424 0x4000, 0x0003, 0x6000, 0x8000,
7425 0x4000, 0x0001, 0x8000,
7426 0x4000, 0x0001, 0x8000
7428 static const sal_uInt16 mso_sptCallout1Segm1b
[] =
7430 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7431 0x4000, 0x0001, 0x8000,
7432 0x4000, 0x0001, 0x8000
7434 static const SvxMSDffVertPair mso_sptCallout2Verta
[] =
7436 { 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
}
7438 static const SvxMSDffVertPair mso_sptCallout2Vertb
[] =
7440 { 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 }
7442 static const SvxMSDffHandle mso_sptCalloutHandle2
[] =
7445 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7447 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7449 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7451 static const sal_uInt16 mso_sptCallout2Segm1a
[] =
7453 0x4000, 0x0003, 0x6000, 0x8000,
7454 0x4000, 0x0001, 0x8000,
7455 0x4000, 0x0001, 0x8000,
7456 0x4000, 0x0001, 0x8000
7458 static const sal_uInt16 mso_sptCallout2Segm1b
[] =
7460 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7461 0x4000, 0x0001, 0x8000,
7462 0x4000, 0x0001, 0x8000,
7463 0x4000, 0x0001, 0x8000
7465 static const sal_uInt16 mso_sptCallout2Segm1c
[] =
7467 0x4000, 0x0003, 0x6000, 0x8000,
7468 0x4000, 0x0001, 0x8000,
7469 0x4000, 0x0001, 0x8000,
7470 0x4000, 0x0001, 0x8000,
7471 0x4000, 0x0001, 0x8000
7473 static const sal_uInt16 mso_sptCallout2Segm1d
[] =
7475 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7476 0x4000, 0x0001, 0x8000,
7477 0x4000, 0x0001, 0x8000,
7478 0x4000, 0x0001, 0x8000,
7479 0x4000, 0x0001, 0x8000
7481 static const SvxMSDffVertPair mso_sptCallout3Verta
[] =
7483 { 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
}
7485 static const SvxMSDffVertPair mso_sptCallout3Vertb
[] =
7487 { 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 }
7489 static const SvxMSDffHandle mso_sptCalloutHandle3
[] =
7492 0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7494 0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7496 0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
7498 0x106, 0x107, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7500 static const sal_uInt16 mso_sptCallout3Segm1a
[] =
7502 0x4000, 0x0003, 0x6000, 0x8000,
7503 0x4000, 0xaa00, 0x0003, 0x8000 // NO_FILL
7505 static const sal_uInt16 mso_sptCallout3Segm1b
[] =
7507 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7508 0x4000, 0xaa00, 0x0003, 0x8000 // NO FILL
7510 static const sal_uInt16 mso_sptCallout3Segm1c
[] =
7512 0x4000, 0x0003, 0x6000, 0x8000,
7513 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL
7514 0x4000, 0x0001, 0x8000
7516 static const sal_uInt16 mso_sptCallout3Segm1d
[] =
7518 0x4000, 0xab00, 0x0003, 0x6000, 0x8000, // NO STROKE
7519 0x4000, 0xaa00, 0x0003, 0x8000, // NO FILL
7520 0x4000, 0x0001, 0x8000
7523 static const SvxMSDffCalculationData mso_sptCalloutCalc
[] =
7525 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
7526 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
7527 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
7528 { 0x2000, { DFF_Prop_adjust4Value
, 0, 0 } },
7529 { 0x2000, { DFF_Prop_adjust5Value
, 0, 0 } },
7530 { 0x2000, { DFF_Prop_adjust6Value
, 0, 0 } },
7531 { 0x2000, { DFF_Prop_adjust7Value
, 0, 0 } },
7532 { 0x2000, { DFF_Prop_adjust8Value
, 0, 0 } }
7535 static const mso_CustomShape msoCallout90
=
7537 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7538 (sal_uInt16
*)mso_sptCalloutSegm1b
, sizeof( mso_sptCalloutSegm1b
) >> 1,
7539 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7540 (sal_Int32
*)mso_sptCalloutDefault1
,
7543 0x80000000, 0x80000000,
7545 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7547 static const mso_CustomShape msoCallout1
=
7549 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7550 (sal_uInt16
*)mso_sptCalloutSegm1b
, sizeof( mso_sptCalloutSegm1b
) >> 1,
7551 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7552 (sal_Int32
*)mso_sptCalloutDefault2
,
7555 0x80000000, 0x80000000,
7557 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7559 static const mso_CustomShape msoCallout2
=
7561 (SvxMSDffVertPair
*)mso_sptCallout2Verta
, sizeof( mso_sptCallout2Verta
) / sizeof( SvxMSDffVertPair
),
7562 (sal_uInt16
*)mso_sptCallout2Segm1b
, sizeof( mso_sptCallout2Segm1b
) >> 1,
7563 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7564 (sal_Int32
*)mso_sptCalloutDefault3
,
7567 0x80000000, 0x80000000,
7569 (SvxMSDffHandle
*)mso_sptCalloutHandle2
, sizeof( mso_sptCalloutHandle2
) / sizeof( SvxMSDffHandle
)
7571 static const mso_CustomShape msoCallout3
=
7573 (SvxMSDffVertPair
*)mso_sptCallout3Verta
, sizeof( mso_sptCallout3Verta
) / sizeof( SvxMSDffVertPair
),
7574 (sal_uInt16
*)mso_sptCallout3Segm1b
, sizeof( mso_sptCallout3Segm1b
) >> 1,
7575 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7576 (sal_Int32
*)mso_sptCalloutDefault4
,
7579 0x80000000, 0x80000000,
7581 (SvxMSDffHandle
*)mso_sptCalloutHandle3
, sizeof( mso_sptCalloutHandle3
) / sizeof( SvxMSDffHandle
)
7583 static const mso_CustomShape msoAccentCallout90
=
7585 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7586 (sal_uInt16
*)mso_sptCalloutSegm1b
, sizeof( mso_sptCalloutSegm1b
) >> 1,
7587 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7588 (sal_Int32
*)mso_sptCalloutDefault1
,
7591 0x80000000, 0x80000000,
7593 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7595 static const mso_CustomShape msoAccentCallout1
=
7597 (SvxMSDffVertPair
*)mso_sptCallout1Vert
, sizeof( mso_sptCallout1Vert
) / sizeof( SvxMSDffVertPair
),
7598 (sal_uInt16
*)mso_sptCallout1Segm1b
, sizeof( mso_sptCallout1Segm1b
) >> 1,
7599 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7600 (sal_Int32
*)mso_sptCalloutDefault2
,
7603 0x80000000, 0x80000000,
7605 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7607 static const mso_CustomShape msoAccentCallout2
=
7609 (SvxMSDffVertPair
*)mso_sptCallout2Vertb
, sizeof( mso_sptCallout2Vertb
) / sizeof( SvxMSDffVertPair
),
7610 (sal_uInt16
*)mso_sptCallout2Segm1d
, sizeof( mso_sptCallout2Segm1d
) >> 1,
7611 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7612 (sal_Int32
*)mso_sptCalloutDefault3
,
7615 0x80000000, 0x80000000,
7617 (SvxMSDffHandle
*)mso_sptCalloutHandle2
, sizeof( mso_sptCalloutHandle2
) / sizeof( SvxMSDffHandle
)
7619 static const mso_CustomShape msoAccentCallout3
=
7621 (SvxMSDffVertPair
*)mso_sptCallout3Vertb
, sizeof( mso_sptCallout3Vertb
) / sizeof( SvxMSDffVertPair
),
7622 (sal_uInt16
*)mso_sptCallout3Segm1d
, sizeof( mso_sptCallout3Segm1d
) >> 1,
7623 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7624 (sal_Int32
*)mso_sptCalloutDefault4
,
7627 0x80000000, 0x80000000,
7629 (SvxMSDffHandle
*)mso_sptCalloutHandle3
, sizeof( mso_sptCalloutHandle3
) / sizeof( SvxMSDffHandle
)
7631 static const mso_CustomShape msoBorderCallout90
=
7633 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7634 (sal_uInt16
*)mso_sptCalloutSegm1a
, sizeof( mso_sptCalloutSegm1a
) >> 1,
7635 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7636 (sal_Int32
*)mso_sptCalloutDefault1
,
7639 0x80000000, 0x80000000,
7641 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7643 static const mso_CustomShape msoBorderCallout1
=
7645 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7646 (sal_uInt16
*)mso_sptCalloutSegm1a
, sizeof( mso_sptCalloutSegm1a
) >> 1,
7647 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7648 (sal_Int32
*)mso_sptCalloutDefault2
,
7651 0x80000000, 0x80000000,
7653 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7655 static const mso_CustomShape msoBorderCallout2
=
7657 (SvxMSDffVertPair
*)mso_sptCallout2Verta
, sizeof( mso_sptCallout2Verta
) / sizeof( SvxMSDffVertPair
),
7658 (sal_uInt16
*)mso_sptCallout2Segm1a
, sizeof( mso_sptCallout2Segm1a
) >> 1,
7659 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7660 (sal_Int32
*)mso_sptCalloutDefault3
,
7663 0x80000000, 0x80000000,
7665 (SvxMSDffHandle
*)mso_sptCalloutHandle2
, sizeof( mso_sptCalloutHandle2
) / sizeof( SvxMSDffHandle
)
7667 static const mso_CustomShape msoBorderCallout3
=
7669 (SvxMSDffVertPair
*)mso_sptCallout3Verta
, sizeof( mso_sptCallout3Verta
) / sizeof( SvxMSDffVertPair
),
7670 (sal_uInt16
*)mso_sptCallout3Segm1a
, sizeof( mso_sptCallout3Segm1a
) >> 1,
7671 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7672 (sal_Int32
*)mso_sptCalloutDefault4
,
7675 0x80000000, 0x80000000,
7677 (SvxMSDffHandle
*)mso_sptCalloutHandle3
, sizeof( mso_sptCalloutHandle3
) / sizeof( SvxMSDffHandle
)
7679 static const mso_CustomShape msoAccentBorderCallout90
=
7681 (SvxMSDffVertPair
*)mso_sptCalloutVert1
, sizeof( mso_sptCalloutVert1
) / sizeof( SvxMSDffVertPair
),
7682 (sal_uInt16
*)mso_sptCalloutSegm1a
, sizeof( mso_sptCalloutSegm1a
) >> 1,
7683 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7684 (sal_Int32
*)mso_sptCalloutDefault1
,
7687 0x80000000, 0x80000000,
7689 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7691 static const mso_CustomShape msoAccentBorderCallout1
=
7693 (SvxMSDffVertPair
*)mso_sptCallout1Vert
, sizeof( mso_sptCallout1Vert
) / sizeof( SvxMSDffVertPair
),
7694 (sal_uInt16
*)mso_sptCallout1Segm1a
, sizeof( mso_sptCallout1Segm1a
) >> 1,
7695 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7696 (sal_Int32
*)mso_sptCalloutDefault2
,
7699 0x80000000, 0x80000000,
7701 (SvxMSDffHandle
*)mso_sptCalloutHandle1
, sizeof( mso_sptCalloutHandle1
) / sizeof( SvxMSDffHandle
)
7703 static const mso_CustomShape msoAccentBorderCallout2
=
7705 (SvxMSDffVertPair
*)mso_sptCallout2Vertb
, sizeof( mso_sptCallout2Vertb
) / sizeof( SvxMSDffVertPair
),
7706 (sal_uInt16
*)mso_sptCallout2Segm1c
, sizeof( mso_sptCallout2Segm1c
) >> 1,
7707 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7708 (sal_Int32
*)mso_sptCalloutDefault3
,
7711 0x80000000, 0x80000000,
7713 (SvxMSDffHandle
*)mso_sptCalloutHandle2
, sizeof( mso_sptCalloutHandle2
) / sizeof( SvxMSDffHandle
)
7715 static const mso_CustomShape msoAccentBorderCallout3
=
7717 (SvxMSDffVertPair
*)mso_sptCallout3Vertb
, sizeof( mso_sptCallout3Vertb
) / sizeof( SvxMSDffVertPair
),
7718 (sal_uInt16
*)mso_sptCallout3Segm1c
, sizeof( mso_sptCallout3Segm1c
) >> 1,
7719 (SvxMSDffCalculationData
*)mso_sptCalloutCalc
, sizeof( mso_sptCalloutCalc
) / sizeof( SvxMSDffCalculationData
),
7720 (sal_Int32
*)mso_sptCalloutDefault4
,
7723 0x80000000, 0x80000000,
7725 (SvxMSDffHandle
*)mso_sptCalloutHandle3
, sizeof( mso_sptCalloutHandle3
) / sizeof( SvxMSDffHandle
)
7728 static const SvxMSDffVertPair mso_sptStraightConnector1Vert
[] =
7730 { 0, 0 }, { 21600, 21600 }
7732 static const sal_uInt16 mso_sptStraightConnector1Segm
[] =
7734 0x4000, 0x0001, 0x8000
7736 static const mso_CustomShape msoStraightConnector1
=
7738 (SvxMSDffVertPair
*)mso_sptStraightConnector1Vert
, sizeof( mso_sptStraightConnector1Vert
) / sizeof( SvxMSDffVertPair
),
7739 (sal_uInt16
*)mso_sptStraightConnector1Segm
, sizeof( mso_sptStraightConnector1Segm
) >> 1,
7740 (SvxMSDffCalculationData
*)NULL
, 0,
7744 0x80000000, 0x80000000,
7746 (SvxMSDffHandle
*)NULL
, 0
7749 static const SvxMSDffVertPair mso_sptBentConnector2Vert
[] =
7751 { 0, 0 }, { 21600, 0 }, { 21600, 21600 }
7753 static const sal_uInt16 mso_sptBentConnector2Segm
[] =
7755 0x4000, 0x0002, 0x8000
7757 static const mso_CustomShape msoBentConnector2
=
7759 (SvxMSDffVertPair
*)mso_sptBentConnector2Vert
, sizeof( mso_sptBentConnector2Vert
) / sizeof( SvxMSDffVertPair
),
7760 (sal_uInt16
*)mso_sptBentConnector2Segm
, sizeof( mso_sptBentConnector2Segm
) >> 1,
7761 (SvxMSDffCalculationData
*)NULL
, 0,
7765 0x80000000, 0x80000000,
7767 (SvxMSDffHandle
*)NULL
, 0
7770 static const SvxMSDffVertPair mso_sptBentConnector3Vert
[] =
7772 { 0, 0 }, { 0 MSO_I
, 0 }, { 0 MSO_I
, 21600 }, { 21600, 21600 }
7774 static const sal_uInt16 mso_sptBentConnector3Segm
[] =
7776 0x4000, 0x0003, 0x8000
7778 static const SvxMSDffCalculationData mso_sptBentConnector3Calc
[] =
7780 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } }
7782 static const sal_Int32 mso_sptBentConnector3Default
[] =
7786 static const SvxMSDffHandle mso_sptBentConnector3Handle
[] =
7788 { MSDFF_HANDLE_FLAGS_RANGE
,
7789 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7791 static const mso_CustomShape msoBentConnector3
=
7793 (SvxMSDffVertPair
*)mso_sptBentConnector3Vert
, sizeof( mso_sptBentConnector3Vert
) / sizeof( SvxMSDffVertPair
),
7794 (sal_uInt16
*)mso_sptBentConnector3Segm
, sizeof( mso_sptBentConnector3Segm
) >> 1,
7795 (SvxMSDffCalculationData
*)mso_sptBentConnector3Calc
, sizeof( mso_sptBentConnector3Calc
) / sizeof( SvxMSDffCalculationData
),
7796 (sal_Int32
*)mso_sptBentConnector3Default
,
7799 0x80000000, 0x80000000,
7801 (SvxMSDffHandle
*)mso_sptBentConnector3Handle
, sizeof( mso_sptBentConnector3Handle
) / sizeof( SvxMSDffHandle
)
7804 static const SvxMSDffVertPair mso_sptBentConnector4Vert
[] =
7806 { 0, 0 }, { 0 MSO_I
, 0 }, { 0 MSO_I
, 1 MSO_I
}, { 21600, 1 MSO_I
}, { 21600, 21600 }
7808 static const sal_uInt16 mso_sptBentConnector4Segm
[] =
7810 0x4000, 0x0004, 0x8000
7812 static const SvxMSDffCalculationData mso_sptBentConnector4Calc
[] =
7814 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
7815 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
7816 { 0x2000, { 0x400, 21600, 0 } },
7817 { 0x2001, { 0x402, 1, 2 } },
7818 { 0x2001, { 0x401, 1, 2 } }
7820 static const sal_Int32 mso_sptBentConnector4Default
[] =
7824 static const SvxMSDffHandle mso_sptBentConnector4Handle
[] =
7826 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
7827 0x100, 4 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 4 + 3, 4 + 3 },
7828 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
7829 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
7831 static const mso_CustomShape msoBentConnector4
=
7833 (SvxMSDffVertPair
*)mso_sptBentConnector4Vert
, sizeof( mso_sptBentConnector4Vert
) / sizeof( SvxMSDffVertPair
),
7834 (sal_uInt16
*)mso_sptBentConnector4Segm
, sizeof( mso_sptBentConnector4Segm
) >> 1,
7835 (SvxMSDffCalculationData
*)mso_sptBentConnector4Calc
, sizeof( mso_sptBentConnector4Calc
) / sizeof( SvxMSDffCalculationData
),
7836 (sal_Int32
*)mso_sptBentConnector4Default
,
7839 0x80000000, 0x80000000,
7841 (SvxMSDffHandle
*)mso_sptBentConnector4Handle
, sizeof( mso_sptBentConnector4Handle
) / sizeof( SvxMSDffHandle
)
7844 static const SvxMSDffVertPair mso_sptBentConnector5Vert
[] =
7846 { 0, 0 }, { 0 MSO_I
, 0 }, { 0 MSO_I
, 4 MSO_I
}, { 1 MSO_I
, 4 MSO_I
}, { 1 MSO_I
, 21600 }, { 21600, 21600 }
7848 static const sal_uInt16 mso_sptBentConnector5Segm
[] =
7850 0x4000, 0x0005, 0x8000
7852 static const SvxMSDffCalculationData mso_sptBentConnector5Calc
[] =
7854 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
7855 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
7856 { 0x6000, { 0x400, 0x401, 0 } },
7857 { 0x2001, { 0x402, 1, 2 } },
7858 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
7859 { 0x2001, { 0x404, 1, 2 } },
7860 { 0x4000, { 21600, 0x404, 0 } },
7861 { 0x2001, { 0x406, 1, 2 } }
7863 static const sal_Int32 mso_sptBentConnector5Default
[] =
7865 3, 10800, 10800, 10800
7867 static const SvxMSDffHandle mso_sptBentConnector5Handle
[] =
7869 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
7870 0x100, 5 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 5 + 3, 5 + 3 },
7871 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
7872 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
7873 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
7874 0x102, 7 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 7 + 3, 7 + 3 }
7876 static const mso_CustomShape msoBentConnector5
=
7878 (SvxMSDffVertPair
*)mso_sptBentConnector5Vert
, sizeof( mso_sptBentConnector5Vert
) / sizeof( SvxMSDffVertPair
),
7879 (sal_uInt16
*)mso_sptBentConnector5Segm
, sizeof( mso_sptBentConnector5Segm
) >> 1,
7880 (SvxMSDffCalculationData
*)mso_sptBentConnector5Calc
, sizeof( mso_sptBentConnector5Calc
) / sizeof( SvxMSDffCalculationData
),
7881 (sal_Int32
*)mso_sptBentConnector5Default
,
7884 0x80000000, 0x80000000,
7886 (SvxMSDffHandle
*)mso_sptBentConnector5Handle
, sizeof( mso_sptBentConnector5Handle
) / sizeof( SvxMSDffHandle
)
7889 static const SvxMSDffVertPair mso_sptCurvedConnector2Vert
[] =
7891 { 0, 0 }, { 10800, 0 }, { 21600, 10800 }, { 21600, 21600 }
7893 static const sal_uInt16 mso_sptCurvedConnector2Segm
[] =
7895 0x4000, 0x2001, 0x8000
7897 static const mso_CustomShape msoCurvedConnector2
=
7899 (SvxMSDffVertPair
*)mso_sptCurvedConnector2Vert
, sizeof( mso_sptCurvedConnector2Vert
) / sizeof( SvxMSDffVertPair
),
7900 (sal_uInt16
*)mso_sptCurvedConnector2Segm
, sizeof( mso_sptCurvedConnector2Segm
) >> 1,
7901 (SvxMSDffCalculationData
*)NULL
, 0,
7905 0x80000000, 0x80000000,
7907 (SvxMSDffHandle
*)NULL
, 0
7910 static const SvxMSDffVertPair mso_sptCurvedConnector3Vert
[] =
7912 { 0, 0 }, { 1 MSO_I
, 0 }, { 0 MSO_I
, 5400 }, { 0 MSO_I
, 10800 }, { 0 MSO_I
, 16200 }, { 3 MSO_I
, 21600 }, { 21600, 21600 }
7914 static const sal_uInt16 mso_sptCurvedConnector3Segm
[] =
7916 0x4000, 0x2002, 0x8000
7918 static const SvxMSDffCalculationData mso_sptCurvedConnector3Calc
[] =
7920 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
7921 { 0x2001, { 0x400, 1, 2 } },
7922 { 0x2000, { 0x400, 21600, 0 } },
7923 { 0x2001, { 0x402, 1, 2 } }
7925 static const sal_Int32 mso_sptCurvedConnector3Default
[] =
7929 static const SvxMSDffHandle mso_sptCurvedConnector3Handle
[] =
7931 { MSDFF_HANDLE_FLAGS_RANGE
,
7932 0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
7934 static const mso_CustomShape msoCurvedConnector3
=
7936 (SvxMSDffVertPair
*)mso_sptCurvedConnector3Vert
, sizeof( mso_sptCurvedConnector3Vert
) / sizeof( SvxMSDffVertPair
),
7937 (sal_uInt16
*)mso_sptCurvedConnector3Segm
, sizeof( mso_sptCurvedConnector3Segm
) >> 1,
7938 (SvxMSDffCalculationData
*)mso_sptCurvedConnector3Calc
, sizeof( mso_sptCurvedConnector3Calc
) / sizeof( SvxMSDffCalculationData
),
7939 (sal_Int32
*)mso_sptCurvedConnector3Default
,
7942 0x80000000, 0x80000000,
7944 (SvxMSDffHandle
*)mso_sptCurvedConnector3Handle
, sizeof( mso_sptCurvedConnector3Handle
) / sizeof( SvxMSDffHandle
)
7947 static const SvxMSDffVertPair mso_sptCurvedConnector4Vert
[] =
7949 { 0, 0 }, { 1 MSO_I
, 0 }, { 0 MSO_I
, 10 MSO_I
}, { 0 MSO_I
, 9 MSO_I
},
7950 { 0 MSO_I
, 12 MSO_I
}, { 5 MSO_I
, 8 MSO_I
}, { 3 MSO_I
, 8 MSO_I
},
7951 { 7 MSO_I
, 8 MSO_I
}, { 21600, 14 MSO_I
}, { 21600, 21600 }
7954 static const sal_uInt16 mso_sptCurvedConnector4Segm
[] =
7956 0x4000, 0x2003, 0x8000
7958 static const SvxMSDffCalculationData mso_sptCurvedConnector4Calc
[] =
7960 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
7961 { 0x2001, { 0x400, 1, 2 } },
7962 { 0x4000, { 21600, 0x400, 0 } },
7963 { 0x2001, { 0x402, 1, 2 } },
7964 { 0x6000, { 0x400, 0x403, 0 } },
7965 { 0x2001, { 0x404, 1, 2 } },
7966 { 0x2000, { 0x403, 21600, 0 } },
7967 { 0x2001, { 0x406, 1, 2 } },
7968 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
7969 { 0x2001, { DFF_Prop_adjust2Value
, 1, 2 } },
7970 { 0x2001, { DFF_Prop_adjust2Value
, 1, 4 } },
7971 { 0x6000, { 0x408, 0x409, 0 } },
7972 { 0x2001, { 0x40b, 1, 2 } },
7973 { 0x2000, { 0x408, 21600, 0 } },
7974 { 0x2001, { 0x40d, 1, 2 } }
7976 static const sal_Int32 mso_sptCurvedConnector4Default
[] =
7980 static const SvxMSDffHandle mso_sptCurvedConnector4Handle
[] =
7982 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
7983 0x100, 9 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 9 + 3, 9 + 3 },
7984 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
7985 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
7987 static const mso_CustomShape msoCurvedConnector4
=
7989 (SvxMSDffVertPair
*)mso_sptCurvedConnector4Vert
, sizeof( mso_sptCurvedConnector4Vert
) / sizeof( SvxMSDffVertPair
),
7990 (sal_uInt16
*)mso_sptCurvedConnector4Segm
, sizeof( mso_sptCurvedConnector4Segm
) >> 1,
7991 (SvxMSDffCalculationData
*)mso_sptCurvedConnector4Calc
, sizeof( mso_sptCurvedConnector4Calc
) / sizeof( SvxMSDffCalculationData
),
7992 (sal_Int32
*)mso_sptCurvedConnector4Default
,
7995 0x80000000, 0x80000000,
7997 (SvxMSDffHandle
*)mso_sptCurvedConnector4Handle
, sizeof( mso_sptCurvedConnector4Handle
) / sizeof( SvxMSDffHandle
)
8000 static const SvxMSDffVertPair mso_sptCurvedConnector5Vert
[] =
8003 { 21 MSO_I
, 0 }, { 0 MSO_I
, 12 MSO_I
}, { 0 MSO_I
, 11 MSO_I
},
8004 { 0 MSO_I
, 14 MSO_I
}, { 6 MSO_I
, 4 MSO_I
}, { 3 MSO_I
, 4 MSO_I
},
8005 { 8 MSO_I
, 4 MSO_I
}, { 1 MSO_I
, 18 MSO_I
}, { 1 MSO_I
, 16 MSO_I
},
8006 { 1 MSO_I
, 20 MSO_I
}, { 10 MSO_I
, 21600 }, { 21600, 21600 }
8008 static const sal_uInt16 mso_sptCurvedConnector5Segm
[] =
8010 0x4000, 0x2004, 0x8000
8012 static const SvxMSDffCalculationData mso_sptCurvedConnector5Calc
[] =
8014 { 0x2000, { DFF_Prop_adjustValue
, 0, 0 } },
8015 { 0x2000, { DFF_Prop_adjust3Value
, 0, 0 } },
8016 { 0x6000, { 0x400, 0x401, 0 } },
8017 { 0x2001, { 0x402, 1, 2 } },
8018 { 0x2000, { DFF_Prop_adjust2Value
, 0, 0 } },
8019 { 0x6000, { 0x400, 0x403, 0 } },
8020 { 0x2001, { 0x405, 1, 2 } },
8021 { 0x6000, { 0x401, 0x403, 0 } },
8022 { 0x2001, { 0x407, 1, 2 } },
8023 { 0x2000, { 0x401, 21600, 0 } },
8024 { 0x2001, { 0x409, 1, 2 } },
8025 { 0x2001, { 0x404, 1, 2 } },
8026 { 0x2001, { 0x40b, 1, 2 } },
8027 { 0x6000, { 0x404, 0x40b, 0 } },
8028 { 0x2001, { 0x40d, 1, 2 } },
8029 { 0x2000, { 0x404, 21600, 0 } },
8030 { 0x2001, { 0x40f, 1, 2 } },
8031 { 0x6000, { 0x404, 0x410, 0 } },
8032 { 0x2001, { 0x411, 1, 2 } },
8033 { 0x2000, { 0x410, 21600, 0 } },
8034 { 0x2001, { 0x413, 1, 2 } },
8035 { 0x2001, { 0x400, 1, 2 } }
8037 static const sal_Int32 mso_sptCurvedConnector5Default
[] =
8039 3, 10800, 10800, 10800
8041 static const SvxMSDffHandle mso_sptCurvedConnector5Handle
[] =
8043 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
8044 0x100, 11 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 11 + 3, 11 + 3 },
8045 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL
,
8046 3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
8047 { MSDFF_HANDLE_FLAGS_RANGE
| MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL
| MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL
,
8048 0x102, 16 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 16 + 3, 16 + 3 }
8050 static const mso_CustomShape msoCurvedConnector5
=
8052 (SvxMSDffVertPair
*)mso_sptCurvedConnector5Vert
, sizeof( mso_sptCurvedConnector5Vert
) / sizeof( SvxMSDffVertPair
),
8053 (sal_uInt16
*)mso_sptCurvedConnector5Segm
, sizeof( mso_sptCurvedConnector5Segm
) >> 1,
8054 (SvxMSDffCalculationData
*)mso_sptCurvedConnector5Calc
, sizeof( mso_sptCurvedConnector5Calc
) / sizeof( SvxMSDffCalculationData
),
8055 (sal_Int32
*)mso_sptCurvedConnector5Default
,
8058 0x80000000, 0x80000000,
8060 (SvxMSDffHandle
*)mso_sptCurvedConnector5Handle
, sizeof( mso_sptCurvedConnector5Handle
) / sizeof( SvxMSDffHandle
)
8063 const mso_CustomShape
* GetCustomShapeContent( MSO_SPT eSpType
)
8065 const mso_CustomShape
* pCustomShape
= NULL
;
8068 case mso_sptArc
: pCustomShape
= &msoArc
; break;
8069 case mso_sptRectangle
: pCustomShape
= &msoRectangle
; break;
8070 case mso_sptParallelogram
: pCustomShape
= &msoParallelogram
; break;
8071 case mso_sptTrapezoid
: pCustomShape
= &msoTrapezoid
; break;
8072 case mso_sptDiamond
: pCustomShape
= &msoDiamond
; break;
8073 case mso_sptRoundRectangle
: pCustomShape
= &msoRoundRectangle
; break;
8074 case mso_sptOctagon
: pCustomShape
= &msoOctagon
; break;
8075 case mso_sptIsocelesTriangle
: pCustomShape
= &msoIsocelesTriangle
; break;
8076 case mso_sptRightTriangle
: pCustomShape
= &msoRightTriangle
; break;
8077 case mso_sptEllipse
: pCustomShape
= &msoEllipse
; break;
8078 case mso_sptHexagon
: pCustomShape
= &msoHexagon
; break;
8079 case mso_sptPlus
: pCustomShape
= &msoPlus
; break;
8080 case mso_sptPentagon
: pCustomShape
= &msoPentagon
; break;
8081 case mso_sptCan
: pCustomShape
= &msoCan
; break;
8082 case mso_sptCube
: pCustomShape
= &msoCube
; break;
8083 case mso_sptBalloon
: pCustomShape
= &msoBalloon
; break;
8084 case mso_sptActionButtonBlank
: pCustomShape
= &msoActionButtonBlank
; break;
8085 case mso_sptActionButtonHome
: pCustomShape
= &msoActionButtonHome
; break;
8086 case mso_sptActionButtonHelp
: pCustomShape
= &msoActionButtonHelp
; break;
8087 case mso_sptActionButtonInformation
: pCustomShape
= &msoActionButtonInformation
; break;
8088 case mso_sptActionButtonBackPrevious
: pCustomShape
= &msoActionButtonBackPrevious
; break;
8089 case mso_sptActionButtonForwardNext
: pCustomShape
= &msoActionButtonForwardNext
; break;
8090 case mso_sptActionButtonBeginning
: pCustomShape
= &msoActionButtonBeginning
; break;
8091 case mso_sptActionButtonEnd
: pCustomShape
= &msoActionButtonEnd
; break;
8092 case mso_sptActionButtonReturn
: pCustomShape
= &msoActionButtonReturn
; break;
8093 case mso_sptActionButtonDocument
: pCustomShape
= &msoActionButtonDocument
; break;
8094 case mso_sptActionButtonSound
: pCustomShape
= &msoActionButtonSound
; break;
8095 case mso_sptActionButtonMovie
: pCustomShape
= &msoActionButtonMovie
; break;
8096 case mso_sptBevel
: pCustomShape
= &msoBevel
; break;
8097 case mso_sptFoldedCorner
: pCustomShape
= &msoFoldedCorner
; break;
8098 case mso_sptSmileyFace
: pCustomShape
= &msoSmileyFace
; break;
8099 case mso_sptDonut
: pCustomShape
= &msoDonut
; break;
8100 case mso_sptNoSmoking
: pCustomShape
= &msoNoSmoking
; break;
8101 case mso_sptBlockArc
: pCustomShape
= &msoBlockArc
; break;
8102 case mso_sptHeart
: pCustomShape
= &msoHeart
; break;
8103 case mso_sptLightningBolt
: pCustomShape
= &msoLightningBold
; break;
8104 case mso_sptSun
: pCustomShape
= &msoSun
; break;
8105 case mso_sptMoon
: pCustomShape
= &msoMoon
; break;
8106 case mso_sptBracketPair
: pCustomShape
= &msoBracketPair
; break;
8107 case mso_sptBracePair
: pCustomShape
= &msoBracePair
; break;
8108 case mso_sptPlaque
: pCustomShape
= &msoPlaque
; break;
8109 case mso_sptLeftBracket
: pCustomShape
= &msoLeftBracket
; break;
8110 case mso_sptRightBracket
: pCustomShape
= &msoRightBracket
; break;
8111 case mso_sptLeftBrace
: pCustomShape
= &msoLeftBrace
; break;
8112 case mso_sptRightBrace
: pCustomShape
= &msoRightBrace
; break;
8113 case mso_sptArrow
: pCustomShape
= &msoArrow
; break;
8114 case mso_sptUpArrow
: pCustomShape
= &msoUpArrow
; break;
8115 case mso_sptDownArrow
: pCustomShape
= &msoDownArrow
; break;
8116 case mso_sptLeftArrow
: pCustomShape
= &msoLeftArrow
; break;
8117 case mso_sptLeftRightArrow
: pCustomShape
= &msoLeftRightArrow
; break;
8118 case mso_sptUpDownArrow
: pCustomShape
= &msoUpDownArrow
; break;
8119 case mso_sptQuadArrow
: pCustomShape
= &msoQuadArrow
; break;
8120 case mso_sptLeftRightUpArrow
: pCustomShape
= &msoLeftRightUpArrow
; break;
8121 case mso_sptBentArrow
: pCustomShape
= &msoBentArrow
; break;
8122 case mso_sptUturnArrow
: pCustomShape
= &msoUturnArrow
; break;
8123 case mso_sptLeftUpArrow
: pCustomShape
= &msoLeftUpArrow
; break;
8124 case mso_sptBentUpArrow
: pCustomShape
= &msoBentUpArrow
; break;
8125 case mso_sptCurvedRightArrow
: pCustomShape
= &msoCurvedRightArrow
; break;
8126 case mso_sptCurvedLeftArrow
: pCustomShape
= &msoCurvedLeftArrow
; break;
8127 case mso_sptCurvedUpArrow
: pCustomShape
= &msoCurvedUpArrow
; break;
8128 case mso_sptCurvedDownArrow
: pCustomShape
= &msoCurvedDownArrow
; break;
8129 case mso_sptStripedRightArrow
: pCustomShape
= &msoStripedRightArrow
; break;
8130 case mso_sptNotchedRightArrow
: pCustomShape
= &msoNotchedRightArrow
; break;
8131 case mso_sptHomePlate
: pCustomShape
= &msoHomePlate
; break;
8132 case mso_sptChevron
: pCustomShape
= &msoChevron
; break;
8133 case mso_sptRightArrowCallout
: pCustomShape
= &msoRightArrowCallout
; break;
8134 case mso_sptLeftArrowCallout
: pCustomShape
= &msoLeftArrowCallout
; break;
8135 case mso_sptUpArrowCallout
: pCustomShape
= &msoUpArrowCallout
; break;
8136 case mso_sptDownArrowCallout
: pCustomShape
= &msoDownArrowCallout
; break;
8137 case mso_sptLeftRightArrowCallout
: pCustomShape
= &msoLeftRightArrowCallout
; break;
8138 case mso_sptUpDownArrowCallout
: pCustomShape
= &msoUpDownArrowCallout
; break;
8139 case mso_sptQuadArrowCallout
: pCustomShape
= &msoQuadArrowCallout
; break;
8140 case mso_sptCircularArrow
: pCustomShape
= &msoCircularArrow
; break;
8141 case mso_sptIrregularSeal1
: pCustomShape
= &msoIrregularSeal1
; break;
8142 case mso_sptIrregularSeal2
: pCustomShape
= &msoIrregularSeal2
; break;
8143 case mso_sptSeal4
: pCustomShape
= &msoSeal4
; break;
8144 case mso_sptStar
: pCustomShape
= &msoStar
; break;
8145 case mso_sptSeal8
: pCustomShape
= &msoSeal8
; break;
8147 case mso_sptSeal16
: pCustomShape
= &msoSeal16
; break;
8148 case mso_sptSeal24
: pCustomShape
= &msoSeal24
; break;
8149 case mso_sptSeal32
: pCustomShape
= &msoSeal32
; break;
8150 case mso_sptRibbon2
: pCustomShape
= &msoRibbon2
; break;
8151 case mso_sptRibbon
: pCustomShape
= &msoRibbon
; break;
8152 case mso_sptEllipseRibbon2
: pCustomShape
= &msoRibbon2
; break; // SJ: TODO
8153 case mso_sptEllipseRibbon
: pCustomShape
= &msoRibbon
; break; // SJ: TODO
8154 case mso_sptVerticalScroll
: pCustomShape
= &msoVerticalScroll
; break;
8155 case mso_sptHorizontalScroll
: pCustomShape
= &msoHorizontalScroll
; break;
8156 case mso_sptFlowChartProcess
: pCustomShape
= &msoFlowChartProcess
; break;
8157 case mso_sptFlowChartAlternateProcess
: pCustomShape
= &msoFlowChartAlternateProcess
; break;
8158 case mso_sptFlowChartDecision
: pCustomShape
= &msoFlowChartDecision
; break;
8159 case mso_sptFlowChartInputOutput
: pCustomShape
= &msoFlowChartInputOutput
; break;
8160 case mso_sptFlowChartPredefinedProcess
:pCustomShape
= &msoFlowChartPredefinedProcess
; break;
8161 case mso_sptFlowChartInternalStorage
: pCustomShape
= &msoFlowChartInternalStorage
; break;
8162 case mso_sptFlowChartDocument
: pCustomShape
= &msoFlowChartDocument
; break;
8163 case mso_sptFlowChartMultidocument
: pCustomShape
= &msoFlowChartMultidocument
; break;
8164 case mso_sptFlowChartTerminator
: pCustomShape
= &msoFlowChartTerminator
; break;
8165 case mso_sptFlowChartPreparation
: pCustomShape
= &msoFlowChartPreparation
; break;
8166 case mso_sptFlowChartManualInput
: pCustomShape
= &msoFlowChartManualInput
; break;
8167 case mso_sptFlowChartManualOperation
: pCustomShape
= &msoFlowChartManualOperation
; break;
8168 case mso_sptFlowChartConnector
: pCustomShape
= &msoFlowChartConnector
; break;
8169 case mso_sptFlowChartOffpageConnector
: pCustomShape
= &msoFlowChartOffpageConnector
; break;
8170 case mso_sptFlowChartPunchedCard
: pCustomShape
= &msoFlowChartPunchedCard
; break;
8171 case mso_sptFlowChartPunchedTape
: pCustomShape
= &msoFlowChartPunchedTape
; break;
8172 case mso_sptFlowChartSummingJunction
: pCustomShape
= &msoFlowChartSummingJunction
; break;
8173 case mso_sptFlowChartOr
: pCustomShape
= &msoFlowChartOr
; break;
8174 case mso_sptFlowChartCollate
: pCustomShape
= &msoFlowChartCollate
; break;
8175 case mso_sptFlowChartSort
: pCustomShape
= &msoFlowChartSort
; break;
8176 case mso_sptFlowChartExtract
: pCustomShape
= &msoFlowChartExtract
; break;
8177 case mso_sptFlowChartMerge
: pCustomShape
= &msoFlowChartMerge
; break;
8178 case mso_sptFlowChartOnlineStorage
: pCustomShape
= &msoFlowChartOnlineStorage
; break;
8179 case mso_sptFlowChartDelay
: pCustomShape
= &msoFlowChartDelay
; break;
8180 case mso_sptFlowChartMagneticTape
: pCustomShape
= &msoFlowChartMagneticTape
; break;
8181 case mso_sptFlowChartMagneticDisk
: pCustomShape
= &msoFlowChartMagneticDisk
; break;
8182 case mso_sptFlowChartMagneticDrum
: pCustomShape
= &msoFlowChartMagneticDrum
; break;
8183 case mso_sptFlowChartDisplay
: pCustomShape
= &msoFlowChartDisplay
; break;
8184 case mso_sptWedgeRectCallout
: pCustomShape
= &msoWedgeRectCallout
; break;
8185 case mso_sptWedgeRRectCallout
: pCustomShape
= &msoWedgeRRectCallout
; break;
8186 case mso_sptWedgeEllipseCallout
: pCustomShape
= &msoWedgeEllipseCallout
; break;
8187 case mso_sptCloudCallout
: pCustomShape
= &msoCloudCallout
; break;
8188 case mso_sptWave
: pCustomShape
= &msoWave
; break;
8189 case mso_sptDoubleWave
: pCustomShape
= &msoDoubleWave
; break;
8192 case mso_sptCallout1
: pCustomShape
= &msoCallout1
; break;
8193 case mso_sptCallout2
: pCustomShape
= &msoCallout2
; break;
8194 case mso_sptCallout3
: pCustomShape
= &msoCallout3
; break;
8195 case mso_sptAccentCallout1
: pCustomShape
= &msoAccentCallout1
; break;
8196 case mso_sptAccentCallout2
: pCustomShape
= &msoAccentCallout2
; break;
8197 case mso_sptAccentCallout3
: pCustomShape
= &msoAccentCallout3
; break;
8198 case mso_sptBorderCallout1
: pCustomShape
= &msoBorderCallout1
; break;
8199 case mso_sptBorderCallout2
: pCustomShape
= &msoBorderCallout2
; break;
8200 case mso_sptBorderCallout3
: pCustomShape
= &msoBorderCallout3
; break;
8201 case mso_sptAccentBorderCallout1
: pCustomShape
= &msoAccentBorderCallout1
; break;
8202 case mso_sptAccentBorderCallout2
: pCustomShape
= &msoAccentBorderCallout2
; break;
8203 case mso_sptAccentBorderCallout3
: pCustomShape
= &msoAccentBorderCallout3
; break;
8204 case mso_sptCallout90
: pCustomShape
= &msoCallout90
; break;
8205 case mso_sptAccentCallout90
: pCustomShape
= &msoAccentCallout90
; break;
8206 case mso_sptBorderCallout90
: pCustomShape
= &msoBorderCallout90
; break;
8207 case mso_sptAccentBorderCallout90
: pCustomShape
= &msoAccentBorderCallout90
; break;
8210 case mso_sptStraightConnector1
: pCustomShape
= &msoStraightConnector1
; break;
8211 case mso_sptBentConnector2
: pCustomShape
= &msoBentConnector2
; break;
8212 case mso_sptBentConnector3
: pCustomShape
= &msoBentConnector3
; break;
8213 case mso_sptBentConnector4
: pCustomShape
= &msoBentConnector4
; break;
8214 case mso_sptBentConnector5
: pCustomShape
= &msoBentConnector5
; break;
8215 case mso_sptCurvedConnector2
: pCustomShape
= &msoCurvedConnector2
; break;
8216 case mso_sptCurvedConnector3
: pCustomShape
= &msoCurvedConnector3
; break;
8217 case mso_sptCurvedConnector4
: pCustomShape
= &msoCurvedConnector4
; break;
8218 case mso_sptCurvedConnector5
: pCustomShape
= &msoCurvedConnector5
; break;
8220 // Dont know, simply mapping to TextSimple
8221 case mso_sptTextOnRing
:
8222 case mso_sptTextOnCurve
:
8223 case mso_sptTextRing
:
8224 case mso_sptTextWave
:
8225 case mso_sptTextCurve
:
8226 case mso_sptTextHexagon
:
8227 case mso_sptTextOctagon
:
8228 case mso_sptTextBox
: pCustomShape
= &msoTextSimple
; break;
8231 case mso_sptTextSimple
:
8232 case mso_sptTextPlainText
: pCustomShape
= &msoTextPlainText
; break;
8233 case mso_sptTextStop
: pCustomShape
= &msoTextStop
; break;
8234 case mso_sptTextTriangle
: pCustomShape
= &msoTextTriangle
; break;
8235 case mso_sptTextTriangleInverted
: pCustomShape
= &msoTextTriangleInverted
; break;
8236 case mso_sptTextChevron
: pCustomShape
= &msoTextChevron
; break;
8237 case mso_sptTextChevronInverted
: pCustomShape
= &msoTextChevronInverted
; break;
8238 case mso_sptTextRingInside
: pCustomShape
= &msoTextRingOutside
; break; // SJ: TODO->the orientation of the ellipse needs to be changed
8239 case mso_sptTextRingOutside
: pCustomShape
= &msoTextRingOutside
; break;
8240 case mso_sptTextFadeRight
: pCustomShape
= &msoTextFadeRight
; break;
8241 case mso_sptTextFadeLeft
: pCustomShape
= &msoTextFadeLeft
; break;
8242 case mso_sptTextFadeUp
: pCustomShape
= &msoTextFadeUp
; break;
8243 case mso_sptTextFadeDown
: pCustomShape
= &msoTextFadeDown
; break;
8244 case mso_sptTextSlantUp
: pCustomShape
= &msoTextSlantUp
; break;
8245 case mso_sptTextSlantDown
: pCustomShape
= &msoTextSlantDown
; break;
8246 case mso_sptTextCascadeUp
: pCustomShape
= &msoTextCascadeUp
; break;
8247 case mso_sptTextCascadeDown
: pCustomShape
= &msoTextCascadeDown
; break;
8248 case mso_sptTextArchUpCurve
: pCustomShape
= &msoTextArchUpCurve
; break;
8249 case mso_sptTextArchDownCurve
: pCustomShape
= &msoTextArchDownCurve
; break;
8250 case mso_sptTextCircleCurve
: pCustomShape
= &msoTextCircleCurve
; break;
8251 case mso_sptTextButtonCurve
: pCustomShape
= &msoTextButtonCurve
; break;
8252 case mso_sptTextArchUpPour
: pCustomShape
= &msoTextArchUpPour
; break;
8253 case mso_sptTextArchDownPour
: pCustomShape
= &msoTextArchDownPour
; break;
8254 case mso_sptTextCirclePour
: pCustomShape
= &msoTextCirclePour
; break;
8255 case mso_sptTextButtonPour
: pCustomShape
= &msoTextButtonPour
; break;
8256 case mso_sptTextCurveUp
: pCustomShape
= &msoTextCurveUp
; break;
8257 case mso_sptTextCurveDown
: pCustomShape
= &msoTextCurveDown
; break;
8258 case mso_sptTextCanUp
: pCustomShape
= &msoTextCanUp
; break;
8259 case mso_sptTextCanDown
: pCustomShape
= &msoTextCanDown
; break;
8260 case mso_sptTextInflate
: pCustomShape
= &msoTextInflate
; break;
8261 case mso_sptTextDeflate
: pCustomShape
= &msoTextDeflate
; break;
8262 case mso_sptTextInflateBottom
: pCustomShape
= &msoTextInflateBottom
; break;
8263 case mso_sptTextDeflateBottom
: pCustomShape
= &msoTextDeflateBottom
; break;
8264 case mso_sptTextInflateTop
: pCustomShape
= &msoTextInflateTop
; break;
8265 case mso_sptTextDeflateTop
: pCustomShape
= &msoTextDeflateTop
; break;
8266 case mso_sptTextDeflateInflate
: pCustomShape
= &msoTextDeflateInflate
; break;
8267 case mso_sptTextDeflateInflateDeflate
: pCustomShape
= &msoTextDeflateInflateDeflate
; break;
8268 case mso_sptTextWave1
: pCustomShape
= &msoTextWave1
; break;
8269 case mso_sptTextWave2
: pCustomShape
= &msoTextWave2
; break;
8270 case mso_sptTextWave3
: pCustomShape
= &msoTextWave3
; break;
8271 case mso_sptTextWave4
: pCustomShape
= &msoTextWave4
; break;
8275 return pCustomShape
;