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