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