Line data Source code
1 : // this file was generated by: ./generatePresetsCXX.pl
2 : // please do not edit
3 :
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>
12 :
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;
17 :
18 : namespace oox { namespace drawingml {
19 :
20 : namespace
21 : {
22 3 : class ShapeCstar5 : public CustomShapeProvider
23 : {
24 0 : virtual PropertyMap getProperties()
25 : {
26 0 : PropertyMap aPropertyMap;
27 :
28 : {
29 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
30 : {
31 0 : Any aAny ((sal_Int32) 19098);
32 0 : aAdjSequence [0].Value = aAny;
33 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
34 : }
35 : {
36 0 : Any aAny ((sal_Int32) 105146);
37 0 : aAdjSequence [1].Value = aAny;
38 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("hf");
39 : }
40 : {
41 0 : Any aAny ((sal_Int32) 110557);
42 0 : aAdjSequence [2].Value = aAny;
43 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("vf");
44 : }
45 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
46 : }
47 : {
48 : static const char *aStrings[] = {
49 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
50 : "logwidth/2",
51 : "?1 *$1 /100000",
52 : "logheight/2",
53 : "?3 *$2 /100000",
54 : "logheight/2",
55 : "?5 *$2 /100000",
56 : "?2 *cos(pi*(1080000)/10800000)",
57 : "?2 *cos(pi*(18360000)/10800000)",
58 : "?4 *sin(pi*(1080000)/10800000)",
59 : "?4 *sin(pi*(18360000)/10800000)",
60 : "logwidth/2",
61 : "?11 +0-?7 ",
62 : "?11 +0-?8 ",
63 : "?11 +?8 -0",
64 : "?11 +?7 -0",
65 : "?6 +0-?9 ",
66 : "?6 +0-?10 ",
67 : "?2 *?0 /50000",
68 : "?4 *?0 /50000",
69 : "?18 *cos(pi*(20520000)/10800000)",
70 : "?18 *cos(pi*(3240000)/10800000)",
71 : "?19 *sin(pi*(3240000)/10800000)",
72 : "?19 *sin(pi*(20520000)/10800000)",
73 : "?11 +0-?20 ",
74 : "?11 +0-?21 ",
75 : "?11 +?21 -0",
76 : "?11 +?20 -0",
77 : "?6 +0-?22 ",
78 : "?6 +0-?23 ",
79 : "?6 +?19 -0",
80 : "?6 +0-?19 "
81 : };
82 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
83 : }
84 : {
85 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
86 : {
87 0 : Sequence< PropertyValue > aPropSequence (4);
88 : {
89 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
90 : static const CustomShapeProvider::ParameterPairData aData =
91 : {
92 : EnhancedCustomShapeParameterType::EQUATION,
93 : EnhancedCustomShapeParameterType::EQUATION,
94 : 11, 31
95 : };
96 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
97 : }
98 : {
99 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
100 0 : EnhancedCustomShapeParameter aParameter;
101 0 : Any aAny ((sal_Int32) 50000);
102 0 : aParameter.Value = aAny;
103 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
104 0 : aPropSequence [1].Value = makeAny (aParameter);
105 : }
106 : {
107 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
108 0 : EnhancedCustomShapeParameter aParameter;
109 0 : Any aAny ((sal_Int32) 0);
110 0 : aParameter.Value = aAny;
111 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
112 0 : aPropSequence [2].Value = makeAny (aParameter);
113 : }
114 : {
115 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
116 0 : Any aAny ((sal_Int32) 0);
117 0 : aPropSequence [3].Value = makeAny (aAny);
118 : }
119 0 : aPropSequenceSequence [0] = aPropSequence;
120 : }
121 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
122 : }
123 : {
124 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
125 : }
126 : {
127 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
128 : }
129 : {
130 0 : Sequence< PropertyValue > aPropSequence (3);
131 : {
132 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
133 : static const CustomShapeProvider::ParameterPairData aData[] = {
134 : {
135 : EnhancedCustomShapeParameterType::EQUATION,
136 : EnhancedCustomShapeParameterType::EQUATION,
137 : 12, 16
138 : },
139 : {
140 : EnhancedCustomShapeParameterType::EQUATION,
141 : EnhancedCustomShapeParameterType::EQUATION,
142 : 25, 28
143 : },
144 : {
145 : EnhancedCustomShapeParameterType::EQUATION,
146 : EnhancedCustomShapeParameterType::NORMAL,
147 : 11, 0
148 : },
149 : {
150 : EnhancedCustomShapeParameterType::EQUATION,
151 : EnhancedCustomShapeParameterType::EQUATION,
152 : 26, 28
153 : },
154 : {
155 : EnhancedCustomShapeParameterType::EQUATION,
156 : EnhancedCustomShapeParameterType::EQUATION,
157 : 15, 16
158 : },
159 : {
160 : EnhancedCustomShapeParameterType::EQUATION,
161 : EnhancedCustomShapeParameterType::EQUATION,
162 : 27, 29
163 : },
164 : {
165 : EnhancedCustomShapeParameterType::EQUATION,
166 : EnhancedCustomShapeParameterType::EQUATION,
167 : 14, 17
168 : },
169 : {
170 : EnhancedCustomShapeParameterType::EQUATION,
171 : EnhancedCustomShapeParameterType::EQUATION,
172 : 11, 30
173 : },
174 : {
175 : EnhancedCustomShapeParameterType::EQUATION,
176 : EnhancedCustomShapeParameterType::EQUATION,
177 : 13, 17
178 : },
179 : {
180 : EnhancedCustomShapeParameterType::EQUATION,
181 : EnhancedCustomShapeParameterType::EQUATION,
182 : 24, 29
183 : }
184 : };
185 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
186 : }
187 : {
188 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
189 : static const sal_uInt16 nValues[] = {
190 : // Command, Count
191 : 1,1,
192 : 2,9,
193 : 4,0,
194 : 5,0
195 : };
196 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
197 : }
198 : {
199 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
200 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
201 : {
202 0 : EnhancedCustomShapeTextFrame aTextFrame;
203 : {
204 : static const CustomShapeProvider::ParameterPairData aData =
205 : {
206 : EnhancedCustomShapeParameterType::EQUATION,
207 : EnhancedCustomShapeParameterType::EQUATION,
208 : 24, 28
209 : };
210 0 : aTextFrame.TopLeft = createParameterPair(&aData);
211 : }
212 : {
213 : static const CustomShapeProvider::ParameterPairData aData =
214 : {
215 : EnhancedCustomShapeParameterType::EQUATION,
216 : EnhancedCustomShapeParameterType::EQUATION,
217 : 27, 30
218 : };
219 0 : aTextFrame.BottomRight = createParameterPair(&aData);
220 : }
221 0 : aTextFrameSeq [0] = aTextFrame;
222 : }
223 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
224 : }
225 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
226 : }
227 : {
228 0 : awt::Rectangle aRectangle;
229 0 : aRectangle.X = 0;
230 0 : aRectangle.Y = 0;
231 0 : aRectangle.Width = 0;
232 0 : aRectangle.Height = 0;
233 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
234 : }
235 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star5");
236 :
237 0 : return aPropertyMap;
238 : }
239 : };
240 3 : class ShapeClineInv : public CustomShapeProvider
241 : {
242 0 : virtual PropertyMap getProperties()
243 : {
244 0 : PropertyMap aPropertyMap;
245 :
246 : {
247 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
248 : }
249 : {
250 : static const char *aStrings[] = {
251 : "logheight",
252 : "logwidth"
253 : };
254 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
255 : }
256 : {
257 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
258 : }
259 : {
260 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
261 : }
262 : {
263 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
264 : }
265 : {
266 0 : Sequence< PropertyValue > aPropSequence (2);
267 : {
268 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
269 : static const CustomShapeProvider::ParameterPairData aData[] = {
270 : {
271 : EnhancedCustomShapeParameterType::NORMAL,
272 : EnhancedCustomShapeParameterType::EQUATION,
273 : 0, 0
274 : },
275 : {
276 : EnhancedCustomShapeParameterType::EQUATION,
277 : EnhancedCustomShapeParameterType::NORMAL,
278 : 1, 0
279 : }
280 : };
281 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
282 : }
283 : {
284 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
285 : static const sal_uInt16 nValues[] = {
286 : // Command, Count
287 : 1,1,
288 : 2,1,
289 : 5,0
290 : };
291 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
292 : }
293 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
294 : }
295 : {
296 0 : awt::Rectangle aRectangle;
297 0 : aRectangle.X = 0;
298 0 : aRectangle.Y = 0;
299 0 : aRectangle.Width = 0;
300 0 : aRectangle.Height = 0;
301 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
302 : }
303 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-lineInv");
304 :
305 0 : return aPropertyMap;
306 : }
307 : };
308 3 : class ShapeCstraightConnector1 : public CustomShapeProvider
309 : {
310 0 : virtual PropertyMap getProperties()
311 : {
312 0 : PropertyMap aPropertyMap;
313 :
314 : {
315 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
316 : }
317 : {
318 : static const char *aStrings[] = {
319 : "logwidth",
320 : "logheight"
321 : };
322 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
323 : }
324 : {
325 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
326 : }
327 : {
328 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
329 : }
330 : {
331 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
332 : }
333 : {
334 0 : Sequence< PropertyValue > aPropSequence (3);
335 : {
336 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
337 : static const CustomShapeProvider::ParameterPairData aData[] = {
338 : {
339 : EnhancedCustomShapeParameterType::NORMAL,
340 : EnhancedCustomShapeParameterType::NORMAL,
341 : 0, 0
342 : },
343 : {
344 : EnhancedCustomShapeParameterType::EQUATION,
345 : EnhancedCustomShapeParameterType::EQUATION,
346 : 0, 1
347 : }
348 : };
349 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
350 : }
351 : {
352 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
353 : static const sal_uInt16 nValues[] = {
354 : // Command, Count
355 : 1,1,
356 : 2,1,
357 : 6,0,
358 : 5,0
359 : };
360 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
361 : }
362 : {
363 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
364 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
365 : {
366 0 : EnhancedCustomShapeTextFrame aTextFrame;
367 : {
368 : static const CustomShapeProvider::ParameterPairData aData =
369 : {
370 : EnhancedCustomShapeParameterType::NORMAL,
371 : EnhancedCustomShapeParameterType::NORMAL,
372 : 0, 0
373 : };
374 0 : aTextFrame.TopLeft = createParameterPair(&aData);
375 : }
376 : {
377 : static const CustomShapeProvider::ParameterPairData aData =
378 : {
379 : EnhancedCustomShapeParameterType::EQUATION,
380 : EnhancedCustomShapeParameterType::EQUATION,
381 : 0, 1
382 : };
383 0 : aTextFrame.BottomRight = createParameterPair(&aData);
384 : }
385 0 : aTextFrameSeq [0] = aTextFrame;
386 : }
387 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
388 : }
389 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
390 : }
391 : {
392 0 : awt::Rectangle aRectangle;
393 0 : aRectangle.X = 0;
394 0 : aRectangle.Y = 0;
395 0 : aRectangle.Width = 0;
396 0 : aRectangle.Height = 0;
397 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
398 : }
399 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-straightConnector1");
400 :
401 0 : return aPropertyMap;
402 : }
403 : };
404 3 : class ShapeCstripedRightArrow : public CustomShapeProvider
405 : {
406 0 : virtual PropertyMap getProperties()
407 : {
408 0 : PropertyMap aPropertyMap;
409 :
410 : {
411 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
412 : {
413 0 : Any aAny ((sal_Int32) 50000);
414 0 : aAdjSequence [0].Value = aAny;
415 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
416 : }
417 : {
418 0 : Any aAny ((sal_Int32) 50000);
419 0 : aAdjSequence [1].Value = aAny;
420 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
421 : }
422 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
423 : }
424 : {
425 : static const char *aStrings[] = {
426 : "min(logwidth,logheight)",
427 : "84375*logwidth/?0 ",
428 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
429 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
430 : "?0 *5/32",
431 : "?0 *?3 /100000",
432 : "logwidth+0-?5 ",
433 : "logheight*?2 /200000",
434 : "logheight/2",
435 : "?8 +0-?7 ",
436 : "?8 +?7 -0",
437 : "logheight/2",
438 : "?7 *?5 /?11 ",
439 : "logwidth+0-?12 ",
440 : "logheight",
441 : "logwidth",
442 : "min(logwidth,logheight)/32",
443 : "min(logwidth,logheight)/16",
444 : "min(logwidth,logheight)/8"
445 : };
446 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
447 : }
448 : {
449 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
450 : {
451 0 : Sequence< PropertyValue > aPropSequence (4);
452 : {
453 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
454 : static const CustomShapeProvider::ParameterPairData aData =
455 : {
456 : EnhancedCustomShapeParameterType::NORMAL,
457 : EnhancedCustomShapeParameterType::EQUATION,
458 : 0, 9
459 : };
460 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
461 : }
462 : {
463 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
464 0 : EnhancedCustomShapeParameter aParameter;
465 0 : Any aAny ((sal_Int32) 100000);
466 0 : aParameter.Value = aAny;
467 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
468 0 : aPropSequence [1].Value = makeAny (aParameter);
469 : }
470 : {
471 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
472 0 : EnhancedCustomShapeParameter aParameter;
473 0 : Any aAny ((sal_Int32) 0);
474 0 : aParameter.Value = aAny;
475 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
476 0 : aPropSequence [2].Value = makeAny (aParameter);
477 : }
478 : {
479 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
480 0 : Any aAny ((sal_Int32) 0);
481 0 : aPropSequence [3].Value = makeAny (aAny);
482 : }
483 0 : aPropSequenceSequence [0] = aPropSequence;
484 : }
485 : {
486 0 : Sequence< PropertyValue > aPropSequence (4);
487 : {
488 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
489 : static const CustomShapeProvider::ParameterPairData aData =
490 : {
491 : EnhancedCustomShapeParameterType::EQUATION,
492 : EnhancedCustomShapeParameterType::NORMAL,
493 : 6, 0
494 : };
495 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
496 : }
497 : {
498 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
499 0 : EnhancedCustomShapeParameter aParameter;
500 0 : Any aAny ((sal_Int32) 1);
501 0 : aParameter.Value = aAny;
502 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
503 0 : aPropSequence [1].Value = makeAny (aParameter);
504 : }
505 : {
506 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
507 0 : EnhancedCustomShapeParameter aParameter;
508 0 : Any aAny ((sal_Int32) 0);
509 0 : aParameter.Value = aAny;
510 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
511 0 : aPropSequence [2].Value = makeAny (aParameter);
512 : }
513 : {
514 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
515 0 : Any aAny ((sal_Int32) 1);
516 0 : aPropSequence [3].Value = makeAny (aAny);
517 : }
518 0 : aPropSequenceSequence [1] = aPropSequence;
519 : }
520 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
521 : }
522 : {
523 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
524 : }
525 : {
526 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
527 : }
528 : {
529 0 : Sequence< PropertyValue > aPropSequence (3);
530 : {
531 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
532 : static const CustomShapeProvider::ParameterPairData aData[] = {
533 : {
534 : EnhancedCustomShapeParameterType::NORMAL,
535 : EnhancedCustomShapeParameterType::EQUATION,
536 : 0, 9
537 : },
538 : {
539 : EnhancedCustomShapeParameterType::EQUATION,
540 : EnhancedCustomShapeParameterType::EQUATION,
541 : 16, 9
542 : },
543 : {
544 : EnhancedCustomShapeParameterType::EQUATION,
545 : EnhancedCustomShapeParameterType::EQUATION,
546 : 16, 10
547 : },
548 : {
549 : EnhancedCustomShapeParameterType::NORMAL,
550 : EnhancedCustomShapeParameterType::EQUATION,
551 : 0, 10
552 : },
553 : {
554 : EnhancedCustomShapeParameterType::EQUATION,
555 : EnhancedCustomShapeParameterType::EQUATION,
556 : 17, 9
557 : },
558 : {
559 : EnhancedCustomShapeParameterType::EQUATION,
560 : EnhancedCustomShapeParameterType::EQUATION,
561 : 18, 9
562 : },
563 : {
564 : EnhancedCustomShapeParameterType::EQUATION,
565 : EnhancedCustomShapeParameterType::EQUATION,
566 : 18, 10
567 : },
568 : {
569 : EnhancedCustomShapeParameterType::EQUATION,
570 : EnhancedCustomShapeParameterType::EQUATION,
571 : 17, 10
572 : },
573 : {
574 : EnhancedCustomShapeParameterType::EQUATION,
575 : EnhancedCustomShapeParameterType::EQUATION,
576 : 4, 9
577 : },
578 : {
579 : EnhancedCustomShapeParameterType::EQUATION,
580 : EnhancedCustomShapeParameterType::EQUATION,
581 : 6, 9
582 : },
583 : {
584 : EnhancedCustomShapeParameterType::EQUATION,
585 : EnhancedCustomShapeParameterType::NORMAL,
586 : 6, 0
587 : },
588 : {
589 : EnhancedCustomShapeParameterType::EQUATION,
590 : EnhancedCustomShapeParameterType::EQUATION,
591 : 15, 8
592 : },
593 : {
594 : EnhancedCustomShapeParameterType::EQUATION,
595 : EnhancedCustomShapeParameterType::EQUATION,
596 : 6, 14
597 : },
598 : {
599 : EnhancedCustomShapeParameterType::EQUATION,
600 : EnhancedCustomShapeParameterType::EQUATION,
601 : 6, 10
602 : },
603 : {
604 : EnhancedCustomShapeParameterType::EQUATION,
605 : EnhancedCustomShapeParameterType::EQUATION,
606 : 4, 10
607 : }
608 : };
609 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
610 : }
611 : {
612 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
613 : static const sal_uInt16 nValues[] = {
614 : // Command, Count
615 : 1,1,
616 : 2,3,
617 : 4,0,
618 : 1,1,
619 : 2,3,
620 : 4,0,
621 : 1,1,
622 : 2,6,
623 : 4,0,
624 : 5,0
625 : };
626 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
627 : }
628 : {
629 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
630 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
631 : {
632 0 : EnhancedCustomShapeTextFrame aTextFrame;
633 : {
634 : static const CustomShapeProvider::ParameterPairData aData =
635 : {
636 : EnhancedCustomShapeParameterType::EQUATION,
637 : EnhancedCustomShapeParameterType::EQUATION,
638 : 4, 9
639 : };
640 0 : aTextFrame.TopLeft = createParameterPair(&aData);
641 : }
642 : {
643 : static const CustomShapeProvider::ParameterPairData aData =
644 : {
645 : EnhancedCustomShapeParameterType::EQUATION,
646 : EnhancedCustomShapeParameterType::EQUATION,
647 : 13, 10
648 : };
649 0 : aTextFrame.BottomRight = createParameterPair(&aData);
650 : }
651 0 : aTextFrameSeq [0] = aTextFrame;
652 : }
653 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
654 : }
655 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
656 : }
657 : {
658 0 : awt::Rectangle aRectangle;
659 0 : aRectangle.X = 0;
660 0 : aRectangle.Y = 0;
661 0 : aRectangle.Width = 0;
662 0 : aRectangle.Height = 0;
663 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
664 : }
665 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-stripedRightArrow");
666 :
667 0 : return aPropertyMap;
668 : }
669 : };
670 3 : class ShapeCcallout3 : public CustomShapeProvider
671 : {
672 0 : virtual PropertyMap getProperties()
673 : {
674 0 : PropertyMap aPropertyMap;
675 :
676 : {
677 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (8);
678 : {
679 0 : Any aAny ((sal_Int32) 18750);
680 0 : aAdjSequence [0].Value = aAny;
681 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
682 : }
683 : {
684 0 : Any aAny ((sal_Int32) -8333);
685 0 : aAdjSequence [1].Value = aAny;
686 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
687 : }
688 : {
689 0 : Any aAny ((sal_Int32) 18750);
690 0 : aAdjSequence [2].Value = aAny;
691 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
692 : }
693 : {
694 0 : Any aAny ((sal_Int32) -16667);
695 0 : aAdjSequence [3].Value = aAny;
696 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
697 : }
698 : {
699 0 : Any aAny ((sal_Int32) 100000);
700 0 : aAdjSequence [4].Value = aAny;
701 0 : aAdjSequence [4].Name = CREATE_OUSTRING ("adj5");
702 : }
703 : {
704 0 : Any aAny ((sal_Int32) -16667);
705 0 : aAdjSequence [5].Value = aAny;
706 0 : aAdjSequence [5].Name = CREATE_OUSTRING ("adj6");
707 : }
708 : {
709 0 : Any aAny ((sal_Int32) 112963);
710 0 : aAdjSequence [6].Value = aAny;
711 0 : aAdjSequence [6].Name = CREATE_OUSTRING ("adj7");
712 : }
713 : {
714 0 : Any aAny ((sal_Int32) -8333);
715 0 : aAdjSequence [7].Value = aAny;
716 0 : aAdjSequence [7].Name = CREATE_OUSTRING ("adj8");
717 : }
718 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
719 : }
720 : {
721 : static const char *aStrings[] = {
722 : "logheight*$0 /100000",
723 : "logwidth*$1 /100000",
724 : "logheight*$2 /100000",
725 : "logwidth*$3 /100000",
726 : "logheight*$4 /100000",
727 : "logwidth*$5 /100000",
728 : "logheight*$6 /100000",
729 : "logwidth*$7 /100000",
730 : "logwidth",
731 : "logheight/2",
732 : "logwidth/2",
733 : "logheight"
734 : };
735 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
736 : }
737 : {
738 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
739 : {
740 0 : Sequence< PropertyValue > aPropSequence (7);
741 : {
742 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
743 : static const CustomShapeProvider::ParameterPairData aData =
744 : {
745 : EnhancedCustomShapeParameterType::EQUATION,
746 : EnhancedCustomShapeParameterType::EQUATION,
747 : 1, 0
748 : };
749 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
750 : }
751 : {
752 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
753 0 : EnhancedCustomShapeParameter aParameter;
754 0 : Any aAny ((sal_Int32) 2147483647);
755 0 : aParameter.Value = aAny;
756 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
757 0 : aPropSequence [1].Value = makeAny (aParameter);
758 : }
759 : {
760 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
761 0 : EnhancedCustomShapeParameter aParameter;
762 0 : Any aAny ((sal_Int32) -2147483647);
763 0 : aParameter.Value = aAny;
764 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
765 0 : aPropSequence [2].Value = makeAny (aParameter);
766 : }
767 : {
768 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
769 0 : EnhancedCustomShapeParameter aParameter;
770 0 : Any aAny ((sal_Int32) 2147483647);
771 0 : aParameter.Value = aAny;
772 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
773 0 : aPropSequence [3].Value = makeAny (aParameter);
774 : }
775 : {
776 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
777 0 : EnhancedCustomShapeParameter aParameter;
778 0 : Any aAny ((sal_Int32) -2147483647);
779 0 : aParameter.Value = aAny;
780 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
781 0 : aPropSequence [4].Value = makeAny (aParameter);
782 : }
783 : {
784 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
785 0 : Any aAny ((sal_Int32) 1);
786 0 : aPropSequence [5].Value = makeAny (aAny);
787 : }
788 : {
789 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
790 0 : Any aAny ((sal_Int32) 0);
791 0 : aPropSequence [6].Value = makeAny (aAny);
792 : }
793 0 : aPropSequenceSequence [0] = aPropSequence;
794 : }
795 : {
796 0 : Sequence< PropertyValue > aPropSequence (7);
797 : {
798 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
799 : static const CustomShapeProvider::ParameterPairData aData =
800 : {
801 : EnhancedCustomShapeParameterType::EQUATION,
802 : EnhancedCustomShapeParameterType::EQUATION,
803 : 3, 2
804 : };
805 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
806 : }
807 : {
808 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
809 0 : EnhancedCustomShapeParameter aParameter;
810 0 : Any aAny ((sal_Int32) 2147483647);
811 0 : aParameter.Value = aAny;
812 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
813 0 : aPropSequence [1].Value = makeAny (aParameter);
814 : }
815 : {
816 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
817 0 : EnhancedCustomShapeParameter aParameter;
818 0 : Any aAny ((sal_Int32) -2147483647);
819 0 : aParameter.Value = aAny;
820 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
821 0 : aPropSequence [2].Value = makeAny (aParameter);
822 : }
823 : {
824 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
825 0 : EnhancedCustomShapeParameter aParameter;
826 0 : Any aAny ((sal_Int32) 2147483647);
827 0 : aParameter.Value = aAny;
828 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
829 0 : aPropSequence [3].Value = makeAny (aParameter);
830 : }
831 : {
832 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
833 0 : EnhancedCustomShapeParameter aParameter;
834 0 : Any aAny ((sal_Int32) -2147483647);
835 0 : aParameter.Value = aAny;
836 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
837 0 : aPropSequence [4].Value = makeAny (aParameter);
838 : }
839 : {
840 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
841 0 : Any aAny ((sal_Int32) 3);
842 0 : aPropSequence [5].Value = makeAny (aAny);
843 : }
844 : {
845 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
846 0 : Any aAny ((sal_Int32) 2);
847 0 : aPropSequence [6].Value = makeAny (aAny);
848 : }
849 0 : aPropSequenceSequence [1] = aPropSequence;
850 : }
851 : {
852 0 : Sequence< PropertyValue > aPropSequence (7);
853 : {
854 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
855 : static const CustomShapeProvider::ParameterPairData aData =
856 : {
857 : EnhancedCustomShapeParameterType::EQUATION,
858 : EnhancedCustomShapeParameterType::EQUATION,
859 : 5, 4
860 : };
861 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
862 : }
863 : {
864 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
865 0 : EnhancedCustomShapeParameter aParameter;
866 0 : Any aAny ((sal_Int32) 2147483647);
867 0 : aParameter.Value = aAny;
868 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
869 0 : aPropSequence [1].Value = makeAny (aParameter);
870 : }
871 : {
872 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
873 0 : EnhancedCustomShapeParameter aParameter;
874 0 : Any aAny ((sal_Int32) -2147483647);
875 0 : aParameter.Value = aAny;
876 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
877 0 : aPropSequence [2].Value = makeAny (aParameter);
878 : }
879 : {
880 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
881 0 : EnhancedCustomShapeParameter aParameter;
882 0 : Any aAny ((sal_Int32) 2147483647);
883 0 : aParameter.Value = aAny;
884 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
885 0 : aPropSequence [3].Value = makeAny (aParameter);
886 : }
887 : {
888 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
889 0 : EnhancedCustomShapeParameter aParameter;
890 0 : Any aAny ((sal_Int32) -2147483647);
891 0 : aParameter.Value = aAny;
892 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
893 0 : aPropSequence [4].Value = makeAny (aParameter);
894 : }
895 : {
896 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
897 0 : Any aAny ((sal_Int32) 5);
898 0 : aPropSequence [5].Value = makeAny (aAny);
899 : }
900 : {
901 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
902 0 : Any aAny ((sal_Int32) 4);
903 0 : aPropSequence [6].Value = makeAny (aAny);
904 : }
905 0 : aPropSequenceSequence [2] = aPropSequence;
906 : }
907 : {
908 0 : Sequence< PropertyValue > aPropSequence (7);
909 : {
910 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
911 : static const CustomShapeProvider::ParameterPairData aData =
912 : {
913 : EnhancedCustomShapeParameterType::EQUATION,
914 : EnhancedCustomShapeParameterType::EQUATION,
915 : 7, 6
916 : };
917 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
918 : }
919 : {
920 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
921 0 : EnhancedCustomShapeParameter aParameter;
922 0 : Any aAny ((sal_Int32) 2147483647);
923 0 : aParameter.Value = aAny;
924 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
925 0 : aPropSequence [1].Value = makeAny (aParameter);
926 : }
927 : {
928 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
929 0 : EnhancedCustomShapeParameter aParameter;
930 0 : Any aAny ((sal_Int32) -2147483647);
931 0 : aParameter.Value = aAny;
932 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
933 0 : aPropSequence [2].Value = makeAny (aParameter);
934 : }
935 : {
936 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
937 0 : EnhancedCustomShapeParameter aParameter;
938 0 : Any aAny ((sal_Int32) 2147483647);
939 0 : aParameter.Value = aAny;
940 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
941 0 : aPropSequence [3].Value = makeAny (aParameter);
942 : }
943 : {
944 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
945 0 : EnhancedCustomShapeParameter aParameter;
946 0 : Any aAny ((sal_Int32) -2147483647);
947 0 : aParameter.Value = aAny;
948 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
949 0 : aPropSequence [4].Value = makeAny (aParameter);
950 : }
951 : {
952 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
953 0 : Any aAny ((sal_Int32) 7);
954 0 : aPropSequence [5].Value = makeAny (aAny);
955 : }
956 : {
957 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
958 0 : Any aAny ((sal_Int32) 6);
959 0 : aPropSequence [6].Value = makeAny (aAny);
960 : }
961 0 : aPropSequenceSequence [3] = aPropSequence;
962 : }
963 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
964 : }
965 : {
966 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
967 : }
968 : {
969 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
970 : }
971 : {
972 0 : Sequence< PropertyValue > aPropSequence (3);
973 : {
974 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
975 : static const CustomShapeProvider::ParameterPairData aData[] = {
976 : {
977 : EnhancedCustomShapeParameterType::NORMAL,
978 : EnhancedCustomShapeParameterType::NORMAL,
979 : 0, 0
980 : },
981 : {
982 : EnhancedCustomShapeParameterType::EQUATION,
983 : EnhancedCustomShapeParameterType::NORMAL,
984 : 8, 0
985 : },
986 : {
987 : EnhancedCustomShapeParameterType::EQUATION,
988 : EnhancedCustomShapeParameterType::EQUATION,
989 : 8, 11
990 : },
991 : {
992 : EnhancedCustomShapeParameterType::NORMAL,
993 : EnhancedCustomShapeParameterType::EQUATION,
994 : 0, 11
995 : },
996 : {
997 : EnhancedCustomShapeParameterType::EQUATION,
998 : EnhancedCustomShapeParameterType::EQUATION,
999 : 1, 0
1000 : },
1001 : {
1002 : EnhancedCustomShapeParameterType::EQUATION,
1003 : EnhancedCustomShapeParameterType::EQUATION,
1004 : 3, 2
1005 : },
1006 : {
1007 : EnhancedCustomShapeParameterType::EQUATION,
1008 : EnhancedCustomShapeParameterType::EQUATION,
1009 : 5, 4
1010 : },
1011 : {
1012 : EnhancedCustomShapeParameterType::EQUATION,
1013 : EnhancedCustomShapeParameterType::EQUATION,
1014 : 7, 6
1015 : }
1016 : };
1017 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1018 : }
1019 : {
1020 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1021 : static const sal_uInt16 nValues[] = {
1022 : // Command, Count
1023 : 1,1,
1024 : 2,3,
1025 : 4,0,
1026 : 7,0,
1027 : 5,0,
1028 : 1,1,
1029 : 2,3,
1030 : 6,0,
1031 : 5,0
1032 : };
1033 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1034 : }
1035 : {
1036 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1037 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1038 : {
1039 0 : EnhancedCustomShapeTextFrame aTextFrame;
1040 : {
1041 : static const CustomShapeProvider::ParameterPairData aData =
1042 : {
1043 : EnhancedCustomShapeParameterType::NORMAL,
1044 : EnhancedCustomShapeParameterType::NORMAL,
1045 : 0, 0
1046 : };
1047 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1048 : }
1049 : {
1050 : static const CustomShapeProvider::ParameterPairData aData =
1051 : {
1052 : EnhancedCustomShapeParameterType::EQUATION,
1053 : EnhancedCustomShapeParameterType::EQUATION,
1054 : 8, 11
1055 : };
1056 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1057 : }
1058 0 : aTextFrameSeq [0] = aTextFrame;
1059 : }
1060 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1061 : }
1062 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1063 : }
1064 : {
1065 0 : awt::Rectangle aRectangle;
1066 0 : aRectangle.X = 0;
1067 0 : aRectangle.Y = 0;
1068 0 : aRectangle.Width = 0;
1069 0 : aRectangle.Height = 0;
1070 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1071 : }
1072 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-callout3");
1073 :
1074 0 : return aPropertyMap;
1075 : }
1076 : };
1077 3 : class ShapeCbentUpArrow : public CustomShapeProvider
1078 : {
1079 0 : virtual PropertyMap getProperties()
1080 : {
1081 0 : PropertyMap aPropertyMap;
1082 :
1083 : {
1084 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
1085 : {
1086 0 : Any aAny ((sal_Int32) 25000);
1087 0 : aAdjSequence [0].Value = aAny;
1088 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
1089 : }
1090 : {
1091 0 : Any aAny ((sal_Int32) 25000);
1092 0 : aAdjSequence [1].Value = aAny;
1093 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
1094 : }
1095 : {
1096 0 : Any aAny ((sal_Int32) 25000);
1097 0 : aAdjSequence [2].Value = aAny;
1098 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
1099 : }
1100 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1101 : }
1102 : {
1103 : static const char *aStrings[] = {
1104 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1105 : "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
1106 : "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))",
1107 : "min(logwidth,logheight)",
1108 : "?3 *?2 /100000",
1109 : "?3 *?1 /50000",
1110 : "logwidth+0-?5 ",
1111 : "?3 *?1 /100000",
1112 : "logwidth+0-?7 ",
1113 : "?3 *?0 /200000",
1114 : "?8 +0-?9 ",
1115 : "?8 +?9 -0",
1116 : "?3 *?0 /100000",
1117 : "logheight+0-?12 ",
1118 : "?11 *1/2",
1119 : "(?13 +logheight)/2",
1120 : "(?4 +logheight)/2",
1121 : "logheight",
1122 : "logwidth"
1123 : };
1124 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1125 : }
1126 : {
1127 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1128 : {
1129 0 : Sequence< PropertyValue > aPropSequence (4);
1130 : {
1131 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1132 : static const CustomShapeProvider::ParameterPairData aData =
1133 : {
1134 : EnhancedCustomShapeParameterType::NORMAL,
1135 : EnhancedCustomShapeParameterType::EQUATION,
1136 : 0, 13
1137 : };
1138 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1139 : }
1140 : {
1141 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1142 0 : EnhancedCustomShapeParameter aParameter;
1143 0 : Any aAny ((sal_Int32) 50000);
1144 0 : aParameter.Value = aAny;
1145 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1146 0 : aPropSequence [1].Value = makeAny (aParameter);
1147 : }
1148 : {
1149 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1150 0 : EnhancedCustomShapeParameter aParameter;
1151 0 : Any aAny ((sal_Int32) 0);
1152 0 : aParameter.Value = aAny;
1153 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1154 0 : aPropSequence [2].Value = makeAny (aParameter);
1155 : }
1156 : {
1157 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1158 0 : Any aAny ((sal_Int32) 0);
1159 0 : aPropSequence [3].Value = makeAny (aAny);
1160 : }
1161 0 : aPropSequenceSequence [0] = aPropSequence;
1162 : }
1163 : {
1164 0 : Sequence< PropertyValue > aPropSequence (4);
1165 : {
1166 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1167 : static const CustomShapeProvider::ParameterPairData aData =
1168 : {
1169 : EnhancedCustomShapeParameterType::EQUATION,
1170 : EnhancedCustomShapeParameterType::NORMAL,
1171 : 6, 0
1172 : };
1173 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1174 : }
1175 : {
1176 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1177 0 : EnhancedCustomShapeParameter aParameter;
1178 0 : Any aAny ((sal_Int32) 50000);
1179 0 : aParameter.Value = aAny;
1180 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1181 0 : aPropSequence [1].Value = makeAny (aParameter);
1182 : }
1183 : {
1184 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1185 0 : EnhancedCustomShapeParameter aParameter;
1186 0 : Any aAny ((sal_Int32) 0);
1187 0 : aParameter.Value = aAny;
1188 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1189 0 : aPropSequence [2].Value = makeAny (aParameter);
1190 : }
1191 : {
1192 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1193 0 : Any aAny ((sal_Int32) 1);
1194 0 : aPropSequence [3].Value = makeAny (aAny);
1195 : }
1196 0 : aPropSequenceSequence [1] = aPropSequence;
1197 : }
1198 : {
1199 0 : Sequence< PropertyValue > aPropSequence (4);
1200 : {
1201 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1202 : static const CustomShapeProvider::ParameterPairData aData =
1203 : {
1204 : EnhancedCustomShapeParameterType::EQUATION,
1205 : EnhancedCustomShapeParameterType::EQUATION,
1206 : 10, 4
1207 : };
1208 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1209 : }
1210 : {
1211 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1212 0 : EnhancedCustomShapeParameter aParameter;
1213 0 : Any aAny ((sal_Int32) 50000);
1214 0 : aParameter.Value = aAny;
1215 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1216 0 : aPropSequence [1].Value = makeAny (aParameter);
1217 : }
1218 : {
1219 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1220 0 : EnhancedCustomShapeParameter aParameter;
1221 0 : Any aAny ((sal_Int32) 0);
1222 0 : aParameter.Value = aAny;
1223 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1224 0 : aPropSequence [2].Value = makeAny (aParameter);
1225 : }
1226 : {
1227 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1228 0 : Any aAny ((sal_Int32) 2);
1229 0 : aPropSequence [3].Value = makeAny (aAny);
1230 : }
1231 0 : aPropSequenceSequence [2] = aPropSequence;
1232 : }
1233 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1234 : }
1235 : {
1236 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1237 : }
1238 : {
1239 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1240 : }
1241 : {
1242 0 : Sequence< PropertyValue > aPropSequence (3);
1243 : {
1244 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1245 : static const CustomShapeProvider::ParameterPairData aData[] = {
1246 : {
1247 : EnhancedCustomShapeParameterType::NORMAL,
1248 : EnhancedCustomShapeParameterType::EQUATION,
1249 : 0, 13
1250 : },
1251 : {
1252 : EnhancedCustomShapeParameterType::EQUATION,
1253 : EnhancedCustomShapeParameterType::EQUATION,
1254 : 10, 13
1255 : },
1256 : {
1257 : EnhancedCustomShapeParameterType::EQUATION,
1258 : EnhancedCustomShapeParameterType::EQUATION,
1259 : 10, 4
1260 : },
1261 : {
1262 : EnhancedCustomShapeParameterType::EQUATION,
1263 : EnhancedCustomShapeParameterType::EQUATION,
1264 : 6, 4
1265 : },
1266 : {
1267 : EnhancedCustomShapeParameterType::EQUATION,
1268 : EnhancedCustomShapeParameterType::NORMAL,
1269 : 8, 0
1270 : },
1271 : {
1272 : EnhancedCustomShapeParameterType::EQUATION,
1273 : EnhancedCustomShapeParameterType::EQUATION,
1274 : 18, 4
1275 : },
1276 : {
1277 : EnhancedCustomShapeParameterType::EQUATION,
1278 : EnhancedCustomShapeParameterType::EQUATION,
1279 : 11, 4
1280 : },
1281 : {
1282 : EnhancedCustomShapeParameterType::EQUATION,
1283 : EnhancedCustomShapeParameterType::EQUATION,
1284 : 11, 17
1285 : },
1286 : {
1287 : EnhancedCustomShapeParameterType::NORMAL,
1288 : EnhancedCustomShapeParameterType::EQUATION,
1289 : 0, 17
1290 : }
1291 : };
1292 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1293 : }
1294 : {
1295 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1296 : static const sal_uInt16 nValues[] = {
1297 : // Command, Count
1298 : 1,1,
1299 : 2,8,
1300 : 4,0,
1301 : 5,0
1302 : };
1303 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1304 : }
1305 : {
1306 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1307 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1308 : {
1309 0 : EnhancedCustomShapeTextFrame aTextFrame;
1310 : {
1311 : static const CustomShapeProvider::ParameterPairData aData =
1312 : {
1313 : EnhancedCustomShapeParameterType::NORMAL,
1314 : EnhancedCustomShapeParameterType::EQUATION,
1315 : 0, 13
1316 : };
1317 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1318 : }
1319 : {
1320 : static const CustomShapeProvider::ParameterPairData aData =
1321 : {
1322 : EnhancedCustomShapeParameterType::EQUATION,
1323 : EnhancedCustomShapeParameterType::EQUATION,
1324 : 11, 17
1325 : };
1326 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1327 : }
1328 0 : aTextFrameSeq [0] = aTextFrame;
1329 : }
1330 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1331 : }
1332 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1333 : }
1334 : {
1335 0 : awt::Rectangle aRectangle;
1336 0 : aRectangle.X = 0;
1337 0 : aRectangle.Y = 0;
1338 0 : aRectangle.Width = 0;
1339 0 : aRectangle.Height = 0;
1340 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1341 : }
1342 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentUpArrow");
1343 :
1344 0 : return aPropertyMap;
1345 : }
1346 : };
1347 3 : class ShapeCnoSmoking : public CustomShapeProvider
1348 : {
1349 0 : virtual PropertyMap getProperties()
1350 : {
1351 0 : PropertyMap aPropertyMap;
1352 :
1353 : {
1354 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1355 : {
1356 0 : Any aAny ((sal_Int32) 18750);
1357 0 : aAdjSequence [0].Value = aAny;
1358 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
1359 : }
1360 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1361 : }
1362 : {
1363 : static const char *aStrings[] = {
1364 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
1365 : "min(logwidth,logheight)",
1366 : "?1 *?0 /100000",
1367 : "logwidth/2",
1368 : "?3 +0-?2 ",
1369 : "logheight/2",
1370 : "?5 +0-?2 ",
1371 : "(10800000*atan2(logheight,logwidth))/pi",
1372 : "?6 *cos(pi*(?7 )/10800000)",
1373 : "?4 *sin(pi*(?7 )/10800000)",
1374 : "sqrt(?8 *?8 +?9 *?9 +0*0)",
1375 : "?4 *?6 /?10 ",
1376 : "?2 *1/2",
1377 : "(10800000*atan2(?12 ,?11 ))/pi",
1378 : "?13 *2/1",
1379 : "-10800000+2-0",
1380 : "(10800000*atan2(logheight,logwidth))/pi",
1381 : "?16 +0-?13 ",
1382 : "?17 +0-10800000",
1383 : "?6 *cos(pi*(?17 )/10800000)",
1384 : "?4 *sin(pi*(?17 )/10800000)",
1385 : "sqrt(?19 *?19 +?20 *?20 +0*0)",
1386 : "?4 *?6 /?21 ",
1387 : "?22 *cos(pi*(?17 )/10800000)",
1388 : "?22 *sin(pi*(?17 )/10800000)",
1389 : "logwidth/2",
1390 : "?25 +?23 -0",
1391 : "logheight/2",
1392 : "?27 +?24 -0",
1393 : "?25 +0-?23 ",
1394 : "?27 +0-?24 ",
1395 : "?3 *cos(pi*(2700000)/10800000)",
1396 : "?5 *sin(pi*(2700000)/10800000)",
1397 : "?25 +0-?31 ",
1398 : "?25 +?31 -0",
1399 : "?27 +0-?32 ",
1400 : "?27 +?32 -0",
1401 : "logheight",
1402 : "logwidth",
1403 : "(10800000)/60000.0",
1404 : "(5400000)/60000.0",
1405 : "(16200000)/60000.0",
1406 : "(5400000)/60000.0",
1407 : "(0)/60000.0",
1408 : "(5400000)/60000.0",
1409 : "(5400000)/60000.0",
1410 : "(5400000)/60000.0",
1411 : "(?17 )/60000.0",
1412 : "(?15 )/60000.0",
1413 : "(?18 )/60000.0",
1414 : "(?15 )/60000.0"
1415 : };
1416 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1417 : }
1418 : {
1419 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1420 : {
1421 0 : Sequence< PropertyValue > aPropSequence (3);
1422 : {
1423 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1424 : static const CustomShapeProvider::ParameterPairData aData =
1425 : {
1426 : EnhancedCustomShapeParameterType::EQUATION,
1427 : EnhancedCustomShapeParameterType::EQUATION,
1428 : 2, 27
1429 : };
1430 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1431 : }
1432 : {
1433 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RadiusRangeMaximum");
1434 0 : EnhancedCustomShapeParameter aParameter;
1435 0 : Any aAny ((sal_Int32) 50000);
1436 0 : aParameter.Value = aAny;
1437 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1438 0 : aPropSequence [1].Value = makeAny (aParameter);
1439 : }
1440 : {
1441 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RadiusRangeMinimum");
1442 0 : EnhancedCustomShapeParameter aParameter;
1443 0 : Any aAny ((sal_Int32) 0);
1444 0 : aParameter.Value = aAny;
1445 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1446 0 : aPropSequence [2].Value = makeAny (aParameter);
1447 : }
1448 0 : aPropSequenceSequence [0] = aPropSequence;
1449 : }
1450 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1451 : }
1452 : {
1453 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1454 : }
1455 : {
1456 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1457 : }
1458 : {
1459 0 : Sequence< PropertyValue > aPropSequence (3);
1460 : {
1461 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1462 : static const CustomShapeProvider::ParameterPairData aData[] = {
1463 : {
1464 : EnhancedCustomShapeParameterType::NORMAL,
1465 : EnhancedCustomShapeParameterType::EQUATION,
1466 : 0, 27
1467 : },
1468 : {
1469 : EnhancedCustomShapeParameterType::EQUATION,
1470 : EnhancedCustomShapeParameterType::EQUATION,
1471 : 3, 5
1472 : },
1473 : {
1474 : EnhancedCustomShapeParameterType::EQUATION,
1475 : EnhancedCustomShapeParameterType::EQUATION,
1476 : 39, 40
1477 : },
1478 : {
1479 : EnhancedCustomShapeParameterType::EQUATION,
1480 : EnhancedCustomShapeParameterType::EQUATION,
1481 : 3, 5
1482 : },
1483 : {
1484 : EnhancedCustomShapeParameterType::EQUATION,
1485 : EnhancedCustomShapeParameterType::EQUATION,
1486 : 41, 42
1487 : },
1488 : {
1489 : EnhancedCustomShapeParameterType::EQUATION,
1490 : EnhancedCustomShapeParameterType::EQUATION,
1491 : 3, 5
1492 : },
1493 : {
1494 : EnhancedCustomShapeParameterType::EQUATION,
1495 : EnhancedCustomShapeParameterType::EQUATION,
1496 : 43, 44
1497 : },
1498 : {
1499 : EnhancedCustomShapeParameterType::EQUATION,
1500 : EnhancedCustomShapeParameterType::EQUATION,
1501 : 3, 5
1502 : },
1503 : {
1504 : EnhancedCustomShapeParameterType::EQUATION,
1505 : EnhancedCustomShapeParameterType::EQUATION,
1506 : 45, 46
1507 : },
1508 : {
1509 : EnhancedCustomShapeParameterType::EQUATION,
1510 : EnhancedCustomShapeParameterType::EQUATION,
1511 : 26, 28
1512 : },
1513 : {
1514 : EnhancedCustomShapeParameterType::EQUATION,
1515 : EnhancedCustomShapeParameterType::EQUATION,
1516 : 4, 6
1517 : },
1518 : {
1519 : EnhancedCustomShapeParameterType::EQUATION,
1520 : EnhancedCustomShapeParameterType::EQUATION,
1521 : 47, 48
1522 : },
1523 : {
1524 : EnhancedCustomShapeParameterType::EQUATION,
1525 : EnhancedCustomShapeParameterType::EQUATION,
1526 : 29, 30
1527 : },
1528 : {
1529 : EnhancedCustomShapeParameterType::EQUATION,
1530 : EnhancedCustomShapeParameterType::EQUATION,
1531 : 4, 6
1532 : },
1533 : {
1534 : EnhancedCustomShapeParameterType::EQUATION,
1535 : EnhancedCustomShapeParameterType::EQUATION,
1536 : 49, 50
1537 : }
1538 : };
1539 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1540 : }
1541 : {
1542 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1543 : static const sal_uInt16 nValues[] = {
1544 : // Command, Count
1545 : 1,1,
1546 : 17,4,
1547 : 4,0,
1548 : 1,1,
1549 : 17,1,
1550 : 4,0,
1551 : 1,1,
1552 : 17,1,
1553 : 4,0,
1554 : 5,0
1555 : };
1556 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1557 : }
1558 : {
1559 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1560 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1561 : {
1562 0 : EnhancedCustomShapeTextFrame aTextFrame;
1563 : {
1564 : static const CustomShapeProvider::ParameterPairData aData =
1565 : {
1566 : EnhancedCustomShapeParameterType::EQUATION,
1567 : EnhancedCustomShapeParameterType::EQUATION,
1568 : 33, 35
1569 : };
1570 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1571 : }
1572 : {
1573 : static const CustomShapeProvider::ParameterPairData aData =
1574 : {
1575 : EnhancedCustomShapeParameterType::EQUATION,
1576 : EnhancedCustomShapeParameterType::EQUATION,
1577 : 34, 36
1578 : };
1579 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1580 : }
1581 0 : aTextFrameSeq [0] = aTextFrame;
1582 : }
1583 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1584 : }
1585 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1586 : }
1587 : {
1588 0 : awt::Rectangle aRectangle;
1589 0 : aRectangle.X = 0;
1590 0 : aRectangle.Y = 0;
1591 0 : aRectangle.Width = 0;
1592 0 : aRectangle.Height = 0;
1593 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1594 : }
1595 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-noSmoking");
1596 :
1597 0 : return aPropertyMap;
1598 : }
1599 : };
1600 3 : class ShapeCtrapezoid : public CustomShapeProvider
1601 : {
1602 0 : virtual PropertyMap getProperties()
1603 : {
1604 0 : PropertyMap aPropertyMap;
1605 :
1606 : {
1607 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
1608 : {
1609 0 : Any aAny ((sal_Int32) 25000);
1610 0 : aAdjSequence [0].Value = aAny;
1611 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
1612 : }
1613 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1614 : }
1615 : {
1616 : static const char *aStrings[] = {
1617 : "min(logwidth,logheight)",
1618 : "50000*logwidth/?0 ",
1619 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
1620 : "?0 *?2 /200000",
1621 : "?0 *?2 /100000",
1622 : "logwidth+0-?4 ",
1623 : "logwidth+0-?3 ",
1624 : "logwidth/3",
1625 : "?7 *?2 /?1 ",
1626 : "logheight/3",
1627 : "?9 *?2 /?1 ",
1628 : "logwidth+0-?8 ",
1629 : "logwidth/2",
1630 : "logheight/2",
1631 : "logheight",
1632 : "logwidth"
1633 : };
1634 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1635 : }
1636 : {
1637 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1638 : {
1639 0 : Sequence< PropertyValue > aPropSequence (4);
1640 : {
1641 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1642 : static const CustomShapeProvider::ParameterPairData aData =
1643 : {
1644 : EnhancedCustomShapeParameterType::EQUATION,
1645 : EnhancedCustomShapeParameterType::NORMAL,
1646 : 4, 0
1647 : };
1648 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1649 : }
1650 : {
1651 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1652 0 : EnhancedCustomShapeParameter aParameter;
1653 0 : Any aAny ((sal_Int32) 1);
1654 0 : aParameter.Value = aAny;
1655 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1656 0 : aPropSequence [1].Value = makeAny (aParameter);
1657 : }
1658 : {
1659 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1660 0 : EnhancedCustomShapeParameter aParameter;
1661 0 : Any aAny ((sal_Int32) 0);
1662 0 : aParameter.Value = aAny;
1663 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1664 0 : aPropSequence [2].Value = makeAny (aParameter);
1665 : }
1666 : {
1667 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1668 0 : Any aAny ((sal_Int32) 0);
1669 0 : aPropSequence [3].Value = makeAny (aAny);
1670 : }
1671 0 : aPropSequenceSequence [0] = aPropSequence;
1672 : }
1673 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1674 : }
1675 : {
1676 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1677 : }
1678 : {
1679 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1680 : }
1681 : {
1682 0 : Sequence< PropertyValue > aPropSequence (3);
1683 : {
1684 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1685 : static const CustomShapeProvider::ParameterPairData aData[] = {
1686 : {
1687 : EnhancedCustomShapeParameterType::NORMAL,
1688 : EnhancedCustomShapeParameterType::EQUATION,
1689 : 0, 14
1690 : },
1691 : {
1692 : EnhancedCustomShapeParameterType::EQUATION,
1693 : EnhancedCustomShapeParameterType::NORMAL,
1694 : 4, 0
1695 : },
1696 : {
1697 : EnhancedCustomShapeParameterType::EQUATION,
1698 : EnhancedCustomShapeParameterType::NORMAL,
1699 : 5, 0
1700 : },
1701 : {
1702 : EnhancedCustomShapeParameterType::EQUATION,
1703 : EnhancedCustomShapeParameterType::EQUATION,
1704 : 15, 14
1705 : }
1706 : };
1707 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1708 : }
1709 : {
1710 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1711 : static const sal_uInt16 nValues[] = {
1712 : // Command, Count
1713 : 1,1,
1714 : 2,3,
1715 : 4,0,
1716 : 5,0
1717 : };
1718 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1719 : }
1720 : {
1721 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1722 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1723 : {
1724 0 : EnhancedCustomShapeTextFrame aTextFrame;
1725 : {
1726 : static const CustomShapeProvider::ParameterPairData aData =
1727 : {
1728 : EnhancedCustomShapeParameterType::EQUATION,
1729 : EnhancedCustomShapeParameterType::EQUATION,
1730 : 8, 10
1731 : };
1732 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1733 : }
1734 : {
1735 : static const CustomShapeProvider::ParameterPairData aData =
1736 : {
1737 : EnhancedCustomShapeParameterType::EQUATION,
1738 : EnhancedCustomShapeParameterType::EQUATION,
1739 : 11, 14
1740 : };
1741 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1742 : }
1743 0 : aTextFrameSeq [0] = aTextFrame;
1744 : }
1745 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1746 : }
1747 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1748 : }
1749 : {
1750 0 : awt::Rectangle aRectangle;
1751 0 : aRectangle.X = 0;
1752 0 : aRectangle.Y = 0;
1753 0 : aRectangle.Width = 0;
1754 0 : aRectangle.Height = 0;
1755 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1756 : }
1757 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-trapezoid");
1758 :
1759 0 : return aPropertyMap;
1760 : }
1761 : };
1762 3 : class ShapeCcloudCallout : public CustomShapeProvider
1763 : {
1764 0 : virtual PropertyMap getProperties()
1765 : {
1766 0 : PropertyMap aPropertyMap;
1767 :
1768 : {
1769 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
1770 : {
1771 0 : Any aAny ((sal_Int32) -20833);
1772 0 : aAdjSequence [0].Value = aAny;
1773 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
1774 : }
1775 : {
1776 0 : Any aAny ((sal_Int32) 62500);
1777 0 : aAdjSequence [1].Value = aAny;
1778 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
1779 : }
1780 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1781 : }
1782 : {
1783 : static const char *aStrings[] = {
1784 : "logwidth*$0 /100000",
1785 : "logheight*$1 /100000",
1786 : "logwidth/2",
1787 : "?2 +?0 -0",
1788 : "logheight/2",
1789 : "?4 +?1 -0",
1790 : "logheight/2",
1791 : "?6 *(cos(atan2(?1 ,?0 )))",
1792 : "logwidth/2",
1793 : "?8 *(sin(atan2(?1 ,?0 )))",
1794 : "?8 *(cos(atan2(?9 ,?7 )))",
1795 : "?6 *(sin(atan2(?9 ,?7 )))",
1796 : "?2 +?10 -0",
1797 : "?4 +?11 -0",
1798 : "?12 +0-?3 ",
1799 : "?13 +0-?5 ",
1800 : "sqrt(?14 *?14 +?15 *?15 +0*0)",
1801 : "min(logwidth,logheight)",
1802 : "?17 *6600/21600",
1803 : "?16 +0-?18 ",
1804 : "?19 *1/3",
1805 : "?17 *1800/21600",
1806 : "?20 +?21 -0",
1807 : "?22 *?14 /?16 ",
1808 : "?22 *?15 /?16 ",
1809 : "?23 +?3 -0",
1810 : "?24 +?5 -0",
1811 : "?17 *4800/21600",
1812 : "?20 *2/1",
1813 : "?27 +?28 -0",
1814 : "?29 *?14 /?16 ",
1815 : "?29 *?15 /?16 ",
1816 : "?30 +?3 -0",
1817 : "?31 +?5 -0",
1818 : "?17 *1200/21600",
1819 : "?17 *600/21600",
1820 : "?3 +?35 -0",
1821 : "?25 +?34 -0",
1822 : "?32 +?21 -0",
1823 : "logwidth*2977/21600",
1824 : "logheight*3262/21600",
1825 : "logwidth*17087/21600",
1826 : "logheight*17337/21600",
1827 : "logwidth*67/21600",
1828 : "logheight*21577/21600",
1829 : "logwidth*21582/21600",
1830 : "logheight*1235/21600",
1831 : "(10800000*atan2(?1 ,?0 ))/pi",
1832 : "(-11429249)/60000.0",
1833 : "(7426832)/60000.0",
1834 : "(-8646143)/60000.0",
1835 : "(5396714)/60000.0",
1836 : "(-8748475)/60000.0",
1837 : "(5983381)/60000.0",
1838 : "(-7859164)/60000.0",
1839 : "(7034504)/60000.0",
1840 : "(-4722533)/60000.0",
1841 : "(6541615)/60000.0",
1842 : "(-2776035)/60000.0",
1843 : "(7816140)/60000.0",
1844 : "(37501)/60000.0",
1845 : "(6842000)/60000.0",
1846 : "(1347096)/60000.0",
1847 : "(6910353)/60000.0",
1848 : "(3974558)/60000.0",
1849 : "(4542661)/60000.0",
1850 : "(-16496525)/60000.0",
1851 : "(8804134)/60000.0",
1852 : "(-14809710)/60000.0",
1853 : "(9151131)/60000.0",
1854 : "(0)/60000.0",
1855 : "(21600000)/60000.0",
1856 : "(0)/60000.0",
1857 : "(21600000)/60000.0",
1858 : "(0)/60000.0",
1859 : "(21600000)/60000.0",
1860 : "(5204520)/60000.0",
1861 : "(1585770)/60000.0",
1862 : "(4416628)/60000.0",
1863 : "(686848)/60000.0",
1864 : "(8257449)/60000.0",
1865 : "(844866)/60000.0",
1866 : "(387196)/60000.0",
1867 : "(959901)/60000.0",
1868 : "(-4217541)/60000.0",
1869 : "(4255042)/60000.0",
1870 : "(1819082)/60000.0",
1871 : "(1665090)/60000.0",
1872 : "(-824660)/60000.0",
1873 : "(891534)/60000.0",
1874 : "(-8950887)/60000.0",
1875 : "(1091722)/60000.0",
1876 : "(-9809656)/60000.0",
1877 : "(1061181)/60000.0",
1878 : "(-4002417)/60000.0",
1879 : "(739161)/60000.0",
1880 : "(9459261)/60000.0",
1881 : "(711490)/60000.0"
1882 : };
1883 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1884 : }
1885 : {
1886 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
1887 : {
1888 0 : Sequence< PropertyValue > aPropSequence (7);
1889 : {
1890 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1891 : static const CustomShapeProvider::ParameterPairData aData =
1892 : {
1893 : EnhancedCustomShapeParameterType::EQUATION,
1894 : EnhancedCustomShapeParameterType::EQUATION,
1895 : 3, 5
1896 : };
1897 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1898 : }
1899 : {
1900 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1901 0 : EnhancedCustomShapeParameter aParameter;
1902 0 : Any aAny ((sal_Int32) 2147483647);
1903 0 : aParameter.Value = aAny;
1904 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1905 0 : aPropSequence [1].Value = makeAny (aParameter);
1906 : }
1907 : {
1908 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1909 0 : EnhancedCustomShapeParameter aParameter;
1910 0 : Any aAny ((sal_Int32) -2147483647);
1911 0 : aParameter.Value = aAny;
1912 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1913 0 : aPropSequence [2].Value = makeAny (aParameter);
1914 : }
1915 : {
1916 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
1917 0 : EnhancedCustomShapeParameter aParameter;
1918 0 : Any aAny ((sal_Int32) 2147483647);
1919 0 : aParameter.Value = aAny;
1920 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1921 0 : aPropSequence [3].Value = makeAny (aParameter);
1922 : }
1923 : {
1924 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
1925 0 : EnhancedCustomShapeParameter aParameter;
1926 0 : Any aAny ((sal_Int32) -2147483647);
1927 0 : aParameter.Value = aAny;
1928 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1929 0 : aPropSequence [4].Value = makeAny (aParameter);
1930 : }
1931 : {
1932 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
1933 0 : Any aAny ((sal_Int32) 0);
1934 0 : aPropSequence [5].Value = makeAny (aAny);
1935 : }
1936 : {
1937 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
1938 0 : Any aAny ((sal_Int32) 1);
1939 0 : aPropSequence [6].Value = makeAny (aAny);
1940 : }
1941 0 : aPropSequenceSequence [0] = aPropSequence;
1942 : }
1943 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1944 : }
1945 : {
1946 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1947 : }
1948 : {
1949 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1950 : }
1951 : {
1952 0 : Sequence< PropertyValue > aPropSequence (4);
1953 : {
1954 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1955 : static const CustomShapeProvider::ParameterPairData aData[] = {
1956 : {
1957 : EnhancedCustomShapeParameterType::NORMAL,
1958 : EnhancedCustomShapeParameterType::NORMAL,
1959 : 3900, 14370
1960 : },
1961 : {
1962 : EnhancedCustomShapeParameterType::NORMAL,
1963 : EnhancedCustomShapeParameterType::NORMAL,
1964 : 6753, 9190
1965 : },
1966 : {
1967 : EnhancedCustomShapeParameterType::EQUATION,
1968 : EnhancedCustomShapeParameterType::EQUATION,
1969 : 48, 49
1970 : },
1971 : {
1972 : EnhancedCustomShapeParameterType::NORMAL,
1973 : EnhancedCustomShapeParameterType::NORMAL,
1974 : 5333, 7267
1975 : },
1976 : {
1977 : EnhancedCustomShapeParameterType::EQUATION,
1978 : EnhancedCustomShapeParameterType::EQUATION,
1979 : 50, 51
1980 : },
1981 : {
1982 : EnhancedCustomShapeParameterType::NORMAL,
1983 : EnhancedCustomShapeParameterType::NORMAL,
1984 : 4365, 5945
1985 : },
1986 : {
1987 : EnhancedCustomShapeParameterType::EQUATION,
1988 : EnhancedCustomShapeParameterType::EQUATION,
1989 : 52, 53
1990 : },
1991 : {
1992 : EnhancedCustomShapeParameterType::NORMAL,
1993 : EnhancedCustomShapeParameterType::NORMAL,
1994 : 4857, 6595
1995 : },
1996 : {
1997 : EnhancedCustomShapeParameterType::EQUATION,
1998 : EnhancedCustomShapeParameterType::EQUATION,
1999 : 54, 55
2000 : },
2001 : {
2002 : EnhancedCustomShapeParameterType::NORMAL,
2003 : EnhancedCustomShapeParameterType::NORMAL,
2004 : 5333, 7273
2005 : },
2006 : {
2007 : EnhancedCustomShapeParameterType::EQUATION,
2008 : EnhancedCustomShapeParameterType::EQUATION,
2009 : 56, 57
2010 : },
2011 : {
2012 : EnhancedCustomShapeParameterType::NORMAL,
2013 : EnhancedCustomShapeParameterType::NORMAL,
2014 : 6775, 9220
2015 : },
2016 : {
2017 : EnhancedCustomShapeParameterType::EQUATION,
2018 : EnhancedCustomShapeParameterType::EQUATION,
2019 : 58, 59
2020 : },
2021 : {
2022 : EnhancedCustomShapeParameterType::NORMAL,
2023 : EnhancedCustomShapeParameterType::NORMAL,
2024 : 5785, 7867
2025 : },
2026 : {
2027 : EnhancedCustomShapeParameterType::EQUATION,
2028 : EnhancedCustomShapeParameterType::EQUATION,
2029 : 60, 61
2030 : },
2031 : {
2032 : EnhancedCustomShapeParameterType::NORMAL,
2033 : EnhancedCustomShapeParameterType::NORMAL,
2034 : 6752, 9215
2035 : },
2036 : {
2037 : EnhancedCustomShapeParameterType::EQUATION,
2038 : EnhancedCustomShapeParameterType::EQUATION,
2039 : 62, 63
2040 : },
2041 : {
2042 : EnhancedCustomShapeParameterType::NORMAL,
2043 : EnhancedCustomShapeParameterType::NORMAL,
2044 : 7720, 10543
2045 : },
2046 : {
2047 : EnhancedCustomShapeParameterType::EQUATION,
2048 : EnhancedCustomShapeParameterType::EQUATION,
2049 : 64, 65
2050 : },
2051 : {
2052 : EnhancedCustomShapeParameterType::NORMAL,
2053 : EnhancedCustomShapeParameterType::NORMAL,
2054 : 4360, 5918
2055 : },
2056 : {
2057 : EnhancedCustomShapeParameterType::EQUATION,
2058 : EnhancedCustomShapeParameterType::EQUATION,
2059 : 66, 67
2060 : },
2061 : {
2062 : EnhancedCustomShapeParameterType::NORMAL,
2063 : EnhancedCustomShapeParameterType::NORMAL,
2064 : 4345, 5945
2065 : },
2066 : {
2067 : EnhancedCustomShapeParameterType::EQUATION,
2068 : EnhancedCustomShapeParameterType::EQUATION,
2069 : 68, 69
2070 : },
2071 : {
2072 : EnhancedCustomShapeParameterType::EQUATION,
2073 : EnhancedCustomShapeParameterType::EQUATION,
2074 : 36, 5
2075 : },
2076 : {
2077 : EnhancedCustomShapeParameterType::EQUATION,
2078 : EnhancedCustomShapeParameterType::EQUATION,
2079 : 35, 35
2080 : },
2081 : {
2082 : EnhancedCustomShapeParameterType::EQUATION,
2083 : EnhancedCustomShapeParameterType::EQUATION,
2084 : 70, 71
2085 : },
2086 : {
2087 : EnhancedCustomShapeParameterType::EQUATION,
2088 : EnhancedCustomShapeParameterType::EQUATION,
2089 : 37, 26
2090 : },
2091 : {
2092 : EnhancedCustomShapeParameterType::EQUATION,
2093 : EnhancedCustomShapeParameterType::EQUATION,
2094 : 34, 34
2095 : },
2096 : {
2097 : EnhancedCustomShapeParameterType::EQUATION,
2098 : EnhancedCustomShapeParameterType::EQUATION,
2099 : 72, 73
2100 : },
2101 : {
2102 : EnhancedCustomShapeParameterType::EQUATION,
2103 : EnhancedCustomShapeParameterType::EQUATION,
2104 : 38, 33
2105 : },
2106 : {
2107 : EnhancedCustomShapeParameterType::EQUATION,
2108 : EnhancedCustomShapeParameterType::EQUATION,
2109 : 21, 21
2110 : },
2111 : {
2112 : EnhancedCustomShapeParameterType::EQUATION,
2113 : EnhancedCustomShapeParameterType::EQUATION,
2114 : 74, 75
2115 : },
2116 : {
2117 : EnhancedCustomShapeParameterType::NORMAL,
2118 : EnhancedCustomShapeParameterType::NORMAL,
2119 : 4693, 26177
2120 : },
2121 : {
2122 : EnhancedCustomShapeParameterType::NORMAL,
2123 : EnhancedCustomShapeParameterType::NORMAL,
2124 : 4345, 5945
2125 : },
2126 : {
2127 : EnhancedCustomShapeParameterType::EQUATION,
2128 : EnhancedCustomShapeParameterType::EQUATION,
2129 : 76, 77
2130 : },
2131 : {
2132 : EnhancedCustomShapeParameterType::NORMAL,
2133 : EnhancedCustomShapeParameterType::NORMAL,
2134 : 6928, 34899
2135 : },
2136 : {
2137 : EnhancedCustomShapeParameterType::NORMAL,
2138 : EnhancedCustomShapeParameterType::NORMAL,
2139 : 4360, 5918
2140 : },
2141 : {
2142 : EnhancedCustomShapeParameterType::EQUATION,
2143 : EnhancedCustomShapeParameterType::EQUATION,
2144 : 78, 79
2145 : },
2146 : {
2147 : EnhancedCustomShapeParameterType::NORMAL,
2148 : EnhancedCustomShapeParameterType::NORMAL,
2149 : 16478, 39090
2150 : },
2151 : {
2152 : EnhancedCustomShapeParameterType::NORMAL,
2153 : EnhancedCustomShapeParameterType::NORMAL,
2154 : 6752, 9215
2155 : },
2156 : {
2157 : EnhancedCustomShapeParameterType::EQUATION,
2158 : EnhancedCustomShapeParameterType::EQUATION,
2159 : 80, 81
2160 : },
2161 : {
2162 : EnhancedCustomShapeParameterType::NORMAL,
2163 : EnhancedCustomShapeParameterType::NORMAL,
2164 : 28827, 34751
2165 : },
2166 : {
2167 : EnhancedCustomShapeParameterType::NORMAL,
2168 : EnhancedCustomShapeParameterType::NORMAL,
2169 : 6752, 9215
2170 : },
2171 : {
2172 : EnhancedCustomShapeParameterType::EQUATION,
2173 : EnhancedCustomShapeParameterType::EQUATION,
2174 : 82, 83
2175 : },
2176 : {
2177 : EnhancedCustomShapeParameterType::NORMAL,
2178 : EnhancedCustomShapeParameterType::NORMAL,
2179 : 34129, 22954
2180 : },
2181 : {
2182 : EnhancedCustomShapeParameterType::NORMAL,
2183 : EnhancedCustomShapeParameterType::NORMAL,
2184 : 5785, 7867
2185 : },
2186 : {
2187 : EnhancedCustomShapeParameterType::EQUATION,
2188 : EnhancedCustomShapeParameterType::EQUATION,
2189 : 84, 85
2190 : },
2191 : {
2192 : EnhancedCustomShapeParameterType::NORMAL,
2193 : EnhancedCustomShapeParameterType::NORMAL,
2194 : 41798, 15354
2195 : },
2196 : {
2197 : EnhancedCustomShapeParameterType::NORMAL,
2198 : EnhancedCustomShapeParameterType::NORMAL,
2199 : 5333, 7273
2200 : },
2201 : {
2202 : EnhancedCustomShapeParameterType::EQUATION,
2203 : EnhancedCustomShapeParameterType::EQUATION,
2204 : 86, 87
2205 : },
2206 : {
2207 : EnhancedCustomShapeParameterType::NORMAL,
2208 : EnhancedCustomShapeParameterType::NORMAL,
2209 : 38324, 5426
2210 : },
2211 : {
2212 : EnhancedCustomShapeParameterType::NORMAL,
2213 : EnhancedCustomShapeParameterType::NORMAL,
2214 : 4857, 6595
2215 : },
2216 : {
2217 : EnhancedCustomShapeParameterType::EQUATION,
2218 : EnhancedCustomShapeParameterType::EQUATION,
2219 : 88, 89
2220 : },
2221 : {
2222 : EnhancedCustomShapeParameterType::NORMAL,
2223 : EnhancedCustomShapeParameterType::NORMAL,
2224 : 29078, 3952
2225 : },
2226 : {
2227 : EnhancedCustomShapeParameterType::NORMAL,
2228 : EnhancedCustomShapeParameterType::NORMAL,
2229 : 4857, 6595
2230 : },
2231 : {
2232 : EnhancedCustomShapeParameterType::EQUATION,
2233 : EnhancedCustomShapeParameterType::EQUATION,
2234 : 90, 91
2235 : },
2236 : {
2237 : EnhancedCustomShapeParameterType::NORMAL,
2238 : EnhancedCustomShapeParameterType::NORMAL,
2239 : 22141, 4720
2240 : },
2241 : {
2242 : EnhancedCustomShapeParameterType::NORMAL,
2243 : EnhancedCustomShapeParameterType::NORMAL,
2244 : 4365, 5945
2245 : },
2246 : {
2247 : EnhancedCustomShapeParameterType::EQUATION,
2248 : EnhancedCustomShapeParameterType::EQUATION,
2249 : 92, 93
2250 : },
2251 : {
2252 : EnhancedCustomShapeParameterType::NORMAL,
2253 : EnhancedCustomShapeParameterType::NORMAL,
2254 : 14000, 5192
2255 : },
2256 : {
2257 : EnhancedCustomShapeParameterType::NORMAL,
2258 : EnhancedCustomShapeParameterType::NORMAL,
2259 : 6753, 9190
2260 : },
2261 : {
2262 : EnhancedCustomShapeParameterType::EQUATION,
2263 : EnhancedCustomShapeParameterType::EQUATION,
2264 : 94, 95
2265 : },
2266 : {
2267 : EnhancedCustomShapeParameterType::NORMAL,
2268 : EnhancedCustomShapeParameterType::NORMAL,
2269 : 4127, 15789
2270 : },
2271 : {
2272 : EnhancedCustomShapeParameterType::NORMAL,
2273 : EnhancedCustomShapeParameterType::NORMAL,
2274 : 6753, 9190
2275 : },
2276 : {
2277 : EnhancedCustomShapeParameterType::EQUATION,
2278 : EnhancedCustomShapeParameterType::EQUATION,
2279 : 96, 97
2280 : }
2281 : };
2282 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2283 : }
2284 : {
2285 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2286 : static const sal_uInt16 nValues[] = {
2287 : // Command, Count
2288 : 1,1,
2289 : 17,11,
2290 : 4,0,
2291 : 5,0,
2292 : 1,1,
2293 : 17,1,
2294 : 4,0,
2295 : 5,0,
2296 : 1,1,
2297 : 17,1,
2298 : 4,0,
2299 : 5,0,
2300 : 1,1,
2301 : 17,1,
2302 : 4,0,
2303 : 5,0,
2304 : 1,1,
2305 : 17,1,
2306 : 1,1,
2307 : 17,1,
2308 : 1,1,
2309 : 17,1,
2310 : 1,1,
2311 : 17,1,
2312 : 1,1,
2313 : 17,1,
2314 : 1,1,
2315 : 17,1,
2316 : 1,1,
2317 : 17,1,
2318 : 1,1,
2319 : 17,1,
2320 : 1,1,
2321 : 17,1,
2322 : 1,1,
2323 : 17,1,
2324 : 1,1,
2325 : 17,1,
2326 : 6,0,
2327 : 5,0
2328 : };
2329 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2330 : }
2331 : {
2332 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
2333 0 : Sequence< awt::Size > aSizeSequence (5);
2334 : {
2335 0 : awt::Size aSize;
2336 0 : aSize.Width = 43200;
2337 0 : aSize.Height = 43200;
2338 0 : aSizeSequence [0] = aSize;
2339 : }
2340 : {
2341 0 : awt::Size aSize;
2342 0 : aSize.Width = 0;
2343 0 : aSize.Height = 0;
2344 0 : aSizeSequence [1] = aSize;
2345 : }
2346 : {
2347 0 : awt::Size aSize;
2348 0 : aSize.Width = 0;
2349 0 : aSize.Height = 0;
2350 0 : aSizeSequence [2] = aSize;
2351 : }
2352 : {
2353 0 : awt::Size aSize;
2354 0 : aSize.Width = 0;
2355 0 : aSize.Height = 0;
2356 0 : aSizeSequence [3] = aSize;
2357 : }
2358 : {
2359 0 : awt::Size aSize;
2360 0 : aSize.Width = 43200;
2361 0 : aSize.Height = 43200;
2362 0 : aSizeSequence [4] = aSize;
2363 : }
2364 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
2365 : }
2366 : {
2367 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
2368 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2369 : {
2370 0 : EnhancedCustomShapeTextFrame aTextFrame;
2371 : {
2372 : static const CustomShapeProvider::ParameterPairData aData =
2373 : {
2374 : EnhancedCustomShapeParameterType::EQUATION,
2375 : EnhancedCustomShapeParameterType::EQUATION,
2376 : 39, 40
2377 : };
2378 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2379 : }
2380 : {
2381 : static const CustomShapeProvider::ParameterPairData aData =
2382 : {
2383 : EnhancedCustomShapeParameterType::EQUATION,
2384 : EnhancedCustomShapeParameterType::EQUATION,
2385 : 41, 42
2386 : };
2387 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2388 : }
2389 0 : aTextFrameSeq [0] = aTextFrame;
2390 : }
2391 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
2392 : }
2393 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2394 : }
2395 : {
2396 0 : awt::Rectangle aRectangle;
2397 0 : aRectangle.X = 0;
2398 0 : aRectangle.Y = 0;
2399 0 : aRectangle.Width = 0;
2400 0 : aRectangle.Height = 0;
2401 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2402 : }
2403 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-cloudCallout");
2404 :
2405 0 : return aPropertyMap;
2406 : }
2407 : };
2408 3 : class ShapeCcallout1 : public CustomShapeProvider
2409 : {
2410 0 : virtual PropertyMap getProperties()
2411 : {
2412 0 : PropertyMap aPropertyMap;
2413 :
2414 : {
2415 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
2416 : {
2417 0 : Any aAny ((sal_Int32) 18750);
2418 0 : aAdjSequence [0].Value = aAny;
2419 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
2420 : }
2421 : {
2422 0 : Any aAny ((sal_Int32) -8333);
2423 0 : aAdjSequence [1].Value = aAny;
2424 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
2425 : }
2426 : {
2427 0 : Any aAny ((sal_Int32) 112500);
2428 0 : aAdjSequence [2].Value = aAny;
2429 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
2430 : }
2431 : {
2432 0 : Any aAny ((sal_Int32) -38333);
2433 0 : aAdjSequence [3].Value = aAny;
2434 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
2435 : }
2436 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2437 : }
2438 : {
2439 : static const char *aStrings[] = {
2440 : "logheight*$0 /100000",
2441 : "logwidth*$1 /100000",
2442 : "logheight*$2 /100000",
2443 : "logwidth*$3 /100000",
2444 : "logwidth",
2445 : "logheight/2",
2446 : "logwidth/2",
2447 : "logheight"
2448 : };
2449 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2450 : }
2451 : {
2452 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
2453 : {
2454 0 : Sequence< PropertyValue > aPropSequence (7);
2455 : {
2456 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2457 : static const CustomShapeProvider::ParameterPairData aData =
2458 : {
2459 : EnhancedCustomShapeParameterType::EQUATION,
2460 : EnhancedCustomShapeParameterType::EQUATION,
2461 : 1, 0
2462 : };
2463 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2464 : }
2465 : {
2466 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
2467 0 : EnhancedCustomShapeParameter aParameter;
2468 0 : Any aAny ((sal_Int32) 2147483647);
2469 0 : aParameter.Value = aAny;
2470 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2471 0 : aPropSequence [1].Value = makeAny (aParameter);
2472 : }
2473 : {
2474 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
2475 0 : EnhancedCustomShapeParameter aParameter;
2476 0 : Any aAny ((sal_Int32) -2147483647);
2477 0 : aParameter.Value = aAny;
2478 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2479 0 : aPropSequence [2].Value = makeAny (aParameter);
2480 : }
2481 : {
2482 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
2483 0 : EnhancedCustomShapeParameter aParameter;
2484 0 : Any aAny ((sal_Int32) 2147483647);
2485 0 : aParameter.Value = aAny;
2486 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2487 0 : aPropSequence [3].Value = makeAny (aParameter);
2488 : }
2489 : {
2490 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
2491 0 : EnhancedCustomShapeParameter aParameter;
2492 0 : Any aAny ((sal_Int32) -2147483647);
2493 0 : aParameter.Value = aAny;
2494 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2495 0 : aPropSequence [4].Value = makeAny (aParameter);
2496 : }
2497 : {
2498 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
2499 0 : Any aAny ((sal_Int32) 1);
2500 0 : aPropSequence [5].Value = makeAny (aAny);
2501 : }
2502 : {
2503 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
2504 0 : Any aAny ((sal_Int32) 0);
2505 0 : aPropSequence [6].Value = makeAny (aAny);
2506 : }
2507 0 : aPropSequenceSequence [0] = aPropSequence;
2508 : }
2509 : {
2510 0 : Sequence< PropertyValue > aPropSequence (7);
2511 : {
2512 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2513 : static const CustomShapeProvider::ParameterPairData aData =
2514 : {
2515 : EnhancedCustomShapeParameterType::EQUATION,
2516 : EnhancedCustomShapeParameterType::EQUATION,
2517 : 3, 2
2518 : };
2519 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2520 : }
2521 : {
2522 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
2523 0 : EnhancedCustomShapeParameter aParameter;
2524 0 : Any aAny ((sal_Int32) 2147483647);
2525 0 : aParameter.Value = aAny;
2526 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2527 0 : aPropSequence [1].Value = makeAny (aParameter);
2528 : }
2529 : {
2530 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
2531 0 : EnhancedCustomShapeParameter aParameter;
2532 0 : Any aAny ((sal_Int32) -2147483647);
2533 0 : aParameter.Value = aAny;
2534 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2535 0 : aPropSequence [2].Value = makeAny (aParameter);
2536 : }
2537 : {
2538 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
2539 0 : EnhancedCustomShapeParameter aParameter;
2540 0 : Any aAny ((sal_Int32) 2147483647);
2541 0 : aParameter.Value = aAny;
2542 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2543 0 : aPropSequence [3].Value = makeAny (aParameter);
2544 : }
2545 : {
2546 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
2547 0 : EnhancedCustomShapeParameter aParameter;
2548 0 : Any aAny ((sal_Int32) -2147483647);
2549 0 : aParameter.Value = aAny;
2550 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2551 0 : aPropSequence [4].Value = makeAny (aParameter);
2552 : }
2553 : {
2554 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
2555 0 : Any aAny ((sal_Int32) 3);
2556 0 : aPropSequence [5].Value = makeAny (aAny);
2557 : }
2558 : {
2559 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
2560 0 : Any aAny ((sal_Int32) 2);
2561 0 : aPropSequence [6].Value = makeAny (aAny);
2562 : }
2563 0 : aPropSequenceSequence [1] = aPropSequence;
2564 : }
2565 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2566 : }
2567 : {
2568 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2569 : }
2570 : {
2571 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2572 : }
2573 : {
2574 0 : Sequence< PropertyValue > aPropSequence (3);
2575 : {
2576 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2577 : static const CustomShapeProvider::ParameterPairData aData[] = {
2578 : {
2579 : EnhancedCustomShapeParameterType::NORMAL,
2580 : EnhancedCustomShapeParameterType::NORMAL,
2581 : 0, 0
2582 : },
2583 : {
2584 : EnhancedCustomShapeParameterType::EQUATION,
2585 : EnhancedCustomShapeParameterType::NORMAL,
2586 : 4, 0
2587 : },
2588 : {
2589 : EnhancedCustomShapeParameterType::EQUATION,
2590 : EnhancedCustomShapeParameterType::EQUATION,
2591 : 4, 7
2592 : },
2593 : {
2594 : EnhancedCustomShapeParameterType::NORMAL,
2595 : EnhancedCustomShapeParameterType::EQUATION,
2596 : 0, 7
2597 : },
2598 : {
2599 : EnhancedCustomShapeParameterType::EQUATION,
2600 : EnhancedCustomShapeParameterType::EQUATION,
2601 : 1, 0
2602 : },
2603 : {
2604 : EnhancedCustomShapeParameterType::EQUATION,
2605 : EnhancedCustomShapeParameterType::EQUATION,
2606 : 3, 2
2607 : }
2608 : };
2609 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2610 : }
2611 : {
2612 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2613 : static const sal_uInt16 nValues[] = {
2614 : // Command, Count
2615 : 1,1,
2616 : 2,3,
2617 : 4,0,
2618 : 7,0,
2619 : 5,0,
2620 : 1,1,
2621 : 2,1,
2622 : 6,0,
2623 : 5,0
2624 : };
2625 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2626 : }
2627 : {
2628 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2629 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2630 : {
2631 0 : EnhancedCustomShapeTextFrame aTextFrame;
2632 : {
2633 : static const CustomShapeProvider::ParameterPairData aData =
2634 : {
2635 : EnhancedCustomShapeParameterType::NORMAL,
2636 : EnhancedCustomShapeParameterType::NORMAL,
2637 : 0, 0
2638 : };
2639 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2640 : }
2641 : {
2642 : static const CustomShapeProvider::ParameterPairData aData =
2643 : {
2644 : EnhancedCustomShapeParameterType::EQUATION,
2645 : EnhancedCustomShapeParameterType::EQUATION,
2646 : 4, 7
2647 : };
2648 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2649 : }
2650 0 : aTextFrameSeq [0] = aTextFrame;
2651 : }
2652 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2653 : }
2654 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2655 : }
2656 : {
2657 0 : awt::Rectangle aRectangle;
2658 0 : aRectangle.X = 0;
2659 0 : aRectangle.Y = 0;
2660 0 : aRectangle.Width = 0;
2661 0 : aRectangle.Height = 0;
2662 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2663 : }
2664 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-callout1");
2665 :
2666 0 : return aPropertyMap;
2667 : }
2668 : };
2669 3 : class ShapeCribbon : public CustomShapeProvider
2670 : {
2671 0 : virtual PropertyMap getProperties()
2672 : {
2673 0 : PropertyMap aPropertyMap;
2674 :
2675 : {
2676 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
2677 : {
2678 0 : Any aAny ((sal_Int32) 16667);
2679 0 : aAdjSequence [0].Value = aAny;
2680 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
2681 : }
2682 : {
2683 0 : Any aAny ((sal_Int32) 50000);
2684 0 : aAdjSequence [1].Value = aAny;
2685 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
2686 : }
2687 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2688 : }
2689 : {
2690 : static const char *aStrings[] = {
2691 : "if(0-$0 ,0,if(33333-$0 ,$0 ,33333))",
2692 : "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
2693 : "logwidth/8",
2694 : "logwidth+0-?2 ",
2695 : "logwidth*?1 /200000",
2696 : "logwidth/2",
2697 : "?5 +0-?4 ",
2698 : "?5 +?4 -0",
2699 : "logwidth/32",
2700 : "?6 +?8 -0",
2701 : "?7 +0-?8 ",
2702 : "?6 +?2 -0",
2703 : "?7 +0-?2 ",
2704 : "?11 +0-?8 ",
2705 : "?12 +?8 -0",
2706 : "logheight*?0 /200000",
2707 : "logheight*?0 /100000",
2708 : "logheight+0-?16 ",
2709 : "?17 *1/2",
2710 : "logheight*?0 /400000",
2711 : "logheight+0-?19 ",
2712 : "?16 +0-?19 ",
2713 : "logheight",
2714 : "(16200000)/60000.0",
2715 : "(10800000)/60000.0",
2716 : "(16200000)/60000.0",
2717 : "(-10800000)/60000.0",
2718 : "(5400000)/60000.0",
2719 : "(-10800000)/60000.0",
2720 : "(5400000)/60000.0",
2721 : "(10800000)/60000.0",
2722 : "logwidth",
2723 : "(0)/60000.0",
2724 : "(5400000)/60000.0",
2725 : "(5400000)/60000.0",
2726 : "(5400000)/60000.0",
2727 : "(0)/60000.0",
2728 : "(5400000)/60000.0",
2729 : "(16200000)/60000.0",
2730 : "(-10800000)/60000.0",
2731 : "(10800000)/60000.0",
2732 : "(-5400000)/60000.0",
2733 : "(16200000)/60000.0",
2734 : "(10800000)/60000.0",
2735 : "(16200000)/60000.0",
2736 : "(10800000)/60000.0",
2737 : "(16200000)/60000.0",
2738 : "(-10800000)/60000.0",
2739 : "(5400000)/60000.0",
2740 : "(-10800000)/60000.0",
2741 : "(5400000)/60000.0",
2742 : "(10800000)/60000.0",
2743 : "(0)/60000.0",
2744 : "(5400000)/60000.0",
2745 : "(5400000)/60000.0",
2746 : "(5400000)/60000.0"
2747 : };
2748 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2749 : }
2750 : {
2751 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
2752 : {
2753 0 : Sequence< PropertyValue > aPropSequence (4);
2754 : {
2755 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2756 : static const CustomShapeProvider::ParameterPairData aData =
2757 : {
2758 : EnhancedCustomShapeParameterType::EQUATION,
2759 : EnhancedCustomShapeParameterType::EQUATION,
2760 : 5, 16
2761 : };
2762 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2763 : }
2764 : {
2765 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
2766 0 : EnhancedCustomShapeParameter aParameter;
2767 0 : Any aAny ((sal_Int32) 33333);
2768 0 : aParameter.Value = aAny;
2769 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2770 0 : aPropSequence [1].Value = makeAny (aParameter);
2771 : }
2772 : {
2773 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
2774 0 : EnhancedCustomShapeParameter aParameter;
2775 0 : Any aAny ((sal_Int32) 0);
2776 0 : aParameter.Value = aAny;
2777 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2778 0 : aPropSequence [2].Value = makeAny (aParameter);
2779 : }
2780 : {
2781 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
2782 0 : Any aAny ((sal_Int32) 0);
2783 0 : aPropSequence [3].Value = makeAny (aAny);
2784 : }
2785 0 : aPropSequenceSequence [0] = aPropSequence;
2786 : }
2787 : {
2788 0 : Sequence< PropertyValue > aPropSequence (4);
2789 : {
2790 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2791 : static const CustomShapeProvider::ParameterPairData aData =
2792 : {
2793 : EnhancedCustomShapeParameterType::EQUATION,
2794 : EnhancedCustomShapeParameterType::NORMAL,
2795 : 6, 0
2796 : };
2797 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2798 : }
2799 : {
2800 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
2801 0 : EnhancedCustomShapeParameter aParameter;
2802 0 : Any aAny ((sal_Int32) 75000);
2803 0 : aParameter.Value = aAny;
2804 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2805 0 : aPropSequence [1].Value = makeAny (aParameter);
2806 : }
2807 : {
2808 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
2809 0 : EnhancedCustomShapeParameter aParameter;
2810 0 : Any aAny ((sal_Int32) 25000);
2811 0 : aParameter.Value = aAny;
2812 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2813 0 : aPropSequence [2].Value = makeAny (aParameter);
2814 : }
2815 : {
2816 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
2817 0 : Any aAny ((sal_Int32) 1);
2818 0 : aPropSequence [3].Value = makeAny (aAny);
2819 : }
2820 0 : aPropSequenceSequence [1] = aPropSequence;
2821 : }
2822 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2823 : }
2824 : {
2825 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2826 : }
2827 : {
2828 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2829 : }
2830 : {
2831 0 : Sequence< PropertyValue > aPropSequence (3);
2832 : {
2833 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2834 : static const CustomShapeProvider::ParameterPairData aData[] = {
2835 : {
2836 : EnhancedCustomShapeParameterType::NORMAL,
2837 : EnhancedCustomShapeParameterType::NORMAL,
2838 : 0, 0
2839 : },
2840 : {
2841 : EnhancedCustomShapeParameterType::EQUATION,
2842 : EnhancedCustomShapeParameterType::NORMAL,
2843 : 13, 0
2844 : },
2845 : {
2846 : EnhancedCustomShapeParameterType::EQUATION,
2847 : EnhancedCustomShapeParameterType::EQUATION,
2848 : 8, 19
2849 : },
2850 : {
2851 : EnhancedCustomShapeParameterType::EQUATION,
2852 : EnhancedCustomShapeParameterType::EQUATION,
2853 : 23, 24
2854 : },
2855 : {
2856 : EnhancedCustomShapeParameterType::EQUATION,
2857 : EnhancedCustomShapeParameterType::EQUATION,
2858 : 9, 15
2859 : },
2860 : {
2861 : EnhancedCustomShapeParameterType::EQUATION,
2862 : EnhancedCustomShapeParameterType::EQUATION,
2863 : 8, 19
2864 : },
2865 : {
2866 : EnhancedCustomShapeParameterType::EQUATION,
2867 : EnhancedCustomShapeParameterType::EQUATION,
2868 : 25, 26
2869 : },
2870 : {
2871 : EnhancedCustomShapeParameterType::EQUATION,
2872 : EnhancedCustomShapeParameterType::EQUATION,
2873 : 10, 16
2874 : },
2875 : {
2876 : EnhancedCustomShapeParameterType::EQUATION,
2877 : EnhancedCustomShapeParameterType::EQUATION,
2878 : 8, 19
2879 : },
2880 : {
2881 : EnhancedCustomShapeParameterType::EQUATION,
2882 : EnhancedCustomShapeParameterType::EQUATION,
2883 : 27, 28
2884 : },
2885 : {
2886 : EnhancedCustomShapeParameterType::EQUATION,
2887 : EnhancedCustomShapeParameterType::EQUATION,
2888 : 14, 15
2889 : },
2890 : {
2891 : EnhancedCustomShapeParameterType::EQUATION,
2892 : EnhancedCustomShapeParameterType::EQUATION,
2893 : 8, 19
2894 : },
2895 : {
2896 : EnhancedCustomShapeParameterType::EQUATION,
2897 : EnhancedCustomShapeParameterType::EQUATION,
2898 : 29, 30
2899 : },
2900 : {
2901 : EnhancedCustomShapeParameterType::EQUATION,
2902 : EnhancedCustomShapeParameterType::NORMAL,
2903 : 31, 0
2904 : },
2905 : {
2906 : EnhancedCustomShapeParameterType::EQUATION,
2907 : EnhancedCustomShapeParameterType::EQUATION,
2908 : 3, 18
2909 : },
2910 : {
2911 : EnhancedCustomShapeParameterType::EQUATION,
2912 : EnhancedCustomShapeParameterType::EQUATION,
2913 : 31, 17
2914 : },
2915 : {
2916 : EnhancedCustomShapeParameterType::EQUATION,
2917 : EnhancedCustomShapeParameterType::EQUATION,
2918 : 7, 17
2919 : },
2920 : {
2921 : EnhancedCustomShapeParameterType::EQUATION,
2922 : EnhancedCustomShapeParameterType::EQUATION,
2923 : 7, 20
2924 : },
2925 : {
2926 : EnhancedCustomShapeParameterType::EQUATION,
2927 : EnhancedCustomShapeParameterType::EQUATION,
2928 : 8, 19
2929 : },
2930 : {
2931 : EnhancedCustomShapeParameterType::EQUATION,
2932 : EnhancedCustomShapeParameterType::EQUATION,
2933 : 32, 33
2934 : },
2935 : {
2936 : EnhancedCustomShapeParameterType::EQUATION,
2937 : EnhancedCustomShapeParameterType::EQUATION,
2938 : 9, 22
2939 : },
2940 : {
2941 : EnhancedCustomShapeParameterType::EQUATION,
2942 : EnhancedCustomShapeParameterType::EQUATION,
2943 : 8, 19
2944 : },
2945 : {
2946 : EnhancedCustomShapeParameterType::EQUATION,
2947 : EnhancedCustomShapeParameterType::EQUATION,
2948 : 34, 35
2949 : },
2950 : {
2951 : EnhancedCustomShapeParameterType::EQUATION,
2952 : EnhancedCustomShapeParameterType::EQUATION,
2953 : 6, 17
2954 : },
2955 : {
2956 : EnhancedCustomShapeParameterType::NORMAL,
2957 : EnhancedCustomShapeParameterType::EQUATION,
2958 : 0, 17
2959 : },
2960 : {
2961 : EnhancedCustomShapeParameterType::EQUATION,
2962 : EnhancedCustomShapeParameterType::EQUATION,
2963 : 2, 18
2964 : },
2965 : {
2966 : EnhancedCustomShapeParameterType::EQUATION,
2967 : EnhancedCustomShapeParameterType::EQUATION,
2968 : 11, 19
2969 : },
2970 : {
2971 : EnhancedCustomShapeParameterType::EQUATION,
2972 : EnhancedCustomShapeParameterType::EQUATION,
2973 : 8, 19
2974 : },
2975 : {
2976 : EnhancedCustomShapeParameterType::EQUATION,
2977 : EnhancedCustomShapeParameterType::EQUATION,
2978 : 36, 37
2979 : },
2980 : {
2981 : EnhancedCustomShapeParameterType::EQUATION,
2982 : EnhancedCustomShapeParameterType::EQUATION,
2983 : 9, 15
2984 : },
2985 : {
2986 : EnhancedCustomShapeParameterType::EQUATION,
2987 : EnhancedCustomShapeParameterType::EQUATION,
2988 : 8, 19
2989 : },
2990 : {
2991 : EnhancedCustomShapeParameterType::EQUATION,
2992 : EnhancedCustomShapeParameterType::EQUATION,
2993 : 38, 39
2994 : },
2995 : {
2996 : EnhancedCustomShapeParameterType::EQUATION,
2997 : EnhancedCustomShapeParameterType::EQUATION,
2998 : 11, 16
2999 : },
3000 : {
3001 : EnhancedCustomShapeParameterType::EQUATION,
3002 : EnhancedCustomShapeParameterType::EQUATION,
3003 : 12, 19
3004 : },
3005 : {
3006 : EnhancedCustomShapeParameterType::EQUATION,
3007 : EnhancedCustomShapeParameterType::EQUATION,
3008 : 8, 19
3009 : },
3010 : {
3011 : EnhancedCustomShapeParameterType::EQUATION,
3012 : EnhancedCustomShapeParameterType::EQUATION,
3013 : 40, 41
3014 : },
3015 : {
3016 : EnhancedCustomShapeParameterType::EQUATION,
3017 : EnhancedCustomShapeParameterType::EQUATION,
3018 : 10, 15
3019 : },
3020 : {
3021 : EnhancedCustomShapeParameterType::EQUATION,
3022 : EnhancedCustomShapeParameterType::EQUATION,
3023 : 8, 19
3024 : },
3025 : {
3026 : EnhancedCustomShapeParameterType::EQUATION,
3027 : EnhancedCustomShapeParameterType::EQUATION,
3028 : 42, 43
3029 : },
3030 : {
3031 : EnhancedCustomShapeParameterType::EQUATION,
3032 : EnhancedCustomShapeParameterType::EQUATION,
3033 : 12, 16
3034 : },
3035 : {
3036 : EnhancedCustomShapeParameterType::NORMAL,
3037 : EnhancedCustomShapeParameterType::NORMAL,
3038 : 0, 0
3039 : },
3040 : {
3041 : EnhancedCustomShapeParameterType::EQUATION,
3042 : EnhancedCustomShapeParameterType::NORMAL,
3043 : 13, 0
3044 : },
3045 : {
3046 : EnhancedCustomShapeParameterType::EQUATION,
3047 : EnhancedCustomShapeParameterType::EQUATION,
3048 : 8, 19
3049 : },
3050 : {
3051 : EnhancedCustomShapeParameterType::EQUATION,
3052 : EnhancedCustomShapeParameterType::EQUATION,
3053 : 44, 45
3054 : },
3055 : {
3056 : EnhancedCustomShapeParameterType::EQUATION,
3057 : EnhancedCustomShapeParameterType::EQUATION,
3058 : 9, 15
3059 : },
3060 : {
3061 : EnhancedCustomShapeParameterType::EQUATION,
3062 : EnhancedCustomShapeParameterType::EQUATION,
3063 : 8, 19
3064 : },
3065 : {
3066 : EnhancedCustomShapeParameterType::EQUATION,
3067 : EnhancedCustomShapeParameterType::EQUATION,
3068 : 46, 47
3069 : },
3070 : {
3071 : EnhancedCustomShapeParameterType::EQUATION,
3072 : EnhancedCustomShapeParameterType::EQUATION,
3073 : 10, 16
3074 : },
3075 : {
3076 : EnhancedCustomShapeParameterType::EQUATION,
3077 : EnhancedCustomShapeParameterType::EQUATION,
3078 : 8, 19
3079 : },
3080 : {
3081 : EnhancedCustomShapeParameterType::EQUATION,
3082 : EnhancedCustomShapeParameterType::EQUATION,
3083 : 48, 49
3084 : },
3085 : {
3086 : EnhancedCustomShapeParameterType::EQUATION,
3087 : EnhancedCustomShapeParameterType::EQUATION,
3088 : 14, 15
3089 : },
3090 : {
3091 : EnhancedCustomShapeParameterType::EQUATION,
3092 : EnhancedCustomShapeParameterType::EQUATION,
3093 : 8, 19
3094 : },
3095 : {
3096 : EnhancedCustomShapeParameterType::EQUATION,
3097 : EnhancedCustomShapeParameterType::EQUATION,
3098 : 50, 51
3099 : },
3100 : {
3101 : EnhancedCustomShapeParameterType::EQUATION,
3102 : EnhancedCustomShapeParameterType::NORMAL,
3103 : 31, 0
3104 : },
3105 : {
3106 : EnhancedCustomShapeParameterType::EQUATION,
3107 : EnhancedCustomShapeParameterType::EQUATION,
3108 : 3, 18
3109 : },
3110 : {
3111 : EnhancedCustomShapeParameterType::EQUATION,
3112 : EnhancedCustomShapeParameterType::EQUATION,
3113 : 31, 17
3114 : },
3115 : {
3116 : EnhancedCustomShapeParameterType::EQUATION,
3117 : EnhancedCustomShapeParameterType::EQUATION,
3118 : 7, 17
3119 : },
3120 : {
3121 : EnhancedCustomShapeParameterType::EQUATION,
3122 : EnhancedCustomShapeParameterType::EQUATION,
3123 : 7, 20
3124 : },
3125 : {
3126 : EnhancedCustomShapeParameterType::EQUATION,
3127 : EnhancedCustomShapeParameterType::EQUATION,
3128 : 8, 19
3129 : },
3130 : {
3131 : EnhancedCustomShapeParameterType::EQUATION,
3132 : EnhancedCustomShapeParameterType::EQUATION,
3133 : 52, 53
3134 : },
3135 : {
3136 : EnhancedCustomShapeParameterType::EQUATION,
3137 : EnhancedCustomShapeParameterType::EQUATION,
3138 : 9, 22
3139 : },
3140 : {
3141 : EnhancedCustomShapeParameterType::EQUATION,
3142 : EnhancedCustomShapeParameterType::EQUATION,
3143 : 8, 19
3144 : },
3145 : {
3146 : EnhancedCustomShapeParameterType::EQUATION,
3147 : EnhancedCustomShapeParameterType::EQUATION,
3148 : 54, 55
3149 : },
3150 : {
3151 : EnhancedCustomShapeParameterType::EQUATION,
3152 : EnhancedCustomShapeParameterType::EQUATION,
3153 : 6, 17
3154 : },
3155 : {
3156 : EnhancedCustomShapeParameterType::NORMAL,
3157 : EnhancedCustomShapeParameterType::EQUATION,
3158 : 0, 17
3159 : },
3160 : {
3161 : EnhancedCustomShapeParameterType::EQUATION,
3162 : EnhancedCustomShapeParameterType::EQUATION,
3163 : 2, 18
3164 : },
3165 : {
3166 : EnhancedCustomShapeParameterType::EQUATION,
3167 : EnhancedCustomShapeParameterType::EQUATION,
3168 : 11, 19
3169 : },
3170 : {
3171 : EnhancedCustomShapeParameterType::EQUATION,
3172 : EnhancedCustomShapeParameterType::EQUATION,
3173 : 11, 16
3174 : },
3175 : {
3176 : EnhancedCustomShapeParameterType::EQUATION,
3177 : EnhancedCustomShapeParameterType::EQUATION,
3178 : 12, 16
3179 : },
3180 : {
3181 : EnhancedCustomShapeParameterType::EQUATION,
3182 : EnhancedCustomShapeParameterType::EQUATION,
3183 : 12, 19
3184 : },
3185 : {
3186 : EnhancedCustomShapeParameterType::EQUATION,
3187 : EnhancedCustomShapeParameterType::EQUATION,
3188 : 6, 17
3189 : },
3190 : {
3191 : EnhancedCustomShapeParameterType::EQUATION,
3192 : EnhancedCustomShapeParameterType::EQUATION,
3193 : 6, 21
3194 : },
3195 : {
3196 : EnhancedCustomShapeParameterType::EQUATION,
3197 : EnhancedCustomShapeParameterType::EQUATION,
3198 : 7, 21
3199 : },
3200 : {
3201 : EnhancedCustomShapeParameterType::EQUATION,
3202 : EnhancedCustomShapeParameterType::EQUATION,
3203 : 7, 17
3204 : }
3205 : };
3206 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3207 : }
3208 : {
3209 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3210 : static const sal_uInt16 nValues[] = {
3211 : // Command, Count
3212 : 1,1,
3213 : 2,1,
3214 : 17,1,
3215 : 2,1,
3216 : 17,1,
3217 : 2,1,
3218 : 17,1,
3219 : 2,1,
3220 : 17,1,
3221 : 2,5,
3222 : 17,1,
3223 : 2,1,
3224 : 17,1,
3225 : 2,3,
3226 : 4,0,
3227 : 7,0,
3228 : 5,0,
3229 : 1,1,
3230 : 17,1,
3231 : 2,1,
3232 : 17,1,
3233 : 2,1,
3234 : 4,0,
3235 : 1,1,
3236 : 17,1,
3237 : 2,1,
3238 : 17,1,
3239 : 2,1,
3240 : 4,0,
3241 : 19,0,
3242 : 7,0,
3243 : 5,0,
3244 : 1,1,
3245 : 2,1,
3246 : 17,1,
3247 : 2,1,
3248 : 17,1,
3249 : 2,1,
3250 : 17,1,
3251 : 2,1,
3252 : 17,1,
3253 : 2,5,
3254 : 17,1,
3255 : 2,1,
3256 : 17,1,
3257 : 2,3,
3258 : 4,0,
3259 : 1,1,
3260 : 2,1,
3261 : 1,1,
3262 : 2,1,
3263 : 1,1,
3264 : 2,1,
3265 : 1,1,
3266 : 2,1,
3267 : 6,0,
3268 : 5,0
3269 : };
3270 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3271 : }
3272 : {
3273 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3274 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3275 : {
3276 0 : EnhancedCustomShapeTextFrame aTextFrame;
3277 : {
3278 : static const CustomShapeProvider::ParameterPairData aData =
3279 : {
3280 : EnhancedCustomShapeParameterType::EQUATION,
3281 : EnhancedCustomShapeParameterType::EQUATION,
3282 : 6, 16
3283 : };
3284 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3285 : }
3286 : {
3287 : static const CustomShapeProvider::ParameterPairData aData =
3288 : {
3289 : EnhancedCustomShapeParameterType::EQUATION,
3290 : EnhancedCustomShapeParameterType::EQUATION,
3291 : 7, 22
3292 : };
3293 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3294 : }
3295 0 : aTextFrameSeq [0] = aTextFrame;
3296 : }
3297 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3298 : }
3299 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3300 : }
3301 : {
3302 0 : awt::Rectangle aRectangle;
3303 0 : aRectangle.X = 0;
3304 0 : aRectangle.Y = 0;
3305 0 : aRectangle.Width = 0;
3306 0 : aRectangle.Height = 0;
3307 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3308 : }
3309 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ribbon");
3310 :
3311 0 : return aPropertyMap;
3312 : }
3313 : };
3314 : } // anonymous namespace
3315 3 : void CustomShapeProperties::initializePresetsMap6()
3316 : {
3317 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star5" ) ] = new ShapeCstar5();
3318 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lineInv" ) ] = new ShapeClineInv();
3319 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "straightConnector1" ) ] = new ShapeCstraightConnector1();
3320 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "stripedRightArrow" ) ] = new ShapeCstripedRightArrow();
3321 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout3" ) ] = new ShapeCcallout3();
3322 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentUpArrow" ) ] = new ShapeCbentUpArrow();
3323 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "noSmoking" ) ] = new ShapeCnoSmoking();
3324 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "trapezoid" ) ] = new ShapeCtrapezoid();
3325 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "cloudCallout" ) ] = new ShapeCcloudCallout();
3326 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "callout1" ) ] = new ShapeCcallout1();
3327 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ribbon" ) ] = new ShapeCribbon();
3328 3 : }
3329 :
3330 : } } // oox // drawingml
3331 :
3332 :
3333 3 : void ::oox::drawingml::CustomShapeProperties::initializePresetsMap()
3334 : {
3335 3 : initializePresetsMap1();
3336 3 : initializePresetsMap2();
3337 3 : initializePresetsMap3();
3338 3 : initializePresetsMap4();
3339 3 : initializePresetsMap5();
3340 3 : initializePresetsMap6();
3341 54 : }
|