update credits
[LibreOffice.git] / oox / source / drawingml / customshapepresets3.cxx
blob7208cf125a53e6ebc2fea8c4cf6beb99b7b004c4
1 // this file was generated by: ./generatePresetsCXX.pl
2 // please do not edit
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>
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;
18 namespace oox { namespace drawingml {
20 namespace
22 class ShapeCround2SameRect : public CustomShapeProvider
24 virtual PropertyMap getProperties()
26 PropertyMap aPropertyMap;
29 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
31 Any aAny ((sal_Int32) 16667);
32 aAdjSequence [0].Value = aAny;
33 aAdjSequence [0].Name = "adj1";
36 Any aAny ((sal_Int32) 0);
37 aAdjSequence [1].Value = aAny;
38 aAdjSequence [1].Name = "adj2";
40 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
43 static const char *aStrings[] = {
44 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
45 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
46 "min(logwidth,logheight)",
47 "?2 *?0 /100000",
48 "logwidth+0-?3 ",
49 "?2 *?1 /100000",
50 "logwidth+0-?5 ",
51 "logheight+0-?5 ",
52 "?3 +0-?5 ",
53 "?3 *29289/100000",
54 "?5 *29289/100000",
55 "if(?8 ,?9 ,?10 )",
56 "logwidth+0-?11 ",
57 "logheight+0-?10 ",
58 "logheight",
59 "logwidth",
60 "logheight/2",
61 "logwidth/2",
62 "(16200000)/60000.0",
63 "(5400000)/60000.0",
64 "(0)/60000.0",
65 "(5400000)/60000.0",
66 "(5400000)/60000.0",
67 "(5400000)/60000.0",
68 "(10800000)/60000.0",
69 "(5400000)/60000.0"
71 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
74 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
76 Sequence< PropertyValue > aPropSequence (4);
78 aPropSequence [0].Name = "Position";
79 static const CustomShapeProvider::ParameterPairData aData =
81 EnhancedCustomShapeParameterType::EQUATION,
82 EnhancedCustomShapeParameterType::NORMAL,
83 4, 0
85 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
88 aPropSequence [1].Name = "RangeXMaximum";
89 EnhancedCustomShapeParameter aParameter;
90 Any aAny ((sal_Int32) 50000);
91 aParameter.Value = aAny;
92 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
93 aPropSequence [1].Value = makeAny (aParameter);
96 aPropSequence [2].Name = "RangeXMinimum";
97 EnhancedCustomShapeParameter aParameter;
98 Any aAny ((sal_Int32) 0);
99 aParameter.Value = aAny;
100 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
101 aPropSequence [2].Value = makeAny (aParameter);
104 aPropSequence [3].Name = "RefX";
105 Any aAny ((sal_Int32) 0);
106 aPropSequence [3].Value = makeAny (aAny);
108 aPropSequenceSequence [0] = aPropSequence;
111 Sequence< PropertyValue > aPropSequence (4);
113 aPropSequence [0].Name = "Position";
114 static const CustomShapeProvider::ParameterPairData aData =
116 EnhancedCustomShapeParameterType::EQUATION,
117 EnhancedCustomShapeParameterType::EQUATION,
118 5, 14
120 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
123 aPropSequence [1].Name = "RangeXMaximum";
124 EnhancedCustomShapeParameter aParameter;
125 Any aAny ((sal_Int32) 50000);
126 aParameter.Value = aAny;
127 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
128 aPropSequence [1].Value = makeAny (aParameter);
131 aPropSequence [2].Name = "RangeXMinimum";
132 EnhancedCustomShapeParameter aParameter;
133 Any aAny ((sal_Int32) 0);
134 aParameter.Value = aAny;
135 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
136 aPropSequence [2].Value = makeAny (aParameter);
139 aPropSequence [3].Name = "RefX";
140 Any aAny ((sal_Int32) 1);
141 aPropSequence [3].Value = makeAny (aAny);
143 aPropSequenceSequence [1] = aPropSequence;
145 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
148 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
151 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
154 Sequence< PropertyValue > aPropSequence (3);
156 aPropSequence [0].Name = "Coordinates";
157 static const CustomShapeProvider::ParameterPairData aData[] = {
159 EnhancedCustomShapeParameterType::EQUATION,
160 EnhancedCustomShapeParameterType::NORMAL,
161 3, 0
164 EnhancedCustomShapeParameterType::EQUATION,
165 EnhancedCustomShapeParameterType::NORMAL,
166 4, 0
169 EnhancedCustomShapeParameterType::EQUATION,
170 EnhancedCustomShapeParameterType::EQUATION,
171 3, 3
174 EnhancedCustomShapeParameterType::EQUATION,
175 EnhancedCustomShapeParameterType::EQUATION,
176 18, 19
179 EnhancedCustomShapeParameterType::EQUATION,
180 EnhancedCustomShapeParameterType::EQUATION,
181 15, 7
184 EnhancedCustomShapeParameterType::EQUATION,
185 EnhancedCustomShapeParameterType::EQUATION,
186 5, 5
189 EnhancedCustomShapeParameterType::EQUATION,
190 EnhancedCustomShapeParameterType::EQUATION,
191 20, 21
194 EnhancedCustomShapeParameterType::EQUATION,
195 EnhancedCustomShapeParameterType::EQUATION,
196 5, 14
199 EnhancedCustomShapeParameterType::EQUATION,
200 EnhancedCustomShapeParameterType::EQUATION,
201 5, 5
204 EnhancedCustomShapeParameterType::EQUATION,
205 EnhancedCustomShapeParameterType::EQUATION,
206 22, 23
209 EnhancedCustomShapeParameterType::NORMAL,
210 EnhancedCustomShapeParameterType::EQUATION,
211 0, 3
214 EnhancedCustomShapeParameterType::EQUATION,
215 EnhancedCustomShapeParameterType::EQUATION,
216 3, 3
219 EnhancedCustomShapeParameterType::EQUATION,
220 EnhancedCustomShapeParameterType::EQUATION,
221 24, 25
224 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
227 aPropSequence [1].Name = "Segments";
228 static const sal_uInt16 nValues[] = {
229 // Command, Count
230 1,1,
231 2,1,
232 17,1,
233 2,1,
234 17,1,
235 2,1,
236 17,1,
237 2,1,
238 17,1,
239 4,0,
242 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
245 aPropSequence [2].Name = "TextFrames";
246 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
248 EnhancedCustomShapeTextFrame aTextFrame;
250 static const CustomShapeProvider::ParameterPairData aData =
252 EnhancedCustomShapeParameterType::EQUATION,
253 EnhancedCustomShapeParameterType::EQUATION,
254 11, 9
256 aTextFrame.TopLeft = createParameterPair(&aData);
259 static const CustomShapeProvider::ParameterPairData aData =
261 EnhancedCustomShapeParameterType::EQUATION,
262 EnhancedCustomShapeParameterType::EQUATION,
263 12, 13
265 aTextFrame.BottomRight = createParameterPair(&aData);
267 aTextFrameSeq [0] = aTextFrame;
269 aPropSequence [2].Value = makeAny (aTextFrameSeq);
271 aPropertyMap [PROP_Path] <<= aPropSequence;
274 awt::Rectangle aRectangle;
275 aRectangle.X = 0;
276 aRectangle.Y = 0;
277 aRectangle.Width = 0;
278 aRectangle.Height = 0;
279 aPropertyMap [PROP_ViewBox] <<= aRectangle;
281 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-round2SameRect");
283 return aPropertyMap;
286 class ShapeCnonIsoscelesTrapezoid : public CustomShapeProvider
288 virtual PropertyMap getProperties()
290 PropertyMap aPropertyMap;
293 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
295 Any aAny ((sal_Int32) 25000);
296 aAdjSequence [0].Value = aAny;
297 aAdjSequence [0].Name = "adj1";
300 Any aAny ((sal_Int32) 25000);
301 aAdjSequence [1].Value = aAny;
302 aAdjSequence [1].Name = "adj2";
304 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
307 static const char *aStrings[] = {
308 "min(logwidth,logheight)",
309 "50000*logwidth/?0 ",
310 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
311 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
312 "?0 *?2 /200000",
313 "?0 *?2 /100000",
314 "?0 *?3 /100000",
315 "logwidth+0-?6 ",
316 "(logwidth+?7 )/2",
317 "logwidth/3",
318 "?9 *?2 /?1 ",
319 "max(?2 ,?3 )",
320 "logheight/3",
321 "?12 *?11 /?1 ",
322 "?9 *?3 /?1 ",
323 "logwidth+0-?14 ",
324 "logheight/2",
325 "logwidth/2",
326 "logheight",
327 "logwidth"
329 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
332 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
334 Sequence< PropertyValue > aPropSequence (4);
336 aPropSequence [0].Name = "Position";
337 static const CustomShapeProvider::ParameterPairData aData =
339 EnhancedCustomShapeParameterType::EQUATION,
340 EnhancedCustomShapeParameterType::NORMAL,
341 5, 0
343 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
346 aPropSequence [1].Name = "RangeXMaximum";
347 EnhancedCustomShapeParameter aParameter;
348 Any aAny ((sal_Int32) 1);
349 aParameter.Value = aAny;
350 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
351 aPropSequence [1].Value = makeAny (aParameter);
354 aPropSequence [2].Name = "RangeXMinimum";
355 EnhancedCustomShapeParameter aParameter;
356 Any aAny ((sal_Int32) 0);
357 aParameter.Value = aAny;
358 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
359 aPropSequence [2].Value = makeAny (aParameter);
362 aPropSequence [3].Name = "RefX";
363 Any aAny ((sal_Int32) 0);
364 aPropSequence [3].Value = makeAny (aAny);
366 aPropSequenceSequence [0] = aPropSequence;
369 Sequence< PropertyValue > aPropSequence (4);
371 aPropSequence [0].Name = "Position";
372 static const CustomShapeProvider::ParameterPairData aData =
374 EnhancedCustomShapeParameterType::EQUATION,
375 EnhancedCustomShapeParameterType::NORMAL,
376 7, 0
378 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
381 aPropSequence [1].Name = "RangeXMaximum";
382 EnhancedCustomShapeParameter aParameter;
383 Any aAny ((sal_Int32) 1);
384 aParameter.Value = aAny;
385 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
386 aPropSequence [1].Value = makeAny (aParameter);
389 aPropSequence [2].Name = "RangeXMinimum";
390 EnhancedCustomShapeParameter aParameter;
391 Any aAny ((sal_Int32) 0);
392 aParameter.Value = aAny;
393 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
394 aPropSequence [2].Value = makeAny (aParameter);
397 aPropSequence [3].Name = "RefX";
398 Any aAny ((sal_Int32) 1);
399 aPropSequence [3].Value = makeAny (aAny);
401 aPropSequenceSequence [1] = aPropSequence;
403 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
406 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
409 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
412 Sequence< PropertyValue > aPropSequence (3);
414 aPropSequence [0].Name = "Coordinates";
415 static const CustomShapeProvider::ParameterPairData aData[] = {
417 EnhancedCustomShapeParameterType::NORMAL,
418 EnhancedCustomShapeParameterType::EQUATION,
419 0, 18
422 EnhancedCustomShapeParameterType::EQUATION,
423 EnhancedCustomShapeParameterType::NORMAL,
424 5, 0
427 EnhancedCustomShapeParameterType::EQUATION,
428 EnhancedCustomShapeParameterType::NORMAL,
429 7, 0
432 EnhancedCustomShapeParameterType::EQUATION,
433 EnhancedCustomShapeParameterType::EQUATION,
434 19, 18
437 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
440 aPropSequence [1].Name = "Segments";
441 static const sal_uInt16 nValues[] = {
442 // Command, Count
443 1,1,
444 2,3,
445 4,0,
448 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
451 aPropSequence [2].Name = "TextFrames";
452 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
454 EnhancedCustomShapeTextFrame aTextFrame;
456 static const CustomShapeProvider::ParameterPairData aData =
458 EnhancedCustomShapeParameterType::EQUATION,
459 EnhancedCustomShapeParameterType::EQUATION,
460 10, 13
462 aTextFrame.TopLeft = createParameterPair(&aData);
465 static const CustomShapeProvider::ParameterPairData aData =
467 EnhancedCustomShapeParameterType::EQUATION,
468 EnhancedCustomShapeParameterType::EQUATION,
469 15, 18
471 aTextFrame.BottomRight = createParameterPair(&aData);
473 aTextFrameSeq [0] = aTextFrame;
475 aPropSequence [2].Value = makeAny (aTextFrameSeq);
477 aPropertyMap [PROP_Path] <<= aPropSequence;
480 awt::Rectangle aRectangle;
481 aRectangle.X = 0;
482 aRectangle.Y = 0;
483 aRectangle.Width = 0;
484 aRectangle.Height = 0;
485 aPropertyMap [PROP_ViewBox] <<= aRectangle;
487 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-nonIsoscelesTrapezoid");
489 return aPropertyMap;
492 class ShapeCdiamond : public CustomShapeProvider
494 virtual PropertyMap getProperties()
496 PropertyMap aPropertyMap;
499 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
502 static const char *aStrings[] = {
503 "logwidth*3/4",
504 "logheight*3/4",
505 "logwidth/2",
506 "logheight/2",
507 "logheight",
508 "logwidth",
509 "logwidth/4",
510 "logheight/4"
512 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
515 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
518 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
521 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
524 Sequence< PropertyValue > aPropSequence (3);
526 aPropSequence [0].Name = "Coordinates";
527 static const CustomShapeProvider::ParameterPairData aData[] = {
529 EnhancedCustomShapeParameterType::NORMAL,
530 EnhancedCustomShapeParameterType::EQUATION,
531 0, 3
534 EnhancedCustomShapeParameterType::EQUATION,
535 EnhancedCustomShapeParameterType::NORMAL,
536 2, 0
539 EnhancedCustomShapeParameterType::EQUATION,
540 EnhancedCustomShapeParameterType::EQUATION,
541 5, 3
544 EnhancedCustomShapeParameterType::EQUATION,
545 EnhancedCustomShapeParameterType::EQUATION,
546 2, 4
549 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
552 aPropSequence [1].Name = "Segments";
553 static const sal_uInt16 nValues[] = {
554 // Command, Count
555 1,1,
556 2,3,
557 4,0,
560 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
563 aPropSequence [2].Name = "TextFrames";
564 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
566 EnhancedCustomShapeTextFrame aTextFrame;
568 static const CustomShapeProvider::ParameterPairData aData =
570 EnhancedCustomShapeParameterType::EQUATION,
571 EnhancedCustomShapeParameterType::EQUATION,
572 6, 7
574 aTextFrame.TopLeft = createParameterPair(&aData);
577 static const CustomShapeProvider::ParameterPairData aData =
579 EnhancedCustomShapeParameterType::EQUATION,
580 EnhancedCustomShapeParameterType::EQUATION,
581 0, 1
583 aTextFrame.BottomRight = createParameterPair(&aData);
585 aTextFrameSeq [0] = aTextFrame;
587 aPropSequence [2].Value = makeAny (aTextFrameSeq);
589 aPropertyMap [PROP_Path] <<= aPropSequence;
592 awt::Rectangle aRectangle;
593 aRectangle.X = 0;
594 aRectangle.Y = 0;
595 aRectangle.Width = 0;
596 aRectangle.Height = 0;
597 aPropertyMap [PROP_ViewBox] <<= aRectangle;
599 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-diamond");
601 return aPropertyMap;
604 class ShapeCellipseRibbon : public CustomShapeProvider
606 virtual PropertyMap getProperties()
608 PropertyMap aPropertyMap;
611 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
613 Any aAny ((sal_Int32) 25000);
614 aAdjSequence [0].Value = aAny;
615 aAdjSequence [0].Name = "adj1";
618 Any aAny ((sal_Int32) 50000);
619 aAdjSequence [1].Value = aAny;
620 aAdjSequence [1].Name = "adj2";
623 Any aAny ((sal_Int32) 12500);
624 aAdjSequence [2].Value = aAny;
625 aAdjSequence [2].Name = "adj3";
627 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
630 static const char *aStrings[] = {
631 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
632 "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
633 "100000+0-?0 ",
634 "?2 *1/2",
635 "?0 +0-?3 ",
636 "max(0,?4 )",
637 "if(?5 -$2 ,?5 ,if(?0 -$2 ,$2 ,?0 ))",
638 "logwidth*?1 /200000",
639 "logwidth/2",
640 "?8 +0-?7 ",
641 "logwidth/8",
642 "?9 +?10 -0",
643 "logwidth+0-?11 ",
644 "logwidth+0-?9 ",
645 "logwidth+0-?10 ",
646 "logheight*?6 /100000",
647 "4*?15 /logwidth",
648 "?11 *?11 /logwidth",
649 "?11 +0-?17 ",
650 "?16 *?18 /1",
651 "?11 *1/2",
652 "?16 *?20 /1",
653 "logwidth+0-?20 ",
654 "logheight*?0 /100000",
655 "?23 +0-?15 ",
656 "?9 *?9 /logwidth",
657 "?9 +0-?25 ",
658 "?16 *?26 /1",
659 "?27 +?24 -0",
660 "?15 +?24 -?28 ",
661 "?29 +?15 -0",
662 "?30 +?24 -0",
663 "logheight+0-?23 ",
664 "?15 *14/16",
665 "(?33 +?32 )/2",
666 "?27 +?32 -0",
667 "?28 +?32 -0",
668 "?9 *1/2",
669 "?16 *?37 /1",
670 "?38 +?32 -0",
671 "logwidth+0-?37 ",
672 "?31 +?32 -0",
673 "?19 +?24 -0",
674 "?23 +?23 -?42 ",
675 "logheight+0-?15 ",
676 "logheight",
677 "logwidth"
679 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
682 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
684 Sequence< PropertyValue > aPropSequence (4);
686 aPropSequence [0].Name = "Position";
687 static const CustomShapeProvider::ParameterPairData aData =
689 EnhancedCustomShapeParameterType::EQUATION,
690 EnhancedCustomShapeParameterType::EQUATION,
691 8, 23
693 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
696 aPropSequence [1].Name = "RangeYMaximum";
697 EnhancedCustomShapeParameter aParameter;
698 Any aAny ((sal_Int32) 100000);
699 aParameter.Value = aAny;
700 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
701 aPropSequence [1].Value = makeAny (aParameter);
704 aPropSequence [2].Name = "RangeYMinimum";
705 EnhancedCustomShapeParameter aParameter;
706 Any aAny ((sal_Int32) 0);
707 aParameter.Value = aAny;
708 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
709 aPropSequence [2].Value = makeAny (aParameter);
712 aPropSequence [3].Name = "RefY";
713 Any aAny ((sal_Int32) 0);
714 aPropSequence [3].Value = makeAny (aAny);
716 aPropSequenceSequence [0] = aPropSequence;
719 Sequence< PropertyValue > aPropSequence (4);
721 aPropSequence [0].Name = "Position";
722 static const CustomShapeProvider::ParameterPairData aData =
724 EnhancedCustomShapeParameterType::EQUATION,
725 EnhancedCustomShapeParameterType::EQUATION,
726 9, 45
728 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
731 aPropSequence [1].Name = "RangeXMaximum";
732 EnhancedCustomShapeParameter aParameter;
733 Any aAny ((sal_Int32) 75000);
734 aParameter.Value = aAny;
735 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
736 aPropSequence [1].Value = makeAny (aParameter);
739 aPropSequence [2].Name = "RangeXMinimum";
740 EnhancedCustomShapeParameter aParameter;
741 Any aAny ((sal_Int32) 25000);
742 aParameter.Value = aAny;
743 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
744 aPropSequence [2].Value = makeAny (aParameter);
747 aPropSequence [3].Name = "RefX";
748 Any aAny ((sal_Int32) 1);
749 aPropSequence [3].Value = makeAny (aAny);
751 aPropSequenceSequence [1] = aPropSequence;
754 Sequence< PropertyValue > aPropSequence (4);
756 aPropSequence [0].Name = "Position";
757 static const CustomShapeProvider::ParameterPairData aData =
759 EnhancedCustomShapeParameterType::NORMAL,
760 EnhancedCustomShapeParameterType::EQUATION,
761 0, 44
763 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
766 aPropSequence [1].Name = "RangeYMaximum";
767 EnhancedCustomShapeParameter aParameter;
768 Any aAny ((sal_Int32) 0);
769 aParameter.Value = aAny;
770 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
771 aPropSequence [1].Value = makeAny (aParameter);
774 aPropSequence [2].Name = "RangeYMinimum";
775 EnhancedCustomShapeParameter aParameter;
776 Any aAny ((sal_Int32) 5);
777 aParameter.Value = aAny;
778 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
779 aPropSequence [2].Value = makeAny (aParameter);
782 aPropSequence [3].Name = "RefY";
783 Any aAny ((sal_Int32) 2);
784 aPropSequence [3].Value = makeAny (aAny);
786 aPropSequenceSequence [2] = aPropSequence;
788 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
791 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
794 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
797 Sequence< PropertyValue > aPropSequence (3);
799 aPropSequence [0].Name = "Coordinates";
800 static const CustomShapeProvider::ParameterPairData aData[] = {
802 EnhancedCustomShapeParameterType::NORMAL,
803 EnhancedCustomShapeParameterType::NORMAL,
804 0, 0
807 EnhancedCustomShapeParameterType::EQUATION,
808 EnhancedCustomShapeParameterType::EQUATION,
809 20, 21
812 EnhancedCustomShapeParameterType::EQUATION,
813 EnhancedCustomShapeParameterType::EQUATION,
814 11, 19
817 EnhancedCustomShapeParameterType::EQUATION,
818 EnhancedCustomShapeParameterType::EQUATION,
819 9, 28
822 EnhancedCustomShapeParameterType::EQUATION,
823 EnhancedCustomShapeParameterType::EQUATION,
824 8, 31
827 EnhancedCustomShapeParameterType::EQUATION,
828 EnhancedCustomShapeParameterType::EQUATION,
829 13, 28
832 EnhancedCustomShapeParameterType::EQUATION,
833 EnhancedCustomShapeParameterType::EQUATION,
834 12, 19
837 EnhancedCustomShapeParameterType::EQUATION,
838 EnhancedCustomShapeParameterType::EQUATION,
839 22, 21
842 EnhancedCustomShapeParameterType::EQUATION,
843 EnhancedCustomShapeParameterType::NORMAL,
844 46, 0
847 EnhancedCustomShapeParameterType::EQUATION,
848 EnhancedCustomShapeParameterType::EQUATION,
849 14, 34
852 EnhancedCustomShapeParameterType::EQUATION,
853 EnhancedCustomShapeParameterType::EQUATION,
854 46, 32
857 EnhancedCustomShapeParameterType::EQUATION,
858 EnhancedCustomShapeParameterType::EQUATION,
859 40, 39
862 EnhancedCustomShapeParameterType::EQUATION,
863 EnhancedCustomShapeParameterType::EQUATION,
864 13, 35
867 EnhancedCustomShapeParameterType::EQUATION,
868 EnhancedCustomShapeParameterType::EQUATION,
869 13, 36
872 EnhancedCustomShapeParameterType::EQUATION,
873 EnhancedCustomShapeParameterType::EQUATION,
874 8, 41
877 EnhancedCustomShapeParameterType::EQUATION,
878 EnhancedCustomShapeParameterType::EQUATION,
879 9, 36
882 EnhancedCustomShapeParameterType::EQUATION,
883 EnhancedCustomShapeParameterType::EQUATION,
884 9, 35
887 EnhancedCustomShapeParameterType::EQUATION,
888 EnhancedCustomShapeParameterType::EQUATION,
889 37, 39
892 EnhancedCustomShapeParameterType::NORMAL,
893 EnhancedCustomShapeParameterType::EQUATION,
894 0, 32
897 EnhancedCustomShapeParameterType::EQUATION,
898 EnhancedCustomShapeParameterType::EQUATION,
899 10, 34
902 EnhancedCustomShapeParameterType::EQUATION,
903 EnhancedCustomShapeParameterType::EQUATION,
904 11, 42
907 EnhancedCustomShapeParameterType::EQUATION,
908 EnhancedCustomShapeParameterType::EQUATION,
909 11, 19
912 EnhancedCustomShapeParameterType::EQUATION,
913 EnhancedCustomShapeParameterType::EQUATION,
914 9, 28
917 EnhancedCustomShapeParameterType::EQUATION,
918 EnhancedCustomShapeParameterType::EQUATION,
919 8, 31
922 EnhancedCustomShapeParameterType::EQUATION,
923 EnhancedCustomShapeParameterType::EQUATION,
924 13, 28
927 EnhancedCustomShapeParameterType::EQUATION,
928 EnhancedCustomShapeParameterType::EQUATION,
929 12, 19
932 EnhancedCustomShapeParameterType::EQUATION,
933 EnhancedCustomShapeParameterType::EQUATION,
934 12, 42
937 EnhancedCustomShapeParameterType::EQUATION,
938 EnhancedCustomShapeParameterType::EQUATION,
939 8, 43
942 EnhancedCustomShapeParameterType::EQUATION,
943 EnhancedCustomShapeParameterType::EQUATION,
944 11, 42
947 EnhancedCustomShapeParameterType::NORMAL,
948 EnhancedCustomShapeParameterType::NORMAL,
949 0, 0
952 EnhancedCustomShapeParameterType::EQUATION,
953 EnhancedCustomShapeParameterType::EQUATION,
954 20, 21
957 EnhancedCustomShapeParameterType::EQUATION,
958 EnhancedCustomShapeParameterType::EQUATION,
959 11, 19
962 EnhancedCustomShapeParameterType::EQUATION,
963 EnhancedCustomShapeParameterType::EQUATION,
964 9, 28
967 EnhancedCustomShapeParameterType::EQUATION,
968 EnhancedCustomShapeParameterType::EQUATION,
969 8, 31
972 EnhancedCustomShapeParameterType::EQUATION,
973 EnhancedCustomShapeParameterType::EQUATION,
974 13, 28
977 EnhancedCustomShapeParameterType::EQUATION,
978 EnhancedCustomShapeParameterType::EQUATION,
979 12, 19
982 EnhancedCustomShapeParameterType::EQUATION,
983 EnhancedCustomShapeParameterType::EQUATION,
984 22, 21
987 EnhancedCustomShapeParameterType::EQUATION,
988 EnhancedCustomShapeParameterType::NORMAL,
989 46, 0
992 EnhancedCustomShapeParameterType::EQUATION,
993 EnhancedCustomShapeParameterType::EQUATION,
994 14, 34
997 EnhancedCustomShapeParameterType::EQUATION,
998 EnhancedCustomShapeParameterType::EQUATION,
999 46, 32
1002 EnhancedCustomShapeParameterType::EQUATION,
1003 EnhancedCustomShapeParameterType::EQUATION,
1004 40, 39
1007 EnhancedCustomShapeParameterType::EQUATION,
1008 EnhancedCustomShapeParameterType::EQUATION,
1009 13, 35
1012 EnhancedCustomShapeParameterType::EQUATION,
1013 EnhancedCustomShapeParameterType::EQUATION,
1014 13, 36
1017 EnhancedCustomShapeParameterType::EQUATION,
1018 EnhancedCustomShapeParameterType::EQUATION,
1019 8, 41
1022 EnhancedCustomShapeParameterType::EQUATION,
1023 EnhancedCustomShapeParameterType::EQUATION,
1024 9, 36
1027 EnhancedCustomShapeParameterType::EQUATION,
1028 EnhancedCustomShapeParameterType::EQUATION,
1029 9, 35
1032 EnhancedCustomShapeParameterType::EQUATION,
1033 EnhancedCustomShapeParameterType::EQUATION,
1034 37, 39
1037 EnhancedCustomShapeParameterType::NORMAL,
1038 EnhancedCustomShapeParameterType::EQUATION,
1039 0, 32
1042 EnhancedCustomShapeParameterType::EQUATION,
1043 EnhancedCustomShapeParameterType::EQUATION,
1044 10, 34
1047 EnhancedCustomShapeParameterType::EQUATION,
1048 EnhancedCustomShapeParameterType::EQUATION,
1049 9, 35
1052 EnhancedCustomShapeParameterType::EQUATION,
1053 EnhancedCustomShapeParameterType::EQUATION,
1054 9, 28
1057 EnhancedCustomShapeParameterType::EQUATION,
1058 EnhancedCustomShapeParameterType::EQUATION,
1059 13, 28
1062 EnhancedCustomShapeParameterType::EQUATION,
1063 EnhancedCustomShapeParameterType::EQUATION,
1064 13, 35
1067 EnhancedCustomShapeParameterType::EQUATION,
1068 EnhancedCustomShapeParameterType::EQUATION,
1069 11, 19
1072 EnhancedCustomShapeParameterType::EQUATION,
1073 EnhancedCustomShapeParameterType::EQUATION,
1074 11, 42
1077 EnhancedCustomShapeParameterType::EQUATION,
1078 EnhancedCustomShapeParameterType::EQUATION,
1079 12, 42
1082 EnhancedCustomShapeParameterType::EQUATION,
1083 EnhancedCustomShapeParameterType::EQUATION,
1084 12, 19
1087 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1090 aPropSequence [1].Name = "Segments";
1091 static const sal_uInt16 nValues[] = {
1092 // Command, Count
1093 1,1,
1094 16,1,
1095 2,1,
1096 16,1,
1097 2,1,
1098 16,1,
1099 2,2,
1100 16,1,
1101 2,1,
1102 16,1,
1103 2,1,
1104 16,1,
1105 2,1,
1106 4,0,
1107 7,0,
1108 5,0,
1109 1,1,
1110 2,2,
1111 16,1,
1112 2,2,
1113 16,1,
1114 4,0,
1115 19,0,
1116 7,0,
1117 5,0,
1118 1,1,
1119 16,1,
1120 2,1,
1121 16,1,
1122 2,1,
1123 16,1,
1124 2,2,
1125 16,1,
1126 2,1,
1127 16,1,
1128 2,1,
1129 16,1,
1130 2,1,
1131 4,0,
1132 1,1,
1133 2,1,
1134 1,1,
1135 2,1,
1136 1,1,
1137 2,1,
1138 1,1,
1139 2,1,
1140 6,0,
1143 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1146 aPropSequence [2].Name = "TextFrames";
1147 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1149 EnhancedCustomShapeTextFrame aTextFrame;
1151 static const CustomShapeProvider::ParameterPairData aData =
1153 EnhancedCustomShapeParameterType::EQUATION,
1154 EnhancedCustomShapeParameterType::EQUATION,
1155 9, 23
1157 aTextFrame.TopLeft = createParameterPair(&aData);
1160 static const CustomShapeProvider::ParameterPairData aData =
1162 EnhancedCustomShapeParameterType::EQUATION,
1163 EnhancedCustomShapeParameterType::EQUATION,
1164 13, 36
1166 aTextFrame.BottomRight = createParameterPair(&aData);
1168 aTextFrameSeq [0] = aTextFrame;
1170 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1172 aPropertyMap [PROP_Path] <<= aPropSequence;
1175 awt::Rectangle aRectangle;
1176 aRectangle.X = 0;
1177 aRectangle.Y = 0;
1178 aRectangle.Width = 0;
1179 aRectangle.Height = 0;
1180 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1182 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-ellipseRibbon");
1184 return aPropertyMap;
1187 class ShapeCcallout2 : public CustomShapeProvider
1189 virtual PropertyMap getProperties()
1191 PropertyMap aPropertyMap;
1194 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (6);
1196 Any aAny ((sal_Int32) 18750);
1197 aAdjSequence [0].Value = aAny;
1198 aAdjSequence [0].Name = "adj1";
1201 Any aAny ((sal_Int32) -8333);
1202 aAdjSequence [1].Value = aAny;
1203 aAdjSequence [1].Name = "adj2";
1206 Any aAny ((sal_Int32) 18750);
1207 aAdjSequence [2].Value = aAny;
1208 aAdjSequence [2].Name = "adj3";
1211 Any aAny ((sal_Int32) -16667);
1212 aAdjSequence [3].Value = aAny;
1213 aAdjSequence [3].Name = "adj4";
1216 Any aAny ((sal_Int32) 112500);
1217 aAdjSequence [4].Value = aAny;
1218 aAdjSequence [4].Name = "adj5";
1221 Any aAny ((sal_Int32) -46667);
1222 aAdjSequence [5].Value = aAny;
1223 aAdjSequence [5].Name = "adj6";
1225 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1228 static const char *aStrings[] = {
1229 "logheight*$0 /100000",
1230 "logwidth*$1 /100000",
1231 "logheight*$2 /100000",
1232 "logwidth*$3 /100000",
1233 "logheight*$4 /100000",
1234 "logwidth*$5 /100000",
1235 "logwidth",
1236 "logheight/2",
1237 "logwidth/2",
1238 "logheight"
1240 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1243 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1245 Sequence< PropertyValue > aPropSequence (7);
1247 aPropSequence [0].Name = "Position";
1248 static const CustomShapeProvider::ParameterPairData aData =
1250 EnhancedCustomShapeParameterType::EQUATION,
1251 EnhancedCustomShapeParameterType::EQUATION,
1252 1, 0
1254 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1257 aPropSequence [1].Name = "RangeXMaximum";
1258 EnhancedCustomShapeParameter aParameter;
1259 Any aAny ((sal_Int32) 2147483647);
1260 aParameter.Value = aAny;
1261 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1262 aPropSequence [1].Value = makeAny (aParameter);
1265 aPropSequence [2].Name = "RangeXMinimum";
1266 EnhancedCustomShapeParameter aParameter;
1267 Any aAny ((sal_Int32) -2147483647);
1268 aParameter.Value = aAny;
1269 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1270 aPropSequence [2].Value = makeAny (aParameter);
1273 aPropSequence [3].Name = "RangeYMaximum";
1274 EnhancedCustomShapeParameter aParameter;
1275 Any aAny ((sal_Int32) 2147483647);
1276 aParameter.Value = aAny;
1277 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1278 aPropSequence [3].Value = makeAny (aParameter);
1281 aPropSequence [4].Name = "RangeYMinimum";
1282 EnhancedCustomShapeParameter aParameter;
1283 Any aAny ((sal_Int32) -2147483647);
1284 aParameter.Value = aAny;
1285 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1286 aPropSequence [4].Value = makeAny (aParameter);
1289 aPropSequence [5].Name = "RefX";
1290 Any aAny ((sal_Int32) 1);
1291 aPropSequence [5].Value = makeAny (aAny);
1294 aPropSequence [6].Name = "RefY";
1295 Any aAny ((sal_Int32) 0);
1296 aPropSequence [6].Value = makeAny (aAny);
1298 aPropSequenceSequence [0] = aPropSequence;
1301 Sequence< PropertyValue > aPropSequence (7);
1303 aPropSequence [0].Name = "Position";
1304 static const CustomShapeProvider::ParameterPairData aData =
1306 EnhancedCustomShapeParameterType::EQUATION,
1307 EnhancedCustomShapeParameterType::EQUATION,
1308 3, 2
1310 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1313 aPropSequence [1].Name = "RangeXMaximum";
1314 EnhancedCustomShapeParameter aParameter;
1315 Any aAny ((sal_Int32) 2147483647);
1316 aParameter.Value = aAny;
1317 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1318 aPropSequence [1].Value = makeAny (aParameter);
1321 aPropSequence [2].Name = "RangeXMinimum";
1322 EnhancedCustomShapeParameter aParameter;
1323 Any aAny ((sal_Int32) -2147483647);
1324 aParameter.Value = aAny;
1325 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1326 aPropSequence [2].Value = makeAny (aParameter);
1329 aPropSequence [3].Name = "RangeYMaximum";
1330 EnhancedCustomShapeParameter aParameter;
1331 Any aAny ((sal_Int32) 2147483647);
1332 aParameter.Value = aAny;
1333 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1334 aPropSequence [3].Value = makeAny (aParameter);
1337 aPropSequence [4].Name = "RangeYMinimum";
1338 EnhancedCustomShapeParameter aParameter;
1339 Any aAny ((sal_Int32) -2147483647);
1340 aParameter.Value = aAny;
1341 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1342 aPropSequence [4].Value = makeAny (aParameter);
1345 aPropSequence [5].Name = "RefX";
1346 Any aAny ((sal_Int32) 3);
1347 aPropSequence [5].Value = makeAny (aAny);
1350 aPropSequence [6].Name = "RefY";
1351 Any aAny ((sal_Int32) 2);
1352 aPropSequence [6].Value = makeAny (aAny);
1354 aPropSequenceSequence [1] = aPropSequence;
1357 Sequence< PropertyValue > aPropSequence (7);
1359 aPropSequence [0].Name = "Position";
1360 static const CustomShapeProvider::ParameterPairData aData =
1362 EnhancedCustomShapeParameterType::EQUATION,
1363 EnhancedCustomShapeParameterType::EQUATION,
1364 5, 4
1366 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1369 aPropSequence [1].Name = "RangeXMaximum";
1370 EnhancedCustomShapeParameter aParameter;
1371 Any aAny ((sal_Int32) 2147483647);
1372 aParameter.Value = aAny;
1373 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1374 aPropSequence [1].Value = makeAny (aParameter);
1377 aPropSequence [2].Name = "RangeXMinimum";
1378 EnhancedCustomShapeParameter aParameter;
1379 Any aAny ((sal_Int32) -2147483647);
1380 aParameter.Value = aAny;
1381 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1382 aPropSequence [2].Value = makeAny (aParameter);
1385 aPropSequence [3].Name = "RangeYMaximum";
1386 EnhancedCustomShapeParameter aParameter;
1387 Any aAny ((sal_Int32) 2147483647);
1388 aParameter.Value = aAny;
1389 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1390 aPropSequence [3].Value = makeAny (aParameter);
1393 aPropSequence [4].Name = "RangeYMinimum";
1394 EnhancedCustomShapeParameter aParameter;
1395 Any aAny ((sal_Int32) -2147483647);
1396 aParameter.Value = aAny;
1397 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1398 aPropSequence [4].Value = makeAny (aParameter);
1401 aPropSequence [5].Name = "RefX";
1402 Any aAny ((sal_Int32) 5);
1403 aPropSequence [5].Value = makeAny (aAny);
1406 aPropSequence [6].Name = "RefY";
1407 Any aAny ((sal_Int32) 4);
1408 aPropSequence [6].Value = makeAny (aAny);
1410 aPropSequenceSequence [2] = aPropSequence;
1412 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1415 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1418 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1421 Sequence< PropertyValue > aPropSequence (3);
1423 aPropSequence [0].Name = "Coordinates";
1424 static const CustomShapeProvider::ParameterPairData aData[] = {
1426 EnhancedCustomShapeParameterType::NORMAL,
1427 EnhancedCustomShapeParameterType::NORMAL,
1428 0, 0
1431 EnhancedCustomShapeParameterType::EQUATION,
1432 EnhancedCustomShapeParameterType::NORMAL,
1433 6, 0
1436 EnhancedCustomShapeParameterType::EQUATION,
1437 EnhancedCustomShapeParameterType::EQUATION,
1438 6, 9
1441 EnhancedCustomShapeParameterType::NORMAL,
1442 EnhancedCustomShapeParameterType::EQUATION,
1443 0, 9
1446 EnhancedCustomShapeParameterType::EQUATION,
1447 EnhancedCustomShapeParameterType::EQUATION,
1448 1, 0
1451 EnhancedCustomShapeParameterType::EQUATION,
1452 EnhancedCustomShapeParameterType::EQUATION,
1453 3, 2
1456 EnhancedCustomShapeParameterType::EQUATION,
1457 EnhancedCustomShapeParameterType::EQUATION,
1458 5, 4
1461 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1464 aPropSequence [1].Name = "Segments";
1465 static const sal_uInt16 nValues[] = {
1466 // Command, Count
1467 1,1,
1468 2,3,
1469 4,0,
1470 7,0,
1471 5,0,
1472 1,1,
1473 2,2,
1474 6,0,
1477 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1480 aPropSequence [2].Name = "TextFrames";
1481 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1483 EnhancedCustomShapeTextFrame aTextFrame;
1485 static const CustomShapeProvider::ParameterPairData aData =
1487 EnhancedCustomShapeParameterType::NORMAL,
1488 EnhancedCustomShapeParameterType::NORMAL,
1489 0, 0
1491 aTextFrame.TopLeft = createParameterPair(&aData);
1494 static const CustomShapeProvider::ParameterPairData aData =
1496 EnhancedCustomShapeParameterType::EQUATION,
1497 EnhancedCustomShapeParameterType::EQUATION,
1498 6, 9
1500 aTextFrame.BottomRight = createParameterPair(&aData);
1502 aTextFrameSeq [0] = aTextFrame;
1504 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1506 aPropertyMap [PROP_Path] <<= aPropSequence;
1509 awt::Rectangle aRectangle;
1510 aRectangle.X = 0;
1511 aRectangle.Y = 0;
1512 aRectangle.Width = 0;
1513 aRectangle.Height = 0;
1514 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1516 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-callout2");
1518 return aPropertyMap;
1521 class ShapeCpie : public CustomShapeProvider
1523 virtual PropertyMap getProperties()
1525 PropertyMap aPropertyMap;
1528 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
1530 Any aAny ((sal_Int32) 0);
1531 aAdjSequence [0].Value = aAny;
1532 aAdjSequence [0].Name = "adj1";
1535 Any aAny ((sal_Int32) 16200000);
1536 aAdjSequence [1].Value = aAny;
1537 aAdjSequence [1].Name = "adj2";
1539 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1542 static const char *aStrings[] = {
1543 "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))",
1544 "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))",
1545 "?1 +0-?0 ",
1546 "?2 +21600000-0",
1547 "if(?2 ,?2 ,?3 )",
1548 "logwidth/2",
1549 "?5 *sin(pi*(?0 )/10800000)",
1550 "logheight/2",
1551 "?7 *cos(pi*(?0 )/10800000)",
1552 "?5 *(cos(atan2(?6 ,?8 )))",
1553 "?7 *(sin(atan2(?6 ,?8 )))",
1554 "logwidth/2",
1555 "?11 +?9 -0",
1556 "logheight/2",
1557 "?13 +?10 -0",
1558 "?5 *sin(pi*(?1 )/10800000)",
1559 "?7 *cos(pi*(?1 )/10800000)",
1560 "?5 *(cos(atan2(?15 ,?16 )))",
1561 "?7 *(sin(atan2(?15 ,?16 )))",
1562 "?11 +?17 -0",
1563 "?13 +?18 -0",
1564 "?5 *cos(pi*(2700000)/10800000)",
1565 "?7 *sin(pi*(2700000)/10800000)",
1566 "?11 +0-?21 ",
1567 "?11 +?21 -0",
1568 "?13 +0-?22 ",
1569 "?13 +?22 -0",
1570 "logwidth",
1571 "logheight",
1572 "(?0 )/60000.0",
1573 "(?4 )/60000.0"
1575 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1578 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
1580 Sequence< PropertyValue > aPropSequence (1);
1582 aPropSequence [0].Name = "Position";
1583 static const CustomShapeProvider::ParameterPairData aData =
1585 EnhancedCustomShapeParameterType::EQUATION,
1586 EnhancedCustomShapeParameterType::EQUATION,
1587 12, 14
1589 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1591 aPropSequenceSequence [0] = aPropSequence;
1594 Sequence< PropertyValue > aPropSequence (1);
1596 aPropSequence [0].Name = "Position";
1597 static const CustomShapeProvider::ParameterPairData aData =
1599 EnhancedCustomShapeParameterType::EQUATION,
1600 EnhancedCustomShapeParameterType::EQUATION,
1601 19, 20
1603 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1605 aPropSequenceSequence [1] = aPropSequence;
1607 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1610 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1613 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1616 Sequence< PropertyValue > aPropSequence (3);
1618 aPropSequence [0].Name = "Coordinates";
1619 static const CustomShapeProvider::ParameterPairData aData[] = {
1621 EnhancedCustomShapeParameterType::EQUATION,
1622 EnhancedCustomShapeParameterType::EQUATION,
1623 12, 14
1626 EnhancedCustomShapeParameterType::EQUATION,
1627 EnhancedCustomShapeParameterType::EQUATION,
1628 5, 7
1631 EnhancedCustomShapeParameterType::EQUATION,
1632 EnhancedCustomShapeParameterType::EQUATION,
1633 29, 30
1636 EnhancedCustomShapeParameterType::EQUATION,
1637 EnhancedCustomShapeParameterType::EQUATION,
1638 11, 13
1641 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1644 aPropSequence [1].Name = "Segments";
1645 static const sal_uInt16 nValues[] = {
1646 // Command, Count
1647 1,1,
1648 17,1,
1649 2,1,
1650 4,0,
1653 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1656 aPropSequence [2].Name = "TextFrames";
1657 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1659 EnhancedCustomShapeTextFrame aTextFrame;
1661 static const CustomShapeProvider::ParameterPairData aData =
1663 EnhancedCustomShapeParameterType::EQUATION,
1664 EnhancedCustomShapeParameterType::EQUATION,
1665 23, 24
1667 aTextFrame.TopLeft = createParameterPair(&aData);
1670 static const CustomShapeProvider::ParameterPairData aData =
1672 EnhancedCustomShapeParameterType::EQUATION,
1673 EnhancedCustomShapeParameterType::EQUATION,
1674 25, 26
1676 aTextFrame.BottomRight = createParameterPair(&aData);
1678 aTextFrameSeq [0] = aTextFrame;
1680 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1682 aPropertyMap [PROP_Path] <<= aPropSequence;
1685 awt::Rectangle aRectangle;
1686 aRectangle.X = 0;
1687 aRectangle.Y = 0;
1688 aRectangle.Width = 0;
1689 aRectangle.Height = 0;
1690 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1692 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-pie");
1694 return aPropertyMap;
1697 class ShapeCstar4 : public CustomShapeProvider
1699 virtual PropertyMap getProperties()
1701 PropertyMap aPropertyMap;
1704 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1706 Any aAny ((sal_Int32) 12500);
1707 aAdjSequence [0].Value = aAny;
1708 aAdjSequence [0].Name = "adj";
1710 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1713 static const char *aStrings[] = {
1714 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1715 "logwidth/2",
1716 "?1 *?0 /50000",
1717 "logheight/2",
1718 "?3 *?0 /50000",
1719 "?2 *cos(pi*(2700000)/10800000)",
1720 "?4 *sin(pi*(2700000)/10800000)",
1721 "logwidth/2",
1722 "?7 +0-?5 ",
1723 "?7 +?5 -0",
1724 "logheight/2",
1725 "?10 +0-?6 ",
1726 "?10 +?6 -0",
1727 "?10 +0-?4 ",
1728 "logheight",
1729 "logwidth"
1731 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1734 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1736 Sequence< PropertyValue > aPropSequence (4);
1738 aPropSequence [0].Name = "Position";
1739 static const CustomShapeProvider::ParameterPairData aData =
1741 EnhancedCustomShapeParameterType::EQUATION,
1742 EnhancedCustomShapeParameterType::EQUATION,
1743 7, 13
1745 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1748 aPropSequence [1].Name = "RangeYMaximum";
1749 EnhancedCustomShapeParameter aParameter;
1750 Any aAny ((sal_Int32) 50000);
1751 aParameter.Value = aAny;
1752 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1753 aPropSequence [1].Value = makeAny (aParameter);
1756 aPropSequence [2].Name = "RangeYMinimum";
1757 EnhancedCustomShapeParameter aParameter;
1758 Any aAny ((sal_Int32) 0);
1759 aParameter.Value = aAny;
1760 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1761 aPropSequence [2].Value = makeAny (aParameter);
1764 aPropSequence [3].Name = "RefY";
1765 Any aAny ((sal_Int32) 0);
1766 aPropSequence [3].Value = makeAny (aAny);
1768 aPropSequenceSequence [0] = aPropSequence;
1770 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1773 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1776 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1779 Sequence< PropertyValue > aPropSequence (3);
1781 aPropSequence [0].Name = "Coordinates";
1782 static const CustomShapeProvider::ParameterPairData aData[] = {
1784 EnhancedCustomShapeParameterType::NORMAL,
1785 EnhancedCustomShapeParameterType::EQUATION,
1786 0, 10
1789 EnhancedCustomShapeParameterType::EQUATION,
1790 EnhancedCustomShapeParameterType::EQUATION,
1791 8, 11
1794 EnhancedCustomShapeParameterType::EQUATION,
1795 EnhancedCustomShapeParameterType::NORMAL,
1796 7, 0
1799 EnhancedCustomShapeParameterType::EQUATION,
1800 EnhancedCustomShapeParameterType::EQUATION,
1801 9, 11
1804 EnhancedCustomShapeParameterType::EQUATION,
1805 EnhancedCustomShapeParameterType::EQUATION,
1806 15, 10
1809 EnhancedCustomShapeParameterType::EQUATION,
1810 EnhancedCustomShapeParameterType::EQUATION,
1811 9, 12
1814 EnhancedCustomShapeParameterType::EQUATION,
1815 EnhancedCustomShapeParameterType::EQUATION,
1816 7, 14
1819 EnhancedCustomShapeParameterType::EQUATION,
1820 EnhancedCustomShapeParameterType::EQUATION,
1821 8, 12
1824 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1827 aPropSequence [1].Name = "Segments";
1828 static const sal_uInt16 nValues[] = {
1829 // Command, Count
1830 1,1,
1831 2,7,
1832 4,0,
1835 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1838 aPropSequence [2].Name = "TextFrames";
1839 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1841 EnhancedCustomShapeTextFrame aTextFrame;
1843 static const CustomShapeProvider::ParameterPairData aData =
1845 EnhancedCustomShapeParameterType::EQUATION,
1846 EnhancedCustomShapeParameterType::EQUATION,
1847 8, 11
1849 aTextFrame.TopLeft = createParameterPair(&aData);
1852 static const CustomShapeProvider::ParameterPairData aData =
1854 EnhancedCustomShapeParameterType::EQUATION,
1855 EnhancedCustomShapeParameterType::EQUATION,
1856 9, 12
1858 aTextFrame.BottomRight = createParameterPair(&aData);
1860 aTextFrameSeq [0] = aTextFrame;
1862 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1864 aPropertyMap [PROP_Path] <<= aPropSequence;
1867 awt::Rectangle aRectangle;
1868 aRectangle.X = 0;
1869 aRectangle.Y = 0;
1870 aRectangle.Width = 0;
1871 aRectangle.Height = 0;
1872 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1874 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-star4");
1876 return aPropertyMap;
1879 class ShapeCflowChartPredefinedProcess : public CustomShapeProvider
1881 virtual PropertyMap getProperties()
1883 PropertyMap aPropertyMap;
1886 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1889 static const char *aStrings[] = {
1890 "logwidth*7/8",
1891 "logwidth/2",
1892 "logheight/2",
1893 "logheight",
1894 "logwidth",
1895 "logwidth/8"
1897 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1900 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1903 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1906 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1909 Sequence< PropertyValue > aPropSequence (4);
1911 aPropSequence [0].Name = "Coordinates";
1912 static const CustomShapeProvider::ParameterPairData aData[] = {
1914 EnhancedCustomShapeParameterType::NORMAL,
1915 EnhancedCustomShapeParameterType::NORMAL,
1916 0, 0
1919 EnhancedCustomShapeParameterType::NORMAL,
1920 EnhancedCustomShapeParameterType::NORMAL,
1921 1, 0
1924 EnhancedCustomShapeParameterType::NORMAL,
1925 EnhancedCustomShapeParameterType::NORMAL,
1926 1, 1
1929 EnhancedCustomShapeParameterType::NORMAL,
1930 EnhancedCustomShapeParameterType::NORMAL,
1931 0, 1
1934 EnhancedCustomShapeParameterType::NORMAL,
1935 EnhancedCustomShapeParameterType::NORMAL,
1936 1, 0
1939 EnhancedCustomShapeParameterType::NORMAL,
1940 EnhancedCustomShapeParameterType::NORMAL,
1941 1, 8
1944 EnhancedCustomShapeParameterType::NORMAL,
1945 EnhancedCustomShapeParameterType::NORMAL,
1946 7, 0
1949 EnhancedCustomShapeParameterType::NORMAL,
1950 EnhancedCustomShapeParameterType::NORMAL,
1951 7, 8
1954 EnhancedCustomShapeParameterType::NORMAL,
1955 EnhancedCustomShapeParameterType::NORMAL,
1956 0, 0
1959 EnhancedCustomShapeParameterType::NORMAL,
1960 EnhancedCustomShapeParameterType::NORMAL,
1961 1, 0
1964 EnhancedCustomShapeParameterType::NORMAL,
1965 EnhancedCustomShapeParameterType::NORMAL,
1966 1, 1
1969 EnhancedCustomShapeParameterType::NORMAL,
1970 EnhancedCustomShapeParameterType::NORMAL,
1971 0, 1
1974 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1977 aPropSequence [1].Name = "Segments";
1978 static const sal_uInt16 nValues[] = {
1979 // Command, Count
1980 1,1,
1981 2,3,
1982 4,0,
1983 7,0,
1984 5,0,
1985 1,1,
1986 2,1,
1987 1,1,
1988 2,1,
1989 6,0,
1990 5,0,
1991 1,1,
1992 2,3,
1993 4,0,
1994 6,0,
1997 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2000 aPropSequence [2].Name = "SubViewSize";
2001 Sequence< awt::Size > aSizeSequence (3);
2003 awt::Size aSize;
2004 aSize.Width = 1;
2005 aSize.Height = 1;
2006 aSizeSequence [0] = aSize;
2009 awt::Size aSize;
2010 aSize.Width = 8;
2011 aSize.Height = 8;
2012 aSizeSequence [1] = aSize;
2015 awt::Size aSize;
2016 aSize.Width = 1;
2017 aSize.Height = 1;
2018 aSizeSequence [2] = aSize;
2020 aPropSequence [2].Value = makeAny (aSizeSequence);
2023 aPropSequence [3].Name = "TextFrames";
2024 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2026 EnhancedCustomShapeTextFrame aTextFrame;
2028 static const CustomShapeProvider::ParameterPairData aData =
2030 EnhancedCustomShapeParameterType::EQUATION,
2031 EnhancedCustomShapeParameterType::NORMAL,
2032 5, 0
2034 aTextFrame.TopLeft = createParameterPair(&aData);
2037 static const CustomShapeProvider::ParameterPairData aData =
2039 EnhancedCustomShapeParameterType::EQUATION,
2040 EnhancedCustomShapeParameterType::EQUATION,
2041 0, 3
2043 aTextFrame.BottomRight = createParameterPair(&aData);
2045 aTextFrameSeq [0] = aTextFrame;
2047 aPropSequence [3].Value = makeAny (aTextFrameSeq);
2049 aPropertyMap [PROP_Path] <<= aPropSequence;
2052 awt::Rectangle aRectangle;
2053 aRectangle.X = 0;
2054 aRectangle.Y = 0;
2055 aRectangle.Width = 0;
2056 aRectangle.Height = 0;
2057 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2059 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartPredefinedProcess");
2061 return aPropertyMap;
2064 class ShapeCflowChartPunchedTape : public CustomShapeProvider
2066 virtual PropertyMap getProperties()
2068 PropertyMap aPropertyMap;
2071 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2074 static const char *aStrings[] = {
2075 "logheight*9/10",
2076 "logheight*4/5",
2077 "logwidth/2",
2078 "logheight/10",
2079 "logheight/2",
2080 "logwidth",
2081 "logheight/5",
2082 "(10800000)/60000.0",
2083 "(-10800000)/60000.0",
2084 "(10800000)/60000.0",
2085 "(10800000)/60000.0",
2086 "(0)/60000.0",
2087 "(-10800000)/60000.0",
2088 "(0)/60000.0",
2089 "(10800000)/60000.0"
2091 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2094 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2097 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2100 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2103 Sequence< PropertyValue > aPropSequence (4);
2105 aPropSequence [0].Name = "Coordinates";
2106 static const CustomShapeProvider::ParameterPairData aData[] = {
2108 EnhancedCustomShapeParameterType::NORMAL,
2109 EnhancedCustomShapeParameterType::NORMAL,
2110 0, 2
2113 EnhancedCustomShapeParameterType::NORMAL,
2114 EnhancedCustomShapeParameterType::NORMAL,
2115 5, 2
2118 EnhancedCustomShapeParameterType::EQUATION,
2119 EnhancedCustomShapeParameterType::EQUATION,
2120 7, 8
2123 EnhancedCustomShapeParameterType::NORMAL,
2124 EnhancedCustomShapeParameterType::NORMAL,
2125 5, 2
2128 EnhancedCustomShapeParameterType::EQUATION,
2129 EnhancedCustomShapeParameterType::EQUATION,
2130 9, 10
2133 EnhancedCustomShapeParameterType::NORMAL,
2134 EnhancedCustomShapeParameterType::NORMAL,
2135 20, 18
2138 EnhancedCustomShapeParameterType::NORMAL,
2139 EnhancedCustomShapeParameterType::NORMAL,
2140 5, 2
2143 EnhancedCustomShapeParameterType::EQUATION,
2144 EnhancedCustomShapeParameterType::EQUATION,
2145 11, 12
2148 EnhancedCustomShapeParameterType::NORMAL,
2149 EnhancedCustomShapeParameterType::NORMAL,
2150 5, 2
2153 EnhancedCustomShapeParameterType::EQUATION,
2154 EnhancedCustomShapeParameterType::EQUATION,
2155 13, 14
2158 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2161 aPropSequence [1].Name = "Segments";
2162 static const sal_uInt16 nValues[] = {
2163 // Command, Count
2164 1,1,
2165 17,2,
2166 2,1,
2167 17,2,
2168 4,0,
2171 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2174 aPropSequence [2].Name = "SubViewSize";
2175 Sequence< awt::Size > aSizeSequence (1);
2177 awt::Size aSize;
2178 aSize.Width = 20;
2179 aSize.Height = 20;
2180 aSizeSequence [0] = aSize;
2182 aPropSequence [2].Value = makeAny (aSizeSequence);
2185 aPropSequence [3].Name = "TextFrames";
2186 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2188 EnhancedCustomShapeTextFrame aTextFrame;
2190 static const CustomShapeProvider::ParameterPairData aData =
2192 EnhancedCustomShapeParameterType::NORMAL,
2193 EnhancedCustomShapeParameterType::EQUATION,
2194 0, 6
2196 aTextFrame.TopLeft = createParameterPair(&aData);
2199 static const CustomShapeProvider::ParameterPairData aData =
2201 EnhancedCustomShapeParameterType::EQUATION,
2202 EnhancedCustomShapeParameterType::EQUATION,
2203 5, 1
2205 aTextFrame.BottomRight = createParameterPair(&aData);
2207 aTextFrameSeq [0] = aTextFrame;
2209 aPropSequence [3].Value = makeAny (aTextFrameSeq);
2211 aPropertyMap [PROP_Path] <<= aPropSequence;
2214 awt::Rectangle aRectangle;
2215 aRectangle.X = 0;
2216 aRectangle.Y = 0;
2217 aRectangle.Width = 0;
2218 aRectangle.Height = 0;
2219 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2221 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartPunchedTape");
2223 return aPropertyMap;
2226 class ShapeCcurvedConnector2 : public CustomShapeProvider
2228 virtual PropertyMap getProperties()
2230 PropertyMap aPropertyMap;
2233 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2236 static const char *aStrings[] = {
2237 "logwidth",
2238 "logheight",
2239 "logwidth/2",
2240 "logheight/2"
2242 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2245 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2248 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2251 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2254 Sequence< PropertyValue > aPropSequence (3);
2256 aPropSequence [0].Name = "Coordinates";
2257 static const CustomShapeProvider::ParameterPairData aData[] = {
2259 EnhancedCustomShapeParameterType::NORMAL,
2260 EnhancedCustomShapeParameterType::NORMAL,
2261 0, 0
2264 EnhancedCustomShapeParameterType::EQUATION,
2265 EnhancedCustomShapeParameterType::NORMAL,
2266 2, 0
2269 EnhancedCustomShapeParameterType::EQUATION,
2270 EnhancedCustomShapeParameterType::EQUATION,
2271 0, 3
2274 EnhancedCustomShapeParameterType::EQUATION,
2275 EnhancedCustomShapeParameterType::EQUATION,
2276 0, 1
2279 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2282 aPropSequence [1].Name = "Segments";
2283 static const sal_uInt16 nValues[] = {
2284 // Command, Count
2285 1,1,
2286 3,1,
2287 6,0,
2290 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2293 aPropSequence [2].Name = "TextFrames";
2294 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2296 EnhancedCustomShapeTextFrame aTextFrame;
2298 static const CustomShapeProvider::ParameterPairData aData =
2300 EnhancedCustomShapeParameterType::NORMAL,
2301 EnhancedCustomShapeParameterType::NORMAL,
2302 0, 0
2304 aTextFrame.TopLeft = createParameterPair(&aData);
2307 static const CustomShapeProvider::ParameterPairData aData =
2309 EnhancedCustomShapeParameterType::EQUATION,
2310 EnhancedCustomShapeParameterType::EQUATION,
2311 0, 1
2313 aTextFrame.BottomRight = createParameterPair(&aData);
2315 aTextFrameSeq [0] = aTextFrame;
2317 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2319 aPropertyMap [PROP_Path] <<= aPropSequence;
2322 awt::Rectangle aRectangle;
2323 aRectangle.X = 0;
2324 aRectangle.Y = 0;
2325 aRectangle.Width = 0;
2326 aRectangle.Height = 0;
2327 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2329 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedConnector2");
2331 return aPropertyMap;
2334 class ShapeCbentConnector3 : public CustomShapeProvider
2336 virtual PropertyMap getProperties()
2338 PropertyMap aPropertyMap;
2341 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
2343 Any aAny ((sal_Int32) 50000);
2344 aAdjSequence [0].Value = aAny;
2345 aAdjSequence [0].Name = "adj1";
2347 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2350 static const char *aStrings[] = {
2351 "logwidth*$0 /100000",
2352 "logheight/2",
2353 "logwidth",
2354 "logheight"
2356 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2359 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
2361 Sequence< PropertyValue > aPropSequence (4);
2363 aPropSequence [0].Name = "Position";
2364 static const CustomShapeProvider::ParameterPairData aData =
2366 EnhancedCustomShapeParameterType::EQUATION,
2367 EnhancedCustomShapeParameterType::EQUATION,
2368 0, 1
2370 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2373 aPropSequence [1].Name = "RangeXMaximum";
2374 EnhancedCustomShapeParameter aParameter;
2375 Any aAny ((sal_Int32) 2147483647);
2376 aParameter.Value = aAny;
2377 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2378 aPropSequence [1].Value = makeAny (aParameter);
2381 aPropSequence [2].Name = "RangeXMinimum";
2382 EnhancedCustomShapeParameter aParameter;
2383 Any aAny ((sal_Int32) -2147483647);
2384 aParameter.Value = aAny;
2385 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2386 aPropSequence [2].Value = makeAny (aParameter);
2389 aPropSequence [3].Name = "RefX";
2390 Any aAny ((sal_Int32) 0);
2391 aPropSequence [3].Value = makeAny (aAny);
2393 aPropSequenceSequence [0] = aPropSequence;
2395 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2398 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2401 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2404 Sequence< PropertyValue > aPropSequence (3);
2406 aPropSequence [0].Name = "Coordinates";
2407 static const CustomShapeProvider::ParameterPairData aData[] = {
2409 EnhancedCustomShapeParameterType::NORMAL,
2410 EnhancedCustomShapeParameterType::NORMAL,
2411 0, 0
2414 EnhancedCustomShapeParameterType::EQUATION,
2415 EnhancedCustomShapeParameterType::NORMAL,
2416 0, 0
2419 EnhancedCustomShapeParameterType::EQUATION,
2420 EnhancedCustomShapeParameterType::EQUATION,
2421 0, 3
2424 EnhancedCustomShapeParameterType::EQUATION,
2425 EnhancedCustomShapeParameterType::EQUATION,
2426 2, 3
2429 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2432 aPropSequence [1].Name = "Segments";
2433 static const sal_uInt16 nValues[] = {
2434 // Command, Count
2435 1,1,
2436 2,3,
2437 6,0,
2440 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2443 aPropSequence [2].Name = "TextFrames";
2444 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2446 EnhancedCustomShapeTextFrame aTextFrame;
2448 static const CustomShapeProvider::ParameterPairData aData =
2450 EnhancedCustomShapeParameterType::NORMAL,
2451 EnhancedCustomShapeParameterType::NORMAL,
2452 0, 0
2454 aTextFrame.TopLeft = createParameterPair(&aData);
2457 static const CustomShapeProvider::ParameterPairData aData =
2459 EnhancedCustomShapeParameterType::EQUATION,
2460 EnhancedCustomShapeParameterType::EQUATION,
2461 2, 3
2463 aTextFrame.BottomRight = createParameterPair(&aData);
2465 aTextFrameSeq [0] = aTextFrame;
2467 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2469 aPropertyMap [PROP_Path] <<= aPropSequence;
2472 awt::Rectangle aRectangle;
2473 aRectangle.X = 0;
2474 aRectangle.Y = 0;
2475 aRectangle.Width = 0;
2476 aRectangle.Height = 0;
2477 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2479 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bentConnector3");
2481 return aPropertyMap;
2484 class ShapeCcornerTabs : public CustomShapeProvider
2486 virtual PropertyMap getProperties()
2488 PropertyMap aPropertyMap;
2491 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2494 static const char *aStrings[] = {
2495 "sqrt(logwidth*logwidth+logheight*logheight+0*0)",
2496 "1*?0 /20",
2497 "0+logheight-?1 ",
2498 "0+logwidth-?1 ",
2499 "logheight",
2500 "logwidth"
2502 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2505 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2508 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2511 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2514 Sequence< PropertyValue > aPropSequence (3);
2516 aPropSequence [0].Name = "Coordinates";
2517 static const CustomShapeProvider::ParameterPairData aData[] = {
2519 EnhancedCustomShapeParameterType::NORMAL,
2520 EnhancedCustomShapeParameterType::NORMAL,
2521 0, 0
2524 EnhancedCustomShapeParameterType::EQUATION,
2525 EnhancedCustomShapeParameterType::NORMAL,
2526 1, 0
2529 EnhancedCustomShapeParameterType::NORMAL,
2530 EnhancedCustomShapeParameterType::EQUATION,
2531 0, 1
2534 EnhancedCustomShapeParameterType::NORMAL,
2535 EnhancedCustomShapeParameterType::EQUATION,
2536 0, 2
2539 EnhancedCustomShapeParameterType::EQUATION,
2540 EnhancedCustomShapeParameterType::EQUATION,
2541 1, 4
2544 EnhancedCustomShapeParameterType::NORMAL,
2545 EnhancedCustomShapeParameterType::EQUATION,
2546 0, 4
2549 EnhancedCustomShapeParameterType::EQUATION,
2550 EnhancedCustomShapeParameterType::NORMAL,
2551 3, 0
2554 EnhancedCustomShapeParameterType::EQUATION,
2555 EnhancedCustomShapeParameterType::NORMAL,
2556 5, 0
2559 EnhancedCustomShapeParameterType::EQUATION,
2560 EnhancedCustomShapeParameterType::EQUATION,
2561 5, 1
2564 EnhancedCustomShapeParameterType::EQUATION,
2565 EnhancedCustomShapeParameterType::EQUATION,
2566 5, 2
2569 EnhancedCustomShapeParameterType::EQUATION,
2570 EnhancedCustomShapeParameterType::EQUATION,
2571 5, 4
2574 EnhancedCustomShapeParameterType::EQUATION,
2575 EnhancedCustomShapeParameterType::EQUATION,
2576 3, 4
2579 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2582 aPropSequence [1].Name = "Segments";
2583 static const sal_uInt16 nValues[] = {
2584 // Command, Count
2585 1,1,
2586 2,2,
2587 4,0,
2588 5,0,
2589 1,1,
2590 2,2,
2591 4,0,
2592 5,0,
2593 1,1,
2594 2,2,
2595 4,0,
2596 5,0,
2597 1,1,
2598 2,2,
2599 4,0,
2602 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2605 aPropSequence [2].Name = "TextFrames";
2606 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2608 EnhancedCustomShapeTextFrame aTextFrame;
2610 static const CustomShapeProvider::ParameterPairData aData =
2612 EnhancedCustomShapeParameterType::EQUATION,
2613 EnhancedCustomShapeParameterType::EQUATION,
2614 1, 1
2616 aTextFrame.TopLeft = createParameterPair(&aData);
2619 static const CustomShapeProvider::ParameterPairData aData =
2621 EnhancedCustomShapeParameterType::EQUATION,
2622 EnhancedCustomShapeParameterType::EQUATION,
2623 3, 2
2625 aTextFrame.BottomRight = createParameterPair(&aData);
2627 aTextFrameSeq [0] = aTextFrame;
2629 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2631 aPropertyMap [PROP_Path] <<= aPropSequence;
2634 awt::Rectangle aRectangle;
2635 aRectangle.X = 0;
2636 aRectangle.Y = 0;
2637 aRectangle.Width = 0;
2638 aRectangle.Height = 0;
2639 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2641 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-cornerTabs");
2643 return aPropertyMap;
2646 class ShapeChexagon : public CustomShapeProvider
2648 virtual PropertyMap getProperties()
2650 PropertyMap aPropertyMap;
2653 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
2655 Any aAny ((sal_Int32) 25000);
2656 aAdjSequence [0].Value = aAny;
2657 aAdjSequence [0].Name = "adj";
2660 Any aAny ((sal_Int32) 115470);
2661 aAdjSequence [1].Value = aAny;
2662 aAdjSequence [1].Name = "vf";
2664 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2667 static const char *aStrings[] = {
2668 "min(logwidth,logheight)",
2669 "50000*logwidth/?0 ",
2670 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
2671 "logheight/2",
2672 "?3 *$1 /100000",
2673 "?0 *?2 /100000",
2674 "logwidth+0-?5 ",
2675 "?4 *sin(pi*(3600000)/10800000)",
2676 "logheight/2",
2677 "?8 +0-?7 ",
2678 "?8 +?7 -0",
2679 "?1 *-1/2",
2680 "?2 +?11 -0",
2681 "if(?12 ,4,2)",
2682 "if(?12 ,3,2)",
2683 "if(?12 ,?11 ,0)",
2684 "(?2 +?15 )/?11 ",
2685 "?16 *?14 /-1",
2686 "?13 +?17 -0",
2687 "logwidth*?18 /24",
2688 "logheight*?18 /24",
2689 "logwidth+0-?19 ",
2690 "logheight+0-?20 ",
2691 "logwidth"
2693 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2696 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
2698 Sequence< PropertyValue > aPropSequence (4);
2700 aPropSequence [0].Name = "Position";
2701 static const CustomShapeProvider::ParameterPairData aData =
2703 EnhancedCustomShapeParameterType::EQUATION,
2704 EnhancedCustomShapeParameterType::NORMAL,
2705 5, 0
2707 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2710 aPropSequence [1].Name = "RangeXMaximum";
2711 EnhancedCustomShapeParameter aParameter;
2712 Any aAny ((sal_Int32) 1);
2713 aParameter.Value = aAny;
2714 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
2715 aPropSequence [1].Value = makeAny (aParameter);
2718 aPropSequence [2].Name = "RangeXMinimum";
2719 EnhancedCustomShapeParameter aParameter;
2720 Any aAny ((sal_Int32) 0);
2721 aParameter.Value = aAny;
2722 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2723 aPropSequence [2].Value = makeAny (aParameter);
2726 aPropSequence [3].Name = "RefX";
2727 Any aAny ((sal_Int32) 0);
2728 aPropSequence [3].Value = makeAny (aAny);
2730 aPropSequenceSequence [0] = aPropSequence;
2732 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2735 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2738 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2741 Sequence< PropertyValue > aPropSequence (3);
2743 aPropSequence [0].Name = "Coordinates";
2744 static const CustomShapeProvider::ParameterPairData aData[] = {
2746 EnhancedCustomShapeParameterType::NORMAL,
2747 EnhancedCustomShapeParameterType::EQUATION,
2748 0, 8
2751 EnhancedCustomShapeParameterType::EQUATION,
2752 EnhancedCustomShapeParameterType::EQUATION,
2753 5, 9
2756 EnhancedCustomShapeParameterType::EQUATION,
2757 EnhancedCustomShapeParameterType::EQUATION,
2758 6, 9
2761 EnhancedCustomShapeParameterType::EQUATION,
2762 EnhancedCustomShapeParameterType::EQUATION,
2763 23, 8
2766 EnhancedCustomShapeParameterType::EQUATION,
2767 EnhancedCustomShapeParameterType::EQUATION,
2768 6, 10
2771 EnhancedCustomShapeParameterType::EQUATION,
2772 EnhancedCustomShapeParameterType::EQUATION,
2773 5, 10
2776 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2779 aPropSequence [1].Name = "Segments";
2780 static const sal_uInt16 nValues[] = {
2781 // Command, Count
2782 1,1,
2783 2,5,
2784 4,0,
2787 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2790 aPropSequence [2].Name = "TextFrames";
2791 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2793 EnhancedCustomShapeTextFrame aTextFrame;
2795 static const CustomShapeProvider::ParameterPairData aData =
2797 EnhancedCustomShapeParameterType::EQUATION,
2798 EnhancedCustomShapeParameterType::EQUATION,
2799 19, 20
2801 aTextFrame.TopLeft = createParameterPair(&aData);
2804 static const CustomShapeProvider::ParameterPairData aData =
2806 EnhancedCustomShapeParameterType::EQUATION,
2807 EnhancedCustomShapeParameterType::EQUATION,
2808 21, 22
2810 aTextFrame.BottomRight = createParameterPair(&aData);
2812 aTextFrameSeq [0] = aTextFrame;
2814 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2816 aPropertyMap [PROP_Path] <<= aPropSequence;
2819 awt::Rectangle aRectangle;
2820 aRectangle.X = 0;
2821 aRectangle.Y = 0;
2822 aRectangle.Width = 0;
2823 aRectangle.Height = 0;
2824 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2826 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-hexagon");
2828 return aPropertyMap;
2831 class ShapeCflowChartConnector : public CustomShapeProvider
2833 virtual PropertyMap getProperties()
2835 PropertyMap aPropertyMap;
2838 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2841 static const char *aStrings[] = {
2842 "logwidth/2",
2843 "?0 *cos(pi*(2700000)/10800000)",
2844 "logheight/2",
2845 "?2 *sin(pi*(2700000)/10800000)",
2846 "logwidth/2",
2847 "?4 +0-?1 ",
2848 "?4 +?1 -0",
2849 "logheight/2",
2850 "?7 +0-?3 ",
2851 "?7 +?3 -0",
2852 "logheight",
2853 "logwidth",
2854 "(10800000)/60000.0",
2855 "(5400000)/60000.0",
2856 "(16200000)/60000.0",
2857 "(5400000)/60000.0",
2858 "(0)/60000.0",
2859 "(5400000)/60000.0",
2860 "(5400000)/60000.0",
2861 "(5400000)/60000.0"
2863 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2866 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2869 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2872 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2875 Sequence< PropertyValue > aPropSequence (3);
2877 aPropSequence [0].Name = "Coordinates";
2878 static const CustomShapeProvider::ParameterPairData aData[] = {
2880 EnhancedCustomShapeParameterType::NORMAL,
2881 EnhancedCustomShapeParameterType::EQUATION,
2882 0, 7
2885 EnhancedCustomShapeParameterType::EQUATION,
2886 EnhancedCustomShapeParameterType::EQUATION,
2887 0, 2
2890 EnhancedCustomShapeParameterType::EQUATION,
2891 EnhancedCustomShapeParameterType::EQUATION,
2892 12, 13
2895 EnhancedCustomShapeParameterType::EQUATION,
2896 EnhancedCustomShapeParameterType::EQUATION,
2897 0, 2
2900 EnhancedCustomShapeParameterType::EQUATION,
2901 EnhancedCustomShapeParameterType::EQUATION,
2902 14, 15
2905 EnhancedCustomShapeParameterType::EQUATION,
2906 EnhancedCustomShapeParameterType::EQUATION,
2907 0, 2
2910 EnhancedCustomShapeParameterType::EQUATION,
2911 EnhancedCustomShapeParameterType::EQUATION,
2912 16, 17
2915 EnhancedCustomShapeParameterType::EQUATION,
2916 EnhancedCustomShapeParameterType::EQUATION,
2917 0, 2
2920 EnhancedCustomShapeParameterType::EQUATION,
2921 EnhancedCustomShapeParameterType::EQUATION,
2922 18, 19
2925 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2928 aPropSequence [1].Name = "Segments";
2929 static const sal_uInt16 nValues[] = {
2930 // Command, Count
2931 1,1,
2932 17,4,
2933 4,0,
2936 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2939 aPropSequence [2].Name = "TextFrames";
2940 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2942 EnhancedCustomShapeTextFrame aTextFrame;
2944 static const CustomShapeProvider::ParameterPairData aData =
2946 EnhancedCustomShapeParameterType::EQUATION,
2947 EnhancedCustomShapeParameterType::EQUATION,
2948 5, 8
2950 aTextFrame.TopLeft = createParameterPair(&aData);
2953 static const CustomShapeProvider::ParameterPairData aData =
2955 EnhancedCustomShapeParameterType::EQUATION,
2956 EnhancedCustomShapeParameterType::EQUATION,
2957 6, 9
2959 aTextFrame.BottomRight = createParameterPair(&aData);
2961 aTextFrameSeq [0] = aTextFrame;
2963 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2965 aPropertyMap [PROP_Path] <<= aPropSequence;
2968 awt::Rectangle aRectangle;
2969 aRectangle.X = 0;
2970 aRectangle.Y = 0;
2971 aRectangle.Width = 0;
2972 aRectangle.Height = 0;
2973 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2975 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartConnector");
2977 return aPropertyMap;
2980 class ShapeCflowChartMagneticDisk : public CustomShapeProvider
2982 virtual PropertyMap getProperties()
2984 PropertyMap aPropertyMap;
2987 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2990 static const char *aStrings[] = {
2991 "logheight*5/6",
2992 "logwidth/2",
2993 "logheight/3",
2994 "logheight/2",
2995 "logheight",
2996 "logwidth",
2997 "(10800000)/60000.0",
2998 "(10800000)/60000.0",
2999 "(0)/60000.0",
3000 "(10800000)/60000.0",
3001 "(0)/60000.0",
3002 "(10800000)/60000.0",
3003 "(10800000)/60000.0",
3004 "(10800000)/60000.0",
3005 "(0)/60000.0",
3006 "(10800000)/60000.0"
3008 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3011 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
3014 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3017 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3020 Sequence< PropertyValue > aPropSequence (4);
3022 aPropSequence [0].Name = "Coordinates";
3023 static const CustomShapeProvider::ParameterPairData aData[] = {
3025 EnhancedCustomShapeParameterType::NORMAL,
3026 EnhancedCustomShapeParameterType::NORMAL,
3027 0, 1
3030 EnhancedCustomShapeParameterType::NORMAL,
3031 EnhancedCustomShapeParameterType::NORMAL,
3032 3, 1
3035 EnhancedCustomShapeParameterType::EQUATION,
3036 EnhancedCustomShapeParameterType::EQUATION,
3037 6, 7
3040 EnhancedCustomShapeParameterType::NORMAL,
3041 EnhancedCustomShapeParameterType::NORMAL,
3042 6, 5
3045 EnhancedCustomShapeParameterType::NORMAL,
3046 EnhancedCustomShapeParameterType::NORMAL,
3047 3, 1
3050 EnhancedCustomShapeParameterType::EQUATION,
3051 EnhancedCustomShapeParameterType::EQUATION,
3052 8, 9
3055 EnhancedCustomShapeParameterType::NORMAL,
3056 EnhancedCustomShapeParameterType::NORMAL,
3057 6, 1
3060 EnhancedCustomShapeParameterType::NORMAL,
3061 EnhancedCustomShapeParameterType::NORMAL,
3062 3, 1
3065 EnhancedCustomShapeParameterType::EQUATION,
3066 EnhancedCustomShapeParameterType::EQUATION,
3067 10, 11
3070 EnhancedCustomShapeParameterType::NORMAL,
3071 EnhancedCustomShapeParameterType::NORMAL,
3072 0, 1
3075 EnhancedCustomShapeParameterType::NORMAL,
3076 EnhancedCustomShapeParameterType::NORMAL,
3077 3, 1
3080 EnhancedCustomShapeParameterType::EQUATION,
3081 EnhancedCustomShapeParameterType::EQUATION,
3082 12, 13
3085 EnhancedCustomShapeParameterType::NORMAL,
3086 EnhancedCustomShapeParameterType::NORMAL,
3087 6, 5
3090 EnhancedCustomShapeParameterType::NORMAL,
3091 EnhancedCustomShapeParameterType::NORMAL,
3092 3, 1
3095 EnhancedCustomShapeParameterType::EQUATION,
3096 EnhancedCustomShapeParameterType::EQUATION,
3097 14, 15
3100 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3103 aPropSequence [1].Name = "Segments";
3104 static const sal_uInt16 nValues[] = {
3105 // Command, Count
3106 1,1,
3107 17,1,
3108 2,1,
3109 17,1,
3110 4,0,
3111 7,0,
3112 5,0,
3113 1,1,
3114 17,1,
3115 6,0,
3116 5,0,
3117 1,1,
3118 17,1,
3119 2,1,
3120 17,1,
3121 4,0,
3122 6,0,
3125 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3128 aPropSequence [2].Name = "SubViewSize";
3129 Sequence< awt::Size > aSizeSequence (3);
3131 awt::Size aSize;
3132 aSize.Width = 6;
3133 aSize.Height = 6;
3134 aSizeSequence [0] = aSize;
3137 awt::Size aSize;
3138 aSize.Width = 6;
3139 aSize.Height = 6;
3140 aSizeSequence [1] = aSize;
3143 awt::Size aSize;
3144 aSize.Width = 6;
3145 aSize.Height = 6;
3146 aSizeSequence [2] = aSize;
3148 aPropSequence [2].Value = makeAny (aSizeSequence);
3151 aPropSequence [3].Name = "TextFrames";
3152 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3154 EnhancedCustomShapeTextFrame aTextFrame;
3156 static const CustomShapeProvider::ParameterPairData aData =
3158 EnhancedCustomShapeParameterType::NORMAL,
3159 EnhancedCustomShapeParameterType::EQUATION,
3160 0, 2
3162 aTextFrame.TopLeft = createParameterPair(&aData);
3165 static const CustomShapeProvider::ParameterPairData aData =
3167 EnhancedCustomShapeParameterType::EQUATION,
3168 EnhancedCustomShapeParameterType::EQUATION,
3169 5, 0
3171 aTextFrame.BottomRight = createParameterPair(&aData);
3173 aTextFrameSeq [0] = aTextFrame;
3175 aPropSequence [3].Value = makeAny (aTextFrameSeq);
3177 aPropertyMap [PROP_Path] <<= aPropSequence;
3180 awt::Rectangle aRectangle;
3181 aRectangle.X = 0;
3182 aRectangle.Y = 0;
3183 aRectangle.Width = 0;
3184 aRectangle.Height = 0;
3185 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3187 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartMagneticDisk");
3189 return aPropertyMap;
3192 class ShapeCheart : public CustomShapeProvider
3194 virtual PropertyMap getProperties()
3196 PropertyMap aPropertyMap;
3199 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
3202 static const char *aStrings[] = {
3203 "logwidth*49/48",
3204 "logwidth*10/48",
3205 "logwidth/2",
3206 "?2 +0-?0 ",
3207 "?2 +0-?1 ",
3208 "?2 +?1 -0",
3209 "?2 +?0 -0",
3210 "logheight/3",
3211 "0+0-?7 ",
3212 "logwidth*1/6",
3213 "logwidth*5/6",
3214 "logheight*2/3",
3215 "logheight/4",
3216 "logheight"
3218 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3221 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
3224 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3227 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3230 Sequence< PropertyValue > aPropSequence (3);
3232 aPropSequence [0].Name = "Coordinates";
3233 static const CustomShapeProvider::ParameterPairData aData[] = {
3235 EnhancedCustomShapeParameterType::EQUATION,
3236 EnhancedCustomShapeParameterType::EQUATION,
3237 2, 12
3240 EnhancedCustomShapeParameterType::EQUATION,
3241 EnhancedCustomShapeParameterType::EQUATION,
3242 5, 8
3245 EnhancedCustomShapeParameterType::EQUATION,
3246 EnhancedCustomShapeParameterType::EQUATION,
3247 6, 12
3250 EnhancedCustomShapeParameterType::EQUATION,
3251 EnhancedCustomShapeParameterType::EQUATION,
3252 2, 13
3255 EnhancedCustomShapeParameterType::EQUATION,
3256 EnhancedCustomShapeParameterType::EQUATION,
3257 3, 12
3260 EnhancedCustomShapeParameterType::EQUATION,
3261 EnhancedCustomShapeParameterType::EQUATION,
3262 4, 8
3265 EnhancedCustomShapeParameterType::EQUATION,
3266 EnhancedCustomShapeParameterType::EQUATION,
3267 2, 12
3270 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3273 aPropSequence [1].Name = "Segments";
3274 static const sal_uInt16 nValues[] = {
3275 // Command, Count
3276 1,1,
3277 3,2,
3278 4,0,
3281 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3284 aPropSequence [2].Name = "TextFrames";
3285 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3287 EnhancedCustomShapeTextFrame aTextFrame;
3289 static const CustomShapeProvider::ParameterPairData aData =
3291 EnhancedCustomShapeParameterType::EQUATION,
3292 EnhancedCustomShapeParameterType::EQUATION,
3293 9, 12
3295 aTextFrame.TopLeft = createParameterPair(&aData);
3298 static const CustomShapeProvider::ParameterPairData aData =
3300 EnhancedCustomShapeParameterType::EQUATION,
3301 EnhancedCustomShapeParameterType::EQUATION,
3302 10, 11
3304 aTextFrame.BottomRight = createParameterPair(&aData);
3306 aTextFrameSeq [0] = aTextFrame;
3308 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3310 aPropertyMap [PROP_Path] <<= aPropSequence;
3313 awt::Rectangle aRectangle;
3314 aRectangle.X = 0;
3315 aRectangle.Y = 0;
3316 aRectangle.Width = 0;
3317 aRectangle.Height = 0;
3318 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3320 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-heart");
3322 return aPropertyMap;
3325 class ShapeCribbon2 : public CustomShapeProvider
3327 virtual PropertyMap getProperties()
3329 PropertyMap aPropertyMap;
3332 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
3334 Any aAny ((sal_Int32) 16667);
3335 aAdjSequence [0].Value = aAny;
3336 aAdjSequence [0].Name = "adj1";
3339 Any aAny ((sal_Int32) 50000);
3340 aAdjSequence [1].Value = aAny;
3341 aAdjSequence [1].Name = "adj2";
3343 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3346 static const char *aStrings[] = {
3347 "if(0-$0 ,0,if(33333-$0 ,$0 ,33333))",
3348 "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
3349 "logwidth/8",
3350 "logwidth+0-?2 ",
3351 "logwidth*?1 /200000",
3352 "logwidth/2",
3353 "?5 +0-?4 ",
3354 "?5 +?4 -0",
3355 "logwidth/32",
3356 "?6 +?8 -0",
3357 "?7 +0-?8 ",
3358 "?6 +?2 -0",
3359 "?7 +0-?2 ",
3360 "?11 +0-?8 ",
3361 "?12 +?8 -0",
3362 "logheight*?0 /200000",
3363 "logheight+0-?15 ",
3364 "logheight*?0 /100000",
3365 "logheight+0-?17 ",
3366 "0+?17 -0",
3367 "(?19 +logheight)/2",
3368 "logheight*?0 /400000",
3369 "logheight+0-?21 ",
3370 "?16 +0-?21 ",
3371 "logheight",
3372 "(5400000)/60000.0",
3373 "(-10800000)/60000.0",
3374 "(5400000)/60000.0",
3375 "(10800000)/60000.0",
3376 "(16200000)/60000.0",
3377 "(10800000)/60000.0",
3378 "(16200000)/60000.0",
3379 "(-10800000)/60000.0",
3380 "logwidth",
3381 "(0)/60000.0",
3382 "(-5400000)/60000.0",
3383 "(16200000)/60000.0",
3384 "(-5400000)/60000.0",
3385 "(0)/60000.0",
3386 "(-5400000)/60000.0",
3387 "(5400000)/60000.0",
3388 "(10800000)/60000.0",
3389 "(10800000)/60000.0",
3390 "(5400000)/60000.0",
3391 "(5400000)/60000.0",
3392 "(-10800000)/60000.0",
3393 "(10800000)/60000.0",
3394 "(5400000)/60000.0",
3395 "(16200000)/60000.0",
3396 "(5400000)/60000.0",
3397 "(5400000)/60000.0",
3398 "(10800000)/60000.0",
3399 "(5400000)/60000.0",
3400 "(-10800000)/60000.0",
3401 "(16200000)/60000.0",
3402 "(-10800000)/60000.0",
3403 "(16200000)/60000.0",
3404 "(10800000)/60000.0"
3406 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3409 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
3411 Sequence< PropertyValue > aPropSequence (4);
3413 aPropSequence [0].Name = "Position";
3414 static const CustomShapeProvider::ParameterPairData aData =
3416 EnhancedCustomShapeParameterType::EQUATION,
3417 EnhancedCustomShapeParameterType::EQUATION,
3418 5, 18
3420 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3423 aPropSequence [1].Name = "RangeYMaximum";
3424 EnhancedCustomShapeParameter aParameter;
3425 Any aAny ((sal_Int32) 33333);
3426 aParameter.Value = aAny;
3427 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3428 aPropSequence [1].Value = makeAny (aParameter);
3431 aPropSequence [2].Name = "RangeYMinimum";
3432 EnhancedCustomShapeParameter aParameter;
3433 Any aAny ((sal_Int32) 0);
3434 aParameter.Value = aAny;
3435 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3436 aPropSequence [2].Value = makeAny (aParameter);
3439 aPropSequence [3].Name = "RefY";
3440 Any aAny ((sal_Int32) 0);
3441 aPropSequence [3].Value = makeAny (aAny);
3443 aPropSequenceSequence [0] = aPropSequence;
3446 Sequence< PropertyValue > aPropSequence (4);
3448 aPropSequence [0].Name = "Position";
3449 static const CustomShapeProvider::ParameterPairData aData =
3451 EnhancedCustomShapeParameterType::EQUATION,
3452 EnhancedCustomShapeParameterType::EQUATION,
3453 6, 24
3455 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3458 aPropSequence [1].Name = "RangeXMaximum";
3459 EnhancedCustomShapeParameter aParameter;
3460 Any aAny ((sal_Int32) 75000);
3461 aParameter.Value = aAny;
3462 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3463 aPropSequence [1].Value = makeAny (aParameter);
3466 aPropSequence [2].Name = "RangeXMinimum";
3467 EnhancedCustomShapeParameter aParameter;
3468 Any aAny ((sal_Int32) 25000);
3469 aParameter.Value = aAny;
3470 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3471 aPropSequence [2].Value = makeAny (aParameter);
3474 aPropSequence [3].Name = "RefX";
3475 Any aAny ((sal_Int32) 1);
3476 aPropSequence [3].Value = makeAny (aAny);
3478 aPropSequenceSequence [1] = aPropSequence;
3480 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3483 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3486 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3489 Sequence< PropertyValue > aPropSequence (3);
3491 aPropSequence [0].Name = "Coordinates";
3492 static const CustomShapeProvider::ParameterPairData aData[] = {
3494 EnhancedCustomShapeParameterType::NORMAL,
3495 EnhancedCustomShapeParameterType::EQUATION,
3496 0, 24
3499 EnhancedCustomShapeParameterType::EQUATION,
3500 EnhancedCustomShapeParameterType::EQUATION,
3501 13, 24
3504 EnhancedCustomShapeParameterType::EQUATION,
3505 EnhancedCustomShapeParameterType::EQUATION,
3506 8, 21
3509 EnhancedCustomShapeParameterType::EQUATION,
3510 EnhancedCustomShapeParameterType::EQUATION,
3511 25, 26
3514 EnhancedCustomShapeParameterType::EQUATION,
3515 EnhancedCustomShapeParameterType::EQUATION,
3516 9, 16
3519 EnhancedCustomShapeParameterType::EQUATION,
3520 EnhancedCustomShapeParameterType::EQUATION,
3521 8, 21
3524 EnhancedCustomShapeParameterType::EQUATION,
3525 EnhancedCustomShapeParameterType::EQUATION,
3526 27, 28
3529 EnhancedCustomShapeParameterType::EQUATION,
3530 EnhancedCustomShapeParameterType::EQUATION,
3531 10, 18
3534 EnhancedCustomShapeParameterType::EQUATION,
3535 EnhancedCustomShapeParameterType::EQUATION,
3536 8, 21
3539 EnhancedCustomShapeParameterType::EQUATION,
3540 EnhancedCustomShapeParameterType::EQUATION,
3541 29, 30
3544 EnhancedCustomShapeParameterType::EQUATION,
3545 EnhancedCustomShapeParameterType::EQUATION,
3546 14, 16
3549 EnhancedCustomShapeParameterType::EQUATION,
3550 EnhancedCustomShapeParameterType::EQUATION,
3551 8, 21
3554 EnhancedCustomShapeParameterType::EQUATION,
3555 EnhancedCustomShapeParameterType::EQUATION,
3556 31, 32
3559 EnhancedCustomShapeParameterType::EQUATION,
3560 EnhancedCustomShapeParameterType::EQUATION,
3561 33, 24
3564 EnhancedCustomShapeParameterType::EQUATION,
3565 EnhancedCustomShapeParameterType::EQUATION,
3566 3, 20
3569 EnhancedCustomShapeParameterType::EQUATION,
3570 EnhancedCustomShapeParameterType::EQUATION,
3571 33, 19
3574 EnhancedCustomShapeParameterType::EQUATION,
3575 EnhancedCustomShapeParameterType::EQUATION,
3576 7, 19
3579 EnhancedCustomShapeParameterType::EQUATION,
3580 EnhancedCustomShapeParameterType::EQUATION,
3581 7, 21
3584 EnhancedCustomShapeParameterType::EQUATION,
3585 EnhancedCustomShapeParameterType::EQUATION,
3586 8, 21
3589 EnhancedCustomShapeParameterType::EQUATION,
3590 EnhancedCustomShapeParameterType::EQUATION,
3591 34, 35
3594 EnhancedCustomShapeParameterType::EQUATION,
3595 EnhancedCustomShapeParameterType::NORMAL,
3596 9, 0
3599 EnhancedCustomShapeParameterType::EQUATION,
3600 EnhancedCustomShapeParameterType::EQUATION,
3601 8, 21
3604 EnhancedCustomShapeParameterType::EQUATION,
3605 EnhancedCustomShapeParameterType::EQUATION,
3606 36, 37
3609 EnhancedCustomShapeParameterType::EQUATION,
3610 EnhancedCustomShapeParameterType::EQUATION,
3611 6, 19
3614 EnhancedCustomShapeParameterType::NORMAL,
3615 EnhancedCustomShapeParameterType::EQUATION,
3616 0, 19
3619 EnhancedCustomShapeParameterType::EQUATION,
3620 EnhancedCustomShapeParameterType::EQUATION,
3621 2, 20
3624 EnhancedCustomShapeParameterType::EQUATION,
3625 EnhancedCustomShapeParameterType::EQUATION,
3626 11, 22
3629 EnhancedCustomShapeParameterType::EQUATION,
3630 EnhancedCustomShapeParameterType::EQUATION,
3631 8, 21
3634 EnhancedCustomShapeParameterType::EQUATION,
3635 EnhancedCustomShapeParameterType::EQUATION,
3636 38, 39
3639 EnhancedCustomShapeParameterType::EQUATION,
3640 EnhancedCustomShapeParameterType::EQUATION,
3641 9, 16
3644 EnhancedCustomShapeParameterType::EQUATION,
3645 EnhancedCustomShapeParameterType::EQUATION,
3646 8, 21
3649 EnhancedCustomShapeParameterType::EQUATION,
3650 EnhancedCustomShapeParameterType::EQUATION,
3651 40, 41
3654 EnhancedCustomShapeParameterType::EQUATION,
3655 EnhancedCustomShapeParameterType::EQUATION,
3656 11, 18
3659 EnhancedCustomShapeParameterType::EQUATION,
3660 EnhancedCustomShapeParameterType::EQUATION,
3661 12, 22
3664 EnhancedCustomShapeParameterType::EQUATION,
3665 EnhancedCustomShapeParameterType::EQUATION,
3666 8, 21
3669 EnhancedCustomShapeParameterType::EQUATION,
3670 EnhancedCustomShapeParameterType::EQUATION,
3671 42, 43
3674 EnhancedCustomShapeParameterType::EQUATION,
3675 EnhancedCustomShapeParameterType::EQUATION,
3676 10, 16
3679 EnhancedCustomShapeParameterType::EQUATION,
3680 EnhancedCustomShapeParameterType::EQUATION,
3681 8, 21
3684 EnhancedCustomShapeParameterType::EQUATION,
3685 EnhancedCustomShapeParameterType::EQUATION,
3686 44, 45
3689 EnhancedCustomShapeParameterType::EQUATION,
3690 EnhancedCustomShapeParameterType::EQUATION,
3691 12, 18
3694 EnhancedCustomShapeParameterType::NORMAL,
3695 EnhancedCustomShapeParameterType::EQUATION,
3696 0, 24
3699 EnhancedCustomShapeParameterType::EQUATION,
3700 EnhancedCustomShapeParameterType::EQUATION,
3701 2, 20
3704 EnhancedCustomShapeParameterType::NORMAL,
3705 EnhancedCustomShapeParameterType::EQUATION,
3706 0, 19
3709 EnhancedCustomShapeParameterType::EQUATION,
3710 EnhancedCustomShapeParameterType::EQUATION,
3711 6, 19
3714 EnhancedCustomShapeParameterType::EQUATION,
3715 EnhancedCustomShapeParameterType::EQUATION,
3716 6, 21
3719 EnhancedCustomShapeParameterType::EQUATION,
3720 EnhancedCustomShapeParameterType::EQUATION,
3721 8, 21
3724 EnhancedCustomShapeParameterType::EQUATION,
3725 EnhancedCustomShapeParameterType::EQUATION,
3726 46, 47
3729 EnhancedCustomShapeParameterType::EQUATION,
3730 EnhancedCustomShapeParameterType::NORMAL,
3731 10, 0
3734 EnhancedCustomShapeParameterType::EQUATION,
3735 EnhancedCustomShapeParameterType::EQUATION,
3736 8, 21
3739 EnhancedCustomShapeParameterType::EQUATION,
3740 EnhancedCustomShapeParameterType::EQUATION,
3741 48, 49
3744 EnhancedCustomShapeParameterType::EQUATION,
3745 EnhancedCustomShapeParameterType::EQUATION,
3746 7, 19
3749 EnhancedCustomShapeParameterType::EQUATION,
3750 EnhancedCustomShapeParameterType::EQUATION,
3751 7, 19
3754 EnhancedCustomShapeParameterType::EQUATION,
3755 EnhancedCustomShapeParameterType::EQUATION,
3756 33, 19
3759 EnhancedCustomShapeParameterType::EQUATION,
3760 EnhancedCustomShapeParameterType::EQUATION,
3761 3, 20
3764 EnhancedCustomShapeParameterType::EQUATION,
3765 EnhancedCustomShapeParameterType::EQUATION,
3766 33, 24
3769 EnhancedCustomShapeParameterType::EQUATION,
3770 EnhancedCustomShapeParameterType::EQUATION,
3771 14, 24
3774 EnhancedCustomShapeParameterType::EQUATION,
3775 EnhancedCustomShapeParameterType::EQUATION,
3776 8, 21
3779 EnhancedCustomShapeParameterType::EQUATION,
3780 EnhancedCustomShapeParameterType::EQUATION,
3781 50, 51
3784 EnhancedCustomShapeParameterType::EQUATION,
3785 EnhancedCustomShapeParameterType::EQUATION,
3786 10, 16
3789 EnhancedCustomShapeParameterType::EQUATION,
3790 EnhancedCustomShapeParameterType::EQUATION,
3791 8, 21
3794 EnhancedCustomShapeParameterType::EQUATION,
3795 EnhancedCustomShapeParameterType::EQUATION,
3796 52, 53
3799 EnhancedCustomShapeParameterType::EQUATION,
3800 EnhancedCustomShapeParameterType::EQUATION,
3801 9, 18
3804 EnhancedCustomShapeParameterType::EQUATION,
3805 EnhancedCustomShapeParameterType::EQUATION,
3806 8, 21
3809 EnhancedCustomShapeParameterType::EQUATION,
3810 EnhancedCustomShapeParameterType::EQUATION,
3811 54, 55
3814 EnhancedCustomShapeParameterType::EQUATION,
3815 EnhancedCustomShapeParameterType::EQUATION,
3816 13, 16
3819 EnhancedCustomShapeParameterType::EQUATION,
3820 EnhancedCustomShapeParameterType::EQUATION,
3821 8, 21
3824 EnhancedCustomShapeParameterType::EQUATION,
3825 EnhancedCustomShapeParameterType::EQUATION,
3826 56, 57
3829 EnhancedCustomShapeParameterType::EQUATION,
3830 EnhancedCustomShapeParameterType::EQUATION,
3831 11, 18
3834 EnhancedCustomShapeParameterType::EQUATION,
3835 EnhancedCustomShapeParameterType::EQUATION,
3836 11, 22
3839 EnhancedCustomShapeParameterType::EQUATION,
3840 EnhancedCustomShapeParameterType::EQUATION,
3841 12, 22
3844 EnhancedCustomShapeParameterType::EQUATION,
3845 EnhancedCustomShapeParameterType::EQUATION,
3846 12, 18
3849 EnhancedCustomShapeParameterType::EQUATION,
3850 EnhancedCustomShapeParameterType::EQUATION,
3851 6, 23
3854 EnhancedCustomShapeParameterType::EQUATION,
3855 EnhancedCustomShapeParameterType::EQUATION,
3856 6, 19
3859 EnhancedCustomShapeParameterType::EQUATION,
3860 EnhancedCustomShapeParameterType::EQUATION,
3861 7, 19
3864 EnhancedCustomShapeParameterType::EQUATION,
3865 EnhancedCustomShapeParameterType::EQUATION,
3866 7, 23
3869 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3872 aPropSequence [1].Name = "Segments";
3873 static const sal_uInt16 nValues[] = {
3874 // Command, Count
3875 1,1,
3876 2,1,
3877 17,1,
3878 2,1,
3879 17,1,
3880 2,1,
3881 17,1,
3882 2,1,
3883 17,1,
3884 2,5,
3885 17,1,
3886 2,1,
3887 17,1,
3888 2,3,
3889 4,0,
3890 7,0,
3891 5,0,
3892 1,1,
3893 17,1,
3894 2,1,
3895 17,1,
3896 2,1,
3897 4,0,
3898 1,1,
3899 17,1,
3900 2,1,
3901 17,1,
3902 2,1,
3903 4,0,
3904 19,0,
3905 7,0,
3906 5,0,
3907 1,1,
3908 2,4,
3909 17,1,
3910 2,1,
3911 17,1,
3912 2,6,
3913 17,1,
3914 2,1,
3915 17,1,
3916 2,1,
3917 17,1,
3918 2,1,
3919 17,1,
3920 4,0,
3921 1,1,
3922 2,1,
3923 1,1,
3924 2,1,
3925 1,1,
3926 2,1,
3927 1,1,
3928 2,1,
3929 6,0,
3932 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3935 aPropSequence [2].Name = "TextFrames";
3936 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3938 EnhancedCustomShapeTextFrame aTextFrame;
3940 static const CustomShapeProvider::ParameterPairData aData =
3942 EnhancedCustomShapeParameterType::EQUATION,
3943 EnhancedCustomShapeParameterType::NORMAL,
3944 6, 0
3946 aTextFrame.TopLeft = createParameterPair(&aData);
3949 static const CustomShapeProvider::ParameterPairData aData =
3951 EnhancedCustomShapeParameterType::EQUATION,
3952 EnhancedCustomShapeParameterType::EQUATION,
3953 7, 18
3955 aTextFrame.BottomRight = createParameterPair(&aData);
3957 aTextFrameSeq [0] = aTextFrame;
3959 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3961 aPropertyMap [PROP_Path] <<= aPropSequence;
3964 awt::Rectangle aRectangle;
3965 aRectangle.X = 0;
3966 aRectangle.Y = 0;
3967 aRectangle.Width = 0;
3968 aRectangle.Height = 0;
3969 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3971 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-ribbon2");
3973 return aPropertyMap;
3976 class ShapeCbracePair : public CustomShapeProvider
3978 virtual PropertyMap getProperties()
3980 PropertyMap aPropertyMap;
3983 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
3985 Any aAny ((sal_Int32) 8333);
3986 aAdjSequence [0].Value = aAny;
3987 aAdjSequence [0].Name = "adj";
3989 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3992 static const char *aStrings[] = {
3993 "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))",
3994 "min(logwidth,logheight)",
3995 "?1 *?0 /100000",
3996 "?1 *?0 /50000",
3997 "logwidth+0-?3 ",
3998 "logwidth+0-?2 ",
3999 "logheight/2",
4000 "?6 +0-?2 ",
4001 "?6 +?2 -0",
4002 "logheight+0-?2 ",
4003 "?2 *29289/100000",
4004 "?2 +?10 -0",
4005 "logwidth+0-?11 ",
4006 "logheight+0-?10 ",
4007 "logwidth/2",
4008 "logheight",
4009 "logwidth",
4010 "(5400000)/60000.0",
4011 "(5400000)/60000.0",
4012 "(0)/60000.0",
4013 "(-5400000)/60000.0",
4014 "(5400000)/60000.0",
4015 "(-5400000)/60000.0",
4016 "(10800000)/60000.0",
4017 "(5400000)/60000.0",
4018 "(16200000)/60000.0",
4019 "(5400000)/60000.0",
4020 "(10800000)/60000.0",
4021 "(-5400000)/60000.0",
4022 "(16200000)/60000.0",
4023 "(-5400000)/60000.0",
4024 "(0)/60000.0",
4025 "(5400000)/60000.0",
4026 "(5400000)/60000.0",
4027 "(5400000)/60000.0",
4028 "(0)/60000.0",
4029 "(-5400000)/60000.0",
4030 "(5400000)/60000.0",
4031 "(-5400000)/60000.0",
4032 "(10800000)/60000.0",
4033 "(5400000)/60000.0",
4034 "(16200000)/60000.0",
4035 "(5400000)/60000.0",
4036 "(10800000)/60000.0",
4037 "(-5400000)/60000.0",
4038 "(16200000)/60000.0",
4039 "(-5400000)/60000.0",
4040 "(0)/60000.0",
4041 "(5400000)/60000.0"
4043 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4046 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4048 Sequence< PropertyValue > aPropSequence (4);
4050 aPropSequence [0].Name = "Position";
4051 static const CustomShapeProvider::ParameterPairData aData =
4053 EnhancedCustomShapeParameterType::NORMAL,
4054 EnhancedCustomShapeParameterType::EQUATION,
4055 0, 2
4057 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4060 aPropSequence [1].Name = "RangeYMaximum";
4061 EnhancedCustomShapeParameter aParameter;
4062 Any aAny ((sal_Int32) 25000);
4063 aParameter.Value = aAny;
4064 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4065 aPropSequence [1].Value = makeAny (aParameter);
4068 aPropSequence [2].Name = "RangeYMinimum";
4069 EnhancedCustomShapeParameter aParameter;
4070 Any aAny ((sal_Int32) 0);
4071 aParameter.Value = aAny;
4072 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4073 aPropSequence [2].Value = makeAny (aParameter);
4076 aPropSequence [3].Name = "RefY";
4077 Any aAny ((sal_Int32) 0);
4078 aPropSequence [3].Value = makeAny (aAny);
4080 aPropSequenceSequence [0] = aPropSequence;
4082 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4085 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4088 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4091 Sequence< PropertyValue > aPropSequence (3);
4093 aPropSequence [0].Name = "Coordinates";
4094 static const CustomShapeProvider::ParameterPairData aData[] = {
4096 EnhancedCustomShapeParameterType::EQUATION,
4097 EnhancedCustomShapeParameterType::EQUATION,
4098 3, 15
4101 EnhancedCustomShapeParameterType::EQUATION,
4102 EnhancedCustomShapeParameterType::EQUATION,
4103 2, 2
4106 EnhancedCustomShapeParameterType::EQUATION,
4107 EnhancedCustomShapeParameterType::EQUATION,
4108 17, 18
4111 EnhancedCustomShapeParameterType::EQUATION,
4112 EnhancedCustomShapeParameterType::EQUATION,
4113 2, 8
4116 EnhancedCustomShapeParameterType::EQUATION,
4117 EnhancedCustomShapeParameterType::EQUATION,
4118 2, 2
4121 EnhancedCustomShapeParameterType::EQUATION,
4122 EnhancedCustomShapeParameterType::EQUATION,
4123 19, 20
4126 EnhancedCustomShapeParameterType::EQUATION,
4127 EnhancedCustomShapeParameterType::EQUATION,
4128 2, 2
4131 EnhancedCustomShapeParameterType::EQUATION,
4132 EnhancedCustomShapeParameterType::EQUATION,
4133 21, 22
4136 EnhancedCustomShapeParameterType::EQUATION,
4137 EnhancedCustomShapeParameterType::EQUATION,
4138 2, 2
4141 EnhancedCustomShapeParameterType::EQUATION,
4142 EnhancedCustomShapeParameterType::EQUATION,
4143 2, 2
4146 EnhancedCustomShapeParameterType::EQUATION,
4147 EnhancedCustomShapeParameterType::EQUATION,
4148 23, 24
4151 EnhancedCustomShapeParameterType::EQUATION,
4152 EnhancedCustomShapeParameterType::NORMAL,
4153 4, 0
4156 EnhancedCustomShapeParameterType::EQUATION,
4157 EnhancedCustomShapeParameterType::EQUATION,
4158 2, 2
4161 EnhancedCustomShapeParameterType::EQUATION,
4162 EnhancedCustomShapeParameterType::EQUATION,
4163 25, 26
4166 EnhancedCustomShapeParameterType::EQUATION,
4167 EnhancedCustomShapeParameterType::EQUATION,
4168 5, 7
4171 EnhancedCustomShapeParameterType::EQUATION,
4172 EnhancedCustomShapeParameterType::EQUATION,
4173 2, 2
4176 EnhancedCustomShapeParameterType::EQUATION,
4177 EnhancedCustomShapeParameterType::EQUATION,
4178 27, 28
4181 EnhancedCustomShapeParameterType::EQUATION,
4182 EnhancedCustomShapeParameterType::EQUATION,
4183 2, 2
4186 EnhancedCustomShapeParameterType::EQUATION,
4187 EnhancedCustomShapeParameterType::EQUATION,
4188 29, 30
4191 EnhancedCustomShapeParameterType::EQUATION,
4192 EnhancedCustomShapeParameterType::EQUATION,
4193 5, 9
4196 EnhancedCustomShapeParameterType::EQUATION,
4197 EnhancedCustomShapeParameterType::EQUATION,
4198 2, 2
4201 EnhancedCustomShapeParameterType::EQUATION,
4202 EnhancedCustomShapeParameterType::EQUATION,
4203 31, 32
4206 EnhancedCustomShapeParameterType::EQUATION,
4207 EnhancedCustomShapeParameterType::EQUATION,
4208 3, 15
4211 EnhancedCustomShapeParameterType::EQUATION,
4212 EnhancedCustomShapeParameterType::EQUATION,
4213 2, 2
4216 EnhancedCustomShapeParameterType::EQUATION,
4217 EnhancedCustomShapeParameterType::EQUATION,
4218 33, 34
4221 EnhancedCustomShapeParameterType::EQUATION,
4222 EnhancedCustomShapeParameterType::EQUATION,
4223 2, 8
4226 EnhancedCustomShapeParameterType::EQUATION,
4227 EnhancedCustomShapeParameterType::EQUATION,
4228 2, 2
4231 EnhancedCustomShapeParameterType::EQUATION,
4232 EnhancedCustomShapeParameterType::EQUATION,
4233 35, 36
4236 EnhancedCustomShapeParameterType::EQUATION,
4237 EnhancedCustomShapeParameterType::EQUATION,
4238 2, 2
4241 EnhancedCustomShapeParameterType::EQUATION,
4242 EnhancedCustomShapeParameterType::EQUATION,
4243 37, 38
4246 EnhancedCustomShapeParameterType::EQUATION,
4247 EnhancedCustomShapeParameterType::EQUATION,
4248 2, 2
4251 EnhancedCustomShapeParameterType::EQUATION,
4252 EnhancedCustomShapeParameterType::EQUATION,
4253 2, 2
4256 EnhancedCustomShapeParameterType::EQUATION,
4257 EnhancedCustomShapeParameterType::EQUATION,
4258 39, 40
4261 EnhancedCustomShapeParameterType::EQUATION,
4262 EnhancedCustomShapeParameterType::NORMAL,
4263 4, 0
4266 EnhancedCustomShapeParameterType::EQUATION,
4267 EnhancedCustomShapeParameterType::EQUATION,
4268 2, 2
4271 EnhancedCustomShapeParameterType::EQUATION,
4272 EnhancedCustomShapeParameterType::EQUATION,
4273 41, 42
4276 EnhancedCustomShapeParameterType::EQUATION,
4277 EnhancedCustomShapeParameterType::EQUATION,
4278 5, 7
4281 EnhancedCustomShapeParameterType::EQUATION,
4282 EnhancedCustomShapeParameterType::EQUATION,
4283 2, 2
4286 EnhancedCustomShapeParameterType::EQUATION,
4287 EnhancedCustomShapeParameterType::EQUATION,
4288 43, 44
4291 EnhancedCustomShapeParameterType::EQUATION,
4292 EnhancedCustomShapeParameterType::EQUATION,
4293 2, 2
4296 EnhancedCustomShapeParameterType::EQUATION,
4297 EnhancedCustomShapeParameterType::EQUATION,
4298 45, 46
4301 EnhancedCustomShapeParameterType::EQUATION,
4302 EnhancedCustomShapeParameterType::EQUATION,
4303 5, 9
4306 EnhancedCustomShapeParameterType::EQUATION,
4307 EnhancedCustomShapeParameterType::EQUATION,
4308 2, 2
4311 EnhancedCustomShapeParameterType::EQUATION,
4312 EnhancedCustomShapeParameterType::EQUATION,
4313 47, 48
4316 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4319 aPropSequence [1].Name = "Segments";
4320 static const sal_uInt16 nValues[] = {
4321 // Command, Count
4322 1,1,
4323 17,1,
4324 2,1,
4325 17,2,
4326 2,1,
4327 17,1,
4328 2,1,
4329 17,1,
4330 2,1,
4331 17,2,
4332 2,1,
4333 17,1,
4334 4,0,
4335 7,0,
4336 5,0,
4337 1,1,
4338 17,1,
4339 2,1,
4340 17,2,
4341 2,1,
4342 17,1,
4343 1,1,
4344 17,1,
4345 2,1,
4346 17,2,
4347 2,1,
4348 17,1,
4349 6,0,
4352 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4355 aPropSequence [2].Name = "TextFrames";
4356 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4358 EnhancedCustomShapeTextFrame aTextFrame;
4360 static const CustomShapeProvider::ParameterPairData aData =
4362 EnhancedCustomShapeParameterType::EQUATION,
4363 EnhancedCustomShapeParameterType::EQUATION,
4364 11, 11
4366 aTextFrame.TopLeft = createParameterPair(&aData);
4369 static const CustomShapeProvider::ParameterPairData aData =
4371 EnhancedCustomShapeParameterType::EQUATION,
4372 EnhancedCustomShapeParameterType::EQUATION,
4373 12, 13
4375 aTextFrame.BottomRight = createParameterPair(&aData);
4377 aTextFrameSeq [0] = aTextFrame;
4379 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4381 aPropertyMap [PROP_Path] <<= aPropSequence;
4384 awt::Rectangle aRectangle;
4385 aRectangle.X = 0;
4386 aRectangle.Y = 0;
4387 aRectangle.Width = 0;
4388 aRectangle.Height = 0;
4389 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4391 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bracePair");
4393 return aPropertyMap;
4396 class ShapeCflowChartExtract : public CustomShapeProvider
4398 virtual PropertyMap getProperties()
4400 PropertyMap aPropertyMap;
4403 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4406 static const char *aStrings[] = {
4407 "logwidth*3/4",
4408 "logwidth/2",
4409 "logwidth/4",
4410 "logheight/2",
4411 "logheight"
4413 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4416 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4419 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4422 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4425 Sequence< PropertyValue > aPropSequence (4);
4427 aPropSequence [0].Name = "Coordinates";
4428 static const CustomShapeProvider::ParameterPairData aData[] = {
4430 EnhancedCustomShapeParameterType::NORMAL,
4431 EnhancedCustomShapeParameterType::NORMAL,
4432 0, 2
4435 EnhancedCustomShapeParameterType::NORMAL,
4436 EnhancedCustomShapeParameterType::NORMAL,
4437 1, 0
4440 EnhancedCustomShapeParameterType::NORMAL,
4441 EnhancedCustomShapeParameterType::NORMAL,
4442 2, 2
4445 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4448 aPropSequence [1].Name = "Segments";
4449 static const sal_uInt16 nValues[] = {
4450 // Command, Count
4451 1,1,
4452 2,2,
4453 4,0,
4456 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4459 aPropSequence [2].Name = "SubViewSize";
4460 Sequence< awt::Size > aSizeSequence (1);
4462 awt::Size aSize;
4463 aSize.Width = 2;
4464 aSize.Height = 2;
4465 aSizeSequence [0] = aSize;
4467 aPropSequence [2].Value = makeAny (aSizeSequence);
4470 aPropSequence [3].Name = "TextFrames";
4471 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4473 EnhancedCustomShapeTextFrame aTextFrame;
4475 static const CustomShapeProvider::ParameterPairData aData =
4477 EnhancedCustomShapeParameterType::EQUATION,
4478 EnhancedCustomShapeParameterType::EQUATION,
4479 2, 3
4481 aTextFrame.TopLeft = createParameterPair(&aData);
4484 static const CustomShapeProvider::ParameterPairData aData =
4486 EnhancedCustomShapeParameterType::EQUATION,
4487 EnhancedCustomShapeParameterType::EQUATION,
4488 0, 4
4490 aTextFrame.BottomRight = createParameterPair(&aData);
4492 aTextFrameSeq [0] = aTextFrame;
4494 aPropSequence [3].Value = makeAny (aTextFrameSeq);
4496 aPropertyMap [PROP_Path] <<= aPropSequence;
4499 awt::Rectangle aRectangle;
4500 aRectangle.X = 0;
4501 aRectangle.Y = 0;
4502 aRectangle.Width = 0;
4503 aRectangle.Height = 0;
4504 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4506 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartExtract");
4508 return aPropertyMap;
4511 class ShapeCactionButtonHome : public CustomShapeProvider
4513 virtual PropertyMap getProperties()
4515 PropertyMap aPropertyMap;
4518 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4521 static const char *aStrings[] = {
4522 "min(logwidth,logheight)",
4523 "?0 *3/8",
4524 "logheight/2",
4525 "?2 +0-?1 ",
4526 "?2 +?1 -0",
4527 "logwidth/2",
4528 "?5 +0-?1 ",
4529 "?5 +?1 -0",
4530 "?0 *3/4",
4531 "?8 *1/16",
4532 "?8 *1/8",
4533 "?8 *3/16",
4534 "?8 *5/16",
4535 "?8 *7/16",
4536 "?8 *9/16",
4537 "?8 *11/16",
4538 "?8 *3/4",
4539 "?8 *13/16",
4540 "?8 *7/8",
4541 "?3 +?9 -0",
4542 "?3 +?11 -0",
4543 "?3 +?12 -0",
4544 "?3 +?16 -0",
4545 "?6 +?10 -0",
4546 "?6 +?13 -0",
4547 "?6 +?14 -0",
4548 "?6 +?15 -0",
4549 "?6 +?17 -0",
4550 "?6 +?18 -0",
4551 "logwidth",
4552 "logheight"
4554 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4557 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4560 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4563 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4566 Sequence< PropertyValue > aPropSequence (3);
4568 aPropSequence [0].Name = "Coordinates";
4569 static const CustomShapeProvider::ParameterPairData aData[] = {
4571 EnhancedCustomShapeParameterType::NORMAL,
4572 EnhancedCustomShapeParameterType::NORMAL,
4573 0, 0
4576 EnhancedCustomShapeParameterType::EQUATION,
4577 EnhancedCustomShapeParameterType::NORMAL,
4578 29, 0
4581 EnhancedCustomShapeParameterType::EQUATION,
4582 EnhancedCustomShapeParameterType::EQUATION,
4583 29, 30
4586 EnhancedCustomShapeParameterType::NORMAL,
4587 EnhancedCustomShapeParameterType::EQUATION,
4588 0, 30
4591 EnhancedCustomShapeParameterType::EQUATION,
4592 EnhancedCustomShapeParameterType::EQUATION,
4593 5, 3
4596 EnhancedCustomShapeParameterType::EQUATION,
4597 EnhancedCustomShapeParameterType::EQUATION,
4598 6, 2
4601 EnhancedCustomShapeParameterType::EQUATION,
4602 EnhancedCustomShapeParameterType::EQUATION,
4603 23, 2
4606 EnhancedCustomShapeParameterType::EQUATION,
4607 EnhancedCustomShapeParameterType::EQUATION,
4608 23, 4
4611 EnhancedCustomShapeParameterType::EQUATION,
4612 EnhancedCustomShapeParameterType::EQUATION,
4613 28, 4
4616 EnhancedCustomShapeParameterType::EQUATION,
4617 EnhancedCustomShapeParameterType::EQUATION,
4618 28, 2
4621 EnhancedCustomShapeParameterType::EQUATION,
4622 EnhancedCustomShapeParameterType::EQUATION,
4623 7, 2
4626 EnhancedCustomShapeParameterType::EQUATION,
4627 EnhancedCustomShapeParameterType::EQUATION,
4628 27, 21
4631 EnhancedCustomShapeParameterType::EQUATION,
4632 EnhancedCustomShapeParameterType::EQUATION,
4633 27, 19
4636 EnhancedCustomShapeParameterType::EQUATION,
4637 EnhancedCustomShapeParameterType::EQUATION,
4638 26, 19
4641 EnhancedCustomShapeParameterType::EQUATION,
4642 EnhancedCustomShapeParameterType::EQUATION,
4643 26, 20
4646 EnhancedCustomShapeParameterType::EQUATION,
4647 EnhancedCustomShapeParameterType::EQUATION,
4648 27, 21
4651 EnhancedCustomShapeParameterType::EQUATION,
4652 EnhancedCustomShapeParameterType::EQUATION,
4653 27, 19
4656 EnhancedCustomShapeParameterType::EQUATION,
4657 EnhancedCustomShapeParameterType::EQUATION,
4658 26, 19
4661 EnhancedCustomShapeParameterType::EQUATION,
4662 EnhancedCustomShapeParameterType::EQUATION,
4663 26, 20
4666 EnhancedCustomShapeParameterType::EQUATION,
4667 EnhancedCustomShapeParameterType::EQUATION,
4668 23, 2
4671 EnhancedCustomShapeParameterType::EQUATION,
4672 EnhancedCustomShapeParameterType::EQUATION,
4673 23, 4
4676 EnhancedCustomShapeParameterType::EQUATION,
4677 EnhancedCustomShapeParameterType::EQUATION,
4678 24, 4
4681 EnhancedCustomShapeParameterType::EQUATION,
4682 EnhancedCustomShapeParameterType::EQUATION,
4683 24, 22
4686 EnhancedCustomShapeParameterType::EQUATION,
4687 EnhancedCustomShapeParameterType::EQUATION,
4688 25, 22
4691 EnhancedCustomShapeParameterType::EQUATION,
4692 EnhancedCustomShapeParameterType::EQUATION,
4693 25, 4
4696 EnhancedCustomShapeParameterType::EQUATION,
4697 EnhancedCustomShapeParameterType::EQUATION,
4698 28, 4
4701 EnhancedCustomShapeParameterType::EQUATION,
4702 EnhancedCustomShapeParameterType::EQUATION,
4703 28, 2
4706 EnhancedCustomShapeParameterType::EQUATION,
4707 EnhancedCustomShapeParameterType::EQUATION,
4708 5, 3
4711 EnhancedCustomShapeParameterType::EQUATION,
4712 EnhancedCustomShapeParameterType::EQUATION,
4713 6, 2
4716 EnhancedCustomShapeParameterType::EQUATION,
4717 EnhancedCustomShapeParameterType::EQUATION,
4718 7, 2
4721 EnhancedCustomShapeParameterType::EQUATION,
4722 EnhancedCustomShapeParameterType::EQUATION,
4723 24, 22
4726 EnhancedCustomShapeParameterType::EQUATION,
4727 EnhancedCustomShapeParameterType::EQUATION,
4728 25, 22
4731 EnhancedCustomShapeParameterType::EQUATION,
4732 EnhancedCustomShapeParameterType::EQUATION,
4733 25, 4
4736 EnhancedCustomShapeParameterType::EQUATION,
4737 EnhancedCustomShapeParameterType::EQUATION,
4738 24, 4
4741 EnhancedCustomShapeParameterType::EQUATION,
4742 EnhancedCustomShapeParameterType::EQUATION,
4743 5, 3
4746 EnhancedCustomShapeParameterType::EQUATION,
4747 EnhancedCustomShapeParameterType::EQUATION,
4748 26, 20
4751 EnhancedCustomShapeParameterType::EQUATION,
4752 EnhancedCustomShapeParameterType::EQUATION,
4753 26, 19
4756 EnhancedCustomShapeParameterType::EQUATION,
4757 EnhancedCustomShapeParameterType::EQUATION,
4758 27, 19
4761 EnhancedCustomShapeParameterType::EQUATION,
4762 EnhancedCustomShapeParameterType::EQUATION,
4763 27, 21
4766 EnhancedCustomShapeParameterType::EQUATION,
4767 EnhancedCustomShapeParameterType::EQUATION,
4768 7, 2
4771 EnhancedCustomShapeParameterType::EQUATION,
4772 EnhancedCustomShapeParameterType::EQUATION,
4773 28, 2
4776 EnhancedCustomShapeParameterType::EQUATION,
4777 EnhancedCustomShapeParameterType::EQUATION,
4778 28, 4
4781 EnhancedCustomShapeParameterType::EQUATION,
4782 EnhancedCustomShapeParameterType::EQUATION,
4783 23, 4
4786 EnhancedCustomShapeParameterType::EQUATION,
4787 EnhancedCustomShapeParameterType::EQUATION,
4788 23, 2
4791 EnhancedCustomShapeParameterType::EQUATION,
4792 EnhancedCustomShapeParameterType::EQUATION,
4793 6, 2
4796 EnhancedCustomShapeParameterType::EQUATION,
4797 EnhancedCustomShapeParameterType::EQUATION,
4798 26, 20
4801 EnhancedCustomShapeParameterType::EQUATION,
4802 EnhancedCustomShapeParameterType::EQUATION,
4803 27, 21
4806 EnhancedCustomShapeParameterType::EQUATION,
4807 EnhancedCustomShapeParameterType::EQUATION,
4808 28, 2
4811 EnhancedCustomShapeParameterType::EQUATION,
4812 EnhancedCustomShapeParameterType::EQUATION,
4813 23, 2
4816 EnhancedCustomShapeParameterType::EQUATION,
4817 EnhancedCustomShapeParameterType::EQUATION,
4818 24, 4
4821 EnhancedCustomShapeParameterType::EQUATION,
4822 EnhancedCustomShapeParameterType::EQUATION,
4823 24, 22
4826 EnhancedCustomShapeParameterType::EQUATION,
4827 EnhancedCustomShapeParameterType::EQUATION,
4828 25, 22
4831 EnhancedCustomShapeParameterType::EQUATION,
4832 EnhancedCustomShapeParameterType::EQUATION,
4833 25, 4
4836 EnhancedCustomShapeParameterType::NORMAL,
4837 EnhancedCustomShapeParameterType::NORMAL,
4838 0, 0
4841 EnhancedCustomShapeParameterType::EQUATION,
4842 EnhancedCustomShapeParameterType::NORMAL,
4843 29, 0
4846 EnhancedCustomShapeParameterType::EQUATION,
4847 EnhancedCustomShapeParameterType::EQUATION,
4848 29, 30
4851 EnhancedCustomShapeParameterType::NORMAL,
4852 EnhancedCustomShapeParameterType::EQUATION,
4853 0, 30
4856 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4859 aPropSequence [1].Name = "Segments";
4860 static const sal_uInt16 nValues[] = {
4861 // Command, Count
4862 1,1,
4863 2,3,
4864 4,0,
4865 1,1,
4866 2,10,
4867 4,0,
4868 7,0,
4869 5,0,
4870 1,1,
4871 2,3,
4872 4,0,
4873 1,1,
4874 2,7,
4875 4,0,
4876 19,0,
4877 7,0,
4878 5,0,
4879 1,1,
4880 2,2,
4881 4,0,
4882 1,1,
4883 2,3,
4884 4,0,
4885 18,0,
4886 7,0,
4887 5,0,
4888 1,1,
4889 2,10,
4890 4,0,
4891 1,1,
4892 2,1,
4893 1,1,
4894 2,1,
4895 1,1,
4896 2,3,
4897 6,0,
4898 5,0,
4899 1,1,
4900 2,3,
4901 4,0,
4902 6,0,
4905 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4908 aPropSequence [2].Name = "TextFrames";
4909 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4911 EnhancedCustomShapeTextFrame aTextFrame;
4913 static const CustomShapeProvider::ParameterPairData aData =
4915 EnhancedCustomShapeParameterType::NORMAL,
4916 EnhancedCustomShapeParameterType::NORMAL,
4917 0, 0
4919 aTextFrame.TopLeft = createParameterPair(&aData);
4922 static const CustomShapeProvider::ParameterPairData aData =
4924 EnhancedCustomShapeParameterType::EQUATION,
4925 EnhancedCustomShapeParameterType::EQUATION,
4926 29, 30
4928 aTextFrame.BottomRight = createParameterPair(&aData);
4930 aTextFrameSeq [0] = aTextFrame;
4932 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4934 aPropertyMap [PROP_Path] <<= aPropSequence;
4937 awt::Rectangle aRectangle;
4938 aRectangle.X = 0;
4939 aRectangle.Y = 0;
4940 aRectangle.Width = 0;
4941 aRectangle.Height = 0;
4942 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4944 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonHome");
4946 return aPropertyMap;
4949 class ShapeCaccentBorderCallout3 : public CustomShapeProvider
4951 virtual PropertyMap getProperties()
4953 PropertyMap aPropertyMap;
4956 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8);
4958 Any aAny ((sal_Int32) 18750);
4959 aAdjSequence [0].Value = aAny;
4960 aAdjSequence [0].Name = "adj1";
4963 Any aAny ((sal_Int32) -8333);
4964 aAdjSequence [1].Value = aAny;
4965 aAdjSequence [1].Name = "adj2";
4968 Any aAny ((sal_Int32) 18750);
4969 aAdjSequence [2].Value = aAny;
4970 aAdjSequence [2].Name = "adj3";
4973 Any aAny ((sal_Int32) -16667);
4974 aAdjSequence [3].Value = aAny;
4975 aAdjSequence [3].Name = "adj4";
4978 Any aAny ((sal_Int32) 100000);
4979 aAdjSequence [4].Value = aAny;
4980 aAdjSequence [4].Name = "adj5";
4983 Any aAny ((sal_Int32) -16667);
4984 aAdjSequence [5].Value = aAny;
4985 aAdjSequence [5].Name = "adj6";
4988 Any aAny ((sal_Int32) 112963);
4989 aAdjSequence [6].Value = aAny;
4990 aAdjSequence [6].Name = "adj7";
4993 Any aAny ((sal_Int32) -8333);
4994 aAdjSequence [7].Value = aAny;
4995 aAdjSequence [7].Name = "adj8";
4997 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5000 static const char *aStrings[] = {
5001 "logheight*$0 /100000",
5002 "logwidth*$1 /100000",
5003 "logheight*$2 /100000",
5004 "logwidth*$3 /100000",
5005 "logheight*$4 /100000",
5006 "logwidth*$5 /100000",
5007 "logheight*$6 /100000",
5008 "logwidth*$7 /100000",
5009 "logwidth",
5010 "logheight/2",
5011 "logwidth/2",
5012 "logheight"
5014 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5017 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
5019 Sequence< PropertyValue > aPropSequence (7);
5021 aPropSequence [0].Name = "Position";
5022 static const CustomShapeProvider::ParameterPairData aData =
5024 EnhancedCustomShapeParameterType::EQUATION,
5025 EnhancedCustomShapeParameterType::EQUATION,
5026 1, 0
5028 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5031 aPropSequence [1].Name = "RangeXMaximum";
5032 EnhancedCustomShapeParameter aParameter;
5033 Any aAny ((sal_Int32) 2147483647);
5034 aParameter.Value = aAny;
5035 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5036 aPropSequence [1].Value = makeAny (aParameter);
5039 aPropSequence [2].Name = "RangeXMinimum";
5040 EnhancedCustomShapeParameter aParameter;
5041 Any aAny ((sal_Int32) -2147483647);
5042 aParameter.Value = aAny;
5043 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5044 aPropSequence [2].Value = makeAny (aParameter);
5047 aPropSequence [3].Name = "RangeYMaximum";
5048 EnhancedCustomShapeParameter aParameter;
5049 Any aAny ((sal_Int32) 2147483647);
5050 aParameter.Value = aAny;
5051 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5052 aPropSequence [3].Value = makeAny (aParameter);
5055 aPropSequence [4].Name = "RangeYMinimum";
5056 EnhancedCustomShapeParameter aParameter;
5057 Any aAny ((sal_Int32) -2147483647);
5058 aParameter.Value = aAny;
5059 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5060 aPropSequence [4].Value = makeAny (aParameter);
5063 aPropSequence [5].Name = "RefX";
5064 Any aAny ((sal_Int32) 1);
5065 aPropSequence [5].Value = makeAny (aAny);
5068 aPropSequence [6].Name = "RefY";
5069 Any aAny ((sal_Int32) 0);
5070 aPropSequence [6].Value = makeAny (aAny);
5072 aPropSequenceSequence [0] = aPropSequence;
5075 Sequence< PropertyValue > aPropSequence (7);
5077 aPropSequence [0].Name = "Position";
5078 static const CustomShapeProvider::ParameterPairData aData =
5080 EnhancedCustomShapeParameterType::EQUATION,
5081 EnhancedCustomShapeParameterType::EQUATION,
5082 3, 2
5084 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5087 aPropSequence [1].Name = "RangeXMaximum";
5088 EnhancedCustomShapeParameter aParameter;
5089 Any aAny ((sal_Int32) 2147483647);
5090 aParameter.Value = aAny;
5091 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5092 aPropSequence [1].Value = makeAny (aParameter);
5095 aPropSequence [2].Name = "RangeXMinimum";
5096 EnhancedCustomShapeParameter aParameter;
5097 Any aAny ((sal_Int32) -2147483647);
5098 aParameter.Value = aAny;
5099 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5100 aPropSequence [2].Value = makeAny (aParameter);
5103 aPropSequence [3].Name = "RangeYMaximum";
5104 EnhancedCustomShapeParameter aParameter;
5105 Any aAny ((sal_Int32) 2147483647);
5106 aParameter.Value = aAny;
5107 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5108 aPropSequence [3].Value = makeAny (aParameter);
5111 aPropSequence [4].Name = "RangeYMinimum";
5112 EnhancedCustomShapeParameter aParameter;
5113 Any aAny ((sal_Int32) -2147483647);
5114 aParameter.Value = aAny;
5115 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5116 aPropSequence [4].Value = makeAny (aParameter);
5119 aPropSequence [5].Name = "RefX";
5120 Any aAny ((sal_Int32) 3);
5121 aPropSequence [5].Value = makeAny (aAny);
5124 aPropSequence [6].Name = "RefY";
5125 Any aAny ((sal_Int32) 2);
5126 aPropSequence [6].Value = makeAny (aAny);
5128 aPropSequenceSequence [1] = aPropSequence;
5131 Sequence< PropertyValue > aPropSequence (7);
5133 aPropSequence [0].Name = "Position";
5134 static const CustomShapeProvider::ParameterPairData aData =
5136 EnhancedCustomShapeParameterType::EQUATION,
5137 EnhancedCustomShapeParameterType::EQUATION,
5138 5, 4
5140 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5143 aPropSequence [1].Name = "RangeXMaximum";
5144 EnhancedCustomShapeParameter aParameter;
5145 Any aAny ((sal_Int32) 2147483647);
5146 aParameter.Value = aAny;
5147 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5148 aPropSequence [1].Value = makeAny (aParameter);
5151 aPropSequence [2].Name = "RangeXMinimum";
5152 EnhancedCustomShapeParameter aParameter;
5153 Any aAny ((sal_Int32) -2147483647);
5154 aParameter.Value = aAny;
5155 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5156 aPropSequence [2].Value = makeAny (aParameter);
5159 aPropSequence [3].Name = "RangeYMaximum";
5160 EnhancedCustomShapeParameter aParameter;
5161 Any aAny ((sal_Int32) 2147483647);
5162 aParameter.Value = aAny;
5163 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5164 aPropSequence [3].Value = makeAny (aParameter);
5167 aPropSequence [4].Name = "RangeYMinimum";
5168 EnhancedCustomShapeParameter aParameter;
5169 Any aAny ((sal_Int32) -2147483647);
5170 aParameter.Value = aAny;
5171 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5172 aPropSequence [4].Value = makeAny (aParameter);
5175 aPropSequence [5].Name = "RefX";
5176 Any aAny ((sal_Int32) 5);
5177 aPropSequence [5].Value = makeAny (aAny);
5180 aPropSequence [6].Name = "RefY";
5181 Any aAny ((sal_Int32) 4);
5182 aPropSequence [6].Value = makeAny (aAny);
5184 aPropSequenceSequence [2] = aPropSequence;
5187 Sequence< PropertyValue > aPropSequence (7);
5189 aPropSequence [0].Name = "Position";
5190 static const CustomShapeProvider::ParameterPairData aData =
5192 EnhancedCustomShapeParameterType::EQUATION,
5193 EnhancedCustomShapeParameterType::EQUATION,
5194 7, 6
5196 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5199 aPropSequence [1].Name = "RangeXMaximum";
5200 EnhancedCustomShapeParameter aParameter;
5201 Any aAny ((sal_Int32) 2147483647);
5202 aParameter.Value = aAny;
5203 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5204 aPropSequence [1].Value = makeAny (aParameter);
5207 aPropSequence [2].Name = "RangeXMinimum";
5208 EnhancedCustomShapeParameter aParameter;
5209 Any aAny ((sal_Int32) -2147483647);
5210 aParameter.Value = aAny;
5211 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5212 aPropSequence [2].Value = makeAny (aParameter);
5215 aPropSequence [3].Name = "RangeYMaximum";
5216 EnhancedCustomShapeParameter aParameter;
5217 Any aAny ((sal_Int32) 2147483647);
5218 aParameter.Value = aAny;
5219 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5220 aPropSequence [3].Value = makeAny (aParameter);
5223 aPropSequence [4].Name = "RangeYMinimum";
5224 EnhancedCustomShapeParameter aParameter;
5225 Any aAny ((sal_Int32) -2147483647);
5226 aParameter.Value = aAny;
5227 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5228 aPropSequence [4].Value = makeAny (aParameter);
5231 aPropSequence [5].Name = "RefX";
5232 Any aAny ((sal_Int32) 7);
5233 aPropSequence [5].Value = makeAny (aAny);
5236 aPropSequence [6].Name = "RefY";
5237 Any aAny ((sal_Int32) 6);
5238 aPropSequence [6].Value = makeAny (aAny);
5240 aPropSequenceSequence [3] = aPropSequence;
5242 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5245 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5248 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5251 Sequence< PropertyValue > aPropSequence (3);
5253 aPropSequence [0].Name = "Coordinates";
5254 static const CustomShapeProvider::ParameterPairData aData[] = {
5256 EnhancedCustomShapeParameterType::NORMAL,
5257 EnhancedCustomShapeParameterType::NORMAL,
5258 0, 0
5261 EnhancedCustomShapeParameterType::EQUATION,
5262 EnhancedCustomShapeParameterType::NORMAL,
5263 8, 0
5266 EnhancedCustomShapeParameterType::EQUATION,
5267 EnhancedCustomShapeParameterType::EQUATION,
5268 8, 11
5271 EnhancedCustomShapeParameterType::NORMAL,
5272 EnhancedCustomShapeParameterType::EQUATION,
5273 0, 11
5276 EnhancedCustomShapeParameterType::EQUATION,
5277 EnhancedCustomShapeParameterType::NORMAL,
5278 1, 0
5281 EnhancedCustomShapeParameterType::EQUATION,
5282 EnhancedCustomShapeParameterType::EQUATION,
5283 1, 11
5286 EnhancedCustomShapeParameterType::EQUATION,
5287 EnhancedCustomShapeParameterType::EQUATION,
5288 1, 0
5291 EnhancedCustomShapeParameterType::EQUATION,
5292 EnhancedCustomShapeParameterType::EQUATION,
5293 3, 2
5296 EnhancedCustomShapeParameterType::EQUATION,
5297 EnhancedCustomShapeParameterType::EQUATION,
5298 5, 4
5301 EnhancedCustomShapeParameterType::EQUATION,
5302 EnhancedCustomShapeParameterType::EQUATION,
5303 7, 6
5306 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5309 aPropSequence [1].Name = "Segments";
5310 static const sal_uInt16 nValues[] = {
5311 // Command, Count
5312 1,1,
5313 2,3,
5314 4,0,
5315 5,0,
5316 1,1,
5317 2,1,
5318 6,0,
5319 5,0,
5320 1,1,
5321 2,3,
5322 6,0,
5325 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5328 aPropSequence [2].Name = "TextFrames";
5329 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5331 EnhancedCustomShapeTextFrame aTextFrame;
5333 static const CustomShapeProvider::ParameterPairData aData =
5335 EnhancedCustomShapeParameterType::NORMAL,
5336 EnhancedCustomShapeParameterType::NORMAL,
5337 0, 0
5339 aTextFrame.TopLeft = createParameterPair(&aData);
5342 static const CustomShapeProvider::ParameterPairData aData =
5344 EnhancedCustomShapeParameterType::EQUATION,
5345 EnhancedCustomShapeParameterType::EQUATION,
5346 8, 11
5348 aTextFrame.BottomRight = createParameterPair(&aData);
5350 aTextFrameSeq [0] = aTextFrame;
5352 aPropSequence [2].Value = makeAny (aTextFrameSeq);
5354 aPropertyMap [PROP_Path] <<= aPropSequence;
5357 awt::Rectangle aRectangle;
5358 aRectangle.X = 0;
5359 aRectangle.Y = 0;
5360 aRectangle.Width = 0;
5361 aRectangle.Height = 0;
5362 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5364 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-accentBorderCallout3");
5366 return aPropertyMap;
5369 class ShapeCflowChartOfflineStorage : public CustomShapeProvider
5371 virtual PropertyMap getProperties()
5373 PropertyMap aPropertyMap;
5376 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5379 static const char *aStrings[] = {
5380 "logwidth*3/4",
5381 "logheight/2",
5382 "logwidth/2",
5383 "logheight",
5384 "logwidth/4"
5386 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5389 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5392 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5395 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5398 Sequence< PropertyValue > aPropSequence (4);
5400 aPropSequence [0].Name = "Coordinates";
5401 static const CustomShapeProvider::ParameterPairData aData[] = {
5403 EnhancedCustomShapeParameterType::NORMAL,
5404 EnhancedCustomShapeParameterType::NORMAL,
5405 0, 0
5408 EnhancedCustomShapeParameterType::NORMAL,
5409 EnhancedCustomShapeParameterType::NORMAL,
5410 2, 0
5413 EnhancedCustomShapeParameterType::NORMAL,
5414 EnhancedCustomShapeParameterType::NORMAL,
5415 1, 2
5418 EnhancedCustomShapeParameterType::NORMAL,
5419 EnhancedCustomShapeParameterType::NORMAL,
5420 2, 4
5423 EnhancedCustomShapeParameterType::NORMAL,
5424 EnhancedCustomShapeParameterType::NORMAL,
5425 3, 4
5428 EnhancedCustomShapeParameterType::NORMAL,
5429 EnhancedCustomShapeParameterType::NORMAL,
5430 0, 0
5433 EnhancedCustomShapeParameterType::NORMAL,
5434 EnhancedCustomShapeParameterType::NORMAL,
5435 2, 0
5438 EnhancedCustomShapeParameterType::NORMAL,
5439 EnhancedCustomShapeParameterType::NORMAL,
5440 1, 2
5443 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5446 aPropSequence [1].Name = "Segments";
5447 static const sal_uInt16 nValues[] = {
5448 // Command, Count
5449 1,1,
5450 2,2,
5451 4,0,
5452 7,0,
5453 5,0,
5454 1,1,
5455 2,1,
5456 6,0,
5457 5,0,
5458 1,1,
5459 2,2,
5460 4,0,
5461 6,0,
5464 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5467 aPropSequence [2].Name = "SubViewSize";
5468 Sequence< awt::Size > aSizeSequence (3);
5470 awt::Size aSize;
5471 aSize.Width = 2;
5472 aSize.Height = 2;
5473 aSizeSequence [0] = aSize;
5476 awt::Size aSize;
5477 aSize.Width = 5;
5478 aSize.Height = 5;
5479 aSizeSequence [1] = aSize;
5482 awt::Size aSize;
5483 aSize.Width = 2;
5484 aSize.Height = 2;
5485 aSizeSequence [2] = aSize;
5487 aPropSequence [2].Value = makeAny (aSizeSequence);
5490 aPropSequence [3].Name = "TextFrames";
5491 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5493 EnhancedCustomShapeTextFrame aTextFrame;
5495 static const CustomShapeProvider::ParameterPairData aData =
5497 EnhancedCustomShapeParameterType::EQUATION,
5498 EnhancedCustomShapeParameterType::NORMAL,
5499 4, 0
5501 aTextFrame.TopLeft = createParameterPair(&aData);
5504 static const CustomShapeProvider::ParameterPairData aData =
5506 EnhancedCustomShapeParameterType::EQUATION,
5507 EnhancedCustomShapeParameterType::EQUATION,
5508 0, 1
5510 aTextFrame.BottomRight = createParameterPair(&aData);
5512 aTextFrameSeq [0] = aTextFrame;
5514 aPropSequence [3].Value = makeAny (aTextFrameSeq);
5516 aPropertyMap [PROP_Path] <<= aPropSequence;
5519 awt::Rectangle aRectangle;
5520 aRectangle.X = 0;
5521 aRectangle.Y = 0;
5522 aRectangle.Width = 0;
5523 aRectangle.Height = 0;
5524 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5526 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartOfflineStorage");
5528 return aPropertyMap;
5531 class ShapeCirregularSeal1 : public CustomShapeProvider
5533 virtual PropertyMap getProperties()
5535 PropertyMap aPropertyMap;
5538 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5541 static const char *aStrings[] = {
5542 "logwidth*4627/21600",
5543 "logwidth*8485/21600",
5544 "logwidth*16702/21600",
5545 "logwidth*14522/21600",
5546 "logheight*6320/21600",
5547 "logheight*8615/21600",
5548 "logheight*13937/21600",
5549 "logheight*13290/21600",
5550 "logheight",
5551 "logwidth"
5553 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5556 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5559 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5562 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5565 Sequence< PropertyValue > aPropSequence (4);
5567 aPropSequence [0].Name = "Coordinates";
5568 static const CustomShapeProvider::ParameterPairData aData[] = {
5570 EnhancedCustomShapeParameterType::NORMAL,
5571 EnhancedCustomShapeParameterType::NORMAL,
5572 10800, 5800
5575 EnhancedCustomShapeParameterType::NORMAL,
5576 EnhancedCustomShapeParameterType::NORMAL,
5577 14522, 0
5580 EnhancedCustomShapeParameterType::NORMAL,
5581 EnhancedCustomShapeParameterType::NORMAL,
5582 14155, 5325
5585 EnhancedCustomShapeParameterType::NORMAL,
5586 EnhancedCustomShapeParameterType::NORMAL,
5587 18380, 4457
5590 EnhancedCustomShapeParameterType::NORMAL,
5591 EnhancedCustomShapeParameterType::NORMAL,
5592 16702, 7315
5595 EnhancedCustomShapeParameterType::NORMAL,
5596 EnhancedCustomShapeParameterType::NORMAL,
5597 21097, 8137
5600 EnhancedCustomShapeParameterType::NORMAL,
5601 EnhancedCustomShapeParameterType::NORMAL,
5602 17607, 10475
5605 EnhancedCustomShapeParameterType::NORMAL,
5606 EnhancedCustomShapeParameterType::NORMAL,
5607 21600, 13290
5610 EnhancedCustomShapeParameterType::NORMAL,
5611 EnhancedCustomShapeParameterType::NORMAL,
5612 16837, 12942
5615 EnhancedCustomShapeParameterType::NORMAL,
5616 EnhancedCustomShapeParameterType::NORMAL,
5617 18145, 18095
5620 EnhancedCustomShapeParameterType::NORMAL,
5621 EnhancedCustomShapeParameterType::NORMAL,
5622 14020, 14457
5625 EnhancedCustomShapeParameterType::NORMAL,
5626 EnhancedCustomShapeParameterType::NORMAL,
5627 13247, 19737
5630 EnhancedCustomShapeParameterType::NORMAL,
5631 EnhancedCustomShapeParameterType::NORMAL,
5632 10532, 14935
5635 EnhancedCustomShapeParameterType::NORMAL,
5636 EnhancedCustomShapeParameterType::NORMAL,
5637 8485, 21600
5640 EnhancedCustomShapeParameterType::NORMAL,
5641 EnhancedCustomShapeParameterType::NORMAL,
5642 7715, 15627
5645 EnhancedCustomShapeParameterType::NORMAL,
5646 EnhancedCustomShapeParameterType::NORMAL,
5647 4762, 17617
5650 EnhancedCustomShapeParameterType::NORMAL,
5651 EnhancedCustomShapeParameterType::NORMAL,
5652 5667, 13937
5655 EnhancedCustomShapeParameterType::NORMAL,
5656 EnhancedCustomShapeParameterType::NORMAL,
5657 135, 14587
5660 EnhancedCustomShapeParameterType::NORMAL,
5661 EnhancedCustomShapeParameterType::NORMAL,
5662 3722, 11775
5665 EnhancedCustomShapeParameterType::NORMAL,
5666 EnhancedCustomShapeParameterType::NORMAL,
5667 0, 8615
5670 EnhancedCustomShapeParameterType::NORMAL,
5671 EnhancedCustomShapeParameterType::NORMAL,
5672 4627, 7617
5675 EnhancedCustomShapeParameterType::NORMAL,
5676 EnhancedCustomShapeParameterType::NORMAL,
5677 370, 2295
5680 EnhancedCustomShapeParameterType::NORMAL,
5681 EnhancedCustomShapeParameterType::NORMAL,
5682 7312, 6320
5685 EnhancedCustomShapeParameterType::NORMAL,
5686 EnhancedCustomShapeParameterType::NORMAL,
5687 8352, 2295
5690 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5693 aPropSequence [1].Name = "Segments";
5694 static const sal_uInt16 nValues[] = {
5695 // Command, Count
5696 1,1,
5697 2,23,
5698 4,0,
5701 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5704 aPropSequence [2].Name = "SubViewSize";
5705 Sequence< awt::Size > aSizeSequence (1);
5707 awt::Size aSize;
5708 aSize.Width = 21600;
5709 aSize.Height = 21600;
5710 aSizeSequence [0] = aSize;
5712 aPropSequence [2].Value = makeAny (aSizeSequence);
5715 aPropSequence [3].Name = "TextFrames";
5716 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5718 EnhancedCustomShapeTextFrame aTextFrame;
5720 static const CustomShapeProvider::ParameterPairData aData =
5722 EnhancedCustomShapeParameterType::EQUATION,
5723 EnhancedCustomShapeParameterType::EQUATION,
5724 0, 4
5726 aTextFrame.TopLeft = createParameterPair(&aData);
5729 static const CustomShapeProvider::ParameterPairData aData =
5731 EnhancedCustomShapeParameterType::EQUATION,
5732 EnhancedCustomShapeParameterType::EQUATION,
5733 2, 6
5735 aTextFrame.BottomRight = createParameterPair(&aData);
5737 aTextFrameSeq [0] = aTextFrame;
5739 aPropSequence [3].Value = makeAny (aTextFrameSeq);
5741 aPropertyMap [PROP_Path] <<= aPropSequence;
5744 awt::Rectangle aRectangle;
5745 aRectangle.X = 0;
5746 aRectangle.Y = 0;
5747 aRectangle.Width = 0;
5748 aRectangle.Height = 0;
5749 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5751 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-irregularSeal1");
5753 return aPropertyMap;
5756 class ShapeCquadArrow : public CustomShapeProvider
5758 virtual PropertyMap getProperties()
5760 PropertyMap aPropertyMap;
5763 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
5765 Any aAny ((sal_Int32) 22500);
5766 aAdjSequence [0].Value = aAny;
5767 aAdjSequence [0].Name = "adj1";
5770 Any aAny ((sal_Int32) 22500);
5771 aAdjSequence [1].Value = aAny;
5772 aAdjSequence [1].Name = "adj2";
5775 Any aAny ((sal_Int32) 22500);
5776 aAdjSequence [2].Value = aAny;
5777 aAdjSequence [2].Name = "adj3";
5779 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5782 static const char *aStrings[] = {
5783 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
5784 "?0 *2/1",
5785 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
5786 "100000+0-?1 ",
5787 "?3 *1/2",
5788 "if(0-$2 ,0,if(?4 -$2 ,$2 ,?4 ))",
5789 "min(logwidth,logheight)",
5790 "?6 *?5 /100000",
5791 "?6 *?0 /100000",
5792 "logwidth/2",
5793 "?9 +0-?8 ",
5794 "?9 +?8 -0",
5795 "?6 *?2 /200000",
5796 "?9 +0-?12 ",
5797 "?9 +?12 -0",
5798 "logwidth+0-?7 ",
5799 "logheight/2",
5800 "?16 +0-?8 ",
5801 "?16 +?8 -0",
5802 "?16 +0-?12 ",
5803 "?16 +?12 -0",
5804 "logheight+0-?7 ",
5805 "?12 *?7 /?8 ",
5806 "logwidth+0-?22 ",
5807 "logwidth",
5808 "logheight"
5810 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5813 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
5815 Sequence< PropertyValue > aPropSequence (4);
5817 aPropSequence [0].Name = "Position";
5818 static const CustomShapeProvider::ParameterPairData aData =
5820 EnhancedCustomShapeParameterType::EQUATION,
5821 EnhancedCustomShapeParameterType::EQUATION,
5822 13, 7
5824 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5827 aPropSequence [1].Name = "RangeXMaximum";
5828 EnhancedCustomShapeParameter aParameter;
5829 Any aAny ((sal_Int32) 1);
5830 aParameter.Value = aAny;
5831 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5832 aPropSequence [1].Value = makeAny (aParameter);
5835 aPropSequence [2].Name = "RangeXMinimum";
5836 EnhancedCustomShapeParameter aParameter;
5837 Any aAny ((sal_Int32) 0);
5838 aParameter.Value = aAny;
5839 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5840 aPropSequence [2].Value = makeAny (aParameter);
5843 aPropSequence [3].Name = "RefX";
5844 Any aAny ((sal_Int32) 0);
5845 aPropSequence [3].Value = makeAny (aAny);
5847 aPropSequenceSequence [0] = aPropSequence;
5850 Sequence< PropertyValue > aPropSequence (4);
5852 aPropSequence [0].Name = "Position";
5853 static const CustomShapeProvider::ParameterPairData aData =
5855 EnhancedCustomShapeParameterType::EQUATION,
5856 EnhancedCustomShapeParameterType::NORMAL,
5857 10, 0
5859 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5862 aPropSequence [1].Name = "RangeXMaximum";
5863 EnhancedCustomShapeParameter aParameter;
5864 Any aAny ((sal_Int32) 50000);
5865 aParameter.Value = aAny;
5866 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5867 aPropSequence [1].Value = makeAny (aParameter);
5870 aPropSequence [2].Name = "RangeXMinimum";
5871 EnhancedCustomShapeParameter aParameter;
5872 Any aAny ((sal_Int32) 0);
5873 aParameter.Value = aAny;
5874 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5875 aPropSequence [2].Value = makeAny (aParameter);
5878 aPropSequence [3].Name = "RefX";
5879 Any aAny ((sal_Int32) 1);
5880 aPropSequence [3].Value = makeAny (aAny);
5882 aPropSequenceSequence [1] = aPropSequence;
5885 Sequence< PropertyValue > aPropSequence (4);
5887 aPropSequence [0].Name = "Position";
5888 static const CustomShapeProvider::ParameterPairData aData =
5890 EnhancedCustomShapeParameterType::EQUATION,
5891 EnhancedCustomShapeParameterType::EQUATION,
5892 24, 7
5894 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5897 aPropSequence [1].Name = "RangeYMaximum";
5898 EnhancedCustomShapeParameter aParameter;
5899 Any aAny ((sal_Int32) 4);
5900 aParameter.Value = aAny;
5901 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5902 aPropSequence [1].Value = makeAny (aParameter);
5905 aPropSequence [2].Name = "RangeYMinimum";
5906 EnhancedCustomShapeParameter aParameter;
5907 Any aAny ((sal_Int32) 0);
5908 aParameter.Value = aAny;
5909 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5910 aPropSequence [2].Value = makeAny (aParameter);
5913 aPropSequence [3].Name = "RefY";
5914 Any aAny ((sal_Int32) 2);
5915 aPropSequence [3].Value = makeAny (aAny);
5917 aPropSequenceSequence [2] = aPropSequence;
5919 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5922 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5925 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5928 Sequence< PropertyValue > aPropSequence (3);
5930 aPropSequence [0].Name = "Coordinates";
5931 static const CustomShapeProvider::ParameterPairData aData[] = {
5933 EnhancedCustomShapeParameterType::NORMAL,
5934 EnhancedCustomShapeParameterType::EQUATION,
5935 0, 16
5938 EnhancedCustomShapeParameterType::EQUATION,
5939 EnhancedCustomShapeParameterType::EQUATION,
5940 7, 17
5943 EnhancedCustomShapeParameterType::EQUATION,
5944 EnhancedCustomShapeParameterType::EQUATION,
5945 7, 19
5948 EnhancedCustomShapeParameterType::EQUATION,
5949 EnhancedCustomShapeParameterType::EQUATION,
5950 13, 19
5953 EnhancedCustomShapeParameterType::EQUATION,
5954 EnhancedCustomShapeParameterType::EQUATION,
5955 13, 7
5958 EnhancedCustomShapeParameterType::EQUATION,
5959 EnhancedCustomShapeParameterType::EQUATION,
5960 10, 7
5963 EnhancedCustomShapeParameterType::EQUATION,
5964 EnhancedCustomShapeParameterType::NORMAL,
5965 9, 0
5968 EnhancedCustomShapeParameterType::EQUATION,
5969 EnhancedCustomShapeParameterType::EQUATION,
5970 11, 7
5973 EnhancedCustomShapeParameterType::EQUATION,
5974 EnhancedCustomShapeParameterType::EQUATION,
5975 14, 7
5978 EnhancedCustomShapeParameterType::EQUATION,
5979 EnhancedCustomShapeParameterType::EQUATION,
5980 14, 19
5983 EnhancedCustomShapeParameterType::EQUATION,
5984 EnhancedCustomShapeParameterType::EQUATION,
5985 15, 19
5988 EnhancedCustomShapeParameterType::EQUATION,
5989 EnhancedCustomShapeParameterType::EQUATION,
5990 15, 17
5993 EnhancedCustomShapeParameterType::EQUATION,
5994 EnhancedCustomShapeParameterType::EQUATION,
5995 24, 16
5998 EnhancedCustomShapeParameterType::EQUATION,
5999 EnhancedCustomShapeParameterType::EQUATION,
6000 15, 18
6003 EnhancedCustomShapeParameterType::EQUATION,
6004 EnhancedCustomShapeParameterType::EQUATION,
6005 15, 20
6008 EnhancedCustomShapeParameterType::EQUATION,
6009 EnhancedCustomShapeParameterType::EQUATION,
6010 14, 20
6013 EnhancedCustomShapeParameterType::EQUATION,
6014 EnhancedCustomShapeParameterType::EQUATION,
6015 14, 21
6018 EnhancedCustomShapeParameterType::EQUATION,
6019 EnhancedCustomShapeParameterType::EQUATION,
6020 11, 21
6023 EnhancedCustomShapeParameterType::EQUATION,
6024 EnhancedCustomShapeParameterType::EQUATION,
6025 9, 25
6028 EnhancedCustomShapeParameterType::EQUATION,
6029 EnhancedCustomShapeParameterType::EQUATION,
6030 10, 21
6033 EnhancedCustomShapeParameterType::EQUATION,
6034 EnhancedCustomShapeParameterType::EQUATION,
6035 13, 21
6038 EnhancedCustomShapeParameterType::EQUATION,
6039 EnhancedCustomShapeParameterType::EQUATION,
6040 13, 20
6043 EnhancedCustomShapeParameterType::EQUATION,
6044 EnhancedCustomShapeParameterType::EQUATION,
6045 7, 20
6048 EnhancedCustomShapeParameterType::EQUATION,
6049 EnhancedCustomShapeParameterType::EQUATION,
6050 7, 18
6053 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6056 aPropSequence [1].Name = "Segments";
6057 static const sal_uInt16 nValues[] = {
6058 // Command, Count
6059 1,1,
6060 2,23,
6061 4,0,
6064 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6067 aPropSequence [2].Name = "TextFrames";
6068 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6070 EnhancedCustomShapeTextFrame aTextFrame;
6072 static const CustomShapeProvider::ParameterPairData aData =
6074 EnhancedCustomShapeParameterType::EQUATION,
6075 EnhancedCustomShapeParameterType::EQUATION,
6076 22, 19
6078 aTextFrame.TopLeft = createParameterPair(&aData);
6081 static const CustomShapeProvider::ParameterPairData aData =
6083 EnhancedCustomShapeParameterType::EQUATION,
6084 EnhancedCustomShapeParameterType::EQUATION,
6085 23, 20
6087 aTextFrame.BottomRight = createParameterPair(&aData);
6089 aTextFrameSeq [0] = aTextFrame;
6091 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6093 aPropertyMap [PROP_Path] <<= aPropSequence;
6096 awt::Rectangle aRectangle;
6097 aRectangle.X = 0;
6098 aRectangle.Y = 0;
6099 aRectangle.Width = 0;
6100 aRectangle.Height = 0;
6101 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6103 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-quadArrow");
6105 return aPropertyMap;
6108 class ShapeCleftBrace : public CustomShapeProvider
6110 virtual PropertyMap getProperties()
6112 PropertyMap aPropertyMap;
6115 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6117 Any aAny ((sal_Int32) 8333);
6118 aAdjSequence [0].Value = aAny;
6119 aAdjSequence [0].Name = "adj1";
6122 Any aAny ((sal_Int32) 50000);
6123 aAdjSequence [1].Value = aAny;
6124 aAdjSequence [1].Name = "adj2";
6126 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6129 static const char *aStrings[] = {
6130 "if(0-$1 ,0,if(100000-$1 ,$1 ,100000))",
6131 "100000+0-?0 ",
6132 "min(?1 ,?0 )",
6133 "?2 *1/2",
6134 "min(logwidth,logheight)",
6135 "?3 *logheight/?4 ",
6136 "if(0-$0 ,0,if(?5 -$0 ,$0 ,?5 ))",
6137 "?4 *?6 /100000",
6138 "logheight*?0 /100000",
6139 "?8 +?7 -0",
6140 "logwidth/2",
6141 "?10 *cos(pi*(2700000)/10800000)",
6142 "?7 *sin(pi*(2700000)/10800000)",
6143 "logwidth+0-?11 ",
6144 "?7 +0-?12 ",
6145 "logheight+?12 -?7 ",
6146 "logwidth/2",
6147 "logwidth",
6148 "logheight",
6149 "(5400000)/60000.0",
6150 "(5400000)/60000.0",
6151 "(0)/60000.0",
6152 "(-5400000)/60000.0",
6153 "(5400000)/60000.0",
6154 "(-5400000)/60000.0",
6155 "(10800000)/60000.0",
6156 "(5400000)/60000.0",
6157 "(5400000)/60000.0",
6158 "(5400000)/60000.0",
6159 "(0)/60000.0",
6160 "(-5400000)/60000.0",
6161 "(5400000)/60000.0",
6162 "(-5400000)/60000.0",
6163 "(10800000)/60000.0",
6164 "(5400000)/60000.0"
6166 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6169 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6171 Sequence< PropertyValue > aPropSequence (4);
6173 aPropSequence [0].Name = "Position";
6174 static const CustomShapeProvider::ParameterPairData aData =
6176 EnhancedCustomShapeParameterType::EQUATION,
6177 EnhancedCustomShapeParameterType::EQUATION,
6178 16, 7
6180 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6183 aPropSequence [1].Name = "RangeYMaximum";
6184 EnhancedCustomShapeParameter aParameter;
6185 Any aAny ((sal_Int32) 5);
6186 aParameter.Value = aAny;
6187 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6188 aPropSequence [1].Value = makeAny (aParameter);
6191 aPropSequence [2].Name = "RangeYMinimum";
6192 EnhancedCustomShapeParameter aParameter;
6193 Any aAny ((sal_Int32) 0);
6194 aParameter.Value = aAny;
6195 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6196 aPropSequence [2].Value = makeAny (aParameter);
6199 aPropSequence [3].Name = "RefY";
6200 Any aAny ((sal_Int32) 0);
6201 aPropSequence [3].Value = makeAny (aAny);
6203 aPropSequenceSequence [0] = aPropSequence;
6206 Sequence< PropertyValue > aPropSequence (4);
6208 aPropSequence [0].Name = "Position";
6209 static const CustomShapeProvider::ParameterPairData aData =
6211 EnhancedCustomShapeParameterType::NORMAL,
6212 EnhancedCustomShapeParameterType::EQUATION,
6213 0, 8
6215 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6218 aPropSequence [1].Name = "RangeYMaximum";
6219 EnhancedCustomShapeParameter aParameter;
6220 Any aAny ((sal_Int32) 100000);
6221 aParameter.Value = aAny;
6222 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6223 aPropSequence [1].Value = makeAny (aParameter);
6226 aPropSequence [2].Name = "RangeYMinimum";
6227 EnhancedCustomShapeParameter aParameter;
6228 Any aAny ((sal_Int32) 0);
6229 aParameter.Value = aAny;
6230 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6231 aPropSequence [2].Value = makeAny (aParameter);
6234 aPropSequence [3].Name = "RefY";
6235 Any aAny ((sal_Int32) 1);
6236 aPropSequence [3].Value = makeAny (aAny);
6238 aPropSequenceSequence [1] = aPropSequence;
6240 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6243 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6246 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6249 Sequence< PropertyValue > aPropSequence (3);
6251 aPropSequence [0].Name = "Coordinates";
6252 static const CustomShapeProvider::ParameterPairData aData[] = {
6254 EnhancedCustomShapeParameterType::EQUATION,
6255 EnhancedCustomShapeParameterType::EQUATION,
6256 17, 18
6259 EnhancedCustomShapeParameterType::EQUATION,
6260 EnhancedCustomShapeParameterType::EQUATION,
6261 10, 7
6264 EnhancedCustomShapeParameterType::EQUATION,
6265 EnhancedCustomShapeParameterType::EQUATION,
6266 19, 20
6269 EnhancedCustomShapeParameterType::EQUATION,
6270 EnhancedCustomShapeParameterType::EQUATION,
6271 16, 9
6274 EnhancedCustomShapeParameterType::EQUATION,
6275 EnhancedCustomShapeParameterType::EQUATION,
6276 10, 7
6279 EnhancedCustomShapeParameterType::EQUATION,
6280 EnhancedCustomShapeParameterType::EQUATION,
6281 21, 22
6284 EnhancedCustomShapeParameterType::EQUATION,
6285 EnhancedCustomShapeParameterType::EQUATION,
6286 10, 7
6289 EnhancedCustomShapeParameterType::EQUATION,
6290 EnhancedCustomShapeParameterType::EQUATION,
6291 23, 24
6294 EnhancedCustomShapeParameterType::EQUATION,
6295 EnhancedCustomShapeParameterType::EQUATION,
6296 16, 7
6299 EnhancedCustomShapeParameterType::EQUATION,
6300 EnhancedCustomShapeParameterType::EQUATION,
6301 10, 7
6304 EnhancedCustomShapeParameterType::EQUATION,
6305 EnhancedCustomShapeParameterType::EQUATION,
6306 25, 26
6309 EnhancedCustomShapeParameterType::EQUATION,
6310 EnhancedCustomShapeParameterType::EQUATION,
6311 17, 18
6314 EnhancedCustomShapeParameterType::EQUATION,
6315 EnhancedCustomShapeParameterType::EQUATION,
6316 10, 7
6319 EnhancedCustomShapeParameterType::EQUATION,
6320 EnhancedCustomShapeParameterType::EQUATION,
6321 27, 28
6324 EnhancedCustomShapeParameterType::EQUATION,
6325 EnhancedCustomShapeParameterType::EQUATION,
6326 16, 9
6329 EnhancedCustomShapeParameterType::EQUATION,
6330 EnhancedCustomShapeParameterType::EQUATION,
6331 10, 7
6334 EnhancedCustomShapeParameterType::EQUATION,
6335 EnhancedCustomShapeParameterType::EQUATION,
6336 29, 30
6339 EnhancedCustomShapeParameterType::EQUATION,
6340 EnhancedCustomShapeParameterType::EQUATION,
6341 10, 7
6344 EnhancedCustomShapeParameterType::EQUATION,
6345 EnhancedCustomShapeParameterType::EQUATION,
6346 31, 32
6349 EnhancedCustomShapeParameterType::EQUATION,
6350 EnhancedCustomShapeParameterType::EQUATION,
6351 16, 7
6354 EnhancedCustomShapeParameterType::EQUATION,
6355 EnhancedCustomShapeParameterType::EQUATION,
6356 10, 7
6359 EnhancedCustomShapeParameterType::EQUATION,
6360 EnhancedCustomShapeParameterType::EQUATION,
6361 33, 34
6364 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6367 aPropSequence [1].Name = "Segments";
6368 static const sal_uInt16 nValues[] = {
6369 // Command, Count
6370 1,1,
6371 17,1,
6372 2,1,
6373 17,2,
6374 2,1,
6375 17,1,
6376 4,0,
6377 7,0,
6378 5,0,
6379 1,1,
6380 17,1,
6381 2,1,
6382 17,2,
6383 2,1,
6384 17,1,
6385 6,0,
6388 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6391 aPropSequence [2].Name = "TextFrames";
6392 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6394 EnhancedCustomShapeTextFrame aTextFrame;
6396 static const CustomShapeProvider::ParameterPairData aData =
6398 EnhancedCustomShapeParameterType::EQUATION,
6399 EnhancedCustomShapeParameterType::EQUATION,
6400 13, 14
6402 aTextFrame.TopLeft = createParameterPair(&aData);
6405 static const CustomShapeProvider::ParameterPairData aData =
6407 EnhancedCustomShapeParameterType::EQUATION,
6408 EnhancedCustomShapeParameterType::EQUATION,
6409 17, 15
6411 aTextFrame.BottomRight = createParameterPair(&aData);
6413 aTextFrameSeq [0] = aTextFrame;
6415 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6417 aPropertyMap [PROP_Path] <<= aPropSequence;
6420 awt::Rectangle aRectangle;
6421 aRectangle.X = 0;
6422 aRectangle.Y = 0;
6423 aRectangle.Width = 0;
6424 aRectangle.Height = 0;
6425 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6427 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftBrace");
6429 return aPropertyMap;
6432 class ShapeCleftBracket : public CustomShapeProvider
6434 virtual PropertyMap getProperties()
6436 PropertyMap aPropertyMap;
6439 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6441 Any aAny ((sal_Int32) 8333);
6442 aAdjSequence [0].Value = aAny;
6443 aAdjSequence [0].Name = "adj";
6445 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6448 static const char *aStrings[] = {
6449 "min(logwidth,logheight)",
6450 "50000*logheight/?0 ",
6451 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
6452 "?0 *?2 /100000",
6453 "logheight+0-?3 ",
6454 "logwidth*cos(pi*(2700000)/10800000)",
6455 "?3 *sin(pi*(2700000)/10800000)",
6456 "logwidth+0-?5 ",
6457 "?3 +0-?6 ",
6458 "logheight+?6 -?3 ",
6459 "logwidth",
6460 "logheight/2",
6461 "logheight",
6462 "logwidth",
6463 "(5400000)/60000.0",
6464 "(5400000)/60000.0",
6465 "(10800000)/60000.0",
6466 "(5400000)/60000.0",
6467 "(5400000)/60000.0",
6468 "(5400000)/60000.0",
6469 "(10800000)/60000.0",
6470 "(5400000)/60000.0"
6472 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6475 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
6477 Sequence< PropertyValue > aPropSequence (4);
6479 aPropSequence [0].Name = "Position";
6480 static const CustomShapeProvider::ParameterPairData aData =
6482 EnhancedCustomShapeParameterType::NORMAL,
6483 EnhancedCustomShapeParameterType::EQUATION,
6484 0, 3
6486 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6489 aPropSequence [1].Name = "RangeYMaximum";
6490 EnhancedCustomShapeParameter aParameter;
6491 Any aAny ((sal_Int32) 1);
6492 aParameter.Value = aAny;
6493 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6494 aPropSequence [1].Value = makeAny (aParameter);
6497 aPropSequence [2].Name = "RangeYMinimum";
6498 EnhancedCustomShapeParameter aParameter;
6499 Any aAny ((sal_Int32) 0);
6500 aParameter.Value = aAny;
6501 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6502 aPropSequence [2].Value = makeAny (aParameter);
6505 aPropSequence [3].Name = "RefY";
6506 Any aAny ((sal_Int32) 0);
6507 aPropSequence [3].Value = makeAny (aAny);
6509 aPropSequenceSequence [0] = aPropSequence;
6511 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6514 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6517 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6520 Sequence< PropertyValue > aPropSequence (3);
6522 aPropSequence [0].Name = "Coordinates";
6523 static const CustomShapeProvider::ParameterPairData aData[] = {
6525 EnhancedCustomShapeParameterType::EQUATION,
6526 EnhancedCustomShapeParameterType::EQUATION,
6527 10, 12
6530 EnhancedCustomShapeParameterType::EQUATION,
6531 EnhancedCustomShapeParameterType::EQUATION,
6532 13, 3
6535 EnhancedCustomShapeParameterType::EQUATION,
6536 EnhancedCustomShapeParameterType::EQUATION,
6537 14, 15
6540 EnhancedCustomShapeParameterType::NORMAL,
6541 EnhancedCustomShapeParameterType::EQUATION,
6542 0, 3
6545 EnhancedCustomShapeParameterType::EQUATION,
6546 EnhancedCustomShapeParameterType::EQUATION,
6547 13, 3
6550 EnhancedCustomShapeParameterType::EQUATION,
6551 EnhancedCustomShapeParameterType::EQUATION,
6552 16, 17
6555 EnhancedCustomShapeParameterType::EQUATION,
6556 EnhancedCustomShapeParameterType::EQUATION,
6557 10, 12
6560 EnhancedCustomShapeParameterType::EQUATION,
6561 EnhancedCustomShapeParameterType::EQUATION,
6562 13, 3
6565 EnhancedCustomShapeParameterType::EQUATION,
6566 EnhancedCustomShapeParameterType::EQUATION,
6567 18, 19
6570 EnhancedCustomShapeParameterType::NORMAL,
6571 EnhancedCustomShapeParameterType::EQUATION,
6572 0, 3
6575 EnhancedCustomShapeParameterType::EQUATION,
6576 EnhancedCustomShapeParameterType::EQUATION,
6577 13, 3
6580 EnhancedCustomShapeParameterType::EQUATION,
6581 EnhancedCustomShapeParameterType::EQUATION,
6582 20, 21
6585 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6588 aPropSequence [1].Name = "Segments";
6589 static const sal_uInt16 nValues[] = {
6590 // Command, Count
6591 1,1,
6592 17,1,
6593 2,1,
6594 17,1,
6595 4,0,
6596 7,0,
6597 5,0,
6598 1,1,
6599 17,1,
6600 2,1,
6601 17,1,
6602 6,0,
6605 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6608 aPropSequence [2].Name = "TextFrames";
6609 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6611 EnhancedCustomShapeTextFrame aTextFrame;
6613 static const CustomShapeProvider::ParameterPairData aData =
6615 EnhancedCustomShapeParameterType::EQUATION,
6616 EnhancedCustomShapeParameterType::EQUATION,
6617 7, 8
6619 aTextFrame.TopLeft = createParameterPair(&aData);
6622 static const CustomShapeProvider::ParameterPairData aData =
6624 EnhancedCustomShapeParameterType::EQUATION,
6625 EnhancedCustomShapeParameterType::EQUATION,
6626 10, 9
6628 aTextFrame.BottomRight = createParameterPair(&aData);
6630 aTextFrameSeq [0] = aTextFrame;
6632 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6634 aPropertyMap [PROP_Path] <<= aPropSequence;
6637 awt::Rectangle aRectangle;
6638 aRectangle.X = 0;
6639 aRectangle.Y = 0;
6640 aRectangle.Width = 0;
6641 aRectangle.Height = 0;
6642 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6644 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftBracket");
6646 return aPropertyMap;
6649 class ShapeCblockArc : public CustomShapeProvider
6651 virtual PropertyMap getProperties()
6653 PropertyMap aPropertyMap;
6656 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
6658 Any aAny ((sal_Int32) 10800000);
6659 aAdjSequence [0].Value = aAny;
6660 aAdjSequence [0].Name = "adj1";
6663 Any aAny ((sal_Int32) 0);
6664 aAdjSequence [1].Value = aAny;
6665 aAdjSequence [1].Name = "adj2";
6668 Any aAny ((sal_Int32) 25000);
6669 aAdjSequence [2].Value = aAny;
6670 aAdjSequence [2].Name = "adj3";
6672 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6675 static const char *aStrings[] = {
6676 "if(0-$0 ,0,if(21599999-$0 ,$0 ,21599999))",
6677 "if(0-$1 ,0,if(21599999-$1 ,$1 ,21599999))",
6678 "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))",
6679 "?1 +0-?0 ",
6680 "?3 +21600000-0",
6681 "if(?3 ,?3 ,?4 )",
6682 "0+0-?5 ",
6683 "logwidth/2",
6684 "?7 *sin(pi*(?0 )/10800000)",
6685 "logheight/2",
6686 "?9 *cos(pi*(?0 )/10800000)",
6687 "?7 *sin(pi*(?1 )/10800000)",
6688 "?9 *cos(pi*(?1 )/10800000)",
6689 "?7 *(cos(atan2(?8 ,?10 )))",
6690 "?9 *(sin(atan2(?8 ,?10 )))",
6691 "?7 *(cos(atan2(?11 ,?12 )))",
6692 "?9 *(sin(atan2(?11 ,?12 )))",
6693 "logwidth/2",
6694 "?17 +?13 -0",
6695 "logheight/2",
6696 "?19 +?14 -0",
6697 "?17 +?15 -0",
6698 "?19 +?16 -0",
6699 "min(logwidth,logheight)",
6700 "?23 *?2 /100000",
6701 "?7 +0-?24 ",
6702 "?9 +0-?24 ",
6703 "?25 *sin(pi*(?1 )/10800000)",
6704 "?26 *cos(pi*(?1 )/10800000)",
6705 "?25 *sin(pi*(?0 )/10800000)",
6706 "?26 *cos(pi*(?0 )/10800000)",
6707 "?25 *(cos(atan2(?27 ,?28 )))",
6708 "?26 *(sin(atan2(?27 ,?28 )))",
6709 "?25 *(cos(atan2(?29 ,?30 )))",
6710 "?26 *(sin(atan2(?29 ,?30 )))",
6711 "?17 +?31 -0",
6712 "?19 +?32 -0",
6713 "?17 +?33 -0",
6714 "?19 +?34 -0",
6715 "21600000+0-?0 ",
6716 "?5 +0-?39 ",
6717 "max(?18 ,?35 )",
6718 "max(?21 ,?37 )",
6719 "max(?41 ,?42 )",
6720 "if(?40 ,logwidth,?43 )",
6721 "5400000+0-?0 ",
6722 "27000000+0-?0 ",
6723 "if(?45 ,?45 ,?46 )",
6724 "?5 +0-?47 ",
6725 "max(?20 ,?36 )",
6726 "max(?22 ,?38 )",
6727 "max(?49 ,?50 )",
6728 "if(?48 ,logheight,?51 )",
6729 "10800000+0-?0 ",
6730 "32400000+0-?0 ",
6731 "if(?53 ,?53 ,?54 )",
6732 "?5 +0-?55 ",
6733 "min(?18 ,?35 )",
6734 "min(?21 ,?37 )",
6735 "min(?57 ,?58 )",
6736 "if(?56 ,0,?59 )",
6737 "16200000+0-?0 ",
6738 "37800000+0-?0 ",
6739 "if(?61 ,?61 ,?62 )",
6740 "?5 +0-?63 ",
6741 "min(?20 ,?36 )",
6742 "min(?22 ,?38 )",
6743 "min(?65 ,?66 )",
6744 "if(?64 ,0,?67 )",
6745 "(?18 +?37 )/2",
6746 "(?20 +?38 )/2",
6747 "(?21 +?35 )/2",
6748 "(?22 +?36 )/2",
6749 "?0 +0-5400000",
6750 "?1 +5400000-0",
6751 "(?73 +?74 )/2",
6752 "(?0 )/60000.0",
6753 "(?5 )/60000.0",
6754 "(?1 )/60000.0",
6755 "(?6 )/60000.0"
6757 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6760 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6762 Sequence< PropertyValue > aPropSequence (1);
6764 aPropSequence [0].Name = "Position";
6765 static const CustomShapeProvider::ParameterPairData aData =
6767 EnhancedCustomShapeParameterType::EQUATION,
6768 EnhancedCustomShapeParameterType::EQUATION,
6769 18, 20
6771 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6773 aPropSequenceSequence [0] = aPropSequence;
6776 Sequence< PropertyValue > aPropSequence (3);
6778 aPropSequence [0].Name = "Position";
6779 static const CustomShapeProvider::ParameterPairData aData =
6781 EnhancedCustomShapeParameterType::EQUATION,
6782 EnhancedCustomShapeParameterType::EQUATION,
6783 35, 36
6785 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6788 aPropSequence [1].Name = "RadiusRangeMaximum";
6789 EnhancedCustomShapeParameter aParameter;
6790 Any aAny ((sal_Int32) 50000);
6791 aParameter.Value = aAny;
6792 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6793 aPropSequence [1].Value = makeAny (aParameter);
6796 aPropSequence [2].Name = "RadiusRangeMinimum";
6797 EnhancedCustomShapeParameter aParameter;
6798 Any aAny ((sal_Int32) 0);
6799 aParameter.Value = aAny;
6800 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6801 aPropSequence [2].Value = makeAny (aParameter);
6803 aPropSequenceSequence [1] = aPropSequence;
6805 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6808 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6811 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6814 Sequence< PropertyValue > aPropSequence (3);
6816 aPropSequence [0].Name = "Coordinates";
6817 static const CustomShapeProvider::ParameterPairData aData[] = {
6819 EnhancedCustomShapeParameterType::EQUATION,
6820 EnhancedCustomShapeParameterType::EQUATION,
6821 18, 20
6824 EnhancedCustomShapeParameterType::EQUATION,
6825 EnhancedCustomShapeParameterType::EQUATION,
6826 7, 9
6829 EnhancedCustomShapeParameterType::EQUATION,
6830 EnhancedCustomShapeParameterType::EQUATION,
6831 76, 77
6834 EnhancedCustomShapeParameterType::EQUATION,
6835 EnhancedCustomShapeParameterType::EQUATION,
6836 35, 36
6839 EnhancedCustomShapeParameterType::EQUATION,
6840 EnhancedCustomShapeParameterType::EQUATION,
6841 25, 26
6844 EnhancedCustomShapeParameterType::EQUATION,
6845 EnhancedCustomShapeParameterType::EQUATION,
6846 78, 79
6849 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6852 aPropSequence [1].Name = "Segments";
6853 static const sal_uInt16 nValues[] = {
6854 // Command, Count
6855 1,1,
6856 17,1,
6857 2,1,
6858 17,1,
6859 4,0,
6862 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6865 aPropSequence [2].Name = "TextFrames";
6866 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6868 EnhancedCustomShapeTextFrame aTextFrame;
6870 static const CustomShapeProvider::ParameterPairData aData =
6872 EnhancedCustomShapeParameterType::EQUATION,
6873 EnhancedCustomShapeParameterType::EQUATION,
6874 60, 68
6876 aTextFrame.TopLeft = createParameterPair(&aData);
6879 static const CustomShapeProvider::ParameterPairData aData =
6881 EnhancedCustomShapeParameterType::EQUATION,
6882 EnhancedCustomShapeParameterType::EQUATION,
6883 44, 52
6885 aTextFrame.BottomRight = createParameterPair(&aData);
6887 aTextFrameSeq [0] = aTextFrame;
6889 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6891 aPropertyMap [PROP_Path] <<= aPropSequence;
6894 awt::Rectangle aRectangle;
6895 aRectangle.X = 0;
6896 aRectangle.Y = 0;
6897 aRectangle.Width = 0;
6898 aRectangle.Height = 0;
6899 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6901 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-blockArc");
6903 return aPropertyMap;
6906 class ShapeCcurvedConnector3 : public CustomShapeProvider
6908 virtual PropertyMap getProperties()
6910 PropertyMap aPropertyMap;
6913 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6915 Any aAny ((sal_Int32) 50000);
6916 aAdjSequence [0].Value = aAny;
6917 aAdjSequence [0].Name = "adj1";
6919 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6922 static const char *aStrings[] = {
6923 "logwidth*$0 /100000",
6924 "(0+?0 )/2",
6925 "(logwidth+?0 )/2",
6926 "logheight*3/4",
6927 "logheight/2",
6928 "logwidth",
6929 "logheight",
6930 "logheight/4"
6932 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6935 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
6937 Sequence< PropertyValue > aPropSequence (4);
6939 aPropSequence [0].Name = "Position";
6940 static const CustomShapeProvider::ParameterPairData aData =
6942 EnhancedCustomShapeParameterType::EQUATION,
6943 EnhancedCustomShapeParameterType::EQUATION,
6944 0, 4
6946 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6949 aPropSequence [1].Name = "RangeXMaximum";
6950 EnhancedCustomShapeParameter aParameter;
6951 Any aAny ((sal_Int32) 2147483647);
6952 aParameter.Value = aAny;
6953 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6954 aPropSequence [1].Value = makeAny (aParameter);
6957 aPropSequence [2].Name = "RangeXMinimum";
6958 EnhancedCustomShapeParameter aParameter;
6959 Any aAny ((sal_Int32) -2147483647);
6960 aParameter.Value = aAny;
6961 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6962 aPropSequence [2].Value = makeAny (aParameter);
6965 aPropSequence [3].Name = "RefX";
6966 Any aAny ((sal_Int32) 0);
6967 aPropSequence [3].Value = makeAny (aAny);
6969 aPropSequenceSequence [0] = aPropSequence;
6971 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6974 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6977 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6980 Sequence< PropertyValue > aPropSequence (3);
6982 aPropSequence [0].Name = "Coordinates";
6983 static const CustomShapeProvider::ParameterPairData aData[] = {
6985 EnhancedCustomShapeParameterType::NORMAL,
6986 EnhancedCustomShapeParameterType::NORMAL,
6987 0, 0
6990 EnhancedCustomShapeParameterType::EQUATION,
6991 EnhancedCustomShapeParameterType::NORMAL,
6992 1, 0
6995 EnhancedCustomShapeParameterType::EQUATION,
6996 EnhancedCustomShapeParameterType::EQUATION,
6997 0, 7
7000 EnhancedCustomShapeParameterType::EQUATION,
7001 EnhancedCustomShapeParameterType::EQUATION,
7002 0, 4
7005 EnhancedCustomShapeParameterType::EQUATION,
7006 EnhancedCustomShapeParameterType::EQUATION,
7007 0, 3
7010 EnhancedCustomShapeParameterType::EQUATION,
7011 EnhancedCustomShapeParameterType::EQUATION,
7012 2, 6
7015 EnhancedCustomShapeParameterType::EQUATION,
7016 EnhancedCustomShapeParameterType::EQUATION,
7017 5, 6
7020 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7023 aPropSequence [1].Name = "Segments";
7024 static const sal_uInt16 nValues[] = {
7025 // Command, Count
7026 1,1,
7027 3,2,
7028 6,0,
7031 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7034 aPropSequence [2].Name = "TextFrames";
7035 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7037 EnhancedCustomShapeTextFrame aTextFrame;
7039 static const CustomShapeProvider::ParameterPairData aData =
7041 EnhancedCustomShapeParameterType::NORMAL,
7042 EnhancedCustomShapeParameterType::NORMAL,
7043 0, 0
7045 aTextFrame.TopLeft = createParameterPair(&aData);
7048 static const CustomShapeProvider::ParameterPairData aData =
7050 EnhancedCustomShapeParameterType::EQUATION,
7051 EnhancedCustomShapeParameterType::EQUATION,
7052 5, 6
7054 aTextFrame.BottomRight = createParameterPair(&aData);
7056 aTextFrameSeq [0] = aTextFrame;
7058 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7060 aPropertyMap [PROP_Path] <<= aPropSequence;
7063 awt::Rectangle aRectangle;
7064 aRectangle.X = 0;
7065 aRectangle.Y = 0;
7066 aRectangle.Width = 0;
7067 aRectangle.Height = 0;
7068 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7070 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedConnector3");
7072 return aPropertyMap;
7075 class ShapeCwedgeRoundRectCallout : public CustomShapeProvider
7077 virtual PropertyMap getProperties()
7079 PropertyMap aPropertyMap;
7082 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
7084 Any aAny ((sal_Int32) -20833);
7085 aAdjSequence [0].Value = aAny;
7086 aAdjSequence [0].Name = "adj1";
7089 Any aAny ((sal_Int32) 62500);
7090 aAdjSequence [1].Value = aAny;
7091 aAdjSequence [1].Name = "adj2";
7094 Any aAny ((sal_Int32) 16667);
7095 aAdjSequence [2].Value = aAny;
7096 aAdjSequence [2].Name = "adj3";
7098 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7101 static const char *aStrings[] = {
7102 "logwidth*$0 /100000",
7103 "logheight*$1 /100000",
7104 "logwidth/2",
7105 "?2 +?0 -0",
7106 "logheight/2",
7107 "?4 +?1 -0",
7108 "?0 *logheight/logwidth",
7109 "abs(?1 )",
7110 "abs(?6 )",
7111 "?7 +0-?8 ",
7112 "if(?0 ,7,2)",
7113 "if(?0 ,10,5)",
7114 "logwidth*?10 /12",
7115 "logwidth*?11 /12",
7116 "if(?1 ,7,2)",
7117 "if(?1 ,10,5)",
7118 "logheight*?14 /12",
7119 "logheight*?15 /12",
7120 "if(?0 ,0,?3 )",
7121 "if(?9 ,0,?18 )",
7122 "if(?1 ,?12 ,?3 )",
7123 "if(?9 ,?20 ,?12 )",
7124 "if(?0 ,?3 ,logwidth)",
7125 "if(?9 ,logwidth,?22 )",
7126 "if(?1 ,?3 ,?12 )",
7127 "if(?9 ,?24 ,?12 )",
7128 "if(?0 ,?16 ,?5 )",
7129 "if(?9 ,?16 ,?26 )",
7130 "if(?1 ,0,?5 )",
7131 "if(?9 ,?28 ,0)",
7132 "if(?0 ,?5 ,?16 )",
7133 "if(?9 ,?16 ,?30 )",
7134 "if(?1 ,?5 ,logheight)",
7135 "if(?9 ,?32 ,logheight)",
7136 "min(logwidth,logheight)",
7137 "?34 *$2 /100000",
7138 "logwidth+0-?35 ",
7139 "logheight+0-?35 ",
7140 "?35 *29289/100000",
7141 "logwidth+0-?38 ",
7142 "logheight+0-?38 ",
7143 "logheight",
7144 "logwidth",
7145 "(10800000)/60000.0",
7146 "(5400000)/60000.0",
7147 "(16200000)/60000.0",
7148 "(5400000)/60000.0",
7149 "(0)/60000.0",
7150 "(5400000)/60000.0",
7151 "(5400000)/60000.0",
7152 "(5400000)/60000.0"
7154 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7157 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
7159 Sequence< PropertyValue > aPropSequence (7);
7161 aPropSequence [0].Name = "Position";
7162 static const CustomShapeProvider::ParameterPairData aData =
7164 EnhancedCustomShapeParameterType::EQUATION,
7165 EnhancedCustomShapeParameterType::EQUATION,
7166 3, 5
7168 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7171 aPropSequence [1].Name = "RangeXMaximum";
7172 EnhancedCustomShapeParameter aParameter;
7173 Any aAny ((sal_Int32) 2147483647);
7174 aParameter.Value = aAny;
7175 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7176 aPropSequence [1].Value = makeAny (aParameter);
7179 aPropSequence [2].Name = "RangeXMinimum";
7180 EnhancedCustomShapeParameter aParameter;
7181 Any aAny ((sal_Int32) -2147483647);
7182 aParameter.Value = aAny;
7183 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7184 aPropSequence [2].Value = makeAny (aParameter);
7187 aPropSequence [3].Name = "RangeYMaximum";
7188 EnhancedCustomShapeParameter aParameter;
7189 Any aAny ((sal_Int32) 2147483647);
7190 aParameter.Value = aAny;
7191 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7192 aPropSequence [3].Value = makeAny (aParameter);
7195 aPropSequence [4].Name = "RangeYMinimum";
7196 EnhancedCustomShapeParameter aParameter;
7197 Any aAny ((sal_Int32) -2147483647);
7198 aParameter.Value = aAny;
7199 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7200 aPropSequence [4].Value = makeAny (aParameter);
7203 aPropSequence [5].Name = "RefX";
7204 Any aAny ((sal_Int32) 0);
7205 aPropSequence [5].Value = makeAny (aAny);
7208 aPropSequence [6].Name = "RefY";
7209 Any aAny ((sal_Int32) 1);
7210 aPropSequence [6].Value = makeAny (aAny);
7212 aPropSequenceSequence [0] = aPropSequence;
7214 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7217 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7220 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7223 Sequence< PropertyValue > aPropSequence (3);
7225 aPropSequence [0].Name = "Coordinates";
7226 static const CustomShapeProvider::ParameterPairData aData[] = {
7228 EnhancedCustomShapeParameterType::NORMAL,
7229 EnhancedCustomShapeParameterType::EQUATION,
7230 0, 35
7233 EnhancedCustomShapeParameterType::EQUATION,
7234 EnhancedCustomShapeParameterType::EQUATION,
7235 35, 35
7238 EnhancedCustomShapeParameterType::EQUATION,
7239 EnhancedCustomShapeParameterType::EQUATION,
7240 43, 44
7243 EnhancedCustomShapeParameterType::EQUATION,
7244 EnhancedCustomShapeParameterType::NORMAL,
7245 12, 0
7248 EnhancedCustomShapeParameterType::EQUATION,
7249 EnhancedCustomShapeParameterType::EQUATION,
7250 21, 29
7253 EnhancedCustomShapeParameterType::EQUATION,
7254 EnhancedCustomShapeParameterType::NORMAL,
7255 13, 0
7258 EnhancedCustomShapeParameterType::EQUATION,
7259 EnhancedCustomShapeParameterType::NORMAL,
7260 36, 0
7263 EnhancedCustomShapeParameterType::EQUATION,
7264 EnhancedCustomShapeParameterType::EQUATION,
7265 35, 35
7268 EnhancedCustomShapeParameterType::EQUATION,
7269 EnhancedCustomShapeParameterType::EQUATION,
7270 45, 46
7273 EnhancedCustomShapeParameterType::EQUATION,
7274 EnhancedCustomShapeParameterType::EQUATION,
7275 42, 16
7278 EnhancedCustomShapeParameterType::EQUATION,
7279 EnhancedCustomShapeParameterType::EQUATION,
7280 23, 31
7283 EnhancedCustomShapeParameterType::EQUATION,
7284 EnhancedCustomShapeParameterType::EQUATION,
7285 42, 17
7288 EnhancedCustomShapeParameterType::EQUATION,
7289 EnhancedCustomShapeParameterType::EQUATION,
7290 42, 37
7293 EnhancedCustomShapeParameterType::EQUATION,
7294 EnhancedCustomShapeParameterType::EQUATION,
7295 35, 35
7298 EnhancedCustomShapeParameterType::EQUATION,
7299 EnhancedCustomShapeParameterType::EQUATION,
7300 47, 48
7303 EnhancedCustomShapeParameterType::EQUATION,
7304 EnhancedCustomShapeParameterType::EQUATION,
7305 13, 41
7308 EnhancedCustomShapeParameterType::EQUATION,
7309 EnhancedCustomShapeParameterType::EQUATION,
7310 25, 33
7313 EnhancedCustomShapeParameterType::EQUATION,
7314 EnhancedCustomShapeParameterType::EQUATION,
7315 12, 41
7318 EnhancedCustomShapeParameterType::EQUATION,
7319 EnhancedCustomShapeParameterType::EQUATION,
7320 35, 41
7323 EnhancedCustomShapeParameterType::EQUATION,
7324 EnhancedCustomShapeParameterType::EQUATION,
7325 35, 35
7328 EnhancedCustomShapeParameterType::EQUATION,
7329 EnhancedCustomShapeParameterType::EQUATION,
7330 49, 50
7333 EnhancedCustomShapeParameterType::NORMAL,
7334 EnhancedCustomShapeParameterType::EQUATION,
7335 0, 17
7338 EnhancedCustomShapeParameterType::EQUATION,
7339 EnhancedCustomShapeParameterType::EQUATION,
7340 19, 27
7343 EnhancedCustomShapeParameterType::NORMAL,
7344 EnhancedCustomShapeParameterType::EQUATION,
7345 0, 16
7348 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7351 aPropSequence [1].Name = "Segments";
7352 static const sal_uInt16 nValues[] = {
7353 // Command, Count
7354 1,1,
7355 17,1,
7356 2,4,
7357 17,1,
7358 2,4,
7359 17,1,
7360 2,4,
7361 17,1,
7362 2,3,
7363 4,0,
7366 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7369 aPropSequence [2].Name = "TextFrames";
7370 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7372 EnhancedCustomShapeTextFrame aTextFrame;
7374 static const CustomShapeProvider::ParameterPairData aData =
7376 EnhancedCustomShapeParameterType::EQUATION,
7377 EnhancedCustomShapeParameterType::EQUATION,
7378 38, 38
7380 aTextFrame.TopLeft = createParameterPair(&aData);
7383 static const CustomShapeProvider::ParameterPairData aData =
7385 EnhancedCustomShapeParameterType::EQUATION,
7386 EnhancedCustomShapeParameterType::EQUATION,
7387 39, 40
7389 aTextFrame.BottomRight = createParameterPair(&aData);
7391 aTextFrameSeq [0] = aTextFrame;
7393 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7395 aPropertyMap [PROP_Path] <<= aPropSequence;
7398 awt::Rectangle aRectangle;
7399 aRectangle.X = 0;
7400 aRectangle.Y = 0;
7401 aRectangle.Width = 0;
7402 aRectangle.Height = 0;
7403 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7405 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-wedgeRoundRectCallout");
7407 return aPropertyMap;
7410 class ShapeCactionButtonMovie : public CustomShapeProvider
7412 virtual PropertyMap getProperties()
7414 PropertyMap aPropertyMap;
7417 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
7420 static const char *aStrings[] = {
7421 "min(logwidth,logheight)",
7422 "?0 *3/8",
7423 "logheight/2",
7424 "?2 +0-?1 ",
7425 "?2 +?1 -0",
7426 "logwidth/2",
7427 "?5 +0-?1 ",
7428 "?5 +?1 -0",
7429 "?0 *3/4",
7430 "?8 *1455/21600",
7431 "?8 *1905/21600",
7432 "?8 *2325/21600",
7433 "?8 *16155/21600",
7434 "?8 *17010/21600",
7435 "?8 *19335/21600",
7436 "?8 *19725/21600",
7437 "?8 *20595/21600",
7438 "?8 *5280/21600",
7439 "?8 *5730/21600",
7440 "?8 *6630/21600",
7441 "?8 *7492/21600",
7442 "?8 *9067/21600",
7443 "?8 *9555/21600",
7444 "?8 *13342/21600",
7445 "?8 *14580/21600",
7446 "?8 *15592/21600",
7447 "?6 +?9 -0",
7448 "?6 +?10 -0",
7449 "?6 +?11 -0",
7450 "?6 +?12 -0",
7451 "?6 +?13 -0",
7452 "?6 +?14 -0",
7453 "?6 +?15 -0",
7454 "?6 +?16 -0",
7455 "?3 +?17 -0",
7456 "?3 +?18 -0",
7457 "?3 +?19 -0",
7458 "?3 +?20 -0",
7459 "?3 +?21 -0",
7460 "?3 +?22 -0",
7461 "?3 +?23 -0",
7462 "?3 +?24 -0",
7463 "?3 +?25 -0",
7464 "?3 +?26 -0",
7465 "logwidth",
7466 "logheight"
7468 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7471 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
7474 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7477 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7480 Sequence< PropertyValue > aPropSequence (3);
7482 aPropSequence [0].Name = "Coordinates";
7483 static const CustomShapeProvider::ParameterPairData aData[] = {
7485 EnhancedCustomShapeParameterType::NORMAL,
7486 EnhancedCustomShapeParameterType::NORMAL,
7487 0, 0
7490 EnhancedCustomShapeParameterType::EQUATION,
7491 EnhancedCustomShapeParameterType::NORMAL,
7492 44, 0
7495 EnhancedCustomShapeParameterType::EQUATION,
7496 EnhancedCustomShapeParameterType::EQUATION,
7497 44, 45
7500 EnhancedCustomShapeParameterType::NORMAL,
7501 EnhancedCustomShapeParameterType::EQUATION,
7502 0, 45
7505 EnhancedCustomShapeParameterType::EQUATION,
7506 EnhancedCustomShapeParameterType::EQUATION,
7507 6, 34
7510 EnhancedCustomShapeParameterType::EQUATION,
7511 EnhancedCustomShapeParameterType::EQUATION,
7512 6, 39
7515 EnhancedCustomShapeParameterType::EQUATION,
7516 EnhancedCustomShapeParameterType::EQUATION,
7517 26, 39
7520 EnhancedCustomShapeParameterType::EQUATION,
7521 EnhancedCustomShapeParameterType::EQUATION,
7522 27, 38
7525 EnhancedCustomShapeParameterType::EQUATION,
7526 EnhancedCustomShapeParameterType::EQUATION,
7527 28, 38
7530 EnhancedCustomShapeParameterType::EQUATION,
7531 EnhancedCustomShapeParameterType::EQUATION,
7532 28, 42
7535 EnhancedCustomShapeParameterType::EQUATION,
7536 EnhancedCustomShapeParameterType::EQUATION,
7537 30, 42
7540 EnhancedCustomShapeParameterType::EQUATION,
7541 EnhancedCustomShapeParameterType::EQUATION,
7542 30, 40
7545 EnhancedCustomShapeParameterType::EQUATION,
7546 EnhancedCustomShapeParameterType::EQUATION,
7547 31, 40
7550 EnhancedCustomShapeParameterType::EQUATION,
7551 EnhancedCustomShapeParameterType::EQUATION,
7552 33, 41
7555 EnhancedCustomShapeParameterType::EQUATION,
7556 EnhancedCustomShapeParameterType::EQUATION,
7557 7, 41
7560 EnhancedCustomShapeParameterType::EQUATION,
7561 EnhancedCustomShapeParameterType::EQUATION,
7562 7, 36
7565 EnhancedCustomShapeParameterType::EQUATION,
7566 EnhancedCustomShapeParameterType::EQUATION,
7567 33, 36
7570 EnhancedCustomShapeParameterType::EQUATION,
7571 EnhancedCustomShapeParameterType::EQUATION,
7572 32, 37
7575 EnhancedCustomShapeParameterType::EQUATION,
7576 EnhancedCustomShapeParameterType::EQUATION,
7577 30, 37
7580 EnhancedCustomShapeParameterType::EQUATION,
7581 EnhancedCustomShapeParameterType::EQUATION,
7582 30, 36
7585 EnhancedCustomShapeParameterType::EQUATION,
7586 EnhancedCustomShapeParameterType::EQUATION,
7587 29, 35
7590 EnhancedCustomShapeParameterType::EQUATION,
7591 EnhancedCustomShapeParameterType::EQUATION,
7592 27, 35
7595 EnhancedCustomShapeParameterType::EQUATION,
7596 EnhancedCustomShapeParameterType::EQUATION,
7597 26, 34
7600 EnhancedCustomShapeParameterType::EQUATION,
7601 EnhancedCustomShapeParameterType::EQUATION,
7602 6, 34
7605 EnhancedCustomShapeParameterType::EQUATION,
7606 EnhancedCustomShapeParameterType::EQUATION,
7607 6, 39
7610 EnhancedCustomShapeParameterType::EQUATION,
7611 EnhancedCustomShapeParameterType::EQUATION,
7612 26, 39
7615 EnhancedCustomShapeParameterType::EQUATION,
7616 EnhancedCustomShapeParameterType::EQUATION,
7617 27, 38
7620 EnhancedCustomShapeParameterType::EQUATION,
7621 EnhancedCustomShapeParameterType::EQUATION,
7622 28, 38
7625 EnhancedCustomShapeParameterType::EQUATION,
7626 EnhancedCustomShapeParameterType::EQUATION,
7627 28, 42
7630 EnhancedCustomShapeParameterType::EQUATION,
7631 EnhancedCustomShapeParameterType::EQUATION,
7632 30, 42
7635 EnhancedCustomShapeParameterType::EQUATION,
7636 EnhancedCustomShapeParameterType::EQUATION,
7637 30, 40
7640 EnhancedCustomShapeParameterType::EQUATION,
7641 EnhancedCustomShapeParameterType::EQUATION,
7642 31, 40
7645 EnhancedCustomShapeParameterType::EQUATION,
7646 EnhancedCustomShapeParameterType::EQUATION,
7647 33, 41
7650 EnhancedCustomShapeParameterType::EQUATION,
7651 EnhancedCustomShapeParameterType::EQUATION,
7652 7, 41
7655 EnhancedCustomShapeParameterType::EQUATION,
7656 EnhancedCustomShapeParameterType::EQUATION,
7657 7, 36
7660 EnhancedCustomShapeParameterType::EQUATION,
7661 EnhancedCustomShapeParameterType::EQUATION,
7662 33, 36
7665 EnhancedCustomShapeParameterType::EQUATION,
7666 EnhancedCustomShapeParameterType::EQUATION,
7667 32, 37
7670 EnhancedCustomShapeParameterType::EQUATION,
7671 EnhancedCustomShapeParameterType::EQUATION,
7672 30, 37
7675 EnhancedCustomShapeParameterType::EQUATION,
7676 EnhancedCustomShapeParameterType::EQUATION,
7677 30, 36
7680 EnhancedCustomShapeParameterType::EQUATION,
7681 EnhancedCustomShapeParameterType::EQUATION,
7682 29, 35
7685 EnhancedCustomShapeParameterType::EQUATION,
7686 EnhancedCustomShapeParameterType::EQUATION,
7687 27, 35
7690 EnhancedCustomShapeParameterType::EQUATION,
7691 EnhancedCustomShapeParameterType::EQUATION,
7692 26, 34
7695 EnhancedCustomShapeParameterType::EQUATION,
7696 EnhancedCustomShapeParameterType::EQUATION,
7697 6, 34
7700 EnhancedCustomShapeParameterType::EQUATION,
7701 EnhancedCustomShapeParameterType::EQUATION,
7702 26, 34
7705 EnhancedCustomShapeParameterType::EQUATION,
7706 EnhancedCustomShapeParameterType::EQUATION,
7707 27, 35
7710 EnhancedCustomShapeParameterType::EQUATION,
7711 EnhancedCustomShapeParameterType::EQUATION,
7712 29, 35
7715 EnhancedCustomShapeParameterType::EQUATION,
7716 EnhancedCustomShapeParameterType::EQUATION,
7717 30, 36
7720 EnhancedCustomShapeParameterType::EQUATION,
7721 EnhancedCustomShapeParameterType::EQUATION,
7722 30, 37
7725 EnhancedCustomShapeParameterType::EQUATION,
7726 EnhancedCustomShapeParameterType::EQUATION,
7727 32, 37
7730 EnhancedCustomShapeParameterType::EQUATION,
7731 EnhancedCustomShapeParameterType::EQUATION,
7732 33, 36
7735 EnhancedCustomShapeParameterType::EQUATION,
7736 EnhancedCustomShapeParameterType::EQUATION,
7737 7, 36
7740 EnhancedCustomShapeParameterType::EQUATION,
7741 EnhancedCustomShapeParameterType::EQUATION,
7742 7, 41
7745 EnhancedCustomShapeParameterType::EQUATION,
7746 EnhancedCustomShapeParameterType::EQUATION,
7747 33, 41
7750 EnhancedCustomShapeParameterType::EQUATION,
7751 EnhancedCustomShapeParameterType::EQUATION,
7752 31, 40
7755 EnhancedCustomShapeParameterType::EQUATION,
7756 EnhancedCustomShapeParameterType::EQUATION,
7757 30, 40
7760 EnhancedCustomShapeParameterType::EQUATION,
7761 EnhancedCustomShapeParameterType::EQUATION,
7762 30, 42
7765 EnhancedCustomShapeParameterType::EQUATION,
7766 EnhancedCustomShapeParameterType::EQUATION,
7767 28, 42
7770 EnhancedCustomShapeParameterType::EQUATION,
7771 EnhancedCustomShapeParameterType::EQUATION,
7772 28, 38
7775 EnhancedCustomShapeParameterType::EQUATION,
7776 EnhancedCustomShapeParameterType::EQUATION,
7777 27, 38
7780 EnhancedCustomShapeParameterType::EQUATION,
7781 EnhancedCustomShapeParameterType::EQUATION,
7782 26, 39
7785 EnhancedCustomShapeParameterType::EQUATION,
7786 EnhancedCustomShapeParameterType::EQUATION,
7787 6, 39
7790 EnhancedCustomShapeParameterType::NORMAL,
7791 EnhancedCustomShapeParameterType::NORMAL,
7792 0, 0
7795 EnhancedCustomShapeParameterType::EQUATION,
7796 EnhancedCustomShapeParameterType::NORMAL,
7797 44, 0
7800 EnhancedCustomShapeParameterType::EQUATION,
7801 EnhancedCustomShapeParameterType::EQUATION,
7802 44, 45
7805 EnhancedCustomShapeParameterType::NORMAL,
7806 EnhancedCustomShapeParameterType::EQUATION,
7807 0, 45
7810 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7813 aPropSequence [1].Name = "Segments";
7814 static const sal_uInt16 nValues[] = {
7815 // Command, Count
7816 1,1,
7817 2,3,
7818 4,0,
7819 1,1,
7820 2,18,
7821 4,0,
7822 7,0,
7823 5,0,
7824 1,1,
7825 2,18,
7826 4,0,
7827 18,0,
7828 7,0,
7829 5,0,
7830 1,1,
7831 2,18,
7832 4,0,
7833 6,0,
7834 5,0,
7835 1,1,
7836 2,3,
7837 4,0,
7838 6,0,
7841 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7844 aPropSequence [2].Name = "TextFrames";
7845 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7847 EnhancedCustomShapeTextFrame aTextFrame;
7849 static const CustomShapeProvider::ParameterPairData aData =
7851 EnhancedCustomShapeParameterType::NORMAL,
7852 EnhancedCustomShapeParameterType::NORMAL,
7853 0, 0
7855 aTextFrame.TopLeft = createParameterPair(&aData);
7858 static const CustomShapeProvider::ParameterPairData aData =
7860 EnhancedCustomShapeParameterType::EQUATION,
7861 EnhancedCustomShapeParameterType::EQUATION,
7862 44, 45
7864 aTextFrame.BottomRight = createParameterPair(&aData);
7866 aTextFrameSeq [0] = aTextFrame;
7868 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7870 aPropertyMap [PROP_Path] <<= aPropSequence;
7873 awt::Rectangle aRectangle;
7874 aRectangle.X = 0;
7875 aRectangle.Y = 0;
7876 aRectangle.Width = 0;
7877 aRectangle.Height = 0;
7878 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7880 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonMovie");
7882 return aPropertyMap;
7885 class ShapeCflowChartOnlineStorage : public CustomShapeProvider
7887 virtual PropertyMap getProperties()
7889 PropertyMap aPropertyMap;
7892 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
7895 static const char *aStrings[] = {
7896 "logwidth*5/6",
7897 "logwidth/2",
7898 "logheight/2",
7899 "logheight",
7900 "logwidth/6",
7901 "(16200000)/60000.0",
7902 "(-10800000)/60000.0",
7903 "(5400000)/60000.0",
7904 "(10800000)/60000.0"
7906 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7909 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
7912 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7915 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7918 Sequence< PropertyValue > aPropSequence (4);
7920 aPropSequence [0].Name = "Coordinates";
7921 static const CustomShapeProvider::ParameterPairData aData[] = {
7923 EnhancedCustomShapeParameterType::NORMAL,
7924 EnhancedCustomShapeParameterType::NORMAL,
7925 1, 0
7928 EnhancedCustomShapeParameterType::NORMAL,
7929 EnhancedCustomShapeParameterType::NORMAL,
7930 6, 0
7933 EnhancedCustomShapeParameterType::NORMAL,
7934 EnhancedCustomShapeParameterType::NORMAL,
7935 1, 3
7938 EnhancedCustomShapeParameterType::EQUATION,
7939 EnhancedCustomShapeParameterType::EQUATION,
7940 5, 6
7943 EnhancedCustomShapeParameterType::NORMAL,
7944 EnhancedCustomShapeParameterType::NORMAL,
7945 1, 6
7948 EnhancedCustomShapeParameterType::NORMAL,
7949 EnhancedCustomShapeParameterType::NORMAL,
7950 1, 3
7953 EnhancedCustomShapeParameterType::EQUATION,
7954 EnhancedCustomShapeParameterType::EQUATION,
7955 7, 8
7958 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7961 aPropSequence [1].Name = "Segments";
7962 static const sal_uInt16 nValues[] = {
7963 // Command, Count
7964 1,1,
7965 2,1,
7966 17,1,
7967 2,1,
7968 17,1,
7969 4,0,
7972 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7975 aPropSequence [2].Name = "SubViewSize";
7976 Sequence< awt::Size > aSizeSequence (1);
7978 awt::Size aSize;
7979 aSize.Width = 6;
7980 aSize.Height = 6;
7981 aSizeSequence [0] = aSize;
7983 aPropSequence [2].Value = makeAny (aSizeSequence);
7986 aPropSequence [3].Name = "TextFrames";
7987 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7989 EnhancedCustomShapeTextFrame aTextFrame;
7991 static const CustomShapeProvider::ParameterPairData aData =
7993 EnhancedCustomShapeParameterType::EQUATION,
7994 EnhancedCustomShapeParameterType::NORMAL,
7995 4, 0
7997 aTextFrame.TopLeft = createParameterPair(&aData);
8000 static const CustomShapeProvider::ParameterPairData aData =
8002 EnhancedCustomShapeParameterType::EQUATION,
8003 EnhancedCustomShapeParameterType::EQUATION,
8004 0, 3
8006 aTextFrame.BottomRight = createParameterPair(&aData);
8008 aTextFrameSeq [0] = aTextFrame;
8010 aPropSequence [3].Value = makeAny (aTextFrameSeq);
8012 aPropertyMap [PROP_Path] <<= aPropSequence;
8015 awt::Rectangle aRectangle;
8016 aRectangle.X = 0;
8017 aRectangle.Y = 0;
8018 aRectangle.Width = 0;
8019 aRectangle.Height = 0;
8020 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8022 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartOnlineStorage");
8024 return aPropertyMap;
8027 class ShapeCgear6 : public CustomShapeProvider
8029 virtual PropertyMap getProperties()
8031 PropertyMap aPropertyMap;
8034 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
8036 Any aAny ((sal_Int32) 15000);
8037 aAdjSequence [0].Value = aAny;
8038 aAdjSequence [0].Name = "adj1";
8041 Any aAny ((sal_Int32) 3526);
8042 aAdjSequence [1].Value = aAny;
8043 aAdjSequence [1].Name = "adj2";
8045 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8048 static const char *aStrings[] = {
8049 "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))",
8050 "if(0-$1 ,0,if(5358-$1 ,$1 ,5358))",
8051 "min(logwidth,logheight)",
8052 "?2 *?0 /100000",
8053 "?2 *?1 /100000",
8054 "?3 *1/2",
8055 "?4 *1/2",
8056 "?5 +?6 -0",
8057 "logheight/2",
8058 "?8 +0-?3 ",
8059 "logwidth/2",
8060 "?10 +0-?3 ",
8061 "?11 +0-?9 ",
8062 "if(?12 ,?9 ,?11 )",
8063 "(10800000*atan2(?7 ,?13 ))/pi",
8064 "19800000+0-?14 ",
8065 "19800000+?14 -0",
8066 "?11 *cos(pi*(?15 )/10800000)",
8067 "?9 *sin(pi*(?15 )/10800000)",
8068 "(10800000*atan2(?18 ,?17 ))/pi",
8069 "?9 *cos(pi*(?19 )/10800000)",
8070 "?11 *sin(pi*(?19 )/10800000)",
8071 "sqrt(?20 *?20 +?21 *?21 +0*0)",
8072 "?11 *?9 /?22 ",
8073 "?23 *cos(pi*(?19 )/10800000)",
8074 "?23 *sin(pi*(?19 )/10800000)",
8075 "logwidth/2",
8076 "?26 +?24 -0",
8077 "logheight/2",
8078 "?28 +?25 -0",
8079 "?11 *cos(pi*(?16 )/10800000)",
8080 "?9 *sin(pi*(?16 )/10800000)",
8081 "(10800000*atan2(?31 ,?30 ))/pi",
8082 "?9 *cos(pi*(?32 )/10800000)",
8083 "?11 *sin(pi*(?32 )/10800000)",
8084 "sqrt(?33 *?33 +?34 *?34 +0*0)",
8085 "?11 *?9 /?35 ",
8086 "?36 *cos(pi*(?32 )/10800000)",
8087 "?36 *sin(pi*(?32 )/10800000)",
8088 "?26 +?37 -0",
8089 "?28 +?38 -0",
8090 "?27 +0-?39 ",
8091 "?29 +0-?40 ",
8092 "sqrt(?41 *?41 +?42 *?42 +0*0)",
8093 "(10800000*atan2(?41 ,?42 ))/pi",
8094 "?4 *sin(pi*(?44 )/10800000)",
8095 "?4 *cos(pi*(?44 )/10800000)",
8096 "?39 +?45 -0",
8097 "?40 +?46 -0",
8098 "?27 +0-?45 ",
8099 "?29 +0-?46 ",
8100 "?3 *sin(pi*(?44 )/10800000)",
8101 "?3 *cos(pi*(?44 )/10800000)",
8102 "?48 +?51 -0",
8103 "?47 +0-?52 ",
8104 "?50 +?51 -0",
8105 "?49 +0-?52 ",
8106 "16200000+?14 -0",
8107 "?11 *cos(pi*(?57 )/10800000)",
8108 "?9 *sin(pi*(?57 )/10800000)",
8109 "(10800000*atan2(?59 ,?58 ))/pi",
8110 "?9 *cos(pi*(?60 )/10800000)",
8111 "?11 *sin(pi*(?60 )/10800000)",
8112 "sqrt(?61 *?61 +?62 *?62 +0*0)",
8113 "?11 *?9 /?63 ",
8114 "?64 *cos(pi*(?60 )/10800000)",
8115 "?64 *sin(pi*(?60 )/10800000)",
8116 "?26 +?65 -0",
8117 "?28 +?66 -0",
8118 "?26 +0-?65 ",
8119 "?67 +0-?4 ",
8120 "?69 +?4 -0",
8121 "?68 +0-?3 ",
8122 "?19 +0-?60 ",
8123 "1800000+0-?14 ",
8124 "1800000+?14 -0",
8125 "?11 *cos(pi*(?74 )/10800000)",
8126 "?9 *sin(pi*(?74 )/10800000)",
8127 "(10800000*atan2(?77 ,?76 ))/pi",
8128 "logheight+0-?40 ",
8129 "?11 *cos(pi*(?75 )/10800000)",
8130 "?9 *sin(pi*(?75 )/10800000)",
8131 "(10800000*atan2(?81 ,?80 ))/pi",
8132 "logheight+0-?29 ",
8133 "logheight+0-?55 ",
8134 "logheight+0-?53 ",
8135 "?54 ",
8136 "?78 +0-?32 ",
8137 "5400000+?14 -0",
8138 "?11 *cos(pi*(?88 )/10800000)",
8139 "?9 *sin(pi*(?88 )/10800000)",
8140 "(10800000*atan2(?90 ,?89 ))/pi",
8141 "logheight+0-?68 ",
8142 "logheight+0-?72 ",
8143 "9000000+?14 -0",
8144 "?11 *cos(pi*(?94 )/10800000)",
8145 "?9 *sin(pi*(?94 )/10800000)",
8146 "(10800000*atan2(?96 ,?95 ))/pi",
8147 "logwidth+0-?39 ",
8148 "logwidth+0-?54 ",
8149 "logwidth+0-?56 ",
8150 "12600000+?14 -0",
8151 "?11 *cos(pi*(?101 )/10800000)",
8152 "?9 *sin(pi*(?101 )/10800000)",
8153 "(10800000*atan2(?103 ,?102 ))/pi",
8154 "logwidth+0-?27 ",
8155 "logwidth+0-?56 ",
8156 "logwidth+0-?54 ",
8157 "(?56 +?54 )/2",
8158 "(?55 +?53 )/2",
8159 "logheight+0-?109 ",
8160 "(logwidth+0)/?108 ",
8161 "(?32 )/60000.0",
8162 "(?87 )/60000.0",
8163 "(?82 )/60000.0",
8164 "(?73 )/60000.0",
8165 "(?91 )/60000.0",
8166 "(?73 )/60000.0",
8167 "(?97 )/60000.0",
8168 "(?87 )/60000.0",
8169 "(?104 )/60000.0",
8170 "(?73 )/60000.0",
8171 "(?60 )/60000.0",
8172 "(?73 )/60000.0"
8174 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8177 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
8179 Sequence< PropertyValue > aPropSequence (4);
8181 aPropSequence [0].Name = "Position";
8182 static const CustomShapeProvider::ParameterPairData aData =
8184 EnhancedCustomShapeParameterType::EQUATION,
8185 EnhancedCustomShapeParameterType::EQUATION,
8186 67, 68
8188 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8191 aPropSequence [1].Name = "RangeYMaximum";
8192 EnhancedCustomShapeParameter aParameter;
8193 Any aAny ((sal_Int32) 20000);
8194 aParameter.Value = aAny;
8195 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8196 aPropSequence [1].Value = makeAny (aParameter);
8199 aPropSequence [2].Name = "RangeYMinimum";
8200 EnhancedCustomShapeParameter aParameter;
8201 Any aAny ((sal_Int32) 0);
8202 aParameter.Value = aAny;
8203 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8204 aPropSequence [2].Value = makeAny (aParameter);
8207 aPropSequence [3].Name = "RefY";
8208 Any aAny ((sal_Int32) 0);
8209 aPropSequence [3].Value = makeAny (aAny);
8211 aPropSequenceSequence [0] = aPropSequence;
8214 Sequence< PropertyValue > aPropSequence (4);
8216 aPropSequence [0].Name = "Position";
8217 static const CustomShapeProvider::ParameterPairData aData =
8219 EnhancedCustomShapeParameterType::EQUATION,
8220 EnhancedCustomShapeParameterType::EQUATION,
8221 69, 68
8223 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8226 aPropSequence [1].Name = "RangeXMaximum";
8227 EnhancedCustomShapeParameter aParameter;
8228 Any aAny ((sal_Int32) 5358);
8229 aParameter.Value = aAny;
8230 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8231 aPropSequence [1].Value = makeAny (aParameter);
8234 aPropSequence [2].Name = "RangeXMinimum";
8235 EnhancedCustomShapeParameter aParameter;
8236 Any aAny ((sal_Int32) 0);
8237 aParameter.Value = aAny;
8238 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8239 aPropSequence [2].Value = makeAny (aParameter);
8242 aPropSequence [3].Name = "RefX";
8243 Any aAny ((sal_Int32) 1);
8244 aPropSequence [3].Value = makeAny (aAny);
8246 aPropSequenceSequence [1] = aPropSequence;
8248 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8251 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8254 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8257 Sequence< PropertyValue > aPropSequence (3);
8259 aPropSequence [0].Name = "Coordinates";
8260 static const CustomShapeProvider::ParameterPairData aData[] = {
8262 EnhancedCustomShapeParameterType::EQUATION,
8263 EnhancedCustomShapeParameterType::EQUATION,
8264 27, 29
8267 EnhancedCustomShapeParameterType::EQUATION,
8268 EnhancedCustomShapeParameterType::EQUATION,
8269 56, 55
8272 EnhancedCustomShapeParameterType::EQUATION,
8273 EnhancedCustomShapeParameterType::EQUATION,
8274 54, 53
8277 EnhancedCustomShapeParameterType::EQUATION,
8278 EnhancedCustomShapeParameterType::EQUATION,
8279 39, 40
8282 EnhancedCustomShapeParameterType::EQUATION,
8283 EnhancedCustomShapeParameterType::EQUATION,
8284 11, 9
8287 EnhancedCustomShapeParameterType::EQUATION,
8288 EnhancedCustomShapeParameterType::EQUATION,
8289 112, 113
8292 EnhancedCustomShapeParameterType::EQUATION,
8293 EnhancedCustomShapeParameterType::EQUATION,
8294 54, 85
8297 EnhancedCustomShapeParameterType::EQUATION,
8298 EnhancedCustomShapeParameterType::EQUATION,
8299 56, 84
8302 EnhancedCustomShapeParameterType::EQUATION,
8303 EnhancedCustomShapeParameterType::EQUATION,
8304 27, 83
8307 EnhancedCustomShapeParameterType::EQUATION,
8308 EnhancedCustomShapeParameterType::EQUATION,
8309 11, 9
8312 EnhancedCustomShapeParameterType::EQUATION,
8313 EnhancedCustomShapeParameterType::EQUATION,
8314 114, 115
8317 EnhancedCustomShapeParameterType::EQUATION,
8318 EnhancedCustomShapeParameterType::EQUATION,
8319 70, 93
8322 EnhancedCustomShapeParameterType::EQUATION,
8323 EnhancedCustomShapeParameterType::EQUATION,
8324 71, 93
8327 EnhancedCustomShapeParameterType::EQUATION,
8328 EnhancedCustomShapeParameterType::EQUATION,
8329 69, 92
8332 EnhancedCustomShapeParameterType::EQUATION,
8333 EnhancedCustomShapeParameterType::EQUATION,
8334 11, 9
8337 EnhancedCustomShapeParameterType::EQUATION,
8338 EnhancedCustomShapeParameterType::EQUATION,
8339 116, 117
8342 EnhancedCustomShapeParameterType::EQUATION,
8343 EnhancedCustomShapeParameterType::EQUATION,
8344 100, 84
8347 EnhancedCustomShapeParameterType::EQUATION,
8348 EnhancedCustomShapeParameterType::EQUATION,
8349 99, 85
8352 EnhancedCustomShapeParameterType::EQUATION,
8353 EnhancedCustomShapeParameterType::EQUATION,
8354 98, 79
8357 EnhancedCustomShapeParameterType::EQUATION,
8358 EnhancedCustomShapeParameterType::EQUATION,
8359 11, 9
8362 EnhancedCustomShapeParameterType::EQUATION,
8363 EnhancedCustomShapeParameterType::EQUATION,
8364 118, 119
8367 EnhancedCustomShapeParameterType::EQUATION,
8368 EnhancedCustomShapeParameterType::EQUATION,
8369 107, 53
8372 EnhancedCustomShapeParameterType::EQUATION,
8373 EnhancedCustomShapeParameterType::EQUATION,
8374 106, 55
8377 EnhancedCustomShapeParameterType::EQUATION,
8378 EnhancedCustomShapeParameterType::EQUATION,
8379 105, 29
8382 EnhancedCustomShapeParameterType::EQUATION,
8383 EnhancedCustomShapeParameterType::EQUATION,
8384 11, 9
8387 EnhancedCustomShapeParameterType::EQUATION,
8388 EnhancedCustomShapeParameterType::EQUATION,
8389 120, 121
8392 EnhancedCustomShapeParameterType::EQUATION,
8393 EnhancedCustomShapeParameterType::EQUATION,
8394 71, 72
8397 EnhancedCustomShapeParameterType::EQUATION,
8398 EnhancedCustomShapeParameterType::EQUATION,
8399 70, 72
8402 EnhancedCustomShapeParameterType::EQUATION,
8403 EnhancedCustomShapeParameterType::EQUATION,
8404 67, 68
8407 EnhancedCustomShapeParameterType::EQUATION,
8408 EnhancedCustomShapeParameterType::EQUATION,
8409 11, 9
8412 EnhancedCustomShapeParameterType::EQUATION,
8413 EnhancedCustomShapeParameterType::EQUATION,
8414 122, 123
8417 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8420 aPropSequence [1].Name = "Segments";
8421 static const sal_uInt16 nValues[] = {
8422 // Command, Count
8423 1,1,
8424 2,3,
8425 17,1,
8426 2,3,
8427 17,1,
8428 2,3,
8429 17,1,
8430 2,3,
8431 17,1,
8432 2,3,
8433 17,1,
8434 2,3,
8435 17,1,
8436 4,0,
8439 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8442 aPropSequence [2].Name = "TextFrames";
8443 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8445 EnhancedCustomShapeTextFrame aTextFrame;
8447 static const CustomShapeProvider::ParameterPairData aData =
8449 EnhancedCustomShapeParameterType::EQUATION,
8450 EnhancedCustomShapeParameterType::EQUATION,
8451 105, 29
8453 aTextFrame.TopLeft = createParameterPair(&aData);
8456 static const CustomShapeProvider::ParameterPairData aData =
8458 EnhancedCustomShapeParameterType::EQUATION,
8459 EnhancedCustomShapeParameterType::EQUATION,
8460 27, 83
8462 aTextFrame.BottomRight = createParameterPair(&aData);
8464 aTextFrameSeq [0] = aTextFrame;
8466 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8468 aPropertyMap [PROP_Path] <<= aPropSequence;
8471 awt::Rectangle aRectangle;
8472 aRectangle.X = 0;
8473 aRectangle.Y = 0;
8474 aRectangle.Width = 0;
8475 aRectangle.Height = 0;
8476 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8478 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-gear6");
8480 return aPropertyMap;
8483 class ShapeChalfFrame : public CustomShapeProvider
8485 virtual PropertyMap getProperties()
8487 PropertyMap aPropertyMap;
8490 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
8492 Any aAny ((sal_Int32) 33333);
8493 aAdjSequence [0].Value = aAny;
8494 aAdjSequence [0].Name = "adj1";
8497 Any aAny ((sal_Int32) 33333);
8498 aAdjSequence [1].Value = aAny;
8499 aAdjSequence [1].Name = "adj2";
8501 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8504 static const char *aStrings[] = {
8505 "min(logwidth,logheight)",
8506 "100000*logwidth/?0 ",
8507 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
8508 "?0 *?2 /100000",
8509 "logheight*?3 /logwidth",
8510 "logheight+0-?4 ",
8511 "100000*?5 /?0 ",
8512 "if(0-$0 ,0,if(?6 -$0 ,$0 ,?6 ))",
8513 "?0 *?7 /100000",
8514 "?8 *logwidth/logheight",
8515 "logwidth+0-?9 ",
8516 "?3 *logheight/logwidth",
8517 "logheight+0-?11 ",
8518 "?3 *1/2",
8519 "(?12 +logheight)/2",
8520 "(?10 +logwidth)/2",
8521 "?8 *1/2",
8522 "logheight/2",
8523 "logwidth/2",
8524 "logwidth",
8525 "logheight"
8527 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8530 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
8532 Sequence< PropertyValue > aPropSequence (4);
8534 aPropSequence [0].Name = "Position";
8535 static const CustomShapeProvider::ParameterPairData aData =
8537 EnhancedCustomShapeParameterType::NORMAL,
8538 EnhancedCustomShapeParameterType::EQUATION,
8539 0, 8
8541 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8544 aPropSequence [1].Name = "RangeYMaximum";
8545 EnhancedCustomShapeParameter aParameter;
8546 Any aAny ((sal_Int32) 6);
8547 aParameter.Value = aAny;
8548 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8549 aPropSequence [1].Value = makeAny (aParameter);
8552 aPropSequence [2].Name = "RangeYMinimum";
8553 EnhancedCustomShapeParameter aParameter;
8554 Any aAny ((sal_Int32) 0);
8555 aParameter.Value = aAny;
8556 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8557 aPropSequence [2].Value = makeAny (aParameter);
8560 aPropSequence [3].Name = "RefY";
8561 Any aAny ((sal_Int32) 0);
8562 aPropSequence [3].Value = makeAny (aAny);
8564 aPropSequenceSequence [0] = aPropSequence;
8567 Sequence< PropertyValue > aPropSequence (4);
8569 aPropSequence [0].Name = "Position";
8570 static const CustomShapeProvider::ParameterPairData aData =
8572 EnhancedCustomShapeParameterType::EQUATION,
8573 EnhancedCustomShapeParameterType::NORMAL,
8574 3, 0
8576 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8579 aPropSequence [1].Name = "RangeXMaximum";
8580 EnhancedCustomShapeParameter aParameter;
8581 Any aAny ((sal_Int32) 1);
8582 aParameter.Value = aAny;
8583 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8584 aPropSequence [1].Value = makeAny (aParameter);
8587 aPropSequence [2].Name = "RangeXMinimum";
8588 EnhancedCustomShapeParameter aParameter;
8589 Any aAny ((sal_Int32) 0);
8590 aParameter.Value = aAny;
8591 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8592 aPropSequence [2].Value = makeAny (aParameter);
8595 aPropSequence [3].Name = "RefX";
8596 Any aAny ((sal_Int32) 1);
8597 aPropSequence [3].Value = makeAny (aAny);
8599 aPropSequenceSequence [1] = aPropSequence;
8601 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8604 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8607 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8610 Sequence< PropertyValue > aPropSequence (3);
8612 aPropSequence [0].Name = "Coordinates";
8613 static const CustomShapeProvider::ParameterPairData aData[] = {
8615 EnhancedCustomShapeParameterType::NORMAL,
8616 EnhancedCustomShapeParameterType::NORMAL,
8617 0, 0
8620 EnhancedCustomShapeParameterType::EQUATION,
8621 EnhancedCustomShapeParameterType::NORMAL,
8622 19, 0
8625 EnhancedCustomShapeParameterType::EQUATION,
8626 EnhancedCustomShapeParameterType::EQUATION,
8627 10, 8
8630 EnhancedCustomShapeParameterType::EQUATION,
8631 EnhancedCustomShapeParameterType::EQUATION,
8632 3, 8
8635 EnhancedCustomShapeParameterType::EQUATION,
8636 EnhancedCustomShapeParameterType::EQUATION,
8637 3, 12
8640 EnhancedCustomShapeParameterType::NORMAL,
8641 EnhancedCustomShapeParameterType::EQUATION,
8642 0, 20
8645 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8648 aPropSequence [1].Name = "Segments";
8649 static const sal_uInt16 nValues[] = {
8650 // Command, Count
8651 1,1,
8652 2,5,
8653 4,0,
8656 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8659 aPropSequence [2].Name = "TextFrames";
8660 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8662 EnhancedCustomShapeTextFrame aTextFrame;
8664 static const CustomShapeProvider::ParameterPairData aData =
8666 EnhancedCustomShapeParameterType::NORMAL,
8667 EnhancedCustomShapeParameterType::NORMAL,
8668 0, 0
8670 aTextFrame.TopLeft = createParameterPair(&aData);
8673 static const CustomShapeProvider::ParameterPairData aData =
8675 EnhancedCustomShapeParameterType::EQUATION,
8676 EnhancedCustomShapeParameterType::EQUATION,
8677 19, 20
8679 aTextFrame.BottomRight = createParameterPair(&aData);
8681 aTextFrameSeq [0] = aTextFrame;
8683 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8685 aPropertyMap [PROP_Path] <<= aPropSequence;
8688 awt::Rectangle aRectangle;
8689 aRectangle.X = 0;
8690 aRectangle.Y = 0;
8691 aRectangle.Width = 0;
8692 aRectangle.Height = 0;
8693 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8695 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-halfFrame");
8697 return aPropertyMap;
8700 class ShapeCsnip2SameRect : public CustomShapeProvider
8702 virtual PropertyMap getProperties()
8704 PropertyMap aPropertyMap;
8707 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
8709 Any aAny ((sal_Int32) 16667);
8710 aAdjSequence [0].Value = aAny;
8711 aAdjSequence [0].Name = "adj1";
8714 Any aAny ((sal_Int32) 0);
8715 aAdjSequence [1].Value = aAny;
8716 aAdjSequence [1].Name = "adj2";
8718 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8721 static const char *aStrings[] = {
8722 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
8723 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
8724 "min(logwidth,logheight)",
8725 "?2 *?0 /100000",
8726 "logwidth+0-?3 ",
8727 "?2 *?1 /100000",
8728 "logwidth+0-?5 ",
8729 "logheight+0-?5 ",
8730 "?3 +0-?5 ",
8731 "if(?8 ,?3 ,?5 )",
8732 "?9 *1/2",
8733 "logwidth+0-?10 ",
8734 "?3 *1/2",
8735 "(?7 +logheight)/2",
8736 "logheight",
8737 "logwidth",
8738 "logheight/2",
8739 "logwidth/2"
8741 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8744 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
8746 Sequence< PropertyValue > aPropSequence (4);
8748 aPropSequence [0].Name = "Position";
8749 static const CustomShapeProvider::ParameterPairData aData =
8751 EnhancedCustomShapeParameterType::EQUATION,
8752 EnhancedCustomShapeParameterType::NORMAL,
8753 4, 0
8755 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8758 aPropSequence [1].Name = "RangeXMaximum";
8759 EnhancedCustomShapeParameter aParameter;
8760 Any aAny ((sal_Int32) 50000);
8761 aParameter.Value = aAny;
8762 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8763 aPropSequence [1].Value = makeAny (aParameter);
8766 aPropSequence [2].Name = "RangeXMinimum";
8767 EnhancedCustomShapeParameter aParameter;
8768 Any aAny ((sal_Int32) 0);
8769 aParameter.Value = aAny;
8770 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8771 aPropSequence [2].Value = makeAny (aParameter);
8774 aPropSequence [3].Name = "RefX";
8775 Any aAny ((sal_Int32) 0);
8776 aPropSequence [3].Value = makeAny (aAny);
8778 aPropSequenceSequence [0] = aPropSequence;
8781 Sequence< PropertyValue > aPropSequence (4);
8783 aPropSequence [0].Name = "Position";
8784 static const CustomShapeProvider::ParameterPairData aData =
8786 EnhancedCustomShapeParameterType::EQUATION,
8787 EnhancedCustomShapeParameterType::EQUATION,
8788 5, 14
8790 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8793 aPropSequence [1].Name = "RangeXMaximum";
8794 EnhancedCustomShapeParameter aParameter;
8795 Any aAny ((sal_Int32) 50000);
8796 aParameter.Value = aAny;
8797 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8798 aPropSequence [1].Value = makeAny (aParameter);
8801 aPropSequence [2].Name = "RangeXMinimum";
8802 EnhancedCustomShapeParameter aParameter;
8803 Any aAny ((sal_Int32) 0);
8804 aParameter.Value = aAny;
8805 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8806 aPropSequence [2].Value = makeAny (aParameter);
8809 aPropSequence [3].Name = "RefX";
8810 Any aAny ((sal_Int32) 1);
8811 aPropSequence [3].Value = makeAny (aAny);
8813 aPropSequenceSequence [1] = aPropSequence;
8815 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8818 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8821 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8824 Sequence< PropertyValue > aPropSequence (3);
8826 aPropSequence [0].Name = "Coordinates";
8827 static const CustomShapeProvider::ParameterPairData aData[] = {
8829 EnhancedCustomShapeParameterType::EQUATION,
8830 EnhancedCustomShapeParameterType::NORMAL,
8831 3, 0
8834 EnhancedCustomShapeParameterType::EQUATION,
8835 EnhancedCustomShapeParameterType::NORMAL,
8836 4, 0
8839 EnhancedCustomShapeParameterType::EQUATION,
8840 EnhancedCustomShapeParameterType::EQUATION,
8841 15, 3
8844 EnhancedCustomShapeParameterType::EQUATION,
8845 EnhancedCustomShapeParameterType::EQUATION,
8846 15, 7
8849 EnhancedCustomShapeParameterType::EQUATION,
8850 EnhancedCustomShapeParameterType::EQUATION,
8851 6, 14
8854 EnhancedCustomShapeParameterType::EQUATION,
8855 EnhancedCustomShapeParameterType::EQUATION,
8856 5, 14
8859 EnhancedCustomShapeParameterType::NORMAL,
8860 EnhancedCustomShapeParameterType::EQUATION,
8861 0, 7
8864 EnhancedCustomShapeParameterType::NORMAL,
8865 EnhancedCustomShapeParameterType::EQUATION,
8866 0, 3
8869 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8872 aPropSequence [1].Name = "Segments";
8873 static const sal_uInt16 nValues[] = {
8874 // Command, Count
8875 1,1,
8876 2,7,
8877 4,0,
8880 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8883 aPropSequence [2].Name = "TextFrames";
8884 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8886 EnhancedCustomShapeTextFrame aTextFrame;
8888 static const CustomShapeProvider::ParameterPairData aData =
8890 EnhancedCustomShapeParameterType::EQUATION,
8891 EnhancedCustomShapeParameterType::EQUATION,
8892 10, 12
8894 aTextFrame.TopLeft = createParameterPair(&aData);
8897 static const CustomShapeProvider::ParameterPairData aData =
8899 EnhancedCustomShapeParameterType::EQUATION,
8900 EnhancedCustomShapeParameterType::EQUATION,
8901 11, 13
8903 aTextFrame.BottomRight = createParameterPair(&aData);
8905 aTextFrameSeq [0] = aTextFrame;
8907 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8909 aPropertyMap [PROP_Path] <<= aPropSequence;
8912 awt::Rectangle aRectangle;
8913 aRectangle.X = 0;
8914 aRectangle.Y = 0;
8915 aRectangle.Width = 0;
8916 aRectangle.Height = 0;
8917 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8919 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-snip2SameRect");
8921 return aPropertyMap;
8924 class ShapeCtriangle : public CustomShapeProvider
8926 virtual PropertyMap getProperties()
8928 PropertyMap aPropertyMap;
8931 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
8933 Any aAny ((sal_Int32) 50000);
8934 aAdjSequence [0].Value = aAny;
8935 aAdjSequence [0].Name = "adj";
8937 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8940 static const char *aStrings[] = {
8941 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
8942 "logwidth*?0 /200000",
8943 "logwidth*?0 /100000",
8944 "logwidth/2",
8945 "?1 +?3 -0",
8946 "logheight/2",
8947 "logheight",
8948 "logwidth"
8950 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8953 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
8955 Sequence< PropertyValue > aPropSequence (4);
8957 aPropSequence [0].Name = "Position";
8958 static const CustomShapeProvider::ParameterPairData aData =
8960 EnhancedCustomShapeParameterType::EQUATION,
8961 EnhancedCustomShapeParameterType::NORMAL,
8962 2, 0
8964 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8967 aPropSequence [1].Name = "RangeXMaximum";
8968 EnhancedCustomShapeParameter aParameter;
8969 Any aAny ((sal_Int32) 100000);
8970 aParameter.Value = aAny;
8971 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8972 aPropSequence [1].Value = makeAny (aParameter);
8975 aPropSequence [2].Name = "RangeXMinimum";
8976 EnhancedCustomShapeParameter aParameter;
8977 Any aAny ((sal_Int32) 0);
8978 aParameter.Value = aAny;
8979 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8980 aPropSequence [2].Value = makeAny (aParameter);
8983 aPropSequence [3].Name = "RefX";
8984 Any aAny ((sal_Int32) 0);
8985 aPropSequence [3].Value = makeAny (aAny);
8987 aPropSequenceSequence [0] = aPropSequence;
8989 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8992 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8995 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8998 Sequence< PropertyValue > aPropSequence (3);
9000 aPropSequence [0].Name = "Coordinates";
9001 static const CustomShapeProvider::ParameterPairData aData[] = {
9003 EnhancedCustomShapeParameterType::NORMAL,
9004 EnhancedCustomShapeParameterType::EQUATION,
9005 0, 6
9008 EnhancedCustomShapeParameterType::EQUATION,
9009 EnhancedCustomShapeParameterType::NORMAL,
9010 2, 0
9013 EnhancedCustomShapeParameterType::EQUATION,
9014 EnhancedCustomShapeParameterType::EQUATION,
9015 7, 6
9018 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9021 aPropSequence [1].Name = "Segments";
9022 static const sal_uInt16 nValues[] = {
9023 // Command, Count
9024 1,1,
9025 2,2,
9026 4,0,
9029 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9032 aPropSequence [2].Name = "TextFrames";
9033 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9035 EnhancedCustomShapeTextFrame aTextFrame;
9037 static const CustomShapeProvider::ParameterPairData aData =
9039 EnhancedCustomShapeParameterType::EQUATION,
9040 EnhancedCustomShapeParameterType::EQUATION,
9041 1, 5
9043 aTextFrame.TopLeft = createParameterPair(&aData);
9046 static const CustomShapeProvider::ParameterPairData aData =
9048 EnhancedCustomShapeParameterType::EQUATION,
9049 EnhancedCustomShapeParameterType::EQUATION,
9050 4, 6
9052 aTextFrame.BottomRight = createParameterPair(&aData);
9054 aTextFrameSeq [0] = aTextFrame;
9056 aPropSequence [2].Value = makeAny (aTextFrameSeq);
9058 aPropertyMap [PROP_Path] <<= aPropSequence;
9061 awt::Rectangle aRectangle;
9062 aRectangle.X = 0;
9063 aRectangle.Y = 0;
9064 aRectangle.Width = 0;
9065 aRectangle.Height = 0;
9066 aPropertyMap [PROP_ViewBox] <<= aRectangle;
9068 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-triangle");
9070 return aPropertyMap;
9073 } // anonymous namespace
9074 void CustomShapeProperties::initializePresetsMap3()
9076 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round2SameRect" ) ] = new ShapeCround2SameRect();
9077 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "nonIsoscelesTrapezoid" ) ] = new ShapeCnonIsoscelesTrapezoid();
9078 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "diamond" ) ] = new ShapeCdiamond();
9079 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipseRibbon" ) ] = new ShapeCellipseRibbon();
9080 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout2" ) ] = new ShapeCcallout2();
9081 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pie" ) ] = new ShapeCpie();
9082 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star4" ) ] = new ShapeCstar4();
9083 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPredefinedProcess" ) ] = new ShapeCflowChartPredefinedProcess();
9084 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPunchedTape" ) ] = new ShapeCflowChartPunchedTape();
9085 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector2" ) ] = new ShapeCcurvedConnector2();
9086 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector3" ) ] = new ShapeCbentConnector3();
9087 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cornerTabs" ) ] = new ShapeCcornerTabs();
9088 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "hexagon" ) ] = new ShapeChexagon();
9089 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartConnector" ) ] = new ShapeCflowChartConnector();
9090 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticDisk" ) ] = new ShapeCflowChartMagneticDisk();
9091 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "heart" ) ] = new ShapeCheart();
9092 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ribbon2" ) ] = new ShapeCribbon2();
9093 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bracePair" ) ] = new ShapeCbracePair();
9094 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartExtract" ) ] = new ShapeCflowChartExtract();
9095 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonHome" ) ] = new ShapeCactionButtonHome();
9096 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout3" ) ] = new ShapeCaccentBorderCallout3();
9097 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOfflineStorage" ) ] = new ShapeCflowChartOfflineStorage();
9098 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "irregularSeal1" ) ] = new ShapeCirregularSeal1();
9099 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "quadArrow" ) ] = new ShapeCquadArrow();
9100 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftBrace" ) ] = new ShapeCleftBrace();
9101 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftBracket" ) ] = new ShapeCleftBracket();
9102 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "blockArc" ) ] = new ShapeCblockArc();
9103 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector3" ) ] = new ShapeCcurvedConnector3();
9104 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeRoundRectCallout" ) ] = new ShapeCwedgeRoundRectCallout();
9105 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonMovie" ) ] = new ShapeCactionButtonMovie();
9106 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOnlineStorage" ) ] = new ShapeCflowChartOnlineStorage();
9107 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "gear6" ) ] = new ShapeCgear6();
9108 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "halfFrame" ) ] = new ShapeChalfFrame();
9109 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip2SameRect" ) ] = new ShapeCsnip2SameRect();
9110 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "triangle" ) ] = new ShapeCtriangle();
9113 } } // oox // drawingml