GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / oox / source / drawingml / customshapepresets6.cxx
blob1f6c680a467c54c3b51e54750c6b4e9b7fc7eb49
1 //
2 // This file was generated by: ./generatePresetsCXX.pl
3 //
4 // Please, DO NOT EDIT.
5 //
6 // We mean it.
8 #include <oox/drawingml/customshapeproperties.hxx>
9 #include <oox/token/tokenmap.hxx>
10 #include <com/sun/star/awt/Rectangle.hpp>
11 #include <com/sun/star/awt/Size.hpp>
12 #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
13 #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
14 #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
15 #include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
17 using namespace ::com::sun::star;
18 using namespace ::com::sun::star::beans;
19 using namespace ::com::sun::star::drawing;
20 using namespace ::com::sun::star::uno;
22 namespace oox { namespace drawingml {
24 namespace
26 class ShapeCflowChartProcess : public CustomShapeProvider
28 virtual PropertyMap getProperties()
30 PropertyMap aPropertyMap;
33 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
36 static const char *aStrings[] = {
37 "logwidth/2",
38 "logheight/2",
39 "logheight",
40 "logwidth"
42 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
45 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
48 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
51 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
54 Sequence< PropertyValue > aPropSequence (4);
56 aPropSequence [0].Name = "Coordinates";
57 static const CustomShapeProvider::ParameterPairData aData[] = {
59 EnhancedCustomShapeParameterType::NORMAL,
60 EnhancedCustomShapeParameterType::NORMAL,
61 0, 0
64 EnhancedCustomShapeParameterType::NORMAL,
65 EnhancedCustomShapeParameterType::NORMAL,
66 1, 0
69 EnhancedCustomShapeParameterType::NORMAL,
70 EnhancedCustomShapeParameterType::NORMAL,
71 1, 1
74 EnhancedCustomShapeParameterType::NORMAL,
75 EnhancedCustomShapeParameterType::NORMAL,
76 0, 1
79 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
82 aPropSequence [1].Name = "Segments";
83 static const sal_uInt16 nValues[] = {
84 // Command, Count
85 1,1,
86 2,3,
87 4,0,
88 5,0
90 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
93 aPropSequence [2].Name = "SubViewSize";
94 Sequence< awt::Size > aSizeSequence (1);
96 awt::Size aSize;
97 aSize.Width = 1;
98 aSize.Height = 1;
99 aSizeSequence [0] = aSize;
101 aPropSequence [2].Value = makeAny (aSizeSequence);
104 aPropSequence [3].Name = "TextFrames";
105 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
107 EnhancedCustomShapeTextFrame aTextFrame;
109 static const CustomShapeProvider::ParameterPairData aData =
111 EnhancedCustomShapeParameterType::NORMAL,
112 EnhancedCustomShapeParameterType::NORMAL,
113 0, 0
115 aTextFrame.TopLeft = createParameterPair(&aData);
118 static const CustomShapeProvider::ParameterPairData aData =
120 EnhancedCustomShapeParameterType::EQUATION,
121 EnhancedCustomShapeParameterType::EQUATION,
122 3, 2
124 aTextFrame.BottomRight = createParameterPair(&aData);
126 aTextFrameSeq [0] = aTextFrame;
128 aPropSequence [3].Value = makeAny (aTextFrameSeq);
130 aPropertyMap [PROP_Path] <<= aPropSequence;
133 awt::Rectangle aRectangle;
134 aRectangle.X = 0;
135 aRectangle.Y = 0;
136 aRectangle.Width = 0;
137 aRectangle.Height = 0;
138 aPropertyMap [PROP_ViewBox] <<= aRectangle;
140 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-flowChartProcess");
142 return aPropertyMap;
146 // This is a generated source file. DO NOT EDIT.
148 class ShapeCstar5 : public CustomShapeProvider
150 virtual PropertyMap getProperties()
152 PropertyMap aPropertyMap;
155 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
157 Any aAny ((sal_Int32) 19098);
158 aAdjSequence [0].Value = aAny;
159 aAdjSequence [0].Name = "adj";
162 Any aAny ((sal_Int32) 105146);
163 aAdjSequence [1].Value = aAny;
164 aAdjSequence [1].Name = "hf";
167 Any aAny ((sal_Int32) 110557);
168 aAdjSequence [2].Value = aAny;
169 aAdjSequence [2].Name = "vf";
171 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
174 static const char *aStrings[] = {
175 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
176 "logwidth/2",
177 "?1 *$1 /100000",
178 "logheight/2",
179 "?3 *$2 /100000",
180 "logheight/2",
181 "?5 *$2 /100000",
182 "?2 *cos(pi*(1080000)/10800000)",
183 "?2 *cos(pi*(18360000)/10800000)",
184 "?4 *sin(pi*(1080000)/10800000)",
185 "?4 *sin(pi*(18360000)/10800000)",
186 "logwidth/2",
187 "?11 +0-?7 ",
188 "?11 +0-?8 ",
189 "?11 +?8 -0",
190 "?11 +?7 -0",
191 "?6 +0-?9 ",
192 "?6 +0-?10 ",
193 "?2 *?0 /50000",
194 "?4 *?0 /50000",
195 "?18 *cos(pi*(20520000)/10800000)",
196 "?18 *cos(pi*(3240000)/10800000)",
197 "?19 *sin(pi*(3240000)/10800000)",
198 "?19 *sin(pi*(20520000)/10800000)",
199 "?11 +0-?20 ",
200 "?11 +0-?21 ",
201 "?11 +?21 -0",
202 "?11 +?20 -0",
203 "?6 +0-?22 ",
204 "?6 +0-?23 ",
205 "?6 +?19 -0",
206 "?6 +0-?19 "
208 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
211 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
213 Sequence< PropertyValue > aPropSequence (4);
215 aPropSequence [0].Name = "Position";
216 static const CustomShapeProvider::ParameterPairData aData =
218 EnhancedCustomShapeParameterType::EQUATION,
219 EnhancedCustomShapeParameterType::EQUATION,
220 11, 31
222 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
225 aPropSequence [1].Name = "RangeYMaximum";
226 EnhancedCustomShapeParameter aParameter;
227 Any aAny ((sal_Int32) 50000);
228 aParameter.Value = aAny;
229 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
230 aPropSequence [1].Value = makeAny (aParameter);
233 aPropSequence [2].Name = "RangeYMinimum";
234 EnhancedCustomShapeParameter aParameter;
235 Any aAny ((sal_Int32) 0);
236 aParameter.Value = aAny;
237 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
238 aPropSequence [2].Value = makeAny (aParameter);
241 aPropSequence [3].Name = "RefY";
242 Any aAny ((sal_Int32) 0);
243 aPropSequence [3].Value = makeAny (aAny);
245 aPropSequenceSequence [0] = aPropSequence;
247 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
250 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
253 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
256 Sequence< PropertyValue > aPropSequence (3);
258 aPropSequence [0].Name = "Coordinates";
259 static const CustomShapeProvider::ParameterPairData aData[] = {
261 EnhancedCustomShapeParameterType::EQUATION,
262 EnhancedCustomShapeParameterType::EQUATION,
263 12, 16
266 EnhancedCustomShapeParameterType::EQUATION,
267 EnhancedCustomShapeParameterType::EQUATION,
268 25, 28
271 EnhancedCustomShapeParameterType::EQUATION,
272 EnhancedCustomShapeParameterType::NORMAL,
273 11, 0
276 EnhancedCustomShapeParameterType::EQUATION,
277 EnhancedCustomShapeParameterType::EQUATION,
278 26, 28
281 EnhancedCustomShapeParameterType::EQUATION,
282 EnhancedCustomShapeParameterType::EQUATION,
283 15, 16
286 EnhancedCustomShapeParameterType::EQUATION,
287 EnhancedCustomShapeParameterType::EQUATION,
288 27, 29
291 EnhancedCustomShapeParameterType::EQUATION,
292 EnhancedCustomShapeParameterType::EQUATION,
293 14, 17
296 EnhancedCustomShapeParameterType::EQUATION,
297 EnhancedCustomShapeParameterType::EQUATION,
298 11, 30
301 EnhancedCustomShapeParameterType::EQUATION,
302 EnhancedCustomShapeParameterType::EQUATION,
303 13, 17
306 EnhancedCustomShapeParameterType::EQUATION,
307 EnhancedCustomShapeParameterType::EQUATION,
308 24, 29
311 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
314 aPropSequence [1].Name = "Segments";
315 static const sal_uInt16 nValues[] = {
316 // Command, Count
317 1,1,
318 2,9,
319 4,0,
322 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
325 aPropSequence [2].Name = "TextFrames";
326 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
328 EnhancedCustomShapeTextFrame aTextFrame;
330 static const CustomShapeProvider::ParameterPairData aData =
332 EnhancedCustomShapeParameterType::EQUATION,
333 EnhancedCustomShapeParameterType::EQUATION,
334 24, 28
336 aTextFrame.TopLeft = createParameterPair(&aData);
339 static const CustomShapeProvider::ParameterPairData aData =
341 EnhancedCustomShapeParameterType::EQUATION,
342 EnhancedCustomShapeParameterType::EQUATION,
343 27, 30
345 aTextFrame.BottomRight = createParameterPair(&aData);
347 aTextFrameSeq [0] = aTextFrame;
349 aPropSequence [2].Value = makeAny (aTextFrameSeq);
351 aPropertyMap [PROP_Path] <<= aPropSequence;
354 awt::Rectangle aRectangle;
355 aRectangle.X = 0;
356 aRectangle.Y = 0;
357 aRectangle.Width = 0;
358 aRectangle.Height = 0;
359 aPropertyMap [PROP_ViewBox] <<= aRectangle;
361 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-star5");
363 return aPropertyMap;
367 // This is a generated source file. DO NOT EDIT.
369 class ShapeClineInv : public CustomShapeProvider
371 virtual PropertyMap getProperties()
373 PropertyMap aPropertyMap;
376 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
379 static const char *aStrings[] = {
380 "logheight",
381 "logwidth"
383 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
386 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
389 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
392 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
395 Sequence< PropertyValue > aPropSequence (2);
397 aPropSequence [0].Name = "Coordinates";
398 static const CustomShapeProvider::ParameterPairData aData[] = {
400 EnhancedCustomShapeParameterType::NORMAL,
401 EnhancedCustomShapeParameterType::EQUATION,
402 0, 0
405 EnhancedCustomShapeParameterType::EQUATION,
406 EnhancedCustomShapeParameterType::NORMAL,
407 1, 0
410 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
413 aPropSequence [1].Name = "Segments";
414 static const sal_uInt16 nValues[] = {
415 // Command, Count
416 1,1,
417 2,1,
420 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
422 aPropertyMap [PROP_Path] <<= aPropSequence;
425 awt::Rectangle aRectangle;
426 aRectangle.X = 0;
427 aRectangle.Y = 0;
428 aRectangle.Width = 0;
429 aRectangle.Height = 0;
430 aPropertyMap [PROP_ViewBox] <<= aRectangle;
432 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-lineInv");
434 return aPropertyMap;
438 // This is a generated source file. DO NOT EDIT.
440 class ShapeCstraightConnector1 : public CustomShapeProvider
442 virtual PropertyMap getProperties()
444 PropertyMap aPropertyMap;
447 aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
450 static const char *aStrings[] = {
451 "logwidth",
452 "logheight"
454 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
457 aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
460 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
463 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
466 Sequence< PropertyValue > aPropSequence (3);
468 aPropSequence [0].Name = "Coordinates";
469 static const CustomShapeProvider::ParameterPairData aData[] = {
471 EnhancedCustomShapeParameterType::NORMAL,
472 EnhancedCustomShapeParameterType::NORMAL,
473 0, 0
476 EnhancedCustomShapeParameterType::EQUATION,
477 EnhancedCustomShapeParameterType::EQUATION,
478 0, 1
481 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
484 aPropSequence [1].Name = "Segments";
485 static const sal_uInt16 nValues[] = {
486 // Command, Count
487 1,1,
488 2,1,
489 6,0,
492 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
495 aPropSequence [2].Name = "TextFrames";
496 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
498 EnhancedCustomShapeTextFrame aTextFrame;
500 static const CustomShapeProvider::ParameterPairData aData =
502 EnhancedCustomShapeParameterType::NORMAL,
503 EnhancedCustomShapeParameterType::NORMAL,
504 0, 0
506 aTextFrame.TopLeft = createParameterPair(&aData);
509 static const CustomShapeProvider::ParameterPairData aData =
511 EnhancedCustomShapeParameterType::EQUATION,
512 EnhancedCustomShapeParameterType::EQUATION,
513 0, 1
515 aTextFrame.BottomRight = createParameterPair(&aData);
517 aTextFrameSeq [0] = aTextFrame;
519 aPropSequence [2].Value = makeAny (aTextFrameSeq);
521 aPropertyMap [PROP_Path] <<= aPropSequence;
524 awt::Rectangle aRectangle;
525 aRectangle.X = 0;
526 aRectangle.Y = 0;
527 aRectangle.Width = 0;
528 aRectangle.Height = 0;
529 aPropertyMap [PROP_ViewBox] <<= aRectangle;
531 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-straightConnector1");
533 return aPropertyMap;
537 // This is a generated source file. DO NOT EDIT.
539 class ShapeCstripedRightArrow : public CustomShapeProvider
541 virtual PropertyMap getProperties()
543 PropertyMap aPropertyMap;
546 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
548 Any aAny ((sal_Int32) 50000);
549 aAdjSequence [0].Value = aAny;
550 aAdjSequence [0].Name = "adj1";
553 Any aAny ((sal_Int32) 50000);
554 aAdjSequence [1].Value = aAny;
555 aAdjSequence [1].Name = "adj2";
557 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
560 static const char *aStrings[] = {
561 "min(logwidth,logheight)",
562 "84375*logwidth/?0 ",
563 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
564 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
565 "?0 *5/32",
566 "?0 *?3 /100000",
567 "logwidth+0-?5 ",
568 "logheight*?2 /200000",
569 "logheight/2",
570 "?8 +0-?7 ",
571 "?8 +?7 -0",
572 "logheight/2",
573 "?7 *?5 /?11 ",
574 "logwidth+0-?12 ",
575 "logheight",
576 "logwidth",
577 "min(logwidth,logheight)/32",
578 "min(logwidth,logheight)/16",
579 "min(logwidth,logheight)/8"
581 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
584 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
586 Sequence< PropertyValue > aPropSequence (4);
588 aPropSequence [0].Name = "Position";
589 static const CustomShapeProvider::ParameterPairData aData =
591 EnhancedCustomShapeParameterType::NORMAL,
592 EnhancedCustomShapeParameterType::EQUATION,
593 0, 9
595 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
598 aPropSequence [1].Name = "RangeYMaximum";
599 EnhancedCustomShapeParameter aParameter;
600 Any aAny ((sal_Int32) 100000);
601 aParameter.Value = aAny;
602 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
603 aPropSequence [1].Value = makeAny (aParameter);
606 aPropSequence [2].Name = "RangeYMinimum";
607 EnhancedCustomShapeParameter aParameter;
608 Any aAny ((sal_Int32) 0);
609 aParameter.Value = aAny;
610 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
611 aPropSequence [2].Value = makeAny (aParameter);
614 aPropSequence [3].Name = "RefY";
615 Any aAny ((sal_Int32) 0);
616 aPropSequence [3].Value = makeAny (aAny);
618 aPropSequenceSequence [0] = aPropSequence;
621 Sequence< PropertyValue > aPropSequence (4);
623 aPropSequence [0].Name = "Position";
624 static const CustomShapeProvider::ParameterPairData aData =
626 EnhancedCustomShapeParameterType::EQUATION,
627 EnhancedCustomShapeParameterType::NORMAL,
628 6, 0
630 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
633 aPropSequence [1].Name = "RangeXMaximum";
634 EnhancedCustomShapeParameter aParameter;
635 Any aAny ((sal_Int32) 1);
636 aParameter.Value = aAny;
637 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
638 aPropSequence [1].Value = makeAny (aParameter);
641 aPropSequence [2].Name = "RangeXMinimum";
642 EnhancedCustomShapeParameter aParameter;
643 Any aAny ((sal_Int32) 0);
644 aParameter.Value = aAny;
645 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
646 aPropSequence [2].Value = makeAny (aParameter);
649 aPropSequence [3].Name = "RefX";
650 Any aAny ((sal_Int32) 1);
651 aPropSequence [3].Value = makeAny (aAny);
653 aPropSequenceSequence [1] = aPropSequence;
655 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
658 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
661 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
664 Sequence< PropertyValue > aPropSequence (3);
666 aPropSequence [0].Name = "Coordinates";
667 static const CustomShapeProvider::ParameterPairData aData[] = {
669 EnhancedCustomShapeParameterType::NORMAL,
670 EnhancedCustomShapeParameterType::EQUATION,
671 0, 9
674 EnhancedCustomShapeParameterType::EQUATION,
675 EnhancedCustomShapeParameterType::EQUATION,
676 16, 9
679 EnhancedCustomShapeParameterType::EQUATION,
680 EnhancedCustomShapeParameterType::EQUATION,
681 16, 10
684 EnhancedCustomShapeParameterType::NORMAL,
685 EnhancedCustomShapeParameterType::EQUATION,
686 0, 10
689 EnhancedCustomShapeParameterType::EQUATION,
690 EnhancedCustomShapeParameterType::EQUATION,
691 17, 9
694 EnhancedCustomShapeParameterType::EQUATION,
695 EnhancedCustomShapeParameterType::EQUATION,
696 18, 9
699 EnhancedCustomShapeParameterType::EQUATION,
700 EnhancedCustomShapeParameterType::EQUATION,
701 18, 10
704 EnhancedCustomShapeParameterType::EQUATION,
705 EnhancedCustomShapeParameterType::EQUATION,
706 17, 10
709 EnhancedCustomShapeParameterType::EQUATION,
710 EnhancedCustomShapeParameterType::EQUATION,
711 4, 9
714 EnhancedCustomShapeParameterType::EQUATION,
715 EnhancedCustomShapeParameterType::EQUATION,
716 6, 9
719 EnhancedCustomShapeParameterType::EQUATION,
720 EnhancedCustomShapeParameterType::NORMAL,
721 6, 0
724 EnhancedCustomShapeParameterType::EQUATION,
725 EnhancedCustomShapeParameterType::EQUATION,
726 15, 8
729 EnhancedCustomShapeParameterType::EQUATION,
730 EnhancedCustomShapeParameterType::EQUATION,
731 6, 14
734 EnhancedCustomShapeParameterType::EQUATION,
735 EnhancedCustomShapeParameterType::EQUATION,
736 6, 10
739 EnhancedCustomShapeParameterType::EQUATION,
740 EnhancedCustomShapeParameterType::EQUATION,
741 4, 10
744 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
747 aPropSequence [1].Name = "Segments";
748 static const sal_uInt16 nValues[] = {
749 // Command, Count
750 1,1,
751 2,3,
752 4,0,
753 1,1,
754 2,3,
755 4,0,
756 1,1,
757 2,6,
758 4,0,
761 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
764 aPropSequence [2].Name = "TextFrames";
765 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
767 EnhancedCustomShapeTextFrame aTextFrame;
769 static const CustomShapeProvider::ParameterPairData aData =
771 EnhancedCustomShapeParameterType::EQUATION,
772 EnhancedCustomShapeParameterType::EQUATION,
773 4, 9
775 aTextFrame.TopLeft = createParameterPair(&aData);
778 static const CustomShapeProvider::ParameterPairData aData =
780 EnhancedCustomShapeParameterType::EQUATION,
781 EnhancedCustomShapeParameterType::EQUATION,
782 13, 10
784 aTextFrame.BottomRight = createParameterPair(&aData);
786 aTextFrameSeq [0] = aTextFrame;
788 aPropSequence [2].Value = makeAny (aTextFrameSeq);
790 aPropertyMap [PROP_Path] <<= aPropSequence;
793 awt::Rectangle aRectangle;
794 aRectangle.X = 0;
795 aRectangle.Y = 0;
796 aRectangle.Width = 0;
797 aRectangle.Height = 0;
798 aPropertyMap [PROP_ViewBox] <<= aRectangle;
800 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-stripedRightArrow");
802 return aPropertyMap;
806 // This is a generated source file. DO NOT EDIT.
808 class ShapeCcallout3 : public CustomShapeProvider
810 virtual PropertyMap getProperties()
812 PropertyMap aPropertyMap;
815 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8);
817 Any aAny ((sal_Int32) 18750);
818 aAdjSequence [0].Value = aAny;
819 aAdjSequence [0].Name = "adj1";
822 Any aAny ((sal_Int32) -8333);
823 aAdjSequence [1].Value = aAny;
824 aAdjSequence [1].Name = "adj2";
827 Any aAny ((sal_Int32) 18750);
828 aAdjSequence [2].Value = aAny;
829 aAdjSequence [2].Name = "adj3";
832 Any aAny ((sal_Int32) -16667);
833 aAdjSequence [3].Value = aAny;
834 aAdjSequence [3].Name = "adj4";
837 Any aAny ((sal_Int32) 100000);
838 aAdjSequence [4].Value = aAny;
839 aAdjSequence [4].Name = "adj5";
842 Any aAny ((sal_Int32) -16667);
843 aAdjSequence [5].Value = aAny;
844 aAdjSequence [5].Name = "adj6";
847 Any aAny ((sal_Int32) 112963);
848 aAdjSequence [6].Value = aAny;
849 aAdjSequence [6].Name = "adj7";
852 Any aAny ((sal_Int32) -8333);
853 aAdjSequence [7].Value = aAny;
854 aAdjSequence [7].Name = "adj8";
856 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
859 static const char *aStrings[] = {
860 "logheight*$0 /100000",
861 "logwidth*$1 /100000",
862 "logheight*$2 /100000",
863 "logwidth*$3 /100000",
864 "logheight*$4 /100000",
865 "logwidth*$5 /100000",
866 "logheight*$6 /100000",
867 "logwidth*$7 /100000",
868 "logwidth",
869 "logheight/2",
870 "logwidth/2",
871 "logheight"
873 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
876 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
878 Sequence< PropertyValue > aPropSequence (7);
880 aPropSequence [0].Name = "Position";
881 static const CustomShapeProvider::ParameterPairData aData =
883 EnhancedCustomShapeParameterType::EQUATION,
884 EnhancedCustomShapeParameterType::EQUATION,
885 1, 0
887 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
890 aPropSequence [1].Name = "RangeXMaximum";
891 EnhancedCustomShapeParameter aParameter;
892 Any aAny ((sal_Int32) 2147483647);
893 aParameter.Value = aAny;
894 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
895 aPropSequence [1].Value = makeAny (aParameter);
898 aPropSequence [2].Name = "RangeXMinimum";
899 EnhancedCustomShapeParameter aParameter;
900 Any aAny ((sal_Int32) -2147483647);
901 aParameter.Value = aAny;
902 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
903 aPropSequence [2].Value = makeAny (aParameter);
906 aPropSequence [3].Name = "RangeYMaximum";
907 EnhancedCustomShapeParameter aParameter;
908 Any aAny ((sal_Int32) 2147483647);
909 aParameter.Value = aAny;
910 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
911 aPropSequence [3].Value = makeAny (aParameter);
914 aPropSequence [4].Name = "RangeYMinimum";
915 EnhancedCustomShapeParameter aParameter;
916 Any aAny ((sal_Int32) -2147483647);
917 aParameter.Value = aAny;
918 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
919 aPropSequence [4].Value = makeAny (aParameter);
922 aPropSequence [5].Name = "RefX";
923 Any aAny ((sal_Int32) 1);
924 aPropSequence [5].Value = makeAny (aAny);
927 aPropSequence [6].Name = "RefY";
928 Any aAny ((sal_Int32) 0);
929 aPropSequence [6].Value = makeAny (aAny);
931 aPropSequenceSequence [0] = aPropSequence;
934 Sequence< PropertyValue > aPropSequence (7);
936 aPropSequence [0].Name = "Position";
937 static const CustomShapeProvider::ParameterPairData aData =
939 EnhancedCustomShapeParameterType::EQUATION,
940 EnhancedCustomShapeParameterType::EQUATION,
941 3, 2
943 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
946 aPropSequence [1].Name = "RangeXMaximum";
947 EnhancedCustomShapeParameter aParameter;
948 Any aAny ((sal_Int32) 2147483647);
949 aParameter.Value = aAny;
950 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
951 aPropSequence [1].Value = makeAny (aParameter);
954 aPropSequence [2].Name = "RangeXMinimum";
955 EnhancedCustomShapeParameter aParameter;
956 Any aAny ((sal_Int32) -2147483647);
957 aParameter.Value = aAny;
958 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
959 aPropSequence [2].Value = makeAny (aParameter);
962 aPropSequence [3].Name = "RangeYMaximum";
963 EnhancedCustomShapeParameter aParameter;
964 Any aAny ((sal_Int32) 2147483647);
965 aParameter.Value = aAny;
966 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
967 aPropSequence [3].Value = makeAny (aParameter);
970 aPropSequence [4].Name = "RangeYMinimum";
971 EnhancedCustomShapeParameter aParameter;
972 Any aAny ((sal_Int32) -2147483647);
973 aParameter.Value = aAny;
974 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
975 aPropSequence [4].Value = makeAny (aParameter);
978 aPropSequence [5].Name = "RefX";
979 Any aAny ((sal_Int32) 3);
980 aPropSequence [5].Value = makeAny (aAny);
983 aPropSequence [6].Name = "RefY";
984 Any aAny ((sal_Int32) 2);
985 aPropSequence [6].Value = makeAny (aAny);
987 aPropSequenceSequence [1] = aPropSequence;
990 Sequence< PropertyValue > aPropSequence (7);
992 aPropSequence [0].Name = "Position";
993 static const CustomShapeProvider::ParameterPairData aData =
995 EnhancedCustomShapeParameterType::EQUATION,
996 EnhancedCustomShapeParameterType::EQUATION,
997 5, 4
999 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1002 aPropSequence [1].Name = "RangeXMaximum";
1003 EnhancedCustomShapeParameter aParameter;
1004 Any aAny ((sal_Int32) 2147483647);
1005 aParameter.Value = aAny;
1006 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1007 aPropSequence [1].Value = makeAny (aParameter);
1010 aPropSequence [2].Name = "RangeXMinimum";
1011 EnhancedCustomShapeParameter aParameter;
1012 Any aAny ((sal_Int32) -2147483647);
1013 aParameter.Value = aAny;
1014 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1015 aPropSequence [2].Value = makeAny (aParameter);
1018 aPropSequence [3].Name = "RangeYMaximum";
1019 EnhancedCustomShapeParameter aParameter;
1020 Any aAny ((sal_Int32) 2147483647);
1021 aParameter.Value = aAny;
1022 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1023 aPropSequence [3].Value = makeAny (aParameter);
1026 aPropSequence [4].Name = "RangeYMinimum";
1027 EnhancedCustomShapeParameter aParameter;
1028 Any aAny ((sal_Int32) -2147483647);
1029 aParameter.Value = aAny;
1030 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1031 aPropSequence [4].Value = makeAny (aParameter);
1034 aPropSequence [5].Name = "RefX";
1035 Any aAny ((sal_Int32) 5);
1036 aPropSequence [5].Value = makeAny (aAny);
1039 aPropSequence [6].Name = "RefY";
1040 Any aAny ((sal_Int32) 4);
1041 aPropSequence [6].Value = makeAny (aAny);
1043 aPropSequenceSequence [2] = aPropSequence;
1046 Sequence< PropertyValue > aPropSequence (7);
1048 aPropSequence [0].Name = "Position";
1049 static const CustomShapeProvider::ParameterPairData aData =
1051 EnhancedCustomShapeParameterType::EQUATION,
1052 EnhancedCustomShapeParameterType::EQUATION,
1053 7, 6
1055 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1058 aPropSequence [1].Name = "RangeXMaximum";
1059 EnhancedCustomShapeParameter aParameter;
1060 Any aAny ((sal_Int32) 2147483647);
1061 aParameter.Value = aAny;
1062 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1063 aPropSequence [1].Value = makeAny (aParameter);
1066 aPropSequence [2].Name = "RangeXMinimum";
1067 EnhancedCustomShapeParameter aParameter;
1068 Any aAny ((sal_Int32) -2147483647);
1069 aParameter.Value = aAny;
1070 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1071 aPropSequence [2].Value = makeAny (aParameter);
1074 aPropSequence [3].Name = "RangeYMaximum";
1075 EnhancedCustomShapeParameter aParameter;
1076 Any aAny ((sal_Int32) 2147483647);
1077 aParameter.Value = aAny;
1078 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1079 aPropSequence [3].Value = makeAny (aParameter);
1082 aPropSequence [4].Name = "RangeYMinimum";
1083 EnhancedCustomShapeParameter aParameter;
1084 Any aAny ((sal_Int32) -2147483647);
1085 aParameter.Value = aAny;
1086 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1087 aPropSequence [4].Value = makeAny (aParameter);
1090 aPropSequence [5].Name = "RefX";
1091 Any aAny ((sal_Int32) 7);
1092 aPropSequence [5].Value = makeAny (aAny);
1095 aPropSequence [6].Name = "RefY";
1096 Any aAny ((sal_Int32) 6);
1097 aPropSequence [6].Value = makeAny (aAny);
1099 aPropSequenceSequence [3] = aPropSequence;
1101 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1104 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1107 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1110 Sequence< PropertyValue > aPropSequence (3);
1112 aPropSequence [0].Name = "Coordinates";
1113 static const CustomShapeProvider::ParameterPairData aData[] = {
1115 EnhancedCustomShapeParameterType::NORMAL,
1116 EnhancedCustomShapeParameterType::NORMAL,
1117 0, 0
1120 EnhancedCustomShapeParameterType::EQUATION,
1121 EnhancedCustomShapeParameterType::NORMAL,
1122 8, 0
1125 EnhancedCustomShapeParameterType::EQUATION,
1126 EnhancedCustomShapeParameterType::EQUATION,
1127 8, 11
1130 EnhancedCustomShapeParameterType::NORMAL,
1131 EnhancedCustomShapeParameterType::EQUATION,
1132 0, 11
1135 EnhancedCustomShapeParameterType::EQUATION,
1136 EnhancedCustomShapeParameterType::EQUATION,
1137 1, 0
1140 EnhancedCustomShapeParameterType::EQUATION,
1141 EnhancedCustomShapeParameterType::EQUATION,
1142 3, 2
1145 EnhancedCustomShapeParameterType::EQUATION,
1146 EnhancedCustomShapeParameterType::EQUATION,
1147 5, 4
1150 EnhancedCustomShapeParameterType::EQUATION,
1151 EnhancedCustomShapeParameterType::EQUATION,
1152 7, 6
1155 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1158 aPropSequence [1].Name = "Segments";
1159 static const sal_uInt16 nValues[] = {
1160 // Command, Count
1161 1,1,
1162 2,3,
1163 4,0,
1164 7,0,
1165 5,0,
1166 1,1,
1167 2,3,
1168 6,0,
1171 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1174 aPropSequence [2].Name = "TextFrames";
1175 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1177 EnhancedCustomShapeTextFrame aTextFrame;
1179 static const CustomShapeProvider::ParameterPairData aData =
1181 EnhancedCustomShapeParameterType::NORMAL,
1182 EnhancedCustomShapeParameterType::NORMAL,
1183 0, 0
1185 aTextFrame.TopLeft = createParameterPair(&aData);
1188 static const CustomShapeProvider::ParameterPairData aData =
1190 EnhancedCustomShapeParameterType::EQUATION,
1191 EnhancedCustomShapeParameterType::EQUATION,
1192 8, 11
1194 aTextFrame.BottomRight = createParameterPair(&aData);
1196 aTextFrameSeq [0] = aTextFrame;
1198 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1200 aPropertyMap [PROP_Path] <<= aPropSequence;
1203 awt::Rectangle aRectangle;
1204 aRectangle.X = 0;
1205 aRectangle.Y = 0;
1206 aRectangle.Width = 0;
1207 aRectangle.Height = 0;
1208 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1210 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-callout3");
1212 return aPropertyMap;
1216 // This is a generated source file. DO NOT EDIT.
1218 class ShapeCbentUpArrow : public CustomShapeProvider
1220 virtual PropertyMap getProperties()
1222 PropertyMap aPropertyMap;
1225 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
1227 Any aAny ((sal_Int32) 25000);
1228 aAdjSequence [0].Value = aAny;
1229 aAdjSequence [0].Name = "adj1";
1232 Any aAny ((sal_Int32) 25000);
1233 aAdjSequence [1].Value = aAny;
1234 aAdjSequence [1].Name = "adj2";
1237 Any aAny ((sal_Int32) 25000);
1238 aAdjSequence [2].Value = aAny;
1239 aAdjSequence [2].Name = "adj3";
1241 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1244 static const char *aStrings[] = {
1245 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1246 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
1247 "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))",
1248 "min(logwidth,logheight)",
1249 "?3 *?2 /100000",
1250 "?3 *?1 /50000",
1251 "logwidth+0-?5 ",
1252 "?3 *?1 /100000",
1253 "logwidth+0-?7 ",
1254 "?3 *?0 /200000",
1255 "?8 +0-?9 ",
1256 "?8 +?9 -0",
1257 "?3 *?0 /100000",
1258 "logheight+0-?12 ",
1259 "?11 *1/2",
1260 "(?13 +logheight)/2",
1261 "(?4 +logheight)/2",
1262 "logheight",
1263 "logwidth"
1265 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1268 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1270 Sequence< PropertyValue > aPropSequence (4);
1272 aPropSequence [0].Name = "Position";
1273 static const CustomShapeProvider::ParameterPairData aData =
1275 EnhancedCustomShapeParameterType::NORMAL,
1276 EnhancedCustomShapeParameterType::EQUATION,
1277 0, 13
1279 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1282 aPropSequence [1].Name = "RangeYMaximum";
1283 EnhancedCustomShapeParameter aParameter;
1284 Any aAny ((sal_Int32) 50000);
1285 aParameter.Value = aAny;
1286 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1287 aPropSequence [1].Value = makeAny (aParameter);
1290 aPropSequence [2].Name = "RangeYMinimum";
1291 EnhancedCustomShapeParameter aParameter;
1292 Any aAny ((sal_Int32) 0);
1293 aParameter.Value = aAny;
1294 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1295 aPropSequence [2].Value = makeAny (aParameter);
1298 aPropSequence [3].Name = "RefY";
1299 Any aAny ((sal_Int32) 0);
1300 aPropSequence [3].Value = makeAny (aAny);
1302 aPropSequenceSequence [0] = aPropSequence;
1305 Sequence< PropertyValue > aPropSequence (4);
1307 aPropSequence [0].Name = "Position";
1308 static const CustomShapeProvider::ParameterPairData aData =
1310 EnhancedCustomShapeParameterType::EQUATION,
1311 EnhancedCustomShapeParameterType::NORMAL,
1312 6, 0
1314 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1317 aPropSequence [1].Name = "RangeXMaximum";
1318 EnhancedCustomShapeParameter aParameter;
1319 Any aAny ((sal_Int32) 50000);
1320 aParameter.Value = aAny;
1321 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1322 aPropSequence [1].Value = makeAny (aParameter);
1325 aPropSequence [2].Name = "RangeXMinimum";
1326 EnhancedCustomShapeParameter aParameter;
1327 Any aAny ((sal_Int32) 0);
1328 aParameter.Value = aAny;
1329 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1330 aPropSequence [2].Value = makeAny (aParameter);
1333 aPropSequence [3].Name = "RefX";
1334 Any aAny ((sal_Int32) 1);
1335 aPropSequence [3].Value = makeAny (aAny);
1337 aPropSequenceSequence [1] = aPropSequence;
1340 Sequence< PropertyValue > aPropSequence (4);
1342 aPropSequence [0].Name = "Position";
1343 static const CustomShapeProvider::ParameterPairData aData =
1345 EnhancedCustomShapeParameterType::EQUATION,
1346 EnhancedCustomShapeParameterType::EQUATION,
1347 10, 4
1349 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1352 aPropSequence [1].Name = "RangeYMaximum";
1353 EnhancedCustomShapeParameter aParameter;
1354 Any aAny ((sal_Int32) 50000);
1355 aParameter.Value = aAny;
1356 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1357 aPropSequence [1].Value = makeAny (aParameter);
1360 aPropSequence [2].Name = "RangeYMinimum";
1361 EnhancedCustomShapeParameter aParameter;
1362 Any aAny ((sal_Int32) 0);
1363 aParameter.Value = aAny;
1364 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1365 aPropSequence [2].Value = makeAny (aParameter);
1368 aPropSequence [3].Name = "RefY";
1369 Any aAny ((sal_Int32) 2);
1370 aPropSequence [3].Value = makeAny (aAny);
1372 aPropSequenceSequence [2] = aPropSequence;
1374 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1377 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1380 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1383 Sequence< PropertyValue > aPropSequence (3);
1385 aPropSequence [0].Name = "Coordinates";
1386 static const CustomShapeProvider::ParameterPairData aData[] = {
1388 EnhancedCustomShapeParameterType::NORMAL,
1389 EnhancedCustomShapeParameterType::EQUATION,
1390 0, 13
1393 EnhancedCustomShapeParameterType::EQUATION,
1394 EnhancedCustomShapeParameterType::EQUATION,
1395 10, 13
1398 EnhancedCustomShapeParameterType::EQUATION,
1399 EnhancedCustomShapeParameterType::EQUATION,
1400 10, 4
1403 EnhancedCustomShapeParameterType::EQUATION,
1404 EnhancedCustomShapeParameterType::EQUATION,
1405 6, 4
1408 EnhancedCustomShapeParameterType::EQUATION,
1409 EnhancedCustomShapeParameterType::NORMAL,
1410 8, 0
1413 EnhancedCustomShapeParameterType::EQUATION,
1414 EnhancedCustomShapeParameterType::EQUATION,
1415 18, 4
1418 EnhancedCustomShapeParameterType::EQUATION,
1419 EnhancedCustomShapeParameterType::EQUATION,
1420 11, 4
1423 EnhancedCustomShapeParameterType::EQUATION,
1424 EnhancedCustomShapeParameterType::EQUATION,
1425 11, 17
1428 EnhancedCustomShapeParameterType::NORMAL,
1429 EnhancedCustomShapeParameterType::EQUATION,
1430 0, 17
1433 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1436 aPropSequence [1].Name = "Segments";
1437 static const sal_uInt16 nValues[] = {
1438 // Command, Count
1439 1,1,
1440 2,8,
1441 4,0,
1444 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1447 aPropSequence [2].Name = "TextFrames";
1448 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1450 EnhancedCustomShapeTextFrame aTextFrame;
1452 static const CustomShapeProvider::ParameterPairData aData =
1454 EnhancedCustomShapeParameterType::NORMAL,
1455 EnhancedCustomShapeParameterType::EQUATION,
1456 0, 13
1458 aTextFrame.TopLeft = createParameterPair(&aData);
1461 static const CustomShapeProvider::ParameterPairData aData =
1463 EnhancedCustomShapeParameterType::EQUATION,
1464 EnhancedCustomShapeParameterType::EQUATION,
1465 11, 17
1467 aTextFrame.BottomRight = createParameterPair(&aData);
1469 aTextFrameSeq [0] = aTextFrame;
1471 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1473 aPropertyMap [PROP_Path] <<= aPropSequence;
1476 awt::Rectangle aRectangle;
1477 aRectangle.X = 0;
1478 aRectangle.Y = 0;
1479 aRectangle.Width = 0;
1480 aRectangle.Height = 0;
1481 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1483 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-bentUpArrow");
1485 return aPropertyMap;
1489 // This is a generated source file. DO NOT EDIT.
1491 class ShapeCnoSmoking : public CustomShapeProvider
1493 virtual PropertyMap getProperties()
1495 PropertyMap aPropertyMap;
1498 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1500 Any aAny ((sal_Int32) 18750);
1501 aAdjSequence [0].Value = aAny;
1502 aAdjSequence [0].Name = "adj";
1504 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1507 static const char *aStrings[] = {
1508 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1509 "min(logwidth,logheight)",
1510 "?1 *?0 /100000",
1511 "logwidth/2",
1512 "?3 +0-?2 ",
1513 "logheight/2",
1514 "?5 +0-?2 ",
1515 "(10800000*atan2(logheight,logwidth))/pi",
1516 "?6 *cos(pi*(?7 )/10800000)",
1517 "?4 *sin(pi*(?7 )/10800000)",
1518 "sqrt(?8 *?8 +?9 *?9 +0*0)",
1519 "?4 *?6 /?10 ",
1520 "?2 *1/2",
1521 "(10800000*atan2(?12 ,?11 ))/pi",
1522 "?13 *2/1",
1523 "-10800000+2-0",
1524 "(10800000*atan2(logheight,logwidth))/pi",
1525 "?16 +0-?13 ",
1526 "?17 +0-10800000",
1527 "?6 *cos(pi*(?17 )/10800000)",
1528 "?4 *sin(pi*(?17 )/10800000)",
1529 "sqrt(?19 *?19 +?20 *?20 +0*0)",
1530 "?4 *?6 /?21 ",
1531 "?22 *cos(pi*(?17 )/10800000)",
1532 "?22 *sin(pi*(?17 )/10800000)",
1533 "logwidth/2",
1534 "?25 +?23 -0",
1535 "logheight/2",
1536 "?27 +?24 -0",
1537 "?25 +0-?23 ",
1538 "?27 +0-?24 ",
1539 "?3 *cos(pi*(2700000)/10800000)",
1540 "?5 *sin(pi*(2700000)/10800000)",
1541 "?25 +0-?31 ",
1542 "?25 +?31 -0",
1543 "?27 +0-?32 ",
1544 "?27 +?32 -0",
1545 "logheight",
1546 "logwidth",
1547 "(10800000)/60000.0",
1548 "(5400000)/60000.0",
1549 "(16200000)/60000.0",
1550 "(5400000)/60000.0",
1551 "(0)/60000.0",
1552 "(5400000)/60000.0",
1553 "(5400000)/60000.0",
1554 "(5400000)/60000.0",
1555 "(?17 )/60000.0",
1556 "(?15 )/60000.0",
1557 "(?18 )/60000.0",
1558 "(?15 )/60000.0"
1560 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1563 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1565 Sequence< PropertyValue > aPropSequence (3);
1567 aPropSequence [0].Name = "Position";
1568 static const CustomShapeProvider::ParameterPairData aData =
1570 EnhancedCustomShapeParameterType::EQUATION,
1571 EnhancedCustomShapeParameterType::EQUATION,
1572 2, 27
1574 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1577 aPropSequence [1].Name = "RadiusRangeMaximum";
1578 EnhancedCustomShapeParameter aParameter;
1579 Any aAny ((sal_Int32) 50000);
1580 aParameter.Value = aAny;
1581 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1582 aPropSequence [1].Value = makeAny (aParameter);
1585 aPropSequence [2].Name = "RadiusRangeMinimum";
1586 EnhancedCustomShapeParameter aParameter;
1587 Any aAny ((sal_Int32) 0);
1588 aParameter.Value = aAny;
1589 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1590 aPropSequence [2].Value = makeAny (aParameter);
1592 aPropSequenceSequence [0] = aPropSequence;
1594 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1597 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1600 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1603 Sequence< PropertyValue > aPropSequence (3);
1605 aPropSequence [0].Name = "Coordinates";
1606 static const CustomShapeProvider::ParameterPairData aData[] = {
1608 EnhancedCustomShapeParameterType::NORMAL,
1609 EnhancedCustomShapeParameterType::EQUATION,
1610 0, 27
1613 EnhancedCustomShapeParameterType::EQUATION,
1614 EnhancedCustomShapeParameterType::EQUATION,
1615 3, 5
1618 EnhancedCustomShapeParameterType::EQUATION,
1619 EnhancedCustomShapeParameterType::EQUATION,
1620 39, 40
1623 EnhancedCustomShapeParameterType::EQUATION,
1624 EnhancedCustomShapeParameterType::EQUATION,
1625 3, 5
1628 EnhancedCustomShapeParameterType::EQUATION,
1629 EnhancedCustomShapeParameterType::EQUATION,
1630 41, 42
1633 EnhancedCustomShapeParameterType::EQUATION,
1634 EnhancedCustomShapeParameterType::EQUATION,
1635 3, 5
1638 EnhancedCustomShapeParameterType::EQUATION,
1639 EnhancedCustomShapeParameterType::EQUATION,
1640 43, 44
1643 EnhancedCustomShapeParameterType::EQUATION,
1644 EnhancedCustomShapeParameterType::EQUATION,
1645 3, 5
1648 EnhancedCustomShapeParameterType::EQUATION,
1649 EnhancedCustomShapeParameterType::EQUATION,
1650 45, 46
1653 EnhancedCustomShapeParameterType::EQUATION,
1654 EnhancedCustomShapeParameterType::EQUATION,
1655 26, 28
1658 EnhancedCustomShapeParameterType::EQUATION,
1659 EnhancedCustomShapeParameterType::EQUATION,
1660 4, 6
1663 EnhancedCustomShapeParameterType::EQUATION,
1664 EnhancedCustomShapeParameterType::EQUATION,
1665 47, 48
1668 EnhancedCustomShapeParameterType::EQUATION,
1669 EnhancedCustomShapeParameterType::EQUATION,
1670 29, 30
1673 EnhancedCustomShapeParameterType::EQUATION,
1674 EnhancedCustomShapeParameterType::EQUATION,
1675 4, 6
1678 EnhancedCustomShapeParameterType::EQUATION,
1679 EnhancedCustomShapeParameterType::EQUATION,
1680 49, 50
1683 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1686 aPropSequence [1].Name = "Segments";
1687 static const sal_uInt16 nValues[] = {
1688 // Command, Count
1689 1,1,
1690 17,4,
1691 4,0,
1692 1,1,
1693 17,1,
1694 4,0,
1695 1,1,
1696 17,1,
1697 4,0,
1700 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1703 aPropSequence [2].Name = "TextFrames";
1704 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1706 EnhancedCustomShapeTextFrame aTextFrame;
1708 static const CustomShapeProvider::ParameterPairData aData =
1710 EnhancedCustomShapeParameterType::EQUATION,
1711 EnhancedCustomShapeParameterType::EQUATION,
1712 33, 35
1714 aTextFrame.TopLeft = createParameterPair(&aData);
1717 static const CustomShapeProvider::ParameterPairData aData =
1719 EnhancedCustomShapeParameterType::EQUATION,
1720 EnhancedCustomShapeParameterType::EQUATION,
1721 34, 36
1723 aTextFrame.BottomRight = createParameterPair(&aData);
1725 aTextFrameSeq [0] = aTextFrame;
1727 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1729 aPropertyMap [PROP_Path] <<= aPropSequence;
1732 awt::Rectangle aRectangle;
1733 aRectangle.X = 0;
1734 aRectangle.Y = 0;
1735 aRectangle.Width = 0;
1736 aRectangle.Height = 0;
1737 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1739 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-noSmoking");
1741 return aPropertyMap;
1745 // This is a generated source file. DO NOT EDIT.
1747 class ShapeCtrapezoid : public CustomShapeProvider
1749 virtual PropertyMap getProperties()
1751 PropertyMap aPropertyMap;
1754 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1756 Any aAny ((sal_Int32) 25000);
1757 aAdjSequence [0].Value = aAny;
1758 aAdjSequence [0].Name = "adj";
1760 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1763 static const char *aStrings[] = {
1764 "min(logwidth,logheight)",
1765 "50000*logwidth/?0 ",
1766 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
1767 "?0 *?2 /200000",
1768 "?0 *?2 /100000",
1769 "logwidth+0-?4 ",
1770 "logwidth+0-?3 ",
1771 "logwidth/3",
1772 "?7 *?2 /?1 ",
1773 "logheight/3",
1774 "?9 *?2 /?1 ",
1775 "logwidth+0-?8 ",
1776 "logwidth/2",
1777 "logheight/2",
1778 "logheight",
1779 "logwidth"
1781 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1784 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1786 Sequence< PropertyValue > aPropSequence (4);
1788 aPropSequence [0].Name = "Position";
1789 static const CustomShapeProvider::ParameterPairData aData =
1791 EnhancedCustomShapeParameterType::EQUATION,
1792 EnhancedCustomShapeParameterType::NORMAL,
1793 4, 0
1795 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1798 aPropSequence [1].Name = "RangeXMaximum";
1799 EnhancedCustomShapeParameter aParameter;
1800 Any aAny ((sal_Int32) 1);
1801 aParameter.Value = aAny;
1802 aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1803 aPropSequence [1].Value = makeAny (aParameter);
1806 aPropSequence [2].Name = "RangeXMinimum";
1807 EnhancedCustomShapeParameter aParameter;
1808 Any aAny ((sal_Int32) 0);
1809 aParameter.Value = aAny;
1810 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1811 aPropSequence [2].Value = makeAny (aParameter);
1814 aPropSequence [3].Name = "RefX";
1815 Any aAny ((sal_Int32) 0);
1816 aPropSequence [3].Value = makeAny (aAny);
1818 aPropSequenceSequence [0] = aPropSequence;
1820 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1823 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1826 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1829 Sequence< PropertyValue > aPropSequence (3);
1831 aPropSequence [0].Name = "Coordinates";
1832 static const CustomShapeProvider::ParameterPairData aData[] = {
1834 EnhancedCustomShapeParameterType::NORMAL,
1835 EnhancedCustomShapeParameterType::EQUATION,
1836 0, 14
1839 EnhancedCustomShapeParameterType::EQUATION,
1840 EnhancedCustomShapeParameterType::NORMAL,
1841 4, 0
1844 EnhancedCustomShapeParameterType::EQUATION,
1845 EnhancedCustomShapeParameterType::NORMAL,
1846 5, 0
1849 EnhancedCustomShapeParameterType::EQUATION,
1850 EnhancedCustomShapeParameterType::EQUATION,
1851 15, 14
1854 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1857 aPropSequence [1].Name = "Segments";
1858 static const sal_uInt16 nValues[] = {
1859 // Command, Count
1860 1,1,
1861 2,3,
1862 4,0,
1865 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1868 aPropSequence [2].Name = "TextFrames";
1869 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1871 EnhancedCustomShapeTextFrame aTextFrame;
1873 static const CustomShapeProvider::ParameterPairData aData =
1875 EnhancedCustomShapeParameterType::EQUATION,
1876 EnhancedCustomShapeParameterType::EQUATION,
1877 8, 10
1879 aTextFrame.TopLeft = createParameterPair(&aData);
1882 static const CustomShapeProvider::ParameterPairData aData =
1884 EnhancedCustomShapeParameterType::EQUATION,
1885 EnhancedCustomShapeParameterType::EQUATION,
1886 11, 14
1888 aTextFrame.BottomRight = createParameterPair(&aData);
1890 aTextFrameSeq [0] = aTextFrame;
1892 aPropSequence [2].Value = makeAny (aTextFrameSeq);
1894 aPropertyMap [PROP_Path] <<= aPropSequence;
1897 awt::Rectangle aRectangle;
1898 aRectangle.X = 0;
1899 aRectangle.Y = 0;
1900 aRectangle.Width = 0;
1901 aRectangle.Height = 0;
1902 aPropertyMap [PROP_ViewBox] <<= aRectangle;
1904 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-trapezoid");
1906 return aPropertyMap;
1910 // This is a generated source file. DO NOT EDIT.
1912 class ShapeCcloudCallout : public CustomShapeProvider
1914 virtual PropertyMap getProperties()
1916 PropertyMap aPropertyMap;
1919 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
1921 Any aAny ((sal_Int32) -20833);
1922 aAdjSequence [0].Value = aAny;
1923 aAdjSequence [0].Name = "adj1";
1926 Any aAny ((sal_Int32) 62500);
1927 aAdjSequence [1].Value = aAny;
1928 aAdjSequence [1].Name = "adj2";
1930 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1933 static const char *aStrings[] = {
1934 "logwidth*$0 /100000",
1935 "logheight*$1 /100000",
1936 "logwidth/2",
1937 "?2 +?0 -0",
1938 "logheight/2",
1939 "?4 +?1 -0",
1940 "logheight/2",
1941 "?6 *(cos(atan2(?1 ,?0 )))",
1942 "logwidth/2",
1943 "?8 *(sin(atan2(?1 ,?0 )))",
1944 "?8 *(cos(atan2(?9 ,?7 )))",
1945 "?6 *(sin(atan2(?9 ,?7 )))",
1946 "?2 +?10 -0",
1947 "?4 +?11 -0",
1948 "?12 +0-?3 ",
1949 "?13 +0-?5 ",
1950 "sqrt(?14 *?14 +?15 *?15 +0*0)",
1951 "min(logwidth,logheight)",
1952 "?17 *6600/21600",
1953 "?16 +0-?18 ",
1954 "?19 *1/3",
1955 "?17 *1800/21600",
1956 "?20 +?21 -0",
1957 "?22 *?14 /?16 ",
1958 "?22 *?15 /?16 ",
1959 "?23 +?3 -0",
1960 "?24 +?5 -0",
1961 "?17 *4800/21600",
1962 "?20 *2/1",
1963 "?27 +?28 -0",
1964 "?29 *?14 /?16 ",
1965 "?29 *?15 /?16 ",
1966 "?30 +?3 -0",
1967 "?31 +?5 -0",
1968 "?17 *1200/21600",
1969 "?17 *600/21600",
1970 "?3 +?35 -0",
1971 "?25 +?34 -0",
1972 "?32 +?21 -0",
1973 "logwidth*2977/21600",
1974 "logheight*3262/21600",
1975 "logwidth*17087/21600",
1976 "logheight*17337/21600",
1977 "logwidth*67/21600",
1978 "logheight*21577/21600",
1979 "logwidth*21582/21600",
1980 "logheight*1235/21600",
1981 "(10800000*atan2(?1 ,?0 ))/pi",
1982 "(-11429249)/60000.0",
1983 "(7426832)/60000.0",
1984 "(-8646143)/60000.0",
1985 "(5396714)/60000.0",
1986 "(-8748475)/60000.0",
1987 "(5983381)/60000.0",
1988 "(-7859164)/60000.0",
1989 "(7034504)/60000.0",
1990 "(-4722533)/60000.0",
1991 "(6541615)/60000.0",
1992 "(-2776035)/60000.0",
1993 "(7816140)/60000.0",
1994 "(37501)/60000.0",
1995 "(6842000)/60000.0",
1996 "(1347096)/60000.0",
1997 "(6910353)/60000.0",
1998 "(3974558)/60000.0",
1999 "(4542661)/60000.0",
2000 "(-16496525)/60000.0",
2001 "(8804134)/60000.0",
2002 "(-14809710)/60000.0",
2003 "(9151131)/60000.0",
2004 "(0)/60000.0",
2005 "(21600000)/60000.0",
2006 "(0)/60000.0",
2007 "(21600000)/60000.0",
2008 "(0)/60000.0",
2009 "(21600000)/60000.0",
2010 "(5204520)/60000.0",
2011 "(1585770)/60000.0",
2012 "(4416628)/60000.0",
2013 "(686848)/60000.0",
2014 "(8257449)/60000.0",
2015 "(844866)/60000.0",
2016 "(387196)/60000.0",
2017 "(959901)/60000.0",
2018 "(-4217541)/60000.0",
2019 "(4255042)/60000.0",
2020 "(1819082)/60000.0",
2021 "(1665090)/60000.0",
2022 "(-824660)/60000.0",
2023 "(891534)/60000.0",
2024 "(-8950887)/60000.0",
2025 "(1091722)/60000.0",
2026 "(-9809656)/60000.0",
2027 "(1061181)/60000.0",
2028 "(-4002417)/60000.0",
2029 "(739161)/60000.0",
2030 "(9459261)/60000.0",
2031 "(711490)/60000.0"
2033 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2036 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
2038 Sequence< PropertyValue > aPropSequence (7);
2040 aPropSequence [0].Name = "Position";
2041 static const CustomShapeProvider::ParameterPairData aData =
2043 EnhancedCustomShapeParameterType::EQUATION,
2044 EnhancedCustomShapeParameterType::EQUATION,
2045 3, 5
2047 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2050 aPropSequence [1].Name = "RangeXMaximum";
2051 EnhancedCustomShapeParameter aParameter;
2052 Any aAny ((sal_Int32) 2147483647);
2053 aParameter.Value = aAny;
2054 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2055 aPropSequence [1].Value = makeAny (aParameter);
2058 aPropSequence [2].Name = "RangeXMinimum";
2059 EnhancedCustomShapeParameter aParameter;
2060 Any aAny ((sal_Int32) -2147483647);
2061 aParameter.Value = aAny;
2062 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2063 aPropSequence [2].Value = makeAny (aParameter);
2066 aPropSequence [3].Name = "RangeYMaximum";
2067 EnhancedCustomShapeParameter aParameter;
2068 Any aAny ((sal_Int32) 2147483647);
2069 aParameter.Value = aAny;
2070 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2071 aPropSequence [3].Value = makeAny (aParameter);
2074 aPropSequence [4].Name = "RangeYMinimum";
2075 EnhancedCustomShapeParameter aParameter;
2076 Any aAny ((sal_Int32) -2147483647);
2077 aParameter.Value = aAny;
2078 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2079 aPropSequence [4].Value = makeAny (aParameter);
2082 aPropSequence [5].Name = "RefX";
2083 Any aAny ((sal_Int32) 0);
2084 aPropSequence [5].Value = makeAny (aAny);
2087 aPropSequence [6].Name = "RefY";
2088 Any aAny ((sal_Int32) 1);
2089 aPropSequence [6].Value = makeAny (aAny);
2091 aPropSequenceSequence [0] = aPropSequence;
2093 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2096 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2099 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2102 Sequence< PropertyValue > aPropSequence (4);
2104 aPropSequence [0].Name = "Coordinates";
2105 static const CustomShapeProvider::ParameterPairData aData[] = {
2107 EnhancedCustomShapeParameterType::NORMAL,
2108 EnhancedCustomShapeParameterType::NORMAL,
2109 3900, 14370
2112 EnhancedCustomShapeParameterType::NORMAL,
2113 EnhancedCustomShapeParameterType::NORMAL,
2114 6753, 9190
2117 EnhancedCustomShapeParameterType::EQUATION,
2118 EnhancedCustomShapeParameterType::EQUATION,
2119 48, 49
2122 EnhancedCustomShapeParameterType::NORMAL,
2123 EnhancedCustomShapeParameterType::NORMAL,
2124 5333, 7267
2127 EnhancedCustomShapeParameterType::EQUATION,
2128 EnhancedCustomShapeParameterType::EQUATION,
2129 50, 51
2132 EnhancedCustomShapeParameterType::NORMAL,
2133 EnhancedCustomShapeParameterType::NORMAL,
2134 4365, 5945
2137 EnhancedCustomShapeParameterType::EQUATION,
2138 EnhancedCustomShapeParameterType::EQUATION,
2139 52, 53
2142 EnhancedCustomShapeParameterType::NORMAL,
2143 EnhancedCustomShapeParameterType::NORMAL,
2144 4857, 6595
2147 EnhancedCustomShapeParameterType::EQUATION,
2148 EnhancedCustomShapeParameterType::EQUATION,
2149 54, 55
2152 EnhancedCustomShapeParameterType::NORMAL,
2153 EnhancedCustomShapeParameterType::NORMAL,
2154 5333, 7273
2157 EnhancedCustomShapeParameterType::EQUATION,
2158 EnhancedCustomShapeParameterType::EQUATION,
2159 56, 57
2162 EnhancedCustomShapeParameterType::NORMAL,
2163 EnhancedCustomShapeParameterType::NORMAL,
2164 6775, 9220
2167 EnhancedCustomShapeParameterType::EQUATION,
2168 EnhancedCustomShapeParameterType::EQUATION,
2169 58, 59
2172 EnhancedCustomShapeParameterType::NORMAL,
2173 EnhancedCustomShapeParameterType::NORMAL,
2174 5785, 7867
2177 EnhancedCustomShapeParameterType::EQUATION,
2178 EnhancedCustomShapeParameterType::EQUATION,
2179 60, 61
2182 EnhancedCustomShapeParameterType::NORMAL,
2183 EnhancedCustomShapeParameterType::NORMAL,
2184 6752, 9215
2187 EnhancedCustomShapeParameterType::EQUATION,
2188 EnhancedCustomShapeParameterType::EQUATION,
2189 62, 63
2192 EnhancedCustomShapeParameterType::NORMAL,
2193 EnhancedCustomShapeParameterType::NORMAL,
2194 7720, 10543
2197 EnhancedCustomShapeParameterType::EQUATION,
2198 EnhancedCustomShapeParameterType::EQUATION,
2199 64, 65
2202 EnhancedCustomShapeParameterType::NORMAL,
2203 EnhancedCustomShapeParameterType::NORMAL,
2204 4360, 5918
2207 EnhancedCustomShapeParameterType::EQUATION,
2208 EnhancedCustomShapeParameterType::EQUATION,
2209 66, 67
2212 EnhancedCustomShapeParameterType::NORMAL,
2213 EnhancedCustomShapeParameterType::NORMAL,
2214 4345, 5945
2217 EnhancedCustomShapeParameterType::EQUATION,
2218 EnhancedCustomShapeParameterType::EQUATION,
2219 68, 69
2222 EnhancedCustomShapeParameterType::EQUATION,
2223 EnhancedCustomShapeParameterType::EQUATION,
2224 36, 5
2227 EnhancedCustomShapeParameterType::EQUATION,
2228 EnhancedCustomShapeParameterType::EQUATION,
2229 35, 35
2232 EnhancedCustomShapeParameterType::EQUATION,
2233 EnhancedCustomShapeParameterType::EQUATION,
2234 70, 71
2237 EnhancedCustomShapeParameterType::EQUATION,
2238 EnhancedCustomShapeParameterType::EQUATION,
2239 37, 26
2242 EnhancedCustomShapeParameterType::EQUATION,
2243 EnhancedCustomShapeParameterType::EQUATION,
2244 34, 34
2247 EnhancedCustomShapeParameterType::EQUATION,
2248 EnhancedCustomShapeParameterType::EQUATION,
2249 72, 73
2252 EnhancedCustomShapeParameterType::EQUATION,
2253 EnhancedCustomShapeParameterType::EQUATION,
2254 38, 33
2257 EnhancedCustomShapeParameterType::EQUATION,
2258 EnhancedCustomShapeParameterType::EQUATION,
2259 21, 21
2262 EnhancedCustomShapeParameterType::EQUATION,
2263 EnhancedCustomShapeParameterType::EQUATION,
2264 74, 75
2267 EnhancedCustomShapeParameterType::NORMAL,
2268 EnhancedCustomShapeParameterType::NORMAL,
2269 4693, 26177
2272 EnhancedCustomShapeParameterType::NORMAL,
2273 EnhancedCustomShapeParameterType::NORMAL,
2274 4345, 5945
2277 EnhancedCustomShapeParameterType::EQUATION,
2278 EnhancedCustomShapeParameterType::EQUATION,
2279 76, 77
2282 EnhancedCustomShapeParameterType::NORMAL,
2283 EnhancedCustomShapeParameterType::NORMAL,
2284 6928, 34899
2287 EnhancedCustomShapeParameterType::NORMAL,
2288 EnhancedCustomShapeParameterType::NORMAL,
2289 4360, 5918
2292 EnhancedCustomShapeParameterType::EQUATION,
2293 EnhancedCustomShapeParameterType::EQUATION,
2294 78, 79
2297 EnhancedCustomShapeParameterType::NORMAL,
2298 EnhancedCustomShapeParameterType::NORMAL,
2299 16478, 39090
2302 EnhancedCustomShapeParameterType::NORMAL,
2303 EnhancedCustomShapeParameterType::NORMAL,
2304 6752, 9215
2307 EnhancedCustomShapeParameterType::EQUATION,
2308 EnhancedCustomShapeParameterType::EQUATION,
2309 80, 81
2312 EnhancedCustomShapeParameterType::NORMAL,
2313 EnhancedCustomShapeParameterType::NORMAL,
2314 28827, 34751
2317 EnhancedCustomShapeParameterType::NORMAL,
2318 EnhancedCustomShapeParameterType::NORMAL,
2319 6752, 9215
2322 EnhancedCustomShapeParameterType::EQUATION,
2323 EnhancedCustomShapeParameterType::EQUATION,
2324 82, 83
2327 EnhancedCustomShapeParameterType::NORMAL,
2328 EnhancedCustomShapeParameterType::NORMAL,
2329 34129, 22954
2332 EnhancedCustomShapeParameterType::NORMAL,
2333 EnhancedCustomShapeParameterType::NORMAL,
2334 5785, 7867
2337 EnhancedCustomShapeParameterType::EQUATION,
2338 EnhancedCustomShapeParameterType::EQUATION,
2339 84, 85
2342 EnhancedCustomShapeParameterType::NORMAL,
2343 EnhancedCustomShapeParameterType::NORMAL,
2344 41798, 15354
2347 EnhancedCustomShapeParameterType::NORMAL,
2348 EnhancedCustomShapeParameterType::NORMAL,
2349 5333, 7273
2352 EnhancedCustomShapeParameterType::EQUATION,
2353 EnhancedCustomShapeParameterType::EQUATION,
2354 86, 87
2357 EnhancedCustomShapeParameterType::NORMAL,
2358 EnhancedCustomShapeParameterType::NORMAL,
2359 38324, 5426
2362 EnhancedCustomShapeParameterType::NORMAL,
2363 EnhancedCustomShapeParameterType::NORMAL,
2364 4857, 6595
2367 EnhancedCustomShapeParameterType::EQUATION,
2368 EnhancedCustomShapeParameterType::EQUATION,
2369 88, 89
2372 EnhancedCustomShapeParameterType::NORMAL,
2373 EnhancedCustomShapeParameterType::NORMAL,
2374 29078, 3952
2377 EnhancedCustomShapeParameterType::NORMAL,
2378 EnhancedCustomShapeParameterType::NORMAL,
2379 4857, 6595
2382 EnhancedCustomShapeParameterType::EQUATION,
2383 EnhancedCustomShapeParameterType::EQUATION,
2384 90, 91
2387 EnhancedCustomShapeParameterType::NORMAL,
2388 EnhancedCustomShapeParameterType::NORMAL,
2389 22141, 4720
2392 EnhancedCustomShapeParameterType::NORMAL,
2393 EnhancedCustomShapeParameterType::NORMAL,
2394 4365, 5945
2397 EnhancedCustomShapeParameterType::EQUATION,
2398 EnhancedCustomShapeParameterType::EQUATION,
2399 92, 93
2402 EnhancedCustomShapeParameterType::NORMAL,
2403 EnhancedCustomShapeParameterType::NORMAL,
2404 14000, 5192
2407 EnhancedCustomShapeParameterType::NORMAL,
2408 EnhancedCustomShapeParameterType::NORMAL,
2409 6753, 9190
2412 EnhancedCustomShapeParameterType::EQUATION,
2413 EnhancedCustomShapeParameterType::EQUATION,
2414 94, 95
2417 EnhancedCustomShapeParameterType::NORMAL,
2418 EnhancedCustomShapeParameterType::NORMAL,
2419 4127, 15789
2422 EnhancedCustomShapeParameterType::NORMAL,
2423 EnhancedCustomShapeParameterType::NORMAL,
2424 6753, 9190
2427 EnhancedCustomShapeParameterType::EQUATION,
2428 EnhancedCustomShapeParameterType::EQUATION,
2429 96, 97
2432 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2435 aPropSequence [1].Name = "Segments";
2436 static const sal_uInt16 nValues[] = {
2437 // Command, Count
2438 1,1,
2439 17,11,
2440 4,0,
2441 5,0,
2442 1,1,
2443 17,1,
2444 4,0,
2445 5,0,
2446 1,1,
2447 17,1,
2448 4,0,
2449 5,0,
2450 1,1,
2451 17,1,
2452 4,0,
2453 5,0,
2454 1,1,
2455 17,1,
2456 1,1,
2457 17,1,
2458 1,1,
2459 17,1,
2460 1,1,
2461 17,1,
2462 1,1,
2463 17,1,
2464 1,1,
2465 17,1,
2466 1,1,
2467 17,1,
2468 1,1,
2469 17,1,
2470 1,1,
2471 17,1,
2472 1,1,
2473 17,1,
2474 1,1,
2475 17,1,
2476 6,0,
2479 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2482 aPropSequence [2].Name = "SubViewSize";
2483 Sequence< awt::Size > aSizeSequence (5);
2485 awt::Size aSize;
2486 aSize.Width = 43200;
2487 aSize.Height = 43200;
2488 aSizeSequence [0] = aSize;
2491 awt::Size aSize;
2492 aSize.Width = 0;
2493 aSize.Height = 0;
2494 aSizeSequence [1] = aSize;
2497 awt::Size aSize;
2498 aSize.Width = 0;
2499 aSize.Height = 0;
2500 aSizeSequence [2] = aSize;
2503 awt::Size aSize;
2504 aSize.Width = 0;
2505 aSize.Height = 0;
2506 aSizeSequence [3] = aSize;
2509 awt::Size aSize;
2510 aSize.Width = 43200;
2511 aSize.Height = 43200;
2512 aSizeSequence [4] = aSize;
2514 aPropSequence [2].Value = makeAny (aSizeSequence);
2517 aPropSequence [3].Name = "TextFrames";
2518 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2520 EnhancedCustomShapeTextFrame aTextFrame;
2522 static const CustomShapeProvider::ParameterPairData aData =
2524 EnhancedCustomShapeParameterType::EQUATION,
2525 EnhancedCustomShapeParameterType::EQUATION,
2526 39, 40
2528 aTextFrame.TopLeft = createParameterPair(&aData);
2531 static const CustomShapeProvider::ParameterPairData aData =
2533 EnhancedCustomShapeParameterType::EQUATION,
2534 EnhancedCustomShapeParameterType::EQUATION,
2535 41, 42
2537 aTextFrame.BottomRight = createParameterPair(&aData);
2539 aTextFrameSeq [0] = aTextFrame;
2541 aPropSequence [3].Value = makeAny (aTextFrameSeq);
2543 aPropertyMap [PROP_Path] <<= aPropSequence;
2546 awt::Rectangle aRectangle;
2547 aRectangle.X = 0;
2548 aRectangle.Y = 0;
2549 aRectangle.Width = 0;
2550 aRectangle.Height = 0;
2551 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2553 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-cloudCallout");
2555 return aPropertyMap;
2559 // This is a generated source file. DO NOT EDIT.
2561 class ShapeCcallout1 : public CustomShapeProvider
2563 virtual PropertyMap getProperties()
2565 PropertyMap aPropertyMap;
2568 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
2570 Any aAny ((sal_Int32) 18750);
2571 aAdjSequence [0].Value = aAny;
2572 aAdjSequence [0].Name = "adj1";
2575 Any aAny ((sal_Int32) -8333);
2576 aAdjSequence [1].Value = aAny;
2577 aAdjSequence [1].Name = "adj2";
2580 Any aAny ((sal_Int32) 112500);
2581 aAdjSequence [2].Value = aAny;
2582 aAdjSequence [2].Name = "adj3";
2585 Any aAny ((sal_Int32) -38333);
2586 aAdjSequence [3].Value = aAny;
2587 aAdjSequence [3].Name = "adj4";
2589 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2592 static const char *aStrings[] = {
2593 "logheight*$0 /100000",
2594 "logwidth*$1 /100000",
2595 "logheight*$2 /100000",
2596 "logwidth*$3 /100000",
2597 "logwidth",
2598 "logheight/2",
2599 "logwidth/2",
2600 "logheight"
2602 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2605 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
2607 Sequence< PropertyValue > aPropSequence (7);
2609 aPropSequence [0].Name = "Position";
2610 static const CustomShapeProvider::ParameterPairData aData =
2612 EnhancedCustomShapeParameterType::EQUATION,
2613 EnhancedCustomShapeParameterType::EQUATION,
2614 1, 0
2616 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2619 aPropSequence [1].Name = "RangeXMaximum";
2620 EnhancedCustomShapeParameter aParameter;
2621 Any aAny ((sal_Int32) 2147483647);
2622 aParameter.Value = aAny;
2623 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2624 aPropSequence [1].Value = makeAny (aParameter);
2627 aPropSequence [2].Name = "RangeXMinimum";
2628 EnhancedCustomShapeParameter aParameter;
2629 Any aAny ((sal_Int32) -2147483647);
2630 aParameter.Value = aAny;
2631 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2632 aPropSequence [2].Value = makeAny (aParameter);
2635 aPropSequence [3].Name = "RangeYMaximum";
2636 EnhancedCustomShapeParameter aParameter;
2637 Any aAny ((sal_Int32) 2147483647);
2638 aParameter.Value = aAny;
2639 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2640 aPropSequence [3].Value = makeAny (aParameter);
2643 aPropSequence [4].Name = "RangeYMinimum";
2644 EnhancedCustomShapeParameter aParameter;
2645 Any aAny ((sal_Int32) -2147483647);
2646 aParameter.Value = aAny;
2647 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2648 aPropSequence [4].Value = makeAny (aParameter);
2651 aPropSequence [5].Name = "RefX";
2652 Any aAny ((sal_Int32) 1);
2653 aPropSequence [5].Value = makeAny (aAny);
2656 aPropSequence [6].Name = "RefY";
2657 Any aAny ((sal_Int32) 0);
2658 aPropSequence [6].Value = makeAny (aAny);
2660 aPropSequenceSequence [0] = aPropSequence;
2663 Sequence< PropertyValue > aPropSequence (7);
2665 aPropSequence [0].Name = "Position";
2666 static const CustomShapeProvider::ParameterPairData aData =
2668 EnhancedCustomShapeParameterType::EQUATION,
2669 EnhancedCustomShapeParameterType::EQUATION,
2670 3, 2
2672 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2675 aPropSequence [1].Name = "RangeXMaximum";
2676 EnhancedCustomShapeParameter aParameter;
2677 Any aAny ((sal_Int32) 2147483647);
2678 aParameter.Value = aAny;
2679 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2680 aPropSequence [1].Value = makeAny (aParameter);
2683 aPropSequence [2].Name = "RangeXMinimum";
2684 EnhancedCustomShapeParameter aParameter;
2685 Any aAny ((sal_Int32) -2147483647);
2686 aParameter.Value = aAny;
2687 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2688 aPropSequence [2].Value = makeAny (aParameter);
2691 aPropSequence [3].Name = "RangeYMaximum";
2692 EnhancedCustomShapeParameter aParameter;
2693 Any aAny ((sal_Int32) 2147483647);
2694 aParameter.Value = aAny;
2695 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2696 aPropSequence [3].Value = makeAny (aParameter);
2699 aPropSequence [4].Name = "RangeYMinimum";
2700 EnhancedCustomShapeParameter aParameter;
2701 Any aAny ((sal_Int32) -2147483647);
2702 aParameter.Value = aAny;
2703 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2704 aPropSequence [4].Value = makeAny (aParameter);
2707 aPropSequence [5].Name = "RefX";
2708 Any aAny ((sal_Int32) 3);
2709 aPropSequence [5].Value = makeAny (aAny);
2712 aPropSequence [6].Name = "RefY";
2713 Any aAny ((sal_Int32) 2);
2714 aPropSequence [6].Value = makeAny (aAny);
2716 aPropSequenceSequence [1] = aPropSequence;
2718 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2721 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2724 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2727 Sequence< PropertyValue > aPropSequence (3);
2729 aPropSequence [0].Name = "Coordinates";
2730 static const CustomShapeProvider::ParameterPairData aData[] = {
2732 EnhancedCustomShapeParameterType::NORMAL,
2733 EnhancedCustomShapeParameterType::NORMAL,
2734 0, 0
2737 EnhancedCustomShapeParameterType::EQUATION,
2738 EnhancedCustomShapeParameterType::NORMAL,
2739 4, 0
2742 EnhancedCustomShapeParameterType::EQUATION,
2743 EnhancedCustomShapeParameterType::EQUATION,
2744 4, 7
2747 EnhancedCustomShapeParameterType::NORMAL,
2748 EnhancedCustomShapeParameterType::EQUATION,
2749 0, 7
2752 EnhancedCustomShapeParameterType::EQUATION,
2753 EnhancedCustomShapeParameterType::EQUATION,
2754 1, 0
2757 EnhancedCustomShapeParameterType::EQUATION,
2758 EnhancedCustomShapeParameterType::EQUATION,
2759 3, 2
2762 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2765 aPropSequence [1].Name = "Segments";
2766 static const sal_uInt16 nValues[] = {
2767 // Command, Count
2768 1,1,
2769 2,3,
2770 4,0,
2771 7,0,
2772 5,0,
2773 1,1,
2774 2,1,
2775 6,0,
2778 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2781 aPropSequence [2].Name = "TextFrames";
2782 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2784 EnhancedCustomShapeTextFrame aTextFrame;
2786 static const CustomShapeProvider::ParameterPairData aData =
2788 EnhancedCustomShapeParameterType::NORMAL,
2789 EnhancedCustomShapeParameterType::NORMAL,
2790 0, 0
2792 aTextFrame.TopLeft = createParameterPair(&aData);
2795 static const CustomShapeProvider::ParameterPairData aData =
2797 EnhancedCustomShapeParameterType::EQUATION,
2798 EnhancedCustomShapeParameterType::EQUATION,
2799 4, 7
2801 aTextFrame.BottomRight = createParameterPair(&aData);
2803 aTextFrameSeq [0] = aTextFrame;
2805 aPropSequence [2].Value = makeAny (aTextFrameSeq);
2807 aPropertyMap [PROP_Path] <<= aPropSequence;
2810 awt::Rectangle aRectangle;
2811 aRectangle.X = 0;
2812 aRectangle.Y = 0;
2813 aRectangle.Width = 0;
2814 aRectangle.Height = 0;
2815 aPropertyMap [PROP_ViewBox] <<= aRectangle;
2817 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-callout1");
2819 return aPropertyMap;
2823 // This is a generated source file. DO NOT EDIT.
2825 class ShapeCribbon : public CustomShapeProvider
2827 virtual PropertyMap getProperties()
2829 PropertyMap aPropertyMap;
2832 Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
2834 Any aAny ((sal_Int32) 16667);
2835 aAdjSequence [0].Value = aAny;
2836 aAdjSequence [0].Name = "adj1";
2839 Any aAny ((sal_Int32) 50000);
2840 aAdjSequence [1].Value = aAny;
2841 aAdjSequence [1].Name = "adj2";
2843 aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2846 static const char *aStrings[] = {
2847 "if(0-$0 ,0,if(33333-$0 ,$0 ,33333))",
2848 "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
2849 "logwidth/8",
2850 "logwidth+0-?2 ",
2851 "logwidth*?1 /200000",
2852 "logwidth/2",
2853 "?5 +0-?4 ",
2854 "?5 +?4 -0",
2855 "logwidth/32",
2856 "?6 +?8 -0",
2857 "?7 +0-?8 ",
2858 "?6 +?2 -0",
2859 "?7 +0-?2 ",
2860 "?11 +0-?8 ",
2861 "?12 +?8 -0",
2862 "logheight*?0 /200000",
2863 "logheight*?0 /100000",
2864 "logheight+0-?16 ",
2865 "?17 *1/2",
2866 "logheight*?0 /400000",
2867 "logheight+0-?19 ",
2868 "?16 +0-?19 ",
2869 "logheight",
2870 "(16200000)/60000.0",
2871 "(10800000)/60000.0",
2872 "(16200000)/60000.0",
2873 "(-10800000)/60000.0",
2874 "(5400000)/60000.0",
2875 "(-10800000)/60000.0",
2876 "(5400000)/60000.0",
2877 "(10800000)/60000.0",
2878 "logwidth",
2879 "(0)/60000.0",
2880 "(5400000)/60000.0",
2881 "(5400000)/60000.0",
2882 "(5400000)/60000.0",
2883 "(0)/60000.0",
2884 "(5400000)/60000.0",
2885 "(16200000)/60000.0",
2886 "(-10800000)/60000.0",
2887 "(10800000)/60000.0",
2888 "(-5400000)/60000.0",
2889 "(16200000)/60000.0",
2890 "(10800000)/60000.0",
2891 "(16200000)/60000.0",
2892 "(10800000)/60000.0",
2893 "(16200000)/60000.0",
2894 "(-10800000)/60000.0",
2895 "(5400000)/60000.0",
2896 "(-10800000)/60000.0",
2897 "(5400000)/60000.0",
2898 "(10800000)/60000.0",
2899 "(0)/60000.0",
2900 "(5400000)/60000.0",
2901 "(5400000)/60000.0",
2902 "(5400000)/60000.0"
2904 aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2907 Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
2909 Sequence< PropertyValue > aPropSequence (4);
2911 aPropSequence [0].Name = "Position";
2912 static const CustomShapeProvider::ParameterPairData aData =
2914 EnhancedCustomShapeParameterType::EQUATION,
2915 EnhancedCustomShapeParameterType::EQUATION,
2916 5, 16
2918 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2921 aPropSequence [1].Name = "RangeYMaximum";
2922 EnhancedCustomShapeParameter aParameter;
2923 Any aAny ((sal_Int32) 33333);
2924 aParameter.Value = aAny;
2925 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2926 aPropSequence [1].Value = makeAny (aParameter);
2929 aPropSequence [2].Name = "RangeYMinimum";
2930 EnhancedCustomShapeParameter aParameter;
2931 Any aAny ((sal_Int32) 0);
2932 aParameter.Value = aAny;
2933 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2934 aPropSequence [2].Value = makeAny (aParameter);
2937 aPropSequence [3].Name = "RefY";
2938 Any aAny ((sal_Int32) 0);
2939 aPropSequence [3].Value = makeAny (aAny);
2941 aPropSequenceSequence [0] = aPropSequence;
2944 Sequence< PropertyValue > aPropSequence (4);
2946 aPropSequence [0].Name = "Position";
2947 static const CustomShapeProvider::ParameterPairData aData =
2949 EnhancedCustomShapeParameterType::EQUATION,
2950 EnhancedCustomShapeParameterType::NORMAL,
2951 6, 0
2953 aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2956 aPropSequence [1].Name = "RangeXMaximum";
2957 EnhancedCustomShapeParameter aParameter;
2958 Any aAny ((sal_Int32) 75000);
2959 aParameter.Value = aAny;
2960 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2961 aPropSequence [1].Value = makeAny (aParameter);
2964 aPropSequence [2].Name = "RangeXMinimum";
2965 EnhancedCustomShapeParameter aParameter;
2966 Any aAny ((sal_Int32) 25000);
2967 aParameter.Value = aAny;
2968 aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2969 aPropSequence [2].Value = makeAny (aParameter);
2972 aPropSequence [3].Name = "RefX";
2973 Any aAny ((sal_Int32) 1);
2974 aPropSequence [3].Value = makeAny (aAny);
2976 aPropSequenceSequence [1] = aPropSequence;
2978 aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2981 aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2984 aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2987 Sequence< PropertyValue > aPropSequence (3);
2989 aPropSequence [0].Name = "Coordinates";
2990 static const CustomShapeProvider::ParameterPairData aData[] = {
2992 EnhancedCustomShapeParameterType::NORMAL,
2993 EnhancedCustomShapeParameterType::NORMAL,
2994 0, 0
2997 EnhancedCustomShapeParameterType::EQUATION,
2998 EnhancedCustomShapeParameterType::NORMAL,
2999 13, 0
3002 EnhancedCustomShapeParameterType::EQUATION,
3003 EnhancedCustomShapeParameterType::EQUATION,
3004 8, 19
3007 EnhancedCustomShapeParameterType::EQUATION,
3008 EnhancedCustomShapeParameterType::EQUATION,
3009 23, 24
3012 EnhancedCustomShapeParameterType::EQUATION,
3013 EnhancedCustomShapeParameterType::EQUATION,
3014 9, 15
3017 EnhancedCustomShapeParameterType::EQUATION,
3018 EnhancedCustomShapeParameterType::EQUATION,
3019 8, 19
3022 EnhancedCustomShapeParameterType::EQUATION,
3023 EnhancedCustomShapeParameterType::EQUATION,
3024 25, 26
3027 EnhancedCustomShapeParameterType::EQUATION,
3028 EnhancedCustomShapeParameterType::EQUATION,
3029 10, 16
3032 EnhancedCustomShapeParameterType::EQUATION,
3033 EnhancedCustomShapeParameterType::EQUATION,
3034 8, 19
3037 EnhancedCustomShapeParameterType::EQUATION,
3038 EnhancedCustomShapeParameterType::EQUATION,
3039 27, 28
3042 EnhancedCustomShapeParameterType::EQUATION,
3043 EnhancedCustomShapeParameterType::EQUATION,
3044 14, 15
3047 EnhancedCustomShapeParameterType::EQUATION,
3048 EnhancedCustomShapeParameterType::EQUATION,
3049 8, 19
3052 EnhancedCustomShapeParameterType::EQUATION,
3053 EnhancedCustomShapeParameterType::EQUATION,
3054 29, 30
3057 EnhancedCustomShapeParameterType::EQUATION,
3058 EnhancedCustomShapeParameterType::NORMAL,
3059 31, 0
3062 EnhancedCustomShapeParameterType::EQUATION,
3063 EnhancedCustomShapeParameterType::EQUATION,
3064 3, 18
3067 EnhancedCustomShapeParameterType::EQUATION,
3068 EnhancedCustomShapeParameterType::EQUATION,
3069 31, 17
3072 EnhancedCustomShapeParameterType::EQUATION,
3073 EnhancedCustomShapeParameterType::EQUATION,
3074 7, 17
3077 EnhancedCustomShapeParameterType::EQUATION,
3078 EnhancedCustomShapeParameterType::EQUATION,
3079 7, 20
3082 EnhancedCustomShapeParameterType::EQUATION,
3083 EnhancedCustomShapeParameterType::EQUATION,
3084 8, 19
3087 EnhancedCustomShapeParameterType::EQUATION,
3088 EnhancedCustomShapeParameterType::EQUATION,
3089 32, 33
3092 EnhancedCustomShapeParameterType::EQUATION,
3093 EnhancedCustomShapeParameterType::EQUATION,
3094 9, 22
3097 EnhancedCustomShapeParameterType::EQUATION,
3098 EnhancedCustomShapeParameterType::EQUATION,
3099 8, 19
3102 EnhancedCustomShapeParameterType::EQUATION,
3103 EnhancedCustomShapeParameterType::EQUATION,
3104 34, 35
3107 EnhancedCustomShapeParameterType::EQUATION,
3108 EnhancedCustomShapeParameterType::EQUATION,
3109 6, 17
3112 EnhancedCustomShapeParameterType::NORMAL,
3113 EnhancedCustomShapeParameterType::EQUATION,
3114 0, 17
3117 EnhancedCustomShapeParameterType::EQUATION,
3118 EnhancedCustomShapeParameterType::EQUATION,
3119 2, 18
3122 EnhancedCustomShapeParameterType::EQUATION,
3123 EnhancedCustomShapeParameterType::EQUATION,
3124 11, 19
3127 EnhancedCustomShapeParameterType::EQUATION,
3128 EnhancedCustomShapeParameterType::EQUATION,
3129 8, 19
3132 EnhancedCustomShapeParameterType::EQUATION,
3133 EnhancedCustomShapeParameterType::EQUATION,
3134 36, 37
3137 EnhancedCustomShapeParameterType::EQUATION,
3138 EnhancedCustomShapeParameterType::EQUATION,
3139 9, 15
3142 EnhancedCustomShapeParameterType::EQUATION,
3143 EnhancedCustomShapeParameterType::EQUATION,
3144 8, 19
3147 EnhancedCustomShapeParameterType::EQUATION,
3148 EnhancedCustomShapeParameterType::EQUATION,
3149 38, 39
3152 EnhancedCustomShapeParameterType::EQUATION,
3153 EnhancedCustomShapeParameterType::EQUATION,
3154 11, 16
3157 EnhancedCustomShapeParameterType::EQUATION,
3158 EnhancedCustomShapeParameterType::EQUATION,
3159 12, 19
3162 EnhancedCustomShapeParameterType::EQUATION,
3163 EnhancedCustomShapeParameterType::EQUATION,
3164 8, 19
3167 EnhancedCustomShapeParameterType::EQUATION,
3168 EnhancedCustomShapeParameterType::EQUATION,
3169 40, 41
3172 EnhancedCustomShapeParameterType::EQUATION,
3173 EnhancedCustomShapeParameterType::EQUATION,
3174 10, 15
3177 EnhancedCustomShapeParameterType::EQUATION,
3178 EnhancedCustomShapeParameterType::EQUATION,
3179 8, 19
3182 EnhancedCustomShapeParameterType::EQUATION,
3183 EnhancedCustomShapeParameterType::EQUATION,
3184 42, 43
3187 EnhancedCustomShapeParameterType::EQUATION,
3188 EnhancedCustomShapeParameterType::EQUATION,
3189 12, 16
3192 EnhancedCustomShapeParameterType::NORMAL,
3193 EnhancedCustomShapeParameterType::NORMAL,
3194 0, 0
3197 EnhancedCustomShapeParameterType::EQUATION,
3198 EnhancedCustomShapeParameterType::NORMAL,
3199 13, 0
3202 EnhancedCustomShapeParameterType::EQUATION,
3203 EnhancedCustomShapeParameterType::EQUATION,
3204 8, 19
3207 EnhancedCustomShapeParameterType::EQUATION,
3208 EnhancedCustomShapeParameterType::EQUATION,
3209 44, 45
3212 EnhancedCustomShapeParameterType::EQUATION,
3213 EnhancedCustomShapeParameterType::EQUATION,
3214 9, 15
3217 EnhancedCustomShapeParameterType::EQUATION,
3218 EnhancedCustomShapeParameterType::EQUATION,
3219 8, 19
3222 EnhancedCustomShapeParameterType::EQUATION,
3223 EnhancedCustomShapeParameterType::EQUATION,
3224 46, 47
3227 EnhancedCustomShapeParameterType::EQUATION,
3228 EnhancedCustomShapeParameterType::EQUATION,
3229 10, 16
3232 EnhancedCustomShapeParameterType::EQUATION,
3233 EnhancedCustomShapeParameterType::EQUATION,
3234 8, 19
3237 EnhancedCustomShapeParameterType::EQUATION,
3238 EnhancedCustomShapeParameterType::EQUATION,
3239 48, 49
3242 EnhancedCustomShapeParameterType::EQUATION,
3243 EnhancedCustomShapeParameterType::EQUATION,
3244 14, 15
3247 EnhancedCustomShapeParameterType::EQUATION,
3248 EnhancedCustomShapeParameterType::EQUATION,
3249 8, 19
3252 EnhancedCustomShapeParameterType::EQUATION,
3253 EnhancedCustomShapeParameterType::EQUATION,
3254 50, 51
3257 EnhancedCustomShapeParameterType::EQUATION,
3258 EnhancedCustomShapeParameterType::NORMAL,
3259 31, 0
3262 EnhancedCustomShapeParameterType::EQUATION,
3263 EnhancedCustomShapeParameterType::EQUATION,
3264 3, 18
3267 EnhancedCustomShapeParameterType::EQUATION,
3268 EnhancedCustomShapeParameterType::EQUATION,
3269 31, 17
3272 EnhancedCustomShapeParameterType::EQUATION,
3273 EnhancedCustomShapeParameterType::EQUATION,
3274 7, 17
3277 EnhancedCustomShapeParameterType::EQUATION,
3278 EnhancedCustomShapeParameterType::EQUATION,
3279 7, 20
3282 EnhancedCustomShapeParameterType::EQUATION,
3283 EnhancedCustomShapeParameterType::EQUATION,
3284 8, 19
3287 EnhancedCustomShapeParameterType::EQUATION,
3288 EnhancedCustomShapeParameterType::EQUATION,
3289 52, 53
3292 EnhancedCustomShapeParameterType::EQUATION,
3293 EnhancedCustomShapeParameterType::EQUATION,
3294 9, 22
3297 EnhancedCustomShapeParameterType::EQUATION,
3298 EnhancedCustomShapeParameterType::EQUATION,
3299 8, 19
3302 EnhancedCustomShapeParameterType::EQUATION,
3303 EnhancedCustomShapeParameterType::EQUATION,
3304 54, 55
3307 EnhancedCustomShapeParameterType::EQUATION,
3308 EnhancedCustomShapeParameterType::EQUATION,
3309 6, 17
3312 EnhancedCustomShapeParameterType::NORMAL,
3313 EnhancedCustomShapeParameterType::EQUATION,
3314 0, 17
3317 EnhancedCustomShapeParameterType::EQUATION,
3318 EnhancedCustomShapeParameterType::EQUATION,
3319 2, 18
3322 EnhancedCustomShapeParameterType::EQUATION,
3323 EnhancedCustomShapeParameterType::EQUATION,
3324 11, 19
3327 EnhancedCustomShapeParameterType::EQUATION,
3328 EnhancedCustomShapeParameterType::EQUATION,
3329 11, 16
3332 EnhancedCustomShapeParameterType::EQUATION,
3333 EnhancedCustomShapeParameterType::EQUATION,
3334 12, 16
3337 EnhancedCustomShapeParameterType::EQUATION,
3338 EnhancedCustomShapeParameterType::EQUATION,
3339 12, 19
3342 EnhancedCustomShapeParameterType::EQUATION,
3343 EnhancedCustomShapeParameterType::EQUATION,
3344 6, 17
3347 EnhancedCustomShapeParameterType::EQUATION,
3348 EnhancedCustomShapeParameterType::EQUATION,
3349 6, 21
3352 EnhancedCustomShapeParameterType::EQUATION,
3353 EnhancedCustomShapeParameterType::EQUATION,
3354 7, 21
3357 EnhancedCustomShapeParameterType::EQUATION,
3358 EnhancedCustomShapeParameterType::EQUATION,
3359 7, 17
3362 aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3365 aPropSequence [1].Name = "Segments";
3366 static const sal_uInt16 nValues[] = {
3367 // Command, Count
3368 1,1,
3369 2,1,
3370 17,1,
3371 2,1,
3372 17,1,
3373 2,1,
3374 17,1,
3375 2,1,
3376 17,1,
3377 2,5,
3378 17,1,
3379 2,1,
3380 17,1,
3381 2,3,
3382 4,0,
3383 7,0,
3384 5,0,
3385 1,1,
3386 17,1,
3387 2,1,
3388 17,1,
3389 2,1,
3390 4,0,
3391 1,1,
3392 17,1,
3393 2,1,
3394 17,1,
3395 2,1,
3396 4,0,
3397 19,0,
3398 7,0,
3399 5,0,
3400 1,1,
3401 2,1,
3402 17,1,
3403 2,1,
3404 17,1,
3405 2,1,
3406 17,1,
3407 2,1,
3408 17,1,
3409 2,5,
3410 17,1,
3411 2,1,
3412 17,1,
3413 2,3,
3414 4,0,
3415 1,1,
3416 2,1,
3417 1,1,
3418 2,1,
3419 1,1,
3420 2,1,
3421 1,1,
3422 2,1,
3423 6,0,
3426 aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3429 aPropSequence [2].Name = "TextFrames";
3430 Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3432 EnhancedCustomShapeTextFrame aTextFrame;
3434 static const CustomShapeProvider::ParameterPairData aData =
3436 EnhancedCustomShapeParameterType::EQUATION,
3437 EnhancedCustomShapeParameterType::EQUATION,
3438 6, 16
3440 aTextFrame.TopLeft = createParameterPair(&aData);
3443 static const CustomShapeProvider::ParameterPairData aData =
3445 EnhancedCustomShapeParameterType::EQUATION,
3446 EnhancedCustomShapeParameterType::EQUATION,
3447 7, 22
3449 aTextFrame.BottomRight = createParameterPair(&aData);
3451 aTextFrameSeq [0] = aTextFrame;
3453 aPropSequence [2].Value = makeAny (aTextFrameSeq);
3455 aPropertyMap [PROP_Path] <<= aPropSequence;
3458 awt::Rectangle aRectangle;
3459 aRectangle.X = 0;
3460 aRectangle.Y = 0;
3461 aRectangle.Width = 0;
3462 aRectangle.Height = 0;
3463 aPropertyMap [PROP_ViewBox] <<= aRectangle;
3465 aPropertyMap [ PROP_Type ] <<= OUString("ooxml-ribbon");
3467 return aPropertyMap;
3471 // This is a generated source file. DO NOT EDIT.
3473 } // anonymous namespace
3474 void CustomShapeProperties::initializePresetsMap6()
3476 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartProcess" ) ] = new ShapeCflowChartProcess();
3477 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star5" ) ] = new ShapeCstar5();
3478 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lineInv" ) ] = new ShapeClineInv();
3479 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "straightConnector1" ) ] = new ShapeCstraightConnector1();
3480 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "stripedRightArrow" ) ] = new ShapeCstripedRightArrow();
3481 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout3" ) ] = new ShapeCcallout3();
3482 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentUpArrow" ) ] = new ShapeCbentUpArrow();
3483 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "noSmoking" ) ] = new ShapeCnoSmoking();
3484 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "trapezoid" ) ] = new ShapeCtrapezoid();
3485 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cloudCallout" ) ] = new ShapeCcloudCallout();
3486 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout1" ) ] = new ShapeCcallout1();
3487 maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ribbon" ) ] = new ShapeCribbon();
3490 } } // oox // drawingml
3493 void ::oox::drawingml::CustomShapeProperties::initializePresetsMap()
3495 initializePresetsMap1();
3496 initializePresetsMap2();
3497 initializePresetsMap3();
3498 initializePresetsMap4();
3499 initializePresetsMap5();
3500 initializePresetsMap6();