1 // this file was generated by: ./generatePresetsCXX.pl
4 #include "oox/drawingml/customshapeproperties.hxx"
5 #include "oox/token/tokenmap.hxx"
6 #include <com/sun/star/awt/Rectangle.hpp>
7 #include <com/sun/star/awt/Size.hpp>
8 #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
9 #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
10 #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
11 #include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp>
13 using namespace ::com::sun::star
;
14 using namespace ::com::sun::star::beans
;
15 using namespace ::com::sun::star::drawing
;
16 using namespace ::com::sun::star::uno
;
18 namespace oox
{ namespace drawingml
{
22 class ShapeCaccentCallout3
: public CustomShapeProvider
24 virtual PropertyMap
getProperties()
26 PropertyMap aPropertyMap
;
29 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (8);
31 Any
aAny ((sal_Int32
) 18750);
32 aAdjSequence
[0].Value
= aAny
;
33 aAdjSequence
[0].Name
= "adj1";
36 Any
aAny ((sal_Int32
) -8333);
37 aAdjSequence
[1].Value
= aAny
;
38 aAdjSequence
[1].Name
= "adj2";
41 Any
aAny ((sal_Int32
) 18750);
42 aAdjSequence
[2].Value
= aAny
;
43 aAdjSequence
[2].Name
= "adj3";
46 Any
aAny ((sal_Int32
) -16667);
47 aAdjSequence
[3].Value
= aAny
;
48 aAdjSequence
[3].Name
= "adj4";
51 Any
aAny ((sal_Int32
) 100000);
52 aAdjSequence
[4].Value
= aAny
;
53 aAdjSequence
[4].Name
= "adj5";
56 Any
aAny ((sal_Int32
) -16667);
57 aAdjSequence
[5].Value
= aAny
;
58 aAdjSequence
[5].Name
= "adj6";
61 Any
aAny ((sal_Int32
) 112963);
62 aAdjSequence
[6].Value
= aAny
;
63 aAdjSequence
[6].Name
= "adj7";
66 Any
aAny ((sal_Int32
) -8333);
67 aAdjSequence
[7].Value
= aAny
;
68 aAdjSequence
[7].Name
= "adj8";
70 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
73 static const char *aStrings
[] = {
74 "logheight*$0 /100000",
75 "logwidth*$1 /100000",
76 "logheight*$2 /100000",
77 "logwidth*$3 /100000",
78 "logheight*$4 /100000",
79 "logwidth*$5 /100000",
80 "logheight*$6 /100000",
81 "logwidth*$7 /100000",
87 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
90 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (4);
92 Sequence
< PropertyValue
> aPropSequence (7);
94 aPropSequence
[0].Name
= "Position";
95 static const CustomShapeProvider::ParameterPairData aData
=
97 EnhancedCustomShapeParameterType::EQUATION
,
98 EnhancedCustomShapeParameterType::EQUATION
,
101 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
104 aPropSequence
[1].Name
= "RangeXMaximum";
105 EnhancedCustomShapeParameter aParameter
;
106 Any
aAny ((sal_Int32
) 2147483647);
107 aParameter
.Value
= aAny
;
108 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
109 aPropSequence
[1].Value
= makeAny (aParameter
);
112 aPropSequence
[2].Name
= "RangeXMinimum";
113 EnhancedCustomShapeParameter aParameter
;
114 Any
aAny ((sal_Int32
) -2147483647);
115 aParameter
.Value
= aAny
;
116 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
117 aPropSequence
[2].Value
= makeAny (aParameter
);
120 aPropSequence
[3].Name
= "RangeYMaximum";
121 EnhancedCustomShapeParameter aParameter
;
122 Any
aAny ((sal_Int32
) 2147483647);
123 aParameter
.Value
= aAny
;
124 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
125 aPropSequence
[3].Value
= makeAny (aParameter
);
128 aPropSequence
[4].Name
= "RangeYMinimum";
129 EnhancedCustomShapeParameter aParameter
;
130 Any
aAny ((sal_Int32
) -2147483647);
131 aParameter
.Value
= aAny
;
132 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
133 aPropSequence
[4].Value
= makeAny (aParameter
);
136 aPropSequence
[5].Name
= "RefX";
137 Any
aAny ((sal_Int32
) 1);
138 aPropSequence
[5].Value
= makeAny (aAny
);
141 aPropSequence
[6].Name
= "RefY";
142 Any
aAny ((sal_Int32
) 0);
143 aPropSequence
[6].Value
= makeAny (aAny
);
145 aPropSequenceSequence
[0] = aPropSequence
;
148 Sequence
< PropertyValue
> aPropSequence (7);
150 aPropSequence
[0].Name
= "Position";
151 static const CustomShapeProvider::ParameterPairData aData
=
153 EnhancedCustomShapeParameterType::EQUATION
,
154 EnhancedCustomShapeParameterType::EQUATION
,
157 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
160 aPropSequence
[1].Name
= "RangeXMaximum";
161 EnhancedCustomShapeParameter aParameter
;
162 Any
aAny ((sal_Int32
) 2147483647);
163 aParameter
.Value
= aAny
;
164 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
165 aPropSequence
[1].Value
= makeAny (aParameter
);
168 aPropSequence
[2].Name
= "RangeXMinimum";
169 EnhancedCustomShapeParameter aParameter
;
170 Any
aAny ((sal_Int32
) -2147483647);
171 aParameter
.Value
= aAny
;
172 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
173 aPropSequence
[2].Value
= makeAny (aParameter
);
176 aPropSequence
[3].Name
= "RangeYMaximum";
177 EnhancedCustomShapeParameter aParameter
;
178 Any
aAny ((sal_Int32
) 2147483647);
179 aParameter
.Value
= aAny
;
180 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
181 aPropSequence
[3].Value
= makeAny (aParameter
);
184 aPropSequence
[4].Name
= "RangeYMinimum";
185 EnhancedCustomShapeParameter aParameter
;
186 Any
aAny ((sal_Int32
) -2147483647);
187 aParameter
.Value
= aAny
;
188 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
189 aPropSequence
[4].Value
= makeAny (aParameter
);
192 aPropSequence
[5].Name
= "RefX";
193 Any
aAny ((sal_Int32
) 3);
194 aPropSequence
[5].Value
= makeAny (aAny
);
197 aPropSequence
[6].Name
= "RefY";
198 Any
aAny ((sal_Int32
) 2);
199 aPropSequence
[6].Value
= makeAny (aAny
);
201 aPropSequenceSequence
[1] = aPropSequence
;
204 Sequence
< PropertyValue
> aPropSequence (7);
206 aPropSequence
[0].Name
= "Position";
207 static const CustomShapeProvider::ParameterPairData aData
=
209 EnhancedCustomShapeParameterType::EQUATION
,
210 EnhancedCustomShapeParameterType::EQUATION
,
213 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
216 aPropSequence
[1].Name
= "RangeXMaximum";
217 EnhancedCustomShapeParameter aParameter
;
218 Any
aAny ((sal_Int32
) 2147483647);
219 aParameter
.Value
= aAny
;
220 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
221 aPropSequence
[1].Value
= makeAny (aParameter
);
224 aPropSequence
[2].Name
= "RangeXMinimum";
225 EnhancedCustomShapeParameter aParameter
;
226 Any
aAny ((sal_Int32
) -2147483647);
227 aParameter
.Value
= aAny
;
228 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
229 aPropSequence
[2].Value
= makeAny (aParameter
);
232 aPropSequence
[3].Name
= "RangeYMaximum";
233 EnhancedCustomShapeParameter aParameter
;
234 Any
aAny ((sal_Int32
) 2147483647);
235 aParameter
.Value
= aAny
;
236 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
237 aPropSequence
[3].Value
= makeAny (aParameter
);
240 aPropSequence
[4].Name
= "RangeYMinimum";
241 EnhancedCustomShapeParameter aParameter
;
242 Any
aAny ((sal_Int32
) -2147483647);
243 aParameter
.Value
= aAny
;
244 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
245 aPropSequence
[4].Value
= makeAny (aParameter
);
248 aPropSequence
[5].Name
= "RefX";
249 Any
aAny ((sal_Int32
) 5);
250 aPropSequence
[5].Value
= makeAny (aAny
);
253 aPropSequence
[6].Name
= "RefY";
254 Any
aAny ((sal_Int32
) 4);
255 aPropSequence
[6].Value
= makeAny (aAny
);
257 aPropSequenceSequence
[2] = aPropSequence
;
260 Sequence
< PropertyValue
> aPropSequence (7);
262 aPropSequence
[0].Name
= "Position";
263 static const CustomShapeProvider::ParameterPairData aData
=
265 EnhancedCustomShapeParameterType::EQUATION
,
266 EnhancedCustomShapeParameterType::EQUATION
,
269 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
272 aPropSequence
[1].Name
= "RangeXMaximum";
273 EnhancedCustomShapeParameter aParameter
;
274 Any
aAny ((sal_Int32
) 2147483647);
275 aParameter
.Value
= aAny
;
276 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
277 aPropSequence
[1].Value
= makeAny (aParameter
);
280 aPropSequence
[2].Name
= "RangeXMinimum";
281 EnhancedCustomShapeParameter aParameter
;
282 Any
aAny ((sal_Int32
) -2147483647);
283 aParameter
.Value
= aAny
;
284 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
285 aPropSequence
[2].Value
= makeAny (aParameter
);
288 aPropSequence
[3].Name
= "RangeYMaximum";
289 EnhancedCustomShapeParameter aParameter
;
290 Any
aAny ((sal_Int32
) 2147483647);
291 aParameter
.Value
= aAny
;
292 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
293 aPropSequence
[3].Value
= makeAny (aParameter
);
296 aPropSequence
[4].Name
= "RangeYMinimum";
297 EnhancedCustomShapeParameter aParameter
;
298 Any
aAny ((sal_Int32
) -2147483647);
299 aParameter
.Value
= aAny
;
300 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
301 aPropSequence
[4].Value
= makeAny (aParameter
);
304 aPropSequence
[5].Name
= "RefX";
305 Any
aAny ((sal_Int32
) 7);
306 aPropSequence
[5].Value
= makeAny (aAny
);
309 aPropSequence
[6].Name
= "RefY";
310 Any
aAny ((sal_Int32
) 6);
311 aPropSequence
[6].Value
= makeAny (aAny
);
313 aPropSequenceSequence
[3] = aPropSequence
;
315 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
318 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
321 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
324 Sequence
< PropertyValue
> aPropSequence (3);
326 aPropSequence
[0].Name
= "Coordinates";
327 static const CustomShapeProvider::ParameterPairData aData
[] = {
329 EnhancedCustomShapeParameterType::NORMAL
,
330 EnhancedCustomShapeParameterType::NORMAL
,
334 EnhancedCustomShapeParameterType::EQUATION
,
335 EnhancedCustomShapeParameterType::NORMAL
,
339 EnhancedCustomShapeParameterType::EQUATION
,
340 EnhancedCustomShapeParameterType::EQUATION
,
344 EnhancedCustomShapeParameterType::NORMAL
,
345 EnhancedCustomShapeParameterType::EQUATION
,
349 EnhancedCustomShapeParameterType::EQUATION
,
350 EnhancedCustomShapeParameterType::NORMAL
,
354 EnhancedCustomShapeParameterType::EQUATION
,
355 EnhancedCustomShapeParameterType::EQUATION
,
359 EnhancedCustomShapeParameterType::EQUATION
,
360 EnhancedCustomShapeParameterType::EQUATION
,
364 EnhancedCustomShapeParameterType::EQUATION
,
365 EnhancedCustomShapeParameterType::EQUATION
,
369 EnhancedCustomShapeParameterType::EQUATION
,
370 EnhancedCustomShapeParameterType::EQUATION
,
374 EnhancedCustomShapeParameterType::EQUATION
,
375 EnhancedCustomShapeParameterType::EQUATION
,
379 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
382 aPropSequence
[1].Name
= "Segments";
383 static const sal_uInt16 nValues
[] = {
399 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
402 aPropSequence
[2].Name
= "TextFrames";
403 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
405 EnhancedCustomShapeTextFrame aTextFrame
;
407 static const CustomShapeProvider::ParameterPairData aData
=
409 EnhancedCustomShapeParameterType::NORMAL
,
410 EnhancedCustomShapeParameterType::NORMAL
,
413 aTextFrame
.TopLeft
= createParameterPair(&aData
);
416 static const CustomShapeProvider::ParameterPairData aData
=
418 EnhancedCustomShapeParameterType::EQUATION
,
419 EnhancedCustomShapeParameterType::EQUATION
,
422 aTextFrame
.BottomRight
= createParameterPair(&aData
);
424 aTextFrameSeq
[0] = aTextFrame
;
426 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
428 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
431 awt::Rectangle aRectangle
;
434 aRectangle
.Width
= 0;
435 aRectangle
.Height
= 0;
436 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
438 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-accentCallout3");
443 class ShapeCleftCircularArrow
: public CustomShapeProvider
445 virtual PropertyMap
getProperties()
447 PropertyMap aPropertyMap
;
450 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (5);
452 Any
aAny ((sal_Int32
) 12500);
453 aAdjSequence
[0].Value
= aAny
;
454 aAdjSequence
[0].Name
= "adj1";
457 Any
aAny ((sal_Int32
) -1142319);
458 aAdjSequence
[1].Value
= aAny
;
459 aAdjSequence
[1].Name
= "adj2";
462 Any
aAny ((sal_Int32
) 1142319);
463 aAdjSequence
[2].Value
= aAny
;
464 aAdjSequence
[2].Name
= "adj3";
467 Any
aAny ((sal_Int32
) 10800000);
468 aAdjSequence
[3].Value
= aAny
;
469 aAdjSequence
[3].Name
= "adj4";
472 Any
aAny ((sal_Int32
) 12500);
473 aAdjSequence
[4].Value
= aAny
;
474 aAdjSequence
[4].Name
= "adj5";
476 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
479 static const char *aStrings
[] = {
480 "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))",
482 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
483 "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))",
484 "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))",
485 "min(logwidth,logheight)",
497 "?15 *sin(pi*(?3 )/10800000)",
498 "?16 *cos(pi*(?3 )/10800000)",
499 "?15 *(cos(atan2(?17 ,?18 )))",
500 "?16 *(sin(atan2(?17 ,?18 )))",
518 "(10800000*atan2(?37 ,1))/pi",
520 "if(?38 ,?38 ,?39 )",
523 "if(?41 ,?41 ,?42 )",
526 "if(?44 ,?45 ,?43 )",
531 "if(?48 -?50 ,?48 ,if(0-?50 ,?50 ,0))",
533 "?15 *sin(pi*(?52 )/10800000)",
534 "?16 *cos(pi*(?52 )/10800000)",
535 "?15 *(cos(atan2(?53 ,?54 )))",
536 "?16 *(sin(atan2(?53 ,?54 )))",
539 "?10 *sin(pi*(?4 )/10800000)",
540 "?12 *cos(pi*(?4 )/10800000)",
541 "?10 *(cos(atan2(?59 ,?60 )))",
542 "?12 *(sin(atan2(?59 ,?60 )))",
545 "?13 *sin(pi*(?4 )/10800000)",
546 "?14 *cos(pi*(?4 )/10800000)",
547 "?13 *(cos(atan2(?65 ,?66 )))",
548 "?14 *(sin(atan2(?65 ,?66 )))",
551 "?7 *cos(pi*(?52 )/10800000)",
552 "?7 *sin(pi*(?52 )/10800000)",
555 "?7 *cos(pi*(?52 )/10800000)",
556 "?7 *sin(pi*(?52 )/10800000)",
570 "sqrt(?88 *?88 +?89 *?89 +0*0)",
586 "(?105 +?104 )/?95 ",
592 "(?111 +?110 )/?95 ",
599 "sqrt(?115 *?115 +?117 *?117 +0*0)",
600 "sqrt(?116 *?116 +?118 *?118 +0*0)",
602 "if(?121 ,?106 ,?108 )",
603 "if(?121 ,?112 ,?114 )",
614 "sqrt(?132 *?132 +?133 *?133 +0*0)",
628 "(?147 +?146 )/?139 ",
634 "(?153 +?152 )/?139 ",
641 "sqrt(?157 *?157 +?159 *?159 +0*0)",
642 "sqrt(?158 *?158 +?160 *?160 +0*0)",
644 "if(?163 ,?148 ,?150 )",
645 "if(?163 ,?154 ,?156 )",
650 "(10800000*atan2(?167 ,?166 ))/pi",
652 "if(?170 ,?170 ,?171 )",
655 "if(?173 ,?173 ,?174 )",
660 "sqrt(?178 *?178 +?179 *?179 +0*0)",
663 "if(?182 ,?126 ,?73 )",
664 "if(?182 ,?127 ,?74 )",
665 "if(?182 ,?168 ,?77 )",
666 "if(?182 ,?169 ,?78 )",
667 "(10800000*atan2(?125 ,?124 ))/pi",
669 "if(?187 ,?187 ,?188 )",
672 "if(?190 ,?191 ,?190 )",
675 "?15 *sin(pi*(?4 )/10800000)",
676 "?16 *cos(pi*(?4 )/10800000)",
677 "?15 *(cos(atan2(?195 ,?196 )))",
678 "?16 *(sin(atan2(?195 ,?196 )))",
684 "?10 *cos(pi*(2700000)/10800000)",
685 "?12 *sin(pi*(2700000)/10800000)",
695 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
698 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (4);
700 Sequence
< PropertyValue
> aPropSequence (1);
702 aPropSequence
[0].Name
= "Position";
703 static const CustomShapeProvider::ParameterPairData aData
=
705 EnhancedCustomShapeParameterType::EQUATION
,
706 EnhancedCustomShapeParameterType::EQUATION
,
709 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
711 aPropSequenceSequence
[0] = aPropSequence
;
714 Sequence
< PropertyValue
> aPropSequence (1);
716 aPropSequence
[0].Name
= "Position";
717 static const CustomShapeProvider::ParameterPairData aData
=
719 EnhancedCustomShapeParameterType::EQUATION
,
720 EnhancedCustomShapeParameterType::EQUATION
,
723 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
725 aPropSequenceSequence
[1] = aPropSequence
;
728 Sequence
< PropertyValue
> aPropSequence (3);
730 aPropSequence
[0].Name
= "Position";
731 static const CustomShapeProvider::ParameterPairData aData
=
733 EnhancedCustomShapeParameterType::EQUATION
,
734 EnhancedCustomShapeParameterType::EQUATION
,
737 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
740 aPropSequence
[1].Name
= "RadiusRangeMaximum";
741 EnhancedCustomShapeParameter aParameter
;
742 Any
aAny ((sal_Int32
) 1);
743 aParameter
.Value
= aAny
;
744 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
745 aPropSequence
[1].Value
= makeAny (aParameter
);
748 aPropSequence
[2].Name
= "RadiusRangeMinimum";
749 EnhancedCustomShapeParameter aParameter
;
750 Any
aAny ((sal_Int32
) 0);
751 aParameter
.Value
= aAny
;
752 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
753 aPropSequence
[2].Value
= makeAny (aParameter
);
755 aPropSequenceSequence
[2] = aPropSequence
;
758 Sequence
< PropertyValue
> aPropSequence (3);
760 aPropSequence
[0].Name
= "Position";
761 static const CustomShapeProvider::ParameterPairData aData
=
763 EnhancedCustomShapeParameterType::EQUATION
,
764 EnhancedCustomShapeParameterType::EQUATION
,
767 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
770 aPropSequence
[1].Name
= "RadiusRangeMaximum";
771 EnhancedCustomShapeParameter aParameter
;
772 Any
aAny ((sal_Int32
) 25000);
773 aParameter
.Value
= aAny
;
774 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
775 aPropSequence
[1].Value
= makeAny (aParameter
);
778 aPropSequence
[2].Name
= "RadiusRangeMinimum";
779 EnhancedCustomShapeParameter aParameter
;
780 Any
aAny ((sal_Int32
) 0);
781 aParameter
.Value
= aAny
;
782 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
783 aPropSequence
[2].Value
= makeAny (aParameter
);
785 aPropSequenceSequence
[3] = aPropSequence
;
787 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
790 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
793 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
796 Sequence
< PropertyValue
> aPropSequence (3);
798 aPropSequence
[0].Name
= "Coordinates";
799 static const CustomShapeProvider::ParameterPairData aData
[] = {
801 EnhancedCustomShapeParameterType::EQUATION
,
802 EnhancedCustomShapeParameterType::EQUATION
,
806 EnhancedCustomShapeParameterType::EQUATION
,
807 EnhancedCustomShapeParameterType::EQUATION
,
811 EnhancedCustomShapeParameterType::EQUATION
,
812 EnhancedCustomShapeParameterType::EQUATION
,
816 EnhancedCustomShapeParameterType::EQUATION
,
817 EnhancedCustomShapeParameterType::EQUATION
,
821 EnhancedCustomShapeParameterType::EQUATION
,
822 EnhancedCustomShapeParameterType::EQUATION
,
826 EnhancedCustomShapeParameterType::EQUATION
,
827 EnhancedCustomShapeParameterType::EQUATION
,
831 EnhancedCustomShapeParameterType::EQUATION
,
832 EnhancedCustomShapeParameterType::EQUATION
,
836 EnhancedCustomShapeParameterType::EQUATION
,
837 EnhancedCustomShapeParameterType::EQUATION
,
841 EnhancedCustomShapeParameterType::EQUATION
,
842 EnhancedCustomShapeParameterType::EQUATION
,
846 EnhancedCustomShapeParameterType::EQUATION
,
847 EnhancedCustomShapeParameterType::EQUATION
,
851 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
854 aPropSequence
[1].Name
= "Segments";
855 static const sal_uInt16 nValues
[] = {
865 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
868 aPropSequence
[2].Name
= "TextFrames";
869 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
871 EnhancedCustomShapeTextFrame aTextFrame
;
873 static const CustomShapeProvider::ParameterPairData aData
=
875 EnhancedCustomShapeParameterType::EQUATION
,
876 EnhancedCustomShapeParameterType::EQUATION
,
879 aTextFrame
.TopLeft
= createParameterPair(&aData
);
882 static const CustomShapeProvider::ParameterPairData aData
=
884 EnhancedCustomShapeParameterType::EQUATION
,
885 EnhancedCustomShapeParameterType::EQUATION
,
888 aTextFrame
.BottomRight
= createParameterPair(&aData
);
890 aTextFrameSeq
[0] = aTextFrame
;
892 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
894 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
897 awt::Rectangle aRectangle
;
900 aRectangle
.Width
= 0;
901 aRectangle
.Height
= 0;
902 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
904 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-leftCircularArrow");
909 class ShapeCrightArrow
: public CustomShapeProvider
911 virtual PropertyMap
getProperties()
913 PropertyMap aPropertyMap
;
916 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
918 Any
aAny ((sal_Int32
) 50000);
919 aAdjSequence
[0].Value
= aAny
;
920 aAdjSequence
[0].Name
= "adj1";
923 Any
aAny ((sal_Int32
) 50000);
924 aAdjSequence
[1].Value
= aAny
;
925 aAdjSequence
[1].Name
= "adj2";
927 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
930 static const char *aStrings
[] = {
931 "min(logwidth,logheight)",
932 "100000*logwidth/?0 ",
933 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
934 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
937 "logheight*?2 /200000",
947 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
950 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (2);
952 Sequence
< PropertyValue
> aPropSequence (4);
954 aPropSequence
[0].Name
= "Position";
955 static const CustomShapeProvider::ParameterPairData aData
=
957 EnhancedCustomShapeParameterType::NORMAL
,
958 EnhancedCustomShapeParameterType::EQUATION
,
961 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
964 aPropSequence
[1].Name
= "RangeYMaximum";
965 EnhancedCustomShapeParameter aParameter
;
966 Any
aAny ((sal_Int32
) 100000);
967 aParameter
.Value
= aAny
;
968 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
969 aPropSequence
[1].Value
= makeAny (aParameter
);
972 aPropSequence
[2].Name
= "RangeYMinimum";
973 EnhancedCustomShapeParameter aParameter
;
974 Any
aAny ((sal_Int32
) 0);
975 aParameter
.Value
= aAny
;
976 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
977 aPropSequence
[2].Value
= makeAny (aParameter
);
980 aPropSequence
[3].Name
= "RefY";
981 Any
aAny ((sal_Int32
) 0);
982 aPropSequence
[3].Value
= makeAny (aAny
);
984 aPropSequenceSequence
[0] = aPropSequence
;
987 Sequence
< PropertyValue
> aPropSequence (4);
989 aPropSequence
[0].Name
= "Position";
990 static const CustomShapeProvider::ParameterPairData aData
=
992 EnhancedCustomShapeParameterType::EQUATION
,
993 EnhancedCustomShapeParameterType::NORMAL
,
996 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
999 aPropSequence
[1].Name
= "RangeXMaximum";
1000 EnhancedCustomShapeParameter aParameter
;
1001 Any
aAny ((sal_Int32
) 1);
1002 aParameter
.Value
= aAny
;
1003 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
1004 aPropSequence
[1].Value
= makeAny (aParameter
);
1007 aPropSequence
[2].Name
= "RangeXMinimum";
1008 EnhancedCustomShapeParameter aParameter
;
1009 Any
aAny ((sal_Int32
) 0);
1010 aParameter
.Value
= aAny
;
1011 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1012 aPropSequence
[2].Value
= makeAny (aParameter
);
1015 aPropSequence
[3].Name
= "RefX";
1016 Any
aAny ((sal_Int32
) 1);
1017 aPropSequence
[3].Value
= makeAny (aAny
);
1019 aPropSequenceSequence
[1] = aPropSequence
;
1021 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
1024 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
1027 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
1030 Sequence
< PropertyValue
> aPropSequence (3);
1032 aPropSequence
[0].Name
= "Coordinates";
1033 static const CustomShapeProvider::ParameterPairData aData
[] = {
1035 EnhancedCustomShapeParameterType::NORMAL
,
1036 EnhancedCustomShapeParameterType::EQUATION
,
1040 EnhancedCustomShapeParameterType::EQUATION
,
1041 EnhancedCustomShapeParameterType::EQUATION
,
1045 EnhancedCustomShapeParameterType::EQUATION
,
1046 EnhancedCustomShapeParameterType::NORMAL
,
1050 EnhancedCustomShapeParameterType::EQUATION
,
1051 EnhancedCustomShapeParameterType::EQUATION
,
1055 EnhancedCustomShapeParameterType::EQUATION
,
1056 EnhancedCustomShapeParameterType::EQUATION
,
1060 EnhancedCustomShapeParameterType::EQUATION
,
1061 EnhancedCustomShapeParameterType::EQUATION
,
1065 EnhancedCustomShapeParameterType::NORMAL
,
1066 EnhancedCustomShapeParameterType::EQUATION
,
1070 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1073 aPropSequence
[1].Name
= "Segments";
1074 static const sal_uInt16 nValues
[] = {
1081 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
1084 aPropSequence
[2].Name
= "TextFrames";
1085 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
1087 EnhancedCustomShapeTextFrame aTextFrame
;
1089 static const CustomShapeProvider::ParameterPairData aData
=
1091 EnhancedCustomShapeParameterType::NORMAL
,
1092 EnhancedCustomShapeParameterType::EQUATION
,
1095 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1098 static const CustomShapeProvider::ParameterPairData aData
=
1100 EnhancedCustomShapeParameterType::EQUATION
,
1101 EnhancedCustomShapeParameterType::EQUATION
,
1104 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1106 aTextFrameSeq
[0] = aTextFrame
;
1108 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1110 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1113 awt::Rectangle aRectangle
;
1116 aRectangle
.Width
= 0;
1117 aRectangle
.Height
= 0;
1118 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
1120 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-rightArrow");
1122 return aPropertyMap
;
1125 class ShapeCflowChartPunchedCard
: public CustomShapeProvider
1127 virtual PropertyMap
getProperties()
1129 PropertyMap aPropertyMap
;
1132 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
1135 static const char *aStrings
[] = {
1142 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
1145 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
1148 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
1151 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
1154 Sequence
< PropertyValue
> aPropSequence (4);
1156 aPropSequence
[0].Name
= "Coordinates";
1157 static const CustomShapeProvider::ParameterPairData aData
[] = {
1159 EnhancedCustomShapeParameterType::NORMAL
,
1160 EnhancedCustomShapeParameterType::NORMAL
,
1164 EnhancedCustomShapeParameterType::NORMAL
,
1165 EnhancedCustomShapeParameterType::NORMAL
,
1169 EnhancedCustomShapeParameterType::NORMAL
,
1170 EnhancedCustomShapeParameterType::NORMAL
,
1174 EnhancedCustomShapeParameterType::NORMAL
,
1175 EnhancedCustomShapeParameterType::NORMAL
,
1179 EnhancedCustomShapeParameterType::NORMAL
,
1180 EnhancedCustomShapeParameterType::NORMAL
,
1184 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1187 aPropSequence
[1].Name
= "Segments";
1188 static const sal_uInt16 nValues
[] = {
1195 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
1198 aPropSequence
[2].Name
= "SubViewSize";
1199 Sequence
< awt::Size
> aSizeSequence (1);
1204 aSizeSequence
[0] = aSize
;
1206 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
1209 aPropSequence
[3].Name
= "TextFrames";
1210 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
1212 EnhancedCustomShapeTextFrame aTextFrame
;
1214 static const CustomShapeProvider::ParameterPairData aData
=
1216 EnhancedCustomShapeParameterType::NORMAL
,
1217 EnhancedCustomShapeParameterType::EQUATION
,
1220 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1223 static const CustomShapeProvider::ParameterPairData aData
=
1225 EnhancedCustomShapeParameterType::EQUATION
,
1226 EnhancedCustomShapeParameterType::EQUATION
,
1229 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1231 aTextFrameSeq
[0] = aTextFrame
;
1233 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
1235 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1238 awt::Rectangle aRectangle
;
1241 aRectangle
.Width
= 0;
1242 aRectangle
.Height
= 0;
1243 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
1245 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartPunchedCard");
1247 return aPropertyMap
;
1250 class ShapeCsnip2DiagRect
: public CustomShapeProvider
1252 virtual PropertyMap
getProperties()
1254 PropertyMap aPropertyMap
;
1257 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
1259 Any
aAny ((sal_Int32
) 0);
1260 aAdjSequence
[0].Value
= aAny
;
1261 aAdjSequence
[0].Name
= "adj1";
1264 Any
aAny ((sal_Int32
) 16667);
1265 aAdjSequence
[1].Value
= aAny
;
1266 aAdjSequence
[1].Name
= "adj2";
1268 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
1271 static const char *aStrings
[] = {
1272 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1273 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
1274 "min(logwidth,logheight)",
1291 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
1294 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (2);
1296 Sequence
< PropertyValue
> aPropSequence (4);
1298 aPropSequence
[0].Name
= "Position";
1299 static const CustomShapeProvider::ParameterPairData aData
=
1301 EnhancedCustomShapeParameterType::EQUATION
,
1302 EnhancedCustomShapeParameterType::NORMAL
,
1305 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
1308 aPropSequence
[1].Name
= "RangeXMaximum";
1309 EnhancedCustomShapeParameter aParameter
;
1310 Any
aAny ((sal_Int32
) 50000);
1311 aParameter
.Value
= aAny
;
1312 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1313 aPropSequence
[1].Value
= makeAny (aParameter
);
1316 aPropSequence
[2].Name
= "RangeXMinimum";
1317 EnhancedCustomShapeParameter aParameter
;
1318 Any
aAny ((sal_Int32
) 0);
1319 aParameter
.Value
= aAny
;
1320 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1321 aPropSequence
[2].Value
= makeAny (aParameter
);
1324 aPropSequence
[3].Name
= "RefX";
1325 Any
aAny ((sal_Int32
) 0);
1326 aPropSequence
[3].Value
= makeAny (aAny
);
1328 aPropSequenceSequence
[0] = aPropSequence
;
1331 Sequence
< PropertyValue
> aPropSequence (4);
1333 aPropSequence
[0].Name
= "Position";
1334 static const CustomShapeProvider::ParameterPairData aData
=
1336 EnhancedCustomShapeParameterType::EQUATION
,
1337 EnhancedCustomShapeParameterType::NORMAL
,
1340 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
1343 aPropSequence
[1].Name
= "RangeXMaximum";
1344 EnhancedCustomShapeParameter aParameter
;
1345 Any
aAny ((sal_Int32
) 50000);
1346 aParameter
.Value
= aAny
;
1347 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1348 aPropSequence
[1].Value
= makeAny (aParameter
);
1351 aPropSequence
[2].Name
= "RangeXMinimum";
1352 EnhancedCustomShapeParameter aParameter
;
1353 Any
aAny ((sal_Int32
) 0);
1354 aParameter
.Value
= aAny
;
1355 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1356 aPropSequence
[2].Value
= makeAny (aParameter
);
1359 aPropSequence
[3].Name
= "RefX";
1360 Any
aAny ((sal_Int32
) 1);
1361 aPropSequence
[3].Value
= makeAny (aAny
);
1363 aPropSequenceSequence
[1] = aPropSequence
;
1365 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
1368 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
1371 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
1374 Sequence
< PropertyValue
> aPropSequence (3);
1376 aPropSequence
[0].Name
= "Coordinates";
1377 static const CustomShapeProvider::ParameterPairData aData
[] = {
1379 EnhancedCustomShapeParameterType::EQUATION
,
1380 EnhancedCustomShapeParameterType::NORMAL
,
1384 EnhancedCustomShapeParameterType::EQUATION
,
1385 EnhancedCustomShapeParameterType::NORMAL
,
1389 EnhancedCustomShapeParameterType::EQUATION
,
1390 EnhancedCustomShapeParameterType::EQUATION
,
1394 EnhancedCustomShapeParameterType::EQUATION
,
1395 EnhancedCustomShapeParameterType::EQUATION
,
1399 EnhancedCustomShapeParameterType::EQUATION
,
1400 EnhancedCustomShapeParameterType::EQUATION
,
1404 EnhancedCustomShapeParameterType::EQUATION
,
1405 EnhancedCustomShapeParameterType::EQUATION
,
1409 EnhancedCustomShapeParameterType::NORMAL
,
1410 EnhancedCustomShapeParameterType::EQUATION
,
1414 EnhancedCustomShapeParameterType::NORMAL
,
1415 EnhancedCustomShapeParameterType::EQUATION
,
1419 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1422 aPropSequence
[1].Name
= "Segments";
1423 static const sal_uInt16 nValues
[] = {
1430 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
1433 aPropSequence
[2].Name
= "TextFrames";
1434 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
1436 EnhancedCustomShapeTextFrame aTextFrame
;
1438 static const CustomShapeProvider::ParameterPairData aData
=
1440 EnhancedCustomShapeParameterType::EQUATION
,
1441 EnhancedCustomShapeParameterType::EQUATION
,
1444 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1447 static const CustomShapeProvider::ParameterPairData aData
=
1449 EnhancedCustomShapeParameterType::EQUATION
,
1450 EnhancedCustomShapeParameterType::EQUATION
,
1453 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1455 aTextFrameSeq
[0] = aTextFrame
;
1457 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1459 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1462 awt::Rectangle aRectangle
;
1465 aRectangle
.Width
= 0;
1466 aRectangle
.Height
= 0;
1467 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
1469 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-snip2DiagRect");
1471 return aPropertyMap
;
1474 class ShapeCverticalScroll
: public CustomShapeProvider
1476 virtual PropertyMap
getProperties()
1478 PropertyMap aPropertyMap
;
1481 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (1);
1483 Any
aAny ((sal_Int32
) 12500);
1484 aAdjSequence
[0].Value
= aAny
;
1485 aAdjSequence
[0].Name
= "adj";
1487 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
1490 static const char *aStrings
[] = {
1491 "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))",
1492 "min(logwidth,logheight)",
1506 "(5400000)/60000.0",
1507 "(-5400000)/60000.0",
1508 "(5400000)/60000.0",
1509 "(-10800000)/60000.0",
1510 "(10800000)/60000.0",
1511 "(5400000)/60000.0",
1512 "(16200000)/60000.0",
1513 "(10800000)/60000.0",
1515 "(5400000)/60000.0",
1517 "(5400000)/60000.0",
1518 "(5400000)/60000.0",
1519 "(10800000)/60000.0",
1521 "(5400000)/60000.0",
1522 "(5400000)/60000.0",
1523 "(10800000)/60000.0",
1525 "(16200000)/60000.0",
1526 "(16200000)/60000.0",
1527 "(10800000)/60000.0",
1528 "(10800000)/60000.0",
1529 "(5400000)/60000.0",
1530 "(16200000)/60000.0",
1531 "(10800000)/60000.0",
1533 "(5400000)/60000.0",
1534 "(5400000)/60000.0",
1535 "(10800000)/60000.0",
1536 "(16200000)/60000.0",
1537 "(10800000)/60000.0",
1538 "(5400000)/60000.0",
1539 "(10800000)/60000.0",
1540 "(16200000)/60000.0",
1541 "(10800000)/60000.0",
1542 "(5400000)/60000.0",
1543 "(-5400000)/60000.0"
1545 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
1548 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
1550 Sequence
< PropertyValue
> aPropSequence (4);
1552 aPropSequence
[0].Name
= "Position";
1553 static const CustomShapeProvider::ParameterPairData aData
=
1555 EnhancedCustomShapeParameterType::NORMAL
,
1556 EnhancedCustomShapeParameterType::EQUATION
,
1559 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
1562 aPropSequence
[1].Name
= "RangeYMaximum";
1563 EnhancedCustomShapeParameter aParameter
;
1564 Any
aAny ((sal_Int32
) 25000);
1565 aParameter
.Value
= aAny
;
1566 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1567 aPropSequence
[1].Value
= makeAny (aParameter
);
1570 aPropSequence
[2].Name
= "RangeYMinimum";
1571 EnhancedCustomShapeParameter aParameter
;
1572 Any
aAny ((sal_Int32
) 0);
1573 aParameter
.Value
= aAny
;
1574 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
1575 aPropSequence
[2].Value
= makeAny (aParameter
);
1578 aPropSequence
[3].Name
= "RefY";
1579 Any
aAny ((sal_Int32
) 0);
1580 aPropSequence
[3].Value
= makeAny (aAny
);
1582 aPropSequenceSequence
[0] = aPropSequence
;
1584 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
1587 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
1590 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
1593 Sequence
< PropertyValue
> aPropSequence (3);
1595 aPropSequence
[0].Name
= "Coordinates";
1596 static const CustomShapeProvider::ParameterPairData aData
[] = {
1598 EnhancedCustomShapeParameterType::EQUATION
,
1599 EnhancedCustomShapeParameterType::EQUATION
,
1603 EnhancedCustomShapeParameterType::EQUATION
,
1604 EnhancedCustomShapeParameterType::EQUATION
,
1608 EnhancedCustomShapeParameterType::EQUATION
,
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::NORMAL
,
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 EnhancedCustomShapeParameterType::EQUATION
,
1684 EnhancedCustomShapeParameterType::EQUATION
,
1688 EnhancedCustomShapeParameterType::EQUATION
,
1689 EnhancedCustomShapeParameterType::EQUATION
,
1693 EnhancedCustomShapeParameterType::EQUATION
,
1694 EnhancedCustomShapeParameterType::EQUATION
,
1698 EnhancedCustomShapeParameterType::EQUATION
,
1699 EnhancedCustomShapeParameterType::EQUATION
,
1703 EnhancedCustomShapeParameterType::EQUATION
,
1704 EnhancedCustomShapeParameterType::EQUATION
,
1708 EnhancedCustomShapeParameterType::EQUATION
,
1709 EnhancedCustomShapeParameterType::EQUATION
,
1713 EnhancedCustomShapeParameterType::EQUATION
,
1714 EnhancedCustomShapeParameterType::EQUATION
,
1718 EnhancedCustomShapeParameterType::EQUATION
,
1719 EnhancedCustomShapeParameterType::EQUATION
,
1723 EnhancedCustomShapeParameterType::EQUATION
,
1724 EnhancedCustomShapeParameterType::EQUATION
,
1728 EnhancedCustomShapeParameterType::EQUATION
,
1729 EnhancedCustomShapeParameterType::EQUATION
,
1733 EnhancedCustomShapeParameterType::EQUATION
,
1734 EnhancedCustomShapeParameterType::EQUATION
,
1738 EnhancedCustomShapeParameterType::EQUATION
,
1739 EnhancedCustomShapeParameterType::EQUATION
,
1743 EnhancedCustomShapeParameterType::EQUATION
,
1744 EnhancedCustomShapeParameterType::EQUATION
,
1748 EnhancedCustomShapeParameterType::EQUATION
,
1749 EnhancedCustomShapeParameterType::EQUATION
,
1753 EnhancedCustomShapeParameterType::EQUATION
,
1754 EnhancedCustomShapeParameterType::EQUATION
,
1758 EnhancedCustomShapeParameterType::EQUATION
,
1759 EnhancedCustomShapeParameterType::EQUATION
,
1763 EnhancedCustomShapeParameterType::EQUATION
,
1764 EnhancedCustomShapeParameterType::EQUATION
,
1768 EnhancedCustomShapeParameterType::EQUATION
,
1769 EnhancedCustomShapeParameterType::EQUATION
,
1773 EnhancedCustomShapeParameterType::EQUATION
,
1774 EnhancedCustomShapeParameterType::EQUATION
,
1778 EnhancedCustomShapeParameterType::EQUATION
,
1779 EnhancedCustomShapeParameterType::NORMAL
,
1783 EnhancedCustomShapeParameterType::EQUATION
,
1784 EnhancedCustomShapeParameterType::EQUATION
,
1788 EnhancedCustomShapeParameterType::EQUATION
,
1789 EnhancedCustomShapeParameterType::EQUATION
,
1793 EnhancedCustomShapeParameterType::EQUATION
,
1794 EnhancedCustomShapeParameterType::EQUATION
,
1798 EnhancedCustomShapeParameterType::EQUATION
,
1799 EnhancedCustomShapeParameterType::EQUATION
,
1803 EnhancedCustomShapeParameterType::EQUATION
,
1804 EnhancedCustomShapeParameterType::EQUATION
,
1808 EnhancedCustomShapeParameterType::EQUATION
,
1809 EnhancedCustomShapeParameterType::EQUATION
,
1813 EnhancedCustomShapeParameterType::EQUATION
,
1814 EnhancedCustomShapeParameterType::EQUATION
,
1818 EnhancedCustomShapeParameterType::EQUATION
,
1819 EnhancedCustomShapeParameterType::EQUATION
,
1823 EnhancedCustomShapeParameterType::EQUATION
,
1824 EnhancedCustomShapeParameterType::EQUATION
,
1828 EnhancedCustomShapeParameterType::EQUATION
,
1829 EnhancedCustomShapeParameterType::NORMAL
,
1833 EnhancedCustomShapeParameterType::EQUATION
,
1834 EnhancedCustomShapeParameterType::EQUATION
,
1838 EnhancedCustomShapeParameterType::EQUATION
,
1839 EnhancedCustomShapeParameterType::EQUATION
,
1843 EnhancedCustomShapeParameterType::EQUATION
,
1844 EnhancedCustomShapeParameterType::EQUATION
,
1848 EnhancedCustomShapeParameterType::EQUATION
,
1849 EnhancedCustomShapeParameterType::EQUATION
,
1853 EnhancedCustomShapeParameterType::EQUATION
,
1854 EnhancedCustomShapeParameterType::EQUATION
,
1858 EnhancedCustomShapeParameterType::EQUATION
,
1859 EnhancedCustomShapeParameterType::EQUATION
,
1863 EnhancedCustomShapeParameterType::EQUATION
,
1864 EnhancedCustomShapeParameterType::EQUATION
,
1868 EnhancedCustomShapeParameterType::EQUATION
,
1869 EnhancedCustomShapeParameterType::EQUATION
,
1873 EnhancedCustomShapeParameterType::EQUATION
,
1874 EnhancedCustomShapeParameterType::EQUATION
,
1878 EnhancedCustomShapeParameterType::EQUATION
,
1879 EnhancedCustomShapeParameterType::EQUATION
,
1883 EnhancedCustomShapeParameterType::EQUATION
,
1884 EnhancedCustomShapeParameterType::EQUATION
,
1888 EnhancedCustomShapeParameterType::EQUATION
,
1889 EnhancedCustomShapeParameterType::EQUATION
,
1893 EnhancedCustomShapeParameterType::EQUATION
,
1894 EnhancedCustomShapeParameterType::EQUATION
,
1898 EnhancedCustomShapeParameterType::EQUATION
,
1899 EnhancedCustomShapeParameterType::EQUATION
,
1903 EnhancedCustomShapeParameterType::EQUATION
,
1904 EnhancedCustomShapeParameterType::EQUATION
,
1908 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
1911 aPropSequence
[1].Name
= "Segments";
1912 static const sal_uInt16 nValues
[] = {
1963 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
1966 aPropSequence
[2].Name
= "TextFrames";
1967 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
1969 EnhancedCustomShapeTextFrame aTextFrame
;
1971 static const CustomShapeProvider::ParameterPairData aData
=
1973 EnhancedCustomShapeParameterType::EQUATION
,
1974 EnhancedCustomShapeParameterType::EQUATION
,
1977 aTextFrame
.TopLeft
= createParameterPair(&aData
);
1980 static const CustomShapeProvider::ParameterPairData aData
=
1982 EnhancedCustomShapeParameterType::EQUATION
,
1983 EnhancedCustomShapeParameterType::EQUATION
,
1986 aTextFrame
.BottomRight
= createParameterPair(&aData
);
1988 aTextFrameSeq
[0] = aTextFrame
;
1990 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
1992 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
1995 awt::Rectangle aRectangle
;
1998 aRectangle
.Width
= 0;
1999 aRectangle
.Height
= 0;
2000 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
2002 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-verticalScroll");
2004 return aPropertyMap
;
2007 class ShapeCstar7
: public CustomShapeProvider
2009 virtual PropertyMap
getProperties()
2011 PropertyMap aPropertyMap
;
2014 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (3);
2016 Any
aAny ((sal_Int32
) 34601);
2017 aAdjSequence
[0].Value
= aAny
;
2018 aAdjSequence
[0].Name
= "adj";
2021 Any
aAny ((sal_Int32
) 102572);
2022 aAdjSequence
[1].Value
= aAny
;
2023 aAdjSequence
[1].Name
= "hf";
2026 Any
aAny ((sal_Int32
) 105210);
2027 aAdjSequence
[2].Value
= aAny
;
2028 aAdjSequence
[2].Name
= "vf";
2030 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
2033 static const char *aStrings
[] = {
2034 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
2059 "?23 *97493/100000",
2060 "?23 *78183/100000",
2061 "?23 *43388/100000",
2068 "?24 *90097/100000",
2069 "?24 *22252/100000",
2070 "?24 *62349/100000",
2077 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
2080 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
2082 Sequence
< PropertyValue
> aPropSequence (4);
2084 aPropSequence
[0].Name
= "Position";
2085 static const CustomShapeProvider::ParameterPairData aData
=
2087 EnhancedCustomShapeParameterType::EQUATION
,
2088 EnhancedCustomShapeParameterType::EQUATION
,
2091 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
2094 aPropSequence
[1].Name
= "RangeYMaximum";
2095 EnhancedCustomShapeParameter aParameter
;
2096 Any
aAny ((sal_Int32
) 50000);
2097 aParameter
.Value
= aAny
;
2098 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
2099 aPropSequence
[1].Value
= makeAny (aParameter
);
2102 aPropSequence
[2].Name
= "RangeYMinimum";
2103 EnhancedCustomShapeParameter aParameter
;
2104 Any
aAny ((sal_Int32
) 0);
2105 aParameter
.Value
= aAny
;
2106 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
2107 aPropSequence
[2].Value
= makeAny (aParameter
);
2110 aPropSequence
[3].Name
= "RefY";
2111 Any
aAny ((sal_Int32
) 0);
2112 aPropSequence
[3].Value
= makeAny (aAny
);
2114 aPropSequenceSequence
[0] = aPropSequence
;
2116 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
2119 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
2122 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
2125 Sequence
< PropertyValue
> aPropSequence (3);
2127 aPropSequence
[0].Name
= "Coordinates";
2128 static const CustomShapeProvider::ParameterPairData aData
[] = {
2130 EnhancedCustomShapeParameterType::EQUATION
,
2131 EnhancedCustomShapeParameterType::EQUATION
,
2135 EnhancedCustomShapeParameterType::EQUATION
,
2136 EnhancedCustomShapeParameterType::EQUATION
,
2140 EnhancedCustomShapeParameterType::EQUATION
,
2141 EnhancedCustomShapeParameterType::EQUATION
,
2145 EnhancedCustomShapeParameterType::EQUATION
,
2146 EnhancedCustomShapeParameterType::EQUATION
,
2150 EnhancedCustomShapeParameterType::EQUATION
,
2151 EnhancedCustomShapeParameterType::NORMAL
,
2155 EnhancedCustomShapeParameterType::EQUATION
,
2156 EnhancedCustomShapeParameterType::EQUATION
,
2160 EnhancedCustomShapeParameterType::EQUATION
,
2161 EnhancedCustomShapeParameterType::EQUATION
,
2165 EnhancedCustomShapeParameterType::EQUATION
,
2166 EnhancedCustomShapeParameterType::EQUATION
,
2170 EnhancedCustomShapeParameterType::EQUATION
,
2171 EnhancedCustomShapeParameterType::EQUATION
,
2175 EnhancedCustomShapeParameterType::EQUATION
,
2176 EnhancedCustomShapeParameterType::EQUATION
,
2180 EnhancedCustomShapeParameterType::EQUATION
,
2181 EnhancedCustomShapeParameterType::EQUATION
,
2185 EnhancedCustomShapeParameterType::EQUATION
,
2186 EnhancedCustomShapeParameterType::EQUATION
,
2190 EnhancedCustomShapeParameterType::EQUATION
,
2191 EnhancedCustomShapeParameterType::EQUATION
,
2195 EnhancedCustomShapeParameterType::EQUATION
,
2196 EnhancedCustomShapeParameterType::EQUATION
,
2200 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
2203 aPropSequence
[1].Name
= "Segments";
2204 static const sal_uInt16 nValues
[] = {
2211 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
2214 aPropSequence
[2].Name
= "TextFrames";
2215 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
2217 EnhancedCustomShapeTextFrame aTextFrame
;
2219 static const CustomShapeProvider::ParameterPairData aData
=
2221 EnhancedCustomShapeParameterType::EQUATION
,
2222 EnhancedCustomShapeParameterType::EQUATION
,
2225 aTextFrame
.TopLeft
= createParameterPair(&aData
);
2228 static const CustomShapeProvider::ParameterPairData aData
=
2230 EnhancedCustomShapeParameterType::EQUATION
,
2231 EnhancedCustomShapeParameterType::EQUATION
,
2234 aTextFrame
.BottomRight
= createParameterPair(&aData
);
2236 aTextFrameSeq
[0] = aTextFrame
;
2238 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
2240 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
2243 awt::Rectangle aRectangle
;
2246 aRectangle
.Width
= 0;
2247 aRectangle
.Height
= 0;
2248 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
2250 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-star7");
2252 return aPropertyMap
;
2255 class ShapeCchartX
: public CustomShapeProvider
2257 virtual PropertyMap
getProperties()
2259 PropertyMap aPropertyMap
;
2262 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
2265 aPropertyMap
[PROP_Equations
] <<= Sequence
< OUString
>(0);
2268 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
2271 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
2274 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
2277 Sequence
< PropertyValue
> aPropSequence (3);
2279 aPropSequence
[0].Name
= "Coordinates";
2280 static const CustomShapeProvider::ParameterPairData aData
[] = {
2282 EnhancedCustomShapeParameterType::NORMAL
,
2283 EnhancedCustomShapeParameterType::NORMAL
,
2287 EnhancedCustomShapeParameterType::NORMAL
,
2288 EnhancedCustomShapeParameterType::NORMAL
,
2292 EnhancedCustomShapeParameterType::NORMAL
,
2293 EnhancedCustomShapeParameterType::NORMAL
,
2297 EnhancedCustomShapeParameterType::NORMAL
,
2298 EnhancedCustomShapeParameterType::NORMAL
,
2302 EnhancedCustomShapeParameterType::NORMAL
,
2303 EnhancedCustomShapeParameterType::NORMAL
,
2307 EnhancedCustomShapeParameterType::NORMAL
,
2308 EnhancedCustomShapeParameterType::NORMAL
,
2312 EnhancedCustomShapeParameterType::NORMAL
,
2313 EnhancedCustomShapeParameterType::NORMAL
,
2317 EnhancedCustomShapeParameterType::NORMAL
,
2318 EnhancedCustomShapeParameterType::NORMAL
,
2322 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
2325 aPropSequence
[1].Name
= "Segments";
2326 static const sal_uInt16 nValues
[] = {
2340 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
2343 aPropSequence
[2].Name
= "SubViewSize";
2344 Sequence
< awt::Size
> aSizeSequence (2);
2349 aSizeSequence
[0] = aSize
;
2355 aSizeSequence
[1] = aSize
;
2357 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
2359 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
2362 awt::Rectangle aRectangle
;
2365 aRectangle
.Width
= 0;
2366 aRectangle
.Height
= 0;
2367 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
2369 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-chartX");
2371 return aPropertyMap
;
2374 class ShapeCcloud
: public CustomShapeProvider
2376 virtual PropertyMap
getProperties()
2378 PropertyMap aPropertyMap
;
2381 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
2384 static const char *aStrings
[] = {
2385 "logwidth*2977/21600",
2386 "logheight*3262/21600",
2387 "logwidth*17087/21600",
2388 "logheight*17337/21600",
2389 "logwidth*67/21600",
2390 "logheight*21577/21600",
2391 "logwidth*21582/21600",
2392 "logheight*1235/21600",
2395 "(-11429249)/60000.0",
2396 "(7426832)/60000.0",
2397 "(-8646143)/60000.0",
2398 "(5396714)/60000.0",
2399 "(-8748475)/60000.0",
2400 "(5983381)/60000.0",
2401 "(-7859164)/60000.0",
2402 "(7034504)/60000.0",
2403 "(-4722533)/60000.0",
2404 "(6541615)/60000.0",
2405 "(-2776035)/60000.0",
2406 "(7816140)/60000.0",
2408 "(6842000)/60000.0",
2409 "(1347096)/60000.0",
2410 "(6910353)/60000.0",
2411 "(3974558)/60000.0",
2412 "(4542661)/60000.0",
2413 "(-16496525)/60000.0",
2414 "(8804134)/60000.0",
2415 "(-14809710)/60000.0",
2416 "(9151131)/60000.0",
2417 "(5204520)/60000.0",
2418 "(1585770)/60000.0",
2419 "(4416628)/60000.0",
2421 "(8257449)/60000.0",
2425 "(-4217541)/60000.0",
2426 "(4255042)/60000.0",
2427 "(1819082)/60000.0",
2428 "(1665090)/60000.0",
2429 "(-824660)/60000.0",
2431 "(-8950887)/60000.0",
2432 "(1091722)/60000.0",
2433 "(-9809656)/60000.0",
2434 "(1061181)/60000.0",
2435 "(-4002417)/60000.0",
2437 "(9459261)/60000.0",
2440 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
2443 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
2446 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
2449 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
2452 Sequence
< PropertyValue
> aPropSequence (4);
2454 aPropSequence
[0].Name
= "Coordinates";
2455 static const CustomShapeProvider::ParameterPairData aData
[] = {
2457 EnhancedCustomShapeParameterType::NORMAL
,
2458 EnhancedCustomShapeParameterType::NORMAL
,
2462 EnhancedCustomShapeParameterType::NORMAL
,
2463 EnhancedCustomShapeParameterType::NORMAL
,
2467 EnhancedCustomShapeParameterType::EQUATION
,
2468 EnhancedCustomShapeParameterType::EQUATION
,
2472 EnhancedCustomShapeParameterType::NORMAL
,
2473 EnhancedCustomShapeParameterType::NORMAL
,
2477 EnhancedCustomShapeParameterType::EQUATION
,
2478 EnhancedCustomShapeParameterType::EQUATION
,
2482 EnhancedCustomShapeParameterType::NORMAL
,
2483 EnhancedCustomShapeParameterType::NORMAL
,
2487 EnhancedCustomShapeParameterType::EQUATION
,
2488 EnhancedCustomShapeParameterType::EQUATION
,
2492 EnhancedCustomShapeParameterType::NORMAL
,
2493 EnhancedCustomShapeParameterType::NORMAL
,
2497 EnhancedCustomShapeParameterType::EQUATION
,
2498 EnhancedCustomShapeParameterType::EQUATION
,
2502 EnhancedCustomShapeParameterType::NORMAL
,
2503 EnhancedCustomShapeParameterType::NORMAL
,
2507 EnhancedCustomShapeParameterType::EQUATION
,
2508 EnhancedCustomShapeParameterType::EQUATION
,
2512 EnhancedCustomShapeParameterType::NORMAL
,
2513 EnhancedCustomShapeParameterType::NORMAL
,
2517 EnhancedCustomShapeParameterType::EQUATION
,
2518 EnhancedCustomShapeParameterType::EQUATION
,
2522 EnhancedCustomShapeParameterType::NORMAL
,
2523 EnhancedCustomShapeParameterType::NORMAL
,
2527 EnhancedCustomShapeParameterType::EQUATION
,
2528 EnhancedCustomShapeParameterType::EQUATION
,
2532 EnhancedCustomShapeParameterType::NORMAL
,
2533 EnhancedCustomShapeParameterType::NORMAL
,
2537 EnhancedCustomShapeParameterType::EQUATION
,
2538 EnhancedCustomShapeParameterType::EQUATION
,
2542 EnhancedCustomShapeParameterType::NORMAL
,
2543 EnhancedCustomShapeParameterType::NORMAL
,
2547 EnhancedCustomShapeParameterType::EQUATION
,
2548 EnhancedCustomShapeParameterType::EQUATION
,
2552 EnhancedCustomShapeParameterType::NORMAL
,
2553 EnhancedCustomShapeParameterType::NORMAL
,
2557 EnhancedCustomShapeParameterType::EQUATION
,
2558 EnhancedCustomShapeParameterType::EQUATION
,
2562 EnhancedCustomShapeParameterType::NORMAL
,
2563 EnhancedCustomShapeParameterType::NORMAL
,
2567 EnhancedCustomShapeParameterType::EQUATION
,
2568 EnhancedCustomShapeParameterType::EQUATION
,
2572 EnhancedCustomShapeParameterType::NORMAL
,
2573 EnhancedCustomShapeParameterType::NORMAL
,
2577 EnhancedCustomShapeParameterType::NORMAL
,
2578 EnhancedCustomShapeParameterType::NORMAL
,
2582 EnhancedCustomShapeParameterType::EQUATION
,
2583 EnhancedCustomShapeParameterType::EQUATION
,
2587 EnhancedCustomShapeParameterType::NORMAL
,
2588 EnhancedCustomShapeParameterType::NORMAL
,
2592 EnhancedCustomShapeParameterType::NORMAL
,
2593 EnhancedCustomShapeParameterType::NORMAL
,
2597 EnhancedCustomShapeParameterType::EQUATION
,
2598 EnhancedCustomShapeParameterType::EQUATION
,
2602 EnhancedCustomShapeParameterType::NORMAL
,
2603 EnhancedCustomShapeParameterType::NORMAL
,
2607 EnhancedCustomShapeParameterType::NORMAL
,
2608 EnhancedCustomShapeParameterType::NORMAL
,
2612 EnhancedCustomShapeParameterType::EQUATION
,
2613 EnhancedCustomShapeParameterType::EQUATION
,
2617 EnhancedCustomShapeParameterType::NORMAL
,
2618 EnhancedCustomShapeParameterType::NORMAL
,
2622 EnhancedCustomShapeParameterType::NORMAL
,
2623 EnhancedCustomShapeParameterType::NORMAL
,
2627 EnhancedCustomShapeParameterType::EQUATION
,
2628 EnhancedCustomShapeParameterType::EQUATION
,
2632 EnhancedCustomShapeParameterType::NORMAL
,
2633 EnhancedCustomShapeParameterType::NORMAL
,
2637 EnhancedCustomShapeParameterType::NORMAL
,
2638 EnhancedCustomShapeParameterType::NORMAL
,
2642 EnhancedCustomShapeParameterType::EQUATION
,
2643 EnhancedCustomShapeParameterType::EQUATION
,
2647 EnhancedCustomShapeParameterType::NORMAL
,
2648 EnhancedCustomShapeParameterType::NORMAL
,
2652 EnhancedCustomShapeParameterType::NORMAL
,
2653 EnhancedCustomShapeParameterType::NORMAL
,
2657 EnhancedCustomShapeParameterType::EQUATION
,
2658 EnhancedCustomShapeParameterType::EQUATION
,
2662 EnhancedCustomShapeParameterType::NORMAL
,
2663 EnhancedCustomShapeParameterType::NORMAL
,
2667 EnhancedCustomShapeParameterType::NORMAL
,
2668 EnhancedCustomShapeParameterType::NORMAL
,
2672 EnhancedCustomShapeParameterType::EQUATION
,
2673 EnhancedCustomShapeParameterType::EQUATION
,
2677 EnhancedCustomShapeParameterType::NORMAL
,
2678 EnhancedCustomShapeParameterType::NORMAL
,
2682 EnhancedCustomShapeParameterType::NORMAL
,
2683 EnhancedCustomShapeParameterType::NORMAL
,
2687 EnhancedCustomShapeParameterType::EQUATION
,
2688 EnhancedCustomShapeParameterType::EQUATION
,
2692 EnhancedCustomShapeParameterType::NORMAL
,
2693 EnhancedCustomShapeParameterType::NORMAL
,
2697 EnhancedCustomShapeParameterType::NORMAL
,
2698 EnhancedCustomShapeParameterType::NORMAL
,
2702 EnhancedCustomShapeParameterType::EQUATION
,
2703 EnhancedCustomShapeParameterType::EQUATION
,
2707 EnhancedCustomShapeParameterType::NORMAL
,
2708 EnhancedCustomShapeParameterType::NORMAL
,
2712 EnhancedCustomShapeParameterType::NORMAL
,
2713 EnhancedCustomShapeParameterType::NORMAL
,
2717 EnhancedCustomShapeParameterType::EQUATION
,
2718 EnhancedCustomShapeParameterType::EQUATION
,
2722 EnhancedCustomShapeParameterType::NORMAL
,
2723 EnhancedCustomShapeParameterType::NORMAL
,
2727 EnhancedCustomShapeParameterType::NORMAL
,
2728 EnhancedCustomShapeParameterType::NORMAL
,
2732 EnhancedCustomShapeParameterType::EQUATION
,
2733 EnhancedCustomShapeParameterType::EQUATION
,
2737 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
2740 aPropSequence
[1].Name
= "Segments";
2741 static const sal_uInt16 nValues
[] = {
2772 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
2775 aPropSequence
[2].Name
= "SubViewSize";
2776 Sequence
< awt::Size
> aSizeSequence (2);
2779 aSize
.Width
= 43200;
2780 aSize
.Height
= 43200;
2781 aSizeSequence
[0] = aSize
;
2785 aSize
.Width
= 43200;
2786 aSize
.Height
= 43200;
2787 aSizeSequence
[1] = aSize
;
2789 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
2792 aPropSequence
[3].Name
= "TextFrames";
2793 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
2795 EnhancedCustomShapeTextFrame aTextFrame
;
2797 static const CustomShapeProvider::ParameterPairData aData
=
2799 EnhancedCustomShapeParameterType::EQUATION
,
2800 EnhancedCustomShapeParameterType::EQUATION
,
2803 aTextFrame
.TopLeft
= createParameterPair(&aData
);
2806 static const CustomShapeProvider::ParameterPairData aData
=
2808 EnhancedCustomShapeParameterType::EQUATION
,
2809 EnhancedCustomShapeParameterType::EQUATION
,
2812 aTextFrame
.BottomRight
= createParameterPair(&aData
);
2814 aTextFrameSeq
[0] = aTextFrame
;
2816 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
2818 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
2821 awt::Rectangle aRectangle
;
2824 aRectangle
.Width
= 0;
2825 aRectangle
.Height
= 0;
2826 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
2828 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-cloud");
2830 return aPropertyMap
;
2833 class ShapeCcube
: public CustomShapeProvider
2835 virtual PropertyMap
getProperties()
2837 PropertyMap aPropertyMap
;
2840 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (1);
2842 Any
aAny ((sal_Int32
) 25000);
2843 aAdjSequence
[0].Value
= aAny
;
2844 aAdjSequence
[0].Name
= "adj";
2846 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
2849 static const char *aStrings
[] = {
2850 "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
2851 "min(logwidth,logheight)",
2855 "(?2 +logheight)/2",
2862 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
2865 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
2867 Sequence
< PropertyValue
> aPropSequence (4);
2869 aPropSequence
[0].Name
= "Position";
2870 static const CustomShapeProvider::ParameterPairData aData
=
2872 EnhancedCustomShapeParameterType::NORMAL
,
2873 EnhancedCustomShapeParameterType::EQUATION
,
2876 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
2879 aPropSequence
[1].Name
= "RangeYMaximum";
2880 EnhancedCustomShapeParameter aParameter
;
2881 Any
aAny ((sal_Int32
) 100000);
2882 aParameter
.Value
= aAny
;
2883 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
2884 aPropSequence
[1].Value
= makeAny (aParameter
);
2887 aPropSequence
[2].Name
= "RangeYMinimum";
2888 EnhancedCustomShapeParameter aParameter
;
2889 Any
aAny ((sal_Int32
) 0);
2890 aParameter
.Value
= aAny
;
2891 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
2892 aPropSequence
[2].Value
= makeAny (aParameter
);
2895 aPropSequence
[3].Name
= "RefY";
2896 Any
aAny ((sal_Int32
) 0);
2897 aPropSequence
[3].Value
= makeAny (aAny
);
2899 aPropSequenceSequence
[0] = aPropSequence
;
2901 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
2904 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
2907 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
2910 Sequence
< PropertyValue
> aPropSequence (3);
2912 aPropSequence
[0].Name
= "Coordinates";
2913 static const CustomShapeProvider::ParameterPairData aData
[] = {
2915 EnhancedCustomShapeParameterType::NORMAL
,
2916 EnhancedCustomShapeParameterType::EQUATION
,
2920 EnhancedCustomShapeParameterType::EQUATION
,
2921 EnhancedCustomShapeParameterType::EQUATION
,
2925 EnhancedCustomShapeParameterType::EQUATION
,
2926 EnhancedCustomShapeParameterType::EQUATION
,
2930 EnhancedCustomShapeParameterType::NORMAL
,
2931 EnhancedCustomShapeParameterType::EQUATION
,
2935 EnhancedCustomShapeParameterType::EQUATION
,
2936 EnhancedCustomShapeParameterType::EQUATION
,
2940 EnhancedCustomShapeParameterType::EQUATION
,
2941 EnhancedCustomShapeParameterType::NORMAL
,
2945 EnhancedCustomShapeParameterType::EQUATION
,
2946 EnhancedCustomShapeParameterType::EQUATION
,
2950 EnhancedCustomShapeParameterType::EQUATION
,
2951 EnhancedCustomShapeParameterType::EQUATION
,
2955 EnhancedCustomShapeParameterType::NORMAL
,
2956 EnhancedCustomShapeParameterType::EQUATION
,
2960 EnhancedCustomShapeParameterType::EQUATION
,
2961 EnhancedCustomShapeParameterType::NORMAL
,
2965 EnhancedCustomShapeParameterType::EQUATION
,
2966 EnhancedCustomShapeParameterType::NORMAL
,
2970 EnhancedCustomShapeParameterType::EQUATION
,
2971 EnhancedCustomShapeParameterType::EQUATION
,
2975 EnhancedCustomShapeParameterType::NORMAL
,
2976 EnhancedCustomShapeParameterType::EQUATION
,
2980 EnhancedCustomShapeParameterType::EQUATION
,
2981 EnhancedCustomShapeParameterType::NORMAL
,
2985 EnhancedCustomShapeParameterType::EQUATION
,
2986 EnhancedCustomShapeParameterType::NORMAL
,
2990 EnhancedCustomShapeParameterType::EQUATION
,
2991 EnhancedCustomShapeParameterType::EQUATION
,
2995 EnhancedCustomShapeParameterType::EQUATION
,
2996 EnhancedCustomShapeParameterType::EQUATION
,
3000 EnhancedCustomShapeParameterType::NORMAL
,
3001 EnhancedCustomShapeParameterType::EQUATION
,
3005 EnhancedCustomShapeParameterType::NORMAL
,
3006 EnhancedCustomShapeParameterType::EQUATION
,
3010 EnhancedCustomShapeParameterType::EQUATION
,
3011 EnhancedCustomShapeParameterType::EQUATION
,
3015 EnhancedCustomShapeParameterType::EQUATION
,
3016 EnhancedCustomShapeParameterType::NORMAL
,
3020 EnhancedCustomShapeParameterType::EQUATION
,
3021 EnhancedCustomShapeParameterType::EQUATION
,
3025 EnhancedCustomShapeParameterType::EQUATION
,
3026 EnhancedCustomShapeParameterType::EQUATION
,
3030 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
3033 aPropSequence
[1].Name
= "Segments";
3034 static const sal_uInt16 nValues
[] = {
3063 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
3066 aPropSequence
[2].Name
= "TextFrames";
3067 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
3069 EnhancedCustomShapeTextFrame aTextFrame
;
3071 static const CustomShapeProvider::ParameterPairData aData
=
3073 EnhancedCustomShapeParameterType::NORMAL
,
3074 EnhancedCustomShapeParameterType::EQUATION
,
3077 aTextFrame
.TopLeft
= createParameterPair(&aData
);
3080 static const CustomShapeProvider::ParameterPairData aData
=
3082 EnhancedCustomShapeParameterType::EQUATION
,
3083 EnhancedCustomShapeParameterType::EQUATION
,
3086 aTextFrame
.BottomRight
= createParameterPair(&aData
);
3088 aTextFrameSeq
[0] = aTextFrame
;
3090 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
3092 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
3095 awt::Rectangle aRectangle
;
3098 aRectangle
.Width
= 0;
3099 aRectangle
.Height
= 0;
3100 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
3102 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-cube");
3104 return aPropertyMap
;
3107 class ShapeCround2DiagRect
: public CustomShapeProvider
3109 virtual PropertyMap
getProperties()
3111 PropertyMap aPropertyMap
;
3114 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
3116 Any
aAny ((sal_Int32
) 16667);
3117 aAdjSequence
[0].Value
= aAny
;
3118 aAdjSequence
[0].Name
= "adj1";
3121 Any
aAny ((sal_Int32
) 0);
3122 aAdjSequence
[1].Value
= aAny
;
3123 aAdjSequence
[1].Name
= "adj2";
3125 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
3128 static const char *aStrings
[] = {
3129 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
3130 "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
3131 "min(logwidth,logheight)",
3147 "(16200000)/60000.0",
3148 "(5400000)/60000.0",
3150 "(5400000)/60000.0",
3151 "(5400000)/60000.0",
3152 "(5400000)/60000.0",
3153 "(10800000)/60000.0",
3156 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
3159 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (2);
3161 Sequence
< PropertyValue
> aPropSequence (4);
3163 aPropSequence
[0].Name
= "Position";
3164 static const CustomShapeProvider::ParameterPairData aData
=
3166 EnhancedCustomShapeParameterType::EQUATION
,
3167 EnhancedCustomShapeParameterType::NORMAL
,
3170 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
3173 aPropSequence
[1].Name
= "RangeXMaximum";
3174 EnhancedCustomShapeParameter aParameter
;
3175 Any
aAny ((sal_Int32
) 50000);
3176 aParameter
.Value
= aAny
;
3177 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
3178 aPropSequence
[1].Value
= makeAny (aParameter
);
3181 aPropSequence
[2].Name
= "RangeXMinimum";
3182 EnhancedCustomShapeParameter aParameter
;
3183 Any
aAny ((sal_Int32
) 0);
3184 aParameter
.Value
= aAny
;
3185 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
3186 aPropSequence
[2].Value
= makeAny (aParameter
);
3189 aPropSequence
[3].Name
= "RefX";
3190 Any
aAny ((sal_Int32
) 0);
3191 aPropSequence
[3].Value
= makeAny (aAny
);
3193 aPropSequenceSequence
[0] = aPropSequence
;
3196 Sequence
< PropertyValue
> aPropSequence (4);
3198 aPropSequence
[0].Name
= "Position";
3199 static const CustomShapeProvider::ParameterPairData aData
=
3201 EnhancedCustomShapeParameterType::EQUATION
,
3202 EnhancedCustomShapeParameterType::NORMAL
,
3205 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
3208 aPropSequence
[1].Name
= "RangeXMaximum";
3209 EnhancedCustomShapeParameter aParameter
;
3210 Any
aAny ((sal_Int32
) 50000);
3211 aParameter
.Value
= aAny
;
3212 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
3213 aPropSequence
[1].Value
= makeAny (aParameter
);
3216 aPropSequence
[2].Name
= "RangeXMinimum";
3217 EnhancedCustomShapeParameter aParameter
;
3218 Any
aAny ((sal_Int32
) 0);
3219 aParameter
.Value
= aAny
;
3220 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
3221 aPropSequence
[2].Value
= makeAny (aParameter
);
3224 aPropSequence
[3].Name
= "RefX";
3225 Any
aAny ((sal_Int32
) 1);
3226 aPropSequence
[3].Value
= makeAny (aAny
);
3228 aPropSequenceSequence
[1] = aPropSequence
;
3230 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
3233 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
3236 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
3239 Sequence
< PropertyValue
> aPropSequence (3);
3241 aPropSequence
[0].Name
= "Coordinates";
3242 static const CustomShapeProvider::ParameterPairData aData
[] = {
3244 EnhancedCustomShapeParameterType::EQUATION
,
3245 EnhancedCustomShapeParameterType::NORMAL
,
3249 EnhancedCustomShapeParameterType::EQUATION
,
3250 EnhancedCustomShapeParameterType::NORMAL
,
3254 EnhancedCustomShapeParameterType::EQUATION
,
3255 EnhancedCustomShapeParameterType::EQUATION
,
3259 EnhancedCustomShapeParameterType::EQUATION
,
3260 EnhancedCustomShapeParameterType::EQUATION
,
3264 EnhancedCustomShapeParameterType::EQUATION
,
3265 EnhancedCustomShapeParameterType::EQUATION
,
3269 EnhancedCustomShapeParameterType::EQUATION
,
3270 EnhancedCustomShapeParameterType::EQUATION
,
3274 EnhancedCustomShapeParameterType::EQUATION
,
3275 EnhancedCustomShapeParameterType::EQUATION
,
3279 EnhancedCustomShapeParameterType::EQUATION
,
3280 EnhancedCustomShapeParameterType::EQUATION
,
3284 EnhancedCustomShapeParameterType::EQUATION
,
3285 EnhancedCustomShapeParameterType::EQUATION
,
3289 EnhancedCustomShapeParameterType::EQUATION
,
3290 EnhancedCustomShapeParameterType::EQUATION
,
3294 EnhancedCustomShapeParameterType::NORMAL
,
3295 EnhancedCustomShapeParameterType::EQUATION
,
3299 EnhancedCustomShapeParameterType::EQUATION
,
3300 EnhancedCustomShapeParameterType::EQUATION
,
3304 EnhancedCustomShapeParameterType::EQUATION
,
3305 EnhancedCustomShapeParameterType::EQUATION
,
3309 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
3312 aPropSequence
[1].Name
= "Segments";
3313 static const sal_uInt16 nValues
[] = {
3327 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
3330 aPropSequence
[2].Name
= "TextFrames";
3331 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
3333 EnhancedCustomShapeTextFrame aTextFrame
;
3335 static const CustomShapeProvider::ParameterPairData aData
=
3337 EnhancedCustomShapeParameterType::EQUATION
,
3338 EnhancedCustomShapeParameterType::EQUATION
,
3341 aTextFrame
.TopLeft
= createParameterPair(&aData
);
3344 static const CustomShapeProvider::ParameterPairData aData
=
3346 EnhancedCustomShapeParameterType::EQUATION
,
3347 EnhancedCustomShapeParameterType::EQUATION
,
3350 aTextFrame
.BottomRight
= createParameterPair(&aData
);
3352 aTextFrameSeq
[0] = aTextFrame
;
3354 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
3356 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
3359 awt::Rectangle aRectangle
;
3362 aRectangle
.Width
= 0;
3363 aRectangle
.Height
= 0;
3364 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
3366 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-round2DiagRect");
3368 return aPropertyMap
;
3371 class ShapeCflowChartMultidocument
: public CustomShapeProvider
3373 virtual PropertyMap
getProperties()
3375 PropertyMap aPropertyMap
;
3378 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
3381 static const char *aStrings
[] = {
3382 "logheight*3675/21600",
3383 "logheight*20782/21600",
3384 "logwidth*9298/21600",
3385 "logwidth*12286/21600",
3386 "logwidth*18595/21600",
3390 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
3393 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
3396 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
3399 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
3402 Sequence
< PropertyValue
> aPropSequence (4);
3404 aPropSequence
[0].Name
= "Coordinates";
3405 static const CustomShapeProvider::ParameterPairData aData
[] = {
3407 EnhancedCustomShapeParameterType::NORMAL
,
3408 EnhancedCustomShapeParameterType::NORMAL
,
3412 EnhancedCustomShapeParameterType::NORMAL
,
3413 EnhancedCustomShapeParameterType::NORMAL
,
3417 EnhancedCustomShapeParameterType::NORMAL
,
3418 EnhancedCustomShapeParameterType::NORMAL
,
3422 EnhancedCustomShapeParameterType::NORMAL
,
3423 EnhancedCustomShapeParameterType::NORMAL
,
3427 EnhancedCustomShapeParameterType::NORMAL
,
3428 EnhancedCustomShapeParameterType::NORMAL
,
3432 EnhancedCustomShapeParameterType::NORMAL
,
3433 EnhancedCustomShapeParameterType::NORMAL
,
3437 EnhancedCustomShapeParameterType::NORMAL
,
3438 EnhancedCustomShapeParameterType::NORMAL
,
3442 EnhancedCustomShapeParameterType::NORMAL
,
3443 EnhancedCustomShapeParameterType::NORMAL
,
3447 EnhancedCustomShapeParameterType::NORMAL
,
3448 EnhancedCustomShapeParameterType::NORMAL
,
3452 EnhancedCustomShapeParameterType::NORMAL
,
3453 EnhancedCustomShapeParameterType::NORMAL
,
3457 EnhancedCustomShapeParameterType::NORMAL
,
3458 EnhancedCustomShapeParameterType::NORMAL
,
3462 EnhancedCustomShapeParameterType::NORMAL
,
3463 EnhancedCustomShapeParameterType::NORMAL
,
3467 EnhancedCustomShapeParameterType::NORMAL
,
3468 EnhancedCustomShapeParameterType::NORMAL
,
3472 EnhancedCustomShapeParameterType::NORMAL
,
3473 EnhancedCustomShapeParameterType::NORMAL
,
3477 EnhancedCustomShapeParameterType::NORMAL
,
3478 EnhancedCustomShapeParameterType::NORMAL
,
3482 EnhancedCustomShapeParameterType::NORMAL
,
3483 EnhancedCustomShapeParameterType::NORMAL
,
3487 EnhancedCustomShapeParameterType::NORMAL
,
3488 EnhancedCustomShapeParameterType::NORMAL
,
3492 EnhancedCustomShapeParameterType::NORMAL
,
3493 EnhancedCustomShapeParameterType::NORMAL
,
3497 EnhancedCustomShapeParameterType::NORMAL
,
3498 EnhancedCustomShapeParameterType::NORMAL
,
3502 EnhancedCustomShapeParameterType::NORMAL
,
3503 EnhancedCustomShapeParameterType::NORMAL
,
3507 EnhancedCustomShapeParameterType::NORMAL
,
3508 EnhancedCustomShapeParameterType::NORMAL
,
3512 EnhancedCustomShapeParameterType::NORMAL
,
3513 EnhancedCustomShapeParameterType::NORMAL
,
3517 EnhancedCustomShapeParameterType::NORMAL
,
3518 EnhancedCustomShapeParameterType::NORMAL
,
3522 EnhancedCustomShapeParameterType::NORMAL
,
3523 EnhancedCustomShapeParameterType::NORMAL
,
3527 EnhancedCustomShapeParameterType::NORMAL
,
3528 EnhancedCustomShapeParameterType::NORMAL
,
3532 EnhancedCustomShapeParameterType::NORMAL
,
3533 EnhancedCustomShapeParameterType::NORMAL
,
3537 EnhancedCustomShapeParameterType::NORMAL
,
3538 EnhancedCustomShapeParameterType::NORMAL
,
3542 EnhancedCustomShapeParameterType::NORMAL
,
3543 EnhancedCustomShapeParameterType::NORMAL
,
3547 EnhancedCustomShapeParameterType::NORMAL
,
3548 EnhancedCustomShapeParameterType::NORMAL
,
3552 EnhancedCustomShapeParameterType::NORMAL
,
3553 EnhancedCustomShapeParameterType::NORMAL
,
3557 EnhancedCustomShapeParameterType::NORMAL
,
3558 EnhancedCustomShapeParameterType::NORMAL
,
3562 EnhancedCustomShapeParameterType::NORMAL
,
3563 EnhancedCustomShapeParameterType::NORMAL
,
3567 EnhancedCustomShapeParameterType::NORMAL
,
3568 EnhancedCustomShapeParameterType::NORMAL
,
3572 EnhancedCustomShapeParameterType::NORMAL
,
3573 EnhancedCustomShapeParameterType::NORMAL
,
3577 EnhancedCustomShapeParameterType::NORMAL
,
3578 EnhancedCustomShapeParameterType::NORMAL
,
3582 EnhancedCustomShapeParameterType::NORMAL
,
3583 EnhancedCustomShapeParameterType::NORMAL
,
3587 EnhancedCustomShapeParameterType::NORMAL
,
3588 EnhancedCustomShapeParameterType::NORMAL
,
3592 EnhancedCustomShapeParameterType::NORMAL
,
3593 EnhancedCustomShapeParameterType::NORMAL
,
3597 EnhancedCustomShapeParameterType::NORMAL
,
3598 EnhancedCustomShapeParameterType::NORMAL
,
3602 EnhancedCustomShapeParameterType::NORMAL
,
3603 EnhancedCustomShapeParameterType::NORMAL
,
3607 EnhancedCustomShapeParameterType::NORMAL
,
3608 EnhancedCustomShapeParameterType::NORMAL
,
3612 EnhancedCustomShapeParameterType::NORMAL
,
3613 EnhancedCustomShapeParameterType::NORMAL
,
3617 EnhancedCustomShapeParameterType::NORMAL
,
3618 EnhancedCustomShapeParameterType::NORMAL
,
3622 EnhancedCustomShapeParameterType::NORMAL
,
3623 EnhancedCustomShapeParameterType::NORMAL
,
3627 EnhancedCustomShapeParameterType::NORMAL
,
3628 EnhancedCustomShapeParameterType::NORMAL
,
3632 EnhancedCustomShapeParameterType::NORMAL
,
3633 EnhancedCustomShapeParameterType::NORMAL
,
3637 EnhancedCustomShapeParameterType::NORMAL
,
3638 EnhancedCustomShapeParameterType::NORMAL
,
3642 EnhancedCustomShapeParameterType::NORMAL
,
3643 EnhancedCustomShapeParameterType::NORMAL
,
3647 EnhancedCustomShapeParameterType::NORMAL
,
3648 EnhancedCustomShapeParameterType::NORMAL
,
3652 EnhancedCustomShapeParameterType::NORMAL
,
3653 EnhancedCustomShapeParameterType::NORMAL
,
3657 EnhancedCustomShapeParameterType::NORMAL
,
3658 EnhancedCustomShapeParameterType::NORMAL
,
3662 EnhancedCustomShapeParameterType::NORMAL
,
3663 EnhancedCustomShapeParameterType::NORMAL
,
3667 EnhancedCustomShapeParameterType::NORMAL
,
3668 EnhancedCustomShapeParameterType::NORMAL
,
3672 EnhancedCustomShapeParameterType::NORMAL
,
3673 EnhancedCustomShapeParameterType::NORMAL
,
3677 EnhancedCustomShapeParameterType::NORMAL
,
3678 EnhancedCustomShapeParameterType::NORMAL
,
3682 EnhancedCustomShapeParameterType::NORMAL
,
3683 EnhancedCustomShapeParameterType::NORMAL
,
3687 EnhancedCustomShapeParameterType::NORMAL
,
3688 EnhancedCustomShapeParameterType::NORMAL
,
3692 EnhancedCustomShapeParameterType::NORMAL
,
3693 EnhancedCustomShapeParameterType::NORMAL
,
3697 EnhancedCustomShapeParameterType::NORMAL
,
3698 EnhancedCustomShapeParameterType::NORMAL
,
3702 EnhancedCustomShapeParameterType::NORMAL
,
3703 EnhancedCustomShapeParameterType::NORMAL
,
3707 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
3710 aPropSequence
[1].Name
= "Segments";
3711 static const sal_uInt16 nValues
[] = {
3753 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
3756 aPropSequence
[2].Name
= "SubViewSize";
3757 Sequence
< awt::Size
> aSizeSequence (3);
3760 aSize
.Width
= 21600;
3761 aSize
.Height
= 21600;
3762 aSizeSequence
[0] = aSize
;
3766 aSize
.Width
= 21600;
3767 aSize
.Height
= 21600;
3768 aSizeSequence
[1] = aSize
;
3772 aSize
.Width
= 21600;
3773 aSize
.Height
= 21600;
3774 aSizeSequence
[2] = aSize
;
3776 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
3779 aPropSequence
[3].Name
= "TextFrames";
3780 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
3782 EnhancedCustomShapeTextFrame aTextFrame
;
3784 static const CustomShapeProvider::ParameterPairData aData
=
3786 EnhancedCustomShapeParameterType::NORMAL
,
3787 EnhancedCustomShapeParameterType::EQUATION
,
3790 aTextFrame
.TopLeft
= createParameterPair(&aData
);
3793 static const CustomShapeProvider::ParameterPairData aData
=
3795 EnhancedCustomShapeParameterType::EQUATION
,
3796 EnhancedCustomShapeParameterType::EQUATION
,
3799 aTextFrame
.BottomRight
= createParameterPair(&aData
);
3801 aTextFrameSeq
[0] = aTextFrame
;
3803 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
3805 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
3808 awt::Rectangle aRectangle
;
3811 aRectangle
.Width
= 0;
3812 aRectangle
.Height
= 0;
3813 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
3815 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartMultidocument");
3817 return aPropertyMap
;
3820 class ShapeCactionButtonDocument
: public CustomShapeProvider
3822 virtual PropertyMap
getProperties()
3824 PropertyMap aPropertyMap
;
3827 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
3830 static const char *aStrings
[] = {
3831 "min(logwidth,logheight)",
3846 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
3849 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
3852 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
3855 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
3858 Sequence
< PropertyValue
> aPropSequence (3);
3860 aPropSequence
[0].Name
= "Coordinates";
3861 static const CustomShapeProvider::ParameterPairData aData
[] = {
3863 EnhancedCustomShapeParameterType::NORMAL
,
3864 EnhancedCustomShapeParameterType::NORMAL
,
3868 EnhancedCustomShapeParameterType::EQUATION
,
3869 EnhancedCustomShapeParameterType::NORMAL
,
3873 EnhancedCustomShapeParameterType::EQUATION
,
3874 EnhancedCustomShapeParameterType::EQUATION
,
3878 EnhancedCustomShapeParameterType::NORMAL
,
3879 EnhancedCustomShapeParameterType::EQUATION
,
3883 EnhancedCustomShapeParameterType::EQUATION
,
3884 EnhancedCustomShapeParameterType::EQUATION
,
3888 EnhancedCustomShapeParameterType::EQUATION
,
3889 EnhancedCustomShapeParameterType::EQUATION
,
3893 EnhancedCustomShapeParameterType::EQUATION
,
3894 EnhancedCustomShapeParameterType::EQUATION
,
3898 EnhancedCustomShapeParameterType::EQUATION
,
3899 EnhancedCustomShapeParameterType::EQUATION
,
3903 EnhancedCustomShapeParameterType::EQUATION
,
3904 EnhancedCustomShapeParameterType::EQUATION
,
3908 EnhancedCustomShapeParameterType::EQUATION
,
3909 EnhancedCustomShapeParameterType::EQUATION
,
3913 EnhancedCustomShapeParameterType::EQUATION
,
3914 EnhancedCustomShapeParameterType::EQUATION
,
3918 EnhancedCustomShapeParameterType::EQUATION
,
3919 EnhancedCustomShapeParameterType::EQUATION
,
3923 EnhancedCustomShapeParameterType::EQUATION
,
3924 EnhancedCustomShapeParameterType::EQUATION
,
3928 EnhancedCustomShapeParameterType::EQUATION
,
3929 EnhancedCustomShapeParameterType::EQUATION
,
3933 EnhancedCustomShapeParameterType::EQUATION
,
3934 EnhancedCustomShapeParameterType::EQUATION
,
3938 EnhancedCustomShapeParameterType::EQUATION
,
3939 EnhancedCustomShapeParameterType::EQUATION
,
3943 EnhancedCustomShapeParameterType::EQUATION
,
3944 EnhancedCustomShapeParameterType::EQUATION
,
3948 EnhancedCustomShapeParameterType::EQUATION
,
3949 EnhancedCustomShapeParameterType::EQUATION
,
3953 EnhancedCustomShapeParameterType::EQUATION
,
3954 EnhancedCustomShapeParameterType::EQUATION
,
3958 EnhancedCustomShapeParameterType::EQUATION
,
3959 EnhancedCustomShapeParameterType::EQUATION
,
3963 EnhancedCustomShapeParameterType::EQUATION
,
3964 EnhancedCustomShapeParameterType::EQUATION
,
3968 EnhancedCustomShapeParameterType::EQUATION
,
3969 EnhancedCustomShapeParameterType::EQUATION
,
3973 EnhancedCustomShapeParameterType::EQUATION
,
3974 EnhancedCustomShapeParameterType::EQUATION
,
3978 EnhancedCustomShapeParameterType::EQUATION
,
3979 EnhancedCustomShapeParameterType::EQUATION
,
3983 EnhancedCustomShapeParameterType::EQUATION
,
3984 EnhancedCustomShapeParameterType::EQUATION
,
3988 EnhancedCustomShapeParameterType::EQUATION
,
3989 EnhancedCustomShapeParameterType::EQUATION
,
3993 EnhancedCustomShapeParameterType::NORMAL
,
3994 EnhancedCustomShapeParameterType::NORMAL
,
3998 EnhancedCustomShapeParameterType::EQUATION
,
3999 EnhancedCustomShapeParameterType::NORMAL
,
4003 EnhancedCustomShapeParameterType::EQUATION
,
4004 EnhancedCustomShapeParameterType::EQUATION
,
4008 EnhancedCustomShapeParameterType::NORMAL
,
4009 EnhancedCustomShapeParameterType::EQUATION
,
4013 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
4016 aPropSequence
[1].Name
= "Segments";
4017 static const sal_uInt16 nValues
[] = {
4052 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
4055 aPropSequence
[2].Name
= "TextFrames";
4056 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
4058 EnhancedCustomShapeTextFrame aTextFrame
;
4060 static const CustomShapeProvider::ParameterPairData aData
=
4062 EnhancedCustomShapeParameterType::NORMAL
,
4063 EnhancedCustomShapeParameterType::NORMAL
,
4066 aTextFrame
.TopLeft
= createParameterPair(&aData
);
4069 static const CustomShapeProvider::ParameterPairData aData
=
4071 EnhancedCustomShapeParameterType::EQUATION
,
4072 EnhancedCustomShapeParameterType::EQUATION
,
4075 aTextFrame
.BottomRight
= createParameterPair(&aData
);
4077 aTextFrameSeq
[0] = aTextFrame
;
4079 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
4081 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
4084 awt::Rectangle aRectangle
;
4087 aRectangle
.Width
= 0;
4088 aRectangle
.Height
= 0;
4089 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
4091 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-actionButtonDocument");
4093 return aPropertyMap
;
4096 class ShapeCflowChartTerminator
: public CustomShapeProvider
4098 virtual PropertyMap
getProperties()
4100 PropertyMap aPropertyMap
;
4103 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
4106 static const char *aStrings
[] = {
4107 "logwidth*1018/21600",
4108 "logwidth*20582/21600",
4109 "logheight*3163/21600",
4110 "logheight*18437/21600",
4115 "(16200000)/60000.0",
4116 "(10800000)/60000.0",
4117 "(5400000)/60000.0",
4118 "(10800000)/60000.0"
4120 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
4123 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
4126 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
4129 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
4132 Sequence
< PropertyValue
> aPropSequence (4);
4134 aPropSequence
[0].Name
= "Coordinates";
4135 static const CustomShapeProvider::ParameterPairData aData
[] = {
4137 EnhancedCustomShapeParameterType::NORMAL
,
4138 EnhancedCustomShapeParameterType::NORMAL
,
4142 EnhancedCustomShapeParameterType::NORMAL
,
4143 EnhancedCustomShapeParameterType::NORMAL
,
4147 EnhancedCustomShapeParameterType::NORMAL
,
4148 EnhancedCustomShapeParameterType::NORMAL
,
4152 EnhancedCustomShapeParameterType::EQUATION
,
4153 EnhancedCustomShapeParameterType::EQUATION
,
4157 EnhancedCustomShapeParameterType::NORMAL
,
4158 EnhancedCustomShapeParameterType::NORMAL
,
4162 EnhancedCustomShapeParameterType::NORMAL
,
4163 EnhancedCustomShapeParameterType::NORMAL
,
4167 EnhancedCustomShapeParameterType::EQUATION
,
4168 EnhancedCustomShapeParameterType::EQUATION
,
4172 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
4175 aPropSequence
[1].Name
= "Segments";
4176 static const sal_uInt16 nValues
[] = {
4186 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
4189 aPropSequence
[2].Name
= "SubViewSize";
4190 Sequence
< awt::Size
> aSizeSequence (1);
4193 aSize
.Width
= 21600;
4194 aSize
.Height
= 21600;
4195 aSizeSequence
[0] = aSize
;
4197 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
4200 aPropSequence
[3].Name
= "TextFrames";
4201 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
4203 EnhancedCustomShapeTextFrame aTextFrame
;
4205 static const CustomShapeProvider::ParameterPairData aData
=
4207 EnhancedCustomShapeParameterType::EQUATION
,
4208 EnhancedCustomShapeParameterType::EQUATION
,
4211 aTextFrame
.TopLeft
= createParameterPair(&aData
);
4214 static const CustomShapeProvider::ParameterPairData aData
=
4216 EnhancedCustomShapeParameterType::EQUATION
,
4217 EnhancedCustomShapeParameterType::EQUATION
,
4220 aTextFrame
.BottomRight
= createParameterPair(&aData
);
4222 aTextFrameSeq
[0] = aTextFrame
;
4224 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
4226 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
4229 awt::Rectangle aRectangle
;
4232 aRectangle
.Width
= 0;
4233 aRectangle
.Height
= 0;
4234 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
4236 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartTerminator");
4238 return aPropertyMap
;
4241 class ShapeCflowChartDelay
: public CustomShapeProvider
4243 virtual PropertyMap
getProperties()
4245 PropertyMap aPropertyMap
;
4248 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
4251 static const char *aStrings
[] = {
4253 "?0 *cos(pi*(2700000)/10800000)",
4255 "?2 *sin(pi*(2700000)/10800000)",
4263 "(16200000)/60000.0",
4264 "(10800000)/60000.0"
4266 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
4269 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
4272 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
4275 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
4278 Sequence
< PropertyValue
> aPropSequence (3);
4280 aPropSequence
[0].Name
= "Coordinates";
4281 static const CustomShapeProvider::ParameterPairData aData
[] = {
4283 EnhancedCustomShapeParameterType::NORMAL
,
4284 EnhancedCustomShapeParameterType::NORMAL
,
4288 EnhancedCustomShapeParameterType::EQUATION
,
4289 EnhancedCustomShapeParameterType::NORMAL
,
4293 EnhancedCustomShapeParameterType::EQUATION
,
4294 EnhancedCustomShapeParameterType::EQUATION
,
4298 EnhancedCustomShapeParameterType::EQUATION
,
4299 EnhancedCustomShapeParameterType::EQUATION
,
4303 EnhancedCustomShapeParameterType::NORMAL
,
4304 EnhancedCustomShapeParameterType::EQUATION
,
4308 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
4311 aPropSequence
[1].Name
= "Segments";
4312 static const sal_uInt16 nValues
[] = {
4321 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
4324 aPropSequence
[2].Name
= "TextFrames";
4325 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
4327 EnhancedCustomShapeTextFrame aTextFrame
;
4329 static const CustomShapeProvider::ParameterPairData aData
=
4331 EnhancedCustomShapeParameterType::NORMAL
,
4332 EnhancedCustomShapeParameterType::EQUATION
,
4335 aTextFrame
.TopLeft
= createParameterPair(&aData
);
4338 static const CustomShapeProvider::ParameterPairData aData
=
4340 EnhancedCustomShapeParameterType::EQUATION
,
4341 EnhancedCustomShapeParameterType::EQUATION
,
4344 aTextFrame
.BottomRight
= createParameterPair(&aData
);
4346 aTextFrameSeq
[0] = aTextFrame
;
4348 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
4350 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
4353 awt::Rectangle aRectangle
;
4356 aRectangle
.Width
= 0;
4357 aRectangle
.Height
= 0;
4358 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
4360 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartDelay");
4362 return aPropertyMap
;
4365 class ShapeCcurvedConnector5
: public CustomShapeProvider
4367 virtual PropertyMap
getProperties()
4369 PropertyMap aPropertyMap
;
4372 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (3);
4374 Any
aAny ((sal_Int32
) 50000);
4375 aAdjSequence
[0].Value
= aAny
;
4376 aAdjSequence
[0].Name
= "adj1";
4379 Any
aAny ((sal_Int32
) 50000);
4380 aAdjSequence
[1].Value
= aAny
;
4381 aAdjSequence
[1].Name
= "adj2";
4384 Any
aAny ((sal_Int32
) 50000);
4385 aAdjSequence
[2].Value
= aAny
;
4386 aAdjSequence
[2].Name
= "adj3";
4388 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
4391 static const char *aStrings
[] = {
4392 "logwidth*$0 /100000",
4393 "logwidth*$2 /100000",
4399 "logheight*$1 /100000",
4403 "(logheight+?7 )/2",
4405 "(?11 +logheight)/2",
4409 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
4412 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (3);
4414 Sequence
< PropertyValue
> aPropSequence (4);
4416 aPropSequence
[0].Name
= "Position";
4417 static const CustomShapeProvider::ParameterPairData aData
=
4419 EnhancedCustomShapeParameterType::EQUATION
,
4420 EnhancedCustomShapeParameterType::EQUATION
,
4423 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
4426 aPropSequence
[1].Name
= "RangeXMaximum";
4427 EnhancedCustomShapeParameter aParameter
;
4428 Any
aAny ((sal_Int32
) 2147483647);
4429 aParameter
.Value
= aAny
;
4430 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4431 aPropSequence
[1].Value
= makeAny (aParameter
);
4434 aPropSequence
[2].Name
= "RangeXMinimum";
4435 EnhancedCustomShapeParameter aParameter
;
4436 Any
aAny ((sal_Int32
) -2147483647);
4437 aParameter
.Value
= aAny
;
4438 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4439 aPropSequence
[2].Value
= makeAny (aParameter
);
4442 aPropSequence
[3].Name
= "RefX";
4443 Any
aAny ((sal_Int32
) 0);
4444 aPropSequence
[3].Value
= makeAny (aAny
);
4446 aPropSequenceSequence
[0] = aPropSequence
;
4449 Sequence
< PropertyValue
> aPropSequence (4);
4451 aPropSequence
[0].Name
= "Position";
4452 static const CustomShapeProvider::ParameterPairData aData
=
4454 EnhancedCustomShapeParameterType::EQUATION
,
4455 EnhancedCustomShapeParameterType::EQUATION
,
4458 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
4461 aPropSequence
[1].Name
= "RangeYMaximum";
4462 EnhancedCustomShapeParameter aParameter
;
4463 Any
aAny ((sal_Int32
) 2147483647);
4464 aParameter
.Value
= aAny
;
4465 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4466 aPropSequence
[1].Value
= makeAny (aParameter
);
4469 aPropSequence
[2].Name
= "RangeYMinimum";
4470 EnhancedCustomShapeParameter aParameter
;
4471 Any
aAny ((sal_Int32
) -2147483647);
4472 aParameter
.Value
= aAny
;
4473 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4474 aPropSequence
[2].Value
= makeAny (aParameter
);
4477 aPropSequence
[3].Name
= "RefY";
4478 Any
aAny ((sal_Int32
) 1);
4479 aPropSequence
[3].Value
= makeAny (aAny
);
4481 aPropSequenceSequence
[1] = aPropSequence
;
4484 Sequence
< PropertyValue
> aPropSequence (4);
4486 aPropSequence
[0].Name
= "Position";
4487 static const CustomShapeProvider::ParameterPairData aData
=
4489 EnhancedCustomShapeParameterType::EQUATION
,
4490 EnhancedCustomShapeParameterType::EQUATION
,
4493 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
4496 aPropSequence
[1].Name
= "RangeXMaximum";
4497 EnhancedCustomShapeParameter aParameter
;
4498 Any
aAny ((sal_Int32
) 2147483647);
4499 aParameter
.Value
= aAny
;
4500 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4501 aPropSequence
[1].Value
= makeAny (aParameter
);
4504 aPropSequence
[2].Name
= "RangeXMinimum";
4505 EnhancedCustomShapeParameter aParameter
;
4506 Any
aAny ((sal_Int32
) -2147483647);
4507 aParameter
.Value
= aAny
;
4508 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4509 aPropSequence
[2].Value
= makeAny (aParameter
);
4512 aPropSequence
[3].Name
= "RefX";
4513 Any
aAny ((sal_Int32
) 2);
4514 aPropSequence
[3].Value
= makeAny (aAny
);
4516 aPropSequenceSequence
[2] = aPropSequence
;
4518 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
4521 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
4524 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
4527 Sequence
< PropertyValue
> aPropSequence (3);
4529 aPropSequence
[0].Name
= "Coordinates";
4530 static const CustomShapeProvider::ParameterPairData aData
[] = {
4532 EnhancedCustomShapeParameterType::NORMAL
,
4533 EnhancedCustomShapeParameterType::NORMAL
,
4537 EnhancedCustomShapeParameterType::EQUATION
,
4538 EnhancedCustomShapeParameterType::NORMAL
,
4542 EnhancedCustomShapeParameterType::EQUATION
,
4543 EnhancedCustomShapeParameterType::EQUATION
,
4547 EnhancedCustomShapeParameterType::EQUATION
,
4548 EnhancedCustomShapeParameterType::EQUATION
,
4552 EnhancedCustomShapeParameterType::EQUATION
,
4553 EnhancedCustomShapeParameterType::EQUATION
,
4557 EnhancedCustomShapeParameterType::EQUATION
,
4558 EnhancedCustomShapeParameterType::EQUATION
,
4562 EnhancedCustomShapeParameterType::EQUATION
,
4563 EnhancedCustomShapeParameterType::EQUATION
,
4567 EnhancedCustomShapeParameterType::EQUATION
,
4568 EnhancedCustomShapeParameterType::EQUATION
,
4572 EnhancedCustomShapeParameterType::EQUATION
,
4573 EnhancedCustomShapeParameterType::EQUATION
,
4577 EnhancedCustomShapeParameterType::EQUATION
,
4578 EnhancedCustomShapeParameterType::EQUATION
,
4582 EnhancedCustomShapeParameterType::EQUATION
,
4583 EnhancedCustomShapeParameterType::EQUATION
,
4587 EnhancedCustomShapeParameterType::EQUATION
,
4588 EnhancedCustomShapeParameterType::EQUATION
,
4592 EnhancedCustomShapeParameterType::EQUATION
,
4593 EnhancedCustomShapeParameterType::EQUATION
,
4597 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
4600 aPropSequence
[1].Name
= "Segments";
4601 static const sal_uInt16 nValues
[] = {
4608 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
4611 aPropSequence
[2].Name
= "TextFrames";
4612 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
4614 EnhancedCustomShapeTextFrame aTextFrame
;
4616 static const CustomShapeProvider::ParameterPairData aData
=
4618 EnhancedCustomShapeParameterType::NORMAL
,
4619 EnhancedCustomShapeParameterType::NORMAL
,
4622 aTextFrame
.TopLeft
= createParameterPair(&aData
);
4625 static const CustomShapeProvider::ParameterPairData aData
=
4627 EnhancedCustomShapeParameterType::EQUATION
,
4628 EnhancedCustomShapeParameterType::EQUATION
,
4631 aTextFrame
.BottomRight
= createParameterPair(&aData
);
4633 aTextFrameSeq
[0] = aTextFrame
;
4635 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
4637 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
4640 awt::Rectangle aRectangle
;
4643 aRectangle
.Width
= 0;
4644 aRectangle
.Height
= 0;
4645 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
4647 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-curvedConnector5");
4649 return aPropertyMap
;
4652 class ShapeChorizontalScroll
: public CustomShapeProvider
4654 virtual PropertyMap
getProperties()
4656 PropertyMap aPropertyMap
;
4659 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (1);
4661 Any
aAny ((sal_Int32
) 12500);
4662 aAdjSequence
[0].Value
= aAny
;
4663 aAdjSequence
[0].Name
= "adj";
4665 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
4668 static const char *aStrings
[] = {
4669 "if(0-$0 ,0,if(25000-$0 ,$0 ,25000))",
4670 "min(logwidth,logheight)",
4685 "(5400000)/60000.0",
4687 "(10800000)/60000.0",
4688 "(16200000)/60000.0",
4689 "(-5400000)/60000.0",
4690 "(10800000)/60000.0",
4691 "(-10800000)/60000.0",
4692 "(5400000)/60000.0",
4693 "(-5400000)/60000.0",
4694 "(5400000)/60000.0",
4695 "(-5400000)/60000.0",
4697 "(-10800000)/60000.0",
4698 "(5400000)/60000.0",
4699 "(-5400000)/60000.0",
4701 "(-10800000)/60000.0",
4702 "(5400000)/60000.0",
4703 "(-16200000)/60000.0",
4704 "(10800000)/60000.0",
4705 "(-10800000)/60000.0",
4706 "(10800000)/60000.0",
4707 "(5400000)/60000.0",
4708 "(10800000)/60000.0",
4709 "(10800000)/60000.0",
4711 "(5400000)/60000.0",
4713 "(10800000)/60000.0",
4714 "(5400000)/60000.0",
4715 "(-5400000)/60000.0",
4717 "(10800000)/60000.0",
4718 "(10800000)/60000.0",
4719 "(10800000)/60000.0",
4721 "(10800000)/60000.0"
4723 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
4726 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
4728 Sequence
< PropertyValue
> aPropSequence (4);
4730 aPropSequence
[0].Name
= "Position";
4731 static const CustomShapeProvider::ParameterPairData aData
=
4733 EnhancedCustomShapeParameterType::EQUATION
,
4734 EnhancedCustomShapeParameterType::NORMAL
,
4737 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
4740 aPropSequence
[1].Name
= "RangeXMaximum";
4741 EnhancedCustomShapeParameter aParameter
;
4742 Any
aAny ((sal_Int32
) 25000);
4743 aParameter
.Value
= aAny
;
4744 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4745 aPropSequence
[1].Value
= makeAny (aParameter
);
4748 aPropSequence
[2].Name
= "RangeXMinimum";
4749 EnhancedCustomShapeParameter aParameter
;
4750 Any
aAny ((sal_Int32
) 0);
4751 aParameter
.Value
= aAny
;
4752 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
4753 aPropSequence
[2].Value
= makeAny (aParameter
);
4756 aPropSequence
[3].Name
= "RefX";
4757 Any
aAny ((sal_Int32
) 0);
4758 aPropSequence
[3].Value
= makeAny (aAny
);
4760 aPropSequenceSequence
[0] = aPropSequence
;
4762 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
4765 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
4768 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
4771 Sequence
< PropertyValue
> aPropSequence (3);
4773 aPropSequence
[0].Name
= "Coordinates";
4774 static const CustomShapeProvider::ParameterPairData aData
[] = {
4776 EnhancedCustomShapeParameterType::EQUATION
,
4777 EnhancedCustomShapeParameterType::EQUATION
,
4781 EnhancedCustomShapeParameterType::EQUATION
,
4782 EnhancedCustomShapeParameterType::EQUATION
,
4786 EnhancedCustomShapeParameterType::EQUATION
,
4787 EnhancedCustomShapeParameterType::EQUATION
,
4791 EnhancedCustomShapeParameterType::EQUATION
,
4792 EnhancedCustomShapeParameterType::EQUATION
,
4796 EnhancedCustomShapeParameterType::EQUATION
,
4797 EnhancedCustomShapeParameterType::EQUATION
,
4801 EnhancedCustomShapeParameterType::EQUATION
,
4802 EnhancedCustomShapeParameterType::EQUATION
,
4806 EnhancedCustomShapeParameterType::EQUATION
,
4807 EnhancedCustomShapeParameterType::EQUATION
,
4811 EnhancedCustomShapeParameterType::EQUATION
,
4812 EnhancedCustomShapeParameterType::EQUATION
,
4816 EnhancedCustomShapeParameterType::EQUATION
,
4817 EnhancedCustomShapeParameterType::EQUATION
,
4821 EnhancedCustomShapeParameterType::EQUATION
,
4822 EnhancedCustomShapeParameterType::EQUATION
,
4826 EnhancedCustomShapeParameterType::NORMAL
,
4827 EnhancedCustomShapeParameterType::EQUATION
,
4831 EnhancedCustomShapeParameterType::EQUATION
,
4832 EnhancedCustomShapeParameterType::EQUATION
,
4836 EnhancedCustomShapeParameterType::EQUATION
,
4837 EnhancedCustomShapeParameterType::EQUATION
,
4841 EnhancedCustomShapeParameterType::EQUATION
,
4842 EnhancedCustomShapeParameterType::EQUATION
,
4846 EnhancedCustomShapeParameterType::EQUATION
,
4847 EnhancedCustomShapeParameterType::EQUATION
,
4851 EnhancedCustomShapeParameterType::EQUATION
,
4852 EnhancedCustomShapeParameterType::EQUATION
,
4856 EnhancedCustomShapeParameterType::EQUATION
,
4857 EnhancedCustomShapeParameterType::EQUATION
,
4861 EnhancedCustomShapeParameterType::EQUATION
,
4862 EnhancedCustomShapeParameterType::EQUATION
,
4866 EnhancedCustomShapeParameterType::EQUATION
,
4867 EnhancedCustomShapeParameterType::EQUATION
,
4871 EnhancedCustomShapeParameterType::EQUATION
,
4872 EnhancedCustomShapeParameterType::EQUATION
,
4876 EnhancedCustomShapeParameterType::EQUATION
,
4877 EnhancedCustomShapeParameterType::EQUATION
,
4881 EnhancedCustomShapeParameterType::EQUATION
,
4882 EnhancedCustomShapeParameterType::EQUATION
,
4886 EnhancedCustomShapeParameterType::EQUATION
,
4887 EnhancedCustomShapeParameterType::EQUATION
,
4891 EnhancedCustomShapeParameterType::EQUATION
,
4892 EnhancedCustomShapeParameterType::EQUATION
,
4896 EnhancedCustomShapeParameterType::EQUATION
,
4897 EnhancedCustomShapeParameterType::EQUATION
,
4901 EnhancedCustomShapeParameterType::EQUATION
,
4902 EnhancedCustomShapeParameterType::EQUATION
,
4906 EnhancedCustomShapeParameterType::EQUATION
,
4907 EnhancedCustomShapeParameterType::EQUATION
,
4911 EnhancedCustomShapeParameterType::EQUATION
,
4912 EnhancedCustomShapeParameterType::EQUATION
,
4916 EnhancedCustomShapeParameterType::EQUATION
,
4917 EnhancedCustomShapeParameterType::EQUATION
,
4921 EnhancedCustomShapeParameterType::EQUATION
,
4922 EnhancedCustomShapeParameterType::EQUATION
,
4926 EnhancedCustomShapeParameterType::EQUATION
,
4927 EnhancedCustomShapeParameterType::EQUATION
,
4931 EnhancedCustomShapeParameterType::EQUATION
,
4932 EnhancedCustomShapeParameterType::EQUATION
,
4936 EnhancedCustomShapeParameterType::NORMAL
,
4937 EnhancedCustomShapeParameterType::EQUATION
,
4941 EnhancedCustomShapeParameterType::EQUATION
,
4942 EnhancedCustomShapeParameterType::EQUATION
,
4946 EnhancedCustomShapeParameterType::EQUATION
,
4947 EnhancedCustomShapeParameterType::EQUATION
,
4951 EnhancedCustomShapeParameterType::EQUATION
,
4952 EnhancedCustomShapeParameterType::EQUATION
,
4956 EnhancedCustomShapeParameterType::EQUATION
,
4957 EnhancedCustomShapeParameterType::EQUATION
,
4961 EnhancedCustomShapeParameterType::EQUATION
,
4962 EnhancedCustomShapeParameterType::EQUATION
,
4966 EnhancedCustomShapeParameterType::EQUATION
,
4967 EnhancedCustomShapeParameterType::EQUATION
,
4971 EnhancedCustomShapeParameterType::EQUATION
,
4972 EnhancedCustomShapeParameterType::EQUATION
,
4976 EnhancedCustomShapeParameterType::EQUATION
,
4977 EnhancedCustomShapeParameterType::EQUATION
,
4981 EnhancedCustomShapeParameterType::EQUATION
,
4982 EnhancedCustomShapeParameterType::EQUATION
,
4986 EnhancedCustomShapeParameterType::EQUATION
,
4987 EnhancedCustomShapeParameterType::EQUATION
,
4991 EnhancedCustomShapeParameterType::EQUATION
,
4992 EnhancedCustomShapeParameterType::EQUATION
,
4996 EnhancedCustomShapeParameterType::EQUATION
,
4997 EnhancedCustomShapeParameterType::EQUATION
,
5001 EnhancedCustomShapeParameterType::EQUATION
,
5002 EnhancedCustomShapeParameterType::EQUATION
,
5006 EnhancedCustomShapeParameterType::EQUATION
,
5007 EnhancedCustomShapeParameterType::EQUATION
,
5011 EnhancedCustomShapeParameterType::EQUATION
,
5012 EnhancedCustomShapeParameterType::EQUATION
,
5016 EnhancedCustomShapeParameterType::EQUATION
,
5017 EnhancedCustomShapeParameterType::EQUATION
,
5021 EnhancedCustomShapeParameterType::EQUATION
,
5022 EnhancedCustomShapeParameterType::EQUATION
,
5026 EnhancedCustomShapeParameterType::EQUATION
,
5027 EnhancedCustomShapeParameterType::EQUATION
,
5031 EnhancedCustomShapeParameterType::EQUATION
,
5032 EnhancedCustomShapeParameterType::EQUATION
,
5036 EnhancedCustomShapeParameterType::EQUATION
,
5037 EnhancedCustomShapeParameterType::EQUATION
,
5041 EnhancedCustomShapeParameterType::EQUATION
,
5042 EnhancedCustomShapeParameterType::EQUATION
,
5046 EnhancedCustomShapeParameterType::EQUATION
,
5047 EnhancedCustomShapeParameterType::EQUATION
,
5051 EnhancedCustomShapeParameterType::EQUATION
,
5052 EnhancedCustomShapeParameterType::EQUATION
,
5056 EnhancedCustomShapeParameterType::EQUATION
,
5057 EnhancedCustomShapeParameterType::EQUATION
,
5061 EnhancedCustomShapeParameterType::EQUATION
,
5062 EnhancedCustomShapeParameterType::EQUATION
,
5066 EnhancedCustomShapeParameterType::EQUATION
,
5067 EnhancedCustomShapeParameterType::EQUATION
,
5071 EnhancedCustomShapeParameterType::EQUATION
,
5072 EnhancedCustomShapeParameterType::EQUATION
,
5076 EnhancedCustomShapeParameterType::EQUATION
,
5077 EnhancedCustomShapeParameterType::EQUATION
,
5081 EnhancedCustomShapeParameterType::EQUATION
,
5082 EnhancedCustomShapeParameterType::EQUATION
,
5086 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
5089 aPropSequence
[1].Name
= "Segments";
5090 static const sal_uInt16 nValues
[] = {
5140 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
5143 aPropSequence
[2].Name
= "TextFrames";
5144 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
5146 EnhancedCustomShapeTextFrame aTextFrame
;
5148 static const CustomShapeProvider::ParameterPairData aData
=
5150 EnhancedCustomShapeParameterType::EQUATION
,
5151 EnhancedCustomShapeParameterType::EQUATION
,
5154 aTextFrame
.TopLeft
= createParameterPair(&aData
);
5157 static const CustomShapeProvider::ParameterPairData aData
=
5159 EnhancedCustomShapeParameterType::EQUATION
,
5160 EnhancedCustomShapeParameterType::EQUATION
,
5163 aTextFrame
.BottomRight
= createParameterPair(&aData
);
5165 aTextFrameSeq
[0] = aTextFrame
;
5167 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
5169 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
5172 awt::Rectangle aRectangle
;
5175 aRectangle
.Width
= 0;
5176 aRectangle
.Height
= 0;
5177 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
5179 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-horizontalScroll");
5181 return aPropertyMap
;
5184 class ShapeCbentConnector4
: public CustomShapeProvider
5186 virtual PropertyMap
getProperties()
5188 PropertyMap aPropertyMap
;
5191 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
5193 Any
aAny ((sal_Int32
) 50000);
5194 aAdjSequence
[0].Value
= aAny
;
5195 aAdjSequence
[0].Name
= "adj1";
5198 Any
aAny ((sal_Int32
) 50000);
5199 aAdjSequence
[1].Value
= aAny
;
5200 aAdjSequence
[1].Name
= "adj2";
5202 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
5205 static const char *aStrings
[] = {
5206 "logwidth*$0 /100000",
5208 "logheight*$1 /100000",
5213 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
5216 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (2);
5218 Sequence
< PropertyValue
> aPropSequence (4);
5220 aPropSequence
[0].Name
= "Position";
5221 static const CustomShapeProvider::ParameterPairData aData
=
5223 EnhancedCustomShapeParameterType::EQUATION
,
5224 EnhancedCustomShapeParameterType::EQUATION
,
5227 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5230 aPropSequence
[1].Name
= "RangeXMaximum";
5231 EnhancedCustomShapeParameter aParameter
;
5232 Any
aAny ((sal_Int32
) 2147483647);
5233 aParameter
.Value
= aAny
;
5234 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5235 aPropSequence
[1].Value
= makeAny (aParameter
);
5238 aPropSequence
[2].Name
= "RangeXMinimum";
5239 EnhancedCustomShapeParameter aParameter
;
5240 Any
aAny ((sal_Int32
) -2147483647);
5241 aParameter
.Value
= aAny
;
5242 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5243 aPropSequence
[2].Value
= makeAny (aParameter
);
5246 aPropSequence
[3].Name
= "RefX";
5247 Any
aAny ((sal_Int32
) 0);
5248 aPropSequence
[3].Value
= makeAny (aAny
);
5250 aPropSequenceSequence
[0] = aPropSequence
;
5253 Sequence
< PropertyValue
> aPropSequence (4);
5255 aPropSequence
[0].Name
= "Position";
5256 static const CustomShapeProvider::ParameterPairData aData
=
5258 EnhancedCustomShapeParameterType::EQUATION
,
5259 EnhancedCustomShapeParameterType::EQUATION
,
5262 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5265 aPropSequence
[1].Name
= "RangeYMaximum";
5266 EnhancedCustomShapeParameter aParameter
;
5267 Any
aAny ((sal_Int32
) 2147483647);
5268 aParameter
.Value
= aAny
;
5269 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5270 aPropSequence
[1].Value
= makeAny (aParameter
);
5273 aPropSequence
[2].Name
= "RangeYMinimum";
5274 EnhancedCustomShapeParameter aParameter
;
5275 Any
aAny ((sal_Int32
) -2147483647);
5276 aParameter
.Value
= aAny
;
5277 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5278 aPropSequence
[2].Value
= makeAny (aParameter
);
5281 aPropSequence
[3].Name
= "RefY";
5282 Any
aAny ((sal_Int32
) 1);
5283 aPropSequence
[3].Value
= makeAny (aAny
);
5285 aPropSequenceSequence
[1] = aPropSequence
;
5287 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
5290 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
5293 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
5296 Sequence
< PropertyValue
> aPropSequence (3);
5298 aPropSequence
[0].Name
= "Coordinates";
5299 static const CustomShapeProvider::ParameterPairData aData
[] = {
5301 EnhancedCustomShapeParameterType::NORMAL
,
5302 EnhancedCustomShapeParameterType::NORMAL
,
5306 EnhancedCustomShapeParameterType::EQUATION
,
5307 EnhancedCustomShapeParameterType::NORMAL
,
5311 EnhancedCustomShapeParameterType::EQUATION
,
5312 EnhancedCustomShapeParameterType::EQUATION
,
5316 EnhancedCustomShapeParameterType::EQUATION
,
5317 EnhancedCustomShapeParameterType::EQUATION
,
5321 EnhancedCustomShapeParameterType::EQUATION
,
5322 EnhancedCustomShapeParameterType::EQUATION
,
5326 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
5329 aPropSequence
[1].Name
= "Segments";
5330 static const sal_uInt16 nValues
[] = {
5337 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
5340 aPropSequence
[2].Name
= "TextFrames";
5341 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
5343 EnhancedCustomShapeTextFrame aTextFrame
;
5345 static const CustomShapeProvider::ParameterPairData aData
=
5347 EnhancedCustomShapeParameterType::NORMAL
,
5348 EnhancedCustomShapeParameterType::NORMAL
,
5351 aTextFrame
.TopLeft
= createParameterPair(&aData
);
5354 static const CustomShapeProvider::ParameterPairData aData
=
5356 EnhancedCustomShapeParameterType::EQUATION
,
5357 EnhancedCustomShapeParameterType::EQUATION
,
5360 aTextFrame
.BottomRight
= createParameterPair(&aData
);
5362 aTextFrameSeq
[0] = aTextFrame
;
5364 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
5366 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
5369 awt::Rectangle aRectangle
;
5372 aRectangle
.Width
= 0;
5373 aRectangle
.Height
= 0;
5374 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
5376 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-bentConnector4");
5378 return aPropertyMap
;
5381 class ShapeCleftRightCircularArrow
: public CustomShapeProvider
5383 virtual PropertyMap
getProperties()
5385 PropertyMap aPropertyMap
;
5388 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (5);
5390 Any
aAny ((sal_Int32
) 12500);
5391 aAdjSequence
[0].Value
= aAny
;
5392 aAdjSequence
[0].Name
= "adj1";
5395 Any
aAny ((sal_Int32
) 1142319);
5396 aAdjSequence
[1].Value
= aAny
;
5397 aAdjSequence
[1].Name
= "adj2";
5400 Any
aAny ((sal_Int32
) 20457681);
5401 aAdjSequence
[2].Value
= aAny
;
5402 aAdjSequence
[2].Name
= "adj3";
5405 Any
aAny ((sal_Int32
) 11942319);
5406 aAdjSequence
[3].Value
= aAny
;
5407 aAdjSequence
[3].Name
= "adj4";
5410 Any
aAny ((sal_Int32
) 12500);
5411 aAdjSequence
[4].Value
= aAny
;
5412 aAdjSequence
[4].Name
= "adj5";
5414 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
5417 static const char *aStrings
[] = {
5418 "if(0-$4 ,0,if(25000-$4 ,$4 ,25000))",
5420 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
5421 "if(1-$2 ,1,if(21599999-$2 ,$2 ,21599999))",
5422 "if(0-$3 ,0,if(21599999-$3 ,$3 ,21599999))",
5423 "min(logwidth,logheight)",
5435 "?15 *sin(pi*(?3 )/10800000)",
5436 "?16 *cos(pi*(?3 )/10800000)",
5437 "?15 *(cos(atan2(?17 ,?18 )))",
5438 "?16 *(sin(atan2(?17 ,?18 )))",
5456 "(10800000*atan2(?37 ,1))/pi",
5458 "if(?38 ,?38 ,?39 )",
5461 "if(?41 ,?41 ,?42 )",
5464 "if(?44 ,?45 ,?43 )",
5466 "if(0-$1 ,0,if(?47 -$1 ,$1 ,?47 ))",
5468 "?15 *sin(pi*(?49 )/10800000)",
5469 "?16 *cos(pi*(?49 )/10800000)",
5470 "?15 *(cos(atan2(?50 ,?51 )))",
5471 "?16 *(sin(atan2(?50 ,?51 )))",
5474 "?7 *cos(pi*(?49 )/10800000)",
5475 "?7 *sin(pi*(?49 )/10800000)",
5478 "?7 *cos(pi*(?49 )/10800000)",
5479 "?7 *sin(pi*(?49 )/10800000)",
5493 "sqrt(?73 *?73 +?74 *?74 +0*0)",
5522 "sqrt(?100 *?100 +?102 *?102 +0*0)",
5523 "sqrt(?101 *?101 +?103 *?103 +0*0)",
5525 "if(?106 ,?91 ,?93 )",
5526 "if(?106 ,?97 ,?99 )",
5537 "sqrt(?117 *?117 +?118 *?118 +0*0)",
5551 "(?132 +?131 )/?124 ",
5557 "(?138 +?137 )/?124 ",
5564 "sqrt(?142 *?142 +?144 *?144 +0*0)",
5565 "sqrt(?143 *?143 +?145 *?145 +0*0)",
5567 "if(?148 ,?133 ,?135 )",
5568 "if(?148 ,?139 ,?141 )",
5573 "?15 *sin(pi*(?4 )/10800000)",
5574 "?16 *cos(pi*(?4 )/10800000)",
5575 "?15 *(cos(atan2(?155 ,?156 )))",
5576 "?16 *(sin(atan2(?155 ,?156 )))",
5580 "?15 *sin(pi*(?161 )/10800000)",
5581 "?16 *cos(pi*(?161 )/10800000)",
5582 "?15 *(cos(atan2(?162 ,?163 )))",
5583 "?16 *(sin(atan2(?162 ,?163 )))",
5586 "?7 *cos(pi*(?161 )/10800000)",
5587 "?7 *sin(pi*(?161 )/10800000)",
5590 "?7 *cos(pi*(?161 )/10800000)",
5591 "?7 *sin(pi*(?161 )/10800000)",
5596 "sqrt(?176 *?176 +?177 *?177 +0*0)",
5599 "if(?180 ,?111 ,?58 )",
5600 "if(?180 ,?112 ,?59 )",
5601 "if(?180 ,?153 ,?62 )",
5602 "if(?180 ,?154 ,?63 )",
5603 "(10800000*atan2(?110 ,?109 ))/pi",
5605 "if(?185 ,?185 ,?186 )",
5608 "if(?188 ,?188 ,?189 )",
5611 "if(?191 ,?191 ,?192 )",
5614 "if(?194 ,?194 ,?195 )",
5615 "(10800000*atan2(?152 ,?151 ))/pi",
5617 "if(?197 ,?197 ,?198 )",
5620 "if(?200 ,?201 ,?200 )",
5623 "if(?204 ,?204 ,?203 )",
5626 "if(?206 ,?207 ,?206 )",
5627 "?10 *sin(pi*(?193 )/10800000)",
5628 "?12 *cos(pi*(?193 )/10800000)",
5629 "?10 *(cos(atan2(?209 ,?210 )))",
5630 "?12 *(sin(atan2(?209 ,?210 )))",
5633 "?13 *sin(pi*(?205 )/10800000)",
5634 "?14 *cos(pi*(?205 )/10800000)",
5635 "?13 *(cos(atan2(?215 ,?216 )))",
5636 "?14 *(sin(atan2(?215 ,?216 )))",
5639 "if(?180 ,?213 ,?170 )",
5640 "if(?180 ,?214 ,?171 )",
5641 "if(?180 ,?219 ,?174 )",
5642 "if(?180 ,?220 ,?175 )",
5647 "?10 *cos(pi*(2700000)/10800000)",
5648 "?12 *sin(pi*(2700000)/10800000)",
5658 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
5661 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (4);
5663 Sequence
< PropertyValue
> aPropSequence (1);
5665 aPropSequence
[0].Name
= "Position";
5666 static const CustomShapeProvider::ParameterPairData aData
=
5668 EnhancedCustomShapeParameterType::EQUATION
,
5669 EnhancedCustomShapeParameterType::EQUATION
,
5672 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5674 aPropSequenceSequence
[0] = aPropSequence
;
5677 Sequence
< PropertyValue
> aPropSequence (1);
5679 aPropSequence
[0].Name
= "Position";
5680 static const CustomShapeProvider::ParameterPairData aData
=
5682 EnhancedCustomShapeParameterType::EQUATION
,
5683 EnhancedCustomShapeParameterType::EQUATION
,
5686 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5688 aPropSequenceSequence
[1] = aPropSequence
;
5691 Sequence
< PropertyValue
> aPropSequence (3);
5693 aPropSequence
[0].Name
= "Position";
5694 static const CustomShapeProvider::ParameterPairData aData
=
5696 EnhancedCustomShapeParameterType::EQUATION
,
5697 EnhancedCustomShapeParameterType::EQUATION
,
5700 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5703 aPropSequence
[1].Name
= "RadiusRangeMaximum";
5704 EnhancedCustomShapeParameter aParameter
;
5705 Any
aAny ((sal_Int32
) 1);
5706 aParameter
.Value
= aAny
;
5707 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
5708 aPropSequence
[1].Value
= makeAny (aParameter
);
5711 aPropSequence
[2].Name
= "RadiusRangeMinimum";
5712 EnhancedCustomShapeParameter aParameter
;
5713 Any
aAny ((sal_Int32
) 0);
5714 aParameter
.Value
= aAny
;
5715 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5716 aPropSequence
[2].Value
= makeAny (aParameter
);
5718 aPropSequenceSequence
[2] = aPropSequence
;
5721 Sequence
< PropertyValue
> aPropSequence (3);
5723 aPropSequence
[0].Name
= "Position";
5724 static const CustomShapeProvider::ParameterPairData aData
=
5726 EnhancedCustomShapeParameterType::EQUATION
,
5727 EnhancedCustomShapeParameterType::EQUATION
,
5730 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5733 aPropSequence
[1].Name
= "RadiusRangeMaximum";
5734 EnhancedCustomShapeParameter aParameter
;
5735 Any
aAny ((sal_Int32
) 25000);
5736 aParameter
.Value
= aAny
;
5737 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5738 aPropSequence
[1].Value
= makeAny (aParameter
);
5741 aPropSequence
[2].Name
= "RadiusRangeMinimum";
5742 EnhancedCustomShapeParameter aParameter
;
5743 Any
aAny ((sal_Int32
) 0);
5744 aParameter
.Value
= aAny
;
5745 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5746 aPropSequence
[2].Value
= makeAny (aParameter
);
5748 aPropSequenceSequence
[3] = aPropSequence
;
5750 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
5753 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
5756 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
5759 Sequence
< PropertyValue
> aPropSequence (3);
5761 aPropSequence
[0].Name
= "Coordinates";
5762 static const CustomShapeProvider::ParameterPairData aData
[] = {
5764 EnhancedCustomShapeParameterType::EQUATION
,
5765 EnhancedCustomShapeParameterType::EQUATION
,
5769 EnhancedCustomShapeParameterType::EQUATION
,
5770 EnhancedCustomShapeParameterType::EQUATION
,
5774 EnhancedCustomShapeParameterType::EQUATION
,
5775 EnhancedCustomShapeParameterType::EQUATION
,
5779 EnhancedCustomShapeParameterType::EQUATION
,
5780 EnhancedCustomShapeParameterType::EQUATION
,
5784 EnhancedCustomShapeParameterType::EQUATION
,
5785 EnhancedCustomShapeParameterType::EQUATION
,
5789 EnhancedCustomShapeParameterType::EQUATION
,
5790 EnhancedCustomShapeParameterType::EQUATION
,
5794 EnhancedCustomShapeParameterType::EQUATION
,
5795 EnhancedCustomShapeParameterType::EQUATION
,
5799 EnhancedCustomShapeParameterType::EQUATION
,
5800 EnhancedCustomShapeParameterType::EQUATION
,
5804 EnhancedCustomShapeParameterType::EQUATION
,
5805 EnhancedCustomShapeParameterType::EQUATION
,
5809 EnhancedCustomShapeParameterType::EQUATION
,
5810 EnhancedCustomShapeParameterType::EQUATION
,
5814 EnhancedCustomShapeParameterType::EQUATION
,
5815 EnhancedCustomShapeParameterType::EQUATION
,
5819 EnhancedCustomShapeParameterType::EQUATION
,
5820 EnhancedCustomShapeParameterType::EQUATION
,
5824 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
5827 aPropSequence
[1].Name
= "Segments";
5828 static const sal_uInt16 nValues
[] = {
5839 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
5842 aPropSequence
[2].Name
= "TextFrames";
5843 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
5845 EnhancedCustomShapeTextFrame aTextFrame
;
5847 static const CustomShapeProvider::ParameterPairData aData
=
5849 EnhancedCustomShapeParameterType::EQUATION
,
5850 EnhancedCustomShapeParameterType::EQUATION
,
5853 aTextFrame
.TopLeft
= createParameterPair(&aData
);
5856 static const CustomShapeProvider::ParameterPairData aData
=
5858 EnhancedCustomShapeParameterType::EQUATION
,
5859 EnhancedCustomShapeParameterType::EQUATION
,
5862 aTextFrame
.BottomRight
= createParameterPair(&aData
);
5864 aTextFrameSeq
[0] = aTextFrame
;
5866 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
5868 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
5871 awt::Rectangle aRectangle
;
5874 aRectangle
.Width
= 0;
5875 aRectangle
.Height
= 0;
5876 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
5878 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-leftRightCircularArrow");
5880 return aPropertyMap
;
5883 class ShapeCwedgeRectCallout
: public CustomShapeProvider
5885 virtual PropertyMap
getProperties()
5887 PropertyMap aPropertyMap
;
5890 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
5892 Any
aAny ((sal_Int32
) -20833);
5893 aAdjSequence
[0].Value
= aAny
;
5894 aAdjSequence
[0].Name
= "adj1";
5897 Any
aAny ((sal_Int32
) 62500);
5898 aAdjSequence
[1].Value
= aAny
;
5899 aAdjSequence
[1].Name
= "adj2";
5901 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
5904 static const char *aStrings
[] = {
5905 "logwidth*$0 /100000",
5906 "logheight*$1 /100000",
5913 "?0 *logheight/logwidth",
5923 "logheight*?16 /12",
5924 "logheight*?17 /12",
5928 "if(?11 ,?22 ,?14 )",
5929 "if(?0 ,?3 ,logwidth)",
5930 "if(?11 ,logwidth,?24 )",
5932 "if(?11 ,?26 ,?14 )",
5934 "if(?11 ,?18 ,?28 )",
5938 "if(?11 ,?18 ,?32 )",
5939 "if(?1 ,?5 ,logheight)",
5940 "if(?11 ,?34 ,logheight)",
5944 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
5947 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
5949 Sequence
< PropertyValue
> aPropSequence (7);
5951 aPropSequence
[0].Name
= "Position";
5952 static const CustomShapeProvider::ParameterPairData aData
=
5954 EnhancedCustomShapeParameterType::EQUATION
,
5955 EnhancedCustomShapeParameterType::EQUATION
,
5958 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
5961 aPropSequence
[1].Name
= "RangeXMaximum";
5962 EnhancedCustomShapeParameter aParameter
;
5963 Any
aAny ((sal_Int32
) 2147483647);
5964 aParameter
.Value
= aAny
;
5965 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5966 aPropSequence
[1].Value
= makeAny (aParameter
);
5969 aPropSequence
[2].Name
= "RangeXMinimum";
5970 EnhancedCustomShapeParameter aParameter
;
5971 Any
aAny ((sal_Int32
) -2147483647);
5972 aParameter
.Value
= aAny
;
5973 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5974 aPropSequence
[2].Value
= makeAny (aParameter
);
5977 aPropSequence
[3].Name
= "RangeYMaximum";
5978 EnhancedCustomShapeParameter aParameter
;
5979 Any
aAny ((sal_Int32
) 2147483647);
5980 aParameter
.Value
= aAny
;
5981 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5982 aPropSequence
[3].Value
= makeAny (aParameter
);
5985 aPropSequence
[4].Name
= "RangeYMinimum";
5986 EnhancedCustomShapeParameter aParameter
;
5987 Any
aAny ((sal_Int32
) -2147483647);
5988 aParameter
.Value
= aAny
;
5989 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
5990 aPropSequence
[4].Value
= makeAny (aParameter
);
5993 aPropSequence
[5].Name
= "RefX";
5994 Any
aAny ((sal_Int32
) 0);
5995 aPropSequence
[5].Value
= makeAny (aAny
);
5998 aPropSequence
[6].Name
= "RefY";
5999 Any
aAny ((sal_Int32
) 1);
6000 aPropSequence
[6].Value
= makeAny (aAny
);
6002 aPropSequenceSequence
[0] = aPropSequence
;
6004 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
6007 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
6010 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
6013 Sequence
< PropertyValue
> aPropSequence (3);
6015 aPropSequence
[0].Name
= "Coordinates";
6016 static const CustomShapeProvider::ParameterPairData aData
[] = {
6018 EnhancedCustomShapeParameterType::NORMAL
,
6019 EnhancedCustomShapeParameterType::NORMAL
,
6023 EnhancedCustomShapeParameterType::EQUATION
,
6024 EnhancedCustomShapeParameterType::NORMAL
,
6028 EnhancedCustomShapeParameterType::EQUATION
,
6029 EnhancedCustomShapeParameterType::EQUATION
,
6033 EnhancedCustomShapeParameterType::EQUATION
,
6034 EnhancedCustomShapeParameterType::NORMAL
,
6038 EnhancedCustomShapeParameterType::EQUATION
,
6039 EnhancedCustomShapeParameterType::NORMAL
,
6043 EnhancedCustomShapeParameterType::EQUATION
,
6044 EnhancedCustomShapeParameterType::EQUATION
,
6048 EnhancedCustomShapeParameterType::EQUATION
,
6049 EnhancedCustomShapeParameterType::EQUATION
,
6053 EnhancedCustomShapeParameterType::EQUATION
,
6054 EnhancedCustomShapeParameterType::EQUATION
,
6058 EnhancedCustomShapeParameterType::EQUATION
,
6059 EnhancedCustomShapeParameterType::EQUATION
,
6063 EnhancedCustomShapeParameterType::EQUATION
,
6064 EnhancedCustomShapeParameterType::EQUATION
,
6068 EnhancedCustomShapeParameterType::EQUATION
,
6069 EnhancedCustomShapeParameterType::EQUATION
,
6073 EnhancedCustomShapeParameterType::EQUATION
,
6074 EnhancedCustomShapeParameterType::EQUATION
,
6078 EnhancedCustomShapeParameterType::NORMAL
,
6079 EnhancedCustomShapeParameterType::EQUATION
,
6083 EnhancedCustomShapeParameterType::NORMAL
,
6084 EnhancedCustomShapeParameterType::EQUATION
,
6088 EnhancedCustomShapeParameterType::EQUATION
,
6089 EnhancedCustomShapeParameterType::EQUATION
,
6093 EnhancedCustomShapeParameterType::NORMAL
,
6094 EnhancedCustomShapeParameterType::EQUATION
,
6098 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
6101 aPropSequence
[1].Name
= "Segments";
6102 static const sal_uInt16 nValues
[] = {
6109 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
6112 aPropSequence
[2].Name
= "TextFrames";
6113 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
6115 EnhancedCustomShapeTextFrame aTextFrame
;
6117 static const CustomShapeProvider::ParameterPairData aData
=
6119 EnhancedCustomShapeParameterType::NORMAL
,
6120 EnhancedCustomShapeParameterType::NORMAL
,
6123 aTextFrame
.TopLeft
= createParameterPair(&aData
);
6126 static const CustomShapeProvider::ParameterPairData aData
=
6128 EnhancedCustomShapeParameterType::EQUATION
,
6129 EnhancedCustomShapeParameterType::EQUATION
,
6132 aTextFrame
.BottomRight
= createParameterPair(&aData
);
6134 aTextFrameSeq
[0] = aTextFrame
;
6136 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
6138 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
6141 awt::Rectangle aRectangle
;
6144 aRectangle
.Width
= 0;
6145 aRectangle
.Height
= 0;
6146 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
6148 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-wedgeRectCallout");
6150 return aPropertyMap
;
6153 class ShapeCaccentCallout2
: public CustomShapeProvider
6155 virtual PropertyMap
getProperties()
6157 PropertyMap aPropertyMap
;
6160 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (6);
6162 Any
aAny ((sal_Int32
) 18750);
6163 aAdjSequence
[0].Value
= aAny
;
6164 aAdjSequence
[0].Name
= "adj1";
6167 Any
aAny ((sal_Int32
) -8333);
6168 aAdjSequence
[1].Value
= aAny
;
6169 aAdjSequence
[1].Name
= "adj2";
6172 Any
aAny ((sal_Int32
) 18750);
6173 aAdjSequence
[2].Value
= aAny
;
6174 aAdjSequence
[2].Name
= "adj3";
6177 Any
aAny ((sal_Int32
) -16667);
6178 aAdjSequence
[3].Value
= aAny
;
6179 aAdjSequence
[3].Name
= "adj4";
6182 Any
aAny ((sal_Int32
) 112500);
6183 aAdjSequence
[4].Value
= aAny
;
6184 aAdjSequence
[4].Name
= "adj5";
6187 Any
aAny ((sal_Int32
) -46667);
6188 aAdjSequence
[5].Value
= aAny
;
6189 aAdjSequence
[5].Name
= "adj6";
6191 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
6194 static const char *aStrings
[] = {
6195 "logheight*$0 /100000",
6196 "logwidth*$1 /100000",
6197 "logheight*$2 /100000",
6198 "logwidth*$3 /100000",
6199 "logheight*$4 /100000",
6200 "logwidth*$5 /100000",
6206 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
6209 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (3);
6211 Sequence
< PropertyValue
> aPropSequence (7);
6213 aPropSequence
[0].Name
= "Position";
6214 static const CustomShapeProvider::ParameterPairData aData
=
6216 EnhancedCustomShapeParameterType::EQUATION
,
6217 EnhancedCustomShapeParameterType::EQUATION
,
6220 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
6223 aPropSequence
[1].Name
= "RangeXMaximum";
6224 EnhancedCustomShapeParameter aParameter
;
6225 Any
aAny ((sal_Int32
) 2147483647);
6226 aParameter
.Value
= aAny
;
6227 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6228 aPropSequence
[1].Value
= makeAny (aParameter
);
6231 aPropSequence
[2].Name
= "RangeXMinimum";
6232 EnhancedCustomShapeParameter aParameter
;
6233 Any
aAny ((sal_Int32
) -2147483647);
6234 aParameter
.Value
= aAny
;
6235 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6236 aPropSequence
[2].Value
= makeAny (aParameter
);
6239 aPropSequence
[3].Name
= "RangeYMaximum";
6240 EnhancedCustomShapeParameter aParameter
;
6241 Any
aAny ((sal_Int32
) 2147483647);
6242 aParameter
.Value
= aAny
;
6243 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6244 aPropSequence
[3].Value
= makeAny (aParameter
);
6247 aPropSequence
[4].Name
= "RangeYMinimum";
6248 EnhancedCustomShapeParameter aParameter
;
6249 Any
aAny ((sal_Int32
) -2147483647);
6250 aParameter
.Value
= aAny
;
6251 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6252 aPropSequence
[4].Value
= makeAny (aParameter
);
6255 aPropSequence
[5].Name
= "RefX";
6256 Any
aAny ((sal_Int32
) 1);
6257 aPropSequence
[5].Value
= makeAny (aAny
);
6260 aPropSequence
[6].Name
= "RefY";
6261 Any
aAny ((sal_Int32
) 0);
6262 aPropSequence
[6].Value
= makeAny (aAny
);
6264 aPropSequenceSequence
[0] = aPropSequence
;
6267 Sequence
< PropertyValue
> aPropSequence (7);
6269 aPropSequence
[0].Name
= "Position";
6270 static const CustomShapeProvider::ParameterPairData aData
=
6272 EnhancedCustomShapeParameterType::EQUATION
,
6273 EnhancedCustomShapeParameterType::EQUATION
,
6276 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
6279 aPropSequence
[1].Name
= "RangeXMaximum";
6280 EnhancedCustomShapeParameter aParameter
;
6281 Any
aAny ((sal_Int32
) 2147483647);
6282 aParameter
.Value
= aAny
;
6283 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6284 aPropSequence
[1].Value
= makeAny (aParameter
);
6287 aPropSequence
[2].Name
= "RangeXMinimum";
6288 EnhancedCustomShapeParameter aParameter
;
6289 Any
aAny ((sal_Int32
) -2147483647);
6290 aParameter
.Value
= aAny
;
6291 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6292 aPropSequence
[2].Value
= makeAny (aParameter
);
6295 aPropSequence
[3].Name
= "RangeYMaximum";
6296 EnhancedCustomShapeParameter aParameter
;
6297 Any
aAny ((sal_Int32
) 2147483647);
6298 aParameter
.Value
= aAny
;
6299 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6300 aPropSequence
[3].Value
= makeAny (aParameter
);
6303 aPropSequence
[4].Name
= "RangeYMinimum";
6304 EnhancedCustomShapeParameter aParameter
;
6305 Any
aAny ((sal_Int32
) -2147483647);
6306 aParameter
.Value
= aAny
;
6307 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6308 aPropSequence
[4].Value
= makeAny (aParameter
);
6311 aPropSequence
[5].Name
= "RefX";
6312 Any
aAny ((sal_Int32
) 3);
6313 aPropSequence
[5].Value
= makeAny (aAny
);
6316 aPropSequence
[6].Name
= "RefY";
6317 Any
aAny ((sal_Int32
) 2);
6318 aPropSequence
[6].Value
= makeAny (aAny
);
6320 aPropSequenceSequence
[1] = aPropSequence
;
6323 Sequence
< PropertyValue
> aPropSequence (7);
6325 aPropSequence
[0].Name
= "Position";
6326 static const CustomShapeProvider::ParameterPairData aData
=
6328 EnhancedCustomShapeParameterType::EQUATION
,
6329 EnhancedCustomShapeParameterType::EQUATION
,
6332 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
6335 aPropSequence
[1].Name
= "RangeXMaximum";
6336 EnhancedCustomShapeParameter aParameter
;
6337 Any
aAny ((sal_Int32
) 2147483647);
6338 aParameter
.Value
= aAny
;
6339 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6340 aPropSequence
[1].Value
= makeAny (aParameter
);
6343 aPropSequence
[2].Name
= "RangeXMinimum";
6344 EnhancedCustomShapeParameter aParameter
;
6345 Any
aAny ((sal_Int32
) -2147483647);
6346 aParameter
.Value
= aAny
;
6347 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6348 aPropSequence
[2].Value
= makeAny (aParameter
);
6351 aPropSequence
[3].Name
= "RangeYMaximum";
6352 EnhancedCustomShapeParameter aParameter
;
6353 Any
aAny ((sal_Int32
) 2147483647);
6354 aParameter
.Value
= aAny
;
6355 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6356 aPropSequence
[3].Value
= makeAny (aParameter
);
6359 aPropSequence
[4].Name
= "RangeYMinimum";
6360 EnhancedCustomShapeParameter aParameter
;
6361 Any
aAny ((sal_Int32
) -2147483647);
6362 aParameter
.Value
= aAny
;
6363 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6364 aPropSequence
[4].Value
= makeAny (aParameter
);
6367 aPropSequence
[5].Name
= "RefX";
6368 Any
aAny ((sal_Int32
) 5);
6369 aPropSequence
[5].Value
= makeAny (aAny
);
6372 aPropSequence
[6].Name
= "RefY";
6373 Any
aAny ((sal_Int32
) 4);
6374 aPropSequence
[6].Value
= makeAny (aAny
);
6376 aPropSequenceSequence
[2] = aPropSequence
;
6378 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
6381 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
6384 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
6387 Sequence
< PropertyValue
> aPropSequence (3);
6389 aPropSequence
[0].Name
= "Coordinates";
6390 static const CustomShapeProvider::ParameterPairData aData
[] = {
6392 EnhancedCustomShapeParameterType::NORMAL
,
6393 EnhancedCustomShapeParameterType::NORMAL
,
6397 EnhancedCustomShapeParameterType::EQUATION
,
6398 EnhancedCustomShapeParameterType::NORMAL
,
6402 EnhancedCustomShapeParameterType::EQUATION
,
6403 EnhancedCustomShapeParameterType::EQUATION
,
6407 EnhancedCustomShapeParameterType::NORMAL
,
6408 EnhancedCustomShapeParameterType::EQUATION
,
6412 EnhancedCustomShapeParameterType::EQUATION
,
6413 EnhancedCustomShapeParameterType::NORMAL
,
6417 EnhancedCustomShapeParameterType::EQUATION
,
6418 EnhancedCustomShapeParameterType::EQUATION
,
6422 EnhancedCustomShapeParameterType::EQUATION
,
6423 EnhancedCustomShapeParameterType::EQUATION
,
6427 EnhancedCustomShapeParameterType::EQUATION
,
6428 EnhancedCustomShapeParameterType::EQUATION
,
6432 EnhancedCustomShapeParameterType::EQUATION
,
6433 EnhancedCustomShapeParameterType::EQUATION
,
6437 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
6440 aPropSequence
[1].Name
= "Segments";
6441 static const sal_uInt16 nValues
[] = {
6457 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
6460 aPropSequence
[2].Name
= "TextFrames";
6461 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
6463 EnhancedCustomShapeTextFrame aTextFrame
;
6465 static const CustomShapeProvider::ParameterPairData aData
=
6467 EnhancedCustomShapeParameterType::NORMAL
,
6468 EnhancedCustomShapeParameterType::NORMAL
,
6471 aTextFrame
.TopLeft
= createParameterPair(&aData
);
6474 static const CustomShapeProvider::ParameterPairData aData
=
6476 EnhancedCustomShapeParameterType::EQUATION
,
6477 EnhancedCustomShapeParameterType::EQUATION
,
6480 aTextFrame
.BottomRight
= createParameterPair(&aData
);
6482 aTextFrameSeq
[0] = aTextFrame
;
6484 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
6486 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
6489 awt::Rectangle aRectangle
;
6492 aRectangle
.Width
= 0;
6493 aRectangle
.Height
= 0;
6494 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
6496 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-accentCallout2");
6498 return aPropertyMap
;
6501 class ShapeCflowChartMagneticDrum
: public CustomShapeProvider
6503 virtual PropertyMap
getProperties()
6505 PropertyMap aPropertyMap
;
6508 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
6511 static const char *aStrings
[] = {
6518 "(16200000)/60000.0",
6519 "(10800000)/60000.0",
6520 "(5400000)/60000.0",
6521 "(10800000)/60000.0",
6522 "(5400000)/60000.0",
6523 "(10800000)/60000.0",
6524 "(16200000)/60000.0",
6525 "(10800000)/60000.0",
6526 "(5400000)/60000.0",
6527 "(10800000)/60000.0"
6529 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
6532 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
6535 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
6538 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
6541 Sequence
< PropertyValue
> aPropSequence (4);
6543 aPropSequence
[0].Name
= "Coordinates";
6544 static const CustomShapeProvider::ParameterPairData aData
[] = {
6546 EnhancedCustomShapeParameterType::NORMAL
,
6547 EnhancedCustomShapeParameterType::NORMAL
,
6551 EnhancedCustomShapeParameterType::NORMAL
,
6552 EnhancedCustomShapeParameterType::NORMAL
,
6556 EnhancedCustomShapeParameterType::NORMAL
,
6557 EnhancedCustomShapeParameterType::NORMAL
,
6561 EnhancedCustomShapeParameterType::EQUATION
,
6562 EnhancedCustomShapeParameterType::EQUATION
,
6566 EnhancedCustomShapeParameterType::NORMAL
,
6567 EnhancedCustomShapeParameterType::NORMAL
,
6571 EnhancedCustomShapeParameterType::NORMAL
,
6572 EnhancedCustomShapeParameterType::NORMAL
,
6576 EnhancedCustomShapeParameterType::EQUATION
,
6577 EnhancedCustomShapeParameterType::EQUATION
,
6581 EnhancedCustomShapeParameterType::NORMAL
,
6582 EnhancedCustomShapeParameterType::NORMAL
,
6586 EnhancedCustomShapeParameterType::NORMAL
,
6587 EnhancedCustomShapeParameterType::NORMAL
,
6591 EnhancedCustomShapeParameterType::EQUATION
,
6592 EnhancedCustomShapeParameterType::EQUATION
,
6596 EnhancedCustomShapeParameterType::NORMAL
,
6597 EnhancedCustomShapeParameterType::NORMAL
,
6601 EnhancedCustomShapeParameterType::NORMAL
,
6602 EnhancedCustomShapeParameterType::NORMAL
,
6606 EnhancedCustomShapeParameterType::NORMAL
,
6607 EnhancedCustomShapeParameterType::NORMAL
,
6611 EnhancedCustomShapeParameterType::EQUATION
,
6612 EnhancedCustomShapeParameterType::EQUATION
,
6616 EnhancedCustomShapeParameterType::NORMAL
,
6617 EnhancedCustomShapeParameterType::NORMAL
,
6621 EnhancedCustomShapeParameterType::NORMAL
,
6622 EnhancedCustomShapeParameterType::NORMAL
,
6626 EnhancedCustomShapeParameterType::EQUATION
,
6627 EnhancedCustomShapeParameterType::EQUATION
,
6631 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
6634 aPropSequence
[1].Name
= "Segments";
6635 static const sal_uInt16 nValues
[] = {
6658 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
6661 aPropSequence
[2].Name
= "SubViewSize";
6662 Sequence
< awt::Size
> aSizeSequence (3);
6667 aSizeSequence
[0] = aSize
;
6673 aSizeSequence
[1] = aSize
;
6679 aSizeSequence
[2] = aSize
;
6681 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
6684 aPropSequence
[3].Name
= "TextFrames";
6685 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
6687 EnhancedCustomShapeTextFrame aTextFrame
;
6689 static const CustomShapeProvider::ParameterPairData aData
=
6691 EnhancedCustomShapeParameterType::EQUATION
,
6692 EnhancedCustomShapeParameterType::NORMAL
,
6695 aTextFrame
.TopLeft
= createParameterPair(&aData
);
6698 static const CustomShapeProvider::ParameterPairData aData
=
6700 EnhancedCustomShapeParameterType::EQUATION
,
6701 EnhancedCustomShapeParameterType::EQUATION
,
6704 aTextFrame
.BottomRight
= createParameterPair(&aData
);
6706 aTextFrameSeq
[0] = aTextFrame
;
6708 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
6710 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
6713 awt::Rectangle aRectangle
;
6716 aRectangle
.Width
= 0;
6717 aRectangle
.Height
= 0;
6718 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
6720 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartMagneticDrum");
6722 return aPropertyMap
;
6725 class ShapeCcorner
: public CustomShapeProvider
6727 virtual PropertyMap
getProperties()
6729 PropertyMap aPropertyMap
;
6732 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
6734 Any
aAny ((sal_Int32
) 50000);
6735 aAdjSequence
[0].Value
= aAny
;
6736 aAdjSequence
[0].Name
= "adj1";
6739 Any
aAny ((sal_Int32
) 50000);
6740 aAdjSequence
[1].Value
= aAny
;
6741 aAdjSequence
[1].Name
= "adj2";
6743 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
6746 static const char *aStrings
[] = {
6747 "min(logwidth,logheight)",
6748 "100000*logheight/?0 ",
6749 "100000*logwidth/?0 ",
6750 "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
6751 "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))",
6756 "(?7 +logheight)/2",
6757 "logwidth+0-logheight",
6759 "if(?10 ,logwidth,?5 )",
6765 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
6768 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (2);
6770 Sequence
< PropertyValue
> aPropSequence (4);
6772 aPropSequence
[0].Name
= "Position";
6773 static const CustomShapeProvider::ParameterPairData aData
=
6775 EnhancedCustomShapeParameterType::NORMAL
,
6776 EnhancedCustomShapeParameterType::EQUATION
,
6779 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
6782 aPropSequence
[1].Name
= "RangeYMaximum";
6783 EnhancedCustomShapeParameter aParameter
;
6784 Any
aAny ((sal_Int32
) 1);
6785 aParameter
.Value
= aAny
;
6786 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
6787 aPropSequence
[1].Value
= makeAny (aParameter
);
6790 aPropSequence
[2].Name
= "RangeYMinimum";
6791 EnhancedCustomShapeParameter aParameter
;
6792 Any
aAny ((sal_Int32
) 0);
6793 aParameter
.Value
= aAny
;
6794 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6795 aPropSequence
[2].Value
= makeAny (aParameter
);
6798 aPropSequence
[3].Name
= "RefY";
6799 Any
aAny ((sal_Int32
) 0);
6800 aPropSequence
[3].Value
= makeAny (aAny
);
6802 aPropSequenceSequence
[0] = aPropSequence
;
6805 Sequence
< PropertyValue
> aPropSequence (4);
6807 aPropSequence
[0].Name
= "Position";
6808 static const CustomShapeProvider::ParameterPairData aData
=
6810 EnhancedCustomShapeParameterType::EQUATION
,
6811 EnhancedCustomShapeParameterType::NORMAL
,
6814 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
6817 aPropSequence
[1].Name
= "RangeXMaximum";
6818 EnhancedCustomShapeParameter aParameter
;
6819 Any
aAny ((sal_Int32
) 2);
6820 aParameter
.Value
= aAny
;
6821 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
6822 aPropSequence
[1].Value
= makeAny (aParameter
);
6825 aPropSequence
[2].Name
= "RangeXMinimum";
6826 EnhancedCustomShapeParameter aParameter
;
6827 Any
aAny ((sal_Int32
) 0);
6828 aParameter
.Value
= aAny
;
6829 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
6830 aPropSequence
[2].Value
= makeAny (aParameter
);
6833 aPropSequence
[3].Name
= "RefX";
6834 Any
aAny ((sal_Int32
) 1);
6835 aPropSequence
[3].Value
= makeAny (aAny
);
6837 aPropSequenceSequence
[1] = aPropSequence
;
6839 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
6842 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
6845 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
6848 Sequence
< PropertyValue
> aPropSequence (3);
6850 aPropSequence
[0].Name
= "Coordinates";
6851 static const CustomShapeProvider::ParameterPairData aData
[] = {
6853 EnhancedCustomShapeParameterType::NORMAL
,
6854 EnhancedCustomShapeParameterType::NORMAL
,
6858 EnhancedCustomShapeParameterType::EQUATION
,
6859 EnhancedCustomShapeParameterType::NORMAL
,
6863 EnhancedCustomShapeParameterType::EQUATION
,
6864 EnhancedCustomShapeParameterType::EQUATION
,
6868 EnhancedCustomShapeParameterType::EQUATION
,
6869 EnhancedCustomShapeParameterType::EQUATION
,
6873 EnhancedCustomShapeParameterType::EQUATION
,
6874 EnhancedCustomShapeParameterType::EQUATION
,
6878 EnhancedCustomShapeParameterType::NORMAL
,
6879 EnhancedCustomShapeParameterType::EQUATION
,
6883 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
6886 aPropSequence
[1].Name
= "Segments";
6887 static const sal_uInt16 nValues
[] = {
6894 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
6897 aPropSequence
[2].Name
= "TextFrames";
6898 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
6900 EnhancedCustomShapeTextFrame aTextFrame
;
6902 static const CustomShapeProvider::ParameterPairData aData
=
6904 EnhancedCustomShapeParameterType::NORMAL
,
6905 EnhancedCustomShapeParameterType::EQUATION
,
6908 aTextFrame
.TopLeft
= createParameterPair(&aData
);
6911 static const CustomShapeProvider::ParameterPairData aData
=
6913 EnhancedCustomShapeParameterType::EQUATION
,
6914 EnhancedCustomShapeParameterType::EQUATION
,
6917 aTextFrame
.BottomRight
= createParameterPair(&aData
);
6919 aTextFrameSeq
[0] = aTextFrame
;
6921 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
6923 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
6926 awt::Rectangle aRectangle
;
6929 aRectangle
.Width
= 0;
6930 aRectangle
.Height
= 0;
6931 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
6933 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-corner");
6935 return aPropertyMap
;
6938 class ShapeCborderCallout2
: public CustomShapeProvider
6940 virtual PropertyMap
getProperties()
6942 PropertyMap aPropertyMap
;
6945 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (6);
6947 Any
aAny ((sal_Int32
) 18750);
6948 aAdjSequence
[0].Value
= aAny
;
6949 aAdjSequence
[0].Name
= "adj1";
6952 Any
aAny ((sal_Int32
) -8333);
6953 aAdjSequence
[1].Value
= aAny
;
6954 aAdjSequence
[1].Name
= "adj2";
6957 Any
aAny ((sal_Int32
) 18750);
6958 aAdjSequence
[2].Value
= aAny
;
6959 aAdjSequence
[2].Name
= "adj3";
6962 Any
aAny ((sal_Int32
) -16667);
6963 aAdjSequence
[3].Value
= aAny
;
6964 aAdjSequence
[3].Name
= "adj4";
6967 Any
aAny ((sal_Int32
) 112500);
6968 aAdjSequence
[4].Value
= aAny
;
6969 aAdjSequence
[4].Name
= "adj5";
6972 Any
aAny ((sal_Int32
) -46667);
6973 aAdjSequence
[5].Value
= aAny
;
6974 aAdjSequence
[5].Name
= "adj6";
6976 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
6979 static const char *aStrings
[] = {
6980 "logheight*$0 /100000",
6981 "logwidth*$1 /100000",
6982 "logheight*$2 /100000",
6983 "logwidth*$3 /100000",
6984 "logheight*$4 /100000",
6985 "logwidth*$5 /100000",
6991 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
6994 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (3);
6996 Sequence
< PropertyValue
> aPropSequence (7);
6998 aPropSequence
[0].Name
= "Position";
6999 static const CustomShapeProvider::ParameterPairData aData
=
7001 EnhancedCustomShapeParameterType::EQUATION
,
7002 EnhancedCustomShapeParameterType::EQUATION
,
7005 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7008 aPropSequence
[1].Name
= "RangeXMaximum";
7009 EnhancedCustomShapeParameter aParameter
;
7010 Any
aAny ((sal_Int32
) 2147483647);
7011 aParameter
.Value
= aAny
;
7012 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7013 aPropSequence
[1].Value
= makeAny (aParameter
);
7016 aPropSequence
[2].Name
= "RangeXMinimum";
7017 EnhancedCustomShapeParameter aParameter
;
7018 Any
aAny ((sal_Int32
) -2147483647);
7019 aParameter
.Value
= aAny
;
7020 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7021 aPropSequence
[2].Value
= makeAny (aParameter
);
7024 aPropSequence
[3].Name
= "RangeYMaximum";
7025 EnhancedCustomShapeParameter aParameter
;
7026 Any
aAny ((sal_Int32
) 2147483647);
7027 aParameter
.Value
= aAny
;
7028 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7029 aPropSequence
[3].Value
= makeAny (aParameter
);
7032 aPropSequence
[4].Name
= "RangeYMinimum";
7033 EnhancedCustomShapeParameter aParameter
;
7034 Any
aAny ((sal_Int32
) -2147483647);
7035 aParameter
.Value
= aAny
;
7036 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7037 aPropSequence
[4].Value
= makeAny (aParameter
);
7040 aPropSequence
[5].Name
= "RefX";
7041 Any
aAny ((sal_Int32
) 1);
7042 aPropSequence
[5].Value
= makeAny (aAny
);
7045 aPropSequence
[6].Name
= "RefY";
7046 Any
aAny ((sal_Int32
) 0);
7047 aPropSequence
[6].Value
= makeAny (aAny
);
7049 aPropSequenceSequence
[0] = aPropSequence
;
7052 Sequence
< PropertyValue
> aPropSequence (7);
7054 aPropSequence
[0].Name
= "Position";
7055 static const CustomShapeProvider::ParameterPairData aData
=
7057 EnhancedCustomShapeParameterType::EQUATION
,
7058 EnhancedCustomShapeParameterType::EQUATION
,
7061 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7064 aPropSequence
[1].Name
= "RangeXMaximum";
7065 EnhancedCustomShapeParameter aParameter
;
7066 Any
aAny ((sal_Int32
) 2147483647);
7067 aParameter
.Value
= aAny
;
7068 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7069 aPropSequence
[1].Value
= makeAny (aParameter
);
7072 aPropSequence
[2].Name
= "RangeXMinimum";
7073 EnhancedCustomShapeParameter aParameter
;
7074 Any
aAny ((sal_Int32
) -2147483647);
7075 aParameter
.Value
= aAny
;
7076 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7077 aPropSequence
[2].Value
= makeAny (aParameter
);
7080 aPropSequence
[3].Name
= "RangeYMaximum";
7081 EnhancedCustomShapeParameter aParameter
;
7082 Any
aAny ((sal_Int32
) 2147483647);
7083 aParameter
.Value
= aAny
;
7084 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7085 aPropSequence
[3].Value
= makeAny (aParameter
);
7088 aPropSequence
[4].Name
= "RangeYMinimum";
7089 EnhancedCustomShapeParameter aParameter
;
7090 Any
aAny ((sal_Int32
) -2147483647);
7091 aParameter
.Value
= aAny
;
7092 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7093 aPropSequence
[4].Value
= makeAny (aParameter
);
7096 aPropSequence
[5].Name
= "RefX";
7097 Any
aAny ((sal_Int32
) 3);
7098 aPropSequence
[5].Value
= makeAny (aAny
);
7101 aPropSequence
[6].Name
= "RefY";
7102 Any
aAny ((sal_Int32
) 2);
7103 aPropSequence
[6].Value
= makeAny (aAny
);
7105 aPropSequenceSequence
[1] = aPropSequence
;
7108 Sequence
< PropertyValue
> aPropSequence (7);
7110 aPropSequence
[0].Name
= "Position";
7111 static const CustomShapeProvider::ParameterPairData aData
=
7113 EnhancedCustomShapeParameterType::EQUATION
,
7114 EnhancedCustomShapeParameterType::EQUATION
,
7117 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7120 aPropSequence
[1].Name
= "RangeXMaximum";
7121 EnhancedCustomShapeParameter aParameter
;
7122 Any
aAny ((sal_Int32
) 2147483647);
7123 aParameter
.Value
= aAny
;
7124 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7125 aPropSequence
[1].Value
= makeAny (aParameter
);
7128 aPropSequence
[2].Name
= "RangeXMinimum";
7129 EnhancedCustomShapeParameter aParameter
;
7130 Any
aAny ((sal_Int32
) -2147483647);
7131 aParameter
.Value
= aAny
;
7132 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7133 aPropSequence
[2].Value
= makeAny (aParameter
);
7136 aPropSequence
[3].Name
= "RangeYMaximum";
7137 EnhancedCustomShapeParameter aParameter
;
7138 Any
aAny ((sal_Int32
) 2147483647);
7139 aParameter
.Value
= aAny
;
7140 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7141 aPropSequence
[3].Value
= makeAny (aParameter
);
7144 aPropSequence
[4].Name
= "RangeYMinimum";
7145 EnhancedCustomShapeParameter aParameter
;
7146 Any
aAny ((sal_Int32
) -2147483647);
7147 aParameter
.Value
= aAny
;
7148 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7149 aPropSequence
[4].Value
= makeAny (aParameter
);
7152 aPropSequence
[5].Name
= "RefX";
7153 Any
aAny ((sal_Int32
) 5);
7154 aPropSequence
[5].Value
= makeAny (aAny
);
7157 aPropSequence
[6].Name
= "RefY";
7158 Any
aAny ((sal_Int32
) 4);
7159 aPropSequence
[6].Value
= makeAny (aAny
);
7161 aPropSequenceSequence
[2] = aPropSequence
;
7163 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
7166 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
7169 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
7172 Sequence
< PropertyValue
> aPropSequence (3);
7174 aPropSequence
[0].Name
= "Coordinates";
7175 static const CustomShapeProvider::ParameterPairData aData
[] = {
7177 EnhancedCustomShapeParameterType::NORMAL
,
7178 EnhancedCustomShapeParameterType::NORMAL
,
7182 EnhancedCustomShapeParameterType::EQUATION
,
7183 EnhancedCustomShapeParameterType::NORMAL
,
7187 EnhancedCustomShapeParameterType::EQUATION
,
7188 EnhancedCustomShapeParameterType::EQUATION
,
7192 EnhancedCustomShapeParameterType::NORMAL
,
7193 EnhancedCustomShapeParameterType::EQUATION
,
7197 EnhancedCustomShapeParameterType::EQUATION
,
7198 EnhancedCustomShapeParameterType::EQUATION
,
7202 EnhancedCustomShapeParameterType::EQUATION
,
7203 EnhancedCustomShapeParameterType::EQUATION
,
7207 EnhancedCustomShapeParameterType::EQUATION
,
7208 EnhancedCustomShapeParameterType::EQUATION
,
7212 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
7215 aPropSequence
[1].Name
= "Segments";
7216 static const sal_uInt16 nValues
[] = {
7227 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
7230 aPropSequence
[2].Name
= "TextFrames";
7231 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
7233 EnhancedCustomShapeTextFrame aTextFrame
;
7235 static const CustomShapeProvider::ParameterPairData aData
=
7237 EnhancedCustomShapeParameterType::NORMAL
,
7238 EnhancedCustomShapeParameterType::NORMAL
,
7241 aTextFrame
.TopLeft
= createParameterPair(&aData
);
7244 static const CustomShapeProvider::ParameterPairData aData
=
7246 EnhancedCustomShapeParameterType::EQUATION
,
7247 EnhancedCustomShapeParameterType::EQUATION
,
7250 aTextFrame
.BottomRight
= createParameterPair(&aData
);
7252 aTextFrameSeq
[0] = aTextFrame
;
7254 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
7256 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
7259 awt::Rectangle aRectangle
;
7262 aRectangle
.Width
= 0;
7263 aRectangle
.Height
= 0;
7264 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
7266 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-borderCallout2");
7268 return aPropertyMap
;
7271 class ShapeCdonut
: public CustomShapeProvider
7273 virtual PropertyMap
getProperties()
7275 PropertyMap aPropertyMap
;
7278 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (1);
7280 Any
aAny ((sal_Int32
) 25000);
7281 aAdjSequence
[0].Value
= aAny
;
7282 aAdjSequence
[0].Name
= "adj";
7284 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
7287 static const char *aStrings
[] = {
7288 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
7289 "min(logwidth,logheight)",
7295 "?3 *cos(pi*(2700000)/10800000)",
7296 "?5 *sin(pi*(2700000)/10800000)",
7305 "(10800000)/60000.0",
7306 "(5400000)/60000.0",
7307 "(16200000)/60000.0",
7308 "(5400000)/60000.0",
7310 "(5400000)/60000.0",
7311 "(5400000)/60000.0",
7312 "(5400000)/60000.0",
7313 "(10800000)/60000.0",
7314 "(-5400000)/60000.0",
7315 "(5400000)/60000.0",
7316 "(-5400000)/60000.0",
7318 "(-5400000)/60000.0",
7319 "(16200000)/60000.0",
7320 "(-5400000)/60000.0"
7322 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
7325 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
7327 Sequence
< PropertyValue
> aPropSequence (3);
7329 aPropSequence
[0].Name
= "Position";
7330 static const CustomShapeProvider::ParameterPairData aData
=
7332 EnhancedCustomShapeParameterType::EQUATION
,
7333 EnhancedCustomShapeParameterType::EQUATION
,
7336 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7339 aPropSequence
[1].Name
= "RadiusRangeMaximum";
7340 EnhancedCustomShapeParameter aParameter
;
7341 Any
aAny ((sal_Int32
) 50000);
7342 aParameter
.Value
= aAny
;
7343 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7344 aPropSequence
[1].Value
= makeAny (aParameter
);
7347 aPropSequence
[2].Name
= "RadiusRangeMinimum";
7348 EnhancedCustomShapeParameter aParameter
;
7349 Any
aAny ((sal_Int32
) 0);
7350 aParameter
.Value
= aAny
;
7351 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7352 aPropSequence
[2].Value
= makeAny (aParameter
);
7354 aPropSequenceSequence
[0] = aPropSequence
;
7356 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
7359 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
7362 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
7365 Sequence
< PropertyValue
> aPropSequence (3);
7367 aPropSequence
[0].Name
= "Coordinates";
7368 static const CustomShapeProvider::ParameterPairData aData
[] = {
7370 EnhancedCustomShapeParameterType::NORMAL
,
7371 EnhancedCustomShapeParameterType::EQUATION
,
7375 EnhancedCustomShapeParameterType::EQUATION
,
7376 EnhancedCustomShapeParameterType::EQUATION
,
7380 EnhancedCustomShapeParameterType::EQUATION
,
7381 EnhancedCustomShapeParameterType::EQUATION
,
7385 EnhancedCustomShapeParameterType::EQUATION
,
7386 EnhancedCustomShapeParameterType::EQUATION
,
7390 EnhancedCustomShapeParameterType::EQUATION
,
7391 EnhancedCustomShapeParameterType::EQUATION
,
7395 EnhancedCustomShapeParameterType::EQUATION
,
7396 EnhancedCustomShapeParameterType::EQUATION
,
7400 EnhancedCustomShapeParameterType::EQUATION
,
7401 EnhancedCustomShapeParameterType::EQUATION
,
7405 EnhancedCustomShapeParameterType::EQUATION
,
7406 EnhancedCustomShapeParameterType::EQUATION
,
7410 EnhancedCustomShapeParameterType::EQUATION
,
7411 EnhancedCustomShapeParameterType::EQUATION
,
7415 EnhancedCustomShapeParameterType::EQUATION
,
7416 EnhancedCustomShapeParameterType::EQUATION
,
7420 EnhancedCustomShapeParameterType::EQUATION
,
7421 EnhancedCustomShapeParameterType::EQUATION
,
7425 EnhancedCustomShapeParameterType::EQUATION
,
7426 EnhancedCustomShapeParameterType::EQUATION
,
7430 EnhancedCustomShapeParameterType::EQUATION
,
7431 EnhancedCustomShapeParameterType::EQUATION
,
7435 EnhancedCustomShapeParameterType::EQUATION
,
7436 EnhancedCustomShapeParameterType::EQUATION
,
7440 EnhancedCustomShapeParameterType::EQUATION
,
7441 EnhancedCustomShapeParameterType::EQUATION
,
7445 EnhancedCustomShapeParameterType::EQUATION
,
7446 EnhancedCustomShapeParameterType::EQUATION
,
7450 EnhancedCustomShapeParameterType::EQUATION
,
7451 EnhancedCustomShapeParameterType::EQUATION
,
7455 EnhancedCustomShapeParameterType::EQUATION
,
7456 EnhancedCustomShapeParameterType::EQUATION
,
7460 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
7463 aPropSequence
[1].Name
= "Segments";
7464 static const sal_uInt16 nValues
[] = {
7474 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
7477 aPropSequence
[2].Name
= "TextFrames";
7478 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
7480 EnhancedCustomShapeTextFrame aTextFrame
;
7482 static const CustomShapeProvider::ParameterPairData aData
=
7484 EnhancedCustomShapeParameterType::EQUATION
,
7485 EnhancedCustomShapeParameterType::EQUATION
,
7488 aTextFrame
.TopLeft
= createParameterPair(&aData
);
7491 static const CustomShapeProvider::ParameterPairData aData
=
7493 EnhancedCustomShapeParameterType::EQUATION
,
7494 EnhancedCustomShapeParameterType::EQUATION
,
7497 aTextFrame
.BottomRight
= createParameterPair(&aData
);
7499 aTextFrameSeq
[0] = aTextFrame
;
7501 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
7503 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
7506 awt::Rectangle aRectangle
;
7509 aRectangle
.Width
= 0;
7510 aRectangle
.Height
= 0;
7511 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
7513 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-donut");
7515 return aPropertyMap
;
7518 class ShapeCflowChartCollate
: public CustomShapeProvider
7520 virtual PropertyMap
getProperties()
7522 PropertyMap aPropertyMap
;
7525 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
7528 static const char *aStrings
[] = {
7537 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
7540 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
7543 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
7546 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
7549 Sequence
< PropertyValue
> aPropSequence (4);
7551 aPropSequence
[0].Name
= "Coordinates";
7552 static const CustomShapeProvider::ParameterPairData aData
[] = {
7554 EnhancedCustomShapeParameterType::NORMAL
,
7555 EnhancedCustomShapeParameterType::NORMAL
,
7559 EnhancedCustomShapeParameterType::NORMAL
,
7560 EnhancedCustomShapeParameterType::NORMAL
,
7564 EnhancedCustomShapeParameterType::NORMAL
,
7565 EnhancedCustomShapeParameterType::NORMAL
,
7569 EnhancedCustomShapeParameterType::NORMAL
,
7570 EnhancedCustomShapeParameterType::NORMAL
,
7574 EnhancedCustomShapeParameterType::NORMAL
,
7575 EnhancedCustomShapeParameterType::NORMAL
,
7579 EnhancedCustomShapeParameterType::NORMAL
,
7580 EnhancedCustomShapeParameterType::NORMAL
,
7584 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
7587 aPropSequence
[1].Name
= "Segments";
7588 static const sal_uInt16 nValues
[] = {
7595 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
7598 aPropSequence
[2].Name
= "SubViewSize";
7599 Sequence
< awt::Size
> aSizeSequence (1);
7604 aSizeSequence
[0] = aSize
;
7606 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
7609 aPropSequence
[3].Name
= "TextFrames";
7610 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
7612 EnhancedCustomShapeTextFrame aTextFrame
;
7614 static const CustomShapeProvider::ParameterPairData aData
=
7616 EnhancedCustomShapeParameterType::EQUATION
,
7617 EnhancedCustomShapeParameterType::EQUATION
,
7620 aTextFrame
.TopLeft
= createParameterPair(&aData
);
7623 static const CustomShapeProvider::ParameterPairData aData
=
7625 EnhancedCustomShapeParameterType::EQUATION
,
7626 EnhancedCustomShapeParameterType::EQUATION
,
7629 aTextFrame
.BottomRight
= createParameterPair(&aData
);
7631 aTextFrameSeq
[0] = aTextFrame
;
7633 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
7635 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
7638 awt::Rectangle aRectangle
;
7641 aRectangle
.Width
= 0;
7642 aRectangle
.Height
= 0;
7643 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
7645 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartCollate");
7647 return aPropertyMap
;
7650 class ShapeCmathNotEqual
: public CustomShapeProvider
7652 virtual PropertyMap
getProperties()
7654 PropertyMap aPropertyMap
;
7657 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (3);
7659 Any
aAny ((sal_Int32
) 23520);
7660 aAdjSequence
[0].Value
= aAny
;
7661 aAdjSequence
[0].Name
= "adj1";
7664 Any
aAny ((sal_Int32
) 6600000);
7665 aAdjSequence
[1].Value
= aAny
;
7666 aAdjSequence
[1].Name
= "adj2";
7669 Any
aAny ((sal_Int32
) 11760);
7670 aAdjSequence
[2].Value
= aAny
;
7671 aAdjSequence
[2].Name
= "adj3";
7673 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
7676 static const char *aStrings
[] = {
7677 "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
7678 "if(4200000-$1 ,4200000,if(6600000-$1 ,$1 ,6600000))",
7681 "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))",
7682 "logheight*?0 /100000",
7683 "logheight*?4 /200000",
7684 "logwidth*73490/200000",
7695 "?17 *tan(pi*(?16 )/10800000)",
7696 "sqrt(?18 *?18 +?17 *?17 +0*0)",
7719 "if(?16 ,?40 ,?33 )",
7720 "if(?16 ,?22 ,?41 )",
7737 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
7740 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (3);
7742 Sequence
< PropertyValue
> aPropSequence (4);
7744 aPropSequence
[0].Name
= "Position";
7745 static const CustomShapeProvider::ParameterPairData aData
=
7747 EnhancedCustomShapeParameterType::NORMAL
,
7748 EnhancedCustomShapeParameterType::EQUATION
,
7751 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7754 aPropSequence
[1].Name
= "RangeYMaximum";
7755 EnhancedCustomShapeParameter aParameter
;
7756 Any
aAny ((sal_Int32
) 50000);
7757 aParameter
.Value
= aAny
;
7758 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7759 aPropSequence
[1].Value
= makeAny (aParameter
);
7762 aPropSequence
[2].Name
= "RangeYMinimum";
7763 EnhancedCustomShapeParameter aParameter
;
7764 Any
aAny ((sal_Int32
) 0);
7765 aParameter
.Value
= aAny
;
7766 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7767 aPropSequence
[2].Value
= makeAny (aParameter
);
7770 aPropSequence
[3].Name
= "RefY";
7771 Any
aAny ((sal_Int32
) 0);
7772 aPropSequence
[3].Value
= makeAny (aAny
);
7774 aPropSequenceSequence
[0] = aPropSequence
;
7777 Sequence
< PropertyValue
> aPropSequence (1);
7779 aPropSequence
[0].Name
= "Position";
7780 static const CustomShapeProvider::ParameterPairData aData
=
7782 EnhancedCustomShapeParameterType::EQUATION
,
7783 EnhancedCustomShapeParameterType::NORMAL
,
7786 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7788 aPropSequenceSequence
[1] = aPropSequence
;
7791 Sequence
< PropertyValue
> aPropSequence (4);
7793 aPropSequence
[0].Name
= "Position";
7794 static const CustomShapeProvider::ParameterPairData aData
=
7796 EnhancedCustomShapeParameterType::EQUATION
,
7797 EnhancedCustomShapeParameterType::EQUATION
,
7800 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
7803 aPropSequence
[1].Name
= "RangeYMaximum";
7804 EnhancedCustomShapeParameter aParameter
;
7805 Any
aAny ((sal_Int32
) 3);
7806 aParameter
.Value
= aAny
;
7807 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
7808 aPropSequence
[1].Value
= makeAny (aParameter
);
7811 aPropSequence
[2].Name
= "RangeYMinimum";
7812 EnhancedCustomShapeParameter aParameter
;
7813 Any
aAny ((sal_Int32
) 0);
7814 aParameter
.Value
= aAny
;
7815 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
7816 aPropSequence
[2].Value
= makeAny (aParameter
);
7819 aPropSequence
[3].Name
= "RefY";
7820 Any
aAny ((sal_Int32
) 2);
7821 aPropSequence
[3].Value
= makeAny (aAny
);
7823 aPropSequenceSequence
[2] = aPropSequence
;
7825 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
7828 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
7831 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
7834 Sequence
< PropertyValue
> aPropSequence (3);
7836 aPropSequence
[0].Name
= "Coordinates";
7837 static const CustomShapeProvider::ParameterPairData aData
[] = {
7839 EnhancedCustomShapeParameterType::EQUATION
,
7840 EnhancedCustomShapeParameterType::EQUATION
,
7844 EnhancedCustomShapeParameterType::EQUATION
,
7845 EnhancedCustomShapeParameterType::EQUATION
,
7849 EnhancedCustomShapeParameterType::EQUATION
,
7850 EnhancedCustomShapeParameterType::EQUATION
,
7854 EnhancedCustomShapeParameterType::EQUATION
,
7855 EnhancedCustomShapeParameterType::EQUATION
,
7859 EnhancedCustomShapeParameterType::EQUATION
,
7860 EnhancedCustomShapeParameterType::EQUATION
,
7864 EnhancedCustomShapeParameterType::EQUATION
,
7865 EnhancedCustomShapeParameterType::EQUATION
,
7869 EnhancedCustomShapeParameterType::EQUATION
,
7870 EnhancedCustomShapeParameterType::EQUATION
,
7874 EnhancedCustomShapeParameterType::EQUATION
,
7875 EnhancedCustomShapeParameterType::EQUATION
,
7879 EnhancedCustomShapeParameterType::EQUATION
,
7880 EnhancedCustomShapeParameterType::EQUATION
,
7884 EnhancedCustomShapeParameterType::EQUATION
,
7885 EnhancedCustomShapeParameterType::EQUATION
,
7889 EnhancedCustomShapeParameterType::EQUATION
,
7890 EnhancedCustomShapeParameterType::EQUATION
,
7894 EnhancedCustomShapeParameterType::EQUATION
,
7895 EnhancedCustomShapeParameterType::EQUATION
,
7899 EnhancedCustomShapeParameterType::EQUATION
,
7900 EnhancedCustomShapeParameterType::EQUATION
,
7904 EnhancedCustomShapeParameterType::EQUATION
,
7905 EnhancedCustomShapeParameterType::EQUATION
,
7909 EnhancedCustomShapeParameterType::EQUATION
,
7910 EnhancedCustomShapeParameterType::EQUATION
,
7914 EnhancedCustomShapeParameterType::EQUATION
,
7915 EnhancedCustomShapeParameterType::EQUATION
,
7919 EnhancedCustomShapeParameterType::EQUATION
,
7920 EnhancedCustomShapeParameterType::EQUATION
,
7924 EnhancedCustomShapeParameterType::EQUATION
,
7925 EnhancedCustomShapeParameterType::EQUATION
,
7929 EnhancedCustomShapeParameterType::EQUATION
,
7930 EnhancedCustomShapeParameterType::EQUATION
,
7934 EnhancedCustomShapeParameterType::EQUATION
,
7935 EnhancedCustomShapeParameterType::EQUATION
,
7939 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
7942 aPropSequence
[1].Name
= "Segments";
7943 static const sal_uInt16 nValues
[] = {
7950 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
7953 aPropSequence
[2].Name
= "TextFrames";
7954 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
7956 EnhancedCustomShapeTextFrame aTextFrame
;
7958 static const CustomShapeProvider::ParameterPairData aData
=
7960 EnhancedCustomShapeParameterType::EQUATION
,
7961 EnhancedCustomShapeParameterType::EQUATION
,
7964 aTextFrame
.TopLeft
= createParameterPair(&aData
);
7967 static const CustomShapeProvider::ParameterPairData aData
=
7969 EnhancedCustomShapeParameterType::EQUATION
,
7970 EnhancedCustomShapeParameterType::EQUATION
,
7973 aTextFrame
.BottomRight
= createParameterPair(&aData
);
7975 aTextFrameSeq
[0] = aTextFrame
;
7977 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
7979 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
7982 awt::Rectangle aRectangle
;
7985 aRectangle
.Width
= 0;
7986 aRectangle
.Height
= 0;
7987 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
7989 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-mathNotEqual");
7991 return aPropertyMap
;
7994 class ShapeCbentConnector2
: public CustomShapeProvider
7996 virtual PropertyMap
getProperties()
7998 PropertyMap aPropertyMap
;
8001 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
8004 static const char *aStrings
[] = {
8008 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8011 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
8014 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8017 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8020 Sequence
< PropertyValue
> aPropSequence (3);
8022 aPropSequence
[0].Name
= "Coordinates";
8023 static const CustomShapeProvider::ParameterPairData aData
[] = {
8025 EnhancedCustomShapeParameterType::NORMAL
,
8026 EnhancedCustomShapeParameterType::NORMAL
,
8030 EnhancedCustomShapeParameterType::EQUATION
,
8031 EnhancedCustomShapeParameterType::NORMAL
,
8035 EnhancedCustomShapeParameterType::EQUATION
,
8036 EnhancedCustomShapeParameterType::EQUATION
,
8040 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8043 aPropSequence
[1].Name
= "Segments";
8044 static const sal_uInt16 nValues
[] = {
8051 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8054 aPropSequence
[2].Name
= "TextFrames";
8055 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
8057 EnhancedCustomShapeTextFrame aTextFrame
;
8059 static const CustomShapeProvider::ParameterPairData aData
=
8061 EnhancedCustomShapeParameterType::NORMAL
,
8062 EnhancedCustomShapeParameterType::NORMAL
,
8065 aTextFrame
.TopLeft
= createParameterPair(&aData
);
8068 static const CustomShapeProvider::ParameterPairData aData
=
8070 EnhancedCustomShapeParameterType::EQUATION
,
8071 EnhancedCustomShapeParameterType::EQUATION
,
8074 aTextFrame
.BottomRight
= createParameterPair(&aData
);
8076 aTextFrameSeq
[0] = aTextFrame
;
8078 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
8080 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
8083 awt::Rectangle aRectangle
;
8086 aRectangle
.Width
= 0;
8087 aRectangle
.Height
= 0;
8088 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
8090 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-bentConnector2");
8092 return aPropertyMap
;
8095 class ShapeCmathMultiply
: public CustomShapeProvider
8097 virtual PropertyMap
getProperties()
8099 PropertyMap aPropertyMap
;
8102 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (1);
8104 Any
aAny ((sal_Int32
) 23520);
8105 aAdjSequence
[0].Value
= aAny
;
8106 aAdjSequence
[0].Name
= "adj1";
8108 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
8111 static const char *aStrings
[] = {
8112 "if(0-$0 ,0,if(51965-$0 ,$0 ,51965))",
8113 "min(logwidth,logheight)",
8115 "(10800000*atan2(logheight,logwidth))/pi",
8116 "1*sin(pi*(?3 )/10800000)",
8117 "1*cos(pi*(?3 )/10800000)",
8118 "1*tan(pi*(?3 )/10800000)",
8119 "sqrt(logwidth*logwidth+logheight*logheight+0*0)",
8147 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8150 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (1);
8152 Sequence
< PropertyValue
> aPropSequence (4);
8154 aPropSequence
[0].Name
= "Position";
8155 static const CustomShapeProvider::ParameterPairData aData
=
8157 EnhancedCustomShapeParameterType::NORMAL
,
8158 EnhancedCustomShapeParameterType::EQUATION
,
8161 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
8164 aPropSequence
[1].Name
= "RangeYMaximum";
8165 EnhancedCustomShapeParameter aParameter
;
8166 Any
aAny ((sal_Int32
) 51965);
8167 aParameter
.Value
= aAny
;
8168 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8169 aPropSequence
[1].Value
= makeAny (aParameter
);
8172 aPropSequence
[2].Name
= "RangeYMinimum";
8173 EnhancedCustomShapeParameter aParameter
;
8174 Any
aAny ((sal_Int32
) 0);
8175 aParameter
.Value
= aAny
;
8176 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8177 aPropSequence
[2].Value
= makeAny (aParameter
);
8180 aPropSequence
[3].Name
= "RefY";
8181 Any
aAny ((sal_Int32
) 0);
8182 aPropSequence
[3].Value
= makeAny (aAny
);
8184 aPropSequenceSequence
[0] = aPropSequence
;
8186 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
8189 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8192 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8195 Sequence
< PropertyValue
> aPropSequence (3);
8197 aPropSequence
[0].Name
= "Coordinates";
8198 static const CustomShapeProvider::ParameterPairData aData
[] = {
8200 EnhancedCustomShapeParameterType::EQUATION
,
8201 EnhancedCustomShapeParameterType::EQUATION
,
8205 EnhancedCustomShapeParameterType::EQUATION
,
8206 EnhancedCustomShapeParameterType::EQUATION
,
8210 EnhancedCustomShapeParameterType::EQUATION
,
8211 EnhancedCustomShapeParameterType::EQUATION
,
8215 EnhancedCustomShapeParameterType::EQUATION
,
8216 EnhancedCustomShapeParameterType::EQUATION
,
8220 EnhancedCustomShapeParameterType::EQUATION
,
8221 EnhancedCustomShapeParameterType::EQUATION
,
8225 EnhancedCustomShapeParameterType::EQUATION
,
8226 EnhancedCustomShapeParameterType::EQUATION
,
8230 EnhancedCustomShapeParameterType::EQUATION
,
8231 EnhancedCustomShapeParameterType::EQUATION
,
8235 EnhancedCustomShapeParameterType::EQUATION
,
8236 EnhancedCustomShapeParameterType::EQUATION
,
8240 EnhancedCustomShapeParameterType::EQUATION
,
8241 EnhancedCustomShapeParameterType::EQUATION
,
8245 EnhancedCustomShapeParameterType::EQUATION
,
8246 EnhancedCustomShapeParameterType::EQUATION
,
8250 EnhancedCustomShapeParameterType::EQUATION
,
8251 EnhancedCustomShapeParameterType::EQUATION
,
8255 EnhancedCustomShapeParameterType::EQUATION
,
8256 EnhancedCustomShapeParameterType::EQUATION
,
8260 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8263 aPropSequence
[1].Name
= "Segments";
8264 static const sal_uInt16 nValues
[] = {
8271 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8274 aPropSequence
[2].Name
= "TextFrames";
8275 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
8277 EnhancedCustomShapeTextFrame aTextFrame
;
8279 static const CustomShapeProvider::ParameterPairData aData
=
8281 EnhancedCustomShapeParameterType::EQUATION
,
8282 EnhancedCustomShapeParameterType::EQUATION
,
8285 aTextFrame
.TopLeft
= createParameterPair(&aData
);
8288 static const CustomShapeProvider::ParameterPairData aData
=
8290 EnhancedCustomShapeParameterType::EQUATION
,
8291 EnhancedCustomShapeParameterType::EQUATION
,
8294 aTextFrame
.BottomRight
= createParameterPair(&aData
);
8296 aTextFrameSeq
[0] = aTextFrame
;
8298 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
8300 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
8303 awt::Rectangle aRectangle
;
8306 aRectangle
.Width
= 0;
8307 aRectangle
.Height
= 0;
8308 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
8310 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-mathMultiply");
8312 return aPropertyMap
;
8315 class ShapeCheptagon
: public CustomShapeProvider
8317 virtual PropertyMap
getProperties()
8319 PropertyMap aPropertyMap
;
8322 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (2);
8324 Any
aAny ((sal_Int32
) 102572);
8325 aAdjSequence
[0].Value
= aAny
;
8326 aAdjSequence
[0].Name
= "hf";
8329 Any
aAny ((sal_Int32
) 105210);
8330 aAdjSequence
[1].Value
= aAny
;
8331 aAdjSequence
[1].Name
= "vf";
8333 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
8336 static const char *aStrings
[] = {
8361 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8364 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
8367 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8370 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8373 Sequence
< PropertyValue
> aPropSequence (3);
8375 aPropSequence
[0].Name
= "Coordinates";
8376 static const CustomShapeProvider::ParameterPairData aData
[] = {
8378 EnhancedCustomShapeParameterType::EQUATION
,
8379 EnhancedCustomShapeParameterType::EQUATION
,
8383 EnhancedCustomShapeParameterType::EQUATION
,
8384 EnhancedCustomShapeParameterType::EQUATION
,
8388 EnhancedCustomShapeParameterType::EQUATION
,
8389 EnhancedCustomShapeParameterType::NORMAL
,
8393 EnhancedCustomShapeParameterType::EQUATION
,
8394 EnhancedCustomShapeParameterType::EQUATION
,
8398 EnhancedCustomShapeParameterType::EQUATION
,
8399 EnhancedCustomShapeParameterType::EQUATION
,
8403 EnhancedCustomShapeParameterType::EQUATION
,
8404 EnhancedCustomShapeParameterType::EQUATION
,
8408 EnhancedCustomShapeParameterType::EQUATION
,
8409 EnhancedCustomShapeParameterType::EQUATION
,
8413 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8416 aPropSequence
[1].Name
= "Segments";
8417 static const sal_uInt16 nValues
[] = {
8424 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8427 aPropSequence
[2].Name
= "TextFrames";
8428 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
8430 EnhancedCustomShapeTextFrame aTextFrame
;
8432 static const CustomShapeProvider::ParameterPairData aData
=
8434 EnhancedCustomShapeParameterType::EQUATION
,
8435 EnhancedCustomShapeParameterType::EQUATION
,
8438 aTextFrame
.TopLeft
= createParameterPair(&aData
);
8441 static const CustomShapeProvider::ParameterPairData aData
=
8443 EnhancedCustomShapeParameterType::EQUATION
,
8444 EnhancedCustomShapeParameterType::EQUATION
,
8447 aTextFrame
.BottomRight
= createParameterPair(&aData
);
8449 aTextFrameSeq
[0] = aTextFrame
;
8451 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
8453 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
8456 awt::Rectangle aRectangle
;
8459 aRectangle
.Width
= 0;
8460 aRectangle
.Height
= 0;
8461 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
8463 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-heptagon");
8465 return aPropertyMap
;
8468 class ShapeCrect
: public CustomShapeProvider
8470 virtual PropertyMap
getProperties()
8472 PropertyMap aPropertyMap
;
8475 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
8478 static const char *aStrings
[] = {
8484 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8487 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
8490 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8493 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8496 Sequence
< PropertyValue
> aPropSequence (3);
8498 aPropSequence
[0].Name
= "Coordinates";
8499 static const CustomShapeProvider::ParameterPairData aData
[] = {
8501 EnhancedCustomShapeParameterType::NORMAL
,
8502 EnhancedCustomShapeParameterType::NORMAL
,
8506 EnhancedCustomShapeParameterType::EQUATION
,
8507 EnhancedCustomShapeParameterType::NORMAL
,
8511 EnhancedCustomShapeParameterType::EQUATION
,
8512 EnhancedCustomShapeParameterType::EQUATION
,
8516 EnhancedCustomShapeParameterType::NORMAL
,
8517 EnhancedCustomShapeParameterType::EQUATION
,
8521 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8524 aPropSequence
[1].Name
= "Segments";
8525 static const sal_uInt16 nValues
[] = {
8532 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8535 aPropSequence
[2].Name
= "TextFrames";
8536 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
8538 EnhancedCustomShapeTextFrame aTextFrame
;
8540 static const CustomShapeProvider::ParameterPairData aData
=
8542 EnhancedCustomShapeParameterType::NORMAL
,
8543 EnhancedCustomShapeParameterType::NORMAL
,
8546 aTextFrame
.TopLeft
= createParameterPair(&aData
);
8549 static const CustomShapeProvider::ParameterPairData aData
=
8551 EnhancedCustomShapeParameterType::EQUATION
,
8552 EnhancedCustomShapeParameterType::EQUATION
,
8555 aTextFrame
.BottomRight
= createParameterPair(&aData
);
8557 aTextFrameSeq
[0] = aTextFrame
;
8559 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
8561 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
8564 awt::Rectangle aRectangle
;
8567 aRectangle
.Width
= 0;
8568 aRectangle
.Height
= 0;
8569 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
8571 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-rect");
8573 return aPropertyMap
;
8576 class ShapeCaccentBorderCallout2
: public CustomShapeProvider
8578 virtual PropertyMap
getProperties()
8580 PropertyMap aPropertyMap
;
8583 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (6);
8585 Any
aAny ((sal_Int32
) 18750);
8586 aAdjSequence
[0].Value
= aAny
;
8587 aAdjSequence
[0].Name
= "adj1";
8590 Any
aAny ((sal_Int32
) -8333);
8591 aAdjSequence
[1].Value
= aAny
;
8592 aAdjSequence
[1].Name
= "adj2";
8595 Any
aAny ((sal_Int32
) 18750);
8596 aAdjSequence
[2].Value
= aAny
;
8597 aAdjSequence
[2].Name
= "adj3";
8600 Any
aAny ((sal_Int32
) -16667);
8601 aAdjSequence
[3].Value
= aAny
;
8602 aAdjSequence
[3].Name
= "adj4";
8605 Any
aAny ((sal_Int32
) 112500);
8606 aAdjSequence
[4].Value
= aAny
;
8607 aAdjSequence
[4].Name
= "adj5";
8610 Any
aAny ((sal_Int32
) -46667);
8611 aAdjSequence
[5].Value
= aAny
;
8612 aAdjSequence
[5].Name
= "adj6";
8614 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
8617 static const char *aStrings
[] = {
8618 "logheight*$0 /100000",
8619 "logwidth*$1 /100000",
8620 "logheight*$2 /100000",
8621 "logwidth*$3 /100000",
8622 "logheight*$4 /100000",
8623 "logwidth*$5 /100000",
8629 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8632 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (3);
8634 Sequence
< PropertyValue
> aPropSequence (7);
8636 aPropSequence
[0].Name
= "Position";
8637 static const CustomShapeProvider::ParameterPairData aData
=
8639 EnhancedCustomShapeParameterType::EQUATION
,
8640 EnhancedCustomShapeParameterType::EQUATION
,
8643 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
8646 aPropSequence
[1].Name
= "RangeXMaximum";
8647 EnhancedCustomShapeParameter aParameter
;
8648 Any
aAny ((sal_Int32
) 2147483647);
8649 aParameter
.Value
= aAny
;
8650 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8651 aPropSequence
[1].Value
= makeAny (aParameter
);
8654 aPropSequence
[2].Name
= "RangeXMinimum";
8655 EnhancedCustomShapeParameter aParameter
;
8656 Any
aAny ((sal_Int32
) -2147483647);
8657 aParameter
.Value
= aAny
;
8658 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8659 aPropSequence
[2].Value
= makeAny (aParameter
);
8662 aPropSequence
[3].Name
= "RangeYMaximum";
8663 EnhancedCustomShapeParameter aParameter
;
8664 Any
aAny ((sal_Int32
) 2147483647);
8665 aParameter
.Value
= aAny
;
8666 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8667 aPropSequence
[3].Value
= makeAny (aParameter
);
8670 aPropSequence
[4].Name
= "RangeYMinimum";
8671 EnhancedCustomShapeParameter aParameter
;
8672 Any
aAny ((sal_Int32
) -2147483647);
8673 aParameter
.Value
= aAny
;
8674 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8675 aPropSequence
[4].Value
= makeAny (aParameter
);
8678 aPropSequence
[5].Name
= "RefX";
8679 Any
aAny ((sal_Int32
) 1);
8680 aPropSequence
[5].Value
= makeAny (aAny
);
8683 aPropSequence
[6].Name
= "RefY";
8684 Any
aAny ((sal_Int32
) 0);
8685 aPropSequence
[6].Value
= makeAny (aAny
);
8687 aPropSequenceSequence
[0] = aPropSequence
;
8690 Sequence
< PropertyValue
> aPropSequence (7);
8692 aPropSequence
[0].Name
= "Position";
8693 static const CustomShapeProvider::ParameterPairData aData
=
8695 EnhancedCustomShapeParameterType::EQUATION
,
8696 EnhancedCustomShapeParameterType::EQUATION
,
8699 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
8702 aPropSequence
[1].Name
= "RangeXMaximum";
8703 EnhancedCustomShapeParameter aParameter
;
8704 Any
aAny ((sal_Int32
) 2147483647);
8705 aParameter
.Value
= aAny
;
8706 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8707 aPropSequence
[1].Value
= makeAny (aParameter
);
8710 aPropSequence
[2].Name
= "RangeXMinimum";
8711 EnhancedCustomShapeParameter aParameter
;
8712 Any
aAny ((sal_Int32
) -2147483647);
8713 aParameter
.Value
= aAny
;
8714 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8715 aPropSequence
[2].Value
= makeAny (aParameter
);
8718 aPropSequence
[3].Name
= "RangeYMaximum";
8719 EnhancedCustomShapeParameter aParameter
;
8720 Any
aAny ((sal_Int32
) 2147483647);
8721 aParameter
.Value
= aAny
;
8722 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8723 aPropSequence
[3].Value
= makeAny (aParameter
);
8726 aPropSequence
[4].Name
= "RangeYMinimum";
8727 EnhancedCustomShapeParameter aParameter
;
8728 Any
aAny ((sal_Int32
) -2147483647);
8729 aParameter
.Value
= aAny
;
8730 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8731 aPropSequence
[4].Value
= makeAny (aParameter
);
8734 aPropSequence
[5].Name
= "RefX";
8735 Any
aAny ((sal_Int32
) 3);
8736 aPropSequence
[5].Value
= makeAny (aAny
);
8739 aPropSequence
[6].Name
= "RefY";
8740 Any
aAny ((sal_Int32
) 2);
8741 aPropSequence
[6].Value
= makeAny (aAny
);
8743 aPropSequenceSequence
[1] = aPropSequence
;
8746 Sequence
< PropertyValue
> aPropSequence (7);
8748 aPropSequence
[0].Name
= "Position";
8749 static const CustomShapeProvider::ParameterPairData aData
=
8751 EnhancedCustomShapeParameterType::EQUATION
,
8752 EnhancedCustomShapeParameterType::EQUATION
,
8755 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
8758 aPropSequence
[1].Name
= "RangeXMaximum";
8759 EnhancedCustomShapeParameter aParameter
;
8760 Any
aAny ((sal_Int32
) 2147483647);
8761 aParameter
.Value
= aAny
;
8762 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8763 aPropSequence
[1].Value
= makeAny (aParameter
);
8766 aPropSequence
[2].Name
= "RangeXMinimum";
8767 EnhancedCustomShapeParameter aParameter
;
8768 Any
aAny ((sal_Int32
) -2147483647);
8769 aParameter
.Value
= aAny
;
8770 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8771 aPropSequence
[2].Value
= makeAny (aParameter
);
8774 aPropSequence
[3].Name
= "RangeYMaximum";
8775 EnhancedCustomShapeParameter aParameter
;
8776 Any
aAny ((sal_Int32
) 2147483647);
8777 aParameter
.Value
= aAny
;
8778 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8779 aPropSequence
[3].Value
= makeAny (aParameter
);
8782 aPropSequence
[4].Name
= "RangeYMinimum";
8783 EnhancedCustomShapeParameter aParameter
;
8784 Any
aAny ((sal_Int32
) -2147483647);
8785 aParameter
.Value
= aAny
;
8786 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
8787 aPropSequence
[4].Value
= makeAny (aParameter
);
8790 aPropSequence
[5].Name
= "RefX";
8791 Any
aAny ((sal_Int32
) 5);
8792 aPropSequence
[5].Value
= makeAny (aAny
);
8795 aPropSequence
[6].Name
= "RefY";
8796 Any
aAny ((sal_Int32
) 4);
8797 aPropSequence
[6].Value
= makeAny (aAny
);
8799 aPropSequenceSequence
[2] = aPropSequence
;
8801 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
8804 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8807 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8810 Sequence
< PropertyValue
> aPropSequence (3);
8812 aPropSequence
[0].Name
= "Coordinates";
8813 static const CustomShapeProvider::ParameterPairData aData
[] = {
8815 EnhancedCustomShapeParameterType::NORMAL
,
8816 EnhancedCustomShapeParameterType::NORMAL
,
8820 EnhancedCustomShapeParameterType::EQUATION
,
8821 EnhancedCustomShapeParameterType::NORMAL
,
8825 EnhancedCustomShapeParameterType::EQUATION
,
8826 EnhancedCustomShapeParameterType::EQUATION
,
8830 EnhancedCustomShapeParameterType::NORMAL
,
8831 EnhancedCustomShapeParameterType::EQUATION
,
8835 EnhancedCustomShapeParameterType::EQUATION
,
8836 EnhancedCustomShapeParameterType::NORMAL
,
8840 EnhancedCustomShapeParameterType::EQUATION
,
8841 EnhancedCustomShapeParameterType::EQUATION
,
8845 EnhancedCustomShapeParameterType::EQUATION
,
8846 EnhancedCustomShapeParameterType::EQUATION
,
8850 EnhancedCustomShapeParameterType::EQUATION
,
8851 EnhancedCustomShapeParameterType::EQUATION
,
8855 EnhancedCustomShapeParameterType::EQUATION
,
8856 EnhancedCustomShapeParameterType::EQUATION
,
8860 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8863 aPropSequence
[1].Name
= "Segments";
8864 static const sal_uInt16 nValues
[] = {
8879 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8882 aPropSequence
[2].Name
= "TextFrames";
8883 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
8885 EnhancedCustomShapeTextFrame aTextFrame
;
8887 static const CustomShapeProvider::ParameterPairData aData
=
8889 EnhancedCustomShapeParameterType::NORMAL
,
8890 EnhancedCustomShapeParameterType::NORMAL
,
8893 aTextFrame
.TopLeft
= createParameterPair(&aData
);
8896 static const CustomShapeProvider::ParameterPairData aData
=
8898 EnhancedCustomShapeParameterType::EQUATION
,
8899 EnhancedCustomShapeParameterType::EQUATION
,
8902 aTextFrame
.BottomRight
= createParameterPair(&aData
);
8904 aTextFrameSeq
[0] = aTextFrame
;
8906 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
8908 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
8911 awt::Rectangle aRectangle
;
8914 aRectangle
.Width
= 0;
8915 aRectangle
.Height
= 0;
8916 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
8918 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-accentBorderCallout2");
8920 return aPropertyMap
;
8923 class ShapeCpieWedge
: public CustomShapeProvider
8925 virtual PropertyMap
getProperties()
8927 PropertyMap aPropertyMap
;
8930 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
8933 static const char *aStrings
[] = {
8934 "logwidth*cos(pi*(13500000)/10800000)",
8935 "logheight*sin(pi*(13500000)/10800000)",
8944 "(10800000)/60000.0",
8947 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
8950 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
8953 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
8956 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
8959 Sequence
< PropertyValue
> aPropSequence (3);
8961 aPropSequence
[0].Name
= "Coordinates";
8962 static const CustomShapeProvider::ParameterPairData aData
[] = {
8964 EnhancedCustomShapeParameterType::NORMAL
,
8965 EnhancedCustomShapeParameterType::EQUATION
,
8969 EnhancedCustomShapeParameterType::EQUATION
,
8970 EnhancedCustomShapeParameterType::EQUATION
,
8974 EnhancedCustomShapeParameterType::EQUATION
,
8975 EnhancedCustomShapeParameterType::EQUATION
,
8979 EnhancedCustomShapeParameterType::EQUATION
,
8980 EnhancedCustomShapeParameterType::EQUATION
,
8984 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
8987 aPropSequence
[1].Name
= "Segments";
8988 static const sal_uInt16 nValues
[] = {
8996 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
8999 aPropSequence
[2].Name
= "TextFrames";
9000 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
9002 EnhancedCustomShapeTextFrame aTextFrame
;
9004 static const CustomShapeProvider::ParameterPairData aData
=
9006 EnhancedCustomShapeParameterType::EQUATION
,
9007 EnhancedCustomShapeParameterType::EQUATION
,
9010 aTextFrame
.TopLeft
= createParameterPair(&aData
);
9013 static const CustomShapeProvider::ParameterPairData aData
=
9015 EnhancedCustomShapeParameterType::EQUATION
,
9016 EnhancedCustomShapeParameterType::EQUATION
,
9019 aTextFrame
.BottomRight
= createParameterPair(&aData
);
9021 aTextFrameSeq
[0] = aTextFrame
;
9023 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
9025 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
9028 awt::Rectangle aRectangle
;
9031 aRectangle
.Width
= 0;
9032 aRectangle
.Height
= 0;
9033 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
9035 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-pieWedge");
9037 return aPropertyMap
;
9040 class ShapeCupArrowCallout
: public CustomShapeProvider
9042 virtual PropertyMap
getProperties()
9044 PropertyMap aPropertyMap
;
9047 Sequence
< EnhancedCustomShapeAdjustmentValue
> aAdjSequence (4);
9049 Any
aAny ((sal_Int32
) 25000);
9050 aAdjSequence
[0].Value
= aAny
;
9051 aAdjSequence
[0].Name
= "adj1";
9054 Any
aAny ((sal_Int32
) 25000);
9055 aAdjSequence
[1].Value
= aAny
;
9056 aAdjSequence
[1].Name
= "adj2";
9059 Any
aAny ((sal_Int32
) 25000);
9060 aAdjSequence
[2].Value
= aAny
;
9061 aAdjSequence
[2].Name
= "adj3";
9064 Any
aAny ((sal_Int32
) 64977);
9065 aAdjSequence
[3].Value
= aAny
;
9066 aAdjSequence
[3].Name
= "adj4";
9068 aPropertyMap
[PROP_AdjustmentValues
] <<= aAdjSequence
;
9071 static const char *aStrings
[] = {
9072 "min(logwidth,logheight)",
9073 "50000*logwidth/?0 ",
9074 "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
9076 "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
9077 "100000*logheight/?0 ",
9078 "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
9079 "?6 *?0 /logheight",
9081 "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))",
9090 "logheight*?9 /100000",
9092 "(?19 +logheight)/2",
9096 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
9099 Sequence
< Sequence
< PropertyValue
> > aPropSequenceSequence (4);
9101 Sequence
< PropertyValue
> aPropSequence (4);
9103 aPropSequence
[0].Name
= "Position";
9104 static const CustomShapeProvider::ParameterPairData aData
=
9106 EnhancedCustomShapeParameterType::EQUATION
,
9107 EnhancedCustomShapeParameterType::EQUATION
,
9110 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
9113 aPropSequence
[1].Name
= "RangeXMaximum";
9114 EnhancedCustomShapeParameter aParameter
;
9115 Any
aAny ((sal_Int32
) 3);
9116 aParameter
.Value
= aAny
;
9117 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
9118 aPropSequence
[1].Value
= makeAny (aParameter
);
9121 aPropSequence
[2].Name
= "RangeXMinimum";
9122 EnhancedCustomShapeParameter aParameter
;
9123 Any
aAny ((sal_Int32
) 0);
9124 aParameter
.Value
= aAny
;
9125 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
9126 aPropSequence
[2].Value
= makeAny (aParameter
);
9129 aPropSequence
[3].Name
= "RefX";
9130 Any
aAny ((sal_Int32
) 0);
9131 aPropSequence
[3].Value
= makeAny (aAny
);
9133 aPropSequenceSequence
[0] = aPropSequence
;
9136 Sequence
< PropertyValue
> aPropSequence (4);
9138 aPropSequence
[0].Name
= "Position";
9139 static const CustomShapeProvider::ParameterPairData aData
=
9141 EnhancedCustomShapeParameterType::EQUATION
,
9142 EnhancedCustomShapeParameterType::NORMAL
,
9145 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
9148 aPropSequence
[1].Name
= "RangeXMaximum";
9149 EnhancedCustomShapeParameter aParameter
;
9150 Any
aAny ((sal_Int32
) 1);
9151 aParameter
.Value
= aAny
;
9152 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
9153 aPropSequence
[1].Value
= makeAny (aParameter
);
9156 aPropSequence
[2].Name
= "RangeXMinimum";
9157 EnhancedCustomShapeParameter aParameter
;
9158 Any
aAny ((sal_Int32
) 0);
9159 aParameter
.Value
= aAny
;
9160 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
9161 aPropSequence
[2].Value
= makeAny (aParameter
);
9164 aPropSequence
[3].Name
= "RefX";
9165 Any
aAny ((sal_Int32
) 1);
9166 aPropSequence
[3].Value
= makeAny (aAny
);
9168 aPropSequenceSequence
[1] = aPropSequence
;
9171 Sequence
< PropertyValue
> aPropSequence (4);
9173 aPropSequence
[0].Name
= "Position";
9174 static const CustomShapeProvider::ParameterPairData aData
=
9176 EnhancedCustomShapeParameterType::EQUATION
,
9177 EnhancedCustomShapeParameterType::EQUATION
,
9180 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
9183 aPropSequence
[1].Name
= "RangeYMaximum";
9184 EnhancedCustomShapeParameter aParameter
;
9185 Any
aAny ((sal_Int32
) 5);
9186 aParameter
.Value
= aAny
;
9187 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
9188 aPropSequence
[1].Value
= makeAny (aParameter
);
9191 aPropSequence
[2].Name
= "RangeYMinimum";
9192 EnhancedCustomShapeParameter aParameter
;
9193 Any
aAny ((sal_Int32
) 0);
9194 aParameter
.Value
= aAny
;
9195 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
9196 aPropSequence
[2].Value
= makeAny (aParameter
);
9199 aPropSequence
[3].Name
= "RefY";
9200 Any
aAny ((sal_Int32
) 2);
9201 aPropSequence
[3].Value
= makeAny (aAny
);
9203 aPropSequenceSequence
[2] = aPropSequence
;
9206 Sequence
< PropertyValue
> aPropSequence (4);
9208 aPropSequence
[0].Name
= "Position";
9209 static const CustomShapeProvider::ParameterPairData aData
=
9211 EnhancedCustomShapeParameterType::NORMAL
,
9212 EnhancedCustomShapeParameterType::EQUATION
,
9215 aPropSequence
[0].Value
= makeAny (createParameterPair(&aData
));
9218 aPropSequence
[1].Name
= "RangeYMaximum";
9219 EnhancedCustomShapeParameter aParameter
;
9220 Any
aAny ((sal_Int32
) 8);
9221 aParameter
.Value
= aAny
;
9222 aParameter
.Type
= EnhancedCustomShapeParameterType::EQUATION
;
9223 aPropSequence
[1].Value
= makeAny (aParameter
);
9226 aPropSequence
[2].Name
= "RangeYMinimum";
9227 EnhancedCustomShapeParameter aParameter
;
9228 Any
aAny ((sal_Int32
) 0);
9229 aParameter
.Value
= aAny
;
9230 aParameter
.Type
= EnhancedCustomShapeParameterType::NORMAL
;
9231 aPropSequence
[2].Value
= makeAny (aParameter
);
9234 aPropSequence
[3].Name
= "RefY";
9235 Any
aAny ((sal_Int32
) 3);
9236 aPropSequence
[3].Value
= makeAny (aAny
);
9238 aPropSequenceSequence
[3] = aPropSequence
;
9240 aPropertyMap
[PROP_Handles
] <<= aPropSequenceSequence
;
9243 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
9246 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
9249 Sequence
< PropertyValue
> aPropSequence (3);
9251 aPropSequence
[0].Name
= "Coordinates";
9252 static const CustomShapeProvider::ParameterPairData aData
[] = {
9254 EnhancedCustomShapeParameterType::NORMAL
,
9255 EnhancedCustomShapeParameterType::EQUATION
,
9259 EnhancedCustomShapeParameterType::EQUATION
,
9260 EnhancedCustomShapeParameterType::EQUATION
,
9264 EnhancedCustomShapeParameterType::EQUATION
,
9265 EnhancedCustomShapeParameterType::EQUATION
,
9269 EnhancedCustomShapeParameterType::EQUATION
,
9270 EnhancedCustomShapeParameterType::EQUATION
,
9274 EnhancedCustomShapeParameterType::EQUATION
,
9275 EnhancedCustomShapeParameterType::NORMAL
,
9279 EnhancedCustomShapeParameterType::EQUATION
,
9280 EnhancedCustomShapeParameterType::EQUATION
,
9284 EnhancedCustomShapeParameterType::EQUATION
,
9285 EnhancedCustomShapeParameterType::EQUATION
,
9289 EnhancedCustomShapeParameterType::EQUATION
,
9290 EnhancedCustomShapeParameterType::EQUATION
,
9294 EnhancedCustomShapeParameterType::EQUATION
,
9295 EnhancedCustomShapeParameterType::EQUATION
,
9299 EnhancedCustomShapeParameterType::EQUATION
,
9300 EnhancedCustomShapeParameterType::EQUATION
,
9304 EnhancedCustomShapeParameterType::NORMAL
,
9305 EnhancedCustomShapeParameterType::EQUATION
,
9309 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
9312 aPropSequence
[1].Name
= "Segments";
9313 static const sal_uInt16 nValues
[] = {
9320 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
9323 aPropSequence
[2].Name
= "TextFrames";
9324 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
9326 EnhancedCustomShapeTextFrame aTextFrame
;
9328 static const CustomShapeProvider::ParameterPairData aData
=
9330 EnhancedCustomShapeParameterType::NORMAL
,
9331 EnhancedCustomShapeParameterType::EQUATION
,
9334 aTextFrame
.TopLeft
= createParameterPair(&aData
);
9337 static const CustomShapeProvider::ParameterPairData aData
=
9339 EnhancedCustomShapeParameterType::EQUATION
,
9340 EnhancedCustomShapeParameterType::EQUATION
,
9343 aTextFrame
.BottomRight
= createParameterPair(&aData
);
9345 aTextFrameSeq
[0] = aTextFrame
;
9347 aPropSequence
[2].Value
= makeAny (aTextFrameSeq
);
9349 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
9352 awt::Rectangle aRectangle
;
9355 aRectangle
.Width
= 0;
9356 aRectangle
.Height
= 0;
9357 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
9359 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-upArrowCallout");
9361 return aPropertyMap
;
9364 class ShapeCflowChartProcess
: public CustomShapeProvider
9366 virtual PropertyMap
getProperties()
9368 PropertyMap aPropertyMap
;
9371 aPropertyMap
[PROP_AdjustmentValues
] <<= Sequence
< OUString
>(0);
9374 static const char *aStrings
[] = {
9380 aPropertyMap
[PROP_Equations
] <<= createStringSequence( SAL_N_ELEMENTS( aStrings
), aStrings
);
9383 aPropertyMap
[PROP_Handles
] <<= Sequence
< OUString
>(0);
9386 aPropertyMap
[PROP_MirroredX
] <<= Any ((sal_Bool
) sal_False
);
9389 aPropertyMap
[PROP_MirroredY
] <<= Any ((sal_Bool
) sal_False
);
9392 Sequence
< PropertyValue
> aPropSequence (4);
9394 aPropSequence
[0].Name
= "Coordinates";
9395 static const CustomShapeProvider::ParameterPairData aData
[] = {
9397 EnhancedCustomShapeParameterType::NORMAL
,
9398 EnhancedCustomShapeParameterType::NORMAL
,
9402 EnhancedCustomShapeParameterType::NORMAL
,
9403 EnhancedCustomShapeParameterType::NORMAL
,
9407 EnhancedCustomShapeParameterType::NORMAL
,
9408 EnhancedCustomShapeParameterType::NORMAL
,
9412 EnhancedCustomShapeParameterType::NORMAL
,
9413 EnhancedCustomShapeParameterType::NORMAL
,
9417 aPropSequence
[0].Value
= makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData
), aData
));
9420 aPropSequence
[1].Name
= "Segments";
9421 static const sal_uInt16 nValues
[] = {
9428 aPropSequence
[1].Value
= makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues
), nValues
));
9431 aPropSequence
[2].Name
= "SubViewSize";
9432 Sequence
< awt::Size
> aSizeSequence (1);
9437 aSizeSequence
[0] = aSize
;
9439 aPropSequence
[2].Value
= makeAny (aSizeSequence
);
9442 aPropSequence
[3].Name
= "TextFrames";
9443 Sequence
< EnhancedCustomShapeTextFrame
> aTextFrameSeq (1);
9445 EnhancedCustomShapeTextFrame aTextFrame
;
9447 static const CustomShapeProvider::ParameterPairData aData
=
9449 EnhancedCustomShapeParameterType::NORMAL
,
9450 EnhancedCustomShapeParameterType::NORMAL
,
9453 aTextFrame
.TopLeft
= createParameterPair(&aData
);
9456 static const CustomShapeProvider::ParameterPairData aData
=
9458 EnhancedCustomShapeParameterType::EQUATION
,
9459 EnhancedCustomShapeParameterType::EQUATION
,
9462 aTextFrame
.BottomRight
= createParameterPair(&aData
);
9464 aTextFrameSeq
[0] = aTextFrame
;
9466 aPropSequence
[3].Value
= makeAny (aTextFrameSeq
);
9468 aPropertyMap
[PROP_Path
] <<= aPropSequence
;
9471 awt::Rectangle aRectangle
;
9474 aRectangle
.Width
= 0;
9475 aRectangle
.Height
= 0;
9476 aPropertyMap
[PROP_ViewBox
] <<= aRectangle
;
9478 aPropertyMap
[ PROP_Type
] <<= OUString("ooxml-flowChartProcess");
9480 return aPropertyMap
;
9483 } // anonymous namespace
9484 void CustomShapeProperties::initializePresetsMap5()
9486 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "accentCallout3" ) ) ] = new ShapeCaccentCallout3();
9487 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "leftCircularArrow" ) ) ] = new ShapeCleftCircularArrow();
9488 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "rightArrow" ) ) ] = new ShapeCrightArrow();
9489 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartPunchedCard" ) ) ] = new ShapeCflowChartPunchedCard();
9490 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "snip2DiagRect" ) ) ] = new ShapeCsnip2DiagRect();
9491 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "verticalScroll" ) ) ] = new ShapeCverticalScroll();
9492 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "star7" ) ) ] = new ShapeCstar7();
9493 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "chartX" ) ) ] = new ShapeCchartX();
9494 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "cloud" ) ) ] = new ShapeCcloud();
9495 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "cube" ) ) ] = new ShapeCcube();
9496 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "round2DiagRect" ) ) ] = new ShapeCround2DiagRect();
9497 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartMultidocument" ) ) ] = new ShapeCflowChartMultidocument();
9498 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "actionButtonDocument" ) ) ] = new ShapeCactionButtonDocument();
9499 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartTerminator" ) ) ] = new ShapeCflowChartTerminator();
9500 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartDelay" ) ) ] = new ShapeCflowChartDelay();
9501 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "curvedConnector5" ) ) ] = new ShapeCcurvedConnector5();
9502 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "horizontalScroll" ) ) ] = new ShapeChorizontalScroll();
9503 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "bentConnector4" ) ) ] = new ShapeCbentConnector4();
9504 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "leftRightCircularArrow" ) ) ] = new ShapeCleftRightCircularArrow();
9505 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "wedgeRectCallout" ) ) ] = new ShapeCwedgeRectCallout();
9506 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "accentCallout2" ) ) ] = new ShapeCaccentCallout2();
9507 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartMagneticDrum" ) ) ] = new ShapeCflowChartMagneticDrum();
9508 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "corner" ) ) ] = new ShapeCcorner();
9509 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "borderCallout2" ) ) ] = new ShapeCborderCallout2();
9510 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "donut" ) ) ] = new ShapeCdonut();
9511 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartCollate" ) ) ] = new ShapeCflowChartCollate();
9512 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "mathNotEqual" ) ) ] = new ShapeCmathNotEqual();
9513 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "bentConnector2" ) ) ] = new ShapeCbentConnector2();
9514 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "mathMultiply" ) ) ] = new ShapeCmathMultiply();
9515 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "heptagon" ) ) ] = new ShapeCheptagon();
9516 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "rect" ) ) ] = new ShapeCrect();
9517 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "accentBorderCallout2" ) ) ] = new ShapeCaccentBorderCallout2();
9518 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "pieWedge" ) ) ] = new ShapeCpieWedge();
9519 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "upArrowCallout" ) ) ] = new ShapeCupArrowCallout();
9520 maPresetsMap
[ StaticTokenMap::get().getTokenFromUnicode( OUString( "flowChartProcess" ) ) ] = new ShapeCflowChartProcess();
9523 } } // oox // drawingml