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/config.h>
21 
22 #include <cassert>
23 
24 #include <sal/macros.h>
25 #include <com/sun/star/table/XTable.hpp>
26 #include <com/sun/star/container/XIndexAccess.hpp>
27 #include <com/sun/star/container/XNameContainer.hpp>
28 #include <com/sun/star/frame/XModel.hpp>
29 #include <com/sun/star/embed/XEmbeddedObject.hpp>
30 #include <com/sun/star/util/MeasureUnit.hpp>
31 #include <com/sun/star/drawing/TextVerticalAdjust.hpp>
32 #include <com/sun/star/media/ZoomLevel.hpp>
33 #include <com/sun/star/io/XInputStream.hpp>
34 #include <com/sun/star/beans/PropertyAttribute.hpp>
35 #include <com/sun/star/lang/Locale.hpp>
36 #include <tools/debug.hxx>
37 #include <tools/fldunit.hxx>
38 #include <vcl/svapp.hxx>
40 #include <comphelper/sequence.hxx>
41 #include <svx/dialmgr.hxx>
42 #include <svx/unoapi.hxx>
43 #include <svx/unoshprp.hxx>
44 #include <svx/svxids.hrc>
45 #include <svx/svdobjkind.hxx>
46 #include <svx/strings.hrc>
47 #include <strings.hxx>
48 
49 #include "shapeimpl.hxx"
50 #include <unordered_map>
51 
52 using namespace ::com::sun::star;
53 using namespace ::com::sun::star::beans::PropertyAttribute;
54 using ::com::sun::star::drawing::TextVerticalAdjust;
55 
57 {
58  static SfxItemPropertyMapEntry const aShapePropertyMap_Impl[] =
59  {
71  // #FontWork#
74  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
75  { u"", 0, css::uno::Type(), 0, 0 }
76  };
77 
78  return aShapePropertyMap_Impl;
79 }
80 
82 {
83  static SfxItemPropertyMapEntry const aTextShapePropertyMap_Impl[] =
84  {
96  // #FontWork#
99  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
100  { u"", 0, css::uno::Type(), 0, 0 }
101  };
102 
103  return aTextShapePropertyMap_Impl;
104 }
105 
107 {
108  static SfxItemPropertyMapEntry const aConnectorPropertyMap_Impl[] =
109  {
122  // #FontWork#
125  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
126  { u"", 0, css::uno::Type(), 0, 0 }
127  };
128 
129  return aConnectorPropertyMap_Impl;
130 }
131 
133 {
134  static SfxItemPropertyMapEntry const aDimensioningPropertyMap_Impl[] =
135  {
148  // #FontWork#
151  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
152  { u"", 0, css::uno::Type(), 0, 0 }
153  };
154 
155  return aDimensioningPropertyMap_Impl;
156 }
157 
159 {
160  static SfxItemPropertyMapEntry const aCirclePropertyMap_Impl[] =
161  {
174  // #FontWork#
177  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
178  { u"", 0, css::uno::Type(), 0, 0 }
179  };
180 
181  return aCirclePropertyMap_Impl;
182 }
183 
185 {
186  static SfxItemPropertyMapEntry const aPolyPolygonPropertyMap_Impl[] =
187  {
202  // #FontWork#
205  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
206  { u"", 0, css::uno::Type(), 0, 0 }
207  };
208 
209  return aPolyPolygonPropertyMap_Impl;
210 }
211 
213 {
214  static SfxItemPropertyMapEntry const aGraphicObjectPropertyMap_Impl[] =
215  {
217 
218  // #i25616#
220 
224 
225  // #i118485# Full properties now, shear included
227 
233  // #FontWork#
235  { u"IsMirrored", OWN_ATTR_MIRRORED, cppu::UnoType<bool>::get(), 0, 0},
237  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
238  { u"GraphicStream", OWN_ATTR_GRAPHIC_STREAM, cppu::UnoType<css::io::XInputStream>::get(), css::beans::PropertyAttribute::READONLY, 0},
239  { u"", 0, css::uno::Type(), 0, 0 }
240  };
241 
242  return aGraphicObjectPropertyMap_Impl;
243 }
244 
246 {
247  static SfxItemPropertyMapEntry const a3DSceneObjectPropertyMap_Impl[] =
248  {
257  { u"", 0, css::uno::Type(), 0, 0 }
258  };
259 
260  return a3DSceneObjectPropertyMap_Impl;
261 }
262 
264 {
265  static SfxItemPropertyMapEntry const a3DCubeObjectPropertyMap_Impl[] =
266  {
277  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
278  { u"", 0, css::uno::Type(), 0, 0 }
279  };
280 
281  return a3DCubeObjectPropertyMap_Impl;
282 }
283 
285 {
286  static SfxItemPropertyMapEntry const a3DSphereObjectPropertyMap_Impl[] =
287  {
298  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
299  { u"", 0, css::uno::Type(), 0, 0 }
300  };
301  return a3DSphereObjectPropertyMap_Impl;
302 }
303 
305 {
306  static SfxItemPropertyMapEntry const a3DLatheObjectPropertyMap_Impl[] =
307  {
309 
310  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
312 
323  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
324  { u"", 0, css::uno::Type(), 0, 0 }
325  };
326 
327  return a3DLatheObjectPropertyMap_Impl;
328 }
329 
331 {
332  static SfxItemPropertyMapEntry const a3DExtrudeObjectPropertyMap_Impl[] =
333  {
335 
336  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
338 
349  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
350  { u"", 0, css::uno::Type(), 0, 0 }
351  };
352 
353  return a3DExtrudeObjectPropertyMap_Impl;
354 }
355 
357 {
358  static SfxItemPropertyMapEntry const a3DPolygonObjectPropertyMap_Impl[] =
359  {
370  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
371  { u"", 0, css::uno::Type(), 0, 0 }
372  };
373 
374  return a3DPolygonObjectPropertyMap_Impl;
375 }
376 
378 {
379  static SfxItemPropertyMapEntry const aAllPropertyMap_Impl[] =
380  {
389  // #FontWork#
407 
408  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
410 
414  { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
415  { u"", 0, css::uno::Type(), 0, 0 }
416  };
417 
418  return aAllPropertyMap_Impl;
419 }
420 
422 {
423  static SfxItemPropertyMapEntry const aGroupPropertyMap_Impl[] =
424  {
428  { u"", 0, css::uno::Type(), 0, 0 }
429  };
430 
431  return aGroupPropertyMap_Impl;
432 }
433 
435 {
436  static SfxItemPropertyMapEntry const aOle2PropertyMap_Impl[] =
437  {
438  // #i118485# Adding properties for line, fill, text, shadow, fontwork, rotate, shear
450 
451  { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
452  { u"Model", OWN_ATTR_OLEMODEL , cppu::UnoType<css::frame::XModel>::get(), css::beans::PropertyAttribute::READONLY, 0},
453  { u"EmbeddedObject", OWN_ATTR_OLE_EMBEDDED_OBJECT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
454  { u"EmbeddedObjectNoNewClient",OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
455  { u"OriginalSize", OWN_ATTR_OLESIZE , cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
456  { u"CLSID", OWN_ATTR_CLSID , cppu::UnoType<OUString>::get(), 0, 0 },
457  { u"IsInternal", OWN_ATTR_INTERNAL_OLE , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::READONLY, 0},
461  { u"LinkURL", OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
463  { u"", 0, css::uno::Type(), 0, 0 }
464  };
465 
466  return aOle2PropertyMap_Impl;
467 }
468 
470 {
471  static SfxItemPropertyMapEntry const aPluginPropertyMap_Impl[] =
472  {
473  { u"PluginMimeType", OWN_ATTR_PLUGIN_MIMETYPE , cppu::UnoType<OUString>::get(), 0, 0},
474  { u"PluginURL", OWN_ATTR_PLUGIN_URL , cppu::UnoType<OUString>::get(), 0, 0},
480  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
481  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
482  { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
483  { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
487  { u"LinkURL", OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
488  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
490  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
491  // #i68101#
494  { u"", 0, css::uno::Type(), 0, 0 }
495  };
496 
497  return aPluginPropertyMap_Impl;
498 }
499 
501 {
502  //TODO/LATER: new properties for ScrollingMode and DefaultBorder
503  static SfxItemPropertyMapEntry const aFramePropertyMap_Impl[] =
504  {
505  { u"FrameURL", OWN_ATTR_FRAME_URL , cppu::UnoType<OUString>::get(), 0, 0},
506  { u"FrameName", OWN_ATTR_FRAME_NAME , cppu::UnoType<OUString>::get(), 0, 0},
507  { u"FrameIsAutoScroll", OWN_ATTR_FRAME_ISAUTOSCROLL , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::MAYBEVOID, 0},
508  { u"FrameIsBorder", OWN_ATTR_FRAME_ISBORDER , cppu::UnoType<bool>::get() , 0, 0},
509  { u"FrameMarginWidth", OWN_ATTR_FRAME_MARGIN_WIDTH , cppu::UnoType<sal_Int32>::get(), 0, 0},
510  { u"FrameMarginHeight", OWN_ATTR_FRAME_MARGIN_HEIGHT, cppu::UnoType<sal_Int32>::get(), 0, 0},
515  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
516  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
517  { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
518  { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
522  { u"LinkURL", OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
523  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
525  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
526  // #i68101#
529  { u"", 0, css::uno::Type(), 0, 0 }
530  };
531 
532  return aFramePropertyMap_Impl;
533 }
534 
536 {
537  static SfxItemPropertyMapEntry const aAppletPropertyMap_Impl[] =
538  {
539  { u"AppletCodeBase", OWN_ATTR_APPLET_CODEBASE , cppu::UnoType<OUString>::get(), 0, 0},
540  { u"AppletName", OWN_ATTR_APPLET_NAME , cppu::UnoType<OUString>::get(), 0, 0},
541  { u"AppletCode", OWN_ATTR_APPLET_CODE , cppu::UnoType<OUString>::get(), 0, 0},
543  { u"AppletDocBase", OWN_ATTR_APPLET_DOCBASE , cppu::UnoType<OUString>::get(), 0, 0},
544  { u"AppletIsScript", OWN_ATTR_APPLET_ISSCRIPT , cppu::UnoType<bool>::get(), 0, 0 },
549  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
550  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
551  { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
552  { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
556  { u"LinkURL", OWN_ATTR_OLE_LINKURL , cppu::UnoType<OUString>::get(), 0, 0 },
557  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
559  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
560  // #i68101#
563  { u"", 0, css::uno::Type(), 0, 0 }
564  };
565 
566  return aAppletPropertyMap_Impl;
567 }
568 
570 {
571  static SfxItemPropertyMapEntry const aControlPropertyMap_Impl[] =
572  {
573  // the following properties are mapped to the XControl Model of this shape
588  { u"CharBackColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
589  { u"CharBackTransparent", 0, cppu::UnoType<bool>::get(), 0, 0 },
590  { u"CharRelief", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
591  { u"CharUnderlineColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
592  { u"CharKerning", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
593  { u"CharWordMode", 0, cppu::UnoType<bool>::get(), 0, 0 },
595  { u"TextVerticalAdjust", 0, cppu::UnoType<TextVerticalAdjust>::get(), MAYBEVOID, 0 },
596  { u"ControlBackground", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
597  { u"ControlBorder", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
598  { u"ControlBorderColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
599  { u"ControlSymbolColor", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
600  { u"ImageScaleMode", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
603  { u"ControlTextEmphasis", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
604  { u"ControlWritingMode", 0, cppu::UnoType< sal_Int16 >::get(), 0, 0},
605  // the following properties are handled by SvxShape
610  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
611  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
613  {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
614  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
615  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
616  // #i68101#
619  // #i112587#
621  { u"Visible", SDRATTR_OBJVISIBLE , cppu::UnoType<bool>::get(), 0, 0},
623  { u"", 0, css::uno::Type(), 0, 0 }
624  };
625 
626  return aControlPropertyMap_Impl;
627 }
628 
630 {
631  static SfxItemPropertyMapEntry const aPageShapePropertyMap_Impl[] =
632  {
633  { u"PageNumber", OWN_ATTR_PAGE_NUMBER , cppu::UnoType<sal_Int32>::get(), 0, 0},
638  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
639  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
642  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
643  // #i68101#
646  { u"", 0, css::uno::Type(), 0, 0 }
647  };
648 
649  return aPageShapePropertyMap_Impl;
650 }
651 
653 {
654  static SfxItemPropertyMapEntry const aCaptionPropertyMap_Impl[] =
655  {
657  { u"CaptionType", SDRATTR_CAPTIONTYPE, cppu::UnoType<sal_Int16>::get(), 0, 0},
658  { u"CaptionIsFixedAngle", SDRATTR_CAPTIONFIXEDANGLE, cppu::UnoType<bool>::get(), 0, 0},
659  { u"CaptionAngle", SDRATTR_CAPTIONANGLE, cppu::UnoType<sal_Int32>::get(), 0, 0},
660  { u"CaptionGap", SDRATTR_CAPTIONGAP, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
661  { u"CaptionEscapeDirection", SDRATTR_CAPTIONESCDIR, cppu::UnoType<sal_Int32>::get(), 0, 0},
662  { u"CaptionIsEscapeRelative", SDRATTR_CAPTIONESCISREL, cppu::UnoType<bool>::get(), 0, 0},
663  { u"CaptionEscapeRelative", SDRATTR_CAPTIONESCREL, cppu::UnoType<sal_Int32>::get(), 0, 0},
664  { u"CaptionEscapeAbsolute", SDRATTR_CAPTIONESCABS, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
665  { u"CaptionLineLength", SDRATTR_CAPTIONLINELEN, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
666  { u"CaptionIsFitLineLength", SDRATTR_CAPTIONFITLINELEN, cppu::UnoType<bool>::get(), 0, 0},
676  // #FontWork#
679  {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
680  { u"", 0, css::uno::Type(), 0, 0 }
681  };
682 
683  return aCaptionPropertyMap_Impl;
684 }
685 
687 {
688  static SfxItemPropertyMapEntry const aCustomShapePropertyMap_Impl[] =
689  {
690  { u"CustomShapeEngine", SDRATTR_CUSTOMSHAPE_ENGINE, cppu::UnoType<OUString>::get(), 0, 0 },
691  { u"CustomShapeData", SDRATTR_CUSTOMSHAPE_DATA, cppu::UnoType<OUString>::get(), 0, 0 },
692  { u"CustomShapeGeometry", SDRATTR_CUSTOMSHAPE_GEOMETRY,
705  {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
706  { u"", 0, css::uno::Type(), 0, 0 }
707  };
708  return aCustomShapePropertyMap_Impl;
709 }
710 
712 {
713  static SfxItemPropertyMapEntry const aMediaShapePropertyMap_Impl[] =
714  {
718  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
719  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
721  { u"MediaURL", OWN_ATTR_MEDIA_URL, cppu::UnoType<OUString>::get(), 0, 0},
722  { u"PreferredSize", OWN_ATTR_MEDIA_PREFERREDSIZE, cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
729  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
730  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
731  // #i68101#
735  {u"PrivateTempFileURL", OWN_ATTR_MEDIA_TEMPFILEURL, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
736  { u"MediaMimeType", OWN_ATTR_MEDIA_MIMETYPE, cppu::UnoType<OUString>::get(), 0, 0},
737  { u"FallbackGraphic", OWN_ATTR_FALLBACK_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
739  { u"", 0, css::uno::Type(), 0, 0 }
740  };
741 
742  return aMediaShapePropertyMap_Impl;
743 }
744 
746 {
747  static SfxItemPropertyMapEntry const aTableShapePropertyMap_Impl[] =
748  {
753  { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
754  { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
758  { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
760  { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
763  { u"Model", OWN_ATTR_OLEMODEL , cppu::UnoType<css::table::XTable>::get(), css::beans::PropertyAttribute::READONLY, 0},
765  { u"UseFirstRowStyle", OWN_ATTR_TABLETEMPLATE_FIRSTROW, cppu::UnoType<bool>::get(),0, 0},
766  { u"UseLastRowStyle", OWN_ATTR_TABLETEMPLATE_LASTROW, cppu::UnoType<bool>::get(),0, 0},
767  { u"UseFirstColumnStyle", OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
768  { u"UseLastColumnStyle", OWN_ATTR_TABLETEMPLATE_LASTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
769  { u"UseBandingRowStyle", OWN_ATTR_TABLETEMPLATE_BANDINGROWS, cppu::UnoType<bool>::get(),0, 0},
770  { u"UseBandingColumnStyle", OWN_ATTR_TABLETEMPLATE_BANDINGCOLUMNS, cppu::UnoType<bool>::get(),0, 0},
771  { u"ReplacementGraphic", OWN_ATTR_REPLACEMENT_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
772  { u"", 0, css::uno::Type(), 0, 0 }
773  };
774 
775  return aTableShapePropertyMap_Impl;
776 }
777 
779 {
780  static comphelper::PropertyMapEntry const aSvxDrawingDefaultsPropertyMap_Impl[] =
781  {
794  { OUString(), 0, css::uno::Type(), 0, 0 }
795  };
796 
797  return aSvxDrawingDefaultsPropertyMap_Impl;
798 }
799 
801 {
802  static comphelper::PropertyMapEntry const aSvxAdditionalDefaultsPropertyMap_Impl[] =
803  {
804  { "IsFollowingTextFlow", SID_SW_FOLLOW_TEXT_FLOW, cppu::UnoType<bool>::get(), 0, 0},
805  { OUString(), 0, css::uno::Type(), 0, 0 }
806  };
807 
808  return aSvxAdditionalDefaultsPropertyMap_Impl;
809 }
810 
811 typedef std::unordered_map< OUString, sal_uInt32 > UHashMapImpl;
812 
813 namespace {
814 
815 const UHashMapImpl& GetUHashImpl()
816 {
817  static UHashMapImpl const aImpl
818  {
819  { "com.sun.star.drawing.RectangleShape", OBJ_RECT },
820  { "com.sun.star.drawing.EllipseShape", OBJ_CIRC },
821  { "com.sun.star.drawing.ControlShape", OBJ_UNO },
822  { "com.sun.star.drawing.ConnectorShape", OBJ_EDGE },
823  { "com.sun.star.drawing.MeasureShape", OBJ_MEASURE },
824  { "com.sun.star.drawing.LineShape", OBJ_LINE },
825  { "com.sun.star.drawing.PolyPolygonShape", OBJ_POLY },
826  { "com.sun.star.drawing.PolyLineShape", OBJ_PLIN },
827  { "com.sun.star.drawing.OpenBezierShape", OBJ_PATHLINE },
828  { "com.sun.star.drawing.ClosedBezierShape", OBJ_PATHFILL },
829  { "com.sun.star.drawing.OpenFreeHandShape", OBJ_FREELINE },
830  { "com.sun.star.drawing.ClosedFreeHandShape", OBJ_FREEFILL },
831  { "com.sun.star.drawing.PolyPolygonPathShape", OBJ_PATHPOLY },
832  { "com.sun.star.drawing.PolyLinePathShape", OBJ_PATHPLIN },
833  { "com.sun.star.drawing.GraphicObjectShape", OBJ_GRAF },
834  { "com.sun.star.drawing.GroupShape", OBJ_GRUP },
835  { "com.sun.star.drawing.TextShape", OBJ_TEXT },
836  { "com.sun.star.drawing.OLE2Shape", OBJ_OLE2 },
837  { "com.sun.star.drawing.PageShape", OBJ_PAGE },
838  { "com.sun.star.drawing.CaptionShape", OBJ_CAPTION },
839  { "com.sun.star.drawing.FrameShape", OBJ_FRAME },
840  { "com.sun.star.drawing.PluginShape", OBJ_OLE2_PLUGIN },
841  { "com.sun.star.drawing.AppletShape", OBJ_OLE2_APPLET },
842  { "com.sun.star.drawing.CustomShape", OBJ_CUSTOMSHAPE },
843  { "com.sun.star.drawing.MediaShape", OBJ_MEDIA },
844 
845  { "com.sun.star.drawing.Shape3DSceneObject", E3D_SCENE_ID | E3D_INVENTOR_FLAG },
846  { "com.sun.star.drawing.Shape3DCubeObject", E3D_CUBEOBJ_ID | E3D_INVENTOR_FLAG },
847  { "com.sun.star.drawing.Shape3DSphereObject", E3D_SPHEREOBJ_ID | E3D_INVENTOR_FLAG },
848  { "com.sun.star.drawing.Shape3DLatheObject", E3D_LATHEOBJ_ID | E3D_INVENTOR_FLAG },
849  { "com.sun.star.drawing.Shape3DExtrudeObject", E3D_EXTRUDEOBJ_ID | E3D_INVENTOR_FLAG },
850  { "com.sun.star.drawing.Shape3DPolygonObject", E3D_POLYGONOBJ_ID | E3D_INVENTOR_FLAG },
851  };
852 
853  return aImpl;
854 }
855 
856 }
857 
858 
859 OUString UHashMap::getNameFromId(sal_uInt32 nId)
860 {
861  const UHashMapImpl &rMap = GetUHashImpl();
862 
863  auto it = std::find_if(rMap.begin(), rMap.end(),
864  [nId](const UHashMapImpl::value_type& rEntry) { return rEntry.second == nId; });
865  if (it != rMap.end())
866  return it->first;
867  OSL_FAIL("[CL] unknown SdrObject identifier");
868  return OUString();
869 }
870 
871 uno::Sequence< OUString > UHashMap::getServiceNames()
872 {
873  return comphelper::mapKeysToSequence( GetUHashImpl() );
874 }
875 
876 sal_uInt32 UHashMap::getId( const OUString& rCompareString )
877 {
878  const UHashMapImpl &rMap = GetUHashImpl();
879  UHashMapImpl::const_iterator it = rMap.find( rCompareString );
880  if( it == rMap.end() )
881  return UHASHMAP_NOTFOUND;
882  else
883  return it->second;
884 }
885 
887 {
888  static SvxUnoPropertyMapProvider theSvxMapProvider;
889  return theSvxMapProvider;
890 }
891 
892 
894 {
895  for(sal_uInt16 i=0;i<SVXMAP_END; i++)
896  {
897  aSetArr[i] = nullptr;
898  aMapArr[i] = nullptr;
899  }
900 }
901 
903 {
904 }
905 
906 
908 {
909  assert(nPropertyId < SVXMAP_END);
910  if(!aMapArr[nPropertyId]) {
911  switch(nPropertyId) {
937 
938  default:
939  OSL_FAIL( "Unknown property map for SvxUnoPropertyMapProvider!" );
940  }
941 // Sort(nPropertyId);
942  }
943  return aMapArr[nPropertyId];
944 }
946 {
947  if( !aSetArr[nPropertyId] )
948  aSetArr[nPropertyId].reset(new SvxItemPropertySet( GetMap( nPropertyId ), rPool ));
949  return aSetArr[nPropertyId].get();
950 }
951 
955 bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) noexcept
956 {
957  switch( eVcl )
958  {
959  case MapUnit::Map100thMM: eApi = util::MeasureUnit::MM_100TH; break;
960  case MapUnit::Map10thMM: eApi = util::MeasureUnit::MM_10TH; break;
961  case MapUnit::MapMM: eApi = util::MeasureUnit::MM; break;
962  case MapUnit::MapCM: eApi = util::MeasureUnit::CM; break;
963  case MapUnit::Map1000thInch: eApi = util::MeasureUnit::INCH_1000TH; break;
964  case MapUnit::Map100thInch: eApi = util::MeasureUnit::INCH_100TH; break;
965  case MapUnit::Map10thInch: eApi = util::MeasureUnit::INCH_10TH; break;
966  case MapUnit::MapInch: eApi = util::MeasureUnit::INCH; break;
967  case MapUnit::MapPoint: eApi = util::MeasureUnit::POINT; break;
968  case MapUnit::MapTwip: eApi = util::MeasureUnit::TWIP; break;
969  case MapUnit::MapRelative: eApi = util::MeasureUnit::PERCENT; break;
970  default:
971  return false;
972  }
973 
974  return true;
975 }
976 
981 bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) noexcept
982 {
983  switch( eApi )
984  {
985  case util::MeasureUnit::MM: eVcl = FieldUnit::MM; break;
986  case util::MeasureUnit::CM: eVcl = FieldUnit::CM; break;
987  case util::MeasureUnit::M: eVcl = FieldUnit::M; break;
988  case util::MeasureUnit::KM: eVcl = FieldUnit::KM; break;
989  case util::MeasureUnit::TWIP: eVcl = FieldUnit::TWIP; break;
990  case util::MeasureUnit::POINT: eVcl = FieldUnit::POINT; break;
991  case util::MeasureUnit::PICA: eVcl = FieldUnit::PICA; break;
992  case util::MeasureUnit::INCH: eVcl = FieldUnit::INCH; break;
993  case util::MeasureUnit::FOOT: eVcl = FieldUnit::FOOT; break;
994  case util::MeasureUnit::MILE: eVcl = FieldUnit::MILE; break;
995  case util::MeasureUnit::PERCENT: eVcl = FieldUnit::PERCENT; break;
996  case util::MeasureUnit::MM_100TH: eVcl = FieldUnit::MM_100TH; break;
997  default:
998  return false;
999  }
1000 
1001  return true;
1002 }
1003 
1007 bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) noexcept
1008 {
1009  switch( eVcl )
1010  {
1011  case FieldUnit::MM: eApi = util::MeasureUnit::MM; break;
1012  case FieldUnit::CM: eApi = util::MeasureUnit::CM; break;
1013  case FieldUnit::M: eApi = util::MeasureUnit::M; break;
1014  case FieldUnit::KM: eApi = util::MeasureUnit::KM; break;
1015  case FieldUnit::TWIP: eApi = util::MeasureUnit::TWIP; break;
1016  case FieldUnit::POINT: eApi = util::MeasureUnit::POINT; break;
1017  case FieldUnit::PICA: eApi = util::MeasureUnit::PICA; break;
1018  case FieldUnit::INCH: eApi = util::MeasureUnit::INCH; break;
1019  case FieldUnit::FOOT: eApi = util::MeasureUnit::FOOT; break;
1020  case FieldUnit::MILE: eApi = util::MeasureUnit::MILE; break;
1021  case FieldUnit::PERCENT: eApi = util::MeasureUnit::PERCENT; break;
1022  case FieldUnit::MM_100TH: eApi = util::MeasureUnit::MM_100TH; break;
1023  default:
1024  return false;
1025  }
1026 
1027  return true;
1028 }
1029 
1030 constexpr rtl::OUStringConstExpr RID_SVXSTR_BMP_DEF[] =
1031 {
1125 };
1126 
1128 {
1129  RID_SVXSTR_BMP0,
1130  RID_SVXSTR_BMP1,
1131  RID_SVXSTR_BMP2,
1132  RID_SVXSTR_BMP3,
1133  RID_SVXSTR_BMP4,
1134  RID_SVXSTR_BMP5,
1135  RID_SVXSTR_BMP6,
1136  RID_SVXSTR_BMP7,
1137  RID_SVXSTR_BMP8,
1138  RID_SVXSTR_BMP9,
1139  RID_SVXSTR_BMP10,
1140  RID_SVXSTR_BMP11,
1141  RID_SVXSTR_BMP12,
1142  RID_SVXSTR_BMP13,
1143  RID_SVXSTR_BMP14,
1144  RID_SVXSTR_BMP15,
1145  RID_SVXSTR_BMP16,
1146  RID_SVXSTR_BMP17,
1147  RID_SVXSTR_BMP18,
1148  RID_SVXSTR_BMP19,
1149  RID_SVXSTR_BMP20,
1150  RID_SVXSTR_BMP21,
1151  RID_SVXSTR_BMP22,
1152  RID_SVXSTR_BMP23,
1153  RID_SVXSTR_BMP24,
1154  RID_SVXSTR_BMP25,
1155  RID_SVXSTR_BMP26,
1156  RID_SVXSTR_BMP27,
1157  RID_SVXSTR_BMP28,
1158  RID_SVXSTR_BMP29,
1159  RID_SVXSTR_BMP30,
1160  RID_SVXSTR_BMP31,
1161  RID_SVXSTR_BMP32,
1162  RID_SVXSTR_BMP33,
1163  RID_SVXSTR_BMP34,
1164  RID_SVXSTR_BMP35,
1165  RID_SVXSTR_BMP36,
1166  RID_SVXSTR_BMP37,
1167  RID_SVXSTR_BMP38,
1168  RID_SVXSTR_BMP39,
1169  RID_SVXSTR_BMP40,
1170  RID_SVXSTR_BMP41,
1171  RID_SVXSTR_BMP42,
1172  RID_SVXSTR_BMP43,
1173  RID_SVXSTR_BMP44,
1174  RID_SVXSTR_BMP45,
1175  RID_SVXSTR_BMP46,
1176  RID_SVXSTR_BMP47,
1177  RID_SVXSTR_BMP48,
1178  RID_SVXSTR_BMP49,
1179  RID_SVXSTR_BMP50,
1180  RID_SVXSTR_BMP51,
1181  RID_SVXSTR_BMP52,
1182  RID_SVXSTR_BMP53,
1183  RID_SVXSTR_BMP54,
1184  RID_SVXSTR_BMP55,
1185  RID_SVXSTR_BMP56,
1186  RID_SVXSTR_BMP57,
1187  RID_SVXSTR_BMP58,
1188  RID_SVXSTR_BMP59,
1189  RID_SVXSTR_BMP60,
1190  RID_SVXSTR_BMP61,
1191  RID_SVXSTR_BMP62,
1192  RID_SVXSTR_BMP63,
1193  RID_SVXSTR_BMP64,
1194  RID_SVXSTR_BMP65,
1195  RID_SVXSTR_BMP66,
1196  RID_SVXSTR_BMP67,
1197  RID_SVXSTR_BMP68,
1198  RID_SVXSTR_BMP69,
1199  RID_SVXSTR_BMP70,
1200  RID_SVXSTR_BMP71,
1201  RID_SVXSTR_BMP72,
1202  RID_SVXSTR_BMP73,
1203  RID_SVXSTR_BMP74,
1204  RID_SVXSTR_BMP75,
1205  RID_SVXSTR_BMP76,
1206  RID_SVXSTR_BMP77,
1207  RID_SVXSTR_BMP78,
1208  RID_SVXSTR_BMP79,
1209  RID_SVXSTR_BMP80,
1210  RID_SVXSTR_BMP81,
1211  RID_SVXSTR_BMP82,
1212  RID_SVXSTR_BMP83,
1213  RID_SVXSTR_BMP84,
1214  RID_SVXSTR_BMP85,
1215  RID_SVXSTR_BMP86,
1216  RID_SVXSTR_BMP87,
1217  RID_SVXSTR_BMP88,
1218  RID_SVXSTR_BMP89,
1219  RID_SVXSTR_BMP90,
1220  RID_SVXSTR_BMP91,
1221  RID_SVXSTR_BMP92
1222 };
1223 
1224 constexpr rtl::OUStringConstExpr RID_SVXSTR_DASH_DEF[] =
1225 {
1257 
1258 };
1259 
1261 {
1262  RID_SVXSTR_DASH0,
1263  RID_SVXSTR_DASH1,
1264  RID_SVXSTR_DASH2,
1265  RID_SVXSTR_DASH3,
1266  RID_SVXSTR_DASH4,
1267  RID_SVXSTR_DASH5,
1268  RID_SVXSTR_DASH6,
1269  RID_SVXSTR_DASH7,
1270  RID_SVXSTR_DASH8,
1271  RID_SVXSTR_DASH9,
1272  RID_SVXSTR_DASH10,
1273  RID_SVXSTR_DASH11,
1274  RID_SVXSTR_DASH12,
1275  RID_SVXSTR_DASH13,
1276  RID_SVXSTR_DASH14,
1277  RID_SVXSTR_DASH15,
1278  RID_SVXSTR_DASH16,
1279  RID_SVXSTR_DASH17,
1280  RID_SVXSTR_DASH18,
1281  RID_SVXSTR_DASH19,
1282  RID_SVXSTR_DASH20,
1283  RID_SVXSTR_DASH21,
1284  RID_SVXSTR_DASH22,
1285  RID_SVXSTR_DASH23,
1286  RID_SVXSTR_DASH24,
1287  RID_SVXSTR_DASH25,
1288  RID_SVXSTR_DASH26,
1289  RID_SVXSTR_DASH27,
1290  RID_SVXSTR_DASH28,
1291  RID_SVXSTR_DASH29,
1292  RID_SVXSTR_DASH30
1293 };
1294 
1295 constexpr rtl::OUStringConstExpr RID_SVXSTR_LEND_DEF[] =
1296 {
1329 };
1330 
1332 {
1333  RID_SVXSTR_LEND0,
1334  RID_SVXSTR_LEND1,
1335  RID_SVXSTR_LEND2,
1336  RID_SVXSTR_LEND3,
1337  RID_SVXSTR_LEND4,
1338  RID_SVXSTR_LEND5,
1339  RID_SVXSTR_LEND6,
1340  RID_SVXSTR_LEND7,
1341  RID_SVXSTR_LEND8,
1342  RID_SVXSTR_LEND9,
1343  RID_SVXSTR_LEND10,
1344  RID_SVXSTR_LEND11,
1345  RID_SVXSTR_LEND12,
1346  RID_SVXSTR_LEND13,
1347  RID_SVXSTR_LEND14,
1348  RID_SVXSTR_LEND15,
1349  RID_SVXSTR_LEND16,
1350  RID_SVXSTR_LEND17,
1351  RID_SVXSTR_LEND18,
1352  RID_SVXSTR_LEND19,
1353  RID_SVXSTR_LEND20,
1354  RID_SVXSTR_LEND21,
1355  RID_SVXSTR_LEND22,
1356  RID_SVXSTR_LEND23,
1357  RID_SVXSTR_LEND24,
1358  RID_SVXSTR_LEND25,
1359  RID_SVXSTR_LEND26,
1360  RID_SVXSTR_LEND27,
1361  RID_SVXSTR_LEND28,
1362  RID_SVXSTR_LEND29,
1363  RID_SVXSTR_LEND30,
1364  RID_SVXSTR_LEND31
1365 };
1366 
1367 constexpr rtl::OUStringConstExpr RID_SVXSTR_GRDT_DEF[] =
1368 {
1454 };
1455 
1457 {
1458  RID_SVXSTR_GRDT0,
1459  RID_SVXSTR_GRDT1,
1460  RID_SVXSTR_GRDT2,
1461  RID_SVXSTR_GRDT3,
1462  RID_SVXSTR_GRDT4,
1463  RID_SVXSTR_GRDT5,
1464  RID_SVXSTR_GRDT6,
1465  RID_SVXSTR_GRDT7,
1466  RID_SVXSTR_GRDT8,
1467  RID_SVXSTR_GRDT9,
1468  RID_SVXSTR_GRDT10,
1469  RID_SVXSTR_GRDT11,
1470  RID_SVXSTR_GRDT12,
1471  RID_SVXSTR_GRDT13,
1472  RID_SVXSTR_GRDT14,
1473  RID_SVXSTR_GRDT15,
1474  RID_SVXSTR_GRDT16,
1475  RID_SVXSTR_GRDT17,
1476  RID_SVXSTR_GRDT18,
1477  RID_SVXSTR_GRDT19,
1478  RID_SVXSTR_GRDT20,
1479  RID_SVXSTR_GRDT21,
1480  RID_SVXSTR_GRDT22,
1481  RID_SVXSTR_GRDT23,
1482  RID_SVXSTR_GRDT24,
1483  RID_SVXSTR_GRDT25,
1484  RID_SVXSTR_GRDT26,
1485  RID_SVXSTR_GRDT27,
1486  RID_SVXSTR_GRDT28,
1487  RID_SVXSTR_GRDT29,
1488  RID_SVXSTR_GRDT30,
1489  RID_SVXSTR_GRDT31,
1490  RID_SVXSTR_GRDT32,
1491  RID_SVXSTR_GRDT33,
1492  RID_SVXSTR_GRDT34,
1493  RID_SVXSTR_GRDT35,
1494  RID_SVXSTR_GRDT36,
1495  RID_SVXSTR_GRDT37,
1496  RID_SVXSTR_GRDT38,
1497  RID_SVXSTR_GRDT39,
1498  RID_SVXSTR_GRDT40,
1499  RID_SVXSTR_GRDT41,
1500  RID_SVXSTR_GRDT42,
1501  RID_SVXSTR_GRDT43,
1502  RID_SVXSTR_GRDT44,
1503  RID_SVXSTR_GRDT45,
1504  RID_SVXSTR_GRDT46,
1505  RID_SVXSTR_GRDT47,
1506  RID_SVXSTR_GRDT48,
1507  RID_SVXSTR_GRDT49,
1508  RID_SVXSTR_GRDT50,
1509  RID_SVXSTR_GRDT51,
1510  RID_SVXSTR_GRDT52,
1511  RID_SVXSTR_GRDT53,
1512  RID_SVXSTR_GRDT54,
1513  RID_SVXSTR_GRDT55,
1514  RID_SVXSTR_GRDT56,
1515  RID_SVXSTR_GRDT57,
1516  RID_SVXSTR_GRDT58,
1517  RID_SVXSTR_GRDT59,
1518  RID_SVXSTR_GRDT60,
1519  RID_SVXSTR_GRDT61,
1520  RID_SVXSTR_GRDT62,
1521  RID_SVXSTR_GRDT63,
1522  RID_SVXSTR_GRDT64,
1523  RID_SVXSTR_GRDT65,
1524  RID_SVXSTR_GRDT66,
1525  RID_SVXSTR_GRDT67,
1526  RID_SVXSTR_GRDT68,
1527  RID_SVXSTR_GRDT69,
1528  RID_SVXSTR_GRDT70,
1529  RID_SVXSTR_GRDT71,
1530  RID_SVXSTR_GRDT72,
1531  RID_SVXSTR_GRDT73,
1532  RID_SVXSTR_GRDT74,
1533  RID_SVXSTR_GRDT75,
1534  RID_SVXSTR_GRDT76,
1535  RID_SVXSTR_GRDT77,
1536  RID_SVXSTR_GRDT78,
1537  RID_SVXSTR_GRDT79,
1538  RID_SVXSTR_GRDT80,
1539  RID_SVXSTR_GRDT81,
1540  RID_SVXSTR_GRDT82,
1541  RID_SVXSTR_GRDT83,
1542  RID_SVXSTR_GRDT84
1543 };
1544 
1545 constexpr rtl::OUStringConstExpr RID_SVXSTR_HATCHS_DEF[] =
1546 {
1563 };
1564 
1566 {
1567  RID_SVXSTR_HATCH0,
1568  RID_SVXSTR_HATCH1,
1569  RID_SVXSTR_HATCH2,
1570  RID_SVXSTR_HATCH3,
1571  RID_SVXSTR_HATCH4,
1572  RID_SVXSTR_HATCH5,
1573  RID_SVXSTR_HATCH6,
1574  RID_SVXSTR_HATCH7,
1575  RID_SVXSTR_HATCH8,
1576  RID_SVXSTR_HATCH9,
1577  RID_SVXSTR_HATCH10,
1578  RID_SVXSTR_HATCH11,
1579  RID_SVXSTR_HATCH12,
1580  RID_SVXSTR_HATCH13,
1581  RID_SVXSTR_HATCH14,
1582  RID_SVXSTR_HATCH15
1583 };
1584 
1585 constexpr rtl::OUStringConstExpr RID_SVXSTR_TRASNGR_DEF[] =
1586 {
1588 };
1589 
1591 {
1592  RID_SVXSTR_TRASNGR0
1593 };
1594 
1595 static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const rtl::OUStringConstExpr*& pApiResIds, const TranslateId*& pIntResIds, int& nCount ) noexcept
1596 {
1597  switch( nWhich )
1598  {
1599  case XATTR_FILLBITMAP:
1600  pApiResIds = RID_SVXSTR_BMP_DEF;
1601  pIntResIds = RID_SVXSTR_BMP;
1603  break;
1604  case XATTR_LINEDASH:
1605  pApiResIds = RID_SVXSTR_DASH_DEF;
1606  pIntResIds = RID_SVXSTR_DASH;
1608  break;
1609 
1610  case XATTR_LINESTART:
1611  case XATTR_LINEEND:
1612  pApiResIds = RID_SVXSTR_LEND_DEF;
1613  pIntResIds = RID_SVXSTR_LEND;
1615  break;
1616 
1617  case XATTR_FILLGRADIENT:
1618  pApiResIds = RID_SVXSTR_GRDT_DEF;
1619  pIntResIds = RID_SVXSTR_GRDT;
1621  break;
1622 
1623  case XATTR_FILLHATCH:
1624  pApiResIds = RID_SVXSTR_HATCHS_DEF;
1625  pIntResIds = RID_SVXSTR_HATCHS;
1627  break;
1628 
1630  pApiResIds = RID_SVXSTR_TRASNGR_DEF;
1631  pIntResIds = RID_SVXSTR_TRASNGR;
1633  break;
1634 
1635  default:
1636  return false;
1637  }
1638  return true;
1639 }
1640 
1642 static bool SvxUnoConvertResourceStringToApi(const TranslateId* pSourceResIds, const rtl::OUStringConstExpr* pDestResIds, int nCount, OUString& rString)
1643 {
1644  // first, calculate the search string length without an optional number after the name
1645  sal_Int32 nLength = rString.getLength();
1646  while( nLength > 0 )
1647  {
1648  const sal_Unicode nChar = rString[ nLength - 1 ];
1649  if( (nChar < '0') || (nChar > '9') )
1650  break;
1651 
1652  nLength--;
1653  }
1654 
1655  // if we cut off a number, also cut of some spaces
1656  if( nLength != rString.getLength() )
1657  {
1658  while( nLength > 0 )
1659  {
1660  const sal_Unicode nChar = rString[ nLength - 1 ];
1661  if( nChar != ' ' )
1662  break;
1663 
1664  nLength--;
1665  }
1666  }
1667 
1668  const OUString aShortString( rString.copy( 0, nLength ) );
1669 
1670  for (int i = 0; i < nCount; ++i)
1671  {
1672  const OUString & aCompare = SvxResId(pSourceResIds[i]);
1673  if( aShortString == aCompare )
1674  {
1675  rString = rString.replaceAt( 0, aShortString.getLength(), OUString(pDestResIds[i]) );
1676  return true;
1677  }
1678  else if( rString == aCompare )
1679  {
1680  rString = pDestResIds[i];
1681  return true;
1682  }
1683  }
1684 
1685  return false;
1686 }
1687 
1688 static bool SvxUnoConvertResourceStringFromApi(const rtl::OUStringConstExpr* pSourceResIds, const TranslateId* pDestResIds, int nCount, OUString& rString)
1689 {
1690  // first, calculate the search string length without an optional number after the name
1691  sal_Int32 nLength = rString.getLength();
1692  while( nLength > 0 )
1693  {
1694  const sal_Unicode nChar = rString[ nLength - 1 ];
1695  if( (nChar < '0') || (nChar > '9') )
1696  break;
1697 
1698  nLength--;
1699  }
1700 
1701  // if we cut off a number, also cut of some spaces
1702  if( nLength != rString.getLength() )
1703  {
1704  while( nLength > 0 )
1705  {
1706  const sal_Unicode nChar = rString[ nLength - 1 ];
1707  if( nChar != ' ' )
1708  break;
1709 
1710  nLength--;
1711  }
1712  }
1713 
1714  const OUString aShortString( rString.copy( 0, nLength ) );
1715 
1716  for (int i = 0; i < nCount; ++i)
1717  {
1718  auto pCompare = pSourceResIds[i];
1719  if( aShortString == pCompare )
1720  {
1721  rString = rString.replaceAt( 0, aShortString.getLength(), SvxResId(pDestResIds[i]) );
1722  return true;
1723  }
1724  else if( rString == pCompare )
1725  {
1726  rString = SvxResId(pDestResIds[i]);
1727  return true;
1728  }
1729  }
1730 
1731  return false;
1732 }
1733 
1734 // #i122649# Some comments on the below arrays:
1735 // - They need to have the same order and count of items
1736 // - They are used to translate between translated and non-translated color names
1737 // - To make longer names be found which start with the same basic string,
1738 // these have to be in front of others
1739 
1740 // It would be nice to:
1741 // - evtl. organize these in a single array with 2-dimensional inner to eliminate
1742 // the possibility to define it wrong
1743 // - change the compare to also work when a shorter name is in front of a longer one
1744 
1745 constexpr rtl::OUStringConstExpr SvxUnoColorNameDefResId[] =
1746 {
1847 };
1848 
1850 {
1851  RID_SVXSTR_COLOR_BLUEGREY,
1852  RID_SVXSTR_COLOR_BLACK,
1853  RID_SVXSTR_COLOR_BLUE_CLASSIC,
1854  RID_SVXSTR_COLOR_BLUE,
1855  RID_SVXSTR_COLOR_GREEN,
1856  RID_SVXSTR_COLOR_RED,
1857  RID_SVXSTR_COLOR_MAGENTA,
1858  RID_SVXSTR_COLOR_GREY,
1859  RID_SVXSTR_COLOR_YELLOWGREEN,
1860  RID_SVXSTR_COLOR_YELLOW,
1861  RID_SVXSTR_COLOR_WHITE,
1862  RID_SVXSTR_COLOR_ORANGE,
1863  RID_SVXSTR_COLOR_BORDEAUX,
1864  RID_SVXSTR_COLOR_PALE_YELLOW,
1865  RID_SVXSTR_COLOR_PALE_GREEN,
1866  RID_SVXSTR_COLOR_DARKVIOLET,
1867  RID_SVXSTR_COLOR_SALMON,
1868  RID_SVXSTR_COLOR_SEABLUE,
1869  RID_SVXSTR_COLOR_CHART,
1870  RID_SVXSTR_COLOR_PURPLE,
1871  RID_SVXSTR_COLOR_SKYBLUE,
1872  RID_SVXSTR_COLOR_PINK,
1873  RID_SVXSTR_COLOR_TURQUOISE,
1874  RID_SVXSTR_COLOR_GOLD,
1875  RID_SVXSTR_COLOR_BRICK,
1876  RID_SVXSTR_COLOR_INDIGO,
1877  RID_SVXSTR_COLOR_TEAL,
1878  RID_SVXSTR_COLOR_LIME,
1879  RID_SVXSTR_COLOR_LIGHTGRAY,
1880  RID_SVXSTR_COLOR_LIGHTYELLOW,
1881  RID_SVXSTR_COLOR_LIGHTGOLD,
1882  RID_SVXSTR_COLOR_LIGHTORANGE,
1883  RID_SVXSTR_COLOR_LIGHTBRICK,
1884  RID_SVXSTR_COLOR_LIGHTRED,
1885  RID_SVXSTR_COLOR_LIGHTMAGENTA,
1886  RID_SVXSTR_COLOR_LIGHTPURPLE,
1887  RID_SVXSTR_COLOR_LIGHTINDIGO,
1888  RID_SVXSTR_COLOR_LIGHTBLUE,
1889  RID_SVXSTR_COLOR_LIGHTTEAL,
1890  RID_SVXSTR_COLOR_LIGHTGREEN,
1891  RID_SVXSTR_COLOR_LIGHTLIME,
1892  RID_SVXSTR_COLOR_DARKGRAY,
1893  RID_SVXSTR_COLOR_DARKYELLOW,
1894  RID_SVXSTR_COLOR_DARKGOLD,
1895  RID_SVXSTR_COLOR_DARKORANGE,
1896  RID_SVXSTR_COLOR_DARKBRICK,
1897  RID_SVXSTR_COLOR_DARKRED,
1898  RID_SVXSTR_COLOR_DARKMAGENTA,
1899  RID_SVXSTR_COLOR_DARKPURPLE,
1900  RID_SVXSTR_COLOR_DARKINDIGO,
1901  RID_SVXSTR_COLOR_DARKBLUE,
1902  RID_SVXSTR_COLOR_DARKTEAL,
1903  RID_SVXSTR_COLOR_DARKGREEN,
1904  RID_SVXSTR_COLOR_DARKLIME,
1905  RID_SVXSTR_COLOR_VIOLET,
1906  RID_SVXSTR_COLOR_VIOLET_OUG,
1907  RID_SVXSTR_COLOR_BLUE_OUG,
1908  RID_SVXSTR_COLOR_AZURE_OUG,
1909  RID_SVXSTR_COLOR_SPRINGGREEN_OUG,
1910  RID_SVXSTR_COLOR_GREEN_OUG,
1911  RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG,
1912  RID_SVXSTR_COLOR_ORANGE_OUG,
1913  RID_SVXSTR_COLOR_RED_OUG,
1914  RID_SVXSTR_COLOR_ROSE_OUG,
1915  RID_SVXSTR_COLOR_AZURE,
1916  RID_SVXSTR_COLOR_CYAN,
1917  RID_SVXSTR_COLOR_SPRINGGREEN,
1918  RID_SVXSTR_COLOR_CHARTREUSEGREEN,
1919  RID_SVXSTR_COLOR_ROSE,
1920  RID_SVXSTR_COLOR_MATERIAL_GRAY_A,
1921  RID_SVXSTR_COLOR_MATERIAL_YELLOW_A,
1922  RID_SVXSTR_COLOR_MATERIAL_AMBER_A,
1923  RID_SVXSTR_COLOR_MATERIAL_AMBER,
1924  RID_SVXSTR_COLOR_MATERIAL_ORANGE_A,
1925  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A,
1926  RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE,
1927  RID_SVXSTR_COLOR_MATERIAL_RED_A,
1928  RID_SVXSTR_COLOR_MATERIAL_PINK_A,
1929  RID_SVXSTR_COLOR_MATERIAL_PURPLE_A,
1930  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A,
1931  RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE,
1932  RID_SVXSTR_COLOR_MATERIAL_INDIGO_A,
1933  RID_SVXSTR_COLOR_MATERIAL_BLUE_A,
1934  RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A,
1935  RID_SVXSTR_COLOR_MATERIAL_CYAN_A,
1936  RID_SVXSTR_COLOR_MATERIAL_TEAL_A,
1937  RID_SVXSTR_COLOR_MATERIAL_GREEN_A,
1938  RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A,
1939  RID_SVXSTR_COLOR_MATERIAL_LIME_A,
1940  RID_SVXSTR_COLOR_MATERIAL_BROWN_A,
1941  RID_SVXSTR_COLOR_MATERIAL_BROWN,
1942  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A,
1943  RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY,
1944  RID_SVXSTR_COLOR_LIBRE_GREEN_1,
1945  RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT,
1946  RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT,
1947  RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT,
1948  RID_SVXSTR_COLOR_LIBRE_PURPLE,
1949  RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT,
1950  RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT
1951 };
1952 
1954 static bool SvxUnoConvertResourceStringBuiltInToApi(const TranslateId* pSourceResIds, rtl::OUStringConstExpr const *pDestResIds, int nCount, OUString& rString)
1955 {
1956  //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1957  //replace "Red Hat 1" with the translation of Red :-)
1958  sal_Int32 nLength = rString.getLength();
1959  while( nLength > 0 )
1960  {
1961  const sal_Unicode nChar = rString[nLength-1];
1962  if (nChar != '%' && (nChar < '0' || nChar > '9'))
1963  break;
1964  nLength--;
1965  }
1966  OUString sStr = rString.copy(0, nLength).trim();
1967 
1968  for(int i = 0; i < nCount; ++i )
1969  {
1970  OUString aStrDefName = SvxResId(pSourceResIds[i]);
1971  if( sStr == aStrDefName )
1972  {
1973  OUString aReplace = pDestResIds[i];
1974  rString = rString.replaceAt( 0, aStrDefName.getLength(), aReplace );
1975  return true;
1976  }
1977  }
1978 
1979  return false;
1980 }
1981 
1982 static bool SvxUnoConvertResourceStringBuiltInFromApi(rtl::OUStringConstExpr const *pSourceResIds, const TranslateId* pDestResIds, int nCount, OUString& rString)
1983 {
1984  //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1985  //replace "Red Hat 1" with the translation of Red :-)
1986  sal_Int32 nLength = rString.getLength();
1987  while( nLength > 0 )
1988  {
1989  const sal_Unicode nChar = rString[nLength-1];
1990  if (nChar != '%' && (nChar < '0' || nChar > '9'))
1991  break;
1992  nLength--;
1993  }
1994  OUString sStr = rString.copy(0, nLength).trim();
1995 
1996  for(int i = 0; i < nCount; ++i )
1997  {
1998  if( sStr == pSourceResIds[i] )
1999  {
2000  OUString aReplace = SvxResId(pDestResIds[i]);
2001  rString = rString.replaceAt( 0, OUString(pSourceResIds[i]).getLength(), aReplace );
2002  return true;
2003  }
2004  }
2005 
2006  return false;
2007 }
2008 
2012 OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString& rInternalName)
2013 {
2014  OUString aNew = rInternalName;
2015 
2016  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
2017  {
2018  if (SvxUnoConvertResourceStringBuiltInToApi(SvxUnoColorNameResId, SvxUnoColorNameDefResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew))
2019  {
2020  return aNew;
2021  }
2022  }
2023  else
2024  {
2025  const rtl::OUStringConstExpr* pApiResIds;
2026  const TranslateId* pIntResIds;
2027  int nCount;
2028 
2029  if( SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
2030  {
2031  if (SvxUnoConvertResourceStringToApi(pIntResIds, pApiResIds, nCount, aNew))
2032  {
2033  return aNew;
2034  }
2035  }
2036  }
2037 
2038  // just use previous name, if nothing else was found.
2039  return rInternalName;
2040 }
2041 
2045 OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& rApiName)
2046 {
2047  OUString aNew = rApiName;
2048 
2049  if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
2050  {
2051  if (SvxUnoConvertResourceStringBuiltInFromApi(SvxUnoColorNameDefResId, SvxUnoColorNameResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew))
2052  {
2053  return aNew;
2054  }
2055  }
2056  else
2057  {
2058  const rtl::OUStringConstExpr* pApiResIds;
2059  const TranslateId* pIntResIds;
2060  int nCount;
2061 
2062  if (SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
2063  {
2064  if (SvxUnoConvertResourceStringFromApi(pApiResIds, pIntResIds, nCount, aNew))
2065  {
2066  return aNew;
2067  }
2068  }
2069  }
2070 
2071  // just use previous name, if nothing else was found.
2072  return rApiName;
2073 }
2074 
2075 
2076 rtl::Reference<comphelper::PropertySetInfo> const & SvxPropertySetInfoPool::getOrCreate( sal_Int32 nServiceId ) noexcept
2077 {
2078  SolarMutexGuard aGuard;
2079 
2080  assert( nServiceId <= SVXUNO_SERVICEID_LASTID );
2081 
2082  if( !mxInfos[ nServiceId ].is() )
2083  {
2084  mxInfos[nServiceId] = new comphelper::PropertySetInfo();
2085 
2086  switch( nServiceId )
2087  {
2090  break;
2093  mxInfos[SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER]->remove( UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION );
2094  // OD 13.10.2003 #i18732# - add property map for writer item 'IsFollowingTextFlow'
2096  break;
2097 
2098  default:
2099  OSL_FAIL( "unknown service id!" );
2100  }
2101  }
2102 
2103  return mxInfos[ nServiceId ];
2104 }
2105 
2107 
2108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
constexpr OUStringLiteral RID_SVXSTR_HATCH1_DEF
Definition: strings.hxx:208
constexpr OUStringLiteral RID_SVXSTR_BMP47_DEF
Definition: strings.hxx:286
constexpr OUStringLiteral RID_SVXSTR_GRDT22_DEF
Definition: strings.hxx:142
#define UNO_NAME_MISC_OBJ_ZORDER
constexpr OUStringLiteral RID_SVXSTR_BMP32_DEF
Definition: strings.hxx:271
constexpr OUStringLiteral RID_SVXSTR_BMP37_DEF
Definition: strings.hxx:276
constexpr OUStringLiteral RID_SVXSTR_COLOR_MAGENTA_DEF
Definition: strings.hxx:31
#define OWN_ATTR_MEDIA_STREAM
Definition: unoshprp.hxx:180
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_INDIGO_A_DEF
Definition: strings.hxx:107
constexpr OUStringLiteral RID_SVXSTR_GRDT84_DEF
Definition: strings.hxx:205
constexpr OUStringLiteral RID_SVXSTR_GRDT62_DEF
Definition: strings.hxx:182
#define UNO_NAME_EDIT_CHAR_CASEMAP
constexpr OUStringLiteral RID_SVXSTR_GRDT63_DEF
Definition: strings.hxx:183
caption object
Definition: svdobjkind.hxx:49
FieldUnit
constexpr OUStringLiteral RID_SVXSTR_BMP51_DEF
Definition: strings.hxx:290
constexpr OUStringLiteral RID_SVXSTR_BMP16_DEF
Definition: strings.hxx:240
constexpr OUStringLiteral RID_SVXSTR_GRDT43_DEF
Definition: strings.hxx:163
line
Definition: svdobjkind.hxx:29
#define OWN_ATTR_BOUNDRECT
Definition: unoshprp.hxx:98
constexpr TypedWhichId< XLineEndItem > XATTR_LINEEND(XATTR_LINE_FIRST+5)
#define OWN_ATTR_FALLBACK_GRAPHIC
Definition: unoshprp.hxx:184
#define SPECIAL_3DLATHEANDEXTRUDEOBJ_PROPERTIES
Definition: unoshprp.hxx:539
constexpr OUStringLiteral RID_SVXSTR_BMP19_DEF
Definition: strings.hxx:243
constexpr OUStringLiteral RID_SVXSTR_LEND29_DEF
Definition: strings.hxx:381
constexpr OUStringLiteral RID_SVXSTR_DASH14_DEF
Definition: strings.hxx:333
#define SPECIAL_3DLATHEOBJECT_PROPERTIES
Definition: unoshprp.hxx:546
#define OWN_ATTR_OLE_ASPECT
Definition: unoshprp.hxx:164
Polygon/PolyPolygon represented by SdrPathObj.
Definition: svdobjkind.hxx:50
#define SVXMAP_CONNECTOR
Definition: unoprov.hxx:54
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_AMBER_A_DEF
Definition: strings.hxx:97
constexpr TypedWhichId< XLineStartItem > XATTR_LINESTART(XATTR_LINE_FIRST+4)
constexpr OUStringLiteral RID_SVXSTR_GRDT20_DEF
Definition: strings.hxx:140
constexpr OUStringLiteral RID_SVXSTR_BMP33_DEF
Definition: strings.hxx:272
#define OWN_ATTR_METAFILE
Definition: unoshprp.hxx:96
constexpr OUStringLiteral RID_SVXSTR_BMP26_DEF
Definition: strings.hxx:265
constexpr OUStringLiteral RID_SVXSTR_BMP52_DEF
Definition: strings.hxx:291
#define OWN_ATTR_MEDIA_PREFERREDSIZE
Definition: unoshprp.hxx:154
constexpr OUStringLiteral RID_SVXSTR_GRDT7_DEF
Definition: strings.hxx:127
constexpr OUStringLiteral RID_SVXSTR_BMP70_DEF
Definition: strings.hxx:309
const TranslateId RID_SVXSTR_GRDT[]
Definition: unoprov.cxx:1456
constexpr OUStringLiteral RID_SVXSTR_GRDT69_DEF
Definition: strings.hxx:189
#define OWN_ATTR_CAPTION_POINT
Definition: unoshprp.hxx:148
constexpr OUStringLiteral RID_SVXSTR_LEND20_DEF
Definition: strings.hxx:372
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKBRICK_DEF
Definition: strings.hxx:69
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A_DEF
Definition: strings.hxx:113
constexpr OUStringLiteral RID_SVXSTR_HATCH7_DEF
Definition: strings.hxx:214
#define OWN_ATTR_TABLETEMPLATE_LASTCOLUMN
Definition: unoshprp.hxx:142
constexpr OUStringLiteral RID_SVXSTR_BMP11_DEF
Definition: strings.hxx:235
static SfxItemPropertyMapEntry const * ImplGetSvx3DPolygonObjectPropertyMap()
Definition: unoprov.cxx:356
#define OWN_ATTR_REPLACEMENT_GRAPHIC
reuse attr slots for GraphicObject which will never be used together with graphic object ...
Definition: unoshprp.hxx:119
constexpr OUStringLiteral RID_SVXSTR_HATCH5_DEF
Definition: strings.hxx:212
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKMAGENTA_DEF
Definition: strings.hxx:71
constexpr OUStringLiteral RID_SVXSTR_BMP57_DEF
Definition: strings.hxx:296
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_PINK_A_DEF
Definition: strings.hxx:103
constexpr OUStringLiteral RID_SVXSTR_GRDT27_DEF
Definition: strings.hxx:147
#define MID_COLOR_TINT_OR_SHADE
#define OWN_ATTR_FRAME_URL
Definition: unoshprp.hxx:130
constexpr OUStringLiteral RID_SVXSTR_GRDT72_DEF
Definition: strings.hxx:193
#define OWN_ATTR_MIRRORED
Definition: unoshprp.hxx:104
static SfxItemPropertyMapEntry const * ImplGetSvx3DSceneObjectPropertyMap()
Definition: unoprov.cxx:245
constexpr OUStringLiteral RID_SVXSTR_GRDT2_DEF
Definition: strings.hxx:122
constexpr OUStringLiteral RID_SVXSTR_GRDT67_DEF
Definition: strings.hxx:187
abstract object (SdrObject)
Definition: svdobjkind.hxx:27
constexpr OUStringLiteral RID_SVXSTR_GRDT57_DEF
Definition: strings.hxx:177
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTTEAL_DEF
Definition: strings.hxx:61
constexpr OUStringLiteral RID_SVXSTR_BMP78_DEF
Definition: strings.hxx:317
constexpr OUStringLiteral RID_SVXSTR_BMP55_DEF
Definition: strings.hxx:294
constexpr OUStringLiteral RID_SVXSTR_DASH11_DEF
Definition: strings.hxx:330
constexpr OUStringLiteral RID_SVXSTR_GRDT15_DEF
Definition: strings.hxx:135
constexpr OUStringLiteral RID_SVXSTR_GRDT39_DEF
Definition: strings.hxx:159
rectangle (round corners optional)
Definition: svdobjkind.hxx:30
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKTEAL_DEF
Definition: strings.hxx:75
#define UNO_NAME_OLE2_METAFILE
constexpr OUStringLiteral RID_SVXSTR_DASH18_DEF
Definition: strings.hxx:337
constexpr OUStringLiteral RID_SVXSTR_HATCH8_DEF
Definition: strings.hxx:215
constexpr OUStringLiteral RID_SVXSTR_BMP61_DEF
Definition: strings.hxx:300
constexpr OUStringLiteral RID_SVXSTR_LEND27_DEF
Definition: strings.hxx:379
#define SPECIAL_POLYPOLYGONBEZIER_PROPERTIES
Definition: unoshprp.hxx:436
constexpr OUStringLiteral RID_SVXSTR_GRDT53_DEF
Definition: strings.hxx:173
constexpr OUStringLiteral RID_SVXSTR_GRDT54_DEF
Definition: strings.hxx:174
const sal_Int32 SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS
class SvxPropertySetInfoPool
Definition: unoprov.hxx:105
constexpr OUStringLiteral RID_SVXSTR_GRDT55_DEF
Definition: strings.hxx:175
constexpr OUStringLiteral RID_SVXSTR_LEND24_DEF
Definition: strings.hxx:376
constexpr TypedWhichId< SdrObjPrintableItem > SDRATTR_OBJPRINTABLE(SDRATTR_NOTPERSIST_FIRST+2)
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_PURPLE_A_DEF
Definition: strings.hxx:104
#define UNO_NAME_EDIT_PARA_ADJUST
constexpr OUStringLiteral RID_SVXSTR_BMP22_DEF
Definition: strings.hxx:261
object group
Definition: svdobjkind.hxx:28
#define OWN_ATTR_TRANSFORMATION
Definition: unoshprp.hxx:115
#define OWN_ATTR_VALUE_GRAPHIC
Definition: unoshprp.hxx:161
constexpr OUStringLiteral RID_SVXSTR_GRDT74_DEF
Definition: strings.hxx:195
#define SPECIAL_3DSPHEREOBJECT_PROPERTIES
Definition: unoshprp.hxx:531
constexpr TypedWhichId< SdrCaptionLineLenItem > SDRATTR_CAPTIONLINELEN(SDRATTR_CAPTION_FIRST+8)
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF
Definition: strings.hxx:386
#define SVXMAP_CIRCLE
Definition: unoprov.hxx:56
constexpr OUStringLiteral RID_SVXSTR_BMP60_DEF
Definition: strings.hxx:299
constexpr OUStringLiteral RID_SVXSTR_GRDT80_DEF
Definition: strings.hxx:201
constexpr OUStringLiteral RID_SVXSTR_GRDT26_DEF
Definition: strings.hxx:146
constexpr OUStringLiteral RID_SVXSTR_HATCH9_DEF
Definition: strings.hxx:216
constexpr OUStringLiteral RID_SVXSTR_LEND26_DEF
Definition: strings.hxx:378
circle cut
Definition: svdobjkind.hxx:34
constexpr OUStringLiteral RID_SVXSTR_COLOR_TURQUOISE_DEF
Definition: strings.hxx:43
constexpr OUStringLiteral RID_SVXSTR_BMP12_DEF
Definition: strings.hxx:236
#define SPECIAL_3DCUBEOBJECT_PROPERTIES
Definition: unoshprp.hxx:525
#define OWN_ATTR_TABLETEMPLATE
Definition: unoshprp.hxx:138
#define SVXMAP_PAGE
Definition: unoprov.hxx:77
#define OWN_ATTR_FRAME_MARGIN_HEIGHT
Definition: unoshprp.hxx:135
constexpr OUStringLiteral RID_SVXSTR_GRDT23_DEF
Definition: strings.hxx:143
constexpr OUStringLiteral RID_SVXSTR_BMP59_DEF
Definition: strings.hxx:298
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTGOLD_DEF
Definition: strings.hxx:53
#define SVXMAP_3DSCENEOBJECT
Definition: unoprov.hxx:59
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKGOLD_DEF
Definition: strings.hxx:67
constexpr OUStringLiteral RID_SVXSTR_BMP27_DEF
Definition: strings.hxx:266
#define OWN_ATTR_MISC_OBJ_DESCRIPTION
Definition: unoshprp.hxx:168
static comphelper::PropertyMapEntry const * ImplGetSvxDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:778
#define SPECIAL_3DSCENEOBJECT_PROPERTIES
Definition: unoshprp.hxx:502
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKBLUE_DEF
Definition: strings.hxx:74
constexpr OUStringLiteral RID_SVXSTR_GRDT49_DEF
Definition: strings.hxx:169
constexpr TypedWhichId< SdrAngleItem > SDRATTR_CAPTIONANGLE(SDRATTR_CAPTION_FIRST+2)
constexpr OUStringLiteral RID_SVXSTR_BMP3_DEF
Definition: strings.hxx:227
const TranslateId RID_SVXSTR_BMP[]
Definition: unoprov.cxx:1127
constexpr OUStringLiteral RID_SVXSTR_BMP38_DEF
Definition: strings.hxx:277
constexpr OUStringLiteral RID_SVXSTR_BMP43_DEF
Definition: strings.hxx:282
constexpr OUStringLiteral RID_SVXSTR_BMP76_DEF
Definition: strings.hxx:315
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_OBJMOVEPROTECT(SDRATTR_NOTPERSIST_FIRST+0)
#define FONTWORK_PROPERTIES
Definition: unoshprp.hxx:203
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:2012
#define UNO_NAME_EDIT_CHAR_COLOR_THEME
constexpr OUStringLiteral RID_SVXSTR_BMP54_DEF
Definition: strings.hxx:293
constexpr OUStringLiteral RID_SVXSTR_COLOR_BORDEAUX_DEF
Definition: strings.hxx:32
constexpr OUStringLiteral RID_SVXSTR_LEND23_DEF
Definition: strings.hxx:375
#define FILL_PROPERTIES_BMP
Definition: unoshprp.hxx:259
constexpr TypedWhichId< XLineDashItem > XATTR_LINEDASH(XATTR_LINE_FIRST+1)
constexpr TypedWhichId< XFillHatchItem > XATTR_FILLHATCH(XATTR_FILL_FIRST+3)
constexpr OUStringLiteral RID_SVXSTR_LEND2_DEF
Definition: strings.hxx:354
constexpr OUStringLiteral RID_SVXSTR_LEND5_DEF
Definition: strings.hxx:357
constexpr OUStringLiteral RID_SVXSTR_GRDT37_DEF
Definition: strings.hxx:157
constexpr OUStringLiteral RID_SVXSTR_HATCH3_DEF
Definition: strings.hxx:210
constexpr OUStringLiteral RID_SVXSTR_DASH1_DEF
Definition: strings.hxx:320
static SfxItemPropertyMapEntry const * ImplGetSvxGraphicObjectPropertyMap()
Definition: unoprov.cxx:212
constexpr OUStringLiteral RID_SVXSTR_COLOR_SEABLUE_DEF
Definition: strings.hxx:37
static SfxItemPropertyMapEntry const * ImplGetSvxFramePropertyMap()
Definition: unoprov.cxx:500
static SfxItemPropertyMapEntry const * ImplGetSvx3DLatheObjectPropertyMap()
Definition: unoprov.cxx:304
constexpr OUStringLiteral RID_SVXSTR_GRDT70_DEF
Definition: strings.hxx:191
constexpr OUStringLiteral RID_SVXSTR_GRDT32_DEF
Definition: strings.hxx:152
#define OWN_ATTR_OLESIZE
Definition: unoshprp.hxx:101
#define OWN_ATTR_MEDIA_VOLUMEDB
Definition: unoshprp.hxx:157
constexpr OUStringLiteral RID_SVXSTR_GRDT71_DEF
Definition: strings.hxx:192
constexpr OUStringLiteral RID_SVXSTR_COLOR_VIOLET_DEF
Definition: strings.hxx:79
#define LINE_PROPERTIES
Definition: unoshprp.hxx:248
constexpr OUStringLiteral RID_SVXSTR_BMP48_DEF
Definition: strings.hxx:287
constexpr OUStringLiteral RID_SVXSTR_COLOR_TEAL_DEF
Definition: strings.hxx:48
constexpr OUStringLiteral RID_SVXSTR_GRDT14_DEF
Definition: strings.hxx:134
constexpr OUStringLiteral RID_SVXSTR_COLOR_ROSE_OUG_DEF
Definition: strings.hxx:88
static SfxItemPropertyMapEntry const * ImplGetSvx3DExtrudeObjectPropertyMap()
Definition: unoprov.cxx:330
#define OWN_ATTR_UINAME_SINGULAR
Definition: unoshprp.hxx:159
constexpr OUStringLiteral RID_SVXSTR_BMP73_DEF
Definition: strings.hxx:312
constexpr OUStringLiteral RID_SVXSTR_BMP5_DEF
Definition: strings.hxx:229
constexpr OUStringLiteral RID_SVXSTR_COLOR_PALE_GREEN_DEF
Definition: strings.hxx:34
constexpr OUStringLiteral RID_SVXSTR_GRDT5_DEF
Definition: strings.hxx:125
constexpr OUStringLiteral RID_SVXSTR_DASH16_DEF
Definition: strings.hxx:335
constexpr OUStringLiteral RID_SVXSTR_BMP83_DEF
Definition: strings.hxx:250
constexpr OUStringLiteral RID_SVXSTR_COLOR_RED_OUG_DEF
Definition: strings.hxx:87
constexpr rtl::OUStringConstExpr RID_SVXSTR_DASH_DEF[]
Definition: unoprov.cxx:1224
measurement object
Definition: svdobjkind.hxx:53
static SfxItemPropertyMapEntry const * ImplGetSvxCustomShapePropertyMap()
Definition: unoprov.cxx:686
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKRED_DEF
Definition: strings.hxx:70
constexpr OUStringLiteral RID_SVXSTR_BMP17_DEF
Definition: strings.hxx:241
constexpr OUStringLiteral RID_SVXSTR_GRDT73_DEF
Definition: strings.hxx:194
constexpr OUStringLiteral RID_SVXSTR_BMP49_DEF
Definition: strings.hxx:288
#define SVXMAP_END
Definition: unoprov.hxx:78
constexpr OUStringLiteral RID_SVXSTR_GRDT78_DEF
Definition: strings.hxx:199
constexpr OUStringLiteral RID_SVXSTR_BMP64_DEF
Definition: strings.hxx:303
constexpr OUStringLiteral RID_SVXSTR_GRDT36_DEF
Definition: strings.hxx:156
constexpr OUStringLiteral RID_SVXSTR_DASH21_DEF
Definition: strings.hxx:340
#define OWN_ATTR_MEDIA_TEMPFILEURL
Definition: unoshprp.hxx:181
constexpr OUStringLiteral RID_SVXSTR_COLOR_AZURE_DEF
Definition: strings.hxx:89
constexpr OUStringLiteral RID_SVXSTR_DASH25_DEF
Definition: strings.hxx:344
constexpr OUStringLiteral RID_SVXSTR_COLOR_SPRINGGREEN_DEF
Definition: strings.hxx:91
static bool SvxUnoConvertResourceStringToApi(const TranslateId *pSourceResIds, const rtl::OUStringConstExpr *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1642
constexpr OUStringLiteral RID_SVXSTR_GRDT31_DEF
Definition: strings.hxx:151
constexpr OUStringLiteral RID_SVXSTR_BMP41_DEF
Definition: strings.hxx:280
constexpr OUStringLiteral RID_SVXSTR_BMP40_DEF
Definition: strings.hxx:279
sal_uInt16 sal_Unicode
constexpr OUStringLiteral RID_SVXSTR_COLOR_YELLOWGREEN_DEF
Definition: strings.hxx:41
constexpr OUStringLiteral RID_SVXSTR_HATCH0_DEF
Definition: strings.hxx:207
#define OWN_ATTR_OLE_LINKURL
Definition: unoshprp.hxx:174
constexpr OUStringLiteral RID_SVXSTR_DASH3_DEF
Definition: strings.hxx:322
#define OWN_ATTR_ZORDER
Definition: unoshprp.hxx:108
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_AMBER_DEF
Definition: strings.hxx:98
constexpr OUStringLiteral RID_SVXSTR_COLOR_ORANGE_DEF
Definition: strings.hxx:30
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKINDIGO_DEF
Definition: strings.hxx:73
#define MISC_3D_OBJ_PROPERTIES
Definition: unoshprp.hxx:509
#define OWN_ATTR_FRAME_MARGIN_WIDTH
Definition: unoshprp.hxx:134
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_CAPTIONFIXEDANGLE(SDRATTR_CAPTION_FIRST+1)
#define UNO_NAME_EDIT_CHAR_FONTFAMILY
constexpr OUStringLiteral RID_SVXSTR_GRDT29_DEF
Definition: strings.hxx:149
constexpr OUStringLiteral RID_SVXSTR_GRDT61_DEF
Definition: strings.hxx:181
#define OWN_ATTR_INTEROPGRABBAG
Definition: unoshprp.hxx:182
#define SVXMAP_3DEXTRUDEOBJECT
Definition: unoprov.hxx:63
constexpr OUStringLiteral RID_SVXSTR_TRASNGR0_DEF
Definition: strings.hxx:385
#define OWN_ATTR_MISC_OBJ_TITLE
Definition: unoshprp.hxx:167
#define UNO_NAME_EDIT_CHAR_STRIKEOUT
#define OWN_ATTR_TABLETEMPLATE_LASTROW
Definition: unoshprp.hxx:140
#define UNO_NAME_GRAPHOBJ_GRAPHIC
#define SVXMAP_SHAPE
Sorter.
Definition: unoprov.hxx:53
constexpr OUStringLiteral RID_SVXSTR_BMP45_DEF
Definition: strings.hxx:284
#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:2045
constexpr OUStringLiteral RID_SVXSTR_DASH26_DEF
Definition: strings.hxx:345
#define MID_COLOR_THEME_INDEX
constexpr TypedWhichId< SfxStringItem > SDRATTR_CUSTOMSHAPE_DATA(SDRATTR_CUSTOMSHAPE_FIRST+1)
constexpr OUStringLiteral RID_SVXSTR_GRDT68_DEF
Definition: strings.hxx:188
constexpr OUStringLiteral RID_SVXSTR_GRDT50_DEF
Definition: strings.hxx:170
constexpr OUStringLiteral RID_SVXSTR_HATCH11_DEF
Definition: strings.hxx:218
int nCount
OUString SvxResId(TranslateId aId)
Definition: dialmgr.cxx:24
constexpr rtl::OUStringConstExpr RID_SVXSTR_LEND_DEF[]
Definition: unoprov.cxx:1295
constexpr rtl::OUStringConstExpr RID_SVXSTR_HATCHS_DEF[]
Definition: unoprov.cxx:1545
#define OWN_ATTR_APPLET_NAME
Definition: unoshprp.hxx:123
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKLIME_DEF
Definition: strings.hxx:77
constexpr OUStringLiteral RID_SVXSTR_GRDT28_DEF
Definition: strings.hxx:148
#define SVXMAP_3DSPHEREOBJECT
Definition: unoprov.hxx:61
constexpr TypedWhichId< SdrCaptionEscDirItem > SDRATTR_CAPTIONESCDIR(SDRATTR_CAPTION_FIRST+4)
#define UNO_NAME_MISC_OBJ_DESCRIPTION
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_CYAN_A_DEF
Definition: strings.hxx:110
constexpr OUStringLiteral RID_SVXSTR_DASH27_DEF
Definition: strings.hxx:346
#define SVXMAP_GRAPHICOBJECT
Definition: unoprov.hxx:58
constexpr OUStringLiteral RID_SVXSTR_LEND8_DEF
Definition: strings.hxx:360
static SfxItemPropertyMapEntry const * ImplGetSvxOle2PropertyMap()
Definition: unoprov.cxx:434
constexpr OUStringLiteral RID_SVXSTR_GRDT25_DEF
Definition: strings.hxx:145
#define SVXMAP_ALL
Definition: unoprov.hxx:65
static bool SvxUnoConvertResourceStringBuiltInToApi(const TranslateId *pSourceResIds, rtl::OUStringConstExpr const *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1954
#define OWN_ATTR_CLSID
Definition: unoshprp.hxx:105
constexpr OUStringLiteral RID_SVXSTR_DASH24_DEF
Definition: strings.hxx:343
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_BROWN_A_DEF
Definition: strings.hxx:115
constexpr OUStringLiteral RID_SVXSTR_BMP44_DEF
Definition: strings.hxx:283
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_GREEN_A_DEF
Definition: strings.hxx:112
constexpr OUStringLiteral RID_SVXSTR_BMP28_DEF
Definition: strings.hxx:267
#define SVXMAP_PLUGIN
Definition: unoprov.hxx:69
constexpr OUStringLiteral RID_SVXSTR_LEND17_DEF
Definition: strings.hxx:369
#define OWN_ATTR_TABLETEMPLATE_FIRSTROW
Definition: unoshprp.hxx:139
constexpr OUStringLiteral RID_SVXSTR_GRDT75_DEF
Definition: strings.hxx:196
constexpr OUStringLiteral RID_SVXSTR_BMP65_DEF
Definition: strings.hxx:304
constexpr OUStringLiteral RID_SVXSTR_GRDT24_DEF
Definition: strings.hxx:144
constexpr OUStringLiteral RID_SVXSTR_LEND22_DEF
Definition: strings.hxx:374
#define OWN_ATTR_PLUGIN_COMMANDS
Definition: unoshprp.hxx:129
constexpr OUStringLiteral RID_SVXSTR_COLOR_GREEN_DEF
Definition: strings.hxx:24
#define UNO_NAME_MISC_OBJ_INTEROPGRABBAG
constexpr OUStringLiteral RID_SVXSTR_GRDT10_DEF
Definition: strings.hxx:130
constexpr OUStringLiteral RID_SVXSTR_LEND6_DEF
Definition: strings.hxx:358
#define UNO_NAME_EDIT_CHAR_COLOR
constexpr TypedWhichId< SvXMLAttrContainerItem > EE_PARA_XMLATTRIBS(EE_PARA_START+1)
const TranslateId RID_SVXSTR_LEND[]
Definition: unoprov.cxx:1331
constexpr OUStringLiteral RID_SVXSTR_LEND18_DEF
Definition: strings.hxx:370
#define UNO_NAME_EDIT_CHAR_POSTURE
constexpr OUStringLiteral RID_SVXSTR_BMP7_DEF
Definition: strings.hxx:231
constexpr OUStringLiteral RID_SVXSTR_DASH28_DEF
Definition: strings.hxx:347
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_DEF
Definition: strings.hxx:101
const sal_Int32 SVXUNO_SERVICEID_LASTID
Definition: unoprov.hxx:107
static SfxItemPropertyMapEntry const * ImplGetSvx3DSphereObjectPropertyMap()
Definition: unoprov.cxx:284
constexpr OUStringLiteral RID_SVXSTR_COLOR_BLACK_DEF
Definition: strings.hxx:22
constexpr OUStringLiteral RID_SVXSTR_COLOR_GREY_DEF
Definition: strings.hxx:26
#define SAL_N_ELEMENTS(arr)
constexpr OUStringLiteral RID_SVXSTR_BMP24_DEF
Definition: strings.hxx:263
Polyline represented by SdrPathObj.
Definition: svdobjkind.hxx:51
constexpr OUStringLiteral RID_SVXSTR_COLOR_BRICK_DEF
Definition: strings.hxx:46
constexpr OUStringLiteral RID_SVXSTR_GRDT11_DEF
Definition: strings.hxx:131
#define LINE_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:236
constexpr TypedWhichId< SdrCaptionEscRelItem > SDRATTR_CAPTIONESCREL(SDRATTR_CAPTION_FIRST+6)
static SfxItemPropertyMapEntry const * ImplGetSvxCaptionPropertyMap()
Definition: unoprov.cxx:652
static SfxItemPropertyMapEntry const * ImplGetSvxPluginPropertyMap()
Definition: unoprov.cxx:469
#define UNO_NAME_EDIT_CHAR_FONTPITCH
static SfxItemPropertyMapEntry const * ImplGetSvxControlShapePropertyMap()
Definition: unoprov.cxx:569
constexpr OUStringLiteral RID_SVXSTR_BMP87_DEF
Definition: strings.hxx:254
constexpr OUStringLiteral RID_SVXSTR_BMP23_DEF
Definition: strings.hxx:262
constexpr OUStringLiteral RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG_DEF
Definition: strings.hxx:85
#define SVXMAP_FRAME
Definition: unoprov.hxx:70
constexpr OUStringLiteral RID_SVXSTR_GRDT13_DEF
Definition: strings.hxx:133
constexpr OUStringLiteral RID_SVXSTR_GRDT66_DEF
Definition: strings.hxx:186
open Bezier-curve
Definition: svdobjkind.hxx:37
constexpr OUStringLiteral RID_SVXSTR_GRDT42_DEF
Definition: strings.hxx:162
constexpr rtl::OUStringConstExpr RID_SVXSTR_GRDT_DEF[]
Definition: unoprov.cxx:1367
constexpr OUStringLiteral RID_SVXSTR_COLOR_PINK_DEF
Definition: strings.hxx:42
constexpr OUStringLiteral RID_SVXSTR_HATCH12_DEF
Definition: strings.hxx:219
constexpr OUStringLiteral RID_SVXSTR_COLOR_PALE_YELLOW_DEF
Definition: strings.hxx:33
#define OWN_ATTR_OLE_EMBEDDED_OBJECT
Definition: unoshprp.hxx:163
constexpr OUStringLiteral RID_SVXSTR_GRDT6_DEF
Definition: strings.hxx:126
constexpr OUStringLiteral RID_SVXSTR_GRDT40_DEF
Definition: strings.hxx:160
constexpr OUStringLiteral RID_SVXSTR_GRDT59_DEF
Definition: strings.hxx:179
constexpr OUStringLiteral RID_SVXSTR_BMP34_DEF
Definition: strings.hxx:273
constexpr OUStringLiteral RID_SVXSTR_GRDT8_DEF
Definition: strings.hxx:128
constexpr OUStringLiteral RID_SVXSTR_BMP69_DEF
Definition: strings.hxx:308
constexpr OUStringLiteral RID_SVXSTR_BMP18_DEF
Definition: strings.hxx:242
#define OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT
Definition: unoshprp.hxx:152
constexpr OUStringLiteral RID_SVXSTR_BMP91_DEF
Definition: strings.hxx:258
#define SVXMAP_TABLE
Definition: unoprov.hxx:76
constexpr TypedWhichId< XFillGradientItem > XATTR_FILLGRADIENT(XATTR_FILL_FIRST+2)
#define SHAPE_DESCRIPTOR_PROPERTIES
Definition: unoshprp.hxx:349
constexpr OUStringLiteral RID_SVXSTR_GRDT1_DEF
Definition: strings.hxx:121
constexpr OUStringLiteral RID_SVXSTR_DASH4_DEF
Definition: strings.hxx:323
constexpr OUStringLiteral RID_SVXSTR_GRDT64_DEF
Definition: strings.hxx:184
#define FILL_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:272
constexpr TypedWhichId< SdrCustomShapeGeometryItem > SDRATTR_CUSTOMSHAPE_GEOMETRY(SDRATTR_CUSTOMSHAPE_FIRST+2)
#define OWN_ATTR_MEDIA_LOOP
Definition: unoshprp.hxx:155
int i
constexpr TypedWhichId< SdrCaptionEscAbsItem > SDRATTR_CAPTIONESCABS(SDRATTR_CAPTION_FIRST+7)
constexpr OUStringLiteral RID_SVXSTR_GRDT18_DEF
Definition: strings.hxx:138
constexpr OUStringLiteral RID_SVXSTR_DASH9_DEF
Definition: strings.hxx:328
constexpr OUStringLiteral RID_SVXSTR_LEND30_DEF
Definition: strings.hxx:382
static SfxItemPropertyMapEntry const * ImplGetSvxAppletPropertyMap()
Definition: unoprov.cxx:535
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKGREEN_DEF
Definition: strings.hxx:76
constexpr TypedWhichId< XFillBitmapItem > XATTR_FILLBITMAP(XATTR_FILL_FIRST+4)
#define SVXMAP_TEXT
Definition: unoprov.hxx:73
constexpr OUStringLiteral RID_SVXSTR_BMP4_DEF
Definition: strings.hxx:228
#define SVXMAP_CUSTOMSHAPE
Definition: unoprov.hxx:74
const sal_Int32 SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER
Definition: unoprov.hxx:106
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKORANGE_DEF
Definition: strings.hxx:68
constexpr OUStringLiteral RID_SVXSTR_GRDT16_DEF
Definition: strings.hxx:136
constexpr rtl::OUStringConstExpr RID_SVXSTR_BMP_DEF[]
Definition: unoprov.cxx:1030
constexpr OUStringLiteral RID_SVXSTR_COLOR_ORANGE_OUG_DEF
Definition: strings.hxx:86
static SfxItemPropertyMapEntry const * ImplGetSvxMediaShapePropertyMap()
Definition: unoprov.cxx:711
constexpr OUStringLiteral RID_SVXSTR_GRDT46_DEF
Definition: strings.hxx:166
constexpr TypedWhichId< SdrLayerNameItem > SDRATTR_LAYERNAME(SDRATTR_NOTPERSIST_FIRST+4)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_CAPTIONGAP(SDRATTR_CAPTION_FIRST+3)
#define MISC_OBJ_PROPERTIES_NO_SHEAR
Definition: unoshprp.hxx:333
constexpr OUStringLiteral RID_SVXSTR_GRDT33_DEF
Definition: strings.hxx:153
constexpr OUStringLiteral RID_SVXSTR_BMP15_DEF
Definition: strings.hxx:239
constexpr OUStringLiteral RID_SVXSTR_BMP62_DEF
Definition: strings.hxx:301
constexpr OUStringLiteral RID_SVXSTR_BMP89_DEF
Definition: strings.hxx:256
SfxItemPropertyMapEntry const * aMapArr[SVXMAP_END]
Definition: unoprov.hxx:86
#define OWN_ATTR_MEDIA_MIMETYPE
Definition: unoshprp.hxx:183
connector object
Definition: svdobjkind.hxx:48
const TranslateId RID_SVXSTR_TRASNGR[]
Definition: unoprov.cxx:1590
static SfxItemPropertyMapEntry const * ImplGetSvxGroupPropertyMap()
Definition: unoprov.cxx:421
static OUString getNameFromId(sal_uInt32 nId)
Definition: unoprov.cxx:859
constexpr OUStringLiteral RID_SVXSTR_BMP77_DEF
Definition: strings.hxx:316
#define SVXMAP_3DPOLYGONOBJECT
Definition: unoprov.hxx:64
constexpr OUStringLiteral RID_SVXSTR_GRDT4_DEF
Definition: strings.hxx:124
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKPURPLE_DEF
Definition: strings.hxx:72
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT_DEF
Definition: strings.hxx:389
#define OWN_ATTR_TABLETEMPLATE_BANDINGCOLUMNS
Definition: unoshprp.hxx:144
OutlineText, special text object for StarDraw.
Definition: svdobjkind.hxx:45
#define UNO_NAME_EDIT_CHAR_UNDERLINE
constexpr OUStringLiteral RID_SVXSTR_BMP88_DEF
Definition: strings.hxx:255
constexpr OUStringLiteral RID_SVXSTR_HATCH10_DEF
Definition: strings.hxx:217
bool SvxMeasureUnitToFieldUnit(const short eApi, FieldUnit &eVcl) noexcept
maps the API constant MeasureUnit to a vcl MapUnit enum.
Definition: unoprov.cxx:981
#define SPECIAL_POLYGON_PROPERTIES
Definition: unoshprp.hxx:429
constexpr TypedWhichId< SdrObjVisibleItem > SDRATTR_OBJVISIBLE(SDRATTR_NOTPERSIST_FIRST+35)
constexpr OUStringLiteral RID_SVXSTR_BMP58_DEF
Definition: strings.hxx:297
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTBRICK_DEF
Definition: strings.hxx:55
open free-hand line
Definition: svdobjkind.hxx:39
#define UNO_NAME_MISC_OBJ_NAME
constexpr OUStringLiteral RID_SVXSTR_LEND28_DEF
Definition: strings.hxx:380
float u
constexpr OUStringLiteral RID_SVXSTR_BMP8_DEF
Definition: strings.hxx:232
const SfxItemPropertyMapEntry * GetMap(sal_uInt16 nPropertyId)
Definition: unoprov.cxx:907
constexpr OUStringLiteral RID_SVXSTR_BMP13_DEF
Definition: strings.hxx:237
#define OWN_ATTR_OLE_VISAREA
Definition: unoshprp.hxx:147
constexpr OUStringLiteral RID_SVXSTR_COLOR_BLUEGREY_DEF
Definition: strings.hxx:29
constexpr OUStringLiteral RID_SVXSTR_GRDT58_DEF
Definition: strings.hxx:178
constexpr OUStringLiteral RID_SVXSTR_HATCH15_DEF
Definition: strings.hxx:222
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A_DEF
Definition: strings.hxx:105
#define SVXMAP_CONTROL
Definition: unoprov.hxx:72
polygon, PolyPolygon
Definition: svdobjkind.hxx:35
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_DEF
Definition: strings.hxx:106
constexpr OUStringLiteral RID_SVXSTR_BMP0_DEF
Definition: strings.hxx:224
closed Bezier-curve
Definition: svdobjkind.hxx:38
constexpr OUStringLiteral RID_SVXSTR_GRDT12_DEF
Definition: strings.hxx:132
constexpr OUStringLiteral RID_SVXSTR_LEND4_DEF
Definition: strings.hxx:356
#define OWN_ATTR_FRAME_NAME
Definition: unoshprp.hxx:131
constexpr OUStringLiteral RID_SVXSTR_DASH19_DEF
Definition: strings.hxx:338
#define LINKTARGET_PROPERTIES
Definition: unoshprp.hxx:365
#define SVXMAP_CAPTION
Definition: unoprov.hxx:67
constexpr OUStringLiteral RID_SVXSTR_GRDT21_DEF
Definition: strings.hxx:141
constexpr OUStringLiteral RID_SVXSTR_COLOR_CHART_DEF
Definition: strings.hxx:38
css::uno::Type const & get()
constexpr OUStringLiteral RID_SVXSTR_COLOR_WHITE_DEF
Definition: strings.hxx:28
#define UNO_NAME_MISC_OBJ_LAYERID
constexpr OUStringLiteral RID_SVXSTR_DASH15_DEF
Definition: strings.hxx:334
#define SVXMAP_MEDIA
Definition: unoprov.hxx:75
constexpr OUStringLiteral RID_SVXSTR_LEND10_DEF
Definition: strings.hxx:362
#define TEXT_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:297
constexpr rtl::OUStringConstExpr SvxUnoColorNameDefResId[]
Definition: unoprov.cxx:1745
constexpr OUStringLiteral RID_SVXSTR_BMP25_DEF
Definition: strings.hxx:264
constexpr OUStringLiteral RID_SVXSTR_GRDT76_DEF
Definition: strings.hxx:197
constexpr OUStringLiteral RID_SVXSTR_GRDT65_DEF
Definition: strings.hxx:185
static SfxItemPropertyMapEntry const * ImplGetSvxDimensioningPropertyMap()
Definition: unoprov.cxx:132
#define OWN_ATTR_BASE_GEOMETRY
Definition: unoshprp.hxx:116
static css::uno::Sequence< OUString > getServiceNames()
Definition: unoprov.cxx:871
#define OWN_ATTR_THUMBNAIL
Definition: unoshprp.hxx:150
#define UNO_NAME_LINKDISPLAYBITMAP
constexpr OUStringLiteral RID_SVXSTR_DASH20_DEF
Definition: strings.hxx:339
bool SvxFieldUnitToMeasureUnit(const FieldUnit eVcl, short &eApi) noexcept
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:1007
constexpr OUStringLiteral RID_SVXSTR_DASH23_DEF
Definition: strings.hxx:342
constexpr TypedWhichId< SdrLayerIdItem > SDRATTR_LAYERID(SDRATTR_NOTPERSIST_FIRST+3)
#define MID_COLOR_RGB
constexpr OUStringLiteral RID_SVXSTR_LEND16_DEF
Definition: strings.hxx:368
#define OWN_ATTR_PAGE_NUMBER
Definition: unoshprp.hxx:149
#define UNO_NAME_MISC_OBJ_TITLE
#define OWN_ATTR_APPLET_ISSCRIPT
Definition: unoshprp.hxx:126
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_BLUE_A_DEF
Definition: strings.hxx:108
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_DEF
Definition: strings.hxx:118
std::unique_ptr< SvxItemPropertySet > aSetArr[SVXMAP_END]
Definition: unoprov.hxx:87
constexpr OUStringLiteral RID_SVXSTR_BMP86_DEF
Definition: strings.hxx:253
constexpr OUStringLiteral RID_SVXSTR_LEND19_DEF
Definition: strings.hxx:371
#define SVXMAP_OLE2
Definition: unoprov.hxx:68
constexpr OUStringLiteral RID_SVXSTR_BMP35_DEF
Definition: strings.hxx:274
constexpr OUStringLiteral RID_SVXSTR_BMP9_DEF
Definition: strings.hxx:233
constexpr OUStringLiteral RID_SVXSTR_LEND9_DEF
Definition: strings.hxx:361
constexpr OUStringLiteral RID_SVXSTR_DASH7_DEF
Definition: strings.hxx:326
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_OBJSIZEPROTECT(SDRATTR_NOTPERSIST_FIRST+1)
constexpr OUStringLiteral RID_SVXSTR_GRDT35_DEF
Definition: strings.hxx:155
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTINDIGO_DEF
Definition: strings.hxx:59
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_BROWN_DEF
Definition: strings.hxx:116
constexpr OUStringLiteral RID_SVXSTR_GRDT44_DEF
Definition: strings.hxx:164
constexpr OUStringLiteral RID_SVXSTR_BMP92_DEF
Definition: strings.hxx:259
constexpr OUStringLiteral RID_SVXSTR_COLOR_BLUE_OUG_DEF
Definition: strings.hxx:81
#define SPECIAL_POLYPOLYGON_PROPERTIES
Definition: unoshprp.hxx:432
constexpr OUStringLiteral RID_SVXSTR_BMP2_DEF
Definition: strings.hxx:226
constexpr OUStringLiteral RID_SVXSTR_DASH17_DEF
Definition: strings.hxx:336
constexpr TypedWhichId< SdrCaptionTypeItem > SDRATTR_CAPTIONTYPE(SDRATTR_CAPTION_FIRST+0)
constexpr OUStringLiteral RID_SVXSTR_GRDT30_DEF
Definition: strings.hxx:150
#define SPECIAL_3DBACKSCALE_PROPERTIES
Definition: unoshprp.hxx:567
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT_DEF
Definition: strings.hxx:391
constexpr OUStringLiteral RID_SVXSTR_BMP29_DEF
Definition: strings.hxx:268
constexpr OUStringLiteral RID_SVXSTR_GRDT47_DEF
Definition: strings.hxx:167
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKYELLOW_DEF
Definition: strings.hxx:66
static SfxItemPropertyMapEntry const * ImplGetSvxTableShapePropertyMap()
Definition: unoprov.cxx:745
constexpr OUStringLiteral RID_SVXSTR_GRDT77_DEF
Definition: strings.hxx:198
constexpr OUStringLiteral RID_SVXSTR_COLOR_BLUE_DEF
Definition: strings.hxx:23
#define OWN_ATTR_PLUGIN_URL
Definition: unoshprp.hxx:128
#define LINE_PROPERTIES_START_END
Definition: unoshprp.hxx:253
#define OWN_ATTR_MEDIA_ZOOM
Definition: unoshprp.hxx:158
#define E3D_INVENTOR_FLAG
Globals.
Definition: unoprov.hxx:99
static comphelper::PropertyMapEntry const * ImplGetAdditionalWriterDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:800
constexpr OUStringLiteral RID_SVXSTR_BMP66_DEF
Definition: strings.hxx:305
constexpr OUStringLiteral RID_SVXSTR_BMP71_DEF
Definition: strings.hxx:310
constexpr OUStringLiteral RID_SVXSTR_LEND0_DEF
Definition: strings.hxx:352
constexpr OUStringLiteral RID_SVXSTR_LEND13_DEF
Definition: strings.hxx:365
constexpr OUStringLiteral RID_SVXSTR_BMP85_DEF
Definition: strings.hxx:252
constexpr OUStringLiteral RID_SVXSTR_DASH2_DEF
Definition: strings.hxx:321
constexpr OUStringLiteral RID_SVXSTR_BMP68_DEF
Definition: strings.hxx:307
const TranslateId SvxUnoColorNameResId[]
Definition: unoprov.cxx:1849
static sal_uInt32 getId(const OUString &rCompareString)
Definition: unoprov.cxx:876
constexpr TypedWhichId< XFillFloatTransparenceItem > XATTR_FILLFLOATTRANSPARENCE(XATTR_FILL_FIRST+11)
constexpr OUStringLiteral RID_SVXSTR_COLOR_SALMON_DEF
Definition: strings.hxx:36
constexpr OUStringLiteral RID_SVXSTR_GRDT0_DEF
Definition: strings.hxx:120
constexpr OUStringLiteral RID_SVXSTR_BMP63_DEF
Definition: strings.hxx:302
#define OWN_ATTR_INTERNAL_OLE
Definition: unoshprp.hxx:162
#define EDGERADIUS_PROPERTIES
Definition: unoshprp.hxx:294
#define SOFTEDGE_PROPERTIES
Definition: unoshprp.hxx:222
constexpr OUStringLiteral RID_SVXSTR_LEND21_DEF
Definition: strings.hxx:373
constexpr OUStringLiteral RID_SVXSTR_DASH29_DEF
Definition: strings.hxx:348
const TranslateId RID_SVXSTR_DASH[]
Definition: unoprov.cxx:1260
constexpr OUStringLiteral RID_SVXSTR_GRDT51_DEF
Definition: strings.hxx:171
constexpr OUStringLiteral RID_SVXSTR_LEND1_DEF
Definition: strings.hxx:353
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_ORANGE_A_DEF
Definition: strings.hxx:99
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT_DEF
Definition: strings.hxx:388
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTORANGE_DEF
Definition: strings.hxx:54
constexpr OUStringLiteral RID_SVXSTR_BMP20_DEF
Definition: strings.hxx:244
constexpr OUStringLiteral RID_SVXSTR_DASH30_DEF
Definition: strings.hxx:349
#define OWN_ATTR_PLUGIN_MIMETYPE
Definition: unoshprp.hxx:127
static SfxItemPropertyMapEntry const * ImplGetSvxPageShapePropertyMap()
Definition: unoprov.cxx:629
const TranslateId RID_SVXSTR_HATCHS[]
Definition: unoprov.cxx:1565
#define OWN_ATTR_APPLET_COMMANDS
Definition: unoshprp.hxx:125
constexpr OUStringLiteral RID_SVXSTR_BMP72_DEF
Definition: strings.hxx:311
constexpr OUStringLiteral RID_SVXSTR_GRDT45_DEF
Definition: strings.hxx:165
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_GRAY_A_DEF
Definition: strings.hxx:95
SvxUnoPropertyMapProvider.
Definition: unoprov.hxx:84
constexpr OUStringLiteral RID_SVXSTR_HATCH6_DEF
Definition: strings.hxx:213
constexpr OUStringLiteral RID_SVXSTR_LEND25_DEF
Definition: strings.hxx:377
object that represents a SdrPage
Definition: svdobjkind.hxx:52
constexpr OUStringLiteral RID_SVXSTR_COLOR_RED_DEF
Definition: strings.hxx:25
constexpr OUStringLiteral RID_SVXSTR_LEND3_DEF
Definition: strings.hxx:355
constexpr OUStringLiteral RID_SVXSTR_DASH12_DEF
Definition: strings.hxx:331
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKGRAY_DEF
Definition: strings.hxx:65
#define TEXT_PROPERTIES
Definition: unoshprp.hxx:327
constexpr OUStringLiteral RID_SVXSTR_BMP79_DEF
Definition: strings.hxx:246
#define UNO_NAME_MISC_OBJ_PRINTABLE
constexpr OUStringLiteral RID_SVXSTR_LEND12_DEF
Definition: strings.hxx:364
constexpr OUStringLiteral RID_SVXSTR_COLOR_GREEN_OUG_DEF
Definition: strings.hxx:84
#define UNO_NAME_EDIT_CHAR_FONTCHARSET
constexpr OUStringLiteral RID_SVXSTR_GRDT17_DEF
Definition: strings.hxx:137
#define SVXMAP_APPLET
Definition: unoprov.hxx:71
constexpr OUStringLiteral RID_SVXSTR_GRDT83_DEF
Definition: strings.hxx:204
constexpr OUStringLiteral RID_SVXSTR_COLOR_CYAN_DEF
Definition: strings.hxx:90
#define OWN_ATTR_FRAME_ISBORDER
Definition: unoshprp.hxx:133
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTPURPLE_DEF
Definition: strings.hxx:58
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTMAGENTA_DEF
Definition: strings.hxx:57
#define OWN_ATTR_PERSISTNAME
Definition: unoshprp.hxx:151
constexpr OUStringLiteral RID_SVXSTR_LEND31_DEF
Definition: strings.hxx:383
constexpr OUStringLiteral RID_SVXSTR_LEND7_DEF
Definition: strings.hxx:359
constexpr OUStringLiteral RID_SVXSTR_BMP6_DEF
Definition: strings.hxx:230
constexpr OUStringLiteral RID_SVXSTR_GRDT34_DEF
Definition: strings.hxx:154
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIME_DEF
Definition: strings.hxx:49
#define FILL_PROPERTIES
Definition: unoshprp.hxx:275
constexpr OUStringLiteral RID_SVXSTR_GRDT9_DEF
Definition: strings.hxx:129
constexpr OUStringLiteral RID_SVXSTR_BMP82_DEF
Definition: strings.hxx:249
constexpr OUStringLiteral RID_SVXSTR_BMP50_DEF
Definition: strings.hxx:289
constexpr OUStringLiteral RID_SVXSTR_BMP30_DEF
Definition: strings.hxx:269
static bool SvxUnoConvertResourceStringFromApi(const rtl::OUStringConstExpr *pSourceResIds, const TranslateId *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1688
#define SVXMAP_GROUP
Definition: unoprov.hxx:66
#define UHASHMAP_NOTFOUND
class UHashMap
Definition: unoprov.hxx:39
constexpr OUStringLiteral RID_SVXSTR_HATCH4_DEF
Definition: strings.hxx:211
bool SvxMapUnitToMeasureUnit(const MapUnit eVcl, short &eApi) noexcept
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:955
constexpr rtl::OUStringConstExpr RID_SVXSTR_TRASNGR_DEF[]
Definition: unoprov.cxx:1585
#define OWN_ATTR_APPLET_CODEBASE
Definition: unoshprp.hxx:122
#define OWN_ATTR_TABLETEMPLATE_BANDINGROWS
Definition: unoshprp.hxx:143
constexpr OUStringLiteral RID_SVXSTR_DASH8_DEF
Definition: strings.hxx:327
SvxUnoPropertyMapProvider & getSvxMapProvider()
Definition: unoprov.cxx:886
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A_DEF
Definition: strings.hxx:100
#define UNO_NAME_EDIT_CHAR_COLOR_TINT_OR_SHADE
#define SVXMAP_3DLATHEOBJECT
Definition: unoprov.hxx:62
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A_DEF
Definition: strings.hxx:109
#define SPECIAL_GRAPHOBJ_PROPERTIES
Definition: unoshprp.hxx:449
#define SPECIAL_3DPOLYGONOBJECT_PROPERTIES
Definition: unoshprp.hxx:560
static SfxItemPropertyMapEntry const * ImplGetSvxConnectorPropertyMap()
Definition: unoprov.cxx:106
#define OWN_ATTR_APPLET_DOCBASE
Definition: unoshprp.hxx:121
constexpr OUStringLiteral RID_SVXSTR_DASH0_DEF
Definition: strings.hxx:319
#define UNO_NAME_MISC_OBJ_BOUNDRECT
#define OWN_ATTR_MEDIA_MUTE
Definition: unoshprp.hxx:156
constexpr OUStringLiteral RID_SVXSTR_GRDT52_DEF
Definition: strings.hxx:172
constexpr TypedWhichId< SdrCaptionFitLineLenItem > SDRATTR_CAPTIONFITLINELEN(SDRATTR_CAPTION_FIRST+9)
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF
Definition: strings.hxx:387
constexpr OUStringLiteral RID_SVXSTR_BMP75_DEF
Definition: strings.hxx:314
double getLength(const B2DPolygon &rCandidate)
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_RED_A_DEF
Definition: strings.hxx:102
static SfxItemPropertyMapEntry const * ImplGetSvxAllPropertyMap()
Definition: unoprov.cxx:377
constexpr OUStringLiteral RID_SVXSTR_GRDT38_DEF
Definition: strings.hxx:158
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT_DEF
Definition: strings.hxx:392
#define OWN_ATTR_GRAPHIC_STREAM
Definition: unoshprp.hxx:170
#define UNO_NAME_EDIT_CHAR_FONTNAME
constexpr OUStringLiteral RID_SVXSTR_HATCH13_DEF
Definition: strings.hxx:220
#define SPECIAL_3DEXTRUDEOBJECT_PROPERTIES
Definition: unoshprp.hxx:554
#define UNO_NAME_MISC_OBJ_MOVEPROTECT
constexpr OUStringLiteral RID_SVXSTR_GRDT81_DEF
Definition: strings.hxx:202
#define OWN_ATTR_APPLET_CODE
Definition: unoshprp.hxx:124
constexpr OUStringLiteral RID_SVXSTR_GRDT82_DEF
Definition: strings.hxx:203
#define SPECIAL_DIMENSIONING_PROPERTIES
Definition: unoshprp.hxx:419
#define OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN
Definition: unoshprp.hxx:141
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_YELLOW_A_DEF
Definition: strings.hxx:96
#define UNO_NAME_EDIT_CHAR_FONTSTYLENAME
static bool SvxUnoConvertResourceStringBuiltInFromApi(rtl::OUStringConstExpr const *pSourceResIds, const TranslateId *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1982
#define CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:370
#define SVXMAP_POLYPOLYGON
Definition: unoprov.hxx:57
#define SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:396
constexpr OUStringLiteral RID_SVXSTR_COLOR_AZURE_OUG_DEF
Definition: strings.hxx:82
constexpr OUStringLiteral RID_SVXSTR_BMP90_DEF
Definition: strings.hxx:257
constexpr OUStringLiteral RID_SVXSTR_HATCH2_DEF
Definition: strings.hxx:209
constexpr OUStringLiteral RID_SVXSTR_COLOR_SPRINGGREEN_OUG_DEF
Definition: strings.hxx:83
Universal Network Object packed into SvDraw object.
Definition: svdobjkind.hxx:55
constexpr OUStringLiteral RID_SVXSTR_BMP80_DEF
Definition: strings.hxx:247
#define UNO_NAME_EDIT_CHAR_HEIGHT
constexpr OUStringLiteral RID_SVXSTR_DASH22_DEF
Definition: strings.hxx:341
constexpr OUStringLiteral RID_SVXSTR_COLOR_PURPLE_DEF
Definition: strings.hxx:39
static rtl::Reference< comphelper::PropertySetInfo > mxInfos[SVXUNO_SERVICEID_LASTID+1]
Definition: unoprov.hxx:114
constexpr OUStringLiteral RID_SVXSTR_BMP74_DEF
Definition: strings.hxx:313
PolyLine.
Definition: svdobjkind.hxx:36
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIBRE_PURPLE_DEF
Definition: strings.hxx:390
constexpr OUStringLiteral RID_SVXSTR_HATCH14_DEF
Definition: strings.hxx:221
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTRED_DEF
Definition: strings.hxx:56
MapUnit
constexpr OUStringLiteral RID_SVXSTR_BMP53_DEF
Definition: strings.hxx:292
constexpr OUStringLiteral RID_SVXSTR_LEND15_DEF
Definition: strings.hxx:367
#define OWN_ATTR_LDBITMAP
Definition: unoshprp.hxx:100
const SvxItemPropertySet * GetPropertySet(sal_uInt16 nPropertyId, SfxItemPool &rPool)
Definition: unoprov.cxx:945
#define UNO_NAME_LINKDISPLAYNAME
constexpr OUStringLiteral RID_SVXSTR_BMP42_DEF
Definition: strings.hxx:281
constexpr TypedWhichId< SdrCaptionEscIsRelItem > SDRATTR_CAPTIONESCISREL(SDRATTR_CAPTION_FIRST+5)
static SfxItemPropertyMapEntry const * ImplGetSvxShapePropertyMap()
Definition: unoprov.cxx:56
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_LIME_A_DEF
Definition: strings.hxx:114
sal_Int32 nLength
constexpr OUStringLiteral RID_SVXSTR_DASH5_DEF
Definition: strings.hxx:324
constexpr OUStringLiteral RID_SVXSTR_BMP46_DEF
Definition: strings.hxx:285
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_TEAL_A_DEF
Definition: strings.hxx:111
constexpr OUStringLiteral RID_SVXSTR_BMP10_DEF
Definition: strings.hxx:234
static SfxItemPropertyMapEntry const * ImplGetSvx3DCubeObjectPropertyMap()
Definition: unoprov.cxx:263
static SfxItemPropertyMapEntry const * ImplGetSvxPolyPolygonPropertyMap()
Definition: unoprov.cxx:184
continuously activated OLE (PlugIn-Frame or similar)
Definition: svdobjkind.hxx:54
OLE object.
Definition: svdobjkind.hxx:47
constexpr OUStringLiteral RID_SVXSTR_LEND14_DEF
Definition: strings.hxx:366
static SfxItemPropertyMapEntry const * ImplGetSvxCirclePropertyMap()
Definition: unoprov.cxx:158
constexpr OUStringLiteral RID_SVXSTR_BMP39_DEF
Definition: strings.hxx:278
constexpr OUStringLiteral RID_SVXSTR_COLOR_BLUE_CLASSIC_DEF
Definition: strings.hxx:44
#define SPECIAL_CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:377
#define OWN_ATTR_FRAME_ISAUTOSCROLL
Definition: unoshprp.hxx:132
constexpr OUStringLiteral RID_SVXSTR_DASH13_DEF
Definition: strings.hxx:332
constexpr OUStringLiteral RID_SVXSTR_GRDT19_DEF
Definition: strings.hxx:139
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTGREEN_DEF
Definition: strings.hxx:62
constexpr OUStringLiteral RID_SVXSTR_DASH10_DEF
Definition: strings.hxx:329
constexpr OUStringLiteral RID_SVXSTR_DASH6_DEF
Definition: strings.hxx:325
constexpr OUStringLiteral RID_SVXSTR_COLOR_ROSE_DEF
Definition: strings.hxx:93
#define UNO_NAME_MISC_OBJ_LAYERNAME
#define GLOW_PROPERTIES
Definition: unoshprp.hxx:217
constexpr OUStringLiteral RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A_DEF
Definition: strings.hxx:117
constexpr OUStringLiteral RID_SVXSTR_COLOR_INDIGO_DEF
Definition: strings.hxx:47
constexpr OUStringLiteral RID_SVXSTR_BMP56_DEF
Definition: strings.hxx:295
constexpr OUStringLiteral RID_SVXSTR_BMP14_DEF
Definition: strings.hxx:238
#define MISC_OBJ_PROPERTIES
Definition: unoshprp.hxx:343
periodic cubic Spline (ni)
Definition: svdobjkind.hxx:42
constexpr TypedWhichId< XLineColorItem > XATTR_LINECOLOR(XATTR_LINE_FIRST+3)
constexpr OUStringLiteral RID_SVXSTR_COLOR_SKYBLUE_DEF
Definition: strings.hxx:40
std::unordered_map< OUString, sal_uInt32 > UHashMapImpl
Definition: unoprov.cxx:811
constexpr TypedWhichId< SvXMLAttrContainerItem > SDRATTR_XMLATTRIBUTES(SDRATTR_MISC_FIRST+22)
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTLIME_DEF
Definition: strings.hxx:63
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTYELLOW_DEF
Definition: strings.hxx:52
foreign graphic (StarView Graphic)
Definition: svdobjkind.hxx:46
constexpr OUStringLiteral RID_SVXSTR_COLOR_GOLD_DEF
Definition: strings.hxx:45
constexpr OUStringLiteral RID_SVXSTR_BMP67_DEF
Definition: strings.hxx:306
constexpr OUStringLiteral RID_SVXSTR_BMP31_DEF
Definition: strings.hxx:270
constexpr OUStringLiteral RID_SVXSTR_GRDT56_DEF
Definition: strings.hxx:176
#define UNO_NAME_EDIT_CHAR_WEIGHT
#define UNO_NAME_OLE2_PERSISTNAME
constexpr OUStringLiteral RID_SVXSTR_BMP1_DEF
Definition: strings.hxx:225
constexpr OUStringLiteral RID_SVXSTR_GRDT41_DEF
Definition: strings.hxx:161
constexpr OUStringLiteral RID_SVXSTR_BMP81_DEF
Definition: strings.hxx:248
constexpr OUStringLiteral RID_SVXSTR_COLOR_CHARTREUSEGREEN_DEF
Definition: strings.hxx:92
#define OWN_ATTR_MEDIA_URL
Definition: unoshprp.hxx:153
constexpr TypedWhichId< SfxStringItem > SDRATTR_CUSTOMSHAPE_ENGINE(SDRATTR_CUSTOMSHAPE_FIRST+0)
constexpr OUStringLiteral RID_SVXSTR_GRDT3_DEF
Definition: strings.hxx:123
#define SHADOW_PROPERTIES
Definition: unoshprp.hxx:225
constexpr OUStringLiteral RID_SVXSTR_LEND11_DEF
Definition: strings.hxx:363
static bool SvxUnoGetResourceRanges(const sal_uInt16 nWhich, const rtl::OUStringConstExpr *&pApiResIds, const TranslateId *&pIntResIds, int &nCount) noexcept
Definition: unoprov.cxx:1595
#define OWN_ATTR_LDNAME
Definition: unoshprp.hxx:99
constexpr TypedWhichId< SfxStringItem > SDRATTR_OBJECTNAME(SDRATTR_NOTPERSIST_FIRST+5)
constexpr OUStringLiteral RID_SVXSTR_COLOR_YELLOW_DEF
Definition: strings.hxx:27
#define SVXMAP_DIMENSIONING
Definition: unoprov.hxx:55
constexpr OUStringLiteral RID_SVXSTR_COLOR_DARKVIOLET_DEF
Definition: strings.hxx:35
#define OWN_ATTR_OLEMODEL
Definition: unoshprp.hxx:103
#define SPECIAL_CIRCLE_PROPERTIES
Definition: unoshprp.hxx:424
static SfxItemPropertyMapEntry const * ImplGetSvxTextShapePropertyMap()
Definition: unoprov.cxx:81
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTGRAY_DEF
Definition: strings.hxx:51
custom shape
Definition: svdobjkind.hxx:56
constexpr OUStringLiteral RID_SVXSTR_GRDT79_DEF
Definition: strings.hxx:200
css::uno::Sequence< typename M::key_type > mapKeysToSequence(M const &map)
constexpr OUStringLiteral RID_SVXSTR_COLOR_VIOLET_OUG_DEF
Definition: strings.hxx:80
constexpr OUStringLiteral RID_SVXSTR_GRDT48_DEF
Definition: strings.hxx:168
#define UNO_NAME_MISC_OBJ_SIZEPROTECT
constexpr OUStringLiteral RID_SVXSTR_GRDT60_DEF
Definition: strings.hxx:180
constexpr OUStringLiteral RID_SVXSTR_BMP36_DEF
Definition: strings.hxx:275
constexpr OUStringLiteral RID_SVXSTR_BMP84_DEF
Definition: strings.hxx:251
constexpr OUStringLiteral RID_SVXSTR_COLOR_LIGHTBLUE_DEF
Definition: strings.hxx:60
constexpr OUStringLiteral RID_SVXSTR_BMP21_DEF
Definition: strings.hxx:245