Line data Source code
1 : // this file was generated by: ./generatePresetsCXX.pl
2 : // please do not edit
3 :
4 : #include "oox/drawingml/customshapeproperties.hxx"
5 : #include "oox/token/tokenmap.hxx"
6 : #include <com/sun/star/awt/Rectangle.hpp>
7 : #include <com/sun/star/awt/Size.hpp>
8 : #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
9 : #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
10 : #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
11 : #include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
12 :
13 : using namespace ::com::sun::star;
14 : using namespace ::com::sun::star::beans;
15 : using namespace ::com::sun::star::drawing;
16 : using namespace ::com::sun::star::uno;
17 :
18 : namespace oox { namespace drawingml {
19 :
20 : namespace
21 : {
22 3 : class ShapeCactionButtonSound : public CustomShapeProvider
23 : {
24 0 : virtual PropertyMap getProperties()
25 : {
26 0 : PropertyMap aPropertyMap;
27 :
28 : {
29 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
30 : }
31 : {
32 : static const char *aStrings[] = {
33 : "min(logwidth,logheight)",
34 : "?0 *3/8",
35 : "logheight/2",
36 : "?2 +0-?1 ",
37 : "?2 +?1 -0",
38 : "logwidth/2",
39 : "?5 +0-?1 ",
40 : "?5 +?1 -0",
41 : "?0 *3/4",
42 : "?8 *1/8",
43 : "?8 *5/16",
44 : "?8 *5/8",
45 : "?8 *11/16",
46 : "?8 *3/4",
47 : "?8 *7/8",
48 : "?3 +?9 -0",
49 : "?3 +?10 -0",
50 : "?3 +?12 -0",
51 : "?3 +?14 -0",
52 : "?6 +?10 -0",
53 : "?6 +?11 -0",
54 : "?6 +?13 -0",
55 : "logwidth",
56 : "logheight"
57 : };
58 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
59 : }
60 : {
61 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
62 : }
63 : {
64 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
65 : }
66 : {
67 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
68 : }
69 : {
70 0 : Sequence< PropertyValue > aPropSequence (3);
71 : {
72 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
73 : static const CustomShapeProvider::ParameterPairData aData[] = {
74 : {
75 : EnhancedCustomShapeParameterType::NORMAL,
76 : EnhancedCustomShapeParameterType::NORMAL,
77 : 0, 0
78 : },
79 : {
80 : EnhancedCustomShapeParameterType::EQUATION,
81 : EnhancedCustomShapeParameterType::NORMAL,
82 : 22, 0
83 : },
84 : {
85 : EnhancedCustomShapeParameterType::EQUATION,
86 : EnhancedCustomShapeParameterType::EQUATION,
87 : 22, 23
88 : },
89 : {
90 : EnhancedCustomShapeParameterType::NORMAL,
91 : EnhancedCustomShapeParameterType::EQUATION,
92 : 0, 23
93 : },
94 : {
95 : EnhancedCustomShapeParameterType::EQUATION,
96 : EnhancedCustomShapeParameterType::EQUATION,
97 : 6, 16
98 : },
99 : {
100 : EnhancedCustomShapeParameterType::EQUATION,
101 : EnhancedCustomShapeParameterType::EQUATION,
102 : 6, 17
103 : },
104 : {
105 : EnhancedCustomShapeParameterType::EQUATION,
106 : EnhancedCustomShapeParameterType::EQUATION,
107 : 19, 17
108 : },
109 : {
110 : EnhancedCustomShapeParameterType::EQUATION,
111 : EnhancedCustomShapeParameterType::EQUATION,
112 : 20, 4
113 : },
114 : {
115 : EnhancedCustomShapeParameterType::EQUATION,
116 : EnhancedCustomShapeParameterType::EQUATION,
117 : 20, 3
118 : },
119 : {
120 : EnhancedCustomShapeParameterType::EQUATION,
121 : EnhancedCustomShapeParameterType::EQUATION,
122 : 19, 16
123 : },
124 : {
125 : EnhancedCustomShapeParameterType::EQUATION,
126 : EnhancedCustomShapeParameterType::EQUATION,
127 : 6, 16
128 : },
129 : {
130 : EnhancedCustomShapeParameterType::EQUATION,
131 : EnhancedCustomShapeParameterType::EQUATION,
132 : 6, 17
133 : },
134 : {
135 : EnhancedCustomShapeParameterType::EQUATION,
136 : EnhancedCustomShapeParameterType::EQUATION,
137 : 19, 17
138 : },
139 : {
140 : EnhancedCustomShapeParameterType::EQUATION,
141 : EnhancedCustomShapeParameterType::EQUATION,
142 : 20, 4
143 : },
144 : {
145 : EnhancedCustomShapeParameterType::EQUATION,
146 : EnhancedCustomShapeParameterType::EQUATION,
147 : 20, 3
148 : },
149 : {
150 : EnhancedCustomShapeParameterType::EQUATION,
151 : EnhancedCustomShapeParameterType::EQUATION,
152 : 19, 16
153 : },
154 : {
155 : EnhancedCustomShapeParameterType::EQUATION,
156 : EnhancedCustomShapeParameterType::EQUATION,
157 : 6, 16
158 : },
159 : {
160 : EnhancedCustomShapeParameterType::EQUATION,
161 : EnhancedCustomShapeParameterType::EQUATION,
162 : 19, 16
163 : },
164 : {
165 : EnhancedCustomShapeParameterType::EQUATION,
166 : EnhancedCustomShapeParameterType::EQUATION,
167 : 20, 3
168 : },
169 : {
170 : EnhancedCustomShapeParameterType::EQUATION,
171 : EnhancedCustomShapeParameterType::EQUATION,
172 : 20, 4
173 : },
174 : {
175 : EnhancedCustomShapeParameterType::EQUATION,
176 : EnhancedCustomShapeParameterType::EQUATION,
177 : 19, 17
178 : },
179 : {
180 : EnhancedCustomShapeParameterType::EQUATION,
181 : EnhancedCustomShapeParameterType::EQUATION,
182 : 6, 17
183 : },
184 : {
185 : EnhancedCustomShapeParameterType::EQUATION,
186 : EnhancedCustomShapeParameterType::EQUATION,
187 : 21, 16
188 : },
189 : {
190 : EnhancedCustomShapeParameterType::EQUATION,
191 : EnhancedCustomShapeParameterType::EQUATION,
192 : 7, 15
193 : },
194 : {
195 : EnhancedCustomShapeParameterType::EQUATION,
196 : EnhancedCustomShapeParameterType::EQUATION,
197 : 21, 2
198 : },
199 : {
200 : EnhancedCustomShapeParameterType::EQUATION,
201 : EnhancedCustomShapeParameterType::EQUATION,
202 : 7, 2
203 : },
204 : {
205 : EnhancedCustomShapeParameterType::EQUATION,
206 : EnhancedCustomShapeParameterType::EQUATION,
207 : 21, 17
208 : },
209 : {
210 : EnhancedCustomShapeParameterType::EQUATION,
211 : EnhancedCustomShapeParameterType::EQUATION,
212 : 7, 18
213 : },
214 : {
215 : EnhancedCustomShapeParameterType::NORMAL,
216 : EnhancedCustomShapeParameterType::NORMAL,
217 : 0, 0
218 : },
219 : {
220 : EnhancedCustomShapeParameterType::EQUATION,
221 : EnhancedCustomShapeParameterType::NORMAL,
222 : 22, 0
223 : },
224 : {
225 : EnhancedCustomShapeParameterType::EQUATION,
226 : EnhancedCustomShapeParameterType::EQUATION,
227 : 22, 23
228 : },
229 : {
230 : EnhancedCustomShapeParameterType::NORMAL,
231 : EnhancedCustomShapeParameterType::EQUATION,
232 : 0, 23
233 : }
234 : };
235 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
236 : }
237 : {
238 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
239 : static const sal_uInt16 nValues[] = {
240 : // Command, Count
241 : 1,1,
242 : 2,3,
243 : 4,0,
244 : 1,1,
245 : 2,5,
246 : 4,0,
247 : 7,0,
248 : 5,0,
249 : 1,1,
250 : 2,5,
251 : 4,0,
252 : 18,0,
253 : 7,0,
254 : 5,0,
255 : 1,1,
256 : 2,5,
257 : 4,0,
258 : 1,1,
259 : 2,1,
260 : 1,1,
261 : 2,1,
262 : 1,1,
263 : 2,1,
264 : 6,0,
265 : 5,0,
266 : 1,1,
267 : 2,3,
268 : 4,0,
269 : 6,0,
270 : 5,0
271 : };
272 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
273 : }
274 : {
275 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
276 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
277 : {
278 0 : EnhancedCustomShapeTextFrame aTextFrame;
279 : {
280 : static const CustomShapeProvider::ParameterPairData aData =
281 : {
282 : EnhancedCustomShapeParameterType::NORMAL,
283 : EnhancedCustomShapeParameterType::NORMAL,
284 : 0, 0
285 : };
286 0 : aTextFrame.TopLeft = createParameterPair(&aData);
287 : }
288 : {
289 : static const CustomShapeProvider::ParameterPairData aData =
290 : {
291 : EnhancedCustomShapeParameterType::EQUATION,
292 : EnhancedCustomShapeParameterType::EQUATION,
293 : 22, 23
294 : };
295 0 : aTextFrame.BottomRight = createParameterPair(&aData);
296 : }
297 0 : aTextFrameSeq [0] = aTextFrame;
298 : }
299 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
300 : }
301 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
302 : }
303 : {
304 0 : awt::Rectangle aRectangle;
305 0 : aRectangle.X = 0;
306 0 : aRectangle.Y = 0;
307 0 : aRectangle.Width = 0;
308 0 : aRectangle.Height = 0;
309 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
310 : }
311 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonSound");
312 :
313 0 : return aPropertyMap;
314 : }
315 : };
316 3 : class ShapeCborderCallout1 : public CustomShapeProvider
317 : {
318 0 : virtual PropertyMap getProperties()
319 : {
320 0 : PropertyMap aPropertyMap;
321 :
322 : {
323 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
324 : {
325 0 : Any aAny ((sal_Int32) 18750);
326 0 : aAdjSequence [0].Value = aAny;
327 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
328 : }
329 : {
330 0 : Any aAny ((sal_Int32) -8333);
331 0 : aAdjSequence [1].Value = aAny;
332 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
333 : }
334 : {
335 0 : Any aAny ((sal_Int32) 112500);
336 0 : aAdjSequence [2].Value = aAny;
337 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
338 : }
339 : {
340 0 : Any aAny ((sal_Int32) -38333);
341 0 : aAdjSequence [3].Value = aAny;
342 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
343 : }
344 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
345 : }
346 : {
347 : static const char *aStrings[] = {
348 : "logheight*$0 /100000",
349 : "logwidth*$1 /100000",
350 : "logheight*$2 /100000",
351 : "logwidth*$3 /100000",
352 : "logwidth",
353 : "logheight/2",
354 : "logwidth/2",
355 : "logheight"
356 : };
357 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
358 : }
359 : {
360 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
361 : {
362 0 : Sequence< PropertyValue > aPropSequence (7);
363 : {
364 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
365 : static const CustomShapeProvider::ParameterPairData aData =
366 : {
367 : EnhancedCustomShapeParameterType::EQUATION,
368 : EnhancedCustomShapeParameterType::EQUATION,
369 : 1, 0
370 : };
371 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
372 : }
373 : {
374 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
375 0 : EnhancedCustomShapeParameter aParameter;
376 0 : Any aAny ((sal_Int32) 2147483647);
377 0 : aParameter.Value = aAny;
378 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
379 0 : aPropSequence [1].Value = makeAny (aParameter);
380 : }
381 : {
382 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
383 0 : EnhancedCustomShapeParameter aParameter;
384 0 : Any aAny ((sal_Int32) -2147483647);
385 0 : aParameter.Value = aAny;
386 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
387 0 : aPropSequence [2].Value = makeAny (aParameter);
388 : }
389 : {
390 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
391 0 : EnhancedCustomShapeParameter aParameter;
392 0 : Any aAny ((sal_Int32) 2147483647);
393 0 : aParameter.Value = aAny;
394 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
395 0 : aPropSequence [3].Value = makeAny (aParameter);
396 : }
397 : {
398 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
399 0 : EnhancedCustomShapeParameter aParameter;
400 0 : Any aAny ((sal_Int32) -2147483647);
401 0 : aParameter.Value = aAny;
402 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
403 0 : aPropSequence [4].Value = makeAny (aParameter);
404 : }
405 : {
406 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
407 0 : Any aAny ((sal_Int32) 1);
408 0 : aPropSequence [5].Value = makeAny (aAny);
409 : }
410 : {
411 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
412 0 : Any aAny ((sal_Int32) 0);
413 0 : aPropSequence [6].Value = makeAny (aAny);
414 : }
415 0 : aPropSequenceSequence [0] = aPropSequence;
416 : }
417 : {
418 0 : Sequence< PropertyValue > aPropSequence (7);
419 : {
420 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
421 : static const CustomShapeProvider::ParameterPairData aData =
422 : {
423 : EnhancedCustomShapeParameterType::EQUATION,
424 : EnhancedCustomShapeParameterType::EQUATION,
425 : 3, 2
426 : };
427 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
428 : }
429 : {
430 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
431 0 : EnhancedCustomShapeParameter aParameter;
432 0 : Any aAny ((sal_Int32) 2147483647);
433 0 : aParameter.Value = aAny;
434 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
435 0 : aPropSequence [1].Value = makeAny (aParameter);
436 : }
437 : {
438 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
439 0 : EnhancedCustomShapeParameter aParameter;
440 0 : Any aAny ((sal_Int32) -2147483647);
441 0 : aParameter.Value = aAny;
442 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
443 0 : aPropSequence [2].Value = makeAny (aParameter);
444 : }
445 : {
446 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
447 0 : EnhancedCustomShapeParameter aParameter;
448 0 : Any aAny ((sal_Int32) 2147483647);
449 0 : aParameter.Value = aAny;
450 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
451 0 : aPropSequence [3].Value = makeAny (aParameter);
452 : }
453 : {
454 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
455 0 : EnhancedCustomShapeParameter aParameter;
456 0 : Any aAny ((sal_Int32) -2147483647);
457 0 : aParameter.Value = aAny;
458 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
459 0 : aPropSequence [4].Value = makeAny (aParameter);
460 : }
461 : {
462 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
463 0 : Any aAny ((sal_Int32) 3);
464 0 : aPropSequence [5].Value = makeAny (aAny);
465 : }
466 : {
467 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
468 0 : Any aAny ((sal_Int32) 2);
469 0 : aPropSequence [6].Value = makeAny (aAny);
470 : }
471 0 : aPropSequenceSequence [1] = aPropSequence;
472 : }
473 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
474 : }
475 : {
476 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
477 : }
478 : {
479 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
480 : }
481 : {
482 0 : Sequence< PropertyValue > aPropSequence (3);
483 : {
484 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
485 : static const CustomShapeProvider::ParameterPairData aData[] = {
486 : {
487 : EnhancedCustomShapeParameterType::NORMAL,
488 : EnhancedCustomShapeParameterType::NORMAL,
489 : 0, 0
490 : },
491 : {
492 : EnhancedCustomShapeParameterType::EQUATION,
493 : EnhancedCustomShapeParameterType::NORMAL,
494 : 4, 0
495 : },
496 : {
497 : EnhancedCustomShapeParameterType::EQUATION,
498 : EnhancedCustomShapeParameterType::EQUATION,
499 : 4, 7
500 : },
501 : {
502 : EnhancedCustomShapeParameterType::NORMAL,
503 : EnhancedCustomShapeParameterType::EQUATION,
504 : 0, 7
505 : },
506 : {
507 : EnhancedCustomShapeParameterType::EQUATION,
508 : EnhancedCustomShapeParameterType::EQUATION,
509 : 1, 0
510 : },
511 : {
512 : EnhancedCustomShapeParameterType::EQUATION,
513 : EnhancedCustomShapeParameterType::EQUATION,
514 : 3, 2
515 : }
516 : };
517 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
518 : }
519 : {
520 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
521 : static const sal_uInt16 nValues[] = {
522 : // Command, Count
523 : 1,1,
524 : 2,3,
525 : 4,0,
526 : 5,0,
527 : 1,1,
528 : 2,1,
529 : 6,0,
530 : 5,0
531 : };
532 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
533 : }
534 : {
535 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
536 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
537 : {
538 0 : EnhancedCustomShapeTextFrame aTextFrame;
539 : {
540 : static const CustomShapeProvider::ParameterPairData aData =
541 : {
542 : EnhancedCustomShapeParameterType::NORMAL,
543 : EnhancedCustomShapeParameterType::NORMAL,
544 : 0, 0
545 : };
546 0 : aTextFrame.TopLeft = createParameterPair(&aData);
547 : }
548 : {
549 : static const CustomShapeProvider::ParameterPairData aData =
550 : {
551 : EnhancedCustomShapeParameterType::EQUATION,
552 : EnhancedCustomShapeParameterType::EQUATION,
553 : 4, 7
554 : };
555 0 : aTextFrame.BottomRight = createParameterPair(&aData);
556 : }
557 0 : aTextFrameSeq [0] = aTextFrame;
558 : }
559 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
560 : }
561 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
562 : }
563 : {
564 0 : awt::Rectangle aRectangle;
565 0 : aRectangle.X = 0;
566 0 : aRectangle.Y = 0;
567 0 : aRectangle.Width = 0;
568 0 : aRectangle.Height = 0;
569 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
570 : }
571 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-borderCallout1");
572 :
573 0 : return aPropertyMap;
574 : }
575 : };
576 3 : class ShapeCplaqueTabs : public CustomShapeProvider
577 : {
578 0 : virtual PropertyMap getProperties()
579 : {
580 0 : PropertyMap aPropertyMap;
581 :
582 : {
583 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
584 : }
585 : {
586 : static const char *aStrings[] = {
587 : "sqrt(logwidth*logwidth+logheight*logheight+0*0)",
588 : "1*?0 /20",
589 : "0+logheight-?1 ",
590 : "0+logwidth-?1 ",
591 : "logheight",
592 : "logwidth",
593 : "(0)/60000.0",
594 : "(5400000)/60000.0",
595 : "(16200000)/60000.0",
596 : "(5400000)/60000.0",
597 : "(5400000)/60000.0",
598 : "(5400000)/60000.0",
599 : "(10800000)/60000.0",
600 : "(5400000)/60000.0"
601 : };
602 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
603 : }
604 : {
605 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
606 : }
607 : {
608 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
609 : }
610 : {
611 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
612 : }
613 : {
614 0 : Sequence< PropertyValue > aPropSequence (3);
615 : {
616 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
617 : static const CustomShapeProvider::ParameterPairData aData[] = {
618 : {
619 : EnhancedCustomShapeParameterType::NORMAL,
620 : EnhancedCustomShapeParameterType::NORMAL,
621 : 0, 0
622 : },
623 : {
624 : EnhancedCustomShapeParameterType::EQUATION,
625 : EnhancedCustomShapeParameterType::NORMAL,
626 : 1, 0
627 : },
628 : {
629 : EnhancedCustomShapeParameterType::EQUATION,
630 : EnhancedCustomShapeParameterType::EQUATION,
631 : 1, 1
632 : },
633 : {
634 : EnhancedCustomShapeParameterType::EQUATION,
635 : EnhancedCustomShapeParameterType::EQUATION,
636 : 6, 7
637 : },
638 : {
639 : EnhancedCustomShapeParameterType::NORMAL,
640 : EnhancedCustomShapeParameterType::EQUATION,
641 : 0, 2
642 : },
643 : {
644 : EnhancedCustomShapeParameterType::EQUATION,
645 : EnhancedCustomShapeParameterType::EQUATION,
646 : 1, 1
647 : },
648 : {
649 : EnhancedCustomShapeParameterType::EQUATION,
650 : EnhancedCustomShapeParameterType::EQUATION,
651 : 8, 9
652 : },
653 : {
654 : EnhancedCustomShapeParameterType::NORMAL,
655 : EnhancedCustomShapeParameterType::EQUATION,
656 : 0, 4
657 : },
658 : {
659 : EnhancedCustomShapeParameterType::EQUATION,
660 : EnhancedCustomShapeParameterType::NORMAL,
661 : 5, 0
662 : },
663 : {
664 : EnhancedCustomShapeParameterType::EQUATION,
665 : EnhancedCustomShapeParameterType::EQUATION,
666 : 5, 1
667 : },
668 : {
669 : EnhancedCustomShapeParameterType::EQUATION,
670 : EnhancedCustomShapeParameterType::EQUATION,
671 : 1, 1
672 : },
673 : {
674 : EnhancedCustomShapeParameterType::EQUATION,
675 : EnhancedCustomShapeParameterType::EQUATION,
676 : 10, 11
677 : },
678 : {
679 : EnhancedCustomShapeParameterType::EQUATION,
680 : EnhancedCustomShapeParameterType::EQUATION,
681 : 3, 4
682 : },
683 : {
684 : EnhancedCustomShapeParameterType::EQUATION,
685 : EnhancedCustomShapeParameterType::EQUATION,
686 : 1, 1
687 : },
688 : {
689 : EnhancedCustomShapeParameterType::EQUATION,
690 : EnhancedCustomShapeParameterType::EQUATION,
691 : 12, 13
692 : },
693 : {
694 : EnhancedCustomShapeParameterType::EQUATION,
695 : EnhancedCustomShapeParameterType::EQUATION,
696 : 5, 4
697 : }
698 : };
699 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
700 : }
701 : {
702 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
703 : static const sal_uInt16 nValues[] = {
704 : // Command, Count
705 : 1,1,
706 : 2,1,
707 : 17,1,
708 : 4,0,
709 : 5,0,
710 : 1,1,
711 : 17,1,
712 : 2,1,
713 : 4,0,
714 : 5,0,
715 : 1,1,
716 : 2,1,
717 : 17,1,
718 : 4,0,
719 : 5,0,
720 : 1,1,
721 : 17,1,
722 : 2,1,
723 : 4,0,
724 : 5,0
725 : };
726 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
727 : }
728 : {
729 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
730 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
731 : {
732 0 : EnhancedCustomShapeTextFrame aTextFrame;
733 : {
734 : static const CustomShapeProvider::ParameterPairData aData =
735 : {
736 : EnhancedCustomShapeParameterType::EQUATION,
737 : EnhancedCustomShapeParameterType::EQUATION,
738 : 1, 1
739 : };
740 0 : aTextFrame.TopLeft = createParameterPair(&aData);
741 : }
742 : {
743 : static const CustomShapeProvider::ParameterPairData aData =
744 : {
745 : EnhancedCustomShapeParameterType::EQUATION,
746 : EnhancedCustomShapeParameterType::EQUATION,
747 : 3, 2
748 : };
749 0 : aTextFrame.BottomRight = createParameterPair(&aData);
750 : }
751 0 : aTextFrameSeq [0] = aTextFrame;
752 : }
753 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
754 : }
755 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
756 : }
757 : {
758 0 : awt::Rectangle aRectangle;
759 0 : aRectangle.X = 0;
760 0 : aRectangle.Y = 0;
761 0 : aRectangle.Width = 0;
762 0 : aRectangle.Height = 0;
763 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
764 : }
765 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plaqueTabs");
766 :
767 0 : return aPropertyMap;
768 : }
769 : };
770 3 : class ShapeCcurvedLeftArrow : public CustomShapeProvider
771 : {
772 0 : virtual PropertyMap getProperties()
773 : {
774 0 : PropertyMap aPropertyMap;
775 :
776 : {
777 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
778 : {
779 0 : Any aAny ((sal_Int32) 25000);
780 0 : aAdjSequence [0].Value = aAny;
781 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
782 : }
783 : {
784 0 : Any aAny ((sal_Int32) 50000);
785 0 : aAdjSequence [1].Value = aAny;
786 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
787 : }
788 : {
789 0 : Any aAny ((sal_Int32) 25000);
790 0 : aAdjSequence [2].Value = aAny;
791 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
792 : }
793 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
794 : }
795 : {
796 : static const char *aStrings[] = {
797 : "min(logwidth,logheight)",
798 : "50000*logheight/?0 ",
799 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
800 : "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))",
801 : "?0 *?3 /100000",
802 : "?0 *?2 /100000",
803 : "(?4 +?5 )/4",
804 : "logheight/2",
805 : "?7 +0-?6 ",
806 : "?8 *2/1",
807 : "?9 *?9 /1",
808 : "?4 *?4 /1",
809 : "?10 +0-?11 ",
810 : "sqrt(?12 )",
811 : "?13 *logwidth/?9 ",
812 : "100000*?14 /?0 ",
813 : "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
814 : "?0 *?16 /100000",
815 : "?8 +?4 -0",
816 : "logwidth*logwidth/1",
817 : "?17 *?17 /1",
818 : "?19 +0-?20 ",
819 : "sqrt(?21 )",
820 : "?22 *?8 /logwidth",
821 : "?8 +?23 -0",
822 : "?18 +?23 -0",
823 : "?5 +0-?4 ",
824 : "?26 *1/2",
825 : "?24 +0-?27 ",
826 : "?25 +?27 -0",
827 : "?5 *1/2",
828 : "logheight+0-?30 ",
829 : "0+?17 -0",
830 : "(10800000*atan2(?23 ,?17 ))/pi",
831 : "0+0-?33 ",
832 : "0+?14 -0",
833 : "(?8 +?18 )/2",
834 : "?4 *1/2",
835 : "(10800000*atan2(?37 ,?14 ))/pi",
836 : "?38 +0-?33 ",
837 : "?33 +?38 -0",
838 : "0+0-?38 ",
839 : "logwidth",
840 : "logheight",
841 : "logwidth",
842 : "(?33 )/60000.0",
843 : "(?39 )/60000.0",
844 : "(?41 )/60000.0",
845 : "(?40 )/60000.0",
846 : "(0)/60000.0",
847 : "(-5400000)/60000.0",
848 : "(16200000)/60000.0",
849 : "(5400000)/60000.0",
850 : "(0)/60000.0",
851 : "(-5400000)/60000.0",
852 : "(16200000)/60000.0",
853 : "(5400000)/60000.0",
854 : "(0)/60000.0",
855 : "(?33 )/60000.0",
856 : "(?33 )/60000.0",
857 : "(?39 )/60000.0"
858 : };
859 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
860 : }
861 : {
862 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
863 : {
864 0 : Sequence< PropertyValue > aPropSequence (4);
865 : {
866 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
867 : static const CustomShapeProvider::ParameterPairData aData =
868 : {
869 : EnhancedCustomShapeParameterType::EQUATION,
870 : EnhancedCustomShapeParameterType::EQUATION,
871 : 32, 24
872 : };
873 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
874 : }
875 : {
876 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
877 0 : EnhancedCustomShapeParameter aParameter;
878 0 : Any aAny ((sal_Int32) 2);
879 0 : aParameter.Value = aAny;
880 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
881 0 : aPropSequence [1].Value = makeAny (aParameter);
882 : }
883 : {
884 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
885 0 : EnhancedCustomShapeParameter aParameter;
886 0 : Any aAny ((sal_Int32) 0);
887 0 : aParameter.Value = aAny;
888 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
889 0 : aPropSequence [2].Value = makeAny (aParameter);
890 : }
891 : {
892 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
893 0 : Any aAny ((sal_Int32) 0);
894 0 : aPropSequence [3].Value = makeAny (aAny);
895 : }
896 0 : aPropSequenceSequence [0] = aPropSequence;
897 : }
898 : {
899 0 : Sequence< PropertyValue > aPropSequence (4);
900 : {
901 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
902 : static const CustomShapeProvider::ParameterPairData aData =
903 : {
904 : EnhancedCustomShapeParameterType::EQUATION,
905 : EnhancedCustomShapeParameterType::EQUATION,
906 : 42, 28
907 : };
908 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
909 : }
910 : {
911 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
912 0 : EnhancedCustomShapeParameter aParameter;
913 0 : Any aAny ((sal_Int32) 1);
914 0 : aParameter.Value = aAny;
915 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
916 0 : aPropSequence [1].Value = makeAny (aParameter);
917 : }
918 : {
919 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
920 0 : EnhancedCustomShapeParameter aParameter;
921 0 : Any aAny ((sal_Int32) 0);
922 0 : aParameter.Value = aAny;
923 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
924 0 : aPropSequence [2].Value = makeAny (aParameter);
925 : }
926 : {
927 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
928 0 : Any aAny ((sal_Int32) 1);
929 0 : aPropSequence [3].Value = makeAny (aAny);
930 : }
931 0 : aPropSequenceSequence [1] = aPropSequence;
932 : }
933 : {
934 0 : Sequence< PropertyValue > aPropSequence (4);
935 : {
936 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
937 : static const CustomShapeProvider::ParameterPairData aData =
938 : {
939 : EnhancedCustomShapeParameterType::EQUATION,
940 : EnhancedCustomShapeParameterType::EQUATION,
941 : 32, 43
942 : };
943 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
944 : }
945 : {
946 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
947 0 : EnhancedCustomShapeParameter aParameter;
948 0 : Any aAny ((sal_Int32) 15);
949 0 : aParameter.Value = aAny;
950 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
951 0 : aPropSequence [1].Value = makeAny (aParameter);
952 : }
953 : {
954 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
955 0 : EnhancedCustomShapeParameter aParameter;
956 0 : Any aAny ((sal_Int32) 0);
957 0 : aParameter.Value = aAny;
958 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
959 0 : aPropSequence [2].Value = makeAny (aParameter);
960 : }
961 : {
962 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
963 0 : Any aAny ((sal_Int32) 2);
964 0 : aPropSequence [3].Value = makeAny (aAny);
965 : }
966 0 : aPropSequenceSequence [2] = aPropSequence;
967 : }
968 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
969 : }
970 : {
971 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
972 : }
973 : {
974 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
975 : }
976 : {
977 0 : Sequence< PropertyValue > aPropSequence (3);
978 : {
979 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
980 : static const CustomShapeProvider::ParameterPairData aData[] = {
981 : {
982 : EnhancedCustomShapeParameterType::NORMAL,
983 : EnhancedCustomShapeParameterType::EQUATION,
984 : 0, 31
985 : },
986 : {
987 : EnhancedCustomShapeParameterType::EQUATION,
988 : EnhancedCustomShapeParameterType::EQUATION,
989 : 32, 28
990 : },
991 : {
992 : EnhancedCustomShapeParameterType::EQUATION,
993 : EnhancedCustomShapeParameterType::EQUATION,
994 : 32, 24
995 : },
996 : {
997 : EnhancedCustomShapeParameterType::EQUATION,
998 : EnhancedCustomShapeParameterType::EQUATION,
999 : 44, 8
1000 : },
1001 : {
1002 : EnhancedCustomShapeParameterType::EQUATION,
1003 : EnhancedCustomShapeParameterType::EQUATION,
1004 : 45, 46
1005 : },
1006 : {
1007 : EnhancedCustomShapeParameterType::EQUATION,
1008 : EnhancedCustomShapeParameterType::EQUATION,
1009 : 44, 8
1010 : },
1011 : {
1012 : EnhancedCustomShapeParameterType::EQUATION,
1013 : EnhancedCustomShapeParameterType::EQUATION,
1014 : 47, 48
1015 : },
1016 : {
1017 : EnhancedCustomShapeParameterType::EQUATION,
1018 : EnhancedCustomShapeParameterType::EQUATION,
1019 : 32, 29
1020 : },
1021 : {
1022 : EnhancedCustomShapeParameterType::EQUATION,
1023 : EnhancedCustomShapeParameterType::EQUATION,
1024 : 42, 18
1025 : },
1026 : {
1027 : EnhancedCustomShapeParameterType::EQUATION,
1028 : EnhancedCustomShapeParameterType::EQUATION,
1029 : 44, 8
1030 : },
1031 : {
1032 : EnhancedCustomShapeParameterType::EQUATION,
1033 : EnhancedCustomShapeParameterType::EQUATION,
1034 : 49, 50
1035 : },
1036 : {
1037 : EnhancedCustomShapeParameterType::NORMAL,
1038 : EnhancedCustomShapeParameterType::NORMAL,
1039 : 0, 0
1040 : },
1041 : {
1042 : EnhancedCustomShapeParameterType::EQUATION,
1043 : EnhancedCustomShapeParameterType::EQUATION,
1044 : 44, 8
1045 : },
1046 : {
1047 : EnhancedCustomShapeParameterType::EQUATION,
1048 : EnhancedCustomShapeParameterType::EQUATION,
1049 : 51, 52
1050 : },
1051 : {
1052 : EnhancedCustomShapeParameterType::EQUATION,
1053 : EnhancedCustomShapeParameterType::EQUATION,
1054 : 42, 18
1055 : },
1056 : {
1057 : EnhancedCustomShapeParameterType::EQUATION,
1058 : EnhancedCustomShapeParameterType::EQUATION,
1059 : 44, 8
1060 : },
1061 : {
1062 : EnhancedCustomShapeParameterType::EQUATION,
1063 : EnhancedCustomShapeParameterType::EQUATION,
1064 : 53, 54
1065 : },
1066 : {
1067 : EnhancedCustomShapeParameterType::NORMAL,
1068 : EnhancedCustomShapeParameterType::NORMAL,
1069 : 0, 0
1070 : },
1071 : {
1072 : EnhancedCustomShapeParameterType::EQUATION,
1073 : EnhancedCustomShapeParameterType::EQUATION,
1074 : 44, 8
1075 : },
1076 : {
1077 : EnhancedCustomShapeParameterType::EQUATION,
1078 : EnhancedCustomShapeParameterType::EQUATION,
1079 : 55, 56
1080 : },
1081 : {
1082 : EnhancedCustomShapeParameterType::EQUATION,
1083 : EnhancedCustomShapeParameterType::EQUATION,
1084 : 42, 18
1085 : },
1086 : {
1087 : EnhancedCustomShapeParameterType::EQUATION,
1088 : EnhancedCustomShapeParameterType::EQUATION,
1089 : 44, 8
1090 : },
1091 : {
1092 : EnhancedCustomShapeParameterType::EQUATION,
1093 : EnhancedCustomShapeParameterType::EQUATION,
1094 : 57, 58
1095 : },
1096 : {
1097 : EnhancedCustomShapeParameterType::EQUATION,
1098 : EnhancedCustomShapeParameterType::EQUATION,
1099 : 32, 29
1100 : },
1101 : {
1102 : EnhancedCustomShapeParameterType::NORMAL,
1103 : EnhancedCustomShapeParameterType::EQUATION,
1104 : 0, 31
1105 : },
1106 : {
1107 : EnhancedCustomShapeParameterType::EQUATION,
1108 : EnhancedCustomShapeParameterType::EQUATION,
1109 : 32, 28
1110 : },
1111 : {
1112 : EnhancedCustomShapeParameterType::EQUATION,
1113 : EnhancedCustomShapeParameterType::EQUATION,
1114 : 32, 24
1115 : },
1116 : {
1117 : EnhancedCustomShapeParameterType::EQUATION,
1118 : EnhancedCustomShapeParameterType::EQUATION,
1119 : 44, 8
1120 : },
1121 : {
1122 : EnhancedCustomShapeParameterType::EQUATION,
1123 : EnhancedCustomShapeParameterType::EQUATION,
1124 : 59, 60
1125 : }
1126 : };
1127 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1128 : }
1129 : {
1130 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1131 : static const sal_uInt16 nValues[] = {
1132 : // Command, Count
1133 : 1,1,
1134 : 2,2,
1135 : 17,2,
1136 : 2,1,
1137 : 4,0,
1138 : 7,0,
1139 : 5,0,
1140 : 1,1,
1141 : 17,1,
1142 : 2,1,
1143 : 17,1,
1144 : 4,0,
1145 : 19,0,
1146 : 7,0,
1147 : 5,0,
1148 : 1,1,
1149 : 17,1,
1150 : 2,1,
1151 : 17,1,
1152 : 2,1,
1153 : 17,1,
1154 : 2,4,
1155 : 17,1,
1156 : 6,0,
1157 : 5,0
1158 : };
1159 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1160 : }
1161 : {
1162 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1163 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1164 : {
1165 0 : EnhancedCustomShapeTextFrame aTextFrame;
1166 : {
1167 : static const CustomShapeProvider::ParameterPairData aData =
1168 : {
1169 : EnhancedCustomShapeParameterType::NORMAL,
1170 : EnhancedCustomShapeParameterType::NORMAL,
1171 : 0, 0
1172 : };
1173 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1174 : }
1175 : {
1176 : static const CustomShapeProvider::ParameterPairData aData =
1177 : {
1178 : EnhancedCustomShapeParameterType::EQUATION,
1179 : EnhancedCustomShapeParameterType::EQUATION,
1180 : 42, 43
1181 : };
1182 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1183 : }
1184 0 : aTextFrameSeq [0] = aTextFrame;
1185 : }
1186 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1187 : }
1188 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1189 : }
1190 : {
1191 0 : awt::Rectangle aRectangle;
1192 0 : aRectangle.X = 0;
1193 0 : aRectangle.Y = 0;
1194 0 : aRectangle.Width = 0;
1195 0 : aRectangle.Height = 0;
1196 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1197 : }
1198 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedLeftArrow");
1199 :
1200 0 : return aPropertyMap;
1201 : }
1202 : };
1203 3 : class ShapeCoctagon : public CustomShapeProvider
1204 : {
1205 0 : virtual PropertyMap getProperties()
1206 : {
1207 0 : PropertyMap aPropertyMap;
1208 :
1209 : {
1210 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1211 : {
1212 0 : Any aAny ((sal_Int32) 29289);
1213 0 : aAdjSequence [0].Value = aAny;
1214 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
1215 : }
1216 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1217 : }
1218 : {
1219 : static const char *aStrings[] = {
1220 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1221 : "min(logwidth,logheight)",
1222 : "?1 *?0 /100000",
1223 : "logwidth+0-?2 ",
1224 : "logheight+0-?2 ",
1225 : "?2 *1/2",
1226 : "logwidth+0-?5 ",
1227 : "logheight+0-?5 ",
1228 : "logwidth",
1229 : "logheight"
1230 : };
1231 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1232 : }
1233 : {
1234 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1235 : {
1236 0 : Sequence< PropertyValue > aPropSequence (4);
1237 : {
1238 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1239 : static const CustomShapeProvider::ParameterPairData aData =
1240 : {
1241 : EnhancedCustomShapeParameterType::EQUATION,
1242 : EnhancedCustomShapeParameterType::NORMAL,
1243 : 2, 0
1244 : };
1245 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1246 : }
1247 : {
1248 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1249 0 : EnhancedCustomShapeParameter aParameter;
1250 0 : Any aAny ((sal_Int32) 50000);
1251 0 : aParameter.Value = aAny;
1252 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1253 0 : aPropSequence [1].Value = makeAny (aParameter);
1254 : }
1255 : {
1256 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1257 0 : EnhancedCustomShapeParameter aParameter;
1258 0 : Any aAny ((sal_Int32) 0);
1259 0 : aParameter.Value = aAny;
1260 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1261 0 : aPropSequence [2].Value = makeAny (aParameter);
1262 : }
1263 : {
1264 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1265 0 : Any aAny ((sal_Int32) 0);
1266 0 : aPropSequence [3].Value = makeAny (aAny);
1267 : }
1268 0 : aPropSequenceSequence [0] = aPropSequence;
1269 : }
1270 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1271 : }
1272 : {
1273 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1274 : }
1275 : {
1276 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1277 : }
1278 : {
1279 0 : Sequence< PropertyValue > aPropSequence (3);
1280 : {
1281 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1282 : static const CustomShapeProvider::ParameterPairData aData[] = {
1283 : {
1284 : EnhancedCustomShapeParameterType::NORMAL,
1285 : EnhancedCustomShapeParameterType::EQUATION,
1286 : 0, 2
1287 : },
1288 : {
1289 : EnhancedCustomShapeParameterType::EQUATION,
1290 : EnhancedCustomShapeParameterType::NORMAL,
1291 : 2, 0
1292 : },
1293 : {
1294 : EnhancedCustomShapeParameterType::EQUATION,
1295 : EnhancedCustomShapeParameterType::NORMAL,
1296 : 3, 0
1297 : },
1298 : {
1299 : EnhancedCustomShapeParameterType::EQUATION,
1300 : EnhancedCustomShapeParameterType::EQUATION,
1301 : 8, 2
1302 : },
1303 : {
1304 : EnhancedCustomShapeParameterType::EQUATION,
1305 : EnhancedCustomShapeParameterType::EQUATION,
1306 : 8, 4
1307 : },
1308 : {
1309 : EnhancedCustomShapeParameterType::EQUATION,
1310 : EnhancedCustomShapeParameterType::EQUATION,
1311 : 3, 9
1312 : },
1313 : {
1314 : EnhancedCustomShapeParameterType::EQUATION,
1315 : EnhancedCustomShapeParameterType::EQUATION,
1316 : 2, 9
1317 : },
1318 : {
1319 : EnhancedCustomShapeParameterType::NORMAL,
1320 : EnhancedCustomShapeParameterType::EQUATION,
1321 : 0, 4
1322 : }
1323 : };
1324 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1325 : }
1326 : {
1327 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1328 : static const sal_uInt16 nValues[] = {
1329 : // Command, Count
1330 : 1,1,
1331 : 2,7,
1332 : 4,0,
1333 : 5,0
1334 : };
1335 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1336 : }
1337 : {
1338 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1339 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1340 : {
1341 0 : EnhancedCustomShapeTextFrame aTextFrame;
1342 : {
1343 : static const CustomShapeProvider::ParameterPairData aData =
1344 : {
1345 : EnhancedCustomShapeParameterType::EQUATION,
1346 : EnhancedCustomShapeParameterType::EQUATION,
1347 : 5, 5
1348 : };
1349 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1350 : }
1351 : {
1352 : static const CustomShapeProvider::ParameterPairData aData =
1353 : {
1354 : EnhancedCustomShapeParameterType::EQUATION,
1355 : EnhancedCustomShapeParameterType::EQUATION,
1356 : 6, 7
1357 : };
1358 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1359 : }
1360 0 : aTextFrameSeq [0] = aTextFrame;
1361 : }
1362 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1363 : }
1364 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1365 : }
1366 : {
1367 0 : awt::Rectangle aRectangle;
1368 0 : aRectangle.X = 0;
1369 0 : aRectangle.Y = 0;
1370 0 : aRectangle.Width = 0;
1371 0 : aRectangle.Height = 0;
1372 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1373 : }
1374 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-octagon");
1375 :
1376 0 : return aPropertyMap;
1377 : }
1378 : };
1379 3 : class ShapeCleftRightRibbon : public CustomShapeProvider
1380 : {
1381 0 : virtual PropertyMap getProperties()
1382 : {
1383 0 : PropertyMap aPropertyMap;
1384 :
1385 : {
1386 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
1387 : {
1388 0 : Any aAny ((sal_Int32) 50000);
1389 0 : aAdjSequence [0].Value = aAny;
1390 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
1391 : }
1392 : {
1393 0 : Any aAny ((sal_Int32) 50000);
1394 0 : aAdjSequence [1].Value = aAny;
1395 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
1396 : }
1397 : {
1398 0 : Any aAny ((sal_Int32) 16667);
1399 0 : aAdjSequence [2].Value = aAny;
1400 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
1401 : }
1402 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1403 : }
1404 : {
1405 : static const char *aStrings[] = {
1406 : "if(0-$2 ,0,if(33333-$2 ,$2 ,33333))",
1407 : "100000+0-?0 ",
1408 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
1409 : "logwidth/2",
1410 : "logwidth/32",
1411 : "?3 +0-?4 ",
1412 : "min(logwidth,logheight)",
1413 : "100000*?5 /?6 ",
1414 : "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))",
1415 : "?6 *?8 /100000",
1416 : "logwidth+0-?9 ",
1417 : "logheight*?2 /200000",
1418 : "logheight*?0 /-200000",
1419 : "logheight/2",
1420 : "?13 +?12 -?11 ",
1421 : "?13 +?11 -?12 ",
1422 : "?14 +?11 -0",
1423 : "logheight+0-?16 ",
1424 : "?16 *2/1",
1425 : "logheight+0-?18 ",
1426 : "?18 +0-?14 ",
1427 : "logheight+0-?20 ",
1428 : "?0 *?6 /400000",
1429 : "logwidth/2",
1430 : "?23 +0-?4 ",
1431 : "?23 +?4 -0",
1432 : "?14 +?22 -0",
1433 : "?21 +0-?22 ",
1434 : "logwidth",
1435 : "logheight",
1436 : "(16200000)/60000.0",
1437 : "(10800000)/60000.0",
1438 : "(16200000)/60000.0",
1439 : "(-10800000)/60000.0",
1440 : "(5400000)/60000.0",
1441 : "(5400000)/60000.0",
1442 : "(0)/60000.0",
1443 : "(5400000)/60000.0",
1444 : "(16200000)/60000.0",
1445 : "(-10800000)/60000.0",
1446 : "(16200000)/60000.0",
1447 : "(10800000)/60000.0",
1448 : "(16200000)/60000.0",
1449 : "(-10800000)/60000.0",
1450 : "(5400000)/60000.0",
1451 : "(5400000)/60000.0"
1452 : };
1453 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1454 : }
1455 : {
1456 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1457 : {
1458 0 : Sequence< PropertyValue > aPropSequence (4);
1459 : {
1460 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1461 : static const CustomShapeProvider::ParameterPairData aData =
1462 : {
1463 : EnhancedCustomShapeParameterType::EQUATION,
1464 : EnhancedCustomShapeParameterType::EQUATION,
1465 : 10, 21
1466 : };
1467 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1468 : }
1469 : {
1470 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1471 0 : EnhancedCustomShapeParameter aParameter;
1472 0 : Any aAny ((sal_Int32) 1);
1473 0 : aParameter.Value = aAny;
1474 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1475 0 : aPropSequence [1].Value = makeAny (aParameter);
1476 : }
1477 : {
1478 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1479 0 : EnhancedCustomShapeParameter aParameter;
1480 0 : Any aAny ((sal_Int32) 0);
1481 0 : aParameter.Value = aAny;
1482 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1483 0 : aPropSequence [2].Value = makeAny (aParameter);
1484 : }
1485 : {
1486 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1487 0 : Any aAny ((sal_Int32) 0);
1488 0 : aPropSequence [3].Value = makeAny (aAny);
1489 : }
1490 0 : aPropSequenceSequence [0] = aPropSequence;
1491 : }
1492 : {
1493 0 : Sequence< PropertyValue > aPropSequence (4);
1494 : {
1495 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1496 : static const CustomShapeProvider::ParameterPairData aData =
1497 : {
1498 : EnhancedCustomShapeParameterType::EQUATION,
1499 : EnhancedCustomShapeParameterType::NORMAL,
1500 : 9, 0
1501 : };
1502 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1503 : }
1504 : {
1505 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1506 0 : EnhancedCustomShapeParameter aParameter;
1507 0 : Any aAny ((sal_Int32) 7);
1508 0 : aParameter.Value = aAny;
1509 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1510 0 : aPropSequence [1].Value = makeAny (aParameter);
1511 : }
1512 : {
1513 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1514 0 : EnhancedCustomShapeParameter aParameter;
1515 0 : Any aAny ((sal_Int32) 0);
1516 0 : aParameter.Value = aAny;
1517 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1518 0 : aPropSequence [2].Value = makeAny (aParameter);
1519 : }
1520 : {
1521 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1522 0 : Any aAny ((sal_Int32) 1);
1523 0 : aPropSequence [3].Value = makeAny (aAny);
1524 : }
1525 0 : aPropSequenceSequence [1] = aPropSequence;
1526 : }
1527 : {
1528 0 : Sequence< PropertyValue > aPropSequence (4);
1529 : {
1530 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1531 : static const CustomShapeProvider::ParameterPairData aData =
1532 : {
1533 : EnhancedCustomShapeParameterType::EQUATION,
1534 : EnhancedCustomShapeParameterType::EQUATION,
1535 : 25, 21
1536 : };
1537 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1538 : }
1539 : {
1540 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1541 0 : EnhancedCustomShapeParameter aParameter;
1542 0 : Any aAny ((sal_Int32) 33333);
1543 0 : aParameter.Value = aAny;
1544 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1545 0 : aPropSequence [1].Value = makeAny (aParameter);
1546 : }
1547 : {
1548 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1549 0 : EnhancedCustomShapeParameter aParameter;
1550 0 : Any aAny ((sal_Int32) 0);
1551 0 : aParameter.Value = aAny;
1552 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1553 0 : aPropSequence [2].Value = makeAny (aParameter);
1554 : }
1555 : {
1556 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1557 0 : Any aAny ((sal_Int32) 2);
1558 0 : aPropSequence [3].Value = makeAny (aAny);
1559 : }
1560 0 : aPropSequenceSequence [2] = aPropSequence;
1561 : }
1562 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1563 : }
1564 : {
1565 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1566 : }
1567 : {
1568 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1569 : }
1570 : {
1571 0 : Sequence< PropertyValue > aPropSequence (3);
1572 : {
1573 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1574 : static const CustomShapeProvider::ParameterPairData aData[] = {
1575 : {
1576 : EnhancedCustomShapeParameterType::NORMAL,
1577 : EnhancedCustomShapeParameterType::EQUATION,
1578 : 0, 16
1579 : },
1580 : {
1581 : EnhancedCustomShapeParameterType::EQUATION,
1582 : EnhancedCustomShapeParameterType::NORMAL,
1583 : 9, 0
1584 : },
1585 : {
1586 : EnhancedCustomShapeParameterType::EQUATION,
1587 : EnhancedCustomShapeParameterType::EQUATION,
1588 : 9, 14
1589 : },
1590 : {
1591 : EnhancedCustomShapeParameterType::EQUATION,
1592 : EnhancedCustomShapeParameterType::EQUATION,
1593 : 23, 14
1594 : },
1595 : {
1596 : EnhancedCustomShapeParameterType::EQUATION,
1597 : EnhancedCustomShapeParameterType::EQUATION,
1598 : 4, 22
1599 : },
1600 : {
1601 : EnhancedCustomShapeParameterType::EQUATION,
1602 : EnhancedCustomShapeParameterType::EQUATION,
1603 : 30, 31
1604 : },
1605 : {
1606 : EnhancedCustomShapeParameterType::EQUATION,
1607 : EnhancedCustomShapeParameterType::EQUATION,
1608 : 4, 22
1609 : },
1610 : {
1611 : EnhancedCustomShapeParameterType::EQUATION,
1612 : EnhancedCustomShapeParameterType::EQUATION,
1613 : 32, 33
1614 : },
1615 : {
1616 : EnhancedCustomShapeParameterType::EQUATION,
1617 : EnhancedCustomShapeParameterType::EQUATION,
1618 : 10, 21
1619 : },
1620 : {
1621 : EnhancedCustomShapeParameterType::EQUATION,
1622 : EnhancedCustomShapeParameterType::EQUATION,
1623 : 10, 19
1624 : },
1625 : {
1626 : EnhancedCustomShapeParameterType::EQUATION,
1627 : EnhancedCustomShapeParameterType::EQUATION,
1628 : 28, 17
1629 : },
1630 : {
1631 : EnhancedCustomShapeParameterType::EQUATION,
1632 : EnhancedCustomShapeParameterType::EQUATION,
1633 : 10, 29
1634 : },
1635 : {
1636 : EnhancedCustomShapeParameterType::EQUATION,
1637 : EnhancedCustomShapeParameterType::EQUATION,
1638 : 10, 15
1639 : },
1640 : {
1641 : EnhancedCustomShapeParameterType::EQUATION,
1642 : EnhancedCustomShapeParameterType::EQUATION,
1643 : 23, 15
1644 : },
1645 : {
1646 : EnhancedCustomShapeParameterType::EQUATION,
1647 : EnhancedCustomShapeParameterType::EQUATION,
1648 : 4, 22
1649 : },
1650 : {
1651 : EnhancedCustomShapeParameterType::EQUATION,
1652 : EnhancedCustomShapeParameterType::EQUATION,
1653 : 34, 35
1654 : },
1655 : {
1656 : EnhancedCustomShapeParameterType::EQUATION,
1657 : EnhancedCustomShapeParameterType::EQUATION,
1658 : 24, 20
1659 : },
1660 : {
1661 : EnhancedCustomShapeParameterType::EQUATION,
1662 : EnhancedCustomShapeParameterType::EQUATION,
1663 : 9, 20
1664 : },
1665 : {
1666 : EnhancedCustomShapeParameterType::EQUATION,
1667 : EnhancedCustomShapeParameterType::EQUATION,
1668 : 9, 18
1669 : },
1670 : {
1671 : EnhancedCustomShapeParameterType::EQUATION,
1672 : EnhancedCustomShapeParameterType::EQUATION,
1673 : 25, 26
1674 : },
1675 : {
1676 : EnhancedCustomShapeParameterType::EQUATION,
1677 : EnhancedCustomShapeParameterType::EQUATION,
1678 : 4, 22
1679 : },
1680 : {
1681 : EnhancedCustomShapeParameterType::EQUATION,
1682 : EnhancedCustomShapeParameterType::EQUATION,
1683 : 36, 37
1684 : },
1685 : {
1686 : EnhancedCustomShapeParameterType::EQUATION,
1687 : EnhancedCustomShapeParameterType::EQUATION,
1688 : 4, 22
1689 : },
1690 : {
1691 : EnhancedCustomShapeParameterType::EQUATION,
1692 : EnhancedCustomShapeParameterType::EQUATION,
1693 : 38, 39
1694 : },
1695 : {
1696 : EnhancedCustomShapeParameterType::EQUATION,
1697 : EnhancedCustomShapeParameterType::EQUATION,
1698 : 25, 21
1699 : },
1700 : {
1701 : EnhancedCustomShapeParameterType::NORMAL,
1702 : EnhancedCustomShapeParameterType::EQUATION,
1703 : 0, 16
1704 : },
1705 : {
1706 : EnhancedCustomShapeParameterType::EQUATION,
1707 : EnhancedCustomShapeParameterType::NORMAL,
1708 : 9, 0
1709 : },
1710 : {
1711 : EnhancedCustomShapeParameterType::EQUATION,
1712 : EnhancedCustomShapeParameterType::EQUATION,
1713 : 9, 14
1714 : },
1715 : {
1716 : EnhancedCustomShapeParameterType::EQUATION,
1717 : EnhancedCustomShapeParameterType::EQUATION,
1718 : 23, 14
1719 : },
1720 : {
1721 : EnhancedCustomShapeParameterType::EQUATION,
1722 : EnhancedCustomShapeParameterType::EQUATION,
1723 : 4, 22
1724 : },
1725 : {
1726 : EnhancedCustomShapeParameterType::EQUATION,
1727 : EnhancedCustomShapeParameterType::EQUATION,
1728 : 40, 41
1729 : },
1730 : {
1731 : EnhancedCustomShapeParameterType::EQUATION,
1732 : EnhancedCustomShapeParameterType::EQUATION,
1733 : 4, 22
1734 : },
1735 : {
1736 : EnhancedCustomShapeParameterType::EQUATION,
1737 : EnhancedCustomShapeParameterType::EQUATION,
1738 : 42, 43
1739 : },
1740 : {
1741 : EnhancedCustomShapeParameterType::EQUATION,
1742 : EnhancedCustomShapeParameterType::EQUATION,
1743 : 10, 21
1744 : },
1745 : {
1746 : EnhancedCustomShapeParameterType::EQUATION,
1747 : EnhancedCustomShapeParameterType::EQUATION,
1748 : 10, 19
1749 : },
1750 : {
1751 : EnhancedCustomShapeParameterType::EQUATION,
1752 : EnhancedCustomShapeParameterType::EQUATION,
1753 : 28, 17
1754 : },
1755 : {
1756 : EnhancedCustomShapeParameterType::EQUATION,
1757 : EnhancedCustomShapeParameterType::EQUATION,
1758 : 10, 29
1759 : },
1760 : {
1761 : EnhancedCustomShapeParameterType::EQUATION,
1762 : EnhancedCustomShapeParameterType::EQUATION,
1763 : 10, 15
1764 : },
1765 : {
1766 : EnhancedCustomShapeParameterType::EQUATION,
1767 : EnhancedCustomShapeParameterType::EQUATION,
1768 : 23, 15
1769 : },
1770 : {
1771 : EnhancedCustomShapeParameterType::EQUATION,
1772 : EnhancedCustomShapeParameterType::EQUATION,
1773 : 4, 22
1774 : },
1775 : {
1776 : EnhancedCustomShapeParameterType::EQUATION,
1777 : EnhancedCustomShapeParameterType::EQUATION,
1778 : 44, 45
1779 : },
1780 : {
1781 : EnhancedCustomShapeParameterType::EQUATION,
1782 : EnhancedCustomShapeParameterType::EQUATION,
1783 : 24, 20
1784 : },
1785 : {
1786 : EnhancedCustomShapeParameterType::EQUATION,
1787 : EnhancedCustomShapeParameterType::EQUATION,
1788 : 9, 20
1789 : },
1790 : {
1791 : EnhancedCustomShapeParameterType::EQUATION,
1792 : EnhancedCustomShapeParameterType::EQUATION,
1793 : 9, 18
1794 : },
1795 : {
1796 : EnhancedCustomShapeParameterType::EQUATION,
1797 : EnhancedCustomShapeParameterType::EQUATION,
1798 : 25, 26
1799 : },
1800 : {
1801 : EnhancedCustomShapeParameterType::EQUATION,
1802 : EnhancedCustomShapeParameterType::EQUATION,
1803 : 25, 21
1804 : },
1805 : {
1806 : EnhancedCustomShapeParameterType::EQUATION,
1807 : EnhancedCustomShapeParameterType::EQUATION,
1808 : 24, 27
1809 : },
1810 : {
1811 : EnhancedCustomShapeParameterType::EQUATION,
1812 : EnhancedCustomShapeParameterType::EQUATION,
1813 : 24, 20
1814 : }
1815 : };
1816 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1817 : }
1818 : {
1819 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1820 : static const sal_uInt16 nValues[] = {
1821 : // Command, Count
1822 : 1,1,
1823 : 2,3,
1824 : 17,2,
1825 : 2,6,
1826 : 17,1,
1827 : 2,3,
1828 : 4,0,
1829 : 7,0,
1830 : 5,0,
1831 : 1,1,
1832 : 17,2,
1833 : 2,1,
1834 : 4,0,
1835 : 19,0,
1836 : 7,0,
1837 : 5,0,
1838 : 1,1,
1839 : 2,3,
1840 : 17,2,
1841 : 2,6,
1842 : 17,1,
1843 : 2,3,
1844 : 4,0,
1845 : 1,1,
1846 : 2,1,
1847 : 1,1,
1848 : 2,1,
1849 : 6,0,
1850 : 5,0
1851 : };
1852 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1853 : }
1854 : {
1855 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1856 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1857 : {
1858 0 : EnhancedCustomShapeTextFrame aTextFrame;
1859 : {
1860 : static const CustomShapeProvider::ParameterPairData aData =
1861 : {
1862 : EnhancedCustomShapeParameterType::EQUATION,
1863 : EnhancedCustomShapeParameterType::EQUATION,
1864 : 9, 14
1865 : };
1866 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1867 : }
1868 : {
1869 : static const CustomShapeProvider::ParameterPairData aData =
1870 : {
1871 : EnhancedCustomShapeParameterType::EQUATION,
1872 : EnhancedCustomShapeParameterType::EQUATION,
1873 : 10, 15
1874 : };
1875 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1876 : }
1877 0 : aTextFrameSeq [0] = aTextFrame;
1878 : }
1879 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1880 : }
1881 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1882 : }
1883 : {
1884 0 : awt::Rectangle aRectangle;
1885 0 : aRectangle.X = 0;
1886 0 : aRectangle.Y = 0;
1887 0 : aRectangle.Width = 0;
1888 0 : aRectangle.Height = 0;
1889 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1890 : }
1891 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightRibbon");
1892 :
1893 0 : return aPropertyMap;
1894 : }
1895 : };
1896 3 : class ShapeCactionButtonInformation : public CustomShapeProvider
1897 : {
1898 0 : virtual PropertyMap getProperties()
1899 : {
1900 0 : PropertyMap aPropertyMap;
1901 :
1902 : {
1903 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1904 : }
1905 : {
1906 : static const char *aStrings[] = {
1907 : "min(logwidth,logheight)",
1908 : "?0 *3/8",
1909 : "logheight/2",
1910 : "?2 +0-?1 ",
1911 : "logwidth/2",
1912 : "?4 +0-?1 ",
1913 : "?0 *3/4",
1914 : "?6 *1/32",
1915 : "?6 *5/16",
1916 : "?6 *3/8",
1917 : "?6 *13/32",
1918 : "?6 *19/32",
1919 : "?6 *11/16",
1920 : "?6 *13/16",
1921 : "?6 *7/8",
1922 : "?3 +?7 -0",
1923 : "?3 +?8 -0",
1924 : "?3 +?9 -0",
1925 : "?3 +?13 -0",
1926 : "?3 +?14 -0",
1927 : "?5 +?8 -0",
1928 : "?5 +?10 -0",
1929 : "?5 +?11 -0",
1930 : "?5 +?12 -0",
1931 : "?6 *3/32",
1932 : "logwidth",
1933 : "logheight",
1934 : "(16200000)/60000.0",
1935 : "(21600000)/60000.0",
1936 : "(16200000)/60000.0",
1937 : "(21600000)/60000.0",
1938 : "(16200000)/60000.0",
1939 : "(21600000)/60000.0",
1940 : "(16200000)/60000.0",
1941 : "(21600000)/60000.0",
1942 : "(16200000)/60000.0",
1943 : "(21600000)/60000.0",
1944 : "(16200000)/60000.0",
1945 : "(21600000)/60000.0"
1946 : };
1947 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1948 : }
1949 : {
1950 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1951 : }
1952 : {
1953 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1954 : }
1955 : {
1956 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1957 : }
1958 : {
1959 0 : Sequence< PropertyValue > aPropSequence (3);
1960 : {
1961 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1962 : static const CustomShapeProvider::ParameterPairData aData[] = {
1963 : {
1964 : EnhancedCustomShapeParameterType::NORMAL,
1965 : EnhancedCustomShapeParameterType::NORMAL,
1966 : 0, 0
1967 : },
1968 : {
1969 : EnhancedCustomShapeParameterType::EQUATION,
1970 : EnhancedCustomShapeParameterType::NORMAL,
1971 : 25, 0
1972 : },
1973 : {
1974 : EnhancedCustomShapeParameterType::EQUATION,
1975 : EnhancedCustomShapeParameterType::EQUATION,
1976 : 25, 26
1977 : },
1978 : {
1979 : EnhancedCustomShapeParameterType::NORMAL,
1980 : EnhancedCustomShapeParameterType::EQUATION,
1981 : 0, 26
1982 : },
1983 : {
1984 : EnhancedCustomShapeParameterType::EQUATION,
1985 : EnhancedCustomShapeParameterType::EQUATION,
1986 : 4, 3
1987 : },
1988 : {
1989 : EnhancedCustomShapeParameterType::EQUATION,
1990 : EnhancedCustomShapeParameterType::EQUATION,
1991 : 1, 1
1992 : },
1993 : {
1994 : EnhancedCustomShapeParameterType::EQUATION,
1995 : EnhancedCustomShapeParameterType::EQUATION,
1996 : 27, 28
1997 : },
1998 : {
1999 : EnhancedCustomShapeParameterType::EQUATION,
2000 : EnhancedCustomShapeParameterType::EQUATION,
2001 : 4, 3
2002 : },
2003 : {
2004 : EnhancedCustomShapeParameterType::EQUATION,
2005 : EnhancedCustomShapeParameterType::EQUATION,
2006 : 1, 1
2007 : },
2008 : {
2009 : EnhancedCustomShapeParameterType::EQUATION,
2010 : EnhancedCustomShapeParameterType::EQUATION,
2011 : 29, 30
2012 : },
2013 : {
2014 : EnhancedCustomShapeParameterType::EQUATION,
2015 : EnhancedCustomShapeParameterType::EQUATION,
2016 : 4, 15
2017 : },
2018 : {
2019 : EnhancedCustomShapeParameterType::EQUATION,
2020 : EnhancedCustomShapeParameterType::EQUATION,
2021 : 24, 24
2022 : },
2023 : {
2024 : EnhancedCustomShapeParameterType::EQUATION,
2025 : EnhancedCustomShapeParameterType::EQUATION,
2026 : 31, 32
2027 : },
2028 : {
2029 : EnhancedCustomShapeParameterType::EQUATION,
2030 : EnhancedCustomShapeParameterType::EQUATION,
2031 : 20, 16
2032 : },
2033 : {
2034 : EnhancedCustomShapeParameterType::EQUATION,
2035 : EnhancedCustomShapeParameterType::EQUATION,
2036 : 20, 17
2037 : },
2038 : {
2039 : EnhancedCustomShapeParameterType::EQUATION,
2040 : EnhancedCustomShapeParameterType::EQUATION,
2041 : 21, 17
2042 : },
2043 : {
2044 : EnhancedCustomShapeParameterType::EQUATION,
2045 : EnhancedCustomShapeParameterType::EQUATION,
2046 : 21, 18
2047 : },
2048 : {
2049 : EnhancedCustomShapeParameterType::EQUATION,
2050 : EnhancedCustomShapeParameterType::EQUATION,
2051 : 20, 18
2052 : },
2053 : {
2054 : EnhancedCustomShapeParameterType::EQUATION,
2055 : EnhancedCustomShapeParameterType::EQUATION,
2056 : 20, 19
2057 : },
2058 : {
2059 : EnhancedCustomShapeParameterType::EQUATION,
2060 : EnhancedCustomShapeParameterType::EQUATION,
2061 : 23, 19
2062 : },
2063 : {
2064 : EnhancedCustomShapeParameterType::EQUATION,
2065 : EnhancedCustomShapeParameterType::EQUATION,
2066 : 23, 18
2067 : },
2068 : {
2069 : EnhancedCustomShapeParameterType::EQUATION,
2070 : EnhancedCustomShapeParameterType::EQUATION,
2071 : 22, 18
2072 : },
2073 : {
2074 : EnhancedCustomShapeParameterType::EQUATION,
2075 : EnhancedCustomShapeParameterType::EQUATION,
2076 : 22, 16
2077 : },
2078 : {
2079 : EnhancedCustomShapeParameterType::EQUATION,
2080 : EnhancedCustomShapeParameterType::EQUATION,
2081 : 4, 15
2082 : },
2083 : {
2084 : EnhancedCustomShapeParameterType::EQUATION,
2085 : EnhancedCustomShapeParameterType::EQUATION,
2086 : 24, 24
2087 : },
2088 : {
2089 : EnhancedCustomShapeParameterType::EQUATION,
2090 : EnhancedCustomShapeParameterType::EQUATION,
2091 : 33, 34
2092 : },
2093 : {
2094 : EnhancedCustomShapeParameterType::EQUATION,
2095 : EnhancedCustomShapeParameterType::EQUATION,
2096 : 20, 16
2097 : },
2098 : {
2099 : EnhancedCustomShapeParameterType::EQUATION,
2100 : EnhancedCustomShapeParameterType::EQUATION,
2101 : 22, 16
2102 : },
2103 : {
2104 : EnhancedCustomShapeParameterType::EQUATION,
2105 : EnhancedCustomShapeParameterType::EQUATION,
2106 : 22, 18
2107 : },
2108 : {
2109 : EnhancedCustomShapeParameterType::EQUATION,
2110 : EnhancedCustomShapeParameterType::EQUATION,
2111 : 23, 18
2112 : },
2113 : {
2114 : EnhancedCustomShapeParameterType::EQUATION,
2115 : EnhancedCustomShapeParameterType::EQUATION,
2116 : 23, 19
2117 : },
2118 : {
2119 : EnhancedCustomShapeParameterType::EQUATION,
2120 : EnhancedCustomShapeParameterType::EQUATION,
2121 : 20, 19
2122 : },
2123 : {
2124 : EnhancedCustomShapeParameterType::EQUATION,
2125 : EnhancedCustomShapeParameterType::EQUATION,
2126 : 20, 18
2127 : },
2128 : {
2129 : EnhancedCustomShapeParameterType::EQUATION,
2130 : EnhancedCustomShapeParameterType::EQUATION,
2131 : 21, 18
2132 : },
2133 : {
2134 : EnhancedCustomShapeParameterType::EQUATION,
2135 : EnhancedCustomShapeParameterType::EQUATION,
2136 : 21, 17
2137 : },
2138 : {
2139 : EnhancedCustomShapeParameterType::EQUATION,
2140 : EnhancedCustomShapeParameterType::EQUATION,
2141 : 20, 17
2142 : },
2143 : {
2144 : EnhancedCustomShapeParameterType::EQUATION,
2145 : EnhancedCustomShapeParameterType::EQUATION,
2146 : 4, 3
2147 : },
2148 : {
2149 : EnhancedCustomShapeParameterType::EQUATION,
2150 : EnhancedCustomShapeParameterType::EQUATION,
2151 : 1, 1
2152 : },
2153 : {
2154 : EnhancedCustomShapeParameterType::EQUATION,
2155 : EnhancedCustomShapeParameterType::EQUATION,
2156 : 35, 36
2157 : },
2158 : {
2159 : EnhancedCustomShapeParameterType::EQUATION,
2160 : EnhancedCustomShapeParameterType::EQUATION,
2161 : 4, 15
2162 : },
2163 : {
2164 : EnhancedCustomShapeParameterType::EQUATION,
2165 : EnhancedCustomShapeParameterType::EQUATION,
2166 : 24, 24
2167 : },
2168 : {
2169 : EnhancedCustomShapeParameterType::EQUATION,
2170 : EnhancedCustomShapeParameterType::EQUATION,
2171 : 37, 38
2172 : },
2173 : {
2174 : EnhancedCustomShapeParameterType::EQUATION,
2175 : EnhancedCustomShapeParameterType::EQUATION,
2176 : 20, 16
2177 : },
2178 : {
2179 : EnhancedCustomShapeParameterType::EQUATION,
2180 : EnhancedCustomShapeParameterType::EQUATION,
2181 : 22, 16
2182 : },
2183 : {
2184 : EnhancedCustomShapeParameterType::EQUATION,
2185 : EnhancedCustomShapeParameterType::EQUATION,
2186 : 22, 18
2187 : },
2188 : {
2189 : EnhancedCustomShapeParameterType::EQUATION,
2190 : EnhancedCustomShapeParameterType::EQUATION,
2191 : 23, 18
2192 : },
2193 : {
2194 : EnhancedCustomShapeParameterType::EQUATION,
2195 : EnhancedCustomShapeParameterType::EQUATION,
2196 : 23, 19
2197 : },
2198 : {
2199 : EnhancedCustomShapeParameterType::EQUATION,
2200 : EnhancedCustomShapeParameterType::EQUATION,
2201 : 20, 19
2202 : },
2203 : {
2204 : EnhancedCustomShapeParameterType::EQUATION,
2205 : EnhancedCustomShapeParameterType::EQUATION,
2206 : 20, 18
2207 : },
2208 : {
2209 : EnhancedCustomShapeParameterType::EQUATION,
2210 : EnhancedCustomShapeParameterType::EQUATION,
2211 : 21, 18
2212 : },
2213 : {
2214 : EnhancedCustomShapeParameterType::EQUATION,
2215 : EnhancedCustomShapeParameterType::EQUATION,
2216 : 21, 17
2217 : },
2218 : {
2219 : EnhancedCustomShapeParameterType::EQUATION,
2220 : EnhancedCustomShapeParameterType::EQUATION,
2221 : 20, 17
2222 : },
2223 : {
2224 : EnhancedCustomShapeParameterType::NORMAL,
2225 : EnhancedCustomShapeParameterType::NORMAL,
2226 : 0, 0
2227 : },
2228 : {
2229 : EnhancedCustomShapeParameterType::EQUATION,
2230 : EnhancedCustomShapeParameterType::NORMAL,
2231 : 25, 0
2232 : },
2233 : {
2234 : EnhancedCustomShapeParameterType::EQUATION,
2235 : EnhancedCustomShapeParameterType::EQUATION,
2236 : 25, 26
2237 : },
2238 : {
2239 : EnhancedCustomShapeParameterType::NORMAL,
2240 : EnhancedCustomShapeParameterType::EQUATION,
2241 : 0, 26
2242 : }
2243 : };
2244 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2245 : }
2246 : {
2247 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2248 : static const sal_uInt16 nValues[] = {
2249 : // Command, Count
2250 : 1,1,
2251 : 2,3,
2252 : 4,0,
2253 : 1,1,
2254 : 17,1,
2255 : 4,0,
2256 : 7,0,
2257 : 5,0,
2258 : 1,1,
2259 : 17,1,
2260 : 4,0,
2261 : 1,1,
2262 : 17,1,
2263 : 1,1,
2264 : 2,9,
2265 : 4,0,
2266 : 18,0,
2267 : 7,0,
2268 : 5,0,
2269 : 1,1,
2270 : 17,1,
2271 : 1,1,
2272 : 2,9,
2273 : 4,0,
2274 : 20,0,
2275 : 7,0,
2276 : 5,0,
2277 : 1,1,
2278 : 17,1,
2279 : 4,0,
2280 : 1,1,
2281 : 17,1,
2282 : 1,1,
2283 : 2,9,
2284 : 4,0,
2285 : 6,0,
2286 : 5,0,
2287 : 1,1,
2288 : 2,3,
2289 : 4,0,
2290 : 6,0,
2291 : 5,0
2292 : };
2293 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2294 : }
2295 : {
2296 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2297 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2298 : {
2299 0 : EnhancedCustomShapeTextFrame aTextFrame;
2300 : {
2301 : static const CustomShapeProvider::ParameterPairData aData =
2302 : {
2303 : EnhancedCustomShapeParameterType::NORMAL,
2304 : EnhancedCustomShapeParameterType::NORMAL,
2305 : 0, 0
2306 : };
2307 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2308 : }
2309 : {
2310 : static const CustomShapeProvider::ParameterPairData aData =
2311 : {
2312 : EnhancedCustomShapeParameterType::EQUATION,
2313 : EnhancedCustomShapeParameterType::EQUATION,
2314 : 25, 26
2315 : };
2316 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2317 : }
2318 0 : aTextFrameSeq [0] = aTextFrame;
2319 : }
2320 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2321 : }
2322 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2323 : }
2324 : {
2325 0 : awt::Rectangle aRectangle;
2326 0 : aRectangle.X = 0;
2327 0 : aRectangle.Y = 0;
2328 0 : aRectangle.Width = 0;
2329 0 : aRectangle.Height = 0;
2330 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2331 : }
2332 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonInformation");
2333 :
2334 0 : return aPropertyMap;
2335 : }
2336 : };
2337 3 : class ShapeCbentConnector5 : public CustomShapeProvider
2338 : {
2339 0 : virtual PropertyMap getProperties()
2340 : {
2341 0 : PropertyMap aPropertyMap;
2342 :
2343 : {
2344 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
2345 : {
2346 0 : Any aAny ((sal_Int32) 50000);
2347 0 : aAdjSequence [0].Value = aAny;
2348 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
2349 : }
2350 : {
2351 0 : Any aAny ((sal_Int32) 50000);
2352 0 : aAdjSequence [1].Value = aAny;
2353 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
2354 : }
2355 : {
2356 0 : Any aAny ((sal_Int32) 50000);
2357 0 : aAdjSequence [2].Value = aAny;
2358 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
2359 : }
2360 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2361 : }
2362 : {
2363 : static const char *aStrings[] = {
2364 : "logwidth*$0 /100000",
2365 : "logwidth*$2 /100000",
2366 : "(?0 +?1 )/2",
2367 : "logheight*$1 /100000",
2368 : "(0+?3 )/2",
2369 : "(logheight+?3 )/2",
2370 : "logwidth",
2371 : "logheight"
2372 : };
2373 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2374 : }
2375 : {
2376 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
2377 : {
2378 0 : Sequence< PropertyValue > aPropSequence (4);
2379 : {
2380 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2381 : static const CustomShapeProvider::ParameterPairData aData =
2382 : {
2383 : EnhancedCustomShapeParameterType::EQUATION,
2384 : EnhancedCustomShapeParameterType::EQUATION,
2385 : 0, 4
2386 : };
2387 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2388 : }
2389 : {
2390 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
2391 0 : EnhancedCustomShapeParameter aParameter;
2392 0 : Any aAny ((sal_Int32) 2147483647);
2393 0 : aParameter.Value = aAny;
2394 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2395 0 : aPropSequence [1].Value = makeAny (aParameter);
2396 : }
2397 : {
2398 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
2399 0 : EnhancedCustomShapeParameter aParameter;
2400 0 : Any aAny ((sal_Int32) -2147483647);
2401 0 : aParameter.Value = aAny;
2402 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2403 0 : aPropSequence [2].Value = makeAny (aParameter);
2404 : }
2405 : {
2406 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
2407 0 : Any aAny ((sal_Int32) 0);
2408 0 : aPropSequence [3].Value = makeAny (aAny);
2409 : }
2410 0 : aPropSequenceSequence [0] = aPropSequence;
2411 : }
2412 : {
2413 0 : Sequence< PropertyValue > aPropSequence (4);
2414 : {
2415 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2416 : static const CustomShapeProvider::ParameterPairData aData =
2417 : {
2418 : EnhancedCustomShapeParameterType::EQUATION,
2419 : EnhancedCustomShapeParameterType::EQUATION,
2420 : 2, 3
2421 : };
2422 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2423 : }
2424 : {
2425 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
2426 0 : EnhancedCustomShapeParameter aParameter;
2427 0 : Any aAny ((sal_Int32) 2147483647);
2428 0 : aParameter.Value = aAny;
2429 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2430 0 : aPropSequence [1].Value = makeAny (aParameter);
2431 : }
2432 : {
2433 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
2434 0 : EnhancedCustomShapeParameter aParameter;
2435 0 : Any aAny ((sal_Int32) -2147483647);
2436 0 : aParameter.Value = aAny;
2437 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2438 0 : aPropSequence [2].Value = makeAny (aParameter);
2439 : }
2440 : {
2441 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
2442 0 : Any aAny ((sal_Int32) 1);
2443 0 : aPropSequence [3].Value = makeAny (aAny);
2444 : }
2445 0 : aPropSequenceSequence [1] = aPropSequence;
2446 : }
2447 : {
2448 0 : Sequence< PropertyValue > aPropSequence (4);
2449 : {
2450 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2451 : static const CustomShapeProvider::ParameterPairData aData =
2452 : {
2453 : EnhancedCustomShapeParameterType::EQUATION,
2454 : EnhancedCustomShapeParameterType::EQUATION,
2455 : 1, 5
2456 : };
2457 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2458 : }
2459 : {
2460 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
2461 0 : EnhancedCustomShapeParameter aParameter;
2462 0 : Any aAny ((sal_Int32) 2147483647);
2463 0 : aParameter.Value = aAny;
2464 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2465 0 : aPropSequence [1].Value = makeAny (aParameter);
2466 : }
2467 : {
2468 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
2469 0 : EnhancedCustomShapeParameter aParameter;
2470 0 : Any aAny ((sal_Int32) -2147483647);
2471 0 : aParameter.Value = aAny;
2472 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2473 0 : aPropSequence [2].Value = makeAny (aParameter);
2474 : }
2475 : {
2476 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
2477 0 : Any aAny ((sal_Int32) 2);
2478 0 : aPropSequence [3].Value = makeAny (aAny);
2479 : }
2480 0 : aPropSequenceSequence [2] = aPropSequence;
2481 : }
2482 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2483 : }
2484 : {
2485 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2486 : }
2487 : {
2488 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2489 : }
2490 : {
2491 0 : Sequence< PropertyValue > aPropSequence (3);
2492 : {
2493 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2494 : static const CustomShapeProvider::ParameterPairData aData[] = {
2495 : {
2496 : EnhancedCustomShapeParameterType::NORMAL,
2497 : EnhancedCustomShapeParameterType::NORMAL,
2498 : 0, 0
2499 : },
2500 : {
2501 : EnhancedCustomShapeParameterType::EQUATION,
2502 : EnhancedCustomShapeParameterType::NORMAL,
2503 : 0, 0
2504 : },
2505 : {
2506 : EnhancedCustomShapeParameterType::EQUATION,
2507 : EnhancedCustomShapeParameterType::EQUATION,
2508 : 0, 3
2509 : },
2510 : {
2511 : EnhancedCustomShapeParameterType::EQUATION,
2512 : EnhancedCustomShapeParameterType::EQUATION,
2513 : 1, 3
2514 : },
2515 : {
2516 : EnhancedCustomShapeParameterType::EQUATION,
2517 : EnhancedCustomShapeParameterType::EQUATION,
2518 : 1, 7
2519 : },
2520 : {
2521 : EnhancedCustomShapeParameterType::EQUATION,
2522 : EnhancedCustomShapeParameterType::EQUATION,
2523 : 6, 7
2524 : }
2525 : };
2526 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2527 : }
2528 : {
2529 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2530 : static const sal_uInt16 nValues[] = {
2531 : // Command, Count
2532 : 1,1,
2533 : 2,5,
2534 : 6,0,
2535 : 5,0
2536 : };
2537 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2538 : }
2539 : {
2540 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2541 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2542 : {
2543 0 : EnhancedCustomShapeTextFrame aTextFrame;
2544 : {
2545 : static const CustomShapeProvider::ParameterPairData aData =
2546 : {
2547 : EnhancedCustomShapeParameterType::NORMAL,
2548 : EnhancedCustomShapeParameterType::NORMAL,
2549 : 0, 0
2550 : };
2551 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2552 : }
2553 : {
2554 : static const CustomShapeProvider::ParameterPairData aData =
2555 : {
2556 : EnhancedCustomShapeParameterType::EQUATION,
2557 : EnhancedCustomShapeParameterType::EQUATION,
2558 : 6, 7
2559 : };
2560 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2561 : }
2562 0 : aTextFrameSeq [0] = aTextFrame;
2563 : }
2564 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2565 : }
2566 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2567 : }
2568 : {
2569 0 : awt::Rectangle aRectangle;
2570 0 : aRectangle.X = 0;
2571 0 : aRectangle.Y = 0;
2572 0 : aRectangle.Width = 0;
2573 0 : aRectangle.Height = 0;
2574 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2575 : }
2576 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentConnector5");
2577 :
2578 0 : return aPropertyMap;
2579 : }
2580 : };
2581 3 : class ShapeCcircularArrow : public CustomShapeProvider
2582 : {
2583 0 : virtual PropertyMap getProperties()
2584 : {
2585 0 : PropertyMap aPropertyMap;
2586 :
2587 : {
2588 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5);
2589 : {
2590 0 : Any aAny ((sal_Int32) 12500);
2591 0 : aAdjSequence [0].Value = aAny;
2592 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
2593 : }
2594 : {
2595 0 : Any aAny ((sal_Int32) 1142319);
2596 0 : aAdjSequence [1].Value = aAny;
2597 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
2598 : }
2599 : {
2600 0 : Any aAny ((sal_Int32) 20457681);
2601 0 : aAdjSequence [2].Value = aAny;
2602 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
2603 : }
2604 : {
2605 0 : Any aAny ((sal_Int32) 10800000);
2606 0 : aAdjSequence [3].Value = aAny;
2607 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
2608 : }
2609 : {
2610 0 : Any aAny ((sal_Int32) 12500);
2611 0 : aAdjSequence [4].Value = aAny;
2612 0 : aAdjSequence [4].Name = CREATE_OUSTRING ("adj5");
2613 : }
2614 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2615 : }
2616 : {
2617 : static const char *aStrings[] = {
2618 : "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))",
2619 : "?0 *2/1",
2620 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
2621 : "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))",
2622 : "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))",
2623 : "min(logwidth,logheight)",
2624 : "?5 *?2 /100000",
2625 : "?5 *?0 /100000",
2626 : "?6 *1/2",
2627 : "logwidth/2",
2628 : "?9 +?8 -?7 ",
2629 : "logheight/2",
2630 : "?11 +?8 -?7 ",
2631 : "?10 +0-?6 ",
2632 : "?12 +0-?6 ",
2633 : "?13 +?8 -0",
2634 : "?14 +?8 -0",
2635 : "?15 *sin(pi*(?3 )/10800000)",
2636 : "?16 *cos(pi*(?3 )/10800000)",
2637 : "?15 *(cos(atan2(?17 ,?18 )))",
2638 : "?16 *(sin(atan2(?17 ,?18 )))",
2639 : "logwidth/2",
2640 : "?21 +?19 -0",
2641 : "logheight/2",
2642 : "?23 +?20 -0",
2643 : "min(?13 ,?14 )",
2644 : "?19 *?19 /1",
2645 : "?20 *?20 /1",
2646 : "?25 *?25 /1",
2647 : "?26 +0-?28 ",
2648 : "?27 +0-?28 ",
2649 : "?29 *?30 /?26 ",
2650 : "?31 *1/?27 ",
2651 : "1+0-?32 ",
2652 : "sqrt(?33 )",
2653 : "?29 *1/?19 ",
2654 : "?35 *1/?20 ",
2655 : "(1+?34 )/?36 ",
2656 : "(10800000*atan2(?37 ,1))/pi",
2657 : "?38 +21600000-0",
2658 : "if(?38 ,?38 ,?39 )",
2659 : "?40 +0-?3 ",
2660 : "?41 +21600000-0",
2661 : "if(?41 ,?41 ,?42 )",
2662 : "?43 +0-10800000",
2663 : "?43 +0-21600000",
2664 : "if(?44 ,?45 ,?43 )",
2665 : "abs(?46 )",
2666 : "if(0-$1 ,0,if(?47 -$1 ,$1 ,?47 ))",
2667 : "?3 +?48 -0",
2668 : "?15 *sin(pi*(?49 )/10800000)",
2669 : "?16 *cos(pi*(?49 )/10800000)",
2670 : "?15 *(cos(atan2(?50 ,?51 )))",
2671 : "?16 *(sin(atan2(?50 ,?51 )))",
2672 : "?21 +?52 -0",
2673 : "?23 +?53 -0",
2674 : "?10 *sin(pi*(?4 )/10800000)",
2675 : "?12 *cos(pi*(?4 )/10800000)",
2676 : "?10 *(cos(atan2(?56 ,?57 )))",
2677 : "?12 *(sin(atan2(?56 ,?57 )))",
2678 : "?21 +?58 -0",
2679 : "?23 +?59 -0",
2680 : "?7 *cos(pi*(?49 )/10800000)",
2681 : "?7 *sin(pi*(?49 )/10800000)",
2682 : "?22 +?62 -0",
2683 : "?24 +?63 -0",
2684 : "?7 *cos(pi*(?49 )/10800000)",
2685 : "?7 *sin(pi*(?49 )/10800000)",
2686 : "?22 +0-?66 ",
2687 : "?24 +0-?67 ",
2688 : "?68 +0-?21 ",
2689 : "?69 +0-?23 ",
2690 : "?64 +0-?21 ",
2691 : "?65 +0-?23 ",
2692 : "min(?10 ,?12 )",
2693 : "?70 *?74 /?10 ",
2694 : "?71 *?74 /?12 ",
2695 : "?72 *?74 /?10 ",
2696 : "?73 *?74 /?12 ",
2697 : "?77 +0-?75 ",
2698 : "?78 +0-?76 ",
2699 : "sqrt(?79 *?79 +?80 *?80 +0*0)",
2700 : "?75 *?78 /1",
2701 : "?77 *?76 /1",
2702 : "?82 +0-?83 ",
2703 : "?74 *?74 /1",
2704 : "?81 *?81 /1",
2705 : "?85 *?86 /1",
2706 : "?84 *?84 /1",
2707 : "?87 +0-?88 ",
2708 : "max(?89 ,0)",
2709 : "sqrt(?90 )",
2710 : "?80 *-1/1",
2711 : "if(?92 ,-1,1)",
2712 : "?93 *?79 /1",
2713 : "?94 *?91 /1",
2714 : "?84 *?80 /1",
2715 : "(?96 +?95 )/?86 ",
2716 : "?96 +0-?95 ",
2717 : "?98 *1/?86 ",
2718 : "abs(?80 )",
2719 : "?100 *?91 /1",
2720 : "?84 *?79 /-1",
2721 : "(?102 +?101 )/?86 ",
2722 : "?102 +0-?101 ",
2723 : "?104 *1/?86 ",
2724 : "?77 +0-?97 ",
2725 : "?77 +0-?99 ",
2726 : "?78 +0-?103 ",
2727 : "?78 +0-?105 ",
2728 : "sqrt(?106 *?106 +?108 *?108 +0*0)",
2729 : "sqrt(?107 *?107 +?109 *?109 +0*0)",
2730 : "?111 +0-?110 ",
2731 : "if(?112 ,?97 ,?99 )",
2732 : "if(?112 ,?103 ,?105 )",
2733 : "?113 *?10 /?74 ",
2734 : "?114 *?12 /?74 ",
2735 : "?21 +?115 -0",
2736 : "?23 +?116 -0",
2737 : "?70 *?25 /?13 ",
2738 : "?71 *?25 /?14 ",
2739 : "?72 *?25 /?13 ",
2740 : "?73 *?25 /?14 ",
2741 : "?121 +0-?119 ",
2742 : "?122 +0-?120 ",
2743 : "sqrt(?123 *?123 +?124 *?124 +0*0)",
2744 : "?119 *?122 /1",
2745 : "?121 *?120 /1",
2746 : "?126 +0-?127 ",
2747 : "?25 *?25 /1",
2748 : "?125 *?125 /1",
2749 : "?129 *?130 /1",
2750 : "?128 *?128 /1",
2751 : "?131 +0-?132 ",
2752 : "max(?133 ,0)",
2753 : "sqrt(?134 )",
2754 : "?93 *?123 /1",
2755 : "?136 *?135 /1",
2756 : "?128 *?124 /1",
2757 : "(?138 +?137 )/?130 ",
2758 : "?138 +0-?137 ",
2759 : "?140 *1/?130 ",
2760 : "abs(?124 )",
2761 : "?142 *?135 /1",
2762 : "?128 *?123 /-1",
2763 : "(?144 +?143 )/?130 ",
2764 : "?144 +0-?143 ",
2765 : "?146 *1/?130 ",
2766 : "?119 +0-?139 ",
2767 : "?119 +0-?141 ",
2768 : "?120 +0-?145 ",
2769 : "?120 +0-?147 ",
2770 : "sqrt(?148 *?148 +?150 *?150 +0*0)",
2771 : "sqrt(?149 *?149 +?151 *?151 +0*0)",
2772 : "?153 +0-?152 ",
2773 : "if(?154 ,?139 ,?141 )",
2774 : "if(?154 ,?145 ,?147 )",
2775 : "?155 *?13 /?25 ",
2776 : "?156 *?14 /?25 ",
2777 : "?21 +?157 -0",
2778 : "?23 +?158 -0",
2779 : "(10800000*atan2(?158 ,?157 ))/pi",
2780 : "?161 +21600000-0",
2781 : "if(?161 ,?161 ,?162 )",
2782 : "?4 +0-?163 ",
2783 : "?164 +0-21600000",
2784 : "if(?164 ,?165 ,?164 )",
2785 : "?117 +0-?159 ",
2786 : "?118 +0-?160 ",
2787 : "sqrt(?167 *?167 +?168 *?168 +0*0)",
2788 : "?169 *1/2",
2789 : "?170 +0-?7 ",
2790 : "if(?171 ,?117 ,?64 )",
2791 : "if(?171 ,?118 ,?65 )",
2792 : "if(?171 ,?159 ,?68 )",
2793 : "if(?171 ,?160 ,?69 )",
2794 : "(10800000*atan2(?116 ,?115 ))/pi",
2795 : "?176 +21600000-0",
2796 : "if(?176 ,?176 ,?177 )",
2797 : "?178 +0-?4 ",
2798 : "?179 +21600000-0",
2799 : "if(?179 ,?179 ,?180 )",
2800 : "?15 *sin(pi*(?4 )/10800000)",
2801 : "?16 *cos(pi*(?4 )/10800000)",
2802 : "?15 *(cos(atan2(?182 ,?183 )))",
2803 : "?16 *(sin(atan2(?182 ,?183 )))",
2804 : "?21 +?184 -0",
2805 : "?23 +?185 -0",
2806 : "?4 +0-5400000",
2807 : "?49 +5400000-0",
2808 : "?49 +10800000-0",
2809 : "?10 *cos(pi*(2700000)/10800000)",
2810 : "?12 *sin(pi*(2700000)/10800000)",
2811 : "?21 +0-?191 ",
2812 : "?21 +?191 -0",
2813 : "?23 +0-?192 ",
2814 : "?23 +?192 -0",
2815 : "(?4 )/60000.0",
2816 : "(?181 )/60000.0",
2817 : "(?163 )/60000.0",
2818 : "(?166 )/60000.0"
2819 : };
2820 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2821 : }
2822 : {
2823 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
2824 : {
2825 0 : Sequence< PropertyValue > aPropSequence (1);
2826 : {
2827 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2828 : static const CustomShapeProvider::ParameterPairData aData =
2829 : {
2830 : EnhancedCustomShapeParameterType::EQUATION,
2831 : EnhancedCustomShapeParameterType::EQUATION,
2832 : 54, 55
2833 : };
2834 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2835 : }
2836 0 : aPropSequenceSequence [0] = aPropSequence;
2837 : }
2838 : {
2839 0 : Sequence< PropertyValue > aPropSequence (1);
2840 : {
2841 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2842 : static const CustomShapeProvider::ParameterPairData aData =
2843 : {
2844 : EnhancedCustomShapeParameterType::EQUATION,
2845 : EnhancedCustomShapeParameterType::EQUATION,
2846 : 60, 61
2847 : };
2848 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2849 : }
2850 0 : aPropSequenceSequence [1] = aPropSequence;
2851 : }
2852 : {
2853 0 : Sequence< PropertyValue > aPropSequence (3);
2854 : {
2855 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2856 : static const CustomShapeProvider::ParameterPairData aData =
2857 : {
2858 : EnhancedCustomShapeParameterType::EQUATION,
2859 : EnhancedCustomShapeParameterType::EQUATION,
2860 : 117, 118
2861 : };
2862 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2863 : }
2864 : {
2865 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RadiusRangeMaximum");
2866 0 : EnhancedCustomShapeParameter aParameter;
2867 0 : Any aAny ((sal_Int32) 1);
2868 0 : aParameter.Value = aAny;
2869 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
2870 0 : aPropSequence [1].Value = makeAny (aParameter);
2871 : }
2872 : {
2873 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RadiusRangeMinimum");
2874 0 : EnhancedCustomShapeParameter aParameter;
2875 0 : Any aAny ((sal_Int32) 0);
2876 0 : aParameter.Value = aAny;
2877 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2878 0 : aPropSequence [2].Value = makeAny (aParameter);
2879 : }
2880 0 : aPropSequenceSequence [2] = aPropSequence;
2881 : }
2882 : {
2883 0 : Sequence< PropertyValue > aPropSequence (3);
2884 : {
2885 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2886 : static const CustomShapeProvider::ParameterPairData aData =
2887 : {
2888 : EnhancedCustomShapeParameterType::EQUATION,
2889 : EnhancedCustomShapeParameterType::EQUATION,
2890 : 68, 69
2891 : };
2892 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2893 : }
2894 : {
2895 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RadiusRangeMaximum");
2896 0 : EnhancedCustomShapeParameter aParameter;
2897 0 : Any aAny ((sal_Int32) 25000);
2898 0 : aParameter.Value = aAny;
2899 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2900 0 : aPropSequence [1].Value = makeAny (aParameter);
2901 : }
2902 : {
2903 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RadiusRangeMinimum");
2904 0 : EnhancedCustomShapeParameter aParameter;
2905 0 : Any aAny ((sal_Int32) 0);
2906 0 : aParameter.Value = aAny;
2907 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2908 0 : aPropSequence [2].Value = makeAny (aParameter);
2909 : }
2910 0 : aPropSequenceSequence [3] = aPropSequence;
2911 : }
2912 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2913 : }
2914 : {
2915 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2916 : }
2917 : {
2918 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2919 : }
2920 : {
2921 0 : Sequence< PropertyValue > aPropSequence (3);
2922 : {
2923 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2924 : static const CustomShapeProvider::ParameterPairData aData[] = {
2925 : {
2926 : EnhancedCustomShapeParameterType::EQUATION,
2927 : EnhancedCustomShapeParameterType::EQUATION,
2928 : 60, 61
2929 : },
2930 : {
2931 : EnhancedCustomShapeParameterType::EQUATION,
2932 : EnhancedCustomShapeParameterType::EQUATION,
2933 : 10, 12
2934 : },
2935 : {
2936 : EnhancedCustomShapeParameterType::EQUATION,
2937 : EnhancedCustomShapeParameterType::EQUATION,
2938 : 197, 198
2939 : },
2940 : {
2941 : EnhancedCustomShapeParameterType::EQUATION,
2942 : EnhancedCustomShapeParameterType::EQUATION,
2943 : 172, 173
2944 : },
2945 : {
2946 : EnhancedCustomShapeParameterType::EQUATION,
2947 : EnhancedCustomShapeParameterType::EQUATION,
2948 : 54, 55
2949 : },
2950 : {
2951 : EnhancedCustomShapeParameterType::EQUATION,
2952 : EnhancedCustomShapeParameterType::EQUATION,
2953 : 174, 175
2954 : },
2955 : {
2956 : EnhancedCustomShapeParameterType::EQUATION,
2957 : EnhancedCustomShapeParameterType::EQUATION,
2958 : 159, 160
2959 : },
2960 : {
2961 : EnhancedCustomShapeParameterType::EQUATION,
2962 : EnhancedCustomShapeParameterType::EQUATION,
2963 : 13, 14
2964 : },
2965 : {
2966 : EnhancedCustomShapeParameterType::EQUATION,
2967 : EnhancedCustomShapeParameterType::EQUATION,
2968 : 199, 200
2969 : }
2970 : };
2971 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2972 : }
2973 : {
2974 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2975 : static const sal_uInt16 nValues[] = {
2976 : // Command, Count
2977 : 1,1,
2978 : 17,1,
2979 : 2,4,
2980 : 17,1,
2981 : 4,0,
2982 : 5,0
2983 : };
2984 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2985 : }
2986 : {
2987 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2988 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2989 : {
2990 0 : EnhancedCustomShapeTextFrame aTextFrame;
2991 : {
2992 : static const CustomShapeProvider::ParameterPairData aData =
2993 : {
2994 : EnhancedCustomShapeParameterType::EQUATION,
2995 : EnhancedCustomShapeParameterType::EQUATION,
2996 : 193, 195
2997 : };
2998 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2999 : }
3000 : {
3001 : static const CustomShapeProvider::ParameterPairData aData =
3002 : {
3003 : EnhancedCustomShapeParameterType::EQUATION,
3004 : EnhancedCustomShapeParameterType::EQUATION,
3005 : 194, 196
3006 : };
3007 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3008 : }
3009 0 : aTextFrameSeq [0] = aTextFrame;
3010 : }
3011 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3012 : }
3013 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3014 : }
3015 : {
3016 0 : awt::Rectangle aRectangle;
3017 0 : aRectangle.X = 0;
3018 0 : aRectangle.Y = 0;
3019 0 : aRectangle.Width = 0;
3020 0 : aRectangle.Height = 0;
3021 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3022 : }
3023 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-circularArrow");
3024 :
3025 0 : return aPropertyMap;
3026 : }
3027 : };
3028 3 : class ShapeCdownArrowCallout : public CustomShapeProvider
3029 : {
3030 0 : virtual PropertyMap getProperties()
3031 : {
3032 0 : PropertyMap aPropertyMap;
3033 :
3034 : {
3035 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
3036 : {
3037 0 : Any aAny ((sal_Int32) 25000);
3038 0 : aAdjSequence [0].Value = aAny;
3039 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
3040 : }
3041 : {
3042 0 : Any aAny ((sal_Int32) 25000);
3043 0 : aAdjSequence [1].Value = aAny;
3044 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
3045 : }
3046 : {
3047 0 : Any aAny ((sal_Int32) 25000);
3048 0 : aAdjSequence [2].Value = aAny;
3049 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
3050 : }
3051 : {
3052 0 : Any aAny ((sal_Int32) 64977);
3053 0 : aAdjSequence [3].Value = aAny;
3054 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
3055 : }
3056 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3057 : }
3058 : {
3059 : static const char *aStrings[] = {
3060 : "min(logwidth,logheight)",
3061 : "50000*logwidth/?0 ",
3062 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
3063 : "?2 *2/1",
3064 : "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
3065 : "100000*logheight/?0 ",
3066 : "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
3067 : "?6 *?0 /logheight",
3068 : "100000+0-?7 ",
3069 : "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))",
3070 : "?0 *?2 /100000",
3071 : "?0 *?4 /200000",
3072 : "logwidth/2",
3073 : "?12 +0-?10 ",
3074 : "?12 +0-?11 ",
3075 : "?12 +?11 -0",
3076 : "?12 +?10 -0",
3077 : "?0 *?6 /100000",
3078 : "logheight+0-?17 ",
3079 : "logheight*?9 /100000",
3080 : "?19 *1/2",
3081 : "logheight",
3082 : "logwidth"
3083 : };
3084 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3085 : }
3086 : {
3087 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
3088 : {
3089 0 : Sequence< PropertyValue > aPropSequence (4);
3090 : {
3091 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3092 : static const CustomShapeProvider::ParameterPairData aData =
3093 : {
3094 : EnhancedCustomShapeParameterType::EQUATION,
3095 : EnhancedCustomShapeParameterType::EQUATION,
3096 : 14, 18
3097 : };
3098 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3099 : }
3100 : {
3101 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
3102 0 : EnhancedCustomShapeParameter aParameter;
3103 0 : Any aAny ((sal_Int32) 3);
3104 0 : aParameter.Value = aAny;
3105 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3106 0 : aPropSequence [1].Value = makeAny (aParameter);
3107 : }
3108 : {
3109 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
3110 0 : EnhancedCustomShapeParameter aParameter;
3111 0 : Any aAny ((sal_Int32) 0);
3112 0 : aParameter.Value = aAny;
3113 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3114 0 : aPropSequence [2].Value = makeAny (aParameter);
3115 : }
3116 : {
3117 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
3118 0 : Any aAny ((sal_Int32) 0);
3119 0 : aPropSequence [3].Value = makeAny (aAny);
3120 : }
3121 0 : aPropSequenceSequence [0] = aPropSequence;
3122 : }
3123 : {
3124 0 : Sequence< PropertyValue > aPropSequence (4);
3125 : {
3126 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3127 : static const CustomShapeProvider::ParameterPairData aData =
3128 : {
3129 : EnhancedCustomShapeParameterType::EQUATION,
3130 : EnhancedCustomShapeParameterType::EQUATION,
3131 : 13, 21
3132 : };
3133 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3134 : }
3135 : {
3136 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
3137 0 : EnhancedCustomShapeParameter aParameter;
3138 0 : Any aAny ((sal_Int32) 1);
3139 0 : aParameter.Value = aAny;
3140 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3141 0 : aPropSequence [1].Value = makeAny (aParameter);
3142 : }
3143 : {
3144 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
3145 0 : EnhancedCustomShapeParameter aParameter;
3146 0 : Any aAny ((sal_Int32) 0);
3147 0 : aParameter.Value = aAny;
3148 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3149 0 : aPropSequence [2].Value = makeAny (aParameter);
3150 : }
3151 : {
3152 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
3153 0 : Any aAny ((sal_Int32) 1);
3154 0 : aPropSequence [3].Value = makeAny (aAny);
3155 : }
3156 0 : aPropSequenceSequence [1] = aPropSequence;
3157 : }
3158 : {
3159 0 : Sequence< PropertyValue > aPropSequence (4);
3160 : {
3161 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3162 : static const CustomShapeProvider::ParameterPairData aData =
3163 : {
3164 : EnhancedCustomShapeParameterType::EQUATION,
3165 : EnhancedCustomShapeParameterType::EQUATION,
3166 : 22, 18
3167 : };
3168 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3169 : }
3170 : {
3171 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3172 0 : EnhancedCustomShapeParameter aParameter;
3173 0 : Any aAny ((sal_Int32) 5);
3174 0 : aParameter.Value = aAny;
3175 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3176 0 : aPropSequence [1].Value = makeAny (aParameter);
3177 : }
3178 : {
3179 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3180 0 : EnhancedCustomShapeParameter aParameter;
3181 0 : Any aAny ((sal_Int32) 0);
3182 0 : aParameter.Value = aAny;
3183 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3184 0 : aPropSequence [2].Value = makeAny (aParameter);
3185 : }
3186 : {
3187 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3188 0 : Any aAny ((sal_Int32) 2);
3189 0 : aPropSequence [3].Value = makeAny (aAny);
3190 : }
3191 0 : aPropSequenceSequence [2] = aPropSequence;
3192 : }
3193 : {
3194 0 : Sequence< PropertyValue > aPropSequence (4);
3195 : {
3196 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3197 : static const CustomShapeProvider::ParameterPairData aData =
3198 : {
3199 : EnhancedCustomShapeParameterType::NORMAL,
3200 : EnhancedCustomShapeParameterType::EQUATION,
3201 : 0, 19
3202 : };
3203 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3204 : }
3205 : {
3206 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3207 0 : EnhancedCustomShapeParameter aParameter;
3208 0 : Any aAny ((sal_Int32) 8);
3209 0 : aParameter.Value = aAny;
3210 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3211 0 : aPropSequence [1].Value = makeAny (aParameter);
3212 : }
3213 : {
3214 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3215 0 : EnhancedCustomShapeParameter aParameter;
3216 0 : Any aAny ((sal_Int32) 0);
3217 0 : aParameter.Value = aAny;
3218 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3219 0 : aPropSequence [2].Value = makeAny (aParameter);
3220 : }
3221 : {
3222 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3223 0 : Any aAny ((sal_Int32) 3);
3224 0 : aPropSequence [3].Value = makeAny (aAny);
3225 : }
3226 0 : aPropSequenceSequence [3] = aPropSequence;
3227 : }
3228 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3229 : }
3230 : {
3231 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3232 : }
3233 : {
3234 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3235 : }
3236 : {
3237 0 : Sequence< PropertyValue > aPropSequence (3);
3238 : {
3239 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3240 : static const CustomShapeProvider::ParameterPairData aData[] = {
3241 : {
3242 : EnhancedCustomShapeParameterType::NORMAL,
3243 : EnhancedCustomShapeParameterType::NORMAL,
3244 : 0, 0
3245 : },
3246 : {
3247 : EnhancedCustomShapeParameterType::EQUATION,
3248 : EnhancedCustomShapeParameterType::NORMAL,
3249 : 22, 0
3250 : },
3251 : {
3252 : EnhancedCustomShapeParameterType::EQUATION,
3253 : EnhancedCustomShapeParameterType::EQUATION,
3254 : 22, 19
3255 : },
3256 : {
3257 : EnhancedCustomShapeParameterType::EQUATION,
3258 : EnhancedCustomShapeParameterType::EQUATION,
3259 : 15, 19
3260 : },
3261 : {
3262 : EnhancedCustomShapeParameterType::EQUATION,
3263 : EnhancedCustomShapeParameterType::EQUATION,
3264 : 15, 18
3265 : },
3266 : {
3267 : EnhancedCustomShapeParameterType::EQUATION,
3268 : EnhancedCustomShapeParameterType::EQUATION,
3269 : 16, 18
3270 : },
3271 : {
3272 : EnhancedCustomShapeParameterType::EQUATION,
3273 : EnhancedCustomShapeParameterType::EQUATION,
3274 : 12, 21
3275 : },
3276 : {
3277 : EnhancedCustomShapeParameterType::EQUATION,
3278 : EnhancedCustomShapeParameterType::EQUATION,
3279 : 13, 18
3280 : },
3281 : {
3282 : EnhancedCustomShapeParameterType::EQUATION,
3283 : EnhancedCustomShapeParameterType::EQUATION,
3284 : 14, 18
3285 : },
3286 : {
3287 : EnhancedCustomShapeParameterType::EQUATION,
3288 : EnhancedCustomShapeParameterType::EQUATION,
3289 : 14, 19
3290 : },
3291 : {
3292 : EnhancedCustomShapeParameterType::NORMAL,
3293 : EnhancedCustomShapeParameterType::EQUATION,
3294 : 0, 19
3295 : }
3296 : };
3297 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3298 : }
3299 : {
3300 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3301 : static const sal_uInt16 nValues[] = {
3302 : // Command, Count
3303 : 1,1,
3304 : 2,10,
3305 : 4,0,
3306 : 5,0
3307 : };
3308 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3309 : }
3310 : {
3311 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3312 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3313 : {
3314 0 : EnhancedCustomShapeTextFrame aTextFrame;
3315 : {
3316 : static const CustomShapeProvider::ParameterPairData aData =
3317 : {
3318 : EnhancedCustomShapeParameterType::NORMAL,
3319 : EnhancedCustomShapeParameterType::NORMAL,
3320 : 0, 0
3321 : };
3322 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3323 : }
3324 : {
3325 : static const CustomShapeProvider::ParameterPairData aData =
3326 : {
3327 : EnhancedCustomShapeParameterType::EQUATION,
3328 : EnhancedCustomShapeParameterType::EQUATION,
3329 : 22, 19
3330 : };
3331 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3332 : }
3333 0 : aTextFrameSeq [0] = aTextFrame;
3334 : }
3335 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3336 : }
3337 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3338 : }
3339 : {
3340 0 : awt::Rectangle aRectangle;
3341 0 : aRectangle.X = 0;
3342 0 : aRectangle.Y = 0;
3343 0 : aRectangle.Width = 0;
3344 0 : aRectangle.Height = 0;
3345 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3346 : }
3347 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-downArrowCallout");
3348 :
3349 0 : return aPropertyMap;
3350 : }
3351 : };
3352 3 : class ShapeCmathMinus : public CustomShapeProvider
3353 : {
3354 0 : virtual PropertyMap getProperties()
3355 : {
3356 0 : PropertyMap aPropertyMap;
3357 :
3358 : {
3359 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
3360 : {
3361 0 : Any aAny ((sal_Int32) 23520);
3362 0 : aAdjSequence [0].Value = aAny;
3363 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
3364 : }
3365 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3366 : }
3367 : {
3368 : static const char *aStrings[] = {
3369 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
3370 : "logheight*?0 /200000",
3371 : "logwidth*73490/200000",
3372 : "logheight/2",
3373 : "?3 +0-?1 ",
3374 : "?3 +?1 -0",
3375 : "logwidth/2",
3376 : "?6 +0-?2 ",
3377 : "?6 +?2 -0"
3378 : };
3379 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3380 : }
3381 : {
3382 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
3383 : {
3384 0 : Sequence< PropertyValue > aPropSequence (4);
3385 : {
3386 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3387 : static const CustomShapeProvider::ParameterPairData aData =
3388 : {
3389 : EnhancedCustomShapeParameterType::NORMAL,
3390 : EnhancedCustomShapeParameterType::EQUATION,
3391 : 0, 4
3392 : };
3393 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3394 : }
3395 : {
3396 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3397 0 : EnhancedCustomShapeParameter aParameter;
3398 0 : Any aAny ((sal_Int32) 100000);
3399 0 : aParameter.Value = aAny;
3400 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3401 0 : aPropSequence [1].Value = makeAny (aParameter);
3402 : }
3403 : {
3404 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3405 0 : EnhancedCustomShapeParameter aParameter;
3406 0 : Any aAny ((sal_Int32) 0);
3407 0 : aParameter.Value = aAny;
3408 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3409 0 : aPropSequence [2].Value = makeAny (aParameter);
3410 : }
3411 : {
3412 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3413 0 : Any aAny ((sal_Int32) 0);
3414 0 : aPropSequence [3].Value = makeAny (aAny);
3415 : }
3416 0 : aPropSequenceSequence [0] = aPropSequence;
3417 : }
3418 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3419 : }
3420 : {
3421 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3422 : }
3423 : {
3424 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3425 : }
3426 : {
3427 0 : Sequence< PropertyValue > aPropSequence (3);
3428 : {
3429 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3430 : static const CustomShapeProvider::ParameterPairData aData[] = {
3431 : {
3432 : EnhancedCustomShapeParameterType::EQUATION,
3433 : EnhancedCustomShapeParameterType::EQUATION,
3434 : 7, 4
3435 : },
3436 : {
3437 : EnhancedCustomShapeParameterType::EQUATION,
3438 : EnhancedCustomShapeParameterType::EQUATION,
3439 : 8, 4
3440 : },
3441 : {
3442 : EnhancedCustomShapeParameterType::EQUATION,
3443 : EnhancedCustomShapeParameterType::EQUATION,
3444 : 8, 5
3445 : },
3446 : {
3447 : EnhancedCustomShapeParameterType::EQUATION,
3448 : EnhancedCustomShapeParameterType::EQUATION,
3449 : 7, 5
3450 : }
3451 : };
3452 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3453 : }
3454 : {
3455 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3456 : static const sal_uInt16 nValues[] = {
3457 : // Command, Count
3458 : 1,1,
3459 : 2,3,
3460 : 4,0,
3461 : 5,0
3462 : };
3463 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3464 : }
3465 : {
3466 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3467 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3468 : {
3469 0 : EnhancedCustomShapeTextFrame aTextFrame;
3470 : {
3471 : static const CustomShapeProvider::ParameterPairData aData =
3472 : {
3473 : EnhancedCustomShapeParameterType::EQUATION,
3474 : EnhancedCustomShapeParameterType::EQUATION,
3475 : 7, 4
3476 : };
3477 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3478 : }
3479 : {
3480 : static const CustomShapeProvider::ParameterPairData aData =
3481 : {
3482 : EnhancedCustomShapeParameterType::EQUATION,
3483 : EnhancedCustomShapeParameterType::EQUATION,
3484 : 8, 5
3485 : };
3486 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3487 : }
3488 0 : aTextFrameSeq [0] = aTextFrame;
3489 : }
3490 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3491 : }
3492 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3493 : }
3494 : {
3495 0 : awt::Rectangle aRectangle;
3496 0 : aRectangle.X = 0;
3497 0 : aRectangle.Y = 0;
3498 0 : aRectangle.Width = 0;
3499 0 : aRectangle.Height = 0;
3500 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3501 : }
3502 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathMinus");
3503 :
3504 0 : return aPropertyMap;
3505 : }
3506 : };
3507 3 : class ShapeCgear9 : public CustomShapeProvider
3508 : {
3509 0 : virtual PropertyMap getProperties()
3510 : {
3511 0 : PropertyMap aPropertyMap;
3512 :
3513 : {
3514 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
3515 : {
3516 0 : Any aAny ((sal_Int32) 10000);
3517 0 : aAdjSequence [0].Value = aAny;
3518 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
3519 : }
3520 : {
3521 0 : Any aAny ((sal_Int32) 1763);
3522 0 : aAdjSequence [1].Value = aAny;
3523 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
3524 : }
3525 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3526 : }
3527 : {
3528 : static const char *aStrings[] = {
3529 : "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))",
3530 : "if(0-$1 ,0,if(2679-$1 ,$1 ,2679))",
3531 : "min(logwidth,logheight)",
3532 : "?2 *?0 /100000",
3533 : "?2 *?1 /100000",
3534 : "?3 *1/2",
3535 : "?4 *1/2",
3536 : "?5 +?6 -0",
3537 : "logheight/2",
3538 : "?8 +0-?3 ",
3539 : "logwidth/2",
3540 : "?10 +0-?3 ",
3541 : "?11 +0-?9 ",
3542 : "if(?12 ,?9 ,?11 )",
3543 : "(10800000*atan2(?7 ,?13 ))/pi",
3544 : "18600000+0-?14 ",
3545 : "18600000+?14 -0",
3546 : "?11 *cos(pi*(?15 )/10800000)",
3547 : "?9 *sin(pi*(?15 )/10800000)",
3548 : "(10800000*atan2(?18 ,?17 ))/pi",
3549 : "?9 *cos(pi*(?19 )/10800000)",
3550 : "?11 *sin(pi*(?19 )/10800000)",
3551 : "sqrt(?20 *?20 +?21 *?21 +0*0)",
3552 : "?11 *?9 /?22 ",
3553 : "?23 *cos(pi*(?19 )/10800000)",
3554 : "?23 *sin(pi*(?19 )/10800000)",
3555 : "logwidth/2",
3556 : "?26 +?24 -0",
3557 : "logheight/2",
3558 : "?28 +?25 -0",
3559 : "?11 *cos(pi*(?16 )/10800000)",
3560 : "?9 *sin(pi*(?16 )/10800000)",
3561 : "(10800000*atan2(?31 ,?30 ))/pi",
3562 : "?9 *cos(pi*(?32 )/10800000)",
3563 : "?11 *sin(pi*(?32 )/10800000)",
3564 : "sqrt(?33 *?33 +?34 *?34 +0*0)",
3565 : "?11 *?9 /?35 ",
3566 : "?36 *cos(pi*(?32 )/10800000)",
3567 : "?36 *sin(pi*(?32 )/10800000)",
3568 : "?26 +?37 -0",
3569 : "?28 +?38 -0",
3570 : "?27 +0-?39 ",
3571 : "?29 +0-?40 ",
3572 : "sqrt(?41 *?41 +?42 *?42 +0*0)",
3573 : "(10800000*atan2(?41 ,?42 ))/pi",
3574 : "?4 *sin(pi*(?44 )/10800000)",
3575 : "?4 *cos(pi*(?44 )/10800000)",
3576 : "?39 +?45 -0",
3577 : "?40 +?46 -0",
3578 : "?27 +0-?45 ",
3579 : "?29 +0-?46 ",
3580 : "?3 *sin(pi*(?44 )/10800000)",
3581 : "?3 *cos(pi*(?44 )/10800000)",
3582 : "?48 +?51 -0",
3583 : "?47 +0-?52 ",
3584 : "?50 +?51 -0",
3585 : "?49 +0-?52 ",
3586 : "21000000+0-?14 ",
3587 : "21000000+?14 -0",
3588 : "?11 *cos(pi*(?57 )/10800000)",
3589 : "?9 *sin(pi*(?57 )/10800000)",
3590 : "(10800000*atan2(?60 ,?59 ))/pi",
3591 : "?9 *cos(pi*(?61 )/10800000)",
3592 : "?11 *sin(pi*(?61 )/10800000)",
3593 : "sqrt(?62 *?62 +?63 *?63 +0*0)",
3594 : "?11 *?9 /?64 ",
3595 : "?65 *cos(pi*(?61 )/10800000)",
3596 : "?65 *sin(pi*(?61 )/10800000)",
3597 : "?26 +?66 -0",
3598 : "?28 +?67 -0",
3599 : "?11 *cos(pi*(?58 )/10800000)",
3600 : "?9 *sin(pi*(?58 )/10800000)",
3601 : "(10800000*atan2(?71 ,?70 ))/pi",
3602 : "?9 *cos(pi*(?72 )/10800000)",
3603 : "?11 *sin(pi*(?72 )/10800000)",
3604 : "sqrt(?73 *?73 +?74 *?74 +0*0)",
3605 : "?11 *?9 /?75 ",
3606 : "?76 *cos(pi*(?72 )/10800000)",
3607 : "?76 *sin(pi*(?72 )/10800000)",
3608 : "?26 +?77 -0",
3609 : "?28 +?78 -0",
3610 : "?68 +0-?79 ",
3611 : "?69 +0-?80 ",
3612 : "sqrt(?81 *?81 +?82 *?82 +0*0)",
3613 : "(10800000*atan2(?81 ,?82 ))/pi",
3614 : "?4 *sin(pi*(?84 )/10800000)",
3615 : "?4 *cos(pi*(?84 )/10800000)",
3616 : "?79 +?85 -0",
3617 : "?80 +?86 -0",
3618 : "?68 +0-?85 ",
3619 : "?69 +0-?86 ",
3620 : "?3 *sin(pi*(?84 )/10800000)",
3621 : "?3 *cos(pi*(?84 )/10800000)",
3622 : "?88 +?91 -0",
3623 : "?87 +0-?92 ",
3624 : "?90 +?91 -0",
3625 : "?89 +0-?92 ",
3626 : "?61 +0-?32 ",
3627 : "1800000+0-?14 ",
3628 : "1800000+?14 -0",
3629 : "?11 *cos(pi*(?98 )/10800000)",
3630 : "?9 *sin(pi*(?98 )/10800000)",
3631 : "(10800000*atan2(?101 ,?100 ))/pi",
3632 : "?9 *cos(pi*(?102 )/10800000)",
3633 : "?11 *sin(pi*(?102 )/10800000)",
3634 : "sqrt(?103 *?103 +?104 *?104 +0*0)",
3635 : "?11 *?9 /?105 ",
3636 : "?106 *cos(pi*(?102 )/10800000)",
3637 : "?106 *sin(pi*(?102 )/10800000)",
3638 : "?26 +?107 -0",
3639 : "?28 +?108 -0",
3640 : "?11 *cos(pi*(?99 )/10800000)",
3641 : "?9 *sin(pi*(?99 )/10800000)",
3642 : "(10800000*atan2(?112 ,?111 ))/pi",
3643 : "?9 *cos(pi*(?113 )/10800000)",
3644 : "?11 *sin(pi*(?113 )/10800000)",
3645 : "sqrt(?114 *?114 +?115 *?115 +0*0)",
3646 : "?11 *?9 /?116 ",
3647 : "?117 *cos(pi*(?113 )/10800000)",
3648 : "?117 *sin(pi*(?113 )/10800000)",
3649 : "?26 +?118 -0",
3650 : "?28 +?119 -0",
3651 : "?109 +0-?120 ",
3652 : "?110 +0-?121 ",
3653 : "sqrt(?122 *?122 +?123 *?123 +0*0)",
3654 : "(10800000*atan2(?122 ,?123 ))/pi",
3655 : "?4 *sin(pi*(?125 )/10800000)",
3656 : "?4 *cos(pi*(?125 )/10800000)",
3657 : "?120 +?126 -0",
3658 : "?121 +?127 -0",
3659 : "?109 +0-?126 ",
3660 : "?110 +0-?127 ",
3661 : "?3 *sin(pi*(?125 )/10800000)",
3662 : "?3 *cos(pi*(?125 )/10800000)",
3663 : "?129 +?132 -0",
3664 : "?128 +0-?133 ",
3665 : "?131 +?132 -0",
3666 : "?130 +0-?133 ",
3667 : "?102 +0-?72 ",
3668 : "4200000+0-?14 ",
3669 : "4200000+?14 -0",
3670 : "?11 *cos(pi*(?139 )/10800000)",
3671 : "?9 *sin(pi*(?139 )/10800000)",
3672 : "(10800000*atan2(?142 ,?141 ))/pi",
3673 : "?9 *cos(pi*(?143 )/10800000)",
3674 : "?11 *sin(pi*(?143 )/10800000)",
3675 : "sqrt(?144 *?144 +?145 *?145 +0*0)",
3676 : "?11 *?9 /?146 ",
3677 : "?147 *cos(pi*(?143 )/10800000)",
3678 : "?147 *sin(pi*(?143 )/10800000)",
3679 : "?26 +?148 -0",
3680 : "?28 +?149 -0",
3681 : "?11 *cos(pi*(?140 )/10800000)",
3682 : "?9 *sin(pi*(?140 )/10800000)",
3683 : "(10800000*atan2(?153 ,?152 ))/pi",
3684 : "?9 *cos(pi*(?154 )/10800000)",
3685 : "?11 *sin(pi*(?154 )/10800000)",
3686 : "sqrt(?155 *?155 +?156 *?156 +0*0)",
3687 : "?11 *?9 /?157 ",
3688 : "?158 *cos(pi*(?154 )/10800000)",
3689 : "?158 *sin(pi*(?154 )/10800000)",
3690 : "?26 +?159 -0",
3691 : "?28 +?160 -0",
3692 : "?150 +0-?161 ",
3693 : "?151 +0-?162 ",
3694 : "sqrt(?163 *?163 +?164 *?164 +0*0)",
3695 : "(10800000*atan2(?163 ,?164 ))/pi",
3696 : "?4 *sin(pi*(?166 )/10800000)",
3697 : "?4 *cos(pi*(?166 )/10800000)",
3698 : "?161 +?167 -0",
3699 : "?162 +?168 -0",
3700 : "?150 +0-?167 ",
3701 : "?151 +0-?168 ",
3702 : "?3 *sin(pi*(?166 )/10800000)",
3703 : "?3 *cos(pi*(?166 )/10800000)",
3704 : "?170 +?173 -0",
3705 : "?169 +0-?174 ",
3706 : "?172 +?173 -0",
3707 : "?171 +0-?174 ",
3708 : "?143 +0-?113 ",
3709 : "6600000+0-?14 ",
3710 : "6600000+?14 -0",
3711 : "?11 *cos(pi*(?180 )/10800000)",
3712 : "?9 *sin(pi*(?180 )/10800000)",
3713 : "(10800000*atan2(?183 ,?182 ))/pi",
3714 : "?11 *cos(pi*(?181 )/10800000)",
3715 : "?9 *sin(pi*(?181 )/10800000)",
3716 : "(10800000*atan2(?186 ,?185 ))/pi",
3717 : "logwidth+0-?150 ",
3718 : "logwidth+0-?178 ",
3719 : "logwidth+0-?176 ",
3720 : "?184 +0-?154 ",
3721 : "9000000+?14 -0",
3722 : "?11 *cos(pi*(?192 )/10800000)",
3723 : "?9 *sin(pi*(?192 )/10800000)",
3724 : "(10800000*atan2(?194 ,?193 ))/pi",
3725 : "logwidth+0-?109 ",
3726 : "logwidth+0-?137 ",
3727 : "logwidth+0-?135 ",
3728 : "11400000+?14 -0",
3729 : "?11 *cos(pi*(?199 )/10800000)",
3730 : "?9 *sin(pi*(?199 )/10800000)",
3731 : "(10800000*atan2(?201 ,?200 ))/pi",
3732 : "logwidth+0-?68 ",
3733 : "logwidth+0-?96 ",
3734 : "logwidth+0-?94 ",
3735 : "13800000+?14 -0",
3736 : "?11 *cos(pi*(?206 )/10800000)",
3737 : "?9 *sin(pi*(?206 )/10800000)",
3738 : "(10800000*atan2(?208 ,?207 ))/pi",
3739 : "logwidth+0-?39 ",
3740 : "logwidth+0-?27 ",
3741 : "logwidth+0-?56 ",
3742 : "logwidth+0-?54 ",
3743 : "16200000+0-?14 ",
3744 : "16200000+?14 -0",
3745 : "?11 *cos(pi*(?215 )/10800000)",
3746 : "?9 *sin(pi*(?215 )/10800000)",
3747 : "(10800000*atan2(?217 ,?216 ))/pi",
3748 : "?9 *cos(pi*(?218 )/10800000)",
3749 : "?11 *sin(pi*(?218 )/10800000)",
3750 : "sqrt(?219 *?219 +?220 *?220 +0*0)",
3751 : "?11 *?9 /?221 ",
3752 : "?222 *cos(pi*(?218 )/10800000)",
3753 : "?222 *sin(pi*(?218 )/10800000)",
3754 : "?26 +?223 -0",
3755 : "?28 +?224 -0",
3756 : "?11 *cos(pi*(?214 )/10800000)",
3757 : "?9 *sin(pi*(?214 )/10800000)",
3758 : "(10800000*atan2(?228 ,?227 ))/pi",
3759 : "?26 +0-?223 ",
3760 : "?225 +0-?4 ",
3761 : "?230 +?4 -0",
3762 : "?226 +0-?3 ",
3763 : "?229 +0-?209 ",
3764 : "(?56 +?54 )/2",
3765 : "(?55 +?53 )/2",
3766 : "(?96 +?94 )/2",
3767 : "(?95 +?93 )/2",
3768 : "(?137 +?135 )/2",
3769 : "(?136 +?134 )/2",
3770 : "(?178 +?176 )/2",
3771 : "(?177 +?175 )/2",
3772 : "(logwidth+0)/?241 ",
3773 : "(logwidth+0)/?239 ",
3774 : "(logwidth+0)/?237 ",
3775 : "(logwidth+0)/?235 ",
3776 : "(?32 )/60000.0",
3777 : "(?97 )/60000.0",
3778 : "(?72 )/60000.0",
3779 : "(?138 )/60000.0",
3780 : "(?113 )/60000.0",
3781 : "(?179 )/60000.0",
3782 : "(?154 )/60000.0",
3783 : "(?191 )/60000.0",
3784 : "(?187 )/60000.0",
3785 : "(?179 )/60000.0",
3786 : "(?195 )/60000.0",
3787 : "(?138 )/60000.0",
3788 : "(?202 )/60000.0",
3789 : "(?97 )/60000.0",
3790 : "(?209 )/60000.0",
3791 : "(?234 )/60000.0",
3792 : "(?218 )/60000.0",
3793 : "(?234 )/60000.0"
3794 : };
3795 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3796 : }
3797 : {
3798 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
3799 : {
3800 0 : Sequence< PropertyValue > aPropSequence (4);
3801 : {
3802 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3803 : static const CustomShapeProvider::ParameterPairData aData =
3804 : {
3805 : EnhancedCustomShapeParameterType::EQUATION,
3806 : EnhancedCustomShapeParameterType::EQUATION,
3807 : 225, 226
3808 : };
3809 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3810 : }
3811 : {
3812 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3813 0 : EnhancedCustomShapeParameter aParameter;
3814 0 : Any aAny ((sal_Int32) 20000);
3815 0 : aParameter.Value = aAny;
3816 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3817 0 : aPropSequence [1].Value = makeAny (aParameter);
3818 : }
3819 : {
3820 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3821 0 : EnhancedCustomShapeParameter aParameter;
3822 0 : Any aAny ((sal_Int32) 0);
3823 0 : aParameter.Value = aAny;
3824 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3825 0 : aPropSequence [2].Value = makeAny (aParameter);
3826 : }
3827 : {
3828 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3829 0 : Any aAny ((sal_Int32) 0);
3830 0 : aPropSequence [3].Value = makeAny (aAny);
3831 : }
3832 0 : aPropSequenceSequence [0] = aPropSequence;
3833 : }
3834 : {
3835 0 : Sequence< PropertyValue > aPropSequence (4);
3836 : {
3837 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3838 : static const CustomShapeProvider::ParameterPairData aData =
3839 : {
3840 : EnhancedCustomShapeParameterType::EQUATION,
3841 : EnhancedCustomShapeParameterType::EQUATION,
3842 : 230, 226
3843 : };
3844 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3845 : }
3846 : {
3847 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
3848 0 : EnhancedCustomShapeParameter aParameter;
3849 0 : Any aAny ((sal_Int32) 2679);
3850 0 : aParameter.Value = aAny;
3851 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3852 0 : aPropSequence [1].Value = makeAny (aParameter);
3853 : }
3854 : {
3855 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
3856 0 : EnhancedCustomShapeParameter aParameter;
3857 0 : Any aAny ((sal_Int32) 0);
3858 0 : aParameter.Value = aAny;
3859 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3860 0 : aPropSequence [2].Value = makeAny (aParameter);
3861 : }
3862 : {
3863 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
3864 0 : Any aAny ((sal_Int32) 1);
3865 0 : aPropSequence [3].Value = makeAny (aAny);
3866 : }
3867 0 : aPropSequenceSequence [1] = aPropSequence;
3868 : }
3869 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3870 : }
3871 : {
3872 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3873 : }
3874 : {
3875 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3876 : }
3877 : {
3878 0 : Sequence< PropertyValue > aPropSequence (3);
3879 : {
3880 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3881 : static const CustomShapeProvider::ParameterPairData aData[] = {
3882 : {
3883 : EnhancedCustomShapeParameterType::EQUATION,
3884 : EnhancedCustomShapeParameterType::EQUATION,
3885 : 27, 29
3886 : },
3887 : {
3888 : EnhancedCustomShapeParameterType::EQUATION,
3889 : EnhancedCustomShapeParameterType::EQUATION,
3890 : 56, 55
3891 : },
3892 : {
3893 : EnhancedCustomShapeParameterType::EQUATION,
3894 : EnhancedCustomShapeParameterType::EQUATION,
3895 : 54, 53
3896 : },
3897 : {
3898 : EnhancedCustomShapeParameterType::EQUATION,
3899 : EnhancedCustomShapeParameterType::EQUATION,
3900 : 39, 40
3901 : },
3902 : {
3903 : EnhancedCustomShapeParameterType::EQUATION,
3904 : EnhancedCustomShapeParameterType::EQUATION,
3905 : 11, 9
3906 : },
3907 : {
3908 : EnhancedCustomShapeParameterType::EQUATION,
3909 : EnhancedCustomShapeParameterType::EQUATION,
3910 : 247, 248
3911 : },
3912 : {
3913 : EnhancedCustomShapeParameterType::EQUATION,
3914 : EnhancedCustomShapeParameterType::EQUATION,
3915 : 96, 95
3916 : },
3917 : {
3918 : EnhancedCustomShapeParameterType::EQUATION,
3919 : EnhancedCustomShapeParameterType::EQUATION,
3920 : 94, 93
3921 : },
3922 : {
3923 : EnhancedCustomShapeParameterType::EQUATION,
3924 : EnhancedCustomShapeParameterType::EQUATION,
3925 : 79, 80
3926 : },
3927 : {
3928 : EnhancedCustomShapeParameterType::EQUATION,
3929 : EnhancedCustomShapeParameterType::EQUATION,
3930 : 11, 9
3931 : },
3932 : {
3933 : EnhancedCustomShapeParameterType::EQUATION,
3934 : EnhancedCustomShapeParameterType::EQUATION,
3935 : 249, 250
3936 : },
3937 : {
3938 : EnhancedCustomShapeParameterType::EQUATION,
3939 : EnhancedCustomShapeParameterType::EQUATION,
3940 : 137, 136
3941 : },
3942 : {
3943 : EnhancedCustomShapeParameterType::EQUATION,
3944 : EnhancedCustomShapeParameterType::EQUATION,
3945 : 135, 134
3946 : },
3947 : {
3948 : EnhancedCustomShapeParameterType::EQUATION,
3949 : EnhancedCustomShapeParameterType::EQUATION,
3950 : 120, 121
3951 : },
3952 : {
3953 : EnhancedCustomShapeParameterType::EQUATION,
3954 : EnhancedCustomShapeParameterType::EQUATION,
3955 : 11, 9
3956 : },
3957 : {
3958 : EnhancedCustomShapeParameterType::EQUATION,
3959 : EnhancedCustomShapeParameterType::EQUATION,
3960 : 251, 252
3961 : },
3962 : {
3963 : EnhancedCustomShapeParameterType::EQUATION,
3964 : EnhancedCustomShapeParameterType::EQUATION,
3965 : 178, 177
3966 : },
3967 : {
3968 : EnhancedCustomShapeParameterType::EQUATION,
3969 : EnhancedCustomShapeParameterType::EQUATION,
3970 : 176, 175
3971 : },
3972 : {
3973 : EnhancedCustomShapeParameterType::EQUATION,
3974 : EnhancedCustomShapeParameterType::EQUATION,
3975 : 161, 162
3976 : },
3977 : {
3978 : EnhancedCustomShapeParameterType::EQUATION,
3979 : EnhancedCustomShapeParameterType::EQUATION,
3980 : 11, 9
3981 : },
3982 : {
3983 : EnhancedCustomShapeParameterType::EQUATION,
3984 : EnhancedCustomShapeParameterType::EQUATION,
3985 : 253, 254
3986 : },
3987 : {
3988 : EnhancedCustomShapeParameterType::EQUATION,
3989 : EnhancedCustomShapeParameterType::EQUATION,
3990 : 190, 175
3991 : },
3992 : {
3993 : EnhancedCustomShapeParameterType::EQUATION,
3994 : EnhancedCustomShapeParameterType::EQUATION,
3995 : 189, 177
3996 : },
3997 : {
3998 : EnhancedCustomShapeParameterType::EQUATION,
3999 : EnhancedCustomShapeParameterType::EQUATION,
4000 : 188, 151
4001 : },
4002 : {
4003 : EnhancedCustomShapeParameterType::EQUATION,
4004 : EnhancedCustomShapeParameterType::EQUATION,
4005 : 11, 9
4006 : },
4007 : {
4008 : EnhancedCustomShapeParameterType::EQUATION,
4009 : EnhancedCustomShapeParameterType::EQUATION,
4010 : 255, 256
4011 : },
4012 : {
4013 : EnhancedCustomShapeParameterType::EQUATION,
4014 : EnhancedCustomShapeParameterType::EQUATION,
4015 : 198, 134
4016 : },
4017 : {
4018 : EnhancedCustomShapeParameterType::EQUATION,
4019 : EnhancedCustomShapeParameterType::EQUATION,
4020 : 197, 136
4021 : },
4022 : {
4023 : EnhancedCustomShapeParameterType::EQUATION,
4024 : EnhancedCustomShapeParameterType::EQUATION,
4025 : 196, 110
4026 : },
4027 : {
4028 : EnhancedCustomShapeParameterType::EQUATION,
4029 : EnhancedCustomShapeParameterType::EQUATION,
4030 : 11, 9
4031 : },
4032 : {
4033 : EnhancedCustomShapeParameterType::EQUATION,
4034 : EnhancedCustomShapeParameterType::EQUATION,
4035 : 257, 258
4036 : },
4037 : {
4038 : EnhancedCustomShapeParameterType::EQUATION,
4039 : EnhancedCustomShapeParameterType::EQUATION,
4040 : 205, 93
4041 : },
4042 : {
4043 : EnhancedCustomShapeParameterType::EQUATION,
4044 : EnhancedCustomShapeParameterType::EQUATION,
4045 : 204, 95
4046 : },
4047 : {
4048 : EnhancedCustomShapeParameterType::EQUATION,
4049 : EnhancedCustomShapeParameterType::EQUATION,
4050 : 203, 69
4051 : },
4052 : {
4053 : EnhancedCustomShapeParameterType::EQUATION,
4054 : EnhancedCustomShapeParameterType::EQUATION,
4055 : 11, 9
4056 : },
4057 : {
4058 : EnhancedCustomShapeParameterType::EQUATION,
4059 : EnhancedCustomShapeParameterType::EQUATION,
4060 : 259, 260
4061 : },
4062 : {
4063 : EnhancedCustomShapeParameterType::EQUATION,
4064 : EnhancedCustomShapeParameterType::EQUATION,
4065 : 213, 53
4066 : },
4067 : {
4068 : EnhancedCustomShapeParameterType::EQUATION,
4069 : EnhancedCustomShapeParameterType::EQUATION,
4070 : 212, 55
4071 : },
4072 : {
4073 : EnhancedCustomShapeParameterType::EQUATION,
4074 : EnhancedCustomShapeParameterType::EQUATION,
4075 : 211, 29
4076 : },
4077 : {
4078 : EnhancedCustomShapeParameterType::EQUATION,
4079 : EnhancedCustomShapeParameterType::EQUATION,
4080 : 11, 9
4081 : },
4082 : {
4083 : EnhancedCustomShapeParameterType::EQUATION,
4084 : EnhancedCustomShapeParameterType::EQUATION,
4085 : 261, 262
4086 : },
4087 : {
4088 : EnhancedCustomShapeParameterType::EQUATION,
4089 : EnhancedCustomShapeParameterType::EQUATION,
4090 : 232, 233
4091 : },
4092 : {
4093 : EnhancedCustomShapeParameterType::EQUATION,
4094 : EnhancedCustomShapeParameterType::EQUATION,
4095 : 231, 233
4096 : },
4097 : {
4098 : EnhancedCustomShapeParameterType::EQUATION,
4099 : EnhancedCustomShapeParameterType::EQUATION,
4100 : 225, 226
4101 : },
4102 : {
4103 : EnhancedCustomShapeParameterType::EQUATION,
4104 : EnhancedCustomShapeParameterType::EQUATION,
4105 : 11, 9
4106 : },
4107 : {
4108 : EnhancedCustomShapeParameterType::EQUATION,
4109 : EnhancedCustomShapeParameterType::EQUATION,
4110 : 263, 264
4111 : }
4112 : };
4113 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4114 : }
4115 : {
4116 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4117 : static const sal_uInt16 nValues[] = {
4118 : // Command, Count
4119 : 1,1,
4120 : 2,3,
4121 : 17,1,
4122 : 2,3,
4123 : 17,1,
4124 : 2,3,
4125 : 17,1,
4126 : 2,3,
4127 : 17,1,
4128 : 2,3,
4129 : 17,1,
4130 : 2,3,
4131 : 17,1,
4132 : 2,3,
4133 : 17,1,
4134 : 2,3,
4135 : 17,1,
4136 : 2,3,
4137 : 17,1,
4138 : 4,0,
4139 : 5,0
4140 : };
4141 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4142 : }
4143 : {
4144 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4145 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4146 : {
4147 0 : EnhancedCustomShapeTextFrame aTextFrame;
4148 : {
4149 : static const CustomShapeProvider::ParameterPairData aData =
4150 : {
4151 : EnhancedCustomShapeParameterType::EQUATION,
4152 : EnhancedCustomShapeParameterType::EQUATION,
4153 : 210, 40
4154 : };
4155 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4156 : }
4157 : {
4158 : static const CustomShapeProvider::ParameterPairData aData =
4159 : {
4160 : EnhancedCustomShapeParameterType::EQUATION,
4161 : EnhancedCustomShapeParameterType::EQUATION,
4162 : 39, 121
4163 : };
4164 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4165 : }
4166 0 : aTextFrameSeq [0] = aTextFrame;
4167 : }
4168 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4169 : }
4170 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4171 : }
4172 : {
4173 0 : awt::Rectangle aRectangle;
4174 0 : aRectangle.X = 0;
4175 0 : aRectangle.Y = 0;
4176 0 : aRectangle.Width = 0;
4177 0 : aRectangle.Height = 0;
4178 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4179 : }
4180 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-gear9");
4181 :
4182 0 : return aPropertyMap;
4183 : }
4184 : };
4185 3 : class ShapeCround1Rect : public CustomShapeProvider
4186 : {
4187 0 : virtual PropertyMap getProperties()
4188 : {
4189 0 : PropertyMap aPropertyMap;
4190 :
4191 : {
4192 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4193 : {
4194 0 : Any aAny ((sal_Int32) 16667);
4195 0 : aAdjSequence [0].Value = aAny;
4196 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
4197 : }
4198 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4199 : }
4200 : {
4201 : static const char *aStrings[] = {
4202 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
4203 : "min(logwidth,logheight)",
4204 : "?1 *?0 /100000",
4205 : "logwidth+0-?2 ",
4206 : "?2 *29289/100000",
4207 : "logwidth+0-?4 ",
4208 : "logwidth/2",
4209 : "logheight/2",
4210 : "logheight",
4211 : "logwidth",
4212 : "(16200000)/60000.0",
4213 : "(5400000)/60000.0"
4214 : };
4215 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4216 : }
4217 : {
4218 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4219 : {
4220 0 : Sequence< PropertyValue > aPropSequence (4);
4221 : {
4222 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
4223 : static const CustomShapeProvider::ParameterPairData aData =
4224 : {
4225 : EnhancedCustomShapeParameterType::EQUATION,
4226 : EnhancedCustomShapeParameterType::NORMAL,
4227 : 3, 0
4228 : };
4229 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4230 : }
4231 : {
4232 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
4233 0 : EnhancedCustomShapeParameter aParameter;
4234 0 : Any aAny ((sal_Int32) 50000);
4235 0 : aParameter.Value = aAny;
4236 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4237 0 : aPropSequence [1].Value = makeAny (aParameter);
4238 : }
4239 : {
4240 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
4241 0 : EnhancedCustomShapeParameter aParameter;
4242 0 : Any aAny ((sal_Int32) 0);
4243 0 : aParameter.Value = aAny;
4244 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4245 0 : aPropSequence [2].Value = makeAny (aParameter);
4246 : }
4247 : {
4248 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
4249 0 : Any aAny ((sal_Int32) 0);
4250 0 : aPropSequence [3].Value = makeAny (aAny);
4251 : }
4252 0 : aPropSequenceSequence [0] = aPropSequence;
4253 : }
4254 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4255 : }
4256 : {
4257 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4258 : }
4259 : {
4260 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4261 : }
4262 : {
4263 0 : Sequence< PropertyValue > aPropSequence (3);
4264 : {
4265 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4266 : static const CustomShapeProvider::ParameterPairData aData[] = {
4267 : {
4268 : EnhancedCustomShapeParameterType::NORMAL,
4269 : EnhancedCustomShapeParameterType::NORMAL,
4270 : 0, 0
4271 : },
4272 : {
4273 : EnhancedCustomShapeParameterType::EQUATION,
4274 : EnhancedCustomShapeParameterType::NORMAL,
4275 : 3, 0
4276 : },
4277 : {
4278 : EnhancedCustomShapeParameterType::EQUATION,
4279 : EnhancedCustomShapeParameterType::EQUATION,
4280 : 2, 2
4281 : },
4282 : {
4283 : EnhancedCustomShapeParameterType::EQUATION,
4284 : EnhancedCustomShapeParameterType::EQUATION,
4285 : 10, 11
4286 : },
4287 : {
4288 : EnhancedCustomShapeParameterType::EQUATION,
4289 : EnhancedCustomShapeParameterType::EQUATION,
4290 : 9, 8
4291 : },
4292 : {
4293 : EnhancedCustomShapeParameterType::NORMAL,
4294 : EnhancedCustomShapeParameterType::EQUATION,
4295 : 0, 8
4296 : }
4297 : };
4298 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4299 : }
4300 : {
4301 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4302 : static const sal_uInt16 nValues[] = {
4303 : // Command, Count
4304 : 1,1,
4305 : 2,1,
4306 : 17,1,
4307 : 2,2,
4308 : 4,0,
4309 : 5,0
4310 : };
4311 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4312 : }
4313 : {
4314 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4315 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4316 : {
4317 0 : EnhancedCustomShapeTextFrame aTextFrame;
4318 : {
4319 : static const CustomShapeProvider::ParameterPairData aData =
4320 : {
4321 : EnhancedCustomShapeParameterType::NORMAL,
4322 : EnhancedCustomShapeParameterType::NORMAL,
4323 : 0, 0
4324 : };
4325 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4326 : }
4327 : {
4328 : static const CustomShapeProvider::ParameterPairData aData =
4329 : {
4330 : EnhancedCustomShapeParameterType::EQUATION,
4331 : EnhancedCustomShapeParameterType::EQUATION,
4332 : 5, 8
4333 : };
4334 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4335 : }
4336 0 : aTextFrameSeq [0] = aTextFrame;
4337 : }
4338 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4339 : }
4340 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4341 : }
4342 : {
4343 0 : awt::Rectangle aRectangle;
4344 0 : aRectangle.X = 0;
4345 0 : aRectangle.Y = 0;
4346 0 : aRectangle.Width = 0;
4347 0 : aRectangle.Height = 0;
4348 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4349 : }
4350 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-round1Rect");
4351 :
4352 0 : return aPropertyMap;
4353 : }
4354 : };
4355 3 : class ShapeCsun : public CustomShapeProvider
4356 : {
4357 0 : virtual PropertyMap getProperties()
4358 : {
4359 0 : PropertyMap aPropertyMap;
4360 :
4361 : {
4362 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4363 : {
4364 0 : Any aAny ((sal_Int32) 25000);
4365 0 : aAdjSequence [0].Value = aAny;
4366 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
4367 : }
4368 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4369 : }
4370 : {
4371 : static const char *aStrings[] = {
4372 : "if(12500-$0 ,12500,if(46875-$0 ,$0 ,46875))",
4373 : "50000+0-?0 ",
4374 : "?1 *30274/32768",
4375 : "?1 *12540/32768",
4376 : "?2 +50000-0",
4377 : "?3 +50000-0",
4378 : "50000+0-?2 ",
4379 : "50000+0-?3 ",
4380 : "?1 *23170/32768",
4381 : "50000+?8 -0",
4382 : "50000+0-?8 ",
4383 : "?6 *3/4",
4384 : "?7 *3/4",
4385 : "?11 +3662-0",
4386 : "?12 +3662-0",
4387 : "?12 +12500-0",
4388 : "100000+0-?11 ",
4389 : "100000+0-?13 ",
4390 : "100000+0-?14 ",
4391 : "100000+0-?15 ",
4392 : "logwidth*18436/21600",
4393 : "logheight*3163/21600",
4394 : "logwidth*3163/21600",
4395 : "logheight*18436/21600",
4396 : "logwidth*?9 /100000",
4397 : "logwidth*?10 /100000",
4398 : "logwidth*?11 /100000",
4399 : "logwidth*?13 /100000",
4400 : "logwidth*?14 /100000",
4401 : "logwidth*?15 /100000",
4402 : "logwidth*?16 /100000",
4403 : "logwidth*?17 /100000",
4404 : "logwidth*?18 /100000",
4405 : "logwidth*?19 /100000",
4406 : "logwidth*?0 /100000",
4407 : "logwidth*?1 /100000",
4408 : "logheight*?1 /100000",
4409 : "logheight*?9 /100000",
4410 : "logheight*?10 /100000",
4411 : "logheight*?11 /100000",
4412 : "logheight*?13 /100000",
4413 : "logheight*?14 /100000",
4414 : "logheight*?15 /100000",
4415 : "logheight*?16 /100000",
4416 : "logheight*?17 /100000",
4417 : "logheight*?18 /100000",
4418 : "logheight*?19 /100000",
4419 : "logheight/2",
4420 : "logwidth/2",
4421 : "logheight",
4422 : "logwidth",
4423 : "(10800000)/60000.0",
4424 : "(21600000)/60000.0"
4425 : };
4426 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4427 : }
4428 : {
4429 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4430 : {
4431 0 : Sequence< PropertyValue > aPropSequence (4);
4432 : {
4433 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
4434 : static const CustomShapeProvider::ParameterPairData aData =
4435 : {
4436 : EnhancedCustomShapeParameterType::EQUATION,
4437 : EnhancedCustomShapeParameterType::EQUATION,
4438 : 34, 47
4439 : };
4440 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4441 : }
4442 : {
4443 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
4444 0 : EnhancedCustomShapeParameter aParameter;
4445 0 : Any aAny ((sal_Int32) 46875);
4446 0 : aParameter.Value = aAny;
4447 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4448 0 : aPropSequence [1].Value = makeAny (aParameter);
4449 : }
4450 : {
4451 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
4452 0 : EnhancedCustomShapeParameter aParameter;
4453 0 : Any aAny ((sal_Int32) 12500);
4454 0 : aParameter.Value = aAny;
4455 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4456 0 : aPropSequence [2].Value = makeAny (aParameter);
4457 : }
4458 : {
4459 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
4460 0 : Any aAny ((sal_Int32) 0);
4461 0 : aPropSequence [3].Value = makeAny (aAny);
4462 : }
4463 0 : aPropSequenceSequence [0] = aPropSequence;
4464 : }
4465 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4466 : }
4467 : {
4468 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4469 : }
4470 : {
4471 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4472 : }
4473 : {
4474 0 : Sequence< PropertyValue > aPropSequence (3);
4475 : {
4476 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4477 : static const CustomShapeProvider::ParameterPairData aData[] = {
4478 : {
4479 : EnhancedCustomShapeParameterType::EQUATION,
4480 : EnhancedCustomShapeParameterType::EQUATION,
4481 : 50, 47
4482 : },
4483 : {
4484 : EnhancedCustomShapeParameterType::EQUATION,
4485 : EnhancedCustomShapeParameterType::EQUATION,
4486 : 30, 46
4487 : },
4488 : {
4489 : EnhancedCustomShapeParameterType::EQUATION,
4490 : EnhancedCustomShapeParameterType::EQUATION,
4491 : 30, 42
4492 : },
4493 : {
4494 : EnhancedCustomShapeParameterType::EQUATION,
4495 : EnhancedCustomShapeParameterType::EQUATION,
4496 : 20, 21
4497 : },
4498 : {
4499 : EnhancedCustomShapeParameterType::EQUATION,
4500 : EnhancedCustomShapeParameterType::EQUATION,
4501 : 31, 41
4502 : },
4503 : {
4504 : EnhancedCustomShapeParameterType::EQUATION,
4505 : EnhancedCustomShapeParameterType::EQUATION,
4506 : 32, 40
4507 : },
4508 : {
4509 : EnhancedCustomShapeParameterType::EQUATION,
4510 : EnhancedCustomShapeParameterType::NORMAL,
4511 : 48, 0
4512 : },
4513 : {
4514 : EnhancedCustomShapeParameterType::EQUATION,
4515 : EnhancedCustomShapeParameterType::EQUATION,
4516 : 33, 39
4517 : },
4518 : {
4519 : EnhancedCustomShapeParameterType::EQUATION,
4520 : EnhancedCustomShapeParameterType::EQUATION,
4521 : 29, 39
4522 : },
4523 : {
4524 : EnhancedCustomShapeParameterType::EQUATION,
4525 : EnhancedCustomShapeParameterType::EQUATION,
4526 : 22, 21
4527 : },
4528 : {
4529 : EnhancedCustomShapeParameterType::EQUATION,
4530 : EnhancedCustomShapeParameterType::EQUATION,
4531 : 28, 40
4532 : },
4533 : {
4534 : EnhancedCustomShapeParameterType::EQUATION,
4535 : EnhancedCustomShapeParameterType::EQUATION,
4536 : 27, 41
4537 : },
4538 : {
4539 : EnhancedCustomShapeParameterType::NORMAL,
4540 : EnhancedCustomShapeParameterType::EQUATION,
4541 : 0, 47
4542 : },
4543 : {
4544 : EnhancedCustomShapeParameterType::EQUATION,
4545 : EnhancedCustomShapeParameterType::EQUATION,
4546 : 26, 42
4547 : },
4548 : {
4549 : EnhancedCustomShapeParameterType::EQUATION,
4550 : EnhancedCustomShapeParameterType::EQUATION,
4551 : 26, 46
4552 : },
4553 : {
4554 : EnhancedCustomShapeParameterType::EQUATION,
4555 : EnhancedCustomShapeParameterType::EQUATION,
4556 : 22, 23
4557 : },
4558 : {
4559 : EnhancedCustomShapeParameterType::EQUATION,
4560 : EnhancedCustomShapeParameterType::EQUATION,
4561 : 27, 45
4562 : },
4563 : {
4564 : EnhancedCustomShapeParameterType::EQUATION,
4565 : EnhancedCustomShapeParameterType::EQUATION,
4566 : 28, 44
4567 : },
4568 : {
4569 : EnhancedCustomShapeParameterType::EQUATION,
4570 : EnhancedCustomShapeParameterType::EQUATION,
4571 : 48, 49
4572 : },
4573 : {
4574 : EnhancedCustomShapeParameterType::EQUATION,
4575 : EnhancedCustomShapeParameterType::EQUATION,
4576 : 29, 43
4577 : },
4578 : {
4579 : EnhancedCustomShapeParameterType::EQUATION,
4580 : EnhancedCustomShapeParameterType::EQUATION,
4581 : 33, 43
4582 : },
4583 : {
4584 : EnhancedCustomShapeParameterType::EQUATION,
4585 : EnhancedCustomShapeParameterType::EQUATION,
4586 : 20, 23
4587 : },
4588 : {
4589 : EnhancedCustomShapeParameterType::EQUATION,
4590 : EnhancedCustomShapeParameterType::EQUATION,
4591 : 32, 44
4592 : },
4593 : {
4594 : EnhancedCustomShapeParameterType::EQUATION,
4595 : EnhancedCustomShapeParameterType::EQUATION,
4596 : 31, 45
4597 : },
4598 : {
4599 : EnhancedCustomShapeParameterType::EQUATION,
4600 : EnhancedCustomShapeParameterType::EQUATION,
4601 : 34, 47
4602 : },
4603 : {
4604 : EnhancedCustomShapeParameterType::EQUATION,
4605 : EnhancedCustomShapeParameterType::EQUATION,
4606 : 35, 36
4607 : },
4608 : {
4609 : EnhancedCustomShapeParameterType::EQUATION,
4610 : EnhancedCustomShapeParameterType::EQUATION,
4611 : 51, 52
4612 : }
4613 : };
4614 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4615 : }
4616 : {
4617 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4618 : static const sal_uInt16 nValues[] = {
4619 : // Command, Count
4620 : 1,1,
4621 : 2,2,
4622 : 4,0,
4623 : 1,1,
4624 : 2,2,
4625 : 4,0,
4626 : 1,1,
4627 : 2,2,
4628 : 4,0,
4629 : 1,1,
4630 : 2,2,
4631 : 4,0,
4632 : 1,1,
4633 : 2,2,
4634 : 4,0,
4635 : 1,1,
4636 : 2,2,
4637 : 4,0,
4638 : 1,1,
4639 : 2,2,
4640 : 4,0,
4641 : 1,1,
4642 : 2,2,
4643 : 4,0,
4644 : 1,1,
4645 : 17,1,
4646 : 4,0,
4647 : 5,0
4648 : };
4649 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4650 : }
4651 : {
4652 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4653 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4654 : {
4655 0 : EnhancedCustomShapeTextFrame aTextFrame;
4656 : {
4657 : static const CustomShapeProvider::ParameterPairData aData =
4658 : {
4659 : EnhancedCustomShapeParameterType::EQUATION,
4660 : EnhancedCustomShapeParameterType::EQUATION,
4661 : 25, 38
4662 : };
4663 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4664 : }
4665 : {
4666 : static const CustomShapeProvider::ParameterPairData aData =
4667 : {
4668 : EnhancedCustomShapeParameterType::EQUATION,
4669 : EnhancedCustomShapeParameterType::EQUATION,
4670 : 24, 37
4671 : };
4672 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4673 : }
4674 0 : aTextFrameSeq [0] = aTextFrame;
4675 : }
4676 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4677 : }
4678 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4679 : }
4680 : {
4681 0 : awt::Rectangle aRectangle;
4682 0 : aRectangle.X = 0;
4683 0 : aRectangle.Y = 0;
4684 0 : aRectangle.Width = 0;
4685 0 : aRectangle.Height = 0;
4686 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4687 : }
4688 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-sun");
4689 :
4690 0 : return aPropertyMap;
4691 : }
4692 : };
4693 3 : class ShapeCplaque : public CustomShapeProvider
4694 : {
4695 0 : virtual PropertyMap getProperties()
4696 : {
4697 0 : PropertyMap aPropertyMap;
4698 :
4699 : {
4700 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4701 : {
4702 0 : Any aAny ((sal_Int32) 16667);
4703 0 : aAdjSequence [0].Value = aAny;
4704 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
4705 : }
4706 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4707 : }
4708 : {
4709 : static const char *aStrings[] = {
4710 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
4711 : "min(logwidth,logheight)",
4712 : "?1 *?0 /100000",
4713 : "logwidth+0-?2 ",
4714 : "logheight+0-?2 ",
4715 : "?2 *70711/100000",
4716 : "logwidth+0-?5 ",
4717 : "logheight+0-?5 ",
4718 : "logwidth/2",
4719 : "logheight/2",
4720 : "logheight",
4721 : "logwidth",
4722 : "(5400000)/60000.0",
4723 : "(-5400000)/60000.0",
4724 : "(10800000)/60000.0",
4725 : "(-5400000)/60000.0",
4726 : "(16200000)/60000.0",
4727 : "(-5400000)/60000.0",
4728 : "(0)/60000.0",
4729 : "(-5400000)/60000.0"
4730 : };
4731 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4732 : }
4733 : {
4734 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4735 : {
4736 0 : Sequence< PropertyValue > aPropSequence (4);
4737 : {
4738 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
4739 : static const CustomShapeProvider::ParameterPairData aData =
4740 : {
4741 : EnhancedCustomShapeParameterType::EQUATION,
4742 : EnhancedCustomShapeParameterType::NORMAL,
4743 : 2, 0
4744 : };
4745 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4746 : }
4747 : {
4748 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
4749 0 : EnhancedCustomShapeParameter aParameter;
4750 0 : Any aAny ((sal_Int32) 50000);
4751 0 : aParameter.Value = aAny;
4752 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4753 0 : aPropSequence [1].Value = makeAny (aParameter);
4754 : }
4755 : {
4756 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
4757 0 : EnhancedCustomShapeParameter aParameter;
4758 0 : Any aAny ((sal_Int32) 0);
4759 0 : aParameter.Value = aAny;
4760 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4761 0 : aPropSequence [2].Value = makeAny (aParameter);
4762 : }
4763 : {
4764 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
4765 0 : Any aAny ((sal_Int32) 0);
4766 0 : aPropSequence [3].Value = makeAny (aAny);
4767 : }
4768 0 : aPropSequenceSequence [0] = aPropSequence;
4769 : }
4770 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4771 : }
4772 : {
4773 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4774 : }
4775 : {
4776 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4777 : }
4778 : {
4779 0 : Sequence< PropertyValue > aPropSequence (3);
4780 : {
4781 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4782 : static const CustomShapeProvider::ParameterPairData aData[] = {
4783 : {
4784 : EnhancedCustomShapeParameterType::NORMAL,
4785 : EnhancedCustomShapeParameterType::EQUATION,
4786 : 0, 2
4787 : },
4788 : {
4789 : EnhancedCustomShapeParameterType::EQUATION,
4790 : EnhancedCustomShapeParameterType::EQUATION,
4791 : 2, 2
4792 : },
4793 : {
4794 : EnhancedCustomShapeParameterType::EQUATION,
4795 : EnhancedCustomShapeParameterType::EQUATION,
4796 : 12, 13
4797 : },
4798 : {
4799 : EnhancedCustomShapeParameterType::EQUATION,
4800 : EnhancedCustomShapeParameterType::NORMAL,
4801 : 3, 0
4802 : },
4803 : {
4804 : EnhancedCustomShapeParameterType::EQUATION,
4805 : EnhancedCustomShapeParameterType::EQUATION,
4806 : 2, 2
4807 : },
4808 : {
4809 : EnhancedCustomShapeParameterType::EQUATION,
4810 : EnhancedCustomShapeParameterType::EQUATION,
4811 : 14, 15
4812 : },
4813 : {
4814 : EnhancedCustomShapeParameterType::EQUATION,
4815 : EnhancedCustomShapeParameterType::EQUATION,
4816 : 11, 4
4817 : },
4818 : {
4819 : EnhancedCustomShapeParameterType::EQUATION,
4820 : EnhancedCustomShapeParameterType::EQUATION,
4821 : 2, 2
4822 : },
4823 : {
4824 : EnhancedCustomShapeParameterType::EQUATION,
4825 : EnhancedCustomShapeParameterType::EQUATION,
4826 : 16, 17
4827 : },
4828 : {
4829 : EnhancedCustomShapeParameterType::EQUATION,
4830 : EnhancedCustomShapeParameterType::EQUATION,
4831 : 2, 10
4832 : },
4833 : {
4834 : EnhancedCustomShapeParameterType::EQUATION,
4835 : EnhancedCustomShapeParameterType::EQUATION,
4836 : 2, 2
4837 : },
4838 : {
4839 : EnhancedCustomShapeParameterType::EQUATION,
4840 : EnhancedCustomShapeParameterType::EQUATION,
4841 : 18, 19
4842 : }
4843 : };
4844 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4845 : }
4846 : {
4847 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4848 : static const sal_uInt16 nValues[] = {
4849 : // Command, Count
4850 : 1,1,
4851 : 17,1,
4852 : 2,1,
4853 : 17,1,
4854 : 2,1,
4855 : 17,1,
4856 : 2,1,
4857 : 17,1,
4858 : 4,0,
4859 : 5,0
4860 : };
4861 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4862 : }
4863 : {
4864 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4865 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4866 : {
4867 0 : EnhancedCustomShapeTextFrame aTextFrame;
4868 : {
4869 : static const CustomShapeProvider::ParameterPairData aData =
4870 : {
4871 : EnhancedCustomShapeParameterType::EQUATION,
4872 : EnhancedCustomShapeParameterType::EQUATION,
4873 : 5, 5
4874 : };
4875 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4876 : }
4877 : {
4878 : static const CustomShapeProvider::ParameterPairData aData =
4879 : {
4880 : EnhancedCustomShapeParameterType::EQUATION,
4881 : EnhancedCustomShapeParameterType::EQUATION,
4882 : 6, 7
4883 : };
4884 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4885 : }
4886 0 : aTextFrameSeq [0] = aTextFrame;
4887 : }
4888 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4889 : }
4890 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4891 : }
4892 : {
4893 0 : awt::Rectangle aRectangle;
4894 0 : aRectangle.X = 0;
4895 0 : aRectangle.Y = 0;
4896 0 : aRectangle.Width = 0;
4897 0 : aRectangle.Height = 0;
4898 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4899 : }
4900 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plaque");
4901 :
4902 0 : return aPropertyMap;
4903 : }
4904 : };
4905 3 : class ShapeCchevron : public CustomShapeProvider
4906 : {
4907 0 : virtual PropertyMap getProperties()
4908 : {
4909 0 : PropertyMap aPropertyMap;
4910 :
4911 : {
4912 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4913 : {
4914 0 : Any aAny ((sal_Int32) 50000);
4915 0 : aAdjSequence [0].Value = aAny;
4916 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
4917 : }
4918 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4919 : }
4920 : {
4921 : static const char *aStrings[] = {
4922 : "min(logwidth,logheight)",
4923 : "100000*logwidth/?0 ",
4924 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
4925 : "?0 *?2 /100000",
4926 : "logwidth+0-?3 ",
4927 : "?4 *1/2",
4928 : "?4 +0-?3 ",
4929 : "if(?6 ,?3 ,0)",
4930 : "if(?6 ,?4 ,logwidth)",
4931 : "logheight/2",
4932 : "logheight",
4933 : "logwidth"
4934 : };
4935 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4936 : }
4937 : {
4938 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4939 : {
4940 0 : Sequence< PropertyValue > aPropSequence (4);
4941 : {
4942 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
4943 : static const CustomShapeProvider::ParameterPairData aData =
4944 : {
4945 : EnhancedCustomShapeParameterType::EQUATION,
4946 : EnhancedCustomShapeParameterType::NORMAL,
4947 : 4, 0
4948 : };
4949 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4950 : }
4951 : {
4952 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
4953 0 : EnhancedCustomShapeParameter aParameter;
4954 0 : Any aAny ((sal_Int32) 1);
4955 0 : aParameter.Value = aAny;
4956 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
4957 0 : aPropSequence [1].Value = makeAny (aParameter);
4958 : }
4959 : {
4960 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
4961 0 : EnhancedCustomShapeParameter aParameter;
4962 0 : Any aAny ((sal_Int32) 0);
4963 0 : aParameter.Value = aAny;
4964 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4965 0 : aPropSequence [2].Value = makeAny (aParameter);
4966 : }
4967 : {
4968 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
4969 0 : Any aAny ((sal_Int32) 0);
4970 0 : aPropSequence [3].Value = makeAny (aAny);
4971 : }
4972 0 : aPropSequenceSequence [0] = aPropSequence;
4973 : }
4974 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4975 : }
4976 : {
4977 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4978 : }
4979 : {
4980 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4981 : }
4982 : {
4983 0 : Sequence< PropertyValue > aPropSequence (3);
4984 : {
4985 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4986 : static const CustomShapeProvider::ParameterPairData aData[] = {
4987 : {
4988 : EnhancedCustomShapeParameterType::NORMAL,
4989 : EnhancedCustomShapeParameterType::NORMAL,
4990 : 0, 0
4991 : },
4992 : {
4993 : EnhancedCustomShapeParameterType::EQUATION,
4994 : EnhancedCustomShapeParameterType::NORMAL,
4995 : 4, 0
4996 : },
4997 : {
4998 : EnhancedCustomShapeParameterType::EQUATION,
4999 : EnhancedCustomShapeParameterType::EQUATION,
5000 : 11, 9
5001 : },
5002 : {
5003 : EnhancedCustomShapeParameterType::EQUATION,
5004 : EnhancedCustomShapeParameterType::EQUATION,
5005 : 4, 10
5006 : },
5007 : {
5008 : EnhancedCustomShapeParameterType::NORMAL,
5009 : EnhancedCustomShapeParameterType::EQUATION,
5010 : 0, 10
5011 : },
5012 : {
5013 : EnhancedCustomShapeParameterType::EQUATION,
5014 : EnhancedCustomShapeParameterType::EQUATION,
5015 : 3, 9
5016 : }
5017 : };
5018 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5019 : }
5020 : {
5021 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5022 : static const sal_uInt16 nValues[] = {
5023 : // Command, Count
5024 : 1,1,
5025 : 2,5,
5026 : 4,0,
5027 : 5,0
5028 : };
5029 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5030 : }
5031 : {
5032 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5033 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5034 : {
5035 0 : EnhancedCustomShapeTextFrame aTextFrame;
5036 : {
5037 : static const CustomShapeProvider::ParameterPairData aData =
5038 : {
5039 : EnhancedCustomShapeParameterType::EQUATION,
5040 : EnhancedCustomShapeParameterType::NORMAL,
5041 : 7, 0
5042 : };
5043 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5044 : }
5045 : {
5046 : static const CustomShapeProvider::ParameterPairData aData =
5047 : {
5048 : EnhancedCustomShapeParameterType::EQUATION,
5049 : EnhancedCustomShapeParameterType::EQUATION,
5050 : 8, 10
5051 : };
5052 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5053 : }
5054 0 : aTextFrameSeq [0] = aTextFrame;
5055 : }
5056 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5057 : }
5058 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5059 : }
5060 : {
5061 0 : awt::Rectangle aRectangle;
5062 0 : aRectangle.X = 0;
5063 0 : aRectangle.Y = 0;
5064 0 : aRectangle.Width = 0;
5065 0 : aRectangle.Height = 0;
5066 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5067 : }
5068 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chevron");
5069 :
5070 0 : return aPropertyMap;
5071 : }
5072 : };
5073 3 : class ShapeCflowChartPreparation : public CustomShapeProvider
5074 : {
5075 0 : virtual PropertyMap getProperties()
5076 : {
5077 0 : PropertyMap aPropertyMap;
5078 :
5079 : {
5080 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5081 : }
5082 : {
5083 : static const char *aStrings[] = {
5084 : "logwidth*4/5",
5085 : "logwidth/2",
5086 : "logheight/2",
5087 : "logheight",
5088 : "logwidth",
5089 : "logwidth/5"
5090 : };
5091 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5092 : }
5093 : {
5094 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5095 : }
5096 : {
5097 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5098 : }
5099 : {
5100 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5101 : }
5102 : {
5103 0 : Sequence< PropertyValue > aPropSequence (4);
5104 : {
5105 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5106 : static const CustomShapeProvider::ParameterPairData aData[] = {
5107 : {
5108 : EnhancedCustomShapeParameterType::NORMAL,
5109 : EnhancedCustomShapeParameterType::NORMAL,
5110 : 0, 5
5111 : },
5112 : {
5113 : EnhancedCustomShapeParameterType::NORMAL,
5114 : EnhancedCustomShapeParameterType::NORMAL,
5115 : 2, 0
5116 : },
5117 : {
5118 : EnhancedCustomShapeParameterType::NORMAL,
5119 : EnhancedCustomShapeParameterType::NORMAL,
5120 : 8, 0
5121 : },
5122 : {
5123 : EnhancedCustomShapeParameterType::NORMAL,
5124 : EnhancedCustomShapeParameterType::NORMAL,
5125 : 10, 5
5126 : },
5127 : {
5128 : EnhancedCustomShapeParameterType::NORMAL,
5129 : EnhancedCustomShapeParameterType::NORMAL,
5130 : 8, 10
5131 : },
5132 : {
5133 : EnhancedCustomShapeParameterType::NORMAL,
5134 : EnhancedCustomShapeParameterType::NORMAL,
5135 : 2, 10
5136 : }
5137 : };
5138 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5139 : }
5140 : {
5141 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5142 : static const sal_uInt16 nValues[] = {
5143 : // Command, Count
5144 : 1,1,
5145 : 2,5,
5146 : 4,0,
5147 : 5,0
5148 : };
5149 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5150 : }
5151 : {
5152 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
5153 0 : Sequence< awt::Size > aSizeSequence (1);
5154 : {
5155 0 : awt::Size aSize;
5156 0 : aSize.Width = 10;
5157 0 : aSize.Height = 10;
5158 0 : aSizeSequence [0] = aSize;
5159 : }
5160 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
5161 : }
5162 : {
5163 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
5164 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5165 : {
5166 0 : EnhancedCustomShapeTextFrame aTextFrame;
5167 : {
5168 : static const CustomShapeProvider::ParameterPairData aData =
5169 : {
5170 : EnhancedCustomShapeParameterType::EQUATION,
5171 : EnhancedCustomShapeParameterType::NORMAL,
5172 : 5, 0
5173 : };
5174 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5175 : }
5176 : {
5177 : static const CustomShapeProvider::ParameterPairData aData =
5178 : {
5179 : EnhancedCustomShapeParameterType::EQUATION,
5180 : EnhancedCustomShapeParameterType::EQUATION,
5181 : 0, 3
5182 : };
5183 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5184 : }
5185 0 : aTextFrameSeq [0] = aTextFrame;
5186 : }
5187 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
5188 : }
5189 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5190 : }
5191 : {
5192 0 : awt::Rectangle aRectangle;
5193 0 : aRectangle.X = 0;
5194 0 : aRectangle.Y = 0;
5195 0 : aRectangle.Width = 0;
5196 0 : aRectangle.Height = 0;
5197 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5198 : }
5199 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartPreparation");
5200 :
5201 0 : return aPropertyMap;
5202 : }
5203 : };
5204 3 : class ShapeCdiagStripe : public CustomShapeProvider
5205 : {
5206 0 : virtual PropertyMap getProperties()
5207 : {
5208 0 : PropertyMap aPropertyMap;
5209 :
5210 : {
5211 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
5212 : {
5213 0 : Any aAny ((sal_Int32) 50000);
5214 0 : aAdjSequence [0].Value = aAny;
5215 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
5216 : }
5217 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5218 : }
5219 : {
5220 : static const char *aStrings[] = {
5221 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
5222 : "logwidth*?0 /100000",
5223 : "?1 *1/2",
5224 : "(?1 +logwidth)/2",
5225 : "logheight*?0 /100000",
5226 : "?4 *1/2",
5227 : "(?4 +logheight)/2",
5228 : "logwidth/2",
5229 : "logheight/2",
5230 : "logwidth",
5231 : "logheight"
5232 : };
5233 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5234 : }
5235 : {
5236 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
5237 : {
5238 0 : Sequence< PropertyValue > aPropSequence (4);
5239 : {
5240 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5241 : static const CustomShapeProvider::ParameterPairData aData =
5242 : {
5243 : EnhancedCustomShapeParameterType::NORMAL,
5244 : EnhancedCustomShapeParameterType::EQUATION,
5245 : 0, 4
5246 : };
5247 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5248 : }
5249 : {
5250 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
5251 0 : EnhancedCustomShapeParameter aParameter;
5252 0 : Any aAny ((sal_Int32) 100000);
5253 0 : aParameter.Value = aAny;
5254 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5255 0 : aPropSequence [1].Value = makeAny (aParameter);
5256 : }
5257 : {
5258 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
5259 0 : EnhancedCustomShapeParameter aParameter;
5260 0 : Any aAny ((sal_Int32) 0);
5261 0 : aParameter.Value = aAny;
5262 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5263 0 : aPropSequence [2].Value = makeAny (aParameter);
5264 : }
5265 : {
5266 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
5267 0 : Any aAny ((sal_Int32) 0);
5268 0 : aPropSequence [3].Value = makeAny (aAny);
5269 : }
5270 0 : aPropSequenceSequence [0] = aPropSequence;
5271 : }
5272 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5273 : }
5274 : {
5275 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5276 : }
5277 : {
5278 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5279 : }
5280 : {
5281 0 : Sequence< PropertyValue > aPropSequence (3);
5282 : {
5283 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5284 : static const CustomShapeProvider::ParameterPairData aData[] = {
5285 : {
5286 : EnhancedCustomShapeParameterType::NORMAL,
5287 : EnhancedCustomShapeParameterType::EQUATION,
5288 : 0, 4
5289 : },
5290 : {
5291 : EnhancedCustomShapeParameterType::EQUATION,
5292 : EnhancedCustomShapeParameterType::NORMAL,
5293 : 1, 0
5294 : },
5295 : {
5296 : EnhancedCustomShapeParameterType::EQUATION,
5297 : EnhancedCustomShapeParameterType::NORMAL,
5298 : 9, 0
5299 : },
5300 : {
5301 : EnhancedCustomShapeParameterType::NORMAL,
5302 : EnhancedCustomShapeParameterType::EQUATION,
5303 : 0, 10
5304 : }
5305 : };
5306 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5307 : }
5308 : {
5309 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5310 : static const sal_uInt16 nValues[] = {
5311 : // Command, Count
5312 : 1,1,
5313 : 2,3,
5314 : 4,0,
5315 : 5,0
5316 : };
5317 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5318 : }
5319 : {
5320 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5321 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5322 : {
5323 0 : EnhancedCustomShapeTextFrame aTextFrame;
5324 : {
5325 : static const CustomShapeProvider::ParameterPairData aData =
5326 : {
5327 : EnhancedCustomShapeParameterType::NORMAL,
5328 : EnhancedCustomShapeParameterType::NORMAL,
5329 : 0, 0
5330 : };
5331 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5332 : }
5333 : {
5334 : static const CustomShapeProvider::ParameterPairData aData =
5335 : {
5336 : EnhancedCustomShapeParameterType::EQUATION,
5337 : EnhancedCustomShapeParameterType::EQUATION,
5338 : 3, 6
5339 : };
5340 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5341 : }
5342 0 : aTextFrameSeq [0] = aTextFrame;
5343 : }
5344 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5345 : }
5346 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5347 : }
5348 : {
5349 0 : awt::Rectangle aRectangle;
5350 0 : aRectangle.X = 0;
5351 0 : aRectangle.Y = 0;
5352 0 : aRectangle.Width = 0;
5353 0 : aRectangle.Height = 0;
5354 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5355 : }
5356 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-diagStripe");
5357 :
5358 0 : return aPropertyMap;
5359 : }
5360 : };
5361 3 : class ShapeCpentagon : public CustomShapeProvider
5362 : {
5363 0 : virtual PropertyMap getProperties()
5364 : {
5365 0 : PropertyMap aPropertyMap;
5366 :
5367 : {
5368 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
5369 : {
5370 0 : Any aAny ((sal_Int32) 105146);
5371 0 : aAdjSequence [0].Value = aAny;
5372 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("hf");
5373 : }
5374 : {
5375 0 : Any aAny ((sal_Int32) 110557);
5376 0 : aAdjSequence [1].Value = aAny;
5377 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("vf");
5378 : }
5379 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5380 : }
5381 : {
5382 : static const char *aStrings[] = {
5383 : "logwidth/2",
5384 : "?0 *$0 /100000",
5385 : "logheight/2",
5386 : "?2 *$1 /100000",
5387 : "logheight/2",
5388 : "?4 *$1 /100000",
5389 : "?1 *cos(pi*(1080000)/10800000)",
5390 : "?1 *cos(pi*(18360000)/10800000)",
5391 : "?3 *sin(pi*(1080000)/10800000)",
5392 : "?3 *sin(pi*(18360000)/10800000)",
5393 : "logwidth/2",
5394 : "?10 +0-?6 ",
5395 : "?10 +0-?7 ",
5396 : "?10 +?7 -0",
5397 : "?10 +?6 -0",
5398 : "?5 +0-?8 ",
5399 : "?5 +0-?9 ",
5400 : "?15 *?7 /?6 ",
5401 : "logheight"
5402 : };
5403 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5404 : }
5405 : {
5406 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5407 : }
5408 : {
5409 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5410 : }
5411 : {
5412 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5413 : }
5414 : {
5415 0 : Sequence< PropertyValue > aPropSequence (3);
5416 : {
5417 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5418 : static const CustomShapeProvider::ParameterPairData aData[] = {
5419 : {
5420 : EnhancedCustomShapeParameterType::EQUATION,
5421 : EnhancedCustomShapeParameterType::EQUATION,
5422 : 11, 15
5423 : },
5424 : {
5425 : EnhancedCustomShapeParameterType::EQUATION,
5426 : EnhancedCustomShapeParameterType::NORMAL,
5427 : 10, 0
5428 : },
5429 : {
5430 : EnhancedCustomShapeParameterType::EQUATION,
5431 : EnhancedCustomShapeParameterType::EQUATION,
5432 : 14, 15
5433 : },
5434 : {
5435 : EnhancedCustomShapeParameterType::EQUATION,
5436 : EnhancedCustomShapeParameterType::EQUATION,
5437 : 13, 16
5438 : },
5439 : {
5440 : EnhancedCustomShapeParameterType::EQUATION,
5441 : EnhancedCustomShapeParameterType::EQUATION,
5442 : 12, 16
5443 : }
5444 : };
5445 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5446 : }
5447 : {
5448 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5449 : static const sal_uInt16 nValues[] = {
5450 : // Command, Count
5451 : 1,1,
5452 : 2,4,
5453 : 4,0,
5454 : 5,0
5455 : };
5456 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5457 : }
5458 : {
5459 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5460 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5461 : {
5462 0 : EnhancedCustomShapeTextFrame aTextFrame;
5463 : {
5464 : static const CustomShapeProvider::ParameterPairData aData =
5465 : {
5466 : EnhancedCustomShapeParameterType::EQUATION,
5467 : EnhancedCustomShapeParameterType::EQUATION,
5468 : 12, 17
5469 : };
5470 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5471 : }
5472 : {
5473 : static const CustomShapeProvider::ParameterPairData aData =
5474 : {
5475 : EnhancedCustomShapeParameterType::EQUATION,
5476 : EnhancedCustomShapeParameterType::EQUATION,
5477 : 13, 16
5478 : };
5479 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5480 : }
5481 0 : aTextFrameSeq [0] = aTextFrame;
5482 : }
5483 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5484 : }
5485 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5486 : }
5487 : {
5488 0 : awt::Rectangle aRectangle;
5489 0 : aRectangle.X = 0;
5490 0 : aRectangle.Y = 0;
5491 0 : aRectangle.Width = 0;
5492 0 : aRectangle.Height = 0;
5493 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5494 : }
5495 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-pentagon");
5496 :
5497 0 : return aPropertyMap;
5498 : }
5499 : };
5500 3 : class ShapeCfunnel : public CustomShapeProvider
5501 : {
5502 0 : virtual PropertyMap getProperties()
5503 : {
5504 0 : PropertyMap aPropertyMap;
5505 :
5506 : {
5507 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5508 : }
5509 : {
5510 : static const char *aStrings[] = {
5511 : "min(logwidth,logheight)",
5512 : "?0 *1/20",
5513 : "logwidth/2",
5514 : "?2 +0-?1 ",
5515 : "logheight/4",
5516 : "?4 +0-?1 ",
5517 : "?2 *cos(pi*(480000)/10800000)",
5518 : "?4 *sin(pi*(480000)/10800000)",
5519 : "(10800000*atan2(?7 ,?6 ))/pi",
5520 : "?8 *2/1",
5521 : "10800000+0-?8 ",
5522 : "10800000+2-0",
5523 : "10800000+0-2",
5524 : "?2 *1/4",
5525 : "?4 *1/4",
5526 : "?4 *cos(pi*(?10 )/10800000)",
5527 : "?2 *sin(pi*(?10 )/10800000)",
5528 : "sqrt(?15 *?15 +?16 *?16 +0*0)",
5529 : "?2 *?4 /?17 ",
5530 : "?18 *cos(pi*(?10 )/10800000)",
5531 : "?18 *sin(pi*(?10 )/10800000)",
5532 : "logwidth/2",
5533 : "?21 +?19 -0",
5534 : "?4 +?20 -0",
5535 : "?14 *cos(pi*(?8 )/10800000)",
5536 : "?13 *sin(pi*(?8 )/10800000)",
5537 : "sqrt(?24 *?24 +?25 *?25 +0*0)",
5538 : "?13 *?14 /?26 ",
5539 : "?27 *cos(pi*(?8 )/10800000)",
5540 : "?27 *sin(pi*(?8 )/10800000)",
5541 : "?21 +?28 -0",
5542 : "logheight+0-?14 ",
5543 : "?31 +?29 -0",
5544 : "?2 +0-?3 ",
5545 : "10800000*2/1",
5546 : "logwidth",
5547 : "logheight",
5548 : "(?10 )/60000.0",
5549 : "(?11 )/60000.0",
5550 : "(?8 )/60000.0",
5551 : "(?12 )/60000.0",
5552 : "(10800000)/60000.0",
5553 : "(-21600000)/60000.0"
5554 : };
5555 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5556 : }
5557 : {
5558 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5559 : }
5560 : {
5561 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5562 : }
5563 : {
5564 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5565 : }
5566 : {
5567 0 : Sequence< PropertyValue > aPropSequence (3);
5568 : {
5569 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5570 : static const CustomShapeProvider::ParameterPairData aData[] = {
5571 : {
5572 : EnhancedCustomShapeParameterType::EQUATION,
5573 : EnhancedCustomShapeParameterType::EQUATION,
5574 : 22, 23
5575 : },
5576 : {
5577 : EnhancedCustomShapeParameterType::EQUATION,
5578 : EnhancedCustomShapeParameterType::EQUATION,
5579 : 2, 4
5580 : },
5581 : {
5582 : EnhancedCustomShapeParameterType::EQUATION,
5583 : EnhancedCustomShapeParameterType::EQUATION,
5584 : 37, 38
5585 : },
5586 : {
5587 : EnhancedCustomShapeParameterType::EQUATION,
5588 : EnhancedCustomShapeParameterType::EQUATION,
5589 : 30, 32
5590 : },
5591 : {
5592 : EnhancedCustomShapeParameterType::EQUATION,
5593 : EnhancedCustomShapeParameterType::EQUATION,
5594 : 13, 14
5595 : },
5596 : {
5597 : EnhancedCustomShapeParameterType::EQUATION,
5598 : EnhancedCustomShapeParameterType::EQUATION,
5599 : 39, 40
5600 : },
5601 : {
5602 : EnhancedCustomShapeParameterType::EQUATION,
5603 : EnhancedCustomShapeParameterType::EQUATION,
5604 : 33, 4
5605 : },
5606 : {
5607 : EnhancedCustomShapeParameterType::EQUATION,
5608 : EnhancedCustomShapeParameterType::EQUATION,
5609 : 3, 5
5610 : },
5611 : {
5612 : EnhancedCustomShapeParameterType::EQUATION,
5613 : EnhancedCustomShapeParameterType::EQUATION,
5614 : 41, 42
5615 : }
5616 : };
5617 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5618 : }
5619 : {
5620 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5621 : static const sal_uInt16 nValues[] = {
5622 : // Command, Count
5623 : 1,1,
5624 : 17,1,
5625 : 2,1,
5626 : 17,1,
5627 : 4,0,
5628 : 1,1,
5629 : 17,1,
5630 : 4,0,
5631 : 5,0
5632 : };
5633 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5634 : }
5635 : {
5636 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5637 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5638 : {
5639 0 : EnhancedCustomShapeTextFrame aTextFrame;
5640 : {
5641 : static const CustomShapeProvider::ParameterPairData aData =
5642 : {
5643 : EnhancedCustomShapeParameterType::NORMAL,
5644 : EnhancedCustomShapeParameterType::NORMAL,
5645 : 0, 0
5646 : };
5647 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5648 : }
5649 : {
5650 : static const CustomShapeProvider::ParameterPairData aData =
5651 : {
5652 : EnhancedCustomShapeParameterType::EQUATION,
5653 : EnhancedCustomShapeParameterType::EQUATION,
5654 : 35, 36
5655 : };
5656 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5657 : }
5658 0 : aTextFrameSeq [0] = aTextFrame;
5659 : }
5660 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5661 : }
5662 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5663 : }
5664 : {
5665 0 : awt::Rectangle aRectangle;
5666 0 : aRectangle.X = 0;
5667 0 : aRectangle.Y = 0;
5668 0 : aRectangle.Width = 0;
5669 0 : aRectangle.Height = 0;
5670 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5671 : }
5672 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-funnel");
5673 :
5674 0 : return aPropertyMap;
5675 : }
5676 : };
5677 3 : class ShapeCchartStar : public CustomShapeProvider
5678 : {
5679 0 : virtual PropertyMap getProperties()
5680 : {
5681 0 : PropertyMap aPropertyMap;
5682 :
5683 : {
5684 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5685 : }
5686 : {
5687 0 : aPropertyMap [PROP_Equations] <<= Sequence< OUString >(0);
5688 : }
5689 : {
5690 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5691 : }
5692 : {
5693 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5694 : }
5695 : {
5696 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5697 : }
5698 : {
5699 0 : Sequence< PropertyValue > aPropSequence (3);
5700 : {
5701 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5702 : static const CustomShapeProvider::ParameterPairData aData[] = {
5703 : {
5704 : EnhancedCustomShapeParameterType::NORMAL,
5705 : EnhancedCustomShapeParameterType::NORMAL,
5706 : 0, 0
5707 : },
5708 : {
5709 : EnhancedCustomShapeParameterType::NORMAL,
5710 : EnhancedCustomShapeParameterType::NORMAL,
5711 : 10, 10
5712 : },
5713 : {
5714 : EnhancedCustomShapeParameterType::NORMAL,
5715 : EnhancedCustomShapeParameterType::NORMAL,
5716 : 0, 10
5717 : },
5718 : {
5719 : EnhancedCustomShapeParameterType::NORMAL,
5720 : EnhancedCustomShapeParameterType::NORMAL,
5721 : 10, 0
5722 : },
5723 : {
5724 : EnhancedCustomShapeParameterType::NORMAL,
5725 : EnhancedCustomShapeParameterType::NORMAL,
5726 : 5, 0
5727 : },
5728 : {
5729 : EnhancedCustomShapeParameterType::NORMAL,
5730 : EnhancedCustomShapeParameterType::NORMAL,
5731 : 5, 10
5732 : },
5733 : {
5734 : EnhancedCustomShapeParameterType::NORMAL,
5735 : EnhancedCustomShapeParameterType::NORMAL,
5736 : 0, 0
5737 : },
5738 : {
5739 : EnhancedCustomShapeParameterType::NORMAL,
5740 : EnhancedCustomShapeParameterType::NORMAL,
5741 : 0, 10
5742 : },
5743 : {
5744 : EnhancedCustomShapeParameterType::NORMAL,
5745 : EnhancedCustomShapeParameterType::NORMAL,
5746 : 10, 10
5747 : },
5748 : {
5749 : EnhancedCustomShapeParameterType::NORMAL,
5750 : EnhancedCustomShapeParameterType::NORMAL,
5751 : 10, 0
5752 : }
5753 : };
5754 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5755 : }
5756 : {
5757 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5758 : static const sal_uInt16 nValues[] = {
5759 : // Command, Count
5760 : 1,1,
5761 : 2,1,
5762 : 1,1,
5763 : 2,1,
5764 : 1,1,
5765 : 2,1,
5766 : 6,0,
5767 : 5,0,
5768 : 1,1,
5769 : 2,3,
5770 : 4,0,
5771 : 7,0,
5772 : 5,0
5773 : };
5774 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5775 : }
5776 : {
5777 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
5778 0 : Sequence< awt::Size > aSizeSequence (2);
5779 : {
5780 0 : awt::Size aSize;
5781 0 : aSize.Width = 10;
5782 0 : aSize.Height = 10;
5783 0 : aSizeSequence [0] = aSize;
5784 : }
5785 : {
5786 0 : awt::Size aSize;
5787 0 : aSize.Width = 10;
5788 0 : aSize.Height = 10;
5789 0 : aSizeSequence [1] = aSize;
5790 : }
5791 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
5792 : }
5793 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5794 : }
5795 : {
5796 0 : awt::Rectangle aRectangle;
5797 0 : aRectangle.X = 0;
5798 0 : aRectangle.Y = 0;
5799 0 : aRectangle.Width = 0;
5800 0 : aRectangle.Height = 0;
5801 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5802 : }
5803 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chartStar");
5804 :
5805 0 : return aPropertyMap;
5806 : }
5807 : };
5808 3 : class ShapeCaccentBorderCallout1 : public CustomShapeProvider
5809 : {
5810 0 : virtual PropertyMap getProperties()
5811 : {
5812 0 : PropertyMap aPropertyMap;
5813 :
5814 : {
5815 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
5816 : {
5817 0 : Any aAny ((sal_Int32) 18750);
5818 0 : aAdjSequence [0].Value = aAny;
5819 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
5820 : }
5821 : {
5822 0 : Any aAny ((sal_Int32) -8333);
5823 0 : aAdjSequence [1].Value = aAny;
5824 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
5825 : }
5826 : {
5827 0 : Any aAny ((sal_Int32) 112500);
5828 0 : aAdjSequence [2].Value = aAny;
5829 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
5830 : }
5831 : {
5832 0 : Any aAny ((sal_Int32) -38333);
5833 0 : aAdjSequence [3].Value = aAny;
5834 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
5835 : }
5836 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5837 : }
5838 : {
5839 : static const char *aStrings[] = {
5840 : "logheight*$0 /100000",
5841 : "logwidth*$1 /100000",
5842 : "logheight*$2 /100000",
5843 : "logwidth*$3 /100000",
5844 : "logwidth",
5845 : "logheight/2",
5846 : "logwidth/2",
5847 : "logheight"
5848 : };
5849 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5850 : }
5851 : {
5852 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
5853 : {
5854 0 : Sequence< PropertyValue > aPropSequence (7);
5855 : {
5856 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5857 : static const CustomShapeProvider::ParameterPairData aData =
5858 : {
5859 : EnhancedCustomShapeParameterType::EQUATION,
5860 : EnhancedCustomShapeParameterType::EQUATION,
5861 : 1, 0
5862 : };
5863 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5864 : }
5865 : {
5866 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
5867 0 : EnhancedCustomShapeParameter aParameter;
5868 0 : Any aAny ((sal_Int32) 2147483647);
5869 0 : aParameter.Value = aAny;
5870 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5871 0 : aPropSequence [1].Value = makeAny (aParameter);
5872 : }
5873 : {
5874 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
5875 0 : EnhancedCustomShapeParameter aParameter;
5876 0 : Any aAny ((sal_Int32) -2147483647);
5877 0 : aParameter.Value = aAny;
5878 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5879 0 : aPropSequence [2].Value = makeAny (aParameter);
5880 : }
5881 : {
5882 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
5883 0 : EnhancedCustomShapeParameter aParameter;
5884 0 : Any aAny ((sal_Int32) 2147483647);
5885 0 : aParameter.Value = aAny;
5886 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5887 0 : aPropSequence [3].Value = makeAny (aParameter);
5888 : }
5889 : {
5890 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
5891 0 : EnhancedCustomShapeParameter aParameter;
5892 0 : Any aAny ((sal_Int32) -2147483647);
5893 0 : aParameter.Value = aAny;
5894 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5895 0 : aPropSequence [4].Value = makeAny (aParameter);
5896 : }
5897 : {
5898 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
5899 0 : Any aAny ((sal_Int32) 1);
5900 0 : aPropSequence [5].Value = makeAny (aAny);
5901 : }
5902 : {
5903 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
5904 0 : Any aAny ((sal_Int32) 0);
5905 0 : aPropSequence [6].Value = makeAny (aAny);
5906 : }
5907 0 : aPropSequenceSequence [0] = aPropSequence;
5908 : }
5909 : {
5910 0 : Sequence< PropertyValue > aPropSequence (7);
5911 : {
5912 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5913 : static const CustomShapeProvider::ParameterPairData aData =
5914 : {
5915 : EnhancedCustomShapeParameterType::EQUATION,
5916 : EnhancedCustomShapeParameterType::EQUATION,
5917 : 3, 2
5918 : };
5919 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5920 : }
5921 : {
5922 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
5923 0 : EnhancedCustomShapeParameter aParameter;
5924 0 : Any aAny ((sal_Int32) 2147483647);
5925 0 : aParameter.Value = aAny;
5926 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5927 0 : aPropSequence [1].Value = makeAny (aParameter);
5928 : }
5929 : {
5930 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
5931 0 : EnhancedCustomShapeParameter aParameter;
5932 0 : Any aAny ((sal_Int32) -2147483647);
5933 0 : aParameter.Value = aAny;
5934 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5935 0 : aPropSequence [2].Value = makeAny (aParameter);
5936 : }
5937 : {
5938 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
5939 0 : EnhancedCustomShapeParameter aParameter;
5940 0 : Any aAny ((sal_Int32) 2147483647);
5941 0 : aParameter.Value = aAny;
5942 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5943 0 : aPropSequence [3].Value = makeAny (aParameter);
5944 : }
5945 : {
5946 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
5947 0 : EnhancedCustomShapeParameter aParameter;
5948 0 : Any aAny ((sal_Int32) -2147483647);
5949 0 : aParameter.Value = aAny;
5950 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5951 0 : aPropSequence [4].Value = makeAny (aParameter);
5952 : }
5953 : {
5954 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
5955 0 : Any aAny ((sal_Int32) 3);
5956 0 : aPropSequence [5].Value = makeAny (aAny);
5957 : }
5958 : {
5959 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
5960 0 : Any aAny ((sal_Int32) 2);
5961 0 : aPropSequence [6].Value = makeAny (aAny);
5962 : }
5963 0 : aPropSequenceSequence [1] = aPropSequence;
5964 : }
5965 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5966 : }
5967 : {
5968 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5969 : }
5970 : {
5971 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5972 : }
5973 : {
5974 0 : Sequence< PropertyValue > aPropSequence (3);
5975 : {
5976 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5977 : static const CustomShapeProvider::ParameterPairData aData[] = {
5978 : {
5979 : EnhancedCustomShapeParameterType::NORMAL,
5980 : EnhancedCustomShapeParameterType::NORMAL,
5981 : 0, 0
5982 : },
5983 : {
5984 : EnhancedCustomShapeParameterType::EQUATION,
5985 : EnhancedCustomShapeParameterType::NORMAL,
5986 : 4, 0
5987 : },
5988 : {
5989 : EnhancedCustomShapeParameterType::EQUATION,
5990 : EnhancedCustomShapeParameterType::EQUATION,
5991 : 4, 7
5992 : },
5993 : {
5994 : EnhancedCustomShapeParameterType::NORMAL,
5995 : EnhancedCustomShapeParameterType::EQUATION,
5996 : 0, 7
5997 : },
5998 : {
5999 : EnhancedCustomShapeParameterType::EQUATION,
6000 : EnhancedCustomShapeParameterType::NORMAL,
6001 : 1, 0
6002 : },
6003 : {
6004 : EnhancedCustomShapeParameterType::EQUATION,
6005 : EnhancedCustomShapeParameterType::EQUATION,
6006 : 1, 7
6007 : },
6008 : {
6009 : EnhancedCustomShapeParameterType::EQUATION,
6010 : EnhancedCustomShapeParameterType::EQUATION,
6011 : 1, 0
6012 : },
6013 : {
6014 : EnhancedCustomShapeParameterType::EQUATION,
6015 : EnhancedCustomShapeParameterType::EQUATION,
6016 : 3, 2
6017 : }
6018 : };
6019 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6020 : }
6021 : {
6022 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6023 : static const sal_uInt16 nValues[] = {
6024 : // Command, Count
6025 : 1,1,
6026 : 2,3,
6027 : 4,0,
6028 : 5,0,
6029 : 1,1,
6030 : 2,1,
6031 : 6,0,
6032 : 5,0,
6033 : 1,1,
6034 : 2,1,
6035 : 6,0,
6036 : 5,0
6037 : };
6038 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6039 : }
6040 : {
6041 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6042 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6043 : {
6044 0 : EnhancedCustomShapeTextFrame aTextFrame;
6045 : {
6046 : static const CustomShapeProvider::ParameterPairData aData =
6047 : {
6048 : EnhancedCustomShapeParameterType::NORMAL,
6049 : EnhancedCustomShapeParameterType::NORMAL,
6050 : 0, 0
6051 : };
6052 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6053 : }
6054 : {
6055 : static const CustomShapeProvider::ParameterPairData aData =
6056 : {
6057 : EnhancedCustomShapeParameterType::EQUATION,
6058 : EnhancedCustomShapeParameterType::EQUATION,
6059 : 4, 7
6060 : };
6061 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6062 : }
6063 0 : aTextFrameSeq [0] = aTextFrame;
6064 : }
6065 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6066 : }
6067 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6068 : }
6069 : {
6070 0 : awt::Rectangle aRectangle;
6071 0 : aRectangle.X = 0;
6072 0 : aRectangle.Y = 0;
6073 0 : aRectangle.Width = 0;
6074 0 : aRectangle.Height = 0;
6075 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6076 : }
6077 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentBorderCallout1");
6078 :
6079 0 : return aPropertyMap;
6080 : }
6081 : };
6082 3 : class ShapeCnotchedRightArrow : public CustomShapeProvider
6083 : {
6084 0 : virtual PropertyMap getProperties()
6085 : {
6086 0 : PropertyMap aPropertyMap;
6087 :
6088 : {
6089 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6090 : {
6091 0 : Any aAny ((sal_Int32) 50000);
6092 0 : aAdjSequence [0].Value = aAny;
6093 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
6094 : }
6095 : {
6096 0 : Any aAny ((sal_Int32) 50000);
6097 0 : aAdjSequence [1].Value = aAny;
6098 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
6099 : }
6100 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6101 : }
6102 : {
6103 : static const char *aStrings[] = {
6104 : "min(logwidth,logheight)",
6105 : "100000*logwidth/?0 ",
6106 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
6107 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
6108 : "?0 *?3 /100000",
6109 : "logwidth+0-?4 ",
6110 : "logheight*?2 /200000",
6111 : "logheight/2",
6112 : "?7 +0-?6 ",
6113 : "?7 +?6 -0",
6114 : "logheight/2",
6115 : "?6 *?4 /?10 ",
6116 : "logwidth+0-?11 ",
6117 : "logwidth",
6118 : "logheight"
6119 : };
6120 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6121 : }
6122 : {
6123 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6124 : {
6125 0 : Sequence< PropertyValue > aPropSequence (4);
6126 : {
6127 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6128 : static const CustomShapeProvider::ParameterPairData aData =
6129 : {
6130 : EnhancedCustomShapeParameterType::EQUATION,
6131 : EnhancedCustomShapeParameterType::EQUATION,
6132 : 13, 8
6133 : };
6134 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6135 : }
6136 : {
6137 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6138 0 : EnhancedCustomShapeParameter aParameter;
6139 0 : Any aAny ((sal_Int32) 100000);
6140 0 : aParameter.Value = aAny;
6141 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6142 0 : aPropSequence [1].Value = makeAny (aParameter);
6143 : }
6144 : {
6145 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6146 0 : EnhancedCustomShapeParameter aParameter;
6147 0 : Any aAny ((sal_Int32) 0);
6148 0 : aParameter.Value = aAny;
6149 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6150 0 : aPropSequence [2].Value = makeAny (aParameter);
6151 : }
6152 : {
6153 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6154 0 : Any aAny ((sal_Int32) 0);
6155 0 : aPropSequence [3].Value = makeAny (aAny);
6156 : }
6157 0 : aPropSequenceSequence [0] = aPropSequence;
6158 : }
6159 : {
6160 0 : Sequence< PropertyValue > aPropSequence (4);
6161 : {
6162 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6163 : static const CustomShapeProvider::ParameterPairData aData =
6164 : {
6165 : EnhancedCustomShapeParameterType::EQUATION,
6166 : EnhancedCustomShapeParameterType::NORMAL,
6167 : 5, 0
6168 : };
6169 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6170 : }
6171 : {
6172 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6173 0 : EnhancedCustomShapeParameter aParameter;
6174 0 : Any aAny ((sal_Int32) 1);
6175 0 : aParameter.Value = aAny;
6176 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6177 0 : aPropSequence [1].Value = makeAny (aParameter);
6178 : }
6179 : {
6180 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6181 0 : EnhancedCustomShapeParameter aParameter;
6182 0 : Any aAny ((sal_Int32) 0);
6183 0 : aParameter.Value = aAny;
6184 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6185 0 : aPropSequence [2].Value = makeAny (aParameter);
6186 : }
6187 : {
6188 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6189 0 : Any aAny ((sal_Int32) 1);
6190 0 : aPropSequence [3].Value = makeAny (aAny);
6191 : }
6192 0 : aPropSequenceSequence [1] = aPropSequence;
6193 : }
6194 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6195 : }
6196 : {
6197 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6198 : }
6199 : {
6200 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6201 : }
6202 : {
6203 0 : Sequence< PropertyValue > aPropSequence (3);
6204 : {
6205 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6206 : static const CustomShapeProvider::ParameterPairData aData[] = {
6207 : {
6208 : EnhancedCustomShapeParameterType::NORMAL,
6209 : EnhancedCustomShapeParameterType::EQUATION,
6210 : 0, 8
6211 : },
6212 : {
6213 : EnhancedCustomShapeParameterType::EQUATION,
6214 : EnhancedCustomShapeParameterType::EQUATION,
6215 : 5, 8
6216 : },
6217 : {
6218 : EnhancedCustomShapeParameterType::EQUATION,
6219 : EnhancedCustomShapeParameterType::NORMAL,
6220 : 5, 0
6221 : },
6222 : {
6223 : EnhancedCustomShapeParameterType::EQUATION,
6224 : EnhancedCustomShapeParameterType::EQUATION,
6225 : 13, 7
6226 : },
6227 : {
6228 : EnhancedCustomShapeParameterType::EQUATION,
6229 : EnhancedCustomShapeParameterType::EQUATION,
6230 : 5, 14
6231 : },
6232 : {
6233 : EnhancedCustomShapeParameterType::EQUATION,
6234 : EnhancedCustomShapeParameterType::EQUATION,
6235 : 5, 9
6236 : },
6237 : {
6238 : EnhancedCustomShapeParameterType::NORMAL,
6239 : EnhancedCustomShapeParameterType::EQUATION,
6240 : 0, 9
6241 : },
6242 : {
6243 : EnhancedCustomShapeParameterType::EQUATION,
6244 : EnhancedCustomShapeParameterType::EQUATION,
6245 : 11, 7
6246 : }
6247 : };
6248 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6249 : }
6250 : {
6251 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6252 : static const sal_uInt16 nValues[] = {
6253 : // Command, Count
6254 : 1,1,
6255 : 2,7,
6256 : 4,0,
6257 : 5,0
6258 : };
6259 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6260 : }
6261 : {
6262 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6263 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6264 : {
6265 0 : EnhancedCustomShapeTextFrame aTextFrame;
6266 : {
6267 : static const CustomShapeProvider::ParameterPairData aData =
6268 : {
6269 : EnhancedCustomShapeParameterType::EQUATION,
6270 : EnhancedCustomShapeParameterType::EQUATION,
6271 : 11, 8
6272 : };
6273 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6274 : }
6275 : {
6276 : static const CustomShapeProvider::ParameterPairData aData =
6277 : {
6278 : EnhancedCustomShapeParameterType::EQUATION,
6279 : EnhancedCustomShapeParameterType::EQUATION,
6280 : 12, 9
6281 : };
6282 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6283 : }
6284 0 : aTextFrameSeq [0] = aTextFrame;
6285 : }
6286 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6287 : }
6288 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6289 : }
6290 : {
6291 0 : awt::Rectangle aRectangle;
6292 0 : aRectangle.X = 0;
6293 0 : aRectangle.Y = 0;
6294 0 : aRectangle.Width = 0;
6295 0 : aRectangle.Height = 0;
6296 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6297 : }
6298 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-notchedRightArrow");
6299 :
6300 0 : return aPropertyMap;
6301 : }
6302 : };
6303 3 : class ShapeCrightBracket : public CustomShapeProvider
6304 : {
6305 0 : virtual PropertyMap getProperties()
6306 : {
6307 0 : PropertyMap aPropertyMap;
6308 :
6309 : {
6310 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6311 : {
6312 0 : Any aAny ((sal_Int32) 8333);
6313 0 : aAdjSequence [0].Value = aAny;
6314 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
6315 : }
6316 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6317 : }
6318 : {
6319 : static const char *aStrings[] = {
6320 : "min(logwidth,logheight)",
6321 : "50000*logheight/?0 ",
6322 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
6323 : "?0 *?2 /100000",
6324 : "logheight+0-?3 ",
6325 : "logwidth*cos(pi*(2700000)/10800000)",
6326 : "?3 *sin(pi*(2700000)/10800000)",
6327 : "0+?5 -0",
6328 : "?3 +0-?6 ",
6329 : "logheight+?6 -?3 ",
6330 : "logwidth",
6331 : "logheight",
6332 : "logheight/2",
6333 : "logwidth",
6334 : "(16200000)/60000.0",
6335 : "(5400000)/60000.0",
6336 : "(0)/60000.0",
6337 : "(5400000)/60000.0",
6338 : "(16200000)/60000.0",
6339 : "(5400000)/60000.0",
6340 : "(0)/60000.0",
6341 : "(5400000)/60000.0"
6342 : };
6343 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6344 : }
6345 : {
6346 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
6347 : {
6348 0 : Sequence< PropertyValue > aPropSequence (4);
6349 : {
6350 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6351 : static const CustomShapeProvider::ParameterPairData aData =
6352 : {
6353 : EnhancedCustomShapeParameterType::EQUATION,
6354 : EnhancedCustomShapeParameterType::EQUATION,
6355 : 10, 3
6356 : };
6357 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6358 : }
6359 : {
6360 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6361 0 : EnhancedCustomShapeParameter aParameter;
6362 0 : Any aAny ((sal_Int32) 1);
6363 0 : aParameter.Value = aAny;
6364 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6365 0 : aPropSequence [1].Value = makeAny (aParameter);
6366 : }
6367 : {
6368 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6369 0 : EnhancedCustomShapeParameter aParameter;
6370 0 : Any aAny ((sal_Int32) 0);
6371 0 : aParameter.Value = aAny;
6372 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6373 0 : aPropSequence [2].Value = makeAny (aParameter);
6374 : }
6375 : {
6376 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6377 0 : Any aAny ((sal_Int32) 0);
6378 0 : aPropSequence [3].Value = makeAny (aAny);
6379 : }
6380 0 : aPropSequenceSequence [0] = aPropSequence;
6381 : }
6382 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6383 : }
6384 : {
6385 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6386 : }
6387 : {
6388 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6389 : }
6390 : {
6391 0 : Sequence< PropertyValue > aPropSequence (3);
6392 : {
6393 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6394 : static const CustomShapeProvider::ParameterPairData aData[] = {
6395 : {
6396 : EnhancedCustomShapeParameterType::NORMAL,
6397 : EnhancedCustomShapeParameterType::NORMAL,
6398 : 0, 0
6399 : },
6400 : {
6401 : EnhancedCustomShapeParameterType::EQUATION,
6402 : EnhancedCustomShapeParameterType::EQUATION,
6403 : 13, 3
6404 : },
6405 : {
6406 : EnhancedCustomShapeParameterType::EQUATION,
6407 : EnhancedCustomShapeParameterType::EQUATION,
6408 : 14, 15
6409 : },
6410 : {
6411 : EnhancedCustomShapeParameterType::EQUATION,
6412 : EnhancedCustomShapeParameterType::EQUATION,
6413 : 10, 4
6414 : },
6415 : {
6416 : EnhancedCustomShapeParameterType::EQUATION,
6417 : EnhancedCustomShapeParameterType::EQUATION,
6418 : 13, 3
6419 : },
6420 : {
6421 : EnhancedCustomShapeParameterType::EQUATION,
6422 : EnhancedCustomShapeParameterType::EQUATION,
6423 : 16, 17
6424 : },
6425 : {
6426 : EnhancedCustomShapeParameterType::NORMAL,
6427 : EnhancedCustomShapeParameterType::NORMAL,
6428 : 0, 0
6429 : },
6430 : {
6431 : EnhancedCustomShapeParameterType::EQUATION,
6432 : EnhancedCustomShapeParameterType::EQUATION,
6433 : 13, 3
6434 : },
6435 : {
6436 : EnhancedCustomShapeParameterType::EQUATION,
6437 : EnhancedCustomShapeParameterType::EQUATION,
6438 : 18, 19
6439 : },
6440 : {
6441 : EnhancedCustomShapeParameterType::EQUATION,
6442 : EnhancedCustomShapeParameterType::EQUATION,
6443 : 10, 4
6444 : },
6445 : {
6446 : EnhancedCustomShapeParameterType::EQUATION,
6447 : EnhancedCustomShapeParameterType::EQUATION,
6448 : 13, 3
6449 : },
6450 : {
6451 : EnhancedCustomShapeParameterType::EQUATION,
6452 : EnhancedCustomShapeParameterType::EQUATION,
6453 : 20, 21
6454 : }
6455 : };
6456 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6457 : }
6458 : {
6459 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6460 : static const sal_uInt16 nValues[] = {
6461 : // Command, Count
6462 : 1,1,
6463 : 17,1,
6464 : 2,1,
6465 : 17,1,
6466 : 4,0,
6467 : 7,0,
6468 : 5,0,
6469 : 1,1,
6470 : 17,1,
6471 : 2,1,
6472 : 17,1,
6473 : 6,0,
6474 : 5,0
6475 : };
6476 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6477 : }
6478 : {
6479 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6480 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6481 : {
6482 0 : EnhancedCustomShapeTextFrame aTextFrame;
6483 : {
6484 : static const CustomShapeProvider::ParameterPairData aData =
6485 : {
6486 : EnhancedCustomShapeParameterType::NORMAL,
6487 : EnhancedCustomShapeParameterType::EQUATION,
6488 : 0, 8
6489 : };
6490 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6491 : }
6492 : {
6493 : static const CustomShapeProvider::ParameterPairData aData =
6494 : {
6495 : EnhancedCustomShapeParameterType::EQUATION,
6496 : EnhancedCustomShapeParameterType::EQUATION,
6497 : 7, 9
6498 : };
6499 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6500 : }
6501 0 : aTextFrameSeq [0] = aTextFrame;
6502 : }
6503 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6504 : }
6505 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6506 : }
6507 : {
6508 0 : awt::Rectangle aRectangle;
6509 0 : aRectangle.X = 0;
6510 0 : aRectangle.Y = 0;
6511 0 : aRectangle.Width = 0;
6512 0 : aRectangle.Height = 0;
6513 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6514 : }
6515 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightBracket");
6516 :
6517 0 : return aPropertyMap;
6518 : }
6519 : };
6520 3 : class ShapeCflowChartOffpageConnector : public CustomShapeProvider
6521 : {
6522 0 : virtual PropertyMap getProperties()
6523 : {
6524 0 : PropertyMap aPropertyMap;
6525 :
6526 : {
6527 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
6528 : }
6529 : {
6530 : static const char *aStrings[] = {
6531 : "logheight*4/5",
6532 : "logwidth/2",
6533 : "logheight/2",
6534 : "logheight",
6535 : "logwidth"
6536 : };
6537 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6538 : }
6539 : {
6540 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
6541 : }
6542 : {
6543 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6544 : }
6545 : {
6546 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6547 : }
6548 : {
6549 0 : Sequence< PropertyValue > aPropSequence (4);
6550 : {
6551 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6552 : static const CustomShapeProvider::ParameterPairData aData[] = {
6553 : {
6554 : EnhancedCustomShapeParameterType::NORMAL,
6555 : EnhancedCustomShapeParameterType::NORMAL,
6556 : 0, 0
6557 : },
6558 : {
6559 : EnhancedCustomShapeParameterType::NORMAL,
6560 : EnhancedCustomShapeParameterType::NORMAL,
6561 : 10, 0
6562 : },
6563 : {
6564 : EnhancedCustomShapeParameterType::NORMAL,
6565 : EnhancedCustomShapeParameterType::NORMAL,
6566 : 10, 8
6567 : },
6568 : {
6569 : EnhancedCustomShapeParameterType::NORMAL,
6570 : EnhancedCustomShapeParameterType::NORMAL,
6571 : 5, 10
6572 : },
6573 : {
6574 : EnhancedCustomShapeParameterType::NORMAL,
6575 : EnhancedCustomShapeParameterType::NORMAL,
6576 : 0, 8
6577 : }
6578 : };
6579 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6580 : }
6581 : {
6582 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6583 : static const sal_uInt16 nValues[] = {
6584 : // Command, Count
6585 : 1,1,
6586 : 2,4,
6587 : 4,0,
6588 : 5,0
6589 : };
6590 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6591 : }
6592 : {
6593 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
6594 0 : Sequence< awt::Size > aSizeSequence (1);
6595 : {
6596 0 : awt::Size aSize;
6597 0 : aSize.Width = 10;
6598 0 : aSize.Height = 10;
6599 0 : aSizeSequence [0] = aSize;
6600 : }
6601 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
6602 : }
6603 : {
6604 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
6605 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6606 : {
6607 0 : EnhancedCustomShapeTextFrame aTextFrame;
6608 : {
6609 : static const CustomShapeProvider::ParameterPairData aData =
6610 : {
6611 : EnhancedCustomShapeParameterType::NORMAL,
6612 : EnhancedCustomShapeParameterType::NORMAL,
6613 : 0, 0
6614 : };
6615 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6616 : }
6617 : {
6618 : static const CustomShapeProvider::ParameterPairData aData =
6619 : {
6620 : EnhancedCustomShapeParameterType::EQUATION,
6621 : EnhancedCustomShapeParameterType::EQUATION,
6622 : 4, 0
6623 : };
6624 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6625 : }
6626 0 : aTextFrameSeq [0] = aTextFrame;
6627 : }
6628 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
6629 : }
6630 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6631 : }
6632 : {
6633 0 : awt::Rectangle aRectangle;
6634 0 : aRectangle.X = 0;
6635 0 : aRectangle.Y = 0;
6636 0 : aRectangle.Width = 0;
6637 0 : aRectangle.Height = 0;
6638 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6639 : }
6640 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOffpageConnector");
6641 :
6642 0 : return aPropertyMap;
6643 : }
6644 : };
6645 3 : class ShapeCleftRightArrow : public CustomShapeProvider
6646 : {
6647 0 : virtual PropertyMap getProperties()
6648 : {
6649 0 : PropertyMap aPropertyMap;
6650 :
6651 : {
6652 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6653 : {
6654 0 : Any aAny ((sal_Int32) 50000);
6655 0 : aAdjSequence [0].Value = aAny;
6656 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
6657 : }
6658 : {
6659 0 : Any aAny ((sal_Int32) 50000);
6660 0 : aAdjSequence [1].Value = aAny;
6661 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
6662 : }
6663 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6664 : }
6665 : {
6666 : static const char *aStrings[] = {
6667 : "min(logwidth,logheight)",
6668 : "50000*logwidth/?0 ",
6669 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
6670 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
6671 : "?0 *?3 /100000",
6672 : "logwidth+0-?4 ",
6673 : "logheight*?2 /200000",
6674 : "logheight/2",
6675 : "?7 +0-?6 ",
6676 : "?7 +?6 -0",
6677 : "logheight/2",
6678 : "?8 *?4 /?10 ",
6679 : "?4 +0-?11 ",
6680 : "?5 +?11 -0",
6681 : "logwidth",
6682 : "logheight"
6683 : };
6684 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6685 : }
6686 : {
6687 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6688 : {
6689 0 : Sequence< PropertyValue > aPropSequence (4);
6690 : {
6691 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6692 : static const CustomShapeProvider::ParameterPairData aData =
6693 : {
6694 : EnhancedCustomShapeParameterType::EQUATION,
6695 : EnhancedCustomShapeParameterType::EQUATION,
6696 : 5, 8
6697 : };
6698 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6699 : }
6700 : {
6701 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6702 0 : EnhancedCustomShapeParameter aParameter;
6703 0 : Any aAny ((sal_Int32) 100000);
6704 0 : aParameter.Value = aAny;
6705 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6706 0 : aPropSequence [1].Value = makeAny (aParameter);
6707 : }
6708 : {
6709 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6710 0 : EnhancedCustomShapeParameter aParameter;
6711 0 : Any aAny ((sal_Int32) 0);
6712 0 : aParameter.Value = aAny;
6713 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6714 0 : aPropSequence [2].Value = makeAny (aParameter);
6715 : }
6716 : {
6717 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6718 0 : Any aAny ((sal_Int32) 0);
6719 0 : aPropSequence [3].Value = makeAny (aAny);
6720 : }
6721 0 : aPropSequenceSequence [0] = aPropSequence;
6722 : }
6723 : {
6724 0 : Sequence< PropertyValue > aPropSequence (4);
6725 : {
6726 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6727 : static const CustomShapeProvider::ParameterPairData aData =
6728 : {
6729 : EnhancedCustomShapeParameterType::EQUATION,
6730 : EnhancedCustomShapeParameterType::NORMAL,
6731 : 4, 0
6732 : };
6733 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6734 : }
6735 : {
6736 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6737 0 : EnhancedCustomShapeParameter aParameter;
6738 0 : Any aAny ((sal_Int32) 1);
6739 0 : aParameter.Value = aAny;
6740 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6741 0 : aPropSequence [1].Value = makeAny (aParameter);
6742 : }
6743 : {
6744 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6745 0 : EnhancedCustomShapeParameter aParameter;
6746 0 : Any aAny ((sal_Int32) 0);
6747 0 : aParameter.Value = aAny;
6748 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6749 0 : aPropSequence [2].Value = makeAny (aParameter);
6750 : }
6751 : {
6752 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6753 0 : Any aAny ((sal_Int32) 1);
6754 0 : aPropSequence [3].Value = makeAny (aAny);
6755 : }
6756 0 : aPropSequenceSequence [1] = aPropSequence;
6757 : }
6758 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6759 : }
6760 : {
6761 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6762 : }
6763 : {
6764 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6765 : }
6766 : {
6767 0 : Sequence< PropertyValue > aPropSequence (3);
6768 : {
6769 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6770 : static const CustomShapeProvider::ParameterPairData aData[] = {
6771 : {
6772 : EnhancedCustomShapeParameterType::NORMAL,
6773 : EnhancedCustomShapeParameterType::EQUATION,
6774 : 0, 7
6775 : },
6776 : {
6777 : EnhancedCustomShapeParameterType::EQUATION,
6778 : EnhancedCustomShapeParameterType::NORMAL,
6779 : 4, 0
6780 : },
6781 : {
6782 : EnhancedCustomShapeParameterType::EQUATION,
6783 : EnhancedCustomShapeParameterType::EQUATION,
6784 : 4, 8
6785 : },
6786 : {
6787 : EnhancedCustomShapeParameterType::EQUATION,
6788 : EnhancedCustomShapeParameterType::EQUATION,
6789 : 5, 8
6790 : },
6791 : {
6792 : EnhancedCustomShapeParameterType::EQUATION,
6793 : EnhancedCustomShapeParameterType::NORMAL,
6794 : 5, 0
6795 : },
6796 : {
6797 : EnhancedCustomShapeParameterType::EQUATION,
6798 : EnhancedCustomShapeParameterType::EQUATION,
6799 : 14, 7
6800 : },
6801 : {
6802 : EnhancedCustomShapeParameterType::EQUATION,
6803 : EnhancedCustomShapeParameterType::EQUATION,
6804 : 5, 15
6805 : },
6806 : {
6807 : EnhancedCustomShapeParameterType::EQUATION,
6808 : EnhancedCustomShapeParameterType::EQUATION,
6809 : 5, 9
6810 : },
6811 : {
6812 : EnhancedCustomShapeParameterType::EQUATION,
6813 : EnhancedCustomShapeParameterType::EQUATION,
6814 : 4, 9
6815 : },
6816 : {
6817 : EnhancedCustomShapeParameterType::EQUATION,
6818 : EnhancedCustomShapeParameterType::EQUATION,
6819 : 4, 15
6820 : }
6821 : };
6822 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6823 : }
6824 : {
6825 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6826 : static const sal_uInt16 nValues[] = {
6827 : // Command, Count
6828 : 1,1,
6829 : 2,9,
6830 : 4,0,
6831 : 5,0
6832 : };
6833 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6834 : }
6835 : {
6836 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6837 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6838 : {
6839 0 : EnhancedCustomShapeTextFrame aTextFrame;
6840 : {
6841 : static const CustomShapeProvider::ParameterPairData aData =
6842 : {
6843 : EnhancedCustomShapeParameterType::EQUATION,
6844 : EnhancedCustomShapeParameterType::EQUATION,
6845 : 12, 8
6846 : };
6847 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6848 : }
6849 : {
6850 : static const CustomShapeProvider::ParameterPairData aData =
6851 : {
6852 : EnhancedCustomShapeParameterType::EQUATION,
6853 : EnhancedCustomShapeParameterType::EQUATION,
6854 : 13, 9
6855 : };
6856 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6857 : }
6858 0 : aTextFrameSeq [0] = aTextFrame;
6859 : }
6860 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6861 : }
6862 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6863 : }
6864 : {
6865 0 : awt::Rectangle aRectangle;
6866 0 : aRectangle.X = 0;
6867 0 : aRectangle.Y = 0;
6868 0 : aRectangle.Width = 0;
6869 0 : aRectangle.Height = 0;
6870 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6871 : }
6872 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightArrow");
6873 :
6874 0 : return aPropertyMap;
6875 : }
6876 : };
6877 3 : class ShapeCdecagon : public CustomShapeProvider
6878 : {
6879 0 : virtual PropertyMap getProperties()
6880 : {
6881 0 : PropertyMap aPropertyMap;
6882 :
6883 : {
6884 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6885 : {
6886 0 : Any aAny ((sal_Int32) 105146);
6887 0 : aAdjSequence [0].Value = aAny;
6888 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("vf");
6889 : }
6890 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6891 : }
6892 : {
6893 : static const char *aStrings[] = {
6894 : "logheight/2",
6895 : "?0 *$0 /100000",
6896 : "logwidth/2",
6897 : "?2 *cos(pi*(2160000)/10800000)",
6898 : "?2 *cos(pi*(4320000)/10800000)",
6899 : "logwidth/2",
6900 : "?5 +0-?3 ",
6901 : "?5 +0-?4 ",
6902 : "?5 +?4 -0",
6903 : "?5 +?3 -0",
6904 : "?1 *sin(pi*(4320000)/10800000)",
6905 : "?1 *sin(pi*(2160000)/10800000)",
6906 : "logheight/2",
6907 : "?12 +0-?10 ",
6908 : "?12 +0-?11 ",
6909 : "?12 +?11 -0",
6910 : "?12 +?10 -0",
6911 : "logwidth"
6912 : };
6913 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6914 : }
6915 : {
6916 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
6917 : }
6918 : {
6919 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6920 : }
6921 : {
6922 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6923 : }
6924 : {
6925 0 : Sequence< PropertyValue > aPropSequence (3);
6926 : {
6927 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6928 : static const CustomShapeProvider::ParameterPairData aData[] = {
6929 : {
6930 : EnhancedCustomShapeParameterType::NORMAL,
6931 : EnhancedCustomShapeParameterType::EQUATION,
6932 : 0, 12
6933 : },
6934 : {
6935 : EnhancedCustomShapeParameterType::EQUATION,
6936 : EnhancedCustomShapeParameterType::EQUATION,
6937 : 6, 14
6938 : },
6939 : {
6940 : EnhancedCustomShapeParameterType::EQUATION,
6941 : EnhancedCustomShapeParameterType::EQUATION,
6942 : 7, 13
6943 : },
6944 : {
6945 : EnhancedCustomShapeParameterType::EQUATION,
6946 : EnhancedCustomShapeParameterType::EQUATION,
6947 : 8, 13
6948 : },
6949 : {
6950 : EnhancedCustomShapeParameterType::EQUATION,
6951 : EnhancedCustomShapeParameterType::EQUATION,
6952 : 9, 14
6953 : },
6954 : {
6955 : EnhancedCustomShapeParameterType::EQUATION,
6956 : EnhancedCustomShapeParameterType::EQUATION,
6957 : 17, 12
6958 : },
6959 : {
6960 : EnhancedCustomShapeParameterType::EQUATION,
6961 : EnhancedCustomShapeParameterType::EQUATION,
6962 : 9, 15
6963 : },
6964 : {
6965 : EnhancedCustomShapeParameterType::EQUATION,
6966 : EnhancedCustomShapeParameterType::EQUATION,
6967 : 8, 16
6968 : },
6969 : {
6970 : EnhancedCustomShapeParameterType::EQUATION,
6971 : EnhancedCustomShapeParameterType::EQUATION,
6972 : 7, 16
6973 : },
6974 : {
6975 : EnhancedCustomShapeParameterType::EQUATION,
6976 : EnhancedCustomShapeParameterType::EQUATION,
6977 : 6, 15
6978 : }
6979 : };
6980 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6981 : }
6982 : {
6983 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6984 : static const sal_uInt16 nValues[] = {
6985 : // Command, Count
6986 : 1,1,
6987 : 2,9,
6988 : 4,0,
6989 : 5,0
6990 : };
6991 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6992 : }
6993 : {
6994 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6995 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6996 : {
6997 0 : EnhancedCustomShapeTextFrame aTextFrame;
6998 : {
6999 : static const CustomShapeProvider::ParameterPairData aData =
7000 : {
7001 : EnhancedCustomShapeParameterType::EQUATION,
7002 : EnhancedCustomShapeParameterType::EQUATION,
7003 : 6, 14
7004 : };
7005 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7006 : }
7007 : {
7008 : static const CustomShapeProvider::ParameterPairData aData =
7009 : {
7010 : EnhancedCustomShapeParameterType::EQUATION,
7011 : EnhancedCustomShapeParameterType::EQUATION,
7012 : 9, 15
7013 : };
7014 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7015 : }
7016 0 : aTextFrameSeq [0] = aTextFrame;
7017 : }
7018 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7019 : }
7020 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7021 : }
7022 : {
7023 0 : awt::Rectangle aRectangle;
7024 0 : aRectangle.X = 0;
7025 0 : aRectangle.Y = 0;
7026 0 : aRectangle.Width = 0;
7027 0 : aRectangle.Height = 0;
7028 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7029 : }
7030 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-decagon");
7031 :
7032 0 : return aPropertyMap;
7033 : }
7034 : };
7035 3 : class ShapeCactionButtonHelp : public CustomShapeProvider
7036 : {
7037 0 : virtual PropertyMap getProperties()
7038 : {
7039 0 : PropertyMap aPropertyMap;
7040 :
7041 : {
7042 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
7043 : }
7044 : {
7045 : static const char *aStrings[] = {
7046 : "min(logwidth,logheight)",
7047 : "?0 *3/8",
7048 : "logheight/2",
7049 : "?2 +0-?1 ",
7050 : "logwidth/2",
7051 : "?4 +0-?1 ",
7052 : "?0 *3/4",
7053 : "?6 *1/7",
7054 : "?6 *3/14",
7055 : "?6 *2/7",
7056 : "?6 *3/7",
7057 : "?6 *4/7",
7058 : "?6 *17/28",
7059 : "?6 *21/28",
7060 : "?6 *11/14",
7061 : "?3 +?9 -0",
7062 : "?3 +?12 -0",
7063 : "?3 +?13 -0",
7064 : "?3 +?14 -0",
7065 : "?5 +?8 -0",
7066 : "?5 +?10 -0",
7067 : "?5 +?11 -0",
7068 : "?6 *1/14",
7069 : "?6 *3/28",
7070 : "logwidth",
7071 : "logheight",
7072 : "(10800000)/60000.0",
7073 : "(10800000)/60000.0",
7074 : "(0)/60000.0",
7075 : "(5400000)/60000.0",
7076 : "(16200000)/60000.0",
7077 : "(-5400000)/60000.0",
7078 : "(10800000)/60000.0",
7079 : "(5400000)/60000.0",
7080 : "(5400000)/60000.0",
7081 : "(-5400000)/60000.0",
7082 : "(0)/60000.0",
7083 : "(-10800000)/60000.0",
7084 : "(16200000)/60000.0",
7085 : "(21600000)/60000.0",
7086 : "(10800000)/60000.0",
7087 : "(10800000)/60000.0",
7088 : "(0)/60000.0",
7089 : "(5400000)/60000.0",
7090 : "(16200000)/60000.0",
7091 : "(-5400000)/60000.0",
7092 : "(10800000)/60000.0",
7093 : "(5400000)/60000.0",
7094 : "(5400000)/60000.0",
7095 : "(-5400000)/60000.0",
7096 : "(0)/60000.0",
7097 : "(-10800000)/60000.0",
7098 : "(16200000)/60000.0",
7099 : "(21600000)/60000.0",
7100 : "(10800000)/60000.0",
7101 : "(10800000)/60000.0",
7102 : "(0)/60000.0",
7103 : "(5400000)/60000.0",
7104 : "(16200000)/60000.0",
7105 : "(-5400000)/60000.0",
7106 : "(10800000)/60000.0",
7107 : "(5400000)/60000.0",
7108 : "(5400000)/60000.0",
7109 : "(-5400000)/60000.0",
7110 : "(0)/60000.0",
7111 : "(-10800000)/60000.0",
7112 : "(16200000)/60000.0",
7113 : "(21600000)/60000.0"
7114 : };
7115 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7116 : }
7117 : {
7118 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
7119 : }
7120 : {
7121 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7122 : }
7123 : {
7124 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7125 : }
7126 : {
7127 0 : Sequence< PropertyValue > aPropSequence (3);
7128 : {
7129 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
7130 : static const CustomShapeProvider::ParameterPairData aData[] = {
7131 : {
7132 : EnhancedCustomShapeParameterType::NORMAL,
7133 : EnhancedCustomShapeParameterType::NORMAL,
7134 : 0, 0
7135 : },
7136 : {
7137 : EnhancedCustomShapeParameterType::EQUATION,
7138 : EnhancedCustomShapeParameterType::NORMAL,
7139 : 24, 0
7140 : },
7141 : {
7142 : EnhancedCustomShapeParameterType::EQUATION,
7143 : EnhancedCustomShapeParameterType::EQUATION,
7144 : 24, 25
7145 : },
7146 : {
7147 : EnhancedCustomShapeParameterType::NORMAL,
7148 : EnhancedCustomShapeParameterType::EQUATION,
7149 : 0, 25
7150 : },
7151 : {
7152 : EnhancedCustomShapeParameterType::EQUATION,
7153 : EnhancedCustomShapeParameterType::EQUATION,
7154 : 19, 15
7155 : },
7156 : {
7157 : EnhancedCustomShapeParameterType::EQUATION,
7158 : EnhancedCustomShapeParameterType::EQUATION,
7159 : 9, 9
7160 : },
7161 : {
7162 : EnhancedCustomShapeParameterType::EQUATION,
7163 : EnhancedCustomShapeParameterType::EQUATION,
7164 : 26, 27
7165 : },
7166 : {
7167 : EnhancedCustomShapeParameterType::EQUATION,
7168 : EnhancedCustomShapeParameterType::EQUATION,
7169 : 7, 8
7170 : },
7171 : {
7172 : EnhancedCustomShapeParameterType::EQUATION,
7173 : EnhancedCustomShapeParameterType::EQUATION,
7174 : 28, 29
7175 : },
7176 : {
7177 : EnhancedCustomShapeParameterType::EQUATION,
7178 : EnhancedCustomShapeParameterType::EQUATION,
7179 : 22, 23
7180 : },
7181 : {
7182 : EnhancedCustomShapeParameterType::EQUATION,
7183 : EnhancedCustomShapeParameterType::EQUATION,
7184 : 30, 31
7185 : },
7186 : {
7187 : EnhancedCustomShapeParameterType::EQUATION,
7188 : EnhancedCustomShapeParameterType::EQUATION,
7189 : 21, 17
7190 : },
7191 : {
7192 : EnhancedCustomShapeParameterType::EQUATION,
7193 : EnhancedCustomShapeParameterType::EQUATION,
7194 : 20, 17
7195 : },
7196 : {
7197 : EnhancedCustomShapeParameterType::EQUATION,
7198 : EnhancedCustomShapeParameterType::EQUATION,
7199 : 20, 16
7200 : },
7201 : {
7202 : EnhancedCustomShapeParameterType::EQUATION,
7203 : EnhancedCustomShapeParameterType::EQUATION,
7204 : 7, 8
7205 : },
7206 : {
7207 : EnhancedCustomShapeParameterType::EQUATION,
7208 : EnhancedCustomShapeParameterType::EQUATION,
7209 : 32, 33
7210 : },
7211 : {
7212 : EnhancedCustomShapeParameterType::EQUATION,
7213 : EnhancedCustomShapeParameterType::EQUATION,
7214 : 22, 23
7215 : },
7216 : {
7217 : EnhancedCustomShapeParameterType::EQUATION,
7218 : EnhancedCustomShapeParameterType::EQUATION,
7219 : 34, 35
7220 : },
7221 : {
7222 : EnhancedCustomShapeParameterType::EQUATION,
7223 : EnhancedCustomShapeParameterType::EQUATION,
7224 : 7, 7
7225 : },
7226 : {
7227 : EnhancedCustomShapeParameterType::EQUATION,
7228 : EnhancedCustomShapeParameterType::EQUATION,
7229 : 36, 37
7230 : },
7231 : {
7232 : EnhancedCustomShapeParameterType::EQUATION,
7233 : EnhancedCustomShapeParameterType::EQUATION,
7234 : 4, 18
7235 : },
7236 : {
7237 : EnhancedCustomShapeParameterType::EQUATION,
7238 : EnhancedCustomShapeParameterType::EQUATION,
7239 : 23, 23
7240 : },
7241 : {
7242 : EnhancedCustomShapeParameterType::EQUATION,
7243 : EnhancedCustomShapeParameterType::EQUATION,
7244 : 38, 39
7245 : },
7246 : {
7247 : EnhancedCustomShapeParameterType::EQUATION,
7248 : EnhancedCustomShapeParameterType::EQUATION,
7249 : 19, 15
7250 : },
7251 : {
7252 : EnhancedCustomShapeParameterType::EQUATION,
7253 : EnhancedCustomShapeParameterType::EQUATION,
7254 : 9, 9
7255 : },
7256 : {
7257 : EnhancedCustomShapeParameterType::EQUATION,
7258 : EnhancedCustomShapeParameterType::EQUATION,
7259 : 40, 41
7260 : },
7261 : {
7262 : EnhancedCustomShapeParameterType::EQUATION,
7263 : EnhancedCustomShapeParameterType::EQUATION,
7264 : 7, 8
7265 : },
7266 : {
7267 : EnhancedCustomShapeParameterType::EQUATION,
7268 : EnhancedCustomShapeParameterType::EQUATION,
7269 : 42, 43
7270 : },
7271 : {
7272 : EnhancedCustomShapeParameterType::EQUATION,
7273 : EnhancedCustomShapeParameterType::EQUATION,
7274 : 22, 23
7275 : },
7276 : {
7277 : EnhancedCustomShapeParameterType::EQUATION,
7278 : EnhancedCustomShapeParameterType::EQUATION,
7279 : 44, 45
7280 : },
7281 : {
7282 : EnhancedCustomShapeParameterType::EQUATION,
7283 : EnhancedCustomShapeParameterType::EQUATION,
7284 : 21, 17
7285 : },
7286 : {
7287 : EnhancedCustomShapeParameterType::EQUATION,
7288 : EnhancedCustomShapeParameterType::EQUATION,
7289 : 20, 17
7290 : },
7291 : {
7292 : EnhancedCustomShapeParameterType::EQUATION,
7293 : EnhancedCustomShapeParameterType::EQUATION,
7294 : 20, 16
7295 : },
7296 : {
7297 : EnhancedCustomShapeParameterType::EQUATION,
7298 : EnhancedCustomShapeParameterType::EQUATION,
7299 : 7, 8
7300 : },
7301 : {
7302 : EnhancedCustomShapeParameterType::EQUATION,
7303 : EnhancedCustomShapeParameterType::EQUATION,
7304 : 46, 47
7305 : },
7306 : {
7307 : EnhancedCustomShapeParameterType::EQUATION,
7308 : EnhancedCustomShapeParameterType::EQUATION,
7309 : 22, 23
7310 : },
7311 : {
7312 : EnhancedCustomShapeParameterType::EQUATION,
7313 : EnhancedCustomShapeParameterType::EQUATION,
7314 : 48, 49
7315 : },
7316 : {
7317 : EnhancedCustomShapeParameterType::EQUATION,
7318 : EnhancedCustomShapeParameterType::EQUATION,
7319 : 7, 7
7320 : },
7321 : {
7322 : EnhancedCustomShapeParameterType::EQUATION,
7323 : EnhancedCustomShapeParameterType::EQUATION,
7324 : 50, 51
7325 : },
7326 : {
7327 : EnhancedCustomShapeParameterType::EQUATION,
7328 : EnhancedCustomShapeParameterType::EQUATION,
7329 : 4, 18
7330 : },
7331 : {
7332 : EnhancedCustomShapeParameterType::EQUATION,
7333 : EnhancedCustomShapeParameterType::EQUATION,
7334 : 23, 23
7335 : },
7336 : {
7337 : EnhancedCustomShapeParameterType::EQUATION,
7338 : EnhancedCustomShapeParameterType::EQUATION,
7339 : 52, 53
7340 : },
7341 : {
7342 : EnhancedCustomShapeParameterType::EQUATION,
7343 : EnhancedCustomShapeParameterType::EQUATION,
7344 : 19, 15
7345 : },
7346 : {
7347 : EnhancedCustomShapeParameterType::EQUATION,
7348 : EnhancedCustomShapeParameterType::EQUATION,
7349 : 9, 9
7350 : },
7351 : {
7352 : EnhancedCustomShapeParameterType::EQUATION,
7353 : EnhancedCustomShapeParameterType::EQUATION,
7354 : 54, 55
7355 : },
7356 : {
7357 : EnhancedCustomShapeParameterType::EQUATION,
7358 : EnhancedCustomShapeParameterType::EQUATION,
7359 : 7, 8
7360 : },
7361 : {
7362 : EnhancedCustomShapeParameterType::EQUATION,
7363 : EnhancedCustomShapeParameterType::EQUATION,
7364 : 56, 57
7365 : },
7366 : {
7367 : EnhancedCustomShapeParameterType::EQUATION,
7368 : EnhancedCustomShapeParameterType::EQUATION,
7369 : 22, 23
7370 : },
7371 : {
7372 : EnhancedCustomShapeParameterType::EQUATION,
7373 : EnhancedCustomShapeParameterType::EQUATION,
7374 : 58, 59
7375 : },
7376 : {
7377 : EnhancedCustomShapeParameterType::EQUATION,
7378 : EnhancedCustomShapeParameterType::EQUATION,
7379 : 21, 17
7380 : },
7381 : {
7382 : EnhancedCustomShapeParameterType::EQUATION,
7383 : EnhancedCustomShapeParameterType::EQUATION,
7384 : 20, 17
7385 : },
7386 : {
7387 : EnhancedCustomShapeParameterType::EQUATION,
7388 : EnhancedCustomShapeParameterType::EQUATION,
7389 : 20, 16
7390 : },
7391 : {
7392 : EnhancedCustomShapeParameterType::EQUATION,
7393 : EnhancedCustomShapeParameterType::EQUATION,
7394 : 7, 8
7395 : },
7396 : {
7397 : EnhancedCustomShapeParameterType::EQUATION,
7398 : EnhancedCustomShapeParameterType::EQUATION,
7399 : 60, 61
7400 : },
7401 : {
7402 : EnhancedCustomShapeParameterType::EQUATION,
7403 : EnhancedCustomShapeParameterType::EQUATION,
7404 : 22, 23
7405 : },
7406 : {
7407 : EnhancedCustomShapeParameterType::EQUATION,
7408 : EnhancedCustomShapeParameterType::EQUATION,
7409 : 62, 63
7410 : },
7411 : {
7412 : EnhancedCustomShapeParameterType::EQUATION,
7413 : EnhancedCustomShapeParameterType::EQUATION,
7414 : 7, 7
7415 : },
7416 : {
7417 : EnhancedCustomShapeParameterType::EQUATION,
7418 : EnhancedCustomShapeParameterType::EQUATION,
7419 : 64, 65
7420 : },
7421 : {
7422 : EnhancedCustomShapeParameterType::EQUATION,
7423 : EnhancedCustomShapeParameterType::EQUATION,
7424 : 4, 18
7425 : },
7426 : {
7427 : EnhancedCustomShapeParameterType::EQUATION,
7428 : EnhancedCustomShapeParameterType::EQUATION,
7429 : 23, 23
7430 : },
7431 : {
7432 : EnhancedCustomShapeParameterType::EQUATION,
7433 : EnhancedCustomShapeParameterType::EQUATION,
7434 : 66, 67
7435 : },
7436 : {
7437 : EnhancedCustomShapeParameterType::NORMAL,
7438 : EnhancedCustomShapeParameterType::NORMAL,
7439 : 0, 0
7440 : },
7441 : {
7442 : EnhancedCustomShapeParameterType::EQUATION,
7443 : EnhancedCustomShapeParameterType::NORMAL,
7444 : 24, 0
7445 : },
7446 : {
7447 : EnhancedCustomShapeParameterType::EQUATION,
7448 : EnhancedCustomShapeParameterType::EQUATION,
7449 : 24, 25
7450 : },
7451 : {
7452 : EnhancedCustomShapeParameterType::NORMAL,
7453 : EnhancedCustomShapeParameterType::EQUATION,
7454 : 0, 25
7455 : }
7456 : };
7457 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7458 : }
7459 : {
7460 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
7461 : static const sal_uInt16 nValues[] = {
7462 : // Command, Count
7463 : 1,1,
7464 : 2,3,
7465 : 4,0,
7466 : 1,1,
7467 : 17,3,
7468 : 2,3,
7469 : 17,3,
7470 : 4,0,
7471 : 1,1,
7472 : 17,1,
7473 : 4,0,
7474 : 7,0,
7475 : 5,0,
7476 : 1,1,
7477 : 17,3,
7478 : 2,3,
7479 : 17,3,
7480 : 4,0,
7481 : 1,1,
7482 : 17,1,
7483 : 4,0,
7484 : 18,0,
7485 : 7,0,
7486 : 5,0,
7487 : 1,1,
7488 : 17,3,
7489 : 2,3,
7490 : 17,3,
7491 : 4,0,
7492 : 1,1,
7493 : 17,1,
7494 : 4,0,
7495 : 6,0,
7496 : 5,0,
7497 : 1,1,
7498 : 2,3,
7499 : 4,0,
7500 : 6,0,
7501 : 5,0
7502 : };
7503 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7504 : }
7505 : {
7506 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
7507 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7508 : {
7509 0 : EnhancedCustomShapeTextFrame aTextFrame;
7510 : {
7511 : static const CustomShapeProvider::ParameterPairData aData =
7512 : {
7513 : EnhancedCustomShapeParameterType::NORMAL,
7514 : EnhancedCustomShapeParameterType::NORMAL,
7515 : 0, 0
7516 : };
7517 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7518 : }
7519 : {
7520 : static const CustomShapeProvider::ParameterPairData aData =
7521 : {
7522 : EnhancedCustomShapeParameterType::EQUATION,
7523 : EnhancedCustomShapeParameterType::EQUATION,
7524 : 24, 25
7525 : };
7526 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7527 : }
7528 0 : aTextFrameSeq [0] = aTextFrame;
7529 : }
7530 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7531 : }
7532 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7533 : }
7534 : {
7535 0 : awt::Rectangle aRectangle;
7536 0 : aRectangle.X = 0;
7537 0 : aRectangle.Y = 0;
7538 0 : aRectangle.Width = 0;
7539 0 : aRectangle.Height = 0;
7540 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7541 : }
7542 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonHelp");
7543 :
7544 0 : return aPropertyMap;
7545 : }
7546 : };
7547 3 : class ShapeCstar24 : public CustomShapeProvider
7548 : {
7549 0 : virtual PropertyMap getProperties()
7550 : {
7551 0 : PropertyMap aPropertyMap;
7552 :
7553 : {
7554 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
7555 : {
7556 0 : Any aAny ((sal_Int32) 37500);
7557 0 : aAdjSequence [0].Value = aAny;
7558 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
7559 : }
7560 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7561 : }
7562 : {
7563 : static const char *aStrings[] = {
7564 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
7565 : "logwidth/2",
7566 : "?1 *cos(pi*(900000)/10800000)",
7567 : "?1 *cos(pi*(1800000)/10800000)",
7568 : "?1 *cos(pi*(2700000)/10800000)",
7569 : "logwidth/4",
7570 : "?5 ",
7571 : "?1 *cos(pi*(4500000)/10800000)",
7572 : "logheight/2",
7573 : "?8 *sin(pi*(4500000)/10800000)",
7574 : "?8 *sin(pi*(3600000)/10800000)",
7575 : "?8 *sin(pi*(2700000)/10800000)",
7576 : "logheight/4",
7577 : "?12 ",
7578 : "?8 *sin(pi*(900000)/10800000)",
7579 : "logwidth/2",
7580 : "?15 +0-?2 ",
7581 : "?15 +0-?3 ",
7582 : "?15 +0-?4 ",
7583 : "?15 +0-?6 ",
7584 : "?15 +0-?7 ",
7585 : "?15 +?7 -0",
7586 : "?15 +?6 -0",
7587 : "?15 +?4 -0",
7588 : "?15 +?3 -0",
7589 : "?15 +?2 -0",
7590 : "logheight/2",
7591 : "?26 +0-?9 ",
7592 : "?26 +0-?10 ",
7593 : "?26 +0-?11 ",
7594 : "?26 +0-?13 ",
7595 : "?26 +0-?14 ",
7596 : "?26 +?14 -0",
7597 : "?26 +?13 -0",
7598 : "?26 +?11 -0",
7599 : "?26 +?10 -0",
7600 : "?26 +?9 -0",
7601 : "?1 *?0 /50000",
7602 : "?8 *?0 /50000",
7603 : "?37 *99144/100000",
7604 : "?37 *92388/100000",
7605 : "?37 *79335/100000",
7606 : "?37 *60876/100000",
7607 : "?37 *38268/100000",
7608 : "?37 *13053/100000",
7609 : "?38 *99144/100000",
7610 : "?38 *92388/100000",
7611 : "?38 *79335/100000",
7612 : "?38 *60876/100000",
7613 : "?38 *38268/100000",
7614 : "?38 *13053/100000",
7615 : "?15 +0-?39 ",
7616 : "?15 +0-?40 ",
7617 : "?15 +0-?41 ",
7618 : "?15 +0-?42 ",
7619 : "?15 +0-?43 ",
7620 : "?15 +0-?44 ",
7621 : "?15 +?44 -0",
7622 : "?15 +?43 -0",
7623 : "?15 +?42 -0",
7624 : "?15 +?41 -0",
7625 : "?15 +?40 -0",
7626 : "?15 +?39 -0",
7627 : "?26 +0-?45 ",
7628 : "?26 +0-?46 ",
7629 : "?26 +0-?47 ",
7630 : "?26 +0-?48 ",
7631 : "?26 +0-?49 ",
7632 : "?26 +0-?50 ",
7633 : "?26 +?50 -0",
7634 : "?26 +?49 -0",
7635 : "?26 +?48 -0",
7636 : "?26 +?47 -0",
7637 : "?26 +?46 -0",
7638 : "?26 +?45 -0",
7639 : "?37 *cos(pi*(2700000)/10800000)",
7640 : "?38 *sin(pi*(2700000)/10800000)",
7641 : "?15 +0-?75 ",
7642 : "?26 +0-?76 ",
7643 : "?15 +?75 -0",
7644 : "?26 +?76 -0",
7645 : "?26 +0-?38 ",
7646 : "min(logwidth,logheight)/2",
7647 : "logheight",
7648 : "logwidth"
7649 : };
7650 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7651 : }
7652 : {
7653 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
7654 : {
7655 0 : Sequence< PropertyValue > aPropSequence (4);
7656 : {
7657 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7658 : static const CustomShapeProvider::ParameterPairData aData =
7659 : {
7660 : EnhancedCustomShapeParameterType::EQUATION,
7661 : EnhancedCustomShapeParameterType::EQUATION,
7662 : 15, 81
7663 : };
7664 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7665 : }
7666 : {
7667 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
7668 0 : EnhancedCustomShapeParameter aParameter;
7669 0 : Any aAny ((sal_Int32) 82);
7670 0 : aParameter.Value = aAny;
7671 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7672 0 : aPropSequence [1].Value = makeAny (aParameter);
7673 : }
7674 : {
7675 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
7676 0 : EnhancedCustomShapeParameter aParameter;
7677 0 : Any aAny ((sal_Int32) 0);
7678 0 : aParameter.Value = aAny;
7679 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7680 0 : aPropSequence [2].Value = makeAny (aParameter);
7681 : }
7682 : {
7683 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
7684 0 : Any aAny ((sal_Int32) 0);
7685 0 : aPropSequence [3].Value = makeAny (aAny);
7686 : }
7687 0 : aPropSequenceSequence [0] = aPropSequence;
7688 : }
7689 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7690 : }
7691 : {
7692 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7693 : }
7694 : {
7695 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7696 : }
7697 : {
7698 0 : Sequence< PropertyValue > aPropSequence (3);
7699 : {
7700 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
7701 : static const CustomShapeProvider::ParameterPairData aData[] = {
7702 : {
7703 : EnhancedCustomShapeParameterType::NORMAL,
7704 : EnhancedCustomShapeParameterType::EQUATION,
7705 : 0, 26
7706 : },
7707 : {
7708 : EnhancedCustomShapeParameterType::EQUATION,
7709 : EnhancedCustomShapeParameterType::EQUATION,
7710 : 51, 68
7711 : },
7712 : {
7713 : EnhancedCustomShapeParameterType::EQUATION,
7714 : EnhancedCustomShapeParameterType::EQUATION,
7715 : 16, 31
7716 : },
7717 : {
7718 : EnhancedCustomShapeParameterType::EQUATION,
7719 : EnhancedCustomShapeParameterType::EQUATION,
7720 : 52, 67
7721 : },
7722 : {
7723 : EnhancedCustomShapeParameterType::EQUATION,
7724 : EnhancedCustomShapeParameterType::EQUATION,
7725 : 17, 30
7726 : },
7727 : {
7728 : EnhancedCustomShapeParameterType::EQUATION,
7729 : EnhancedCustomShapeParameterType::EQUATION,
7730 : 53, 66
7731 : },
7732 : {
7733 : EnhancedCustomShapeParameterType::EQUATION,
7734 : EnhancedCustomShapeParameterType::EQUATION,
7735 : 18, 29
7736 : },
7737 : {
7738 : EnhancedCustomShapeParameterType::EQUATION,
7739 : EnhancedCustomShapeParameterType::EQUATION,
7740 : 54, 65
7741 : },
7742 : {
7743 : EnhancedCustomShapeParameterType::EQUATION,
7744 : EnhancedCustomShapeParameterType::EQUATION,
7745 : 19, 28
7746 : },
7747 : {
7748 : EnhancedCustomShapeParameterType::EQUATION,
7749 : EnhancedCustomShapeParameterType::EQUATION,
7750 : 55, 64
7751 : },
7752 : {
7753 : EnhancedCustomShapeParameterType::EQUATION,
7754 : EnhancedCustomShapeParameterType::EQUATION,
7755 : 20, 27
7756 : },
7757 : {
7758 : EnhancedCustomShapeParameterType::EQUATION,
7759 : EnhancedCustomShapeParameterType::EQUATION,
7760 : 56, 63
7761 : },
7762 : {
7763 : EnhancedCustomShapeParameterType::EQUATION,
7764 : EnhancedCustomShapeParameterType::NORMAL,
7765 : 15, 0
7766 : },
7767 : {
7768 : EnhancedCustomShapeParameterType::EQUATION,
7769 : EnhancedCustomShapeParameterType::EQUATION,
7770 : 57, 63
7771 : },
7772 : {
7773 : EnhancedCustomShapeParameterType::EQUATION,
7774 : EnhancedCustomShapeParameterType::EQUATION,
7775 : 21, 27
7776 : },
7777 : {
7778 : EnhancedCustomShapeParameterType::EQUATION,
7779 : EnhancedCustomShapeParameterType::EQUATION,
7780 : 58, 64
7781 : },
7782 : {
7783 : EnhancedCustomShapeParameterType::EQUATION,
7784 : EnhancedCustomShapeParameterType::EQUATION,
7785 : 22, 28
7786 : },
7787 : {
7788 : EnhancedCustomShapeParameterType::EQUATION,
7789 : EnhancedCustomShapeParameterType::EQUATION,
7790 : 59, 65
7791 : },
7792 : {
7793 : EnhancedCustomShapeParameterType::EQUATION,
7794 : EnhancedCustomShapeParameterType::EQUATION,
7795 : 23, 29
7796 : },
7797 : {
7798 : EnhancedCustomShapeParameterType::EQUATION,
7799 : EnhancedCustomShapeParameterType::EQUATION,
7800 : 60, 66
7801 : },
7802 : {
7803 : EnhancedCustomShapeParameterType::EQUATION,
7804 : EnhancedCustomShapeParameterType::EQUATION,
7805 : 24, 30
7806 : },
7807 : {
7808 : EnhancedCustomShapeParameterType::EQUATION,
7809 : EnhancedCustomShapeParameterType::EQUATION,
7810 : 61, 67
7811 : },
7812 : {
7813 : EnhancedCustomShapeParameterType::EQUATION,
7814 : EnhancedCustomShapeParameterType::EQUATION,
7815 : 25, 31
7816 : },
7817 : {
7818 : EnhancedCustomShapeParameterType::EQUATION,
7819 : EnhancedCustomShapeParameterType::EQUATION,
7820 : 62, 68
7821 : },
7822 : {
7823 : EnhancedCustomShapeParameterType::EQUATION,
7824 : EnhancedCustomShapeParameterType::EQUATION,
7825 : 84, 26
7826 : },
7827 : {
7828 : EnhancedCustomShapeParameterType::EQUATION,
7829 : EnhancedCustomShapeParameterType::EQUATION,
7830 : 62, 69
7831 : },
7832 : {
7833 : EnhancedCustomShapeParameterType::EQUATION,
7834 : EnhancedCustomShapeParameterType::EQUATION,
7835 : 25, 32
7836 : },
7837 : {
7838 : EnhancedCustomShapeParameterType::EQUATION,
7839 : EnhancedCustomShapeParameterType::EQUATION,
7840 : 61, 70
7841 : },
7842 : {
7843 : EnhancedCustomShapeParameterType::EQUATION,
7844 : EnhancedCustomShapeParameterType::EQUATION,
7845 : 24, 33
7846 : },
7847 : {
7848 : EnhancedCustomShapeParameterType::EQUATION,
7849 : EnhancedCustomShapeParameterType::EQUATION,
7850 : 60, 71
7851 : },
7852 : {
7853 : EnhancedCustomShapeParameterType::EQUATION,
7854 : EnhancedCustomShapeParameterType::EQUATION,
7855 : 23, 34
7856 : },
7857 : {
7858 : EnhancedCustomShapeParameterType::EQUATION,
7859 : EnhancedCustomShapeParameterType::EQUATION,
7860 : 59, 72
7861 : },
7862 : {
7863 : EnhancedCustomShapeParameterType::EQUATION,
7864 : EnhancedCustomShapeParameterType::EQUATION,
7865 : 22, 35
7866 : },
7867 : {
7868 : EnhancedCustomShapeParameterType::EQUATION,
7869 : EnhancedCustomShapeParameterType::EQUATION,
7870 : 58, 73
7871 : },
7872 : {
7873 : EnhancedCustomShapeParameterType::EQUATION,
7874 : EnhancedCustomShapeParameterType::EQUATION,
7875 : 21, 36
7876 : },
7877 : {
7878 : EnhancedCustomShapeParameterType::EQUATION,
7879 : EnhancedCustomShapeParameterType::EQUATION,
7880 : 57, 74
7881 : },
7882 : {
7883 : EnhancedCustomShapeParameterType::EQUATION,
7884 : EnhancedCustomShapeParameterType::EQUATION,
7885 : 15, 83
7886 : },
7887 : {
7888 : EnhancedCustomShapeParameterType::EQUATION,
7889 : EnhancedCustomShapeParameterType::EQUATION,
7890 : 56, 74
7891 : },
7892 : {
7893 : EnhancedCustomShapeParameterType::EQUATION,
7894 : EnhancedCustomShapeParameterType::EQUATION,
7895 : 20, 36
7896 : },
7897 : {
7898 : EnhancedCustomShapeParameterType::EQUATION,
7899 : EnhancedCustomShapeParameterType::EQUATION,
7900 : 55, 73
7901 : },
7902 : {
7903 : EnhancedCustomShapeParameterType::EQUATION,
7904 : EnhancedCustomShapeParameterType::EQUATION,
7905 : 19, 35
7906 : },
7907 : {
7908 : EnhancedCustomShapeParameterType::EQUATION,
7909 : EnhancedCustomShapeParameterType::EQUATION,
7910 : 54, 72
7911 : },
7912 : {
7913 : EnhancedCustomShapeParameterType::EQUATION,
7914 : EnhancedCustomShapeParameterType::EQUATION,
7915 : 18, 34
7916 : },
7917 : {
7918 : EnhancedCustomShapeParameterType::EQUATION,
7919 : EnhancedCustomShapeParameterType::EQUATION,
7920 : 53, 71
7921 : },
7922 : {
7923 : EnhancedCustomShapeParameterType::EQUATION,
7924 : EnhancedCustomShapeParameterType::EQUATION,
7925 : 17, 33
7926 : },
7927 : {
7928 : EnhancedCustomShapeParameterType::EQUATION,
7929 : EnhancedCustomShapeParameterType::EQUATION,
7930 : 52, 70
7931 : },
7932 : {
7933 : EnhancedCustomShapeParameterType::EQUATION,
7934 : EnhancedCustomShapeParameterType::EQUATION,
7935 : 16, 32
7936 : },
7937 : {
7938 : EnhancedCustomShapeParameterType::EQUATION,
7939 : EnhancedCustomShapeParameterType::EQUATION,
7940 : 51, 69
7941 : }
7942 : };
7943 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7944 : }
7945 : {
7946 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
7947 : static const sal_uInt16 nValues[] = {
7948 : // Command, Count
7949 : 1,1,
7950 : 2,47,
7951 : 4,0,
7952 : 5,0
7953 : };
7954 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7955 : }
7956 : {
7957 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
7958 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7959 : {
7960 0 : EnhancedCustomShapeTextFrame aTextFrame;
7961 : {
7962 : static const CustomShapeProvider::ParameterPairData aData =
7963 : {
7964 : EnhancedCustomShapeParameterType::EQUATION,
7965 : EnhancedCustomShapeParameterType::EQUATION,
7966 : 77, 78
7967 : };
7968 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7969 : }
7970 : {
7971 : static const CustomShapeProvider::ParameterPairData aData =
7972 : {
7973 : EnhancedCustomShapeParameterType::EQUATION,
7974 : EnhancedCustomShapeParameterType::EQUATION,
7975 : 79, 80
7976 : };
7977 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7978 : }
7979 0 : aTextFrameSeq [0] = aTextFrame;
7980 : }
7981 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7982 : }
7983 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7984 : }
7985 : {
7986 0 : awt::Rectangle aRectangle;
7987 0 : aRectangle.X = 0;
7988 0 : aRectangle.Y = 0;
7989 0 : aRectangle.Width = 0;
7990 0 : aRectangle.Height = 0;
7991 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7992 : }
7993 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star24");
7994 :
7995 0 : return aPropertyMap;
7996 : }
7997 : };
7998 3 : class ShapeCmathDivide : public CustomShapeProvider
7999 : {
8000 0 : virtual PropertyMap getProperties()
8001 : {
8002 0 : PropertyMap aPropertyMap;
8003 :
8004 : {
8005 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
8006 : {
8007 0 : Any aAny ((sal_Int32) 23520);
8008 0 : aAdjSequence [0].Value = aAny;
8009 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
8010 : }
8011 : {
8012 0 : Any aAny ((sal_Int32) 5880);
8013 0 : aAdjSequence [1].Value = aAny;
8014 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
8015 : }
8016 : {
8017 0 : Any aAny ((sal_Int32) 11760);
8018 0 : aAdjSequence [2].Value = aAny;
8019 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
8020 : }
8021 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8022 : }
8023 : {
8024 : static const char *aStrings[] = {
8025 : "if(1000-$0 ,1000,if(36745-$0 ,$0 ,36745))",
8026 : "0+0-?0 ",
8027 : "(73490+?1 )/4",
8028 : "36745*logwidth/logheight",
8029 : "min(?2 ,?3 )",
8030 : "if(1000-$2 ,1000,if(?4 -$2 ,$2 ,?4 ))",
8031 : "-4*?5 /1",
8032 : "73490+?6 -?0 ",
8033 : "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))",
8034 : "logheight*?0 /200000",
8035 : "logheight*?8 /100000",
8036 : "logheight*?5 /100000",
8037 : "logwidth*73490/200000",
8038 : "logheight/2",
8039 : "?13 +0-?9 ",
8040 : "?13 +?9 -0",
8041 : "?10 +?11 -0",
8042 : "?14 +0-?16 ",
8043 : "?17 +0-?11 ",
8044 : "logheight+0-?18 ",
8045 : "logwidth/2",
8046 : "?20 +0-?12 ",
8047 : "?20 +?12 -0",
8048 : "?20 +0-?11 ",
8049 : "logwidth",
8050 : "(16200000)/60000.0",
8051 : "(21600000)/60000.0",
8052 : "(5400000)/60000.0",
8053 : "(21600000)/60000.0"
8054 : };
8055 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8056 : }
8057 : {
8058 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
8059 : {
8060 0 : Sequence< PropertyValue > aPropSequence (4);
8061 : {
8062 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8063 : static const CustomShapeProvider::ParameterPairData aData =
8064 : {
8065 : EnhancedCustomShapeParameterType::NORMAL,
8066 : EnhancedCustomShapeParameterType::EQUATION,
8067 : 0, 14
8068 : };
8069 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8070 : }
8071 : {
8072 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
8073 0 : EnhancedCustomShapeParameter aParameter;
8074 0 : Any aAny ((sal_Int32) 36745);
8075 0 : aParameter.Value = aAny;
8076 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8077 0 : aPropSequence [1].Value = makeAny (aParameter);
8078 : }
8079 : {
8080 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
8081 0 : EnhancedCustomShapeParameter aParameter;
8082 0 : Any aAny ((sal_Int32) 1000);
8083 0 : aParameter.Value = aAny;
8084 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8085 0 : aPropSequence [2].Value = makeAny (aParameter);
8086 : }
8087 : {
8088 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
8089 0 : Any aAny ((sal_Int32) 0);
8090 0 : aPropSequence [3].Value = makeAny (aAny);
8091 : }
8092 0 : aPropSequenceSequence [0] = aPropSequence;
8093 : }
8094 : {
8095 0 : Sequence< PropertyValue > aPropSequence (4);
8096 : {
8097 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8098 : static const CustomShapeProvider::ParameterPairData aData =
8099 : {
8100 : EnhancedCustomShapeParameterType::EQUATION,
8101 : EnhancedCustomShapeParameterType::EQUATION,
8102 : 24, 17
8103 : };
8104 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8105 : }
8106 : {
8107 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
8108 0 : EnhancedCustomShapeParameter aParameter;
8109 0 : Any aAny ((sal_Int32) 7);
8110 0 : aParameter.Value = aAny;
8111 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8112 0 : aPropSequence [1].Value = makeAny (aParameter);
8113 : }
8114 : {
8115 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
8116 0 : EnhancedCustomShapeParameter aParameter;
8117 0 : Any aAny ((sal_Int32) 0);
8118 0 : aParameter.Value = aAny;
8119 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8120 0 : aPropSequence [2].Value = makeAny (aParameter);
8121 : }
8122 : {
8123 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
8124 0 : Any aAny ((sal_Int32) 1);
8125 0 : aPropSequence [3].Value = makeAny (aAny);
8126 : }
8127 0 : aPropSequenceSequence [1] = aPropSequence;
8128 : }
8129 : {
8130 0 : Sequence< PropertyValue > aPropSequence (4);
8131 : {
8132 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8133 : static const CustomShapeProvider::ParameterPairData aData =
8134 : {
8135 : EnhancedCustomShapeParameterType::EQUATION,
8136 : EnhancedCustomShapeParameterType::NORMAL,
8137 : 23, 0
8138 : };
8139 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8140 : }
8141 : {
8142 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8143 0 : EnhancedCustomShapeParameter aParameter;
8144 0 : Any aAny ((sal_Int32) 4);
8145 0 : aParameter.Value = aAny;
8146 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8147 0 : aPropSequence [1].Value = makeAny (aParameter);
8148 : }
8149 : {
8150 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8151 0 : EnhancedCustomShapeParameter aParameter;
8152 0 : Any aAny ((sal_Int32) 1000);
8153 0 : aParameter.Value = aAny;
8154 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8155 0 : aPropSequence [2].Value = makeAny (aParameter);
8156 : }
8157 : {
8158 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
8159 0 : Any aAny ((sal_Int32) 2);
8160 0 : aPropSequence [3].Value = makeAny (aAny);
8161 : }
8162 0 : aPropSequenceSequence [2] = aPropSequence;
8163 : }
8164 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8165 : }
8166 : {
8167 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8168 : }
8169 : {
8170 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8171 : }
8172 : {
8173 0 : Sequence< PropertyValue > aPropSequence (3);
8174 : {
8175 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
8176 : static const CustomShapeProvider::ParameterPairData aData[] = {
8177 : {
8178 : EnhancedCustomShapeParameterType::EQUATION,
8179 : EnhancedCustomShapeParameterType::EQUATION,
8180 : 20, 18
8181 : },
8182 : {
8183 : EnhancedCustomShapeParameterType::EQUATION,
8184 : EnhancedCustomShapeParameterType::EQUATION,
8185 : 11, 11
8186 : },
8187 : {
8188 : EnhancedCustomShapeParameterType::EQUATION,
8189 : EnhancedCustomShapeParameterType::EQUATION,
8190 : 25, 26
8191 : },
8192 : {
8193 : EnhancedCustomShapeParameterType::EQUATION,
8194 : EnhancedCustomShapeParameterType::EQUATION,
8195 : 20, 19
8196 : },
8197 : {
8198 : EnhancedCustomShapeParameterType::EQUATION,
8199 : EnhancedCustomShapeParameterType::EQUATION,
8200 : 11, 11
8201 : },
8202 : {
8203 : EnhancedCustomShapeParameterType::EQUATION,
8204 : EnhancedCustomShapeParameterType::EQUATION,
8205 : 27, 28
8206 : },
8207 : {
8208 : EnhancedCustomShapeParameterType::EQUATION,
8209 : EnhancedCustomShapeParameterType::EQUATION,
8210 : 21, 14
8211 : },
8212 : {
8213 : EnhancedCustomShapeParameterType::EQUATION,
8214 : EnhancedCustomShapeParameterType::EQUATION,
8215 : 22, 14
8216 : },
8217 : {
8218 : EnhancedCustomShapeParameterType::EQUATION,
8219 : EnhancedCustomShapeParameterType::EQUATION,
8220 : 22, 15
8221 : },
8222 : {
8223 : EnhancedCustomShapeParameterType::EQUATION,
8224 : EnhancedCustomShapeParameterType::EQUATION,
8225 : 21, 15
8226 : }
8227 : };
8228 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8229 : }
8230 : {
8231 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
8232 : static const sal_uInt16 nValues[] = {
8233 : // Command, Count
8234 : 1,1,
8235 : 17,1,
8236 : 4,0,
8237 : 1,1,
8238 : 17,1,
8239 : 4,0,
8240 : 1,1,
8241 : 2,3,
8242 : 4,0,
8243 : 5,0
8244 : };
8245 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8246 : }
8247 : {
8248 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
8249 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8250 : {
8251 0 : EnhancedCustomShapeTextFrame aTextFrame;
8252 : {
8253 : static const CustomShapeProvider::ParameterPairData aData =
8254 : {
8255 : EnhancedCustomShapeParameterType::EQUATION,
8256 : EnhancedCustomShapeParameterType::EQUATION,
8257 : 21, 14
8258 : };
8259 0 : aTextFrame.TopLeft = createParameterPair(&aData);
8260 : }
8261 : {
8262 : static const CustomShapeProvider::ParameterPairData aData =
8263 : {
8264 : EnhancedCustomShapeParameterType::EQUATION,
8265 : EnhancedCustomShapeParameterType::EQUATION,
8266 : 22, 15
8267 : };
8268 0 : aTextFrame.BottomRight = createParameterPair(&aData);
8269 : }
8270 0 : aTextFrameSeq [0] = aTextFrame;
8271 : }
8272 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
8273 : }
8274 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
8275 : }
8276 : {
8277 0 : awt::Rectangle aRectangle;
8278 0 : aRectangle.X = 0;
8279 0 : aRectangle.Y = 0;
8280 0 : aRectangle.Width = 0;
8281 0 : aRectangle.Height = 0;
8282 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
8283 : }
8284 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathDivide");
8285 :
8286 0 : return aPropertyMap;
8287 : }
8288 : };
8289 3 : class ShapeCcurvedConnector4 : public CustomShapeProvider
8290 : {
8291 0 : virtual PropertyMap getProperties()
8292 : {
8293 0 : PropertyMap aPropertyMap;
8294 :
8295 : {
8296 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
8297 : {
8298 0 : Any aAny ((sal_Int32) 50000);
8299 0 : aAdjSequence [0].Value = aAny;
8300 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
8301 : }
8302 : {
8303 0 : Any aAny ((sal_Int32) 50000);
8304 0 : aAdjSequence [1].Value = aAny;
8305 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
8306 : }
8307 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8308 : }
8309 : {
8310 : static const char *aStrings[] = {
8311 : "logwidth*$0 /100000",
8312 : "(0+?0 )/2",
8313 : "(logwidth+?0 )/2",
8314 : "(?0 +?2 )/2",
8315 : "(?2 +logwidth)/2",
8316 : "logheight*$1 /100000",
8317 : "(0+?5 )/2",
8318 : "(0+?6 )/2",
8319 : "(?6 +?5 )/2",
8320 : "(logheight+?5 )/2",
8321 : "logwidth",
8322 : "logheight"
8323 : };
8324 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8325 : }
8326 : {
8327 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
8328 : {
8329 0 : Sequence< PropertyValue > aPropSequence (4);
8330 : {
8331 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8332 : static const CustomShapeProvider::ParameterPairData aData =
8333 : {
8334 : EnhancedCustomShapeParameterType::EQUATION,
8335 : EnhancedCustomShapeParameterType::EQUATION,
8336 : 0, 6
8337 : };
8338 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8339 : }
8340 : {
8341 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8342 0 : EnhancedCustomShapeParameter aParameter;
8343 0 : Any aAny ((sal_Int32) 2147483647);
8344 0 : aParameter.Value = aAny;
8345 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8346 0 : aPropSequence [1].Value = makeAny (aParameter);
8347 : }
8348 : {
8349 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8350 0 : EnhancedCustomShapeParameter aParameter;
8351 0 : Any aAny ((sal_Int32) -2147483647);
8352 0 : aParameter.Value = aAny;
8353 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8354 0 : aPropSequence [2].Value = makeAny (aParameter);
8355 : }
8356 : {
8357 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
8358 0 : Any aAny ((sal_Int32) 0);
8359 0 : aPropSequence [3].Value = makeAny (aAny);
8360 : }
8361 0 : aPropSequenceSequence [0] = aPropSequence;
8362 : }
8363 : {
8364 0 : Sequence< PropertyValue > aPropSequence (4);
8365 : {
8366 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8367 : static const CustomShapeProvider::ParameterPairData aData =
8368 : {
8369 : EnhancedCustomShapeParameterType::EQUATION,
8370 : EnhancedCustomShapeParameterType::EQUATION,
8371 : 2, 5
8372 : };
8373 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8374 : }
8375 : {
8376 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
8377 0 : EnhancedCustomShapeParameter aParameter;
8378 0 : Any aAny ((sal_Int32) 2147483647);
8379 0 : aParameter.Value = aAny;
8380 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8381 0 : aPropSequence [1].Value = makeAny (aParameter);
8382 : }
8383 : {
8384 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
8385 0 : EnhancedCustomShapeParameter aParameter;
8386 0 : Any aAny ((sal_Int32) -2147483647);
8387 0 : aParameter.Value = aAny;
8388 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8389 0 : aPropSequence [2].Value = makeAny (aParameter);
8390 : }
8391 : {
8392 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
8393 0 : Any aAny ((sal_Int32) 1);
8394 0 : aPropSequence [3].Value = makeAny (aAny);
8395 : }
8396 0 : aPropSequenceSequence [1] = aPropSequence;
8397 : }
8398 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8399 : }
8400 : {
8401 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8402 : }
8403 : {
8404 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8405 : }
8406 : {
8407 0 : Sequence< PropertyValue > aPropSequence (3);
8408 : {
8409 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
8410 : static const CustomShapeProvider::ParameterPairData aData[] = {
8411 : {
8412 : EnhancedCustomShapeParameterType::NORMAL,
8413 : EnhancedCustomShapeParameterType::NORMAL,
8414 : 0, 0
8415 : },
8416 : {
8417 : EnhancedCustomShapeParameterType::EQUATION,
8418 : EnhancedCustomShapeParameterType::NORMAL,
8419 : 1, 0
8420 : },
8421 : {
8422 : EnhancedCustomShapeParameterType::EQUATION,
8423 : EnhancedCustomShapeParameterType::EQUATION,
8424 : 0, 7
8425 : },
8426 : {
8427 : EnhancedCustomShapeParameterType::EQUATION,
8428 : EnhancedCustomShapeParameterType::EQUATION,
8429 : 0, 6
8430 : },
8431 : {
8432 : EnhancedCustomShapeParameterType::EQUATION,
8433 : EnhancedCustomShapeParameterType::EQUATION,
8434 : 0, 8
8435 : },
8436 : {
8437 : EnhancedCustomShapeParameterType::EQUATION,
8438 : EnhancedCustomShapeParameterType::EQUATION,
8439 : 3, 5
8440 : },
8441 : {
8442 : EnhancedCustomShapeParameterType::EQUATION,
8443 : EnhancedCustomShapeParameterType::EQUATION,
8444 : 2, 5
8445 : },
8446 : {
8447 : EnhancedCustomShapeParameterType::EQUATION,
8448 : EnhancedCustomShapeParameterType::EQUATION,
8449 : 4, 5
8450 : },
8451 : {
8452 : EnhancedCustomShapeParameterType::EQUATION,
8453 : EnhancedCustomShapeParameterType::EQUATION,
8454 : 10, 9
8455 : },
8456 : {
8457 : EnhancedCustomShapeParameterType::EQUATION,
8458 : EnhancedCustomShapeParameterType::EQUATION,
8459 : 10, 11
8460 : }
8461 : };
8462 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8463 : }
8464 : {
8465 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
8466 : static const sal_uInt16 nValues[] = {
8467 : // Command, Count
8468 : 1,1,
8469 : 3,3,
8470 : 6,0,
8471 : 5,0
8472 : };
8473 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8474 : }
8475 : {
8476 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
8477 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8478 : {
8479 0 : EnhancedCustomShapeTextFrame aTextFrame;
8480 : {
8481 : static const CustomShapeProvider::ParameterPairData aData =
8482 : {
8483 : EnhancedCustomShapeParameterType::NORMAL,
8484 : EnhancedCustomShapeParameterType::NORMAL,
8485 : 0, 0
8486 : };
8487 0 : aTextFrame.TopLeft = createParameterPair(&aData);
8488 : }
8489 : {
8490 : static const CustomShapeProvider::ParameterPairData aData =
8491 : {
8492 : EnhancedCustomShapeParameterType::EQUATION,
8493 : EnhancedCustomShapeParameterType::EQUATION,
8494 : 10, 11
8495 : };
8496 0 : aTextFrame.BottomRight = createParameterPair(&aData);
8497 : }
8498 0 : aTextFrameSeq [0] = aTextFrame;
8499 : }
8500 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
8501 : }
8502 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
8503 : }
8504 : {
8505 0 : awt::Rectangle aRectangle;
8506 0 : aRectangle.X = 0;
8507 0 : aRectangle.Y = 0;
8508 0 : aRectangle.Width = 0;
8509 0 : aRectangle.Height = 0;
8510 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
8511 : }
8512 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedConnector4");
8513 :
8514 0 : return aPropertyMap;
8515 : }
8516 : };
8517 3 : class ShapeCflowChartOr : public CustomShapeProvider
8518 : {
8519 0 : virtual PropertyMap getProperties()
8520 : {
8521 0 : PropertyMap aPropertyMap;
8522 :
8523 : {
8524 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
8525 : }
8526 : {
8527 : static const char *aStrings[] = {
8528 : "logwidth/2",
8529 : "?0 *cos(pi*(2700000)/10800000)",
8530 : "logheight/2",
8531 : "?2 *sin(pi*(2700000)/10800000)",
8532 : "logwidth/2",
8533 : "?4 +0-?1 ",
8534 : "?4 +?1 -0",
8535 : "logheight/2",
8536 : "?7 +0-?3 ",
8537 : "?7 +?3 -0",
8538 : "logheight",
8539 : "logwidth",
8540 : "(10800000)/60000.0",
8541 : "(5400000)/60000.0",
8542 : "(16200000)/60000.0",
8543 : "(5400000)/60000.0",
8544 : "(0)/60000.0",
8545 : "(5400000)/60000.0",
8546 : "(5400000)/60000.0",
8547 : "(5400000)/60000.0",
8548 : "(10800000)/60000.0",
8549 : "(5400000)/60000.0",
8550 : "(16200000)/60000.0",
8551 : "(5400000)/60000.0",
8552 : "(0)/60000.0",
8553 : "(5400000)/60000.0",
8554 : "(5400000)/60000.0",
8555 : "(5400000)/60000.0"
8556 : };
8557 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8558 : }
8559 : {
8560 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
8561 : }
8562 : {
8563 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8564 : }
8565 : {
8566 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8567 : }
8568 : {
8569 0 : Sequence< PropertyValue > aPropSequence (3);
8570 : {
8571 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
8572 : static const CustomShapeProvider::ParameterPairData aData[] = {
8573 : {
8574 : EnhancedCustomShapeParameterType::NORMAL,
8575 : EnhancedCustomShapeParameterType::EQUATION,
8576 : 0, 7
8577 : },
8578 : {
8579 : EnhancedCustomShapeParameterType::EQUATION,
8580 : EnhancedCustomShapeParameterType::EQUATION,
8581 : 0, 2
8582 : },
8583 : {
8584 : EnhancedCustomShapeParameterType::EQUATION,
8585 : EnhancedCustomShapeParameterType::EQUATION,
8586 : 12, 13
8587 : },
8588 : {
8589 : EnhancedCustomShapeParameterType::EQUATION,
8590 : EnhancedCustomShapeParameterType::EQUATION,
8591 : 0, 2
8592 : },
8593 : {
8594 : EnhancedCustomShapeParameterType::EQUATION,
8595 : EnhancedCustomShapeParameterType::EQUATION,
8596 : 14, 15
8597 : },
8598 : {
8599 : EnhancedCustomShapeParameterType::EQUATION,
8600 : EnhancedCustomShapeParameterType::EQUATION,
8601 : 0, 2
8602 : },
8603 : {
8604 : EnhancedCustomShapeParameterType::EQUATION,
8605 : EnhancedCustomShapeParameterType::EQUATION,
8606 : 16, 17
8607 : },
8608 : {
8609 : EnhancedCustomShapeParameterType::EQUATION,
8610 : EnhancedCustomShapeParameterType::EQUATION,
8611 : 0, 2
8612 : },
8613 : {
8614 : EnhancedCustomShapeParameterType::EQUATION,
8615 : EnhancedCustomShapeParameterType::EQUATION,
8616 : 18, 19
8617 : },
8618 : {
8619 : EnhancedCustomShapeParameterType::EQUATION,
8620 : EnhancedCustomShapeParameterType::NORMAL,
8621 : 4, 0
8622 : },
8623 : {
8624 : EnhancedCustomShapeParameterType::EQUATION,
8625 : EnhancedCustomShapeParameterType::EQUATION,
8626 : 4, 10
8627 : },
8628 : {
8629 : EnhancedCustomShapeParameterType::NORMAL,
8630 : EnhancedCustomShapeParameterType::EQUATION,
8631 : 0, 7
8632 : },
8633 : {
8634 : EnhancedCustomShapeParameterType::EQUATION,
8635 : EnhancedCustomShapeParameterType::EQUATION,
8636 : 11, 7
8637 : },
8638 : {
8639 : EnhancedCustomShapeParameterType::NORMAL,
8640 : EnhancedCustomShapeParameterType::EQUATION,
8641 : 0, 7
8642 : },
8643 : {
8644 : EnhancedCustomShapeParameterType::EQUATION,
8645 : EnhancedCustomShapeParameterType::EQUATION,
8646 : 0, 2
8647 : },
8648 : {
8649 : EnhancedCustomShapeParameterType::EQUATION,
8650 : EnhancedCustomShapeParameterType::EQUATION,
8651 : 20, 21
8652 : },
8653 : {
8654 : EnhancedCustomShapeParameterType::EQUATION,
8655 : EnhancedCustomShapeParameterType::EQUATION,
8656 : 0, 2
8657 : },
8658 : {
8659 : EnhancedCustomShapeParameterType::EQUATION,
8660 : EnhancedCustomShapeParameterType::EQUATION,
8661 : 22, 23
8662 : },
8663 : {
8664 : EnhancedCustomShapeParameterType::EQUATION,
8665 : EnhancedCustomShapeParameterType::EQUATION,
8666 : 0, 2
8667 : },
8668 : {
8669 : EnhancedCustomShapeParameterType::EQUATION,
8670 : EnhancedCustomShapeParameterType::EQUATION,
8671 : 24, 25
8672 : },
8673 : {
8674 : EnhancedCustomShapeParameterType::EQUATION,
8675 : EnhancedCustomShapeParameterType::EQUATION,
8676 : 0, 2
8677 : },
8678 : {
8679 : EnhancedCustomShapeParameterType::EQUATION,
8680 : EnhancedCustomShapeParameterType::EQUATION,
8681 : 26, 27
8682 : }
8683 : };
8684 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8685 : }
8686 : {
8687 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
8688 : static const sal_uInt16 nValues[] = {
8689 : // Command, Count
8690 : 1,1,
8691 : 17,4,
8692 : 4,0,
8693 : 7,0,
8694 : 5,0,
8695 : 1,1,
8696 : 2,1,
8697 : 1,1,
8698 : 2,1,
8699 : 6,0,
8700 : 5,0,
8701 : 1,1,
8702 : 17,4,
8703 : 4,0,
8704 : 6,0,
8705 : 5,0
8706 : };
8707 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8708 : }
8709 : {
8710 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
8711 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8712 : {
8713 0 : EnhancedCustomShapeTextFrame aTextFrame;
8714 : {
8715 : static const CustomShapeProvider::ParameterPairData aData =
8716 : {
8717 : EnhancedCustomShapeParameterType::EQUATION,
8718 : EnhancedCustomShapeParameterType::EQUATION,
8719 : 5, 8
8720 : };
8721 0 : aTextFrame.TopLeft = createParameterPair(&aData);
8722 : }
8723 : {
8724 : static const CustomShapeProvider::ParameterPairData aData =
8725 : {
8726 : EnhancedCustomShapeParameterType::EQUATION,
8727 : EnhancedCustomShapeParameterType::EQUATION,
8728 : 6, 9
8729 : };
8730 0 : aTextFrame.BottomRight = createParameterPair(&aData);
8731 : }
8732 0 : aTextFrameSeq [0] = aTextFrame;
8733 : }
8734 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
8735 : }
8736 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
8737 : }
8738 : {
8739 0 : awt::Rectangle aRectangle;
8740 0 : aRectangle.X = 0;
8741 0 : aRectangle.Y = 0;
8742 0 : aRectangle.Width = 0;
8743 0 : aRectangle.Height = 0;
8744 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
8745 : }
8746 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOr");
8747 :
8748 0 : return aPropertyMap;
8749 : }
8750 : };
8751 3 : class ShapeCborderCallout3 : public CustomShapeProvider
8752 : {
8753 0 : virtual PropertyMap getProperties()
8754 : {
8755 0 : PropertyMap aPropertyMap;
8756 :
8757 : {
8758 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8);
8759 : {
8760 0 : Any aAny ((sal_Int32) 18750);
8761 0 : aAdjSequence [0].Value = aAny;
8762 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
8763 : }
8764 : {
8765 0 : Any aAny ((sal_Int32) -8333);
8766 0 : aAdjSequence [1].Value = aAny;
8767 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
8768 : }
8769 : {
8770 0 : Any aAny ((sal_Int32) 18750);
8771 0 : aAdjSequence [2].Value = aAny;
8772 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
8773 : }
8774 : {
8775 0 : Any aAny ((sal_Int32) -16667);
8776 0 : aAdjSequence [3].Value = aAny;
8777 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
8778 : }
8779 : {
8780 0 : Any aAny ((sal_Int32) 100000);
8781 0 : aAdjSequence [4].Value = aAny;
8782 0 : aAdjSequence [4].Name = CREATE_OUSTRING ("adj5");
8783 : }
8784 : {
8785 0 : Any aAny ((sal_Int32) -16667);
8786 0 : aAdjSequence [5].Value = aAny;
8787 0 : aAdjSequence [5].Name = CREATE_OUSTRING ("adj6");
8788 : }
8789 : {
8790 0 : Any aAny ((sal_Int32) 112963);
8791 0 : aAdjSequence [6].Value = aAny;
8792 0 : aAdjSequence [6].Name = CREATE_OUSTRING ("adj7");
8793 : }
8794 : {
8795 0 : Any aAny ((sal_Int32) -8333);
8796 0 : aAdjSequence [7].Value = aAny;
8797 0 : aAdjSequence [7].Name = CREATE_OUSTRING ("adj8");
8798 : }
8799 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8800 : }
8801 : {
8802 : static const char *aStrings[] = {
8803 : "logheight*$0 /100000",
8804 : "logwidth*$1 /100000",
8805 : "logheight*$2 /100000",
8806 : "logwidth*$3 /100000",
8807 : "logheight*$4 /100000",
8808 : "logwidth*$5 /100000",
8809 : "logheight*$6 /100000",
8810 : "logwidth*$7 /100000",
8811 : "logwidth",
8812 : "logheight/2",
8813 : "logwidth/2",
8814 : "logheight"
8815 : };
8816 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8817 : }
8818 : {
8819 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
8820 : {
8821 0 : Sequence< PropertyValue > aPropSequence (7);
8822 : {
8823 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8824 : static const CustomShapeProvider::ParameterPairData aData =
8825 : {
8826 : EnhancedCustomShapeParameterType::EQUATION,
8827 : EnhancedCustomShapeParameterType::EQUATION,
8828 : 1, 0
8829 : };
8830 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8831 : }
8832 : {
8833 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8834 0 : EnhancedCustomShapeParameter aParameter;
8835 0 : Any aAny ((sal_Int32) 2147483647);
8836 0 : aParameter.Value = aAny;
8837 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8838 0 : aPropSequence [1].Value = makeAny (aParameter);
8839 : }
8840 : {
8841 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8842 0 : EnhancedCustomShapeParameter aParameter;
8843 0 : Any aAny ((sal_Int32) -2147483647);
8844 0 : aParameter.Value = aAny;
8845 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8846 0 : aPropSequence [2].Value = makeAny (aParameter);
8847 : }
8848 : {
8849 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
8850 0 : EnhancedCustomShapeParameter aParameter;
8851 0 : Any aAny ((sal_Int32) 2147483647);
8852 0 : aParameter.Value = aAny;
8853 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8854 0 : aPropSequence [3].Value = makeAny (aParameter);
8855 : }
8856 : {
8857 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
8858 0 : EnhancedCustomShapeParameter aParameter;
8859 0 : Any aAny ((sal_Int32) -2147483647);
8860 0 : aParameter.Value = aAny;
8861 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8862 0 : aPropSequence [4].Value = makeAny (aParameter);
8863 : }
8864 : {
8865 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
8866 0 : Any aAny ((sal_Int32) 1);
8867 0 : aPropSequence [5].Value = makeAny (aAny);
8868 : }
8869 : {
8870 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
8871 0 : Any aAny ((sal_Int32) 0);
8872 0 : aPropSequence [6].Value = makeAny (aAny);
8873 : }
8874 0 : aPropSequenceSequence [0] = aPropSequence;
8875 : }
8876 : {
8877 0 : Sequence< PropertyValue > aPropSequence (7);
8878 : {
8879 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8880 : static const CustomShapeProvider::ParameterPairData aData =
8881 : {
8882 : EnhancedCustomShapeParameterType::EQUATION,
8883 : EnhancedCustomShapeParameterType::EQUATION,
8884 : 3, 2
8885 : };
8886 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8887 : }
8888 : {
8889 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8890 0 : EnhancedCustomShapeParameter aParameter;
8891 0 : Any aAny ((sal_Int32) 2147483647);
8892 0 : aParameter.Value = aAny;
8893 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8894 0 : aPropSequence [1].Value = makeAny (aParameter);
8895 : }
8896 : {
8897 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8898 0 : EnhancedCustomShapeParameter aParameter;
8899 0 : Any aAny ((sal_Int32) -2147483647);
8900 0 : aParameter.Value = aAny;
8901 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8902 0 : aPropSequence [2].Value = makeAny (aParameter);
8903 : }
8904 : {
8905 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
8906 0 : EnhancedCustomShapeParameter aParameter;
8907 0 : Any aAny ((sal_Int32) 2147483647);
8908 0 : aParameter.Value = aAny;
8909 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8910 0 : aPropSequence [3].Value = makeAny (aParameter);
8911 : }
8912 : {
8913 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
8914 0 : EnhancedCustomShapeParameter aParameter;
8915 0 : Any aAny ((sal_Int32) -2147483647);
8916 0 : aParameter.Value = aAny;
8917 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8918 0 : aPropSequence [4].Value = makeAny (aParameter);
8919 : }
8920 : {
8921 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
8922 0 : Any aAny ((sal_Int32) 3);
8923 0 : aPropSequence [5].Value = makeAny (aAny);
8924 : }
8925 : {
8926 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
8927 0 : Any aAny ((sal_Int32) 2);
8928 0 : aPropSequence [6].Value = makeAny (aAny);
8929 : }
8930 0 : aPropSequenceSequence [1] = aPropSequence;
8931 : }
8932 : {
8933 0 : Sequence< PropertyValue > aPropSequence (7);
8934 : {
8935 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8936 : static const CustomShapeProvider::ParameterPairData aData =
8937 : {
8938 : EnhancedCustomShapeParameterType::EQUATION,
8939 : EnhancedCustomShapeParameterType::EQUATION,
8940 : 5, 4
8941 : };
8942 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8943 : }
8944 : {
8945 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8946 0 : EnhancedCustomShapeParameter aParameter;
8947 0 : Any aAny ((sal_Int32) 2147483647);
8948 0 : aParameter.Value = aAny;
8949 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8950 0 : aPropSequence [1].Value = makeAny (aParameter);
8951 : }
8952 : {
8953 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8954 0 : EnhancedCustomShapeParameter aParameter;
8955 0 : Any aAny ((sal_Int32) -2147483647);
8956 0 : aParameter.Value = aAny;
8957 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8958 0 : aPropSequence [2].Value = makeAny (aParameter);
8959 : }
8960 : {
8961 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
8962 0 : EnhancedCustomShapeParameter aParameter;
8963 0 : Any aAny ((sal_Int32) 2147483647);
8964 0 : aParameter.Value = aAny;
8965 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8966 0 : aPropSequence [3].Value = makeAny (aParameter);
8967 : }
8968 : {
8969 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
8970 0 : EnhancedCustomShapeParameter aParameter;
8971 0 : Any aAny ((sal_Int32) -2147483647);
8972 0 : aParameter.Value = aAny;
8973 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8974 0 : aPropSequence [4].Value = makeAny (aParameter);
8975 : }
8976 : {
8977 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
8978 0 : Any aAny ((sal_Int32) 5);
8979 0 : aPropSequence [5].Value = makeAny (aAny);
8980 : }
8981 : {
8982 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
8983 0 : Any aAny ((sal_Int32) 4);
8984 0 : aPropSequence [6].Value = makeAny (aAny);
8985 : }
8986 0 : aPropSequenceSequence [2] = aPropSequence;
8987 : }
8988 : {
8989 0 : Sequence< PropertyValue > aPropSequence (7);
8990 : {
8991 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8992 : static const CustomShapeProvider::ParameterPairData aData =
8993 : {
8994 : EnhancedCustomShapeParameterType::EQUATION,
8995 : EnhancedCustomShapeParameterType::EQUATION,
8996 : 7, 6
8997 : };
8998 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8999 : }
9000 : {
9001 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
9002 0 : EnhancedCustomShapeParameter aParameter;
9003 0 : Any aAny ((sal_Int32) 2147483647);
9004 0 : aParameter.Value = aAny;
9005 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9006 0 : aPropSequence [1].Value = makeAny (aParameter);
9007 : }
9008 : {
9009 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
9010 0 : EnhancedCustomShapeParameter aParameter;
9011 0 : Any aAny ((sal_Int32) -2147483647);
9012 0 : aParameter.Value = aAny;
9013 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9014 0 : aPropSequence [2].Value = makeAny (aParameter);
9015 : }
9016 : {
9017 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
9018 0 : EnhancedCustomShapeParameter aParameter;
9019 0 : Any aAny ((sal_Int32) 2147483647);
9020 0 : aParameter.Value = aAny;
9021 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9022 0 : aPropSequence [3].Value = makeAny (aParameter);
9023 : }
9024 : {
9025 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
9026 0 : EnhancedCustomShapeParameter aParameter;
9027 0 : Any aAny ((sal_Int32) -2147483647);
9028 0 : aParameter.Value = aAny;
9029 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9030 0 : aPropSequence [4].Value = makeAny (aParameter);
9031 : }
9032 : {
9033 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
9034 0 : Any aAny ((sal_Int32) 7);
9035 0 : aPropSequence [5].Value = makeAny (aAny);
9036 : }
9037 : {
9038 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
9039 0 : Any aAny ((sal_Int32) 6);
9040 0 : aPropSequence [6].Value = makeAny (aAny);
9041 : }
9042 0 : aPropSequenceSequence [3] = aPropSequence;
9043 : }
9044 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
9045 : }
9046 : {
9047 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9048 : }
9049 : {
9050 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9051 : }
9052 : {
9053 0 : Sequence< PropertyValue > aPropSequence (3);
9054 : {
9055 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
9056 : static const CustomShapeProvider::ParameterPairData aData[] = {
9057 : {
9058 : EnhancedCustomShapeParameterType::NORMAL,
9059 : EnhancedCustomShapeParameterType::NORMAL,
9060 : 0, 0
9061 : },
9062 : {
9063 : EnhancedCustomShapeParameterType::EQUATION,
9064 : EnhancedCustomShapeParameterType::NORMAL,
9065 : 8, 0
9066 : },
9067 : {
9068 : EnhancedCustomShapeParameterType::EQUATION,
9069 : EnhancedCustomShapeParameterType::EQUATION,
9070 : 8, 11
9071 : },
9072 : {
9073 : EnhancedCustomShapeParameterType::NORMAL,
9074 : EnhancedCustomShapeParameterType::EQUATION,
9075 : 0, 11
9076 : },
9077 : {
9078 : EnhancedCustomShapeParameterType::EQUATION,
9079 : EnhancedCustomShapeParameterType::EQUATION,
9080 : 1, 0
9081 : },
9082 : {
9083 : EnhancedCustomShapeParameterType::EQUATION,
9084 : EnhancedCustomShapeParameterType::EQUATION,
9085 : 3, 2
9086 : },
9087 : {
9088 : EnhancedCustomShapeParameterType::EQUATION,
9089 : EnhancedCustomShapeParameterType::EQUATION,
9090 : 5, 4
9091 : },
9092 : {
9093 : EnhancedCustomShapeParameterType::EQUATION,
9094 : EnhancedCustomShapeParameterType::EQUATION,
9095 : 7, 6
9096 : }
9097 : };
9098 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9099 : }
9100 : {
9101 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
9102 : static const sal_uInt16 nValues[] = {
9103 : // Command, Count
9104 : 1,1,
9105 : 2,3,
9106 : 4,0,
9107 : 5,0,
9108 : 1,1,
9109 : 2,3,
9110 : 6,0,
9111 : 5,0
9112 : };
9113 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9114 : }
9115 : {
9116 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
9117 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9118 : {
9119 0 : EnhancedCustomShapeTextFrame aTextFrame;
9120 : {
9121 : static const CustomShapeProvider::ParameterPairData aData =
9122 : {
9123 : EnhancedCustomShapeParameterType::NORMAL,
9124 : EnhancedCustomShapeParameterType::NORMAL,
9125 : 0, 0
9126 : };
9127 0 : aTextFrame.TopLeft = createParameterPair(&aData);
9128 : }
9129 : {
9130 : static const CustomShapeProvider::ParameterPairData aData =
9131 : {
9132 : EnhancedCustomShapeParameterType::EQUATION,
9133 : EnhancedCustomShapeParameterType::EQUATION,
9134 : 8, 11
9135 : };
9136 0 : aTextFrame.BottomRight = createParameterPair(&aData);
9137 : }
9138 0 : aTextFrameSeq [0] = aTextFrame;
9139 : }
9140 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
9141 : }
9142 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
9143 : }
9144 : {
9145 0 : awt::Rectangle aRectangle;
9146 0 : aRectangle.X = 0;
9147 0 : aRectangle.Y = 0;
9148 0 : aRectangle.Width = 0;
9149 0 : aRectangle.Height = 0;
9150 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
9151 : }
9152 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-borderCallout3");
9153 :
9154 0 : return aPropertyMap;
9155 : }
9156 : };
9157 3 : class ShapeCupDownArrowCallout : public CustomShapeProvider
9158 : {
9159 0 : virtual PropertyMap getProperties()
9160 : {
9161 0 : PropertyMap aPropertyMap;
9162 :
9163 : {
9164 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
9165 : {
9166 0 : Any aAny ((sal_Int32) 25000);
9167 0 : aAdjSequence [0].Value = aAny;
9168 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
9169 : }
9170 : {
9171 0 : Any aAny ((sal_Int32) 25000);
9172 0 : aAdjSequence [1].Value = aAny;
9173 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
9174 : }
9175 : {
9176 0 : Any aAny ((sal_Int32) 25000);
9177 0 : aAdjSequence [2].Value = aAny;
9178 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
9179 : }
9180 : {
9181 0 : Any aAny ((sal_Int32) 48123);
9182 0 : aAdjSequence [3].Value = aAny;
9183 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
9184 : }
9185 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
9186 : }
9187 : {
9188 : static const char *aStrings[] = {
9189 : "min(logwidth,logheight)",
9190 : "50000*logwidth/?0 ",
9191 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
9192 : "?2 *2/1",
9193 : "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
9194 : "50000*logheight/?0 ",
9195 : "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
9196 : "logheight/2",
9197 : "?6 *?0 /?7 ",
9198 : "100000+0-?8 ",
9199 : "if(0-$3 ,0,if(?9 -$3 ,$3 ,?9 ))",
9200 : "?0 *?2 /100000",
9201 : "?0 *?4 /200000",
9202 : "logwidth/2",
9203 : "?13 +0-?11 ",
9204 : "?13 +0-?12 ",
9205 : "?13 +?12 -0",
9206 : "?13 +?11 -0",
9207 : "?0 *?6 /100000",
9208 : "logheight+0-?18 ",
9209 : "logheight*?10 /200000",
9210 : "logheight/2",
9211 : "?21 +0-?20 ",
9212 : "?21 +?20 -0",
9213 : "logwidth",
9214 : "logheight"
9215 : };
9216 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
9217 : }
9218 : {
9219 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
9220 : {
9221 0 : Sequence< PropertyValue > aPropSequence (4);
9222 : {
9223 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
9224 : static const CustomShapeProvider::ParameterPairData aData =
9225 : {
9226 : EnhancedCustomShapeParameterType::EQUATION,
9227 : EnhancedCustomShapeParameterType::EQUATION,
9228 : 15, 18
9229 : };
9230 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9231 : }
9232 : {
9233 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
9234 0 : EnhancedCustomShapeParameter aParameter;
9235 0 : Any aAny ((sal_Int32) 3);
9236 0 : aParameter.Value = aAny;
9237 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9238 0 : aPropSequence [1].Value = makeAny (aParameter);
9239 : }
9240 : {
9241 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
9242 0 : EnhancedCustomShapeParameter aParameter;
9243 0 : Any aAny ((sal_Int32) 0);
9244 0 : aParameter.Value = aAny;
9245 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9246 0 : aPropSequence [2].Value = makeAny (aParameter);
9247 : }
9248 : {
9249 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
9250 0 : Any aAny ((sal_Int32) 0);
9251 0 : aPropSequence [3].Value = makeAny (aAny);
9252 : }
9253 0 : aPropSequenceSequence [0] = aPropSequence;
9254 : }
9255 : {
9256 0 : Sequence< PropertyValue > aPropSequence (4);
9257 : {
9258 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
9259 : static const CustomShapeProvider::ParameterPairData aData =
9260 : {
9261 : EnhancedCustomShapeParameterType::EQUATION,
9262 : EnhancedCustomShapeParameterType::NORMAL,
9263 : 14, 0
9264 : };
9265 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9266 : }
9267 : {
9268 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
9269 0 : EnhancedCustomShapeParameter aParameter;
9270 0 : Any aAny ((sal_Int32) 1);
9271 0 : aParameter.Value = aAny;
9272 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9273 0 : aPropSequence [1].Value = makeAny (aParameter);
9274 : }
9275 : {
9276 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
9277 0 : EnhancedCustomShapeParameter aParameter;
9278 0 : Any aAny ((sal_Int32) 0);
9279 0 : aParameter.Value = aAny;
9280 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9281 0 : aPropSequence [2].Value = makeAny (aParameter);
9282 : }
9283 : {
9284 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
9285 0 : Any aAny ((sal_Int32) 1);
9286 0 : aPropSequence [3].Value = makeAny (aAny);
9287 : }
9288 0 : aPropSequenceSequence [1] = aPropSequence;
9289 : }
9290 : {
9291 0 : Sequence< PropertyValue > aPropSequence (4);
9292 : {
9293 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
9294 : static const CustomShapeProvider::ParameterPairData aData =
9295 : {
9296 : EnhancedCustomShapeParameterType::EQUATION,
9297 : EnhancedCustomShapeParameterType::EQUATION,
9298 : 24, 18
9299 : };
9300 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9301 : }
9302 : {
9303 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
9304 0 : EnhancedCustomShapeParameter aParameter;
9305 0 : Any aAny ((sal_Int32) 5);
9306 0 : aParameter.Value = aAny;
9307 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9308 0 : aPropSequence [1].Value = makeAny (aParameter);
9309 : }
9310 : {
9311 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
9312 0 : EnhancedCustomShapeParameter aParameter;
9313 0 : Any aAny ((sal_Int32) 0);
9314 0 : aParameter.Value = aAny;
9315 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9316 0 : aPropSequence [2].Value = makeAny (aParameter);
9317 : }
9318 : {
9319 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
9320 0 : Any aAny ((sal_Int32) 2);
9321 0 : aPropSequence [3].Value = makeAny (aAny);
9322 : }
9323 0 : aPropSequenceSequence [2] = aPropSequence;
9324 : }
9325 : {
9326 0 : Sequence< PropertyValue > aPropSequence (4);
9327 : {
9328 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
9329 : static const CustomShapeProvider::ParameterPairData aData =
9330 : {
9331 : EnhancedCustomShapeParameterType::NORMAL,
9332 : EnhancedCustomShapeParameterType::EQUATION,
9333 : 0, 22
9334 : };
9335 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9336 : }
9337 : {
9338 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
9339 0 : EnhancedCustomShapeParameter aParameter;
9340 0 : Any aAny ((sal_Int32) 9);
9341 0 : aParameter.Value = aAny;
9342 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9343 0 : aPropSequence [1].Value = makeAny (aParameter);
9344 : }
9345 : {
9346 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
9347 0 : EnhancedCustomShapeParameter aParameter;
9348 0 : Any aAny ((sal_Int32) 0);
9349 0 : aParameter.Value = aAny;
9350 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9351 0 : aPropSequence [2].Value = makeAny (aParameter);
9352 : }
9353 : {
9354 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
9355 0 : Any aAny ((sal_Int32) 3);
9356 0 : aPropSequence [3].Value = makeAny (aAny);
9357 : }
9358 0 : aPropSequenceSequence [3] = aPropSequence;
9359 : }
9360 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
9361 : }
9362 : {
9363 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9364 : }
9365 : {
9366 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9367 : }
9368 : {
9369 0 : Sequence< PropertyValue > aPropSequence (3);
9370 : {
9371 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
9372 : static const CustomShapeProvider::ParameterPairData aData[] = {
9373 : {
9374 : EnhancedCustomShapeParameterType::NORMAL,
9375 : EnhancedCustomShapeParameterType::EQUATION,
9376 : 0, 22
9377 : },
9378 : {
9379 : EnhancedCustomShapeParameterType::EQUATION,
9380 : EnhancedCustomShapeParameterType::EQUATION,
9381 : 15, 22
9382 : },
9383 : {
9384 : EnhancedCustomShapeParameterType::EQUATION,
9385 : EnhancedCustomShapeParameterType::EQUATION,
9386 : 15, 18
9387 : },
9388 : {
9389 : EnhancedCustomShapeParameterType::EQUATION,
9390 : EnhancedCustomShapeParameterType::EQUATION,
9391 : 14, 18
9392 : },
9393 : {
9394 : EnhancedCustomShapeParameterType::EQUATION,
9395 : EnhancedCustomShapeParameterType::NORMAL,
9396 : 13, 0
9397 : },
9398 : {
9399 : EnhancedCustomShapeParameterType::EQUATION,
9400 : EnhancedCustomShapeParameterType::EQUATION,
9401 : 17, 18
9402 : },
9403 : {
9404 : EnhancedCustomShapeParameterType::EQUATION,
9405 : EnhancedCustomShapeParameterType::EQUATION,
9406 : 16, 18
9407 : },
9408 : {
9409 : EnhancedCustomShapeParameterType::EQUATION,
9410 : EnhancedCustomShapeParameterType::EQUATION,
9411 : 16, 22
9412 : },
9413 : {
9414 : EnhancedCustomShapeParameterType::EQUATION,
9415 : EnhancedCustomShapeParameterType::EQUATION,
9416 : 24, 22
9417 : },
9418 : {
9419 : EnhancedCustomShapeParameterType::EQUATION,
9420 : EnhancedCustomShapeParameterType::EQUATION,
9421 : 24, 23
9422 : },
9423 : {
9424 : EnhancedCustomShapeParameterType::EQUATION,
9425 : EnhancedCustomShapeParameterType::EQUATION,
9426 : 16, 23
9427 : },
9428 : {
9429 : EnhancedCustomShapeParameterType::EQUATION,
9430 : EnhancedCustomShapeParameterType::EQUATION,
9431 : 16, 19
9432 : },
9433 : {
9434 : EnhancedCustomShapeParameterType::EQUATION,
9435 : EnhancedCustomShapeParameterType::EQUATION,
9436 : 17, 19
9437 : },
9438 : {
9439 : EnhancedCustomShapeParameterType::EQUATION,
9440 : EnhancedCustomShapeParameterType::EQUATION,
9441 : 13, 25
9442 : },
9443 : {
9444 : EnhancedCustomShapeParameterType::EQUATION,
9445 : EnhancedCustomShapeParameterType::EQUATION,
9446 : 14, 19
9447 : },
9448 : {
9449 : EnhancedCustomShapeParameterType::EQUATION,
9450 : EnhancedCustomShapeParameterType::EQUATION,
9451 : 15, 19
9452 : },
9453 : {
9454 : EnhancedCustomShapeParameterType::EQUATION,
9455 : EnhancedCustomShapeParameterType::EQUATION,
9456 : 15, 23
9457 : },
9458 : {
9459 : EnhancedCustomShapeParameterType::NORMAL,
9460 : EnhancedCustomShapeParameterType::EQUATION,
9461 : 0, 23
9462 : }
9463 : };
9464 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9465 : }
9466 : {
9467 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
9468 : static const sal_uInt16 nValues[] = {
9469 : // Command, Count
9470 : 1,1,
9471 : 2,17,
9472 : 4,0,
9473 : 5,0
9474 : };
9475 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9476 : }
9477 : {
9478 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
9479 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9480 : {
9481 0 : EnhancedCustomShapeTextFrame aTextFrame;
9482 : {
9483 : static const CustomShapeProvider::ParameterPairData aData =
9484 : {
9485 : EnhancedCustomShapeParameterType::NORMAL,
9486 : EnhancedCustomShapeParameterType::EQUATION,
9487 : 0, 22
9488 : };
9489 0 : aTextFrame.TopLeft = createParameterPair(&aData);
9490 : }
9491 : {
9492 : static const CustomShapeProvider::ParameterPairData aData =
9493 : {
9494 : EnhancedCustomShapeParameterType::EQUATION,
9495 : EnhancedCustomShapeParameterType::EQUATION,
9496 : 24, 23
9497 : };
9498 0 : aTextFrame.BottomRight = createParameterPair(&aData);
9499 : }
9500 0 : aTextFrameSeq [0] = aTextFrame;
9501 : }
9502 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
9503 : }
9504 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
9505 : }
9506 : {
9507 0 : awt::Rectangle aRectangle;
9508 0 : aRectangle.X = 0;
9509 0 : aRectangle.Y = 0;
9510 0 : aRectangle.Width = 0;
9511 0 : aRectangle.Height = 0;
9512 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
9513 : }
9514 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-upDownArrowCallout");
9515 :
9516 0 : return aPropertyMap;
9517 : }
9518 : };
9519 3 : class ShapeCflowChartDecision : public CustomShapeProvider
9520 : {
9521 0 : virtual PropertyMap getProperties()
9522 : {
9523 0 : PropertyMap aPropertyMap;
9524 :
9525 : {
9526 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
9527 : }
9528 : {
9529 : static const char *aStrings[] = {
9530 : "logwidth*3/4",
9531 : "logheight*3/4",
9532 : "logwidth/2",
9533 : "logheight/2",
9534 : "logheight",
9535 : "logwidth",
9536 : "logwidth/4",
9537 : "logheight/4"
9538 : };
9539 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
9540 : }
9541 : {
9542 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
9543 : }
9544 : {
9545 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9546 : }
9547 : {
9548 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9549 : }
9550 : {
9551 0 : Sequence< PropertyValue > aPropSequence (4);
9552 : {
9553 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
9554 : static const CustomShapeProvider::ParameterPairData aData[] = {
9555 : {
9556 : EnhancedCustomShapeParameterType::NORMAL,
9557 : EnhancedCustomShapeParameterType::NORMAL,
9558 : 0, 1
9559 : },
9560 : {
9561 : EnhancedCustomShapeParameterType::NORMAL,
9562 : EnhancedCustomShapeParameterType::NORMAL,
9563 : 1, 0
9564 : },
9565 : {
9566 : EnhancedCustomShapeParameterType::NORMAL,
9567 : EnhancedCustomShapeParameterType::NORMAL,
9568 : 2, 1
9569 : },
9570 : {
9571 : EnhancedCustomShapeParameterType::NORMAL,
9572 : EnhancedCustomShapeParameterType::NORMAL,
9573 : 1, 2
9574 : }
9575 : };
9576 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9577 : }
9578 : {
9579 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
9580 : static const sal_uInt16 nValues[] = {
9581 : // Command, Count
9582 : 1,1,
9583 : 2,3,
9584 : 4,0,
9585 : 5,0
9586 : };
9587 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9588 : }
9589 : {
9590 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
9591 0 : Sequence< awt::Size > aSizeSequence (1);
9592 : {
9593 0 : awt::Size aSize;
9594 0 : aSize.Width = 2;
9595 0 : aSize.Height = 2;
9596 0 : aSizeSequence [0] = aSize;
9597 : }
9598 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
9599 : }
9600 : {
9601 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
9602 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9603 : {
9604 0 : EnhancedCustomShapeTextFrame aTextFrame;
9605 : {
9606 : static const CustomShapeProvider::ParameterPairData aData =
9607 : {
9608 : EnhancedCustomShapeParameterType::EQUATION,
9609 : EnhancedCustomShapeParameterType::EQUATION,
9610 : 6, 7
9611 : };
9612 0 : aTextFrame.TopLeft = createParameterPair(&aData);
9613 : }
9614 : {
9615 : static const CustomShapeProvider::ParameterPairData aData =
9616 : {
9617 : EnhancedCustomShapeParameterType::EQUATION,
9618 : EnhancedCustomShapeParameterType::EQUATION,
9619 : 0, 1
9620 : };
9621 0 : aTextFrame.BottomRight = createParameterPair(&aData);
9622 : }
9623 0 : aTextFrameSeq [0] = aTextFrame;
9624 : }
9625 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
9626 : }
9627 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
9628 : }
9629 : {
9630 0 : awt::Rectangle aRectangle;
9631 0 : aRectangle.X = 0;
9632 0 : aRectangle.Y = 0;
9633 0 : aRectangle.Width = 0;
9634 0 : aRectangle.Height = 0;
9635 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
9636 : }
9637 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDecision");
9638 :
9639 0 : return aPropertyMap;
9640 : }
9641 : };
9642 : } // anonymous namespace
9643 3 : void CustomShapeProperties::initializePresetsMap1()
9644 : {
9645 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonSound" ) ] = new ShapeCactionButtonSound();
9646 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout1" ) ] = new ShapeCborderCallout1();
9647 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaqueTabs" ) ] = new ShapeCplaqueTabs();
9648 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedLeftArrow" ) ] = new ShapeCcurvedLeftArrow();
9649 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "octagon" ) ] = new ShapeCoctagon();
9650 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightRibbon" ) ] = new ShapeCleftRightRibbon();
9651 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonInformation" ) ] = new ShapeCactionButtonInformation();
9652 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector5" ) ] = new ShapeCbentConnector5();
9653 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "circularArrow" ) ] = new ShapeCcircularArrow();
9654 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrowCallout" ) ] = new ShapeCdownArrowCallout();
9655 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathMinus" ) ] = new ShapeCmathMinus();
9656 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "gear9" ) ] = new ShapeCgear9();
9657 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round1Rect" ) ] = new ShapeCround1Rect();
9658 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "sun" ) ] = new ShapeCsun();
9659 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaque" ) ] = new ShapeCplaque();
9660 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chevron" ) ] = new ShapeCchevron();
9661 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPreparation" ) ] = new ShapeCflowChartPreparation();
9662 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "diagStripe" ) ] = new ShapeCdiagStripe();
9663 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pentagon" ) ] = new ShapeCpentagon();
9664 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "funnel" ) ] = new ShapeCfunnel();
9665 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartStar" ) ] = new ShapeCchartStar();
9666 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout1" ) ] = new ShapeCaccentBorderCallout1();
9667 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "notchedRightArrow" ) ] = new ShapeCnotchedRightArrow();
9668 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBracket" ) ] = new ShapeCrightBracket();
9669 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOffpageConnector" ) ] = new ShapeCflowChartOffpageConnector();
9670 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightArrow" ) ] = new ShapeCleftRightArrow();
9671 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "decagon" ) ] = new ShapeCdecagon();
9672 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonHelp" ) ] = new ShapeCactionButtonHelp();
9673 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star24" ) ] = new ShapeCstar24();
9674 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathDivide" ) ] = new ShapeCmathDivide();
9675 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector4" ) ] = new ShapeCcurvedConnector4();
9676 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOr" ) ] = new ShapeCflowChartOr();
9677 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout3" ) ] = new ShapeCborderCallout3();
9678 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upDownArrowCallout" ) ] = new ShapeCupDownArrowCallout();
9679 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDecision" ) ] = new ShapeCflowChartDecision();
9680 3 : }
9681 :
9682 51 : } } // oox // drawingml
9683 :
|