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