2 // This file was generated by: ./generatePresetsCXX.pl
4 // Please, DO NOT EDIT.
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
{
26 class ShapeCflowChartProcess
: public CustomShapeProvider
28 virtual PropertyMap
getProperties()
30 PropertyMap aPropertyMap
;
33 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
36 static const char *aStrings
[] = {
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
,
64 EnhancedCustomShapeParameterType::NORMAL
,
65 EnhancedCustomShapeParameterType::NORMAL
,
69 EnhancedCustomShapeParameterType::NORMAL
,
70 EnhancedCustomShapeParameterType::NORMAL
,
74 EnhancedCustomShapeParameterType::NORMAL
,
75 EnhancedCustomShapeParameterType::NORMAL
,
79 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
82 aPropSequence
[1].Name
= "Segments";
83 static const sal_uInt16 nValues
[] = {
90 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
93 aPropSequence
[2].Name
= "SubViewSize";
94 Sequence
< awt::Size
> aSizeSequence (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
,
115 aTextFrame
.TopLeft
= createParameterPair(&aData
);
118 static const CustomShapeProvider::ParameterPairData aData
=
120 EnhancedCustomShapeParameterType::EQUATION
,
121 EnhancedCustomShapeParameterType::EQUATION
,
124 aTextFrame
.BottomRight
= createParameterPair(&aData
);
126 aTextFrameSeq
[0] = aTextFrame
;
128 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
130 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
133 awt::Rectangle aRectangle
;
136 aRectangle
.Width
= 0;
137 aRectangle
.Height
= 0;
138 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
140 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartProcess");
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))",
182 "?2 *cos(pi*(1080000)/10800000)",
183 "?2 *cos(pi*(18360000)/10800000)",
184 "?4 *sin(pi*(1080000)/10800000)",
185 "?4 *sin(pi*(18360000)/10800000)",
195 "?18 *cos(pi*(20520000)/10800000)",
196 "?18 *cos(pi*(3240000)/10800000)",
197 "?19 *sin(pi*(3240000)/10800000)",
198 "?19 *sin(pi*(20520000)/10800000)",
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
,
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
,
266 EnhancedCustomShapeParameterType::EQUATION
,
267 EnhancedCustomShapeParameterType::EQUATION
,
271 EnhancedCustomShapeParameterType::EQUATION
,
272 EnhancedCustomShapeParameterType::NORMAL
,
276 EnhancedCustomShapeParameterType::EQUATION
,
277 EnhancedCustomShapeParameterType::EQUATION
,
281 EnhancedCustomShapeParameterType::EQUATION
,
282 EnhancedCustomShapeParameterType::EQUATION
,
286 EnhancedCustomShapeParameterType::EQUATION
,
287 EnhancedCustomShapeParameterType::EQUATION
,
291 EnhancedCustomShapeParameterType::EQUATION
,
292 EnhancedCustomShapeParameterType::EQUATION
,
296 EnhancedCustomShapeParameterType::EQUATION
,
297 EnhancedCustomShapeParameterType::EQUATION
,
301 EnhancedCustomShapeParameterType::EQUATION
,
302 EnhancedCustomShapeParameterType::EQUATION
,
306 EnhancedCustomShapeParameterType::EQUATION
,
307 EnhancedCustomShapeParameterType::EQUATION
,
311 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
314 aPropSequence
[1].Name
= "Segments";
315 static const sal_uInt16 nValues
[] = {
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
,
336 aTextFrame
.TopLeft
= createParameterPair(&aData
);
339 static const CustomShapeProvider::ParameterPairData aData
=
341 EnhancedCustomShapeParameterType::EQUATION
,
342 EnhancedCustomShapeParameterType::EQUATION
,
345 aTextFrame
.BottomRight
= createParameterPair(&aData
);
347 aTextFrameSeq
[0] = aTextFrame
;
349 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
351 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
354 awt::Rectangle aRectangle
;
357 aRectangle
.Width
= 0;
358 aRectangle
.Height
= 0;
359 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
361 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-star5");
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
[] = {
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
,
405 EnhancedCustomShapeParameterType::EQUATION
,
406 EnhancedCustomShapeParameterType::NORMAL
,
410 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
413 aPropSequence
[1].Name
= "Segments";
414 static const sal_uInt16 nValues
[] = {
420 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
422 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
425 awt::Rectangle aRectangle
;
428 aRectangle
.Width
= 0;
429 aRectangle
.Height
= 0;
430 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
432 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-lineInv");
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
[] = {
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
,
476 EnhancedCustomShapeParameterType::EQUATION
,
477 EnhancedCustomShapeParameterType::EQUATION
,
481 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
484 aPropSequence
[1].Name
= "Segments";
485 static const sal_uInt16 nValues
[] = {
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
,
506 aTextFrame
.TopLeft
= createParameterPair(&aData
);
509 static const CustomShapeProvider::ParameterPairData aData
=
511 EnhancedCustomShapeParameterType::EQUATION
,
512 EnhancedCustomShapeParameterType::EQUATION
,
515 aTextFrame
.BottomRight
= createParameterPair(&aData
);
517 aTextFrameSeq
[0] = aTextFrame
;
519 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
521 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
524 awt::Rectangle aRectangle
;
527 aRectangle
.Width
= 0;
528 aRectangle
.Height
= 0;
529 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
531 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-straightConnector1");
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 ))",
568 "logheight*?2 /200000",
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
,
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
,
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
,
674 EnhancedCustomShapeParameterType::EQUATION
,
675 EnhancedCustomShapeParameterType::EQUATION
,
679 EnhancedCustomShapeParameterType::EQUATION
,
680 EnhancedCustomShapeParameterType::EQUATION
,
684 EnhancedCustomShapeParameterType::NORMAL
,
685 EnhancedCustomShapeParameterType::EQUATION
,
689 EnhancedCustomShapeParameterType::EQUATION
,
690 EnhancedCustomShapeParameterType::EQUATION
,
694 EnhancedCustomShapeParameterType::EQUATION
,
695 EnhancedCustomShapeParameterType::EQUATION
,
699 EnhancedCustomShapeParameterType::EQUATION
,
700 EnhancedCustomShapeParameterType::EQUATION
,
704 EnhancedCustomShapeParameterType::EQUATION
,
705 EnhancedCustomShapeParameterType::EQUATION
,
709 EnhancedCustomShapeParameterType::EQUATION
,
710 EnhancedCustomShapeParameterType::EQUATION
,
714 EnhancedCustomShapeParameterType::EQUATION
,
715 EnhancedCustomShapeParameterType::EQUATION
,
719 EnhancedCustomShapeParameterType::EQUATION
,
720 EnhancedCustomShapeParameterType::NORMAL
,
724 EnhancedCustomShapeParameterType::EQUATION
,
725 EnhancedCustomShapeParameterType::EQUATION
,
729 EnhancedCustomShapeParameterType::EQUATION
,
730 EnhancedCustomShapeParameterType::EQUATION
,
734 EnhancedCustomShapeParameterType::EQUATION
,
735 EnhancedCustomShapeParameterType::EQUATION
,
739 EnhancedCustomShapeParameterType::EQUATION
,
740 EnhancedCustomShapeParameterType::EQUATION
,
744 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
747 aPropSequence
[1].Name
= "Segments";
748 static const sal_uInt16 nValues
[] = {
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
,
775 aTextFrame
.TopLeft
= createParameterPair(&aData
);
778 static const CustomShapeProvider::ParameterPairData aData
=
780 EnhancedCustomShapeParameterType::EQUATION
,
781 EnhancedCustomShapeParameterType::EQUATION
,
784 aTextFrame
.BottomRight
= createParameterPair(&aData
);
786 aTextFrameSeq
[0] = aTextFrame
;
788 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
790 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
793 awt::Rectangle aRectangle
;
796 aRectangle
.Width
= 0;
797 aRectangle
.Height
= 0;
798 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
800 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-stripedRightArrow");
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",
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
,
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
,
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
,
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
,
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
,
1120 EnhancedCustomShapeParameterType::EQUATION
,
1121 EnhancedCustomShapeParameterType::NORMAL
,
1125 EnhancedCustomShapeParameterType::EQUATION
,
1126 EnhancedCustomShapeParameterType::EQUATION
,
1130 EnhancedCustomShapeParameterType::NORMAL
,
1131 EnhancedCustomShapeParameterType::EQUATION
,
1135 EnhancedCustomShapeParameterType::EQUATION
,
1136 EnhancedCustomShapeParameterType::EQUATION
,
1140 EnhancedCustomShapeParameterType::EQUATION
,
1141 EnhancedCustomShapeParameterType::EQUATION
,
1145 EnhancedCustomShapeParameterType::EQUATION
,
1146 EnhancedCustomShapeParameterType::EQUATION
,
1150 EnhancedCustomShapeParameterType::EQUATION
,
1151 EnhancedCustomShapeParameterType::EQUATION
,
1155 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1158 aPropSequence
[1].Name
= "Segments";
1159 static const sal_uInt16 nValues
[] = {
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
,
1185 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1188 static const CustomShapeProvider::ParameterPairData aData
=
1190 EnhancedCustomShapeParameterType::EQUATION
,
1191 EnhancedCustomShapeParameterType::EQUATION
,
1194 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1196 aTextFrameSeq
[0] = aTextFrame
;
1198 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1200 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1203 awt::Rectangle aRectangle
;
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)",
1260 "(?13 +logheight)/2",
1261 "(?4 +logheight)/2",
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
,
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
,
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
,
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
,
1393 EnhancedCustomShapeParameterType::EQUATION
,
1394 EnhancedCustomShapeParameterType::EQUATION
,
1398 EnhancedCustomShapeParameterType::EQUATION
,
1399 EnhancedCustomShapeParameterType::EQUATION
,
1403 EnhancedCustomShapeParameterType::EQUATION
,
1404 EnhancedCustomShapeParameterType::EQUATION
,
1408 EnhancedCustomShapeParameterType::EQUATION
,
1409 EnhancedCustomShapeParameterType::NORMAL
,
1413 EnhancedCustomShapeParameterType::EQUATION
,
1414 EnhancedCustomShapeParameterType::EQUATION
,
1418 EnhancedCustomShapeParameterType::EQUATION
,
1419 EnhancedCustomShapeParameterType::EQUATION
,
1423 EnhancedCustomShapeParameterType::EQUATION
,
1424 EnhancedCustomShapeParameterType::EQUATION
,
1428 EnhancedCustomShapeParameterType::NORMAL
,
1429 EnhancedCustomShapeParameterType::EQUATION
,
1433 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1436 aPropSequence
[1].Name
= "Segments";
1437 static const sal_uInt16 nValues
[] = {
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
,
1458 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1461 static const CustomShapeProvider::ParameterPairData aData
=
1463 EnhancedCustomShapeParameterType::EQUATION
,
1464 EnhancedCustomShapeParameterType::EQUATION
,
1467 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1469 aTextFrameSeq
[0] = aTextFrame
;
1471 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1473 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1476 awt::Rectangle aRectangle
;
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)",
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)",
1521 "(10800000*atan2(?12 ,?11 ))/pi",
1524 "(10800000*atan2(logheight,logwidth))/pi",
1527 "?6 *cos(pi*(?17 )/10800000)",
1528 "?4 *sin(pi*(?17 )/10800000)",
1529 "sqrt(?19 *?19 +?20 *?20 +0*0)",
1531 "?22 *cos(pi*(?17 )/10800000)",
1532 "?22 *sin(pi*(?17 )/10800000)",
1539 "?3 *cos(pi*(2700000)/10800000)",
1540 "?5 *sin(pi*(2700000)/10800000)",
1547 "(10800000)/60000.0",
1548 "(5400000)/60000.0",
1549 "(16200000)/60000.0",
1550 "(5400000)/60000.0",
1552 "(5400000)/60000.0",
1553 "(5400000)/60000.0",
1554 "(5400000)/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
,
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
,
1613 EnhancedCustomShapeParameterType::EQUATION
,
1614 EnhancedCustomShapeParameterType::EQUATION
,
1618 EnhancedCustomShapeParameterType::EQUATION
,
1619 EnhancedCustomShapeParameterType::EQUATION
,
1623 EnhancedCustomShapeParameterType::EQUATION
,
1624 EnhancedCustomShapeParameterType::EQUATION
,
1628 EnhancedCustomShapeParameterType::EQUATION
,
1629 EnhancedCustomShapeParameterType::EQUATION
,
1633 EnhancedCustomShapeParameterType::EQUATION
,
1634 EnhancedCustomShapeParameterType::EQUATION
,
1638 EnhancedCustomShapeParameterType::EQUATION
,
1639 EnhancedCustomShapeParameterType::EQUATION
,
1643 EnhancedCustomShapeParameterType::EQUATION
,
1644 EnhancedCustomShapeParameterType::EQUATION
,
1648 EnhancedCustomShapeParameterType::EQUATION
,
1649 EnhancedCustomShapeParameterType::EQUATION
,
1653 EnhancedCustomShapeParameterType::EQUATION
,
1654 EnhancedCustomShapeParameterType::EQUATION
,
1658 EnhancedCustomShapeParameterType::EQUATION
,
1659 EnhancedCustomShapeParameterType::EQUATION
,
1663 EnhancedCustomShapeParameterType::EQUATION
,
1664 EnhancedCustomShapeParameterType::EQUATION
,
1668 EnhancedCustomShapeParameterType::EQUATION
,
1669 EnhancedCustomShapeParameterType::EQUATION
,
1673 EnhancedCustomShapeParameterType::EQUATION
,
1674 EnhancedCustomShapeParameterType::EQUATION
,
1678 EnhancedCustomShapeParameterType::EQUATION
,
1679 EnhancedCustomShapeParameterType::EQUATION
,
1683 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1686 aPropSequence
[1].Name
= "Segments";
1687 static const sal_uInt16 nValues
[] = {
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
,
1714 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1717 static const CustomShapeProvider::ParameterPairData aData
=
1719 EnhancedCustomShapeParameterType::EQUATION
,
1720 EnhancedCustomShapeParameterType::EQUATION
,
1723 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1725 aTextFrameSeq
[0] = aTextFrame
;
1727 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1729 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1732 awt::Rectangle aRectangle
;
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 ))",
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
,
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
,
1839 EnhancedCustomShapeParameterType::EQUATION
,
1840 EnhancedCustomShapeParameterType::NORMAL
,
1844 EnhancedCustomShapeParameterType::EQUATION
,
1845 EnhancedCustomShapeParameterType::NORMAL
,
1849 EnhancedCustomShapeParameterType::EQUATION
,
1850 EnhancedCustomShapeParameterType::EQUATION
,
1854 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1857 aPropSequence
[1].Name
= "Segments";
1858 static const sal_uInt16 nValues
[] = {
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
,
1879 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1882 static const CustomShapeProvider::ParameterPairData aData
=
1884 EnhancedCustomShapeParameterType::EQUATION
,
1885 EnhancedCustomShapeParameterType::EQUATION
,
1888 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1890 aTextFrameSeq
[0] = aTextFrame
;
1892 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1894 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1897 awt::Rectangle aRectangle
;
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",
1941 "?6 *(cos(atan2(?1 ,?0 )))",
1943 "?8 *(sin(atan2(?1 ,?0 )))",
1944 "?8 *(cos(atan2(?9 ,?7 )))",
1945 "?6 *(sin(atan2(?9 ,?7 )))",
1950 "sqrt(?14 *?14 +?15 *?15 +0*0)",
1951 "min(logwidth,logheight)",
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",
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",
2005 "(21600000)/60000.0",
2007 "(21600000)/60000.0",
2009 "(21600000)/60000.0",
2010 "(5204520)/60000.0",
2011 "(1585770)/60000.0",
2012 "(4416628)/60000.0",
2014 "(8257449)/60000.0",
2018 "(-4217541)/60000.0",
2019 "(4255042)/60000.0",
2020 "(1819082)/60000.0",
2021 "(1665090)/60000.0",
2022 "(-824660)/60000.0",
2024 "(-8950887)/60000.0",
2025 "(1091722)/60000.0",
2026 "(-9809656)/60000.0",
2027 "(1061181)/60000.0",
2028 "(-4002417)/60000.0",
2030 "(9459261)/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
,
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
,
2112 EnhancedCustomShapeParameterType::NORMAL
,
2113 EnhancedCustomShapeParameterType::NORMAL
,
2117 EnhancedCustomShapeParameterType::EQUATION
,
2118 EnhancedCustomShapeParameterType::EQUATION
,
2122 EnhancedCustomShapeParameterType::NORMAL
,
2123 EnhancedCustomShapeParameterType::NORMAL
,
2127 EnhancedCustomShapeParameterType::EQUATION
,
2128 EnhancedCustomShapeParameterType::EQUATION
,
2132 EnhancedCustomShapeParameterType::NORMAL
,
2133 EnhancedCustomShapeParameterType::NORMAL
,
2137 EnhancedCustomShapeParameterType::EQUATION
,
2138 EnhancedCustomShapeParameterType::EQUATION
,
2142 EnhancedCustomShapeParameterType::NORMAL
,
2143 EnhancedCustomShapeParameterType::NORMAL
,
2147 EnhancedCustomShapeParameterType::EQUATION
,
2148 EnhancedCustomShapeParameterType::EQUATION
,
2152 EnhancedCustomShapeParameterType::NORMAL
,
2153 EnhancedCustomShapeParameterType::NORMAL
,
2157 EnhancedCustomShapeParameterType::EQUATION
,
2158 EnhancedCustomShapeParameterType::EQUATION
,
2162 EnhancedCustomShapeParameterType::NORMAL
,
2163 EnhancedCustomShapeParameterType::NORMAL
,
2167 EnhancedCustomShapeParameterType::EQUATION
,
2168 EnhancedCustomShapeParameterType::EQUATION
,
2172 EnhancedCustomShapeParameterType::NORMAL
,
2173 EnhancedCustomShapeParameterType::NORMAL
,
2177 EnhancedCustomShapeParameterType::EQUATION
,
2178 EnhancedCustomShapeParameterType::EQUATION
,
2182 EnhancedCustomShapeParameterType::NORMAL
,
2183 EnhancedCustomShapeParameterType::NORMAL
,
2187 EnhancedCustomShapeParameterType::EQUATION
,
2188 EnhancedCustomShapeParameterType::EQUATION
,
2192 EnhancedCustomShapeParameterType::NORMAL
,
2193 EnhancedCustomShapeParameterType::NORMAL
,
2197 EnhancedCustomShapeParameterType::EQUATION
,
2198 EnhancedCustomShapeParameterType::EQUATION
,
2202 EnhancedCustomShapeParameterType::NORMAL
,
2203 EnhancedCustomShapeParameterType::NORMAL
,
2207 EnhancedCustomShapeParameterType::EQUATION
,
2208 EnhancedCustomShapeParameterType::EQUATION
,
2212 EnhancedCustomShapeParameterType::NORMAL
,
2213 EnhancedCustomShapeParameterType::NORMAL
,
2217 EnhancedCustomShapeParameterType::EQUATION
,
2218 EnhancedCustomShapeParameterType::EQUATION
,
2222 EnhancedCustomShapeParameterType::EQUATION
,
2223 EnhancedCustomShapeParameterType::EQUATION
,
2227 EnhancedCustomShapeParameterType::EQUATION
,
2228 EnhancedCustomShapeParameterType::EQUATION
,
2232 EnhancedCustomShapeParameterType::EQUATION
,
2233 EnhancedCustomShapeParameterType::EQUATION
,
2237 EnhancedCustomShapeParameterType::EQUATION
,
2238 EnhancedCustomShapeParameterType::EQUATION
,
2242 EnhancedCustomShapeParameterType::EQUATION
,
2243 EnhancedCustomShapeParameterType::EQUATION
,
2247 EnhancedCustomShapeParameterType::EQUATION
,
2248 EnhancedCustomShapeParameterType::EQUATION
,
2252 EnhancedCustomShapeParameterType::EQUATION
,
2253 EnhancedCustomShapeParameterType::EQUATION
,
2257 EnhancedCustomShapeParameterType::EQUATION
,
2258 EnhancedCustomShapeParameterType::EQUATION
,
2262 EnhancedCustomShapeParameterType::EQUATION
,
2263 EnhancedCustomShapeParameterType::EQUATION
,
2267 EnhancedCustomShapeParameterType::NORMAL
,
2268 EnhancedCustomShapeParameterType::NORMAL
,
2272 EnhancedCustomShapeParameterType::NORMAL
,
2273 EnhancedCustomShapeParameterType::NORMAL
,
2277 EnhancedCustomShapeParameterType::EQUATION
,
2278 EnhancedCustomShapeParameterType::EQUATION
,
2282 EnhancedCustomShapeParameterType::NORMAL
,
2283 EnhancedCustomShapeParameterType::NORMAL
,
2287 EnhancedCustomShapeParameterType::NORMAL
,
2288 EnhancedCustomShapeParameterType::NORMAL
,
2292 EnhancedCustomShapeParameterType::EQUATION
,
2293 EnhancedCustomShapeParameterType::EQUATION
,
2297 EnhancedCustomShapeParameterType::NORMAL
,
2298 EnhancedCustomShapeParameterType::NORMAL
,
2302 EnhancedCustomShapeParameterType::NORMAL
,
2303 EnhancedCustomShapeParameterType::NORMAL
,
2307 EnhancedCustomShapeParameterType::EQUATION
,
2308 EnhancedCustomShapeParameterType::EQUATION
,
2312 EnhancedCustomShapeParameterType::NORMAL
,
2313 EnhancedCustomShapeParameterType::NORMAL
,
2317 EnhancedCustomShapeParameterType::NORMAL
,
2318 EnhancedCustomShapeParameterType::NORMAL
,
2322 EnhancedCustomShapeParameterType::EQUATION
,
2323 EnhancedCustomShapeParameterType::EQUATION
,
2327 EnhancedCustomShapeParameterType::NORMAL
,
2328 EnhancedCustomShapeParameterType::NORMAL
,
2332 EnhancedCustomShapeParameterType::NORMAL
,
2333 EnhancedCustomShapeParameterType::NORMAL
,
2337 EnhancedCustomShapeParameterType::EQUATION
,
2338 EnhancedCustomShapeParameterType::EQUATION
,
2342 EnhancedCustomShapeParameterType::NORMAL
,
2343 EnhancedCustomShapeParameterType::NORMAL
,
2347 EnhancedCustomShapeParameterType::NORMAL
,
2348 EnhancedCustomShapeParameterType::NORMAL
,
2352 EnhancedCustomShapeParameterType::EQUATION
,
2353 EnhancedCustomShapeParameterType::EQUATION
,
2357 EnhancedCustomShapeParameterType::NORMAL
,
2358 EnhancedCustomShapeParameterType::NORMAL
,
2362 EnhancedCustomShapeParameterType::NORMAL
,
2363 EnhancedCustomShapeParameterType::NORMAL
,
2367 EnhancedCustomShapeParameterType::EQUATION
,
2368 EnhancedCustomShapeParameterType::EQUATION
,
2372 EnhancedCustomShapeParameterType::NORMAL
,
2373 EnhancedCustomShapeParameterType::NORMAL
,
2377 EnhancedCustomShapeParameterType::NORMAL
,
2378 EnhancedCustomShapeParameterType::NORMAL
,
2382 EnhancedCustomShapeParameterType::EQUATION
,
2383 EnhancedCustomShapeParameterType::EQUATION
,
2387 EnhancedCustomShapeParameterType::NORMAL
,
2388 EnhancedCustomShapeParameterType::NORMAL
,
2392 EnhancedCustomShapeParameterType::NORMAL
,
2393 EnhancedCustomShapeParameterType::NORMAL
,
2397 EnhancedCustomShapeParameterType::EQUATION
,
2398 EnhancedCustomShapeParameterType::EQUATION
,
2402 EnhancedCustomShapeParameterType::NORMAL
,
2403 EnhancedCustomShapeParameterType::NORMAL
,
2407 EnhancedCustomShapeParameterType::NORMAL
,
2408 EnhancedCustomShapeParameterType::NORMAL
,
2412 EnhancedCustomShapeParameterType::EQUATION
,
2413 EnhancedCustomShapeParameterType::EQUATION
,
2417 EnhancedCustomShapeParameterType::NORMAL
,
2418 EnhancedCustomShapeParameterType::NORMAL
,
2422 EnhancedCustomShapeParameterType::NORMAL
,
2423 EnhancedCustomShapeParameterType::NORMAL
,
2427 EnhancedCustomShapeParameterType::EQUATION
,
2428 EnhancedCustomShapeParameterType::EQUATION
,
2432 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
2435 aPropSequence
[1].Name
= "Segments";
2436 static const sal_uInt16 nValues
[] = {
2479 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
2482 aPropSequence
[2].Name
= "SubViewSize";
2483 Sequence
< awt::Size
> aSizeSequence (5);
2486 aSize
.Width
= 43200;
2487 aSize
.Height
= 43200;
2488 aSizeSequence
[0] = aSize
;
2494 aSizeSequence
[1] = aSize
;
2500 aSizeSequence
[2] = aSize
;
2506 aSizeSequence
[3] = 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
,
2528 aTextFrame
.TopLeft
= createParameterPair(&aData
);
2531 static const CustomShapeProvider::ParameterPairData aData
=
2533 EnhancedCustomShapeParameterType::EQUATION
,
2534 EnhancedCustomShapeParameterType::EQUATION
,
2537 aTextFrame
.BottomRight
= createParameterPair(&aData
);
2539 aTextFrameSeq
[0] = aTextFrame
;
2541 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
2543 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
2546 awt::Rectangle aRectangle
;
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",
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
,
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
,
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
,
2737 EnhancedCustomShapeParameterType::EQUATION
,
2738 EnhancedCustomShapeParameterType::NORMAL
,
2742 EnhancedCustomShapeParameterType::EQUATION
,
2743 EnhancedCustomShapeParameterType::EQUATION
,
2747 EnhancedCustomShapeParameterType::NORMAL
,
2748 EnhancedCustomShapeParameterType::EQUATION
,
2752 EnhancedCustomShapeParameterType::EQUATION
,
2753 EnhancedCustomShapeParameterType::EQUATION
,
2757 EnhancedCustomShapeParameterType::EQUATION
,
2758 EnhancedCustomShapeParameterType::EQUATION
,
2762 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
2765 aPropSequence
[1].Name
= "Segments";
2766 static const sal_uInt16 nValues
[] = {
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
,
2792 aTextFrame
.TopLeft
= createParameterPair(&aData
);
2795 static const CustomShapeProvider::ParameterPairData aData
=
2797 EnhancedCustomShapeParameterType::EQUATION
,
2798 EnhancedCustomShapeParameterType::EQUATION
,
2801 aTextFrame
.BottomRight
= createParameterPair(&aData
);
2803 aTextFrameSeq
[0] = aTextFrame
;
2805 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
2807 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
2810 awt::Rectangle aRectangle
;
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))",
2851 "logwidth*?1 /200000",
2862 "logheight*?0 /200000",
2863 "logheight*?0 /100000",
2866 "logheight*?0 /400000",
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",
2880 "(5400000)/60000.0",
2881 "(5400000)/60000.0",
2882 "(5400000)/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",
2900 "(5400000)/60000.0",
2901 "(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
,
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
,
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
,
2997 EnhancedCustomShapeParameterType::EQUATION
,
2998 EnhancedCustomShapeParameterType::NORMAL
,
3002 EnhancedCustomShapeParameterType::EQUATION
,
3003 EnhancedCustomShapeParameterType::EQUATION
,
3007 EnhancedCustomShapeParameterType::EQUATION
,
3008 EnhancedCustomShapeParameterType::EQUATION
,
3012 EnhancedCustomShapeParameterType::EQUATION
,
3013 EnhancedCustomShapeParameterType::EQUATION
,
3017 EnhancedCustomShapeParameterType::EQUATION
,
3018 EnhancedCustomShapeParameterType::EQUATION
,
3022 EnhancedCustomShapeParameterType::EQUATION
,
3023 EnhancedCustomShapeParameterType::EQUATION
,
3027 EnhancedCustomShapeParameterType::EQUATION
,
3028 EnhancedCustomShapeParameterType::EQUATION
,
3032 EnhancedCustomShapeParameterType::EQUATION
,
3033 EnhancedCustomShapeParameterType::EQUATION
,
3037 EnhancedCustomShapeParameterType::EQUATION
,
3038 EnhancedCustomShapeParameterType::EQUATION
,
3042 EnhancedCustomShapeParameterType::EQUATION
,
3043 EnhancedCustomShapeParameterType::EQUATION
,
3047 EnhancedCustomShapeParameterType::EQUATION
,
3048 EnhancedCustomShapeParameterType::EQUATION
,
3052 EnhancedCustomShapeParameterType::EQUATION
,
3053 EnhancedCustomShapeParameterType::EQUATION
,
3057 EnhancedCustomShapeParameterType::EQUATION
,
3058 EnhancedCustomShapeParameterType::NORMAL
,
3062 EnhancedCustomShapeParameterType::EQUATION
,
3063 EnhancedCustomShapeParameterType::EQUATION
,
3067 EnhancedCustomShapeParameterType::EQUATION
,
3068 EnhancedCustomShapeParameterType::EQUATION
,
3072 EnhancedCustomShapeParameterType::EQUATION
,
3073 EnhancedCustomShapeParameterType::EQUATION
,
3077 EnhancedCustomShapeParameterType::EQUATION
,
3078 EnhancedCustomShapeParameterType::EQUATION
,
3082 EnhancedCustomShapeParameterType::EQUATION
,
3083 EnhancedCustomShapeParameterType::EQUATION
,
3087 EnhancedCustomShapeParameterType::EQUATION
,
3088 EnhancedCustomShapeParameterType::EQUATION
,
3092 EnhancedCustomShapeParameterType::EQUATION
,
3093 EnhancedCustomShapeParameterType::EQUATION
,
3097 EnhancedCustomShapeParameterType::EQUATION
,
3098 EnhancedCustomShapeParameterType::EQUATION
,
3102 EnhancedCustomShapeParameterType::EQUATION
,
3103 EnhancedCustomShapeParameterType::EQUATION
,
3107 EnhancedCustomShapeParameterType::EQUATION
,
3108 EnhancedCustomShapeParameterType::EQUATION
,
3112 EnhancedCustomShapeParameterType::NORMAL
,
3113 EnhancedCustomShapeParameterType::EQUATION
,
3117 EnhancedCustomShapeParameterType::EQUATION
,
3118 EnhancedCustomShapeParameterType::EQUATION
,
3122 EnhancedCustomShapeParameterType::EQUATION
,
3123 EnhancedCustomShapeParameterType::EQUATION
,
3127 EnhancedCustomShapeParameterType::EQUATION
,
3128 EnhancedCustomShapeParameterType::EQUATION
,
3132 EnhancedCustomShapeParameterType::EQUATION
,
3133 EnhancedCustomShapeParameterType::EQUATION
,
3137 EnhancedCustomShapeParameterType::EQUATION
,
3138 EnhancedCustomShapeParameterType::EQUATION
,
3142 EnhancedCustomShapeParameterType::EQUATION
,
3143 EnhancedCustomShapeParameterType::EQUATION
,
3147 EnhancedCustomShapeParameterType::EQUATION
,
3148 EnhancedCustomShapeParameterType::EQUATION
,
3152 EnhancedCustomShapeParameterType::EQUATION
,
3153 EnhancedCustomShapeParameterType::EQUATION
,
3157 EnhancedCustomShapeParameterType::EQUATION
,
3158 EnhancedCustomShapeParameterType::EQUATION
,
3162 EnhancedCustomShapeParameterType::EQUATION
,
3163 EnhancedCustomShapeParameterType::EQUATION
,
3167 EnhancedCustomShapeParameterType::EQUATION
,
3168 EnhancedCustomShapeParameterType::EQUATION
,
3172 EnhancedCustomShapeParameterType::EQUATION
,
3173 EnhancedCustomShapeParameterType::EQUATION
,
3177 EnhancedCustomShapeParameterType::EQUATION
,
3178 EnhancedCustomShapeParameterType::EQUATION
,
3182 EnhancedCustomShapeParameterType::EQUATION
,
3183 EnhancedCustomShapeParameterType::EQUATION
,
3187 EnhancedCustomShapeParameterType::EQUATION
,
3188 EnhancedCustomShapeParameterType::EQUATION
,
3192 EnhancedCustomShapeParameterType::NORMAL
,
3193 EnhancedCustomShapeParameterType::NORMAL
,
3197 EnhancedCustomShapeParameterType::EQUATION
,
3198 EnhancedCustomShapeParameterType::NORMAL
,
3202 EnhancedCustomShapeParameterType::EQUATION
,
3203 EnhancedCustomShapeParameterType::EQUATION
,
3207 EnhancedCustomShapeParameterType::EQUATION
,
3208 EnhancedCustomShapeParameterType::EQUATION
,
3212 EnhancedCustomShapeParameterType::EQUATION
,
3213 EnhancedCustomShapeParameterType::EQUATION
,
3217 EnhancedCustomShapeParameterType::EQUATION
,
3218 EnhancedCustomShapeParameterType::EQUATION
,
3222 EnhancedCustomShapeParameterType::EQUATION
,
3223 EnhancedCustomShapeParameterType::EQUATION
,
3227 EnhancedCustomShapeParameterType::EQUATION
,
3228 EnhancedCustomShapeParameterType::EQUATION
,
3232 EnhancedCustomShapeParameterType::EQUATION
,
3233 EnhancedCustomShapeParameterType::EQUATION
,
3237 EnhancedCustomShapeParameterType::EQUATION
,
3238 EnhancedCustomShapeParameterType::EQUATION
,
3242 EnhancedCustomShapeParameterType::EQUATION
,
3243 EnhancedCustomShapeParameterType::EQUATION
,
3247 EnhancedCustomShapeParameterType::EQUATION
,
3248 EnhancedCustomShapeParameterType::EQUATION
,
3252 EnhancedCustomShapeParameterType::EQUATION
,
3253 EnhancedCustomShapeParameterType::EQUATION
,
3257 EnhancedCustomShapeParameterType::EQUATION
,
3258 EnhancedCustomShapeParameterType::NORMAL
,
3262 EnhancedCustomShapeParameterType::EQUATION
,
3263 EnhancedCustomShapeParameterType::EQUATION
,
3267 EnhancedCustomShapeParameterType::EQUATION
,
3268 EnhancedCustomShapeParameterType::EQUATION
,
3272 EnhancedCustomShapeParameterType::EQUATION
,
3273 EnhancedCustomShapeParameterType::EQUATION
,
3277 EnhancedCustomShapeParameterType::EQUATION
,
3278 EnhancedCustomShapeParameterType::EQUATION
,
3282 EnhancedCustomShapeParameterType::EQUATION
,
3283 EnhancedCustomShapeParameterType::EQUATION
,
3287 EnhancedCustomShapeParameterType::EQUATION
,
3288 EnhancedCustomShapeParameterType::EQUATION
,
3292 EnhancedCustomShapeParameterType::EQUATION
,
3293 EnhancedCustomShapeParameterType::EQUATION
,
3297 EnhancedCustomShapeParameterType::EQUATION
,
3298 EnhancedCustomShapeParameterType::EQUATION
,
3302 EnhancedCustomShapeParameterType::EQUATION
,
3303 EnhancedCustomShapeParameterType::EQUATION
,
3307 EnhancedCustomShapeParameterType::EQUATION
,
3308 EnhancedCustomShapeParameterType::EQUATION
,
3312 EnhancedCustomShapeParameterType::NORMAL
,
3313 EnhancedCustomShapeParameterType::EQUATION
,
3317 EnhancedCustomShapeParameterType::EQUATION
,
3318 EnhancedCustomShapeParameterType::EQUATION
,
3322 EnhancedCustomShapeParameterType::EQUATION
,
3323 EnhancedCustomShapeParameterType::EQUATION
,
3327 EnhancedCustomShapeParameterType::EQUATION
,
3328 EnhancedCustomShapeParameterType::EQUATION
,
3332 EnhancedCustomShapeParameterType::EQUATION
,
3333 EnhancedCustomShapeParameterType::EQUATION
,
3337 EnhancedCustomShapeParameterType::EQUATION
,
3338 EnhancedCustomShapeParameterType::EQUATION
,
3342 EnhancedCustomShapeParameterType::EQUATION
,
3343 EnhancedCustomShapeParameterType::EQUATION
,
3347 EnhancedCustomShapeParameterType::EQUATION
,
3348 EnhancedCustomShapeParameterType::EQUATION
,
3352 EnhancedCustomShapeParameterType::EQUATION
,
3353 EnhancedCustomShapeParameterType::EQUATION
,
3357 EnhancedCustomShapeParameterType::EQUATION
,
3358 EnhancedCustomShapeParameterType::EQUATION
,
3362 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
3365 aPropSequence
[1].Name
= "Segments";
3366 static const sal_uInt16 nValues
[] = {
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
,
3440 aTextFrame
.TopLeft
= createParameterPair(&aData
);
3443 static const CustomShapeProvider::ParameterPairData aData
=
3445 EnhancedCustomShapeParameterType::EQUATION
,
3446 EnhancedCustomShapeParameterType::EQUATION
,
3449 aTextFrame
.BottomRight
= createParameterPair(&aData
);
3451 aTextFrameSeq
[0] = aTextFrame
;
3453 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
3455 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
3458 awt::Rectangle aRectangle
;
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();