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