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 ShapeCteardrop : public CustomShapeProvider
23 : {
24 0 : virtual PropertyMap getProperties()
25 : {
26 0 : PropertyMap aPropertyMap;
27 :
28 : {
29 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
30 : {
31 0 : Any aAny ((sal_Int32) 100000);
32 0 : aAdjSequence [0].Value = aAny;
33 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
34 : }
35 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
36 : }
37 : {
38 : static const char *aStrings[] = {
39 : "if(0-$0 ,0,if(200000-$0 ,$0 ,200000))",
40 : "sqrt(2)",
41 : "logwidth/2",
42 : "?2 *?1 /1",
43 : "logheight/2",
44 : "?4 *?1 /1",
45 : "?3 *?0 /100000",
46 : "?5 *?0 /100000",
47 : "?6 *cos(pi*(2700000)/10800000)",
48 : "?7 *sin(pi*(2700000)/10800000)",
49 : "logwidth/2",
50 : "?10 +?8 -0",
51 : "logheight/2",
52 : "?12 +0-?9 ",
53 : "(?10 +?11 )/2",
54 : "(?12 +?13 )/2",
55 : "?2 *cos(pi*(2700000)/10800000)",
56 : "?4 *sin(pi*(2700000)/10800000)",
57 : "?10 +0-?16 ",
58 : "?10 +?16 -0",
59 : "?12 +0-?17 ",
60 : "?12 +?17 -0",
61 : "logwidth",
62 : "logheight",
63 : "(10800000)/60000.0",
64 : "(5400000)/60000.0",
65 : "(0)/60000.0",
66 : "(5400000)/60000.0",
67 : "(5400000)/60000.0",
68 : "(5400000)/60000.0"
69 : };
70 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
71 : }
72 : {
73 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
74 : {
75 0 : Sequence< PropertyValue > aPropSequence (4);
76 : {
77 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
78 : static const CustomShapeProvider::ParameterPairData aData =
79 : {
80 : EnhancedCustomShapeParameterType::EQUATION,
81 : EnhancedCustomShapeParameterType::NORMAL,
82 : 11, 0
83 : };
84 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
85 : }
86 : {
87 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
88 0 : EnhancedCustomShapeParameter aParameter;
89 0 : Any aAny ((sal_Int32) 200000);
90 0 : aParameter.Value = aAny;
91 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
92 0 : aPropSequence [1].Value = makeAny (aParameter);
93 : }
94 : {
95 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
96 0 : EnhancedCustomShapeParameter aParameter;
97 0 : Any aAny ((sal_Int32) 0);
98 0 : aParameter.Value = aAny;
99 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
100 0 : aPropSequence [2].Value = makeAny (aParameter);
101 : }
102 : {
103 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
104 0 : Any aAny ((sal_Int32) 0);
105 0 : aPropSequence [3].Value = makeAny (aAny);
106 : }
107 0 : aPropSequenceSequence [0] = aPropSequence;
108 : }
109 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
110 : }
111 : {
112 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
113 : }
114 : {
115 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
116 : }
117 : {
118 0 : Sequence< PropertyValue > aPropSequence (3);
119 : {
120 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
121 : static const CustomShapeProvider::ParameterPairData aData[] = {
122 : {
123 : EnhancedCustomShapeParameterType::NORMAL,
124 : EnhancedCustomShapeParameterType::EQUATION,
125 : 0, 12
126 : },
127 : {
128 : EnhancedCustomShapeParameterType::EQUATION,
129 : EnhancedCustomShapeParameterType::EQUATION,
130 : 2, 4
131 : },
132 : {
133 : EnhancedCustomShapeParameterType::EQUATION,
134 : EnhancedCustomShapeParameterType::EQUATION,
135 : 24, 25
136 : },
137 : {
138 : EnhancedCustomShapeParameterType::EQUATION,
139 : EnhancedCustomShapeParameterType::NORMAL,
140 : 14, 0
141 : },
142 : {
143 : EnhancedCustomShapeParameterType::EQUATION,
144 : EnhancedCustomShapeParameterType::EQUATION,
145 : 11, 13
146 : },
147 : {
148 : EnhancedCustomShapeParameterType::EQUATION,
149 : EnhancedCustomShapeParameterType::EQUATION,
150 : 22, 15
151 : },
152 : {
153 : EnhancedCustomShapeParameterType::EQUATION,
154 : EnhancedCustomShapeParameterType::EQUATION,
155 : 22, 12
156 : },
157 : {
158 : EnhancedCustomShapeParameterType::EQUATION,
159 : EnhancedCustomShapeParameterType::EQUATION,
160 : 2, 4
161 : },
162 : {
163 : EnhancedCustomShapeParameterType::EQUATION,
164 : EnhancedCustomShapeParameterType::EQUATION,
165 : 26, 27
166 : },
167 : {
168 : EnhancedCustomShapeParameterType::EQUATION,
169 : EnhancedCustomShapeParameterType::EQUATION,
170 : 2, 4
171 : },
172 : {
173 : EnhancedCustomShapeParameterType::EQUATION,
174 : EnhancedCustomShapeParameterType::EQUATION,
175 : 28, 29
176 : }
177 : };
178 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
179 : }
180 : {
181 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
182 : static const sal_uInt16 nValues[] = {
183 : // Command, Count
184 : 1,1,
185 : 17,1,
186 : 16,2,
187 : 17,2,
188 : 4,0,
189 : 5,0
190 : };
191 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
192 : }
193 : {
194 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
195 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
196 : {
197 0 : EnhancedCustomShapeTextFrame aTextFrame;
198 : {
199 : static const CustomShapeProvider::ParameterPairData aData =
200 : {
201 : EnhancedCustomShapeParameterType::EQUATION,
202 : EnhancedCustomShapeParameterType::EQUATION,
203 : 18, 20
204 : };
205 0 : aTextFrame.TopLeft = createParameterPair(&aData);
206 : }
207 : {
208 : static const CustomShapeProvider::ParameterPairData aData =
209 : {
210 : EnhancedCustomShapeParameterType::EQUATION,
211 : EnhancedCustomShapeParameterType::EQUATION,
212 : 19, 21
213 : };
214 0 : aTextFrame.BottomRight = createParameterPair(&aData);
215 : }
216 0 : aTextFrameSeq [0] = aTextFrame;
217 : }
218 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
219 : }
220 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
221 : }
222 : {
223 0 : awt::Rectangle aRectangle;
224 0 : aRectangle.X = 0;
225 0 : aRectangle.Y = 0;
226 0 : aRectangle.Width = 0;
227 0 : aRectangle.Height = 0;
228 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
229 : }
230 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-teardrop");
231 :
232 0 : return aPropertyMap;
233 : }
234 : };
235 3 : class ShapeCflowChartDocument : public CustomShapeProvider
236 : {
237 0 : virtual PropertyMap getProperties()
238 : {
239 0 : PropertyMap aPropertyMap;
240 :
241 : {
242 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
243 : }
244 : {
245 : static const char *aStrings[] = {
246 : "logheight*17322/21600",
247 : "logheight*20172/21600",
248 : "logwidth/2",
249 : "logheight/2",
250 : "logwidth"
251 : };
252 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
253 : }
254 : {
255 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
256 : }
257 : {
258 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
259 : }
260 : {
261 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
262 : }
263 : {
264 0 : Sequence< PropertyValue > aPropSequence (4);
265 : {
266 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
267 : static const CustomShapeProvider::ParameterPairData aData[] = {
268 : {
269 : EnhancedCustomShapeParameterType::NORMAL,
270 : EnhancedCustomShapeParameterType::NORMAL,
271 : 0, 0
272 : },
273 : {
274 : EnhancedCustomShapeParameterType::NORMAL,
275 : EnhancedCustomShapeParameterType::NORMAL,
276 : 21600, 0
277 : },
278 : {
279 : EnhancedCustomShapeParameterType::NORMAL,
280 : EnhancedCustomShapeParameterType::NORMAL,
281 : 21600, 17322
282 : },
283 : {
284 : EnhancedCustomShapeParameterType::NORMAL,
285 : EnhancedCustomShapeParameterType::NORMAL,
286 : 10800, 17322
287 : },
288 : {
289 : EnhancedCustomShapeParameterType::NORMAL,
290 : EnhancedCustomShapeParameterType::NORMAL,
291 : 10800, 23922
292 : },
293 : {
294 : EnhancedCustomShapeParameterType::NORMAL,
295 : EnhancedCustomShapeParameterType::NORMAL,
296 : 0, 20172
297 : }
298 : };
299 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
300 : }
301 : {
302 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
303 : static const sal_uInt16 nValues[] = {
304 : // Command, Count
305 : 1,1,
306 : 2,2,
307 : 3,1,
308 : 4,0,
309 : 5,0
310 : };
311 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
312 : }
313 : {
314 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
315 0 : Sequence< awt::Size > aSizeSequence (1);
316 : {
317 0 : awt::Size aSize;
318 0 : aSize.Width = 21600;
319 0 : aSize.Height = 21600;
320 0 : aSizeSequence [0] = aSize;
321 : }
322 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
323 : }
324 : {
325 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
326 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
327 : {
328 0 : EnhancedCustomShapeTextFrame aTextFrame;
329 : {
330 : static const CustomShapeProvider::ParameterPairData aData =
331 : {
332 : EnhancedCustomShapeParameterType::NORMAL,
333 : EnhancedCustomShapeParameterType::NORMAL,
334 : 0, 0
335 : };
336 0 : aTextFrame.TopLeft = createParameterPair(&aData);
337 : }
338 : {
339 : static const CustomShapeProvider::ParameterPairData aData =
340 : {
341 : EnhancedCustomShapeParameterType::EQUATION,
342 : EnhancedCustomShapeParameterType::EQUATION,
343 : 4, 0
344 : };
345 0 : aTextFrame.BottomRight = createParameterPair(&aData);
346 : }
347 0 : aTextFrameSeq [0] = aTextFrame;
348 : }
349 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
350 : }
351 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
352 : }
353 : {
354 0 : awt::Rectangle aRectangle;
355 0 : aRectangle.X = 0;
356 0 : aRectangle.Y = 0;
357 0 : aRectangle.Width = 0;
358 0 : aRectangle.Height = 0;
359 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
360 : }
361 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDocument");
362 :
363 0 : return aPropertyMap;
364 : }
365 : };
366 3 : class ShapeCrightArrowCallout : public CustomShapeProvider
367 : {
368 0 : virtual PropertyMap getProperties()
369 : {
370 0 : PropertyMap aPropertyMap;
371 :
372 : {
373 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
374 : {
375 0 : Any aAny ((sal_Int32) 25000);
376 0 : aAdjSequence [0].Value = aAny;
377 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
378 : }
379 : {
380 0 : Any aAny ((sal_Int32) 25000);
381 0 : aAdjSequence [1].Value = aAny;
382 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
383 : }
384 : {
385 0 : Any aAny ((sal_Int32) 25000);
386 0 : aAdjSequence [2].Value = aAny;
387 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
388 : }
389 : {
390 0 : Any aAny ((sal_Int32) 64977);
391 0 : aAdjSequence [3].Value = aAny;
392 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
393 : }
394 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
395 : }
396 : {
397 : static const char *aStrings[] = {
398 : "min(logwidth,logheight)",
399 : "50000*logheight/?0 ",
400 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
401 : "?2 *2/1",
402 : "if(0-$0 ,0,if(?3 -$0 ,$0 ,?3 ))",
403 : "100000*logwidth/?0 ",
404 : "if(0-$2 ,0,if(?5 -$2 ,$2 ,?5 ))",
405 : "?6 *?0 /logwidth",
406 : "100000+0-?7 ",
407 : "if(0-$3 ,0,if(?8 -$3 ,$3 ,?8 ))",
408 : "?0 *?2 /100000",
409 : "?0 *?4 /200000",
410 : "logheight/2",
411 : "?12 +0-?10 ",
412 : "?12 +0-?11 ",
413 : "?12 +?11 -0",
414 : "?12 +?10 -0",
415 : "?0 *?6 /100000",
416 : "logwidth+0-?17 ",
417 : "logwidth*?9 /100000",
418 : "?19 *1/2",
419 : "logwidth",
420 : "logheight"
421 : };
422 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
423 : }
424 : {
425 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
426 : {
427 0 : Sequence< PropertyValue > aPropSequence (4);
428 : {
429 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
430 : static const CustomShapeProvider::ParameterPairData aData =
431 : {
432 : EnhancedCustomShapeParameterType::EQUATION,
433 : EnhancedCustomShapeParameterType::EQUATION,
434 : 18, 14
435 : };
436 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
437 : }
438 : {
439 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
440 0 : EnhancedCustomShapeParameter aParameter;
441 0 : Any aAny ((sal_Int32) 3);
442 0 : aParameter.Value = aAny;
443 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
444 0 : aPropSequence [1].Value = makeAny (aParameter);
445 : }
446 : {
447 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
448 0 : EnhancedCustomShapeParameter aParameter;
449 0 : Any aAny ((sal_Int32) 0);
450 0 : aParameter.Value = aAny;
451 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
452 0 : aPropSequence [2].Value = makeAny (aParameter);
453 : }
454 : {
455 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
456 0 : Any aAny ((sal_Int32) 0);
457 0 : aPropSequence [3].Value = makeAny (aAny);
458 : }
459 0 : aPropSequenceSequence [0] = aPropSequence;
460 : }
461 : {
462 0 : Sequence< PropertyValue > aPropSequence (4);
463 : {
464 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
465 : static const CustomShapeProvider::ParameterPairData aData =
466 : {
467 : EnhancedCustomShapeParameterType::EQUATION,
468 : EnhancedCustomShapeParameterType::EQUATION,
469 : 21, 13
470 : };
471 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
472 : }
473 : {
474 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
475 0 : EnhancedCustomShapeParameter aParameter;
476 0 : Any aAny ((sal_Int32) 1);
477 0 : aParameter.Value = aAny;
478 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
479 0 : aPropSequence [1].Value = makeAny (aParameter);
480 : }
481 : {
482 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
483 0 : EnhancedCustomShapeParameter aParameter;
484 0 : Any aAny ((sal_Int32) 0);
485 0 : aParameter.Value = aAny;
486 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
487 0 : aPropSequence [2].Value = makeAny (aParameter);
488 : }
489 : {
490 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
491 0 : Any aAny ((sal_Int32) 1);
492 0 : aPropSequence [3].Value = makeAny (aAny);
493 : }
494 0 : aPropSequenceSequence [1] = aPropSequence;
495 : }
496 : {
497 0 : Sequence< PropertyValue > aPropSequence (4);
498 : {
499 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
500 : static const CustomShapeProvider::ParameterPairData aData =
501 : {
502 : EnhancedCustomShapeParameterType::EQUATION,
503 : EnhancedCustomShapeParameterType::NORMAL,
504 : 18, 0
505 : };
506 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
507 : }
508 : {
509 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
510 0 : EnhancedCustomShapeParameter aParameter;
511 0 : Any aAny ((sal_Int32) 5);
512 0 : aParameter.Value = aAny;
513 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
514 0 : aPropSequence [1].Value = makeAny (aParameter);
515 : }
516 : {
517 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
518 0 : EnhancedCustomShapeParameter aParameter;
519 0 : Any aAny ((sal_Int32) 0);
520 0 : aParameter.Value = aAny;
521 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
522 0 : aPropSequence [2].Value = makeAny (aParameter);
523 : }
524 : {
525 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
526 0 : Any aAny ((sal_Int32) 2);
527 0 : aPropSequence [3].Value = makeAny (aAny);
528 : }
529 0 : aPropSequenceSequence [2] = aPropSequence;
530 : }
531 : {
532 0 : Sequence< PropertyValue > aPropSequence (4);
533 : {
534 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
535 : static const CustomShapeProvider::ParameterPairData aData =
536 : {
537 : EnhancedCustomShapeParameterType::EQUATION,
538 : EnhancedCustomShapeParameterType::EQUATION,
539 : 19, 22
540 : };
541 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
542 : }
543 : {
544 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
545 0 : EnhancedCustomShapeParameter aParameter;
546 0 : Any aAny ((sal_Int32) 8);
547 0 : aParameter.Value = aAny;
548 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
549 0 : aPropSequence [1].Value = makeAny (aParameter);
550 : }
551 : {
552 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
553 0 : EnhancedCustomShapeParameter aParameter;
554 0 : Any aAny ((sal_Int32) 0);
555 0 : aParameter.Value = aAny;
556 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
557 0 : aPropSequence [2].Value = makeAny (aParameter);
558 : }
559 : {
560 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
561 0 : Any aAny ((sal_Int32) 3);
562 0 : aPropSequence [3].Value = makeAny (aAny);
563 : }
564 0 : aPropSequenceSequence [3] = aPropSequence;
565 : }
566 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
567 : }
568 : {
569 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
570 : }
571 : {
572 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
573 : }
574 : {
575 0 : Sequence< PropertyValue > aPropSequence (3);
576 : {
577 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
578 : static const CustomShapeProvider::ParameterPairData aData[] = {
579 : {
580 : EnhancedCustomShapeParameterType::NORMAL,
581 : EnhancedCustomShapeParameterType::NORMAL,
582 : 0, 0
583 : },
584 : {
585 : EnhancedCustomShapeParameterType::EQUATION,
586 : EnhancedCustomShapeParameterType::NORMAL,
587 : 19, 0
588 : },
589 : {
590 : EnhancedCustomShapeParameterType::EQUATION,
591 : EnhancedCustomShapeParameterType::EQUATION,
592 : 19, 14
593 : },
594 : {
595 : EnhancedCustomShapeParameterType::EQUATION,
596 : EnhancedCustomShapeParameterType::EQUATION,
597 : 18, 14
598 : },
599 : {
600 : EnhancedCustomShapeParameterType::EQUATION,
601 : EnhancedCustomShapeParameterType::EQUATION,
602 : 18, 13
603 : },
604 : {
605 : EnhancedCustomShapeParameterType::EQUATION,
606 : EnhancedCustomShapeParameterType::EQUATION,
607 : 21, 12
608 : },
609 : {
610 : EnhancedCustomShapeParameterType::EQUATION,
611 : EnhancedCustomShapeParameterType::EQUATION,
612 : 18, 16
613 : },
614 : {
615 : EnhancedCustomShapeParameterType::EQUATION,
616 : EnhancedCustomShapeParameterType::EQUATION,
617 : 18, 15
618 : },
619 : {
620 : EnhancedCustomShapeParameterType::EQUATION,
621 : EnhancedCustomShapeParameterType::EQUATION,
622 : 19, 15
623 : },
624 : {
625 : EnhancedCustomShapeParameterType::EQUATION,
626 : EnhancedCustomShapeParameterType::EQUATION,
627 : 19, 22
628 : },
629 : {
630 : EnhancedCustomShapeParameterType::NORMAL,
631 : EnhancedCustomShapeParameterType::EQUATION,
632 : 0, 22
633 : }
634 : };
635 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
636 : }
637 : {
638 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
639 : static const sal_uInt16 nValues[] = {
640 : // Command, Count
641 : 1,1,
642 : 2,10,
643 : 4,0,
644 : 5,0
645 : };
646 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
647 : }
648 : {
649 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
650 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
651 : {
652 0 : EnhancedCustomShapeTextFrame aTextFrame;
653 : {
654 : static const CustomShapeProvider::ParameterPairData aData =
655 : {
656 : EnhancedCustomShapeParameterType::NORMAL,
657 : EnhancedCustomShapeParameterType::NORMAL,
658 : 0, 0
659 : };
660 0 : aTextFrame.TopLeft = createParameterPair(&aData);
661 : }
662 : {
663 : static const CustomShapeProvider::ParameterPairData aData =
664 : {
665 : EnhancedCustomShapeParameterType::EQUATION,
666 : EnhancedCustomShapeParameterType::EQUATION,
667 : 19, 22
668 : };
669 0 : aTextFrame.BottomRight = createParameterPair(&aData);
670 : }
671 0 : aTextFrameSeq [0] = aTextFrame;
672 : }
673 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
674 : }
675 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
676 : }
677 : {
678 0 : awt::Rectangle aRectangle;
679 0 : aRectangle.X = 0;
680 0 : aRectangle.Y = 0;
681 0 : aRectangle.Width = 0;
682 0 : aRectangle.Height = 0;
683 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
684 : }
685 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightArrowCallout");
686 :
687 0 : return aPropertyMap;
688 : }
689 : };
690 3 : class ShapeCrightBrace : public CustomShapeProvider
691 : {
692 0 : virtual PropertyMap getProperties()
693 : {
694 0 : PropertyMap aPropertyMap;
695 :
696 : {
697 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
698 : {
699 0 : Any aAny ((sal_Int32) 8333);
700 0 : aAdjSequence [0].Value = aAny;
701 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
702 : }
703 : {
704 0 : Any aAny ((sal_Int32) 50000);
705 0 : aAdjSequence [1].Value = aAny;
706 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
707 : }
708 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
709 : }
710 : {
711 : static const char *aStrings[] = {
712 : "if(0-$1 ,0,if(100000-$1 ,$1 ,100000))",
713 : "100000+0-?0 ",
714 : "min(?1 ,?0 )",
715 : "?2 *1/2",
716 : "min(logwidth,logheight)",
717 : "?3 *logheight/?4 ",
718 : "if(0-$0 ,0,if(?5 -$0 ,$0 ,?5 ))",
719 : "?4 *?6 /100000",
720 : "logheight*?0 /100000",
721 : "?8 +0-?7 ",
722 : "logheight+0-?7 ",
723 : "logwidth/2",
724 : "?11 *cos(pi*(2700000)/10800000)",
725 : "?7 *sin(pi*(2700000)/10800000)",
726 : "0+?12 -0",
727 : "?7 +0-?13 ",
728 : "logheight+?13 -?7 ",
729 : "logwidth/2",
730 : "logwidth",
731 : "logheight",
732 : "(16200000)/60000.0",
733 : "(5400000)/60000.0",
734 : "(10800000)/60000.0",
735 : "(-5400000)/60000.0",
736 : "(16200000)/60000.0",
737 : "(-5400000)/60000.0",
738 : "(0)/60000.0",
739 : "(5400000)/60000.0",
740 : "(16200000)/60000.0",
741 : "(5400000)/60000.0",
742 : "(10800000)/60000.0",
743 : "(-5400000)/60000.0",
744 : "(16200000)/60000.0",
745 : "(-5400000)/60000.0",
746 : "(0)/60000.0",
747 : "(5400000)/60000.0"
748 : };
749 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
750 : }
751 : {
752 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
753 : {
754 0 : Sequence< PropertyValue > aPropSequence (4);
755 : {
756 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
757 : static const CustomShapeProvider::ParameterPairData aData =
758 : {
759 : EnhancedCustomShapeParameterType::EQUATION,
760 : EnhancedCustomShapeParameterType::EQUATION,
761 : 17, 7
762 : };
763 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
764 : }
765 : {
766 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
767 0 : EnhancedCustomShapeParameter aParameter;
768 0 : Any aAny ((sal_Int32) 5);
769 0 : aParameter.Value = aAny;
770 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
771 0 : aPropSequence [1].Value = makeAny (aParameter);
772 : }
773 : {
774 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
775 0 : EnhancedCustomShapeParameter aParameter;
776 0 : Any aAny ((sal_Int32) 0);
777 0 : aParameter.Value = aAny;
778 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
779 0 : aPropSequence [2].Value = makeAny (aParameter);
780 : }
781 : {
782 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
783 0 : Any aAny ((sal_Int32) 0);
784 0 : aPropSequence [3].Value = makeAny (aAny);
785 : }
786 0 : aPropSequenceSequence [0] = aPropSequence;
787 : }
788 : {
789 0 : Sequence< PropertyValue > aPropSequence (4);
790 : {
791 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
792 : static const CustomShapeProvider::ParameterPairData aData =
793 : {
794 : EnhancedCustomShapeParameterType::EQUATION,
795 : EnhancedCustomShapeParameterType::EQUATION,
796 : 18, 8
797 : };
798 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
799 : }
800 : {
801 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
802 0 : EnhancedCustomShapeParameter aParameter;
803 0 : Any aAny ((sal_Int32) 100000);
804 0 : aParameter.Value = aAny;
805 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
806 0 : aPropSequence [1].Value = makeAny (aParameter);
807 : }
808 : {
809 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
810 0 : EnhancedCustomShapeParameter aParameter;
811 0 : Any aAny ((sal_Int32) 0);
812 0 : aParameter.Value = aAny;
813 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
814 0 : aPropSequence [2].Value = makeAny (aParameter);
815 : }
816 : {
817 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
818 0 : Any aAny ((sal_Int32) 1);
819 0 : aPropSequence [3].Value = makeAny (aAny);
820 : }
821 0 : aPropSequenceSequence [1] = aPropSequence;
822 : }
823 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
824 : }
825 : {
826 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
827 : }
828 : {
829 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
830 : }
831 : {
832 0 : Sequence< PropertyValue > aPropSequence (3);
833 : {
834 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
835 : static const CustomShapeProvider::ParameterPairData aData[] = {
836 : {
837 : EnhancedCustomShapeParameterType::NORMAL,
838 : EnhancedCustomShapeParameterType::NORMAL,
839 : 0, 0
840 : },
841 : {
842 : EnhancedCustomShapeParameterType::EQUATION,
843 : EnhancedCustomShapeParameterType::EQUATION,
844 : 11, 7
845 : },
846 : {
847 : EnhancedCustomShapeParameterType::EQUATION,
848 : EnhancedCustomShapeParameterType::EQUATION,
849 : 20, 21
850 : },
851 : {
852 : EnhancedCustomShapeParameterType::EQUATION,
853 : EnhancedCustomShapeParameterType::EQUATION,
854 : 17, 9
855 : },
856 : {
857 : EnhancedCustomShapeParameterType::EQUATION,
858 : EnhancedCustomShapeParameterType::EQUATION,
859 : 11, 7
860 : },
861 : {
862 : EnhancedCustomShapeParameterType::EQUATION,
863 : EnhancedCustomShapeParameterType::EQUATION,
864 : 22, 23
865 : },
866 : {
867 : EnhancedCustomShapeParameterType::EQUATION,
868 : EnhancedCustomShapeParameterType::EQUATION,
869 : 11, 7
870 : },
871 : {
872 : EnhancedCustomShapeParameterType::EQUATION,
873 : EnhancedCustomShapeParameterType::EQUATION,
874 : 24, 25
875 : },
876 : {
877 : EnhancedCustomShapeParameterType::EQUATION,
878 : EnhancedCustomShapeParameterType::EQUATION,
879 : 17, 10
880 : },
881 : {
882 : EnhancedCustomShapeParameterType::EQUATION,
883 : EnhancedCustomShapeParameterType::EQUATION,
884 : 11, 7
885 : },
886 : {
887 : EnhancedCustomShapeParameterType::EQUATION,
888 : EnhancedCustomShapeParameterType::EQUATION,
889 : 26, 27
890 : },
891 : {
892 : EnhancedCustomShapeParameterType::NORMAL,
893 : EnhancedCustomShapeParameterType::NORMAL,
894 : 0, 0
895 : },
896 : {
897 : EnhancedCustomShapeParameterType::EQUATION,
898 : EnhancedCustomShapeParameterType::EQUATION,
899 : 11, 7
900 : },
901 : {
902 : EnhancedCustomShapeParameterType::EQUATION,
903 : EnhancedCustomShapeParameterType::EQUATION,
904 : 28, 29
905 : },
906 : {
907 : EnhancedCustomShapeParameterType::EQUATION,
908 : EnhancedCustomShapeParameterType::EQUATION,
909 : 17, 9
910 : },
911 : {
912 : EnhancedCustomShapeParameterType::EQUATION,
913 : EnhancedCustomShapeParameterType::EQUATION,
914 : 11, 7
915 : },
916 : {
917 : EnhancedCustomShapeParameterType::EQUATION,
918 : EnhancedCustomShapeParameterType::EQUATION,
919 : 30, 31
920 : },
921 : {
922 : EnhancedCustomShapeParameterType::EQUATION,
923 : EnhancedCustomShapeParameterType::EQUATION,
924 : 11, 7
925 : },
926 : {
927 : EnhancedCustomShapeParameterType::EQUATION,
928 : EnhancedCustomShapeParameterType::EQUATION,
929 : 32, 33
930 : },
931 : {
932 : EnhancedCustomShapeParameterType::EQUATION,
933 : EnhancedCustomShapeParameterType::EQUATION,
934 : 17, 10
935 : },
936 : {
937 : EnhancedCustomShapeParameterType::EQUATION,
938 : EnhancedCustomShapeParameterType::EQUATION,
939 : 11, 7
940 : },
941 : {
942 : EnhancedCustomShapeParameterType::EQUATION,
943 : EnhancedCustomShapeParameterType::EQUATION,
944 : 34, 35
945 : }
946 : };
947 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
948 : }
949 : {
950 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
951 : static const sal_uInt16 nValues[] = {
952 : // Command, Count
953 : 1,1,
954 : 17,1,
955 : 2,1,
956 : 17,2,
957 : 2,1,
958 : 17,1,
959 : 4,0,
960 : 7,0,
961 : 5,0,
962 : 1,1,
963 : 17,1,
964 : 2,1,
965 : 17,2,
966 : 2,1,
967 : 17,1,
968 : 6,0,
969 : 5,0
970 : };
971 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
972 : }
973 : {
974 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
975 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
976 : {
977 0 : EnhancedCustomShapeTextFrame aTextFrame;
978 : {
979 : static const CustomShapeProvider::ParameterPairData aData =
980 : {
981 : EnhancedCustomShapeParameterType::NORMAL,
982 : EnhancedCustomShapeParameterType::EQUATION,
983 : 0, 15
984 : };
985 0 : aTextFrame.TopLeft = createParameterPair(&aData);
986 : }
987 : {
988 : static const CustomShapeProvider::ParameterPairData aData =
989 : {
990 : EnhancedCustomShapeParameterType::EQUATION,
991 : EnhancedCustomShapeParameterType::EQUATION,
992 : 14, 16
993 : };
994 0 : aTextFrame.BottomRight = createParameterPair(&aData);
995 : }
996 0 : aTextFrameSeq [0] = aTextFrame;
997 : }
998 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
999 : }
1000 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1001 : }
1002 : {
1003 0 : awt::Rectangle aRectangle;
1004 0 : aRectangle.X = 0;
1005 0 : aRectangle.Y = 0;
1006 0 : aRectangle.Width = 0;
1007 0 : aRectangle.Height = 0;
1008 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1009 : }
1010 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightBrace");
1011 :
1012 0 : return aPropertyMap;
1013 : }
1014 : };
1015 3 : class ShapeCchartPlus : public CustomShapeProvider
1016 : {
1017 0 : virtual PropertyMap getProperties()
1018 : {
1019 0 : PropertyMap aPropertyMap;
1020 :
1021 : {
1022 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1023 : }
1024 : {
1025 0 : aPropertyMap [PROP_Equations] <<= Sequence< OUString >(0);
1026 : }
1027 : {
1028 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1029 : }
1030 : {
1031 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1032 : }
1033 : {
1034 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1035 : }
1036 : {
1037 0 : Sequence< PropertyValue > aPropSequence (3);
1038 : {
1039 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1040 : static const CustomShapeProvider::ParameterPairData aData[] = {
1041 : {
1042 : EnhancedCustomShapeParameterType::NORMAL,
1043 : EnhancedCustomShapeParameterType::NORMAL,
1044 : 5, 0
1045 : },
1046 : {
1047 : EnhancedCustomShapeParameterType::NORMAL,
1048 : EnhancedCustomShapeParameterType::NORMAL,
1049 : 5, 10
1050 : },
1051 : {
1052 : EnhancedCustomShapeParameterType::NORMAL,
1053 : EnhancedCustomShapeParameterType::NORMAL,
1054 : 0, 5
1055 : },
1056 : {
1057 : EnhancedCustomShapeParameterType::NORMAL,
1058 : EnhancedCustomShapeParameterType::NORMAL,
1059 : 10, 5
1060 : },
1061 : {
1062 : EnhancedCustomShapeParameterType::NORMAL,
1063 : EnhancedCustomShapeParameterType::NORMAL,
1064 : 0, 0
1065 : },
1066 : {
1067 : EnhancedCustomShapeParameterType::NORMAL,
1068 : EnhancedCustomShapeParameterType::NORMAL,
1069 : 0, 10
1070 : },
1071 : {
1072 : EnhancedCustomShapeParameterType::NORMAL,
1073 : EnhancedCustomShapeParameterType::NORMAL,
1074 : 10, 10
1075 : },
1076 : {
1077 : EnhancedCustomShapeParameterType::NORMAL,
1078 : EnhancedCustomShapeParameterType::NORMAL,
1079 : 10, 0
1080 : }
1081 : };
1082 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1083 : }
1084 : {
1085 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1086 : static const sal_uInt16 nValues[] = {
1087 : // Command, Count
1088 : 1,1,
1089 : 2,1,
1090 : 1,1,
1091 : 2,1,
1092 : 6,0,
1093 : 5,0,
1094 : 1,1,
1095 : 2,3,
1096 : 4,0,
1097 : 7,0,
1098 : 5,0
1099 : };
1100 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1101 : }
1102 : {
1103 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
1104 0 : Sequence< awt::Size > aSizeSequence (2);
1105 : {
1106 0 : awt::Size aSize;
1107 0 : aSize.Width = 10;
1108 0 : aSize.Height = 10;
1109 0 : aSizeSequence [0] = aSize;
1110 : }
1111 : {
1112 0 : awt::Size aSize;
1113 0 : aSize.Width = 10;
1114 0 : aSize.Height = 10;
1115 0 : aSizeSequence [1] = aSize;
1116 : }
1117 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
1118 : }
1119 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1120 : }
1121 : {
1122 0 : awt::Rectangle aRectangle;
1123 0 : aRectangle.X = 0;
1124 0 : aRectangle.Y = 0;
1125 0 : aRectangle.Width = 0;
1126 0 : aRectangle.Height = 0;
1127 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1128 : }
1129 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chartPlus");
1130 :
1131 0 : return aPropertyMap;
1132 : }
1133 : };
1134 3 : class ShapeCflowChartManualInput : public CustomShapeProvider
1135 : {
1136 0 : virtual PropertyMap getProperties()
1137 : {
1138 0 : PropertyMap aPropertyMap;
1139 :
1140 : {
1141 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1142 : }
1143 : {
1144 : static const char *aStrings[] = {
1145 : "logwidth/2",
1146 : "logheight/10",
1147 : "logheight/2",
1148 : "logheight",
1149 : "logwidth",
1150 : "logheight/5"
1151 : };
1152 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1153 : }
1154 : {
1155 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1156 : }
1157 : {
1158 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1159 : }
1160 : {
1161 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1162 : }
1163 : {
1164 0 : Sequence< PropertyValue > aPropSequence (4);
1165 : {
1166 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1167 : static const CustomShapeProvider::ParameterPairData aData[] = {
1168 : {
1169 : EnhancedCustomShapeParameterType::NORMAL,
1170 : EnhancedCustomShapeParameterType::NORMAL,
1171 : 0, 1
1172 : },
1173 : {
1174 : EnhancedCustomShapeParameterType::NORMAL,
1175 : EnhancedCustomShapeParameterType::NORMAL,
1176 : 5, 0
1177 : },
1178 : {
1179 : EnhancedCustomShapeParameterType::NORMAL,
1180 : EnhancedCustomShapeParameterType::NORMAL,
1181 : 5, 5
1182 : },
1183 : {
1184 : EnhancedCustomShapeParameterType::NORMAL,
1185 : EnhancedCustomShapeParameterType::NORMAL,
1186 : 0, 5
1187 : }
1188 : };
1189 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1190 : }
1191 : {
1192 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1193 : static const sal_uInt16 nValues[] = {
1194 : // Command, Count
1195 : 1,1,
1196 : 2,3,
1197 : 4,0,
1198 : 5,0
1199 : };
1200 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1201 : }
1202 : {
1203 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
1204 0 : Sequence< awt::Size > aSizeSequence (1);
1205 : {
1206 0 : awt::Size aSize;
1207 0 : aSize.Width = 5;
1208 0 : aSize.Height = 5;
1209 0 : aSizeSequence [0] = aSize;
1210 : }
1211 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
1212 : }
1213 : {
1214 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
1215 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1216 : {
1217 0 : EnhancedCustomShapeTextFrame aTextFrame;
1218 : {
1219 : static const CustomShapeProvider::ParameterPairData aData =
1220 : {
1221 : EnhancedCustomShapeParameterType::NORMAL,
1222 : EnhancedCustomShapeParameterType::EQUATION,
1223 : 0, 5
1224 : };
1225 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1226 : }
1227 : {
1228 : static const CustomShapeProvider::ParameterPairData aData =
1229 : {
1230 : EnhancedCustomShapeParameterType::EQUATION,
1231 : EnhancedCustomShapeParameterType::EQUATION,
1232 : 4, 3
1233 : };
1234 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1235 : }
1236 0 : aTextFrameSeq [0] = aTextFrame;
1237 : }
1238 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
1239 : }
1240 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1241 : }
1242 : {
1243 0 : awt::Rectangle aRectangle;
1244 0 : aRectangle.X = 0;
1245 0 : aRectangle.Y = 0;
1246 0 : aRectangle.Width = 0;
1247 0 : aRectangle.Height = 0;
1248 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1249 : }
1250 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartManualInput");
1251 :
1252 0 : return aPropertyMap;
1253 : }
1254 : };
1255 3 : class ShapeCflowChartMerge : public CustomShapeProvider
1256 : {
1257 0 : virtual PropertyMap getProperties()
1258 : {
1259 0 : PropertyMap aPropertyMap;
1260 :
1261 : {
1262 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1263 : }
1264 : {
1265 : static const char *aStrings[] = {
1266 : "logwidth*3/4",
1267 : "logwidth/2",
1268 : "logwidth/4",
1269 : "logheight/2",
1270 : "logheight"
1271 : };
1272 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1273 : }
1274 : {
1275 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1276 : }
1277 : {
1278 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1279 : }
1280 : {
1281 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1282 : }
1283 : {
1284 0 : Sequence< PropertyValue > aPropSequence (4);
1285 : {
1286 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1287 : static const CustomShapeProvider::ParameterPairData aData[] = {
1288 : {
1289 : EnhancedCustomShapeParameterType::NORMAL,
1290 : EnhancedCustomShapeParameterType::NORMAL,
1291 : 0, 0
1292 : },
1293 : {
1294 : EnhancedCustomShapeParameterType::NORMAL,
1295 : EnhancedCustomShapeParameterType::NORMAL,
1296 : 2, 0
1297 : },
1298 : {
1299 : EnhancedCustomShapeParameterType::NORMAL,
1300 : EnhancedCustomShapeParameterType::NORMAL,
1301 : 1, 2
1302 : }
1303 : };
1304 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1305 : }
1306 : {
1307 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1308 : static const sal_uInt16 nValues[] = {
1309 : // Command, Count
1310 : 1,1,
1311 : 2,2,
1312 : 4,0,
1313 : 5,0
1314 : };
1315 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1316 : }
1317 : {
1318 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
1319 0 : Sequence< awt::Size > aSizeSequence (1);
1320 : {
1321 0 : awt::Size aSize;
1322 0 : aSize.Width = 2;
1323 0 : aSize.Height = 2;
1324 0 : aSizeSequence [0] = aSize;
1325 : }
1326 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
1327 : }
1328 : {
1329 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
1330 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1331 : {
1332 0 : EnhancedCustomShapeTextFrame aTextFrame;
1333 : {
1334 : static const CustomShapeProvider::ParameterPairData aData =
1335 : {
1336 : EnhancedCustomShapeParameterType::EQUATION,
1337 : EnhancedCustomShapeParameterType::NORMAL,
1338 : 2, 0
1339 : };
1340 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1341 : }
1342 : {
1343 : static const CustomShapeProvider::ParameterPairData aData =
1344 : {
1345 : EnhancedCustomShapeParameterType::EQUATION,
1346 : EnhancedCustomShapeParameterType::EQUATION,
1347 : 0, 3
1348 : };
1349 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1350 : }
1351 0 : aTextFrameSeq [0] = aTextFrame;
1352 : }
1353 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
1354 : }
1355 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1356 : }
1357 : {
1358 0 : awt::Rectangle aRectangle;
1359 0 : aRectangle.X = 0;
1360 0 : aRectangle.Y = 0;
1361 0 : aRectangle.Width = 0;
1362 0 : aRectangle.Height = 0;
1363 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1364 : }
1365 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMerge");
1366 :
1367 0 : return aPropertyMap;
1368 : }
1369 : };
1370 3 : class ShapeCline : public CustomShapeProvider
1371 : {
1372 0 : virtual PropertyMap getProperties()
1373 : {
1374 0 : PropertyMap aPropertyMap;
1375 :
1376 : {
1377 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
1378 : }
1379 : {
1380 : static const char *aStrings[] = {
1381 : "logwidth",
1382 : "logheight"
1383 : };
1384 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1385 : }
1386 : {
1387 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
1388 : }
1389 : {
1390 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1391 : }
1392 : {
1393 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1394 : }
1395 : {
1396 0 : Sequence< PropertyValue > aPropSequence (2);
1397 : {
1398 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1399 : static const CustomShapeProvider::ParameterPairData aData[] = {
1400 : {
1401 : EnhancedCustomShapeParameterType::NORMAL,
1402 : EnhancedCustomShapeParameterType::NORMAL,
1403 : 0, 0
1404 : },
1405 : {
1406 : EnhancedCustomShapeParameterType::EQUATION,
1407 : EnhancedCustomShapeParameterType::EQUATION,
1408 : 0, 1
1409 : }
1410 : };
1411 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1412 : }
1413 : {
1414 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1415 : static const sal_uInt16 nValues[] = {
1416 : // Command, Count
1417 : 1,1,
1418 : 2,1,
1419 : 5,0
1420 : };
1421 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1422 : }
1423 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1424 : }
1425 : {
1426 0 : awt::Rectangle aRectangle;
1427 0 : aRectangle.X = 0;
1428 0 : aRectangle.Y = 0;
1429 0 : aRectangle.Width = 0;
1430 0 : aRectangle.Height = 0;
1431 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1432 : }
1433 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-line");
1434 :
1435 0 : return aPropertyMap;
1436 : }
1437 : };
1438 3 : class ShapeCdownArrow : public CustomShapeProvider
1439 : {
1440 0 : virtual PropertyMap getProperties()
1441 : {
1442 0 : PropertyMap aPropertyMap;
1443 :
1444 : {
1445 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
1446 : {
1447 0 : Any aAny ((sal_Int32) 50000);
1448 0 : aAdjSequence [0].Value = aAny;
1449 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
1450 : }
1451 : {
1452 0 : Any aAny ((sal_Int32) 50000);
1453 0 : aAdjSequence [1].Value = aAny;
1454 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
1455 : }
1456 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1457 : }
1458 : {
1459 : static const char *aStrings[] = {
1460 : "min(logwidth,logheight)",
1461 : "100000*logheight/?0 ",
1462 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
1463 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
1464 : "?0 *?3 /100000",
1465 : "logheight+0-?4 ",
1466 : "logwidth*?2 /200000",
1467 : "logwidth/2",
1468 : "?7 +0-?6 ",
1469 : "?7 +?6 -0",
1470 : "logwidth/2",
1471 : "?8 *?4 /?10 ",
1472 : "?5 +?11 -0",
1473 : "logheight",
1474 : "logwidth"
1475 : };
1476 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1477 : }
1478 : {
1479 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
1480 : {
1481 0 : Sequence< PropertyValue > aPropSequence (4);
1482 : {
1483 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1484 : static const CustomShapeProvider::ParameterPairData aData =
1485 : {
1486 : EnhancedCustomShapeParameterType::EQUATION,
1487 : EnhancedCustomShapeParameterType::NORMAL,
1488 : 8, 0
1489 : };
1490 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1491 : }
1492 : {
1493 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1494 0 : EnhancedCustomShapeParameter aParameter;
1495 0 : Any aAny ((sal_Int32) 100000);
1496 0 : aParameter.Value = aAny;
1497 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1498 0 : aPropSequence [1].Value = makeAny (aParameter);
1499 : }
1500 : {
1501 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1502 0 : EnhancedCustomShapeParameter aParameter;
1503 0 : Any aAny ((sal_Int32) 0);
1504 0 : aParameter.Value = aAny;
1505 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1506 0 : aPropSequence [2].Value = makeAny (aParameter);
1507 : }
1508 : {
1509 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1510 0 : Any aAny ((sal_Int32) 0);
1511 0 : aPropSequence [3].Value = makeAny (aAny);
1512 : }
1513 0 : aPropSequenceSequence [0] = aPropSequence;
1514 : }
1515 : {
1516 0 : Sequence< PropertyValue > aPropSequence (4);
1517 : {
1518 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1519 : static const CustomShapeProvider::ParameterPairData aData =
1520 : {
1521 : EnhancedCustomShapeParameterType::NORMAL,
1522 : EnhancedCustomShapeParameterType::EQUATION,
1523 : 0, 5
1524 : };
1525 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1526 : }
1527 : {
1528 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1529 0 : EnhancedCustomShapeParameter aParameter;
1530 0 : Any aAny ((sal_Int32) 1);
1531 0 : aParameter.Value = aAny;
1532 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1533 0 : aPropSequence [1].Value = makeAny (aParameter);
1534 : }
1535 : {
1536 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1537 0 : EnhancedCustomShapeParameter aParameter;
1538 0 : Any aAny ((sal_Int32) 0);
1539 0 : aParameter.Value = aAny;
1540 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1541 0 : aPropSequence [2].Value = makeAny (aParameter);
1542 : }
1543 : {
1544 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1545 0 : Any aAny ((sal_Int32) 1);
1546 0 : aPropSequence [3].Value = makeAny (aAny);
1547 : }
1548 0 : aPropSequenceSequence [1] = aPropSequence;
1549 : }
1550 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1551 : }
1552 : {
1553 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1554 : }
1555 : {
1556 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1557 : }
1558 : {
1559 0 : Sequence< PropertyValue > aPropSequence (3);
1560 : {
1561 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1562 : static const CustomShapeProvider::ParameterPairData aData[] = {
1563 : {
1564 : EnhancedCustomShapeParameterType::NORMAL,
1565 : EnhancedCustomShapeParameterType::EQUATION,
1566 : 0, 5
1567 : },
1568 : {
1569 : EnhancedCustomShapeParameterType::EQUATION,
1570 : EnhancedCustomShapeParameterType::EQUATION,
1571 : 8, 5
1572 : },
1573 : {
1574 : EnhancedCustomShapeParameterType::EQUATION,
1575 : EnhancedCustomShapeParameterType::NORMAL,
1576 : 8, 0
1577 : },
1578 : {
1579 : EnhancedCustomShapeParameterType::EQUATION,
1580 : EnhancedCustomShapeParameterType::NORMAL,
1581 : 9, 0
1582 : },
1583 : {
1584 : EnhancedCustomShapeParameterType::EQUATION,
1585 : EnhancedCustomShapeParameterType::EQUATION,
1586 : 9, 5
1587 : },
1588 : {
1589 : EnhancedCustomShapeParameterType::EQUATION,
1590 : EnhancedCustomShapeParameterType::EQUATION,
1591 : 14, 5
1592 : },
1593 : {
1594 : EnhancedCustomShapeParameterType::EQUATION,
1595 : EnhancedCustomShapeParameterType::EQUATION,
1596 : 7, 13
1597 : }
1598 : };
1599 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
1600 : }
1601 : {
1602 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
1603 : static const sal_uInt16 nValues[] = {
1604 : // Command, Count
1605 : 1,1,
1606 : 2,6,
1607 : 4,0,
1608 : 5,0
1609 : };
1610 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
1611 : }
1612 : {
1613 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
1614 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
1615 : {
1616 0 : EnhancedCustomShapeTextFrame aTextFrame;
1617 : {
1618 : static const CustomShapeProvider::ParameterPairData aData =
1619 : {
1620 : EnhancedCustomShapeParameterType::EQUATION,
1621 : EnhancedCustomShapeParameterType::NORMAL,
1622 : 8, 0
1623 : };
1624 0 : aTextFrame.TopLeft = createParameterPair(&aData);
1625 : }
1626 : {
1627 : static const CustomShapeProvider::ParameterPairData aData =
1628 : {
1629 : EnhancedCustomShapeParameterType::EQUATION,
1630 : EnhancedCustomShapeParameterType::EQUATION,
1631 : 9, 12
1632 : };
1633 0 : aTextFrame.BottomRight = createParameterPair(&aData);
1634 : }
1635 0 : aTextFrameSeq [0] = aTextFrame;
1636 : }
1637 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
1638 : }
1639 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
1640 : }
1641 : {
1642 0 : awt::Rectangle aRectangle;
1643 0 : aRectangle.X = 0;
1644 0 : aRectangle.Y = 0;
1645 0 : aRectangle.Width = 0;
1646 0 : aRectangle.Height = 0;
1647 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
1648 : }
1649 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-downArrow");
1650 :
1651 0 : return aPropertyMap;
1652 : }
1653 : };
1654 3 : class ShapeCcurvedDownArrow : public CustomShapeProvider
1655 : {
1656 0 : virtual PropertyMap getProperties()
1657 : {
1658 0 : PropertyMap aPropertyMap;
1659 :
1660 : {
1661 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
1662 : {
1663 0 : Any aAny ((sal_Int32) 25000);
1664 0 : aAdjSequence [0].Value = aAny;
1665 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
1666 : }
1667 : {
1668 0 : Any aAny ((sal_Int32) 50000);
1669 0 : aAdjSequence [1].Value = aAny;
1670 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
1671 : }
1672 : {
1673 0 : Any aAny ((sal_Int32) 25000);
1674 0 : aAdjSequence [2].Value = aAny;
1675 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
1676 : }
1677 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
1678 : }
1679 : {
1680 : static const char *aStrings[] = {
1681 : "min(logwidth,logheight)",
1682 : "50000*logwidth/?0 ",
1683 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
1684 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
1685 : "?0 *?3 /100000",
1686 : "?0 *?2 /100000",
1687 : "(?4 +?5 )/4",
1688 : "logwidth/2",
1689 : "?7 +0-?6 ",
1690 : "?8 *2/1",
1691 : "?9 *?9 /1",
1692 : "?4 *?4 /1",
1693 : "?10 +0-?11 ",
1694 : "sqrt(?12 )",
1695 : "?13 *logheight/?9 ",
1696 : "100000*?14 /?0 ",
1697 : "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
1698 : "?0 *$2 /100000",
1699 : "?8 +?4 -0",
1700 : "logheight*logheight/1",
1701 : "?17 *?17 /1",
1702 : "?19 +0-?20 ",
1703 : "sqrt(?21 )",
1704 : "?22 *?8 /logheight",
1705 : "?8 +?23 -0",
1706 : "?18 +?23 -0",
1707 : "?5 +0-?4 ",
1708 : "?26 *1/2",
1709 : "?24 +0-?27 ",
1710 : "?25 +?27 -0",
1711 : "?5 *1/2",
1712 : "logwidth+0-?30 ",
1713 : "logheight+0-?17 ",
1714 : "(10800000*atan2(?23 ,?17 ))/pi",
1715 : "0+0-?33 ",
1716 : "logheight+0-?14 ",
1717 : "(?8 +?18 )/2",
1718 : "?4 *1/2",
1719 : "(10800000*atan2(?37 ,?14 ))/pi",
1720 : "16200000+?33 -0",
1721 : "16200000+0-?38 ",
1722 : "?38 +0-5400000",
1723 : "5400000+?38 -0",
1724 : "logheight",
1725 : "logwidth",
1726 : "logheight",
1727 : "(?39 )/60000.0",
1728 : "(?34 )/60000.0",
1729 : "(16200000)/60000.0",
1730 : "(?33 )/60000.0",
1731 : "(?40 )/60000.0",
1732 : "(?41 )/60000.0",
1733 : "(10800000)/60000.0",
1734 : "(?42 )/60000.0",
1735 : "(?40 )/60000.0",
1736 : "(?41 )/60000.0",
1737 : "(10800000)/60000.0",
1738 : "(5400000)/60000.0",
1739 : "(16200000)/60000.0",
1740 : "(?33 )/60000.0",
1741 : "(?39 )/60000.0",
1742 : "(?34 )/60000.0"
1743 : };
1744 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
1745 : }
1746 : {
1747 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
1748 : {
1749 0 : Sequence< PropertyValue > aPropSequence (4);
1750 : {
1751 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1752 : static const CustomShapeProvider::ParameterPairData aData =
1753 : {
1754 : EnhancedCustomShapeParameterType::EQUATION,
1755 : EnhancedCustomShapeParameterType::EQUATION,
1756 : 25, 32
1757 : };
1758 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1759 : }
1760 : {
1761 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1762 0 : EnhancedCustomShapeParameter aParameter;
1763 0 : Any aAny ((sal_Int32) 1);
1764 0 : aParameter.Value = aAny;
1765 0 : aParameter.Type = EnhancedCustomShapeParameterType::ADJUSTMENT;
1766 0 : aPropSequence [1].Value = makeAny (aParameter);
1767 : }
1768 : {
1769 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1770 0 : EnhancedCustomShapeParameter aParameter;
1771 0 : Any aAny ((sal_Int32) 0);
1772 0 : aParameter.Value = aAny;
1773 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1774 0 : aPropSequence [2].Value = makeAny (aParameter);
1775 : }
1776 : {
1777 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1778 0 : Any aAny ((sal_Int32) 0);
1779 0 : aPropSequence [3].Value = makeAny (aAny);
1780 : }
1781 0 : aPropSequenceSequence [0] = aPropSequence;
1782 : }
1783 : {
1784 0 : Sequence< PropertyValue > aPropSequence (4);
1785 : {
1786 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1787 : static const CustomShapeProvider::ParameterPairData aData =
1788 : {
1789 : EnhancedCustomShapeParameterType::EQUATION,
1790 : EnhancedCustomShapeParameterType::EQUATION,
1791 : 28, 43
1792 : };
1793 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1794 : }
1795 : {
1796 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
1797 0 : EnhancedCustomShapeParameter aParameter;
1798 0 : Any aAny ((sal_Int32) 1);
1799 0 : aParameter.Value = aAny;
1800 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1801 0 : aPropSequence [1].Value = makeAny (aParameter);
1802 : }
1803 : {
1804 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
1805 0 : EnhancedCustomShapeParameter aParameter;
1806 0 : Any aAny ((sal_Int32) 0);
1807 0 : aParameter.Value = aAny;
1808 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1809 0 : aPropSequence [2].Value = makeAny (aParameter);
1810 : }
1811 : {
1812 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
1813 0 : Any aAny ((sal_Int32) 1);
1814 0 : aPropSequence [3].Value = makeAny (aAny);
1815 : }
1816 0 : aPropSequenceSequence [1] = aPropSequence;
1817 : }
1818 : {
1819 0 : Sequence< PropertyValue > aPropSequence (4);
1820 : {
1821 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
1822 : static const CustomShapeProvider::ParameterPairData aData =
1823 : {
1824 : EnhancedCustomShapeParameterType::EQUATION,
1825 : EnhancedCustomShapeParameterType::EQUATION,
1826 : 44, 32
1827 : };
1828 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
1829 : }
1830 : {
1831 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
1832 0 : EnhancedCustomShapeParameter aParameter;
1833 0 : Any aAny ((sal_Int32) 15);
1834 0 : aParameter.Value = aAny;
1835 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
1836 0 : aPropSequence [1].Value = makeAny (aParameter);
1837 : }
1838 : {
1839 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
1840 0 : EnhancedCustomShapeParameter aParameter;
1841 0 : Any aAny ((sal_Int32) 0);
1842 0 : aParameter.Value = aAny;
1843 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
1844 0 : aPropSequence [2].Value = makeAny (aParameter);
1845 : }
1846 : {
1847 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
1848 0 : Any aAny ((sal_Int32) 2);
1849 0 : aPropSequence [3].Value = makeAny (aAny);
1850 : }
1851 0 : aPropSequenceSequence [2] = aPropSequence;
1852 : }
1853 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
1854 : }
1855 : {
1856 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
1857 : }
1858 : {
1859 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
1860 : }
1861 : {
1862 0 : Sequence< PropertyValue > aPropSequence (3);
1863 : {
1864 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
1865 : static const CustomShapeProvider::ParameterPairData aData[] = {
1866 : {
1867 : EnhancedCustomShapeParameterType::EQUATION,
1868 : EnhancedCustomShapeParameterType::EQUATION,
1869 : 31, 43
1870 : },
1871 : {
1872 : EnhancedCustomShapeParameterType::EQUATION,
1873 : EnhancedCustomShapeParameterType::EQUATION,
1874 : 28, 32
1875 : },
1876 : {
1877 : EnhancedCustomShapeParameterType::EQUATION,
1878 : EnhancedCustomShapeParameterType::EQUATION,
1879 : 24, 32
1880 : },
1881 : {
1882 : EnhancedCustomShapeParameterType::EQUATION,
1883 : EnhancedCustomShapeParameterType::EQUATION,
1884 : 8, 45
1885 : },
1886 : {
1887 : EnhancedCustomShapeParameterType::EQUATION,
1888 : EnhancedCustomShapeParameterType::EQUATION,
1889 : 46, 47
1890 : },
1891 : {
1892 : EnhancedCustomShapeParameterType::EQUATION,
1893 : EnhancedCustomShapeParameterType::NORMAL,
1894 : 18, 0
1895 : },
1896 : {
1897 : EnhancedCustomShapeParameterType::EQUATION,
1898 : EnhancedCustomShapeParameterType::EQUATION,
1899 : 8, 45
1900 : },
1901 : {
1902 : EnhancedCustomShapeParameterType::EQUATION,
1903 : EnhancedCustomShapeParameterType::EQUATION,
1904 : 48, 49
1905 : },
1906 : {
1907 : EnhancedCustomShapeParameterType::EQUATION,
1908 : EnhancedCustomShapeParameterType::EQUATION,
1909 : 29, 32
1910 : },
1911 : {
1912 : EnhancedCustomShapeParameterType::EQUATION,
1913 : EnhancedCustomShapeParameterType::EQUATION,
1914 : 36, 35
1915 : },
1916 : {
1917 : EnhancedCustomShapeParameterType::EQUATION,
1918 : EnhancedCustomShapeParameterType::EQUATION,
1919 : 8, 45
1920 : },
1921 : {
1922 : EnhancedCustomShapeParameterType::EQUATION,
1923 : EnhancedCustomShapeParameterType::EQUATION,
1924 : 50, 51
1925 : },
1926 : {
1927 : EnhancedCustomShapeParameterType::NORMAL,
1928 : EnhancedCustomShapeParameterType::EQUATION,
1929 : 0, 43
1930 : },
1931 : {
1932 : EnhancedCustomShapeParameterType::EQUATION,
1933 : EnhancedCustomShapeParameterType::EQUATION,
1934 : 8, 45
1935 : },
1936 : {
1937 : EnhancedCustomShapeParameterType::EQUATION,
1938 : EnhancedCustomShapeParameterType::EQUATION,
1939 : 52, 53
1940 : },
1941 : {
1942 : EnhancedCustomShapeParameterType::EQUATION,
1943 : EnhancedCustomShapeParameterType::EQUATION,
1944 : 36, 35
1945 : },
1946 : {
1947 : EnhancedCustomShapeParameterType::EQUATION,
1948 : EnhancedCustomShapeParameterType::EQUATION,
1949 : 8, 45
1950 : },
1951 : {
1952 : EnhancedCustomShapeParameterType::EQUATION,
1953 : EnhancedCustomShapeParameterType::EQUATION,
1954 : 54, 55
1955 : },
1956 : {
1957 : EnhancedCustomShapeParameterType::NORMAL,
1958 : EnhancedCustomShapeParameterType::EQUATION,
1959 : 0, 43
1960 : },
1961 : {
1962 : EnhancedCustomShapeParameterType::EQUATION,
1963 : EnhancedCustomShapeParameterType::EQUATION,
1964 : 8, 45
1965 : },
1966 : {
1967 : EnhancedCustomShapeParameterType::EQUATION,
1968 : EnhancedCustomShapeParameterType::EQUATION,
1969 : 56, 57
1970 : },
1971 : {
1972 : EnhancedCustomShapeParameterType::EQUATION,
1973 : EnhancedCustomShapeParameterType::NORMAL,
1974 : 18, 0
1975 : },
1976 : {
1977 : EnhancedCustomShapeParameterType::EQUATION,
1978 : EnhancedCustomShapeParameterType::EQUATION,
1979 : 8, 45
1980 : },
1981 : {
1982 : EnhancedCustomShapeParameterType::EQUATION,
1983 : EnhancedCustomShapeParameterType::EQUATION,
1984 : 58, 59
1985 : },
1986 : {
1987 : EnhancedCustomShapeParameterType::EQUATION,
1988 : EnhancedCustomShapeParameterType::EQUATION,
1989 : 29, 32
1990 : },
1991 : {
1992 : EnhancedCustomShapeParameterType::EQUATION,
1993 : EnhancedCustomShapeParameterType::EQUATION,
1994 : 31, 43
1995 : },
1996 : {
1997 : EnhancedCustomShapeParameterType::EQUATION,
1998 : EnhancedCustomShapeParameterType::EQUATION,
1999 : 28, 32
2000 : },
2001 : {
2002 : EnhancedCustomShapeParameterType::EQUATION,
2003 : EnhancedCustomShapeParameterType::EQUATION,
2004 : 24, 32
2005 : },
2006 : {
2007 : EnhancedCustomShapeParameterType::EQUATION,
2008 : EnhancedCustomShapeParameterType::EQUATION,
2009 : 8, 45
2010 : },
2011 : {
2012 : EnhancedCustomShapeParameterType::EQUATION,
2013 : EnhancedCustomShapeParameterType::EQUATION,
2014 : 60, 61
2015 : }
2016 : };
2017 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2018 : }
2019 : {
2020 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2021 : static const sal_uInt16 nValues[] = {
2022 : // Command, Count
2023 : 1,1,
2024 : 2,2,
2025 : 17,1,
2026 : 2,1,
2027 : 17,1,
2028 : 2,1,
2029 : 4,0,
2030 : 7,0,
2031 : 5,0,
2032 : 1,1,
2033 : 17,1,
2034 : 2,1,
2035 : 17,1,
2036 : 4,0,
2037 : 19,0,
2038 : 7,0,
2039 : 5,0,
2040 : 1,1,
2041 : 17,1,
2042 : 2,1,
2043 : 17,1,
2044 : 2,1,
2045 : 17,1,
2046 : 2,4,
2047 : 17,1,
2048 : 6,0,
2049 : 5,0
2050 : };
2051 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2052 : }
2053 : {
2054 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2055 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2056 : {
2057 0 : EnhancedCustomShapeTextFrame aTextFrame;
2058 : {
2059 : static const CustomShapeProvider::ParameterPairData aData =
2060 : {
2061 : EnhancedCustomShapeParameterType::NORMAL,
2062 : EnhancedCustomShapeParameterType::NORMAL,
2063 : 0, 0
2064 : };
2065 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2066 : }
2067 : {
2068 : static const CustomShapeProvider::ParameterPairData aData =
2069 : {
2070 : EnhancedCustomShapeParameterType::EQUATION,
2071 : EnhancedCustomShapeParameterType::EQUATION,
2072 : 44, 43
2073 : };
2074 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2075 : }
2076 0 : aTextFrameSeq [0] = aTextFrame;
2077 : }
2078 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2079 : }
2080 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2081 : }
2082 : {
2083 0 : awt::Rectangle aRectangle;
2084 0 : aRectangle.X = 0;
2085 0 : aRectangle.Y = 0;
2086 0 : aRectangle.Width = 0;
2087 0 : aRectangle.Height = 0;
2088 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2089 : }
2090 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedDownArrow");
2091 :
2092 0 : return aPropertyMap;
2093 : }
2094 : };
2095 3 : class ShapeCactionButtonReturn : public CustomShapeProvider
2096 : {
2097 0 : virtual PropertyMap getProperties()
2098 : {
2099 0 : PropertyMap aPropertyMap;
2100 :
2101 : {
2102 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2103 : }
2104 : {
2105 : static const char *aStrings[] = {
2106 : "min(logwidth,logheight)",
2107 : "?0 *3/8",
2108 : "logheight/2",
2109 : "?2 +0-?1 ",
2110 : "?2 +?1 -0",
2111 : "logwidth/2",
2112 : "?5 +0-?1 ",
2113 : "?5 +?1 -0",
2114 : "?0 *3/4",
2115 : "?8 *7/8",
2116 : "?8 *3/4",
2117 : "?8 *5/8",
2118 : "?8 *3/8",
2119 : "?8 *1/4",
2120 : "?3 +?10 -0",
2121 : "?3 +?11 -0",
2122 : "?3 +?13 -0",
2123 : "?6 +?9 -0",
2124 : "?6 +?10 -0",
2125 : "?6 +?11 -0",
2126 : "?6 +?12 -0",
2127 : "?6 +?13 -0",
2128 : "?8 *1/8",
2129 : "logwidth",
2130 : "logheight",
2131 : "(0)/60000.0",
2132 : "(5400000)/60000.0",
2133 : "(5400000)/60000.0",
2134 : "(5400000)/60000.0",
2135 : "(10800000)/60000.0",
2136 : "(-5400000)/60000.0",
2137 : "(5400000)/60000.0",
2138 : "(-5400000)/60000.0",
2139 : "(0)/60000.0",
2140 : "(5400000)/60000.0",
2141 : "(5400000)/60000.0",
2142 : "(5400000)/60000.0",
2143 : "(10800000)/60000.0",
2144 : "(-5400000)/60000.0",
2145 : "(5400000)/60000.0",
2146 : "(-5400000)/60000.0",
2147 : "(0)/60000.0",
2148 : "(5400000)/60000.0",
2149 : "(5400000)/60000.0",
2150 : "(5400000)/60000.0",
2151 : "(10800000)/60000.0",
2152 : "(-5400000)/60000.0",
2153 : "(5400000)/60000.0",
2154 : "(-5400000)/60000.0"
2155 : };
2156 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2157 : }
2158 : {
2159 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2160 : }
2161 : {
2162 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2163 : }
2164 : {
2165 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2166 : }
2167 : {
2168 0 : Sequence< PropertyValue > aPropSequence (3);
2169 : {
2170 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2171 : static const CustomShapeProvider::ParameterPairData aData[] = {
2172 : {
2173 : EnhancedCustomShapeParameterType::NORMAL,
2174 : EnhancedCustomShapeParameterType::NORMAL,
2175 : 0, 0
2176 : },
2177 : {
2178 : EnhancedCustomShapeParameterType::EQUATION,
2179 : EnhancedCustomShapeParameterType::NORMAL,
2180 : 23, 0
2181 : },
2182 : {
2183 : EnhancedCustomShapeParameterType::EQUATION,
2184 : EnhancedCustomShapeParameterType::EQUATION,
2185 : 23, 24
2186 : },
2187 : {
2188 : EnhancedCustomShapeParameterType::NORMAL,
2189 : EnhancedCustomShapeParameterType::EQUATION,
2190 : 0, 24
2191 : },
2192 : {
2193 : EnhancedCustomShapeParameterType::EQUATION,
2194 : EnhancedCustomShapeParameterType::EQUATION,
2195 : 7, 16
2196 : },
2197 : {
2198 : EnhancedCustomShapeParameterType::EQUATION,
2199 : EnhancedCustomShapeParameterType::EQUATION,
2200 : 18, 3
2201 : },
2202 : {
2203 : EnhancedCustomShapeParameterType::EQUATION,
2204 : EnhancedCustomShapeParameterType::EQUATION,
2205 : 5, 16
2206 : },
2207 : {
2208 : EnhancedCustomShapeParameterType::EQUATION,
2209 : EnhancedCustomShapeParameterType::EQUATION,
2210 : 19, 16
2211 : },
2212 : {
2213 : EnhancedCustomShapeParameterType::EQUATION,
2214 : EnhancedCustomShapeParameterType::EQUATION,
2215 : 19, 15
2216 : },
2217 : {
2218 : EnhancedCustomShapeParameterType::EQUATION,
2219 : EnhancedCustomShapeParameterType::EQUATION,
2220 : 22, 22
2221 : },
2222 : {
2223 : EnhancedCustomShapeParameterType::EQUATION,
2224 : EnhancedCustomShapeParameterType::EQUATION,
2225 : 25, 26
2226 : },
2227 : {
2228 : EnhancedCustomShapeParameterType::EQUATION,
2229 : EnhancedCustomShapeParameterType::EQUATION,
2230 : 20, 14
2231 : },
2232 : {
2233 : EnhancedCustomShapeParameterType::EQUATION,
2234 : EnhancedCustomShapeParameterType::EQUATION,
2235 : 22, 22
2236 : },
2237 : {
2238 : EnhancedCustomShapeParameterType::EQUATION,
2239 : EnhancedCustomShapeParameterType::EQUATION,
2240 : 27, 28
2241 : },
2242 : {
2243 : EnhancedCustomShapeParameterType::EQUATION,
2244 : EnhancedCustomShapeParameterType::EQUATION,
2245 : 21, 16
2246 : },
2247 : {
2248 : EnhancedCustomShapeParameterType::EQUATION,
2249 : EnhancedCustomShapeParameterType::EQUATION,
2250 : 6, 16
2251 : },
2252 : {
2253 : EnhancedCustomShapeParameterType::EQUATION,
2254 : EnhancedCustomShapeParameterType::EQUATION,
2255 : 6, 15
2256 : },
2257 : {
2258 : EnhancedCustomShapeParameterType::EQUATION,
2259 : EnhancedCustomShapeParameterType::EQUATION,
2260 : 12, 12
2261 : },
2262 : {
2263 : EnhancedCustomShapeParameterType::EQUATION,
2264 : EnhancedCustomShapeParameterType::EQUATION,
2265 : 29, 30
2266 : },
2267 : {
2268 : EnhancedCustomShapeParameterType::EQUATION,
2269 : EnhancedCustomShapeParameterType::EQUATION,
2270 : 5, 4
2271 : },
2272 : {
2273 : EnhancedCustomShapeParameterType::EQUATION,
2274 : EnhancedCustomShapeParameterType::EQUATION,
2275 : 12, 12
2276 : },
2277 : {
2278 : EnhancedCustomShapeParameterType::EQUATION,
2279 : EnhancedCustomShapeParameterType::EQUATION,
2280 : 31, 32
2281 : },
2282 : {
2283 : EnhancedCustomShapeParameterType::EQUATION,
2284 : EnhancedCustomShapeParameterType::EQUATION,
2285 : 17, 16
2286 : },
2287 : {
2288 : EnhancedCustomShapeParameterType::EQUATION,
2289 : EnhancedCustomShapeParameterType::EQUATION,
2290 : 7, 16
2291 : },
2292 : {
2293 : EnhancedCustomShapeParameterType::EQUATION,
2294 : EnhancedCustomShapeParameterType::EQUATION,
2295 : 18, 3
2296 : },
2297 : {
2298 : EnhancedCustomShapeParameterType::EQUATION,
2299 : EnhancedCustomShapeParameterType::EQUATION,
2300 : 5, 16
2301 : },
2302 : {
2303 : EnhancedCustomShapeParameterType::EQUATION,
2304 : EnhancedCustomShapeParameterType::EQUATION,
2305 : 19, 16
2306 : },
2307 : {
2308 : EnhancedCustomShapeParameterType::EQUATION,
2309 : EnhancedCustomShapeParameterType::EQUATION,
2310 : 19, 15
2311 : },
2312 : {
2313 : EnhancedCustomShapeParameterType::EQUATION,
2314 : EnhancedCustomShapeParameterType::EQUATION,
2315 : 22, 22
2316 : },
2317 : {
2318 : EnhancedCustomShapeParameterType::EQUATION,
2319 : EnhancedCustomShapeParameterType::EQUATION,
2320 : 33, 34
2321 : },
2322 : {
2323 : EnhancedCustomShapeParameterType::EQUATION,
2324 : EnhancedCustomShapeParameterType::EQUATION,
2325 : 20, 14
2326 : },
2327 : {
2328 : EnhancedCustomShapeParameterType::EQUATION,
2329 : EnhancedCustomShapeParameterType::EQUATION,
2330 : 22, 22
2331 : },
2332 : {
2333 : EnhancedCustomShapeParameterType::EQUATION,
2334 : EnhancedCustomShapeParameterType::EQUATION,
2335 : 35, 36
2336 : },
2337 : {
2338 : EnhancedCustomShapeParameterType::EQUATION,
2339 : EnhancedCustomShapeParameterType::EQUATION,
2340 : 21, 16
2341 : },
2342 : {
2343 : EnhancedCustomShapeParameterType::EQUATION,
2344 : EnhancedCustomShapeParameterType::EQUATION,
2345 : 6, 16
2346 : },
2347 : {
2348 : EnhancedCustomShapeParameterType::EQUATION,
2349 : EnhancedCustomShapeParameterType::EQUATION,
2350 : 6, 15
2351 : },
2352 : {
2353 : EnhancedCustomShapeParameterType::EQUATION,
2354 : EnhancedCustomShapeParameterType::EQUATION,
2355 : 12, 12
2356 : },
2357 : {
2358 : EnhancedCustomShapeParameterType::EQUATION,
2359 : EnhancedCustomShapeParameterType::EQUATION,
2360 : 37, 38
2361 : },
2362 : {
2363 : EnhancedCustomShapeParameterType::EQUATION,
2364 : EnhancedCustomShapeParameterType::EQUATION,
2365 : 5, 4
2366 : },
2367 : {
2368 : EnhancedCustomShapeParameterType::EQUATION,
2369 : EnhancedCustomShapeParameterType::EQUATION,
2370 : 12, 12
2371 : },
2372 : {
2373 : EnhancedCustomShapeParameterType::EQUATION,
2374 : EnhancedCustomShapeParameterType::EQUATION,
2375 : 39, 40
2376 : },
2377 : {
2378 : EnhancedCustomShapeParameterType::EQUATION,
2379 : EnhancedCustomShapeParameterType::EQUATION,
2380 : 17, 16
2381 : },
2382 : {
2383 : EnhancedCustomShapeParameterType::EQUATION,
2384 : EnhancedCustomShapeParameterType::EQUATION,
2385 : 7, 16
2386 : },
2387 : {
2388 : EnhancedCustomShapeParameterType::EQUATION,
2389 : EnhancedCustomShapeParameterType::EQUATION,
2390 : 17, 16
2391 : },
2392 : {
2393 : EnhancedCustomShapeParameterType::EQUATION,
2394 : EnhancedCustomShapeParameterType::EQUATION,
2395 : 17, 15
2396 : },
2397 : {
2398 : EnhancedCustomShapeParameterType::EQUATION,
2399 : EnhancedCustomShapeParameterType::EQUATION,
2400 : 12, 12
2401 : },
2402 : {
2403 : EnhancedCustomShapeParameterType::EQUATION,
2404 : EnhancedCustomShapeParameterType::EQUATION,
2405 : 41, 42
2406 : },
2407 : {
2408 : EnhancedCustomShapeParameterType::EQUATION,
2409 : EnhancedCustomShapeParameterType::EQUATION,
2410 : 20, 4
2411 : },
2412 : {
2413 : EnhancedCustomShapeParameterType::EQUATION,
2414 : EnhancedCustomShapeParameterType::EQUATION,
2415 : 12, 12
2416 : },
2417 : {
2418 : EnhancedCustomShapeParameterType::EQUATION,
2419 : EnhancedCustomShapeParameterType::EQUATION,
2420 : 43, 44
2421 : },
2422 : {
2423 : EnhancedCustomShapeParameterType::EQUATION,
2424 : EnhancedCustomShapeParameterType::EQUATION,
2425 : 6, 16
2426 : },
2427 : {
2428 : EnhancedCustomShapeParameterType::EQUATION,
2429 : EnhancedCustomShapeParameterType::EQUATION,
2430 : 21, 16
2431 : },
2432 : {
2433 : EnhancedCustomShapeParameterType::EQUATION,
2434 : EnhancedCustomShapeParameterType::EQUATION,
2435 : 21, 15
2436 : },
2437 : {
2438 : EnhancedCustomShapeParameterType::EQUATION,
2439 : EnhancedCustomShapeParameterType::EQUATION,
2440 : 22, 22
2441 : },
2442 : {
2443 : EnhancedCustomShapeParameterType::EQUATION,
2444 : EnhancedCustomShapeParameterType::EQUATION,
2445 : 45, 46
2446 : },
2447 : {
2448 : EnhancedCustomShapeParameterType::EQUATION,
2449 : EnhancedCustomShapeParameterType::EQUATION,
2450 : 5, 14
2451 : },
2452 : {
2453 : EnhancedCustomShapeParameterType::EQUATION,
2454 : EnhancedCustomShapeParameterType::EQUATION,
2455 : 22, 22
2456 : },
2457 : {
2458 : EnhancedCustomShapeParameterType::EQUATION,
2459 : EnhancedCustomShapeParameterType::EQUATION,
2460 : 47, 48
2461 : },
2462 : {
2463 : EnhancedCustomShapeParameterType::EQUATION,
2464 : EnhancedCustomShapeParameterType::EQUATION,
2465 : 19, 16
2466 : },
2467 : {
2468 : EnhancedCustomShapeParameterType::EQUATION,
2469 : EnhancedCustomShapeParameterType::EQUATION,
2470 : 5, 16
2471 : },
2472 : {
2473 : EnhancedCustomShapeParameterType::EQUATION,
2474 : EnhancedCustomShapeParameterType::EQUATION,
2475 : 18, 3
2476 : },
2477 : {
2478 : EnhancedCustomShapeParameterType::NORMAL,
2479 : EnhancedCustomShapeParameterType::NORMAL,
2480 : 0, 0
2481 : },
2482 : {
2483 : EnhancedCustomShapeParameterType::EQUATION,
2484 : EnhancedCustomShapeParameterType::NORMAL,
2485 : 23, 0
2486 : },
2487 : {
2488 : EnhancedCustomShapeParameterType::EQUATION,
2489 : EnhancedCustomShapeParameterType::EQUATION,
2490 : 23, 24
2491 : },
2492 : {
2493 : EnhancedCustomShapeParameterType::NORMAL,
2494 : EnhancedCustomShapeParameterType::EQUATION,
2495 : 0, 24
2496 : }
2497 : };
2498 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2499 : }
2500 : {
2501 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2502 : static const sal_uInt16 nValues[] = {
2503 : // Command, Count
2504 : 1,1,
2505 : 2,3,
2506 : 4,0,
2507 : 1,1,
2508 : 2,4,
2509 : 17,1,
2510 : 2,1,
2511 : 17,1,
2512 : 2,3,
2513 : 17,1,
2514 : 2,1,
2515 : 17,1,
2516 : 2,1,
2517 : 4,0,
2518 : 7,0,
2519 : 5,0,
2520 : 1,1,
2521 : 2,4,
2522 : 17,1,
2523 : 2,1,
2524 : 17,1,
2525 : 2,3,
2526 : 17,1,
2527 : 2,1,
2528 : 17,1,
2529 : 2,1,
2530 : 4,0,
2531 : 18,0,
2532 : 7,0,
2533 : 5,0,
2534 : 1,1,
2535 : 2,2,
2536 : 17,1,
2537 : 2,1,
2538 : 17,1,
2539 : 2,3,
2540 : 17,1,
2541 : 2,1,
2542 : 17,1,
2543 : 2,3,
2544 : 4,0,
2545 : 6,0,
2546 : 5,0,
2547 : 1,1,
2548 : 2,3,
2549 : 4,0,
2550 : 6,0,
2551 : 5,0
2552 : };
2553 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2554 : }
2555 : {
2556 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2557 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2558 : {
2559 0 : EnhancedCustomShapeTextFrame aTextFrame;
2560 : {
2561 : static const CustomShapeProvider::ParameterPairData aData =
2562 : {
2563 : EnhancedCustomShapeParameterType::NORMAL,
2564 : EnhancedCustomShapeParameterType::NORMAL,
2565 : 0, 0
2566 : };
2567 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2568 : }
2569 : {
2570 : static const CustomShapeProvider::ParameterPairData aData =
2571 : {
2572 : EnhancedCustomShapeParameterType::EQUATION,
2573 : EnhancedCustomShapeParameterType::EQUATION,
2574 : 23, 24
2575 : };
2576 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2577 : }
2578 0 : aTextFrameSeq [0] = aTextFrame;
2579 : }
2580 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2581 : }
2582 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2583 : }
2584 : {
2585 0 : awt::Rectangle aRectangle;
2586 0 : aRectangle.X = 0;
2587 0 : aRectangle.Y = 0;
2588 0 : aRectangle.Width = 0;
2589 0 : aRectangle.Height = 0;
2590 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2591 : }
2592 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonReturn");
2593 :
2594 0 : return aPropertyMap;
2595 : }
2596 : };
2597 3 : class ShapeCflowChartInputOutput : public CustomShapeProvider
2598 : {
2599 0 : virtual PropertyMap getProperties()
2600 : {
2601 0 : PropertyMap aPropertyMap;
2602 :
2603 : {
2604 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
2605 : }
2606 : {
2607 : static const char *aStrings[] = {
2608 : "logwidth*2/5",
2609 : "logwidth*3/5",
2610 : "logwidth*4/5",
2611 : "logwidth*9/10",
2612 : "logwidth/2",
2613 : "logwidth/10",
2614 : "logheight/2",
2615 : "logheight",
2616 : "logwidth/5"
2617 : };
2618 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2619 : }
2620 : {
2621 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
2622 : }
2623 : {
2624 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2625 : }
2626 : {
2627 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2628 : }
2629 : {
2630 0 : Sequence< PropertyValue > aPropSequence (4);
2631 : {
2632 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2633 : static const CustomShapeProvider::ParameterPairData aData[] = {
2634 : {
2635 : EnhancedCustomShapeParameterType::NORMAL,
2636 : EnhancedCustomShapeParameterType::NORMAL,
2637 : 0, 5
2638 : },
2639 : {
2640 : EnhancedCustomShapeParameterType::NORMAL,
2641 : EnhancedCustomShapeParameterType::NORMAL,
2642 : 1, 0
2643 : },
2644 : {
2645 : EnhancedCustomShapeParameterType::NORMAL,
2646 : EnhancedCustomShapeParameterType::NORMAL,
2647 : 5, 0
2648 : },
2649 : {
2650 : EnhancedCustomShapeParameterType::NORMAL,
2651 : EnhancedCustomShapeParameterType::NORMAL,
2652 : 4, 5
2653 : }
2654 : };
2655 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2656 : }
2657 : {
2658 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2659 : static const sal_uInt16 nValues[] = {
2660 : // Command, Count
2661 : 1,1,
2662 : 2,3,
2663 : 4,0,
2664 : 5,0
2665 : };
2666 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2667 : }
2668 : {
2669 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
2670 0 : Sequence< awt::Size > aSizeSequence (1);
2671 : {
2672 0 : awt::Size aSize;
2673 0 : aSize.Width = 5;
2674 0 : aSize.Height = 5;
2675 0 : aSizeSequence [0] = aSize;
2676 : }
2677 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
2678 : }
2679 : {
2680 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
2681 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2682 : {
2683 0 : EnhancedCustomShapeTextFrame aTextFrame;
2684 : {
2685 : static const CustomShapeProvider::ParameterPairData aData =
2686 : {
2687 : EnhancedCustomShapeParameterType::EQUATION,
2688 : EnhancedCustomShapeParameterType::NORMAL,
2689 : 8, 0
2690 : };
2691 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2692 : }
2693 : {
2694 : static const CustomShapeProvider::ParameterPairData aData =
2695 : {
2696 : EnhancedCustomShapeParameterType::EQUATION,
2697 : EnhancedCustomShapeParameterType::EQUATION,
2698 : 2, 7
2699 : };
2700 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2701 : }
2702 0 : aTextFrameSeq [0] = aTextFrame;
2703 : }
2704 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
2705 : }
2706 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2707 : }
2708 : {
2709 0 : awt::Rectangle aRectangle;
2710 0 : aRectangle.X = 0;
2711 0 : aRectangle.Y = 0;
2712 0 : aRectangle.Width = 0;
2713 0 : aRectangle.Height = 0;
2714 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
2715 : }
2716 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartInputOutput");
2717 :
2718 0 : return aPropertyMap;
2719 : }
2720 : };
2721 3 : class ShapeCbracketPair : public CustomShapeProvider
2722 : {
2723 0 : virtual PropertyMap getProperties()
2724 : {
2725 0 : PropertyMap aPropertyMap;
2726 :
2727 : {
2728 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
2729 : {
2730 0 : Any aAny ((sal_Int32) 16667);
2731 0 : aAdjSequence [0].Value = aAny;
2732 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
2733 : }
2734 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
2735 : }
2736 : {
2737 : static const char *aStrings[] = {
2738 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
2739 : "min(logwidth,logheight)",
2740 : "?1 *?0 /100000",
2741 : "logwidth+0-?2 ",
2742 : "logheight+0-?2 ",
2743 : "?2 *29289/100000",
2744 : "logwidth+0-?5 ",
2745 : "logheight+0-?5 ",
2746 : "logwidth/2",
2747 : "logheight/2",
2748 : "logheight",
2749 : "logwidth",
2750 : "(10800000)/60000.0",
2751 : "(5400000)/60000.0",
2752 : "(16200000)/60000.0",
2753 : "(5400000)/60000.0",
2754 : "(0)/60000.0",
2755 : "(5400000)/60000.0",
2756 : "(5400000)/60000.0",
2757 : "(5400000)/60000.0",
2758 : "(5400000)/60000.0",
2759 : "(5400000)/60000.0",
2760 : "(10800000)/60000.0",
2761 : "(5400000)/60000.0",
2762 : "(16200000)/60000.0",
2763 : "(5400000)/60000.0",
2764 : "(0)/60000.0",
2765 : "(5400000)/60000.0"
2766 : };
2767 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
2768 : }
2769 : {
2770 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
2771 : {
2772 0 : Sequence< PropertyValue > aPropSequence (4);
2773 : {
2774 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
2775 : static const CustomShapeProvider::ParameterPairData aData =
2776 : {
2777 : EnhancedCustomShapeParameterType::NORMAL,
2778 : EnhancedCustomShapeParameterType::EQUATION,
2779 : 0, 2
2780 : };
2781 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
2782 : }
2783 : {
2784 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
2785 0 : EnhancedCustomShapeParameter aParameter;
2786 0 : Any aAny ((sal_Int32) 50000);
2787 0 : aParameter.Value = aAny;
2788 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2789 0 : aPropSequence [1].Value = makeAny (aParameter);
2790 : }
2791 : {
2792 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
2793 0 : EnhancedCustomShapeParameter aParameter;
2794 0 : Any aAny ((sal_Int32) 0);
2795 0 : aParameter.Value = aAny;
2796 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
2797 0 : aPropSequence [2].Value = makeAny (aParameter);
2798 : }
2799 : {
2800 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
2801 0 : Any aAny ((sal_Int32) 0);
2802 0 : aPropSequence [3].Value = makeAny (aAny);
2803 : }
2804 0 : aPropSequenceSequence [0] = aPropSequence;
2805 : }
2806 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
2807 : }
2808 : {
2809 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
2810 : }
2811 : {
2812 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
2813 : }
2814 : {
2815 0 : Sequence< PropertyValue > aPropSequence (3);
2816 : {
2817 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
2818 : static const CustomShapeProvider::ParameterPairData aData[] = {
2819 : {
2820 : EnhancedCustomShapeParameterType::NORMAL,
2821 : EnhancedCustomShapeParameterType::EQUATION,
2822 : 0, 2
2823 : },
2824 : {
2825 : EnhancedCustomShapeParameterType::EQUATION,
2826 : EnhancedCustomShapeParameterType::EQUATION,
2827 : 2, 2
2828 : },
2829 : {
2830 : EnhancedCustomShapeParameterType::EQUATION,
2831 : EnhancedCustomShapeParameterType::EQUATION,
2832 : 12, 13
2833 : },
2834 : {
2835 : EnhancedCustomShapeParameterType::EQUATION,
2836 : EnhancedCustomShapeParameterType::NORMAL,
2837 : 3, 0
2838 : },
2839 : {
2840 : EnhancedCustomShapeParameterType::EQUATION,
2841 : EnhancedCustomShapeParameterType::EQUATION,
2842 : 2, 2
2843 : },
2844 : {
2845 : EnhancedCustomShapeParameterType::EQUATION,
2846 : EnhancedCustomShapeParameterType::EQUATION,
2847 : 14, 15
2848 : },
2849 : {
2850 : EnhancedCustomShapeParameterType::EQUATION,
2851 : EnhancedCustomShapeParameterType::EQUATION,
2852 : 11, 4
2853 : },
2854 : {
2855 : EnhancedCustomShapeParameterType::EQUATION,
2856 : EnhancedCustomShapeParameterType::EQUATION,
2857 : 2, 2
2858 : },
2859 : {
2860 : EnhancedCustomShapeParameterType::EQUATION,
2861 : EnhancedCustomShapeParameterType::EQUATION,
2862 : 16, 17
2863 : },
2864 : {
2865 : EnhancedCustomShapeParameterType::EQUATION,
2866 : EnhancedCustomShapeParameterType::EQUATION,
2867 : 2, 10
2868 : },
2869 : {
2870 : EnhancedCustomShapeParameterType::EQUATION,
2871 : EnhancedCustomShapeParameterType::EQUATION,
2872 : 2, 2
2873 : },
2874 : {
2875 : EnhancedCustomShapeParameterType::EQUATION,
2876 : EnhancedCustomShapeParameterType::EQUATION,
2877 : 18, 19
2878 : },
2879 : {
2880 : EnhancedCustomShapeParameterType::EQUATION,
2881 : EnhancedCustomShapeParameterType::EQUATION,
2882 : 2, 10
2883 : },
2884 : {
2885 : EnhancedCustomShapeParameterType::EQUATION,
2886 : EnhancedCustomShapeParameterType::EQUATION,
2887 : 2, 2
2888 : },
2889 : {
2890 : EnhancedCustomShapeParameterType::EQUATION,
2891 : EnhancedCustomShapeParameterType::EQUATION,
2892 : 20, 21
2893 : },
2894 : {
2895 : EnhancedCustomShapeParameterType::NORMAL,
2896 : EnhancedCustomShapeParameterType::EQUATION,
2897 : 0, 2
2898 : },
2899 : {
2900 : EnhancedCustomShapeParameterType::EQUATION,
2901 : EnhancedCustomShapeParameterType::EQUATION,
2902 : 2, 2
2903 : },
2904 : {
2905 : EnhancedCustomShapeParameterType::EQUATION,
2906 : EnhancedCustomShapeParameterType::EQUATION,
2907 : 22, 23
2908 : },
2909 : {
2910 : EnhancedCustomShapeParameterType::EQUATION,
2911 : EnhancedCustomShapeParameterType::NORMAL,
2912 : 3, 0
2913 : },
2914 : {
2915 : EnhancedCustomShapeParameterType::EQUATION,
2916 : EnhancedCustomShapeParameterType::EQUATION,
2917 : 2, 2
2918 : },
2919 : {
2920 : EnhancedCustomShapeParameterType::EQUATION,
2921 : EnhancedCustomShapeParameterType::EQUATION,
2922 : 24, 25
2923 : },
2924 : {
2925 : EnhancedCustomShapeParameterType::EQUATION,
2926 : EnhancedCustomShapeParameterType::EQUATION,
2927 : 11, 4
2928 : },
2929 : {
2930 : EnhancedCustomShapeParameterType::EQUATION,
2931 : EnhancedCustomShapeParameterType::EQUATION,
2932 : 2, 2
2933 : },
2934 : {
2935 : EnhancedCustomShapeParameterType::EQUATION,
2936 : EnhancedCustomShapeParameterType::EQUATION,
2937 : 26, 27
2938 : }
2939 : };
2940 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
2941 : }
2942 : {
2943 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
2944 : static const sal_uInt16 nValues[] = {
2945 : // Command, Count
2946 : 1,1,
2947 : 17,1,
2948 : 2,1,
2949 : 17,1,
2950 : 2,1,
2951 : 17,1,
2952 : 2,1,
2953 : 17,1,
2954 : 4,0,
2955 : 7,0,
2956 : 5,0,
2957 : 1,1,
2958 : 17,1,
2959 : 2,1,
2960 : 17,1,
2961 : 1,1,
2962 : 17,1,
2963 : 2,1,
2964 : 17,1,
2965 : 6,0,
2966 : 5,0
2967 : };
2968 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
2969 : }
2970 : {
2971 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
2972 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
2973 : {
2974 0 : EnhancedCustomShapeTextFrame aTextFrame;
2975 : {
2976 : static const CustomShapeProvider::ParameterPairData aData =
2977 : {
2978 : EnhancedCustomShapeParameterType::EQUATION,
2979 : EnhancedCustomShapeParameterType::EQUATION,
2980 : 5, 5
2981 : };
2982 0 : aTextFrame.TopLeft = createParameterPair(&aData);
2983 : }
2984 : {
2985 : static const CustomShapeProvider::ParameterPairData aData =
2986 : {
2987 : EnhancedCustomShapeParameterType::EQUATION,
2988 : EnhancedCustomShapeParameterType::EQUATION,
2989 : 6, 7
2990 : };
2991 0 : aTextFrame.BottomRight = createParameterPair(&aData);
2992 : }
2993 0 : aTextFrameSeq [0] = aTextFrame;
2994 : }
2995 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
2996 : }
2997 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
2998 : }
2999 : {
3000 0 : awt::Rectangle aRectangle;
3001 0 : aRectangle.X = 0;
3002 0 : aRectangle.Y = 0;
3003 0 : aRectangle.Width = 0;
3004 0 : aRectangle.Height = 0;
3005 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3006 : }
3007 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bracketPair");
3008 :
3009 0 : return aPropertyMap;
3010 : }
3011 : };
3012 3 : class ShapeCsmileyFace : public CustomShapeProvider
3013 : {
3014 0 : virtual PropertyMap getProperties()
3015 : {
3016 0 : PropertyMap aPropertyMap;
3017 :
3018 : {
3019 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
3020 : {
3021 0 : Any aAny ((sal_Int32) 4653);
3022 0 : aAdjSequence [0].Value = aAny;
3023 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
3024 : }
3025 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3026 : }
3027 : {
3028 : static const char *aStrings[] = {
3029 : "if(-4653-$0 ,-4653,if(4653-$0 ,$0 ,4653))",
3030 : "logwidth*4969/21699",
3031 : "logwidth*6215/21600",
3032 : "logwidth*13135/21600",
3033 : "logwidth*16640/21600",
3034 : "logheight*7570/21600",
3035 : "logheight*16515/21600",
3036 : "logheight*?0 /100000",
3037 : "?6 +0-?7 ",
3038 : "?6 +?7 -0",
3039 : "logheight*?0 /50000",
3040 : "?9 +?10 -0",
3041 : "logwidth/2",
3042 : "?12 *cos(pi*(2700000)/10800000)",
3043 : "logheight/2",
3044 : "?14 *sin(pi*(2700000)/10800000)",
3045 : "logwidth/2",
3046 : "?16 +0-?13 ",
3047 : "?16 +?13 -0",
3048 : "logheight/2",
3049 : "?19 +0-?15 ",
3050 : "?19 +?15 -0",
3051 : "logwidth*1125/21600",
3052 : "logheight*1125/21600",
3053 : "logheight",
3054 : "logwidth",
3055 : "(10800000)/60000.0",
3056 : "(21600000)/60000.0",
3057 : "(10800000)/60000.0",
3058 : "(21600000)/60000.0",
3059 : "(10800000)/60000.0",
3060 : "(21600000)/60000.0",
3061 : "(10800000)/60000.0",
3062 : "(21600000)/60000.0"
3063 : };
3064 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3065 : }
3066 : {
3067 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
3068 : {
3069 0 : Sequence< PropertyValue > aPropSequence (4);
3070 : {
3071 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3072 : static const CustomShapeProvider::ParameterPairData aData =
3073 : {
3074 : EnhancedCustomShapeParameterType::EQUATION,
3075 : EnhancedCustomShapeParameterType::EQUATION,
3076 : 16, 9
3077 : };
3078 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3079 : }
3080 : {
3081 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3082 0 : EnhancedCustomShapeParameter aParameter;
3083 0 : Any aAny ((sal_Int32) 4653);
3084 0 : aParameter.Value = aAny;
3085 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3086 0 : aPropSequence [1].Value = makeAny (aParameter);
3087 : }
3088 : {
3089 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3090 0 : EnhancedCustomShapeParameter aParameter;
3091 0 : Any aAny ((sal_Int32) -4653);
3092 0 : aParameter.Value = aAny;
3093 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3094 0 : aPropSequence [2].Value = makeAny (aParameter);
3095 : }
3096 : {
3097 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3098 0 : Any aAny ((sal_Int32) 0);
3099 0 : aPropSequence [3].Value = makeAny (aAny);
3100 : }
3101 0 : aPropSequenceSequence [0] = aPropSequence;
3102 : }
3103 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3104 : }
3105 : {
3106 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3107 : }
3108 : {
3109 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3110 : }
3111 : {
3112 0 : Sequence< PropertyValue > aPropSequence (3);
3113 : {
3114 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3115 : static const CustomShapeProvider::ParameterPairData aData[] = {
3116 : {
3117 : EnhancedCustomShapeParameterType::NORMAL,
3118 : EnhancedCustomShapeParameterType::EQUATION,
3119 : 0, 19
3120 : },
3121 : {
3122 : EnhancedCustomShapeParameterType::EQUATION,
3123 : EnhancedCustomShapeParameterType::EQUATION,
3124 : 12, 14
3125 : },
3126 : {
3127 : EnhancedCustomShapeParameterType::EQUATION,
3128 : EnhancedCustomShapeParameterType::EQUATION,
3129 : 26, 27
3130 : },
3131 : {
3132 : EnhancedCustomShapeParameterType::EQUATION,
3133 : EnhancedCustomShapeParameterType::EQUATION,
3134 : 2, 5
3135 : },
3136 : {
3137 : EnhancedCustomShapeParameterType::EQUATION,
3138 : EnhancedCustomShapeParameterType::EQUATION,
3139 : 22, 23
3140 : },
3141 : {
3142 : EnhancedCustomShapeParameterType::EQUATION,
3143 : EnhancedCustomShapeParameterType::EQUATION,
3144 : 28, 29
3145 : },
3146 : {
3147 : EnhancedCustomShapeParameterType::EQUATION,
3148 : EnhancedCustomShapeParameterType::EQUATION,
3149 : 3, 5
3150 : },
3151 : {
3152 : EnhancedCustomShapeParameterType::EQUATION,
3153 : EnhancedCustomShapeParameterType::EQUATION,
3154 : 22, 23
3155 : },
3156 : {
3157 : EnhancedCustomShapeParameterType::EQUATION,
3158 : EnhancedCustomShapeParameterType::EQUATION,
3159 : 30, 31
3160 : },
3161 : {
3162 : EnhancedCustomShapeParameterType::EQUATION,
3163 : EnhancedCustomShapeParameterType::EQUATION,
3164 : 1, 8
3165 : },
3166 : {
3167 : EnhancedCustomShapeParameterType::EQUATION,
3168 : EnhancedCustomShapeParameterType::EQUATION,
3169 : 16, 11
3170 : },
3171 : {
3172 : EnhancedCustomShapeParameterType::EQUATION,
3173 : EnhancedCustomShapeParameterType::EQUATION,
3174 : 4, 8
3175 : },
3176 : {
3177 : EnhancedCustomShapeParameterType::NORMAL,
3178 : EnhancedCustomShapeParameterType::EQUATION,
3179 : 0, 19
3180 : },
3181 : {
3182 : EnhancedCustomShapeParameterType::EQUATION,
3183 : EnhancedCustomShapeParameterType::EQUATION,
3184 : 12, 14
3185 : },
3186 : {
3187 : EnhancedCustomShapeParameterType::EQUATION,
3188 : EnhancedCustomShapeParameterType::EQUATION,
3189 : 32, 33
3190 : }
3191 : };
3192 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3193 : }
3194 : {
3195 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3196 : static const sal_uInt16 nValues[] = {
3197 : // Command, Count
3198 : 1,1,
3199 : 17,1,
3200 : 4,0,
3201 : 7,0,
3202 : 5,0,
3203 : 1,1,
3204 : 17,1,
3205 : 1,1,
3206 : 17,1,
3207 : 19,0,
3208 : 5,0,
3209 : 1,1,
3210 : 16,1,
3211 : 6,0,
3212 : 5,0,
3213 : 1,1,
3214 : 17,1,
3215 : 4,0,
3216 : 6,0,
3217 : 5,0
3218 : };
3219 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3220 : }
3221 : {
3222 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3223 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3224 : {
3225 0 : EnhancedCustomShapeTextFrame aTextFrame;
3226 : {
3227 : static const CustomShapeProvider::ParameterPairData aData =
3228 : {
3229 : EnhancedCustomShapeParameterType::EQUATION,
3230 : EnhancedCustomShapeParameterType::EQUATION,
3231 : 17, 20
3232 : };
3233 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3234 : }
3235 : {
3236 : static const CustomShapeProvider::ParameterPairData aData =
3237 : {
3238 : EnhancedCustomShapeParameterType::EQUATION,
3239 : EnhancedCustomShapeParameterType::EQUATION,
3240 : 18, 21
3241 : };
3242 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3243 : }
3244 0 : aTextFrameSeq [0] = aTextFrame;
3245 : }
3246 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3247 : }
3248 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3249 : }
3250 : {
3251 0 : awt::Rectangle aRectangle;
3252 0 : aRectangle.X = 0;
3253 0 : aRectangle.Y = 0;
3254 0 : aRectangle.Width = 0;
3255 0 : aRectangle.Height = 0;
3256 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3257 : }
3258 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-smileyFace");
3259 :
3260 0 : return aPropertyMap;
3261 : }
3262 : };
3263 3 : class ShapeCactionButtonBlank : public CustomShapeProvider
3264 : {
3265 0 : virtual PropertyMap getProperties()
3266 : {
3267 0 : PropertyMap aPropertyMap;
3268 :
3269 : {
3270 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
3271 : }
3272 : {
3273 : static const char *aStrings[] = {
3274 : "logwidth",
3275 : "logheight/2",
3276 : "logwidth/2",
3277 : "logheight"
3278 : };
3279 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3280 : }
3281 : {
3282 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
3283 : }
3284 : {
3285 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3286 : }
3287 : {
3288 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3289 : }
3290 : {
3291 0 : Sequence< PropertyValue > aPropSequence (3);
3292 : {
3293 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3294 : static const CustomShapeProvider::ParameterPairData aData[] = {
3295 : {
3296 : EnhancedCustomShapeParameterType::NORMAL,
3297 : EnhancedCustomShapeParameterType::NORMAL,
3298 : 0, 0
3299 : },
3300 : {
3301 : EnhancedCustomShapeParameterType::EQUATION,
3302 : EnhancedCustomShapeParameterType::NORMAL,
3303 : 0, 0
3304 : },
3305 : {
3306 : EnhancedCustomShapeParameterType::EQUATION,
3307 : EnhancedCustomShapeParameterType::EQUATION,
3308 : 0, 3
3309 : },
3310 : {
3311 : EnhancedCustomShapeParameterType::NORMAL,
3312 : EnhancedCustomShapeParameterType::EQUATION,
3313 : 0, 3
3314 : }
3315 : };
3316 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3317 : }
3318 : {
3319 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3320 : static const sal_uInt16 nValues[] = {
3321 : // Command, Count
3322 : 1,1,
3323 : 2,3,
3324 : 4,0,
3325 : 5,0
3326 : };
3327 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3328 : }
3329 : {
3330 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3331 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3332 : {
3333 0 : EnhancedCustomShapeTextFrame aTextFrame;
3334 : {
3335 : static const CustomShapeProvider::ParameterPairData aData =
3336 : {
3337 : EnhancedCustomShapeParameterType::NORMAL,
3338 : EnhancedCustomShapeParameterType::NORMAL,
3339 : 0, 0
3340 : };
3341 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3342 : }
3343 : {
3344 : static const CustomShapeProvider::ParameterPairData aData =
3345 : {
3346 : EnhancedCustomShapeParameterType::EQUATION,
3347 : EnhancedCustomShapeParameterType::EQUATION,
3348 : 0, 3
3349 : };
3350 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3351 : }
3352 0 : aTextFrameSeq [0] = aTextFrame;
3353 : }
3354 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3355 : }
3356 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3357 : }
3358 : {
3359 0 : awt::Rectangle aRectangle;
3360 0 : aRectangle.X = 0;
3361 0 : aRectangle.Y = 0;
3362 0 : aRectangle.Width = 0;
3363 0 : aRectangle.Height = 0;
3364 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3365 : }
3366 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonBlank");
3367 :
3368 0 : return aPropertyMap;
3369 : }
3370 : };
3371 3 : class ShapeCwave : public CustomShapeProvider
3372 : {
3373 0 : virtual PropertyMap getProperties()
3374 : {
3375 0 : PropertyMap aPropertyMap;
3376 :
3377 : {
3378 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
3379 : {
3380 0 : Any aAny ((sal_Int32) 12500);
3381 0 : aAdjSequence [0].Value = aAny;
3382 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
3383 : }
3384 : {
3385 0 : Any aAny ((sal_Int32) 0);
3386 0 : aAdjSequence [1].Value = aAny;
3387 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
3388 : }
3389 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3390 : }
3391 : {
3392 : static const char *aStrings[] = {
3393 : "if(0-$0 ,0,if(20000-$0 ,$0 ,20000))",
3394 : "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))",
3395 : "logheight*?0 /100000",
3396 : "?2 *10/3",
3397 : "?2 +0-?3 ",
3398 : "?2 +?3 -0",
3399 : "logheight+0-?2 ",
3400 : "?6 +0-?3 ",
3401 : "?6 +?3 -0",
3402 : "logwidth*?1 /100000",
3403 : "logwidth*?1 /50000",
3404 : "abs(?9 )",
3405 : "if(?10 ,0,?10 )",
3406 : "0+0-?12 ",
3407 : "if(?10 ,?10 ,0)",
3408 : "logwidth+0-?14 ",
3409 : "(?12 +?15 )/3",
3410 : "?13 +?16 -0",
3411 : "(?17 +?15 )/2",
3412 : "0+?14 -0",
3413 : "logwidth+?12 -0",
3414 : "?19 +?16 -0",
3415 : "(?21 +?20 )/2",
3416 : "logwidth+0-?11 ",
3417 : "logwidth/2",
3418 : "?24 +?9 -0",
3419 : "?24 +0-?9 ",
3420 : "max(?13 ,?19 )",
3421 : "min(?15 ,?20 )",
3422 : "logheight*?0 /50000",
3423 : "logheight+0-?29 ",
3424 : "logheight",
3425 : "logheight/2"
3426 : };
3427 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3428 : }
3429 : {
3430 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
3431 : {
3432 0 : Sequence< PropertyValue > aPropSequence (4);
3433 : {
3434 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3435 : static const CustomShapeProvider::ParameterPairData aData =
3436 : {
3437 : EnhancedCustomShapeParameterType::NORMAL,
3438 : EnhancedCustomShapeParameterType::EQUATION,
3439 : 0, 2
3440 : };
3441 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3442 : }
3443 : {
3444 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3445 0 : EnhancedCustomShapeParameter aParameter;
3446 0 : Any aAny ((sal_Int32) 20000);
3447 0 : aParameter.Value = aAny;
3448 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3449 0 : aPropSequence [1].Value = makeAny (aParameter);
3450 : }
3451 : {
3452 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3453 0 : EnhancedCustomShapeParameter aParameter;
3454 0 : Any aAny ((sal_Int32) 0);
3455 0 : aParameter.Value = aAny;
3456 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3457 0 : aPropSequence [2].Value = makeAny (aParameter);
3458 : }
3459 : {
3460 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3461 0 : Any aAny ((sal_Int32) 0);
3462 0 : aPropSequence [3].Value = makeAny (aAny);
3463 : }
3464 0 : aPropSequenceSequence [0] = aPropSequence;
3465 : }
3466 : {
3467 0 : Sequence< PropertyValue > aPropSequence (4);
3468 : {
3469 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3470 : static const CustomShapeProvider::ParameterPairData aData =
3471 : {
3472 : EnhancedCustomShapeParameterType::EQUATION,
3473 : EnhancedCustomShapeParameterType::EQUATION,
3474 : 25, 31
3475 : };
3476 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3477 : }
3478 : {
3479 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
3480 0 : EnhancedCustomShapeParameter aParameter;
3481 0 : Any aAny ((sal_Int32) 10000);
3482 0 : aParameter.Value = aAny;
3483 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3484 0 : aPropSequence [1].Value = makeAny (aParameter);
3485 : }
3486 : {
3487 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
3488 0 : EnhancedCustomShapeParameter aParameter;
3489 0 : Any aAny ((sal_Int32) -10000);
3490 0 : aParameter.Value = aAny;
3491 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3492 0 : aPropSequence [2].Value = makeAny (aParameter);
3493 : }
3494 : {
3495 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
3496 0 : Any aAny ((sal_Int32) 1);
3497 0 : aPropSequence [3].Value = makeAny (aAny);
3498 : }
3499 0 : aPropSequenceSequence [1] = aPropSequence;
3500 : }
3501 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3502 : }
3503 : {
3504 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3505 : }
3506 : {
3507 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3508 : }
3509 : {
3510 0 : Sequence< PropertyValue > aPropSequence (3);
3511 : {
3512 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3513 : static const CustomShapeProvider::ParameterPairData aData[] = {
3514 : {
3515 : EnhancedCustomShapeParameterType::EQUATION,
3516 : EnhancedCustomShapeParameterType::EQUATION,
3517 : 13, 2
3518 : },
3519 : {
3520 : EnhancedCustomShapeParameterType::EQUATION,
3521 : EnhancedCustomShapeParameterType::EQUATION,
3522 : 17, 4
3523 : },
3524 : {
3525 : EnhancedCustomShapeParameterType::EQUATION,
3526 : EnhancedCustomShapeParameterType::EQUATION,
3527 : 18, 5
3528 : },
3529 : {
3530 : EnhancedCustomShapeParameterType::EQUATION,
3531 : EnhancedCustomShapeParameterType::EQUATION,
3532 : 15, 2
3533 : },
3534 : {
3535 : EnhancedCustomShapeParameterType::EQUATION,
3536 : EnhancedCustomShapeParameterType::EQUATION,
3537 : 20, 6
3538 : },
3539 : {
3540 : EnhancedCustomShapeParameterType::EQUATION,
3541 : EnhancedCustomShapeParameterType::EQUATION,
3542 : 22, 8
3543 : },
3544 : {
3545 : EnhancedCustomShapeParameterType::EQUATION,
3546 : EnhancedCustomShapeParameterType::EQUATION,
3547 : 21, 7
3548 : },
3549 : {
3550 : EnhancedCustomShapeParameterType::EQUATION,
3551 : EnhancedCustomShapeParameterType::EQUATION,
3552 : 19, 6
3553 : }
3554 : };
3555 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3556 : }
3557 : {
3558 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3559 : static const sal_uInt16 nValues[] = {
3560 : // Command, Count
3561 : 1,1,
3562 : 3,1,
3563 : 2,1,
3564 : 3,1,
3565 : 4,0,
3566 : 5,0
3567 : };
3568 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3569 : }
3570 : {
3571 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3572 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3573 : {
3574 0 : EnhancedCustomShapeTextFrame aTextFrame;
3575 : {
3576 : static const CustomShapeProvider::ParameterPairData aData =
3577 : {
3578 : EnhancedCustomShapeParameterType::EQUATION,
3579 : EnhancedCustomShapeParameterType::EQUATION,
3580 : 27, 29
3581 : };
3582 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3583 : }
3584 : {
3585 : static const CustomShapeProvider::ParameterPairData aData =
3586 : {
3587 : EnhancedCustomShapeParameterType::EQUATION,
3588 : EnhancedCustomShapeParameterType::EQUATION,
3589 : 28, 30
3590 : };
3591 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3592 : }
3593 0 : aTextFrameSeq [0] = aTextFrame;
3594 : }
3595 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3596 : }
3597 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3598 : }
3599 : {
3600 0 : awt::Rectangle aRectangle;
3601 0 : aRectangle.X = 0;
3602 0 : aRectangle.Y = 0;
3603 0 : aRectangle.Width = 0;
3604 0 : aRectangle.Height = 0;
3605 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3606 : }
3607 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wave");
3608 :
3609 0 : return aPropertyMap;
3610 : }
3611 : };
3612 3 : class ShapeCswooshArrow : public CustomShapeProvider
3613 : {
3614 0 : virtual PropertyMap getProperties()
3615 : {
3616 0 : PropertyMap aPropertyMap;
3617 :
3618 : {
3619 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
3620 : {
3621 0 : Any aAny ((sal_Int32) 25000);
3622 0 : aAdjSequence [0].Value = aAny;
3623 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
3624 : }
3625 : {
3626 0 : Any aAny ((sal_Int32) 16667);
3627 0 : aAdjSequence [1].Value = aAny;
3628 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
3629 : }
3630 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
3631 : }
3632 : {
3633 : static const char *aStrings[] = {
3634 : "if(1-$0 ,1,if(75000-$0 ,$0 ,75000))",
3635 : "min(logwidth,logheight)",
3636 : "70000*logwidth/?1 ",
3637 : "if(0-$1 ,0,if(?2 -$1 ,$1 ,?2 ))",
3638 : "logheight*?0 /100000",
3639 : "?1 *?3 /100000",
3640 : "logwidth+0-?5 ",
3641 : "min(logwidth,logheight)/8",
3642 : "0+?7 -0",
3643 : "5400000*1/14",
3644 : "?7 *tan(pi*(?9 )/10800000)",
3645 : "?6 +0-?10 ",
3646 : "?4 *tan(pi*(?9 )/10800000)",
3647 : "?8 +?4 -0",
3648 : "?6 +?12 -0",
3649 : "?14 +?10 -0",
3650 : "?13 +?7 -0",
3651 : "?16 +0-0",
3652 : "?17 *1/2",
3653 : "logheight*1/20",
3654 : "0+?18 -?19 ",
3655 : "logheight/6",
3656 : "?21 *1/1",
3657 : "?21 +?22 -0",
3658 : "logwidth/6",
3659 : "?24 ",
3660 : "?21 *1/2",
3661 : "?13 +?26 -0",
3662 : "logwidth/4",
3663 : "?28 ",
3664 : "logheight",
3665 : "logwidth"
3666 : };
3667 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3668 : }
3669 : {
3670 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
3671 : {
3672 0 : Sequence< PropertyValue > aPropSequence (4);
3673 : {
3674 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3675 : static const CustomShapeProvider::ParameterPairData aData =
3676 : {
3677 : EnhancedCustomShapeParameterType::EQUATION,
3678 : EnhancedCustomShapeParameterType::EQUATION,
3679 : 14, 13
3680 : };
3681 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3682 : }
3683 : {
3684 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
3685 0 : EnhancedCustomShapeParameter aParameter;
3686 0 : Any aAny ((sal_Int32) 75000);
3687 0 : aParameter.Value = aAny;
3688 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3689 0 : aPropSequence [1].Value = makeAny (aParameter);
3690 : }
3691 : {
3692 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
3693 0 : EnhancedCustomShapeParameter aParameter;
3694 0 : Any aAny ((sal_Int32) 1);
3695 0 : aParameter.Value = aAny;
3696 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3697 0 : aPropSequence [2].Value = makeAny (aParameter);
3698 : }
3699 : {
3700 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
3701 0 : Any aAny ((sal_Int32) 0);
3702 0 : aPropSequence [3].Value = makeAny (aAny);
3703 : }
3704 0 : aPropSequenceSequence [0] = aPropSequence;
3705 : }
3706 : {
3707 0 : Sequence< PropertyValue > aPropSequence (4);
3708 : {
3709 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
3710 : static const CustomShapeProvider::ParameterPairData aData =
3711 : {
3712 : EnhancedCustomShapeParameterType::EQUATION,
3713 : EnhancedCustomShapeParameterType::EQUATION,
3714 : 6, 8
3715 : };
3716 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
3717 : }
3718 : {
3719 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
3720 0 : EnhancedCustomShapeParameter aParameter;
3721 0 : Any aAny ((sal_Int32) 2);
3722 0 : aParameter.Value = aAny;
3723 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
3724 0 : aPropSequence [1].Value = makeAny (aParameter);
3725 : }
3726 : {
3727 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
3728 0 : EnhancedCustomShapeParameter aParameter;
3729 0 : Any aAny ((sal_Int32) 0);
3730 0 : aParameter.Value = aAny;
3731 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
3732 0 : aPropSequence [2].Value = makeAny (aParameter);
3733 : }
3734 : {
3735 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
3736 0 : Any aAny ((sal_Int32) 1);
3737 0 : aPropSequence [3].Value = makeAny (aAny);
3738 : }
3739 0 : aPropSequenceSequence [1] = aPropSequence;
3740 : }
3741 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
3742 : }
3743 : {
3744 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3745 : }
3746 : {
3747 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3748 : }
3749 : {
3750 0 : Sequence< PropertyValue > aPropSequence (3);
3751 : {
3752 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3753 : static const CustomShapeProvider::ParameterPairData aData[] = {
3754 : {
3755 : EnhancedCustomShapeParameterType::NORMAL,
3756 : EnhancedCustomShapeParameterType::EQUATION,
3757 : 0, 30
3758 : },
3759 : {
3760 : EnhancedCustomShapeParameterType::EQUATION,
3761 : EnhancedCustomShapeParameterType::EQUATION,
3762 : 25, 23
3763 : },
3764 : {
3765 : EnhancedCustomShapeParameterType::EQUATION,
3766 : EnhancedCustomShapeParameterType::EQUATION,
3767 : 6, 8
3768 : },
3769 : {
3770 : EnhancedCustomShapeParameterType::EQUATION,
3771 : EnhancedCustomShapeParameterType::NORMAL,
3772 : 11, 0
3773 : },
3774 : {
3775 : EnhancedCustomShapeParameterType::EQUATION,
3776 : EnhancedCustomShapeParameterType::EQUATION,
3777 : 31, 20
3778 : },
3779 : {
3780 : EnhancedCustomShapeParameterType::EQUATION,
3781 : EnhancedCustomShapeParameterType::EQUATION,
3782 : 15, 16
3783 : },
3784 : {
3785 : EnhancedCustomShapeParameterType::EQUATION,
3786 : EnhancedCustomShapeParameterType::EQUATION,
3787 : 14, 13
3788 : },
3789 : {
3790 : EnhancedCustomShapeParameterType::EQUATION,
3791 : EnhancedCustomShapeParameterType::EQUATION,
3792 : 29, 27
3793 : },
3794 : {
3795 : EnhancedCustomShapeParameterType::NORMAL,
3796 : EnhancedCustomShapeParameterType::EQUATION,
3797 : 0, 30
3798 : }
3799 : };
3800 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
3801 : }
3802 : {
3803 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
3804 : static const sal_uInt16 nValues[] = {
3805 : // Command, Count
3806 : 1,1,
3807 : 16,1,
3808 : 2,4,
3809 : 16,1,
3810 : 4,0,
3811 : 5,0
3812 : };
3813 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
3814 : }
3815 : {
3816 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
3817 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
3818 : {
3819 0 : EnhancedCustomShapeTextFrame aTextFrame;
3820 : {
3821 : static const CustomShapeProvider::ParameterPairData aData =
3822 : {
3823 : EnhancedCustomShapeParameterType::NORMAL,
3824 : EnhancedCustomShapeParameterType::NORMAL,
3825 : 0, 0
3826 : };
3827 0 : aTextFrame.TopLeft = createParameterPair(&aData);
3828 : }
3829 : {
3830 : static const CustomShapeProvider::ParameterPairData aData =
3831 : {
3832 : EnhancedCustomShapeParameterType::EQUATION,
3833 : EnhancedCustomShapeParameterType::EQUATION,
3834 : 31, 30
3835 : };
3836 0 : aTextFrame.BottomRight = createParameterPair(&aData);
3837 : }
3838 0 : aTextFrameSeq [0] = aTextFrame;
3839 : }
3840 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
3841 : }
3842 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
3843 : }
3844 : {
3845 0 : awt::Rectangle aRectangle;
3846 0 : aRectangle.X = 0;
3847 0 : aRectangle.Y = 0;
3848 0 : aRectangle.Width = 0;
3849 0 : aRectangle.Height = 0;
3850 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
3851 : }
3852 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-swooshArrow");
3853 :
3854 0 : return aPropertyMap;
3855 : }
3856 : };
3857 3 : class ShapeCflowChartSummingJunction : public CustomShapeProvider
3858 : {
3859 0 : virtual PropertyMap getProperties()
3860 : {
3861 0 : PropertyMap aPropertyMap;
3862 :
3863 : {
3864 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
3865 : }
3866 : {
3867 : static const char *aStrings[] = {
3868 : "logwidth/2",
3869 : "?0 *cos(pi*(2700000)/10800000)",
3870 : "logheight/2",
3871 : "?2 *sin(pi*(2700000)/10800000)",
3872 : "logwidth/2",
3873 : "?4 +0-?1 ",
3874 : "?4 +?1 -0",
3875 : "logheight/2",
3876 : "?7 +0-?3 ",
3877 : "?7 +?3 -0",
3878 : "logheight",
3879 : "logwidth",
3880 : "(10800000)/60000.0",
3881 : "(5400000)/60000.0",
3882 : "(16200000)/60000.0",
3883 : "(5400000)/60000.0",
3884 : "(0)/60000.0",
3885 : "(5400000)/60000.0",
3886 : "(5400000)/60000.0",
3887 : "(5400000)/60000.0",
3888 : "(10800000)/60000.0",
3889 : "(5400000)/60000.0",
3890 : "(16200000)/60000.0",
3891 : "(5400000)/60000.0",
3892 : "(0)/60000.0",
3893 : "(5400000)/60000.0",
3894 : "(5400000)/60000.0",
3895 : "(5400000)/60000.0"
3896 : };
3897 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
3898 : }
3899 : {
3900 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
3901 : }
3902 : {
3903 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
3904 : }
3905 : {
3906 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
3907 : }
3908 : {
3909 0 : Sequence< PropertyValue > aPropSequence (3);
3910 : {
3911 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
3912 : static const CustomShapeProvider::ParameterPairData aData[] = {
3913 : {
3914 : EnhancedCustomShapeParameterType::NORMAL,
3915 : EnhancedCustomShapeParameterType::EQUATION,
3916 : 0, 7
3917 : },
3918 : {
3919 : EnhancedCustomShapeParameterType::EQUATION,
3920 : EnhancedCustomShapeParameterType::EQUATION,
3921 : 0, 2
3922 : },
3923 : {
3924 : EnhancedCustomShapeParameterType::EQUATION,
3925 : EnhancedCustomShapeParameterType::EQUATION,
3926 : 12, 13
3927 : },
3928 : {
3929 : EnhancedCustomShapeParameterType::EQUATION,
3930 : EnhancedCustomShapeParameterType::EQUATION,
3931 : 0, 2
3932 : },
3933 : {
3934 : EnhancedCustomShapeParameterType::EQUATION,
3935 : EnhancedCustomShapeParameterType::EQUATION,
3936 : 14, 15
3937 : },
3938 : {
3939 : EnhancedCustomShapeParameterType::EQUATION,
3940 : EnhancedCustomShapeParameterType::EQUATION,
3941 : 0, 2
3942 : },
3943 : {
3944 : EnhancedCustomShapeParameterType::EQUATION,
3945 : EnhancedCustomShapeParameterType::EQUATION,
3946 : 16, 17
3947 : },
3948 : {
3949 : EnhancedCustomShapeParameterType::EQUATION,
3950 : EnhancedCustomShapeParameterType::EQUATION,
3951 : 0, 2
3952 : },
3953 : {
3954 : EnhancedCustomShapeParameterType::EQUATION,
3955 : EnhancedCustomShapeParameterType::EQUATION,
3956 : 18, 19
3957 : },
3958 : {
3959 : EnhancedCustomShapeParameterType::EQUATION,
3960 : EnhancedCustomShapeParameterType::EQUATION,
3961 : 5, 8
3962 : },
3963 : {
3964 : EnhancedCustomShapeParameterType::EQUATION,
3965 : EnhancedCustomShapeParameterType::EQUATION,
3966 : 6, 9
3967 : },
3968 : {
3969 : EnhancedCustomShapeParameterType::EQUATION,
3970 : EnhancedCustomShapeParameterType::EQUATION,
3971 : 6, 8
3972 : },
3973 : {
3974 : EnhancedCustomShapeParameterType::EQUATION,
3975 : EnhancedCustomShapeParameterType::EQUATION,
3976 : 5, 9
3977 : },
3978 : {
3979 : EnhancedCustomShapeParameterType::NORMAL,
3980 : EnhancedCustomShapeParameterType::EQUATION,
3981 : 0, 7
3982 : },
3983 : {
3984 : EnhancedCustomShapeParameterType::EQUATION,
3985 : EnhancedCustomShapeParameterType::EQUATION,
3986 : 0, 2
3987 : },
3988 : {
3989 : EnhancedCustomShapeParameterType::EQUATION,
3990 : EnhancedCustomShapeParameterType::EQUATION,
3991 : 20, 21
3992 : },
3993 : {
3994 : EnhancedCustomShapeParameterType::EQUATION,
3995 : EnhancedCustomShapeParameterType::EQUATION,
3996 : 0, 2
3997 : },
3998 : {
3999 : EnhancedCustomShapeParameterType::EQUATION,
4000 : EnhancedCustomShapeParameterType::EQUATION,
4001 : 22, 23
4002 : },
4003 : {
4004 : EnhancedCustomShapeParameterType::EQUATION,
4005 : EnhancedCustomShapeParameterType::EQUATION,
4006 : 0, 2
4007 : },
4008 : {
4009 : EnhancedCustomShapeParameterType::EQUATION,
4010 : EnhancedCustomShapeParameterType::EQUATION,
4011 : 24, 25
4012 : },
4013 : {
4014 : EnhancedCustomShapeParameterType::EQUATION,
4015 : EnhancedCustomShapeParameterType::EQUATION,
4016 : 0, 2
4017 : },
4018 : {
4019 : EnhancedCustomShapeParameterType::EQUATION,
4020 : EnhancedCustomShapeParameterType::EQUATION,
4021 : 26, 27
4022 : }
4023 : };
4024 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4025 : }
4026 : {
4027 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4028 : static const sal_uInt16 nValues[] = {
4029 : // Command, Count
4030 : 1,1,
4031 : 17,4,
4032 : 4,0,
4033 : 7,0,
4034 : 5,0,
4035 : 1,1,
4036 : 2,1,
4037 : 1,1,
4038 : 2,1,
4039 : 6,0,
4040 : 5,0,
4041 : 1,1,
4042 : 17,4,
4043 : 4,0,
4044 : 6,0,
4045 : 5,0
4046 : };
4047 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4048 : }
4049 : {
4050 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4051 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4052 : {
4053 0 : EnhancedCustomShapeTextFrame aTextFrame;
4054 : {
4055 : static const CustomShapeProvider::ParameterPairData aData =
4056 : {
4057 : EnhancedCustomShapeParameterType::EQUATION,
4058 : EnhancedCustomShapeParameterType::EQUATION,
4059 : 5, 8
4060 : };
4061 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4062 : }
4063 : {
4064 : static const CustomShapeProvider::ParameterPairData aData =
4065 : {
4066 : EnhancedCustomShapeParameterType::EQUATION,
4067 : EnhancedCustomShapeParameterType::EQUATION,
4068 : 6, 9
4069 : };
4070 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4071 : }
4072 0 : aTextFrameSeq [0] = aTextFrame;
4073 : }
4074 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4075 : }
4076 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4077 : }
4078 : {
4079 0 : awt::Rectangle aRectangle;
4080 0 : aRectangle.X = 0;
4081 0 : aRectangle.Y = 0;
4082 0 : aRectangle.Width = 0;
4083 0 : aRectangle.Height = 0;
4084 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4085 : }
4086 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartSummingJunction");
4087 :
4088 0 : return aPropertyMap;
4089 : }
4090 : };
4091 3 : class ShapeClightningBolt : public CustomShapeProvider
4092 : {
4093 0 : virtual PropertyMap getProperties()
4094 : {
4095 0 : PropertyMap aPropertyMap;
4096 :
4097 : {
4098 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4099 : }
4100 : {
4101 : static const char *aStrings[] = {
4102 : "logwidth*5022/21600",
4103 : "logwidth*8472/21600",
4104 : "logwidth*8757/21600",
4105 : "logwidth*10012/21600",
4106 : "logwidth*12860/21600",
4107 : "logwidth*13917/21600",
4108 : "logwidth*16577/21600",
4109 : "logheight*3890/21600",
4110 : "logheight*6080/21600",
4111 : "logheight*7437/21600",
4112 : "logheight*9705/21600",
4113 : "logheight*12007/21600",
4114 : "logheight*14277/21600",
4115 : "logheight*14915/21600",
4116 : "logwidth",
4117 : "logheight"
4118 : };
4119 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4120 : }
4121 : {
4122 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4123 : }
4124 : {
4125 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4126 : }
4127 : {
4128 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4129 : }
4130 : {
4131 0 : Sequence< PropertyValue > aPropSequence (4);
4132 : {
4133 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4134 : static const CustomShapeProvider::ParameterPairData aData[] = {
4135 : {
4136 : EnhancedCustomShapeParameterType::NORMAL,
4137 : EnhancedCustomShapeParameterType::NORMAL,
4138 : 8472, 0
4139 : },
4140 : {
4141 : EnhancedCustomShapeParameterType::NORMAL,
4142 : EnhancedCustomShapeParameterType::NORMAL,
4143 : 12860, 6080
4144 : },
4145 : {
4146 : EnhancedCustomShapeParameterType::NORMAL,
4147 : EnhancedCustomShapeParameterType::NORMAL,
4148 : 11050, 6797
4149 : },
4150 : {
4151 : EnhancedCustomShapeParameterType::NORMAL,
4152 : EnhancedCustomShapeParameterType::NORMAL,
4153 : 16577, 12007
4154 : },
4155 : {
4156 : EnhancedCustomShapeParameterType::NORMAL,
4157 : EnhancedCustomShapeParameterType::NORMAL,
4158 : 14767, 12877
4159 : },
4160 : {
4161 : EnhancedCustomShapeParameterType::NORMAL,
4162 : EnhancedCustomShapeParameterType::NORMAL,
4163 : 21600, 21600
4164 : },
4165 : {
4166 : EnhancedCustomShapeParameterType::NORMAL,
4167 : EnhancedCustomShapeParameterType::NORMAL,
4168 : 10012, 14915
4169 : },
4170 : {
4171 : EnhancedCustomShapeParameterType::NORMAL,
4172 : EnhancedCustomShapeParameterType::NORMAL,
4173 : 12222, 13987
4174 : },
4175 : {
4176 : EnhancedCustomShapeParameterType::NORMAL,
4177 : EnhancedCustomShapeParameterType::NORMAL,
4178 : 5022, 9705
4179 : },
4180 : {
4181 : EnhancedCustomShapeParameterType::NORMAL,
4182 : EnhancedCustomShapeParameterType::NORMAL,
4183 : 7602, 8382
4184 : },
4185 : {
4186 : EnhancedCustomShapeParameterType::NORMAL,
4187 : EnhancedCustomShapeParameterType::NORMAL,
4188 : 0, 3890
4189 : }
4190 : };
4191 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4192 : }
4193 : {
4194 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4195 : static const sal_uInt16 nValues[] = {
4196 : // Command, Count
4197 : 1,1,
4198 : 2,10,
4199 : 4,0,
4200 : 5,0
4201 : };
4202 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4203 : }
4204 : {
4205 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
4206 0 : Sequence< awt::Size > aSizeSequence (1);
4207 : {
4208 0 : awt::Size aSize;
4209 0 : aSize.Width = 21600;
4210 0 : aSize.Height = 21600;
4211 0 : aSizeSequence [0] = aSize;
4212 : }
4213 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
4214 : }
4215 : {
4216 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
4217 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4218 : {
4219 0 : EnhancedCustomShapeTextFrame aTextFrame;
4220 : {
4221 : static const CustomShapeProvider::ParameterPairData aData =
4222 : {
4223 : EnhancedCustomShapeParameterType::EQUATION,
4224 : EnhancedCustomShapeParameterType::EQUATION,
4225 : 2, 9
4226 : };
4227 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4228 : }
4229 : {
4230 : static const CustomShapeProvider::ParameterPairData aData =
4231 : {
4232 : EnhancedCustomShapeParameterType::EQUATION,
4233 : EnhancedCustomShapeParameterType::EQUATION,
4234 : 5, 12
4235 : };
4236 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4237 : }
4238 0 : aTextFrameSeq [0] = aTextFrame;
4239 : }
4240 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
4241 : }
4242 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4243 : }
4244 : {
4245 0 : awt::Rectangle aRectangle;
4246 0 : aRectangle.X = 0;
4247 0 : aRectangle.Y = 0;
4248 0 : aRectangle.Width = 0;
4249 0 : aRectangle.Height = 0;
4250 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4251 : }
4252 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-lightningBolt");
4253 :
4254 0 : return aPropertyMap;
4255 : }
4256 : };
4257 3 : class ShapeCflowChartDisplay : public CustomShapeProvider
4258 : {
4259 0 : virtual PropertyMap getProperties()
4260 : {
4261 0 : PropertyMap aPropertyMap;
4262 :
4263 : {
4264 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4265 : }
4266 : {
4267 : static const char *aStrings[] = {
4268 : "logwidth*5/6",
4269 : "logwidth/2",
4270 : "logheight/2",
4271 : "logheight",
4272 : "logwidth",
4273 : "logwidth/6",
4274 : "(16200000)/60000.0",
4275 : "(10800000)/60000.0"
4276 : };
4277 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4278 : }
4279 : {
4280 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4281 : }
4282 : {
4283 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4284 : }
4285 : {
4286 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4287 : }
4288 : {
4289 0 : Sequence< PropertyValue > aPropSequence (4);
4290 : {
4291 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4292 : static const CustomShapeProvider::ParameterPairData aData[] = {
4293 : {
4294 : EnhancedCustomShapeParameterType::NORMAL,
4295 : EnhancedCustomShapeParameterType::NORMAL,
4296 : 0, 3
4297 : },
4298 : {
4299 : EnhancedCustomShapeParameterType::NORMAL,
4300 : EnhancedCustomShapeParameterType::NORMAL,
4301 : 1, 0
4302 : },
4303 : {
4304 : EnhancedCustomShapeParameterType::NORMAL,
4305 : EnhancedCustomShapeParameterType::NORMAL,
4306 : 5, 0
4307 : },
4308 : {
4309 : EnhancedCustomShapeParameterType::NORMAL,
4310 : EnhancedCustomShapeParameterType::NORMAL,
4311 : 1, 3
4312 : },
4313 : {
4314 : EnhancedCustomShapeParameterType::EQUATION,
4315 : EnhancedCustomShapeParameterType::EQUATION,
4316 : 6, 7
4317 : },
4318 : {
4319 : EnhancedCustomShapeParameterType::NORMAL,
4320 : EnhancedCustomShapeParameterType::NORMAL,
4321 : 1, 6
4322 : }
4323 : };
4324 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4325 : }
4326 : {
4327 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4328 : static const sal_uInt16 nValues[] = {
4329 : // Command, Count
4330 : 1,1,
4331 : 2,2,
4332 : 17,1,
4333 : 2,1,
4334 : 4,0,
4335 : 5,0
4336 : };
4337 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4338 : }
4339 : {
4340 0 : aPropSequence [2].Name = CREATE_OUSTRING ("SubViewSize");
4341 0 : Sequence< awt::Size > aSizeSequence (1);
4342 : {
4343 0 : awt::Size aSize;
4344 0 : aSize.Width = 6;
4345 0 : aSize.Height = 6;
4346 0 : aSizeSequence [0] = aSize;
4347 : }
4348 0 : aPropSequence [2].Value = makeAny (aSizeSequence);
4349 : }
4350 : {
4351 0 : aPropSequence [3].Name = CREATE_OUSTRING ("TextFrames");
4352 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4353 : {
4354 0 : EnhancedCustomShapeTextFrame aTextFrame;
4355 : {
4356 : static const CustomShapeProvider::ParameterPairData aData =
4357 : {
4358 : EnhancedCustomShapeParameterType::EQUATION,
4359 : EnhancedCustomShapeParameterType::NORMAL,
4360 : 5, 0
4361 : };
4362 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4363 : }
4364 : {
4365 : static const CustomShapeProvider::ParameterPairData aData =
4366 : {
4367 : EnhancedCustomShapeParameterType::EQUATION,
4368 : EnhancedCustomShapeParameterType::EQUATION,
4369 : 0, 3
4370 : };
4371 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4372 : }
4373 0 : aTextFrameSeq [0] = aTextFrame;
4374 : }
4375 0 : aPropSequence [3].Value = makeAny (aTextFrameSeq);
4376 : }
4377 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4378 : }
4379 : {
4380 0 : awt::Rectangle aRectangle;
4381 0 : aRectangle.X = 0;
4382 0 : aRectangle.Y = 0;
4383 0 : aRectangle.Width = 0;
4384 0 : aRectangle.Height = 0;
4385 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4386 : }
4387 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDisplay");
4388 :
4389 0 : return aPropertyMap;
4390 : }
4391 : };
4392 3 : class ShapeCactionButtonBackPrevious : public CustomShapeProvider
4393 : {
4394 0 : virtual PropertyMap getProperties()
4395 : {
4396 0 : PropertyMap aPropertyMap;
4397 :
4398 : {
4399 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4400 : }
4401 : {
4402 : static const char *aStrings[] = {
4403 : "min(logwidth,logheight)",
4404 : "?0 *3/8",
4405 : "logheight/2",
4406 : "?2 +0-?1 ",
4407 : "?2 +?1 -0",
4408 : "logwidth/2",
4409 : "?5 +0-?1 ",
4410 : "?5 +?1 -0",
4411 : "logwidth",
4412 : "logheight"
4413 : };
4414 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4415 : }
4416 : {
4417 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4418 : }
4419 : {
4420 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4421 : }
4422 : {
4423 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4424 : }
4425 : {
4426 0 : Sequence< PropertyValue > aPropSequence (3);
4427 : {
4428 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4429 : static const CustomShapeProvider::ParameterPairData aData[] = {
4430 : {
4431 : EnhancedCustomShapeParameterType::NORMAL,
4432 : EnhancedCustomShapeParameterType::NORMAL,
4433 : 0, 0
4434 : },
4435 : {
4436 : EnhancedCustomShapeParameterType::EQUATION,
4437 : EnhancedCustomShapeParameterType::NORMAL,
4438 : 8, 0
4439 : },
4440 : {
4441 : EnhancedCustomShapeParameterType::EQUATION,
4442 : EnhancedCustomShapeParameterType::EQUATION,
4443 : 8, 9
4444 : },
4445 : {
4446 : EnhancedCustomShapeParameterType::NORMAL,
4447 : EnhancedCustomShapeParameterType::EQUATION,
4448 : 0, 9
4449 : },
4450 : {
4451 : EnhancedCustomShapeParameterType::EQUATION,
4452 : EnhancedCustomShapeParameterType::EQUATION,
4453 : 6, 2
4454 : },
4455 : {
4456 : EnhancedCustomShapeParameterType::EQUATION,
4457 : EnhancedCustomShapeParameterType::EQUATION,
4458 : 7, 3
4459 : },
4460 : {
4461 : EnhancedCustomShapeParameterType::EQUATION,
4462 : EnhancedCustomShapeParameterType::EQUATION,
4463 : 7, 4
4464 : },
4465 : {
4466 : EnhancedCustomShapeParameterType::EQUATION,
4467 : EnhancedCustomShapeParameterType::EQUATION,
4468 : 6, 2
4469 : },
4470 : {
4471 : EnhancedCustomShapeParameterType::EQUATION,
4472 : EnhancedCustomShapeParameterType::EQUATION,
4473 : 7, 3
4474 : },
4475 : {
4476 : EnhancedCustomShapeParameterType::EQUATION,
4477 : EnhancedCustomShapeParameterType::EQUATION,
4478 : 7, 4
4479 : },
4480 : {
4481 : EnhancedCustomShapeParameterType::EQUATION,
4482 : EnhancedCustomShapeParameterType::EQUATION,
4483 : 6, 2
4484 : },
4485 : {
4486 : EnhancedCustomShapeParameterType::EQUATION,
4487 : EnhancedCustomShapeParameterType::EQUATION,
4488 : 7, 3
4489 : },
4490 : {
4491 : EnhancedCustomShapeParameterType::EQUATION,
4492 : EnhancedCustomShapeParameterType::EQUATION,
4493 : 7, 4
4494 : },
4495 : {
4496 : EnhancedCustomShapeParameterType::NORMAL,
4497 : EnhancedCustomShapeParameterType::NORMAL,
4498 : 0, 0
4499 : },
4500 : {
4501 : EnhancedCustomShapeParameterType::EQUATION,
4502 : EnhancedCustomShapeParameterType::NORMAL,
4503 : 8, 0
4504 : },
4505 : {
4506 : EnhancedCustomShapeParameterType::EQUATION,
4507 : EnhancedCustomShapeParameterType::EQUATION,
4508 : 8, 9
4509 : },
4510 : {
4511 : EnhancedCustomShapeParameterType::NORMAL,
4512 : EnhancedCustomShapeParameterType::EQUATION,
4513 : 0, 9
4514 : }
4515 : };
4516 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4517 : }
4518 : {
4519 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4520 : static const sal_uInt16 nValues[] = {
4521 : // Command, Count
4522 : 1,1,
4523 : 2,3,
4524 : 4,0,
4525 : 1,1,
4526 : 2,2,
4527 : 4,0,
4528 : 7,0,
4529 : 5,0,
4530 : 1,1,
4531 : 2,2,
4532 : 4,0,
4533 : 18,0,
4534 : 7,0,
4535 : 5,0,
4536 : 1,1,
4537 : 2,2,
4538 : 4,0,
4539 : 6,0,
4540 : 5,0,
4541 : 1,1,
4542 : 2,3,
4543 : 4,0,
4544 : 6,0,
4545 : 5,0
4546 : };
4547 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4548 : }
4549 : {
4550 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4551 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4552 : {
4553 0 : EnhancedCustomShapeTextFrame aTextFrame;
4554 : {
4555 : static const CustomShapeProvider::ParameterPairData aData =
4556 : {
4557 : EnhancedCustomShapeParameterType::NORMAL,
4558 : EnhancedCustomShapeParameterType::NORMAL,
4559 : 0, 0
4560 : };
4561 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4562 : }
4563 : {
4564 : static const CustomShapeProvider::ParameterPairData aData =
4565 : {
4566 : EnhancedCustomShapeParameterType::EQUATION,
4567 : EnhancedCustomShapeParameterType::EQUATION,
4568 : 8, 9
4569 : };
4570 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4571 : }
4572 0 : aTextFrameSeq [0] = aTextFrame;
4573 : }
4574 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4575 : }
4576 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4577 : }
4578 : {
4579 0 : awt::Rectangle aRectangle;
4580 0 : aRectangle.X = 0;
4581 0 : aRectangle.Y = 0;
4582 0 : aRectangle.Width = 0;
4583 0 : aRectangle.Height = 0;
4584 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4585 : }
4586 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonBackPrevious");
4587 :
4588 0 : return aPropertyMap;
4589 : }
4590 : };
4591 3 : class ShapeCframe : public CustomShapeProvider
4592 : {
4593 0 : virtual PropertyMap getProperties()
4594 : {
4595 0 : PropertyMap aPropertyMap;
4596 :
4597 : {
4598 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
4599 : {
4600 0 : Any aAny ((sal_Int32) 12500);
4601 0 : aAdjSequence [0].Value = aAny;
4602 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
4603 : }
4604 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
4605 : }
4606 : {
4607 : static const char *aStrings[] = {
4608 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
4609 : "min(logwidth,logheight)",
4610 : "?1 *?0 /100000",
4611 : "logwidth+0-?2 ",
4612 : "logheight+0-?2 ",
4613 : "logwidth/2",
4614 : "logheight/2",
4615 : "logheight",
4616 : "logwidth"
4617 : };
4618 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4619 : }
4620 : {
4621 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
4622 : {
4623 0 : Sequence< PropertyValue > aPropSequence (4);
4624 : {
4625 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
4626 : static const CustomShapeProvider::ParameterPairData aData =
4627 : {
4628 : EnhancedCustomShapeParameterType::EQUATION,
4629 : EnhancedCustomShapeParameterType::NORMAL,
4630 : 2, 0
4631 : };
4632 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
4633 : }
4634 : {
4635 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
4636 0 : EnhancedCustomShapeParameter aParameter;
4637 0 : Any aAny ((sal_Int32) 50000);
4638 0 : aParameter.Value = aAny;
4639 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4640 0 : aPropSequence [1].Value = makeAny (aParameter);
4641 : }
4642 : {
4643 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
4644 0 : EnhancedCustomShapeParameter aParameter;
4645 0 : Any aAny ((sal_Int32) 0);
4646 0 : aParameter.Value = aAny;
4647 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
4648 0 : aPropSequence [2].Value = makeAny (aParameter);
4649 : }
4650 : {
4651 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
4652 0 : Any aAny ((sal_Int32) 0);
4653 0 : aPropSequence [3].Value = makeAny (aAny);
4654 : }
4655 0 : aPropSequenceSequence [0] = aPropSequence;
4656 : }
4657 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
4658 : }
4659 : {
4660 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4661 : }
4662 : {
4663 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4664 : }
4665 : {
4666 0 : Sequence< PropertyValue > aPropSequence (3);
4667 : {
4668 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4669 : static const CustomShapeProvider::ParameterPairData aData[] = {
4670 : {
4671 : EnhancedCustomShapeParameterType::NORMAL,
4672 : EnhancedCustomShapeParameterType::NORMAL,
4673 : 0, 0
4674 : },
4675 : {
4676 : EnhancedCustomShapeParameterType::EQUATION,
4677 : EnhancedCustomShapeParameterType::NORMAL,
4678 : 8, 0
4679 : },
4680 : {
4681 : EnhancedCustomShapeParameterType::EQUATION,
4682 : EnhancedCustomShapeParameterType::EQUATION,
4683 : 8, 7
4684 : },
4685 : {
4686 : EnhancedCustomShapeParameterType::NORMAL,
4687 : EnhancedCustomShapeParameterType::EQUATION,
4688 : 0, 7
4689 : },
4690 : {
4691 : EnhancedCustomShapeParameterType::EQUATION,
4692 : EnhancedCustomShapeParameterType::EQUATION,
4693 : 2, 2
4694 : },
4695 : {
4696 : EnhancedCustomShapeParameterType::EQUATION,
4697 : EnhancedCustomShapeParameterType::EQUATION,
4698 : 2, 4
4699 : },
4700 : {
4701 : EnhancedCustomShapeParameterType::EQUATION,
4702 : EnhancedCustomShapeParameterType::EQUATION,
4703 : 3, 4
4704 : },
4705 : {
4706 : EnhancedCustomShapeParameterType::EQUATION,
4707 : EnhancedCustomShapeParameterType::EQUATION,
4708 : 3, 2
4709 : }
4710 : };
4711 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4712 : }
4713 : {
4714 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4715 : static const sal_uInt16 nValues[] = {
4716 : // Command, Count
4717 : 1,1,
4718 : 2,3,
4719 : 4,0,
4720 : 1,1,
4721 : 2,3,
4722 : 4,0,
4723 : 5,0
4724 : };
4725 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4726 : }
4727 : {
4728 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4729 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4730 : {
4731 0 : EnhancedCustomShapeTextFrame aTextFrame;
4732 : {
4733 : static const CustomShapeProvider::ParameterPairData aData =
4734 : {
4735 : EnhancedCustomShapeParameterType::EQUATION,
4736 : EnhancedCustomShapeParameterType::EQUATION,
4737 : 2, 2
4738 : };
4739 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4740 : }
4741 : {
4742 : static const CustomShapeProvider::ParameterPairData aData =
4743 : {
4744 : EnhancedCustomShapeParameterType::EQUATION,
4745 : EnhancedCustomShapeParameterType::EQUATION,
4746 : 3, 4
4747 : };
4748 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4749 : }
4750 0 : aTextFrameSeq [0] = aTextFrame;
4751 : }
4752 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4753 : }
4754 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4755 : }
4756 : {
4757 0 : awt::Rectangle aRectangle;
4758 0 : aRectangle.X = 0;
4759 0 : aRectangle.Y = 0;
4760 0 : aRectangle.Width = 0;
4761 0 : aRectangle.Height = 0;
4762 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4763 : }
4764 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-frame");
4765 :
4766 0 : return aPropertyMap;
4767 : }
4768 : };
4769 3 : class ShapeCrtTriangle : public CustomShapeProvider
4770 : {
4771 0 : virtual PropertyMap getProperties()
4772 : {
4773 0 : PropertyMap aPropertyMap;
4774 :
4775 : {
4776 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4777 : }
4778 : {
4779 : static const char *aStrings[] = {
4780 : "logheight*7/12",
4781 : "logwidth*7/12",
4782 : "logheight*11/12",
4783 : "logheight/2",
4784 : "logheight",
4785 : "logwidth/2",
4786 : "logwidth",
4787 : "logwidth/12"
4788 : };
4789 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4790 : }
4791 : {
4792 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4793 : }
4794 : {
4795 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4796 : }
4797 : {
4798 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4799 : }
4800 : {
4801 0 : Sequence< PropertyValue > aPropSequence (3);
4802 : {
4803 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4804 : static const CustomShapeProvider::ParameterPairData aData[] = {
4805 : {
4806 : EnhancedCustomShapeParameterType::NORMAL,
4807 : EnhancedCustomShapeParameterType::EQUATION,
4808 : 0, 4
4809 : },
4810 : {
4811 : EnhancedCustomShapeParameterType::NORMAL,
4812 : EnhancedCustomShapeParameterType::NORMAL,
4813 : 0, 0
4814 : },
4815 : {
4816 : EnhancedCustomShapeParameterType::EQUATION,
4817 : EnhancedCustomShapeParameterType::EQUATION,
4818 : 6, 4
4819 : }
4820 : };
4821 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4822 : }
4823 : {
4824 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4825 : static const sal_uInt16 nValues[] = {
4826 : // Command, Count
4827 : 1,1,
4828 : 2,2,
4829 : 4,0,
4830 : 5,0
4831 : };
4832 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4833 : }
4834 : {
4835 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4836 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4837 : {
4838 0 : EnhancedCustomShapeTextFrame aTextFrame;
4839 : {
4840 : static const CustomShapeProvider::ParameterPairData aData =
4841 : {
4842 : EnhancedCustomShapeParameterType::EQUATION,
4843 : EnhancedCustomShapeParameterType::EQUATION,
4844 : 7, 0
4845 : };
4846 0 : aTextFrame.TopLeft = createParameterPair(&aData);
4847 : }
4848 : {
4849 : static const CustomShapeProvider::ParameterPairData aData =
4850 : {
4851 : EnhancedCustomShapeParameterType::EQUATION,
4852 : EnhancedCustomShapeParameterType::EQUATION,
4853 : 1, 2
4854 : };
4855 0 : aTextFrame.BottomRight = createParameterPair(&aData);
4856 : }
4857 0 : aTextFrameSeq [0] = aTextFrame;
4858 : }
4859 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
4860 : }
4861 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
4862 : }
4863 : {
4864 0 : awt::Rectangle aRectangle;
4865 0 : aRectangle.X = 0;
4866 0 : aRectangle.Y = 0;
4867 0 : aRectangle.Width = 0;
4868 0 : aRectangle.Height = 0;
4869 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
4870 : }
4871 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rtTriangle");
4872 :
4873 0 : return aPropertyMap;
4874 : }
4875 : };
4876 3 : class ShapeCflowChartMagneticTape : public CustomShapeProvider
4877 : {
4878 0 : virtual PropertyMap getProperties()
4879 : {
4880 0 : PropertyMap aPropertyMap;
4881 :
4882 : {
4883 0 : aPropertyMap [PROP_AdjustmentValues] <<= Sequence< OUString >(0);
4884 : }
4885 : {
4886 : static const char *aStrings[] = {
4887 : "logwidth/2",
4888 : "?0 *cos(pi*(2700000)/10800000)",
4889 : "logheight/2",
4890 : "?2 *sin(pi*(2700000)/10800000)",
4891 : "logwidth/2",
4892 : "?4 +0-?1 ",
4893 : "?4 +?1 -0",
4894 : "logheight/2",
4895 : "?7 +0-?3 ",
4896 : "?7 +?3 -0",
4897 : "(10800000*atan2(logheight,logwidth))/pi",
4898 : "logheight",
4899 : "logwidth",
4900 : "(5400000)/60000.0",
4901 : "(5400000)/60000.0",
4902 : "(10800000)/60000.0",
4903 : "(5400000)/60000.0",
4904 : "(16200000)/60000.0",
4905 : "(5400000)/60000.0",
4906 : "(0)/60000.0",
4907 : "(?10 )/60000.0"
4908 : };
4909 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
4910 : }
4911 : {
4912 0 : aPropertyMap [PROP_Handles] <<= Sequence< OUString >(0);
4913 : }
4914 : {
4915 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
4916 : }
4917 : {
4918 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
4919 : }
4920 : {
4921 0 : Sequence< PropertyValue > aPropSequence (3);
4922 : {
4923 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
4924 : static const CustomShapeProvider::ParameterPairData aData[] = {
4925 : {
4926 : EnhancedCustomShapeParameterType::EQUATION,
4927 : EnhancedCustomShapeParameterType::EQUATION,
4928 : 4, 11
4929 : },
4930 : {
4931 : EnhancedCustomShapeParameterType::EQUATION,
4932 : EnhancedCustomShapeParameterType::EQUATION,
4933 : 0, 2
4934 : },
4935 : {
4936 : EnhancedCustomShapeParameterType::EQUATION,
4937 : EnhancedCustomShapeParameterType::EQUATION,
4938 : 13, 14
4939 : },
4940 : {
4941 : EnhancedCustomShapeParameterType::EQUATION,
4942 : EnhancedCustomShapeParameterType::EQUATION,
4943 : 0, 2
4944 : },
4945 : {
4946 : EnhancedCustomShapeParameterType::EQUATION,
4947 : EnhancedCustomShapeParameterType::EQUATION,
4948 : 15, 16
4949 : },
4950 : {
4951 : EnhancedCustomShapeParameterType::EQUATION,
4952 : EnhancedCustomShapeParameterType::EQUATION,
4953 : 0, 2
4954 : },
4955 : {
4956 : EnhancedCustomShapeParameterType::EQUATION,
4957 : EnhancedCustomShapeParameterType::EQUATION,
4958 : 17, 18
4959 : },
4960 : {
4961 : EnhancedCustomShapeParameterType::EQUATION,
4962 : EnhancedCustomShapeParameterType::EQUATION,
4963 : 0, 2
4964 : },
4965 : {
4966 : EnhancedCustomShapeParameterType::EQUATION,
4967 : EnhancedCustomShapeParameterType::EQUATION,
4968 : 19, 20
4969 : },
4970 : {
4971 : EnhancedCustomShapeParameterType::EQUATION,
4972 : EnhancedCustomShapeParameterType::EQUATION,
4973 : 12, 9
4974 : },
4975 : {
4976 : EnhancedCustomShapeParameterType::EQUATION,
4977 : EnhancedCustomShapeParameterType::EQUATION,
4978 : 12, 11
4979 : }
4980 : };
4981 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
4982 : }
4983 : {
4984 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
4985 : static const sal_uInt16 nValues[] = {
4986 : // Command, Count
4987 : 1,1,
4988 : 17,4,
4989 : 2,2,
4990 : 4,0,
4991 : 5,0
4992 : };
4993 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
4994 : }
4995 : {
4996 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
4997 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
4998 : {
4999 0 : EnhancedCustomShapeTextFrame aTextFrame;
5000 : {
5001 : static const CustomShapeProvider::ParameterPairData aData =
5002 : {
5003 : EnhancedCustomShapeParameterType::EQUATION,
5004 : EnhancedCustomShapeParameterType::EQUATION,
5005 : 5, 8
5006 : };
5007 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5008 : }
5009 : {
5010 : static const CustomShapeProvider::ParameterPairData aData =
5011 : {
5012 : EnhancedCustomShapeParameterType::EQUATION,
5013 : EnhancedCustomShapeParameterType::EQUATION,
5014 : 6, 9
5015 : };
5016 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5017 : }
5018 0 : aTextFrameSeq [0] = aTextFrame;
5019 : }
5020 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5021 : }
5022 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5023 : }
5024 : {
5025 0 : awt::Rectangle aRectangle;
5026 0 : aRectangle.X = 0;
5027 0 : aRectangle.Y = 0;
5028 0 : aRectangle.Width = 0;
5029 0 : aRectangle.Height = 0;
5030 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5031 : }
5032 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMagneticTape");
5033 :
5034 0 : return aPropertyMap;
5035 : }
5036 : };
5037 3 : class ShapeCcurvedRightArrow : public CustomShapeProvider
5038 : {
5039 0 : virtual PropertyMap getProperties()
5040 : {
5041 0 : PropertyMap aPropertyMap;
5042 :
5043 : {
5044 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
5045 : {
5046 0 : Any aAny ((sal_Int32) 25000);
5047 0 : aAdjSequence [0].Value = aAny;
5048 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
5049 : }
5050 : {
5051 0 : Any aAny ((sal_Int32) 50000);
5052 0 : aAdjSequence [1].Value = aAny;
5053 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
5054 : }
5055 : {
5056 0 : Any aAny ((sal_Int32) 25000);
5057 0 : aAdjSequence [2].Value = aAny;
5058 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
5059 : }
5060 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5061 : }
5062 : {
5063 : static const char *aStrings[] = {
5064 : "min(logwidth,logheight)",
5065 : "50000*logheight/?0 ",
5066 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
5067 : "if(0-$0 ,0,if(?2 -$0 ,$0 ,?2 ))",
5068 : "?0 *?3 /100000",
5069 : "?0 *?2 /100000",
5070 : "(?4 +?5 )/4",
5071 : "logheight/2",
5072 : "?7 +0-?6 ",
5073 : "?8 *2/1",
5074 : "?9 *?9 /1",
5075 : "?4 *?4 /1",
5076 : "?10 +0-?11 ",
5077 : "sqrt(?12 )",
5078 : "?13 *logwidth/?9 ",
5079 : "100000*?14 /?0 ",
5080 : "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
5081 : "?0 *?16 /100000",
5082 : "?8 +?4 -0",
5083 : "logwidth*logwidth/1",
5084 : "?17 *?17 /1",
5085 : "?19 +0-?20 ",
5086 : "sqrt(?21 )",
5087 : "?22 *?8 /logwidth",
5088 : "?8 +?23 -0",
5089 : "?18 +?23 -0",
5090 : "?5 +0-?4 ",
5091 : "?26 *1/2",
5092 : "?24 +0-?27 ",
5093 : "?25 +?27 -0",
5094 : "?5 *1/2",
5095 : "logheight+0-?30 ",
5096 : "logwidth+0-?17 ",
5097 : "(10800000*atan2(?23 ,?17 ))/pi",
5098 : "10800000+0-?33 ",
5099 : "0+0-?33 ",
5100 : "logwidth+0-?14 ",
5101 : "(?8 +?18 )/2",
5102 : "?4 *1/2",
5103 : "(10800000*atan2(?38 ,?14 ))/pi",
5104 : "?39 +0-5400000",
5105 : "5400000+?39 -0",
5106 : "10800000+0-?39 ",
5107 : "logwidth",
5108 : "logheight",
5109 : "logwidth",
5110 : "(10800000)/60000.0",
5111 : "(?35 )/60000.0",
5112 : "(?34 )/60000.0",
5113 : "(?33 )/60000.0",
5114 : "(16200000)/60000.0",
5115 : "(?40 )/60000.0",
5116 : "(?42 )/60000.0",
5117 : "(?41 )/60000.0",
5118 : "(10800000)/60000.0",
5119 : "(?35 )/60000.0",
5120 : "(?34 )/60000.0",
5121 : "(?33 )/60000.0",
5122 : "(10800000)/60000.0",
5123 : "(5400000)/60000.0",
5124 : "(16200000)/60000.0",
5125 : "(?40 )/60000.0"
5126 : };
5127 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5128 : }
5129 : {
5130 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
5131 : {
5132 0 : Sequence< PropertyValue > aPropSequence (4);
5133 : {
5134 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5135 : static const CustomShapeProvider::ParameterPairData aData =
5136 : {
5137 : EnhancedCustomShapeParameterType::EQUATION,
5138 : EnhancedCustomShapeParameterType::EQUATION,
5139 : 32, 24
5140 : };
5141 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5142 : }
5143 : {
5144 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
5145 0 : EnhancedCustomShapeParameter aParameter;
5146 0 : Any aAny ((sal_Int32) 2);
5147 0 : aParameter.Value = aAny;
5148 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5149 0 : aPropSequence [1].Value = makeAny (aParameter);
5150 : }
5151 : {
5152 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
5153 0 : EnhancedCustomShapeParameter aParameter;
5154 0 : Any aAny ((sal_Int32) 0);
5155 0 : aParameter.Value = aAny;
5156 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5157 0 : aPropSequence [2].Value = makeAny (aParameter);
5158 : }
5159 : {
5160 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
5161 0 : Any aAny ((sal_Int32) 0);
5162 0 : aPropSequence [3].Value = makeAny (aAny);
5163 : }
5164 0 : aPropSequenceSequence [0] = aPropSequence;
5165 : }
5166 : {
5167 0 : Sequence< PropertyValue > aPropSequence (4);
5168 : {
5169 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5170 : static const CustomShapeProvider::ParameterPairData aData =
5171 : {
5172 : EnhancedCustomShapeParameterType::EQUATION,
5173 : EnhancedCustomShapeParameterType::EQUATION,
5174 : 43, 28
5175 : };
5176 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5177 : }
5178 : {
5179 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
5180 0 : EnhancedCustomShapeParameter aParameter;
5181 0 : Any aAny ((sal_Int32) 1);
5182 0 : aParameter.Value = aAny;
5183 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5184 0 : aPropSequence [1].Value = makeAny (aParameter);
5185 : }
5186 : {
5187 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
5188 0 : EnhancedCustomShapeParameter aParameter;
5189 0 : Any aAny ((sal_Int32) 0);
5190 0 : aParameter.Value = aAny;
5191 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5192 0 : aPropSequence [2].Value = makeAny (aParameter);
5193 : }
5194 : {
5195 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
5196 0 : Any aAny ((sal_Int32) 1);
5197 0 : aPropSequence [3].Value = makeAny (aAny);
5198 : }
5199 0 : aPropSequenceSequence [1] = aPropSequence;
5200 : }
5201 : {
5202 0 : Sequence< PropertyValue > aPropSequence (4);
5203 : {
5204 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5205 : static const CustomShapeProvider::ParameterPairData aData =
5206 : {
5207 : EnhancedCustomShapeParameterType::EQUATION,
5208 : EnhancedCustomShapeParameterType::EQUATION,
5209 : 32, 44
5210 : };
5211 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5212 : }
5213 : {
5214 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
5215 0 : EnhancedCustomShapeParameter aParameter;
5216 0 : Any aAny ((sal_Int32) 15);
5217 0 : aParameter.Value = aAny;
5218 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5219 0 : aPropSequence [1].Value = makeAny (aParameter);
5220 : }
5221 : {
5222 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
5223 0 : EnhancedCustomShapeParameter aParameter;
5224 0 : Any aAny ((sal_Int32) 0);
5225 0 : aParameter.Value = aAny;
5226 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5227 0 : aPropSequence [2].Value = makeAny (aParameter);
5228 : }
5229 : {
5230 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
5231 0 : Any aAny ((sal_Int32) 2);
5232 0 : aPropSequence [3].Value = makeAny (aAny);
5233 : }
5234 0 : aPropSequenceSequence [2] = aPropSequence;
5235 : }
5236 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5237 : }
5238 : {
5239 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5240 : }
5241 : {
5242 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5243 : }
5244 : {
5245 0 : Sequence< PropertyValue > aPropSequence (3);
5246 : {
5247 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5248 : static const CustomShapeProvider::ParameterPairData aData[] = {
5249 : {
5250 : EnhancedCustomShapeParameterType::NORMAL,
5251 : EnhancedCustomShapeParameterType::EQUATION,
5252 : 0, 8
5253 : },
5254 : {
5255 : EnhancedCustomShapeParameterType::EQUATION,
5256 : EnhancedCustomShapeParameterType::EQUATION,
5257 : 45, 8
5258 : },
5259 : {
5260 : EnhancedCustomShapeParameterType::EQUATION,
5261 : EnhancedCustomShapeParameterType::EQUATION,
5262 : 46, 47
5263 : },
5264 : {
5265 : EnhancedCustomShapeParameterType::EQUATION,
5266 : EnhancedCustomShapeParameterType::EQUATION,
5267 : 32, 28
5268 : },
5269 : {
5270 : EnhancedCustomShapeParameterType::EQUATION,
5271 : EnhancedCustomShapeParameterType::EQUATION,
5272 : 43, 31
5273 : },
5274 : {
5275 : EnhancedCustomShapeParameterType::EQUATION,
5276 : EnhancedCustomShapeParameterType::EQUATION,
5277 : 32, 29
5278 : },
5279 : {
5280 : EnhancedCustomShapeParameterType::EQUATION,
5281 : EnhancedCustomShapeParameterType::EQUATION,
5282 : 32, 25
5283 : },
5284 : {
5285 : EnhancedCustomShapeParameterType::EQUATION,
5286 : EnhancedCustomShapeParameterType::EQUATION,
5287 : 45, 8
5288 : },
5289 : {
5290 : EnhancedCustomShapeParameterType::EQUATION,
5291 : EnhancedCustomShapeParameterType::EQUATION,
5292 : 48, 49
5293 : },
5294 : {
5295 : EnhancedCustomShapeParameterType::EQUATION,
5296 : EnhancedCustomShapeParameterType::EQUATION,
5297 : 43, 4
5298 : },
5299 : {
5300 : EnhancedCustomShapeParameterType::EQUATION,
5301 : EnhancedCustomShapeParameterType::EQUATION,
5302 : 45, 8
5303 : },
5304 : {
5305 : EnhancedCustomShapeParameterType::EQUATION,
5306 : EnhancedCustomShapeParameterType::EQUATION,
5307 : 50, 51
5308 : },
5309 : {
5310 : EnhancedCustomShapeParameterType::EQUATION,
5311 : EnhancedCustomShapeParameterType::EQUATION,
5312 : 45, 8
5313 : },
5314 : {
5315 : EnhancedCustomShapeParameterType::EQUATION,
5316 : EnhancedCustomShapeParameterType::EQUATION,
5317 : 52, 53
5318 : },
5319 : {
5320 : EnhancedCustomShapeParameterType::NORMAL,
5321 : EnhancedCustomShapeParameterType::EQUATION,
5322 : 0, 8
5323 : },
5324 : {
5325 : EnhancedCustomShapeParameterType::EQUATION,
5326 : EnhancedCustomShapeParameterType::EQUATION,
5327 : 45, 8
5328 : },
5329 : {
5330 : EnhancedCustomShapeParameterType::EQUATION,
5331 : EnhancedCustomShapeParameterType::EQUATION,
5332 : 54, 55
5333 : },
5334 : {
5335 : EnhancedCustomShapeParameterType::EQUATION,
5336 : EnhancedCustomShapeParameterType::EQUATION,
5337 : 32, 28
5338 : },
5339 : {
5340 : EnhancedCustomShapeParameterType::EQUATION,
5341 : EnhancedCustomShapeParameterType::EQUATION,
5342 : 43, 31
5343 : },
5344 : {
5345 : EnhancedCustomShapeParameterType::EQUATION,
5346 : EnhancedCustomShapeParameterType::EQUATION,
5347 : 32, 29
5348 : },
5349 : {
5350 : EnhancedCustomShapeParameterType::EQUATION,
5351 : EnhancedCustomShapeParameterType::EQUATION,
5352 : 32, 25
5353 : },
5354 : {
5355 : EnhancedCustomShapeParameterType::EQUATION,
5356 : EnhancedCustomShapeParameterType::EQUATION,
5357 : 45, 8
5358 : },
5359 : {
5360 : EnhancedCustomShapeParameterType::EQUATION,
5361 : EnhancedCustomShapeParameterType::EQUATION,
5362 : 56, 57
5363 : },
5364 : {
5365 : EnhancedCustomShapeParameterType::NORMAL,
5366 : EnhancedCustomShapeParameterType::EQUATION,
5367 : 0, 8
5368 : },
5369 : {
5370 : EnhancedCustomShapeParameterType::EQUATION,
5371 : EnhancedCustomShapeParameterType::EQUATION,
5372 : 45, 8
5373 : },
5374 : {
5375 : EnhancedCustomShapeParameterType::EQUATION,
5376 : EnhancedCustomShapeParameterType::EQUATION,
5377 : 58, 59
5378 : },
5379 : {
5380 : EnhancedCustomShapeParameterType::EQUATION,
5381 : EnhancedCustomShapeParameterType::EQUATION,
5382 : 43, 4
5383 : },
5384 : {
5385 : EnhancedCustomShapeParameterType::EQUATION,
5386 : EnhancedCustomShapeParameterType::EQUATION,
5387 : 45, 8
5388 : },
5389 : {
5390 : EnhancedCustomShapeParameterType::EQUATION,
5391 : EnhancedCustomShapeParameterType::EQUATION,
5392 : 60, 61
5393 : }
5394 : };
5395 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5396 : }
5397 : {
5398 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5399 : static const sal_uInt16 nValues[] = {
5400 : // Command, Count
5401 : 1,1,
5402 : 17,1,
5403 : 2,4,
5404 : 17,1,
5405 : 4,0,
5406 : 7,0,
5407 : 5,0,
5408 : 1,1,
5409 : 17,2,
5410 : 4,0,
5411 : 19,0,
5412 : 7,0,
5413 : 5,0,
5414 : 1,1,
5415 : 17,1,
5416 : 2,4,
5417 : 17,1,
5418 : 2,1,
5419 : 17,1,
5420 : 2,1,
5421 : 17,1,
5422 : 6,0,
5423 : 5,0
5424 : };
5425 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5426 : }
5427 : {
5428 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5429 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5430 : {
5431 0 : EnhancedCustomShapeTextFrame aTextFrame;
5432 : {
5433 : static const CustomShapeProvider::ParameterPairData aData =
5434 : {
5435 : EnhancedCustomShapeParameterType::NORMAL,
5436 : EnhancedCustomShapeParameterType::NORMAL,
5437 : 0, 0
5438 : };
5439 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5440 : }
5441 : {
5442 : static const CustomShapeProvider::ParameterPairData aData =
5443 : {
5444 : EnhancedCustomShapeParameterType::EQUATION,
5445 : EnhancedCustomShapeParameterType::EQUATION,
5446 : 43, 44
5447 : };
5448 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5449 : }
5450 0 : aTextFrameSeq [0] = aTextFrame;
5451 : }
5452 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5453 : }
5454 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5455 : }
5456 : {
5457 0 : awt::Rectangle aRectangle;
5458 0 : aRectangle.X = 0;
5459 0 : aRectangle.Y = 0;
5460 0 : aRectangle.Width = 0;
5461 0 : aRectangle.Height = 0;
5462 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5463 : }
5464 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedRightArrow");
5465 :
5466 0 : return aPropertyMap;
5467 : }
5468 : };
5469 3 : class ShapeCleftUpArrow : public CustomShapeProvider
5470 : {
5471 0 : virtual PropertyMap getProperties()
5472 : {
5473 0 : PropertyMap aPropertyMap;
5474 :
5475 : {
5476 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
5477 : {
5478 0 : Any aAny ((sal_Int32) 25000);
5479 0 : aAdjSequence [0].Value = aAny;
5480 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
5481 : }
5482 : {
5483 0 : Any aAny ((sal_Int32) 25000);
5484 0 : aAdjSequence [1].Value = aAny;
5485 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
5486 : }
5487 : {
5488 0 : Any aAny ((sal_Int32) 25000);
5489 0 : aAdjSequence [2].Value = aAny;
5490 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
5491 : }
5492 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5493 : }
5494 : {
5495 : static const char *aStrings[] = {
5496 : "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
5497 : "?0 *2/1",
5498 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
5499 : "100000+0-?1 ",
5500 : "if(0-$2 ,0,if(?3 -$2 ,$2 ,?3 ))",
5501 : "min(logwidth,logheight)",
5502 : "?5 *?4 /100000",
5503 : "?5 *?0 /50000",
5504 : "logwidth+0-?7 ",
5505 : "logheight+0-?7 ",
5506 : "?5 *?0 /100000",
5507 : "logwidth+0-?10 ",
5508 : "logheight+0-?10 ",
5509 : "?5 *?2 /200000",
5510 : "?11 +0-?13 ",
5511 : "?11 +?13 -0",
5512 : "?12 +0-?13 ",
5513 : "?12 +?13 -0",
5514 : "?13 *?6 /?10 ",
5515 : "(?6 +?15 )/2",
5516 : "(?6 +?17 )/2",
5517 : "logheight",
5518 : "logwidth"
5519 : };
5520 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5521 : }
5522 : {
5523 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
5524 : {
5525 0 : Sequence< PropertyValue > aPropSequence (4);
5526 : {
5527 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5528 : static const CustomShapeProvider::ParameterPairData aData =
5529 : {
5530 : EnhancedCustomShapeParameterType::EQUATION,
5531 : EnhancedCustomShapeParameterType::EQUATION,
5532 : 14, 16
5533 : };
5534 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5535 : }
5536 : {
5537 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
5538 0 : EnhancedCustomShapeParameter aParameter;
5539 0 : Any aAny ((sal_Int32) 1);
5540 0 : aParameter.Value = aAny;
5541 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5542 0 : aPropSequence [1].Value = makeAny (aParameter);
5543 : }
5544 : {
5545 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
5546 0 : EnhancedCustomShapeParameter aParameter;
5547 0 : Any aAny ((sal_Int32) 0);
5548 0 : aParameter.Value = aAny;
5549 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5550 0 : aPropSequence [2].Value = makeAny (aParameter);
5551 : }
5552 : {
5553 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
5554 0 : Any aAny ((sal_Int32) 0);
5555 0 : aPropSequence [3].Value = makeAny (aAny);
5556 : }
5557 0 : aPropSequenceSequence [0] = aPropSequence;
5558 : }
5559 : {
5560 0 : Sequence< PropertyValue > aPropSequence (4);
5561 : {
5562 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5563 : static const CustomShapeProvider::ParameterPairData aData =
5564 : {
5565 : EnhancedCustomShapeParameterType::EQUATION,
5566 : EnhancedCustomShapeParameterType::NORMAL,
5567 : 8, 0
5568 : };
5569 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5570 : }
5571 : {
5572 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
5573 0 : EnhancedCustomShapeParameter aParameter;
5574 0 : Any aAny ((sal_Int32) 50000);
5575 0 : aParameter.Value = aAny;
5576 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5577 0 : aPropSequence [1].Value = makeAny (aParameter);
5578 : }
5579 : {
5580 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
5581 0 : EnhancedCustomShapeParameter aParameter;
5582 0 : Any aAny ((sal_Int32) 0);
5583 0 : aParameter.Value = aAny;
5584 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5585 0 : aPropSequence [2].Value = makeAny (aParameter);
5586 : }
5587 : {
5588 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
5589 0 : Any aAny ((sal_Int32) 1);
5590 0 : aPropSequence [3].Value = makeAny (aAny);
5591 : }
5592 0 : aPropSequenceSequence [1] = aPropSequence;
5593 : }
5594 : {
5595 0 : Sequence< PropertyValue > aPropSequence (4);
5596 : {
5597 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5598 : static const CustomShapeProvider::ParameterPairData aData =
5599 : {
5600 : EnhancedCustomShapeParameterType::EQUATION,
5601 : EnhancedCustomShapeParameterType::EQUATION,
5602 : 14, 6
5603 : };
5604 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5605 : }
5606 : {
5607 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
5608 0 : EnhancedCustomShapeParameter aParameter;
5609 0 : Any aAny ((sal_Int32) 3);
5610 0 : aParameter.Value = aAny;
5611 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
5612 0 : aPropSequence [1].Value = makeAny (aParameter);
5613 : }
5614 : {
5615 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
5616 0 : EnhancedCustomShapeParameter aParameter;
5617 0 : Any aAny ((sal_Int32) 0);
5618 0 : aParameter.Value = aAny;
5619 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5620 0 : aPropSequence [2].Value = makeAny (aParameter);
5621 : }
5622 : {
5623 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
5624 0 : Any aAny ((sal_Int32) 2);
5625 0 : aPropSequence [3].Value = makeAny (aAny);
5626 : }
5627 0 : aPropSequenceSequence [2] = aPropSequence;
5628 : }
5629 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5630 : }
5631 : {
5632 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5633 : }
5634 : {
5635 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5636 : }
5637 : {
5638 0 : Sequence< PropertyValue > aPropSequence (3);
5639 : {
5640 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5641 : static const CustomShapeProvider::ParameterPairData aData[] = {
5642 : {
5643 : EnhancedCustomShapeParameterType::NORMAL,
5644 : EnhancedCustomShapeParameterType::EQUATION,
5645 : 0, 12
5646 : },
5647 : {
5648 : EnhancedCustomShapeParameterType::EQUATION,
5649 : EnhancedCustomShapeParameterType::EQUATION,
5650 : 6, 9
5651 : },
5652 : {
5653 : EnhancedCustomShapeParameterType::EQUATION,
5654 : EnhancedCustomShapeParameterType::EQUATION,
5655 : 6, 16
5656 : },
5657 : {
5658 : EnhancedCustomShapeParameterType::EQUATION,
5659 : EnhancedCustomShapeParameterType::EQUATION,
5660 : 14, 16
5661 : },
5662 : {
5663 : EnhancedCustomShapeParameterType::EQUATION,
5664 : EnhancedCustomShapeParameterType::EQUATION,
5665 : 14, 6
5666 : },
5667 : {
5668 : EnhancedCustomShapeParameterType::EQUATION,
5669 : EnhancedCustomShapeParameterType::EQUATION,
5670 : 8, 6
5671 : },
5672 : {
5673 : EnhancedCustomShapeParameterType::EQUATION,
5674 : EnhancedCustomShapeParameterType::NORMAL,
5675 : 11, 0
5676 : },
5677 : {
5678 : EnhancedCustomShapeParameterType::EQUATION,
5679 : EnhancedCustomShapeParameterType::EQUATION,
5680 : 22, 6
5681 : },
5682 : {
5683 : EnhancedCustomShapeParameterType::EQUATION,
5684 : EnhancedCustomShapeParameterType::EQUATION,
5685 : 15, 6
5686 : },
5687 : {
5688 : EnhancedCustomShapeParameterType::EQUATION,
5689 : EnhancedCustomShapeParameterType::EQUATION,
5690 : 15, 17
5691 : },
5692 : {
5693 : EnhancedCustomShapeParameterType::EQUATION,
5694 : EnhancedCustomShapeParameterType::EQUATION,
5695 : 6, 17
5696 : },
5697 : {
5698 : EnhancedCustomShapeParameterType::EQUATION,
5699 : EnhancedCustomShapeParameterType::EQUATION,
5700 : 6, 21
5701 : }
5702 : };
5703 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5704 : }
5705 : {
5706 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5707 : static const sal_uInt16 nValues[] = {
5708 : // Command, Count
5709 : 1,1,
5710 : 2,11,
5711 : 4,0,
5712 : 5,0
5713 : };
5714 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5715 : }
5716 : {
5717 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5718 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5719 : {
5720 0 : EnhancedCustomShapeTextFrame aTextFrame;
5721 : {
5722 : static const CustomShapeProvider::ParameterPairData aData =
5723 : {
5724 : EnhancedCustomShapeParameterType::EQUATION,
5725 : EnhancedCustomShapeParameterType::EQUATION,
5726 : 18, 16
5727 : };
5728 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5729 : }
5730 : {
5731 : static const CustomShapeProvider::ParameterPairData aData =
5732 : {
5733 : EnhancedCustomShapeParameterType::EQUATION,
5734 : EnhancedCustomShapeParameterType::EQUATION,
5735 : 11, 17
5736 : };
5737 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5738 : }
5739 0 : aTextFrameSeq [0] = aTextFrame;
5740 : }
5741 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5742 : }
5743 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5744 : }
5745 : {
5746 0 : awt::Rectangle aRectangle;
5747 0 : aRectangle.X = 0;
5748 0 : aRectangle.Y = 0;
5749 0 : aRectangle.Width = 0;
5750 0 : aRectangle.Height = 0;
5751 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5752 : }
5753 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftUpArrow");
5754 :
5755 0 : return aPropertyMap;
5756 : }
5757 : };
5758 3 : class ShapeCwedgeEllipseCallout : public CustomShapeProvider
5759 : {
5760 0 : virtual PropertyMap getProperties()
5761 : {
5762 0 : PropertyMap aPropertyMap;
5763 :
5764 : {
5765 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
5766 : {
5767 0 : Any aAny ((sal_Int32) -20833);
5768 0 : aAdjSequence [0].Value = aAny;
5769 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
5770 : }
5771 : {
5772 0 : Any aAny ((sal_Int32) 62500);
5773 0 : aAdjSequence [1].Value = aAny;
5774 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
5775 : }
5776 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5777 : }
5778 : {
5779 : static const char *aStrings[] = {
5780 : "logwidth*$0 /100000",
5781 : "logheight*$1 /100000",
5782 : "logwidth/2",
5783 : "?2 +?0 -0",
5784 : "logheight/2",
5785 : "?4 +?1 -0",
5786 : "?0 *logheight/1",
5787 : "?1 *logwidth/1",
5788 : "(10800000*atan2(?7 ,?6 ))/pi",
5789 : "?8 +660000-0",
5790 : "?8 +0-660000",
5791 : "logwidth/2",
5792 : "?11 *cos(pi*(?9 )/10800000)",
5793 : "logheight/2",
5794 : "?13 *sin(pi*(?9 )/10800000)",
5795 : "?2 +?12 -0",
5796 : "?4 +?14 -0",
5797 : "?11 *cos(pi*(?10 )/10800000)",
5798 : "?13 *sin(pi*(?10 )/10800000)",
5799 : "?2 +?17 -0",
5800 : "?4 +?18 -0",
5801 : "(10800000*atan2(?14 ,?12 ))/pi",
5802 : "(10800000*atan2(?18 ,?17 ))/pi",
5803 : "?22 +0-?21 ",
5804 : "?23 +21600000-0",
5805 : "if(?23 ,?23 ,?24 )",
5806 : "?11 *cos(pi*(2700000)/10800000)",
5807 : "?13 *sin(pi*(2700000)/10800000)",
5808 : "?2 +0-?26 ",
5809 : "?2 +?26 -0",
5810 : "?4 +0-?27 ",
5811 : "?4 +?27 -0",
5812 : "logheight",
5813 : "logwidth",
5814 : "(?21 )/60000.0",
5815 : "(?25 )/60000.0"
5816 : };
5817 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
5818 : }
5819 : {
5820 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
5821 : {
5822 0 : Sequence< PropertyValue > aPropSequence (7);
5823 : {
5824 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
5825 : static const CustomShapeProvider::ParameterPairData aData =
5826 : {
5827 : EnhancedCustomShapeParameterType::EQUATION,
5828 : EnhancedCustomShapeParameterType::EQUATION,
5829 : 3, 5
5830 : };
5831 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
5832 : }
5833 : {
5834 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
5835 0 : EnhancedCustomShapeParameter aParameter;
5836 0 : Any aAny ((sal_Int32) 2147483647);
5837 0 : aParameter.Value = aAny;
5838 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5839 0 : aPropSequence [1].Value = makeAny (aParameter);
5840 : }
5841 : {
5842 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
5843 0 : EnhancedCustomShapeParameter aParameter;
5844 0 : Any aAny ((sal_Int32) -2147483647);
5845 0 : aParameter.Value = aAny;
5846 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5847 0 : aPropSequence [2].Value = makeAny (aParameter);
5848 : }
5849 : {
5850 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RangeYMaximum");
5851 0 : EnhancedCustomShapeParameter aParameter;
5852 0 : Any aAny ((sal_Int32) 2147483647);
5853 0 : aParameter.Value = aAny;
5854 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5855 0 : aPropSequence [3].Value = makeAny (aParameter);
5856 : }
5857 : {
5858 0 : aPropSequence [4].Name = CREATE_OUSTRING ("RangeYMinimum");
5859 0 : EnhancedCustomShapeParameter aParameter;
5860 0 : Any aAny ((sal_Int32) -2147483647);
5861 0 : aParameter.Value = aAny;
5862 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
5863 0 : aPropSequence [4].Value = makeAny (aParameter);
5864 : }
5865 : {
5866 0 : aPropSequence [5].Name = CREATE_OUSTRING ("RefX");
5867 0 : Any aAny ((sal_Int32) 0);
5868 0 : aPropSequence [5].Value = makeAny (aAny);
5869 : }
5870 : {
5871 0 : aPropSequence [6].Name = CREATE_OUSTRING ("RefY");
5872 0 : Any aAny ((sal_Int32) 1);
5873 0 : aPropSequence [6].Value = makeAny (aAny);
5874 : }
5875 0 : aPropSequenceSequence [0] = aPropSequence;
5876 : }
5877 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
5878 : }
5879 : {
5880 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
5881 : }
5882 : {
5883 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
5884 : }
5885 : {
5886 0 : Sequence< PropertyValue > aPropSequence (3);
5887 : {
5888 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
5889 : static const CustomShapeProvider::ParameterPairData aData[] = {
5890 : {
5891 : EnhancedCustomShapeParameterType::EQUATION,
5892 : EnhancedCustomShapeParameterType::EQUATION,
5893 : 3, 5
5894 : },
5895 : {
5896 : EnhancedCustomShapeParameterType::EQUATION,
5897 : EnhancedCustomShapeParameterType::EQUATION,
5898 : 15, 16
5899 : },
5900 : {
5901 : EnhancedCustomShapeParameterType::EQUATION,
5902 : EnhancedCustomShapeParameterType::EQUATION,
5903 : 11, 13
5904 : },
5905 : {
5906 : EnhancedCustomShapeParameterType::EQUATION,
5907 : EnhancedCustomShapeParameterType::EQUATION,
5908 : 34, 35
5909 : }
5910 : };
5911 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
5912 : }
5913 : {
5914 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
5915 : static const sal_uInt16 nValues[] = {
5916 : // Command, Count
5917 : 1,1,
5918 : 2,1,
5919 : 17,1,
5920 : 4,0,
5921 : 5,0
5922 : };
5923 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
5924 : }
5925 : {
5926 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
5927 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
5928 : {
5929 0 : EnhancedCustomShapeTextFrame aTextFrame;
5930 : {
5931 : static const CustomShapeProvider::ParameterPairData aData =
5932 : {
5933 : EnhancedCustomShapeParameterType::EQUATION,
5934 : EnhancedCustomShapeParameterType::EQUATION,
5935 : 28, 30
5936 : };
5937 0 : aTextFrame.TopLeft = createParameterPair(&aData);
5938 : }
5939 : {
5940 : static const CustomShapeProvider::ParameterPairData aData =
5941 : {
5942 : EnhancedCustomShapeParameterType::EQUATION,
5943 : EnhancedCustomShapeParameterType::EQUATION,
5944 : 29, 31
5945 : };
5946 0 : aTextFrame.BottomRight = createParameterPair(&aData);
5947 : }
5948 0 : aTextFrameSeq [0] = aTextFrame;
5949 : }
5950 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
5951 : }
5952 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
5953 : }
5954 : {
5955 0 : awt::Rectangle aRectangle;
5956 0 : aRectangle.X = 0;
5957 0 : aRectangle.Y = 0;
5958 0 : aRectangle.Width = 0;
5959 0 : aRectangle.Height = 0;
5960 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
5961 : }
5962 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wedgeEllipseCallout");
5963 :
5964 0 : return aPropertyMap;
5965 : }
5966 : };
5967 3 : class ShapeCdoubleWave : public CustomShapeProvider
5968 : {
5969 0 : virtual PropertyMap getProperties()
5970 : {
5971 0 : PropertyMap aPropertyMap;
5972 :
5973 : {
5974 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
5975 : {
5976 0 : Any aAny ((sal_Int32) 6250);
5977 0 : aAdjSequence [0].Value = aAny;
5978 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
5979 : }
5980 : {
5981 0 : Any aAny ((sal_Int32) 0);
5982 0 : aAdjSequence [1].Value = aAny;
5983 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
5984 : }
5985 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
5986 : }
5987 : {
5988 : static const char *aStrings[] = {
5989 : "if(0-$0 ,0,if(12500-$0 ,$0 ,12500))",
5990 : "if(-10000-$1 ,-10000,if(10000-$1 ,$1 ,10000))",
5991 : "logheight*?0 /100000",
5992 : "?2 *10/3",
5993 : "?2 +0-?3 ",
5994 : "?2 +?3 -0",
5995 : "logheight+0-?2 ",
5996 : "?6 +0-?3 ",
5997 : "?6 +?3 -0",
5998 : "logwidth*?1 /100000",
5999 : "logwidth*?1 /50000",
6000 : "abs(?9 )",
6001 : "if(?10 ,0,?10 )",
6002 : "0+0-?12 ",
6003 : "if(?10 ,?10 ,0)",
6004 : "logwidth+0-?14 ",
6005 : "(?12 +?15 )/6",
6006 : "?13 +?16 -0",
6007 : "(?12 +?15 )/3",
6008 : "?13 +?18 -0",
6009 : "(?13 +?15 )/2",
6010 : "?20 +?16 -0",
6011 : "(?21 +?15 )/2",
6012 : "0+?14 -0",
6013 : "logwidth+?12 -0",
6014 : "?23 +?16 -0",
6015 : "?23 +?18 -0",
6016 : "(?23 +?24 )/2",
6017 : "?27 +?16 -0",
6018 : "(?28 +?24 )/2",
6019 : "logwidth+0-?11 ",
6020 : "logwidth/2",
6021 : "?31 +?9 -0",
6022 : "max(?13 ,?23 )",
6023 : "min(?15 ,?24 )",
6024 : "logheight*?0 /50000",
6025 : "logheight+0-?35 ",
6026 : "logheight",
6027 : "logheight/2"
6028 : };
6029 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6030 : }
6031 : {
6032 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6033 : {
6034 0 : Sequence< PropertyValue > aPropSequence (4);
6035 : {
6036 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6037 : static const CustomShapeProvider::ParameterPairData aData =
6038 : {
6039 : EnhancedCustomShapeParameterType::NORMAL,
6040 : EnhancedCustomShapeParameterType::EQUATION,
6041 : 0, 2
6042 : };
6043 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6044 : }
6045 : {
6046 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6047 0 : EnhancedCustomShapeParameter aParameter;
6048 0 : Any aAny ((sal_Int32) 12500);
6049 0 : aParameter.Value = aAny;
6050 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6051 0 : aPropSequence [1].Value = makeAny (aParameter);
6052 : }
6053 : {
6054 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6055 0 : EnhancedCustomShapeParameter aParameter;
6056 0 : Any aAny ((sal_Int32) 0);
6057 0 : aParameter.Value = aAny;
6058 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6059 0 : aPropSequence [2].Value = makeAny (aParameter);
6060 : }
6061 : {
6062 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6063 0 : Any aAny ((sal_Int32) 0);
6064 0 : aPropSequence [3].Value = makeAny (aAny);
6065 : }
6066 0 : aPropSequenceSequence [0] = aPropSequence;
6067 : }
6068 : {
6069 0 : Sequence< PropertyValue > aPropSequence (4);
6070 : {
6071 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6072 : static const CustomShapeProvider::ParameterPairData aData =
6073 : {
6074 : EnhancedCustomShapeParameterType::EQUATION,
6075 : EnhancedCustomShapeParameterType::EQUATION,
6076 : 32, 37
6077 : };
6078 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6079 : }
6080 : {
6081 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6082 0 : EnhancedCustomShapeParameter aParameter;
6083 0 : Any aAny ((sal_Int32) 10000);
6084 0 : aParameter.Value = aAny;
6085 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6086 0 : aPropSequence [1].Value = makeAny (aParameter);
6087 : }
6088 : {
6089 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6090 0 : EnhancedCustomShapeParameter aParameter;
6091 0 : Any aAny ((sal_Int32) -10000);
6092 0 : aParameter.Value = aAny;
6093 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6094 0 : aPropSequence [2].Value = makeAny (aParameter);
6095 : }
6096 : {
6097 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6098 0 : Any aAny ((sal_Int32) 1);
6099 0 : aPropSequence [3].Value = makeAny (aAny);
6100 : }
6101 0 : aPropSequenceSequence [1] = aPropSequence;
6102 : }
6103 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6104 : }
6105 : {
6106 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6107 : }
6108 : {
6109 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6110 : }
6111 : {
6112 0 : Sequence< PropertyValue > aPropSequence (3);
6113 : {
6114 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6115 : static const CustomShapeProvider::ParameterPairData aData[] = {
6116 : {
6117 : EnhancedCustomShapeParameterType::EQUATION,
6118 : EnhancedCustomShapeParameterType::EQUATION,
6119 : 13, 2
6120 : },
6121 : {
6122 : EnhancedCustomShapeParameterType::EQUATION,
6123 : EnhancedCustomShapeParameterType::EQUATION,
6124 : 17, 4
6125 : },
6126 : {
6127 : EnhancedCustomShapeParameterType::EQUATION,
6128 : EnhancedCustomShapeParameterType::EQUATION,
6129 : 19, 5
6130 : },
6131 : {
6132 : EnhancedCustomShapeParameterType::EQUATION,
6133 : EnhancedCustomShapeParameterType::EQUATION,
6134 : 20, 2
6135 : },
6136 : {
6137 : EnhancedCustomShapeParameterType::EQUATION,
6138 : EnhancedCustomShapeParameterType::EQUATION,
6139 : 21, 4
6140 : },
6141 : {
6142 : EnhancedCustomShapeParameterType::EQUATION,
6143 : EnhancedCustomShapeParameterType::EQUATION,
6144 : 22, 5
6145 : },
6146 : {
6147 : EnhancedCustomShapeParameterType::EQUATION,
6148 : EnhancedCustomShapeParameterType::EQUATION,
6149 : 15, 2
6150 : },
6151 : {
6152 : EnhancedCustomShapeParameterType::EQUATION,
6153 : EnhancedCustomShapeParameterType::EQUATION,
6154 : 24, 6
6155 : },
6156 : {
6157 : EnhancedCustomShapeParameterType::EQUATION,
6158 : EnhancedCustomShapeParameterType::EQUATION,
6159 : 29, 8
6160 : },
6161 : {
6162 : EnhancedCustomShapeParameterType::EQUATION,
6163 : EnhancedCustomShapeParameterType::EQUATION,
6164 : 28, 7
6165 : },
6166 : {
6167 : EnhancedCustomShapeParameterType::EQUATION,
6168 : EnhancedCustomShapeParameterType::EQUATION,
6169 : 27, 6
6170 : },
6171 : {
6172 : EnhancedCustomShapeParameterType::EQUATION,
6173 : EnhancedCustomShapeParameterType::EQUATION,
6174 : 26, 8
6175 : },
6176 : {
6177 : EnhancedCustomShapeParameterType::EQUATION,
6178 : EnhancedCustomShapeParameterType::EQUATION,
6179 : 25, 7
6180 : },
6181 : {
6182 : EnhancedCustomShapeParameterType::EQUATION,
6183 : EnhancedCustomShapeParameterType::EQUATION,
6184 : 23, 6
6185 : }
6186 : };
6187 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6188 : }
6189 : {
6190 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6191 : static const sal_uInt16 nValues[] = {
6192 : // Command, Count
6193 : 1,1,
6194 : 3,2,
6195 : 2,1,
6196 : 3,2,
6197 : 4,0,
6198 : 5,0
6199 : };
6200 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6201 : }
6202 : {
6203 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6204 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6205 : {
6206 0 : EnhancedCustomShapeTextFrame aTextFrame;
6207 : {
6208 : static const CustomShapeProvider::ParameterPairData aData =
6209 : {
6210 : EnhancedCustomShapeParameterType::EQUATION,
6211 : EnhancedCustomShapeParameterType::EQUATION,
6212 : 33, 35
6213 : };
6214 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6215 : }
6216 : {
6217 : static const CustomShapeProvider::ParameterPairData aData =
6218 : {
6219 : EnhancedCustomShapeParameterType::EQUATION,
6220 : EnhancedCustomShapeParameterType::EQUATION,
6221 : 34, 36
6222 : };
6223 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6224 : }
6225 0 : aTextFrameSeq [0] = aTextFrame;
6226 : }
6227 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6228 : }
6229 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6230 : }
6231 : {
6232 0 : awt::Rectangle aRectangle;
6233 0 : aRectangle.X = 0;
6234 0 : aRectangle.Y = 0;
6235 0 : aRectangle.Width = 0;
6236 0 : aRectangle.Height = 0;
6237 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6238 : }
6239 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-doubleWave");
6240 :
6241 0 : return aPropertyMap;
6242 : }
6243 : };
6244 3 : class ShapeCbentArrow : public CustomShapeProvider
6245 : {
6246 0 : virtual PropertyMap getProperties()
6247 : {
6248 0 : PropertyMap aPropertyMap;
6249 :
6250 : {
6251 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (4);
6252 : {
6253 0 : Any aAny ((sal_Int32) 25000);
6254 0 : aAdjSequence [0].Value = aAny;
6255 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
6256 : }
6257 : {
6258 0 : Any aAny ((sal_Int32) 25000);
6259 0 : aAdjSequence [1].Value = aAny;
6260 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
6261 : }
6262 : {
6263 0 : Any aAny ((sal_Int32) 25000);
6264 0 : aAdjSequence [2].Value = aAny;
6265 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
6266 : }
6267 : {
6268 0 : Any aAny ((sal_Int32) 43750);
6269 0 : aAdjSequence [3].Value = aAny;
6270 0 : aAdjSequence [3].Name = CREATE_OUSTRING ("adj4");
6271 : }
6272 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6273 : }
6274 : {
6275 : static const char *aStrings[] = {
6276 : "if(0-$1 ,0,if(50000-$1 ,$1 ,50000))",
6277 : "?0 *2/1",
6278 : "if(0-$0 ,0,if(?1 -$0 ,$0 ,?1 ))",
6279 : "if(0-$2 ,0,if(50000-$2 ,$2 ,50000))",
6280 : "min(logwidth,logheight)",
6281 : "?4 *?2 /100000",
6282 : "?4 *?0 /100000",
6283 : "?5 *1/2",
6284 : "?6 +0-?7 ",
6285 : "?4 *?3 /100000",
6286 : "logwidth+0-?9 ",
6287 : "logheight+0-?8 ",
6288 : "min(?10 ,?11 )",
6289 : "100000*?12 /?4 ",
6290 : "if(0-$3 ,0,if(?13 -$3 ,$3 ,?13 ))",
6291 : "?4 *?14 /100000",
6292 : "?15 +0-?5 ",
6293 : "max(?16 ,0)",
6294 : "?5 +?17 -0",
6295 : "logwidth+0-?9 ",
6296 : "?8 +?5 -0",
6297 : "?20 +?8 -0",
6298 : "?8 +?15 -0",
6299 : "?20 +?17 -0",
6300 : "logheight",
6301 : "logwidth",
6302 : "(10800000)/60000.0",
6303 : "(5400000)/60000.0",
6304 : "(16200000)/60000.0",
6305 : "(-5400000)/60000.0"
6306 : };
6307 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6308 : }
6309 : {
6310 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (4);
6311 : {
6312 0 : Sequence< PropertyValue > aPropSequence (4);
6313 : {
6314 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6315 : static const CustomShapeProvider::ParameterPairData aData =
6316 : {
6317 : EnhancedCustomShapeParameterType::EQUATION,
6318 : EnhancedCustomShapeParameterType::EQUATION,
6319 : 5, 24
6320 : };
6321 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6322 : }
6323 : {
6324 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6325 0 : EnhancedCustomShapeParameter aParameter;
6326 0 : Any aAny ((sal_Int32) 1);
6327 0 : aParameter.Value = aAny;
6328 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6329 0 : aPropSequence [1].Value = makeAny (aParameter);
6330 : }
6331 : {
6332 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6333 0 : EnhancedCustomShapeParameter aParameter;
6334 0 : Any aAny ((sal_Int32) 0);
6335 0 : aParameter.Value = aAny;
6336 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6337 0 : aPropSequence [2].Value = makeAny (aParameter);
6338 : }
6339 : {
6340 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6341 0 : Any aAny ((sal_Int32) 0);
6342 0 : aPropSequence [3].Value = makeAny (aAny);
6343 : }
6344 0 : aPropSequenceSequence [0] = aPropSequence;
6345 : }
6346 : {
6347 0 : Sequence< PropertyValue > aPropSequence (4);
6348 : {
6349 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6350 : static const CustomShapeProvider::ParameterPairData aData =
6351 : {
6352 : EnhancedCustomShapeParameterType::EQUATION,
6353 : EnhancedCustomShapeParameterType::EQUATION,
6354 : 25, 21
6355 : };
6356 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6357 : }
6358 : {
6359 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6360 0 : EnhancedCustomShapeParameter aParameter;
6361 0 : Any aAny ((sal_Int32) 50000);
6362 0 : aParameter.Value = aAny;
6363 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6364 0 : aPropSequence [1].Value = makeAny (aParameter);
6365 : }
6366 : {
6367 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6368 0 : EnhancedCustomShapeParameter aParameter;
6369 0 : Any aAny ((sal_Int32) 0);
6370 0 : aParameter.Value = aAny;
6371 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6372 0 : aPropSequence [2].Value = makeAny (aParameter);
6373 : }
6374 : {
6375 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6376 0 : Any aAny ((sal_Int32) 1);
6377 0 : aPropSequence [3].Value = makeAny (aAny);
6378 : }
6379 0 : aPropSequenceSequence [1] = aPropSequence;
6380 : }
6381 : {
6382 0 : Sequence< PropertyValue > aPropSequence (4);
6383 : {
6384 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6385 : static const CustomShapeProvider::ParameterPairData aData =
6386 : {
6387 : EnhancedCustomShapeParameterType::EQUATION,
6388 : EnhancedCustomShapeParameterType::NORMAL,
6389 : 19, 0
6390 : };
6391 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6392 : }
6393 : {
6394 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6395 0 : EnhancedCustomShapeParameter aParameter;
6396 0 : Any aAny ((sal_Int32) 50000);
6397 0 : aParameter.Value = aAny;
6398 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6399 0 : aPropSequence [1].Value = makeAny (aParameter);
6400 : }
6401 : {
6402 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6403 0 : EnhancedCustomShapeParameter aParameter;
6404 0 : Any aAny ((sal_Int32) 0);
6405 0 : aParameter.Value = aAny;
6406 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6407 0 : aPropSequence [2].Value = makeAny (aParameter);
6408 : }
6409 : {
6410 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6411 0 : Any aAny ((sal_Int32) 2);
6412 0 : aPropSequence [3].Value = makeAny (aAny);
6413 : }
6414 0 : aPropSequenceSequence [2] = aPropSequence;
6415 : }
6416 : {
6417 0 : Sequence< PropertyValue > aPropSequence (4);
6418 : {
6419 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6420 : static const CustomShapeProvider::ParameterPairData aData =
6421 : {
6422 : EnhancedCustomShapeParameterType::EQUATION,
6423 : EnhancedCustomShapeParameterType::NORMAL,
6424 : 15, 0
6425 : };
6426 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6427 : }
6428 : {
6429 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6430 0 : EnhancedCustomShapeParameter aParameter;
6431 0 : Any aAny ((sal_Int32) 13);
6432 0 : aParameter.Value = aAny;
6433 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6434 0 : aPropSequence [1].Value = makeAny (aParameter);
6435 : }
6436 : {
6437 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6438 0 : EnhancedCustomShapeParameter aParameter;
6439 0 : Any aAny ((sal_Int32) 0);
6440 0 : aParameter.Value = aAny;
6441 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6442 0 : aPropSequence [2].Value = makeAny (aParameter);
6443 : }
6444 : {
6445 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6446 0 : Any aAny ((sal_Int32) 3);
6447 0 : aPropSequence [3].Value = makeAny (aAny);
6448 : }
6449 0 : aPropSequenceSequence [3] = aPropSequence;
6450 : }
6451 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6452 : }
6453 : {
6454 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6455 : }
6456 : {
6457 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6458 : }
6459 : {
6460 0 : Sequence< PropertyValue > aPropSequence (3);
6461 : {
6462 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6463 : static const CustomShapeProvider::ParameterPairData aData[] = {
6464 : {
6465 : EnhancedCustomShapeParameterType::NORMAL,
6466 : EnhancedCustomShapeParameterType::EQUATION,
6467 : 0, 24
6468 : },
6469 : {
6470 : EnhancedCustomShapeParameterType::NORMAL,
6471 : EnhancedCustomShapeParameterType::EQUATION,
6472 : 0, 22
6473 : },
6474 : {
6475 : EnhancedCustomShapeParameterType::EQUATION,
6476 : EnhancedCustomShapeParameterType::EQUATION,
6477 : 15, 15
6478 : },
6479 : {
6480 : EnhancedCustomShapeParameterType::EQUATION,
6481 : EnhancedCustomShapeParameterType::EQUATION,
6482 : 26, 27
6483 : },
6484 : {
6485 : EnhancedCustomShapeParameterType::EQUATION,
6486 : EnhancedCustomShapeParameterType::EQUATION,
6487 : 19, 8
6488 : },
6489 : {
6490 : EnhancedCustomShapeParameterType::EQUATION,
6491 : EnhancedCustomShapeParameterType::NORMAL,
6492 : 19, 0
6493 : },
6494 : {
6495 : EnhancedCustomShapeParameterType::EQUATION,
6496 : EnhancedCustomShapeParameterType::EQUATION,
6497 : 25, 6
6498 : },
6499 : {
6500 : EnhancedCustomShapeParameterType::EQUATION,
6501 : EnhancedCustomShapeParameterType::EQUATION,
6502 : 19, 21
6503 : },
6504 : {
6505 : EnhancedCustomShapeParameterType::EQUATION,
6506 : EnhancedCustomShapeParameterType::EQUATION,
6507 : 19, 20
6508 : },
6509 : {
6510 : EnhancedCustomShapeParameterType::EQUATION,
6511 : EnhancedCustomShapeParameterType::EQUATION,
6512 : 18, 20
6513 : },
6514 : {
6515 : EnhancedCustomShapeParameterType::EQUATION,
6516 : EnhancedCustomShapeParameterType::EQUATION,
6517 : 17, 17
6518 : },
6519 : {
6520 : EnhancedCustomShapeParameterType::EQUATION,
6521 : EnhancedCustomShapeParameterType::EQUATION,
6522 : 28, 29
6523 : },
6524 : {
6525 : EnhancedCustomShapeParameterType::EQUATION,
6526 : EnhancedCustomShapeParameterType::EQUATION,
6527 : 5, 24
6528 : }
6529 : };
6530 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6531 : }
6532 : {
6533 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6534 : static const sal_uInt16 nValues[] = {
6535 : // Command, Count
6536 : 1,1,
6537 : 2,1,
6538 : 17,1,
6539 : 2,6,
6540 : 17,1,
6541 : 2,1,
6542 : 4,0,
6543 : 5,0
6544 : };
6545 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6546 : }
6547 : {
6548 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6549 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6550 : {
6551 0 : EnhancedCustomShapeTextFrame aTextFrame;
6552 : {
6553 : static const CustomShapeProvider::ParameterPairData aData =
6554 : {
6555 : EnhancedCustomShapeParameterType::NORMAL,
6556 : EnhancedCustomShapeParameterType::NORMAL,
6557 : 0, 0
6558 : };
6559 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6560 : }
6561 : {
6562 : static const CustomShapeProvider::ParameterPairData aData =
6563 : {
6564 : EnhancedCustomShapeParameterType::EQUATION,
6565 : EnhancedCustomShapeParameterType::EQUATION,
6566 : 25, 24
6567 : };
6568 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6569 : }
6570 0 : aTextFrameSeq [0] = aTextFrame;
6571 : }
6572 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6573 : }
6574 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6575 : }
6576 : {
6577 0 : awt::Rectangle aRectangle;
6578 0 : aRectangle.X = 0;
6579 0 : aRectangle.Y = 0;
6580 0 : aRectangle.Width = 0;
6581 0 : aRectangle.Height = 0;
6582 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6583 : }
6584 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentArrow");
6585 :
6586 0 : return aPropertyMap;
6587 : }
6588 : };
6589 3 : class ShapeCstar10 : public CustomShapeProvider
6590 : {
6591 0 : virtual PropertyMap getProperties()
6592 : {
6593 0 : PropertyMap aPropertyMap;
6594 :
6595 : {
6596 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6597 : {
6598 0 : Any aAny ((sal_Int32) 42533);
6599 0 : aAdjSequence [0].Value = aAny;
6600 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
6601 : }
6602 : {
6603 0 : Any aAny ((sal_Int32) 105146);
6604 0 : aAdjSequence [1].Value = aAny;
6605 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("hf");
6606 : }
6607 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6608 : }
6609 : {
6610 : static const char *aStrings[] = {
6611 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
6612 : "logwidth/2",
6613 : "?1 *$1 /100000",
6614 : "?2 *95106/100000",
6615 : "?2 *58779/100000",
6616 : "logwidth/2",
6617 : "?5 +0-?3 ",
6618 : "?5 +0-?4 ",
6619 : "?5 +?4 -0",
6620 : "?5 +?3 -0",
6621 : "logheight/2",
6622 : "?10 *80902/100000",
6623 : "?10 *30902/100000",
6624 : "logheight/2",
6625 : "?13 +0-?11 ",
6626 : "?13 +0-?12 ",
6627 : "?13 +?12 -0",
6628 : "?13 +?11 -0",
6629 : "?2 *?0 /50000",
6630 : "?10 *?0 /50000",
6631 : "?18 *80902/100000",
6632 : "?18 *30902/100000",
6633 : "?19 *95106/100000",
6634 : "?19 *58779/100000",
6635 : "?5 +0-?18 ",
6636 : "?5 +0-?20 ",
6637 : "?5 +0-?21 ",
6638 : "?5 +?21 -0",
6639 : "?5 +?20 -0",
6640 : "?5 +?18 -0",
6641 : "?13 +0-?22 ",
6642 : "?13 +0-?23 ",
6643 : "?13 +?23 -0",
6644 : "?13 +?22 -0",
6645 : "?13 +0-?19 ",
6646 : "logheight"
6647 : };
6648 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6649 : }
6650 : {
6651 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
6652 : {
6653 0 : Sequence< PropertyValue > aPropSequence (4);
6654 : {
6655 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6656 : static const CustomShapeProvider::ParameterPairData aData =
6657 : {
6658 : EnhancedCustomShapeParameterType::EQUATION,
6659 : EnhancedCustomShapeParameterType::EQUATION,
6660 : 5, 34
6661 : };
6662 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6663 : }
6664 : {
6665 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6666 0 : EnhancedCustomShapeParameter aParameter;
6667 0 : Any aAny ((sal_Int32) 50000);
6668 0 : aParameter.Value = aAny;
6669 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6670 0 : aPropSequence [1].Value = makeAny (aParameter);
6671 : }
6672 : {
6673 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6674 0 : EnhancedCustomShapeParameter aParameter;
6675 0 : Any aAny ((sal_Int32) 0);
6676 0 : aParameter.Value = aAny;
6677 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6678 0 : aPropSequence [2].Value = makeAny (aParameter);
6679 : }
6680 : {
6681 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6682 0 : Any aAny ((sal_Int32) 0);
6683 0 : aPropSequence [3].Value = makeAny (aAny);
6684 : }
6685 0 : aPropSequenceSequence [0] = aPropSequence;
6686 : }
6687 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6688 : }
6689 : {
6690 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6691 : }
6692 : {
6693 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6694 : }
6695 : {
6696 0 : Sequence< PropertyValue > aPropSequence (3);
6697 : {
6698 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6699 : static const CustomShapeProvider::ParameterPairData aData[] = {
6700 : {
6701 : EnhancedCustomShapeParameterType::EQUATION,
6702 : EnhancedCustomShapeParameterType::EQUATION,
6703 : 6, 15
6704 : },
6705 : {
6706 : EnhancedCustomShapeParameterType::EQUATION,
6707 : EnhancedCustomShapeParameterType::EQUATION,
6708 : 25, 31
6709 : },
6710 : {
6711 : EnhancedCustomShapeParameterType::EQUATION,
6712 : EnhancedCustomShapeParameterType::EQUATION,
6713 : 7, 14
6714 : },
6715 : {
6716 : EnhancedCustomShapeParameterType::EQUATION,
6717 : EnhancedCustomShapeParameterType::EQUATION,
6718 : 26, 30
6719 : },
6720 : {
6721 : EnhancedCustomShapeParameterType::EQUATION,
6722 : EnhancedCustomShapeParameterType::NORMAL,
6723 : 5, 0
6724 : },
6725 : {
6726 : EnhancedCustomShapeParameterType::EQUATION,
6727 : EnhancedCustomShapeParameterType::EQUATION,
6728 : 27, 30
6729 : },
6730 : {
6731 : EnhancedCustomShapeParameterType::EQUATION,
6732 : EnhancedCustomShapeParameterType::EQUATION,
6733 : 8, 14
6734 : },
6735 : {
6736 : EnhancedCustomShapeParameterType::EQUATION,
6737 : EnhancedCustomShapeParameterType::EQUATION,
6738 : 28, 31
6739 : },
6740 : {
6741 : EnhancedCustomShapeParameterType::EQUATION,
6742 : EnhancedCustomShapeParameterType::EQUATION,
6743 : 9, 15
6744 : },
6745 : {
6746 : EnhancedCustomShapeParameterType::EQUATION,
6747 : EnhancedCustomShapeParameterType::EQUATION,
6748 : 29, 13
6749 : },
6750 : {
6751 : EnhancedCustomShapeParameterType::EQUATION,
6752 : EnhancedCustomShapeParameterType::EQUATION,
6753 : 9, 16
6754 : },
6755 : {
6756 : EnhancedCustomShapeParameterType::EQUATION,
6757 : EnhancedCustomShapeParameterType::EQUATION,
6758 : 28, 32
6759 : },
6760 : {
6761 : EnhancedCustomShapeParameterType::EQUATION,
6762 : EnhancedCustomShapeParameterType::EQUATION,
6763 : 8, 17
6764 : },
6765 : {
6766 : EnhancedCustomShapeParameterType::EQUATION,
6767 : EnhancedCustomShapeParameterType::EQUATION,
6768 : 27, 33
6769 : },
6770 : {
6771 : EnhancedCustomShapeParameterType::EQUATION,
6772 : EnhancedCustomShapeParameterType::EQUATION,
6773 : 5, 35
6774 : },
6775 : {
6776 : EnhancedCustomShapeParameterType::EQUATION,
6777 : EnhancedCustomShapeParameterType::EQUATION,
6778 : 26, 33
6779 : },
6780 : {
6781 : EnhancedCustomShapeParameterType::EQUATION,
6782 : EnhancedCustomShapeParameterType::EQUATION,
6783 : 7, 17
6784 : },
6785 : {
6786 : EnhancedCustomShapeParameterType::EQUATION,
6787 : EnhancedCustomShapeParameterType::EQUATION,
6788 : 25, 32
6789 : },
6790 : {
6791 : EnhancedCustomShapeParameterType::EQUATION,
6792 : EnhancedCustomShapeParameterType::EQUATION,
6793 : 6, 16
6794 : },
6795 : {
6796 : EnhancedCustomShapeParameterType::EQUATION,
6797 : EnhancedCustomShapeParameterType::EQUATION,
6798 : 24, 13
6799 : }
6800 : };
6801 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
6802 : }
6803 : {
6804 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
6805 : static const sal_uInt16 nValues[] = {
6806 : // Command, Count
6807 : 1,1,
6808 : 2,19,
6809 : 4,0,
6810 : 5,0
6811 : };
6812 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
6813 : }
6814 : {
6815 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
6816 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
6817 : {
6818 0 : EnhancedCustomShapeTextFrame aTextFrame;
6819 : {
6820 : static const CustomShapeProvider::ParameterPairData aData =
6821 : {
6822 : EnhancedCustomShapeParameterType::EQUATION,
6823 : EnhancedCustomShapeParameterType::EQUATION,
6824 : 25, 31
6825 : };
6826 0 : aTextFrame.TopLeft = createParameterPair(&aData);
6827 : }
6828 : {
6829 : static const CustomShapeProvider::ParameterPairData aData =
6830 : {
6831 : EnhancedCustomShapeParameterType::EQUATION,
6832 : EnhancedCustomShapeParameterType::EQUATION,
6833 : 28, 32
6834 : };
6835 0 : aTextFrame.BottomRight = createParameterPair(&aData);
6836 : }
6837 0 : aTextFrameSeq [0] = aTextFrame;
6838 : }
6839 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
6840 : }
6841 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
6842 : }
6843 : {
6844 0 : awt::Rectangle aRectangle;
6845 0 : aRectangle.X = 0;
6846 0 : aRectangle.Y = 0;
6847 0 : aRectangle.Width = 0;
6848 0 : aRectangle.Height = 0;
6849 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
6850 : }
6851 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star10");
6852 :
6853 0 : return aPropertyMap;
6854 : }
6855 : };
6856 3 : class ShapeCleftArrow : public CustomShapeProvider
6857 : {
6858 0 : virtual PropertyMap getProperties()
6859 : {
6860 0 : PropertyMap aPropertyMap;
6861 :
6862 : {
6863 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (2);
6864 : {
6865 0 : Any aAny ((sal_Int32) 50000);
6866 0 : aAdjSequence [0].Value = aAny;
6867 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
6868 : }
6869 : {
6870 0 : Any aAny ((sal_Int32) 50000);
6871 0 : aAdjSequence [1].Value = aAny;
6872 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
6873 : }
6874 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
6875 : }
6876 : {
6877 : static const char *aStrings[] = {
6878 : "min(logwidth,logheight)",
6879 : "100000*logwidth/?0 ",
6880 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
6881 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
6882 : "?0 *?3 /100000",
6883 : "0+?4 -0",
6884 : "logheight*?2 /200000",
6885 : "logheight/2",
6886 : "?7 +0-?6 ",
6887 : "?7 +?6 -0",
6888 : "logheight/2",
6889 : "?8 *?4 /?10 ",
6890 : "?5 +0-?11 ",
6891 : "logwidth",
6892 : "logheight"
6893 : };
6894 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
6895 : }
6896 : {
6897 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (2);
6898 : {
6899 0 : Sequence< PropertyValue > aPropSequence (4);
6900 : {
6901 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6902 : static const CustomShapeProvider::ParameterPairData aData =
6903 : {
6904 : EnhancedCustomShapeParameterType::EQUATION,
6905 : EnhancedCustomShapeParameterType::EQUATION,
6906 : 13, 8
6907 : };
6908 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6909 : }
6910 : {
6911 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
6912 0 : EnhancedCustomShapeParameter aParameter;
6913 0 : Any aAny ((sal_Int32) 100000);
6914 0 : aParameter.Value = aAny;
6915 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6916 0 : aPropSequence [1].Value = makeAny (aParameter);
6917 : }
6918 : {
6919 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
6920 0 : EnhancedCustomShapeParameter aParameter;
6921 0 : Any aAny ((sal_Int32) 0);
6922 0 : aParameter.Value = aAny;
6923 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6924 0 : aPropSequence [2].Value = makeAny (aParameter);
6925 : }
6926 : {
6927 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
6928 0 : Any aAny ((sal_Int32) 0);
6929 0 : aPropSequence [3].Value = makeAny (aAny);
6930 : }
6931 0 : aPropSequenceSequence [0] = aPropSequence;
6932 : }
6933 : {
6934 0 : Sequence< PropertyValue > aPropSequence (4);
6935 : {
6936 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
6937 : static const CustomShapeProvider::ParameterPairData aData =
6938 : {
6939 : EnhancedCustomShapeParameterType::EQUATION,
6940 : EnhancedCustomShapeParameterType::NORMAL,
6941 : 5, 0
6942 : };
6943 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
6944 : }
6945 : {
6946 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
6947 0 : EnhancedCustomShapeParameter aParameter;
6948 0 : Any aAny ((sal_Int32) 1);
6949 0 : aParameter.Value = aAny;
6950 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
6951 0 : aPropSequence [1].Value = makeAny (aParameter);
6952 : }
6953 : {
6954 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
6955 0 : EnhancedCustomShapeParameter aParameter;
6956 0 : Any aAny ((sal_Int32) 0);
6957 0 : aParameter.Value = aAny;
6958 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
6959 0 : aPropSequence [2].Value = makeAny (aParameter);
6960 : }
6961 : {
6962 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
6963 0 : Any aAny ((sal_Int32) 1);
6964 0 : aPropSequence [3].Value = makeAny (aAny);
6965 : }
6966 0 : aPropSequenceSequence [1] = aPropSequence;
6967 : }
6968 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
6969 : }
6970 : {
6971 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
6972 : }
6973 : {
6974 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
6975 : }
6976 : {
6977 0 : Sequence< PropertyValue > aPropSequence (3);
6978 : {
6979 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
6980 : static const CustomShapeProvider::ParameterPairData aData[] = {
6981 : {
6982 : EnhancedCustomShapeParameterType::NORMAL,
6983 : EnhancedCustomShapeParameterType::EQUATION,
6984 : 0, 7
6985 : },
6986 : {
6987 : EnhancedCustomShapeParameterType::EQUATION,
6988 : EnhancedCustomShapeParameterType::NORMAL,
6989 : 5, 0
6990 : },
6991 : {
6992 : EnhancedCustomShapeParameterType::EQUATION,
6993 : EnhancedCustomShapeParameterType::EQUATION,
6994 : 5, 8
6995 : },
6996 : {
6997 : EnhancedCustomShapeParameterType::EQUATION,
6998 : EnhancedCustomShapeParameterType::EQUATION,
6999 : 13, 8
7000 : },
7001 : {
7002 : EnhancedCustomShapeParameterType::EQUATION,
7003 : EnhancedCustomShapeParameterType::EQUATION,
7004 : 13, 9
7005 : },
7006 : {
7007 : EnhancedCustomShapeParameterType::EQUATION,
7008 : EnhancedCustomShapeParameterType::EQUATION,
7009 : 5, 9
7010 : },
7011 : {
7012 : EnhancedCustomShapeParameterType::EQUATION,
7013 : EnhancedCustomShapeParameterType::EQUATION,
7014 : 5, 14
7015 : }
7016 : };
7017 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7018 : }
7019 : {
7020 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
7021 : static const sal_uInt16 nValues[] = {
7022 : // Command, Count
7023 : 1,1,
7024 : 2,6,
7025 : 4,0,
7026 : 5,0
7027 : };
7028 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7029 : }
7030 : {
7031 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
7032 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7033 : {
7034 0 : EnhancedCustomShapeTextFrame aTextFrame;
7035 : {
7036 : static const CustomShapeProvider::ParameterPairData aData =
7037 : {
7038 : EnhancedCustomShapeParameterType::EQUATION,
7039 : EnhancedCustomShapeParameterType::EQUATION,
7040 : 12, 8
7041 : };
7042 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7043 : }
7044 : {
7045 : static const CustomShapeProvider::ParameterPairData aData =
7046 : {
7047 : EnhancedCustomShapeParameterType::EQUATION,
7048 : EnhancedCustomShapeParameterType::EQUATION,
7049 : 13, 9
7050 : };
7051 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7052 : }
7053 0 : aTextFrameSeq [0] = aTextFrame;
7054 : }
7055 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7056 : }
7057 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7058 : }
7059 : {
7060 0 : awt::Rectangle aRectangle;
7061 0 : aRectangle.X = 0;
7062 0 : aRectangle.Y = 0;
7063 0 : aRectangle.Width = 0;
7064 0 : aRectangle.Height = 0;
7065 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7066 : }
7067 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftArrow");
7068 :
7069 0 : return aPropertyMap;
7070 : }
7071 : };
7072 3 : class ShapeCcurvedUpArrow : public CustomShapeProvider
7073 : {
7074 0 : virtual PropertyMap getProperties()
7075 : {
7076 0 : PropertyMap aPropertyMap;
7077 :
7078 : {
7079 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
7080 : {
7081 0 : Any aAny ((sal_Int32) 25000);
7082 0 : aAdjSequence [0].Value = aAny;
7083 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
7084 : }
7085 : {
7086 0 : Any aAny ((sal_Int32) 50000);
7087 0 : aAdjSequence [1].Value = aAny;
7088 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
7089 : }
7090 : {
7091 0 : Any aAny ((sal_Int32) 25000);
7092 0 : aAdjSequence [2].Value = aAny;
7093 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
7094 : }
7095 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7096 : }
7097 : {
7098 : static const char *aStrings[] = {
7099 : "min(logwidth,logheight)",
7100 : "50000*logwidth/?0 ",
7101 : "if(0-$1 ,0,if(?1 -$1 ,$1 ,?1 ))",
7102 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
7103 : "?0 *?3 /100000",
7104 : "?0 *?2 /100000",
7105 : "(?4 +?5 )/4",
7106 : "logwidth/2",
7107 : "?7 +0-?6 ",
7108 : "?8 *2/1",
7109 : "?9 *?9 /1",
7110 : "?4 *?4 /1",
7111 : "?10 +0-?11 ",
7112 : "sqrt(?12 )",
7113 : "?13 *logheight/?9 ",
7114 : "100000*?14 /?0 ",
7115 : "if(0-$2 ,0,if(?15 -$2 ,$2 ,?15 ))",
7116 : "?0 *$2 /100000",
7117 : "?8 +?4 -0",
7118 : "logheight*logheight/1",
7119 : "?17 *?17 /1",
7120 : "?19 +0-?20 ",
7121 : "sqrt(?21 )",
7122 : "?22 *?8 /logheight",
7123 : "?8 +?23 -0",
7124 : "?18 +?23 -0",
7125 : "?5 +0-?4 ",
7126 : "?26 *1/2",
7127 : "?24 +0-?27 ",
7128 : "?25 +?27 -0",
7129 : "?5 *1/2",
7130 : "logwidth+0-?30 ",
7131 : "0+?17 -0",
7132 : "(10800000*atan2(?23 ,?17 ))/pi",
7133 : "0+0-?33 ",
7134 : "0+?14 -0",
7135 : "(?8 +?18 )/2",
7136 : "?4 *1/2",
7137 : "(10800000*atan2(?37 ,?14 ))/pi",
7138 : "?38 +0-?33 ",
7139 : "0+0-?39 ",
7140 : "5400000+0-?33 ",
7141 : "?33 +?38 -0",
7142 : "5400000+0-?38 ",
7143 : "logwidth",
7144 : "logheight",
7145 : "logheight",
7146 : "(?41 )/60000.0",
7147 : "(?42 )/60000.0",
7148 : "(?43 )/60000.0",
7149 : "(?39 )/60000.0",
7150 : "(5400000)/60000.0",
7151 : "(5400000)/60000.0",
7152 : "(10800000)/60000.0",
7153 : "(-5400000)/60000.0",
7154 : "(?43 )/60000.0",
7155 : "(?39 )/60000.0",
7156 : "(?41 )/60000.0",
7157 : "(?33 )/60000.0",
7158 : "(5400000)/60000.0",
7159 : "(5400000)/60000.0",
7160 : "(10800000)/60000.0",
7161 : "(-5400000)/60000.0"
7162 : };
7163 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7164 : }
7165 : {
7166 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
7167 : {
7168 0 : Sequence< PropertyValue > aPropSequence (4);
7169 : {
7170 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7171 : static const CustomShapeProvider::ParameterPairData aData =
7172 : {
7173 : EnhancedCustomShapeParameterType::EQUATION,
7174 : EnhancedCustomShapeParameterType::EQUATION,
7175 : 25, 32
7176 : };
7177 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7178 : }
7179 : {
7180 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
7181 0 : EnhancedCustomShapeParameter aParameter;
7182 0 : Any aAny ((sal_Int32) 2);
7183 0 : aParameter.Value = aAny;
7184 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7185 0 : aPropSequence [1].Value = makeAny (aParameter);
7186 : }
7187 : {
7188 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
7189 0 : EnhancedCustomShapeParameter aParameter;
7190 0 : Any aAny ((sal_Int32) 0);
7191 0 : aParameter.Value = aAny;
7192 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7193 0 : aPropSequence [2].Value = makeAny (aParameter);
7194 : }
7195 : {
7196 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
7197 0 : Any aAny ((sal_Int32) 0);
7198 0 : aPropSequence [3].Value = makeAny (aAny);
7199 : }
7200 0 : aPropSequenceSequence [0] = aPropSequence;
7201 : }
7202 : {
7203 0 : Sequence< PropertyValue > aPropSequence (4);
7204 : {
7205 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7206 : static const CustomShapeProvider::ParameterPairData aData =
7207 : {
7208 : EnhancedCustomShapeParameterType::EQUATION,
7209 : EnhancedCustomShapeParameterType::NORMAL,
7210 : 28, 0
7211 : };
7212 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7213 : }
7214 : {
7215 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
7216 0 : EnhancedCustomShapeParameter aParameter;
7217 0 : Any aAny ((sal_Int32) 1);
7218 0 : aParameter.Value = aAny;
7219 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7220 0 : aPropSequence [1].Value = makeAny (aParameter);
7221 : }
7222 : {
7223 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
7224 0 : EnhancedCustomShapeParameter aParameter;
7225 0 : Any aAny ((sal_Int32) 0);
7226 0 : aParameter.Value = aAny;
7227 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7228 0 : aPropSequence [2].Value = makeAny (aParameter);
7229 : }
7230 : {
7231 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
7232 0 : Any aAny ((sal_Int32) 1);
7233 0 : aPropSequence [3].Value = makeAny (aAny);
7234 : }
7235 0 : aPropSequenceSequence [1] = aPropSequence;
7236 : }
7237 : {
7238 0 : Sequence< PropertyValue > aPropSequence (4);
7239 : {
7240 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7241 : static const CustomShapeProvider::ParameterPairData aData =
7242 : {
7243 : EnhancedCustomShapeParameterType::EQUATION,
7244 : EnhancedCustomShapeParameterType::EQUATION,
7245 : 44, 32
7246 : };
7247 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7248 : }
7249 : {
7250 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
7251 0 : EnhancedCustomShapeParameter aParameter;
7252 0 : Any aAny ((sal_Int32) 15);
7253 0 : aParameter.Value = aAny;
7254 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7255 0 : aPropSequence [1].Value = makeAny (aParameter);
7256 : }
7257 : {
7258 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
7259 0 : EnhancedCustomShapeParameter aParameter;
7260 0 : Any aAny ((sal_Int32) 0);
7261 0 : aParameter.Value = aAny;
7262 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7263 0 : aPropSequence [2].Value = makeAny (aParameter);
7264 : }
7265 : {
7266 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
7267 0 : Any aAny ((sal_Int32) 2);
7268 0 : aPropSequence [3].Value = makeAny (aAny);
7269 : }
7270 0 : aPropSequenceSequence [2] = aPropSequence;
7271 : }
7272 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7273 : }
7274 : {
7275 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7276 : }
7277 : {
7278 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7279 : }
7280 : {
7281 0 : Sequence< PropertyValue > aPropSequence (3);
7282 : {
7283 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
7284 : static const CustomShapeProvider::ParameterPairData aData[] = {
7285 : {
7286 : EnhancedCustomShapeParameterType::EQUATION,
7287 : EnhancedCustomShapeParameterType::NORMAL,
7288 : 31, 0
7289 : },
7290 : {
7291 : EnhancedCustomShapeParameterType::EQUATION,
7292 : EnhancedCustomShapeParameterType::EQUATION,
7293 : 29, 32
7294 : },
7295 : {
7296 : EnhancedCustomShapeParameterType::EQUATION,
7297 : EnhancedCustomShapeParameterType::EQUATION,
7298 : 25, 32
7299 : },
7300 : {
7301 : EnhancedCustomShapeParameterType::EQUATION,
7302 : EnhancedCustomShapeParameterType::EQUATION,
7303 : 8, 46
7304 : },
7305 : {
7306 : EnhancedCustomShapeParameterType::EQUATION,
7307 : EnhancedCustomShapeParameterType::EQUATION,
7308 : 47, 48
7309 : },
7310 : {
7311 : EnhancedCustomShapeParameterType::EQUATION,
7312 : EnhancedCustomShapeParameterType::EQUATION,
7313 : 8, 46
7314 : },
7315 : {
7316 : EnhancedCustomShapeParameterType::EQUATION,
7317 : EnhancedCustomShapeParameterType::EQUATION,
7318 : 49, 50
7319 : },
7320 : {
7321 : EnhancedCustomShapeParameterType::EQUATION,
7322 : EnhancedCustomShapeParameterType::EQUATION,
7323 : 28, 32
7324 : },
7325 : {
7326 : EnhancedCustomShapeParameterType::EQUATION,
7327 : EnhancedCustomShapeParameterType::EQUATION,
7328 : 8, 45
7329 : },
7330 : {
7331 : EnhancedCustomShapeParameterType::EQUATION,
7332 : EnhancedCustomShapeParameterType::EQUATION,
7333 : 8, 46
7334 : },
7335 : {
7336 : EnhancedCustomShapeParameterType::EQUATION,
7337 : EnhancedCustomShapeParameterType::EQUATION,
7338 : 51, 52
7339 : },
7340 : {
7341 : EnhancedCustomShapeParameterType::EQUATION,
7342 : EnhancedCustomShapeParameterType::NORMAL,
7343 : 4, 0
7344 : },
7345 : {
7346 : EnhancedCustomShapeParameterType::EQUATION,
7347 : EnhancedCustomShapeParameterType::EQUATION,
7348 : 8, 46
7349 : },
7350 : {
7351 : EnhancedCustomShapeParameterType::EQUATION,
7352 : EnhancedCustomShapeParameterType::EQUATION,
7353 : 53, 54
7354 : },
7355 : {
7356 : EnhancedCustomShapeParameterType::EQUATION,
7357 : EnhancedCustomShapeParameterType::EQUATION,
7358 : 36, 35
7359 : },
7360 : {
7361 : EnhancedCustomShapeParameterType::EQUATION,
7362 : EnhancedCustomShapeParameterType::EQUATION,
7363 : 8, 46
7364 : },
7365 : {
7366 : EnhancedCustomShapeParameterType::EQUATION,
7367 : EnhancedCustomShapeParameterType::EQUATION,
7368 : 55, 56
7369 : },
7370 : {
7371 : EnhancedCustomShapeParameterType::EQUATION,
7372 : EnhancedCustomShapeParameterType::EQUATION,
7373 : 28, 32
7374 : },
7375 : {
7376 : EnhancedCustomShapeParameterType::EQUATION,
7377 : EnhancedCustomShapeParameterType::NORMAL,
7378 : 31, 0
7379 : },
7380 : {
7381 : EnhancedCustomShapeParameterType::EQUATION,
7382 : EnhancedCustomShapeParameterType::EQUATION,
7383 : 29, 32
7384 : },
7385 : {
7386 : EnhancedCustomShapeParameterType::EQUATION,
7387 : EnhancedCustomShapeParameterType::EQUATION,
7388 : 25, 32
7389 : },
7390 : {
7391 : EnhancedCustomShapeParameterType::EQUATION,
7392 : EnhancedCustomShapeParameterType::EQUATION,
7393 : 8, 46
7394 : },
7395 : {
7396 : EnhancedCustomShapeParameterType::EQUATION,
7397 : EnhancedCustomShapeParameterType::EQUATION,
7398 : 57, 58
7399 : },
7400 : {
7401 : EnhancedCustomShapeParameterType::EQUATION,
7402 : EnhancedCustomShapeParameterType::EQUATION,
7403 : 8, 45
7404 : },
7405 : {
7406 : EnhancedCustomShapeParameterType::EQUATION,
7407 : EnhancedCustomShapeParameterType::EQUATION,
7408 : 8, 46
7409 : },
7410 : {
7411 : EnhancedCustomShapeParameterType::EQUATION,
7412 : EnhancedCustomShapeParameterType::EQUATION,
7413 : 59, 60
7414 : },
7415 : {
7416 : EnhancedCustomShapeParameterType::EQUATION,
7417 : EnhancedCustomShapeParameterType::NORMAL,
7418 : 4, 0
7419 : },
7420 : {
7421 : EnhancedCustomShapeParameterType::EQUATION,
7422 : EnhancedCustomShapeParameterType::EQUATION,
7423 : 8, 46
7424 : },
7425 : {
7426 : EnhancedCustomShapeParameterType::EQUATION,
7427 : EnhancedCustomShapeParameterType::EQUATION,
7428 : 61, 62
7429 : }
7430 : };
7431 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7432 : }
7433 : {
7434 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
7435 : static const sal_uInt16 nValues[] = {
7436 : // Command, Count
7437 : 1,1,
7438 : 2,2,
7439 : 17,2,
7440 : 2,1,
7441 : 4,0,
7442 : 7,0,
7443 : 5,0,
7444 : 1,1,
7445 : 17,1,
7446 : 2,1,
7447 : 17,1,
7448 : 4,0,
7449 : 19,0,
7450 : 7,0,
7451 : 5,0,
7452 : 1,1,
7453 : 17,1,
7454 : 2,4,
7455 : 17,1,
7456 : 2,1,
7457 : 17,1,
7458 : 2,1,
7459 : 17,1,
7460 : 6,0,
7461 : 5,0
7462 : };
7463 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7464 : }
7465 : {
7466 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
7467 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7468 : {
7469 0 : EnhancedCustomShapeTextFrame aTextFrame;
7470 : {
7471 : static const CustomShapeProvider::ParameterPairData aData =
7472 : {
7473 : EnhancedCustomShapeParameterType::NORMAL,
7474 : EnhancedCustomShapeParameterType::NORMAL,
7475 : 0, 0
7476 : };
7477 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7478 : }
7479 : {
7480 : static const CustomShapeProvider::ParameterPairData aData =
7481 : {
7482 : EnhancedCustomShapeParameterType::EQUATION,
7483 : EnhancedCustomShapeParameterType::EQUATION,
7484 : 44, 45
7485 : };
7486 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7487 : }
7488 0 : aTextFrameSeq [0] = aTextFrame;
7489 : }
7490 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7491 : }
7492 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7493 : }
7494 : {
7495 0 : awt::Rectangle aRectangle;
7496 0 : aRectangle.X = 0;
7497 0 : aRectangle.Y = 0;
7498 0 : aRectangle.Width = 0;
7499 0 : aRectangle.Height = 0;
7500 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7501 : }
7502 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedUpArrow");
7503 :
7504 0 : return aPropertyMap;
7505 : }
7506 : };
7507 3 : class ShapeCsnip1Rect : public CustomShapeProvider
7508 : {
7509 0 : virtual PropertyMap getProperties()
7510 : {
7511 0 : PropertyMap aPropertyMap;
7512 :
7513 : {
7514 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
7515 : {
7516 0 : Any aAny ((sal_Int32) 16667);
7517 0 : aAdjSequence [0].Value = aAny;
7518 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
7519 : }
7520 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7521 : }
7522 : {
7523 : static const char *aStrings[] = {
7524 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
7525 : "min(logwidth,logheight)",
7526 : "?1 *?0 /100000",
7527 : "logwidth+0-?2 ",
7528 : "?2 *1/2",
7529 : "(?3 +logwidth)/2",
7530 : "logwidth",
7531 : "logheight/2",
7532 : "logwidth/2",
7533 : "logheight"
7534 : };
7535 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7536 : }
7537 : {
7538 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
7539 : {
7540 0 : Sequence< PropertyValue > aPropSequence (4);
7541 : {
7542 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7543 : static const CustomShapeProvider::ParameterPairData aData =
7544 : {
7545 : EnhancedCustomShapeParameterType::EQUATION,
7546 : EnhancedCustomShapeParameterType::NORMAL,
7547 : 3, 0
7548 : };
7549 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7550 : }
7551 : {
7552 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
7553 0 : EnhancedCustomShapeParameter aParameter;
7554 0 : Any aAny ((sal_Int32) 50000);
7555 0 : aParameter.Value = aAny;
7556 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7557 0 : aPropSequence [1].Value = makeAny (aParameter);
7558 : }
7559 : {
7560 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
7561 0 : EnhancedCustomShapeParameter aParameter;
7562 0 : Any aAny ((sal_Int32) 0);
7563 0 : aParameter.Value = aAny;
7564 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7565 0 : aPropSequence [2].Value = makeAny (aParameter);
7566 : }
7567 : {
7568 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
7569 0 : Any aAny ((sal_Int32) 0);
7570 0 : aPropSequence [3].Value = makeAny (aAny);
7571 : }
7572 0 : aPropSequenceSequence [0] = aPropSequence;
7573 : }
7574 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7575 : }
7576 : {
7577 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7578 : }
7579 : {
7580 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7581 : }
7582 : {
7583 0 : Sequence< PropertyValue > aPropSequence (3);
7584 : {
7585 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
7586 : static const CustomShapeProvider::ParameterPairData aData[] = {
7587 : {
7588 : EnhancedCustomShapeParameterType::NORMAL,
7589 : EnhancedCustomShapeParameterType::NORMAL,
7590 : 0, 0
7591 : },
7592 : {
7593 : EnhancedCustomShapeParameterType::EQUATION,
7594 : EnhancedCustomShapeParameterType::NORMAL,
7595 : 3, 0
7596 : },
7597 : {
7598 : EnhancedCustomShapeParameterType::EQUATION,
7599 : EnhancedCustomShapeParameterType::EQUATION,
7600 : 6, 2
7601 : },
7602 : {
7603 : EnhancedCustomShapeParameterType::EQUATION,
7604 : EnhancedCustomShapeParameterType::EQUATION,
7605 : 6, 9
7606 : },
7607 : {
7608 : EnhancedCustomShapeParameterType::NORMAL,
7609 : EnhancedCustomShapeParameterType::EQUATION,
7610 : 0, 9
7611 : }
7612 : };
7613 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
7614 : }
7615 : {
7616 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
7617 : static const sal_uInt16 nValues[] = {
7618 : // Command, Count
7619 : 1,1,
7620 : 2,4,
7621 : 4,0,
7622 : 5,0
7623 : };
7624 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
7625 : }
7626 : {
7627 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
7628 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
7629 : {
7630 0 : EnhancedCustomShapeTextFrame aTextFrame;
7631 : {
7632 : static const CustomShapeProvider::ParameterPairData aData =
7633 : {
7634 : EnhancedCustomShapeParameterType::NORMAL,
7635 : EnhancedCustomShapeParameterType::EQUATION,
7636 : 0, 4
7637 : };
7638 0 : aTextFrame.TopLeft = createParameterPair(&aData);
7639 : }
7640 : {
7641 : static const CustomShapeProvider::ParameterPairData aData =
7642 : {
7643 : EnhancedCustomShapeParameterType::EQUATION,
7644 : EnhancedCustomShapeParameterType::EQUATION,
7645 : 5, 9
7646 : };
7647 0 : aTextFrame.BottomRight = createParameterPair(&aData);
7648 : }
7649 0 : aTextFrameSeq [0] = aTextFrame;
7650 : }
7651 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
7652 : }
7653 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
7654 : }
7655 : {
7656 0 : awt::Rectangle aRectangle;
7657 0 : aRectangle.X = 0;
7658 0 : aRectangle.Y = 0;
7659 0 : aRectangle.Width = 0;
7660 0 : aRectangle.Height = 0;
7661 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
7662 : }
7663 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-snip1Rect");
7664 :
7665 0 : return aPropertyMap;
7666 : }
7667 : };
7668 3 : class ShapeCellipseRibbon2 : public CustomShapeProvider
7669 : {
7670 0 : virtual PropertyMap getProperties()
7671 : {
7672 0 : PropertyMap aPropertyMap;
7673 :
7674 : {
7675 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (3);
7676 : {
7677 0 : Any aAny ((sal_Int32) 25000);
7678 0 : aAdjSequence [0].Value = aAny;
7679 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj1");
7680 : }
7681 : {
7682 0 : Any aAny ((sal_Int32) 50000);
7683 0 : aAdjSequence [1].Value = aAny;
7684 0 : aAdjSequence [1].Name = CREATE_OUSTRING ("adj2");
7685 : }
7686 : {
7687 0 : Any aAny ((sal_Int32) 12500);
7688 0 : aAdjSequence [2].Value = aAny;
7689 0 : aAdjSequence [2].Name = CREATE_OUSTRING ("adj3");
7690 : }
7691 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
7692 : }
7693 : {
7694 : static const char *aStrings[] = {
7695 : "if(0-$0 ,0,if(100000-$0 ,$0 ,100000))",
7696 : "if(25000-$1 ,25000,if(75000-$1 ,$1 ,75000))",
7697 : "100000+0-?0 ",
7698 : "?2 *1/2",
7699 : "?0 +0-?3 ",
7700 : "max(0,?4 )",
7701 : "if(?5 -$2 ,?5 ,if(?0 -$2 ,$2 ,?0 ))",
7702 : "logwidth*?1 /200000",
7703 : "logwidth/2",
7704 : "?8 +0-?7 ",
7705 : "logwidth/8",
7706 : "?9 +?10 -0",
7707 : "logwidth+0-?11 ",
7708 : "logwidth+0-?9 ",
7709 : "logwidth+0-?10 ",
7710 : "logheight*?6 /100000",
7711 : "4*?15 /logwidth",
7712 : "?11 *?11 /logwidth",
7713 : "?11 +0-?17 ",
7714 : "?16 *?18 /1",
7715 : "logheight+0-?19 ",
7716 : "?11 *1/2",
7717 : "?16 *?21 /1",
7718 : "logheight+0-?22 ",
7719 : "logwidth+0-?21 ",
7720 : "logheight*?0 /100000",
7721 : "?25 +0-?15 ",
7722 : "?9 *?9 /logwidth",
7723 : "?9 +0-?27 ",
7724 : "?16 *?28 /1",
7725 : "?29 +?26 -0",
7726 : "logheight+0-?30 ",
7727 : "?15 +?26 -?30 ",
7728 : "?32 +?15 -0",
7729 : "?33 +?26 -0",
7730 : "logheight+0-?34 ",
7731 : "logheight+0-?25 ",
7732 : "?15 *14/16",
7733 : "(?37 +?36 )/2",
7734 : "logheight+0-?38 ",
7735 : "?29 +?36 -0",
7736 : "logheight+0-?40 ",
7737 : "?30 +?36 -0",
7738 : "logheight+0-?42 ",
7739 : "?9 *1/2",
7740 : "?16 *?44 /1",
7741 : "?45 +?36 -0",
7742 : "logheight+0-?46 ",
7743 : "logwidth+0-?44 ",
7744 : "?34 +?36 -0",
7745 : "logheight+0-?49 ",
7746 : "?19 +?26 -0",
7747 : "logheight+0-?51 ",
7748 : "?25 +?25 -?51 ",
7749 : "logheight+0-?53 ",
7750 : "logheight",
7751 : "logwidth"
7752 : };
7753 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
7754 : }
7755 : {
7756 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (3);
7757 : {
7758 0 : Sequence< PropertyValue > aPropSequence (4);
7759 : {
7760 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7761 : static const CustomShapeProvider::ParameterPairData aData =
7762 : {
7763 : EnhancedCustomShapeParameterType::EQUATION,
7764 : EnhancedCustomShapeParameterType::EQUATION,
7765 : 8, 36
7766 : };
7767 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7768 : }
7769 : {
7770 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
7771 0 : EnhancedCustomShapeParameter aParameter;
7772 0 : Any aAny ((sal_Int32) 100000);
7773 0 : aParameter.Value = aAny;
7774 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7775 0 : aPropSequence [1].Value = makeAny (aParameter);
7776 : }
7777 : {
7778 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
7779 0 : EnhancedCustomShapeParameter aParameter;
7780 0 : Any aAny ((sal_Int32) 0);
7781 0 : aParameter.Value = aAny;
7782 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7783 0 : aPropSequence [2].Value = makeAny (aParameter);
7784 : }
7785 : {
7786 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
7787 0 : Any aAny ((sal_Int32) 0);
7788 0 : aPropSequence [3].Value = makeAny (aAny);
7789 : }
7790 0 : aPropSequenceSequence [0] = aPropSequence;
7791 : }
7792 : {
7793 0 : Sequence< PropertyValue > aPropSequence (4);
7794 : {
7795 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7796 : static const CustomShapeProvider::ParameterPairData aData =
7797 : {
7798 : EnhancedCustomShapeParameterType::EQUATION,
7799 : EnhancedCustomShapeParameterType::NORMAL,
7800 : 9, 0
7801 : };
7802 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7803 : }
7804 : {
7805 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
7806 0 : EnhancedCustomShapeParameter aParameter;
7807 0 : Any aAny ((sal_Int32) 100000);
7808 0 : aParameter.Value = aAny;
7809 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7810 0 : aPropSequence [1].Value = makeAny (aParameter);
7811 : }
7812 : {
7813 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
7814 0 : EnhancedCustomShapeParameter aParameter;
7815 0 : Any aAny ((sal_Int32) 25000);
7816 0 : aParameter.Value = aAny;
7817 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
7818 0 : aPropSequence [2].Value = makeAny (aParameter);
7819 : }
7820 : {
7821 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
7822 0 : Any aAny ((sal_Int32) 1);
7823 0 : aPropSequence [3].Value = makeAny (aAny);
7824 : }
7825 0 : aPropSequenceSequence [1] = aPropSequence;
7826 : }
7827 : {
7828 0 : Sequence< PropertyValue > aPropSequence (4);
7829 : {
7830 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
7831 : static const CustomShapeProvider::ParameterPairData aData =
7832 : {
7833 : EnhancedCustomShapeParameterType::NORMAL,
7834 : EnhancedCustomShapeParameterType::EQUATION,
7835 : 0, 15
7836 : };
7837 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
7838 : }
7839 : {
7840 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeYMaximum");
7841 0 : EnhancedCustomShapeParameter aParameter;
7842 0 : Any aAny ((sal_Int32) 0);
7843 0 : aParameter.Value = aAny;
7844 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7845 0 : aPropSequence [1].Value = makeAny (aParameter);
7846 : }
7847 : {
7848 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeYMinimum");
7849 0 : EnhancedCustomShapeParameter aParameter;
7850 0 : Any aAny ((sal_Int32) 5);
7851 0 : aParameter.Value = aAny;
7852 0 : aParameter.Type = EnhancedCustomShapeParameterType::EQUATION;
7853 0 : aPropSequence [2].Value = makeAny (aParameter);
7854 : }
7855 : {
7856 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefY");
7857 0 : Any aAny ((sal_Int32) 2);
7858 0 : aPropSequence [3].Value = makeAny (aAny);
7859 : }
7860 0 : aPropSequenceSequence [2] = aPropSequence;
7861 : }
7862 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
7863 : }
7864 : {
7865 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
7866 : }
7867 : {
7868 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
7869 : }
7870 : {
7871 0 : Sequence< PropertyValue > aPropSequence (3);
7872 : {
7873 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
7874 : static const CustomShapeProvider::ParameterPairData aData[] = {
7875 : {
7876 : EnhancedCustomShapeParameterType::NORMAL,
7877 : EnhancedCustomShapeParameterType::EQUATION,
7878 : 0, 55
7879 : },
7880 : {
7881 : EnhancedCustomShapeParameterType::EQUATION,
7882 : EnhancedCustomShapeParameterType::EQUATION,
7883 : 21, 23
7884 : },
7885 : {
7886 : EnhancedCustomShapeParameterType::EQUATION,
7887 : EnhancedCustomShapeParameterType::EQUATION,
7888 : 11, 20
7889 : },
7890 : {
7891 : EnhancedCustomShapeParameterType::EQUATION,
7892 : EnhancedCustomShapeParameterType::EQUATION,
7893 : 9, 31
7894 : },
7895 : {
7896 : EnhancedCustomShapeParameterType::EQUATION,
7897 : EnhancedCustomShapeParameterType::EQUATION,
7898 : 8, 35
7899 : },
7900 : {
7901 : EnhancedCustomShapeParameterType::EQUATION,
7902 : EnhancedCustomShapeParameterType::EQUATION,
7903 : 13, 31
7904 : },
7905 : {
7906 : EnhancedCustomShapeParameterType::EQUATION,
7907 : EnhancedCustomShapeParameterType::EQUATION,
7908 : 12, 20
7909 : },
7910 : {
7911 : EnhancedCustomShapeParameterType::EQUATION,
7912 : EnhancedCustomShapeParameterType::EQUATION,
7913 : 24, 23
7914 : },
7915 : {
7916 : EnhancedCustomShapeParameterType::EQUATION,
7917 : EnhancedCustomShapeParameterType::EQUATION,
7918 : 56, 55
7919 : },
7920 : {
7921 : EnhancedCustomShapeParameterType::EQUATION,
7922 : EnhancedCustomShapeParameterType::EQUATION,
7923 : 14, 39
7924 : },
7925 : {
7926 : EnhancedCustomShapeParameterType::EQUATION,
7927 : EnhancedCustomShapeParameterType::EQUATION,
7928 : 56, 25
7929 : },
7930 : {
7931 : EnhancedCustomShapeParameterType::EQUATION,
7932 : EnhancedCustomShapeParameterType::EQUATION,
7933 : 48, 47
7934 : },
7935 : {
7936 : EnhancedCustomShapeParameterType::EQUATION,
7937 : EnhancedCustomShapeParameterType::EQUATION,
7938 : 13, 41
7939 : },
7940 : {
7941 : EnhancedCustomShapeParameterType::EQUATION,
7942 : EnhancedCustomShapeParameterType::EQUATION,
7943 : 13, 43
7944 : },
7945 : {
7946 : EnhancedCustomShapeParameterType::EQUATION,
7947 : EnhancedCustomShapeParameterType::EQUATION,
7948 : 8, 50
7949 : },
7950 : {
7951 : EnhancedCustomShapeParameterType::EQUATION,
7952 : EnhancedCustomShapeParameterType::EQUATION,
7953 : 9, 43
7954 : },
7955 : {
7956 : EnhancedCustomShapeParameterType::EQUATION,
7957 : EnhancedCustomShapeParameterType::EQUATION,
7958 : 9, 41
7959 : },
7960 : {
7961 : EnhancedCustomShapeParameterType::EQUATION,
7962 : EnhancedCustomShapeParameterType::EQUATION,
7963 : 44, 47
7964 : },
7965 : {
7966 : EnhancedCustomShapeParameterType::NORMAL,
7967 : EnhancedCustomShapeParameterType::EQUATION,
7968 : 0, 25
7969 : },
7970 : {
7971 : EnhancedCustomShapeParameterType::EQUATION,
7972 : EnhancedCustomShapeParameterType::EQUATION,
7973 : 10, 39
7974 : },
7975 : {
7976 : EnhancedCustomShapeParameterType::EQUATION,
7977 : EnhancedCustomShapeParameterType::EQUATION,
7978 : 11, 52
7979 : },
7980 : {
7981 : EnhancedCustomShapeParameterType::EQUATION,
7982 : EnhancedCustomShapeParameterType::EQUATION,
7983 : 11, 20
7984 : },
7985 : {
7986 : EnhancedCustomShapeParameterType::EQUATION,
7987 : EnhancedCustomShapeParameterType::EQUATION,
7988 : 9, 31
7989 : },
7990 : {
7991 : EnhancedCustomShapeParameterType::EQUATION,
7992 : EnhancedCustomShapeParameterType::EQUATION,
7993 : 8, 35
7994 : },
7995 : {
7996 : EnhancedCustomShapeParameterType::EQUATION,
7997 : EnhancedCustomShapeParameterType::EQUATION,
7998 : 13, 31
7999 : },
8000 : {
8001 : EnhancedCustomShapeParameterType::EQUATION,
8002 : EnhancedCustomShapeParameterType::EQUATION,
8003 : 12, 20
8004 : },
8005 : {
8006 : EnhancedCustomShapeParameterType::EQUATION,
8007 : EnhancedCustomShapeParameterType::EQUATION,
8008 : 12, 52
8009 : },
8010 : {
8011 : EnhancedCustomShapeParameterType::EQUATION,
8012 : EnhancedCustomShapeParameterType::EQUATION,
8013 : 8, 54
8014 : },
8015 : {
8016 : EnhancedCustomShapeParameterType::EQUATION,
8017 : EnhancedCustomShapeParameterType::EQUATION,
8018 : 11, 52
8019 : },
8020 : {
8021 : EnhancedCustomShapeParameterType::NORMAL,
8022 : EnhancedCustomShapeParameterType::EQUATION,
8023 : 0, 55
8024 : },
8025 : {
8026 : EnhancedCustomShapeParameterType::EQUATION,
8027 : EnhancedCustomShapeParameterType::EQUATION,
8028 : 10, 39
8029 : },
8030 : {
8031 : EnhancedCustomShapeParameterType::NORMAL,
8032 : EnhancedCustomShapeParameterType::EQUATION,
8033 : 0, 25
8034 : },
8035 : {
8036 : EnhancedCustomShapeParameterType::EQUATION,
8037 : EnhancedCustomShapeParameterType::EQUATION,
8038 : 44, 47
8039 : },
8040 : {
8041 : EnhancedCustomShapeParameterType::EQUATION,
8042 : EnhancedCustomShapeParameterType::EQUATION,
8043 : 9, 41
8044 : },
8045 : {
8046 : EnhancedCustomShapeParameterType::EQUATION,
8047 : EnhancedCustomShapeParameterType::EQUATION,
8048 : 9, 43
8049 : },
8050 : {
8051 : EnhancedCustomShapeParameterType::EQUATION,
8052 : EnhancedCustomShapeParameterType::EQUATION,
8053 : 8, 50
8054 : },
8055 : {
8056 : EnhancedCustomShapeParameterType::EQUATION,
8057 : EnhancedCustomShapeParameterType::EQUATION,
8058 : 13, 43
8059 : },
8060 : {
8061 : EnhancedCustomShapeParameterType::EQUATION,
8062 : EnhancedCustomShapeParameterType::EQUATION,
8063 : 13, 41
8064 : },
8065 : {
8066 : EnhancedCustomShapeParameterType::EQUATION,
8067 : EnhancedCustomShapeParameterType::EQUATION,
8068 : 48, 47
8069 : },
8070 : {
8071 : EnhancedCustomShapeParameterType::EQUATION,
8072 : EnhancedCustomShapeParameterType::EQUATION,
8073 : 56, 25
8074 : },
8075 : {
8076 : EnhancedCustomShapeParameterType::EQUATION,
8077 : EnhancedCustomShapeParameterType::EQUATION,
8078 : 14, 39
8079 : },
8080 : {
8081 : EnhancedCustomShapeParameterType::EQUATION,
8082 : EnhancedCustomShapeParameterType::EQUATION,
8083 : 56, 55
8084 : },
8085 : {
8086 : EnhancedCustomShapeParameterType::EQUATION,
8087 : EnhancedCustomShapeParameterType::EQUATION,
8088 : 24, 23
8089 : },
8090 : {
8091 : EnhancedCustomShapeParameterType::EQUATION,
8092 : EnhancedCustomShapeParameterType::EQUATION,
8093 : 12, 20
8094 : },
8095 : {
8096 : EnhancedCustomShapeParameterType::EQUATION,
8097 : EnhancedCustomShapeParameterType::EQUATION,
8098 : 13, 31
8099 : },
8100 : {
8101 : EnhancedCustomShapeParameterType::EQUATION,
8102 : EnhancedCustomShapeParameterType::EQUATION,
8103 : 8, 35
8104 : },
8105 : {
8106 : EnhancedCustomShapeParameterType::EQUATION,
8107 : EnhancedCustomShapeParameterType::EQUATION,
8108 : 9, 31
8109 : },
8110 : {
8111 : EnhancedCustomShapeParameterType::EQUATION,
8112 : EnhancedCustomShapeParameterType::EQUATION,
8113 : 11, 20
8114 : },
8115 : {
8116 : EnhancedCustomShapeParameterType::EQUATION,
8117 : EnhancedCustomShapeParameterType::EQUATION,
8118 : 21, 23
8119 : },
8120 : {
8121 : EnhancedCustomShapeParameterType::NORMAL,
8122 : EnhancedCustomShapeParameterType::EQUATION,
8123 : 0, 55
8124 : },
8125 : {
8126 : EnhancedCustomShapeParameterType::EQUATION,
8127 : EnhancedCustomShapeParameterType::EQUATION,
8128 : 9, 31
8129 : },
8130 : {
8131 : EnhancedCustomShapeParameterType::EQUATION,
8132 : EnhancedCustomShapeParameterType::EQUATION,
8133 : 9, 41
8134 : },
8135 : {
8136 : EnhancedCustomShapeParameterType::EQUATION,
8137 : EnhancedCustomShapeParameterType::EQUATION,
8138 : 13, 41
8139 : },
8140 : {
8141 : EnhancedCustomShapeParameterType::EQUATION,
8142 : EnhancedCustomShapeParameterType::EQUATION,
8143 : 13, 31
8144 : },
8145 : {
8146 : EnhancedCustomShapeParameterType::EQUATION,
8147 : EnhancedCustomShapeParameterType::EQUATION,
8148 : 11, 52
8149 : },
8150 : {
8151 : EnhancedCustomShapeParameterType::EQUATION,
8152 : EnhancedCustomShapeParameterType::EQUATION,
8153 : 11, 20
8154 : },
8155 : {
8156 : EnhancedCustomShapeParameterType::EQUATION,
8157 : EnhancedCustomShapeParameterType::EQUATION,
8158 : 12, 20
8159 : },
8160 : {
8161 : EnhancedCustomShapeParameterType::EQUATION,
8162 : EnhancedCustomShapeParameterType::EQUATION,
8163 : 12, 52
8164 : }
8165 : };
8166 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8167 : }
8168 : {
8169 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
8170 : static const sal_uInt16 nValues[] = {
8171 : // Command, Count
8172 : 1,1,
8173 : 16,1,
8174 : 2,1,
8175 : 16,1,
8176 : 2,1,
8177 : 16,1,
8178 : 2,2,
8179 : 16,1,
8180 : 2,1,
8181 : 16,1,
8182 : 2,1,
8183 : 16,1,
8184 : 2,1,
8185 : 4,0,
8186 : 7,0,
8187 : 5,0,
8188 : 1,1,
8189 : 2,2,
8190 : 16,1,
8191 : 2,2,
8192 : 16,1,
8193 : 4,0,
8194 : 19,0,
8195 : 7,0,
8196 : 5,0,
8197 : 1,1,
8198 : 2,2,
8199 : 16,1,
8200 : 2,1,
8201 : 16,1,
8202 : 2,1,
8203 : 16,1,
8204 : 2,2,
8205 : 16,1,
8206 : 2,1,
8207 : 16,1,
8208 : 2,1,
8209 : 16,1,
8210 : 4,0,
8211 : 1,1,
8212 : 2,1,
8213 : 1,1,
8214 : 2,1,
8215 : 1,1,
8216 : 2,1,
8217 : 1,1,
8218 : 2,1,
8219 : 6,0,
8220 : 5,0
8221 : };
8222 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8223 : }
8224 : {
8225 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
8226 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8227 : {
8228 0 : EnhancedCustomShapeTextFrame aTextFrame;
8229 : {
8230 : static const CustomShapeProvider::ParameterPairData aData =
8231 : {
8232 : EnhancedCustomShapeParameterType::EQUATION,
8233 : EnhancedCustomShapeParameterType::EQUATION,
8234 : 9, 43
8235 : };
8236 0 : aTextFrame.TopLeft = createParameterPair(&aData);
8237 : }
8238 : {
8239 : static const CustomShapeProvider::ParameterPairData aData =
8240 : {
8241 : EnhancedCustomShapeParameterType::EQUATION,
8242 : EnhancedCustomShapeParameterType::EQUATION,
8243 : 13, 36
8244 : };
8245 0 : aTextFrame.BottomRight = createParameterPair(&aData);
8246 : }
8247 0 : aTextFrameSeq [0] = aTextFrame;
8248 : }
8249 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
8250 : }
8251 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
8252 : }
8253 : {
8254 0 : awt::Rectangle aRectangle;
8255 0 : aRectangle.X = 0;
8256 0 : aRectangle.Y = 0;
8257 0 : aRectangle.Width = 0;
8258 0 : aRectangle.Height = 0;
8259 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
8260 : }
8261 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ellipseRibbon2");
8262 :
8263 0 : return aPropertyMap;
8264 : }
8265 : };
8266 3 : class ShapeCplus : public CustomShapeProvider
8267 : {
8268 0 : virtual PropertyMap getProperties()
8269 : {
8270 0 : PropertyMap aPropertyMap;
8271 :
8272 : {
8273 0 : Sequence< EnhancedCustomShapeAdjustmentValue > aAdjSequence (1);
8274 : {
8275 0 : Any aAny ((sal_Int32) 25000);
8276 0 : aAdjSequence [0].Value = aAny;
8277 0 : aAdjSequence [0].Name = CREATE_OUSTRING ("adj");
8278 : }
8279 0 : aPropertyMap [PROP_AdjustmentValues] <<= aAdjSequence;
8280 : }
8281 : {
8282 : static const char *aStrings[] = {
8283 : "if(0-$0 ,0,if(50000-$0 ,$0 ,50000))",
8284 : "min(logwidth,logheight)",
8285 : "?1 *?0 /100000",
8286 : "logwidth+0-?2 ",
8287 : "logheight+0-?2 ",
8288 : "logwidth+0-logheight",
8289 : "if(?5 ,0,?2 )",
8290 : "if(?5 ,logwidth,?3 )",
8291 : "if(?5 ,?2 ,0)",
8292 : "if(?5 ,?4 ,logheight)",
8293 : "logwidth/2",
8294 : "logheight/2",
8295 : "logheight",
8296 : "logwidth"
8297 : };
8298 0 : aPropertyMap [PROP_Equations] <<= createStringSequence( SAL_N_ELEMENTS( aStrings ), aStrings );
8299 : }
8300 : {
8301 0 : Sequence< Sequence < PropertyValue > > aPropSequenceSequence (1);
8302 : {
8303 0 : Sequence< PropertyValue > aPropSequence (4);
8304 : {
8305 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Position");
8306 : static const CustomShapeProvider::ParameterPairData aData =
8307 : {
8308 : EnhancedCustomShapeParameterType::EQUATION,
8309 : EnhancedCustomShapeParameterType::NORMAL,
8310 : 2, 0
8311 : };
8312 0 : aPropSequence [0].Value = makeAny (createParameterPair(&aData));
8313 : }
8314 : {
8315 0 : aPropSequence [1].Name = CREATE_OUSTRING ("RangeXMaximum");
8316 0 : EnhancedCustomShapeParameter aParameter;
8317 0 : Any aAny ((sal_Int32) 50000);
8318 0 : aParameter.Value = aAny;
8319 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8320 0 : aPropSequence [1].Value = makeAny (aParameter);
8321 : }
8322 : {
8323 0 : aPropSequence [2].Name = CREATE_OUSTRING ("RangeXMinimum");
8324 0 : EnhancedCustomShapeParameter aParameter;
8325 0 : Any aAny ((sal_Int32) 0);
8326 0 : aParameter.Value = aAny;
8327 0 : aParameter.Type = EnhancedCustomShapeParameterType::NORMAL;
8328 0 : aPropSequence [2].Value = makeAny (aParameter);
8329 : }
8330 : {
8331 0 : aPropSequence [3].Name = CREATE_OUSTRING ("RefX");
8332 0 : Any aAny ((sal_Int32) 0);
8333 0 : aPropSequence [3].Value = makeAny (aAny);
8334 : }
8335 0 : aPropSequenceSequence [0] = aPropSequence;
8336 : }
8337 0 : aPropertyMap [PROP_Handles] <<= aPropSequenceSequence;
8338 : }
8339 : {
8340 0 : aPropertyMap [PROP_MirroredX] <<= Any ((sal_Bool) sal_False);
8341 : }
8342 : {
8343 0 : aPropertyMap [PROP_MirroredY] <<= Any ((sal_Bool) sal_False);
8344 : }
8345 : {
8346 0 : Sequence< PropertyValue > aPropSequence (3);
8347 : {
8348 0 : aPropSequence [0].Name = CREATE_OUSTRING ("Coordinates");
8349 : static const CustomShapeProvider::ParameterPairData aData[] = {
8350 : {
8351 : EnhancedCustomShapeParameterType::NORMAL,
8352 : EnhancedCustomShapeParameterType::EQUATION,
8353 : 0, 2
8354 : },
8355 : {
8356 : EnhancedCustomShapeParameterType::EQUATION,
8357 : EnhancedCustomShapeParameterType::EQUATION,
8358 : 2, 2
8359 : },
8360 : {
8361 : EnhancedCustomShapeParameterType::EQUATION,
8362 : EnhancedCustomShapeParameterType::NORMAL,
8363 : 2, 0
8364 : },
8365 : {
8366 : EnhancedCustomShapeParameterType::EQUATION,
8367 : EnhancedCustomShapeParameterType::NORMAL,
8368 : 3, 0
8369 : },
8370 : {
8371 : EnhancedCustomShapeParameterType::EQUATION,
8372 : EnhancedCustomShapeParameterType::EQUATION,
8373 : 3, 2
8374 : },
8375 : {
8376 : EnhancedCustomShapeParameterType::EQUATION,
8377 : EnhancedCustomShapeParameterType::EQUATION,
8378 : 13, 2
8379 : },
8380 : {
8381 : EnhancedCustomShapeParameterType::EQUATION,
8382 : EnhancedCustomShapeParameterType::EQUATION,
8383 : 13, 4
8384 : },
8385 : {
8386 : EnhancedCustomShapeParameterType::EQUATION,
8387 : EnhancedCustomShapeParameterType::EQUATION,
8388 : 3, 4
8389 : },
8390 : {
8391 : EnhancedCustomShapeParameterType::EQUATION,
8392 : EnhancedCustomShapeParameterType::EQUATION,
8393 : 3, 12
8394 : },
8395 : {
8396 : EnhancedCustomShapeParameterType::EQUATION,
8397 : EnhancedCustomShapeParameterType::EQUATION,
8398 : 2, 12
8399 : },
8400 : {
8401 : EnhancedCustomShapeParameterType::EQUATION,
8402 : EnhancedCustomShapeParameterType::EQUATION,
8403 : 2, 4
8404 : },
8405 : {
8406 : EnhancedCustomShapeParameterType::NORMAL,
8407 : EnhancedCustomShapeParameterType::EQUATION,
8408 : 0, 4
8409 : }
8410 : };
8411 0 : aPropSequence [0].Value = makeAny (createParameterPairSequence(SAL_N_ELEMENTS(aData), aData));
8412 : }
8413 : {
8414 0 : aPropSequence [1].Name = CREATE_OUSTRING ("Segments");
8415 : static const sal_uInt16 nValues[] = {
8416 : // Command, Count
8417 : 1,1,
8418 : 2,11,
8419 : 4,0,
8420 : 5,0
8421 : };
8422 0 : aPropSequence [1].Value = makeAny (createSegmentSequence( SAL_N_ELEMENTS( nValues ), nValues ));
8423 : }
8424 : {
8425 0 : aPropSequence [2].Name = CREATE_OUSTRING ("TextFrames");
8426 0 : Sequence< EnhancedCustomShapeTextFrame > aTextFrameSeq (1);
8427 : {
8428 0 : EnhancedCustomShapeTextFrame aTextFrame;
8429 : {
8430 : static const CustomShapeProvider::ParameterPairData aData =
8431 : {
8432 : EnhancedCustomShapeParameterType::EQUATION,
8433 : EnhancedCustomShapeParameterType::EQUATION,
8434 : 6, 8
8435 : };
8436 0 : aTextFrame.TopLeft = createParameterPair(&aData);
8437 : }
8438 : {
8439 : static const CustomShapeProvider::ParameterPairData aData =
8440 : {
8441 : EnhancedCustomShapeParameterType::EQUATION,
8442 : EnhancedCustomShapeParameterType::EQUATION,
8443 : 7, 9
8444 : };
8445 0 : aTextFrame.BottomRight = createParameterPair(&aData);
8446 : }
8447 0 : aTextFrameSeq [0] = aTextFrame;
8448 : }
8449 0 : aPropSequence [2].Value = makeAny (aTextFrameSeq);
8450 : }
8451 0 : aPropertyMap [PROP_Path] <<= aPropSequence;
8452 : }
8453 : {
8454 0 : awt::Rectangle aRectangle;
8455 0 : aRectangle.X = 0;
8456 0 : aRectangle.Y = 0;
8457 0 : aRectangle.Width = 0;
8458 0 : aRectangle.Height = 0;
8459 0 : aPropertyMap [PROP_ViewBox] <<= aRectangle;
8460 : }
8461 0 : aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plus");
8462 :
8463 0 : return aPropertyMap;
8464 : }
8465 : };
8466 : } // anonymous namespace
8467 3 : void CustomShapeProperties::initializePresetsMap4()
8468 : {
8469 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "teardrop" ) ] = new ShapeCteardrop();
8470 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDocument" ) ] = new ShapeCflowChartDocument();
8471 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightArrowCallout" ) ] = new ShapeCrightArrowCallout();
8472 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rightBrace" ) ] = new ShapeCrightBrace();
8473 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "chartPlus" ) ] = new ShapeCchartPlus();
8474 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartManualInput" ) ] = new ShapeCflowChartManualInput();
8475 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMerge" ) ] = new ShapeCflowChartMerge();
8476 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "line" ) ] = new ShapeCline();
8477 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "downArrow" ) ] = new ShapeCdownArrow();
8478 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedDownArrow" ) ] = new ShapeCcurvedDownArrow();
8479 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonReturn" ) ] = new ShapeCactionButtonReturn();
8480 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartInputOutput" ) ] = new ShapeCflowChartInputOutput();
8481 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bracketPair" ) ] = new ShapeCbracketPair();
8482 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "smileyFace" ) ] = new ShapeCsmileyFace();
8483 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBlank" ) ] = new ShapeCactionButtonBlank();
8484 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wave" ) ] = new ShapeCwave();
8485 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "swooshArrow" ) ] = new ShapeCswooshArrow();
8486 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartSummingJunction" ) ] = new ShapeCflowChartSummingJunction();
8487 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "lightningBolt" ) ] = new ShapeClightningBolt();
8488 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartDisplay" ) ] = new ShapeCflowChartDisplay();
8489 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "actionButtonBackPrevious" ) ] = new ShapeCactionButtonBackPrevious();
8490 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "frame" ) ] = new ShapeCframe();
8491 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "rtTriangle" ) ] = new ShapeCrtTriangle();
8492 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "flowChartMagneticTape" ) ] = new ShapeCflowChartMagneticTape();
8493 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedRightArrow" ) ] = new ShapeCcurvedRightArrow();
8494 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftUpArrow" ) ] = new ShapeCleftUpArrow();
8495 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "wedgeEllipseCallout" ) ] = new ShapeCwedgeEllipseCallout();
8496 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "doubleWave" ) ] = new ShapeCdoubleWave();
8497 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "bentArrow" ) ] = new ShapeCbentArrow();
8498 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "star10" ) ] = new ShapeCstar10();
8499 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "leftArrow" ) ] = new ShapeCleftArrow();
8500 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "curvedUpArrow" ) ] = new ShapeCcurvedUpArrow();
8501 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "snip1Rect" ) ] = new ShapeCsnip1Rect();
8502 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "ellipseRibbon2" ) ] = new ShapeCellipseRibbon2();
8503 3 : maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( "plus" ) ] = new ShapeCplus();
8504 3 : }
8505 :
8506 51 : } } // oox // drawingml
8507 :
|