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