fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / oox / source / drawingml / customshapepresets1.cxx
blobf2bcb4baa1198375ab9a779f73f928e1e692b1e9
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 ShapeCactionButtonSound : public CustomShapeProvider
24 virtual PropertyMap getProperties()
26 PropertyMap aPropertyMap;
29 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
32 static const char *aStrings[] = {
33 "min(logwidth,logheight)",
34 "?0 *3/8",
35 "logheight/2",
36 "?2 +0-?1 ",
37 "?2 +?1 -0",
38 "logwidth/2",
39 "?5 +0-?1 ",
40 "?5 +?1 -0",
41 "?0 *3/4",
42 "?8 *1/8",
43 "?8 *5/16",
44 "?8 *5/8",
45 "?8 *11/16",
46 "?8 *3/4",
47 "?8 *7/8",
48 "?3 +?9 -0",
49 "?3 +?10 -0",
50 "?3 +?12 -0",
51 "?3 +?14 -0",
52 "?6 +?10 -0",
53 "?6 +?11 -0",
54 "?6 +?13 -0",
55 "logwidth",
56 "logheight"
58 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
61 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
64 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
67 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
70 Sequence< PropertyValue > aPropSequence (3);
72 aPropSequence [0].Name = "Coordinates";
73 static const CustomShapeProvider::ParameterPairData aData[] = {
75 EnhancedCustomShapeParameterType::NORMAL,
76 EnhancedCustomShapeParameterType::NORMAL,
77 0, 0
80 EnhancedCustomShapeParameterType::EQUATION,
81 EnhancedCustomShapeParameterType::NORMAL,
82 22, 0
85 EnhancedCustomShapeParameterType::EQUATION,
86 EnhancedCustomShapeParameterType::EQUATION,
87 22, 23
90 EnhancedCustomShapeParameterType::NORMAL,
91 EnhancedCustomShapeParameterType::EQUATION,
92 0, 23
95 EnhancedCustomShapeParameterType::EQUATION,
96 EnhancedCustomShapeParameterType::EQUATION,
97 6, 16
100 EnhancedCustomShapeParameterType::EQUATION,
101 EnhancedCustomShapeParameterType::EQUATION,
102 6, 17
105 EnhancedCustomShapeParameterType::EQUATION,
106 EnhancedCustomShapeParameterType::EQUATION,
107 19, 17
110 EnhancedCustomShapeParameterType::EQUATION,
111 EnhancedCustomShapeParameterType::EQUATION,
112 20, 4
115 EnhancedCustomShapeParameterType::EQUATION,
116 EnhancedCustomShapeParameterType::EQUATION,
117 20, 3
120 EnhancedCustomShapeParameterType::EQUATION,
121 EnhancedCustomShapeParameterType::EQUATION,
122 19, 16
125 EnhancedCustomShapeParameterType::EQUATION,
126 EnhancedCustomShapeParameterType::EQUATION,
127 6, 16
130 EnhancedCustomShapeParameterType::EQUATION,
131 EnhancedCustomShapeParameterType::EQUATION,
132 6, 17
135 EnhancedCustomShapeParameterType::EQUATION,
136 EnhancedCustomShapeParameterType::EQUATION,
137 19, 17
140 EnhancedCustomShapeParameterType::EQUATION,
141 EnhancedCustomShapeParameterType::EQUATION,
142 20, 4
145 EnhancedCustomShapeParameterType::EQUATION,
146 EnhancedCustomShapeParameterType::EQUATION,
147 20, 3
150 EnhancedCustomShapeParameterType::EQUATION,
151 EnhancedCustomShapeParameterType::EQUATION,
152 19, 16
155 EnhancedCustomShapeParameterType::EQUATION,
156 EnhancedCustomShapeParameterType::EQUATION,
157 6, 16
160 EnhancedCustomShapeParameterType::EQUATION,
161 EnhancedCustomShapeParameterType::EQUATION,
162 19, 16
165 EnhancedCustomShapeParameterType::EQUATION,
166 EnhancedCustomShapeParameterType::EQUATION,
167 20, 3
170 EnhancedCustomShapeParameterType::EQUATION,
171 EnhancedCustomShapeParameterType::EQUATION,
172 20, 4
175 EnhancedCustomShapeParameterType::EQUATION,
176 EnhancedCustomShapeParameterType::EQUATION,
177 19, 17
180 EnhancedCustomShapeParameterType::EQUATION,
181 EnhancedCustomShapeParameterType::EQUATION,
182 6, 17
185 EnhancedCustomShapeParameterType::EQUATION,
186 EnhancedCustomShapeParameterType::EQUATION,
187 21, 16
190 EnhancedCustomShapeParameterType::EQUATION,
191 EnhancedCustomShapeParameterType::EQUATION,
192 7, 15
195 EnhancedCustomShapeParameterType::EQUATION,
196 EnhancedCustomShapeParameterType::EQUATION,
197 21, 2
200 EnhancedCustomShapeParameterType::EQUATION,
201 EnhancedCustomShapeParameterType::EQUATION,
202 7, 2
205 EnhancedCustomShapeParameterType::EQUATION,
206 EnhancedCustomShapeParameterType::EQUATION,
207 21, 17
210 EnhancedCustomShapeParameterType::EQUATION,
211 EnhancedCustomShapeParameterType::EQUATION,
212 7, 18
215 EnhancedCustomShapeParameterType::NORMAL,
216 EnhancedCustomShapeParameterType::NORMAL,
217 0, 0
220 EnhancedCustomShapeParameterType::EQUATION,
221 EnhancedCustomShapeParameterType::NORMAL,
222 22, 0
225 EnhancedCustomShapeParameterType::EQUATION,
226 EnhancedCustomShapeParameterType::EQUATION,
227 22, 23
230 EnhancedCustomShapeParameterType::NORMAL,
231 EnhancedCustomShapeParameterType::EQUATION,
232 0, 23
235 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
238 aPropSequence [1].Name = "Segments";
239 static const sal_uInt16 nValues[] = {
240 // Command, Count
241 1,1,
242 2,3,
243 4,0,
244 1,1,
245 2,5,
246 4,0,
247 7,0,
248 5,0,
249 1,1,
250 2,5,
251 4,0,
252 18,0,
253 7,0,
254 5,0,
255 1,1,
256 2,5,
257 4,0,
258 1,1,
259 2,1,
260 1,1,
261 2,1,
262 1,1,
263 2,1,
264 6,0,
265 5,0,
266 1,1,
267 2,3,
268 4,0,
269 6,0,
272 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
275 aPropSequence [2].Name = "TextFrames";
276 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
278 EnhancedCustomShapeTextFrame aTextFrame;
280 static const CustomShapeProvider::ParameterPairData aData =
282 EnhancedCustomShapeParameterType::NORMAL,
283 EnhancedCustomShapeParameterType::NORMAL,
284 0, 0
286 aTextFrame.TopLeft = createParameterPair(&aData);
289 static const CustomShapeProvider::ParameterPairData aData =
291 EnhancedCustomShapeParameterType::EQUATION,
292 EnhancedCustomShapeParameterType::EQUATION,
293 22, 23
295 aTextFrame.BottomRight = createParameterPair(&aData);
297 aTextFrameSeq [0] = aTextFrame;
299 aPropSequence [2].Value = makeAny (aTextFrameSeq);
301 aPropertyMap [PROP_Path] <<= aPropSequence;
304 awt::Rectangle aRectangle;
305 aRectangle.X = 0;
306 aRectangle.Y = 0;
307 aRectangle.Width = 0;
308 aRectangle.Height = 0;
309 aPropertyMap [PROP_ViewBox] <<= aRectangle;
311 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonSound");
313 return aPropertyMap;
316 class ShapeCborderCallout1 : public CustomShapeProvider
318 virtual PropertyMap getProperties()
320 PropertyMap aPropertyMap;
323 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
325 Any aAny ((sal_Int32) 18750);
326 aAdjSequence [0].Value = aAny;
327 aAdjSequence [0].Name = "adj1";
330 Any aAny ((sal_Int32) -8333);
331 aAdjSequence [1].Value = aAny;
332 aAdjSequence [1].Name = "adj2";
335 Any aAny ((sal_Int32) 112500);
336 aAdjSequence [2].Value = aAny;
337 aAdjSequence [2].Name = "adj3";
340 Any aAny ((sal_Int32) -38333);
341 aAdjSequence [3].Value = aAny;
342 aAdjSequence [3].Name = "adj4";
344 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
347 static const char *aStrings[] = {
348 "logheight*$0 /100000",
349 "logwidth*$1 /100000",
350 "logheight*$2 /100000",
351 "logwidth*$3 /100000",
352 "logwidth",
353 "logheight/2",
354 "logwidth/2",
355 "logheight"
357 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
360 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
362 Sequence< PropertyValue > aPropSequence (7);
364 aPropSequence [0].Name = "Position";
365 static const CustomShapeProvider::ParameterPairData aData =
367 EnhancedCustomShapeParameterType::EQUATION,
368 EnhancedCustomShapeParameterType::EQUATION,
369 1, 0
371 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
374 aPropSequence [1].Name = "RangeXMaximum";
375 EnhancedCustomShapeParameter aParameter;
376 Any aAny ((sal_Int32) 2147483647);
377 aParameter.Value = aAny;
378 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
379 aPropSequence [1].Value = makeAny (aParameter);
382 aPropSequence [2].Name = "RangeXMinimum";
383 EnhancedCustomShapeParameter aParameter;
384 Any aAny ((sal_Int32) -2147483647);
385 aParameter.Value = aAny;
386 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
387 aPropSequence [2].Value = makeAny (aParameter);
390 aPropSequence [3].Name = "RangeYMaximum";
391 EnhancedCustomShapeParameter aParameter;
392 Any aAny ((sal_Int32) 2147483647);
393 aParameter.Value = aAny;
394 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
395 aPropSequence [3].Value = makeAny (aParameter);
398 aPropSequence [4].Name = "RangeYMinimum";
399 EnhancedCustomShapeParameter aParameter;
400 Any aAny ((sal_Int32) -2147483647);
401 aParameter.Value = aAny;
402 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
403 aPropSequence [4].Value = makeAny (aParameter);
406 aPropSequence [5].Name = "RefX";
407 Any aAny ((sal_Int32) 1);
408 aPropSequence [5].Value = makeAny (aAny);
411 aPropSequence [6].Name = "RefY";
412 Any aAny ((sal_Int32) 0);
413 aPropSequence [6].Value = makeAny (aAny);
415 aPropSequenceSequence [0] = aPropSequence;
418 Sequence< PropertyValue > aPropSequence (7);
420 aPropSequence [0].Name = "Position";
421 static const CustomShapeProvider::ParameterPairData aData =
423 EnhancedCustomShapeParameterType::EQUATION,
424 EnhancedCustomShapeParameterType::EQUATION,
425 3, 2
427 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
430 aPropSequence [1].Name = "RangeXMaximum";
431 EnhancedCustomShapeParameter aParameter;
432 Any aAny ((sal_Int32) 2147483647);
433 aParameter.Value = aAny;
434 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
435 aPropSequence [1].Value = makeAny (aParameter);
438 aPropSequence [2].Name = "RangeXMinimum";
439 EnhancedCustomShapeParameter aParameter;
440 Any aAny ((sal_Int32) -2147483647);
441 aParameter.Value = aAny;
442 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
443 aPropSequence [2].Value = makeAny (aParameter);
446 aPropSequence [3].Name = "RangeYMaximum";
447 EnhancedCustomShapeParameter aParameter;
448 Any aAny ((sal_Int32) 2147483647);
449 aParameter.Value = aAny;
450 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
451 aPropSequence [3].Value = makeAny (aParameter);
454 aPropSequence [4].Name = "RangeYMinimum";
455 EnhancedCustomShapeParameter aParameter;
456 Any aAny ((sal_Int32) -2147483647);
457 aParameter.Value = aAny;
458 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
459 aPropSequence [4].Value = makeAny (aParameter);
462 aPropSequence [5].Name = "RefX";
463 Any aAny ((sal_Int32) 3);
464 aPropSequence [5].Value = makeAny (aAny);
467 aPropSequence [6].Name = "RefY";
468 Any aAny ((sal_Int32) 2);
469 aPropSequence [6].Value = makeAny (aAny);
471 aPropSequenceSequence [1] = aPropSequence;
473 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
476 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
479 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
482 Sequence< PropertyValue > aPropSequence (3);
484 aPropSequence [0].Name = "Coordinates";
485 static const CustomShapeProvider::ParameterPairData aData[] = {
487 EnhancedCustomShapeParameterType::NORMAL,
488 EnhancedCustomShapeParameterType::NORMAL,
489 0, 0
492 EnhancedCustomShapeParameterType::EQUATION,
493 EnhancedCustomShapeParameterType::NORMAL,
494 4, 0
497 EnhancedCustomShapeParameterType::EQUATION,
498 EnhancedCustomShapeParameterType::EQUATION,
499 4, 7
502 EnhancedCustomShapeParameterType::NORMAL,
503 EnhancedCustomShapeParameterType::EQUATION,
504 0, 7
507 EnhancedCustomShapeParameterType::EQUATION,
508 EnhancedCustomShapeParameterType::EQUATION,
509 1, 0
512 EnhancedCustomShapeParameterType::EQUATION,
513 EnhancedCustomShapeParameterType::EQUATION,
514 3, 2
517 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
520 aPropSequence [1].Name = "Segments";
521 static const sal_uInt16 nValues[] = {
522 // Command, Count
523 1,1,
524 2,3,
525 4,0,
526 5,0,
527 1,1,
528 2,1,
529 6,0,
532 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
535 aPropSequence [2].Name = "TextFrames";
536 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
538 EnhancedCustomShapeTextFrame aTextFrame;
540 static const CustomShapeProvider::ParameterPairData aData =
542 EnhancedCustomShapeParameterType::NORMAL,
543 EnhancedCustomShapeParameterType::NORMAL,
544 0, 0
546 aTextFrame.TopLeft = createParameterPair(&aData);
549 static const CustomShapeProvider::ParameterPairData aData =
551 EnhancedCustomShapeParameterType::EQUATION,
552 EnhancedCustomShapeParameterType::EQUATION,
553 4, 7
555 aTextFrame.BottomRight = createParameterPair(&aData);
557 aTextFrameSeq [0] = aTextFrame;
559 aPropSequence [2].Value = makeAny (aTextFrameSeq);
561 aPropertyMap [PROP_Path] <<= aPropSequence;
564 awt::Rectangle aRectangle;
565 aRectangle.X = 0;
566 aRectangle.Y = 0;
567 aRectangle.Width = 0;
568 aRectangle.Height = 0;
569 aPropertyMap [PROP_ViewBox] <<= aRectangle;
571 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-borderCallout1");
573 return aPropertyMap;
576 class ShapeCplaqueTabs : public CustomShapeProvider
578 virtual PropertyMap getProperties()
580 PropertyMap aPropertyMap;
583 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
586 static const char *aStrings[] = {
587 "sqrt(logwidth*logwidth+logheight*logheight+0*0)",
588 "1*?0 /20",
589 "0+logheight-?1 ",
590 "0+logwidth-?1 ",
591 "logheight",
592 "logwidth",
593 "(0)/60000.0",
594 "(5400000)/60000.0",
595 "(16200000)/60000.0",
596 "(5400000)/60000.0",
597 "(5400000)/60000.0",
598 "(5400000)/60000.0",
599 "(10800000)/60000.0",
600 "(5400000)/60000.0"
602 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
605 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
608 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
611 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
614 Sequence< PropertyValue > aPropSequence (3);
616 aPropSequence [0].Name = "Coordinates";
617 static const CustomShapeProvider::ParameterPairData aData[] = {
619 EnhancedCustomShapeParameterType::NORMAL,
620 EnhancedCustomShapeParameterType::NORMAL,
621 0, 0
624 EnhancedCustomShapeParameterType::EQUATION,
625 EnhancedCustomShapeParameterType::NORMAL,
626 1, 0
629 EnhancedCustomShapeParameterType::EQUATION,
630 EnhancedCustomShapeParameterType::EQUATION,
631 1, 1
634 EnhancedCustomShapeParameterType::EQUATION,
635 EnhancedCustomShapeParameterType::EQUATION,
636 6, 7
639 EnhancedCustomShapeParameterType::NORMAL,
640 EnhancedCustomShapeParameterType::EQUATION,
641 0, 2
644 EnhancedCustomShapeParameterType::EQUATION,
645 EnhancedCustomShapeParameterType::EQUATION,
646 1, 1
649 EnhancedCustomShapeParameterType::EQUATION,
650 EnhancedCustomShapeParameterType::EQUATION,
651 8, 9
654 EnhancedCustomShapeParameterType::NORMAL,
655 EnhancedCustomShapeParameterType::EQUATION,
656 0, 4
659 EnhancedCustomShapeParameterType::EQUATION,
660 EnhancedCustomShapeParameterType::NORMAL,
661 5, 0
664 EnhancedCustomShapeParameterType::EQUATION,
665 EnhancedCustomShapeParameterType::EQUATION,
666 5, 1
669 EnhancedCustomShapeParameterType::EQUATION,
670 EnhancedCustomShapeParameterType::EQUATION,
671 1, 1
674 EnhancedCustomShapeParameterType::EQUATION,
675 EnhancedCustomShapeParameterType::EQUATION,
676 10, 11
679 EnhancedCustomShapeParameterType::EQUATION,
680 EnhancedCustomShapeParameterType::EQUATION,
681 3, 4
684 EnhancedCustomShapeParameterType::EQUATION,
685 EnhancedCustomShapeParameterType::EQUATION,
686 1, 1
689 EnhancedCustomShapeParameterType::EQUATION,
690 EnhancedCustomShapeParameterType::EQUATION,
691 12, 13
694 EnhancedCustomShapeParameterType::EQUATION,
695 EnhancedCustomShapeParameterType::EQUATION,
696 5, 4
699 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
702 aPropSequence [1].Name = "Segments";
703 static const sal_uInt16 nValues[] = {
704 // Command, Count
705 1,1,
706 2,1,
707 17,1,
708 4,0,
709 5,0,
710 1,1,
711 17,1,
712 2,1,
713 4,0,
714 5,0,
715 1,1,
716 2,1,
717 17,1,
718 4,0,
719 5,0,
720 1,1,
721 17,1,
722 2,1,
723 4,0,
726 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
729 aPropSequence [2].Name = "TextFrames";
730 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
732 EnhancedCustomShapeTextFrame aTextFrame;
734 static const CustomShapeProvider::ParameterPairData aData =
736 EnhancedCustomShapeParameterType::EQUATION,
737 EnhancedCustomShapeParameterType::EQUATION,
738 1, 1
740 aTextFrame.TopLeft = createParameterPair(&aData);
743 static const CustomShapeProvider::ParameterPairData aData =
745 EnhancedCustomShapeParameterType::EQUATION,
746 EnhancedCustomShapeParameterType::EQUATION,
747 3, 2
749 aTextFrame.BottomRight = createParameterPair(&aData);
751 aTextFrameSeq [0] = aTextFrame;
753 aPropSequence [2].Value = makeAny (aTextFrameSeq);
755 aPropertyMap [PROP_Path] <<= aPropSequence;
758 awt::Rectangle aRectangle;
759 aRectangle.X = 0;
760 aRectangle.Y = 0;
761 aRectangle.Width = 0;
762 aRectangle.Height = 0;
763 aPropertyMap [PROP_ViewBox] <<= aRectangle;
765 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-plaqueTabs");
767 return aPropertyMap;
770 class ShapeCcurvedLeftArrow : public CustomShapeProvider
772 virtual PropertyMap getProperties()
774 PropertyMap aPropertyMap;
777 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
779 Any aAny ((sal_Int32) 25000);
780 aAdjSequence [0].Value = aAny;
781 aAdjSequence [0].Name = "adj1";
784 Any aAny ((sal_Int32) 50000);
785 aAdjSequence [1].Value = aAny;
786 aAdjSequence [1].Name = "adj2";
789 Any aAny ((sal_Int32) 25000);
790 aAdjSequence [2].Value = aAny;
791 aAdjSequence [2].Name = "adj3";
793 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
796 static const char *aStrings[] = {
797 "min(logwidth,logheight)",
798 "50000*logheight/?0 ",
799 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
800 "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))",
801 "?0 *?3 /100000",
802 "?0 *?2 /100000",
803 "(?4 +?5 )/4",
804 "logheight/2",
805 "?7 +0-?6 ",
806 "?8 *2/1",
807 "?9 *?9 /1",
808 "?4 *?4 /1",
809 "?10 +0-?11 ",
810 "sqrt(?12 )",
811 "?13 *logwidth/?9 ",
812 "100000*?14 /?0 ",
813 "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
814 "?0 *?16 /100000",
815 "?8 +?4 -0",
816 "logwidth*logwidth/1",
817 "?17 *?17 /1",
818 "?19 +0-?20 ",
819 "sqrt(?21 )",
820 "?22 *?8 /logwidth",
821 "?8 +?23 -0",
822 "?18 +?23 -0",
823 "?5 +0-?4 ",
824 "?26 *1/2",
825 "?24 +0-?27 ",
826 "?25 +?27 -0",
827 "?5 *1/2",
828 "logheight+0-?30 ",
829 "0+?17 -0",
830 "(10800000*atan2(?23 ,?17 ))/pi",
831 "0+0-?33 ",
832 "0+?14 -0",
833 "(?8 +?18 )/2",
834 "?4 *1/2",
835 "(10800000*atan2(?37 ,?14 ))/pi",
836 "?38 +0-?33 ",
837 "?33 +?38 -0",
838 "0+0-?38 ",
839 "logwidth",
840 "logheight",
841 "logwidth",
842 "(?33 )/60000.0",
843 "(?39 )/60000.0",
844 "(?41 )/60000.0",
845 "(?40 )/60000.0",
846 "(0)/60000.0",
847 "(-5400000)/60000.0",
848 "(16200000)/60000.0",
849 "(5400000)/60000.0",
850 "(0)/60000.0",
851 "(-5400000)/60000.0",
852 "(16200000)/60000.0",
853 "(5400000)/60000.0",
854 "(0)/60000.0",
855 "(?33 )/60000.0",
856 "(?33 )/60000.0",
857 "(?39 )/60000.0"
859 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
862 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
864 Sequence< PropertyValue > aPropSequence (4);
866 aPropSequence [0].Name = "Position";
867 static const CustomShapeProvider::ParameterPairData aData =
869 EnhancedCustomShapeParameterType::EQUATION,
870 EnhancedCustomShapeParameterType::EQUATION,
871 32, 24
873 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
876 aPropSequence [1].Name = "RangeYMaximum";
877 EnhancedCustomShapeParameter aParameter;
878 Any aAny ((sal_Int32) 2);
879 aParameter.Value = aAny;
880 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
881 aPropSequence [1].Value = makeAny (aParameter);
884 aPropSequence [2].Name = "RangeYMinimum";
885 EnhancedCustomShapeParameter aParameter;
886 Any aAny ((sal_Int32) 0);
887 aParameter.Value = aAny;
888 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
889 aPropSequence [2].Value = makeAny (aParameter);
892 aPropSequence [3].Name = "RefY";
893 Any aAny ((sal_Int32) 0);
894 aPropSequence [3].Value = makeAny (aAny);
896 aPropSequenceSequence [0] = aPropSequence;
899 Sequence< PropertyValue > aPropSequence (4);
901 aPropSequence [0].Name = "Position";
902 static const CustomShapeProvider::ParameterPairData aData =
904 EnhancedCustomShapeParameterType::EQUATION,
905 EnhancedCustomShapeParameterType::EQUATION,
906 42, 28
908 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
911 aPropSequence [1].Name = "RangeYMaximum";
912 EnhancedCustomShapeParameter aParameter;
913 Any aAny ((sal_Int32) 1);
914 aParameter.Value = aAny;
915 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
916 aPropSequence [1].Value = makeAny (aParameter);
919 aPropSequence [2].Name = "RangeYMinimum";
920 EnhancedCustomShapeParameter aParameter;
921 Any aAny ((sal_Int32) 0);
922 aParameter.Value = aAny;
923 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
924 aPropSequence [2].Value = makeAny (aParameter);
927 aPropSequence [3].Name = "RefY";
928 Any aAny ((sal_Int32) 1);
929 aPropSequence [3].Value = makeAny (aAny);
931 aPropSequenceSequence [1] = aPropSequence;
934 Sequence< PropertyValue > aPropSequence (4);
936 aPropSequence [0].Name = "Position";
937 static const CustomShapeProvider::ParameterPairData aData =
939 EnhancedCustomShapeParameterType::EQUATION,
940 EnhancedCustomShapeParameterType::EQUATION,
941 32, 43
943 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
946 aPropSequence [1].Name = "RangeXMaximum";
947 EnhancedCustomShapeParameter aParameter;
948 Any aAny ((sal_Int32) 15);
949 aParameter.Value = aAny;
950 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
951 aPropSequence [1].Value = makeAny (aParameter);
954 aPropSequence [2].Name = "RangeXMinimum";
955 EnhancedCustomShapeParameter aParameter;
956 Any aAny ((sal_Int32) 0);
957 aParameter.Value = aAny;
958 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
959 aPropSequence [2].Value = makeAny (aParameter);
962 aPropSequence [3].Name = "RefX";
963 Any aAny ((sal_Int32) 2);
964 aPropSequence [3].Value = makeAny (aAny);
966 aPropSequenceSequence [2] = aPropSequence;
968 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
971 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
974 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
977 Sequence< PropertyValue > aPropSequence (3);
979 aPropSequence [0].Name = "Coordinates";
980 static const CustomShapeProvider::ParameterPairData aData[] = {
982 EnhancedCustomShapeParameterType::NORMAL,
983 EnhancedCustomShapeParameterType::EQUATION,
984 0, 31
987 EnhancedCustomShapeParameterType::EQUATION,
988 EnhancedCustomShapeParameterType::EQUATION,
989 32, 28
992 EnhancedCustomShapeParameterType::EQUATION,
993 EnhancedCustomShapeParameterType::EQUATION,
994 32, 24
997 EnhancedCustomShapeParameterType::EQUATION,
998 EnhancedCustomShapeParameterType::EQUATION,
999 44, 8
1002 EnhancedCustomShapeParameterType::EQUATION,
1003 EnhancedCustomShapeParameterType::EQUATION,
1004 45, 46
1007 EnhancedCustomShapeParameterType::EQUATION,
1008 EnhancedCustomShapeParameterType::EQUATION,
1009 44, 8
1012 EnhancedCustomShapeParameterType::EQUATION,
1013 EnhancedCustomShapeParameterType::EQUATION,
1014 47, 48
1017 EnhancedCustomShapeParameterType::EQUATION,
1018 EnhancedCustomShapeParameterType::EQUATION,
1019 32, 29
1022 EnhancedCustomShapeParameterType::EQUATION,
1023 EnhancedCustomShapeParameterType::EQUATION,
1024 42, 18
1027 EnhancedCustomShapeParameterType::EQUATION,
1028 EnhancedCustomShapeParameterType::EQUATION,
1029 44, 8
1032 EnhancedCustomShapeParameterType::EQUATION,
1033 EnhancedCustomShapeParameterType::EQUATION,
1034 49, 50
1037 EnhancedCustomShapeParameterType::NORMAL,
1038 EnhancedCustomShapeParameterType::NORMAL,
1039 0, 0
1042 EnhancedCustomShapeParameterType::EQUATION,
1043 EnhancedCustomShapeParameterType::EQUATION,
1044 44, 8
1047 EnhancedCustomShapeParameterType::EQUATION,
1048 EnhancedCustomShapeParameterType::EQUATION,
1049 51, 52
1052 EnhancedCustomShapeParameterType::EQUATION,
1053 EnhancedCustomShapeParameterType::EQUATION,
1054 42, 18
1057 EnhancedCustomShapeParameterType::EQUATION,
1058 EnhancedCustomShapeParameterType::EQUATION,
1059 44, 8
1062 EnhancedCustomShapeParameterType::EQUATION,
1063 EnhancedCustomShapeParameterType::EQUATION,
1064 53, 54
1067 EnhancedCustomShapeParameterType::NORMAL,
1068 EnhancedCustomShapeParameterType::NORMAL,
1069 0, 0
1072 EnhancedCustomShapeParameterType::EQUATION,
1073 EnhancedCustomShapeParameterType::EQUATION,
1074 44, 8
1077 EnhancedCustomShapeParameterType::EQUATION,
1078 EnhancedCustomShapeParameterType::EQUATION,
1079 55, 56
1082 EnhancedCustomShapeParameterType::EQUATION,
1083 EnhancedCustomShapeParameterType::EQUATION,
1084 42, 18
1087 EnhancedCustomShapeParameterType::EQUATION,
1088 EnhancedCustomShapeParameterType::EQUATION,
1089 44, 8
1092 EnhancedCustomShapeParameterType::EQUATION,
1093 EnhancedCustomShapeParameterType::EQUATION,
1094 57, 58
1097 EnhancedCustomShapeParameterType::EQUATION,
1098 EnhancedCustomShapeParameterType::EQUATION,
1099 32, 29
1102 EnhancedCustomShapeParameterType::NORMAL,
1103 EnhancedCustomShapeParameterType::EQUATION,
1104 0, 31
1107 EnhancedCustomShapeParameterType::EQUATION,
1108 EnhancedCustomShapeParameterType::EQUATION,
1109 32, 28
1112 EnhancedCustomShapeParameterType::EQUATION,
1113 EnhancedCustomShapeParameterType::EQUATION,
1114 32, 24
1117 EnhancedCustomShapeParameterType::EQUATION,
1118 EnhancedCustomShapeParameterType::EQUATION,
1119 44, 8
1122 EnhancedCustomShapeParameterType::EQUATION,
1123 EnhancedCustomShapeParameterType::EQUATION,
1124 59, 60
1127 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1130 aPropSequence [1].Name = "Segments";
1131 static const sal_uInt16 nValues[] = {
1132 // Command, Count
1133 1,1,
1134 2,2,
1135 17,2,
1136 2,1,
1137 4,0,
1138 7,0,
1139 5,0,
1140 1,1,
1141 17,1,
1142 2,1,
1143 17,1,
1144 4,0,
1145 19,0,
1146 7,0,
1147 5,0,
1148 1,1,
1149 17,1,
1150 2,1,
1151 17,1,
1152 2,1,
1153 17,1,
1154 2,4,
1155 17,1,
1156 6,0,
1159 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1162 aPropSequence [2].Name = "TextFrames";
1163 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1165 EnhancedCustomShapeTextFrame aTextFrame;
1167 static const CustomShapeProvider::ParameterPairData aData =
1169 EnhancedCustomShapeParameterType::NORMAL,
1170 EnhancedCustomShapeParameterType::NORMAL,
1171 0, 0
1173 aTextFrame.TopLeft = createParameterPair(&aData);
1176 static const CustomShapeProvider::ParameterPairData aData =
1178 EnhancedCustomShapeParameterType::EQUATION,
1179 EnhancedCustomShapeParameterType::EQUATION,
1180 42, 43
1182 aTextFrame.BottomRight = createParameterPair(&aData);
1184 aTextFrameSeq [0] = aTextFrame;
1186 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1188 aPropertyMap [PROP_Path] <<= aPropSequence;
1191 awt::Rectangle aRectangle;
1192 aRectangle.X = 0;
1193 aRectangle.Y = 0;
1194 aRectangle.Width = 0;
1195 aRectangle.Height = 0;
1196 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1198 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedLeftArrow");
1200 return aPropertyMap;
1203 class ShapeCoctagon : public CustomShapeProvider
1205 virtual PropertyMap getProperties()
1207 PropertyMap aPropertyMap;
1210 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1212 Any aAny ((sal_Int32) 29289);
1213 aAdjSequence [0].Value = aAny;
1214 aAdjSequence [0].Name = "adj";
1216 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1219 static const char *aStrings[] = {
1220 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1221 "min(logwidth,logheight)",
1222 "?1 *?0 /100000",
1223 "logwidth+0-?2 ",
1224 "logheight+0-?2 ",
1225 "?2 *1/2",
1226 "logwidth+0-?5 ",
1227 "logheight+0-?5 ",
1228 "logwidth",
1229 "logheight"
1231 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1234 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1236 Sequence< PropertyValue > aPropSequence (4);
1238 aPropSequence [0].Name = "Position";
1239 static const CustomShapeProvider::ParameterPairData aData =
1241 EnhancedCustomShapeParameterType::EQUATION,
1242 EnhancedCustomShapeParameterType::NORMAL,
1243 2, 0
1245 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1248 aPropSequence [1].Name = "RangeXMaximum";
1249 EnhancedCustomShapeParameter aParameter;
1250 Any aAny ((sal_Int32) 50000);
1251 aParameter.Value = aAny;
1252 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1253 aPropSequence [1].Value = makeAny (aParameter);
1256 aPropSequence [2].Name = "RangeXMinimum";
1257 EnhancedCustomShapeParameter aParameter;
1258 Any aAny ((sal_Int32) 0);
1259 aParameter.Value = aAny;
1260 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1261 aPropSequence [2].Value = makeAny (aParameter);
1264 aPropSequence [3].Name = "RefX";
1265 Any aAny ((sal_Int32) 0);
1266 aPropSequence [3].Value = makeAny (aAny);
1268 aPropSequenceSequence [0] = aPropSequence;
1270 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1273 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1276 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1279 Sequence< PropertyValue > aPropSequence (3);
1281 aPropSequence [0].Name = "Coordinates";
1282 static const CustomShapeProvider::ParameterPairData aData[] = {
1284 EnhancedCustomShapeParameterType::NORMAL,
1285 EnhancedCustomShapeParameterType::EQUATION,
1286 0, 2
1289 EnhancedCustomShapeParameterType::EQUATION,
1290 EnhancedCustomShapeParameterType::NORMAL,
1291 2, 0
1294 EnhancedCustomShapeParameterType::EQUATION,
1295 EnhancedCustomShapeParameterType::NORMAL,
1296 3, 0
1299 EnhancedCustomShapeParameterType::EQUATION,
1300 EnhancedCustomShapeParameterType::EQUATION,
1301 8, 2
1304 EnhancedCustomShapeParameterType::EQUATION,
1305 EnhancedCustomShapeParameterType::EQUATION,
1306 8, 4
1309 EnhancedCustomShapeParameterType::EQUATION,
1310 EnhancedCustomShapeParameterType::EQUATION,
1311 3, 9
1314 EnhancedCustomShapeParameterType::EQUATION,
1315 EnhancedCustomShapeParameterType::EQUATION,
1316 2, 9
1319 EnhancedCustomShapeParameterType::NORMAL,
1320 EnhancedCustomShapeParameterType::EQUATION,
1321 0, 4
1324 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1327 aPropSequence [1].Name = "Segments";
1328 static const sal_uInt16 nValues[] = {
1329 // Command, Count
1330 1,1,
1331 2,7,
1332 4,0,
1335 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1338 aPropSequence [2].Name = "TextFrames";
1339 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1341 EnhancedCustomShapeTextFrame aTextFrame;
1343 static const CustomShapeProvider::ParameterPairData aData =
1345 EnhancedCustomShapeParameterType::EQUATION,
1346 EnhancedCustomShapeParameterType::EQUATION,
1347 5, 5
1349 aTextFrame.TopLeft = createParameterPair(&aData);
1352 static const CustomShapeProvider::ParameterPairData aData =
1354 EnhancedCustomShapeParameterType::EQUATION,
1355 EnhancedCustomShapeParameterType::EQUATION,
1356 6, 7
1358 aTextFrame.BottomRight = createParameterPair(&aData);
1360 aTextFrameSeq [0] = aTextFrame;
1362 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1364 aPropertyMap [PROP_Path] <<= aPropSequence;
1367 awt::Rectangle aRectangle;
1368 aRectangle.X = 0;
1369 aRectangle.Y = 0;
1370 aRectangle.Width = 0;
1371 aRectangle.Height = 0;
1372 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1374 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-octagon");
1376 return aPropertyMap;
1379 class ShapeCleftRightRibbon : public CustomShapeProvider
1381 virtual PropertyMap getProperties()
1383 PropertyMap aPropertyMap;
1386 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
1388 Any aAny ((sal_Int32) 50000);
1389 aAdjSequence [0].Value = aAny;
1390 aAdjSequence [0].Name = "adj1";
1393 Any aAny ((sal_Int32) 50000);
1394 aAdjSequence [1].Value = aAny;
1395 aAdjSequence [1].Name = "adj2";
1398 Any aAny ((sal_Int32) 16667);
1399 aAdjSequence [2].Value = aAny;
1400 aAdjSequence [2].Name = "adj3";
1402 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1405 static const char *aStrings[] = {
1406 "if(0-$2 ,0,if(33333-$2 ,$2 ,33333))",
1407 "100000+0-?0 ",
1408 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
1409 "logwidth/2",
1410 "logwidth/32",
1411 "?3 +0-?4 ",
1412 "min(logwidth,logheight)",
1413 "100000*?5 /?6 ",
1414 "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))",
1415 "?6 *?8 /100000",
1416 "logwidth+0-?9 ",
1417 "logheight*?2 /200000",
1418 "logheight*?0 /-200000",
1419 "logheight/2",
1420 "?13 +?12 -?11 ",
1421 "?13 +?11 -?12 ",
1422 "?14 +?11 -0",
1423 "logheight+0-?16 ",
1424 "?16 *2/1",
1425 "logheight+0-?18 ",
1426 "?18 +0-?14 ",
1427 "logheight+0-?20 ",
1428 "?0 *?6 /400000",
1429 "logwidth/2",
1430 "?23 +0-?4 ",
1431 "?23 +?4 -0",
1432 "?14 +?22 -0",
1433 "?21 +0-?22 ",
1434 "logwidth",
1435 "logheight",
1436 "(16200000)/60000.0",
1437 "(10800000)/60000.0",
1438 "(16200000)/60000.0",
1439 "(-10800000)/60000.0",
1440 "(5400000)/60000.0",
1441 "(5400000)/60000.0",
1442 "(0)/60000.0",
1443 "(5400000)/60000.0",
1444 "(16200000)/60000.0",
1445 "(-10800000)/60000.0",
1446 "(16200000)/60000.0",
1447 "(10800000)/60000.0",
1448 "(16200000)/60000.0",
1449 "(-10800000)/60000.0",
1450 "(5400000)/60000.0",
1451 "(5400000)/60000.0"
1453 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1456 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1458 Sequence< PropertyValue > aPropSequence (4);
1460 aPropSequence [0].Name = "Position";
1461 static const CustomShapeProvider::ParameterPairData aData =
1463 EnhancedCustomShapeParameterType::EQUATION,
1464 EnhancedCustomShapeParameterType::EQUATION,
1465 10, 21
1467 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1470 aPropSequence [1].Name = "RangeYMaximum";
1471 EnhancedCustomShapeParameter aParameter;
1472 Any aAny ((sal_Int32) 1);
1473 aParameter.Value = aAny;
1474 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1475 aPropSequence [1].Value = makeAny (aParameter);
1478 aPropSequence [2].Name = "RangeYMinimum";
1479 EnhancedCustomShapeParameter aParameter;
1480 Any aAny ((sal_Int32) 0);
1481 aParameter.Value = aAny;
1482 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1483 aPropSequence [2].Value = makeAny (aParameter);
1486 aPropSequence [3].Name = "RefY";
1487 Any aAny ((sal_Int32) 0);
1488 aPropSequence [3].Value = makeAny (aAny);
1490 aPropSequenceSequence [0] = aPropSequence;
1493 Sequence< PropertyValue > aPropSequence (4);
1495 aPropSequence [0].Name = "Position";
1496 static const CustomShapeProvider::ParameterPairData aData =
1498 EnhancedCustomShapeParameterType::EQUATION,
1499 EnhancedCustomShapeParameterType::NORMAL,
1500 9, 0
1502 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1505 aPropSequence [1].Name = "RangeXMaximum";
1506 EnhancedCustomShapeParameter aParameter;
1507 Any aAny ((sal_Int32) 7);
1508 aParameter.Value = aAny;
1509 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1510 aPropSequence [1].Value = makeAny (aParameter);
1513 aPropSequence [2].Name = "RangeXMinimum";
1514 EnhancedCustomShapeParameter aParameter;
1515 Any aAny ((sal_Int32) 0);
1516 aParameter.Value = aAny;
1517 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1518 aPropSequence [2].Value = makeAny (aParameter);
1521 aPropSequence [3].Name = "RefX";
1522 Any aAny ((sal_Int32) 1);
1523 aPropSequence [3].Value = makeAny (aAny);
1525 aPropSequenceSequence [1] = aPropSequence;
1528 Sequence< PropertyValue > aPropSequence (4);
1530 aPropSequence [0].Name = "Position";
1531 static const CustomShapeProvider::ParameterPairData aData =
1533 EnhancedCustomShapeParameterType::EQUATION,
1534 EnhancedCustomShapeParameterType::EQUATION,
1535 25, 21
1537 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1540 aPropSequence [1].Name = "RangeYMaximum";
1541 EnhancedCustomShapeParameter aParameter;
1542 Any aAny ((sal_Int32) 33333);
1543 aParameter.Value = aAny;
1544 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1545 aPropSequence [1].Value = makeAny (aParameter);
1548 aPropSequence [2].Name = "RangeYMinimum";
1549 EnhancedCustomShapeParameter aParameter;
1550 Any aAny ((sal_Int32) 0);
1551 aParameter.Value = aAny;
1552 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1553 aPropSequence [2].Value = makeAny (aParameter);
1556 aPropSequence [3].Name = "RefY";
1557 Any aAny ((sal_Int32) 2);
1558 aPropSequence [3].Value = makeAny (aAny);
1560 aPropSequenceSequence [2] = aPropSequence;
1562 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1565 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1568 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1571 Sequence< PropertyValue > aPropSequence (3);
1573 aPropSequence [0].Name = "Coordinates";
1574 static const CustomShapeProvider::ParameterPairData aData[] = {
1576 EnhancedCustomShapeParameterType::NORMAL,
1577 EnhancedCustomShapeParameterType::EQUATION,
1578 0, 16
1581 EnhancedCustomShapeParameterType::EQUATION,
1582 EnhancedCustomShapeParameterType::NORMAL,
1583 9, 0
1586 EnhancedCustomShapeParameterType::EQUATION,
1587 EnhancedCustomShapeParameterType::EQUATION,
1588 9, 14
1591 EnhancedCustomShapeParameterType::EQUATION,
1592 EnhancedCustomShapeParameterType::EQUATION,
1593 23, 14
1596 EnhancedCustomShapeParameterType::EQUATION,
1597 EnhancedCustomShapeParameterType::EQUATION,
1598 4, 22
1601 EnhancedCustomShapeParameterType::EQUATION,
1602 EnhancedCustomShapeParameterType::EQUATION,
1603 30, 31
1606 EnhancedCustomShapeParameterType::EQUATION,
1607 EnhancedCustomShapeParameterType::EQUATION,
1608 4, 22
1611 EnhancedCustomShapeParameterType::EQUATION,
1612 EnhancedCustomShapeParameterType::EQUATION,
1613 32, 33
1616 EnhancedCustomShapeParameterType::EQUATION,
1617 EnhancedCustomShapeParameterType::EQUATION,
1618 10, 21
1621 EnhancedCustomShapeParameterType::EQUATION,
1622 EnhancedCustomShapeParameterType::EQUATION,
1623 10, 19
1626 EnhancedCustomShapeParameterType::EQUATION,
1627 EnhancedCustomShapeParameterType::EQUATION,
1628 28, 17
1631 EnhancedCustomShapeParameterType::EQUATION,
1632 EnhancedCustomShapeParameterType::EQUATION,
1633 10, 29
1636 EnhancedCustomShapeParameterType::EQUATION,
1637 EnhancedCustomShapeParameterType::EQUATION,
1638 10, 15
1641 EnhancedCustomShapeParameterType::EQUATION,
1642 EnhancedCustomShapeParameterType::EQUATION,
1643 23, 15
1646 EnhancedCustomShapeParameterType::EQUATION,
1647 EnhancedCustomShapeParameterType::EQUATION,
1648 4, 22
1651 EnhancedCustomShapeParameterType::EQUATION,
1652 EnhancedCustomShapeParameterType::EQUATION,
1653 34, 35
1656 EnhancedCustomShapeParameterType::EQUATION,
1657 EnhancedCustomShapeParameterType::EQUATION,
1658 24, 20
1661 EnhancedCustomShapeParameterType::EQUATION,
1662 EnhancedCustomShapeParameterType::EQUATION,
1663 9, 20
1666 EnhancedCustomShapeParameterType::EQUATION,
1667 EnhancedCustomShapeParameterType::EQUATION,
1668 9, 18
1671 EnhancedCustomShapeParameterType::EQUATION,
1672 EnhancedCustomShapeParameterType::EQUATION,
1673 25, 26
1676 EnhancedCustomShapeParameterType::EQUATION,
1677 EnhancedCustomShapeParameterType::EQUATION,
1678 4, 22
1681 EnhancedCustomShapeParameterType::EQUATION,
1682 EnhancedCustomShapeParameterType::EQUATION,
1683 36, 37
1686 EnhancedCustomShapeParameterType::EQUATION,
1687 EnhancedCustomShapeParameterType::EQUATION,
1688 4, 22
1691 EnhancedCustomShapeParameterType::EQUATION,
1692 EnhancedCustomShapeParameterType::EQUATION,
1693 38, 39
1696 EnhancedCustomShapeParameterType::EQUATION,
1697 EnhancedCustomShapeParameterType::EQUATION,
1698 25, 21
1701 EnhancedCustomShapeParameterType::NORMAL,
1702 EnhancedCustomShapeParameterType::EQUATION,
1703 0, 16
1706 EnhancedCustomShapeParameterType::EQUATION,
1707 EnhancedCustomShapeParameterType::NORMAL,
1708 9, 0
1711 EnhancedCustomShapeParameterType::EQUATION,
1712 EnhancedCustomShapeParameterType::EQUATION,
1713 9, 14
1716 EnhancedCustomShapeParameterType::EQUATION,
1717 EnhancedCustomShapeParameterType::EQUATION,
1718 23, 14
1721 EnhancedCustomShapeParameterType::EQUATION,
1722 EnhancedCustomShapeParameterType::EQUATION,
1723 4, 22
1726 EnhancedCustomShapeParameterType::EQUATION,
1727 EnhancedCustomShapeParameterType::EQUATION,
1728 40, 41
1731 EnhancedCustomShapeParameterType::EQUATION,
1732 EnhancedCustomShapeParameterType::EQUATION,
1733 4, 22
1736 EnhancedCustomShapeParameterType::EQUATION,
1737 EnhancedCustomShapeParameterType::EQUATION,
1738 42, 43
1741 EnhancedCustomShapeParameterType::EQUATION,
1742 EnhancedCustomShapeParameterType::EQUATION,
1743 10, 21
1746 EnhancedCustomShapeParameterType::EQUATION,
1747 EnhancedCustomShapeParameterType::EQUATION,
1748 10, 19
1751 EnhancedCustomShapeParameterType::EQUATION,
1752 EnhancedCustomShapeParameterType::EQUATION,
1753 28, 17
1756 EnhancedCustomShapeParameterType::EQUATION,
1757 EnhancedCustomShapeParameterType::EQUATION,
1758 10, 29
1761 EnhancedCustomShapeParameterType::EQUATION,
1762 EnhancedCustomShapeParameterType::EQUATION,
1763 10, 15
1766 EnhancedCustomShapeParameterType::EQUATION,
1767 EnhancedCustomShapeParameterType::EQUATION,
1768 23, 15
1771 EnhancedCustomShapeParameterType::EQUATION,
1772 EnhancedCustomShapeParameterType::EQUATION,
1773 4, 22
1776 EnhancedCustomShapeParameterType::EQUATION,
1777 EnhancedCustomShapeParameterType::EQUATION,
1778 44, 45
1781 EnhancedCustomShapeParameterType::EQUATION,
1782 EnhancedCustomShapeParameterType::EQUATION,
1783 24, 20
1786 EnhancedCustomShapeParameterType::EQUATION,
1787 EnhancedCustomShapeParameterType::EQUATION,
1788 9, 20
1791 EnhancedCustomShapeParameterType::EQUATION,
1792 EnhancedCustomShapeParameterType::EQUATION,
1793 9, 18
1796 EnhancedCustomShapeParameterType::EQUATION,
1797 EnhancedCustomShapeParameterType::EQUATION,
1798 25, 26
1801 EnhancedCustomShapeParameterType::EQUATION,
1802 EnhancedCustomShapeParameterType::EQUATION,
1803 25, 21
1806 EnhancedCustomShapeParameterType::EQUATION,
1807 EnhancedCustomShapeParameterType::EQUATION,
1808 24, 27
1811 EnhancedCustomShapeParameterType::EQUATION,
1812 EnhancedCustomShapeParameterType::EQUATION,
1813 24, 20
1816 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1819 aPropSequence [1].Name = "Segments";
1820 static const sal_uInt16 nValues[] = {
1821 // Command, Count
1822 1,1,
1823 2,3,
1824 17,2,
1825 2,6,
1826 17,1,
1827 2,3,
1828 4,0,
1829 7,0,
1830 5,0,
1831 1,1,
1832 17,2,
1833 2,1,
1834 4,0,
1835 19,0,
1836 7,0,
1837 5,0,
1838 1,1,
1839 2,3,
1840 17,2,
1841 2,6,
1842 17,1,
1843 2,3,
1844 4,0,
1845 1,1,
1846 2,1,
1847 1,1,
1848 2,1,
1849 6,0,
1852 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1855 aPropSequence [2].Name = "TextFrames";
1856 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1858 EnhancedCustomShapeTextFrame aTextFrame;
1860 static const CustomShapeProvider::ParameterPairData aData =
1862 EnhancedCustomShapeParameterType::EQUATION,
1863 EnhancedCustomShapeParameterType::EQUATION,
1864 9, 14
1866 aTextFrame.TopLeft = createParameterPair(&aData);
1869 static const CustomShapeProvider::ParameterPairData aData =
1871 EnhancedCustomShapeParameterType::EQUATION,
1872 EnhancedCustomShapeParameterType::EQUATION,
1873 10, 15
1875 aTextFrame.BottomRight = createParameterPair(&aData);
1877 aTextFrameSeq [0] = aTextFrame;
1879 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1881 aPropertyMap [PROP_Path] <<= aPropSequence;
1884 awt::Rectangle aRectangle;
1885 aRectangle.X = 0;
1886 aRectangle.Y = 0;
1887 aRectangle.Width = 0;
1888 aRectangle.Height = 0;
1889 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1891 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftRightRibbon");
1893 return aPropertyMap;
1896 class ShapeCactionButtonInformation : public CustomShapeProvider
1898 virtual PropertyMap getProperties()
1900 PropertyMap aPropertyMap;
1903 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1906 static const char *aStrings[] = {
1907 "min(logwidth,logheight)",
1908 "?0 *3/8",
1909 "logheight/2",
1910 "?2 +0-?1 ",
1911 "logwidth/2",
1912 "?4 +0-?1 ",
1913 "?0 *3/4",
1914 "?6 *1/32",
1915 "?6 *5/16",
1916 "?6 *3/8",
1917 "?6 *13/32",
1918 "?6 *19/32",
1919 "?6 *11/16",
1920 "?6 *13/16",
1921 "?6 *7/8",
1922 "?3 +?7 -0",
1923 "?3 +?8 -0",
1924 "?3 +?9 -0",
1925 "?3 +?13 -0",
1926 "?3 +?14 -0",
1927 "?5 +?8 -0",
1928 "?5 +?10 -0",
1929 "?5 +?11 -0",
1930 "?5 +?12 -0",
1931 "?6 *3/32",
1932 "logwidth",
1933 "logheight",
1934 "(16200000)/60000.0",
1935 "(21600000)/60000.0",
1936 "(16200000)/60000.0",
1937 "(21600000)/60000.0",
1938 "(16200000)/60000.0",
1939 "(21600000)/60000.0",
1940 "(16200000)/60000.0",
1941 "(21600000)/60000.0",
1942 "(16200000)/60000.0",
1943 "(21600000)/60000.0",
1944 "(16200000)/60000.0",
1945 "(21600000)/60000.0"
1947 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1950 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1953 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1956 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1959 Sequence< PropertyValue > aPropSequence (3);
1961 aPropSequence [0].Name = "Coordinates";
1962 static const CustomShapeProvider::ParameterPairData aData[] = {
1964 EnhancedCustomShapeParameterType::NORMAL,
1965 EnhancedCustomShapeParameterType::NORMAL,
1966 0, 0
1969 EnhancedCustomShapeParameterType::EQUATION,
1970 EnhancedCustomShapeParameterType::NORMAL,
1971 25, 0
1974 EnhancedCustomShapeParameterType::EQUATION,
1975 EnhancedCustomShapeParameterType::EQUATION,
1976 25, 26
1979 EnhancedCustomShapeParameterType::NORMAL,
1980 EnhancedCustomShapeParameterType::EQUATION,
1981 0, 26
1984 EnhancedCustomShapeParameterType::EQUATION,
1985 EnhancedCustomShapeParameterType::EQUATION,
1986 4, 3
1989 EnhancedCustomShapeParameterType::EQUATION,
1990 EnhancedCustomShapeParameterType::EQUATION,
1991 1, 1
1994 EnhancedCustomShapeParameterType::EQUATION,
1995 EnhancedCustomShapeParameterType::EQUATION,
1996 27, 28
1999 EnhancedCustomShapeParameterType::EQUATION,
2000 EnhancedCustomShapeParameterType::EQUATION,
2001 4, 3
2004 EnhancedCustomShapeParameterType::EQUATION,
2005 EnhancedCustomShapeParameterType::EQUATION,
2006 1, 1
2009 EnhancedCustomShapeParameterType::EQUATION,
2010 EnhancedCustomShapeParameterType::EQUATION,
2011 29, 30
2014 EnhancedCustomShapeParameterType::EQUATION,
2015 EnhancedCustomShapeParameterType::EQUATION,
2016 4, 15
2019 EnhancedCustomShapeParameterType::EQUATION,
2020 EnhancedCustomShapeParameterType::EQUATION,
2021 24, 24
2024 EnhancedCustomShapeParameterType::EQUATION,
2025 EnhancedCustomShapeParameterType::EQUATION,
2026 31, 32
2029 EnhancedCustomShapeParameterType::EQUATION,
2030 EnhancedCustomShapeParameterType::EQUATION,
2031 20, 16
2034 EnhancedCustomShapeParameterType::EQUATION,
2035 EnhancedCustomShapeParameterType::EQUATION,
2036 20, 17
2039 EnhancedCustomShapeParameterType::EQUATION,
2040 EnhancedCustomShapeParameterType::EQUATION,
2041 21, 17
2044 EnhancedCustomShapeParameterType::EQUATION,
2045 EnhancedCustomShapeParameterType::EQUATION,
2046 21, 18
2049 EnhancedCustomShapeParameterType::EQUATION,
2050 EnhancedCustomShapeParameterType::EQUATION,
2051 20, 18
2054 EnhancedCustomShapeParameterType::EQUATION,
2055 EnhancedCustomShapeParameterType::EQUATION,
2056 20, 19
2059 EnhancedCustomShapeParameterType::EQUATION,
2060 EnhancedCustomShapeParameterType::EQUATION,
2061 23, 19
2064 EnhancedCustomShapeParameterType::EQUATION,
2065 EnhancedCustomShapeParameterType::EQUATION,
2066 23, 18
2069 EnhancedCustomShapeParameterType::EQUATION,
2070 EnhancedCustomShapeParameterType::EQUATION,
2071 22, 18
2074 EnhancedCustomShapeParameterType::EQUATION,
2075 EnhancedCustomShapeParameterType::EQUATION,
2076 22, 16
2079 EnhancedCustomShapeParameterType::EQUATION,
2080 EnhancedCustomShapeParameterType::EQUATION,
2081 4, 15
2084 EnhancedCustomShapeParameterType::EQUATION,
2085 EnhancedCustomShapeParameterType::EQUATION,
2086 24, 24
2089 EnhancedCustomShapeParameterType::EQUATION,
2090 EnhancedCustomShapeParameterType::EQUATION,
2091 33, 34
2094 EnhancedCustomShapeParameterType::EQUATION,
2095 EnhancedCustomShapeParameterType::EQUATION,
2096 20, 16
2099 EnhancedCustomShapeParameterType::EQUATION,
2100 EnhancedCustomShapeParameterType::EQUATION,
2101 22, 16
2104 EnhancedCustomShapeParameterType::EQUATION,
2105 EnhancedCustomShapeParameterType::EQUATION,
2106 22, 18
2109 EnhancedCustomShapeParameterType::EQUATION,
2110 EnhancedCustomShapeParameterType::EQUATION,
2111 23, 18
2114 EnhancedCustomShapeParameterType::EQUATION,
2115 EnhancedCustomShapeParameterType::EQUATION,
2116 23, 19
2119 EnhancedCustomShapeParameterType::EQUATION,
2120 EnhancedCustomShapeParameterType::EQUATION,
2121 20, 19
2124 EnhancedCustomShapeParameterType::EQUATION,
2125 EnhancedCustomShapeParameterType::EQUATION,
2126 20, 18
2129 EnhancedCustomShapeParameterType::EQUATION,
2130 EnhancedCustomShapeParameterType::EQUATION,
2131 21, 18
2134 EnhancedCustomShapeParameterType::EQUATION,
2135 EnhancedCustomShapeParameterType::EQUATION,
2136 21, 17
2139 EnhancedCustomShapeParameterType::EQUATION,
2140 EnhancedCustomShapeParameterType::EQUATION,
2141 20, 17
2144 EnhancedCustomShapeParameterType::EQUATION,
2145 EnhancedCustomShapeParameterType::EQUATION,
2146 4, 3
2149 EnhancedCustomShapeParameterType::EQUATION,
2150 EnhancedCustomShapeParameterType::EQUATION,
2151 1, 1
2154 EnhancedCustomShapeParameterType::EQUATION,
2155 EnhancedCustomShapeParameterType::EQUATION,
2156 35, 36
2159 EnhancedCustomShapeParameterType::EQUATION,
2160 EnhancedCustomShapeParameterType::EQUATION,
2161 4, 15
2164 EnhancedCustomShapeParameterType::EQUATION,
2165 EnhancedCustomShapeParameterType::EQUATION,
2166 24, 24
2169 EnhancedCustomShapeParameterType::EQUATION,
2170 EnhancedCustomShapeParameterType::EQUATION,
2171 37, 38
2174 EnhancedCustomShapeParameterType::EQUATION,
2175 EnhancedCustomShapeParameterType::EQUATION,
2176 20, 16
2179 EnhancedCustomShapeParameterType::EQUATION,
2180 EnhancedCustomShapeParameterType::EQUATION,
2181 22, 16
2184 EnhancedCustomShapeParameterType::EQUATION,
2185 EnhancedCustomShapeParameterType::EQUATION,
2186 22, 18
2189 EnhancedCustomShapeParameterType::EQUATION,
2190 EnhancedCustomShapeParameterType::EQUATION,
2191 23, 18
2194 EnhancedCustomShapeParameterType::EQUATION,
2195 EnhancedCustomShapeParameterType::EQUATION,
2196 23, 19
2199 EnhancedCustomShapeParameterType::EQUATION,
2200 EnhancedCustomShapeParameterType::EQUATION,
2201 20, 19
2204 EnhancedCustomShapeParameterType::EQUATION,
2205 EnhancedCustomShapeParameterType::EQUATION,
2206 20, 18
2209 EnhancedCustomShapeParameterType::EQUATION,
2210 EnhancedCustomShapeParameterType::EQUATION,
2211 21, 18
2214 EnhancedCustomShapeParameterType::EQUATION,
2215 EnhancedCustomShapeParameterType::EQUATION,
2216 21, 17
2219 EnhancedCustomShapeParameterType::EQUATION,
2220 EnhancedCustomShapeParameterType::EQUATION,
2221 20, 17
2224 EnhancedCustomShapeParameterType::NORMAL,
2225 EnhancedCustomShapeParameterType::NORMAL,
2226 0, 0
2229 EnhancedCustomShapeParameterType::EQUATION,
2230 EnhancedCustomShapeParameterType::NORMAL,
2231 25, 0
2234 EnhancedCustomShapeParameterType::EQUATION,
2235 EnhancedCustomShapeParameterType::EQUATION,
2236 25, 26
2239 EnhancedCustomShapeParameterType::NORMAL,
2240 EnhancedCustomShapeParameterType::EQUATION,
2241 0, 26
2244 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2247 aPropSequence [1].Name = "Segments";
2248 static const sal_uInt16 nValues[] = {
2249 // Command, Count
2250 1,1,
2251 2,3,
2252 4,0,
2253 1,1,
2254 17,1,
2255 4,0,
2256 7,0,
2257 5,0,
2258 1,1,
2259 17,1,
2260 4,0,
2261 1,1,
2262 17,1,
2263 1,1,
2264 2,9,
2265 4,0,
2266 18,0,
2267 7,0,
2268 5,0,
2269 1,1,
2270 17,1,
2271 1,1,
2272 2,9,
2273 4,0,
2274 20,0,
2275 7,0,
2276 5,0,
2277 1,1,
2278 17,1,
2279 4,0,
2280 1,1,
2281 17,1,
2282 1,1,
2283 2,9,
2284 4,0,
2285 6,0,
2286 5,0,
2287 1,1,
2288 2,3,
2289 4,0,
2290 6,0,
2293 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2296 aPropSequence [2].Name = "TextFrames";
2297 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2299 EnhancedCustomShapeTextFrame aTextFrame;
2301 static const CustomShapeProvider::ParameterPairData aData =
2303 EnhancedCustomShapeParameterType::NORMAL,
2304 EnhancedCustomShapeParameterType::NORMAL,
2305 0, 0
2307 aTextFrame.TopLeft = createParameterPair(&aData);
2310 static const CustomShapeProvider::ParameterPairData aData =
2312 EnhancedCustomShapeParameterType::EQUATION,
2313 EnhancedCustomShapeParameterType::EQUATION,
2314 25, 26
2316 aTextFrame.BottomRight = createParameterPair(&aData);
2318 aTextFrameSeq [0] = aTextFrame;
2320 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2322 aPropertyMap [PROP_Path] <<= aPropSequence;
2325 awt::Rectangle aRectangle;
2326 aRectangle.X = 0;
2327 aRectangle.Y = 0;
2328 aRectangle.Width = 0;
2329 aRectangle.Height = 0;
2330 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2332 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonInformation");
2334 return aPropertyMap;
2337 class ShapeCbentConnector5 : public CustomShapeProvider
2339 virtual PropertyMap getProperties()
2341 PropertyMap aPropertyMap;
2344 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
2346 Any aAny ((sal_Int32) 50000);
2347 aAdjSequence [0].Value = aAny;
2348 aAdjSequence [0].Name = "adj1";
2351 Any aAny ((sal_Int32) 50000);
2352 aAdjSequence [1].Value = aAny;
2353 aAdjSequence [1].Name = "adj2";
2356 Any aAny ((sal_Int32) 50000);
2357 aAdjSequence [2].Value = aAny;
2358 aAdjSequence [2].Name = "adj3";
2360 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2363 static const char *aStrings[] = {
2364 "logwidth*$0 /100000",
2365 "logwidth*$2 /100000",
2366 "(?0 +?1 )/2",
2367 "logheight*$1 /100000",
2368 "(0+?3 )/2",
2369 "(logheight+?3 )/2",
2370 "logwidth",
2371 "logheight"
2373 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2376 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
2378 Sequence< PropertyValue > aPropSequence (4);
2380 aPropSequence [0].Name = "Position";
2381 static const CustomShapeProvider::ParameterPairData aData =
2383 EnhancedCustomShapeParameterType::EQUATION,
2384 EnhancedCustomShapeParameterType::EQUATION,
2385 0, 4
2387 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2390 aPropSequence [1].Name = "RangeXMaximum";
2391 EnhancedCustomShapeParameter aParameter;
2392 Any aAny ((sal_Int32) 2147483647);
2393 aParameter.Value = aAny;
2394 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2395 aPropSequence [1].Value = makeAny (aParameter);
2398 aPropSequence [2].Name = "RangeXMinimum";
2399 EnhancedCustomShapeParameter aParameter;
2400 Any aAny ((sal_Int32) -2147483647);
2401 aParameter.Value = aAny;
2402 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2403 aPropSequence [2].Value = makeAny (aParameter);
2406 aPropSequence [3].Name = "RefX";
2407 Any aAny ((sal_Int32) 0);
2408 aPropSequence [3].Value = makeAny (aAny);
2410 aPropSequenceSequence [0] = aPropSequence;
2413 Sequence< PropertyValue > aPropSequence (4);
2415 aPropSequence [0].Name = "Position";
2416 static const CustomShapeProvider::ParameterPairData aData =
2418 EnhancedCustomShapeParameterType::EQUATION,
2419 EnhancedCustomShapeParameterType::EQUATION,
2420 2, 3
2422 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2425 aPropSequence [1].Name = "RangeYMaximum";
2426 EnhancedCustomShapeParameter aParameter;
2427 Any aAny ((sal_Int32) 2147483647);
2428 aParameter.Value = aAny;
2429 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2430 aPropSequence [1].Value = makeAny (aParameter);
2433 aPropSequence [2].Name = "RangeYMinimum";
2434 EnhancedCustomShapeParameter aParameter;
2435 Any aAny ((sal_Int32) -2147483647);
2436 aParameter.Value = aAny;
2437 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2438 aPropSequence [2].Value = makeAny (aParameter);
2441 aPropSequence [3].Name = "RefY";
2442 Any aAny ((sal_Int32) 1);
2443 aPropSequence [3].Value = makeAny (aAny);
2445 aPropSequenceSequence [1] = aPropSequence;
2448 Sequence< PropertyValue > aPropSequence (4);
2450 aPropSequence [0].Name = "Position";
2451 static const CustomShapeProvider::ParameterPairData aData =
2453 EnhancedCustomShapeParameterType::EQUATION,
2454 EnhancedCustomShapeParameterType::EQUATION,
2455 1, 5
2457 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2460 aPropSequence [1].Name = "RangeXMaximum";
2461 EnhancedCustomShapeParameter aParameter;
2462 Any aAny ((sal_Int32) 2147483647);
2463 aParameter.Value = aAny;
2464 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2465 aPropSequence [1].Value = makeAny (aParameter);
2468 aPropSequence [2].Name = "RangeXMinimum";
2469 EnhancedCustomShapeParameter aParameter;
2470 Any aAny ((sal_Int32) -2147483647);
2471 aParameter.Value = aAny;
2472 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2473 aPropSequence [2].Value = makeAny (aParameter);
2476 aPropSequence [3].Name = "RefX";
2477 Any aAny ((sal_Int32) 2);
2478 aPropSequence [3].Value = makeAny (aAny);
2480 aPropSequenceSequence [2] = aPropSequence;
2482 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2485 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2488 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2491 Sequence< PropertyValue > aPropSequence (3);
2493 aPropSequence [0].Name = "Coordinates";
2494 static const CustomShapeProvider::ParameterPairData aData[] = {
2496 EnhancedCustomShapeParameterType::NORMAL,
2497 EnhancedCustomShapeParameterType::NORMAL,
2498 0, 0
2501 EnhancedCustomShapeParameterType::EQUATION,
2502 EnhancedCustomShapeParameterType::NORMAL,
2503 0, 0
2506 EnhancedCustomShapeParameterType::EQUATION,
2507 EnhancedCustomShapeParameterType::EQUATION,
2508 0, 3
2511 EnhancedCustomShapeParameterType::EQUATION,
2512 EnhancedCustomShapeParameterType::EQUATION,
2513 1, 3
2516 EnhancedCustomShapeParameterType::EQUATION,
2517 EnhancedCustomShapeParameterType::EQUATION,
2518 1, 7
2521 EnhancedCustomShapeParameterType::EQUATION,
2522 EnhancedCustomShapeParameterType::EQUATION,
2523 6, 7
2526 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2529 aPropSequence [1].Name = "Segments";
2530 static const sal_uInt16 nValues[] = {
2531 // Command, Count
2532 1,1,
2533 2,5,
2534 6,0,
2537 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2540 aPropSequence [2].Name = "TextFrames";
2541 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2543 EnhancedCustomShapeTextFrame aTextFrame;
2545 static const CustomShapeProvider::ParameterPairData aData =
2547 EnhancedCustomShapeParameterType::NORMAL,
2548 EnhancedCustomShapeParameterType::NORMAL,
2549 0, 0
2551 aTextFrame.TopLeft = createParameterPair(&aData);
2554 static const CustomShapeProvider::ParameterPairData aData =
2556 EnhancedCustomShapeParameterType::EQUATION,
2557 EnhancedCustomShapeParameterType::EQUATION,
2558 6, 7
2560 aTextFrame.BottomRight = createParameterPair(&aData);
2562 aTextFrameSeq [0] = aTextFrame;
2564 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2566 aPropertyMap [PROP_Path] <<= aPropSequence;
2569 awt::Rectangle aRectangle;
2570 aRectangle.X = 0;
2571 aRectangle.Y = 0;
2572 aRectangle.Width = 0;
2573 aRectangle.Height = 0;
2574 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2576 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bentConnector5");
2578 return aPropertyMap;
2581 class ShapeCcircularArrow : public CustomShapeProvider
2583 virtual PropertyMap getProperties()
2585 PropertyMap aPropertyMap;
2588 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (5);
2590 Any aAny ((sal_Int32) 12500);
2591 aAdjSequence [0].Value = aAny;
2592 aAdjSequence [0].Name = "adj1";
2595 Any aAny ((sal_Int32) 1142319);
2596 aAdjSequence [1].Value = aAny;
2597 aAdjSequence [1].Name = "adj2";
2600 Any aAny ((sal_Int32) 20457681);
2601 aAdjSequence [2].Value = aAny;
2602 aAdjSequence [2].Name = "adj3";
2605 Any aAny ((sal_Int32) 10800000);
2606 aAdjSequence [3].Value = aAny;
2607 aAdjSequence [3].Name = "adj4";
2610 Any aAny ((sal_Int32) 12500);
2611 aAdjSequence [4].Value = aAny;
2612 aAdjSequence [4].Name = "adj5";
2614 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2617 static const char *aStrings[] = {
2618 "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))",
2619 "?0 *2/1",
2620 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
2621 "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))",
2622 "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))",
2623 "min(logwidth,logheight)",
2624 "?5 *?2 /100000",
2625 "?5 *?0 /100000",
2626 "?6 *1/2",
2627 "logwidth/2",
2628 "?9 +?8 -?7 ",
2629 "logheight/2",
2630 "?11 +?8 -?7 ",
2631 "?10 +0-?6 ",
2632 "?12 +0-?6 ",
2633 "?13 +?8 -0",
2634 "?14 +?8 -0",
2635 "?15 *sin(pi*(?3 )/10800000)",
2636 "?16 *cos(pi*(?3 )/10800000)",
2637 "?15 *(cos(atan2(?17 ,?18 )))",
2638 "?16 *(sin(atan2(?17 ,?18 )))",
2639 "logwidth/2",
2640 "?21 +?19 -0",
2641 "logheight/2",
2642 "?23 +?20 -0",
2643 "min(?13 ,?14 )",
2644 "?19 *?19 /1",
2645 "?20 *?20 /1",
2646 "?25 *?25 /1",
2647 "?26 +0-?28 ",
2648 "?27 +0-?28 ",
2649 "?29 *?30 /?26 ",
2650 "?31 *1/?27 ",
2651 "1+0-?32 ",
2652 "sqrt(?33 )",
2653 "?29 *1/?19 ",
2654 "?35 *1/?20 ",
2655 "(1+?34 )/?36 ",
2656 "(10800000*atan2(?37 ,1))/pi",
2657 "?38 +21600000-0",
2658 "if(?38 ,?38 ,?39 )",
2659 "?40 +0-?3 ",
2660 "?41 +21600000-0",
2661 "if(?41 ,?41 ,?42 )",
2662 "?43 +0-10800000",
2663 "?43 +0-21600000",
2664 "if(?44 ,?45 ,?43 )",
2665 "abs(?46 )",
2666 "if(0-$1 ,0,if(?47 -$1 ,$1 ,?47 ))",
2667 "?3 +?48 -0",
2668 "?15 *sin(pi*(?49 )/10800000)",
2669 "?16 *cos(pi*(?49 )/10800000)",
2670 "?15 *(cos(atan2(?50 ,?51 )))",
2671 "?16 *(sin(atan2(?50 ,?51 )))",
2672 "?21 +?52 -0",
2673 "?23 +?53 -0",
2674 "?10 *sin(pi*(?4 )/10800000)",
2675 "?12 *cos(pi*(?4 )/10800000)",
2676 "?10 *(cos(atan2(?56 ,?57 )))",
2677 "?12 *(sin(atan2(?56 ,?57 )))",
2678 "?21 +?58 -0",
2679 "?23 +?59 -0",
2680 "?7 *cos(pi*(?49 )/10800000)",
2681 "?7 *sin(pi*(?49 )/10800000)",
2682 "?22 +?62 -0",
2683 "?24 +?63 -0",
2684 "?7 *cos(pi*(?49 )/10800000)",
2685 "?7 *sin(pi*(?49 )/10800000)",
2686 "?22 +0-?66 ",
2687 "?24 +0-?67 ",
2688 "?68 +0-?21 ",
2689 "?69 +0-?23 ",
2690 "?64 +0-?21 ",
2691 "?65 +0-?23 ",
2692 "min(?10 ,?12 )",
2693 "?70 *?74 /?10 ",
2694 "?71 *?74 /?12 ",
2695 "?72 *?74 /?10 ",
2696 "?73 *?74 /?12 ",
2697 "?77 +0-?75 ",
2698 "?78 +0-?76 ",
2699 "sqrt(?79 *?79 +?80 *?80 +0*0)",
2700 "?75 *?78 /1",
2701 "?77 *?76 /1",
2702 "?82 +0-?83 ",
2703 "?74 *?74 /1",
2704 "?81 *?81 /1",
2705 "?85 *?86 /1",
2706 "?84 *?84 /1",
2707 "?87 +0-?88 ",
2708 "max(?89 ,0)",
2709 "sqrt(?90 )",
2710 "?80 *-1/1",
2711 "if(?92 ,-1,1)",
2712 "?93 *?79 /1",
2713 "?94 *?91 /1",
2714 "?84 *?80 /1",
2715 "(?96 +?95 )/?86 ",
2716 "?96 +0-?95 ",
2717 "?98 *1/?86 ",
2718 "abs(?80 )",
2719 "?100 *?91 /1",
2720 "?84 *?79 /-1",
2721 "(?102 +?101 )/?86 ",
2722 "?102 +0-?101 ",
2723 "?104 *1/?86 ",
2724 "?77 +0-?97 ",
2725 "?77 +0-?99 ",
2726 "?78 +0-?103 ",
2727 "?78 +0-?105 ",
2728 "sqrt(?106 *?106 +?108 *?108 +0*0)",
2729 "sqrt(?107 *?107 +?109 *?109 +0*0)",
2730 "?111 +0-?110 ",
2731 "if(?112 ,?97 ,?99 )",
2732 "if(?112 ,?103 ,?105 )",
2733 "?113 *?10 /?74 ",
2734 "?114 *?12 /?74 ",
2735 "?21 +?115 -0",
2736 "?23 +?116 -0",
2737 "?70 *?25 /?13 ",
2738 "?71 *?25 /?14 ",
2739 "?72 *?25 /?13 ",
2740 "?73 *?25 /?14 ",
2741 "?121 +0-?119 ",
2742 "?122 +0-?120 ",
2743 "sqrt(?123 *?123 +?124 *?124 +0*0)",
2744 "?119 *?122 /1",
2745 "?121 *?120 /1",
2746 "?126 +0-?127 ",
2747 "?25 *?25 /1",
2748 "?125 *?125 /1",
2749 "?129 *?130 /1",
2750 "?128 *?128 /1",
2751 "?131 +0-?132 ",
2752 "max(?133 ,0)",
2753 "sqrt(?134 )",
2754 "?93 *?123 /1",
2755 "?136 *?135 /1",
2756 "?128 *?124 /1",
2757 "(?138 +?137 )/?130 ",
2758 "?138 +0-?137 ",
2759 "?140 *1/?130 ",
2760 "abs(?124 )",
2761 "?142 *?135 /1",
2762 "?128 *?123 /-1",
2763 "(?144 +?143 )/?130 ",
2764 "?144 +0-?143 ",
2765 "?146 *1/?130 ",
2766 "?119 +0-?139 ",
2767 "?119 +0-?141 ",
2768 "?120 +0-?145 ",
2769 "?120 +0-?147 ",
2770 "sqrt(?148 *?148 +?150 *?150 +0*0)",
2771 "sqrt(?149 *?149 +?151 *?151 +0*0)",
2772 "?153 +0-?152 ",
2773 "if(?154 ,?139 ,?141 )",
2774 "if(?154 ,?145 ,?147 )",
2775 "?155 *?13 /?25 ",
2776 "?156 *?14 /?25 ",
2777 "?21 +?157 -0",
2778 "?23 +?158 -0",
2779 "(10800000*atan2(?158 ,?157 ))/pi",
2780 "?161 +21600000-0",
2781 "if(?161 ,?161 ,?162 )",
2782 "?4 +0-?163 ",
2783 "?164 +0-21600000",
2784 "if(?164 ,?165 ,?164 )",
2785 "?117 +0-?159 ",
2786 "?118 +0-?160 ",
2787 "sqrt(?167 *?167 +?168 *?168 +0*0)",
2788 "?169 *1/2",
2789 "?170 +0-?7 ",
2790 "if(?171 ,?117 ,?64 )",
2791 "if(?171 ,?118 ,?65 )",
2792 "if(?171 ,?159 ,?68 )",
2793 "if(?171 ,?160 ,?69 )",
2794 "(10800000*atan2(?116 ,?115 ))/pi",
2795 "?176 +21600000-0",
2796 "if(?176 ,?176 ,?177 )",
2797 "?178 +0-?4 ",
2798 "?179 +21600000-0",
2799 "if(?179 ,?179 ,?180 )",
2800 "?15 *sin(pi*(?4 )/10800000)",
2801 "?16 *cos(pi*(?4 )/10800000)",
2802 "?15 *(cos(atan2(?182 ,?183 )))",
2803 "?16 *(sin(atan2(?182 ,?183 )))",
2804 "?21 +?184 -0",
2805 "?23 +?185 -0",
2806 "?4 +0-5400000",
2807 "?49 +5400000-0",
2808 "?49 +10800000-0",
2809 "?10 *cos(pi*(2700000)/10800000)",
2810 "?12 *sin(pi*(2700000)/10800000)",
2811 "?21 +0-?191 ",
2812 "?21 +?191 -0",
2813 "?23 +0-?192 ",
2814 "?23 +?192 -0",
2815 "(?4 )/60000.0",
2816 "(?181 )/60000.0",
2817 "(?163 )/60000.0",
2818 "(?166 )/60000.0"
2820 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2823 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
2825 Sequence< PropertyValue > aPropSequence (1);
2827 aPropSequence [0].Name = "Position";
2828 static const CustomShapeProvider::ParameterPairData aData =
2830 EnhancedCustomShapeParameterType::EQUATION,
2831 EnhancedCustomShapeParameterType::EQUATION,
2832 54, 55
2834 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2836 aPropSequenceSequence [0] = aPropSequence;
2839 Sequence< PropertyValue > aPropSequence (1);
2841 aPropSequence [0].Name = "Position";
2842 static const CustomShapeProvider::ParameterPairData aData =
2844 EnhancedCustomShapeParameterType::EQUATION,
2845 EnhancedCustomShapeParameterType::EQUATION,
2846 60, 61
2848 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2850 aPropSequenceSequence [1] = aPropSequence;
2853 Sequence< PropertyValue > aPropSequence (3);
2855 aPropSequence [0].Name = "Position";
2856 static const CustomShapeProvider::ParameterPairData aData =
2858 EnhancedCustomShapeParameterType::EQUATION,
2859 EnhancedCustomShapeParameterType::EQUATION,
2860 117, 118
2862 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2865 aPropSequence [1].Name = "RadiusRangeMaximum";
2866 EnhancedCustomShapeParameter aParameter;
2867 Any aAny ((sal_Int32) 1);
2868 aParameter.Value = aAny;
2869 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
2870 aPropSequence [1].Value = makeAny (aParameter);
2873 aPropSequence [2].Name = "RadiusRangeMinimum";
2874 EnhancedCustomShapeParameter aParameter;
2875 Any aAny ((sal_Int32) 0);
2876 aParameter.Value = aAny;
2877 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2878 aPropSequence [2].Value = makeAny (aParameter);
2880 aPropSequenceSequence [2] = aPropSequence;
2883 Sequence< PropertyValue > aPropSequence (3);
2885 aPropSequence [0].Name = "Position";
2886 static const CustomShapeProvider::ParameterPairData aData =
2888 EnhancedCustomShapeParameterType::EQUATION,
2889 EnhancedCustomShapeParameterType::EQUATION,
2890 68, 69
2892 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2895 aPropSequence [1].Name = "RadiusRangeMaximum";
2896 EnhancedCustomShapeParameter aParameter;
2897 Any aAny ((sal_Int32) 25000);
2898 aParameter.Value = aAny;
2899 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2900 aPropSequence [1].Value = makeAny (aParameter);
2903 aPropSequence [2].Name = "RadiusRangeMinimum";
2904 EnhancedCustomShapeParameter aParameter;
2905 Any aAny ((sal_Int32) 0);
2906 aParameter.Value = aAny;
2907 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2908 aPropSequence [2].Value = makeAny (aParameter);
2910 aPropSequenceSequence [3] = aPropSequence;
2912 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2915 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2918 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2921 Sequence< PropertyValue > aPropSequence (3);
2923 aPropSequence [0].Name = "Coordinates";
2924 static const CustomShapeProvider::ParameterPairData aData[] = {
2926 EnhancedCustomShapeParameterType::EQUATION,
2927 EnhancedCustomShapeParameterType::EQUATION,
2928 60, 61
2931 EnhancedCustomShapeParameterType::EQUATION,
2932 EnhancedCustomShapeParameterType::EQUATION,
2933 10, 12
2936 EnhancedCustomShapeParameterType::EQUATION,
2937 EnhancedCustomShapeParameterType::EQUATION,
2938 197, 198
2941 EnhancedCustomShapeParameterType::EQUATION,
2942 EnhancedCustomShapeParameterType::EQUATION,
2943 172, 173
2946 EnhancedCustomShapeParameterType::EQUATION,
2947 EnhancedCustomShapeParameterType::EQUATION,
2948 54, 55
2951 EnhancedCustomShapeParameterType::EQUATION,
2952 EnhancedCustomShapeParameterType::EQUATION,
2953 174, 175
2956 EnhancedCustomShapeParameterType::EQUATION,
2957 EnhancedCustomShapeParameterType::EQUATION,
2958 159, 160
2961 EnhancedCustomShapeParameterType::EQUATION,
2962 EnhancedCustomShapeParameterType::EQUATION,
2963 13, 14
2966 EnhancedCustomShapeParameterType::EQUATION,
2967 EnhancedCustomShapeParameterType::EQUATION,
2968 199, 200
2971 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2974 aPropSequence [1].Name = "Segments";
2975 static const sal_uInt16 nValues[] = {
2976 // Command, Count
2977 1,1,
2978 17,1,
2979 2,4,
2980 17,1,
2981 4,0,
2984 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2987 aPropSequence [2].Name = "TextFrames";
2988 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2990 EnhancedCustomShapeTextFrame aTextFrame;
2992 static const CustomShapeProvider::ParameterPairData aData =
2994 EnhancedCustomShapeParameterType::EQUATION,
2995 EnhancedCustomShapeParameterType::EQUATION,
2996 193, 195
2998 aTextFrame.TopLeft = createParameterPair(&aData);
3001 static const CustomShapeProvider::ParameterPairData aData =
3003 EnhancedCustomShapeParameterType::EQUATION,
3004 EnhancedCustomShapeParameterType::EQUATION,
3005 194, 196
3007 aTextFrame.BottomRight = createParameterPair(&aData);
3009 aTextFrameSeq [0] = aTextFrame;
3011 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3013 aPropertyMap [PROP_Path] <<= aPropSequence;
3016 awt::Rectangle aRectangle;
3017 aRectangle.X = 0;
3018 aRectangle.Y = 0;
3019 aRectangle.Width = 0;
3020 aRectangle.Height = 0;
3021 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3023 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-circularArrow");
3025 return aPropertyMap;
3028 class ShapeCdownArrowCallout : public CustomShapeProvider
3030 virtual PropertyMap getProperties()
3032 PropertyMap aPropertyMap;
3035 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
3037 Any aAny ((sal_Int32) 25000);
3038 aAdjSequence [0].Value = aAny;
3039 aAdjSequence [0].Name = "adj1";
3042 Any aAny ((sal_Int32) 25000);
3043 aAdjSequence [1].Value = aAny;
3044 aAdjSequence [1].Name = "adj2";
3047 Any aAny ((sal_Int32) 25000);
3048 aAdjSequence [2].Value = aAny;
3049 aAdjSequence [2].Name = "adj3";
3052 Any aAny ((sal_Int32) 64977);
3053 aAdjSequence [3].Value = aAny;
3054 aAdjSequence [3].Name = "adj4";
3056 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3059 static const char *aStrings[] = {
3060 "min(logwidth,logheight)",
3061 "50000*logwidth/?0 ",
3062 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
3063 "?2 *2/1",
3064 "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
3065 "100000*logheight/?0 ",
3066 "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
3067 "?6 *?0 /logheight",
3068 "100000+0-?7 ",
3069 "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))",
3070 "?0 *?2 /100000",
3071 "?0 *?4 /200000",
3072 "logwidth/2",
3073 "?12 +0-?10 ",
3074 "?12 +0-?11 ",
3075 "?12 +?11 -0",
3076 "?12 +?10 -0",
3077 "?0 *?6 /100000",
3078 "logheight+0-?17 ",
3079 "logheight*?9 /100000",
3080 "?19 *1/2",
3081 "logheight",
3082 "logwidth"
3084 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3087 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
3089 Sequence< PropertyValue > aPropSequence (4);
3091 aPropSequence [0].Name = "Position";
3092 static const CustomShapeProvider::ParameterPairData aData =
3094 EnhancedCustomShapeParameterType::EQUATION,
3095 EnhancedCustomShapeParameterType::EQUATION,
3096 14, 18
3098 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3101 aPropSequence [1].Name = "RangeXMaximum";
3102 EnhancedCustomShapeParameter aParameter;
3103 Any aAny ((sal_Int32) 3);
3104 aParameter.Value = aAny;
3105 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3106 aPropSequence [1].Value = makeAny (aParameter);
3109 aPropSequence [2].Name = "RangeXMinimum";
3110 EnhancedCustomShapeParameter aParameter;
3111 Any aAny ((sal_Int32) 0);
3112 aParameter.Value = aAny;
3113 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3114 aPropSequence [2].Value = makeAny (aParameter);
3117 aPropSequence [3].Name = "RefX";
3118 Any aAny ((sal_Int32) 0);
3119 aPropSequence [3].Value = makeAny (aAny);
3121 aPropSequenceSequence [0] = aPropSequence;
3124 Sequence< PropertyValue > aPropSequence (4);
3126 aPropSequence [0].Name = "Position";
3127 static const CustomShapeProvider::ParameterPairData aData =
3129 EnhancedCustomShapeParameterType::EQUATION,
3130 EnhancedCustomShapeParameterType::EQUATION,
3131 13, 21
3133 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3136 aPropSequence [1].Name = "RangeXMaximum";
3137 EnhancedCustomShapeParameter aParameter;
3138 Any aAny ((sal_Int32) 1);
3139 aParameter.Value = aAny;
3140 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3141 aPropSequence [1].Value = makeAny (aParameter);
3144 aPropSequence [2].Name = "RangeXMinimum";
3145 EnhancedCustomShapeParameter aParameter;
3146 Any aAny ((sal_Int32) 0);
3147 aParameter.Value = aAny;
3148 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3149 aPropSequence [2].Value = makeAny (aParameter);
3152 aPropSequence [3].Name = "RefX";
3153 Any aAny ((sal_Int32) 1);
3154 aPropSequence [3].Value = makeAny (aAny);
3156 aPropSequenceSequence [1] = aPropSequence;
3159 Sequence< PropertyValue > aPropSequence (4);
3161 aPropSequence [0].Name = "Position";
3162 static const CustomShapeProvider::ParameterPairData aData =
3164 EnhancedCustomShapeParameterType::EQUATION,
3165 EnhancedCustomShapeParameterType::EQUATION,
3166 22, 18
3168 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3171 aPropSequence [1].Name = "RangeYMaximum";
3172 EnhancedCustomShapeParameter aParameter;
3173 Any aAny ((sal_Int32) 5);
3174 aParameter.Value = aAny;
3175 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3176 aPropSequence [1].Value = makeAny (aParameter);
3179 aPropSequence [2].Name = "RangeYMinimum";
3180 EnhancedCustomShapeParameter aParameter;
3181 Any aAny ((sal_Int32) 0);
3182 aParameter.Value = aAny;
3183 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3184 aPropSequence [2].Value = makeAny (aParameter);
3187 aPropSequence [3].Name = "RefY";
3188 Any aAny ((sal_Int32) 2);
3189 aPropSequence [3].Value = makeAny (aAny);
3191 aPropSequenceSequence [2] = aPropSequence;
3194 Sequence< PropertyValue > aPropSequence (4);
3196 aPropSequence [0].Name = "Position";
3197 static const CustomShapeProvider::ParameterPairData aData =
3199 EnhancedCustomShapeParameterType::NORMAL,
3200 EnhancedCustomShapeParameterType::EQUATION,
3201 0, 19
3203 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3206 aPropSequence [1].Name = "RangeYMaximum";
3207 EnhancedCustomShapeParameter aParameter;
3208 Any aAny ((sal_Int32) 8);
3209 aParameter.Value = aAny;
3210 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3211 aPropSequence [1].Value = makeAny (aParameter);
3214 aPropSequence [2].Name = "RangeYMinimum";
3215 EnhancedCustomShapeParameter aParameter;
3216 Any aAny ((sal_Int32) 0);
3217 aParameter.Value = aAny;
3218 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3219 aPropSequence [2].Value = makeAny (aParameter);
3222 aPropSequence [3].Name = "RefY";
3223 Any aAny ((sal_Int32) 3);
3224 aPropSequence [3].Value = makeAny (aAny);
3226 aPropSequenceSequence [3] = aPropSequence;
3228 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3231 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3234 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3237 Sequence< PropertyValue > aPropSequence (3);
3239 aPropSequence [0].Name = "Coordinates";
3240 static const CustomShapeProvider::ParameterPairData aData[] = {
3242 EnhancedCustomShapeParameterType::NORMAL,
3243 EnhancedCustomShapeParameterType::NORMAL,
3244 0, 0
3247 EnhancedCustomShapeParameterType::EQUATION,
3248 EnhancedCustomShapeParameterType::NORMAL,
3249 22, 0
3252 EnhancedCustomShapeParameterType::EQUATION,
3253 EnhancedCustomShapeParameterType::EQUATION,
3254 22, 19
3257 EnhancedCustomShapeParameterType::EQUATION,
3258 EnhancedCustomShapeParameterType::EQUATION,
3259 15, 19
3262 EnhancedCustomShapeParameterType::EQUATION,
3263 EnhancedCustomShapeParameterType::EQUATION,
3264 15, 18
3267 EnhancedCustomShapeParameterType::EQUATION,
3268 EnhancedCustomShapeParameterType::EQUATION,
3269 16, 18
3272 EnhancedCustomShapeParameterType::EQUATION,
3273 EnhancedCustomShapeParameterType::EQUATION,
3274 12, 21
3277 EnhancedCustomShapeParameterType::EQUATION,
3278 EnhancedCustomShapeParameterType::EQUATION,
3279 13, 18
3282 EnhancedCustomShapeParameterType::EQUATION,
3283 EnhancedCustomShapeParameterType::EQUATION,
3284 14, 18
3287 EnhancedCustomShapeParameterType::EQUATION,
3288 EnhancedCustomShapeParameterType::EQUATION,
3289 14, 19
3292 EnhancedCustomShapeParameterType::NORMAL,
3293 EnhancedCustomShapeParameterType::EQUATION,
3294 0, 19
3297 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3300 aPropSequence [1].Name = "Segments";
3301 static const sal_uInt16 nValues[] = {
3302 // Command, Count
3303 1,1,
3304 2,10,
3305 4,0,
3308 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3311 aPropSequence [2].Name = "TextFrames";
3312 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3314 EnhancedCustomShapeTextFrame aTextFrame;
3316 static const CustomShapeProvider::ParameterPairData aData =
3318 EnhancedCustomShapeParameterType::NORMAL,
3319 EnhancedCustomShapeParameterType::NORMAL,
3320 0, 0
3322 aTextFrame.TopLeft = createParameterPair(&aData);
3325 static const CustomShapeProvider::ParameterPairData aData =
3327 EnhancedCustomShapeParameterType::EQUATION,
3328 EnhancedCustomShapeParameterType::EQUATION,
3329 22, 19
3331 aTextFrame.BottomRight = createParameterPair(&aData);
3333 aTextFrameSeq [0] = aTextFrame;
3335 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3337 aPropertyMap [PROP_Path] <<= aPropSequence;
3340 awt::Rectangle aRectangle;
3341 aRectangle.X = 0;
3342 aRectangle.Y = 0;
3343 aRectangle.Width = 0;
3344 aRectangle.Height = 0;
3345 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3347 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-downArrowCallout");
3349 return aPropertyMap;
3352 class ShapeCmathMinus : public CustomShapeProvider
3354 virtual PropertyMap getProperties()
3356 PropertyMap aPropertyMap;
3359 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
3361 Any aAny ((sal_Int32) 23520);
3362 aAdjSequence [0].Value = aAny;
3363 aAdjSequence [0].Name = "adj1";
3365 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3368 static const char *aStrings[] = {
3369 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
3370 "logheight*?0 /200000",
3371 "logwidth*73490/200000",
3372 "logheight/2",
3373 "?3 +0-?1 ",
3374 "?3 +?1 -0",
3375 "logwidth/2",
3376 "?6 +0-?2 ",
3377 "?6 +?2 -0"
3379 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3382 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
3384 Sequence< PropertyValue > aPropSequence (4);
3386 aPropSequence [0].Name = "Position";
3387 static const CustomShapeProvider::ParameterPairData aData =
3389 EnhancedCustomShapeParameterType::NORMAL,
3390 EnhancedCustomShapeParameterType::EQUATION,
3391 0, 4
3393 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3396 aPropSequence [1].Name = "RangeYMaximum";
3397 EnhancedCustomShapeParameter aParameter;
3398 Any aAny ((sal_Int32) 100000);
3399 aParameter.Value = aAny;
3400 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3401 aPropSequence [1].Value = makeAny (aParameter);
3404 aPropSequence [2].Name = "RangeYMinimum";
3405 EnhancedCustomShapeParameter aParameter;
3406 Any aAny ((sal_Int32) 0);
3407 aParameter.Value = aAny;
3408 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3409 aPropSequence [2].Value = makeAny (aParameter);
3412 aPropSequence [3].Name = "RefY";
3413 Any aAny ((sal_Int32) 0);
3414 aPropSequence [3].Value = makeAny (aAny);
3416 aPropSequenceSequence [0] = aPropSequence;
3418 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3421 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3424 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3427 Sequence< PropertyValue > aPropSequence (3);
3429 aPropSequence [0].Name = "Coordinates";
3430 static const CustomShapeProvider::ParameterPairData aData[] = {
3432 EnhancedCustomShapeParameterType::EQUATION,
3433 EnhancedCustomShapeParameterType::EQUATION,
3434 7, 4
3437 EnhancedCustomShapeParameterType::EQUATION,
3438 EnhancedCustomShapeParameterType::EQUATION,
3439 8, 4
3442 EnhancedCustomShapeParameterType::EQUATION,
3443 EnhancedCustomShapeParameterType::EQUATION,
3444 8, 5
3447 EnhancedCustomShapeParameterType::EQUATION,
3448 EnhancedCustomShapeParameterType::EQUATION,
3449 7, 5
3452 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3455 aPropSequence [1].Name = "Segments";
3456 static const sal_uInt16 nValues[] = {
3457 // Command, Count
3458 1,1,
3459 2,3,
3460 4,0,
3463 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3466 aPropSequence [2].Name = "TextFrames";
3467 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3469 EnhancedCustomShapeTextFrame aTextFrame;
3471 static const CustomShapeProvider::ParameterPairData aData =
3473 EnhancedCustomShapeParameterType::EQUATION,
3474 EnhancedCustomShapeParameterType::EQUATION,
3475 7, 4
3477 aTextFrame.TopLeft = createParameterPair(&aData);
3480 static const CustomShapeProvider::ParameterPairData aData =
3482 EnhancedCustomShapeParameterType::EQUATION,
3483 EnhancedCustomShapeParameterType::EQUATION,
3484 8, 5
3486 aTextFrame.BottomRight = createParameterPair(&aData);
3488 aTextFrameSeq [0] = aTextFrame;
3490 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3492 aPropertyMap [PROP_Path] <<= aPropSequence;
3495 awt::Rectangle aRectangle;
3496 aRectangle.X = 0;
3497 aRectangle.Y = 0;
3498 aRectangle.Width = 0;
3499 aRectangle.Height = 0;
3500 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3502 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-mathMinus");
3504 return aPropertyMap;
3507 class ShapeCgear9 : public CustomShapeProvider
3509 virtual PropertyMap getProperties()
3511 PropertyMap aPropertyMap;
3514 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
3516 Any aAny ((sal_Int32) 10000);
3517 aAdjSequence [0].Value = aAny;
3518 aAdjSequence [0].Name = "adj1";
3521 Any aAny ((sal_Int32) 1763);
3522 aAdjSequence [1].Value = aAny;
3523 aAdjSequence [1].Name = "adj2";
3525 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3528 static const char *aStrings[] = {
3529 "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))",
3530 "if(0-$1 ,0,if(2679-$1 ,$1 ,2679))",
3531 "min(logwidth,logheight)",
3532 "?2 *?0 /100000",
3533 "?2 *?1 /100000",
3534 "?3 *1/2",
3535 "?4 *1/2",
3536 "?5 +?6 -0",
3537 "logheight/2",
3538 "?8 +0-?3 ",
3539 "logwidth/2",
3540 "?10 +0-?3 ",
3541 "?11 +0-?9 ",
3542 "if(?12 ,?9 ,?11 )",
3543 "(10800000*atan2(?7 ,?13 ))/pi",
3544 "18600000+0-?14 ",
3545 "18600000+?14 -0",
3546 "?11 *cos(pi*(?15 )/10800000)",
3547 "?9 *sin(pi*(?15 )/10800000)",
3548 "(10800000*atan2(?18 ,?17 ))/pi",
3549 "?9 *cos(pi*(?19 )/10800000)",
3550 "?11 *sin(pi*(?19 )/10800000)",
3551 "sqrt(?20 *?20 +?21 *?21 +0*0)",
3552 "?11 *?9 /?22 ",
3553 "?23 *cos(pi*(?19 )/10800000)",
3554 "?23 *sin(pi*(?19 )/10800000)",
3555 "logwidth/2",
3556 "?26 +?24 -0",
3557 "logheight/2",
3558 "?28 +?25 -0",
3559 "?11 *cos(pi*(?16 )/10800000)",
3560 "?9 *sin(pi*(?16 )/10800000)",
3561 "(10800000*atan2(?31 ,?30 ))/pi",
3562 "?9 *cos(pi*(?32 )/10800000)",
3563 "?11 *sin(pi*(?32 )/10800000)",
3564 "sqrt(?33 *?33 +?34 *?34 +0*0)",
3565 "?11 *?9 /?35 ",
3566 "?36 *cos(pi*(?32 )/10800000)",
3567 "?36 *sin(pi*(?32 )/10800000)",
3568 "?26 +?37 -0",
3569 "?28 +?38 -0",
3570 "?27 +0-?39 ",
3571 "?29 +0-?40 ",
3572 "sqrt(?41 *?41 +?42 *?42 +0*0)",
3573 "(10800000*atan2(?41 ,?42 ))/pi",
3574 "?4 *sin(pi*(?44 )/10800000)",
3575 "?4 *cos(pi*(?44 )/10800000)",
3576 "?39 +?45 -0",
3577 "?40 +?46 -0",
3578 "?27 +0-?45 ",
3579 "?29 +0-?46 ",
3580 "?3 *sin(pi*(?44 )/10800000)",
3581 "?3 *cos(pi*(?44 )/10800000)",
3582 "?48 +?51 -0",
3583 "?47 +0-?52 ",
3584 "?50 +?51 -0",
3585 "?49 +0-?52 ",
3586 "21000000+0-?14 ",
3587 "21000000+?14 -0",
3588 "?11 *cos(pi*(?57 )/10800000)",
3589 "?9 *sin(pi*(?57 )/10800000)",
3590 "(10800000*atan2(?60 ,?59 ))/pi",
3591 "?9 *cos(pi*(?61 )/10800000)",
3592 "?11 *sin(pi*(?61 )/10800000)",
3593 "sqrt(?62 *?62 +?63 *?63 +0*0)",
3594 "?11 *?9 /?64 ",
3595 "?65 *cos(pi*(?61 )/10800000)",
3596 "?65 *sin(pi*(?61 )/10800000)",
3597 "?26 +?66 -0",
3598 "?28 +?67 -0",
3599 "?11 *cos(pi*(?58 )/10800000)",
3600 "?9 *sin(pi*(?58 )/10800000)",
3601 "(10800000*atan2(?71 ,?70 ))/pi",
3602 "?9 *cos(pi*(?72 )/10800000)",
3603 "?11 *sin(pi*(?72 )/10800000)",
3604 "sqrt(?73 *?73 +?74 *?74 +0*0)",
3605 "?11 *?9 /?75 ",
3606 "?76 *cos(pi*(?72 )/10800000)",
3607 "?76 *sin(pi*(?72 )/10800000)",
3608 "?26 +?77 -0",
3609 "?28 +?78 -0",
3610 "?68 +0-?79 ",
3611 "?69 +0-?80 ",
3612 "sqrt(?81 *?81 +?82 *?82 +0*0)",
3613 "(10800000*atan2(?81 ,?82 ))/pi",
3614 "?4 *sin(pi*(?84 )/10800000)",
3615 "?4 *cos(pi*(?84 )/10800000)",
3616 "?79 +?85 -0",
3617 "?80 +?86 -0",
3618 "?68 +0-?85 ",
3619 "?69 +0-?86 ",
3620 "?3 *sin(pi*(?84 )/10800000)",
3621 "?3 *cos(pi*(?84 )/10800000)",
3622 "?88 +?91 -0",
3623 "?87 +0-?92 ",
3624 "?90 +?91 -0",
3625 "?89 +0-?92 ",
3626 "?61 +0-?32 ",
3627 "1800000+0-?14 ",
3628 "1800000+?14 -0",
3629 "?11 *cos(pi*(?98 )/10800000)",
3630 "?9 *sin(pi*(?98 )/10800000)",
3631 "(10800000*atan2(?101 ,?100 ))/pi",
3632 "?9 *cos(pi*(?102 )/10800000)",
3633 "?11 *sin(pi*(?102 )/10800000)",
3634 "sqrt(?103 *?103 +?104 *?104 +0*0)",
3635 "?11 *?9 /?105 ",
3636 "?106 *cos(pi*(?102 )/10800000)",
3637 "?106 *sin(pi*(?102 )/10800000)",
3638 "?26 +?107 -0",
3639 "?28 +?108 -0",
3640 "?11 *cos(pi*(?99 )/10800000)",
3641 "?9 *sin(pi*(?99 )/10800000)",
3642 "(10800000*atan2(?112 ,?111 ))/pi",
3643 "?9 *cos(pi*(?113 )/10800000)",
3644 "?11 *sin(pi*(?113 )/10800000)",
3645 "sqrt(?114 *?114 +?115 *?115 +0*0)",
3646 "?11 *?9 /?116 ",
3647 "?117 *cos(pi*(?113 )/10800000)",
3648 "?117 *sin(pi*(?113 )/10800000)",
3649 "?26 +?118 -0",
3650 "?28 +?119 -0",
3651 "?109 +0-?120 ",
3652 "?110 +0-?121 ",
3653 "sqrt(?122 *?122 +?123 *?123 +0*0)",
3654 "(10800000*atan2(?122 ,?123 ))/pi",
3655 "?4 *sin(pi*(?125 )/10800000)",
3656 "?4 *cos(pi*(?125 )/10800000)",
3657 "?120 +?126 -0",
3658 "?121 +?127 -0",
3659 "?109 +0-?126 ",
3660 "?110 +0-?127 ",
3661 "?3 *sin(pi*(?125 )/10800000)",
3662 "?3 *cos(pi*(?125 )/10800000)",
3663 "?129 +?132 -0",
3664 "?128 +0-?133 ",
3665 "?131 +?132 -0",
3666 "?130 +0-?133 ",
3667 "?102 +0-?72 ",
3668 "4200000+0-?14 ",
3669 "4200000+?14 -0",
3670 "?11 *cos(pi*(?139 )/10800000)",
3671 "?9 *sin(pi*(?139 )/10800000)",
3672 "(10800000*atan2(?142 ,?141 ))/pi",
3673 "?9 *cos(pi*(?143 )/10800000)",
3674 "?11 *sin(pi*(?143 )/10800000)",
3675 "sqrt(?144 *?144 +?145 *?145 +0*0)",
3676 "?11 *?9 /?146 ",
3677 "?147 *cos(pi*(?143 )/10800000)",
3678 "?147 *sin(pi*(?143 )/10800000)",
3679 "?26 +?148 -0",
3680 "?28 +?149 -0",
3681 "?11 *cos(pi*(?140 )/10800000)",
3682 "?9 *sin(pi*(?140 )/10800000)",
3683 "(10800000*atan2(?153 ,?152 ))/pi",
3684 "?9 *cos(pi*(?154 )/10800000)",
3685 "?11 *sin(pi*(?154 )/10800000)",
3686 "sqrt(?155 *?155 +?156 *?156 +0*0)",
3687 "?11 *?9 /?157 ",
3688 "?158 *cos(pi*(?154 )/10800000)",
3689 "?158 *sin(pi*(?154 )/10800000)",
3690 "?26 +?159 -0",
3691 "?28 +?160 -0",
3692 "?150 +0-?161 ",
3693 "?151 +0-?162 ",
3694 "sqrt(?163 *?163 +?164 *?164 +0*0)",
3695 "(10800000*atan2(?163 ,?164 ))/pi",
3696 "?4 *sin(pi*(?166 )/10800000)",
3697 "?4 *cos(pi*(?166 )/10800000)",
3698 "?161 +?167 -0",
3699 "?162 +?168 -0",
3700 "?150 +0-?167 ",
3701 "?151 +0-?168 ",
3702 "?3 *sin(pi*(?166 )/10800000)",
3703 "?3 *cos(pi*(?166 )/10800000)",
3704 "?170 +?173 -0",
3705 "?169 +0-?174 ",
3706 "?172 +?173 -0",
3707 "?171 +0-?174 ",
3708 "?143 +0-?113 ",
3709 "6600000+0-?14 ",
3710 "6600000+?14 -0",
3711 "?11 *cos(pi*(?180 )/10800000)",
3712 "?9 *sin(pi*(?180 )/10800000)",
3713 "(10800000*atan2(?183 ,?182 ))/pi",
3714 "?11 *cos(pi*(?181 )/10800000)",
3715 "?9 *sin(pi*(?181 )/10800000)",
3716 "(10800000*atan2(?186 ,?185 ))/pi",
3717 "logwidth+0-?150 ",
3718 "logwidth+0-?178 ",
3719 "logwidth+0-?176 ",
3720 "?184 +0-?154 ",
3721 "9000000+?14 -0",
3722 "?11 *cos(pi*(?192 )/10800000)",
3723 "?9 *sin(pi*(?192 )/10800000)",
3724 "(10800000*atan2(?194 ,?193 ))/pi",
3725 "logwidth+0-?109 ",
3726 "logwidth+0-?137 ",
3727 "logwidth+0-?135 ",
3728 "11400000+?14 -0",
3729 "?11 *cos(pi*(?199 )/10800000)",
3730 "?9 *sin(pi*(?199 )/10800000)",
3731 "(10800000*atan2(?201 ,?200 ))/pi",
3732 "logwidth+0-?68 ",
3733 "logwidth+0-?96 ",
3734 "logwidth+0-?94 ",
3735 "13800000+?14 -0",
3736 "?11 *cos(pi*(?206 )/10800000)",
3737 "?9 *sin(pi*(?206 )/10800000)",
3738 "(10800000*atan2(?208 ,?207 ))/pi",
3739 "logwidth+0-?39 ",
3740 "logwidth+0-?27 ",
3741 "logwidth+0-?56 ",
3742 "logwidth+0-?54 ",
3743 "16200000+0-?14 ",
3744 "16200000+?14 -0",
3745 "?11 *cos(pi*(?215 )/10800000)",
3746 "?9 *sin(pi*(?215 )/10800000)",
3747 "(10800000*atan2(?217 ,?216 ))/pi",
3748 "?9 *cos(pi*(?218 )/10800000)",
3749 "?11 *sin(pi*(?218 )/10800000)",
3750 "sqrt(?219 *?219 +?220 *?220 +0*0)",
3751 "?11 *?9 /?221 ",
3752 "?222 *cos(pi*(?218 )/10800000)",
3753 "?222 *sin(pi*(?218 )/10800000)",
3754 "?26 +?223 -0",
3755 "?28 +?224 -0",
3756 "?11 *cos(pi*(?214 )/10800000)",
3757 "?9 *sin(pi*(?214 )/10800000)",
3758 "(10800000*atan2(?228 ,?227 ))/pi",
3759 "?26 +0-?223 ",
3760 "?225 +0-?4 ",
3761 "?230 +?4 -0",
3762 "?226 +0-?3 ",
3763 "?229 +0-?209 ",
3764 "(?56 +?54 )/2",
3765 "(?55 +?53 )/2",
3766 "(?96 +?94 )/2",
3767 "(?95 +?93 )/2",
3768 "(?137 +?135 )/2",
3769 "(?136 +?134 )/2",
3770 "(?178 +?176 )/2",
3771 "(?177 +?175 )/2",
3772 "(logwidth+0)/?241 ",
3773 "(logwidth+0)/?239 ",
3774 "(logwidth+0)/?237 ",
3775 "(logwidth+0)/?235 ",
3776 "(?32 )/60000.0",
3777 "(?97 )/60000.0",
3778 "(?72 )/60000.0",
3779 "(?138 )/60000.0",
3780 "(?113 )/60000.0",
3781 "(?179 )/60000.0",
3782 "(?154 )/60000.0",
3783 "(?191 )/60000.0",
3784 "(?187 )/60000.0",
3785 "(?179 )/60000.0",
3786 "(?195 )/60000.0",
3787 "(?138 )/60000.0",
3788 "(?202 )/60000.0",
3789 "(?97 )/60000.0",
3790 "(?209 )/60000.0",
3791 "(?234 )/60000.0",
3792 "(?218 )/60000.0",
3793 "(?234 )/60000.0"
3795 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3798 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
3800 Sequence< PropertyValue > aPropSequence (4);
3802 aPropSequence [0].Name = "Position";
3803 static const CustomShapeProvider::ParameterPairData aData =
3805 EnhancedCustomShapeParameterType::EQUATION,
3806 EnhancedCustomShapeParameterType::EQUATION,
3807 225, 226
3809 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3812 aPropSequence [1].Name = "RangeYMaximum";
3813 EnhancedCustomShapeParameter aParameter;
3814 Any aAny ((sal_Int32) 20000);
3815 aParameter.Value = aAny;
3816 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3817 aPropSequence [1].Value = makeAny (aParameter);
3820 aPropSequence [2].Name = "RangeYMinimum";
3821 EnhancedCustomShapeParameter aParameter;
3822 Any aAny ((sal_Int32) 0);
3823 aParameter.Value = aAny;
3824 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3825 aPropSequence [2].Value = makeAny (aParameter);
3828 aPropSequence [3].Name = "RefY";
3829 Any aAny ((sal_Int32) 0);
3830 aPropSequence [3].Value = makeAny (aAny);
3832 aPropSequenceSequence [0] = aPropSequence;
3835 Sequence< PropertyValue > aPropSequence (4);
3837 aPropSequence [0].Name = "Position";
3838 static const CustomShapeProvider::ParameterPairData aData =
3840 EnhancedCustomShapeParameterType::EQUATION,
3841 EnhancedCustomShapeParameterType::EQUATION,
3842 230, 226
3844 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3847 aPropSequence [1].Name = "RangeXMaximum";
3848 EnhancedCustomShapeParameter aParameter;
3849 Any aAny ((sal_Int32) 2679);
3850 aParameter.Value = aAny;
3851 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3852 aPropSequence [1].Value = makeAny (aParameter);
3855 aPropSequence [2].Name = "RangeXMinimum";
3856 EnhancedCustomShapeParameter aParameter;
3857 Any aAny ((sal_Int32) 0);
3858 aParameter.Value = aAny;
3859 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3860 aPropSequence [2].Value = makeAny (aParameter);
3863 aPropSequence [3].Name = "RefX";
3864 Any aAny ((sal_Int32) 1);
3865 aPropSequence [3].Value = makeAny (aAny);
3867 aPropSequenceSequence [1] = aPropSequence;
3869 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3872 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3875 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3878 Sequence< PropertyValue > aPropSequence (3);
3880 aPropSequence [0].Name = "Coordinates";
3881 static const CustomShapeProvider::ParameterPairData aData[] = {
3883 EnhancedCustomShapeParameterType::EQUATION,
3884 EnhancedCustomShapeParameterType::EQUATION,
3885 27, 29
3888 EnhancedCustomShapeParameterType::EQUATION,
3889 EnhancedCustomShapeParameterType::EQUATION,
3890 56, 55
3893 EnhancedCustomShapeParameterType::EQUATION,
3894 EnhancedCustomShapeParameterType::EQUATION,
3895 54, 53
3898 EnhancedCustomShapeParameterType::EQUATION,
3899 EnhancedCustomShapeParameterType::EQUATION,
3900 39, 40
3903 EnhancedCustomShapeParameterType::EQUATION,
3904 EnhancedCustomShapeParameterType::EQUATION,
3905 11, 9
3908 EnhancedCustomShapeParameterType::EQUATION,
3909 EnhancedCustomShapeParameterType::EQUATION,
3910 247, 248
3913 EnhancedCustomShapeParameterType::EQUATION,
3914 EnhancedCustomShapeParameterType::EQUATION,
3915 96, 95
3918 EnhancedCustomShapeParameterType::EQUATION,
3919 EnhancedCustomShapeParameterType::EQUATION,
3920 94, 93
3923 EnhancedCustomShapeParameterType::EQUATION,
3924 EnhancedCustomShapeParameterType::EQUATION,
3925 79, 80
3928 EnhancedCustomShapeParameterType::EQUATION,
3929 EnhancedCustomShapeParameterType::EQUATION,
3930 11, 9
3933 EnhancedCustomShapeParameterType::EQUATION,
3934 EnhancedCustomShapeParameterType::EQUATION,
3935 249, 250
3938 EnhancedCustomShapeParameterType::EQUATION,
3939 EnhancedCustomShapeParameterType::EQUATION,
3940 137, 136
3943 EnhancedCustomShapeParameterType::EQUATION,
3944 EnhancedCustomShapeParameterType::EQUATION,
3945 135, 134
3948 EnhancedCustomShapeParameterType::EQUATION,
3949 EnhancedCustomShapeParameterType::EQUATION,
3950 120, 121
3953 EnhancedCustomShapeParameterType::EQUATION,
3954 EnhancedCustomShapeParameterType::EQUATION,
3955 11, 9
3958 EnhancedCustomShapeParameterType::EQUATION,
3959 EnhancedCustomShapeParameterType::EQUATION,
3960 251, 252
3963 EnhancedCustomShapeParameterType::EQUATION,
3964 EnhancedCustomShapeParameterType::EQUATION,
3965 178, 177
3968 EnhancedCustomShapeParameterType::EQUATION,
3969 EnhancedCustomShapeParameterType::EQUATION,
3970 176, 175
3973 EnhancedCustomShapeParameterType::EQUATION,
3974 EnhancedCustomShapeParameterType::EQUATION,
3975 161, 162
3978 EnhancedCustomShapeParameterType::EQUATION,
3979 EnhancedCustomShapeParameterType::EQUATION,
3980 11, 9
3983 EnhancedCustomShapeParameterType::EQUATION,
3984 EnhancedCustomShapeParameterType::EQUATION,
3985 253, 254
3988 EnhancedCustomShapeParameterType::EQUATION,
3989 EnhancedCustomShapeParameterType::EQUATION,
3990 190, 175
3993 EnhancedCustomShapeParameterType::EQUATION,
3994 EnhancedCustomShapeParameterType::EQUATION,
3995 189, 177
3998 EnhancedCustomShapeParameterType::EQUATION,
3999 EnhancedCustomShapeParameterType::EQUATION,
4000 188, 151
4003 EnhancedCustomShapeParameterType::EQUATION,
4004 EnhancedCustomShapeParameterType::EQUATION,
4005 11, 9
4008 EnhancedCustomShapeParameterType::EQUATION,
4009 EnhancedCustomShapeParameterType::EQUATION,
4010 255, 256
4013 EnhancedCustomShapeParameterType::EQUATION,
4014 EnhancedCustomShapeParameterType::EQUATION,
4015 198, 134
4018 EnhancedCustomShapeParameterType::EQUATION,
4019 EnhancedCustomShapeParameterType::EQUATION,
4020 197, 136
4023 EnhancedCustomShapeParameterType::EQUATION,
4024 EnhancedCustomShapeParameterType::EQUATION,
4025 196, 110
4028 EnhancedCustomShapeParameterType::EQUATION,
4029 EnhancedCustomShapeParameterType::EQUATION,
4030 11, 9
4033 EnhancedCustomShapeParameterType::EQUATION,
4034 EnhancedCustomShapeParameterType::EQUATION,
4035 257, 258
4038 EnhancedCustomShapeParameterType::EQUATION,
4039 EnhancedCustomShapeParameterType::EQUATION,
4040 205, 93
4043 EnhancedCustomShapeParameterType::EQUATION,
4044 EnhancedCustomShapeParameterType::EQUATION,
4045 204, 95
4048 EnhancedCustomShapeParameterType::EQUATION,
4049 EnhancedCustomShapeParameterType::EQUATION,
4050 203, 69
4053 EnhancedCustomShapeParameterType::EQUATION,
4054 EnhancedCustomShapeParameterType::EQUATION,
4055 11, 9
4058 EnhancedCustomShapeParameterType::EQUATION,
4059 EnhancedCustomShapeParameterType::EQUATION,
4060 259, 260
4063 EnhancedCustomShapeParameterType::EQUATION,
4064 EnhancedCustomShapeParameterType::EQUATION,
4065 213, 53
4068 EnhancedCustomShapeParameterType::EQUATION,
4069 EnhancedCustomShapeParameterType::EQUATION,
4070 212, 55
4073 EnhancedCustomShapeParameterType::EQUATION,
4074 EnhancedCustomShapeParameterType::EQUATION,
4075 211, 29
4078 EnhancedCustomShapeParameterType::EQUATION,
4079 EnhancedCustomShapeParameterType::EQUATION,
4080 11, 9
4083 EnhancedCustomShapeParameterType::EQUATION,
4084 EnhancedCustomShapeParameterType::EQUATION,
4085 261, 262
4088 EnhancedCustomShapeParameterType::EQUATION,
4089 EnhancedCustomShapeParameterType::EQUATION,
4090 232, 233
4093 EnhancedCustomShapeParameterType::EQUATION,
4094 EnhancedCustomShapeParameterType::EQUATION,
4095 231, 233
4098 EnhancedCustomShapeParameterType::EQUATION,
4099 EnhancedCustomShapeParameterType::EQUATION,
4100 225, 226
4103 EnhancedCustomShapeParameterType::EQUATION,
4104 EnhancedCustomShapeParameterType::EQUATION,
4105 11, 9
4108 EnhancedCustomShapeParameterType::EQUATION,
4109 EnhancedCustomShapeParameterType::EQUATION,
4110 263, 264
4113 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4116 aPropSequence [1].Name = "Segments";
4117 static const sal_uInt16 nValues[] = {
4118 // Command, Count
4119 1,1,
4120 2,3,
4121 17,1,
4122 2,3,
4123 17,1,
4124 2,3,
4125 17,1,
4126 2,3,
4127 17,1,
4128 2,3,
4129 17,1,
4130 2,3,
4131 17,1,
4132 2,3,
4133 17,1,
4134 2,3,
4135 17,1,
4136 2,3,
4137 17,1,
4138 4,0,
4141 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4144 aPropSequence [2].Name = "TextFrames";
4145 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4147 EnhancedCustomShapeTextFrame aTextFrame;
4149 static const CustomShapeProvider::ParameterPairData aData =
4151 EnhancedCustomShapeParameterType::EQUATION,
4152 EnhancedCustomShapeParameterType::EQUATION,
4153 210, 40
4155 aTextFrame.TopLeft = createParameterPair(&aData);
4158 static const CustomShapeProvider::ParameterPairData aData =
4160 EnhancedCustomShapeParameterType::EQUATION,
4161 EnhancedCustomShapeParameterType::EQUATION,
4162 39, 121
4164 aTextFrame.BottomRight = createParameterPair(&aData);
4166 aTextFrameSeq [0] = aTextFrame;
4168 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4170 aPropertyMap [PROP_Path] <<= aPropSequence;
4173 awt::Rectangle aRectangle;
4174 aRectangle.X = 0;
4175 aRectangle.Y = 0;
4176 aRectangle.Width = 0;
4177 aRectangle.Height = 0;
4178 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4180 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-gear9");
4182 return aPropertyMap;
4185 class ShapeCround1Rect : public CustomShapeProvider
4187 virtual PropertyMap getProperties()
4189 PropertyMap aPropertyMap;
4192 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4194 Any aAny ((sal_Int32) 16667);
4195 aAdjSequence [0].Value = aAny;
4196 aAdjSequence [0].Name = "adj";
4198 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4201 static const char *aStrings[] = {
4202 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
4203 "min(logwidth,logheight)",
4204 "?1 *?0 /100000",
4205 "logwidth+0-?2 ",
4206 "?2 *29289/100000",
4207 "logwidth+0-?4 ",
4208 "logwidth/2",
4209 "logheight/2",
4210 "logheight",
4211 "logwidth",
4212 "(16200000)/60000.0",
4213 "(5400000)/60000.0"
4215 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4218 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4220 Sequence< PropertyValue > aPropSequence (4);
4222 aPropSequence [0].Name = "Position";
4223 static const CustomShapeProvider::ParameterPairData aData =
4225 EnhancedCustomShapeParameterType::EQUATION,
4226 EnhancedCustomShapeParameterType::NORMAL,
4227 3, 0
4229 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4232 aPropSequence [1].Name = "RangeXMaximum";
4233 EnhancedCustomShapeParameter aParameter;
4234 Any aAny ((sal_Int32) 50000);
4235 aParameter.Value = aAny;
4236 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4237 aPropSequence [1].Value = makeAny (aParameter);
4240 aPropSequence [2].Name = "RangeXMinimum";
4241 EnhancedCustomShapeParameter aParameter;
4242 Any aAny ((sal_Int32) 0);
4243 aParameter.Value = aAny;
4244 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4245 aPropSequence [2].Value = makeAny (aParameter);
4248 aPropSequence [3].Name = "RefX";
4249 Any aAny ((sal_Int32) 0);
4250 aPropSequence [3].Value = makeAny (aAny);
4252 aPropSequenceSequence [0] = aPropSequence;
4254 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4257 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4260 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4263 Sequence< PropertyValue > aPropSequence (3);
4265 aPropSequence [0].Name = "Coordinates";
4266 static const CustomShapeProvider::ParameterPairData aData[] = {
4268 EnhancedCustomShapeParameterType::NORMAL,
4269 EnhancedCustomShapeParameterType::NORMAL,
4270 0, 0
4273 EnhancedCustomShapeParameterType::EQUATION,
4274 EnhancedCustomShapeParameterType::NORMAL,
4275 3, 0
4278 EnhancedCustomShapeParameterType::EQUATION,
4279 EnhancedCustomShapeParameterType::EQUATION,
4280 2, 2
4283 EnhancedCustomShapeParameterType::EQUATION,
4284 EnhancedCustomShapeParameterType::EQUATION,
4285 10, 11
4288 EnhancedCustomShapeParameterType::EQUATION,
4289 EnhancedCustomShapeParameterType::EQUATION,
4290 9, 8
4293 EnhancedCustomShapeParameterType::NORMAL,
4294 EnhancedCustomShapeParameterType::EQUATION,
4295 0, 8
4298 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4301 aPropSequence [1].Name = "Segments";
4302 static const sal_uInt16 nValues[] = {
4303 // Command, Count
4304 1,1,
4305 2,1,
4306 17,1,
4307 2,2,
4308 4,0,
4311 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4314 aPropSequence [2].Name = "TextFrames";
4315 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4317 EnhancedCustomShapeTextFrame aTextFrame;
4319 static const CustomShapeProvider::ParameterPairData aData =
4321 EnhancedCustomShapeParameterType::NORMAL,
4322 EnhancedCustomShapeParameterType::NORMAL,
4323 0, 0
4325 aTextFrame.TopLeft = createParameterPair(&aData);
4328 static const CustomShapeProvider::ParameterPairData aData =
4330 EnhancedCustomShapeParameterType::EQUATION,
4331 EnhancedCustomShapeParameterType::EQUATION,
4332 5, 8
4334 aTextFrame.BottomRight = createParameterPair(&aData);
4336 aTextFrameSeq [0] = aTextFrame;
4338 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4340 aPropertyMap [PROP_Path] <<= aPropSequence;
4343 awt::Rectangle aRectangle;
4344 aRectangle.X = 0;
4345 aRectangle.Y = 0;
4346 aRectangle.Width = 0;
4347 aRectangle.Height = 0;
4348 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4350 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-round1Rect");
4352 return aPropertyMap;
4355 class ShapeCsun : public CustomShapeProvider
4357 virtual PropertyMap getProperties()
4359 PropertyMap aPropertyMap;
4362 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4364 Any aAny ((sal_Int32) 25000);
4365 aAdjSequence [0].Value = aAny;
4366 aAdjSequence [0].Name = "adj";
4368 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4371 static const char *aStrings[] = {
4372 "if(12500-$0 ,12500,if(46875-$0 ,$0 ,46875))",
4373 "50000+0-?0 ",
4374 "?1 *30274/32768",
4375 "?1 *12540/32768",
4376 "?2 +50000-0",
4377 "?3 +50000-0",
4378 "50000+0-?2 ",
4379 "50000+0-?3 ",
4380 "?1 *23170/32768",
4381 "50000+?8 -0",
4382 "50000+0-?8 ",
4383 "?6 *3/4",
4384 "?7 *3/4",
4385 "?11 +3662-0",
4386 "?12 +3662-0",
4387 "?12 +12500-0",
4388 "100000+0-?11 ",
4389 "100000+0-?13 ",
4390 "100000+0-?14 ",
4391 "100000+0-?15 ",
4392 "logwidth*18436/21600",
4393 "logheight*3163/21600",
4394 "logwidth*3163/21600",
4395 "logheight*18436/21600",
4396 "logwidth*?9 /100000",
4397 "logwidth*?10 /100000",
4398 "logwidth*?11 /100000",
4399 "logwidth*?13 /100000",
4400 "logwidth*?14 /100000",
4401 "logwidth*?15 /100000",
4402 "logwidth*?16 /100000",
4403 "logwidth*?17 /100000",
4404 "logwidth*?18 /100000",
4405 "logwidth*?19 /100000",
4406 "logwidth*?0 /100000",
4407 "logwidth*?1 /100000",
4408 "logheight*?1 /100000",
4409 "logheight*?9 /100000",
4410 "logheight*?10 /100000",
4411 "logheight*?11 /100000",
4412 "logheight*?13 /100000",
4413 "logheight*?14 /100000",
4414 "logheight*?15 /100000",
4415 "logheight*?16 /100000",
4416 "logheight*?17 /100000",
4417 "logheight*?18 /100000",
4418 "logheight*?19 /100000",
4419 "logheight/2",
4420 "logwidth/2",
4421 "logheight",
4422 "logwidth",
4423 "(10800000)/60000.0",
4424 "(21600000)/60000.0"
4426 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4429 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4431 Sequence< PropertyValue > aPropSequence (4);
4433 aPropSequence [0].Name = "Position";
4434 static const CustomShapeProvider::ParameterPairData aData =
4436 EnhancedCustomShapeParameterType::EQUATION,
4437 EnhancedCustomShapeParameterType::EQUATION,
4438 34, 47
4440 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4443 aPropSequence [1].Name = "RangeXMaximum";
4444 EnhancedCustomShapeParameter aParameter;
4445 Any aAny ((sal_Int32) 46875);
4446 aParameter.Value = aAny;
4447 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4448 aPropSequence [1].Value = makeAny (aParameter);
4451 aPropSequence [2].Name = "RangeXMinimum";
4452 EnhancedCustomShapeParameter aParameter;
4453 Any aAny ((sal_Int32) 12500);
4454 aParameter.Value = aAny;
4455 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4456 aPropSequence [2].Value = makeAny (aParameter);
4459 aPropSequence [3].Name = "RefX";
4460 Any aAny ((sal_Int32) 0);
4461 aPropSequence [3].Value = makeAny (aAny);
4463 aPropSequenceSequence [0] = aPropSequence;
4465 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4468 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4471 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4474 Sequence< PropertyValue > aPropSequence (3);
4476 aPropSequence [0].Name = "Coordinates";
4477 static const CustomShapeProvider::ParameterPairData aData[] = {
4479 EnhancedCustomShapeParameterType::EQUATION,
4480 EnhancedCustomShapeParameterType::EQUATION,
4481 50, 47
4484 EnhancedCustomShapeParameterType::EQUATION,
4485 EnhancedCustomShapeParameterType::EQUATION,
4486 30, 46
4489 EnhancedCustomShapeParameterType::EQUATION,
4490 EnhancedCustomShapeParameterType::EQUATION,
4491 30, 42
4494 EnhancedCustomShapeParameterType::EQUATION,
4495 EnhancedCustomShapeParameterType::EQUATION,
4496 20, 21
4499 EnhancedCustomShapeParameterType::EQUATION,
4500 EnhancedCustomShapeParameterType::EQUATION,
4501 31, 41
4504 EnhancedCustomShapeParameterType::EQUATION,
4505 EnhancedCustomShapeParameterType::EQUATION,
4506 32, 40
4509 EnhancedCustomShapeParameterType::EQUATION,
4510 EnhancedCustomShapeParameterType::NORMAL,
4511 48, 0
4514 EnhancedCustomShapeParameterType::EQUATION,
4515 EnhancedCustomShapeParameterType::EQUATION,
4516 33, 39
4519 EnhancedCustomShapeParameterType::EQUATION,
4520 EnhancedCustomShapeParameterType::EQUATION,
4521 29, 39
4524 EnhancedCustomShapeParameterType::EQUATION,
4525 EnhancedCustomShapeParameterType::EQUATION,
4526 22, 21
4529 EnhancedCustomShapeParameterType::EQUATION,
4530 EnhancedCustomShapeParameterType::EQUATION,
4531 28, 40
4534 EnhancedCustomShapeParameterType::EQUATION,
4535 EnhancedCustomShapeParameterType::EQUATION,
4536 27, 41
4539 EnhancedCustomShapeParameterType::NORMAL,
4540 EnhancedCustomShapeParameterType::EQUATION,
4541 0, 47
4544 EnhancedCustomShapeParameterType::EQUATION,
4545 EnhancedCustomShapeParameterType::EQUATION,
4546 26, 42
4549 EnhancedCustomShapeParameterType::EQUATION,
4550 EnhancedCustomShapeParameterType::EQUATION,
4551 26, 46
4554 EnhancedCustomShapeParameterType::EQUATION,
4555 EnhancedCustomShapeParameterType::EQUATION,
4556 22, 23
4559 EnhancedCustomShapeParameterType::EQUATION,
4560 EnhancedCustomShapeParameterType::EQUATION,
4561 27, 45
4564 EnhancedCustomShapeParameterType::EQUATION,
4565 EnhancedCustomShapeParameterType::EQUATION,
4566 28, 44
4569 EnhancedCustomShapeParameterType::EQUATION,
4570 EnhancedCustomShapeParameterType::EQUATION,
4571 48, 49
4574 EnhancedCustomShapeParameterType::EQUATION,
4575 EnhancedCustomShapeParameterType::EQUATION,
4576 29, 43
4579 EnhancedCustomShapeParameterType::EQUATION,
4580 EnhancedCustomShapeParameterType::EQUATION,
4581 33, 43
4584 EnhancedCustomShapeParameterType::EQUATION,
4585 EnhancedCustomShapeParameterType::EQUATION,
4586 20, 23
4589 EnhancedCustomShapeParameterType::EQUATION,
4590 EnhancedCustomShapeParameterType::EQUATION,
4591 32, 44
4594 EnhancedCustomShapeParameterType::EQUATION,
4595 EnhancedCustomShapeParameterType::EQUATION,
4596 31, 45
4599 EnhancedCustomShapeParameterType::EQUATION,
4600 EnhancedCustomShapeParameterType::EQUATION,
4601 34, 47
4604 EnhancedCustomShapeParameterType::EQUATION,
4605 EnhancedCustomShapeParameterType::EQUATION,
4606 35, 36
4609 EnhancedCustomShapeParameterType::EQUATION,
4610 EnhancedCustomShapeParameterType::EQUATION,
4611 51, 52
4614 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4617 aPropSequence [1].Name = "Segments";
4618 static const sal_uInt16 nValues[] = {
4619 // Command, Count
4620 1,1,
4621 2,2,
4622 4,0,
4623 1,1,
4624 2,2,
4625 4,0,
4626 1,1,
4627 2,2,
4628 4,0,
4629 1,1,
4630 2,2,
4631 4,0,
4632 1,1,
4633 2,2,
4634 4,0,
4635 1,1,
4636 2,2,
4637 4,0,
4638 1,1,
4639 2,2,
4640 4,0,
4641 1,1,
4642 2,2,
4643 4,0,
4644 1,1,
4645 17,1,
4646 4,0,
4649 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4652 aPropSequence [2].Name = "TextFrames";
4653 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4655 EnhancedCustomShapeTextFrame aTextFrame;
4657 static const CustomShapeProvider::ParameterPairData aData =
4659 EnhancedCustomShapeParameterType::EQUATION,
4660 EnhancedCustomShapeParameterType::EQUATION,
4661 25, 38
4663 aTextFrame.TopLeft = createParameterPair(&aData);
4666 static const CustomShapeProvider::ParameterPairData aData =
4668 EnhancedCustomShapeParameterType::EQUATION,
4669 EnhancedCustomShapeParameterType::EQUATION,
4670 24, 37
4672 aTextFrame.BottomRight = createParameterPair(&aData);
4674 aTextFrameSeq [0] = aTextFrame;
4676 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4678 aPropertyMap [PROP_Path] <<= aPropSequence;
4681 awt::Rectangle aRectangle;
4682 aRectangle.X = 0;
4683 aRectangle.Y = 0;
4684 aRectangle.Width = 0;
4685 aRectangle.Height = 0;
4686 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4688 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-sun");
4690 return aPropertyMap;
4693 class ShapeCplaque : public CustomShapeProvider
4695 virtual PropertyMap getProperties()
4697 PropertyMap aPropertyMap;
4700 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4702 Any aAny ((sal_Int32) 16667);
4703 aAdjSequence [0].Value = aAny;
4704 aAdjSequence [0].Name = "adj";
4706 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4709 static const char *aStrings[] = {
4710 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
4711 "min(logwidth,logheight)",
4712 "?1 *?0 /100000",
4713 "logwidth+0-?2 ",
4714 "logheight+0-?2 ",
4715 "?2 *70711/100000",
4716 "logwidth+0-?5 ",
4717 "logheight+0-?5 ",
4718 "logwidth/2",
4719 "logheight/2",
4720 "logheight",
4721 "logwidth",
4722 "(5400000)/60000.0",
4723 "(-5400000)/60000.0",
4724 "(10800000)/60000.0",
4725 "(-5400000)/60000.0",
4726 "(16200000)/60000.0",
4727 "(-5400000)/60000.0",
4728 "(0)/60000.0",
4729 "(-5400000)/60000.0"
4731 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4734 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4736 Sequence< PropertyValue > aPropSequence (4);
4738 aPropSequence [0].Name = "Position";
4739 static const CustomShapeProvider::ParameterPairData aData =
4741 EnhancedCustomShapeParameterType::EQUATION,
4742 EnhancedCustomShapeParameterType::NORMAL,
4743 2, 0
4745 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4748 aPropSequence [1].Name = "RangeXMaximum";
4749 EnhancedCustomShapeParameter aParameter;
4750 Any aAny ((sal_Int32) 50000);
4751 aParameter.Value = aAny;
4752 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4753 aPropSequence [1].Value = makeAny (aParameter);
4756 aPropSequence [2].Name = "RangeXMinimum";
4757 EnhancedCustomShapeParameter aParameter;
4758 Any aAny ((sal_Int32) 0);
4759 aParameter.Value = aAny;
4760 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4761 aPropSequence [2].Value = makeAny (aParameter);
4764 aPropSequence [3].Name = "RefX";
4765 Any aAny ((sal_Int32) 0);
4766 aPropSequence [3].Value = makeAny (aAny);
4768 aPropSequenceSequence [0] = aPropSequence;
4770 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4773 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4776 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4779 Sequence< PropertyValue > aPropSequence (3);
4781 aPropSequence [0].Name = "Coordinates";
4782 static const CustomShapeProvider::ParameterPairData aData[] = {
4784 EnhancedCustomShapeParameterType::NORMAL,
4785 EnhancedCustomShapeParameterType::EQUATION,
4786 0, 2
4789 EnhancedCustomShapeParameterType::EQUATION,
4790 EnhancedCustomShapeParameterType::EQUATION,
4791 2, 2
4794 EnhancedCustomShapeParameterType::EQUATION,
4795 EnhancedCustomShapeParameterType::EQUATION,
4796 12, 13
4799 EnhancedCustomShapeParameterType::EQUATION,
4800 EnhancedCustomShapeParameterType::NORMAL,
4801 3, 0
4804 EnhancedCustomShapeParameterType::EQUATION,
4805 EnhancedCustomShapeParameterType::EQUATION,
4806 2, 2
4809 EnhancedCustomShapeParameterType::EQUATION,
4810 EnhancedCustomShapeParameterType::EQUATION,
4811 14, 15
4814 EnhancedCustomShapeParameterType::EQUATION,
4815 EnhancedCustomShapeParameterType::EQUATION,
4816 11, 4
4819 EnhancedCustomShapeParameterType::EQUATION,
4820 EnhancedCustomShapeParameterType::EQUATION,
4821 2, 2
4824 EnhancedCustomShapeParameterType::EQUATION,
4825 EnhancedCustomShapeParameterType::EQUATION,
4826 16, 17
4829 EnhancedCustomShapeParameterType::EQUATION,
4830 EnhancedCustomShapeParameterType::EQUATION,
4831 2, 10
4834 EnhancedCustomShapeParameterType::EQUATION,
4835 EnhancedCustomShapeParameterType::EQUATION,
4836 2, 2
4839 EnhancedCustomShapeParameterType::EQUATION,
4840 EnhancedCustomShapeParameterType::EQUATION,
4841 18, 19
4844 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4847 aPropSequence [1].Name = "Segments";
4848 static const sal_uInt16 nValues[] = {
4849 // Command, Count
4850 1,1,
4851 17,1,
4852 2,1,
4853 17,1,
4854 2,1,
4855 17,1,
4856 2,1,
4857 17,1,
4858 4,0,
4861 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4864 aPropSequence [2].Name = "TextFrames";
4865 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4867 EnhancedCustomShapeTextFrame aTextFrame;
4869 static const CustomShapeProvider::ParameterPairData aData =
4871 EnhancedCustomShapeParameterType::EQUATION,
4872 EnhancedCustomShapeParameterType::EQUATION,
4873 5, 5
4875 aTextFrame.TopLeft = createParameterPair(&aData);
4878 static const CustomShapeProvider::ParameterPairData aData =
4880 EnhancedCustomShapeParameterType::EQUATION,
4881 EnhancedCustomShapeParameterType::EQUATION,
4882 6, 7
4884 aTextFrame.BottomRight = createParameterPair(&aData);
4886 aTextFrameSeq [0] = aTextFrame;
4888 aPropSequence [2].Value = makeAny (aTextFrameSeq);
4890 aPropertyMap [PROP_Path] <<= aPropSequence;
4893 awt::Rectangle aRectangle;
4894 aRectangle.X = 0;
4895 aRectangle.Y = 0;
4896 aRectangle.Width = 0;
4897 aRectangle.Height = 0;
4898 aPropertyMap [PROP_ViewBox] <<= aRectangle;
4900 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-plaque");
4902 return aPropertyMap;
4905 class ShapeCchevron : public CustomShapeProvider
4907 virtual PropertyMap getProperties()
4909 PropertyMap aPropertyMap;
4912 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4914 Any aAny ((sal_Int32) 50000);
4915 aAdjSequence [0].Value = aAny;
4916 aAdjSequence [0].Name = "adj";
4918 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4921 static const char *aStrings[] = {
4922 "min(logwidth,logheight)",
4923 "100000*logwidth/?0 ",
4924 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
4925 "?0 *?2 /100000",
4926 "logwidth+0-?3 ",
4927 "?4 *1/2",
4928 "?4 +0-?3 ",
4929 "if(?6 ,?3 ,0)",
4930 "if(?6 ,?4 ,logwidth)",
4931 "logheight/2",
4932 "logheight",
4933 "logwidth"
4935 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4938 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4940 Sequence< PropertyValue > aPropSequence (4);
4942 aPropSequence [0].Name = "Position";
4943 static const CustomShapeProvider::ParameterPairData aData =
4945 EnhancedCustomShapeParameterType::EQUATION,
4946 EnhancedCustomShapeParameterType::NORMAL,
4947 4, 0
4949 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4952 aPropSequence [1].Name = "RangeXMaximum";
4953 EnhancedCustomShapeParameter aParameter;
4954 Any aAny ((sal_Int32) 1);
4955 aParameter.Value = aAny;
4956 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
4957 aPropSequence [1].Value = makeAny (aParameter);
4960 aPropSequence [2].Name = "RangeXMinimum";
4961 EnhancedCustomShapeParameter aParameter;
4962 Any aAny ((sal_Int32) 0);
4963 aParameter.Value = aAny;
4964 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4965 aPropSequence [2].Value = makeAny (aParameter);
4968 aPropSequence [3].Name = "RefX";
4969 Any aAny ((sal_Int32) 0);
4970 aPropSequence [3].Value = makeAny (aAny);
4972 aPropSequenceSequence [0] = aPropSequence;
4974 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4977 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4980 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4983 Sequence< PropertyValue > aPropSequence (3);
4985 aPropSequence [0].Name = "Coordinates";
4986 static const CustomShapeProvider::ParameterPairData aData[] = {
4988 EnhancedCustomShapeParameterType::NORMAL,
4989 EnhancedCustomShapeParameterType::NORMAL,
4990 0, 0
4993 EnhancedCustomShapeParameterType::EQUATION,
4994 EnhancedCustomShapeParameterType::NORMAL,
4995 4, 0
4998 EnhancedCustomShapeParameterType::EQUATION,
4999 EnhancedCustomShapeParameterType::EQUATION,
5000 11, 9
5003 EnhancedCustomShapeParameterType::EQUATION,
5004 EnhancedCustomShapeParameterType::EQUATION,
5005 4, 10
5008 EnhancedCustomShapeParameterType::NORMAL,
5009 EnhancedCustomShapeParameterType::EQUATION,
5010 0, 10
5013 EnhancedCustomShapeParameterType::EQUATION,
5014 EnhancedCustomShapeParameterType::EQUATION,
5015 3, 9
5018 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5021 aPropSequence [1].Name = "Segments";
5022 static const sal_uInt16 nValues[] = {
5023 // Command, Count
5024 1,1,
5025 2,5,
5026 4,0,
5029 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5032 aPropSequence [2].Name = "TextFrames";
5033 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5035 EnhancedCustomShapeTextFrame aTextFrame;
5037 static const CustomShapeProvider::ParameterPairData aData =
5039 EnhancedCustomShapeParameterType::EQUATION,
5040 EnhancedCustomShapeParameterType::NORMAL,
5041 7, 0
5043 aTextFrame.TopLeft = createParameterPair(&aData);
5046 static const CustomShapeProvider::ParameterPairData aData =
5048 EnhancedCustomShapeParameterType::EQUATION,
5049 EnhancedCustomShapeParameterType::EQUATION,
5050 8, 10
5052 aTextFrame.BottomRight = createParameterPair(&aData);
5054 aTextFrameSeq [0] = aTextFrame;
5056 aPropSequence [2].Value = makeAny (aTextFrameSeq);
5058 aPropertyMap [PROP_Path] <<= aPropSequence;
5061 awt::Rectangle aRectangle;
5062 aRectangle.X = 0;
5063 aRectangle.Y = 0;
5064 aRectangle.Width = 0;
5065 aRectangle.Height = 0;
5066 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5068 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-chevron");
5070 return aPropertyMap;
5073 class ShapeCflowChartPreparation : public CustomShapeProvider
5075 virtual PropertyMap getProperties()
5077 PropertyMap aPropertyMap;
5080 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5083 static const char *aStrings[] = {
5084 "logwidth*4/5",
5085 "logwidth/2",
5086 "logheight/2",
5087 "logheight",
5088 "logwidth",
5089 "logwidth/5"
5091 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5094 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5097 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5100 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5103 Sequence< PropertyValue > aPropSequence (4);
5105 aPropSequence [0].Name = "Coordinates";
5106 static const CustomShapeProvider::ParameterPairData aData[] = {
5108 EnhancedCustomShapeParameterType::NORMAL,
5109 EnhancedCustomShapeParameterType::NORMAL,
5110 0, 5
5113 EnhancedCustomShapeParameterType::NORMAL,
5114 EnhancedCustomShapeParameterType::NORMAL,
5115 2, 0
5118 EnhancedCustomShapeParameterType::NORMAL,
5119 EnhancedCustomShapeParameterType::NORMAL,
5120 8, 0
5123 EnhancedCustomShapeParameterType::NORMAL,
5124 EnhancedCustomShapeParameterType::NORMAL,
5125 10, 5
5128 EnhancedCustomShapeParameterType::NORMAL,
5129 EnhancedCustomShapeParameterType::NORMAL,
5130 8, 10
5133 EnhancedCustomShapeParameterType::NORMAL,
5134 EnhancedCustomShapeParameterType::NORMAL,
5135 2, 10
5138 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5141 aPropSequence [1].Name = "Segments";
5142 static const sal_uInt16 nValues[] = {
5143 // Command, Count
5144 1,1,
5145 2,5,
5146 4,0,
5149 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5152 aPropSequence [2].Name = "SubViewSize";
5153 Sequence< awt::Size > aSizeSequence (1);
5155 awt::Size aSize;
5156 aSize.Width = 10;
5157 aSize.Height = 10;
5158 aSizeSequence [0] = aSize;
5160 aPropSequence [2].Value = makeAny (aSizeSequence);
5163 aPropSequence [3].Name = "TextFrames";
5164 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5166 EnhancedCustomShapeTextFrame aTextFrame;
5168 static const CustomShapeProvider::ParameterPairData aData =
5170 EnhancedCustomShapeParameterType::EQUATION,
5171 EnhancedCustomShapeParameterType::NORMAL,
5172 5, 0
5174 aTextFrame.TopLeft = createParameterPair(&aData);
5177 static const CustomShapeProvider::ParameterPairData aData =
5179 EnhancedCustomShapeParameterType::EQUATION,
5180 EnhancedCustomShapeParameterType::EQUATION,
5181 0, 3
5183 aTextFrame.BottomRight = createParameterPair(&aData);
5185 aTextFrameSeq [0] = aTextFrame;
5187 aPropSequence [3].Value = makeAny (aTextFrameSeq);
5189 aPropertyMap [PROP_Path] <<= aPropSequence;
5192 awt::Rectangle aRectangle;
5193 aRectangle.X = 0;
5194 aRectangle.Y = 0;
5195 aRectangle.Width = 0;
5196 aRectangle.Height = 0;
5197 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5199 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartPreparation");
5201 return aPropertyMap;
5204 class ShapeCdiagStripe : public CustomShapeProvider
5206 virtual PropertyMap getProperties()
5208 PropertyMap aPropertyMap;
5211 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
5213 Any aAny ((sal_Int32) 50000);
5214 aAdjSequence [0].Value = aAny;
5215 aAdjSequence [0].Name = "adj";
5217 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5220 static const char *aStrings[] = {
5221 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
5222 "logwidth*?0 /100000",
5223 "?1 *1/2",
5224 "(?1 +logwidth)/2",
5225 "logheight*?0 /100000",
5226 "?4 *1/2",
5227 "(?4 +logheight)/2",
5228 "logwidth/2",
5229 "logheight/2",
5230 "logwidth",
5231 "logheight"
5233 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5236 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
5238 Sequence< PropertyValue > aPropSequence (4);
5240 aPropSequence [0].Name = "Position";
5241 static const CustomShapeProvider::ParameterPairData aData =
5243 EnhancedCustomShapeParameterType::NORMAL,
5244 EnhancedCustomShapeParameterType::EQUATION,
5245 0, 4
5247 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5250 aPropSequence [1].Name = "RangeYMaximum";
5251 EnhancedCustomShapeParameter aParameter;
5252 Any aAny ((sal_Int32) 100000);
5253 aParameter.Value = aAny;
5254 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5255 aPropSequence [1].Value = makeAny (aParameter);
5258 aPropSequence [2].Name = "RangeYMinimum";
5259 EnhancedCustomShapeParameter aParameter;
5260 Any aAny ((sal_Int32) 0);
5261 aParameter.Value = aAny;
5262 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5263 aPropSequence [2].Value = makeAny (aParameter);
5266 aPropSequence [3].Name = "RefY";
5267 Any aAny ((sal_Int32) 0);
5268 aPropSequence [3].Value = makeAny (aAny);
5270 aPropSequenceSequence [0] = aPropSequence;
5272 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5275 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5278 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5281 Sequence< PropertyValue > aPropSequence (3);
5283 aPropSequence [0].Name = "Coordinates";
5284 static const CustomShapeProvider::ParameterPairData aData[] = {
5286 EnhancedCustomShapeParameterType::NORMAL,
5287 EnhancedCustomShapeParameterType::EQUATION,
5288 0, 4
5291 EnhancedCustomShapeParameterType::EQUATION,
5292 EnhancedCustomShapeParameterType::NORMAL,
5293 1, 0
5296 EnhancedCustomShapeParameterType::EQUATION,
5297 EnhancedCustomShapeParameterType::NORMAL,
5298 9, 0
5301 EnhancedCustomShapeParameterType::NORMAL,
5302 EnhancedCustomShapeParameterType::EQUATION,
5303 0, 10
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,
5317 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5320 aPropSequence [2].Name = "TextFrames";
5321 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5323 EnhancedCustomShapeTextFrame aTextFrame;
5325 static const CustomShapeProvider::ParameterPairData aData =
5327 EnhancedCustomShapeParameterType::NORMAL,
5328 EnhancedCustomShapeParameterType::NORMAL,
5329 0, 0
5331 aTextFrame.TopLeft = createParameterPair(&aData);
5334 static const CustomShapeProvider::ParameterPairData aData =
5336 EnhancedCustomShapeParameterType::EQUATION,
5337 EnhancedCustomShapeParameterType::EQUATION,
5338 3, 6
5340 aTextFrame.BottomRight = createParameterPair(&aData);
5342 aTextFrameSeq [0] = aTextFrame;
5344 aPropSequence [2].Value = makeAny (aTextFrameSeq);
5346 aPropertyMap [PROP_Path] <<= aPropSequence;
5349 awt::Rectangle aRectangle;
5350 aRectangle.X = 0;
5351 aRectangle.Y = 0;
5352 aRectangle.Width = 0;
5353 aRectangle.Height = 0;
5354 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5356 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-diagStripe");
5358 return aPropertyMap;
5361 class ShapeCpentagon : public CustomShapeProvider
5363 virtual PropertyMap getProperties()
5365 PropertyMap aPropertyMap;
5368 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
5370 Any aAny ((sal_Int32) 105146);
5371 aAdjSequence [0].Value = aAny;
5372 aAdjSequence [0].Name = "hf";
5375 Any aAny ((sal_Int32) 110557);
5376 aAdjSequence [1].Value = aAny;
5377 aAdjSequence [1].Name = "vf";
5379 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5382 static const char *aStrings[] = {
5383 "logwidth/2",
5384 "?0 *$0 /100000",
5385 "logheight/2",
5386 "?2 *$1 /100000",
5387 "logheight/2",
5388 "?4 *$1 /100000",
5389 "?1 *cos(pi*(1080000)/10800000)",
5390 "?1 *cos(pi*(18360000)/10800000)",
5391 "?3 *sin(pi*(1080000)/10800000)",
5392 "?3 *sin(pi*(18360000)/10800000)",
5393 "logwidth/2",
5394 "?10 +0-?6 ",
5395 "?10 +0-?7 ",
5396 "?10 +?7 -0",
5397 "?10 +?6 -0",
5398 "?5 +0-?8 ",
5399 "?5 +0-?9 ",
5400 "?15 *?7 /?6 ",
5401 "logheight"
5403 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5406 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5409 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5412 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5415 Sequence< PropertyValue > aPropSequence (3);
5417 aPropSequence [0].Name = "Coordinates";
5418 static const CustomShapeProvider::ParameterPairData aData[] = {
5420 EnhancedCustomShapeParameterType::EQUATION,
5421 EnhancedCustomShapeParameterType::EQUATION,
5422 11, 15
5425 EnhancedCustomShapeParameterType::EQUATION,
5426 EnhancedCustomShapeParameterType::NORMAL,
5427 10, 0
5430 EnhancedCustomShapeParameterType::EQUATION,
5431 EnhancedCustomShapeParameterType::EQUATION,
5432 14, 15
5435 EnhancedCustomShapeParameterType::EQUATION,
5436 EnhancedCustomShapeParameterType::EQUATION,
5437 13, 16
5440 EnhancedCustomShapeParameterType::EQUATION,
5441 EnhancedCustomShapeParameterType::EQUATION,
5442 12, 16
5445 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5448 aPropSequence [1].Name = "Segments";
5449 static const sal_uInt16 nValues[] = {
5450 // Command, Count
5451 1,1,
5452 2,4,
5453 4,0,
5456 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5459 aPropSequence [2].Name = "TextFrames";
5460 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5462 EnhancedCustomShapeTextFrame aTextFrame;
5464 static const CustomShapeProvider::ParameterPairData aData =
5466 EnhancedCustomShapeParameterType::EQUATION,
5467 EnhancedCustomShapeParameterType::EQUATION,
5468 12, 17
5470 aTextFrame.TopLeft = createParameterPair(&aData);
5473 static const CustomShapeProvider::ParameterPairData aData =
5475 EnhancedCustomShapeParameterType::EQUATION,
5476 EnhancedCustomShapeParameterType::EQUATION,
5477 13, 16
5479 aTextFrame.BottomRight = createParameterPair(&aData);
5481 aTextFrameSeq [0] = aTextFrame;
5483 aPropSequence [2].Value = makeAny (aTextFrameSeq);
5485 aPropertyMap [PROP_Path] <<= aPropSequence;
5488 awt::Rectangle aRectangle;
5489 aRectangle.X = 0;
5490 aRectangle.Y = 0;
5491 aRectangle.Width = 0;
5492 aRectangle.Height = 0;
5493 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5495 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-pentagon");
5497 return aPropertyMap;
5500 class ShapeCfunnel : public CustomShapeProvider
5502 virtual PropertyMap getProperties()
5504 PropertyMap aPropertyMap;
5507 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5510 static const char *aStrings[] = {
5511 "min(logwidth,logheight)",
5512 "?0 *1/20",
5513 "logwidth/2",
5514 "?2 +0-?1 ",
5515 "logheight/4",
5516 "?4 +0-?1 ",
5517 "?2 *cos(pi*(480000)/10800000)",
5518 "?4 *sin(pi*(480000)/10800000)",
5519 "(10800000*atan2(?7 ,?6 ))/pi",
5520 "?8 *2/1",
5521 "10800000+0-?8 ",
5522 "10800000+2-0",
5523 "10800000+0-2",
5524 "?2 *1/4",
5525 "?4 *1/4",
5526 "?4 *cos(pi*(?10 )/10800000)",
5527 "?2 *sin(pi*(?10 )/10800000)",
5528 "sqrt(?15 *?15 +?16 *?16 +0*0)",
5529 "?2 *?4 /?17 ",
5530 "?18 *cos(pi*(?10 )/10800000)",
5531 "?18 *sin(pi*(?10 )/10800000)",
5532 "logwidth/2",
5533 "?21 +?19 -0",
5534 "?4 +?20 -0",
5535 "?14 *cos(pi*(?8 )/10800000)",
5536 "?13 *sin(pi*(?8 )/10800000)",
5537 "sqrt(?24 *?24 +?25 *?25 +0*0)",
5538 "?13 *?14 /?26 ",
5539 "?27 *cos(pi*(?8 )/10800000)",
5540 "?27 *sin(pi*(?8 )/10800000)",
5541 "?21 +?28 -0",
5542 "logheight+0-?14 ",
5543 "?31 +?29 -0",
5544 "?2 +0-?3 ",
5545 "10800000*2/1",
5546 "logwidth",
5547 "logheight",
5548 "(?10 )/60000.0",
5549 "(?11 )/60000.0",
5550 "(?8 )/60000.0",
5551 "(?12 )/60000.0",
5552 "(10800000)/60000.0",
5553 "(-21600000)/60000.0"
5555 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5558 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5561 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5564 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5567 Sequence< PropertyValue > aPropSequence (3);
5569 aPropSequence [0].Name = "Coordinates";
5570 static const CustomShapeProvider::ParameterPairData aData[] = {
5572 EnhancedCustomShapeParameterType::EQUATION,
5573 EnhancedCustomShapeParameterType::EQUATION,
5574 22, 23
5577 EnhancedCustomShapeParameterType::EQUATION,
5578 EnhancedCustomShapeParameterType::EQUATION,
5579 2, 4
5582 EnhancedCustomShapeParameterType::EQUATION,
5583 EnhancedCustomShapeParameterType::EQUATION,
5584 37, 38
5587 EnhancedCustomShapeParameterType::EQUATION,
5588 EnhancedCustomShapeParameterType::EQUATION,
5589 30, 32
5592 EnhancedCustomShapeParameterType::EQUATION,
5593 EnhancedCustomShapeParameterType::EQUATION,
5594 13, 14
5597 EnhancedCustomShapeParameterType::EQUATION,
5598 EnhancedCustomShapeParameterType::EQUATION,
5599 39, 40
5602 EnhancedCustomShapeParameterType::EQUATION,
5603 EnhancedCustomShapeParameterType::EQUATION,
5604 33, 4
5607 EnhancedCustomShapeParameterType::EQUATION,
5608 EnhancedCustomShapeParameterType::EQUATION,
5609 3, 5
5612 EnhancedCustomShapeParameterType::EQUATION,
5613 EnhancedCustomShapeParameterType::EQUATION,
5614 41, 42
5617 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5620 aPropSequence [1].Name = "Segments";
5621 static const sal_uInt16 nValues[] = {
5622 // Command, Count
5623 1,1,
5624 17,1,
5625 2,1,
5626 17,1,
5627 4,0,
5628 1,1,
5629 17,1,
5630 4,0,
5633 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5636 aPropSequence [2].Name = "TextFrames";
5637 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5639 EnhancedCustomShapeTextFrame aTextFrame;
5641 static const CustomShapeProvider::ParameterPairData aData =
5643 EnhancedCustomShapeParameterType::NORMAL,
5644 EnhancedCustomShapeParameterType::NORMAL,
5645 0, 0
5647 aTextFrame.TopLeft = createParameterPair(&aData);
5650 static const CustomShapeProvider::ParameterPairData aData =
5652 EnhancedCustomShapeParameterType::EQUATION,
5653 EnhancedCustomShapeParameterType::EQUATION,
5654 35, 36
5656 aTextFrame.BottomRight = createParameterPair(&aData);
5658 aTextFrameSeq [0] = aTextFrame;
5660 aPropSequence [2].Value = makeAny (aTextFrameSeq);
5662 aPropertyMap [PROP_Path] <<= aPropSequence;
5665 awt::Rectangle aRectangle;
5666 aRectangle.X = 0;
5667 aRectangle.Y = 0;
5668 aRectangle.Width = 0;
5669 aRectangle.Height = 0;
5670 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5672 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-funnel");
5674 return aPropertyMap;
5677 class ShapeCchartStar : public CustomShapeProvider
5679 virtual PropertyMap getProperties()
5681 PropertyMap aPropertyMap;
5684 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
5687 aPropertyMap [PROP_Equations] <<= Sequence< OUString >(0);
5690 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
5693 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5696 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5699 Sequence< PropertyValue > aPropSequence (3);
5701 aPropSequence [0].Name = "Coordinates";
5702 static const CustomShapeProvider::ParameterPairData aData[] = {
5704 EnhancedCustomShapeParameterType::NORMAL,
5705 EnhancedCustomShapeParameterType::NORMAL,
5706 0, 0
5709 EnhancedCustomShapeParameterType::NORMAL,
5710 EnhancedCustomShapeParameterType::NORMAL,
5711 10, 10
5714 EnhancedCustomShapeParameterType::NORMAL,
5715 EnhancedCustomShapeParameterType::NORMAL,
5716 0, 10
5719 EnhancedCustomShapeParameterType::NORMAL,
5720 EnhancedCustomShapeParameterType::NORMAL,
5721 10, 0
5724 EnhancedCustomShapeParameterType::NORMAL,
5725 EnhancedCustomShapeParameterType::NORMAL,
5726 5, 0
5729 EnhancedCustomShapeParameterType::NORMAL,
5730 EnhancedCustomShapeParameterType::NORMAL,
5731 5, 10
5734 EnhancedCustomShapeParameterType::NORMAL,
5735 EnhancedCustomShapeParameterType::NORMAL,
5736 0, 0
5739 EnhancedCustomShapeParameterType::NORMAL,
5740 EnhancedCustomShapeParameterType::NORMAL,
5741 0, 10
5744 EnhancedCustomShapeParameterType::NORMAL,
5745 EnhancedCustomShapeParameterType::NORMAL,
5746 10, 10
5749 EnhancedCustomShapeParameterType::NORMAL,
5750 EnhancedCustomShapeParameterType::NORMAL,
5751 10, 0
5754 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5757 aPropSequence [1].Name = "Segments";
5758 static const sal_uInt16 nValues[] = {
5759 // Command, Count
5760 1,1,
5761 2,1,
5762 1,1,
5763 2,1,
5764 1,1,
5765 2,1,
5766 6,0,
5767 5,0,
5768 1,1,
5769 2,3,
5770 4,0,
5771 7,0,
5774 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5777 aPropSequence [2].Name = "SubViewSize";
5778 Sequence< awt::Size > aSizeSequence (2);
5780 awt::Size aSize;
5781 aSize.Width = 10;
5782 aSize.Height = 10;
5783 aSizeSequence [0] = aSize;
5786 awt::Size aSize;
5787 aSize.Width = 10;
5788 aSize.Height = 10;
5789 aSizeSequence [1] = aSize;
5791 aPropSequence [2].Value = makeAny (aSizeSequence);
5793 aPropertyMap [PROP_Path] <<= aPropSequence;
5796 awt::Rectangle aRectangle;
5797 aRectangle.X = 0;
5798 aRectangle.Y = 0;
5799 aRectangle.Width = 0;
5800 aRectangle.Height = 0;
5801 aPropertyMap [PROP_ViewBox] <<= aRectangle;
5803 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-chartStar");
5805 return aPropertyMap;
5808 class ShapeCaccentBorderCallout1 : public CustomShapeProvider
5810 virtual PropertyMap getProperties()
5812 PropertyMap aPropertyMap;
5815 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
5817 Any aAny ((sal_Int32) 18750);
5818 aAdjSequence [0].Value = aAny;
5819 aAdjSequence [0].Name = "adj1";
5822 Any aAny ((sal_Int32) -8333);
5823 aAdjSequence [1].Value = aAny;
5824 aAdjSequence [1].Name = "adj2";
5827 Any aAny ((sal_Int32) 112500);
5828 aAdjSequence [2].Value = aAny;
5829 aAdjSequence [2].Name = "adj3";
5832 Any aAny ((sal_Int32) -38333);
5833 aAdjSequence [3].Value = aAny;
5834 aAdjSequence [3].Name = "adj4";
5836 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5839 static const char *aStrings[] = {
5840 "logheight*$0 /100000",
5841 "logwidth*$1 /100000",
5842 "logheight*$2 /100000",
5843 "logwidth*$3 /100000",
5844 "logwidth",
5845 "logheight/2",
5846 "logwidth/2",
5847 "logheight"
5849 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5852 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
5854 Sequence< PropertyValue > aPropSequence (7);
5856 aPropSequence [0].Name = "Position";
5857 static const CustomShapeProvider::ParameterPairData aData =
5859 EnhancedCustomShapeParameterType::EQUATION,
5860 EnhancedCustomShapeParameterType::EQUATION,
5861 1, 0
5863 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5866 aPropSequence [1].Name = "RangeXMaximum";
5867 EnhancedCustomShapeParameter aParameter;
5868 Any aAny ((sal_Int32) 2147483647);
5869 aParameter.Value = aAny;
5870 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5871 aPropSequence [1].Value = makeAny (aParameter);
5874 aPropSequence [2].Name = "RangeXMinimum";
5875 EnhancedCustomShapeParameter aParameter;
5876 Any aAny ((sal_Int32) -2147483647);
5877 aParameter.Value = aAny;
5878 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5879 aPropSequence [2].Value = makeAny (aParameter);
5882 aPropSequence [3].Name = "RangeYMaximum";
5883 EnhancedCustomShapeParameter aParameter;
5884 Any aAny ((sal_Int32) 2147483647);
5885 aParameter.Value = aAny;
5886 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5887 aPropSequence [3].Value = makeAny (aParameter);
5890 aPropSequence [4].Name = "RangeYMinimum";
5891 EnhancedCustomShapeParameter aParameter;
5892 Any aAny ((sal_Int32) -2147483647);
5893 aParameter.Value = aAny;
5894 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5895 aPropSequence [4].Value = makeAny (aParameter);
5898 aPropSequence [5].Name = "RefX";
5899 Any aAny ((sal_Int32) 1);
5900 aPropSequence [5].Value = makeAny (aAny);
5903 aPropSequence [6].Name = "RefY";
5904 Any aAny ((sal_Int32) 0);
5905 aPropSequence [6].Value = makeAny (aAny);
5907 aPropSequenceSequence [0] = aPropSequence;
5910 Sequence< PropertyValue > aPropSequence (7);
5912 aPropSequence [0].Name = "Position";
5913 static const CustomShapeProvider::ParameterPairData aData =
5915 EnhancedCustomShapeParameterType::EQUATION,
5916 EnhancedCustomShapeParameterType::EQUATION,
5917 3, 2
5919 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5922 aPropSequence [1].Name = "RangeXMaximum";
5923 EnhancedCustomShapeParameter aParameter;
5924 Any aAny ((sal_Int32) 2147483647);
5925 aParameter.Value = aAny;
5926 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5927 aPropSequence [1].Value = makeAny (aParameter);
5930 aPropSequence [2].Name = "RangeXMinimum";
5931 EnhancedCustomShapeParameter aParameter;
5932 Any aAny ((sal_Int32) -2147483647);
5933 aParameter.Value = aAny;
5934 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5935 aPropSequence [2].Value = makeAny (aParameter);
5938 aPropSequence [3].Name = "RangeYMaximum";
5939 EnhancedCustomShapeParameter aParameter;
5940 Any aAny ((sal_Int32) 2147483647);
5941 aParameter.Value = aAny;
5942 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5943 aPropSequence [3].Value = makeAny (aParameter);
5946 aPropSequence [4].Name = "RangeYMinimum";
5947 EnhancedCustomShapeParameter aParameter;
5948 Any aAny ((sal_Int32) -2147483647);
5949 aParameter.Value = aAny;
5950 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5951 aPropSequence [4].Value = makeAny (aParameter);
5954 aPropSequence [5].Name = "RefX";
5955 Any aAny ((sal_Int32) 3);
5956 aPropSequence [5].Value = makeAny (aAny);
5959 aPropSequence [6].Name = "RefY";
5960 Any aAny ((sal_Int32) 2);
5961 aPropSequence [6].Value = makeAny (aAny);
5963 aPropSequenceSequence [1] = aPropSequence;
5965 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5968 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5971 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5974 Sequence< PropertyValue > aPropSequence (3);
5976 aPropSequence [0].Name = "Coordinates";
5977 static const CustomShapeProvider::ParameterPairData aData[] = {
5979 EnhancedCustomShapeParameterType::NORMAL,
5980 EnhancedCustomShapeParameterType::NORMAL,
5981 0, 0
5984 EnhancedCustomShapeParameterType::EQUATION,
5985 EnhancedCustomShapeParameterType::NORMAL,
5986 4, 0
5989 EnhancedCustomShapeParameterType::EQUATION,
5990 EnhancedCustomShapeParameterType::EQUATION,
5991 4, 7
5994 EnhancedCustomShapeParameterType::NORMAL,
5995 EnhancedCustomShapeParameterType::EQUATION,
5996 0, 7
5999 EnhancedCustomShapeParameterType::EQUATION,
6000 EnhancedCustomShapeParameterType::NORMAL,
6001 1, 0
6004 EnhancedCustomShapeParameterType::EQUATION,
6005 EnhancedCustomShapeParameterType::EQUATION,
6006 1, 7
6009 EnhancedCustomShapeParameterType::EQUATION,
6010 EnhancedCustomShapeParameterType::EQUATION,
6011 1, 0
6014 EnhancedCustomShapeParameterType::EQUATION,
6015 EnhancedCustomShapeParameterType::EQUATION,
6016 3, 2
6019 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6022 aPropSequence [1].Name = "Segments";
6023 static const sal_uInt16 nValues[] = {
6024 // Command, Count
6025 1,1,
6026 2,3,
6027 4,0,
6028 5,0,
6029 1,1,
6030 2,1,
6031 6,0,
6032 5,0,
6033 1,1,
6034 2,1,
6035 6,0,
6038 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6041 aPropSequence [2].Name = "TextFrames";
6042 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6044 EnhancedCustomShapeTextFrame aTextFrame;
6046 static const CustomShapeProvider::ParameterPairData aData =
6048 EnhancedCustomShapeParameterType::NORMAL,
6049 EnhancedCustomShapeParameterType::NORMAL,
6050 0, 0
6052 aTextFrame.TopLeft = createParameterPair(&aData);
6055 static const CustomShapeProvider::ParameterPairData aData =
6057 EnhancedCustomShapeParameterType::EQUATION,
6058 EnhancedCustomShapeParameterType::EQUATION,
6059 4, 7
6061 aTextFrame.BottomRight = createParameterPair(&aData);
6063 aTextFrameSeq [0] = aTextFrame;
6065 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6067 aPropertyMap [PROP_Path] <<= aPropSequence;
6070 awt::Rectangle aRectangle;
6071 aRectangle.X = 0;
6072 aRectangle.Y = 0;
6073 aRectangle.Width = 0;
6074 aRectangle.Height = 0;
6075 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6077 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-accentBorderCallout1");
6079 return aPropertyMap;
6082 class ShapeCnotchedRightArrow : public CustomShapeProvider
6084 virtual PropertyMap getProperties()
6086 PropertyMap aPropertyMap;
6089 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6091 Any aAny ((sal_Int32) 50000);
6092 aAdjSequence [0].Value = aAny;
6093 aAdjSequence [0].Name = "adj1";
6096 Any aAny ((sal_Int32) 50000);
6097 aAdjSequence [1].Value = aAny;
6098 aAdjSequence [1].Name = "adj2";
6100 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6103 static const char *aStrings[] = {
6104 "min(logwidth,logheight)",
6105 "100000*logwidth/?0 ",
6106 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
6107 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
6108 "?0 *?3 /100000",
6109 "logwidth+0-?4 ",
6110 "logheight*?2 /200000",
6111 "logheight/2",
6112 "?7 +0-?6 ",
6113 "?7 +?6 -0",
6114 "logheight/2",
6115 "?6 *?4 /?10 ",
6116 "logwidth+0-?11 ",
6117 "logwidth",
6118 "logheight"
6120 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6123 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6125 Sequence< PropertyValue > aPropSequence (4);
6127 aPropSequence [0].Name = "Position";
6128 static const CustomShapeProvider::ParameterPairData aData =
6130 EnhancedCustomShapeParameterType::EQUATION,
6131 EnhancedCustomShapeParameterType::EQUATION,
6132 13, 8
6134 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6137 aPropSequence [1].Name = "RangeYMaximum";
6138 EnhancedCustomShapeParameter aParameter;
6139 Any aAny ((sal_Int32) 100000);
6140 aParameter.Value = aAny;
6141 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6142 aPropSequence [1].Value = makeAny (aParameter);
6145 aPropSequence [2].Name = "RangeYMinimum";
6146 EnhancedCustomShapeParameter aParameter;
6147 Any aAny ((sal_Int32) 0);
6148 aParameter.Value = aAny;
6149 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6150 aPropSequence [2].Value = makeAny (aParameter);
6153 aPropSequence [3].Name = "RefY";
6154 Any aAny ((sal_Int32) 0);
6155 aPropSequence [3].Value = makeAny (aAny);
6157 aPropSequenceSequence [0] = aPropSequence;
6160 Sequence< PropertyValue > aPropSequence (4);
6162 aPropSequence [0].Name = "Position";
6163 static const CustomShapeProvider::ParameterPairData aData =
6165 EnhancedCustomShapeParameterType::EQUATION,
6166 EnhancedCustomShapeParameterType::NORMAL,
6167 5, 0
6169 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6172 aPropSequence [1].Name = "RangeXMaximum";
6173 EnhancedCustomShapeParameter aParameter;
6174 Any aAny ((sal_Int32) 1);
6175 aParameter.Value = aAny;
6176 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6177 aPropSequence [1].Value = makeAny (aParameter);
6180 aPropSequence [2].Name = "RangeXMinimum";
6181 EnhancedCustomShapeParameter aParameter;
6182 Any aAny ((sal_Int32) 0);
6183 aParameter.Value = aAny;
6184 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6185 aPropSequence [2].Value = makeAny (aParameter);
6188 aPropSequence [3].Name = "RefX";
6189 Any aAny ((sal_Int32) 1);
6190 aPropSequence [3].Value = makeAny (aAny);
6192 aPropSequenceSequence [1] = aPropSequence;
6194 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6197 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6200 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6203 Sequence< PropertyValue > aPropSequence (3);
6205 aPropSequence [0].Name = "Coordinates";
6206 static const CustomShapeProvider::ParameterPairData aData[] = {
6208 EnhancedCustomShapeParameterType::NORMAL,
6209 EnhancedCustomShapeParameterType::EQUATION,
6210 0, 8
6213 EnhancedCustomShapeParameterType::EQUATION,
6214 EnhancedCustomShapeParameterType::EQUATION,
6215 5, 8
6218 EnhancedCustomShapeParameterType::EQUATION,
6219 EnhancedCustomShapeParameterType::NORMAL,
6220 5, 0
6223 EnhancedCustomShapeParameterType::EQUATION,
6224 EnhancedCustomShapeParameterType::EQUATION,
6225 13, 7
6228 EnhancedCustomShapeParameterType::EQUATION,
6229 EnhancedCustomShapeParameterType::EQUATION,
6230 5, 14
6233 EnhancedCustomShapeParameterType::EQUATION,
6234 EnhancedCustomShapeParameterType::EQUATION,
6235 5, 9
6238 EnhancedCustomShapeParameterType::NORMAL,
6239 EnhancedCustomShapeParameterType::EQUATION,
6240 0, 9
6243 EnhancedCustomShapeParameterType::EQUATION,
6244 EnhancedCustomShapeParameterType::EQUATION,
6245 11, 7
6248 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6251 aPropSequence [1].Name = "Segments";
6252 static const sal_uInt16 nValues[] = {
6253 // Command, Count
6254 1,1,
6255 2,7,
6256 4,0,
6259 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6262 aPropSequence [2].Name = "TextFrames";
6263 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6265 EnhancedCustomShapeTextFrame aTextFrame;
6267 static const CustomShapeProvider::ParameterPairData aData =
6269 EnhancedCustomShapeParameterType::EQUATION,
6270 EnhancedCustomShapeParameterType::EQUATION,
6271 11, 8
6273 aTextFrame.TopLeft = createParameterPair(&aData);
6276 static const CustomShapeProvider::ParameterPairData aData =
6278 EnhancedCustomShapeParameterType::EQUATION,
6279 EnhancedCustomShapeParameterType::EQUATION,
6280 12, 9
6282 aTextFrame.BottomRight = createParameterPair(&aData);
6284 aTextFrameSeq [0] = aTextFrame;
6286 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6288 aPropertyMap [PROP_Path] <<= aPropSequence;
6291 awt::Rectangle aRectangle;
6292 aRectangle.X = 0;
6293 aRectangle.Y = 0;
6294 aRectangle.Width = 0;
6295 aRectangle.Height = 0;
6296 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6298 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-notchedRightArrow");
6300 return aPropertyMap;
6303 class ShapeCrightBracket : public CustomShapeProvider
6305 virtual PropertyMap getProperties()
6307 PropertyMap aPropertyMap;
6310 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6312 Any aAny ((sal_Int32) 8333);
6313 aAdjSequence [0].Value = aAny;
6314 aAdjSequence [0].Name = "adj";
6316 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6319 static const char *aStrings[] = {
6320 "min(logwidth,logheight)",
6321 "50000*logheight/?0 ",
6322 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
6323 "?0 *?2 /100000",
6324 "logheight+0-?3 ",
6325 "logwidth*cos(pi*(2700000)/10800000)",
6326 "?3 *sin(pi*(2700000)/10800000)",
6327 "0+?5 -0",
6328 "?3 +0-?6 ",
6329 "logheight+?6 -?3 ",
6330 "logwidth",
6331 "logheight",
6332 "logheight/2",
6333 "logwidth",
6334 "(16200000)/60000.0",
6335 "(5400000)/60000.0",
6336 "(0)/60000.0",
6337 "(5400000)/60000.0",
6338 "(16200000)/60000.0",
6339 "(5400000)/60000.0",
6340 "(0)/60000.0",
6341 "(5400000)/60000.0"
6343 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6346 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
6348 Sequence< PropertyValue > aPropSequence (4);
6350 aPropSequence [0].Name = "Position";
6351 static const CustomShapeProvider::ParameterPairData aData =
6353 EnhancedCustomShapeParameterType::EQUATION,
6354 EnhancedCustomShapeParameterType::EQUATION,
6355 10, 3
6357 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6360 aPropSequence [1].Name = "RangeYMaximum";
6361 EnhancedCustomShapeParameter aParameter;
6362 Any aAny ((sal_Int32) 1);
6363 aParameter.Value = aAny;
6364 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6365 aPropSequence [1].Value = makeAny (aParameter);
6368 aPropSequence [2].Name = "RangeYMinimum";
6369 EnhancedCustomShapeParameter aParameter;
6370 Any aAny ((sal_Int32) 0);
6371 aParameter.Value = aAny;
6372 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6373 aPropSequence [2].Value = makeAny (aParameter);
6376 aPropSequence [3].Name = "RefY";
6377 Any aAny ((sal_Int32) 0);
6378 aPropSequence [3].Value = makeAny (aAny);
6380 aPropSequenceSequence [0] = aPropSequence;
6382 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6385 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6388 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6391 Sequence< PropertyValue > aPropSequence (3);
6393 aPropSequence [0].Name = "Coordinates";
6394 static const CustomShapeProvider::ParameterPairData aData[] = {
6396 EnhancedCustomShapeParameterType::NORMAL,
6397 EnhancedCustomShapeParameterType::NORMAL,
6398 0, 0
6401 EnhancedCustomShapeParameterType::EQUATION,
6402 EnhancedCustomShapeParameterType::EQUATION,
6403 13, 3
6406 EnhancedCustomShapeParameterType::EQUATION,
6407 EnhancedCustomShapeParameterType::EQUATION,
6408 14, 15
6411 EnhancedCustomShapeParameterType::EQUATION,
6412 EnhancedCustomShapeParameterType::EQUATION,
6413 10, 4
6416 EnhancedCustomShapeParameterType::EQUATION,
6417 EnhancedCustomShapeParameterType::EQUATION,
6418 13, 3
6421 EnhancedCustomShapeParameterType::EQUATION,
6422 EnhancedCustomShapeParameterType::EQUATION,
6423 16, 17
6426 EnhancedCustomShapeParameterType::NORMAL,
6427 EnhancedCustomShapeParameterType::NORMAL,
6428 0, 0
6431 EnhancedCustomShapeParameterType::EQUATION,
6432 EnhancedCustomShapeParameterType::EQUATION,
6433 13, 3
6436 EnhancedCustomShapeParameterType::EQUATION,
6437 EnhancedCustomShapeParameterType::EQUATION,
6438 18, 19
6441 EnhancedCustomShapeParameterType::EQUATION,
6442 EnhancedCustomShapeParameterType::EQUATION,
6443 10, 4
6446 EnhancedCustomShapeParameterType::EQUATION,
6447 EnhancedCustomShapeParameterType::EQUATION,
6448 13, 3
6451 EnhancedCustomShapeParameterType::EQUATION,
6452 EnhancedCustomShapeParameterType::EQUATION,
6453 20, 21
6456 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6459 aPropSequence [1].Name = "Segments";
6460 static const sal_uInt16 nValues[] = {
6461 // Command, Count
6462 1,1,
6463 17,1,
6464 2,1,
6465 17,1,
6466 4,0,
6467 7,0,
6468 5,0,
6469 1,1,
6470 17,1,
6471 2,1,
6472 17,1,
6473 6,0,
6476 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6479 aPropSequence [2].Name = "TextFrames";
6480 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6482 EnhancedCustomShapeTextFrame aTextFrame;
6484 static const CustomShapeProvider::ParameterPairData aData =
6486 EnhancedCustomShapeParameterType::NORMAL,
6487 EnhancedCustomShapeParameterType::EQUATION,
6488 0, 8
6490 aTextFrame.TopLeft = createParameterPair(&aData);
6493 static const CustomShapeProvider::ParameterPairData aData =
6495 EnhancedCustomShapeParameterType::EQUATION,
6496 EnhancedCustomShapeParameterType::EQUATION,
6497 7, 9
6499 aTextFrame.BottomRight = createParameterPair(&aData);
6501 aTextFrameSeq [0] = aTextFrame;
6503 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6505 aPropertyMap [PROP_Path] <<= aPropSequence;
6508 awt::Rectangle aRectangle;
6509 aRectangle.X = 0;
6510 aRectangle.Y = 0;
6511 aRectangle.Width = 0;
6512 aRectangle.Height = 0;
6513 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6515 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-rightBracket");
6517 return aPropertyMap;
6520 class ShapeCflowChartOffpageConnector : public CustomShapeProvider
6522 virtual PropertyMap getProperties()
6524 PropertyMap aPropertyMap;
6527 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
6530 static const char *aStrings[] = {
6531 "logheight*4/5",
6532 "logwidth/2",
6533 "logheight/2",
6534 "logheight",
6535 "logwidth"
6537 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6540 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
6543 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6546 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6549 Sequence< PropertyValue > aPropSequence (4);
6551 aPropSequence [0].Name = "Coordinates";
6552 static const CustomShapeProvider::ParameterPairData aData[] = {
6554 EnhancedCustomShapeParameterType::NORMAL,
6555 EnhancedCustomShapeParameterType::NORMAL,
6556 0, 0
6559 EnhancedCustomShapeParameterType::NORMAL,
6560 EnhancedCustomShapeParameterType::NORMAL,
6561 10, 0
6564 EnhancedCustomShapeParameterType::NORMAL,
6565 EnhancedCustomShapeParameterType::NORMAL,
6566 10, 8
6569 EnhancedCustomShapeParameterType::NORMAL,
6570 EnhancedCustomShapeParameterType::NORMAL,
6571 5, 10
6574 EnhancedCustomShapeParameterType::NORMAL,
6575 EnhancedCustomShapeParameterType::NORMAL,
6576 0, 8
6579 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6582 aPropSequence [1].Name = "Segments";
6583 static const sal_uInt16 nValues[] = {
6584 // Command, Count
6585 1,1,
6586 2,4,
6587 4,0,
6590 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6593 aPropSequence [2].Name = "SubViewSize";
6594 Sequence< awt::Size > aSizeSequence (1);
6596 awt::Size aSize;
6597 aSize.Width = 10;
6598 aSize.Height = 10;
6599 aSizeSequence [0] = aSize;
6601 aPropSequence [2].Value = makeAny (aSizeSequence);
6604 aPropSequence [3].Name = "TextFrames";
6605 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6607 EnhancedCustomShapeTextFrame aTextFrame;
6609 static const CustomShapeProvider::ParameterPairData aData =
6611 EnhancedCustomShapeParameterType::NORMAL,
6612 EnhancedCustomShapeParameterType::NORMAL,
6613 0, 0
6615 aTextFrame.TopLeft = createParameterPair(&aData);
6618 static const CustomShapeProvider::ParameterPairData aData =
6620 EnhancedCustomShapeParameterType::EQUATION,
6621 EnhancedCustomShapeParameterType::EQUATION,
6622 4, 0
6624 aTextFrame.BottomRight = createParameterPair(&aData);
6626 aTextFrameSeq [0] = aTextFrame;
6628 aPropSequence [3].Value = makeAny (aTextFrameSeq);
6630 aPropertyMap [PROP_Path] <<= aPropSequence;
6633 awt::Rectangle aRectangle;
6634 aRectangle.X = 0;
6635 aRectangle.Y = 0;
6636 aRectangle.Width = 0;
6637 aRectangle.Height = 0;
6638 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6640 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartOffpageConnector");
6642 return aPropertyMap;
6645 class ShapeCleftRightArrow : public CustomShapeProvider
6647 virtual PropertyMap getProperties()
6649 PropertyMap aPropertyMap;
6652 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6654 Any aAny ((sal_Int32) 50000);
6655 aAdjSequence [0].Value = aAny;
6656 aAdjSequence [0].Name = "adj1";
6659 Any aAny ((sal_Int32) 50000);
6660 aAdjSequence [1].Value = aAny;
6661 aAdjSequence [1].Name = "adj2";
6663 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6666 static const char *aStrings[] = {
6667 "min(logwidth,logheight)",
6668 "50000*logwidth/?0 ",
6669 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
6670 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
6671 "?0 *?3 /100000",
6672 "logwidth+0-?4 ",
6673 "logheight*?2 /200000",
6674 "logheight/2",
6675 "?7 +0-?6 ",
6676 "?7 +?6 -0",
6677 "logheight/2",
6678 "?8 *?4 /?10 ",
6679 "?4 +0-?11 ",
6680 "?5 +?11 -0",
6681 "logwidth",
6682 "logheight"
6684 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6687 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6689 Sequence< PropertyValue > aPropSequence (4);
6691 aPropSequence [0].Name = "Position";
6692 static const CustomShapeProvider::ParameterPairData aData =
6694 EnhancedCustomShapeParameterType::EQUATION,
6695 EnhancedCustomShapeParameterType::EQUATION,
6696 5, 8
6698 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6701 aPropSequence [1].Name = "RangeYMaximum";
6702 EnhancedCustomShapeParameter aParameter;
6703 Any aAny ((sal_Int32) 100000);
6704 aParameter.Value = aAny;
6705 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6706 aPropSequence [1].Value = makeAny (aParameter);
6709 aPropSequence [2].Name = "RangeYMinimum";
6710 EnhancedCustomShapeParameter aParameter;
6711 Any aAny ((sal_Int32) 0);
6712 aParameter.Value = aAny;
6713 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6714 aPropSequence [2].Value = makeAny (aParameter);
6717 aPropSequence [3].Name = "RefY";
6718 Any aAny ((sal_Int32) 0);
6719 aPropSequence [3].Value = makeAny (aAny);
6721 aPropSequenceSequence [0] = aPropSequence;
6724 Sequence< PropertyValue > aPropSequence (4);
6726 aPropSequence [0].Name = "Position";
6727 static const CustomShapeProvider::ParameterPairData aData =
6729 EnhancedCustomShapeParameterType::EQUATION,
6730 EnhancedCustomShapeParameterType::NORMAL,
6731 4, 0
6733 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6736 aPropSequence [1].Name = "RangeXMaximum";
6737 EnhancedCustomShapeParameter aParameter;
6738 Any aAny ((sal_Int32) 1);
6739 aParameter.Value = aAny;
6740 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6741 aPropSequence [1].Value = makeAny (aParameter);
6744 aPropSequence [2].Name = "RangeXMinimum";
6745 EnhancedCustomShapeParameter aParameter;
6746 Any aAny ((sal_Int32) 0);
6747 aParameter.Value = aAny;
6748 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6749 aPropSequence [2].Value = makeAny (aParameter);
6752 aPropSequence [3].Name = "RefX";
6753 Any aAny ((sal_Int32) 1);
6754 aPropSequence [3].Value = makeAny (aAny);
6756 aPropSequenceSequence [1] = aPropSequence;
6758 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6761 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6764 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6767 Sequence< PropertyValue > aPropSequence (3);
6769 aPropSequence [0].Name = "Coordinates";
6770 static const CustomShapeProvider::ParameterPairData aData[] = {
6772 EnhancedCustomShapeParameterType::NORMAL,
6773 EnhancedCustomShapeParameterType::EQUATION,
6774 0, 7
6777 EnhancedCustomShapeParameterType::EQUATION,
6778 EnhancedCustomShapeParameterType::NORMAL,
6779 4, 0
6782 EnhancedCustomShapeParameterType::EQUATION,
6783 EnhancedCustomShapeParameterType::EQUATION,
6784 4, 8
6787 EnhancedCustomShapeParameterType::EQUATION,
6788 EnhancedCustomShapeParameterType::EQUATION,
6789 5, 8
6792 EnhancedCustomShapeParameterType::EQUATION,
6793 EnhancedCustomShapeParameterType::NORMAL,
6794 5, 0
6797 EnhancedCustomShapeParameterType::EQUATION,
6798 EnhancedCustomShapeParameterType::EQUATION,
6799 14, 7
6802 EnhancedCustomShapeParameterType::EQUATION,
6803 EnhancedCustomShapeParameterType::EQUATION,
6804 5, 15
6807 EnhancedCustomShapeParameterType::EQUATION,
6808 EnhancedCustomShapeParameterType::EQUATION,
6809 5, 9
6812 EnhancedCustomShapeParameterType::EQUATION,
6813 EnhancedCustomShapeParameterType::EQUATION,
6814 4, 9
6817 EnhancedCustomShapeParameterType::EQUATION,
6818 EnhancedCustomShapeParameterType::EQUATION,
6819 4, 15
6822 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6825 aPropSequence [1].Name = "Segments";
6826 static const sal_uInt16 nValues[] = {
6827 // Command, Count
6828 1,1,
6829 2,9,
6830 4,0,
6833 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6836 aPropSequence [2].Name = "TextFrames";
6837 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6839 EnhancedCustomShapeTextFrame aTextFrame;
6841 static const CustomShapeProvider::ParameterPairData aData =
6843 EnhancedCustomShapeParameterType::EQUATION,
6844 EnhancedCustomShapeParameterType::EQUATION,
6845 12, 8
6847 aTextFrame.TopLeft = createParameterPair(&aData);
6850 static const CustomShapeProvider::ParameterPairData aData =
6852 EnhancedCustomShapeParameterType::EQUATION,
6853 EnhancedCustomShapeParameterType::EQUATION,
6854 13, 9
6856 aTextFrame.BottomRight = createParameterPair(&aData);
6858 aTextFrameSeq [0] = aTextFrame;
6860 aPropSequence [2].Value = makeAny (aTextFrameSeq);
6862 aPropertyMap [PROP_Path] <<= aPropSequence;
6865 awt::Rectangle aRectangle;
6866 aRectangle.X = 0;
6867 aRectangle.Y = 0;
6868 aRectangle.Width = 0;
6869 aRectangle.Height = 0;
6870 aPropertyMap [PROP_ViewBox] <<= aRectangle;
6872 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-leftRightArrow");
6874 return aPropertyMap;
6877 class ShapeCdecagon : public CustomShapeProvider
6879 virtual PropertyMap getProperties()
6881 PropertyMap aPropertyMap;
6884 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
6886 Any aAny ((sal_Int32) 105146);
6887 aAdjSequence [0].Value = aAny;
6888 aAdjSequence [0].Name = "vf";
6890 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6893 static const char *aStrings[] = {
6894 "logheight/2",
6895 "?0 *$0 /100000",
6896 "logwidth/2",
6897 "?2 *cos(pi*(2160000)/10800000)",
6898 "?2 *cos(pi*(4320000)/10800000)",
6899 "logwidth/2",
6900 "?5 +0-?3 ",
6901 "?5 +0-?4 ",
6902 "?5 +?4 -0",
6903 "?5 +?3 -0",
6904 "?1 *sin(pi*(4320000)/10800000)",
6905 "?1 *sin(pi*(2160000)/10800000)",
6906 "logheight/2",
6907 "?12 +0-?10 ",
6908 "?12 +0-?11 ",
6909 "?12 +?11 -0",
6910 "?12 +?10 -0",
6911 "logwidth"
6913 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6916 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
6919 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6922 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6925 Sequence< PropertyValue > aPropSequence (3);
6927 aPropSequence [0].Name = "Coordinates";
6928 static const CustomShapeProvider::ParameterPairData aData[] = {
6930 EnhancedCustomShapeParameterType::NORMAL,
6931 EnhancedCustomShapeParameterType::EQUATION,
6932 0, 12
6935 EnhancedCustomShapeParameterType::EQUATION,
6936 EnhancedCustomShapeParameterType::EQUATION,
6937 6, 14
6940 EnhancedCustomShapeParameterType::EQUATION,
6941 EnhancedCustomShapeParameterType::EQUATION,
6942 7, 13
6945 EnhancedCustomShapeParameterType::EQUATION,
6946 EnhancedCustomShapeParameterType::EQUATION,
6947 8, 13
6950 EnhancedCustomShapeParameterType::EQUATION,
6951 EnhancedCustomShapeParameterType::EQUATION,
6952 9, 14
6955 EnhancedCustomShapeParameterType::EQUATION,
6956 EnhancedCustomShapeParameterType::EQUATION,
6957 17, 12
6960 EnhancedCustomShapeParameterType::EQUATION,
6961 EnhancedCustomShapeParameterType::EQUATION,
6962 9, 15
6965 EnhancedCustomShapeParameterType::EQUATION,
6966 EnhancedCustomShapeParameterType::EQUATION,
6967 8, 16
6970 EnhancedCustomShapeParameterType::EQUATION,
6971 EnhancedCustomShapeParameterType::EQUATION,
6972 7, 16
6975 EnhancedCustomShapeParameterType::EQUATION,
6976 EnhancedCustomShapeParameterType::EQUATION,
6977 6, 15
6980 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6983 aPropSequence [1].Name = "Segments";
6984 static const sal_uInt16 nValues[] = {
6985 // Command, Count
6986 1,1,
6987 2,9,
6988 4,0,
6991 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6994 aPropSequence [2].Name = "TextFrames";
6995 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6997 EnhancedCustomShapeTextFrame aTextFrame;
6999 static const CustomShapeProvider::ParameterPairData aData =
7001 EnhancedCustomShapeParameterType::EQUATION,
7002 EnhancedCustomShapeParameterType::EQUATION,
7003 6, 14
7005 aTextFrame.TopLeft = createParameterPair(&aData);
7008 static const CustomShapeProvider::ParameterPairData aData =
7010 EnhancedCustomShapeParameterType::EQUATION,
7011 EnhancedCustomShapeParameterType::EQUATION,
7012 9, 15
7014 aTextFrame.BottomRight = createParameterPair(&aData);
7016 aTextFrameSeq [0] = aTextFrame;
7018 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7020 aPropertyMap [PROP_Path] <<= aPropSequence;
7023 awt::Rectangle aRectangle;
7024 aRectangle.X = 0;
7025 aRectangle.Y = 0;
7026 aRectangle.Width = 0;
7027 aRectangle.Height = 0;
7028 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7030 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-decagon");
7032 return aPropertyMap;
7035 class ShapeCactionButtonHelp : public CustomShapeProvider
7037 virtual PropertyMap getProperties()
7039 PropertyMap aPropertyMap;
7042 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
7045 static const char *aStrings[] = {
7046 "min(logwidth,logheight)",
7047 "?0 *3/8",
7048 "logheight/2",
7049 "?2 +0-?1 ",
7050 "logwidth/2",
7051 "?4 +0-?1 ",
7052 "?0 *3/4",
7053 "?6 *1/7",
7054 "?6 *3/14",
7055 "?6 *2/7",
7056 "?6 *3/7",
7057 "?6 *4/7",
7058 "?6 *17/28",
7059 "?6 *21/28",
7060 "?6 *11/14",
7061 "?3 +?9 -0",
7062 "?3 +?12 -0",
7063 "?3 +?13 -0",
7064 "?3 +?14 -0",
7065 "?5 +?8 -0",
7066 "?5 +?10 -0",
7067 "?5 +?11 -0",
7068 "?6 *1/14",
7069 "?6 *3/28",
7070 "logwidth",
7071 "logheight",
7072 "(10800000)/60000.0",
7073 "(10800000)/60000.0",
7074 "(0)/60000.0",
7075 "(5400000)/60000.0",
7076 "(16200000)/60000.0",
7077 "(-5400000)/60000.0",
7078 "(10800000)/60000.0",
7079 "(5400000)/60000.0",
7080 "(5400000)/60000.0",
7081 "(-5400000)/60000.0",
7082 "(0)/60000.0",
7083 "(-10800000)/60000.0",
7084 "(16200000)/60000.0",
7085 "(21600000)/60000.0",
7086 "(10800000)/60000.0",
7087 "(10800000)/60000.0",
7088 "(0)/60000.0",
7089 "(5400000)/60000.0",
7090 "(16200000)/60000.0",
7091 "(-5400000)/60000.0",
7092 "(10800000)/60000.0",
7093 "(5400000)/60000.0",
7094 "(5400000)/60000.0",
7095 "(-5400000)/60000.0",
7096 "(0)/60000.0",
7097 "(-10800000)/60000.0",
7098 "(16200000)/60000.0",
7099 "(21600000)/60000.0",
7100 "(10800000)/60000.0",
7101 "(10800000)/60000.0",
7102 "(0)/60000.0",
7103 "(5400000)/60000.0",
7104 "(16200000)/60000.0",
7105 "(-5400000)/60000.0",
7106 "(10800000)/60000.0",
7107 "(5400000)/60000.0",
7108 "(5400000)/60000.0",
7109 "(-5400000)/60000.0",
7110 "(0)/60000.0",
7111 "(-10800000)/60000.0",
7112 "(16200000)/60000.0",
7113 "(21600000)/60000.0"
7115 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7118 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
7121 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7124 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7127 Sequence< PropertyValue > aPropSequence (3);
7129 aPropSequence [0].Name = "Coordinates";
7130 static const CustomShapeProvider::ParameterPairData aData[] = {
7132 EnhancedCustomShapeParameterType::NORMAL,
7133 EnhancedCustomShapeParameterType::NORMAL,
7134 0, 0
7137 EnhancedCustomShapeParameterType::EQUATION,
7138 EnhancedCustomShapeParameterType::NORMAL,
7139 24, 0
7142 EnhancedCustomShapeParameterType::EQUATION,
7143 EnhancedCustomShapeParameterType::EQUATION,
7144 24, 25
7147 EnhancedCustomShapeParameterType::NORMAL,
7148 EnhancedCustomShapeParameterType::EQUATION,
7149 0, 25
7152 EnhancedCustomShapeParameterType::EQUATION,
7153 EnhancedCustomShapeParameterType::EQUATION,
7154 19, 15
7157 EnhancedCustomShapeParameterType::EQUATION,
7158 EnhancedCustomShapeParameterType::EQUATION,
7159 9, 9
7162 EnhancedCustomShapeParameterType::EQUATION,
7163 EnhancedCustomShapeParameterType::EQUATION,
7164 26, 27
7167 EnhancedCustomShapeParameterType::EQUATION,
7168 EnhancedCustomShapeParameterType::EQUATION,
7169 7, 8
7172 EnhancedCustomShapeParameterType::EQUATION,
7173 EnhancedCustomShapeParameterType::EQUATION,
7174 28, 29
7177 EnhancedCustomShapeParameterType::EQUATION,
7178 EnhancedCustomShapeParameterType::EQUATION,
7179 22, 23
7182 EnhancedCustomShapeParameterType::EQUATION,
7183 EnhancedCustomShapeParameterType::EQUATION,
7184 30, 31
7187 EnhancedCustomShapeParameterType::EQUATION,
7188 EnhancedCustomShapeParameterType::EQUATION,
7189 21, 17
7192 EnhancedCustomShapeParameterType::EQUATION,
7193 EnhancedCustomShapeParameterType::EQUATION,
7194 20, 17
7197 EnhancedCustomShapeParameterType::EQUATION,
7198 EnhancedCustomShapeParameterType::EQUATION,
7199 20, 16
7202 EnhancedCustomShapeParameterType::EQUATION,
7203 EnhancedCustomShapeParameterType::EQUATION,
7204 7, 8
7207 EnhancedCustomShapeParameterType::EQUATION,
7208 EnhancedCustomShapeParameterType::EQUATION,
7209 32, 33
7212 EnhancedCustomShapeParameterType::EQUATION,
7213 EnhancedCustomShapeParameterType::EQUATION,
7214 22, 23
7217 EnhancedCustomShapeParameterType::EQUATION,
7218 EnhancedCustomShapeParameterType::EQUATION,
7219 34, 35
7222 EnhancedCustomShapeParameterType::EQUATION,
7223 EnhancedCustomShapeParameterType::EQUATION,
7224 7, 7
7227 EnhancedCustomShapeParameterType::EQUATION,
7228 EnhancedCustomShapeParameterType::EQUATION,
7229 36, 37
7232 EnhancedCustomShapeParameterType::EQUATION,
7233 EnhancedCustomShapeParameterType::EQUATION,
7234 4, 18
7237 EnhancedCustomShapeParameterType::EQUATION,
7238 EnhancedCustomShapeParameterType::EQUATION,
7239 23, 23
7242 EnhancedCustomShapeParameterType::EQUATION,
7243 EnhancedCustomShapeParameterType::EQUATION,
7244 38, 39
7247 EnhancedCustomShapeParameterType::EQUATION,
7248 EnhancedCustomShapeParameterType::EQUATION,
7249 19, 15
7252 EnhancedCustomShapeParameterType::EQUATION,
7253 EnhancedCustomShapeParameterType::EQUATION,
7254 9, 9
7257 EnhancedCustomShapeParameterType::EQUATION,
7258 EnhancedCustomShapeParameterType::EQUATION,
7259 40, 41
7262 EnhancedCustomShapeParameterType::EQUATION,
7263 EnhancedCustomShapeParameterType::EQUATION,
7264 7, 8
7267 EnhancedCustomShapeParameterType::EQUATION,
7268 EnhancedCustomShapeParameterType::EQUATION,
7269 42, 43
7272 EnhancedCustomShapeParameterType::EQUATION,
7273 EnhancedCustomShapeParameterType::EQUATION,
7274 22, 23
7277 EnhancedCustomShapeParameterType::EQUATION,
7278 EnhancedCustomShapeParameterType::EQUATION,
7279 44, 45
7282 EnhancedCustomShapeParameterType::EQUATION,
7283 EnhancedCustomShapeParameterType::EQUATION,
7284 21, 17
7287 EnhancedCustomShapeParameterType::EQUATION,
7288 EnhancedCustomShapeParameterType::EQUATION,
7289 20, 17
7292 EnhancedCustomShapeParameterType::EQUATION,
7293 EnhancedCustomShapeParameterType::EQUATION,
7294 20, 16
7297 EnhancedCustomShapeParameterType::EQUATION,
7298 EnhancedCustomShapeParameterType::EQUATION,
7299 7, 8
7302 EnhancedCustomShapeParameterType::EQUATION,
7303 EnhancedCustomShapeParameterType::EQUATION,
7304 46, 47
7307 EnhancedCustomShapeParameterType::EQUATION,
7308 EnhancedCustomShapeParameterType::EQUATION,
7309 22, 23
7312 EnhancedCustomShapeParameterType::EQUATION,
7313 EnhancedCustomShapeParameterType::EQUATION,
7314 48, 49
7317 EnhancedCustomShapeParameterType::EQUATION,
7318 EnhancedCustomShapeParameterType::EQUATION,
7319 7, 7
7322 EnhancedCustomShapeParameterType::EQUATION,
7323 EnhancedCustomShapeParameterType::EQUATION,
7324 50, 51
7327 EnhancedCustomShapeParameterType::EQUATION,
7328 EnhancedCustomShapeParameterType::EQUATION,
7329 4, 18
7332 EnhancedCustomShapeParameterType::EQUATION,
7333 EnhancedCustomShapeParameterType::EQUATION,
7334 23, 23
7337 EnhancedCustomShapeParameterType::EQUATION,
7338 EnhancedCustomShapeParameterType::EQUATION,
7339 52, 53
7342 EnhancedCustomShapeParameterType::EQUATION,
7343 EnhancedCustomShapeParameterType::EQUATION,
7344 19, 15
7347 EnhancedCustomShapeParameterType::EQUATION,
7348 EnhancedCustomShapeParameterType::EQUATION,
7349 9, 9
7352 EnhancedCustomShapeParameterType::EQUATION,
7353 EnhancedCustomShapeParameterType::EQUATION,
7354 54, 55
7357 EnhancedCustomShapeParameterType::EQUATION,
7358 EnhancedCustomShapeParameterType::EQUATION,
7359 7, 8
7362 EnhancedCustomShapeParameterType::EQUATION,
7363 EnhancedCustomShapeParameterType::EQUATION,
7364 56, 57
7367 EnhancedCustomShapeParameterType::EQUATION,
7368 EnhancedCustomShapeParameterType::EQUATION,
7369 22, 23
7372 EnhancedCustomShapeParameterType::EQUATION,
7373 EnhancedCustomShapeParameterType::EQUATION,
7374 58, 59
7377 EnhancedCustomShapeParameterType::EQUATION,
7378 EnhancedCustomShapeParameterType::EQUATION,
7379 21, 17
7382 EnhancedCustomShapeParameterType::EQUATION,
7383 EnhancedCustomShapeParameterType::EQUATION,
7384 20, 17
7387 EnhancedCustomShapeParameterType::EQUATION,
7388 EnhancedCustomShapeParameterType::EQUATION,
7389 20, 16
7392 EnhancedCustomShapeParameterType::EQUATION,
7393 EnhancedCustomShapeParameterType::EQUATION,
7394 7, 8
7397 EnhancedCustomShapeParameterType::EQUATION,
7398 EnhancedCustomShapeParameterType::EQUATION,
7399 60, 61
7402 EnhancedCustomShapeParameterType::EQUATION,
7403 EnhancedCustomShapeParameterType::EQUATION,
7404 22, 23
7407 EnhancedCustomShapeParameterType::EQUATION,
7408 EnhancedCustomShapeParameterType::EQUATION,
7409 62, 63
7412 EnhancedCustomShapeParameterType::EQUATION,
7413 EnhancedCustomShapeParameterType::EQUATION,
7414 7, 7
7417 EnhancedCustomShapeParameterType::EQUATION,
7418 EnhancedCustomShapeParameterType::EQUATION,
7419 64, 65
7422 EnhancedCustomShapeParameterType::EQUATION,
7423 EnhancedCustomShapeParameterType::EQUATION,
7424 4, 18
7427 EnhancedCustomShapeParameterType::EQUATION,
7428 EnhancedCustomShapeParameterType::EQUATION,
7429 23, 23
7432 EnhancedCustomShapeParameterType::EQUATION,
7433 EnhancedCustomShapeParameterType::EQUATION,
7434 66, 67
7437 EnhancedCustomShapeParameterType::NORMAL,
7438 EnhancedCustomShapeParameterType::NORMAL,
7439 0, 0
7442 EnhancedCustomShapeParameterType::EQUATION,
7443 EnhancedCustomShapeParameterType::NORMAL,
7444 24, 0
7447 EnhancedCustomShapeParameterType::EQUATION,
7448 EnhancedCustomShapeParameterType::EQUATION,
7449 24, 25
7452 EnhancedCustomShapeParameterType::NORMAL,
7453 EnhancedCustomShapeParameterType::EQUATION,
7454 0, 25
7457 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7460 aPropSequence [1].Name = "Segments";
7461 static const sal_uInt16 nValues[] = {
7462 // Command, Count
7463 1,1,
7464 2,3,
7465 4,0,
7466 1,1,
7467 17,3,
7468 2,3,
7469 17,3,
7470 4,0,
7471 1,1,
7472 17,1,
7473 4,0,
7474 7,0,
7475 5,0,
7476 1,1,
7477 17,3,
7478 2,3,
7479 17,3,
7480 4,0,
7481 1,1,
7482 17,1,
7483 4,0,
7484 18,0,
7485 7,0,
7486 5,0,
7487 1,1,
7488 17,3,
7489 2,3,
7490 17,3,
7491 4,0,
7492 1,1,
7493 17,1,
7494 4,0,
7495 6,0,
7496 5,0,
7497 1,1,
7498 2,3,
7499 4,0,
7500 6,0,
7503 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7506 aPropSequence [2].Name = "TextFrames";
7507 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7509 EnhancedCustomShapeTextFrame aTextFrame;
7511 static const CustomShapeProvider::ParameterPairData aData =
7513 EnhancedCustomShapeParameterType::NORMAL,
7514 EnhancedCustomShapeParameterType::NORMAL,
7515 0, 0
7517 aTextFrame.TopLeft = createParameterPair(&aData);
7520 static const CustomShapeProvider::ParameterPairData aData =
7522 EnhancedCustomShapeParameterType::EQUATION,
7523 EnhancedCustomShapeParameterType::EQUATION,
7524 24, 25
7526 aTextFrame.BottomRight = createParameterPair(&aData);
7528 aTextFrameSeq [0] = aTextFrame;
7530 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7532 aPropertyMap [PROP_Path] <<= aPropSequence;
7535 awt::Rectangle aRectangle;
7536 aRectangle.X = 0;
7537 aRectangle.Y = 0;
7538 aRectangle.Width = 0;
7539 aRectangle.Height = 0;
7540 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7542 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-actionButtonHelp");
7544 return aPropertyMap;
7547 class ShapeCstar24 : public CustomShapeProvider
7549 virtual PropertyMap getProperties()
7551 PropertyMap aPropertyMap;
7554 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
7556 Any aAny ((sal_Int32) 37500);
7557 aAdjSequence [0].Value = aAny;
7558 aAdjSequence [0].Name = "adj";
7560 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7563 static const char *aStrings[] = {
7564 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
7565 "logwidth/2",
7566 "?1 *cos(pi*(900000)/10800000)",
7567 "?1 *cos(pi*(1800000)/10800000)",
7568 "?1 *cos(pi*(2700000)/10800000)",
7569 "logwidth/4",
7570 "?5 ",
7571 "?1 *cos(pi*(4500000)/10800000)",
7572 "logheight/2",
7573 "?8 *sin(pi*(4500000)/10800000)",
7574 "?8 *sin(pi*(3600000)/10800000)",
7575 "?8 *sin(pi*(2700000)/10800000)",
7576 "logheight/4",
7577 "?12 ",
7578 "?8 *sin(pi*(900000)/10800000)",
7579 "logwidth/2",
7580 "?15 +0-?2 ",
7581 "?15 +0-?3 ",
7582 "?15 +0-?4 ",
7583 "?15 +0-?6 ",
7584 "?15 +0-?7 ",
7585 "?15 +?7 -0",
7586 "?15 +?6 -0",
7587 "?15 +?4 -0",
7588 "?15 +?3 -0",
7589 "?15 +?2 -0",
7590 "logheight/2",
7591 "?26 +0-?9 ",
7592 "?26 +0-?10 ",
7593 "?26 +0-?11 ",
7594 "?26 +0-?13 ",
7595 "?26 +0-?14 ",
7596 "?26 +?14 -0",
7597 "?26 +?13 -0",
7598 "?26 +?11 -0",
7599 "?26 +?10 -0",
7600 "?26 +?9 -0",
7601 "?1 *?0 /50000",
7602 "?8 *?0 /50000",
7603 "?37 *99144/100000",
7604 "?37 *92388/100000",
7605 "?37 *79335/100000",
7606 "?37 *60876/100000",
7607 "?37 *38268/100000",
7608 "?37 *13053/100000",
7609 "?38 *99144/100000",
7610 "?38 *92388/100000",
7611 "?38 *79335/100000",
7612 "?38 *60876/100000",
7613 "?38 *38268/100000",
7614 "?38 *13053/100000",
7615 "?15 +0-?39 ",
7616 "?15 +0-?40 ",
7617 "?15 +0-?41 ",
7618 "?15 +0-?42 ",
7619 "?15 +0-?43 ",
7620 "?15 +0-?44 ",
7621 "?15 +?44 -0",
7622 "?15 +?43 -0",
7623 "?15 +?42 -0",
7624 "?15 +?41 -0",
7625 "?15 +?40 -0",
7626 "?15 +?39 -0",
7627 "?26 +0-?45 ",
7628 "?26 +0-?46 ",
7629 "?26 +0-?47 ",
7630 "?26 +0-?48 ",
7631 "?26 +0-?49 ",
7632 "?26 +0-?50 ",
7633 "?26 +?50 -0",
7634 "?26 +?49 -0",
7635 "?26 +?48 -0",
7636 "?26 +?47 -0",
7637 "?26 +?46 -0",
7638 "?26 +?45 -0",
7639 "?37 *cos(pi*(2700000)/10800000)",
7640 "?38 *sin(pi*(2700000)/10800000)",
7641 "?15 +0-?75 ",
7642 "?26 +0-?76 ",
7643 "?15 +?75 -0",
7644 "?26 +?76 -0",
7645 "?26 +0-?38 ",
7646 "min(logwidth,logheight)/2",
7647 "logheight",
7648 "logwidth"
7650 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7653 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
7655 Sequence< PropertyValue > aPropSequence (4);
7657 aPropSequence [0].Name = "Position";
7658 static const CustomShapeProvider::ParameterPairData aData =
7660 EnhancedCustomShapeParameterType::EQUATION,
7661 EnhancedCustomShapeParameterType::EQUATION,
7662 15, 81
7664 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7667 aPropSequence [1].Name = "RangeYMaximum";
7668 EnhancedCustomShapeParameter aParameter;
7669 Any aAny ((sal_Int32) 82);
7670 aParameter.Value = aAny;
7671 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7672 aPropSequence [1].Value = makeAny (aParameter);
7675 aPropSequence [2].Name = "RangeYMinimum";
7676 EnhancedCustomShapeParameter aParameter;
7677 Any aAny ((sal_Int32) 0);
7678 aParameter.Value = aAny;
7679 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7680 aPropSequence [2].Value = makeAny (aParameter);
7683 aPropSequence [3].Name = "RefY";
7684 Any aAny ((sal_Int32) 0);
7685 aPropSequence [3].Value = makeAny (aAny);
7687 aPropSequenceSequence [0] = aPropSequence;
7689 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7692 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7695 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7698 Sequence< PropertyValue > aPropSequence (3);
7700 aPropSequence [0].Name = "Coordinates";
7701 static const CustomShapeProvider::ParameterPairData aData[] = {
7703 EnhancedCustomShapeParameterType::NORMAL,
7704 EnhancedCustomShapeParameterType::EQUATION,
7705 0, 26
7708 EnhancedCustomShapeParameterType::EQUATION,
7709 EnhancedCustomShapeParameterType::EQUATION,
7710 51, 68
7713 EnhancedCustomShapeParameterType::EQUATION,
7714 EnhancedCustomShapeParameterType::EQUATION,
7715 16, 31
7718 EnhancedCustomShapeParameterType::EQUATION,
7719 EnhancedCustomShapeParameterType::EQUATION,
7720 52, 67
7723 EnhancedCustomShapeParameterType::EQUATION,
7724 EnhancedCustomShapeParameterType::EQUATION,
7725 17, 30
7728 EnhancedCustomShapeParameterType::EQUATION,
7729 EnhancedCustomShapeParameterType::EQUATION,
7730 53, 66
7733 EnhancedCustomShapeParameterType::EQUATION,
7734 EnhancedCustomShapeParameterType::EQUATION,
7735 18, 29
7738 EnhancedCustomShapeParameterType::EQUATION,
7739 EnhancedCustomShapeParameterType::EQUATION,
7740 54, 65
7743 EnhancedCustomShapeParameterType::EQUATION,
7744 EnhancedCustomShapeParameterType::EQUATION,
7745 19, 28
7748 EnhancedCustomShapeParameterType::EQUATION,
7749 EnhancedCustomShapeParameterType::EQUATION,
7750 55, 64
7753 EnhancedCustomShapeParameterType::EQUATION,
7754 EnhancedCustomShapeParameterType::EQUATION,
7755 20, 27
7758 EnhancedCustomShapeParameterType::EQUATION,
7759 EnhancedCustomShapeParameterType::EQUATION,
7760 56, 63
7763 EnhancedCustomShapeParameterType::EQUATION,
7764 EnhancedCustomShapeParameterType::NORMAL,
7765 15, 0
7768 EnhancedCustomShapeParameterType::EQUATION,
7769 EnhancedCustomShapeParameterType::EQUATION,
7770 57, 63
7773 EnhancedCustomShapeParameterType::EQUATION,
7774 EnhancedCustomShapeParameterType::EQUATION,
7775 21, 27
7778 EnhancedCustomShapeParameterType::EQUATION,
7779 EnhancedCustomShapeParameterType::EQUATION,
7780 58, 64
7783 EnhancedCustomShapeParameterType::EQUATION,
7784 EnhancedCustomShapeParameterType::EQUATION,
7785 22, 28
7788 EnhancedCustomShapeParameterType::EQUATION,
7789 EnhancedCustomShapeParameterType::EQUATION,
7790 59, 65
7793 EnhancedCustomShapeParameterType::EQUATION,
7794 EnhancedCustomShapeParameterType::EQUATION,
7795 23, 29
7798 EnhancedCustomShapeParameterType::EQUATION,
7799 EnhancedCustomShapeParameterType::EQUATION,
7800 60, 66
7803 EnhancedCustomShapeParameterType::EQUATION,
7804 EnhancedCustomShapeParameterType::EQUATION,
7805 24, 30
7808 EnhancedCustomShapeParameterType::EQUATION,
7809 EnhancedCustomShapeParameterType::EQUATION,
7810 61, 67
7813 EnhancedCustomShapeParameterType::EQUATION,
7814 EnhancedCustomShapeParameterType::EQUATION,
7815 25, 31
7818 EnhancedCustomShapeParameterType::EQUATION,
7819 EnhancedCustomShapeParameterType::EQUATION,
7820 62, 68
7823 EnhancedCustomShapeParameterType::EQUATION,
7824 EnhancedCustomShapeParameterType::EQUATION,
7825 84, 26
7828 EnhancedCustomShapeParameterType::EQUATION,
7829 EnhancedCustomShapeParameterType::EQUATION,
7830 62, 69
7833 EnhancedCustomShapeParameterType::EQUATION,
7834 EnhancedCustomShapeParameterType::EQUATION,
7835 25, 32
7838 EnhancedCustomShapeParameterType::EQUATION,
7839 EnhancedCustomShapeParameterType::EQUATION,
7840 61, 70
7843 EnhancedCustomShapeParameterType::EQUATION,
7844 EnhancedCustomShapeParameterType::EQUATION,
7845 24, 33
7848 EnhancedCustomShapeParameterType::EQUATION,
7849 EnhancedCustomShapeParameterType::EQUATION,
7850 60, 71
7853 EnhancedCustomShapeParameterType::EQUATION,
7854 EnhancedCustomShapeParameterType::EQUATION,
7855 23, 34
7858 EnhancedCustomShapeParameterType::EQUATION,
7859 EnhancedCustomShapeParameterType::EQUATION,
7860 59, 72
7863 EnhancedCustomShapeParameterType::EQUATION,
7864 EnhancedCustomShapeParameterType::EQUATION,
7865 22, 35
7868 EnhancedCustomShapeParameterType::EQUATION,
7869 EnhancedCustomShapeParameterType::EQUATION,
7870 58, 73
7873 EnhancedCustomShapeParameterType::EQUATION,
7874 EnhancedCustomShapeParameterType::EQUATION,
7875 21, 36
7878 EnhancedCustomShapeParameterType::EQUATION,
7879 EnhancedCustomShapeParameterType::EQUATION,
7880 57, 74
7883 EnhancedCustomShapeParameterType::EQUATION,
7884 EnhancedCustomShapeParameterType::EQUATION,
7885 15, 83
7888 EnhancedCustomShapeParameterType::EQUATION,
7889 EnhancedCustomShapeParameterType::EQUATION,
7890 56, 74
7893 EnhancedCustomShapeParameterType::EQUATION,
7894 EnhancedCustomShapeParameterType::EQUATION,
7895 20, 36
7898 EnhancedCustomShapeParameterType::EQUATION,
7899 EnhancedCustomShapeParameterType::EQUATION,
7900 55, 73
7903 EnhancedCustomShapeParameterType::EQUATION,
7904 EnhancedCustomShapeParameterType::EQUATION,
7905 19, 35
7908 EnhancedCustomShapeParameterType::EQUATION,
7909 EnhancedCustomShapeParameterType::EQUATION,
7910 54, 72
7913 EnhancedCustomShapeParameterType::EQUATION,
7914 EnhancedCustomShapeParameterType::EQUATION,
7915 18, 34
7918 EnhancedCustomShapeParameterType::EQUATION,
7919 EnhancedCustomShapeParameterType::EQUATION,
7920 53, 71
7923 EnhancedCustomShapeParameterType::EQUATION,
7924 EnhancedCustomShapeParameterType::EQUATION,
7925 17, 33
7928 EnhancedCustomShapeParameterType::EQUATION,
7929 EnhancedCustomShapeParameterType::EQUATION,
7930 52, 70
7933 EnhancedCustomShapeParameterType::EQUATION,
7934 EnhancedCustomShapeParameterType::EQUATION,
7935 16, 32
7938 EnhancedCustomShapeParameterType::EQUATION,
7939 EnhancedCustomShapeParameterType::EQUATION,
7940 51, 69
7943 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7946 aPropSequence [1].Name = "Segments";
7947 static const sal_uInt16 nValues[] = {
7948 // Command, Count
7949 1,1,
7950 2,47,
7951 4,0,
7954 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7957 aPropSequence [2].Name = "TextFrames";
7958 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7960 EnhancedCustomShapeTextFrame aTextFrame;
7962 static const CustomShapeProvider::ParameterPairData aData =
7964 EnhancedCustomShapeParameterType::EQUATION,
7965 EnhancedCustomShapeParameterType::EQUATION,
7966 77, 78
7968 aTextFrame.TopLeft = createParameterPair(&aData);
7971 static const CustomShapeProvider::ParameterPairData aData =
7973 EnhancedCustomShapeParameterType::EQUATION,
7974 EnhancedCustomShapeParameterType::EQUATION,
7975 79, 80
7977 aTextFrame.BottomRight = createParameterPair(&aData);
7979 aTextFrameSeq [0] = aTextFrame;
7981 aPropSequence [2].Value = makeAny (aTextFrameSeq);
7983 aPropertyMap [PROP_Path] <<= aPropSequence;
7986 awt::Rectangle aRectangle;
7987 aRectangle.X = 0;
7988 aRectangle.Y = 0;
7989 aRectangle.Width = 0;
7990 aRectangle.Height = 0;
7991 aPropertyMap [PROP_ViewBox] <<= aRectangle;
7993 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-star24");
7995 return aPropertyMap;
7998 class ShapeCmathDivide : public CustomShapeProvider
8000 virtual PropertyMap getProperties()
8002 PropertyMap aPropertyMap;
8005 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
8007 Any aAny ((sal_Int32) 23520);
8008 aAdjSequence [0].Value = aAny;
8009 aAdjSequence [0].Name = "adj1";
8012 Any aAny ((sal_Int32) 5880);
8013 aAdjSequence [1].Value = aAny;
8014 aAdjSequence [1].Name = "adj2";
8017 Any aAny ((sal_Int32) 11760);
8018 aAdjSequence [2].Value = aAny;
8019 aAdjSequence [2].Name = "adj3";
8021 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8024 static const char *aStrings[] = {
8025 "if(1000-$0 ,1000,if(36745-$0 ,$0 ,36745))",
8026 "0+0-?0 ",
8027 "(73490+?1 )/4",
8028 "36745*logwidth/logheight",
8029 "min(?2 ,?3 )",
8030 "if(1000-$2 ,1000,if(?4 -$2 ,$2 ,?4 ))",
8031 "-4*?5 /1",
8032 "73490+?6 -?0 ",
8033 "if(0-$1 ,0,if(?7 -$1 ,$1 ,?7 ))",
8034 "logheight*?0 /200000",
8035 "logheight*?8 /100000",
8036 "logheight*?5 /100000",
8037 "logwidth*73490/200000",
8038 "logheight/2",
8039 "?13 +0-?9 ",
8040 "?13 +?9 -0",
8041 "?10 +?11 -0",
8042 "?14 +0-?16 ",
8043 "?17 +0-?11 ",
8044 "logheight+0-?18 ",
8045 "logwidth/2",
8046 "?20 +0-?12 ",
8047 "?20 +?12 -0",
8048 "?20 +0-?11 ",
8049 "logwidth",
8050 "(16200000)/60000.0",
8051 "(21600000)/60000.0",
8052 "(5400000)/60000.0",
8053 "(21600000)/60000.0"
8055 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8058 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
8060 Sequence< PropertyValue > aPropSequence (4);
8062 aPropSequence [0].Name = "Position";
8063 static const CustomShapeProvider::ParameterPairData aData =
8065 EnhancedCustomShapeParameterType::NORMAL,
8066 EnhancedCustomShapeParameterType::EQUATION,
8067 0, 14
8069 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8072 aPropSequence [1].Name = "RangeYMaximum";
8073 EnhancedCustomShapeParameter aParameter;
8074 Any aAny ((sal_Int32) 36745);
8075 aParameter.Value = aAny;
8076 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8077 aPropSequence [1].Value = makeAny (aParameter);
8080 aPropSequence [2].Name = "RangeYMinimum";
8081 EnhancedCustomShapeParameter aParameter;
8082 Any aAny ((sal_Int32) 1000);
8083 aParameter.Value = aAny;
8084 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8085 aPropSequence [2].Value = makeAny (aParameter);
8088 aPropSequence [3].Name = "RefY";
8089 Any aAny ((sal_Int32) 0);
8090 aPropSequence [3].Value = makeAny (aAny);
8092 aPropSequenceSequence [0] = aPropSequence;
8095 Sequence< PropertyValue > aPropSequence (4);
8097 aPropSequence [0].Name = "Position";
8098 static const CustomShapeProvider::ParameterPairData aData =
8100 EnhancedCustomShapeParameterType::EQUATION,
8101 EnhancedCustomShapeParameterType::EQUATION,
8102 24, 17
8104 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8107 aPropSequence [1].Name = "RangeYMaximum";
8108 EnhancedCustomShapeParameter aParameter;
8109 Any aAny ((sal_Int32) 7);
8110 aParameter.Value = aAny;
8111 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8112 aPropSequence [1].Value = makeAny (aParameter);
8115 aPropSequence [2].Name = "RangeYMinimum";
8116 EnhancedCustomShapeParameter aParameter;
8117 Any aAny ((sal_Int32) 0);
8118 aParameter.Value = aAny;
8119 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8120 aPropSequence [2].Value = makeAny (aParameter);
8123 aPropSequence [3].Name = "RefY";
8124 Any aAny ((sal_Int32) 1);
8125 aPropSequence [3].Value = makeAny (aAny);
8127 aPropSequenceSequence [1] = aPropSequence;
8130 Sequence< PropertyValue > aPropSequence (4);
8132 aPropSequence [0].Name = "Position";
8133 static const CustomShapeProvider::ParameterPairData aData =
8135 EnhancedCustomShapeParameterType::EQUATION,
8136 EnhancedCustomShapeParameterType::NORMAL,
8137 23, 0
8139 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8142 aPropSequence [1].Name = "RangeXMaximum";
8143 EnhancedCustomShapeParameter aParameter;
8144 Any aAny ((sal_Int32) 4);
8145 aParameter.Value = aAny;
8146 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
8147 aPropSequence [1].Value = makeAny (aParameter);
8150 aPropSequence [2].Name = "RangeXMinimum";
8151 EnhancedCustomShapeParameter aParameter;
8152 Any aAny ((sal_Int32) 1000);
8153 aParameter.Value = aAny;
8154 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8155 aPropSequence [2].Value = makeAny (aParameter);
8158 aPropSequence [3].Name = "RefX";
8159 Any aAny ((sal_Int32) 2);
8160 aPropSequence [3].Value = makeAny (aAny);
8162 aPropSequenceSequence [2] = aPropSequence;
8164 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8167 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8170 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8173 Sequence< PropertyValue > aPropSequence (3);
8175 aPropSequence [0].Name = "Coordinates";
8176 static const CustomShapeProvider::ParameterPairData aData[] = {
8178 EnhancedCustomShapeParameterType::EQUATION,
8179 EnhancedCustomShapeParameterType::EQUATION,
8180 20, 18
8183 EnhancedCustomShapeParameterType::EQUATION,
8184 EnhancedCustomShapeParameterType::EQUATION,
8185 11, 11
8188 EnhancedCustomShapeParameterType::EQUATION,
8189 EnhancedCustomShapeParameterType::EQUATION,
8190 25, 26
8193 EnhancedCustomShapeParameterType::EQUATION,
8194 EnhancedCustomShapeParameterType::EQUATION,
8195 20, 19
8198 EnhancedCustomShapeParameterType::EQUATION,
8199 EnhancedCustomShapeParameterType::EQUATION,
8200 11, 11
8203 EnhancedCustomShapeParameterType::EQUATION,
8204 EnhancedCustomShapeParameterType::EQUATION,
8205 27, 28
8208 EnhancedCustomShapeParameterType::EQUATION,
8209 EnhancedCustomShapeParameterType::EQUATION,
8210 21, 14
8213 EnhancedCustomShapeParameterType::EQUATION,
8214 EnhancedCustomShapeParameterType::EQUATION,
8215 22, 14
8218 EnhancedCustomShapeParameterType::EQUATION,
8219 EnhancedCustomShapeParameterType::EQUATION,
8220 22, 15
8223 EnhancedCustomShapeParameterType::EQUATION,
8224 EnhancedCustomShapeParameterType::EQUATION,
8225 21, 15
8228 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8231 aPropSequence [1].Name = "Segments";
8232 static const sal_uInt16 nValues[] = {
8233 // Command, Count
8234 1,1,
8235 17,1,
8236 4,0,
8237 1,1,
8238 17,1,
8239 4,0,
8240 1,1,
8241 2,3,
8242 4,0,
8245 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8248 aPropSequence [2].Name = "TextFrames";
8249 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8251 EnhancedCustomShapeTextFrame aTextFrame;
8253 static const CustomShapeProvider::ParameterPairData aData =
8255 EnhancedCustomShapeParameterType::EQUATION,
8256 EnhancedCustomShapeParameterType::EQUATION,
8257 21, 14
8259 aTextFrame.TopLeft = createParameterPair(&aData);
8262 static const CustomShapeProvider::ParameterPairData aData =
8264 EnhancedCustomShapeParameterType::EQUATION,
8265 EnhancedCustomShapeParameterType::EQUATION,
8266 22, 15
8268 aTextFrame.BottomRight = createParameterPair(&aData);
8270 aTextFrameSeq [0] = aTextFrame;
8272 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8274 aPropertyMap [PROP_Path] <<= aPropSequence;
8277 awt::Rectangle aRectangle;
8278 aRectangle.X = 0;
8279 aRectangle.Y = 0;
8280 aRectangle.Width = 0;
8281 aRectangle.Height = 0;
8282 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8284 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-mathDivide");
8286 return aPropertyMap;
8289 class ShapeCcurvedConnector4 : public CustomShapeProvider
8291 virtual PropertyMap getProperties()
8293 PropertyMap aPropertyMap;
8296 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
8298 Any aAny ((sal_Int32) 50000);
8299 aAdjSequence [0].Value = aAny;
8300 aAdjSequence [0].Name = "adj1";
8303 Any aAny ((sal_Int32) 50000);
8304 aAdjSequence [1].Value = aAny;
8305 aAdjSequence [1].Name = "adj2";
8307 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8310 static const char *aStrings[] = {
8311 "logwidth*$0 /100000",
8312 "(0+?0 )/2",
8313 "(logwidth+?0 )/2",
8314 "(?0 +?2 )/2",
8315 "(?2 +logwidth)/2",
8316 "logheight*$1 /100000",
8317 "(0+?5 )/2",
8318 "(0+?6 )/2",
8319 "(?6 +?5 )/2",
8320 "(logheight+?5 )/2",
8321 "logwidth",
8322 "logheight"
8324 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8327 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
8329 Sequence< PropertyValue > aPropSequence (4);
8331 aPropSequence [0].Name = "Position";
8332 static const CustomShapeProvider::ParameterPairData aData =
8334 EnhancedCustomShapeParameterType::EQUATION,
8335 EnhancedCustomShapeParameterType::EQUATION,
8336 0, 6
8338 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8341 aPropSequence [1].Name = "RangeXMaximum";
8342 EnhancedCustomShapeParameter aParameter;
8343 Any aAny ((sal_Int32) 2147483647);
8344 aParameter.Value = aAny;
8345 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8346 aPropSequence [1].Value = makeAny (aParameter);
8349 aPropSequence [2].Name = "RangeXMinimum";
8350 EnhancedCustomShapeParameter aParameter;
8351 Any aAny ((sal_Int32) -2147483647);
8352 aParameter.Value = aAny;
8353 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8354 aPropSequence [2].Value = makeAny (aParameter);
8357 aPropSequence [3].Name = "RefX";
8358 Any aAny ((sal_Int32) 0);
8359 aPropSequence [3].Value = makeAny (aAny);
8361 aPropSequenceSequence [0] = aPropSequence;
8364 Sequence< PropertyValue > aPropSequence (4);
8366 aPropSequence [0].Name = "Position";
8367 static const CustomShapeProvider::ParameterPairData aData =
8369 EnhancedCustomShapeParameterType::EQUATION,
8370 EnhancedCustomShapeParameterType::EQUATION,
8371 2, 5
8373 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8376 aPropSequence [1].Name = "RangeYMaximum";
8377 EnhancedCustomShapeParameter aParameter;
8378 Any aAny ((sal_Int32) 2147483647);
8379 aParameter.Value = aAny;
8380 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8381 aPropSequence [1].Value = makeAny (aParameter);
8384 aPropSequence [2].Name = "RangeYMinimum";
8385 EnhancedCustomShapeParameter aParameter;
8386 Any aAny ((sal_Int32) -2147483647);
8387 aParameter.Value = aAny;
8388 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8389 aPropSequence [2].Value = makeAny (aParameter);
8392 aPropSequence [3].Name = "RefY";
8393 Any aAny ((sal_Int32) 1);
8394 aPropSequence [3].Value = makeAny (aAny);
8396 aPropSequenceSequence [1] = aPropSequence;
8398 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8401 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8404 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8407 Sequence< PropertyValue > aPropSequence (3);
8409 aPropSequence [0].Name = "Coordinates";
8410 static const CustomShapeProvider::ParameterPairData aData[] = {
8412 EnhancedCustomShapeParameterType::NORMAL,
8413 EnhancedCustomShapeParameterType::NORMAL,
8414 0, 0
8417 EnhancedCustomShapeParameterType::EQUATION,
8418 EnhancedCustomShapeParameterType::NORMAL,
8419 1, 0
8422 EnhancedCustomShapeParameterType::EQUATION,
8423 EnhancedCustomShapeParameterType::EQUATION,
8424 0, 7
8427 EnhancedCustomShapeParameterType::EQUATION,
8428 EnhancedCustomShapeParameterType::EQUATION,
8429 0, 6
8432 EnhancedCustomShapeParameterType::EQUATION,
8433 EnhancedCustomShapeParameterType::EQUATION,
8434 0, 8
8437 EnhancedCustomShapeParameterType::EQUATION,
8438 EnhancedCustomShapeParameterType::EQUATION,
8439 3, 5
8442 EnhancedCustomShapeParameterType::EQUATION,
8443 EnhancedCustomShapeParameterType::EQUATION,
8444 2, 5
8447 EnhancedCustomShapeParameterType::EQUATION,
8448 EnhancedCustomShapeParameterType::EQUATION,
8449 4, 5
8452 EnhancedCustomShapeParameterType::EQUATION,
8453 EnhancedCustomShapeParameterType::EQUATION,
8454 10, 9
8457 EnhancedCustomShapeParameterType::EQUATION,
8458 EnhancedCustomShapeParameterType::EQUATION,
8459 10, 11
8462 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8465 aPropSequence [1].Name = "Segments";
8466 static const sal_uInt16 nValues[] = {
8467 // Command, Count
8468 1,1,
8469 3,3,
8470 6,0,
8473 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8476 aPropSequence [2].Name = "TextFrames";
8477 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8479 EnhancedCustomShapeTextFrame aTextFrame;
8481 static const CustomShapeProvider::ParameterPairData aData =
8483 EnhancedCustomShapeParameterType::NORMAL,
8484 EnhancedCustomShapeParameterType::NORMAL,
8485 0, 0
8487 aTextFrame.TopLeft = createParameterPair(&aData);
8490 static const CustomShapeProvider::ParameterPairData aData =
8492 EnhancedCustomShapeParameterType::EQUATION,
8493 EnhancedCustomShapeParameterType::EQUATION,
8494 10, 11
8496 aTextFrame.BottomRight = createParameterPair(&aData);
8498 aTextFrameSeq [0] = aTextFrame;
8500 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8502 aPropertyMap [PROP_Path] <<= aPropSequence;
8505 awt::Rectangle aRectangle;
8506 aRectangle.X = 0;
8507 aRectangle.Y = 0;
8508 aRectangle.Width = 0;
8509 aRectangle.Height = 0;
8510 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8512 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-curvedConnector4");
8514 return aPropertyMap;
8517 class ShapeCflowChartOr : public CustomShapeProvider
8519 virtual PropertyMap getProperties()
8521 PropertyMap aPropertyMap;
8524 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
8527 static const char *aStrings[] = {
8528 "logwidth/2",
8529 "?0 *cos(pi*(2700000)/10800000)",
8530 "logheight/2",
8531 "?2 *sin(pi*(2700000)/10800000)",
8532 "logwidth/2",
8533 "?4 +0-?1 ",
8534 "?4 +?1 -0",
8535 "logheight/2",
8536 "?7 +0-?3 ",
8537 "?7 +?3 -0",
8538 "logheight",
8539 "logwidth",
8540 "(10800000)/60000.0",
8541 "(5400000)/60000.0",
8542 "(16200000)/60000.0",
8543 "(5400000)/60000.0",
8544 "(0)/60000.0",
8545 "(5400000)/60000.0",
8546 "(5400000)/60000.0",
8547 "(5400000)/60000.0",
8548 "(10800000)/60000.0",
8549 "(5400000)/60000.0",
8550 "(16200000)/60000.0",
8551 "(5400000)/60000.0",
8552 "(0)/60000.0",
8553 "(5400000)/60000.0",
8554 "(5400000)/60000.0",
8555 "(5400000)/60000.0"
8557 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8560 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
8563 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8566 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8569 Sequence< PropertyValue > aPropSequence (3);
8571 aPropSequence [0].Name = "Coordinates";
8572 static const CustomShapeProvider::ParameterPairData aData[] = {
8574 EnhancedCustomShapeParameterType::NORMAL,
8575 EnhancedCustomShapeParameterType::EQUATION,
8576 0, 7
8579 EnhancedCustomShapeParameterType::EQUATION,
8580 EnhancedCustomShapeParameterType::EQUATION,
8581 0, 2
8584 EnhancedCustomShapeParameterType::EQUATION,
8585 EnhancedCustomShapeParameterType::EQUATION,
8586 12, 13
8589 EnhancedCustomShapeParameterType::EQUATION,
8590 EnhancedCustomShapeParameterType::EQUATION,
8591 0, 2
8594 EnhancedCustomShapeParameterType::EQUATION,
8595 EnhancedCustomShapeParameterType::EQUATION,
8596 14, 15
8599 EnhancedCustomShapeParameterType::EQUATION,
8600 EnhancedCustomShapeParameterType::EQUATION,
8601 0, 2
8604 EnhancedCustomShapeParameterType::EQUATION,
8605 EnhancedCustomShapeParameterType::EQUATION,
8606 16, 17
8609 EnhancedCustomShapeParameterType::EQUATION,
8610 EnhancedCustomShapeParameterType::EQUATION,
8611 0, 2
8614 EnhancedCustomShapeParameterType::EQUATION,
8615 EnhancedCustomShapeParameterType::EQUATION,
8616 18, 19
8619 EnhancedCustomShapeParameterType::EQUATION,
8620 EnhancedCustomShapeParameterType::NORMAL,
8621 4, 0
8624 EnhancedCustomShapeParameterType::EQUATION,
8625 EnhancedCustomShapeParameterType::EQUATION,
8626 4, 10
8629 EnhancedCustomShapeParameterType::NORMAL,
8630 EnhancedCustomShapeParameterType::EQUATION,
8631 0, 7
8634 EnhancedCustomShapeParameterType::EQUATION,
8635 EnhancedCustomShapeParameterType::EQUATION,
8636 11, 7
8639 EnhancedCustomShapeParameterType::NORMAL,
8640 EnhancedCustomShapeParameterType::EQUATION,
8641 0, 7
8644 EnhancedCustomShapeParameterType::EQUATION,
8645 EnhancedCustomShapeParameterType::EQUATION,
8646 0, 2
8649 EnhancedCustomShapeParameterType::EQUATION,
8650 EnhancedCustomShapeParameterType::EQUATION,
8651 20, 21
8654 EnhancedCustomShapeParameterType::EQUATION,
8655 EnhancedCustomShapeParameterType::EQUATION,
8656 0, 2
8659 EnhancedCustomShapeParameterType::EQUATION,
8660 EnhancedCustomShapeParameterType::EQUATION,
8661 22, 23
8664 EnhancedCustomShapeParameterType::EQUATION,
8665 EnhancedCustomShapeParameterType::EQUATION,
8666 0, 2
8669 EnhancedCustomShapeParameterType::EQUATION,
8670 EnhancedCustomShapeParameterType::EQUATION,
8671 24, 25
8674 EnhancedCustomShapeParameterType::EQUATION,
8675 EnhancedCustomShapeParameterType::EQUATION,
8676 0, 2
8679 EnhancedCustomShapeParameterType::EQUATION,
8680 EnhancedCustomShapeParameterType::EQUATION,
8681 26, 27
8684 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8687 aPropSequence [1].Name = "Segments";
8688 static const sal_uInt16 nValues[] = {
8689 // Command, Count
8690 1,1,
8691 17,4,
8692 4,0,
8693 7,0,
8694 5,0,
8695 1,1,
8696 2,1,
8697 1,1,
8698 2,1,
8699 6,0,
8700 5,0,
8701 1,1,
8702 17,4,
8703 4,0,
8704 6,0,
8707 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8710 aPropSequence [2].Name = "TextFrames";
8711 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8713 EnhancedCustomShapeTextFrame aTextFrame;
8715 static const CustomShapeProvider::ParameterPairData aData =
8717 EnhancedCustomShapeParameterType::EQUATION,
8718 EnhancedCustomShapeParameterType::EQUATION,
8719 5, 8
8721 aTextFrame.TopLeft = createParameterPair(&aData);
8724 static const CustomShapeProvider::ParameterPairData aData =
8726 EnhancedCustomShapeParameterType::EQUATION,
8727 EnhancedCustomShapeParameterType::EQUATION,
8728 6, 9
8730 aTextFrame.BottomRight = createParameterPair(&aData);
8732 aTextFrameSeq [0] = aTextFrame;
8734 aPropSequence [2].Value = makeAny (aTextFrameSeq);
8736 aPropertyMap [PROP_Path] <<= aPropSequence;
8739 awt::Rectangle aRectangle;
8740 aRectangle.X = 0;
8741 aRectangle.Y = 0;
8742 aRectangle.Width = 0;
8743 aRectangle.Height = 0;
8744 aPropertyMap [PROP_ViewBox] <<= aRectangle;
8746 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartOr");
8748 return aPropertyMap;
8751 class ShapeCborderCallout3 : public CustomShapeProvider
8753 virtual PropertyMap getProperties()
8755 PropertyMap aPropertyMap;
8758 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8);
8760 Any aAny ((sal_Int32) 18750);
8761 aAdjSequence [0].Value = aAny;
8762 aAdjSequence [0].Name = "adj1";
8765 Any aAny ((sal_Int32) -8333);
8766 aAdjSequence [1].Value = aAny;
8767 aAdjSequence [1].Name = "adj2";
8770 Any aAny ((sal_Int32) 18750);
8771 aAdjSequence [2].Value = aAny;
8772 aAdjSequence [2].Name = "adj3";
8775 Any aAny ((sal_Int32) -16667);
8776 aAdjSequence [3].Value = aAny;
8777 aAdjSequence [3].Name = "adj4";
8780 Any aAny ((sal_Int32) 100000);
8781 aAdjSequence [4].Value = aAny;
8782 aAdjSequence [4].Name = "adj5";
8785 Any aAny ((sal_Int32) -16667);
8786 aAdjSequence [5].Value = aAny;
8787 aAdjSequence [5].Name = "adj6";
8790 Any aAny ((sal_Int32) 112963);
8791 aAdjSequence [6].Value = aAny;
8792 aAdjSequence [6].Name = "adj7";
8795 Any aAny ((sal_Int32) -8333);
8796 aAdjSequence [7].Value = aAny;
8797 aAdjSequence [7].Name = "adj8";
8799 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8802 static const char *aStrings[] = {
8803 "logheight*$0 /100000",
8804 "logwidth*$1 /100000",
8805 "logheight*$2 /100000",
8806 "logwidth*$3 /100000",
8807 "logheight*$4 /100000",
8808 "logwidth*$5 /100000",
8809 "logheight*$6 /100000",
8810 "logwidth*$7 /100000",
8811 "logwidth",
8812 "logheight/2",
8813 "logwidth/2",
8814 "logheight"
8816 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8819 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
8821 Sequence< PropertyValue > aPropSequence (7);
8823 aPropSequence [0].Name = "Position";
8824 static const CustomShapeProvider::ParameterPairData aData =
8826 EnhancedCustomShapeParameterType::EQUATION,
8827 EnhancedCustomShapeParameterType::EQUATION,
8828 1, 0
8830 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8833 aPropSequence [1].Name = "RangeXMaximum";
8834 EnhancedCustomShapeParameter aParameter;
8835 Any aAny ((sal_Int32) 2147483647);
8836 aParameter.Value = aAny;
8837 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8838 aPropSequence [1].Value = makeAny (aParameter);
8841 aPropSequence [2].Name = "RangeXMinimum";
8842 EnhancedCustomShapeParameter aParameter;
8843 Any aAny ((sal_Int32) -2147483647);
8844 aParameter.Value = aAny;
8845 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8846 aPropSequence [2].Value = makeAny (aParameter);
8849 aPropSequence [3].Name = "RangeYMaximum";
8850 EnhancedCustomShapeParameter aParameter;
8851 Any aAny ((sal_Int32) 2147483647);
8852 aParameter.Value = aAny;
8853 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8854 aPropSequence [3].Value = makeAny (aParameter);
8857 aPropSequence [4].Name = "RangeYMinimum";
8858 EnhancedCustomShapeParameter aParameter;
8859 Any aAny ((sal_Int32) -2147483647);
8860 aParameter.Value = aAny;
8861 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8862 aPropSequence [4].Value = makeAny (aParameter);
8865 aPropSequence [5].Name = "RefX";
8866 Any aAny ((sal_Int32) 1);
8867 aPropSequence [5].Value = makeAny (aAny);
8870 aPropSequence [6].Name = "RefY";
8871 Any aAny ((sal_Int32) 0);
8872 aPropSequence [6].Value = makeAny (aAny);
8874 aPropSequenceSequence [0] = aPropSequence;
8877 Sequence< PropertyValue > aPropSequence (7);
8879 aPropSequence [0].Name = "Position";
8880 static const CustomShapeProvider::ParameterPairData aData =
8882 EnhancedCustomShapeParameterType::EQUATION,
8883 EnhancedCustomShapeParameterType::EQUATION,
8884 3, 2
8886 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8889 aPropSequence [1].Name = "RangeXMaximum";
8890 EnhancedCustomShapeParameter aParameter;
8891 Any aAny ((sal_Int32) 2147483647);
8892 aParameter.Value = aAny;
8893 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8894 aPropSequence [1].Value = makeAny (aParameter);
8897 aPropSequence [2].Name = "RangeXMinimum";
8898 EnhancedCustomShapeParameter aParameter;
8899 Any aAny ((sal_Int32) -2147483647);
8900 aParameter.Value = aAny;
8901 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8902 aPropSequence [2].Value = makeAny (aParameter);
8905 aPropSequence [3].Name = "RangeYMaximum";
8906 EnhancedCustomShapeParameter aParameter;
8907 Any aAny ((sal_Int32) 2147483647);
8908 aParameter.Value = aAny;
8909 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8910 aPropSequence [3].Value = makeAny (aParameter);
8913 aPropSequence [4].Name = "RangeYMinimum";
8914 EnhancedCustomShapeParameter aParameter;
8915 Any aAny ((sal_Int32) -2147483647);
8916 aParameter.Value = aAny;
8917 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8918 aPropSequence [4].Value = makeAny (aParameter);
8921 aPropSequence [5].Name = "RefX";
8922 Any aAny ((sal_Int32) 3);
8923 aPropSequence [5].Value = makeAny (aAny);
8926 aPropSequence [6].Name = "RefY";
8927 Any aAny ((sal_Int32) 2);
8928 aPropSequence [6].Value = makeAny (aAny);
8930 aPropSequenceSequence [1] = aPropSequence;
8933 Sequence< PropertyValue > aPropSequence (7);
8935 aPropSequence [0].Name = "Position";
8936 static const CustomShapeProvider::ParameterPairData aData =
8938 EnhancedCustomShapeParameterType::EQUATION,
8939 EnhancedCustomShapeParameterType::EQUATION,
8940 5, 4
8942 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8945 aPropSequence [1].Name = "RangeXMaximum";
8946 EnhancedCustomShapeParameter aParameter;
8947 Any aAny ((sal_Int32) 2147483647);
8948 aParameter.Value = aAny;
8949 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8950 aPropSequence [1].Value = makeAny (aParameter);
8953 aPropSequence [2].Name = "RangeXMinimum";
8954 EnhancedCustomShapeParameter aParameter;
8955 Any aAny ((sal_Int32) -2147483647);
8956 aParameter.Value = aAny;
8957 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8958 aPropSequence [2].Value = makeAny (aParameter);
8961 aPropSequence [3].Name = "RangeYMaximum";
8962 EnhancedCustomShapeParameter aParameter;
8963 Any aAny ((sal_Int32) 2147483647);
8964 aParameter.Value = aAny;
8965 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8966 aPropSequence [3].Value = makeAny (aParameter);
8969 aPropSequence [4].Name = "RangeYMinimum";
8970 EnhancedCustomShapeParameter aParameter;
8971 Any aAny ((sal_Int32) -2147483647);
8972 aParameter.Value = aAny;
8973 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8974 aPropSequence [4].Value = makeAny (aParameter);
8977 aPropSequence [5].Name = "RefX";
8978 Any aAny ((sal_Int32) 5);
8979 aPropSequence [5].Value = makeAny (aAny);
8982 aPropSequence [6].Name = "RefY";
8983 Any aAny ((sal_Int32) 4);
8984 aPropSequence [6].Value = makeAny (aAny);
8986 aPropSequenceSequence [2] = aPropSequence;
8989 Sequence< PropertyValue > aPropSequence (7);
8991 aPropSequence [0].Name = "Position";
8992 static const CustomShapeProvider::ParameterPairData aData =
8994 EnhancedCustomShapeParameterType::EQUATION,
8995 EnhancedCustomShapeParameterType::EQUATION,
8996 7, 6
8998 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9001 aPropSequence [1].Name = "RangeXMaximum";
9002 EnhancedCustomShapeParameter aParameter;
9003 Any aAny ((sal_Int32) 2147483647);
9004 aParameter.Value = aAny;
9005 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9006 aPropSequence [1].Value = makeAny (aParameter);
9009 aPropSequence [2].Name = "RangeXMinimum";
9010 EnhancedCustomShapeParameter aParameter;
9011 Any aAny ((sal_Int32) -2147483647);
9012 aParameter.Value = aAny;
9013 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9014 aPropSequence [2].Value = makeAny (aParameter);
9017 aPropSequence [3].Name = "RangeYMaximum";
9018 EnhancedCustomShapeParameter aParameter;
9019 Any aAny ((sal_Int32) 2147483647);
9020 aParameter.Value = aAny;
9021 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9022 aPropSequence [3].Value = makeAny (aParameter);
9025 aPropSequence [4].Name = "RangeYMinimum";
9026 EnhancedCustomShapeParameter aParameter;
9027 Any aAny ((sal_Int32) -2147483647);
9028 aParameter.Value = aAny;
9029 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9030 aPropSequence [4].Value = makeAny (aParameter);
9033 aPropSequence [5].Name = "RefX";
9034 Any aAny ((sal_Int32) 7);
9035 aPropSequence [5].Value = makeAny (aAny);
9038 aPropSequence [6].Name = "RefY";
9039 Any aAny ((sal_Int32) 6);
9040 aPropSequence [6].Value = makeAny (aAny);
9042 aPropSequenceSequence [3] = aPropSequence;
9044 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
9047 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9050 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9053 Sequence< PropertyValue > aPropSequence (3);
9055 aPropSequence [0].Name = "Coordinates";
9056 static const CustomShapeProvider::ParameterPairData aData[] = {
9058 EnhancedCustomShapeParameterType::NORMAL,
9059 EnhancedCustomShapeParameterType::NORMAL,
9060 0, 0
9063 EnhancedCustomShapeParameterType::EQUATION,
9064 EnhancedCustomShapeParameterType::NORMAL,
9065 8, 0
9068 EnhancedCustomShapeParameterType::EQUATION,
9069 EnhancedCustomShapeParameterType::EQUATION,
9070 8, 11
9073 EnhancedCustomShapeParameterType::NORMAL,
9074 EnhancedCustomShapeParameterType::EQUATION,
9075 0, 11
9078 EnhancedCustomShapeParameterType::EQUATION,
9079 EnhancedCustomShapeParameterType::EQUATION,
9080 1, 0
9083 EnhancedCustomShapeParameterType::EQUATION,
9084 EnhancedCustomShapeParameterType::EQUATION,
9085 3, 2
9088 EnhancedCustomShapeParameterType::EQUATION,
9089 EnhancedCustomShapeParameterType::EQUATION,
9090 5, 4
9093 EnhancedCustomShapeParameterType::EQUATION,
9094 EnhancedCustomShapeParameterType::EQUATION,
9095 7, 6
9098 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9101 aPropSequence [1].Name = "Segments";
9102 static const sal_uInt16 nValues[] = {
9103 // Command, Count
9104 1,1,
9105 2,3,
9106 4,0,
9107 5,0,
9108 1,1,
9109 2,3,
9110 6,0,
9113 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9116 aPropSequence [2].Name = "TextFrames";
9117 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9119 EnhancedCustomShapeTextFrame aTextFrame;
9121 static const CustomShapeProvider::ParameterPairData aData =
9123 EnhancedCustomShapeParameterType::NORMAL,
9124 EnhancedCustomShapeParameterType::NORMAL,
9125 0, 0
9127 aTextFrame.TopLeft = createParameterPair(&aData);
9130 static const CustomShapeProvider::ParameterPairData aData =
9132 EnhancedCustomShapeParameterType::EQUATION,
9133 EnhancedCustomShapeParameterType::EQUATION,
9134 8, 11
9136 aTextFrame.BottomRight = createParameterPair(&aData);
9138 aTextFrameSeq [0] = aTextFrame;
9140 aPropSequence [2].Value = makeAny (aTextFrameSeq);
9142 aPropertyMap [PROP_Path] <<= aPropSequence;
9145 awt::Rectangle aRectangle;
9146 aRectangle.X = 0;
9147 aRectangle.Y = 0;
9148 aRectangle.Width = 0;
9149 aRectangle.Height = 0;
9150 aPropertyMap [PROP_ViewBox] <<= aRectangle;
9152 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-borderCallout3");
9154 return aPropertyMap;
9157 class ShapeCupDownArrowCallout : public CustomShapeProvider
9159 virtual PropertyMap getProperties()
9161 PropertyMap aPropertyMap;
9164 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
9166 Any aAny ((sal_Int32) 25000);
9167 aAdjSequence [0].Value = aAny;
9168 aAdjSequence [0].Name = "adj1";
9171 Any aAny ((sal_Int32) 25000);
9172 aAdjSequence [1].Value = aAny;
9173 aAdjSequence [1].Name = "adj2";
9176 Any aAny ((sal_Int32) 25000);
9177 aAdjSequence [2].Value = aAny;
9178 aAdjSequence [2].Name = "adj3";
9181 Any aAny ((sal_Int32) 48123);
9182 aAdjSequence [3].Value = aAny;
9183 aAdjSequence [3].Name = "adj4";
9185 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
9188 static const char *aStrings[] = {
9189 "min(logwidth,logheight)",
9190 "50000*logwidth/?0 ",
9191 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
9192 "?2 *2/1",
9193 "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
9194 "50000*logheight/?0 ",
9195 "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
9196 "logheight/2",
9197 "?6 *?0 /?7 ",
9198 "100000+0-?8 ",
9199 "if(0-$3 ,0,if(?9 -$3 ,$3 ,?9 ))",
9200 "?0 *?2 /100000",
9201 "?0 *?4 /200000",
9202 "logwidth/2",
9203 "?13 +0-?11 ",
9204 "?13 +0-?12 ",
9205 "?13 +?12 -0",
9206 "?13 +?11 -0",
9207 "?0 *?6 /100000",
9208 "logheight+0-?18 ",
9209 "logheight*?10 /200000",
9210 "logheight/2",
9211 "?21 +0-?20 ",
9212 "?21 +?20 -0",
9213 "logwidth",
9214 "logheight"
9216 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
9219 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
9221 Sequence< PropertyValue > aPropSequence (4);
9223 aPropSequence [0].Name = "Position";
9224 static const CustomShapeProvider::ParameterPairData aData =
9226 EnhancedCustomShapeParameterType::EQUATION,
9227 EnhancedCustomShapeParameterType::EQUATION,
9228 15, 18
9230 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9233 aPropSequence [1].Name = "RangeXMaximum";
9234 EnhancedCustomShapeParameter aParameter;
9235 Any aAny ((sal_Int32) 3);
9236 aParameter.Value = aAny;
9237 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9238 aPropSequence [1].Value = makeAny (aParameter);
9241 aPropSequence [2].Name = "RangeXMinimum";
9242 EnhancedCustomShapeParameter aParameter;
9243 Any aAny ((sal_Int32) 0);
9244 aParameter.Value = aAny;
9245 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9246 aPropSequence [2].Value = makeAny (aParameter);
9249 aPropSequence [3].Name = "RefX";
9250 Any aAny ((sal_Int32) 0);
9251 aPropSequence [3].Value = makeAny (aAny);
9253 aPropSequenceSequence [0] = aPropSequence;
9256 Sequence< PropertyValue > aPropSequence (4);
9258 aPropSequence [0].Name = "Position";
9259 static const CustomShapeProvider::ParameterPairData aData =
9261 EnhancedCustomShapeParameterType::EQUATION,
9262 EnhancedCustomShapeParameterType::NORMAL,
9263 14, 0
9265 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9268 aPropSequence [1].Name = "RangeXMaximum";
9269 EnhancedCustomShapeParameter aParameter;
9270 Any aAny ((sal_Int32) 1);
9271 aParameter.Value = aAny;
9272 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9273 aPropSequence [1].Value = makeAny (aParameter);
9276 aPropSequence [2].Name = "RangeXMinimum";
9277 EnhancedCustomShapeParameter aParameter;
9278 Any aAny ((sal_Int32) 0);
9279 aParameter.Value = aAny;
9280 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9281 aPropSequence [2].Value = makeAny (aParameter);
9284 aPropSequence [3].Name = "RefX";
9285 Any aAny ((sal_Int32) 1);
9286 aPropSequence [3].Value = makeAny (aAny);
9288 aPropSequenceSequence [1] = aPropSequence;
9291 Sequence< PropertyValue > aPropSequence (4);
9293 aPropSequence [0].Name = "Position";
9294 static const CustomShapeProvider::ParameterPairData aData =
9296 EnhancedCustomShapeParameterType::EQUATION,
9297 EnhancedCustomShapeParameterType::EQUATION,
9298 24, 18
9300 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9303 aPropSequence [1].Name = "RangeYMaximum";
9304 EnhancedCustomShapeParameter aParameter;
9305 Any aAny ((sal_Int32) 5);
9306 aParameter.Value = aAny;
9307 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9308 aPropSequence [1].Value = makeAny (aParameter);
9311 aPropSequence [2].Name = "RangeYMinimum";
9312 EnhancedCustomShapeParameter aParameter;
9313 Any aAny ((sal_Int32) 0);
9314 aParameter.Value = aAny;
9315 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9316 aPropSequence [2].Value = makeAny (aParameter);
9319 aPropSequence [3].Name = "RefY";
9320 Any aAny ((sal_Int32) 2);
9321 aPropSequence [3].Value = makeAny (aAny);
9323 aPropSequenceSequence [2] = aPropSequence;
9326 Sequence< PropertyValue > aPropSequence (4);
9328 aPropSequence [0].Name = "Position";
9329 static const CustomShapeProvider::ParameterPairData aData =
9331 EnhancedCustomShapeParameterType::NORMAL,
9332 EnhancedCustomShapeParameterType::EQUATION,
9333 0, 22
9335 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
9338 aPropSequence [1].Name = "RangeYMaximum";
9339 EnhancedCustomShapeParameter aParameter;
9340 Any aAny ((sal_Int32) 9);
9341 aParameter.Value = aAny;
9342 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
9343 aPropSequence [1].Value = makeAny (aParameter);
9346 aPropSequence [2].Name = "RangeYMinimum";
9347 EnhancedCustomShapeParameter aParameter;
9348 Any aAny ((sal_Int32) 0);
9349 aParameter.Value = aAny;
9350 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
9351 aPropSequence [2].Value = makeAny (aParameter);
9354 aPropSequence [3].Name = "RefY";
9355 Any aAny ((sal_Int32) 3);
9356 aPropSequence [3].Value = makeAny (aAny);
9358 aPropSequenceSequence [3] = aPropSequence;
9360 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
9363 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9366 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9369 Sequence< PropertyValue > aPropSequence (3);
9371 aPropSequence [0].Name = "Coordinates";
9372 static const CustomShapeProvider::ParameterPairData aData[] = {
9374 EnhancedCustomShapeParameterType::NORMAL,
9375 EnhancedCustomShapeParameterType::EQUATION,
9376 0, 22
9379 EnhancedCustomShapeParameterType::EQUATION,
9380 EnhancedCustomShapeParameterType::EQUATION,
9381 15, 22
9384 EnhancedCustomShapeParameterType::EQUATION,
9385 EnhancedCustomShapeParameterType::EQUATION,
9386 15, 18
9389 EnhancedCustomShapeParameterType::EQUATION,
9390 EnhancedCustomShapeParameterType::EQUATION,
9391 14, 18
9394 EnhancedCustomShapeParameterType::EQUATION,
9395 EnhancedCustomShapeParameterType::NORMAL,
9396 13, 0
9399 EnhancedCustomShapeParameterType::EQUATION,
9400 EnhancedCustomShapeParameterType::EQUATION,
9401 17, 18
9404 EnhancedCustomShapeParameterType::EQUATION,
9405 EnhancedCustomShapeParameterType::EQUATION,
9406 16, 18
9409 EnhancedCustomShapeParameterType::EQUATION,
9410 EnhancedCustomShapeParameterType::EQUATION,
9411 16, 22
9414 EnhancedCustomShapeParameterType::EQUATION,
9415 EnhancedCustomShapeParameterType::EQUATION,
9416 24, 22
9419 EnhancedCustomShapeParameterType::EQUATION,
9420 EnhancedCustomShapeParameterType::EQUATION,
9421 24, 23
9424 EnhancedCustomShapeParameterType::EQUATION,
9425 EnhancedCustomShapeParameterType::EQUATION,
9426 16, 23
9429 EnhancedCustomShapeParameterType::EQUATION,
9430 EnhancedCustomShapeParameterType::EQUATION,
9431 16, 19
9434 EnhancedCustomShapeParameterType::EQUATION,
9435 EnhancedCustomShapeParameterType::EQUATION,
9436 17, 19
9439 EnhancedCustomShapeParameterType::EQUATION,
9440 EnhancedCustomShapeParameterType::EQUATION,
9441 13, 25
9444 EnhancedCustomShapeParameterType::EQUATION,
9445 EnhancedCustomShapeParameterType::EQUATION,
9446 14, 19
9449 EnhancedCustomShapeParameterType::EQUATION,
9450 EnhancedCustomShapeParameterType::EQUATION,
9451 15, 19
9454 EnhancedCustomShapeParameterType::EQUATION,
9455 EnhancedCustomShapeParameterType::EQUATION,
9456 15, 23
9459 EnhancedCustomShapeParameterType::NORMAL,
9460 EnhancedCustomShapeParameterType::EQUATION,
9461 0, 23
9464 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9467 aPropSequence [1].Name = "Segments";
9468 static const sal_uInt16 nValues[] = {
9469 // Command, Count
9470 1,1,
9471 2,17,
9472 4,0,
9475 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9478 aPropSequence [2].Name = "TextFrames";
9479 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9481 EnhancedCustomShapeTextFrame aTextFrame;
9483 static const CustomShapeProvider::ParameterPairData aData =
9485 EnhancedCustomShapeParameterType::NORMAL,
9486 EnhancedCustomShapeParameterType::EQUATION,
9487 0, 22
9489 aTextFrame.TopLeft = createParameterPair(&aData);
9492 static const CustomShapeProvider::ParameterPairData aData =
9494 EnhancedCustomShapeParameterType::EQUATION,
9495 EnhancedCustomShapeParameterType::EQUATION,
9496 24, 23
9498 aTextFrame.BottomRight = createParameterPair(&aData);
9500 aTextFrameSeq [0] = aTextFrame;
9502 aPropSequence [2].Value = makeAny (aTextFrameSeq);
9504 aPropertyMap [PROP_Path] <<= aPropSequence;
9507 awt::Rectangle aRectangle;
9508 aRectangle.X = 0;
9509 aRectangle.Y = 0;
9510 aRectangle.Width = 0;
9511 aRectangle.Height = 0;
9512 aPropertyMap [PROP_ViewBox] <<= aRectangle;
9514 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-upDownArrowCallout");
9516 return aPropertyMap;
9519 class ShapeCflowChartDecision : public CustomShapeProvider
9521 virtual PropertyMap getProperties()
9523 PropertyMap aPropertyMap;
9526 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
9529 static const char *aStrings[] = {
9530 "logwidth*3/4",
9531 "logheight*3/4",
9532 "logwidth/2",
9533 "logheight/2",
9534 "logheight",
9535 "logwidth",
9536 "logwidth/4",
9537 "logheight/4"
9539 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
9542 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
9545 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
9548 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
9551 Sequence< PropertyValue > aPropSequence (4);
9553 aPropSequence [0].Name = "Coordinates";
9554 static const CustomShapeProvider::ParameterPairData aData[] = {
9556 EnhancedCustomShapeParameterType::NORMAL,
9557 EnhancedCustomShapeParameterType::NORMAL,
9558 0, 1
9561 EnhancedCustomShapeParameterType::NORMAL,
9562 EnhancedCustomShapeParameterType::NORMAL,
9563 1, 0
9566 EnhancedCustomShapeParameterType::NORMAL,
9567 EnhancedCustomShapeParameterType::NORMAL,
9568 2, 1
9571 EnhancedCustomShapeParameterType::NORMAL,
9572 EnhancedCustomShapeParameterType::NORMAL,
9573 1, 2
9576 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
9579 aPropSequence [1].Name = "Segments";
9580 static const sal_uInt16 nValues[] = {
9581 // Command, Count
9582 1,1,
9583 2,3,
9584 4,0,
9587 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
9590 aPropSequence [2].Name = "SubViewSize";
9591 Sequence< awt::Size > aSizeSequence (1);
9593 awt::Size aSize;
9594 aSize.Width = 2;
9595 aSize.Height = 2;
9596 aSizeSequence [0] = aSize;
9598 aPropSequence [2].Value = makeAny (aSizeSequence);
9601 aPropSequence [3].Name = "TextFrames";
9602 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
9604 EnhancedCustomShapeTextFrame aTextFrame;
9606 static const CustomShapeProvider::ParameterPairData aData =
9608 EnhancedCustomShapeParameterType::EQUATION,
9609 EnhancedCustomShapeParameterType::EQUATION,
9610 6, 7
9612 aTextFrame.TopLeft = createParameterPair(&aData);
9615 static const CustomShapeProvider::ParameterPairData aData =
9617 EnhancedCustomShapeParameterType::EQUATION,
9618 EnhancedCustomShapeParameterType::EQUATION,
9619 0, 1
9621 aTextFrame.BottomRight = createParameterPair(&aData);
9623 aTextFrameSeq [0] = aTextFrame;
9625 aPropSequence [3].Value = makeAny (aTextFrameSeq);
9627 aPropertyMap [PROP_Path] <<= aPropSequence;
9630 awt::Rectangle aRectangle;
9631 aRectangle.X = 0;
9632 aRectangle.Y = 0;
9633 aRectangle.Width = 0;
9634 aRectangle.Height = 0;
9635 aPropertyMap [PROP_ViewBox] <<= aRectangle;
9637 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartDecision");
9639 return aPropertyMap;
9642 } // anonymous namespace
9643 void CustomShapeProperties::initializePresetsMap1()
9645 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonSound" ) ] = new ShapeCactionButtonSound();
9646 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout1" ) ] = new ShapeCborderCallout1();
9647 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaqueTabs" ) ] = new ShapeCplaqueTabs();
9648 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedLeftArrow" ) ] = new ShapeCcurvedLeftArrow();
9649 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "octagon" ) ] = new ShapeCoctagon();
9650 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightRibbon" ) ] = new ShapeCleftRightRibbon();
9651 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonInformation" ) ] = new ShapeCactionButtonInformation();
9652 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentConnector5" ) ] = new ShapeCbentConnector5();
9653 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "circularArrow" ) ] = new ShapeCcircularArrow();
9654 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrowCallout" ) ] = new ShapeCdownArrowCallout();
9655 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathMinus" ) ] = new ShapeCmathMinus();
9656 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "gear9" ) ] = new ShapeCgear9();
9657 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "round1Rect" ) ] = new ShapeCround1Rect();
9658 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "sun" ) ] = new ShapeCsun();
9659 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plaque" ) ] = new ShapeCplaque();
9660 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chevron" ) ] = new ShapeCchevron();
9661 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartPreparation" ) ] = new ShapeCflowChartPreparation();
9662 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "diagStripe" ) ] = new ShapeCdiagStripe();
9663 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "pentagon" ) ] = new ShapeCpentagon();
9664 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "funnel" ) ] = new ShapeCfunnel();
9665 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartStar" ) ] = new ShapeCchartStar();
9666 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "accentBorderCallout1" ) ] = new ShapeCaccentBorderCallout1();
9667 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "notchedRightArrow" ) ] = new ShapeCnotchedRightArrow();
9668 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBracket" ) ] = new ShapeCrightBracket();
9669 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOffpageConnector" ) ] = new ShapeCflowChartOffpageConnector();
9670 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftRightArrow" ) ] = new ShapeCleftRightArrow();
9671 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "decagon" ) ] = new ShapeCdecagon();
9672 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonHelp" ) ] = new ShapeCactionButtonHelp();
9673 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star24" ) ] = new ShapeCstar24();
9674 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "mathDivide" ) ] = new ShapeCmathDivide();
9675 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedConnector4" ) ] = new ShapeCcurvedConnector4();
9676 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartOr" ) ] = new ShapeCflowChartOr();
9677 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "borderCallout3" ) ] = new ShapeCborderCallout3();
9678 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "upDownArrowCallout" ) ] = new ShapeCupDownArrowCallout();
9679 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDecision" ) ] = new ShapeCflowChartDecision();
9682 } } // oox // drawingml