LibreOffice Module svx (master)  1
unoprov.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #include <sal/macros.h>
21 #include <com/sun/star/table/XTable.hpp>
22 #include <com/sun/star/container/XIndexAccess.hpp>
23 #include <com/sun/star/container/XNameContainer.hpp>
24 #include <com/sun/star/frame/XModel.hpp>
25 #include <com/sun/star/embed/XEmbeddedObject.hpp>
26 #include <com/sun/star/util/MeasureUnit.hpp>
27 #include <com/sun/star/drawing/TextVerticalAdjust.hpp>
28 #include <com/sun/star/media/ZoomLevel.hpp>
29 #include <com/sun/star/io/XInputStream.hpp>
30 #include <com/sun/star/beans/PropertyAttribute.hpp>
31 #include <com/sun/star/lang/Locale.hpp>
32 #include <tools/fldunit.hxx>
33 #include <vcl/svapp.hxx>
35 #include <comphelper/sequence.hxx>
36 #include <svx/dialmgr.hxx>
37 #include <svx/unoapi.hxx>
38 #include <svx/unoshprp.hxx>
39 #include <svx/svx3ditems.hxx>
40 #include <svx/svxids.hrc>
41 #include <svx/globl3d.hxx>
42 #include <svx/strings.hrc>
43 #include <strings.hxx>
44 #include <svx/svdobj.hxx>
45 
46 #include "shapeimpl.hxx"
47 #include <unordered_map>
48 
49 using namespace ::com::sun::star;
50 using namespace ::com::sun::star::beans::PropertyAttribute;
51 using ::com::sun::star::drawing::TextVerticalAdjust;
52 
54 {
55  static SfxItemPropertyMapEntry const aShapePropertyMap_Impl[] =
56  {
67  // #FontWork#
69  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
70  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
71  { OUString(), 0, css::uno::Type(), 0, 0 }
72  };
73 
74  return aShapePropertyMap_Impl;
75 }
76 
78 {
79  static SfxItemPropertyMapEntry const aTextShapePropertyMap_Impl[] =
80  {
91  // #FontWork#
93  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
94  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
95  { OUString(), 0, css::uno::Type(), 0, 0 }
96  };
97 
98  return aTextShapePropertyMap_Impl;
99 }
100 
102 {
103  static SfxItemPropertyMapEntry const aConnectorPropertyMap_Impl[] =
104  {
116  // #FontWork#
118  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
119  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
120  { OUString(), 0, css::uno::Type(), 0, 0 }
121  };
122 
123  return aConnectorPropertyMap_Impl;
124 }
125 
127 {
128  static SfxItemPropertyMapEntry const aDimensioningPropertyMap_Impl[] =
129  {
141  // #FontWork#
143  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
144  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
145  { OUString(), 0, css::uno::Type(), 0, 0 }
146  };
147 
148  return aDimensioningPropertyMap_Impl;
149 }
150 
152 {
153  static SfxItemPropertyMapEntry const aCirclePropertyMap_Impl[] =
154  {
166  // #FontWork#
168  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
169  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
170  { OUString(), 0, css::uno::Type(), 0, 0 }
171  };
172 
173  return aCirclePropertyMap_Impl;
174 }
175 
177 {
178  static SfxItemPropertyMapEntry const aPolyPolygonPropertyMap_Impl[] =
179  {
193  // #FontWork#
195  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
196  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
197  { OUString(), 0, css::uno::Type(), 0, 0 }
198  };
199 
200  return aPolyPolygonPropertyMap_Impl;
201 }
202 
204 {
205  static SfxItemPropertyMapEntry const aGraphicObjectPropertyMap_Impl[] =
206  {
208 
209  // #i25616#
211 
215 
216  // #i118485# Full properties now, shear included
218 
223  // #FontWork#
225  { OUString("IsMirrored"), OWN_ATTR_MIRRORED, cppu::UnoType<bool>::get(), 0, 0},
226  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
227  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
228  { OUString("GraphicStream"), OWN_ATTR_GRAPHIC_STREAM, cppu::UnoType<css::io::XInputStream>::get(), css::beans::PropertyAttribute::READONLY, 0},
229  { OUString(), 0, css::uno::Type(), 0, 0 }
230  };
231 
232  return aGraphicObjectPropertyMap_Impl;
233 }
234 
236 {
237  static SfxItemPropertyMapEntry const a3DSceneObjectPropertyMap_Impl[] =
238  {
247  { OUString(), 0, css::uno::Type(), 0, 0 }
248  };
249 
250  return a3DSceneObjectPropertyMap_Impl;
251 }
252 
254 {
255  static SfxItemPropertyMapEntry const a3DCubeObjectPropertyMap_Impl[] =
256  {
266  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
267  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
268  { OUString(), 0, css::uno::Type(), 0, 0 }
269  };
270 
271  return a3DCubeObjectPropertyMap_Impl;
272 }
273 
275 {
276  static SfxItemPropertyMapEntry const a3DSphereObjectPropertyMap_Impl[] =
277  {
287  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
288  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
289  { OUString(), 0, css::uno::Type(), 0, 0 }
290  };
291  return a3DSphereObjectPropertyMap_Impl;
292 }
293 
295 {
296  static SfxItemPropertyMapEntry const a3DLatheObjectPropertyMap_Impl[] =
297  {
299 
300  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
302 
312  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
313  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
314  { OUString(), 0, css::uno::Type(), 0, 0 }
315  };
316 
317  return a3DLatheObjectPropertyMap_Impl;
318 }
319 
321 {
322  static SfxItemPropertyMapEntry const a3DExtrudeObjectPropertyMap_Impl[] =
323  {
325 
326  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
328 
338  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
339  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
340  { OUString(), 0, css::uno::Type(), 0, 0 }
341  };
342 
343  return a3DExtrudeObjectPropertyMap_Impl;
344 }
345 
347 {
348  static SfxItemPropertyMapEntry const a3DPolygonObjectPropertyMap_Impl[] =
349  {
359  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
360  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
361  { OUString(), 0, css::uno::Type(), 0, 0 }
362  };
363 
364  return a3DPolygonObjectPropertyMap_Impl;
365 }
366 
368 {
369  static SfxItemPropertyMapEntry const aAllPropertyMap_Impl[] =
370  {
378  // #FontWork#
396 
397  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
399 
402  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
403  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
404  { OUString(), 0, css::uno::Type(), 0, 0 }
405  };
406 
407  return aAllPropertyMap_Impl;
408 }
409 
411 {
412  static SfxItemPropertyMapEntry const aGroupPropertyMap_Impl[] =
413  {
417  { OUString(), 0, css::uno::Type(), 0, 0 }
418  };
419 
420  return aGroupPropertyMap_Impl;
421 }
422 
424 {
425  static SfxItemPropertyMapEntry const aOle2PropertyMap_Impl[] =
426  {
427  // #i118485# Adding properties for line, fill, text, shadow, fontwork, rotate, shear
438 
439  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
440  { OUString("Model"), OWN_ATTR_OLEMODEL , cppu::UnoType<css::frame::XModel>::get(), css::beans::PropertyAttribute::READONLY, 0},
441  { OUString("EmbeddedObject"), OWN_ATTR_OLE_EMBEDDED_OBJECT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
442  { OUString("EmbeddedObjectNoNewClient"),OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
443  { OUString("OriginalSize"), OWN_ATTR_OLESIZE , cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
444  { OUString("CLSID"), OWN_ATTR_CLSID , cppu::UnoType<OUString>::get(), 0, 0 },
445  { OUString("IsInternal"), OWN_ATTR_INTERNAL_OLE , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::READONLY, 0},
446  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
447  { OUString("Aspect"), OWN_ATTR_OLE_ASPECT , cppu::UnoType<sal_Int64>::get(), 0, 0},
449  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
451  { OUString(), 0, css::uno::Type(), 0, 0 }
452  };
453 
454  return aOle2PropertyMap_Impl;
455 }
456 
458 {
459  static SfxItemPropertyMapEntry const aPluginPropertyMap_Impl[] =
460  {
461  { OUString("PluginMimeType"), OWN_ATTR_PLUGIN_MIMETYPE , cppu::UnoType<OUString>::get(), 0, 0},
462  { OUString("PluginURL"), OWN_ATTR_PLUGIN_URL , cppu::UnoType<OUString>::get(), 0, 0},
464  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
468  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
469  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
470  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
471  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
475  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
476  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
477  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
478  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
479  // #i68101#
482  { OUString(), 0, css::uno::Type(), 0, 0 }
483  };
484 
485  return aPluginPropertyMap_Impl;
486 }
487 
489 {
490  //TODO/LATER: new properties for ScrollingMode and DefaultBorder
491  static SfxItemPropertyMapEntry const aFramePropertyMap_Impl[] =
492  {
493  { OUString("FrameURL"), OWN_ATTR_FRAME_URL , cppu::UnoType<OUString>::get(), 0, 0},
494  { OUString("FrameName"), OWN_ATTR_FRAME_NAME , cppu::UnoType<OUString>::get(), 0, 0},
495  { OUString("FrameIsAutoScroll"), OWN_ATTR_FRAME_ISAUTOSCROLL , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::MAYBEVOID, 0},
496  { OUString("FrameIsBorder"), OWN_ATTR_FRAME_ISBORDER , cppu::UnoType<bool>::get() , 0, 0},
497  { OUString("FrameMarginWidth"), OWN_ATTR_FRAME_MARGIN_WIDTH , cppu::UnoType<sal_Int32>::get(), 0, 0},
498  { OUString("FrameMarginHeight"), OWN_ATTR_FRAME_MARGIN_HEIGHT, cppu::UnoType<sal_Int32>::get(), 0, 0},
499  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
503  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
504  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
505  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
506  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
510  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
511  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
512  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
513  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
514  // #i68101#
517  { OUString(), 0, css::uno::Type(), 0, 0 }
518  };
519 
520  return aFramePropertyMap_Impl;
521 }
522 
524 {
525  static SfxItemPropertyMapEntry const aAppletPropertyMap_Impl[] =
526  {
527  { OUString("AppletCodeBase"), OWN_ATTR_APPLET_CODEBASE , cppu::UnoType<OUString>::get(), 0, 0},
528  { OUString("AppletName"), OWN_ATTR_APPLET_NAME , cppu::UnoType<OUString>::get(), 0, 0},
529  { OUString("AppletCode"), OWN_ATTR_APPLET_CODE , cppu::UnoType<OUString>::get(), 0, 0},
531  { OUString("AppletDocBase"), OWN_ATTR_APPLET_DOCBASE , cppu::UnoType<OUString>::get(), 0, 0},
532  { OUString("AppletIsScript"), OWN_ATTR_APPLET_ISSCRIPT , cppu::UnoType<bool>::get(), 0, 0 },
533  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
537  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
538  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
539  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
540  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
544  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
545  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
546  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
547  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
548  // #i68101#
551  { OUString(), 0, css::uno::Type(), 0, 0 }
552  };
553 
554  return aAppletPropertyMap_Impl;
555 }
556 
558 {
559  static SfxItemPropertyMapEntry const aControlPropertyMap_Impl[] =
560  {
561  // the following properties are mapped to the XControl Model of this shape
566  { OUString(UNO_NAME_EDIT_CHAR_HEIGHT), 0, cppu::UnoType<float>::get(), 0, 0 },
569  { OUString(UNO_NAME_EDIT_CHAR_WEIGHT), 0, cppu::UnoType<float>::get(), 0, 0 },
574  { OUString("CharBackColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
575  { OUString("CharBackTransparent"), 0, cppu::UnoType<bool>::get(), 0, 0 },
576  { OUString("CharRelief"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
577  { OUString("CharUnderlineColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
578  { OUString("CharKerning"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
579  { OUString("CharWordMode"), 0, cppu::UnoType<bool>::get(), 0, 0 },
581  { OUString("TextVerticalAdjust"), 0, cppu::UnoType<TextVerticalAdjust>::get(), MAYBEVOID, 0 },
582  { OUString("ControlBackground"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
583  { OUString("ControlBorder"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
584  { OUString("ControlBorderColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
585  { OUString("ControlSymbolColor"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
586  { OUString("ImageScaleMode"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
589  { OUString("ControlTextEmphasis"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
590  { OUString("ControlWritingMode"), 0, cppu::UnoType< sal_Int16 >::get(), 0, 0},
591  // the following properties are handled by SvxShape
592  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
596  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
597  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
598  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
599  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
600  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
601  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
602  // #i68101#
605  // #i112587#
607  { OUString("Visible"), SDRATTR_OBJVISIBLE , cppu::UnoType<bool>::get(), 0, 0},
609  { OUString(), 0, css::uno::Type(), 0, 0 }
610  };
611 
612  return aControlPropertyMap_Impl;
613 }
614 
616 {
617  static SfxItemPropertyMapEntry const aPageShapePropertyMap_Impl[] =
618  {
619  { OUString("PageNumber"), OWN_ATTR_PAGE_NUMBER , cppu::UnoType<sal_Int32>::get(), 0, 0},
620  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
624  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
625  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
628  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
629  // #i68101#
632  { OUString(), 0, css::uno::Type(), 0, 0 }
633  };
634 
635  return aPageShapePropertyMap_Impl;
636 }
637 
639 {
640  static SfxItemPropertyMapEntry const aCaptionPropertyMap_Impl[] =
641  {
642  { OUString("CaptionPoint"), OWN_ATTR_CAPTION_POINT, cppu::UnoType<css::awt::Point>::get(), 0, 0 },
643  { OUString("CaptionType"), SDRATTR_CAPTIONTYPE, cppu::UnoType<sal_Int16>::get(), 0, 0},
644  { OUString("CaptionIsFixedAngle"), SDRATTR_CAPTIONFIXEDANGLE, cppu::UnoType<bool>::get(), 0, 0},
645  { OUString("CaptionAngle"), SDRATTR_CAPTIONANGLE, cppu::UnoType<sal_Int32>::get(), 0, 0},
646  { OUString("CaptionGap"), SDRATTR_CAPTIONGAP, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
647  { OUString("CaptionEscapeDirection"), SDRATTR_CAPTIONESCDIR, cppu::UnoType<sal_Int32>::get(), 0, 0},
648  { OUString("CaptionIsEscapeRelative"), SDRATTR_CAPTIONESCISREL, cppu::UnoType<bool>::get(), 0, 0},
649  { OUString("CaptionEscapeRelative"), SDRATTR_CAPTIONESCREL, cppu::UnoType<sal_Int32>::get(), 0, 0},
650  { OUString("CaptionEscapeAbsolute"), SDRATTR_CAPTIONESCABS, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
651  { OUString("CaptionLineLength"), SDRATTR_CAPTIONLINELEN, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
652  { OUString("CaptionIsFitLineLength"), SDRATTR_CAPTIONFITLINELEN, cppu::UnoType<bool>::get(), 0, 0},
662  // #FontWork#
664  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
665  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
666  { OUString(), 0, css::uno::Type(), 0, 0 }
667  };
668 
669  return aCaptionPropertyMap_Impl;
670 }
671 
673 {
674  static SfxItemPropertyMapEntry const aCustomShapePropertyMap_Impl[] =
675  {
676  { OUString("CustomShapeEngine"), SDRATTR_CUSTOMSHAPE_ENGINE, cppu::UnoType<OUString>::get(), 0, 0 },
677  { OUString("CustomShapeData"), SDRATTR_CUSTOMSHAPE_DATA, cppu::UnoType<OUString>::get(), 0, 0 },
678  { OUString("CustomShapeGeometry"), SDRATTR_CUSTOMSHAPE_GEOMETRY,
689  {OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
690  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
691  { OUString(), 0, css::uno::Type(), 0, 0 }
692  };
693  return aCustomShapePropertyMap_Impl;
694 }
695 
697 {
698  static SfxItemPropertyMapEntry const aMediaShapePropertyMap_Impl[] =
699  {
703  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
704  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
705  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION, cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
706  { OUString("MediaURL"), OWN_ATTR_MEDIA_URL, cppu::UnoType<OUString>::get(), 0, 0},
707  { OUString("PreferredSize"), OWN_ATTR_MEDIA_PREFERREDSIZE, cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
708  { OUString("Loop"), OWN_ATTR_MEDIA_LOOP, cppu::UnoType<sal_Bool>::get(), 0, 0},
709  { OUString("Mute"), OWN_ATTR_MEDIA_MUTE, cppu::UnoType<sal_Bool>::get(), 0, 0},
710  { OUString("VolumeDB"), OWN_ATTR_MEDIA_VOLUMEDB, cppu::UnoType<sal_Int16>::get(), 0, 0},
714  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
715  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
716  // #i68101#
719  {OUString("PrivateStream"), OWN_ATTR_MEDIA_STREAM, cppu::UnoType<css::io::XInputStream>::get(), 0, 0},
720  {OUString("PrivateTempFileURL"), OWN_ATTR_MEDIA_TEMPFILEURL, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
721  { OUString("MediaMimeType"), OWN_ATTR_MEDIA_MIMETYPE, cppu::UnoType<OUString>::get(), 0, 0},
722  { OUString("FallbackGraphic"), OWN_ATTR_FALLBACK_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
723  { OUString(), 0, css::uno::Type(), 0, 0 }
724  };
725 
726  return aMediaShapePropertyMap_Impl;
727 }
728 
730 {
731  static SfxItemPropertyMapEntry const aTableShapePropertyMap_Impl[] =
732  {
736  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
737  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
738  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION, cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
741  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
743  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
746  { OUString("Model"), OWN_ATTR_OLEMODEL , cppu::UnoType<css::table::XTable>::get(), css::beans::PropertyAttribute::READONLY, 0},
747  { OUString("TableTemplate"), OWN_ATTR_TABLETEMPLATE , cppu::UnoType<css::container::XIndexAccess>::get(), 0, 0},
748  { OUString("UseFirstRowStyle"), OWN_ATTR_TABLETEMPLATE_FIRSTROW, cppu::UnoType<bool>::get(),0, 0},
749  { OUString("UseLastRowStyle"), OWN_ATTR_TABLETEMPLATE_LASTROW, cppu::UnoType<bool>::get(),0, 0},
750  { OUString("UseFirstColumnStyle"), OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
751  { OUString("UseLastColumnStyle"), OWN_ATTR_TABLETEMPLATE_LASTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
752  { OUString("UseBandingRowStyle"), OWN_ATTR_TABLETEMPLATE_BANDINGROWS, cppu::UnoType<bool>::get(),0, 0},
753  { OUString("UseBandingColumnStyle"), OWN_ATTR_TABLETEMPLATE_BANDINGCOULUMNS, cppu::UnoType<bool>::get(),0, 0},
754  { OUString("ReplacementGraphic"), OWN_ATTR_REPLACEMENT_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
755  { OUString(), 0, css::uno::Type(), 0, 0 }
756  };
757 
758  return aTableShapePropertyMap_Impl;
759 }
760 
762 {
763  static comphelper::PropertyMapEntry const aSvxDrawingDefaultsPropertyMap_Impl[] =
764  {
776  { OUString(), 0, css::uno::Type(), 0, 0 }
777  };
778 
779  return aSvxDrawingDefaultsPropertyMap_Impl;
780 }
781 
783 {
784  static comphelper::PropertyMapEntry const aSvxAdditionalDefaultsPropertyMap_Impl[] =
785  {
786  { OUString("IsFollowingTextFlow"), SID_SW_FOLLOW_TEXT_FLOW, cppu::UnoType<bool>::get(), 0, 0},
787  { OUString(), 0, css::uno::Type(), 0, 0 }
788  };
789 
790  return aSvxAdditionalDefaultsPropertyMap_Impl;
791 }
792 
793 typedef std::unordered_map< OUString, sal_uInt32 > UHashMapImpl;
794 
795 namespace {
796 
797 const UHashMapImpl& GetUHashImpl()
798 {
799  static UHashMapImpl const aImpl
800  {
801  { "com.sun.star.drawing.RectangleShape", OBJ_RECT },
802  { "com.sun.star.drawing.EllipseShape", OBJ_CIRC },
803  { "com.sun.star.drawing.ControlShape", OBJ_UNO },
804  { "com.sun.star.drawing.ConnectorShape", OBJ_EDGE },
805  { "com.sun.star.drawing.MeasureShape", OBJ_MEASURE },
806  { "com.sun.star.drawing.LineShape", OBJ_LINE },
807  { "com.sun.star.drawing.PolyPolygonShape", OBJ_POLY },
808  { "com.sun.star.drawing.PolyLineShape", OBJ_PLIN },
809  { "com.sun.star.drawing.OpenBezierShape", OBJ_PATHLINE },
810  { "com.sun.star.drawing.ClosedBezierShape", OBJ_PATHFILL },
811  { "com.sun.star.drawing.OpenFreeHandShape", OBJ_FREELINE },
812  { "com.sun.star.drawing.ClosedFreeHandShape", OBJ_FREEFILL },
813  { "com.sun.star.drawing.PolyPolygonPathShape", OBJ_PATHPOLY },
814  { "com.sun.star.drawing.PolyLinePathShape", OBJ_PATHPLIN },
815  { "com.sun.star.drawing.GraphicObjectShape", OBJ_GRAF },
816  { "com.sun.star.drawing.GroupShape", OBJ_GRUP },
817  { "com.sun.star.drawing.TextShape", OBJ_TEXT },
818  { "com.sun.star.drawing.OLE2Shape", OBJ_OLE2 },
819  { "com.sun.star.drawing.PageShape", OBJ_PAGE },
820  { "com.sun.star.drawing.CaptionShape", OBJ_CAPTION },
821  { "com.sun.star.drawing.FrameShape", OBJ_FRAME },
822  { "com.sun.star.drawing.PluginShape", OBJ_OLE2_PLUGIN },
823  { "com.sun.star.drawing.AppletShape", OBJ_OLE2_APPLET },
824  { "com.sun.star.drawing.CustomShape", OBJ_CUSTOMSHAPE },
825  { "com.sun.star.drawing.MediaShape", OBJ_MEDIA },
826 
827  { "com.sun.star.drawing.Shape3DSceneObject", E3D_SCENE_ID | E3D_INVENTOR_FLAG },
828  { "com.sun.star.drawing.Shape3DCubeObject", E3D_CUBEOBJ_ID | E3D_INVENTOR_FLAG },
829  { "com.sun.star.drawing.Shape3DSphereObject", E3D_SPHEREOBJ_ID | E3D_INVENTOR_FLAG },
830  { "com.sun.star.drawing.Shape3DLatheObject", E3D_LATHEOBJ_ID | E3D_INVENTOR_FLAG },
831  { "com.sun.star.drawing.Shape3DExtrudeObject", E3D_EXTRUDEOBJ_ID | E3D_INVENTOR_FLAG },
832  { "com.sun.star.drawing.Shape3DPolygonObject", E3D_POLYGONOBJ_ID | E3D_INVENTOR_FLAG },
833  };
834 
835  return aImpl;
836 }
837 
838 }
839 
840 
841 OUString UHashMap::getNameFromId(sal_uInt32 nId)
842 {
843  const UHashMapImpl &rMap = GetUHashImpl();
844 
845  auto it = std::find_if(rMap.begin(), rMap.end(),
846  [nId](const UHashMapImpl::value_type& rEntry) { return rEntry.second == nId; });
847  if (it != rMap.end())
848  return it->first;
849  OSL_FAIL("[CL] unknown SdrObject identifier");
850  return OUString();
851 }
852 
853 uno::Sequence< OUString > UHashMap::getServiceNames()
854 {
855  return comphelper::mapKeysToSequence( GetUHashImpl() );
856 }
857 
858 sal_uInt32 UHashMap::getId( const OUString& rCompareString )
859 {
860  const UHashMapImpl &rMap = GetUHashImpl();
861  UHashMapImpl::const_iterator it = rMap.find( rCompareString );
862  if( it == rMap.end() )
863  return UHASHMAP_NOTFOUND;
864  else
865  return it->second;
866 }
867 
868 namespace {
869 
870 struct theSvxMapProvider :
871  public rtl::Static<SvxUnoPropertyMapProvider, theSvxMapProvider>
872 {
873 };
874 
875 }
876 
878 {
879  return theSvxMapProvider::get();
880 }
881 
882 
884 {
885  for(sal_uInt16 i=0;i<SVXMAP_END; i++)
886  {
887  aSetArr[i] = nullptr;
888  aMapArr[i] = nullptr;
889  }
890 }
891 
893 {
894 }
895 
896 
898 {
899  DBG_ASSERT(nPropertyId < SVXMAP_END, "Id ?" );
900  if(!aMapArr[nPropertyId]) {
901  switch(nPropertyId) {
927 
928  default:
929  OSL_FAIL( "Unknown property map for SvxUnoPropertyMapProvider!" );
930  }
931 // Sort(nPropertyId);
932  }
933  return aMapArr[nPropertyId];
934 }
936 {
937  if( !aSetArr[nPropertyId] )
938  aSetArr[nPropertyId].reset(new SvxItemPropertySet( GetMap( nPropertyId ), rPool ));
939  return aSetArr[nPropertyId].get();
940 }
941 
945 bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) throw()
946 {
947  switch( eVcl )
948  {
949  case MapUnit::Map100thMM: eApi = util::MeasureUnit::MM_100TH; break;
950  case MapUnit::Map10thMM: eApi = util::MeasureUnit::MM_10TH; break;
951  case MapUnit::MapMM: eApi = util::MeasureUnit::MM; break;
952  case MapUnit::MapCM: eApi = util::MeasureUnit::CM; break;
953  case MapUnit::Map1000thInch: eApi = util::MeasureUnit::INCH_1000TH; break;
954  case MapUnit::Map100thInch: eApi = util::MeasureUnit::INCH_100TH; break;
955  case MapUnit::Map10thInch: eApi = util::MeasureUnit::INCH_10TH; break;
956  case MapUnit::MapInch: eApi = util::MeasureUnit::INCH; break;
957  case MapUnit::MapPoint: eApi = util::MeasureUnit::POINT; break;
958  case MapUnit::MapTwip: eApi = util::MeasureUnit::TWIP; break;
959  case MapUnit::MapRelative: eApi = util::MeasureUnit::PERCENT; break;
960  default:
961  return false;
962  }
963 
964  return true;
965 }
966 
971 bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) throw()
972 {
973  switch( eApi )
974  {
975  case util::MeasureUnit::MM: eVcl = FieldUnit::MM; break;
976  case util::MeasureUnit::CM: eVcl = FieldUnit::CM; break;
977  case util::MeasureUnit::M: eVcl = FieldUnit::M; break;
978  case util::MeasureUnit::KM: eVcl = FieldUnit::KM; break;
979  case util::MeasureUnit::TWIP: eVcl = FieldUnit::TWIP; break;
980  case util::MeasureUnit::POINT: eVcl = FieldUnit::POINT; break;
981  case util::MeasureUnit::PICA: eVcl = FieldUnit::PICA; break;
982  case util::MeasureUnit::INCH: eVcl = FieldUnit::INCH; break;
983  case util::MeasureUnit::FOOT: eVcl = FieldUnit::FOOT; break;
984  case util::MeasureUnit::MILE: eVcl = FieldUnit::MILE; break;
985  case util::MeasureUnit::PERCENT: eVcl = FieldUnit::PERCENT; break;
986  case util::MeasureUnit::MM_100TH: eVcl = FieldUnit::MM_100TH; break;
987  default:
988  return false;
989  }
990 
991  return true;
992 }
993 
997 bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) throw()
998 {
999  switch( eVcl )
1000  {
1001  case FieldUnit::MM: eApi = util::MeasureUnit::MM; break;
1002  case FieldUnit::CM: eApi = util::MeasureUnit::CM; break;
1003  case FieldUnit::M: eApi = util::MeasureUnit::M; break;
1004  case FieldUnit::KM: eApi = util::MeasureUnit::KM; break;
1005  case FieldUnit::TWIP: eApi = util::MeasureUnit::TWIP; break;
1006  case FieldUnit::POINT: eApi = util::MeasureUnit::POINT; break;
1007  case FieldUnit::PICA: eApi = util::MeasureUnit::PICA; break;
1008  case FieldUnit::INCH: eApi = util::MeasureUnit::INCH; break;
1009  case FieldUnit::FOOT: eApi = util::MeasureUnit::FOOT; break;
1010  case FieldUnit::MILE: eApi = util::MeasureUnit::MILE; break;
1011  case FieldUnit::PERCENT: eApi = util::MeasureUnit::PERCENT; break;
1012  case FieldUnit::MM_100TH: eApi = util::MeasureUnit::MM_100TH; break;
1013  default:
1014  return false;
1015  }
1016 
1017  return true;
1018 }
1019 
1020 static const char* RID_SVXSTR_BMP_DEF[] =
1021 {
1098 };
1099 
1100 static const char* RID_SVXSTR_BMP[] =
1101 {
1102  RID_SVXSTR_BMP0,
1103  RID_SVXSTR_BMP1,
1104  RID_SVXSTR_BMP2,
1105  RID_SVXSTR_BMP3,
1106  RID_SVXSTR_BMP4,
1107  RID_SVXSTR_BMP5,
1108  RID_SVXSTR_BMP6,
1109  RID_SVXSTR_BMP7,
1110  RID_SVXSTR_BMP8,
1111  RID_SVXSTR_BMP9,
1112  RID_SVXSTR_BMP10,
1113  RID_SVXSTR_BMP11,
1114  RID_SVXSTR_BMP12,
1115  RID_SVXSTR_BMP13,
1116  RID_SVXSTR_BMP14,
1117  RID_SVXSTR_BMP15,
1118  RID_SVXSTR_BMP16,
1119  RID_SVXSTR_BMP17,
1120  RID_SVXSTR_BMP18,
1121  RID_SVXSTR_BMP19,
1122  RID_SVXSTR_BMP20,
1123  RID_SVXSTR_BMP21,
1124  RID_SVXSTR_BMP22,
1125  RID_SVXSTR_BMP23,
1126  RID_SVXSTR_BMP24,
1127  RID_SVXSTR_BMP25,
1128  RID_SVXSTR_BMP26,
1129  RID_SVXSTR_BMP27,
1130  RID_SVXSTR_BMP28,
1131  RID_SVXSTR_BMP29,
1132  RID_SVXSTR_BMP30,
1133  RID_SVXSTR_BMP31,
1134  RID_SVXSTR_BMP32,
1135  RID_SVXSTR_BMP33,
1136  RID_SVXSTR_BMP34,
1137  RID_SVXSTR_BMP35,
1138  RID_SVXSTR_BMP36,
1139  RID_SVXSTR_BMP37,
1140  RID_SVXSTR_BMP38,
1141  RID_SVXSTR_BMP39,
1142  RID_SVXSTR_BMP40,
1143  RID_SVXSTR_BMP41,
1144  RID_SVXSTR_BMP42,
1145  RID_SVXSTR_BMP43,
1146  RID_SVXSTR_BMP44,
1147  RID_SVXSTR_BMP45,
1148  RID_SVXSTR_BMP46,
1149  RID_SVXSTR_BMP47,
1150  RID_SVXSTR_BMP48,
1151  RID_SVXSTR_BMP49,
1152  RID_SVXSTR_BMP50,
1153  RID_SVXSTR_BMP51,
1154  RID_SVXSTR_BMP52,
1155  RID_SVXSTR_BMP53,
1156  RID_SVXSTR_BMP54,
1157  RID_SVXSTR_BMP55,
1158  RID_SVXSTR_BMP56,
1159  RID_SVXSTR_BMP57,
1160  RID_SVXSTR_BMP58,
1161  RID_SVXSTR_BMP59,
1162  RID_SVXSTR_BMP60,
1163  RID_SVXSTR_BMP61,
1164  RID_SVXSTR_BMP62,
1165  RID_SVXSTR_BMP63,
1166  RID_SVXSTR_BMP64,
1167  RID_SVXSTR_BMP65,
1168  RID_SVXSTR_BMP66,
1169  RID_SVXSTR_BMP67,
1170  RID_SVXSTR_BMP68,
1171  RID_SVXSTR_BMP69,
1172  RID_SVXSTR_BMP70,
1173  RID_SVXSTR_BMP71,
1174  RID_SVXSTR_BMP72,
1175  RID_SVXSTR_BMP73,
1176  RID_SVXSTR_BMP74,
1177  RID_SVXSTR_BMP75
1178 };
1179 
1180 static const char* RID_SVXSTR_DASH_DEF[] =
1181 {
1195 };
1196 
1197 static const char* RID_SVXSTR_DASH[] =
1198 {
1199  RID_SVXSTR_DASH0,
1200  RID_SVXSTR_DASH1,
1201  RID_SVXSTR_DASH2,
1202  RID_SVXSTR_DASH3,
1203  RID_SVXSTR_DASH4,
1204  RID_SVXSTR_DASH5,
1205  RID_SVXSTR_DASH6,
1206  RID_SVXSTR_DASH7,
1207  RID_SVXSTR_DASH8,
1208  RID_SVXSTR_DASH9,
1209  RID_SVXSTR_DASH10,
1210  RID_SVXSTR_DASH11,
1211  RID_SVXSTR_DASH12
1212 };
1213 
1214 static const char* RID_SVXSTR_LEND_DEF[] =
1215 {
1237 };
1238 
1239 static const char* RID_SVXSTR_LEND[] =
1240 {
1241  RID_SVXSTR_LEND0,
1242  RID_SVXSTR_LEND1,
1243  RID_SVXSTR_LEND2,
1244  RID_SVXSTR_LEND3,
1245  RID_SVXSTR_LEND4,
1246  RID_SVXSTR_LEND5,
1247  RID_SVXSTR_LEND6,
1248  RID_SVXSTR_LEND7,
1249  RID_SVXSTR_LEND8,
1250  RID_SVXSTR_LEND9,
1251  RID_SVXSTR_LEND10,
1252  RID_SVXSTR_LEND11,
1253  RID_SVXSTR_LEND12,
1254  RID_SVXSTR_LEND13,
1255  RID_SVXSTR_LEND14,
1256  RID_SVXSTR_LEND15,
1257  RID_SVXSTR_LEND16,
1258  RID_SVXSTR_LEND17,
1259  RID_SVXSTR_LEND18,
1260  RID_SVXSTR_LEND19,
1261  RID_SVXSTR_LEND20
1262 };
1263 
1264 static const char* RID_SVXSTR_GRDT_DEF[] =
1265 {
1351 };
1352 
1353 static const char* RID_SVXSTR_GRDT[] =
1354 {
1355  RID_SVXSTR_GRDT0,
1356  RID_SVXSTR_GRDT1,
1357  RID_SVXSTR_GRDT2,
1358  RID_SVXSTR_GRDT3,
1359  RID_SVXSTR_GRDT4,
1360  RID_SVXSTR_GRDT5,
1361  RID_SVXSTR_GRDT6,
1362  RID_SVXSTR_GRDT7,
1363  RID_SVXSTR_GRDT8,
1364  RID_SVXSTR_GRDT9,
1365  RID_SVXSTR_GRDT10,
1366  RID_SVXSTR_GRDT11,
1367  RID_SVXSTR_GRDT12,
1368  RID_SVXSTR_GRDT13,
1369  RID_SVXSTR_GRDT14,
1370  RID_SVXSTR_GRDT15,
1371  RID_SVXSTR_GRDT16,
1372  RID_SVXSTR_GRDT17,
1373  RID_SVXSTR_GRDT18,
1374  RID_SVXSTR_GRDT19,
1375  RID_SVXSTR_GRDT20,
1376  RID_SVXSTR_GRDT21,
1377  RID_SVXSTR_GRDT22,
1378  RID_SVXSTR_GRDT23,
1379  RID_SVXSTR_GRDT24,
1380  RID_SVXSTR_GRDT25,
1381  RID_SVXSTR_GRDT26,
1382  RID_SVXSTR_GRDT27,
1383  RID_SVXSTR_GRDT28,
1384  RID_SVXSTR_GRDT29,
1385  RID_SVXSTR_GRDT30,
1386  RID_SVXSTR_GRDT31,
1387  RID_SVXSTR_GRDT32,
1388  RID_SVXSTR_GRDT33,
1389  RID_SVXSTR_GRDT34,
1390  RID_SVXSTR_GRDT35,
1391  RID_SVXSTR_GRDT36,
1392  RID_SVXSTR_GRDT37,
1393  RID_SVXSTR_GRDT38,
1394  RID_SVXSTR_GRDT39,
1395  RID_SVXSTR_GRDT40,
1396  RID_SVXSTR_GRDT41,
1397  RID_SVXSTR_GRDT42,
1398  RID_SVXSTR_GRDT43,
1399  RID_SVXSTR_GRDT44,
1400  RID_SVXSTR_GRDT45,
1401  RID_SVXSTR_GRDT46,
1402  RID_SVXSTR_GRDT47,
1403  RID_SVXSTR_GRDT48,
1404  RID_SVXSTR_GRDT49,
1405  RID_SVXSTR_GRDT50,
1406  RID_SVXSTR_GRDT51,
1407  RID_SVXSTR_GRDT52,
1408  RID_SVXSTR_GRDT53,
1409  RID_SVXSTR_GRDT54,
1410  RID_SVXSTR_GRDT55,
1411  RID_SVXSTR_GRDT56,
1412  RID_SVXSTR_GRDT57,
1413  RID_SVXSTR_GRDT58,
1414  RID_SVXSTR_GRDT59,
1415  RID_SVXSTR_GRDT60,
1416  RID_SVXSTR_GRDT61,
1417  RID_SVXSTR_GRDT62,
1418  RID_SVXSTR_GRDT63,
1419  RID_SVXSTR_GRDT64,
1420  RID_SVXSTR_GRDT65,
1421  RID_SVXSTR_GRDT66,
1422  RID_SVXSTR_GRDT67,
1423  RID_SVXSTR_GRDT68,
1424  RID_SVXSTR_GRDT69,
1425  RID_SVXSTR_GRDT70,
1426  RID_SVXSTR_GRDT71,
1427  RID_SVXSTR_GRDT72,
1428  RID_SVXSTR_GRDT73,
1429  RID_SVXSTR_GRDT74,
1430  RID_SVXSTR_GRDT75,
1431  RID_SVXSTR_GRDT76,
1432  RID_SVXSTR_GRDT77,
1433  RID_SVXSTR_GRDT78,
1434  RID_SVXSTR_GRDT79,
1435  RID_SVXSTR_GRDT80,
1436  RID_SVXSTR_GRDT81,
1437  RID_SVXSTR_GRDT82,
1438  RID_SVXSTR_GRDT83,
1439  RID_SVXSTR_GRDT84
1440 };
1441 
1442 static const char* RID_SVXSTR_HATCHS_DEF[] =
1443 {
1455 };
1456 
1457 static const char* RID_SVXSTR_HATCHS[] =
1458 {
1459  RID_SVXSTR_HATCH0,
1460  RID_SVXSTR_HATCH1,
1461  RID_SVXSTR_HATCH2,
1462  RID_SVXSTR_HATCH3,
1463  RID_SVXSTR_HATCH4,
1464  RID_SVXSTR_HATCH5,
1465  RID_SVXSTR_HATCH6,
1466  RID_SVXSTR_HATCH7,
1467  RID_SVXSTR_HATCH8,
1468  RID_SVXSTR_HATCH9,
1469  RID_SVXSTR_HATCH10
1470 };
1471 
1472 static const char* RID_SVXSTR_TRASNGR_DEF[] =
1473 {
1475 };
1476 
1477 static const char* RID_SVXSTR_TRASNGR[] =
1478 {
1479  RID_SVXSTR_TRASNGR0
1480 };
1481 
1482 static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const char**& pApiResIds, const char**& pIntResIds, int& nCount ) throw()
1483 {
1484  switch( nWhich )
1485  {
1486  case XATTR_FILLBITMAP:
1487  pApiResIds = RID_SVXSTR_BMP_DEF;
1488  pIntResIds = RID_SVXSTR_BMP;
1489  nCount = SAL_N_ELEMENTS(RID_SVXSTR_BMP_DEF);
1490  break;
1491  case XATTR_LINEDASH:
1492  pApiResIds = RID_SVXSTR_DASH_DEF;
1493  pIntResIds = RID_SVXSTR_DASH;
1494  nCount = SAL_N_ELEMENTS(RID_SVXSTR_DASH_DEF);
1495  break;
1496 
1497  case XATTR_LINESTART:
1498  case XATTR_LINEEND:
1499  pApiResIds = RID_SVXSTR_LEND_DEF;
1500  pIntResIds = RID_SVXSTR_LEND;
1501  nCount = SAL_N_ELEMENTS(RID_SVXSTR_LEND_DEF);
1502  break;
1503 
1504  case XATTR_FILLGRADIENT:
1505  pApiResIds = RID_SVXSTR_GRDT_DEF;
1506  pIntResIds = RID_SVXSTR_GRDT;
1507  nCount = SAL_N_ELEMENTS(RID_SVXSTR_GRDT_DEF);
1508  break;
1509 
1510  case XATTR_FILLHATCH:
1511  pApiResIds = RID_SVXSTR_HATCHS_DEF;
1512  pIntResIds = RID_SVXSTR_HATCHS;
1513  nCount = SAL_N_ELEMENTS(RID_SVXSTR_HATCHS_DEF);
1514  break;
1515 
1517  pApiResIds = RID_SVXSTR_TRASNGR_DEF;
1518  pIntResIds = RID_SVXSTR_TRASNGR;
1519  nCount = SAL_N_ELEMENTS(RID_SVXSTR_TRASNGR_DEF);
1520  break;
1521 
1522  default:
1523  return false;
1524  }
1525  return true;
1526 }
1527 
1529 static bool SvxUnoConvertResourceString(const char **pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi)
1530 {
1531  // first, calculate the search string length without an optional number after the name
1532  sal_Int32 nLength = rString.getLength();
1533  while( nLength > 0 )
1534  {
1535  const sal_Unicode nChar = rString[ nLength - 1 ];
1536  if( (nChar < '0') || (nChar > '9') )
1537  break;
1538 
1539  nLength--;
1540  }
1541 
1542  // if we cut off a number, also cut of some spaces
1543  if( nLength != rString.getLength() )
1544  {
1545  while( nLength > 0 )
1546  {
1547  const sal_Unicode nChar = rString[ nLength - 1 ];
1548  if( nChar != ' ' )
1549  break;
1550 
1551  nLength--;
1552  }
1553  }
1554 
1555  const OUString aShortString( rString.copy( 0, nLength ) );
1556 
1557  for (int i = 0; i < nCount; ++i)
1558  {
1559  if (bToApi)
1560  {
1561  const OUString & aCompare = SvxResId(pSourceResIds[i]);
1562  if( aShortString == aCompare )
1563  {
1564  rString = rString.replaceAt( 0, aShortString.getLength(), OUString::createFromAscii(pDestResIds[i]) );
1565  return true;
1566  }
1567  else if( rString == aCompare )
1568  {
1569  rString = OUString::createFromAscii(pDestResIds[i]);
1570  return true;
1571  }
1572  }
1573  else
1574  {
1575  auto pCompare = pSourceResIds[i];
1576  if( aShortString.equalsAscii(pCompare) )
1577  {
1578  rString = rString.replaceAt( 0, aShortString.getLength(), SvxResId(pDestResIds[i]) );
1579  return true;
1580  }
1581  else if( rString.equalsAscii(pCompare) )
1582  {
1583  rString = SvxResId(pDestResIds[i]);
1584  return true;
1585  }
1586  }
1587  }
1588 
1589  return false;
1590 }
1591 
1592 
1593 // #i122649# Some comments on the below arrays:
1594 // - They need to have the same order and count of items
1595 // - They are used to translate between translated and non-translated color names
1596 // - To make longer names be found which start with the same basic string,
1597 // these have to be in front of others
1598 
1599 // It would be nice to:
1600 // - evtl. organize these in a single array with 2-dimensional inner to eliminate
1601 // the possibility to define it wrong
1602 // - change the compare to also work when a shorter name is in front of a longer one
1603 
1604 static const char* SvxUnoColorNameDefResId[] =
1605 {
1714 };
1715 
1716 static const char* SvxUnoColorNameResId[] =
1717 {
1718  RID_SVXSTR_COLOR_BLUEGREY,
1719  RID_SVXSTR_COLOR_BLACK,
1720  RID_SVXSTR_COLOR_BLUE_CLASSIC,
1721  RID_SVXSTR_COLOR_BLUE,
1722  RID_SVXSTR_COLOR_GREEN,
1723  RID_SVXSTR_COLOR_RED,
1724  RID_SVXSTR_COLOR_MAGENTA,
1725  RID_SVXSTR_COLOR_GREY,
1726  RID_SVXSTR_COLOR_YELLOWGREEN,
1727  RID_SVXSTR_COLOR_YELLOW,
1728  RID_SVXSTR_COLOR_WHITE,
1729  RID_SVXSTR_COLOR_ORANGE,
1730  RID_SVXSTR_COLOR_BORDEAUX,
1731  RID_SVXSTR_COLOR_PALE_YELLOW,
1732  RID_SVXSTR_COLOR_PALE_GREEN,
1733  RID_SVXSTR_COLOR_DARKVIOLET,
1734  RID_SVXSTR_COLOR_SALMON,
1735  RID_SVXSTR_COLOR_SEABLUE,
1736  RID_SVXSTR_COLOR_CHART,
1737  RID_SVXSTR_COLOR_PURPLE,
1738  RID_SVXSTR_COLOR_SKYBLUE,
1739  RID_SVXSTR_COLOR_PINK,
1740  RID_SVXSTR_COLOR_TURQUOISE,
1741  RID_SVXSTR_COLOR_GOLD,
1742  RID_SVXSTR_COLOR_BRICK,
1743  RID_SVXSTR_COLOR_INDIGO,
1744  RID_SVXSTR_COLOR_TEAL,
1745  RID_SVXSTR_COLOR_LIME,
1746  RID_SVXSTR_COLOR_LIGHTGRAY,
1747  RID_SVXSTR_COLOR_LIGHTYELLOW,
1748  RID_SVXSTR_COLOR_LIGHTGOLD,
1749  RID_SVXSTR_COLOR_LIGHTORANGE,
1750  RID_SVXSTR_COLOR_LIGHTBRICK,
1751  RID_SVXSTR_COLOR_LIGHTRED,
1752  RID_SVXSTR_COLOR_LIGHTMAGENTA,
1753  RID_SVXSTR_COLOR_LIGHTPURPLE,
1754  RID_SVXSTR_COLOR_LIGHTINDIGO,
1755  RID_SVXSTR_COLOR_LIGHTBLUE,
1756  RID_SVXSTR_COLOR_LIGHTTEAL,
1757  RID_SVXSTR_COLOR_LIGHTGREEN,
1758  RID_SVXSTR_COLOR_LIGHTLIME,
1759  RID_SVXSTR_COLOR_DARKGRAY,
1760  RID_SVXSTR_COLOR_DARKYELLOW,
1761  RID_SVXSTR_COLOR_DARKGOLD,
1762  RID_SVXSTR_COLOR_DARKORANGE,
1763  RID_SVXSTR_COLOR_DARKBRICK,
1764  RID_SVXSTR_COLOR_DARKRED,
1765  RID_SVXSTR_COLOR_DARKMAGENTA,
1766  RID_SVXSTR_COLOR_DARKPURPLE,
1767  RID_SVXSTR_COLOR_DARKINDIGO,
1768  RID_SVXSTR_COLOR_DARKBLUE,
1769  RID_SVXSTR_COLOR_DARKTEAL,
1770  RID_SVXSTR_COLOR_DARKGREEN,
1771  RID_SVXSTR_COLOR_DARKLIME,
1772  RID_SVXSTR_COLOR_VIOLET,
1773  RID_SVXSTR_COLOR_VIOLET_OUG,
1774  RID_SVXSTR_COLOR_BLUE_OUG,
1775  RID_SVXSTR_COLOR_AZURE_OUG,
1776  RID_SVXSTR_COLOR_SPRINGGREEN_OUG,
1777  RID_SVXSTR_COLOR_GREEN_OUG,
1778  RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG,
1779  RID_SVXSTR_COLOR_ORANGE_OUG,
1780  RID_SVXSTR_COLOR_RED_OUG,
1781  RID_SVXSTR_COLOR_ROSE_OUG,
1782  RID_SVXSTR_COLOR_AZURE,
1783  RID_SVXSTR_COLOR_CYAN,
1784  RID_SVXSTR_COLOR_SPRINGGREEN,
1785  RID_SVXSTR_COLOR_CHARTREUSEGREEN,
1786  RID_SVXSTR_COLOR_ROSE,
1787  RID_SVXSTR_COLOR_MATERIAL_GRAY_A,
1788  RID_SVXSTR_COLOR_MATERIAL_YELLOW_A,
1789  RID_SVXSTR_COLOR_MATERIAL_AMBER_A,
1790  RID_SVXSTR_COLOR_MATERIAL_AMBER,
1791  RID_SVXSTR_COLOR_MATERIAL_ORANGE_A,
1792  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A,
1793  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE,
1794  RID_SVXSTR_COLOR_MATERIAL_RED_A,
1795  RID_SVXSTR_COLOR_MATERIAL_PINK_A,
1796  RID_SVXSTR_COLOR_MATERIAL_PURPLE_A,
1797  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A,
1798  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE,
1799  RID_SVXSTR_COLOR_MATERIAL_INDIGO_A,
1800  RID_SVXSTR_COLOR_MATERIAL_BLUE_A,
1801  RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A,
1802  RID_SVXSTR_COLOR_MATERIAL_CYAN_A,
1803  RID_SVXSTR_COLOR_MATERIAL_TEAL_A,
1804  RID_SVXSTR_COLOR_MATERIAL_GREEN_A,
1805  RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A,
1806  RID_SVXSTR_COLOR_MATERIAL_LIME_A,
1807  RID_SVXSTR_COLOR_MATERIAL_BROWN_A,
1808  RID_SVXSTR_COLOR_MATERIAL_BROWN,
1809  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A,
1810  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY,
1811  RID_SVXSTR_COLOR_LIBRE_GREEN_1,
1812  RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT,
1813  RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT,
1814  RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT,
1815  RID_SVXSTR_COLOR_LIBRE_PURPLE,
1816  RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT,
1817  RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT,
1818  RID_SVXSTR_COLOR_TANGO_BUTTER,
1819  RID_SVXSTR_COLOR_TANGO_ORANGE,
1820  RID_SVXSTR_COLOR_TANGO_CHOCOLATE,
1821  RID_SVXSTR_COLOR_TANGO_CHAMELEON,
1822  RID_SVXSTR_COLOR_TANGO_SKY_BLUE,
1823  RID_SVXSTR_COLOR_TANGO_PLUM,
1824  RID_SVXSTR_COLOR_TANGO_SCARLET_RED,
1825  RID_SVXSTR_COLOR_TANGO_ALUMINIUM
1826 };
1827 
1829 static bool SvxUnoConvertResourceStringBuiltIn(const char** pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi)
1830 {
1831  //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1832  //replace "Red Hat 1" with the translation of Red :-)
1833  sal_Int32 nLength = rString.getLength();
1834  while( nLength > 0 )
1835  {
1836  const sal_Unicode nChar = rString[nLength-1];
1837  if (nChar != '%' && (nChar < '0' || nChar > '9'))
1838  break;
1839  nLength--;
1840  }
1841  OUString sStr = rString.copy(0, nLength).trim();
1842 
1843  for(int i = 0; i < nCount; ++i )
1844  {
1845  if (bToApi)
1846  {
1847  OUString aStrDefName = SvxResId(pSourceResIds[i]);
1848  if( sStr == aStrDefName )
1849  {
1850  OUString aReplace = OUString::createFromAscii(pDestResIds[i]);
1851  rString = rString.replaceAt( 0, aStrDefName.getLength(), aReplace );
1852  return true;
1853  }
1854  }
1855  else
1856  {
1857  if( sStr.equalsAscii(pSourceResIds[i]) )
1858  {
1859  OUString aReplace = SvxResId(pDestResIds[i]);
1860  rString = rString.replaceAt( 0, strlen(pSourceResIds[i]), aReplace );
1861  return true;
1862  }
1863  }
1864  }
1865 
1866  return false;
1867 }
1868 
1872 OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString& rInternalName)
1873 {
1874  OUString aNew = rInternalName;
1875 
1876  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
1877  {
1878  if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameResId, SvxUnoColorNameDefResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, true))
1879  {
1880  return aNew;
1881  }
1882  }
1883  else
1884  {
1885  const char** pApiResIds;
1886  const char** pIntResIds;
1887  int nCount;
1888 
1889  if( SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
1890  {
1891  if (SvxUnoConvertResourceString(pIntResIds, pApiResIds, nCount, aNew, true))
1892  {
1893  return aNew;
1894  }
1895  }
1896  }
1897 
1898  // just use previous name, if nothing else was found.
1899  return rInternalName;
1900 }
1901 
1905 OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& rApiName)
1906 {
1907  OUString aNew = rApiName;
1908 
1909  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
1910  {
1911  if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameDefResId, SvxUnoColorNameResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, false))
1912  {
1913  return aNew;
1914  }
1915  }
1916  else
1917  {
1918  const char** pApiResIds;
1919  const char** pIntResIds;
1920  int nCount;
1921 
1922  if (SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
1923  {
1924  if (SvxUnoConvertResourceString(pApiResIds, pIntResIds, nCount, aNew, false))
1925  {
1926  return aNew;
1927  }
1928  }
1929  }
1930 
1931  // just use previous name, if nothing else was found.
1932  return rApiName;
1933 }
1934 
1935 
1936 rtl::Reference<comphelper::PropertySetInfo> const & SvxPropertySetInfoPool::getOrCreate( sal_Int32 nServiceId ) throw()
1937 {
1938  SolarMutexGuard aGuard;
1939 
1940  assert( nServiceId <= SVXUNO_SERVICEID_LASTID );
1941 
1942  if( !mxInfos[ nServiceId ].is() )
1943  {
1944  mxInfos[nServiceId] = new comphelper::PropertySetInfo();
1945 
1946  switch( nServiceId )
1947  {
1950  break;
1953  mxInfos[SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER]->remove( UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION );
1954  // OD 13.10.2003 #i18732# - add property map for writer item 'IsFollowingTextFlow'
1956  break;
1957 
1958  default:
1959  OSL_FAIL( "unknown service id!" );
1960  }
1961  }
1962 
1963  return mxInfos[ nServiceId ];
1964 }
1965 
1967 
1968 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define RID_SVXSTR_BMP42_DEF
Definition: strings.hxx:262
#define RID_SVXSTR_GRDT68_DEF
Definition: strings.hxx:188
#define UNO_NAME_MISC_OBJ_ZORDER
#define SDRATTR_CUSTOMSHAPE_DATA
Definition: svddef.hxx:399
const sal_uInt16 E3D_LATHEOBJ_ID
Definition: globl3d.hxx:30
#define OWN_ATTR_MEDIA_STREAM
Definition: unoshprp.hxx:179
OutlineText, special text object for StarDraw.
Definition: svdobj.hxx:136
#define UNO_NAME_EDIT_CHAR_CASEMAP
#define RID_SVXSTR_COLOR_PINK_DEF
Definition: strings.hxx:42
FieldUnit
#define RID_SVXSTR_LEND11_DEF
Definition: strings.hxx:325
#define XATTR_FILLHATCH
Definition: xdef.hxx:110
static const char * RID_SVXSTR_BMP_DEF[]
Definition: unoprov.cxx:1020
#define RID_SVXSTR_HATCH8_DEF
Definition: strings.hxx:215
#define OWN_ATTR_BOUNDRECT
Definition: unoshprp.hxx:97
#define OWN_ATTR_FALLBACK_GRAPHIC
Definition: unoshprp.hxx:183
#define SPECIAL_3DLATHEANDEXTRUDEOBJ_PROPERTIES
Definition: unoshprp.hxx:524
#define RID_SVXSTR_BMP36_DEF
Definition: strings.hxx:256
#define RID_SVXSTR_COLOR_AZURE_DEF
Definition: strings.hxx:89
#define SPECIAL_3DLATHEOBJECT_PROPERTIES
Definition: unoshprp.hxx:531
#define OWN_ATTR_OLE_ASPECT
Definition: unoshprp.hxx:163
#define RID_SVXSTR_GRDT64_DEF
Definition: strings.hxx:184
#define SVXMAP_CONNECTOR
Definition: unoprov.hxx:54
#define RID_SVXSTR_DASH0_DEF
Definition: strings.hxx:300
Universal Network Object packed into SvDraw object.
Definition: svdobj.hxx:146
#define RID_SVXSTR_LEND17_DEF
Definition: strings.hxx:331
#define RID_SVXSTR_GRDT67_DEF
Definition: strings.hxx:187
#define RID_SVXSTR_BMP56_DEF
Definition: strings.hxx:276
#define RID_SVXSTR_COLOR_MATERIAL_TEAL_A_DEF
Definition: strings.hxx:111
foreign graphic (StarView Graphic)
Definition: svdobj.hxx:137
#define RID_SVXSTR_COLOR_SALMON_DEF
Definition: strings.hxx:36
#define RID_SVXSTR_BMP60_DEF
Definition: strings.hxx:280
static bool SvxUnoGetResourceRanges(const sal_uInt16 nWhich, const char **&pApiResIds, const char **&pIntResIds, int &nCount)
Definition: unoprov.cxx:1482
#define OWN_ATTR_METAFILE
Definition: unoshprp.hxx:95
#define RID_SVXSTR_BMP68_DEF
Definition: strings.hxx:288
#define RID_SVXSTR_BMP43_DEF
Definition: strings.hxx:263
#define RID_SVXSTR_GRDT33_DEF
Definition: strings.hxx:153
#define OWN_ATTR_MEDIA_PREFERREDSIZE
Definition: unoshprp.hxx:153
#define SDRATTR_LAYERID
Definition: svddef.hxx:276
#define OWN_ATTR_CAPTION_POINT
Definition: unoshprp.hxx:147
#define RID_SVXSTR_BMP32_DEF
Definition: strings.hxx:252
#define SDRATTR_CUSTOMSHAPE_ENGINE
Definition: svddef.hxx:398
#define RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_DEF
Definition: strings.hxx:101
#define OWN_ATTR_TABLETEMPLATE_LASTCOLUMN
Definition: unoshprp.hxx:141
#define SDRATTR_CAPTIONFIXEDANGLE
Definition: svddef.hxx:187
#define RID_SVXSTR_COLOR_CYAN_DEF
Definition: strings.hxx:90
static SfxItemPropertyMapEntry const * ImplGetSvx3DPolygonObjectPropertyMap()
Definition: unoprov.cxx:346
#define OWN_ATTR_REPLACEMENT_GRAPHIC
reuse attr slots for GraphicObject which will never be used together with graphic object ...
Definition: unoshprp.hxx:118
#define RID_SVXSTR_GRDT2_DEF
Definition: strings.hxx:122
#define RID_SVXSTR_COLOR_TANGO_CHOCOLATE_DEF
Definition: strings.hxx:346
#define RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF
Definition: strings.hxx:337
#define RID_SVXSTR_GRDT74_DEF
Definition: strings.hxx:195
#define RID_SVXSTR_BMP35_DEF
Definition: strings.hxx:255
#define OWN_ATTR_FRAME_URL
Definition: unoshprp.hxx:129
#define OWN_ATTR_MIRRORED
Definition: unoshprp.hxx:103
#define RID_SVXSTR_BMP58_DEF
Definition: strings.hxx:278
static SfxItemPropertyMapEntry const * ImplGetSvx3DSceneObjectPropertyMap()
Definition: unoprov.cxx:235
#define RID_SVXSTR_COLOR_DARKORANGE_DEF
Definition: strings.hxx:68
#define RID_SVXSTR_COLOR_DARKTEAL_DEF
Definition: strings.hxx:75
#define RID_SVXSTR_DASH10_DEF
Definition: strings.hxx:310
Polyline represented by SdrPathObj.
Definition: svdobj.hxx:142
#define UNO_NAME_OLE2_METAFILE
const sal_uInt16 E3D_POLYGONOBJ_ID
Definition: globl3d.hxx:32
#define RID_SVXSTR_BMP27_DEF
Definition: strings.hxx:247
static const char * RID_SVXSTR_HATCHS_DEF[]
Definition: unoprov.cxx:1442
#define RID_SVXSTR_COLOR_WHITE_DEF
Definition: strings.hxx:28
periodic cubic Spline (ni)
Definition: svdobj.hxx:133
#define SPECIAL_POLYPOLYGONBEZIER_PROPERTIES
Definition: unoshprp.hxx:421
#define RID_SVXSTR_COLOR_LIGHTPURPLE_DEF
Definition: strings.hxx:58
#define RID_SVXSTR_COLOR_AZURE_OUG_DEF
Definition: strings.hxx:82
#define RID_SVXSTR_GRDT21_DEF
Definition: strings.hxx:141
#define RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A_DEF
Definition: strings.hxx:100
const sal_Int32 SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS
class SvxPropertySetInfoPool
Definition: unoprov.hxx:108
#define RID_SVXSTR_GRDT5_DEF
Definition: strings.hxx:125
#define RID_SVXSTR_HATCH0_DEF
Definition: strings.hxx:207
#define RID_SVXSTR_GRDT6_DEF
Definition: strings.hxx:126
static const char * RID_SVXSTR_TRASNGR_DEF[]
Definition: unoprov.cxx:1472
#define UNO_NAME_EDIT_PARA_ADJUST
#define OWN_ATTR_TRANSFORMATION
Definition: unoshprp.hxx:114
#define OWN_ATTR_VALUE_GRAPHIC
Definition: unoshprp.hxx:160
#define SPECIAL_3DSPHEREOBJECT_PROPERTIES
Definition: unoshprp.hxx:516
#define RID_SVXSTR_BMP63_DEF
Definition: strings.hxx:283
#define RID_SVXSTR_GRDT23_DEF
Definition: strings.hxx:143
#define RID_SVXSTR_GRDT45_DEF
Definition: strings.hxx:165
#define SVXMAP_CIRCLE
Definition: unoprov.hxx:56
#define SDRATTR_XMLATTRIBUTES
Definition: svddef.hxx:221
#define XATTR_FILLGRADIENT
Definition: xdef.hxx:109
caption object
Definition: svdobj.hxx:140
#define RID_SVXSTR_COLOR_DARKBLUE_DEF
Definition: strings.hxx:74
#define RID_SVXSTR_COLOR_LIME_DEF
Definition: strings.hxx:49
#define SPECIAL_3DCUBEOBJECT_PROPERTIES
Definition: unoshprp.hxx:510
#define OWN_ATTR_TABLETEMPLATE
Definition: unoshprp.hxx:137
#define SVXMAP_PAGE
Definition: unoprov.hxx:77
#define XATTR_FILLFLOATTRANSPARENCE
Definition: xdef.hxx:118
#define OWN_ATTR_FRAME_MARGIN_HEIGHT
Definition: unoshprp.hxx:134
#define SVXMAP_3DSCENEOBJECT
Definition: unoprov.hxx:59
#define RID_SVXSTR_COLOR_PURPLE_DEF
Definition: strings.hxx:39
#define OWN_ATTR_MISC_OBJ_DESCRIPTION
Definition: unoshprp.hxx:167
#define RID_SVXSTR_BMP0_DEF
Definition: strings.hxx:219
static comphelper::PropertyMapEntry const * ImplGetSvxDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:761
#define SPECIAL_3DSCENEOBJECT_PROPERTIES
Definition: unoshprp.hxx:487
#define RID_SVXSTR_GRDT1_DEF
Definition: strings.hxx:121
#define RID_SVXSTR_HATCH5_DEF
Definition: strings.hxx:212
static bool SvxUnoConvertResourceString(const char **pSourceResIds, const char **pDestResIds, int nCount, OUString &rString, bool bToApi)
Definition: unoprov.cxx:1529
#define RID_SVXSTR_COLOR_YELLOW_DEF
Definition: strings.hxx:27
#define RID_SVXSTR_COLOR_MATERIAL_GRAY_A_DEF
Definition: strings.hxx:95
#define RID_SVXSTR_GRDT4_DEF
Definition: strings.hxx:124
measurement object
Definition: svdobj.hxx:144
#define RID_SVXSTR_LEND10_DEF
Definition: strings.hxx:324
OLE object.
Definition: svdobj.hxx:138
#define RID_SVXSTR_COLOR_LIGHTINDIGO_DEF
Definition: strings.hxx:59
#define RID_SVXSTR_GRDT48_DEF
Definition: strings.hxx:168
#define RID_SVXSTR_BMP50_DEF
Definition: strings.hxx:270
#define RID_SVXSTR_COLOR_TANGO_ALUMINIUM_DEF
Definition: strings.hxx:351
#define RID_SVXSTR_GRDT16_DEF
Definition: strings.hxx:136
#define RID_SVXSTR_HATCH10_DEF
Definition: strings.hxx:217
#define FONTWORK_PROPERTIES
Definition: unoshprp.hxx:198
OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString &rInternalName)
if the given name is a predefined name for the current language it is replaced by the corresponding a...
Definition: unoprov.cxx:1872
#define RID_SVXSTR_GRDT9_DEF
Definition: strings.hxx:129
#define FILL_PROPERTIES_BMP
Definition: unoshprp.hxx:247
#define RID_SVXSTR_GRDT35_DEF
Definition: strings.hxx:155
circle cut
Definition: svdobj.hxx:125
#define RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A_DEF
Definition: strings.hxx:113
#define RID_SVXSTR_GRDT29_DEF
Definition: strings.hxx:149
#define RID_SVXSTR_LEND6_DEF
Definition: strings.hxx:320
open free-hand line
Definition: svdobj.hxx:130
#define RID_SVXSTR_GRDT26_DEF
Definition: strings.hxx:146
#define RID_SVXSTR_GRDT76_DEF
Definition: strings.hxx:197
static SfxItemPropertyMapEntry const * ImplGetSvxGraphicObjectPropertyMap()
Definition: unoprov.cxx:203
static SfxItemPropertyMapEntry const * ImplGetSvxFramePropertyMap()
Definition: unoprov.cxx:488
static SfxItemPropertyMapEntry const * ImplGetSvx3DLatheObjectPropertyMap()
Definition: unoprov.cxx:294
#define RID_SVXSTR_COLOR_SPRINGGREEN_DEF
Definition: strings.hxx:91
#define OWN_ATTR_OLESIZE
Definition: unoshprp.hxx:100
#define OWN_ATTR_MEDIA_VOLUMEDB
Definition: unoshprp.hxx:156
#define RID_SVXSTR_GRDT53_DEF
Definition: strings.hxx:173
#define RID_SVXSTR_COLOR_TANGO_SKY_BLUE_DEF
Definition: strings.hxx:348
#define RID_SVXSTR_COLOR_MAGENTA_DEF
Definition: strings.hxx:31
#define LINE_PROPERTIES
Definition: unoshprp.hxx:236
#define RID_SVXSTR_GRDT0_DEF
Definition: strings.hxx:120
#define RID_SVXSTR_GRDT77_DEF
Definition: strings.hxx:198
static SfxItemPropertyMapEntry const * ImplGetSvx3DExtrudeObjectPropertyMap()
Definition: unoprov.cxx:320
#define OWN_ATTR_UINAME_SINGULAR
Definition: unoshprp.hxx:158
polygon, PolyPolygon
Definition: svdobj.hxx:126
#define RID_SVXSTR_COLOR_ORANGE_OUG_DEF
Definition: strings.hxx:86
object that represents a SdrPage
Definition: svdobj.hxx:143
#define RID_SVXSTR_BMP7_DEF
Definition: strings.hxx:226
#define RID_SVXSTR_BMP49_DEF
Definition: strings.hxx:269
line
Definition: svdobj.hxx:120
#define RID_SVXSTR_GRDT84_DEF
Definition: strings.hxx:205
#define RID_SVXSTR_COLOR_TANGO_PLUM_DEF
Definition: strings.hxx:349
#define RID_SVXSTR_BMP4_DEF
Definition: strings.hxx:223
#define RID_SVXSTR_LEND1_DEF
Definition: strings.hxx:315
#define RID_SVXSTR_GRDT57_DEF
Definition: strings.hxx:177
static SfxItemPropertyMapEntry const * ImplGetSvxCustomShapePropertyMap()
Definition: unoprov.cxx:672
#define RID_SVXSTR_COLOR_ROSE_DEF
Definition: strings.hxx:93
#define RID_SVXSTR_COLOR_DARKVIOLET_DEF
Definition: strings.hxx:35
#define RID_SVXSTR_GRDT47_DEF
Definition: strings.hxx:167
#define SVXMAP_END
Definition: unoprov.hxx:78
#define RID_SVXSTR_BMP46_DEF
Definition: strings.hxx:266
#define RID_SVXSTR_GRDT61_DEF
Definition: strings.hxx:181
#define RID_SVXSTR_COLOR_CHARTREUSEGREEN_DEF
Definition: strings.hxx:92
#define OWN_ATTR_MEDIA_TEMPFILEURL
Definition: unoshprp.hxx:180
#define RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A_DEF
Definition: strings.hxx:109
const sal_Int16 OBJ_OLE2_APPLET
Globals.
Definition: unoprov.hxx:99
custom shape
Definition: svdobj.hxx:147
#define RID_SVXSTR_BMP64_DEF
Definition: strings.hxx:284
#define RID_SVXSTR_BMP44_DEF
Definition: strings.hxx:264
sal_uInt16 sal_Unicode
Polygon/PolyPolygon represented by SdrPathObj.
Definition: svdobj.hxx:141
#define RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A_DEF
Definition: strings.hxx:117
#define OWN_ATTR_OLE_LINKURL
Definition: unoshprp.hxx:173
#define OWN_ATTR_ZORDER
Definition: unoshprp.hxx:107
#define SDRATTR_CAPTIONESCABS
Definition: svddef.hxx:193
connector object
Definition: svdobj.hxx:139
#define RID_SVXSTR_COLOR_MATERIAL_CYAN_A_DEF
Definition: strings.hxx:110
#define RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT_DEF
Definition: strings.hxx:343
#define MISC_3D_OBJ_PROPERTIES
Definition: unoshprp.hxx:494
#define SDRATTR_CUSTOMSHAPE_GEOMETRY
Definition: svddef.hxx:400
#define RID_SVXSTR_BMP45_DEF
Definition: strings.hxx:265
#define OWN_ATTR_FRAME_MARGIN_WIDTH
Definition: unoshprp.hxx:133
#define RID_SVXSTR_COLOR_SEABLUE_DEF
Definition: strings.hxx:37
#define UNO_NAME_EDIT_CHAR_FONTFAMILY
OUString SvxResId(const char *pId)
Definition: dialmgr.cxx:28
#define OWN_ATTR_INTEROPGRABBAG
Definition: unoshprp.hxx:181
#define RID_SVXSTR_GRDT32_DEF
Definition: strings.hxx:152
continuously activated OLE (PlugIn-Frame or similar)
Definition: svdobj.hxx:145
#define SVXMAP_3DEXTRUDEOBJECT
Definition: unoprov.hxx:63
#define RID_SVXSTR_BMP65_DEF
Definition: strings.hxx:285
#define OWN_ATTR_MISC_OBJ_TITLE
Definition: unoshprp.hxx:166
#define UNO_NAME_EDIT_CHAR_STRIKEOUT
#define OWN_ATTR_TABLETEMPLATE_LASTROW
Definition: unoshprp.hxx:139
#define RID_SVXSTR_COLOR_LIGHTTEAL_DEF
Definition: strings.hxx:61
#define UNO_NAME_GRAPHOBJ_GRAPHIC
#define SVXMAP_SHAPE
Sorter.
Definition: unoprov.hxx:53
#define SVXMAP_3DCUBEOBJECT
Definition: unoprov.hxx:60
OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString &rApiName)
if the given name is a predefined api name it is replaced by the predefined name for the current lang...
Definition: unoprov.cxx:1905
#define RID_SVXSTR_COLOR_VIOLET_DEF
Definition: strings.hxx:79
#define RID_SVXSTR_TRASNGR0_DEF
Definition: strings.hxx:336
#define RID_SVXSTR_BMP30_DEF
Definition: strings.hxx:250
int nCount
#define RID_SVXSTR_GRDT18_DEF
Definition: strings.hxx:138
#define OWN_ATTR_APPLET_NAME
Definition: unoshprp.hxx:122
#define RID_SVXSTR_COLOR_DARKRED_DEF
Definition: strings.hxx:70
#define RID_SVXSTR_COLOR_DARKYELLOW_DEF
Definition: strings.hxx:66
#define SVXMAP_3DSPHEREOBJECT
Definition: unoprov.hxx:61
#define SDRATTR_CAPTIONESCISREL
Definition: svddef.hxx:191
#define UNO_NAME_MISC_OBJ_DESCRIPTION
#define SVXMAP_GRAPHICOBJECT
Definition: unoprov.hxx:58
static SfxItemPropertyMapEntry const * ImplGetSvxOle2PropertyMap()
Definition: unoprov.cxx:423
#define RID_SVXSTR_COLOR_BLACK_DEF
Definition: strings.hxx:22
#define SVXMAP_ALL
Definition: unoprov.hxx:65
#define OWN_ATTR_CLSID
Definition: unoshprp.hxx:104
#define RID_SVXSTR_GRDT25_DEF
Definition: strings.hxx:145
#define RID_SVXSTR_COLOR_DARKBRICK_DEF
Definition: strings.hxx:69
PolyLine.
Definition: svdobj.hxx:127
const sal_uInt16 E3D_SCENE_ID
Definition: globl3d.hxx:25
#define RID_SVXSTR_COLOR_MATERIAL_GREEN_A_DEF
Definition: strings.hxx:112
#define RID_SVXSTR_BMP47_DEF
Definition: strings.hxx:267
#define RID_SVXSTR_GRDT11_DEF
Definition: strings.hxx:131
#define SVXMAP_PLUGIN
Definition: unoprov.hxx:69
#define RID_SVXSTR_COLOR_VIOLET_OUG_DEF
Definition: strings.hxx:80
#define RID_SVXSTR_GRDT27_DEF
Definition: strings.hxx:147
#define RID_SVXSTR_GRDT22_DEF
Definition: strings.hxx:142
#define RID_SVXSTR_HATCH4_DEF
Definition: strings.hxx:211
#define RID_SVXSTR_GRDT52_DEF
Definition: strings.hxx:172
#define RID_SVXSTR_GRDT72_DEF
Definition: strings.hxx:193
#define RID_SVXSTR_BMP67_DEF
Definition: strings.hxx:287
#define OWN_ATTR_TABLETEMPLATE_FIRSTROW
Definition: unoshprp.hxx:138
#define SDRATTR_CAPTIONTYPE
Definition: svddef.hxx:186
#define RID_SVXSTR_COLOR_TANGO_BUTTER_DEF
Definition: strings.hxx:344
#define RID_SVXSTR_COLOR_MATERIAL_RED_A_DEF
Definition: strings.hxx:102
#define SDRATTR_CAPTIONGAP
Definition: svddef.hxx:189
#define RID_SVXSTR_COLOR_DARKGOLD_DEF
Definition: strings.hxx:67
#define RID_SVXSTR_GRDT81_DEF
Definition: strings.hxx:202
#define RID_SVXSTR_BMP11_DEF
Definition: strings.hxx:230
#define RID_SVXSTR_BMP16_DEF
Definition: strings.hxx:235
static bool SvxUnoConvertResourceStringBuiltIn(const char **pSourceResIds, const char **pDestResIds, int nCount, OUString &rString, bool bToApi)
Definition: unoprov.cxx:1829
#define OWN_ATTR_PLUGIN_COMMANDS
Definition: unoshprp.hxx:128
#define UNO_NAME_MISC_OBJ_INTEROPGRABBAG
#define UNO_NAME_EDIT_CHAR_COLOR
#define RID_SVXSTR_LEND2_DEF
Definition: strings.hxx:316
#define RID_SVXSTR_COLOR_BLUE_OUG_DEF
Definition: strings.hxx:81
#define SDRATTR_CAPTIONLINELEN
Definition: svddef.hxx:194
#define UNO_NAME_EDIT_CHAR_POSTURE
#define RID_SVXSTR_LEND4_DEF
Definition: strings.hxx:318
#define RID_SVXSTR_BMP14_DEF
Definition: strings.hxx:233
#define RID_SVXSTR_DASH6_DEF
Definition: strings.hxx:306
#define RID_SVXSTR_COLOR_SPRINGGREEN_OUG_DEF
Definition: strings.hxx:83
#define EE_PARA_XMLATTRIBS
const sal_Int32 SVXUNO_SERVICEID_LASTID
Definition: unoprov.hxx:110
static SfxItemPropertyMapEntry const * ImplGetSvx3DSphereObjectPropertyMap()
Definition: unoprov.cxx:274
#define RID_SVXSTR_GRDT41_DEF
Definition: strings.hxx:161
#define RID_SVXSTR_GRDT59_DEF
Definition: strings.hxx:179
#define SAL_N_ELEMENTS(arr)
#define RID_SVXSTR_COLOR_TEAL_DEF
Definition: strings.hxx:48
#define LINE_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:224
static SfxItemPropertyMapEntry const * ImplGetSvxCaptionPropertyMap()
Definition: unoprov.cxx:638
#define OWN_ATTR_TABLETEMPLATE_BANDINGCOULUMNS
Definition: unoshprp.hxx:143
static SfxItemPropertyMapEntry const * ImplGetSvxPluginPropertyMap()
Definition: unoprov.cxx:457
#define RID_SVXSTR_GRDT55_DEF
Definition: strings.hxx:175
#define RID_SVXSTR_GRDT17_DEF
Definition: strings.hxx:137
#define UNO_NAME_EDIT_CHAR_FONTPITCH
static SfxItemPropertyMapEntry const * ImplGetSvxControlShapePropertyMap()
Definition: unoprov.cxx:557
#define RID_SVXSTR_BMP8_DEF
Definition: strings.hxx:227
#define RID_SVXSTR_COLOR_MATERIAL_BROWN_A_DEF
Definition: strings.hxx:115
#define RID_SVXSTR_GRDT50_DEF
Definition: strings.hxx:170
#define RID_SVXSTR_COLOR_DARKLIME_DEF
Definition: strings.hxx:77
#define SDRATTR_OBJECTNAME
Definition: svddef.hxx:278
static const char * RID_SVXSTR_DASH_DEF[]
Definition: unoprov.cxx:1180
#define RID_SVXSTR_BMP34_DEF
Definition: strings.hxx:254
#define RID_SVXSTR_BMP28_DEF
Definition: strings.hxx:248
#define RID_SVXSTR_DASH3_DEF
Definition: strings.hxx:303
#define RID_SVXSTR_COLOR_PALE_YELLOW_DEF
Definition: strings.hxx:33
#define SVXMAP_FRAME
Definition: unoprov.hxx:70
#define RID_SVXSTR_GRDT10_DEF
Definition: strings.hxx:130
#define RID_SVXSTR_GRDT38_DEF
Definition: strings.hxx:158
object group
Definition: svdobj.hxx:119
#define RID_SVXSTR_BMP26_DEF
Definition: strings.hxx:246
#define OWN_ATTR_OLE_EMBEDDED_OBJECT
Definition: unoshprp.hxx:162
#define RID_SVXSTR_LEND8_DEF
Definition: strings.hxx:322
#define OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT
Definition: unoshprp.hxx:151
#define RID_SVXSTR_DASH9_DEF
Definition: strings.hxx:309
#define SVXMAP_TABLE
Definition: unoprov.hxx:76
#define SHAPE_DESCRIPTOR_PROPERTIES
Definition: unoshprp.hxx:336
#define RID_SVXSTR_COLOR_MATERIAL_YELLOW_A_DEF
Definition: strings.hxx:96
#define DBG_ASSERT(sCon, aError)
#define FILL_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:260
#define OWN_ATTR_MEDIA_LOOP
Definition: unoshprp.hxx:154
int i
#define RID_SVXSTR_GRDT79_DEF
Definition: strings.hxx:200
#define RID_SVXSTR_COLOR_LIGHTBLUE_DEF
Definition: strings.hxx:60
#define RID_SVXSTR_HATCH9_DEF
Definition: strings.hxx:216
static SfxItemPropertyMapEntry const * ImplGetSvxAppletPropertyMap()
Definition: unoprov.cxx:523
#define RID_SVXSTR_DASH8_DEF
Definition: strings.hxx:308
#define RID_SVXSTR_BMP52_DEF
Definition: strings.hxx:272
#define RID_SVXSTR_BMP55_DEF
Definition: strings.hxx:275
#define RID_SVXSTR_HATCH1_DEF
Definition: strings.hxx:208
#define RID_SVXSTR_BMP74_DEF
Definition: strings.hxx:294
#define RID_SVXSTR_GRDT14_DEF
Definition: strings.hxx:134
abstract object (SdrObject)
Definition: svdobj.hxx:118
#define RID_SVXSTR_COLOR_LIGHTGRAY_DEF
Definition: strings.hxx:51
#define RID_SVXSTR_LEND3_DEF
Definition: strings.hxx:317
#define SVXMAP_TEXT
Definition: unoprov.hxx:73
#define RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_DEF
Definition: strings.hxx:106
#define SVXMAP_CUSTOMSHAPE
Definition: unoprov.hxx:74
const sal_Int32 SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
Definition: unoprov.hxx:109
#define RID_SVXSTR_COLOR_LIBRE_PURPLE_DEF
Definition: strings.hxx:341
#define RID_SVXSTR_COLOR_MATERIAL_INDIGO_A_DEF
Definition: strings.hxx:107
#define RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT_DEF
Definition: strings.hxx:340
#define RID_SVXSTR_HATCH2_DEF
Definition: strings.hxx:209
static SfxItemPropertyMapEntry const * ImplGetSvxMediaShapePropertyMap()
Definition: unoprov.cxx:696
#define RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_DEF
Definition: strings.hxx:118
#define MISC_OBJ_PROPERTIES_NO_SHEAR
Definition: unoshprp.hxx:320
#define RID_SVXSTR_GRDT66_DEF
Definition: strings.hxx:186
#define RID_SVXSTR_COLOR_CHART_DEF
Definition: strings.hxx:38
#define RID_SVXSTR_GRDT54_DEF
Definition: strings.hxx:174
#define RID_SVXSTR_LEND9_DEF
Definition: strings.hxx:323
SfxItemPropertyMapEntry const * aMapArr[SVXMAP_END]
Definition: unoprov.hxx:86
#define OWN_ATTR_MEDIA_MIMETYPE
Definition: unoshprp.hxx:182
#define SDRATTR_CAPTIONESCDIR
Definition: svddef.hxx:190
#define RID_SVXSTR_GRDT62_DEF
Definition: strings.hxx:182
static SfxItemPropertyMapEntry const * ImplGetSvxGroupPropertyMap()
Definition: unoprov.cxx:410
static OUString getNameFromId(sal_uInt32 nId)
Definition: unoprov.cxx:841
#define RID_SVXSTR_COLOR_BLUE_DEF
Definition: strings.hxx:23
#define RID_SVXSTR_COLOR_DARKGRAY_DEF
Definition: strings.hxx:65
#define SVXMAP_3DPOLYGONOBJECT
Definition: unoprov.hxx:64
#define RID_SVXSTR_BMP72_DEF
Definition: strings.hxx:292
#define RID_SVXSTR_BMP23_DEF
Definition: strings.hxx:243
#define UNO_NAME_EDIT_CHAR_UNDERLINE
#define RID_SVXSTR_GRDT78_DEF
Definition: strings.hxx:199
#define RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT_DEF
Definition: strings.hxx:339
#define SPECIAL_POLYGON_PROPERTIES
Definition: unoshprp.hxx:414
#define UNO_NAME_MISC_OBJ_NAME
#define RID_SVXSTR_COLOR_MATERIAL_AMBER_A_DEF
Definition: strings.hxx:97
#define RID_SVXSTR_BMP40_DEF
Definition: strings.hxx:260
const SfxItemPropertyMapEntry * GetMap(sal_uInt16 nPropertyId)
Definition: unoprov.cxx:897
#define SDRATTR_OBJVISIBLE
Definition: svddef.hxx:308
#define OWN_ATTR_OLE_VISAREA
Definition: unoshprp.hxx:146
static const char * RID_SVXSTR_HATCHS[]
Definition: unoprov.cxx:1457
#define SVXMAP_CONTROL
Definition: unoprov.hxx:72
#define RID_SVXSTR_COLOR_GREEN_DEF
Definition: strings.hxx:24
#define RID_SVXSTR_GRDT60_DEF
Definition: strings.hxx:180
#define RID_SVXSTR_GRDT63_DEF
Definition: strings.hxx:183
static const char * RID_SVXSTR_DASH[]
Definition: unoprov.cxx:1197
#define RID_SVXSTR_GRDT43_DEF
Definition: strings.hxx:163
#define RID_SVXSTR_COLOR_INDIGO_DEF
Definition: strings.hxx:47
#define RID_SVXSTR_LEND0_DEF
Definition: strings.hxx:314
#define RID_SVXSTR_COLOR_DARKINDIGO_DEF
Definition: strings.hxx:73
#define OWN_ATTR_FRAME_NAME
Definition: unoshprp.hxx:130
#define LINKTARGET_PROPERTIES
Definition: unoshprp.hxx:350
#define SVXMAP_CAPTION
Definition: unoprov.hxx:67
css::uno::Type const & get()
static const char * RID_SVXSTR_GRDT_DEF[]
Definition: unoprov.cxx:1264
#define RID_SVXSTR_GRDT8_DEF
Definition: strings.hxx:128
#define UNO_NAME_MISC_OBJ_LAYERID
const sal_uInt16 E3D_EXTRUDEOBJ_ID
Definition: globl3d.hxx:29
#define RID_SVXSTR_BMP1_DEF
Definition: strings.hxx:220
#define SVXMAP_MEDIA
Definition: unoprov.hxx:75
static const char * RID_SVXSTR_LEND_DEF[]
Definition: unoprov.cxx:1214
#define TEXT_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:285
#define RID_SVXSTR_COLOR_TANGO_SCARLET_RED_DEF
Definition: strings.hxx:350
#define RID_SVXSTR_HATCH6_DEF
Definition: strings.hxx:213
#define RID_SVXSTR_BMP25_DEF
Definition: strings.hxx:245
#define RID_SVXSTR_COLOR_TANGO_ORANGE_DEF
Definition: strings.hxx:345
#define RID_SVXSTR_DASH5_DEF
Definition: strings.hxx:305
static SfxItemPropertyMapEntry const * ImplGetSvxDimensioningPropertyMap()
Definition: unoprov.cxx:126
#define OWN_ATTR_BASE_GEOMETRY
Definition: unoshprp.hxx:115
#define RID_SVXSTR_BMP62_DEF
Definition: strings.hxx:282
static css::uno::Sequence< OUString > getServiceNames()
Definition: unoprov.cxx:853
#define RID_SVXSTR_BMP75_DEF
Definition: strings.hxx:295
#define OWN_ATTR_THUMBNAIL
Definition: unoshprp.hxx:149
#define UNO_NAME_LINKDISPLAYBITMAP
#define RID_SVXSTR_DASH2_DEF
Definition: strings.hxx:302
#define OWN_ATTR_PAGE_NUMBER
Definition: unoshprp.hxx:148
#define SDRATTR_CAPTIONFITLINELEN
Definition: svddef.hxx:195
#define RID_SVXSTR_BMP22_DEF
Definition: strings.hxx:242
#define RID_SVXSTR_BMP37_DEF
Definition: strings.hxx:257
#define UNO_NAME_MISC_OBJ_TITLE
#define OWN_ATTR_APPLET_ISSCRIPT
Definition: unoshprp.hxx:125
#define RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A_DEF
Definition: strings.hxx:105
std::unique_ptr< SvxItemPropertySet > aSetArr[SVXMAP_END]
Definition: unoprov.hxx:87
#define RID_SVXSTR_GRDT37_DEF
Definition: strings.hxx:157
#define RID_SVXSTR_BMP15_DEF
Definition: strings.hxx:234
#define XATTR_LINEDASH
Definition: xdef.hxx:91
#define RID_SVXSTR_GRDT71_DEF
Definition: strings.hxx:192
#define RID_SVXSTR_LEND5_DEF
Definition: strings.hxx:319
#define SVXMAP_OLE2
Definition: unoprov.hxx:68
#define RID_SVXSTR_COLOR_TANGO_CHAMELEON_DEF
Definition: strings.hxx:347
#define RID_SVXSTR_BMP24_DEF
Definition: strings.hxx:244
#define RID_SVXSTR_GRDT49_DEF
Definition: strings.hxx:169
#define RID_SVXSTR_COLOR_MATERIAL_PURPLE_A_DEF
Definition: strings.hxx:104
#define RID_SVXSTR_LEND14_DEF
Definition: strings.hxx:328
#define SDRATTR_OBJPRINTABLE
Definition: svddef.hxx:275
#define RID_SVXSTR_BMP19_DEF
Definition: strings.hxx:238
#define RID_SVXSTR_BMP66_DEF
Definition: strings.hxx:286
#define RID_SVXSTR_DASH12_DEF
Definition: strings.hxx:312
#define RID_SVXSTR_DASH4_DEF
Definition: strings.hxx:304
#define SPECIAL_POLYPOLYGON_PROPERTIES
Definition: unoshprp.hxx:417
#define RID_SVXSTR_LEND15_DEF
Definition: strings.hxx:329
#define RID_SVXSTR_GRDT36_DEF
Definition: strings.hxx:156
#define SDRATTR_CAPTIONANGLE
Definition: svddef.hxx:188
#define SPECIAL_3DBACKSCALE_PROPERTIES
Definition: unoshprp.hxx:552
#define RID_SVXSTR_BMP69_DEF
Definition: strings.hxx:289
static SfxItemPropertyMapEntry const * ImplGetSvxTableShapePropertyMap()
Definition: unoprov.cxx:729
static const char * SvxUnoColorNameResId[]
Definition: unoprov.cxx:1716
#define OWN_ATTR_PLUGIN_URL
Definition: unoshprp.hxx:127
#define LINE_PROPERTIES_START_END
Definition: unoshprp.hxx:241
closed Bezier-curve
Definition: svdobj.hxx:129
#define RID_SVXSTR_COLOR_BRICK_DEF
Definition: strings.hxx:46
#define OWN_ATTR_MEDIA_ZOOM
Definition: unoshprp.hxx:157
#define E3D_INVENTOR_FLAG
Definition: unoprov.hxx:102
#define RID_SVXSTR_COLOR_LIGHTLIME_DEF
Definition: strings.hxx:63
static comphelper::PropertyMapEntry const * ImplGetAdditionalWriterDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:782
#define RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG_DEF
Definition: strings.hxx:85
#define RID_SVXSTR_HATCH3_DEF
Definition: strings.hxx:210
#define RID_SVXSTR_GRDT73_DEF
Definition: strings.hxx:194
#define RID_SVXSTR_BMP3_DEF
Definition: strings.hxx:222
static sal_uInt32 getId(const OUString &rCompareString)
Definition: unoprov.cxx:858
#define RID_SVXSTR_COLOR_LIGHTORANGE_DEF
Definition: strings.hxx:54
#define RID_SVXSTR_GRDT19_DEF
Definition: strings.hxx:139
#define RID_SVXSTR_COLOR_ORANGE_DEF
Definition: strings.hxx:30
#define RID_SVXSTR_BMP51_DEF
Definition: strings.hxx:271
#define RID_SVXSTR_COLOR_LIGHTYELLOW_DEF
Definition: strings.hxx:52
#define OWN_ATTR_INTERNAL_OLE
Definition: unoshprp.hxx:161
#define RID_SVXSTR_COLOR_MATERIAL_LIME_A_DEF
Definition: strings.hxx:114
#define EDGERADIUS_PROPERTIES
Definition: unoshprp.hxx:282
#define RID_SVXSTR_DASH7_DEF
Definition: strings.hxx:307
#define RID_SVXSTR_COLOR_ROSE_OUG_DEF
Definition: strings.hxx:88
#define RID_SVXSTR_COLOR_LIGHTMAGENTA_DEF
Definition: strings.hxx:57
#define OWN_ATTR_PLUGIN_MIMETYPE
Definition: unoshprp.hxx:126
#define RID_SVXSTR_COLOR_GREEN_OUG_DEF
Definition: strings.hxx:84
#define SDRATTR_OBJMOVEPROTECT
Definition: svddef.hxx:273
static SfxItemPropertyMapEntry const * ImplGetSvxPageShapePropertyMap()
Definition: unoprov.cxx:615
#define RID_SVXSTR_GRDT31_DEF
Definition: strings.hxx:151
#define RID_SVXSTR_COLOR_LIGHTGREEN_DEF
Definition: strings.hxx:62
#define OWN_ATTR_APPLET_COMMANDS
Definition: unoshprp.hxx:124
#define RID_SVXSTR_BMP5_DEF
Definition: strings.hxx:224
#define RID_SVXSTR_COLOR_BORDEAUX_DEF
Definition: strings.hxx:32
#define RID_SVXSTR_COLOR_RED_OUG_DEF
Definition: strings.hxx:87
#define RID_SVXSTR_BMP73_DEF
Definition: strings.hxx:293
#define SDRATTR_CAPTIONESCREL
Definition: svddef.hxx:192
SvxUnoPropertyMapProvider.
Definition: unoprov.hxx:84
#define RID_SVXSTR_BMP48_DEF
Definition: strings.hxx:268
#define RID_SVXSTR_GRDT46_DEF
Definition: strings.hxx:166
#define RID_SVXSTR_BMP33_DEF
Definition: strings.hxx:253
#define RID_SVXSTR_GRDT42_DEF
Definition: strings.hxx:162
#define TEXT_PROPERTIES
Definition: unoshprp.hxx:314
#define UNO_NAME_MISC_OBJ_PRINTABLE
#define RID_SVXSTR_GRDT40_DEF
Definition: strings.hxx:160
#define XATTR_LINEEND
Definition: xdef.hxx:95
#define RID_SVXSTR_BMP59_DEF
Definition: strings.hxx:279
#define RID_SVXSTR_GRDT15_DEF
Definition: strings.hxx:135
#define UNO_NAME_EDIT_CHAR_FONTCHARSET
#define RID_SVXSTR_LEND19_DEF
Definition: strings.hxx:333
#define RID_SVXSTR_BMP31_DEF
Definition: strings.hxx:251
#define RID_SVXSTR_LEND16_DEF
Definition: strings.hxx:330
#define SVXMAP_APPLET
Definition: unoprov.hxx:71
#define RID_SVXSTR_BMP38_DEF
Definition: strings.hxx:258
#define RID_SVXSTR_COLOR_MATERIAL_BROWN_DEF
Definition: strings.hxx:116
#define OWN_ATTR_FRAME_ISBORDER
Definition: unoshprp.hxx:132
#define RID_SVXSTR_COLOR_DARKMAGENTA_DEF
Definition: strings.hxx:71
#define OWN_ATTR_PERSISTNAME
Definition: unoshprp.hxx:150
#define FILL_PROPERTIES
Definition: unoshprp.hxx:263
#define RID_SVXSTR_HATCH7_DEF
Definition: strings.hxx:214
#define RID_SVXSTR_GRDT56_DEF
Definition: strings.hxx:176
bool SvxMapUnitToMeasureUnit(const MapUnit eVcl, short &eApi)
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:945
#define SVXMAP_GROUP
Definition: unoprov.hxx:66
#define RID_SVXSTR_GRDT80_DEF
Definition: strings.hxx:201
#define UHASHMAP_NOTFOUND
class UHashMap
Definition: unoprov.hxx:39
#define RID_SVXSTR_GRDT70_DEF
Definition: strings.hxx:191
#define RID_SVXSTR_BMP61_DEF
Definition: strings.hxx:281
static const char * RID_SVXSTR_LEND[]
Definition: unoprov.cxx:1239
#define RID_SVXSTR_COLOR_MATERIAL_BLUE_A_DEF
Definition: strings.hxx:108
#define RID_SVXSTR_COLOR_YELLOWGREEN_DEF
Definition: strings.hxx:41
#define RID_SVXSTR_GRDT65_DEF
Definition: strings.hxx:185
#define OWN_ATTR_APPLET_CODEBASE
Definition: unoshprp.hxx:121
#define OWN_ATTR_TABLETEMPLATE_BANDINGROWS
Definition: unoshprp.hxx:142
#define RID_SVXSTR_GRDT69_DEF
Definition: strings.hxx:189
SvxUnoPropertyMapProvider & getSvxMapProvider()
Definition: unoprov.cxx:877
#define RID_SVXSTR_BMP54_DEF
Definition: strings.hxx:274
#define SVXMAP_3DLATHEOBJECT
Definition: unoprov.hxx:62
#define SPECIAL_GRAPHOBJ_PROPERTIES
Definition: unoshprp.hxx:434
#define SPECIAL_3DPOLYGONOBJECT_PROPERTIES
Definition: unoshprp.hxx:545
#define RID_SVXSTR_COLOR_LIGHTBRICK_DEF
Definition: strings.hxx:55
static const char * RID_SVXSTR_BMP[]
Definition: unoprov.cxx:1100
static SfxItemPropertyMapEntry const * ImplGetSvxConnectorPropertyMap()
Definition: unoprov.cxx:101
#define OWN_ATTR_APPLET_DOCBASE
Definition: unoshprp.hxx:120
#define UNO_NAME_MISC_OBJ_BOUNDRECT
#define OWN_ATTR_MEDIA_MUTE
Definition: unoshprp.hxx:155
static SfxItemPropertyMapEntry const * ImplGetSvxAllPropertyMap()
Definition: unoprov.cxx:367
#define RID_SVXSTR_BMP17_DEF
Definition: strings.hxx:236
#define OWN_ATTR_GRAPHIC_STREAM
Definition: unoshprp.hxx:169
#define UNO_NAME_EDIT_CHAR_FONTNAME
#define SDRATTR_LAYERNAME
Definition: svddef.hxx:277
#define SPECIAL_3DEXTRUDEOBJECT_PROPERTIES
Definition: unoshprp.hxx:539
#define UNO_NAME_MISC_OBJ_MOVEPROTECT
#define OWN_ATTR_APPLET_CODE
Definition: unoshprp.hxx:123
#define SPECIAL_DIMENSIONING_PROPERTIES
Definition: unoshprp.hxx:404
#define OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN
Definition: unoshprp.hxx:140
#define UNO_NAME_EDIT_CHAR_FONTSTYLENAME
#define RID_SVXSTR_GRDT28_DEF
Definition: strings.hxx:148
#define CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:355
#define SVXMAP_POLYPOLYGON
Definition: unoprov.hxx:57
#define SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:381
#define RID_SVXSTR_BMP20_DEF
Definition: strings.hxx:239
#define RID_SVXSTR_GRDT44_DEF
Definition: strings.hxx:164
#define RID_SVXSTR_GRDT3_DEF
Definition: strings.hxx:123
const sal_Int16 OBJ_OLE2_PLUGIN
Definition: unoprov.hxx:100
#define RID_SVXSTR_GRDT51_DEF
Definition: strings.hxx:171
#define RID_SVXSTR_COLOR_SKYBLUE_DEF
Definition: strings.hxx:40
#define UNO_NAME_EDIT_CHAR_HEIGHT
#define RID_SVXSTR_GRDT34_DEF
Definition: strings.hxx:154
static const char * RID_SVXSTR_GRDT[]
Definition: unoprov.cxx:1353
#define RID_SVXSTR_COLOR_BLUE_CLASSIC_DEF
Definition: strings.hxx:44
static rtl::Reference< comphelper::PropertySetInfo > mxInfos[SVXUNO_SERVICEID_LASTID+1]
Definition: unoprov.hxx:117
#define RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF
Definition: strings.hxx:338
#define RID_SVXSTR_LEND13_DEF
Definition: strings.hxx:327
#define XATTR_FILLBITMAP
Definition: xdef.hxx:111
#define RID_SVXSTR_GRDT75_DEF
Definition: strings.hxx:196
const sal_uInt16 E3D_SPHEREOBJ_ID
Definition: globl3d.hxx:28
MapUnit
#define RID_SVXSTR_GRDT58_DEF
Definition: strings.hxx:178
#define RID_SVXSTR_DASH1_DEF
Definition: strings.hxx:301
#define RID_SVXSTR_BMP13_DEF
Definition: strings.hxx:232
#define OWN_ATTR_LDBITMAP
Definition: unoshprp.hxx:99
const SvxItemPropertySet * GetPropertySet(sal_uInt16 nPropertyId, SfxItemPool &rPool)
Definition: unoprov.cxx:935
#define UNO_NAME_LINKDISPLAYNAME
#define RID_SVXSTR_COLOR_BLUEGREY_DEF
Definition: strings.hxx:29
#define RID_SVXSTR_DASH11_DEF
Definition: strings.hxx:311
static SfxItemPropertyMapEntry const * ImplGetSvxShapePropertyMap()
Definition: unoprov.cxx:53
#define XATTR_LINECOLOR
Definition: xdef.hxx:93
#define RID_SVXSTR_BMP71_DEF
Definition: strings.hxx:291
#define RID_SVXSTR_BMP2_DEF
Definition: strings.hxx:221
sal_Int32 nLength
#define RID_SVXSTR_GRDT83_DEF
Definition: strings.hxx:204
bool SvxFieldUnitToMeasureUnit(const FieldUnit eVcl, short &eApi)
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:997
#define RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT_DEF
Definition: strings.hxx:342
static SfxItemPropertyMapEntry const * ImplGetSvx3DCubeObjectPropertyMap()
Definition: unoprov.cxx:253
#define RID_SVXSTR_GRDT24_DEF
Definition: strings.hxx:144
static SfxItemPropertyMapEntry const * ImplGetSvxPolyPolygonPropertyMap()
Definition: unoprov.cxx:176
#define RID_SVXSTR_COLOR_RED_DEF
Definition: strings.hxx:25
#define RID_SVXSTR_BMP53_DEF
Definition: strings.hxx:273
#define RID_SVXSTR_COLOR_MATERIAL_PINK_A_DEF
Definition: strings.hxx:103
#define RID_SVXSTR_GRDT7_DEF
Definition: strings.hxx:127
#define RID_SVXSTR_GRDT82_DEF
Definition: strings.hxx:203
#define RID_SVXSTR_BMP9_DEF
Definition: strings.hxx:228
#define RID_SVXSTR_GRDT12_DEF
Definition: strings.hxx:132
#define RID_SVXSTR_BMP6_DEF
Definition: strings.hxx:225
static SfxItemPropertyMapEntry const * ImplGetSvxCirclePropertyMap()
Definition: unoprov.cxx:151
#define RID_SVXSTR_COLOR_LIGHTRED_DEF
Definition: strings.hxx:56
#define RID_SVXSTR_COLOR_MATERIAL_ORANGE_A_DEF
Definition: strings.hxx:99
#define SPECIAL_CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:362
#define RID_SVXSTR_BMP12_DEF
Definition: strings.hxx:231
#define OWN_ATTR_FRAME_ISAUTOSCROLL
Definition: unoshprp.hxx:131
#define RID_SVXSTR_BMP10_DEF
Definition: strings.hxx:229
#define RID_SVXSTR_COLOR_GREY_DEF
Definition: strings.hxx:26
#define UNO_NAME_MISC_OBJ_LAYERNAME
#define GLOW_PROPERTIES
Definition: unoshprp.hxx:212
const sal_uInt16 E3D_CUBEOBJ_ID
Definition: globl3d.hxx:27
#define RID_SVXSTR_GRDT30_DEF
Definition: strings.hxx:150
#define RID_SVXSTR_GRDT20_DEF
Definition: strings.hxx:140
#define MISC_OBJ_PROPERTIES
Definition: unoshprp.hxx:330
static const char * RID_SVXSTR_TRASNGR[]
Definition: unoprov.cxx:1477
std::unordered_map< OUString, sal_uInt32 > UHashMapImpl
Definition: unoprov.cxx:793
#define RID_SVXSTR_BMP21_DEF
Definition: strings.hxx:240
#define UNO_NAME_EDIT_CHAR_WEIGHT
#define UNO_NAME_OLE2_PERSISTNAME
#define RID_SVXSTR_LEND7_DEF
Definition: strings.hxx:321
#define RID_SVXSTR_COLOR_GOLD_DEF
Definition: strings.hxx:45
#define RID_SVXSTR_BMP57_DEF
Definition: strings.hxx:277
#define RID_SVXSTR_COLOR_DARKPURPLE_DEF
Definition: strings.hxx:72
#define OWN_ATTR_MEDIA_URL
Definition: unoshprp.hxx:152
#define RID_SVXSTR_COLOR_TURQUOISE_DEF
Definition: strings.hxx:43
#define SDRATTR_OBJSIZEPROTECT
Definition: svddef.hxx:274
#define RID_SVXSTR_GRDT39_DEF
Definition: strings.hxx:159
#define RID_SVXSTR_BMP18_DEF
Definition: strings.hxx:237
#define RID_SVXSTR_COLOR_DARKGREEN_DEF
Definition: strings.hxx:76
#define RID_SVXSTR_GRDT13_DEF
Definition: strings.hxx:133
open Bezier-curve
Definition: svdobj.hxx:128
#define RID_SVXSTR_COLOR_PALE_GREEN_DEF
Definition: strings.hxx:34
static const char * SvxUnoColorNameDefResId[]
Definition: unoprov.cxx:1604
#define RID_SVXSTR_COLOR_LIGHTGOLD_DEF
Definition: strings.hxx:53
#define SHADOW_PROPERTIES
Definition: unoshprp.hxx:217
#define RID_SVXSTR_LEND18_DEF
Definition: strings.hxx:332
bool SvxMeasureUnitToFieldUnit(const short eApi, FieldUnit &eVcl)
maps the API constant MeasureUnit to a vcl MapUnit enum.
Definition: unoprov.cxx:971
#define OWN_ATTR_LDNAME
Definition: unoshprp.hxx:98
#define SVXMAP_DIMENSIONING
Definition: unoprov.hxx:55
#define OWN_ATTR_OLEMODEL
Definition: unoshprp.hxx:102
#define SPECIAL_CIRCLE_PROPERTIES
Definition: unoshprp.hxx:409
static SfxItemPropertyMapEntry const * ImplGetSvxTextShapePropertyMap()
Definition: unoprov.cxx:77
#define RID_SVXSTR_COLOR_MATERIAL_AMBER_DEF
Definition: strings.hxx:98
#define RID_SVXSTR_BMP29_DEF
Definition: strings.hxx:249
#define RID_SVXSTR_LEND20_DEF
Definition: strings.hxx:334
css::uno::Sequence< typename M::key_type > mapKeysToSequence(M const &map)
#define XATTR_LINESTART
Definition: xdef.hxx:94
#define RID_SVXSTR_LEND12_DEF
Definition: strings.hxx:326
#define UNO_NAME_MISC_OBJ_SIZEPROTECT
#define RID_SVXSTR_BMP41_DEF
Definition: strings.hxx:261
rectangle (round corners optional)
Definition: svdobj.hxx:121
#define RID_SVXSTR_BMP70_DEF
Definition: strings.hxx:290
#define RID_SVXSTR_BMP39_DEF
Definition: strings.hxx:259