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 <editeng/unotext.hxx>
39 #include <svx/unoshprp.hxx>
40 #include <svx/svx3ditems.hxx>
41 #include <svx/svxids.hrc>
42 #include <editeng/editeng.hxx>
43 #include <svx/globl3d.hxx>
44 #include <svx/strings.hrc>
45 #include <strings.hxx>
46 #include <svx/svdpool.hxx>
47 #include <svx/svdobj.hxx>
48 #include <svx/sdtaaitm.hxx>
49 #include <svx/sdtacitm.hxx>
50 #include <svx/sdtaiitm.hxx>
51 #include <svx/sdtayitm.hxx>
52 
53 #include "shapeimpl.hxx"
54 #include <unordered_map>
55 
56 using namespace ::com::sun::star;
57 using namespace ::com::sun::star::beans::PropertyAttribute;
58 using ::com::sun::star::drawing::TextVerticalAdjust;
59 
61 {
62  static SfxItemPropertyMapEntry const aShapePropertyMap_Impl[] =
63  {
73  // #FontWork#
75  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
76  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
77  { OUString(), 0, css::uno::Type(), 0, 0 }
78  };
79 
80  return aShapePropertyMap_Impl;
81 }
82 
84 {
85  static SfxItemPropertyMapEntry const aTextShapePropertyMap_Impl[] =
86  {
96  // #FontWork#
98  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
99  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
100  { OUString(), 0, css::uno::Type(), 0, 0 }
101  };
102 
103  return aTextShapePropertyMap_Impl;
104 }
105 
107 {
108  static SfxItemPropertyMapEntry const aConnectorPropertyMap_Impl[] =
109  {
120  // #FontWork#
122  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
123  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
124  { OUString(), 0, css::uno::Type(), 0, 0 }
125  };
126 
127  return aConnectorPropertyMap_Impl;
128 }
129 
131 {
132  static SfxItemPropertyMapEntry const aDimensioningPropertyMap_Impl[] =
133  {
144  // #FontWork#
146  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
147  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
148  { OUString(), 0, css::uno::Type(), 0, 0 }
149  };
150 
151  return aDimensioningPropertyMap_Impl;
152 }
153 
155 {
156  static SfxItemPropertyMapEntry const aCirclePropertyMap_Impl[] =
157  {
168  // #FontWork#
170  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
171  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
172  { OUString(), 0, css::uno::Type(), 0, 0 }
173  };
174 
175  return aCirclePropertyMap_Impl;
176 }
177 
179 {
180  static SfxItemPropertyMapEntry const aPolyPolygonPropertyMap_Impl[] =
181  {
194  // #FontWork#
196  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
197  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
198  { OUString(), 0, css::uno::Type(), 0, 0 }
199  };
200 
201  return aPolyPolygonPropertyMap_Impl;
202 }
203 
205 {
206  static SfxItemPropertyMapEntry const aGraphicObjectPropertyMap_Impl[] =
207  {
209 
210  // #i25616#
212 
216 
217  // #i118485# Full properties now, shear included
219 
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  {
377  // #FontWork#
395 
396  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
398 
401  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
402  { OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
403  { OUString(), 0, css::uno::Type(), 0, 0 }
404  };
405 
406  return aAllPropertyMap_Impl;
407 }
408 
410 {
411  static SfxItemPropertyMapEntry const aGroupPropertyMap_Impl[] =
412  {
416  { OUString(), 0, css::uno::Type(), 0, 0 }
417  };
418 
419  return aGroupPropertyMap_Impl;
420 }
421 
423 {
424  static SfxItemPropertyMapEntry const aOle2PropertyMap_Impl[] =
425  {
426  // #i118485# Adding properties for line, fill, text, shadow, fontwork, rotate, shear
436 
437  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
438  { OUString("Model"), OWN_ATTR_OLEMODEL , cppu::UnoType<css::frame::XModel>::get(), css::beans::PropertyAttribute::READONLY, 0},
439  { OUString("EmbeddedObject"), OWN_ATTR_OLE_EMBEDDED_OBJECT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
440  { OUString("EmbeddedObjectNoNewClient"),OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
441  { OUString("OriginalSize"), OWN_ATTR_OLESIZE , cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
442  { OUString("CLSID"), OWN_ATTR_CLSID , cppu::UnoType<OUString>::get(), 0, 0 },
443  { OUString("IsInternal"), OWN_ATTR_INTERNAL_OLE , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::READONLY, 0},
444  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
445  { OUString("Aspect"), OWN_ATTR_OLE_ASPECT , cppu::UnoType<sal_Int64>::get(), 0, 0},
447  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
449  { OUString(), 0, css::uno::Type(), 0, 0 }
450  };
451 
452  return aOle2PropertyMap_Impl;
453 }
454 
456 {
457  static SfxItemPropertyMapEntry const aPluginPropertyMap_Impl[] =
458  {
459  { OUString("PluginMimeType"), OWN_ATTR_PLUGIN_MIMETYPE , cppu::UnoType<OUString>::get(), 0, 0},
460  { OUString("PluginURL"), OWN_ATTR_PLUGIN_URL , cppu::UnoType<OUString>::get(), 0, 0},
462  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
466  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
467  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
468  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
469  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
473  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
474  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
475  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
476  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
477  // #i68101#
480  { OUString(), 0, css::uno::Type(), 0, 0 }
481  };
482 
483  return aPluginPropertyMap_Impl;
484 }
485 
487 {
488  //TODO/LATER: new properties for ScrollingMode and DefaultBorder
489  static SfxItemPropertyMapEntry const aFramePropertyMap_Impl[] =
490  {
491  { OUString("FrameURL"), OWN_ATTR_FRAME_URL , cppu::UnoType<OUString>::get(), 0, 0},
492  { OUString("FrameName"), OWN_ATTR_FRAME_NAME , cppu::UnoType<OUString>::get(), 0, 0},
493  { OUString("FrameIsAutoScroll"), OWN_ATTR_FRAME_ISAUTOSCROLL , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::MAYBEVOID, 0},
494  { OUString("FrameIsBorder"), OWN_ATTR_FRAME_ISBORDER , cppu::UnoType<bool>::get() , 0, 0},
495  { OUString("FrameMarginWidth"), OWN_ATTR_FRAME_MARGIN_WIDTH , cppu::UnoType<sal_Int32>::get(), 0, 0},
496  { OUString("FrameMarginHeight"), OWN_ATTR_FRAME_MARGIN_HEIGHT, cppu::UnoType<sal_Int32>::get(), 0, 0},
497  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
501  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
502  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
503  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
504  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
508  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
509  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
510  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
511  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
512  // #i68101#
515  { OUString(), 0, css::uno::Type(), 0, 0 }
516  };
517 
518  return aFramePropertyMap_Impl;
519 }
520 
522 {
523  static SfxItemPropertyMapEntry const aAppletPropertyMap_Impl[] =
524  {
525  { OUString("AppletCodeBase"), OWN_ATTR_APPLET_CODEBASE , cppu::UnoType<OUString>::get(), 0, 0},
526  { OUString("AppletName"), OWN_ATTR_APPLET_NAME , cppu::UnoType<OUString>::get(), 0, 0},
527  { OUString("AppletCode"), OWN_ATTR_APPLET_CODE , cppu::UnoType<OUString>::get(), 0, 0},
529  { OUString("AppletDocBase"), OWN_ATTR_APPLET_DOCBASE , cppu::UnoType<OUString>::get(), 0, 0},
530  { OUString("AppletIsScript"), OWN_ATTR_APPLET_ISSCRIPT , cppu::UnoType<bool>::get(), 0, 0 },
531  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
535  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
536  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
537  { OUString(UNO_NAME_OLE2_METAFILE), OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
538  { OUString("ThumbnailGraphic"), OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
542  { OUString("LinkURL"), OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
543  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
544  { OUString("VisibleArea"), OWN_ATTR_OLE_VISAREA , cppu::UnoType<css::awt::Rectangle>::get(), 0, 0},
545  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
546  // #i68101#
549  { OUString(), 0, css::uno::Type(), 0, 0 }
550  };
551 
552  return aAppletPropertyMap_Impl;
553 }
554 
556 {
557  static SfxItemPropertyMapEntry const aControlPropertyMap_Impl[] =
558  {
559  // the following properties are mapped to the XControl Model of this shape
564  { OUString(UNO_NAME_EDIT_CHAR_HEIGHT), 0, cppu::UnoType<float>::get(), 0, 0 },
567  { OUString(UNO_NAME_EDIT_CHAR_WEIGHT), 0, cppu::UnoType<float>::get(), 0, 0 },
572  { OUString("CharBackColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
573  { OUString("CharBackTransparent"), 0, cppu::UnoType<bool>::get(), 0, 0 },
574  { OUString("CharRelief"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
575  { OUString("CharUnderlineColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
576  { OUString("CharKerning"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
577  { OUString("CharWordMode"), 0, cppu::UnoType<bool>::get(), 0, 0 },
579  { OUString("TextVerticalAdjust"), 0, cppu::UnoType<TextVerticalAdjust>::get(), MAYBEVOID, 0 },
580  { OUString("ControlBackground"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
581  { OUString("ControlBorder"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
582  { OUString("ControlBorderColor"), 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
583  { OUString("ControlSymbolColor"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
584  { OUString("ImageScaleMode"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
587  { OUString("ControlTextEmphasis"), 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
588  { OUString("ControlWritingMode"), 0, cppu::UnoType< sal_Int16 >::get(), 0, 0},
589  // the following properties are handled by SvxShape
590  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
594  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
595  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
596  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
597  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
598  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
599  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
600  // #i68101#
603  // #i112587#
605  { OUString("Visible"), SDRATTR_OBJVISIBLE , cppu::UnoType<bool>::get(), 0, 0},
607  { OUString(), 0, css::uno::Type(), 0, 0 }
608  };
609 
610  return aControlPropertyMap_Impl;
611 }
612 
614 {
615  static SfxItemPropertyMapEntry const aPageShapePropertyMap_Impl[] =
616  {
617  { OUString("PageNumber"), OWN_ATTR_PAGE_NUMBER , cppu::UnoType<sal_Int32>::get(), 0, 0},
618  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION , cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
622  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
623  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
626  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
627  // #i68101#
630  { OUString(), 0, css::uno::Type(), 0, 0 }
631  };
632 
633  return aPageShapePropertyMap_Impl;
634 }
635 
637 {
638  static SfxItemPropertyMapEntry const aCaptionPropertyMap_Impl[] =
639  {
640  { OUString("CaptionPoint"), OWN_ATTR_CAPTION_POINT, cppu::UnoType<css::awt::Point>::get(), 0, 0 },
641  { OUString("CaptionType"), SDRATTR_CAPTIONTYPE, cppu::UnoType<sal_Int16>::get(), 0, 0},
642  { OUString("CaptionIsFixedAngle"), SDRATTR_CAPTIONFIXEDANGLE, cppu::UnoType<bool>::get(), 0, 0},
643  { OUString("CaptionAngle"), SDRATTR_CAPTIONANGLE, cppu::UnoType<sal_Int32>::get(), 0, 0},
644  { OUString("CaptionGap"), SDRATTR_CAPTIONGAP, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
645  { OUString("CaptionEscapeDirection"), SDRATTR_CAPTIONESCDIR, cppu::UnoType<sal_Int32>::get(), 0, 0},
646  { OUString("CaptionIsEscapeRelative"), SDRATTR_CAPTIONESCISREL, cppu::UnoType<bool>::get(), 0, 0},
647  { OUString("CaptionEscapeRelative"), SDRATTR_CAPTIONESCREL, cppu::UnoType<sal_Int32>::get(), 0, 0},
648  { OUString("CaptionEscapeAbsolute"), SDRATTR_CAPTIONESCABS, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
649  { OUString("CaptionLineLength"), SDRATTR_CAPTIONLINELEN, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
650  { OUString("CaptionIsFitLineLength"), SDRATTR_CAPTIONFITLINELEN, cppu::UnoType<bool>::get(), 0, 0},
660  // #FontWork#
662  { OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
663  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
664  { OUString(), 0, css::uno::Type(), 0, 0 }
665  };
666 
667  return aCaptionPropertyMap_Impl;
668 }
669 
671 {
672  static SfxItemPropertyMapEntry const aCustomShapePropertyMap_Impl[] =
673  {
674  { OUString("CustomShapeEngine"), SDRATTR_CUSTOMSHAPE_ENGINE, cppu::UnoType<OUString>::get(), 0, 0 },
675  { OUString("CustomShapeData"), SDRATTR_CUSTOMSHAPE_DATA, cppu::UnoType<OUString>::get(), 0, 0 },
676  { OUString("CustomShapeGeometry"), SDRATTR_CUSTOMSHAPE_GEOMETRY,
686  {OUString("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
687  {OUString("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
688  { OUString(), 0, css::uno::Type(), 0, 0 }
689  };
690  return aCustomShapePropertyMap_Impl;
691 }
692 
694 {
695  static SfxItemPropertyMapEntry const aMediaShapePropertyMap_Impl[] =
696  {
700  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
701  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
702  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION, cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
703  { OUString("MediaURL"), OWN_ATTR_MEDIA_URL, cppu::UnoType<OUString>::get(), 0, 0},
704  { OUString("PreferredSize"), OWN_ATTR_MEDIA_PREFERREDSIZE, cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
705  { OUString("Loop"), OWN_ATTR_MEDIA_LOOP, cppu::UnoType<sal_Bool>::get(), 0, 0},
706  { OUString("Mute"), OWN_ATTR_MEDIA_MUTE, cppu::UnoType<sal_Bool>::get(), 0, 0},
707  { OUString("VolumeDB"), OWN_ATTR_MEDIA_VOLUMEDB, cppu::UnoType<sal_Int16>::get(), 0, 0},
711  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
712  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
713  // #i68101#
716  {OUString("PrivateStream"), OWN_ATTR_MEDIA_STREAM, cppu::UnoType<css::io::XInputStream>::get(), 0, 0},
717  {OUString("PrivateTempFileURL"), OWN_ATTR_MEDIA_TEMPFILEURL, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
718  { OUString("MediaMimeType"), OWN_ATTR_MEDIA_MIMETYPE, cppu::UnoType<OUString>::get(), 0, 0},
719  { OUString("FallbackGraphic"), OWN_ATTR_FALLBACK_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
720  { OUString(), 0, css::uno::Type(), 0, 0 }
721  };
722 
723  return aMediaShapePropertyMap_Impl;
724 }
725 
727 {
728  static SfxItemPropertyMapEntry const aTableShapePropertyMap_Impl[] =
729  {
733  { OUString(UNO_NAME_LINKDISPLAYBITMAP), OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
734  { OUString(UNO_NAME_LINKDISPLAYNAME), OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
735  { OUString("Transformation"), OWN_ATTR_TRANSFORMATION, cppu::UnoType<css::drawing::HomogenMatrix3>::get(), 0, 0 },
738  { OUString(UNO_NAME_MISC_OBJ_BOUNDRECT), OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
740  { OUString("UINameSingular"), OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
743  { OUString("Model"), OWN_ATTR_OLEMODEL , cppu::UnoType<css::table::XTable>::get(), css::beans::PropertyAttribute::READONLY, 0},
744  { OUString("TableTemplate"), OWN_ATTR_TABLETEMPLATE , cppu::UnoType<css::container::XIndexAccess>::get(), 0, 0},
745  { OUString("UseFirstRowStyle"), OWN_ATTR_TABLETEMPLATE_FIRSTROW, cppu::UnoType<bool>::get(),0, 0},
746  { OUString("UseLastRowStyle"), OWN_ATTR_TABLETEMPLATE_LASTROW, cppu::UnoType<bool>::get(),0, 0},
747  { OUString("UseFirstColumnStyle"), OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
748  { OUString("UseLastColumnStyle"), OWN_ATTR_TABLETEMPLATE_LASTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
749  { OUString("UseBandingRowStyle"), OWN_ATTR_TABLETEMPLATE_BANDINGROWS, cppu::UnoType<bool>::get(),0, 0},
750  { OUString("UseBandingColumnStyle"), OWN_ATTR_TABLETEMPLATE_BANDINGCOULUMNS, cppu::UnoType<bool>::get(),0, 0},
751  { OUString("ReplacementGraphic"), OWN_ATTR_REPLACEMENT_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
752  { OUString(), 0, css::uno::Type(), 0, 0 }
753  };
754 
755  return aTableShapePropertyMap_Impl;
756 }
757 
759 {
760  static comphelper::PropertyMapEntry const aSvxDrawingDefaultsPropertyMap_Impl[] =
761  {
772  { OUString(), 0, css::uno::Type(), 0, 0 }
773  };
774 
775  return aSvxDrawingDefaultsPropertyMap_Impl;
776 }
777 
779 {
780  static comphelper::PropertyMapEntry const aSvxAdditionalDefaultsPropertyMap_Impl[] =
781  {
782  { OUString("IsFollowingTextFlow"), SID_SW_FOLLOW_TEXT_FLOW, cppu::UnoType<bool>::get(), 0, 0},
783  { OUString(), 0, css::uno::Type(), 0, 0 }
784  };
785 
786  return aSvxAdditionalDefaultsPropertyMap_Impl;
787 }
788 
789 typedef std::unordered_map< OUString, sal_uInt32 > UHashMapImpl;
790 
791 namespace {
792 
793 const UHashMapImpl& GetUHashImpl()
794 {
795  static UHashMapImpl const aImpl
796  {
797  { "com.sun.star.drawing.RectangleShape", OBJ_RECT },
798  { "com.sun.star.drawing.EllipseShape", OBJ_CIRC },
799  { "com.sun.star.drawing.ControlShape", OBJ_UNO },
800  { "com.sun.star.drawing.ConnectorShape", OBJ_EDGE },
801  { "com.sun.star.drawing.MeasureShape", OBJ_MEASURE },
802  { "com.sun.star.drawing.LineShape", OBJ_LINE },
803  { "com.sun.star.drawing.PolyPolygonShape", OBJ_POLY },
804  { "com.sun.star.drawing.PolyLineShape", OBJ_PLIN },
805  { "com.sun.star.drawing.OpenBezierShape", OBJ_PATHLINE },
806  { "com.sun.star.drawing.ClosedBezierShape", OBJ_PATHFILL },
807  { "com.sun.star.drawing.OpenFreeHandShape", OBJ_FREELINE },
808  { "com.sun.star.drawing.ClosedFreeHandShape", OBJ_FREEFILL },
809  { "com.sun.star.drawing.PolyPolygonPathShape", OBJ_PATHPOLY },
810  { "com.sun.star.drawing.PolyLinePathShape", OBJ_PATHPLIN },
811  { "com.sun.star.drawing.GraphicObjectShape", OBJ_GRAF },
812  { "com.sun.star.drawing.GroupShape", OBJ_GRUP },
813  { "com.sun.star.drawing.TextShape", OBJ_TEXT },
814  { "com.sun.star.drawing.OLE2Shape", OBJ_OLE2 },
815  { "com.sun.star.drawing.PageShape", OBJ_PAGE },
816  { "com.sun.star.drawing.CaptionShape", OBJ_CAPTION },
817  { "com.sun.star.drawing.FrameShape", OBJ_FRAME },
818  { "com.sun.star.drawing.PluginShape", OBJ_OLE2_PLUGIN },
819  { "com.sun.star.drawing.AppletShape", OBJ_OLE2_APPLET },
820  { "com.sun.star.drawing.CustomShape", OBJ_CUSTOMSHAPE },
821  { "com.sun.star.drawing.MediaShape", OBJ_MEDIA },
822 
823  { "com.sun.star.drawing.Shape3DSceneObject", E3D_SCENE_ID | E3D_INVENTOR_FLAG },
824  { "com.sun.star.drawing.Shape3DCubeObject", E3D_CUBEOBJ_ID | E3D_INVENTOR_FLAG },
825  { "com.sun.star.drawing.Shape3DSphereObject", E3D_SPHEREOBJ_ID | E3D_INVENTOR_FLAG },
826  { "com.sun.star.drawing.Shape3DLatheObject", E3D_LATHEOBJ_ID | E3D_INVENTOR_FLAG },
827  { "com.sun.star.drawing.Shape3DExtrudeObject", E3D_EXTRUDEOBJ_ID | E3D_INVENTOR_FLAG },
828  { "com.sun.star.drawing.Shape3DPolygonObject", E3D_POLYGONOBJ_ID | E3D_INVENTOR_FLAG },
829  };
830 
831  return aImpl;
832 }
833 
834 }
835 
836 
837 OUString UHashMap::getNameFromId(sal_uInt32 nId)
838 {
839  const UHashMapImpl &rMap = GetUHashImpl();
840 
841  auto it = std::find_if(rMap.begin(), rMap.end(),
842  [nId](const UHashMapImpl::value_type& rEntry) { return rEntry.second == nId; });
843  if (it != rMap.end())
844  return it->first;
845  OSL_FAIL("[CL] unknown SdrObject identifier");
846  return OUString();
847 }
848 
849 uno::Sequence< OUString > UHashMap::getServiceNames()
850 {
851  return comphelper::mapKeysToSequence( GetUHashImpl() );
852 }
853 
854 sal_uInt32 UHashMap::getId( const OUString& rCompareString )
855 {
856  const UHashMapImpl &rMap = GetUHashImpl();
857  UHashMapImpl::const_iterator it = rMap.find( rCompareString );
858  if( it == rMap.end() )
859  return UHASHMAP_NOTFOUND;
860  else
861  return it->second;
862 }
863 
864 namespace {
865 
866 struct theSvxMapProvider :
867  public rtl::Static<SvxUnoPropertyMapProvider, theSvxMapProvider>
868 {
869 };
870 
871 }
872 
874 {
875  return theSvxMapProvider::get();
876 }
877 
878 
880 {
881  for(sal_uInt16 i=0;i<SVXMAP_END; i++)
882  {
883  aSetArr[i] = nullptr;
884  aMapArr[i] = nullptr;
885  }
886 }
887 
889 {
890 }
891 
892 
894 {
895  DBG_ASSERT(nPropertyId < SVXMAP_END, "Id ?" );
896  if(!aMapArr[nPropertyId]) {
897  switch(nPropertyId) {
923 
924  default:
925  OSL_FAIL( "Unknown property map for SvxUnoPropertyMapProvider!" );
926  }
927 // Sort(nPropertyId);
928  }
929  return aMapArr[nPropertyId];
930 }
932 {
933  if( !aSetArr[nPropertyId] )
934  aSetArr[nPropertyId].reset(new SvxItemPropertySet( GetMap( nPropertyId ), rPool ));
935  return aSetArr[nPropertyId].get();
936 }
937 
941 bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) throw()
942 {
943  switch( eVcl )
944  {
945  case MapUnit::Map100thMM: eApi = util::MeasureUnit::MM_100TH; break;
946  case MapUnit::Map10thMM: eApi = util::MeasureUnit::MM_10TH; break;
947  case MapUnit::MapMM: eApi = util::MeasureUnit::MM; break;
948  case MapUnit::MapCM: eApi = util::MeasureUnit::CM; break;
949  case MapUnit::Map1000thInch: eApi = util::MeasureUnit::INCH_1000TH; break;
950  case MapUnit::Map100thInch: eApi = util::MeasureUnit::INCH_100TH; break;
951  case MapUnit::Map10thInch: eApi = util::MeasureUnit::INCH_10TH; break;
952  case MapUnit::MapInch: eApi = util::MeasureUnit::INCH; break;
953  case MapUnit::MapPoint: eApi = util::MeasureUnit::POINT; break;
954  case MapUnit::MapTwip: eApi = util::MeasureUnit::TWIP; break;
955  case MapUnit::MapRelative: eApi = util::MeasureUnit::PERCENT; break;
956  default:
957  return false;
958  }
959 
960  return true;
961 }
962 
967 bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) throw()
968 {
969  switch( eApi )
970  {
971  case util::MeasureUnit::MM: eVcl = FieldUnit::MM; break;
972  case util::MeasureUnit::CM: eVcl = FieldUnit::CM; break;
973  case util::MeasureUnit::M: eVcl = FieldUnit::M; break;
974  case util::MeasureUnit::KM: eVcl = FieldUnit::KM; break;
975  case util::MeasureUnit::TWIP: eVcl = FieldUnit::TWIP; break;
976  case util::MeasureUnit::POINT: eVcl = FieldUnit::POINT; break;
977  case util::MeasureUnit::PICA: eVcl = FieldUnit::PICA; break;
978  case util::MeasureUnit::INCH: eVcl = FieldUnit::INCH; break;
979  case util::MeasureUnit::FOOT: eVcl = FieldUnit::FOOT; break;
980  case util::MeasureUnit::MILE: eVcl = FieldUnit::MILE; break;
981  case util::MeasureUnit::PERCENT: eVcl = FieldUnit::PERCENT; break;
982  case util::MeasureUnit::MM_100TH: eVcl = FieldUnit::MM_100TH; break;
983  default:
984  return false;
985  }
986 
987  return true;
988 }
989 
993 bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) throw()
994 {
995  switch( eVcl )
996  {
997  case FieldUnit::MM: eApi = util::MeasureUnit::MM; break;
998  case FieldUnit::CM: eApi = util::MeasureUnit::CM; break;
999  case FieldUnit::M: eApi = util::MeasureUnit::M; break;
1000  case FieldUnit::KM: eApi = util::MeasureUnit::KM; break;
1001  case FieldUnit::TWIP: eApi = util::MeasureUnit::TWIP; break;
1002  case FieldUnit::POINT: eApi = util::MeasureUnit::POINT; break;
1003  case FieldUnit::PICA: eApi = util::MeasureUnit::PICA; break;
1004  case FieldUnit::INCH: eApi = util::MeasureUnit::INCH; break;
1005  case FieldUnit::FOOT: eApi = util::MeasureUnit::FOOT; break;
1006  case FieldUnit::MILE: eApi = util::MeasureUnit::MILE; break;
1007  case FieldUnit::PERCENT: eApi = util::MeasureUnit::PERCENT; break;
1008  case FieldUnit::MM_100TH: eApi = util::MeasureUnit::MM_100TH; break;
1009  default:
1010  return false;
1011  }
1012 
1013  return true;
1014 }
1015 
1016 static const char* RID_SVXSTR_BMP_DEF[] =
1017 {
1094 };
1095 
1096 static const char* RID_SVXSTR_BMP[] =
1097 {
1098  RID_SVXSTR_BMP0,
1099  RID_SVXSTR_BMP1,
1100  RID_SVXSTR_BMP2,
1101  RID_SVXSTR_BMP3,
1102  RID_SVXSTR_BMP4,
1103  RID_SVXSTR_BMP5,
1104  RID_SVXSTR_BMP6,
1105  RID_SVXSTR_BMP7,
1106  RID_SVXSTR_BMP8,
1107  RID_SVXSTR_BMP9,
1108  RID_SVXSTR_BMP10,
1109  RID_SVXSTR_BMP11,
1110  RID_SVXSTR_BMP12,
1111  RID_SVXSTR_BMP13,
1112  RID_SVXSTR_BMP14,
1113  RID_SVXSTR_BMP15,
1114  RID_SVXSTR_BMP16,
1115  RID_SVXSTR_BMP17,
1116  RID_SVXSTR_BMP18,
1117  RID_SVXSTR_BMP19,
1118  RID_SVXSTR_BMP20,
1119  RID_SVXSTR_BMP21,
1120  RID_SVXSTR_BMP22,
1121  RID_SVXSTR_BMP23,
1122  RID_SVXSTR_BMP24,
1123  RID_SVXSTR_BMP25,
1124  RID_SVXSTR_BMP26,
1125  RID_SVXSTR_BMP27,
1126  RID_SVXSTR_BMP28,
1127  RID_SVXSTR_BMP29,
1128  RID_SVXSTR_BMP30,
1129  RID_SVXSTR_BMP31,
1130  RID_SVXSTR_BMP32,
1131  RID_SVXSTR_BMP33,
1132  RID_SVXSTR_BMP34,
1133  RID_SVXSTR_BMP35,
1134  RID_SVXSTR_BMP36,
1135  RID_SVXSTR_BMP37,
1136  RID_SVXSTR_BMP38,
1137  RID_SVXSTR_BMP39,
1138  RID_SVXSTR_BMP40,
1139  RID_SVXSTR_BMP41,
1140  RID_SVXSTR_BMP42,
1141  RID_SVXSTR_BMP43,
1142  RID_SVXSTR_BMP44,
1143  RID_SVXSTR_BMP45,
1144  RID_SVXSTR_BMP46,
1145  RID_SVXSTR_BMP47,
1146  RID_SVXSTR_BMP48,
1147  RID_SVXSTR_BMP49,
1148  RID_SVXSTR_BMP50,
1149  RID_SVXSTR_BMP51,
1150  RID_SVXSTR_BMP52,
1151  RID_SVXSTR_BMP53,
1152  RID_SVXSTR_BMP54,
1153  RID_SVXSTR_BMP55,
1154  RID_SVXSTR_BMP56,
1155  RID_SVXSTR_BMP57,
1156  RID_SVXSTR_BMP58,
1157  RID_SVXSTR_BMP59,
1158  RID_SVXSTR_BMP60,
1159  RID_SVXSTR_BMP61,
1160  RID_SVXSTR_BMP62,
1161  RID_SVXSTR_BMP63,
1162  RID_SVXSTR_BMP64,
1163  RID_SVXSTR_BMP65,
1164  RID_SVXSTR_BMP66,
1165  RID_SVXSTR_BMP67,
1166  RID_SVXSTR_BMP68,
1167  RID_SVXSTR_BMP69,
1168  RID_SVXSTR_BMP70,
1169  RID_SVXSTR_BMP71,
1170  RID_SVXSTR_BMP72,
1171  RID_SVXSTR_BMP73,
1172  RID_SVXSTR_BMP74,
1173  RID_SVXSTR_BMP75
1174 };
1175 
1176 static const char* RID_SVXSTR_DASH_DEF[] =
1177 {
1191 };
1192 
1193 static const char* RID_SVXSTR_DASH[] =
1194 {
1195  RID_SVXSTR_DASH0,
1196  RID_SVXSTR_DASH1,
1197  RID_SVXSTR_DASH2,
1198  RID_SVXSTR_DASH3,
1199  RID_SVXSTR_DASH4,
1200  RID_SVXSTR_DASH5,
1201  RID_SVXSTR_DASH6,
1202  RID_SVXSTR_DASH7,
1203  RID_SVXSTR_DASH8,
1204  RID_SVXSTR_DASH9,
1205  RID_SVXSTR_DASH10,
1206  RID_SVXSTR_DASH11,
1207  RID_SVXSTR_DASH12
1208 };
1209 
1210 static const char* RID_SVXSTR_LEND_DEF[] =
1211 {
1233 };
1234 
1235 static const char* RID_SVXSTR_LEND[] =
1236 {
1237  RID_SVXSTR_LEND0,
1238  RID_SVXSTR_LEND1,
1239  RID_SVXSTR_LEND2,
1240  RID_SVXSTR_LEND3,
1241  RID_SVXSTR_LEND4,
1242  RID_SVXSTR_LEND5,
1243  RID_SVXSTR_LEND6,
1244  RID_SVXSTR_LEND7,
1245  RID_SVXSTR_LEND8,
1246  RID_SVXSTR_LEND9,
1247  RID_SVXSTR_LEND10,
1248  RID_SVXSTR_LEND11,
1249  RID_SVXSTR_LEND12,
1250  RID_SVXSTR_LEND13,
1251  RID_SVXSTR_LEND14,
1252  RID_SVXSTR_LEND15,
1253  RID_SVXSTR_LEND16,
1254  RID_SVXSTR_LEND17,
1255  RID_SVXSTR_LEND18,
1256  RID_SVXSTR_LEND19,
1257  RID_SVXSTR_LEND20
1258 };
1259 
1260 static const char* RID_SVXSTR_GRDT_DEF[] =
1261 {
1347 };
1348 
1349 static const char* RID_SVXSTR_GRDT[] =
1350 {
1351  RID_SVXSTR_GRDT0,
1352  RID_SVXSTR_GRDT1,
1353  RID_SVXSTR_GRDT2,
1354  RID_SVXSTR_GRDT3,
1355  RID_SVXSTR_GRDT4,
1356  RID_SVXSTR_GRDT5,
1357  RID_SVXSTR_GRDT6,
1358  RID_SVXSTR_GRDT7,
1359  RID_SVXSTR_GRDT8,
1360  RID_SVXSTR_GRDT9,
1361  RID_SVXSTR_GRDT10,
1362  RID_SVXSTR_GRDT11,
1363  RID_SVXSTR_GRDT12,
1364  RID_SVXSTR_GRDT13,
1365  RID_SVXSTR_GRDT14,
1366  RID_SVXSTR_GRDT15,
1367  RID_SVXSTR_GRDT16,
1368  RID_SVXSTR_GRDT17,
1369  RID_SVXSTR_GRDT18,
1370  RID_SVXSTR_GRDT19,
1371  RID_SVXSTR_GRDT20,
1372  RID_SVXSTR_GRDT21,
1373  RID_SVXSTR_GRDT22,
1374  RID_SVXSTR_GRDT23,
1375  RID_SVXSTR_GRDT24,
1376  RID_SVXSTR_GRDT25,
1377  RID_SVXSTR_GRDT26,
1378  RID_SVXSTR_GRDT27,
1379  RID_SVXSTR_GRDT28,
1380  RID_SVXSTR_GRDT29,
1381  RID_SVXSTR_GRDT30,
1382  RID_SVXSTR_GRDT31,
1383  RID_SVXSTR_GRDT32,
1384  RID_SVXSTR_GRDT33,
1385  RID_SVXSTR_GRDT34,
1386  RID_SVXSTR_GRDT35,
1387  RID_SVXSTR_GRDT36,
1388  RID_SVXSTR_GRDT37,
1389  RID_SVXSTR_GRDT38,
1390  RID_SVXSTR_GRDT39,
1391  RID_SVXSTR_GRDT40,
1392  RID_SVXSTR_GRDT41,
1393  RID_SVXSTR_GRDT42,
1394  RID_SVXSTR_GRDT43,
1395  RID_SVXSTR_GRDT44,
1396  RID_SVXSTR_GRDT45,
1397  RID_SVXSTR_GRDT46,
1398  RID_SVXSTR_GRDT47,
1399  RID_SVXSTR_GRDT48,
1400  RID_SVXSTR_GRDT49,
1401  RID_SVXSTR_GRDT50,
1402  RID_SVXSTR_GRDT51,
1403  RID_SVXSTR_GRDT52,
1404  RID_SVXSTR_GRDT53,
1405  RID_SVXSTR_GRDT54,
1406  RID_SVXSTR_GRDT55,
1407  RID_SVXSTR_GRDT56,
1408  RID_SVXSTR_GRDT57,
1409  RID_SVXSTR_GRDT58,
1410  RID_SVXSTR_GRDT59,
1411  RID_SVXSTR_GRDT60,
1412  RID_SVXSTR_GRDT61,
1413  RID_SVXSTR_GRDT62,
1414  RID_SVXSTR_GRDT63,
1415  RID_SVXSTR_GRDT64,
1416  RID_SVXSTR_GRDT65,
1417  RID_SVXSTR_GRDT66,
1418  RID_SVXSTR_GRDT67,
1419  RID_SVXSTR_GRDT68,
1420  RID_SVXSTR_GRDT69,
1421  RID_SVXSTR_GRDT70,
1422  RID_SVXSTR_GRDT71,
1423  RID_SVXSTR_GRDT72,
1424  RID_SVXSTR_GRDT73,
1425  RID_SVXSTR_GRDT74,
1426  RID_SVXSTR_GRDT75,
1427  RID_SVXSTR_GRDT76,
1428  RID_SVXSTR_GRDT77,
1429  RID_SVXSTR_GRDT78,
1430  RID_SVXSTR_GRDT79,
1431  RID_SVXSTR_GRDT80,
1432  RID_SVXSTR_GRDT81,
1433  RID_SVXSTR_GRDT82,
1434  RID_SVXSTR_GRDT83,
1435  RID_SVXSTR_GRDT84
1436 };
1437 
1438 static const char* RID_SVXSTR_HATCHS_DEF[] =
1439 {
1451 };
1452 
1453 static const char* RID_SVXSTR_HATCHS[] =
1454 {
1455  RID_SVXSTR_HATCH0,
1456  RID_SVXSTR_HATCH1,
1457  RID_SVXSTR_HATCH2,
1458  RID_SVXSTR_HATCH3,
1459  RID_SVXSTR_HATCH4,
1460  RID_SVXSTR_HATCH5,
1461  RID_SVXSTR_HATCH6,
1462  RID_SVXSTR_HATCH7,
1463  RID_SVXSTR_HATCH8,
1464  RID_SVXSTR_HATCH9,
1465  RID_SVXSTR_HATCH10
1466 };
1467 
1468 static const char* RID_SVXSTR_TRASNGR_DEF[] =
1469 {
1471 };
1472 
1473 static const char* RID_SVXSTR_TRASNGR[] =
1474 {
1475  RID_SVXSTR_TRASNGR0
1476 };
1477 
1478 static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const char**& pApiResIds, const char**& pIntResIds, int& nCount ) throw()
1479 {
1480  switch( nWhich )
1481  {
1482  case XATTR_FILLBITMAP:
1483  pApiResIds = RID_SVXSTR_BMP_DEF;
1484  pIntResIds = RID_SVXSTR_BMP;
1485  nCount = SAL_N_ELEMENTS(RID_SVXSTR_BMP_DEF);
1486  break;
1487  case XATTR_LINEDASH:
1488  pApiResIds = RID_SVXSTR_DASH_DEF;
1489  pIntResIds = RID_SVXSTR_DASH;
1490  nCount = SAL_N_ELEMENTS(RID_SVXSTR_DASH_DEF);
1491  break;
1492 
1493  case XATTR_LINESTART:
1494  case XATTR_LINEEND:
1495  pApiResIds = RID_SVXSTR_LEND_DEF;
1496  pIntResIds = RID_SVXSTR_LEND;
1497  nCount = SAL_N_ELEMENTS(RID_SVXSTR_LEND_DEF);
1498  break;
1499 
1500  case XATTR_FILLGRADIENT:
1501  pApiResIds = RID_SVXSTR_GRDT_DEF;
1502  pIntResIds = RID_SVXSTR_GRDT;
1503  nCount = SAL_N_ELEMENTS(RID_SVXSTR_GRDT_DEF);
1504  break;
1505 
1506  case XATTR_FILLHATCH:
1507  pApiResIds = RID_SVXSTR_HATCHS_DEF;
1508  pIntResIds = RID_SVXSTR_HATCHS;
1509  nCount = SAL_N_ELEMENTS(RID_SVXSTR_HATCHS_DEF);
1510  break;
1511 
1513  pApiResIds = RID_SVXSTR_TRASNGR_DEF;
1514  pIntResIds = RID_SVXSTR_TRASNGR;
1515  nCount = SAL_N_ELEMENTS(RID_SVXSTR_TRASNGR_DEF);
1516  break;
1517 
1518  default:
1519  return false;
1520  }
1521  return true;
1522 }
1523 
1525 static bool SvxUnoConvertResourceString(const char **pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi)
1526 {
1527  // first, calculate the search string length without an optional number after the name
1528  sal_Int32 nLength = rString.getLength();
1529  while( nLength > 0 )
1530  {
1531  const sal_Unicode nChar = rString[ nLength - 1 ];
1532  if( (nChar < '0') || (nChar > '9') )
1533  break;
1534 
1535  nLength--;
1536  }
1537 
1538  // if we cut off a number, also cut of some spaces
1539  if( nLength != rString.getLength() )
1540  {
1541  while( nLength > 0 )
1542  {
1543  const sal_Unicode nChar = rString[ nLength - 1 ];
1544  if( nChar != ' ' )
1545  break;
1546 
1547  nLength--;
1548  }
1549  }
1550 
1551  const OUString aShortString( rString.copy( 0, nLength ) );
1552 
1553  for (int i = 0; i < nCount; ++i)
1554  {
1555  if (bToApi)
1556  {
1557  const OUString & aCompare = SvxResId(pSourceResIds[i]);
1558  if( aShortString == aCompare )
1559  {
1560  rString = rString.replaceAt( 0, aShortString.getLength(), OUString::createFromAscii(pDestResIds[i]) );
1561  return true;
1562  }
1563  else if( rString == aCompare )
1564  {
1565  rString = OUString::createFromAscii(pDestResIds[i]);
1566  return true;
1567  }
1568  }
1569  else
1570  {
1571  auto pCompare = pSourceResIds[i];
1572  if( aShortString.equalsAscii(pCompare) )
1573  {
1574  rString = rString.replaceAt( 0, aShortString.getLength(), SvxResId(pDestResIds[i]) );
1575  return true;
1576  }
1577  else if( rString.equalsAscii(pCompare) )
1578  {
1579  rString = SvxResId(pDestResIds[i]);
1580  return true;
1581  }
1582  }
1583  }
1584 
1585  return false;
1586 }
1587 
1588 
1589 // #i122649# Some comments on the below arrays:
1590 // - They need to have the same order and count of items
1591 // - They are used to translate between translated and non-translated color names
1592 // - To make longer names be found which start with the same basic string,
1593 // these have to be in front of others
1594 
1595 // It would be nice to:
1596 // - evtl. organize these in a single array with 2-dimensional inner to eliminate
1597 // the possibility to define it wrong
1598 // - change the compare to also work when a shorter name is in front of a longer one
1599 
1600 static const char* SvxUnoColorNameDefResId[] =
1601 {
1710 };
1711 
1712 static const char* SvxUnoColorNameResId[] =
1713 {
1714  RID_SVXSTR_COLOR_BLUEGREY,
1715  RID_SVXSTR_COLOR_BLACK,
1716  RID_SVXSTR_COLOR_BLUE_CLASSIC,
1717  RID_SVXSTR_COLOR_BLUE,
1718  RID_SVXSTR_COLOR_GREEN,
1719  RID_SVXSTR_COLOR_RED,
1720  RID_SVXSTR_COLOR_MAGENTA,
1721  RID_SVXSTR_COLOR_GREY,
1722  RID_SVXSTR_COLOR_YELLOWGREEN,
1723  RID_SVXSTR_COLOR_YELLOW,
1724  RID_SVXSTR_COLOR_WHITE,
1725  RID_SVXSTR_COLOR_ORANGE,
1726  RID_SVXSTR_COLOR_BORDEAUX,
1727  RID_SVXSTR_COLOR_PALE_YELLOW,
1728  RID_SVXSTR_COLOR_PALE_GREEN,
1729  RID_SVXSTR_COLOR_DARKVIOLET,
1730  RID_SVXSTR_COLOR_SALMON,
1731  RID_SVXSTR_COLOR_SEABLUE,
1732  RID_SVXSTR_COLOR_CHART,
1733  RID_SVXSTR_COLOR_PURPLE,
1734  RID_SVXSTR_COLOR_SKYBLUE,
1735  RID_SVXSTR_COLOR_PINK,
1736  RID_SVXSTR_COLOR_TURQUOISE,
1737  RID_SVXSTR_COLOR_GOLD,
1738  RID_SVXSTR_COLOR_BRICK,
1739  RID_SVXSTR_COLOR_INDIGO,
1740  RID_SVXSTR_COLOR_TEAL,
1741  RID_SVXSTR_COLOR_LIME,
1742  RID_SVXSTR_COLOR_LIGHTGRAY,
1743  RID_SVXSTR_COLOR_LIGHTYELLOW,
1744  RID_SVXSTR_COLOR_LIGHTGOLD,
1745  RID_SVXSTR_COLOR_LIGHTORANGE,
1746  RID_SVXSTR_COLOR_LIGHTBRICK,
1747  RID_SVXSTR_COLOR_LIGHTRED,
1748  RID_SVXSTR_COLOR_LIGHTMAGENTA,
1749  RID_SVXSTR_COLOR_LIGHTPURPLE,
1750  RID_SVXSTR_COLOR_LIGHTINDIGO,
1751  RID_SVXSTR_COLOR_LIGHTBLUE,
1752  RID_SVXSTR_COLOR_LIGHTTEAL,
1753  RID_SVXSTR_COLOR_LIGHTGREEN,
1754  RID_SVXSTR_COLOR_LIGHTLIME,
1755  RID_SVXSTR_COLOR_DARKGRAY,
1756  RID_SVXSTR_COLOR_DARKYELLOW,
1757  RID_SVXSTR_COLOR_DARKGOLD,
1758  RID_SVXSTR_COLOR_DARKORANGE,
1759  RID_SVXSTR_COLOR_DARKBRICK,
1760  RID_SVXSTR_COLOR_DARKRED,
1761  RID_SVXSTR_COLOR_DARKMAGENTA,
1762  RID_SVXSTR_COLOR_DARKPURPLE,
1763  RID_SVXSTR_COLOR_DARKINDIGO,
1764  RID_SVXSTR_COLOR_DARKBLUE,
1765  RID_SVXSTR_COLOR_DARKTEAL,
1766  RID_SVXSTR_COLOR_DARKGREEN,
1767  RID_SVXSTR_COLOR_DARKLIME,
1768  RID_SVXSTR_COLOR_VIOLET,
1769  RID_SVXSTR_COLOR_VIOLET_OUG,
1770  RID_SVXSTR_COLOR_BLUE_OUG,
1771  RID_SVXSTR_COLOR_AZURE_OUG,
1772  RID_SVXSTR_COLOR_SPRINGGREEN_OUG,
1773  RID_SVXSTR_COLOR_GREEN_OUG,
1774  RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG,
1775  RID_SVXSTR_COLOR_ORANGE_OUG,
1776  RID_SVXSTR_COLOR_RED_OUG,
1777  RID_SVXSTR_COLOR_ROSE_OUG,
1778  RID_SVXSTR_COLOR_AZURE,
1779  RID_SVXSTR_COLOR_CYAN,
1780  RID_SVXSTR_COLOR_SPRINGGREEN,
1781  RID_SVXSTR_COLOR_CHARTREUSEGREEN,
1782  RID_SVXSTR_COLOR_ROSE,
1783  RID_SVXSTR_COLOR_MATERIAL_GRAY_A,
1784  RID_SVXSTR_COLOR_MATERIAL_YELLOW_A,
1785  RID_SVXSTR_COLOR_MATERIAL_AMBER_A,
1786  RID_SVXSTR_COLOR_MATERIAL_AMBER,
1787  RID_SVXSTR_COLOR_MATERIAL_ORANGE_A,
1788  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A,
1789  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE,
1790  RID_SVXSTR_COLOR_MATERIAL_RED_A,
1791  RID_SVXSTR_COLOR_MATERIAL_PINK_A,
1792  RID_SVXSTR_COLOR_MATERIAL_PURPLE_A,
1793  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A,
1794  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE,
1795  RID_SVXSTR_COLOR_MATERIAL_INDIGO_A,
1796  RID_SVXSTR_COLOR_MATERIAL_BLUE_A,
1797  RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A,
1798  RID_SVXSTR_COLOR_MATERIAL_CYAN_A,
1799  RID_SVXSTR_COLOR_MATERIAL_TEAL_A,
1800  RID_SVXSTR_COLOR_MATERIAL_GREEN_A,
1801  RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A,
1802  RID_SVXSTR_COLOR_MATERIAL_LIME_A,
1803  RID_SVXSTR_COLOR_MATERIAL_BROWN_A,
1804  RID_SVXSTR_COLOR_MATERIAL_BROWN,
1805  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A,
1806  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY,
1807  RID_SVXSTR_COLOR_LIBRE_GREEN_1,
1808  RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT,
1809  RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT,
1810  RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT,
1811  RID_SVXSTR_COLOR_LIBRE_PURPLE,
1812  RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT,
1813  RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT,
1814  RID_SVXSTR_COLOR_TANGO_BUTTER,
1815  RID_SVXSTR_COLOR_TANGO_ORANGE,
1816  RID_SVXSTR_COLOR_TANGO_CHOCOLATE,
1817  RID_SVXSTR_COLOR_TANGO_CHAMELEON,
1818  RID_SVXSTR_COLOR_TANGO_SKY_BLUE,
1819  RID_SVXSTR_COLOR_TANGO_PLUM,
1820  RID_SVXSTR_COLOR_TANGO_SCARLET_RED,
1821  RID_SVXSTR_COLOR_TANGO_ALUMINIUM
1822 };
1823 
1825 static bool SvxUnoConvertResourceStringBuiltIn(const char** pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi)
1826 {
1827  //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1828  //replace "Red Hat 1" with the translation of Red :-)
1829  sal_Int32 nLength = rString.getLength();
1830  while( nLength > 0 )
1831  {
1832  const sal_Unicode nChar = rString[nLength-1];
1833  if (nChar != '%' && (nChar < '0' || nChar > '9'))
1834  break;
1835  nLength--;
1836  }
1837  OUString sStr = rString.copy(0, nLength).trim();
1838 
1839  for(int i = 0; i < nCount; ++i )
1840  {
1841  if (bToApi)
1842  {
1843  OUString aStrDefName = SvxResId(pSourceResIds[i]);
1844  if( sStr == aStrDefName )
1845  {
1846  OUString aReplace = OUString::createFromAscii(pDestResIds[i]);
1847  rString = rString.replaceAt( 0, aStrDefName.getLength(), aReplace );
1848  return true;
1849  }
1850  }
1851  else
1852  {
1853  if( sStr.equalsAscii(pSourceResIds[i]) )
1854  {
1855  OUString aReplace = SvxResId(pDestResIds[i]);
1856  rString = rString.replaceAt( 0, strlen(pSourceResIds[i]), aReplace );
1857  return true;
1858  }
1859  }
1860  }
1861 
1862  return false;
1863 }
1864 
1868 OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString& rInternalName)
1869 {
1870  OUString aNew = rInternalName;
1871 
1872  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
1873  {
1874  if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameResId, SvxUnoColorNameDefResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, true))
1875  {
1876  return aNew;
1877  }
1878  }
1879  else
1880  {
1881  const char** pApiResIds;
1882  const char** pIntResIds;
1883  int nCount;
1884 
1885  if( SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
1886  {
1887  if (SvxUnoConvertResourceString(pIntResIds, pApiResIds, nCount, aNew, true))
1888  {
1889  return aNew;
1890  }
1891  }
1892  }
1893 
1894  // just use previous name, if nothing else was found.
1895  return rInternalName;
1896 }
1897 
1901 OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& rApiName)
1902 {
1903  OUString aNew = rApiName;
1904 
1905  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
1906  {
1907  if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameDefResId, SvxUnoColorNameResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, false))
1908  {
1909  return aNew;
1910  }
1911  }
1912  else
1913  {
1914  const char** pApiResIds;
1915  const char** pIntResIds;
1916  int nCount;
1917 
1918  if (SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
1919  {
1920  if (SvxUnoConvertResourceString(pApiResIds, pIntResIds, nCount, aNew, false))
1921  {
1922  return aNew;
1923  }
1924  }
1925  }
1926 
1927  // just use previous name, if nothing else was found.
1928  return rApiName;
1929 }
1930 
1931 
1933 {
1934  SolarMutexGuard aGuard;
1935 
1936  assert( nServiceId <= SVXUNO_SERVICEID_LASTID );
1937 
1938  if( !mxInfos[ nServiceId ].is() )
1939  {
1940  mxInfos[nServiceId] = new comphelper::PropertySetInfo();
1941 
1942  switch( nServiceId )
1943  {
1946  break;
1950  // OD 13.10.2003 #i18732# - add property map for writer item 'IsFollowingTextFlow'
1952  break;
1953 
1954  default:
1955  OSL_FAIL( "unknown service id!" );
1956  }
1957  }
1958 
1959  return mxInfos[ nServiceId ];
1960 }
1961 
1963 
1964 /* 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:394
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:322
#define XATTR_FILLHATCH
Definition: xdef.hxx:110
static const char * RID_SVXSTR_BMP_DEF[]
Definition: unoprov.cxx:1016
#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:519
#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:526
#define OWN_ATTR_OLE_ASPECT
Definition: unoshprp.hxx:163
#define RID_SVXSTR_GRDT64_DEF
Definition: strings.hxx:184
#define SVXMAP_CONNECTOR
Definition: unoprov.hxx:53
#define RID_SVXSTR_DASH0_DEF
Definition: strings.hxx:297
Universal Network Object packed into SvDraw object.
Definition: svdobj.hxx:146
#define RID_SVXSTR_LEND17_DEF
Definition: strings.hxx:328
#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:1478
#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:271
#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:393
#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:182
#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:343
#define RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF
Definition: strings.hxx:334
#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:307
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:1438
#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:416
#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:107
#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:1468
#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:511
#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:55
#define SDRATTR_XMLATTRIBUTES
Definition: svddef.hxx:216
#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:505
#define OWN_ATTR_TABLETEMPLATE
Definition: unoshprp.hxx:137
#define SVXMAP_PAGE
Definition: unoprov.hxx:76
#define XATTR_FILLFLOATTRANSPARENCE
Definition: xdef.hxx:118
#define OWN_ATTR_FRAME_MARGIN_HEIGHT
Definition: unoshprp.hxx:134
#define SVXMAP_3DSCENEOBJECT
Definition: unoprov.hxx:58
#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:758
#define SPECIAL_3DSCENEOBJECT_PROPERTIES
Definition: unoshprp.hxx:482
#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:1525
#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:321
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:348
#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:1868
#define RID_SVXSTR_GRDT9_DEF
Definition: strings.hxx:129
#define FILL_PROPERTIES_BMP
Definition: unoshprp.hxx:242
#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:317
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:204
static SfxItemPropertyMapEntry const * ImplGetSvxFramePropertyMap()
Definition: unoprov.cxx:486
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:345
#define RID_SVXSTR_COLOR_MAGENTA_DEF
Definition: strings.hxx:31
#define LINE_PROPERTIES
Definition: unoshprp.hxx:231
#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:346
#define RID_SVXSTR_BMP4_DEF
Definition: strings.hxx:223
#define RID_SVXSTR_LEND1_DEF
Definition: strings.hxx:312
#define RID_SVXSTR_GRDT57_DEF
Definition: strings.hxx:177
static SfxItemPropertyMapEntry const * ImplGetSvxCustomShapePropertyMap()
Definition: unoprov.cxx:670
#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:77
#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:98
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:188
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:340
#define MISC_3D_OBJ_PROPERTIES
Definition: unoshprp.hxx:489
#define SDRATTR_CUSTOMSHAPE_GEOMETRY
Definition: svddef.hxx:395
#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:62
#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:52
#define SVXMAP_3DCUBEOBJECT
Definition: unoprov.hxx:59
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:1901
#define RID_SVXSTR_COLOR_VIOLET_DEF
Definition: strings.hxx:79
#define RID_SVXSTR_TRASNGR0_DEF
Definition: strings.hxx:333
#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:60
#define SDRATTR_CAPTIONESCISREL
Definition: svddef.hxx:186
#define UNO_NAME_MISC_OBJ_DESCRIPTION
#define SVXMAP_GRAPHICOBJECT
Definition: unoprov.hxx:57
static SfxItemPropertyMapEntry const * ImplGetSvxOle2PropertyMap()
Definition: unoprov.cxx:422
#define RID_SVXSTR_COLOR_BLACK_DEF
Definition: strings.hxx:22
#define SVXMAP_ALL
Definition: unoprov.hxx:64
#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:68
#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:181
#define RID_SVXSTR_COLOR_TANGO_BUTTER_DEF
Definition: strings.hxx:341
#define RID_SVXSTR_COLOR_MATERIAL_RED_A_DEF
Definition: strings.hxx:102
#define SDRATTR_CAPTIONGAP
Definition: svddef.hxx:184
#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:1825
#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:313
#define RID_SVXSTR_COLOR_BLUE_OUG_DEF
Definition: strings.hxx:81
#define SDRATTR_CAPTIONLINELEN
Definition: svddef.hxx:189
#define UNO_NAME_EDIT_CHAR_POSTURE
#define RID_SVXSTR_LEND4_DEF
Definition: strings.hxx:315
#define RID_SVXSTR_BMP14_DEF
Definition: strings.hxx:233
#define RID_SVXSTR_DASH6_DEF
Definition: strings.hxx:303
#define RID_SVXSTR_COLOR_SPRINGGREEN_OUG_DEF
Definition: strings.hxx:83
#define EE_PARA_XMLATTRIBS
const sal_Int32 SVXUNO_SERVICEID_LASTID
Definition: unoprov.hxx:109
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:219
static SfxItemPropertyMapEntry const * ImplGetSvxCaptionPropertyMap()
Definition: unoprov.cxx:636
#define OWN_ATTR_TABLETEMPLATE_BANDINGCOULUMNS
Definition: unoshprp.hxx:143
static SfxItemPropertyMapEntry const * ImplGetSvxPluginPropertyMap()
Definition: unoprov.cxx:455
#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:555
#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:273
static const char * RID_SVXSTR_DASH_DEF[]
Definition: unoprov.cxx:1176
#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:300
#define RID_SVXSTR_COLOR_PALE_YELLOW_DEF
Definition: strings.hxx:33
#define UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION
#define SVXMAP_FRAME
Definition: unoprov.hxx:69
#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:319
#define OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT
Definition: unoshprp.hxx:151
#define RID_SVXSTR_DASH9_DEF
Definition: strings.hxx:306
#define SVXMAP_TABLE
Definition: unoprov.hxx:75
#define SHAPE_DESCRIPTOR_PROPERTIES
Definition: unoshprp.hxx:331
#define RID_SVXSTR_COLOR_MATERIAL_YELLOW_A_DEF
Definition: strings.hxx:96
#define DBG_ASSERT(sCon, aError)
#define FILL_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:255
#define OWN_ATTR_MEDIA_LOOP
Definition: unoshprp.hxx:154
#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:521
#define RID_SVXSTR_DASH8_DEF
Definition: strings.hxx:305
#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:314
#define SVXMAP_TEXT
Definition: unoprov.hxx:72
#define RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_DEF
Definition: strings.hxx:106
#define SVXMAP_CUSTOMSHAPE
Definition: unoprov.hxx:73
const sal_Int32 SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
Definition: unoprov.hxx:108
#define RID_SVXSTR_COLOR_LIBRE_PURPLE_DEF
Definition: strings.hxx:338
#define RID_SVXSTR_COLOR_MATERIAL_INDIGO_A_DEF
Definition: strings.hxx:107
#define RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT_DEF
Definition: strings.hxx:337
#define RID_SVXSTR_HATCH2_DEF
Definition: strings.hxx:209
static SfxItemPropertyMapEntry const * ImplGetSvxMediaShapePropertyMap()
Definition: unoprov.cxx:693
#define RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_DEF
Definition: strings.hxx:118
#define MISC_OBJ_PROPERTIES_NO_SHEAR
Definition: unoshprp.hxx:315
#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:320
SfxItemPropertyMapEntry const * aMapArr[SVXMAP_END]
Definition: unoprov.hxx:85
#define OWN_ATTR_MEDIA_MIMETYPE
Definition: unoshprp.hxx:182
#define SDRATTR_CAPTIONESCDIR
Definition: svddef.hxx:185
int i
#define RID_SVXSTR_GRDT62_DEF
Definition: strings.hxx:182
static SfxItemPropertyMapEntry const * ImplGetSvxGroupPropertyMap()
Definition: unoprov.cxx:409
static OUString getNameFromId(sal_uInt32 nId)
Definition: unoprov.cxx:837
#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:63
#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:336
#define SPECIAL_POLYGON_PROPERTIES
Definition: unoshprp.hxx:409
#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:893
#define SDRATTR_OBJVISIBLE
Definition: svddef.hxx:303
#define OWN_ATTR_OLE_VISAREA
Definition: unoshprp.hxx:146
static const char * RID_SVXSTR_HATCHS[]
Definition: unoprov.cxx:1453
#define SVXMAP_CONTROL
Definition: unoprov.hxx:71
#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:1193
#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:311
#define RID_SVXSTR_COLOR_DARKINDIGO_DEF
Definition: strings.hxx:73
#define OWN_ATTR_FRAME_NAME
Definition: unoshprp.hxx:130
static SVXCORE_DLLPUBLIC rtl::Reference< comphelper::PropertySetInfo > const & getOrCreate(sal_Int32 nServiceId)
Definition: unoprov.cxx:1932
#define LINKTARGET_PROPERTIES
Definition: unoshprp.hxx:345
#define SVXMAP_CAPTION
Definition: unoprov.hxx:66
css::uno::Type const & get()
static const char * RID_SVXSTR_GRDT_DEF[]
Definition: unoprov.cxx:1260
#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:74
static const char * RID_SVXSTR_LEND_DEF[]
Definition: unoprov.cxx:1210
#define TEXT_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:280
#define RID_SVXSTR_COLOR_TANGO_SCARLET_RED_DEF
Definition: strings.hxx:347
#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:342
#define RID_SVXSTR_DASH5_DEF
Definition: strings.hxx:302
static SfxItemPropertyMapEntry const * ImplGetSvxDimensioningPropertyMap()
Definition: unoprov.cxx:130
#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:849
#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:299
#define OWN_ATTR_PAGE_NUMBER
Definition: unoshprp.hxx:148
#define SDRATTR_CAPTIONFITLINELEN
Definition: svddef.hxx:190
#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:86
#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:316
#define SVXMAP_OLE2
Definition: unoprov.hxx:67
#define RID_SVXSTR_COLOR_TANGO_CHAMELEON_DEF
Definition: strings.hxx:344
#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:325
#define SDRATTR_OBJPRINTABLE
Definition: svddef.hxx:270
#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:309
#define RID_SVXSTR_DASH4_DEF
Definition: strings.hxx:301
#define SPECIAL_POLYPOLYGON_PROPERTIES
Definition: unoshprp.hxx:412
#define RID_SVXSTR_LEND15_DEF
Definition: strings.hxx:326
#define RID_SVXSTR_GRDT36_DEF
Definition: strings.hxx:156
#define SDRATTR_CAPTIONANGLE
Definition: svddef.hxx:183
#define SPECIAL_3DBACKSCALE_PROPERTIES
Definition: unoshprp.hxx:547
#define RID_SVXSTR_BMP69_DEF
Definition: strings.hxx:289
static SfxItemPropertyMapEntry const * ImplGetSvxTableShapePropertyMap()
Definition: unoprov.cxx:726
static const char * SvxUnoColorNameResId[]
Definition: unoprov.cxx:1712
#define OWN_ATTR_PLUGIN_URL
Definition: unoshprp.hxx:127
#define LINE_PROPERTIES_START_END
Definition: unoshprp.hxx:236
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:101
#define RID_SVXSTR_COLOR_LIGHTLIME_DEF
Definition: strings.hxx:63
static comphelper::PropertyMapEntry const * ImplGetAdditionalWriterDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:778
#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:854
#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:277
#define RID_SVXSTR_DASH7_DEF
Definition: strings.hxx:304
#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:268
static SfxItemPropertyMapEntry const * ImplGetSvxPageShapePropertyMap()
Definition: unoprov.cxx:613
#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:187
SvxUnoPropertyMapProvider.
Definition: unoprov.hxx:83
#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:309
#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:330
#define RID_SVXSTR_BMP31_DEF
Definition: strings.hxx:251
#define RID_SVXSTR_LEND16_DEF
Definition: strings.hxx:327
#define SVXMAP_APPLET
Definition: unoprov.hxx:70
#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:258
#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:941
#define SVXMAP_GROUP
Definition: unoprov.hxx:65
#define RID_SVXSTR_GRDT80_DEF
Definition: strings.hxx:201
#define UHASHMAP_NOTFOUND
class UHashMap
Definition: unoprov.hxx:38
#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:1235
#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:873
#define RID_SVXSTR_BMP54_DEF
Definition: strings.hxx:274
#define SVXMAP_3DLATHEOBJECT
Definition: unoprov.hxx:61
#define SPECIAL_GRAPHOBJ_PROPERTIES
Definition: unoshprp.hxx:429
#define SPECIAL_3DPOLYGONOBJECT_PROPERTIES
Definition: unoshprp.hxx:540
#define RID_SVXSTR_COLOR_LIGHTBRICK_DEF
Definition: strings.hxx:55
static const char * RID_SVXSTR_BMP[]
Definition: unoprov.cxx:1096
static SfxItemPropertyMapEntry const * ImplGetSvxConnectorPropertyMap()
Definition: unoprov.cxx:106
#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:272
#define SPECIAL_3DEXTRUDEOBJECT_PROPERTIES
Definition: unoshprp.hxx:534
#define UNO_NAME_MISC_OBJ_MOVEPROTECT
#define OWN_ATTR_APPLET_CODE
Definition: unoshprp.hxx:123
#define SPECIAL_DIMENSIONING_PROPERTIES
Definition: unoshprp.hxx:399
#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:350
#define SVXMAP_POLYPOLYGON
Definition: unoprov.hxx:56
#define SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:376
#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:99
#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:1349
#define RID_SVXSTR_COLOR_BLUE_CLASSIC_DEF
Definition: strings.hxx:44
static rtl::Reference< comphelper::PropertySetInfo > mxInfos[SVXUNO_SERVICEID_LASTID+1]
Definition: unoprov.hxx:119
#define RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF
Definition: strings.hxx:335
#define RID_SVXSTR_LEND13_DEF
Definition: strings.hxx:324
#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:298
#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:931
#define UNO_NAME_LINKDISPLAYNAME
#define RID_SVXSTR_COLOR_BLUEGREY_DEF
Definition: strings.hxx:29
#define RID_SVXSTR_DASH11_DEF
Definition: strings.hxx:308
static SfxItemPropertyMapEntry const * ImplGetSvxShapePropertyMap()
Definition: unoprov.cxx:60
#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
#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:993
#define RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT_DEF
Definition: strings.hxx:339
static SfxItemPropertyMapEntry const * ImplGetSvx3DCubeObjectPropertyMap()
Definition: unoprov.cxx:253
#define RID_SVXSTR_GRDT24_DEF
Definition: strings.hxx:144
static SfxItemPropertyMapEntry const * ImplGetSvxPolyPolygonPropertyMap()
Definition: unoprov.cxx:178
#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:154
#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:357
sal_Int32 const nLength
#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
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:325
static const char * RID_SVXSTR_TRASNGR[]
Definition: unoprov.cxx:1473
std::unordered_map< OUString, sal_uInt32 > UHashMapImpl
Definition: unoprov.cxx:789
#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:318
#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:269
#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:1600
#define RID_SVXSTR_COLOR_LIGHTGOLD_DEF
Definition: strings.hxx:53
#define SHADOW_PROPERTIES
Definition: unoshprp.hxx:212
#define RID_SVXSTR_LEND18_DEF
Definition: strings.hxx:329
bool SvxMeasureUnitToFieldUnit(const short eApi, FieldUnit &eVcl)
maps the API constant MeasureUnit to a vcl MapUnit enum.
Definition: unoprov.cxx:967
#define OWN_ATTR_LDNAME
Definition: unoshprp.hxx:98
#define SVXMAP_DIMENSIONING
Definition: unoprov.hxx:54
#define OWN_ATTR_OLEMODEL
Definition: unoshprp.hxx:102
#define SPECIAL_CIRCLE_PROPERTIES
Definition: unoshprp.hxx:404
static SfxItemPropertyMapEntry const * ImplGetSvxTextShapePropertyMap()
Definition: unoprov.cxx:83
#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:331
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:323
#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