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 };
76
77 return aShapePropertyMap_Impl;
78}
79
81{
82 static SfxItemPropertyMapEntry const aTextShapePropertyMap_Impl[] =
83 {
95 // #FontWork#
98 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
99 };
100
101 return aTextShapePropertyMap_Impl;
102}
103
105{
106 static SfxItemPropertyMapEntry const aConnectorPropertyMap_Impl[] =
107 {
120 // #FontWork#
123 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
124 };
125
126 return aConnectorPropertyMap_Impl;
127}
128
130{
131 static SfxItemPropertyMapEntry const aDimensioningPropertyMap_Impl[] =
132 {
145 // #FontWork#
148 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
149 };
150
151 return aDimensioningPropertyMap_Impl;
152}
153
155{
156 static SfxItemPropertyMapEntry const aCirclePropertyMap_Impl[] =
157 {
170 // #FontWork#
173 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
174 };
175
176 return aCirclePropertyMap_Impl;
177}
178
180{
181 static SfxItemPropertyMapEntry const aPolyPolygonPropertyMap_Impl[] =
182 {
197 // #FontWork#
200 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
201 };
202
203 return aPolyPolygonPropertyMap_Impl;
204}
205
207{
208 static SfxItemPropertyMapEntry const aGraphicObjectPropertyMap_Impl[] =
209 {
211
212 // #i25616#
214
218
219 // #i118485# Full properties now, shear included
221
227 // #FontWork#
229 { u"IsMirrored", OWN_ATTR_MIRRORED, cppu::UnoType<bool>::get(), 0, 0},
231 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
232 { u"GraphicStream", OWN_ATTR_GRAPHIC_STREAM, cppu::UnoType<css::io::XInputStream>::get(), css::beans::PropertyAttribute::READONLY, 0},
233 };
234
235 return aGraphicObjectPropertyMap_Impl;
236}
237
239{
240 static SfxItemPropertyMapEntry const a3DSceneObjectPropertyMap_Impl[] =
241 {
250 };
251
252 return a3DSceneObjectPropertyMap_Impl;
253}
254
256{
257 static SfxItemPropertyMapEntry const a3DCubeObjectPropertyMap_Impl[] =
258 {
269 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
270 };
271
272 return a3DCubeObjectPropertyMap_Impl;
273}
274
276{
277 static SfxItemPropertyMapEntry const a3DSphereObjectPropertyMap_Impl[] =
278 {
289 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
290 };
291 return a3DSphereObjectPropertyMap_Impl;
292}
293
295{
296 static SfxItemPropertyMapEntry const a3DLatheObjectPropertyMap_Impl[] =
297 {
299
300 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
302
313 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
314 };
315
316 return a3DLatheObjectPropertyMap_Impl;
317}
318
320{
321 static SfxItemPropertyMapEntry const a3DExtrudeObjectPropertyMap_Impl[] =
322 {
324
325 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
327
338 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
339 };
340
341 return a3DExtrudeObjectPropertyMap_Impl;
342}
343
345{
346 static SfxItemPropertyMapEntry const a3DPolygonObjectPropertyMap_Impl[] =
347 {
358 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
359 };
360
361 return a3DPolygonObjectPropertyMap_Impl;
362}
363
365{
366 static SfxItemPropertyMapEntry const aAllPropertyMap_Impl[] =
367 {
376 // #FontWork#
394
395 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
397
401 { u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
402 };
403
404 return aAllPropertyMap_Impl;
405}
406
408{
409 static SfxItemPropertyMapEntry const aGroupPropertyMap_Impl[] =
410 {
414 };
415
416 return aGroupPropertyMap_Impl;
417}
418
420{
421 static SfxItemPropertyMapEntry const aOle2PropertyMap_Impl[] =
422 {
423 // #i118485# Adding properties for line, fill, text, shadow, fontwork, rotate, shear
435
436 { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
437 { u"Model", OWN_ATTR_OLEMODEL , cppu::UnoType<css::frame::XModel>::get(), css::beans::PropertyAttribute::READONLY, 0},
438 { u"EmbeddedObject", OWN_ATTR_OLE_EMBEDDED_OBJECT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
439 { u"EmbeddedObjectNoNewClient",OWN_ATTR_OLE_EMBEDDED_OBJECT_NONEWCLIENT, cppu::UnoType<css::embed::XEmbeddedObject>::get(), css::beans::PropertyAttribute::READONLY, 0},
440 { u"OriginalSize", OWN_ATTR_OLESIZE , cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
441 { u"CLSID", OWN_ATTR_CLSID , cppu::UnoType<OUString>::get(), 0, 0 },
442 { u"IsInternal", OWN_ATTR_INTERNAL_OLE , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::READONLY, 0},
448 };
449
450 return aOle2PropertyMap_Impl;
451}
452
454{
455 static SfxItemPropertyMapEntry const aPluginPropertyMap_Impl[] =
456 {
457 { u"PluginMimeType", OWN_ATTR_PLUGIN_MIMETYPE , cppu::UnoType<OUString>::get(), 0, 0},
458 { u"PluginURL", OWN_ATTR_PLUGIN_URL , cppu::UnoType<OUString>::get(), 0, 0},
464 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
465 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
466 { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
467 { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
472 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
474 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
475 // #i68101#
478 };
479
480 return aPluginPropertyMap_Impl;
481}
482
484{
485 //TODO/LATER: new properties for ScrollingMode and DefaultBorder
486 static SfxItemPropertyMapEntry const aFramePropertyMap_Impl[] =
487 {
488 { u"FrameURL", OWN_ATTR_FRAME_URL , cppu::UnoType<OUString>::get(), 0, 0},
489 { u"FrameName", OWN_ATTR_FRAME_NAME , cppu::UnoType<OUString>::get(), 0, 0},
490 { u"FrameIsAutoScroll", OWN_ATTR_FRAME_ISAUTOSCROLL , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::MAYBEVOID, 0},
491 { u"FrameIsBorder", OWN_ATTR_FRAME_ISBORDER , cppu::UnoType<bool>::get() , 0, 0},
492 { u"FrameMarginWidth", OWN_ATTR_FRAME_MARGIN_WIDTH , cppu::UnoType<sal_Int32>::get(), 0, 0},
493 { u"FrameMarginHeight", OWN_ATTR_FRAME_MARGIN_HEIGHT, cppu::UnoType<sal_Int32>::get(), 0, 0},
498 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
499 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
500 { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
501 { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
506 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
508 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
509 // #i68101#
512 };
513
514 return aFramePropertyMap_Impl;
515}
516
518{
519 static SfxItemPropertyMapEntry const aAppletPropertyMap_Impl[] =
520 {
521 { u"AppletCodeBase", OWN_ATTR_APPLET_CODEBASE , cppu::UnoType<OUString>::get(), 0, 0},
522 { u"AppletName", OWN_ATTR_APPLET_NAME , cppu::UnoType<OUString>::get(), 0, 0},
523 { u"AppletCode", OWN_ATTR_APPLET_CODE , cppu::UnoType<OUString>::get(), 0, 0},
525 { u"AppletDocBase", OWN_ATTR_APPLET_DOCBASE , cppu::UnoType<OUString>::get(), 0, 0},
526 { u"AppletIsScript", OWN_ATTR_APPLET_ISSCRIPT , cppu::UnoType<bool>::get(), 0, 0 },
531 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
532 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
533 { UNO_NAME_OLE2_METAFILE, OWN_ATTR_METAFILE , cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(), css::beans::PropertyAttribute::READONLY, 0},
534 { u"ThumbnailGraphic", OWN_ATTR_THUMBNAIL , cppu::UnoType<css::graphic::XGraphic>::get(), 0, 0 },
539 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
541 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
542 // #i68101#
545 };
546
547 return aAppletPropertyMap_Impl;
548}
549
551{
552 static SfxItemPropertyMapEntry const aControlPropertyMap_Impl[] =
553 {
554 // the following properties are mapped to the XControl Model of this shape
569 { u"CharBackColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
570 { u"CharBackTransparent", 0, cppu::UnoType<bool>::get(), 0, 0 },
571 { u"CharRelief", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
572 { u"CharUnderlineColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
573 { u"CharKerning", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
574 { u"CharWordMode", 0, cppu::UnoType<bool>::get(), 0, 0 },
576 { u"TextVerticalAdjust", 0, cppu::UnoType<TextVerticalAdjust>::get(), MAYBEVOID, 0 },
577 { u"ControlBackground", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
578 { u"ControlBorder", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
579 { u"ControlBorderColor", 0, cppu::UnoType<sal_Int32>::get(), 0, 0 },
580 { u"ControlSymbolColor", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
581 { u"ImageScaleMode", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
584 { u"ControlTextEmphasis", 0, cppu::UnoType<sal_Int16>::get(), 0, 0 },
585 { u"ControlWritingMode", 0, cppu::UnoType< sal_Int16 >::get(), 0, 0},
586 // the following properties are handled by SvxShape
591 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
592 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
594 {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
595 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
596 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
597 // #i68101#
600 // #i112587#
602 { u"Visible", SDRATTR_OBJVISIBLE , cppu::UnoType<bool>::get(), 0, 0},
604 };
605
606 return aControlPropertyMap_Impl;
607}
608
610{
611 static SfxItemPropertyMapEntry const aPageShapePropertyMap_Impl[] =
612 {
613 { u"PageNumber", OWN_ATTR_PAGE_NUMBER , cppu::UnoType<sal_Int32>::get(), 0, 0},
618 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP , cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
619 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
622 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
623 // #i68101#
626 };
627
628 return aPageShapePropertyMap_Impl;
629}
630
632{
633 static SfxItemPropertyMapEntry const aCaptionPropertyMap_Impl[] =
634 {
636 { u"CaptionType", SDRATTR_CAPTIONTYPE, cppu::UnoType<sal_Int16>::get(), 0, 0},
637 { u"CaptionIsFixedAngle", SDRATTR_CAPTIONFIXEDANGLE, cppu::UnoType<bool>::get(), 0, 0},
638 { u"CaptionAngle", SDRATTR_CAPTIONANGLE, cppu::UnoType<sal_Int32>::get(), 0, 0},
639 { u"CaptionGap", SDRATTR_CAPTIONGAP, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
640 { u"CaptionEscapeDirection", SDRATTR_CAPTIONESCDIR, cppu::UnoType<sal_Int32>::get(), 0, 0},
641 { u"CaptionIsEscapeRelative", SDRATTR_CAPTIONESCISREL, cppu::UnoType<bool>::get(), 0, 0},
642 { u"CaptionEscapeRelative", SDRATTR_CAPTIONESCREL, cppu::UnoType<sal_Int32>::get(), 0, 0},
643 { u"CaptionEscapeAbsolute", SDRATTR_CAPTIONESCABS, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
644 { u"CaptionLineLength", SDRATTR_CAPTIONLINELEN, cppu::UnoType<sal_Int32>::get(), 0, 0, PropertyMoreFlags::METRIC_ITEM},
645 { u"CaptionIsFitLineLength", SDRATTR_CAPTIONFITLINELEN, cppu::UnoType<bool>::get(), 0, 0},
655 // #FontWork#
658 {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
659 };
660
661 return aCaptionPropertyMap_Impl;
662}
663
665{
666 static SfxItemPropertyMapEntry const aCustomShapePropertyMap_Impl[] =
667 {
668 { u"CustomShapeEngine", SDRATTR_CUSTOMSHAPE_ENGINE, cppu::UnoType<OUString>::get(), 0, 0 },
669 { u"CustomShapeData", SDRATTR_CUSTOMSHAPE_DATA, cppu::UnoType<OUString>::get(), 0, 0 },
670 { u"CustomShapeGeometry", SDRATTR_CUSTOMSHAPE_GEOMETRY,
683 {u"ParaUserDefinedAttributes", EE_PARA_XMLATTRIBS, cppu::UnoType<css::container::XNameContainer>::get(), 0, 0},
684 };
685 return aCustomShapePropertyMap_Impl;
686}
687
689{
690 static SfxItemPropertyMapEntry const aMediaShapePropertyMap_Impl[] =
691 {
695 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
696 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
699 { u"PreferredSize", OWN_ATTR_MEDIA_PREFERREDSIZE, cppu::UnoType<css::awt::Size>::get(), css::beans::PropertyAttribute::READONLY, 0},
706 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
707 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
708 // #i68101#
712 {u"PrivateTempFileURL", OWN_ATTR_MEDIA_TEMPFILEURL, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
713 { u"MediaMimeType", OWN_ATTR_MEDIA_MIMETYPE, cppu::UnoType<OUString>::get(), 0, 0},
714 { u"FallbackGraphic", OWN_ATTR_FALLBACK_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
717 };
718
719 return aMediaShapePropertyMap_Impl;
720}
721
723{
724 static SfxItemPropertyMapEntry const aTableShapePropertyMap_Impl[] =
725 {
730 { UNO_NAME_LINKDISPLAYBITMAP, OWN_ATTR_LDBITMAP, cppu::UnoType<css::awt::XBitmap>::get(), css::beans::PropertyAttribute::READONLY, 0},
731 { UNO_NAME_LINKDISPLAYNAME, OWN_ATTR_LDNAME, cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
735 { UNO_NAME_MISC_OBJ_BOUNDRECT, OWN_ATTR_BOUNDRECT, cppu::UnoType<css::awt::Rectangle>::get(), css::beans::PropertyAttribute::READONLY, 0},
737 { u"UINameSingular", OWN_ATTR_UINAME_SINGULAR , ::cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::READONLY, 0},
740 { u"Model", OWN_ATTR_OLEMODEL , cppu::UnoType<css::table::XTable>::get(), css::beans::PropertyAttribute::READONLY, 0},
742 { u"UseFirstRowStyle", OWN_ATTR_TABLETEMPLATE_FIRSTROW, cppu::UnoType<bool>::get(),0, 0},
743 { u"UseLastRowStyle", OWN_ATTR_TABLETEMPLATE_LASTROW, cppu::UnoType<bool>::get(),0, 0},
744 { u"UseFirstColumnStyle", OWN_ATTR_TABLETEMPLATE_FIRSTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
745 { u"UseLastColumnStyle", OWN_ATTR_TABLETEMPLATE_LASTCOLUMN, cppu::UnoType<bool>::get(),0, 0},
746 { u"UseBandingRowStyle", OWN_ATTR_TABLETEMPLATE_BANDINGROWS, cppu::UnoType<bool>::get(),0, 0},
747 { u"UseBandingColumnStyle", OWN_ATTR_TABLETEMPLATE_BANDINGCOLUMNS, cppu::UnoType<bool>::get(),0, 0},
748 { u"ReplacementGraphic", OWN_ATTR_REPLACEMENT_GRAPHIC, cppu::UnoType<css::graphic::XGraphic>::get(), css::beans::PropertyAttribute::READONLY, 0},
749 };
750
751 return aTableShapePropertyMap_Impl;
752}
753
755{
756 static comphelper::PropertyMapEntry const aSvxDrawingDefaultsPropertyMap_Impl[] =
757 {
770 };
771
772 return aSvxDrawingDefaultsPropertyMap_Impl;
773}
774
776{
777 static comphelper::PropertyMapEntry const aSvxAdditionalDefaultsPropertyMap_Impl[] =
778 {
779 { "IsFollowingTextFlow", SID_SW_FOLLOW_TEXT_FLOW, cppu::UnoType<bool>::get(), 0, 0},
780 };
781
782 return aSvxAdditionalDefaultsPropertyMap_Impl;
783}
784
785typedef std::unordered_map< OUString, SdrObjKind > UHashMapImpl;
786
787namespace {
788
789const UHashMapImpl& GetUHashImpl()
790{
791 static UHashMapImpl const aImpl
792 {
793 { "com.sun.star.drawing.RectangleShape", SdrObjKind::Rectangle },
794 { "com.sun.star.drawing.EllipseShape", SdrObjKind::CircleOrEllipse },
795 { "com.sun.star.drawing.ControlShape", SdrObjKind::UNO },
796 { "com.sun.star.drawing.ConnectorShape", SdrObjKind::Edge },
797 { "com.sun.star.drawing.MeasureShape", SdrObjKind::Measure },
798 { "com.sun.star.drawing.LineShape", SdrObjKind::Line },
799 { "com.sun.star.drawing.PolyPolygonShape", SdrObjKind::Polygon },
800 { "com.sun.star.drawing.PolyLineShape", SdrObjKind::PolyLine },
801 { "com.sun.star.drawing.OpenBezierShape", SdrObjKind::PathLine },
802 { "com.sun.star.drawing.ClosedBezierShape", SdrObjKind::PathFill },
803 { "com.sun.star.drawing.OpenFreeHandShape", SdrObjKind::FreehandLine },
804 { "com.sun.star.drawing.ClosedFreeHandShape", SdrObjKind::FreehandFill },
805 { "com.sun.star.drawing.PolyPolygonPathShape", SdrObjKind::PathPoly },
806 { "com.sun.star.drawing.PolyLinePathShape", SdrObjKind::PathPolyLine },
807 { "com.sun.star.drawing.GraphicObjectShape", SdrObjKind::Graphic },
808 { "com.sun.star.drawing.GroupShape", SdrObjKind::Group },
809 { "com.sun.star.drawing.TextShape", SdrObjKind::Text },
810 { "com.sun.star.drawing.OLE2Shape", SdrObjKind::OLE2 },
811 { "com.sun.star.drawing.PageShape", SdrObjKind::Page },
812 { "com.sun.star.drawing.CaptionShape", SdrObjKind::Caption },
813 { "com.sun.star.drawing.FrameShape", SdrObjKind::OLEPluginFrame },
814 { "com.sun.star.drawing.PluginShape", SdrObjKind::OLE2Plugin },
815 { "com.sun.star.drawing.AppletShape", SdrObjKind::OLE2Applet },
816 { "com.sun.star.drawing.CustomShape", SdrObjKind::CustomShape },
817 { "com.sun.star.drawing.MediaShape", SdrObjKind::Media },
818
819 { "com.sun.star.drawing.Shape3DSceneObject", SdrObjKind::E3D_Scene },
820 { "com.sun.star.drawing.Shape3DCubeObject", SdrObjKind::E3D_Cube },
821 { "com.sun.star.drawing.Shape3DSphereObject", SdrObjKind::E3D_Sphere },
822 { "com.sun.star.drawing.Shape3DLatheObject", SdrObjKind::E3D_Lathe },
823 { "com.sun.star.drawing.Shape3DExtrudeObject", SdrObjKind::E3D_Extrusion },
824 { "com.sun.star.drawing.Shape3DPolygonObject", SdrObjKind::E3D_Polygon },
825 };
826
827 return aImpl;
828}
829
830}
831
832
834{
835 const UHashMapImpl &rMap = GetUHashImpl();
836
837 auto it = std::find_if(rMap.begin(), rMap.end(),
838 [nId](const UHashMapImpl::value_type& rEntry) { return rEntry.second == nId; });
839 if (it != rMap.end())
840 return it->first;
841 SAL_WARN("svx", "[CL] unknown SdrObjKind identifier " << static_cast<int>(nId));
842 return OUString();
843}
844
845uno::Sequence< OUString > UHashMap::getServiceNames()
846{
847 return comphelper::mapKeysToSequence( GetUHashImpl() );
848}
849
850std::optional<SdrObjKind> UHashMap::getId( const OUString& rCompareString )
851{
852 const UHashMapImpl &rMap = GetUHashImpl();
853 UHashMapImpl::const_iterator it = rMap.find( rCompareString );
854 if( it == rMap.end() )
855 return {};
856 else
857 return it->second;
858}
859
861{
862 static SvxUnoPropertyMapProvider theSvxMapProvider;
863 return theSvxMapProvider;
864}
865
866
868{
869 for(sal_uInt16 i=0;i<SVXMAP_END; i++)
870 aSetArr[i] = nullptr;
871}
872
874{
875}
876
877
879{
880 assert(nPropertyId < SVXMAP_END);
881 if(aMapArr[nPropertyId].empty()) {
882 switch(nPropertyId) {
908
909 default:
910 OSL_FAIL( "Unknown property map for SvxUnoPropertyMapProvider!" );
911 }
912// Sort(nPropertyId);
913 }
914 return aMapArr[nPropertyId];
915}
917{
918 if( !aSetArr[nPropertyId] )
920 return aSetArr[nPropertyId].get();
921}
922
926bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) noexcept
927{
928 switch( eVcl )
929 {
930 case MapUnit::Map100thMM: eApi = util::MeasureUnit::MM_100TH; break;
931 case MapUnit::Map10thMM: eApi = util::MeasureUnit::MM_10TH; break;
932 case MapUnit::MapMM: eApi = util::MeasureUnit::MM; break;
933 case MapUnit::MapCM: eApi = util::MeasureUnit::CM; break;
934 case MapUnit::Map1000thInch: eApi = util::MeasureUnit::INCH_1000TH; break;
935 case MapUnit::Map100thInch: eApi = util::MeasureUnit::INCH_100TH; break;
936 case MapUnit::Map10thInch: eApi = util::MeasureUnit::INCH_10TH; break;
937 case MapUnit::MapInch: eApi = util::MeasureUnit::INCH; break;
938 case MapUnit::MapPoint: eApi = util::MeasureUnit::POINT; break;
939 case MapUnit::MapTwip: eApi = util::MeasureUnit::TWIP; break;
940 case MapUnit::MapRelative: eApi = util::MeasureUnit::PERCENT; break;
941 default:
942 return false;
943 }
944
945 return true;
946}
947
952bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) noexcept
953{
954 switch( eApi )
955 {
956 case util::MeasureUnit::MM: eVcl = FieldUnit::MM; break;
957 case util::MeasureUnit::CM: eVcl = FieldUnit::CM; break;
958 case util::MeasureUnit::M: eVcl = FieldUnit::M; break;
959 case util::MeasureUnit::KM: eVcl = FieldUnit::KM; break;
960 case util::MeasureUnit::TWIP: eVcl = FieldUnit::TWIP; break;
961 case util::MeasureUnit::POINT: eVcl = FieldUnit::POINT; break;
962 case util::MeasureUnit::PICA: eVcl = FieldUnit::PICA; break;
963 case util::MeasureUnit::INCH: eVcl = FieldUnit::INCH; break;
964 case util::MeasureUnit::FOOT: eVcl = FieldUnit::FOOT; break;
965 case util::MeasureUnit::MILE: eVcl = FieldUnit::MILE; break;
966 case util::MeasureUnit::PERCENT: eVcl = FieldUnit::PERCENT; break;
967 case util::MeasureUnit::MM_100TH: eVcl = FieldUnit::MM_100TH; break;
968 default:
969 return false;
970 }
971
972 return true;
973}
974
978bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) noexcept
979{
980 switch( eVcl )
981 {
982 case FieldUnit::MM: eApi = util::MeasureUnit::MM; break;
983 case FieldUnit::CM: eApi = util::MeasureUnit::CM; break;
984 case FieldUnit::M: eApi = util::MeasureUnit::M; break;
985 case FieldUnit::KM: eApi = util::MeasureUnit::KM; break;
986 case FieldUnit::TWIP: eApi = util::MeasureUnit::TWIP; break;
987 case FieldUnit::POINT: eApi = util::MeasureUnit::POINT; break;
988 case FieldUnit::PICA: eApi = util::MeasureUnit::PICA; break;
989 case FieldUnit::INCH: eApi = util::MeasureUnit::INCH; break;
990 case FieldUnit::FOOT: eApi = util::MeasureUnit::FOOT; break;
991 case FieldUnit::MILE: eApi = util::MeasureUnit::MILE; break;
992 case FieldUnit::PERCENT: eApi = util::MeasureUnit::PERCENT; break;
993 case FieldUnit::MM_100TH: eApi = util::MeasureUnit::MM_100TH; break;
994 default:
995 return false;
996 }
997
998 return true;
999}
1000
1001constexpr rtl::OUStringConstExpr RID_SVXSTR_BMP_DEF[] =
1002{
1096};
1097
1099{
1100 RID_SVXSTR_BMP0,
1101 RID_SVXSTR_BMP1,
1102 RID_SVXSTR_BMP2,
1103 RID_SVXSTR_BMP3,
1104 RID_SVXSTR_BMP4,
1105 RID_SVXSTR_BMP5,
1106 RID_SVXSTR_BMP6,
1107 RID_SVXSTR_BMP7,
1108 RID_SVXSTR_BMP8,
1109 RID_SVXSTR_BMP9,
1110 RID_SVXSTR_BMP10,
1111 RID_SVXSTR_BMP11,
1112 RID_SVXSTR_BMP12,
1113 RID_SVXSTR_BMP13,
1114 RID_SVXSTR_BMP14,
1115 RID_SVXSTR_BMP15,
1116 RID_SVXSTR_BMP16,
1117 RID_SVXSTR_BMP17,
1118 RID_SVXSTR_BMP18,
1119 RID_SVXSTR_BMP19,
1120 RID_SVXSTR_BMP20,
1121 RID_SVXSTR_BMP21,
1122 RID_SVXSTR_BMP22,
1123 RID_SVXSTR_BMP23,
1124 RID_SVXSTR_BMP24,
1125 RID_SVXSTR_BMP25,
1126 RID_SVXSTR_BMP26,
1127 RID_SVXSTR_BMP27,
1128 RID_SVXSTR_BMP28,
1129 RID_SVXSTR_BMP29,
1130 RID_SVXSTR_BMP30,
1131 RID_SVXSTR_BMP31,
1132 RID_SVXSTR_BMP32,
1133 RID_SVXSTR_BMP33,
1134 RID_SVXSTR_BMP34,
1135 RID_SVXSTR_BMP35,
1136 RID_SVXSTR_BMP36,
1137 RID_SVXSTR_BMP37,
1138 RID_SVXSTR_BMP38,
1139 RID_SVXSTR_BMP39,
1140 RID_SVXSTR_BMP40,
1141 RID_SVXSTR_BMP41,
1142 RID_SVXSTR_BMP42,
1143 RID_SVXSTR_BMP43,
1144 RID_SVXSTR_BMP44,
1145 RID_SVXSTR_BMP45,
1146 RID_SVXSTR_BMP46,
1147 RID_SVXSTR_BMP47,
1148 RID_SVXSTR_BMP48,
1149 RID_SVXSTR_BMP49,
1150 RID_SVXSTR_BMP50,
1151 RID_SVXSTR_BMP51,
1152 RID_SVXSTR_BMP52,
1153 RID_SVXSTR_BMP53,
1154 RID_SVXSTR_BMP54,
1155 RID_SVXSTR_BMP55,
1156 RID_SVXSTR_BMP56,
1157 RID_SVXSTR_BMP57,
1158 RID_SVXSTR_BMP58,
1159 RID_SVXSTR_BMP59,
1160 RID_SVXSTR_BMP60,
1161 RID_SVXSTR_BMP61,
1162 RID_SVXSTR_BMP62,
1163 RID_SVXSTR_BMP63,
1164 RID_SVXSTR_BMP64,
1165 RID_SVXSTR_BMP65,
1166 RID_SVXSTR_BMP66,
1167 RID_SVXSTR_BMP67,
1168 RID_SVXSTR_BMP68,
1169 RID_SVXSTR_BMP69,
1170 RID_SVXSTR_BMP70,
1171 RID_SVXSTR_BMP71,
1172 RID_SVXSTR_BMP72,
1173 RID_SVXSTR_BMP73,
1174 RID_SVXSTR_BMP74,
1175 RID_SVXSTR_BMP75,
1176 RID_SVXSTR_BMP76,
1177 RID_SVXSTR_BMP77,
1178 RID_SVXSTR_BMP78,
1179 RID_SVXSTR_BMP79,
1180 RID_SVXSTR_BMP80,
1181 RID_SVXSTR_BMP81,
1182 RID_SVXSTR_BMP82,
1183 RID_SVXSTR_BMP83,
1184 RID_SVXSTR_BMP84,
1185 RID_SVXSTR_BMP85,
1186 RID_SVXSTR_BMP86,
1187 RID_SVXSTR_BMP87,
1188 RID_SVXSTR_BMP88,
1189 RID_SVXSTR_BMP89,
1190 RID_SVXSTR_BMP90,
1191 RID_SVXSTR_BMP91,
1192 RID_SVXSTR_BMP92
1193};
1194
1195constexpr rtl::OUStringConstExpr RID_SVXSTR_DASH_DEF[] =
1196{
1228
1229};
1230
1232{
1233 RID_SVXSTR_DASH0,
1234 RID_SVXSTR_DASH1,
1235 RID_SVXSTR_DASH2,
1236 RID_SVXSTR_DASH3,
1237 RID_SVXSTR_DASH4,
1238 RID_SVXSTR_DASH5,
1239 RID_SVXSTR_DASH6,
1240 RID_SVXSTR_DASH7,
1241 RID_SVXSTR_DASH8,
1242 RID_SVXSTR_DASH9,
1243 RID_SVXSTR_DASH10,
1244 RID_SVXSTR_DASH11,
1245 RID_SVXSTR_DASH12,
1246 RID_SVXSTR_DASH13,
1247 RID_SVXSTR_DASH14,
1248 RID_SVXSTR_DASH15,
1249 RID_SVXSTR_DASH16,
1250 RID_SVXSTR_DASH17,
1251 RID_SVXSTR_DASH18,
1252 RID_SVXSTR_DASH19,
1253 RID_SVXSTR_DASH20,
1254 RID_SVXSTR_DASH21,
1255 RID_SVXSTR_DASH22,
1256 RID_SVXSTR_DASH23,
1257 RID_SVXSTR_DASH24,
1258 RID_SVXSTR_DASH25,
1259 RID_SVXSTR_DASH26,
1260 RID_SVXSTR_DASH27,
1261 RID_SVXSTR_DASH28,
1262 RID_SVXSTR_DASH29,
1263 RID_SVXSTR_DASH30
1264};
1265
1266constexpr rtl::OUStringConstExpr RID_SVXSTR_LEND_DEF[] =
1267{
1300};
1301
1303{
1304 RID_SVXSTR_LEND0,
1305 RID_SVXSTR_LEND1,
1306 RID_SVXSTR_LEND2,
1307 RID_SVXSTR_LEND3,
1308 RID_SVXSTR_LEND4,
1309 RID_SVXSTR_LEND5,
1310 RID_SVXSTR_LEND6,
1311 RID_SVXSTR_LEND7,
1312 RID_SVXSTR_LEND8,
1313 RID_SVXSTR_LEND9,
1314 RID_SVXSTR_LEND10,
1315 RID_SVXSTR_LEND11,
1316 RID_SVXSTR_LEND12,
1317 RID_SVXSTR_LEND13,
1318 RID_SVXSTR_LEND14,
1319 RID_SVXSTR_LEND15,
1320 RID_SVXSTR_LEND16,
1321 RID_SVXSTR_LEND17,
1322 RID_SVXSTR_LEND18,
1323 RID_SVXSTR_LEND19,
1324 RID_SVXSTR_LEND20,
1325 RID_SVXSTR_LEND21,
1326 RID_SVXSTR_LEND22,
1327 RID_SVXSTR_LEND23,
1328 RID_SVXSTR_LEND24,
1329 RID_SVXSTR_LEND25,
1330 RID_SVXSTR_LEND26,
1331 RID_SVXSTR_LEND27,
1332 RID_SVXSTR_LEND28,
1333 RID_SVXSTR_LEND29,
1334 RID_SVXSTR_LEND30,
1335 RID_SVXSTR_LEND31
1336};
1337
1338constexpr rtl::OUStringConstExpr RID_SVXSTR_GRDT_DEF[] =
1339{
1425};
1426
1428{
1429 RID_SVXSTR_GRDT0,
1430 RID_SVXSTR_GRDT1,
1431 RID_SVXSTR_GRDT2,
1432 RID_SVXSTR_GRDT3,
1433 RID_SVXSTR_GRDT4,
1434 RID_SVXSTR_GRDT5,
1435 RID_SVXSTR_GRDT6,
1436 RID_SVXSTR_GRDT7,
1437 RID_SVXSTR_GRDT8,
1438 RID_SVXSTR_GRDT9,
1439 RID_SVXSTR_GRDT10,
1440 RID_SVXSTR_GRDT11,
1441 RID_SVXSTR_GRDT12,
1442 RID_SVXSTR_GRDT13,
1443 RID_SVXSTR_GRDT14,
1444 RID_SVXSTR_GRDT15,
1445 RID_SVXSTR_GRDT16,
1446 RID_SVXSTR_GRDT17,
1447 RID_SVXSTR_GRDT18,
1448 RID_SVXSTR_GRDT19,
1449 RID_SVXSTR_GRDT20,
1450 RID_SVXSTR_GRDT21,
1451 RID_SVXSTR_GRDT22,
1452 RID_SVXSTR_GRDT23,
1453 RID_SVXSTR_GRDT24,
1454 RID_SVXSTR_GRDT25,
1455 RID_SVXSTR_GRDT26,
1456 RID_SVXSTR_GRDT27,
1457 RID_SVXSTR_GRDT28,
1458 RID_SVXSTR_GRDT29,
1459 RID_SVXSTR_GRDT30,
1460 RID_SVXSTR_GRDT31,
1461 RID_SVXSTR_GRDT32,
1462 RID_SVXSTR_GRDT33,
1463 RID_SVXSTR_GRDT34,
1464 RID_SVXSTR_GRDT35,
1465 RID_SVXSTR_GRDT36,
1466 RID_SVXSTR_GRDT37,
1467 RID_SVXSTR_GRDT38,
1468 RID_SVXSTR_GRDT39,
1469 RID_SVXSTR_GRDT40,
1470 RID_SVXSTR_GRDT41,
1471 RID_SVXSTR_GRDT42,
1472 RID_SVXSTR_GRDT43,
1473 RID_SVXSTR_GRDT44,
1474 RID_SVXSTR_GRDT45,
1475 RID_SVXSTR_GRDT46,
1476 RID_SVXSTR_GRDT47,
1477 RID_SVXSTR_GRDT48,
1478 RID_SVXSTR_GRDT49,
1479 RID_SVXSTR_GRDT50,
1480 RID_SVXSTR_GRDT51,
1481 RID_SVXSTR_GRDT52,
1482 RID_SVXSTR_GRDT53,
1483 RID_SVXSTR_GRDT54,
1484 RID_SVXSTR_GRDT55,
1485 RID_SVXSTR_GRDT56,
1486 RID_SVXSTR_GRDT57,
1487 RID_SVXSTR_GRDT58,
1488 RID_SVXSTR_GRDT59,
1489 RID_SVXSTR_GRDT60,
1490 RID_SVXSTR_GRDT61,
1491 RID_SVXSTR_GRDT62,
1492 RID_SVXSTR_GRDT63,
1493 RID_SVXSTR_GRDT64,
1494 RID_SVXSTR_GRDT65,
1495 RID_SVXSTR_GRDT66,
1496 RID_SVXSTR_GRDT67,
1497 RID_SVXSTR_GRDT68,
1498 RID_SVXSTR_GRDT69,
1499 RID_SVXSTR_GRDT70,
1500 RID_SVXSTR_GRDT71,
1501 RID_SVXSTR_GRDT72,
1502 RID_SVXSTR_GRDT73,
1503 RID_SVXSTR_GRDT74,
1504 RID_SVXSTR_GRDT75,
1505 RID_SVXSTR_GRDT76,
1506 RID_SVXSTR_GRDT77,
1507 RID_SVXSTR_GRDT78,
1508 RID_SVXSTR_GRDT79,
1509 RID_SVXSTR_GRDT80,
1510 RID_SVXSTR_GRDT81,
1511 RID_SVXSTR_GRDT82,
1512 RID_SVXSTR_GRDT83,
1513 RID_SVXSTR_GRDT84
1514};
1515
1516constexpr rtl::OUStringConstExpr RID_SVXSTR_HATCHS_DEF[] =
1517{
1534};
1535
1537{
1538 RID_SVXSTR_HATCH0,
1539 RID_SVXSTR_HATCH1,
1540 RID_SVXSTR_HATCH2,
1541 RID_SVXSTR_HATCH3,
1542 RID_SVXSTR_HATCH4,
1543 RID_SVXSTR_HATCH5,
1544 RID_SVXSTR_HATCH6,
1545 RID_SVXSTR_HATCH7,
1546 RID_SVXSTR_HATCH8,
1547 RID_SVXSTR_HATCH9,
1548 RID_SVXSTR_HATCH10,
1549 RID_SVXSTR_HATCH11,
1550 RID_SVXSTR_HATCH12,
1551 RID_SVXSTR_HATCH13,
1552 RID_SVXSTR_HATCH14,
1553 RID_SVXSTR_HATCH15
1554};
1555
1556constexpr rtl::OUStringConstExpr RID_SVXSTR_TRASNGR_DEF[] =
1557{
1559};
1560
1562{
1563 RID_SVXSTR_TRASNGR0
1564};
1565
1566static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const rtl::OUStringConstExpr*& pApiResIds, const TranslateId*& pIntResIds, int& nCount ) noexcept
1567{
1568 switch( nWhich )
1569 {
1570 case XATTR_FILLBITMAP:
1571 pApiResIds = RID_SVXSTR_BMP_DEF;
1572 pIntResIds = RID_SVXSTR_BMP;
1574 break;
1575 case XATTR_LINEDASH:
1576 pApiResIds = RID_SVXSTR_DASH_DEF;
1577 pIntResIds = RID_SVXSTR_DASH;
1579 break;
1580
1581 case XATTR_LINESTART:
1582 case XATTR_LINEEND:
1583 pApiResIds = RID_SVXSTR_LEND_DEF;
1584 pIntResIds = RID_SVXSTR_LEND;
1586 break;
1587
1588 case XATTR_FILLGRADIENT:
1589 pApiResIds = RID_SVXSTR_GRDT_DEF;
1590 pIntResIds = RID_SVXSTR_GRDT;
1592 break;
1593
1594 case XATTR_FILLHATCH:
1595 pApiResIds = RID_SVXSTR_HATCHS_DEF;
1596 pIntResIds = RID_SVXSTR_HATCHS;
1598 break;
1599
1601 pApiResIds = RID_SVXSTR_TRASNGR_DEF;
1602 pIntResIds = RID_SVXSTR_TRASNGR;
1604 break;
1605
1606 default:
1607 return false;
1608 }
1609 return true;
1610}
1611
1613static bool SvxUnoConvertResourceStringToApi(const TranslateId* pSourceResIds, const rtl::OUStringConstExpr* pDestResIds, int nCount, OUString& rString)
1614{
1615 // first, calculate the search string length without an optional number after the name
1616 sal_Int32 nLength = rString.getLength();
1617 while( nLength > 0 )
1618 {
1619 const sal_Unicode nChar = rString[ nLength - 1 ];
1620 if( (nChar < '0') || (nChar > '9') )
1621 break;
1622
1623 nLength--;
1624 }
1625
1626 // if we cut off a number, also cut of some spaces
1627 if( nLength != rString.getLength() )
1628 {
1629 while( nLength > 0 )
1630 {
1631 const sal_Unicode nChar = rString[ nLength - 1 ];
1632 if( nChar != ' ' )
1633 break;
1634
1635 nLength--;
1636 }
1637 }
1638
1639 const std::u16string_view aShortString( rString.subView( 0, nLength ) );
1640
1641 for (int i = 0; i < nCount; ++i)
1642 {
1643 const OUString & aCompare = SvxResId(pSourceResIds[i]);
1644 if( aShortString == aCompare )
1645 {
1646 rString = rString.replaceAt( 0, aShortString.size(), OUString(pDestResIds[i]) );
1647 return true;
1648 }
1649 else if( rString == aCompare )
1650 {
1651 rString = pDestResIds[i];
1652 return true;
1653 }
1654 }
1655
1656 return false;
1657}
1658
1659static bool SvxUnoConvertResourceStringFromApi(const rtl::OUStringConstExpr* pSourceResIds, const TranslateId* pDestResIds, int nCount, OUString& rString)
1660{
1661 // first, calculate the search string length without an optional number after the name
1662 sal_Int32 nLength = rString.getLength();
1663 while( nLength > 0 )
1664 {
1665 const sal_Unicode nChar = rString[ nLength - 1 ];
1666 if( (nChar < '0') || (nChar > '9') )
1667 break;
1668
1669 nLength--;
1670 }
1671
1672 // if we cut off a number, also cut of some spaces
1673 if( nLength != rString.getLength() )
1674 {
1675 while( nLength > 0 )
1676 {
1677 const sal_Unicode nChar = rString[ nLength - 1 ];
1678 if( nChar != ' ' )
1679 break;
1680
1681 nLength--;
1682 }
1683 }
1684
1685 const std::u16string_view aShortString( rString.subView( 0, nLength ) );
1686
1687 for (int i = 0; i < nCount; ++i)
1688 {
1689 auto pCompare = pSourceResIds[i];
1690 if( aShortString == pCompare.asView() )
1691 {
1692 rString = rString.replaceAt( 0, aShortString.size(), SvxResId(pDestResIds[i]) );
1693 return true;
1694 }
1695 else if( rString == pCompare )
1696 {
1697 rString = SvxResId(pDestResIds[i]);
1698 return true;
1699 }
1700 }
1701
1702 return false;
1703}
1704
1705// #i122649# Some comments on the below arrays:
1706// - They need to have the same order and count of items
1707// - They are used to translate between translated and non-translated color names
1708// - To make longer names be found which start with the same basic string,
1709// these have to be in front of others
1710
1711// It would be nice to:
1712// - evtl. organize these in a single array with 2-dimensional inner to eliminate
1713// the possibility to define it wrong
1714// - change the compare to also work when a shorter name is in front of a longer one
1715
1716constexpr rtl::OUStringConstExpr SvxUnoColorNameDefResId[] =
1717{
1818};
1819
1821{
1822 RID_SVXSTR_COLOR_BLUEGREY,
1823 RID_SVXSTR_COLOR_BLACK,
1824 RID_SVXSTR_COLOR_BLUE_CLASSIC,
1825 RID_SVXSTR_COLOR_BLUE,
1826 RID_SVXSTR_COLOR_GREEN,
1827 RID_SVXSTR_COLOR_RED,
1828 RID_SVXSTR_COLOR_MAGENTA,
1829 RID_SVXSTR_COLOR_GREY,
1830 RID_SVXSTR_COLOR_YELLOWGREEN,
1831 RID_SVXSTR_COLOR_YELLOW,
1832 RID_SVXSTR_COLOR_WHITE,
1833 RID_SVXSTR_COLOR_ORANGE,
1834 RID_SVXSTR_COLOR_BORDEAUX,
1835 RID_SVXSTR_COLOR_PALE_YELLOW,
1836 RID_SVXSTR_COLOR_PALE_GREEN,
1837 RID_SVXSTR_COLOR_DARKVIOLET,
1838 RID_SVXSTR_COLOR_SALMON,
1839 RID_SVXSTR_COLOR_SEABLUE,
1840 RID_SVXSTR_COLOR_CHART,
1841 RID_SVXSTR_COLOR_PURPLE,
1842 RID_SVXSTR_COLOR_SKYBLUE,
1843 RID_SVXSTR_COLOR_PINK,
1844 RID_SVXSTR_COLOR_TURQUOISE,
1845 RID_SVXSTR_COLOR_GOLD,
1846 RID_SVXSTR_COLOR_BRICK,
1847 RID_SVXSTR_COLOR_INDIGO,
1848 RID_SVXSTR_COLOR_TEAL,
1849 RID_SVXSTR_COLOR_LIME,
1850 RID_SVXSTR_COLOR_LIGHTGRAY,
1851 RID_SVXSTR_COLOR_LIGHTYELLOW,
1852 RID_SVXSTR_COLOR_LIGHTGOLD,
1853 RID_SVXSTR_COLOR_LIGHTORANGE,
1854 RID_SVXSTR_COLOR_LIGHTBRICK,
1855 RID_SVXSTR_COLOR_LIGHTRED,
1856 RID_SVXSTR_COLOR_LIGHTMAGENTA,
1857 RID_SVXSTR_COLOR_LIGHTPURPLE,
1858 RID_SVXSTR_COLOR_LIGHTINDIGO,
1859 RID_SVXSTR_COLOR_LIGHTBLUE,
1860 RID_SVXSTR_COLOR_LIGHTTEAL,
1861 RID_SVXSTR_COLOR_LIGHTGREEN,
1862 RID_SVXSTR_COLOR_LIGHTLIME,
1863 RID_SVXSTR_COLOR_DARKGRAY,
1864 RID_SVXSTR_COLOR_DARKYELLOW,
1865 RID_SVXSTR_COLOR_DARKGOLD,
1866 RID_SVXSTR_COLOR_DARKORANGE,
1867 RID_SVXSTR_COLOR_DARKBRICK,
1868 RID_SVXSTR_COLOR_DARKRED,
1869 RID_SVXSTR_COLOR_DARKMAGENTA,
1870 RID_SVXSTR_COLOR_DARKPURPLE,
1871 RID_SVXSTR_COLOR_DARKINDIGO,
1872 RID_SVXSTR_COLOR_DARKBLUE,
1873 RID_SVXSTR_COLOR_DARKTEAL,
1874 RID_SVXSTR_COLOR_DARKGREEN,
1875 RID_SVXSTR_COLOR_DARKLIME,
1876 RID_SVXSTR_COLOR_VIOLET,
1877 RID_SVXSTR_COLOR_VIOLET_OUG,
1878 RID_SVXSTR_COLOR_BLUE_OUG,
1879 RID_SVXSTR_COLOR_AZURE_OUG,
1880 RID_SVXSTR_COLOR_SPRINGGREEN_OUG,
1881 RID_SVXSTR_COLOR_GREEN_OUG,
1882 RID_SVXSTR_COLOR_CHARTREUSEGREEN_OUG,
1883 RID_SVXSTR_COLOR_ORANGE_OUG,
1884 RID_SVXSTR_COLOR_RED_OUG,
1885 RID_SVXSTR_COLOR_ROSE_OUG,
1886 RID_SVXSTR_COLOR_AZURE,
1887 RID_SVXSTR_COLOR_CYAN,
1888 RID_SVXSTR_COLOR_SPRINGGREEN,
1889 RID_SVXSTR_COLOR_CHARTREUSEGREEN,
1890 RID_SVXSTR_COLOR_ROSE,
1891 RID_SVXSTR_COLOR_MATERIAL_GRAY_A,
1892 RID_SVXSTR_COLOR_MATERIAL_YELLOW_A,
1893 RID_SVXSTR_COLOR_MATERIAL_AMBER_A,
1894 RID_SVXSTR_COLOR_MATERIAL_AMBER,
1895 RID_SVXSTR_COLOR_MATERIAL_ORANGE_A,
1896 RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A,
1897 RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE,
1898 RID_SVXSTR_COLOR_MATERIAL_RED_A,
1899 RID_SVXSTR_COLOR_MATERIAL_PINK_A,
1900 RID_SVXSTR_COLOR_MATERIAL_PURPLE_A,
1901 RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A,
1902 RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE,
1903 RID_SVXSTR_COLOR_MATERIAL_INDIGO_A,
1904 RID_SVXSTR_COLOR_MATERIAL_BLUE_A,
1905 RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A,
1906 RID_SVXSTR_COLOR_MATERIAL_CYAN_A,
1907 RID_SVXSTR_COLOR_MATERIAL_TEAL_A,
1908 RID_SVXSTR_COLOR_MATERIAL_GREEN_A,
1909 RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A,
1910 RID_SVXSTR_COLOR_MATERIAL_LIME_A,
1911 RID_SVXSTR_COLOR_MATERIAL_BROWN_A,
1912 RID_SVXSTR_COLOR_MATERIAL_BROWN,
1913 RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A,
1914 RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY,
1915 RID_SVXSTR_COLOR_LIBRE_GREEN_1,
1916 RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT,
1917 RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT,
1918 RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT,
1919 RID_SVXSTR_COLOR_LIBRE_PURPLE,
1920 RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT,
1921 RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT
1922};
1923
1925static bool SvxUnoConvertResourceStringBuiltInToApi(const TranslateId* pSourceResIds, rtl::OUStringConstExpr const *pDestResIds, int nCount, OUString& rString)
1926{
1927 //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1928 //replace "Red Hat 1" with the translation of Red :-)
1929 sal_Int32 nLength = rString.getLength();
1930 while( nLength > 0 )
1931 {
1932 const sal_Unicode nChar = rString[nLength-1];
1933 if (nChar != '%' && (nChar < '0' || nChar > '9'))
1934 break;
1935 nLength--;
1936 }
1937 std::u16string_view sStr = o3tl::trim(rString.subView(0, nLength));
1938
1939 for(int i = 0; i < nCount; ++i )
1940 {
1941 OUString aStrDefName = SvxResId(pSourceResIds[i]);
1942 if( sStr == aStrDefName )
1943 {
1944 OUString aReplace = pDestResIds[i];
1945 rString = rString.replaceAt( 0, aStrDefName.getLength(), aReplace );
1946 return true;
1947 }
1948 }
1949
1950 return false;
1951}
1952
1953static bool SvxUnoConvertResourceStringBuiltInFromApi(rtl::OUStringConstExpr const *pSourceResIds, const TranslateId* pDestResIds, int nCount, OUString& rString)
1954{
1955 //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't
1956 //replace "Red Hat 1" with the translation of Red :-)
1957 sal_Int32 nLength = rString.getLength();
1958 while( nLength > 0 )
1959 {
1960 const sal_Unicode nChar = rString[nLength-1];
1961 if (nChar != '%' && (nChar < '0' || nChar > '9'))
1962 break;
1963 nLength--;
1964 }
1965 std::u16string_view sStr = o3tl::trim(rString.subView(0, nLength));
1966
1967 for(int i = 0; i < nCount; ++i )
1968 {
1969 if( sStr == pSourceResIds[i].asView() )
1970 {
1971 OUString aReplace = SvxResId(pDestResIds[i]);
1972 rString = aReplace + rString.subView( pSourceResIds[i].asView().size() );
1973 return true;
1974 }
1975 }
1976
1977 return false;
1978}
1979
1983OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString& rInternalName)
1984{
1985 OUString aNew = rInternalName;
1986
1987 if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
1988 {
1990 {
1991 return aNew;
1992 }
1993 }
1994 else
1995 {
1996 const rtl::OUStringConstExpr* pApiResIds;
1997 const TranslateId* pIntResIds;
1998 int nCount;
1999
2000 if( SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
2001 {
2002 if (SvxUnoConvertResourceStringToApi(pIntResIds, pApiResIds, nCount, aNew))
2003 {
2004 return aNew;
2005 }
2006 }
2007 }
2008
2009 // just use previous name, if nothing else was found.
2010 return rInternalName;
2011}
2012
2016OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& rApiName)
2017{
2018 OUString aNew = rApiName;
2019
2020 if( nWhich == sal_uInt16(XATTR_LINECOLOR) )
2021 {
2023 {
2024 return aNew;
2025 }
2026 }
2027 else
2028 {
2029 const rtl::OUStringConstExpr* pApiResIds;
2030 const TranslateId* pIntResIds;
2031 int nCount;
2032
2033 if (SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount))
2034 {
2035 if (SvxUnoConvertResourceStringFromApi(pApiResIds, pIntResIds, nCount, aNew))
2036 {
2037 return aNew;
2038 }
2039 }
2040 }
2041
2042 // just use previous name, if nothing else was found.
2043 return rApiName;
2044}
2045
2046
2047rtl::Reference<comphelper::PropertySetInfo> const & SvxPropertySetInfoPool::getOrCreate( sal_Int32 nServiceId ) noexcept
2048{
2049 SolarMutexGuard aGuard;
2050
2051 assert( nServiceId <= SVXUNO_SERVICEID_LASTID );
2052
2053 if( !mxInfos[ nServiceId ].is() )
2054 {
2055 mxInfos[nServiceId] = new comphelper::PropertySetInfo();
2056
2057 switch( nServiceId )
2058 {
2061 break;
2064 mxInfos[SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER]->remove( UNO_NAME_EDIT_PARA_IS_HANGING_PUNCTUATION );
2065 // OD 13.10.2003 #i18732# - add property map for writer item 'IsFollowingTextFlow'
2067 break;
2068
2069 default:
2070 OSL_FAIL( "unknown service id!" );
2071 }
2072 }
2073
2074 return mxInfos[ nServiceId ];
2075}
2076
2078
2079/* 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
o3tl::span< SfxItemPropertyMapEntry const > aMapArr[SVXMAP_END]
Definition: unoprov.hxx:85
const SvxItemPropertySet * GetPropertySet(sal_uInt16 nPropertyId, SfxItemPool &rPool)
Definition: unoprov.cxx:916
std::unique_ptr< SvxItemPropertySet > aSetArr[SVXMAP_END]
Definition: unoprov.hxx:86
o3tl::span< const SfxItemPropertyMapEntry > GetMap(sal_uInt16 nPropertyId)
Definition: unoprov.cxx:878
static css::uno::Sequence< OUString > getServiceNames()
Definition: unoprov.cxx:845
static std::optional< SdrObjKind > getId(const OUString &rCompareString)
Definition: unoprov.cxx:850
static OUString getNameFromId(SdrObjKind nId)
Definition: unoprov.cxx:833
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_WARN(area, stream)
#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< SdrGrafCropItem > SDRATTR_GRAFCROP(SDRATTR_GRAF_FIRST+9)
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
closed free-hand line
@ 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_GRAPHIC_GRAPHICCROP
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
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DExtrudeObjectPropertyMap()
Definition: unoprov.cxx:319
bool SvxMeasureUnitToFieldUnit(const short eApi, FieldUnit &eVcl) noexcept
maps the API constant MeasureUnit to a vcl MapUnit enum.
Definition: unoprov.cxx:952
constexpr rtl::OUStringConstExpr RID_SVXSTR_LEND_DEF[]
Definition: unoprov.cxx:1266
const TranslateId RID_SVXSTR_TRASNGR[]
Definition: unoprov.cxx:1561
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxControlShapePropertyMap()
Definition: unoprov.cxx:550
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DLatheObjectPropertyMap()
Definition: unoprov.cxx:294
SvxUnoPropertyMapProvider & getSvxMapProvider()
Definition: unoprov.cxx:860
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxDimensioningPropertyMap()
Definition: unoprov.cxx:129
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxTextShapePropertyMap()
Definition: unoprov.cxx:80
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxConnectorPropertyMap()
Definition: unoprov.cxx:104
const TranslateId RID_SVXSTR_BMP[]
Definition: unoprov.cxx:1098
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxMediaShapePropertyMap()
Definition: unoprov.cxx:688
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxAppletPropertyMap()
Definition: unoprov.cxx:517
static bool SvxUnoConvertResourceStringBuiltInFromApi(rtl::OUStringConstExpr const *pSourceResIds, const TranslateId *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1953
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxGraphicObjectPropertyMap()
Definition: unoprov.cxx:206
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxPluginPropertyMap()
Definition: unoprov.cxx:453
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxAllPropertyMap()
Definition: unoprov.cxx:364
const TranslateId RID_SVXSTR_HATCHS[]
Definition: unoprov.cxx:1536
constexpr rtl::OUStringConstExpr RID_SVXSTR_DASH_DEF[]
Definition: unoprov.cxx:1195
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DSceneObjectPropertyMap()
Definition: unoprov.cxx:238
const TranslateId RID_SVXSTR_DASH[]
Definition: unoprov.cxx:1231
static bool SvxUnoConvertResourceStringFromApi(const rtl::OUStringConstExpr *pSourceResIds, const TranslateId *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1659
bool SvxMapUnitToMeasureUnit(const MapUnit eVcl, short &eApi) noexcept
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:926
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxGroupPropertyMap()
Definition: unoprov.cxx:407
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxCustomShapePropertyMap()
Definition: unoprov.cxx:664
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxPolyPolygonPropertyMap()
Definition: unoprov.cxx:179
constexpr rtl::OUStringConstExpr SvxUnoColorNameDefResId[]
Definition: unoprov.cxx:1716
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DCubeObjectPropertyMap()
Definition: unoprov.cxx:255
std::unordered_map< OUString, SdrObjKind > UHashMapImpl
Definition: unoprov.cxx:785
static bool SvxUnoConvertResourceStringToApi(const TranslateId *pSourceResIds, const rtl::OUStringConstExpr *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1613
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxFramePropertyMap()
Definition: unoprov.cxx:483
const TranslateId RID_SVXSTR_LEND[]
Definition: unoprov.cxx:1302
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DSphereObjectPropertyMap()
Definition: unoprov.cxx:275
static bool SvxUnoConvertResourceStringBuiltInToApi(const TranslateId *pSourceResIds, rtl::OUStringConstExpr const *pDestResIds, int nCount, OUString &rString)
Definition: unoprov.cxx:1925
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxOle2PropertyMap()
Definition: unoprov.cxx:419
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxCirclePropertyMap()
Definition: unoprov.cxx:154
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:1983
constexpr rtl::OUStringConstExpr RID_SVXSTR_TRASNGR_DEF[]
Definition: unoprov.cxx:1556
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxCaptionPropertyMap()
Definition: unoprov.cxx:631
bool SvxFieldUnitToMeasureUnit(const FieldUnit eVcl, short &eApi) noexcept
maps the vcl MapUnit enum to an API constant MeasureUnit.
Definition: unoprov.cxx:978
constexpr rtl::OUStringConstExpr RID_SVXSTR_HATCHS_DEF[]
Definition: unoprov.cxx:1516
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:2016
const TranslateId RID_SVXSTR_GRDT[]
Definition: unoprov.cxx:1427
static o3tl::span< comphelper::PropertyMapEntry const > ImplGetAdditionalWriterDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:775
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxTableShapePropertyMap()
Definition: unoprov.cxx:722
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvx3DPolygonObjectPropertyMap()
Definition: unoprov.cxx:344
constexpr rtl::OUStringConstExpr RID_SVXSTR_GRDT_DEF[]
Definition: unoprov.cxx:1338
constexpr rtl::OUStringConstExpr RID_SVXSTR_BMP_DEF[]
Definition: unoprov.cxx:1001
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxPageShapePropertyMap()
Definition: unoprov.cxx:609
static o3tl::span< SfxItemPropertyMapEntry const > ImplGetSvxShapePropertyMap()
Definition: unoprov.cxx:56
static bool SvxUnoGetResourceRanges(const sal_uInt16 nWhich, const rtl::OUStringConstExpr *&pApiResIds, const TranslateId *&pIntResIds, int &nCount) noexcept
Definition: unoprov.cxx:1566
const TranslateId SvxUnoColorNameResId[]
Definition: unoprov.cxx:1820
static o3tl::span< comphelper::PropertyMapEntry const > ImplGetSvxDrawingDefaultsPropertyMap()
Definition: unoprov.cxx:754
#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:371
#define SPECIAL_GRAPHOBJ_PROPERTIES
Definition: unoshprp.hxx:455
#define LINE_PROPERTIES
Definition: unoshprp.hxx:248
#define OWN_ATTR_INTEROPGRABBAG
Definition: unoshprp.hxx:182
#define SPECIAL_3DPOLYGONOBJECT_PROPERTIES
Definition: unoshprp.hxx:566
#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:545
#define SPECIAL_CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:383
#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:531
#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:442
#define SPECIAL_DIMENSIONING_PROPERTIES
Definition: unoshprp.hxx:425
#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:537
#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:508
#define CONNECTOR_PROPERTIES
Definition: unoshprp.hxx:376
#define SPECIAL_3DEXTRUDEOBJECT_PROPERTIES
Definition: unoshprp.hxx:560
#define MISC_3D_OBJ_PROPERTIES
Definition: unoshprp.hxx:515
#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:430
#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:573
#define SPECIAL_DIMENSIONING_PROPERTIES_DEFAULTS
Definition: unoshprp.hxx:402
#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:435
#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:552
#define SPECIAL_POLYPOLYGON_PROPERTIES
Definition: unoshprp.hxx:438
#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