LibreOffice Module svx (master) 1
svdattr.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 <com/sun/star/drawing/TextFitToSizeType.hpp>
21#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
22#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
23#include <com/sun/star/drawing/TextAnimationKind.hpp>
24#include <com/sun/star/uno/Any.hxx>
25#include <com/sun/star/drawing/TextAnimationDirection.hpp>
26#include <com/sun/star/drawing/ConnectorType.hpp>
27#include <com/sun/star/drawing/MeasureKind.hpp>
28#include <com/sun/star/drawing/MeasureTextHorzPos.hpp>
29#include <com/sun/star/drawing/MeasureTextVertPos.hpp>
30#include <com/sun/star/drawing/CircleKind.hpp>
31
33
34#include <editeng/boxitem.hxx>
35#include <editeng/eeitem.hxx>
36#include <editeng/lineitem.hxx>
37#include <editeng/xmlcnitm.hxx>
40#include <osl/diagnose.h>
41#include <i18nutil/unicode.hxx>
42#include <tools/bigint.hxx>
45#include <vcl/svapp.hxx>
46#include <vcl/settings.hxx>
47
48#include <svl/grabbagitem.hxx>
49
50#include <svx/strings.hrc>
51#include <svx/dialmgr.hxx>
52#include <svx/sdgcpitm.hxx>
53#include <svx/sdtfchim.hxx>
54#include <svx/sdasitm.hxx>
55#include <sdgcoitm.hxx>
56#include <svx/sdggaitm.hxx>
57#include <sdginitm.hxx>
58#include <svx/sdgluitm.hxx>
59#include <svx/sdgmoitm.hxx>
60#include <sdgtritm.hxx>
61#include <svx/sdprcitm.hxx>
62#include <svx/sdtaaitm.hxx>
63#include <svx/sdtacitm.hxx>
64#include <svx/sdtaditm.hxx>
65#include <svx/sdtaiitm.hxx>
66#include <svx/sdtaitm.hxx>
67#include <svx/sdtakitm.hxx>
68#include <svx/sdtayitm.hxx>
69#include <svx/sdtfsitm.hxx>
70#include <svx/svdmodel.hxx>
71#include <svx/svdpool.hxx>
72#include <svx/svdtrans.hxx>
73#include <svx/svx3ditems.hxx>
74#include <svx/svxids.hrc>
75#include <sxallitm.hxx>
76#include <sxcaitm.hxx>
77#include <svx/sxcecitm.hxx>
78#include <svx/sxcgitm.hxx>
79#include <sxcikitm.hxx>
80#include <svx/sxcllitm.hxx>
81#include <svx/sxctitm.hxx>
82#include <svx/sxekitm.hxx>
83#include <svx/sxelditm.hxx>
84#include <svx/sxenditm.hxx>
85#include <sxfiitm.hxx>
86#include <sxlayitm.hxx>
87#include <sxlogitm.hxx>
88#include <svx/sxmbritm.hxx>
89#include <sxmfsitm.hxx>
90#include <sxmkitm.hxx>
91#include <sxmoitm.hxx>
92#include <sxmovitm.hxx>
93#include <sxmsitm.hxx>
94#include <sxmtaitm.hxx>
95#include <svx/sxmtfitm.hxx>
96#include <svx/sxmtpitm.hxx>
97#include <svx/sxmtritm.hxx>
98#include <svx/sxmuitm.hxx>
99#include <svx/xcolit.hxx>
101#include <sxoneitm.hxx>
102#include <sxopitm.hxx>
103#include <sxreaitm.hxx>
104#include <sxreoitm.hxx>
105#include <sxroaitm.hxx>
106#include <sxrooitm.hxx>
107#include <sxsaitm.hxx>
108#include <sxsalitm.hxx>
109#include <sxsiitm.hxx>
110#include <sxsoitm.hxx>
111#include <sxtraitm.hxx>
112#include <editeng/frmdiritem.hxx>
113#include <libxml/xmlwriter.h>
114
115using namespace ::com::sun::star;
116
118 SfxItemPool* _pMaster)
119: XOutdevItemPool(_pMaster)
120{
121 // prepare some constants
122 const Color aNullCol(COL_BLACK);
123 const sal_Int32 nDefEdgeDist(500); // Defaulting hard for Draw (100TH_MM) currently. MapMode will have to be taken into account in the future.
124
125 // init the non-persistent items
127 {
128 mpLocalItemInfos[i - SDRATTR_START]._bPoolable = false;
129 }
130
131 // init own PoolDefaults
132 std::vector<SfxPoolItem*>& rPoolDefaults = *mpLocalPoolDefaults;
133 rPoolDefaults[SDRATTR_SHADOW -SDRATTR_START]=new SdrOnOffItem(SDRATTR_SHADOW, false);
178 rPoolDefaults[SDRATTR_TEXT_USEFIXEDCELLHEIGHT -SDRATTR_START]=new SdrTextFixedCellHeightItem;
215 rPoolDefaults[SDRATTR_CIRCENDANGLE -SDRATTR_START]=new SdrAngleItem(SDRATTR_CIRCENDANGLE, 36000_deg100);
235 rPoolDefaults[SDRATTR_MOVEX -SDRATTR_START]=new SdrMoveXItem;
236 rPoolDefaults[SDRATTR_MOVEY -SDRATTR_START]=new SdrMoveYItem;
251 rPoolDefaults[SDRATTR_TEXTDIRECTION -SDRATTR_START]=new SvxWritingModeItem(css::text::WritingMode_LR_TB, SDRATTR_TEXTDIRECTION);
252 rPoolDefaults[ SDRATTR_GRAFRED - SDRATTR_START] = new SdrGrafRedItem;
253 rPoolDefaults[ SDRATTR_GRAFGREEN - SDRATTR_START] = new SdrGrafGreenItem;
254 rPoolDefaults[ SDRATTR_GRAFBLUE - SDRATTR_START] = new SdrGrafBlueItem;
258 rPoolDefaults[ SDRATTR_GRAFTRANSPARENCE - SDRATTR_START] = new SdrGrafTransparenceItem;
259 rPoolDefaults[ SDRATTR_GRAFINVERT - SDRATTR_START] = new SdrGrafInvertItem;
260 rPoolDefaults[ SDRATTR_GRAFMODE - SDRATTR_START] = new SdrGrafModeItem;
261 rPoolDefaults[ SDRATTR_GRAFCROP - SDRATTR_START] = new SdrGrafCropItem;
269 rPoolDefaults[ SDRATTR_3DOBJ_NORMALS_KIND - SDRATTR_START ] = new Svx3DNormalsKindItem;
271 rPoolDefaults[ SDRATTR_3DOBJ_TEXTURE_PROJ_X - SDRATTR_START ] = new Svx3DTextureProjectionXItem;
272 rPoolDefaults[ SDRATTR_3DOBJ_TEXTURE_PROJ_Y - SDRATTR_START ] = new Svx3DTextureProjectionYItem;
278 rPoolDefaults[ SDRATTR_3DOBJ_TEXTURE_KIND - SDRATTR_START ] = new Svx3DTextureKindItem;
279 rPoolDefaults[ SDRATTR_3DOBJ_TEXTURE_MODE - SDRATTR_START ] = new Svx3DTextureModeItem;
284 rPoolDefaults[ SDRATTR_3DOBJ_CLOSE_FRONT - SDRATTR_START ] = new Svx3DCloseFrontItem;
285 rPoolDefaults[ SDRATTR_3DOBJ_CLOSE_BACK - SDRATTR_START ] = new Svx3DCloseBackItem;
287 rPoolDefaults[ SDRATTR_3DSCENE_PERSPECTIVE - SDRATTR_START ] = new Svx3DPerspectiveItem;
308 rPoolDefaults[ SDRATTR_3DSCENE_LIGHTDIRECTION_1 - SDRATTR_START ] = new SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_1, basegfx::B3DVector(0.57735026918963, 0.57735026918963, 0.57735026918963));
317 rPoolDefaults[ SDRATTR_3DSCENE_SHADE_MODE - SDRATTR_START ] = new Svx3DShadeModeItem;
321
322 SvxBoxItem* pboxItem = new SvxBoxItem( SDRATTR_TABLE_BORDER );
323 pboxItem->SetAllDistances( 100 );
324 rPoolDefaults[ SDRATTR_TABLE_BORDER - SDRATTR_START ] = pboxItem;
325
327
328 pBoxInfoItem->SetTable( true );
329 pBoxInfoItem->SetDist( true); // always show margin field
330 pBoxInfoItem->SetValid( SvxBoxInfoItemValidFlags::DISABLE ); // some lines may have DontCare state only in tables
331
332 rPoolDefaults[ SDRATTR_TABLE_BORDER_INNER - SDRATTR_START ] = pBoxInfoItem;
337
339 rPoolDefaults[ SDRATTR_GLOW_COLOR - SDRATTR_START ] = new XColorItem(SDRATTR_GLOW_COLOR, aNullCol);
341
343
346
347 rPoolDefaults[SDRATTR_WRITINGMODE2 - SDRATTR_START] = new SvxFrameDirectionItem(SvxFrameDirection::Horizontal_LR_TB, SDRATTR_WRITINGMODE2);
348
349 // set own ItemInfos
350 mpLocalItemInfos[SDRATTR_SHADOW-SDRATTR_START]._nSID=SID_ATTR_FILL_SHADOW;
351 mpLocalItemInfos[SDRATTR_SHADOWCOLOR-SDRATTR_START]._nSID=SID_ATTR_SHADOW_COLOR;
352 mpLocalItemInfos[SDRATTR_SHADOWTRANSPARENCE-SDRATTR_START]._nSID=SID_ATTR_SHADOW_TRANSPARENCE;
353 mpLocalItemInfos[SDRATTR_SHADOWBLUR-SDRATTR_START]._nSID=SID_ATTR_SHADOW_BLUR;
354 mpLocalItemInfos[SDRATTR_SHADOWXDIST-SDRATTR_START]._nSID=SID_ATTR_SHADOW_XDISTANCE;
355 mpLocalItemInfos[SDRATTR_SHADOWYDIST-SDRATTR_START]._nSID=SID_ATTR_SHADOW_YDISTANCE;
356 mpLocalItemInfos[SDRATTR_TEXT_FITTOSIZE-SDRATTR_START]._nSID=SID_ATTR_TEXT_FITTOSIZE;
357 mpLocalItemInfos[SDRATTR_GRAFCROP-SDRATTR_START]._nSID=SID_ATTR_GRAF_CROP;
358
359 mpLocalItemInfos[SDRATTR_TABLE_BORDER - SDRATTR_START ]._nSID = SID_ATTR_BORDER_OUTER;
360 mpLocalItemInfos[SDRATTR_TABLE_BORDER_INNER - SDRATTR_START ]._nSID = SID_ATTR_BORDER_INNER;
361 mpLocalItemInfos[SDRATTR_TABLE_BORDER_TLBR - SDRATTR_START ]._nSID = SID_ATTR_BORDER_DIAG_TLBR;
362 mpLocalItemInfos[SDRATTR_TABLE_BORDER_BLTR - SDRATTR_START ]._nSID = SID_ATTR_BORDER_DIAG_BLTR;
363
364 mpLocalItemInfos[SDRATTR_GLOW_RADIUS - SDRATTR_START]._nSID = SID_ATTR_GLOW_RADIUS;
365 mpLocalItemInfos[SDRATTR_GLOW_COLOR - SDRATTR_START]._nSID = SID_ATTR_GLOW_COLOR;
366 mpLocalItemInfos[SDRATTR_GLOW_TRANSPARENCY - SDRATTR_START]._nSID = SID_ATTR_GLOW_TRANSPARENCY;
367
368 mpLocalItemInfos[SDRATTR_SOFTEDGE_RADIUS - SDRATTR_START]._nSID = SID_ATTR_SOFTEDGE_RADIUS;
369
372
374
375 // it's my own creation level, set Defaults and ItemInfos
378}
379
380// copy ctor, so that static defaults are cloned
381// (Parameter 2 = sal_True)
383: XOutdevItemPool(rPool)
384{
385}
386
388{
389 return new SdrItemPool(*this);
390}
391
393{
394 // split pools before destroying
395 SetSecondaryPool(nullptr);
396}
397
399 const SfxPoolItem& rItem,
400 MapUnit ePresentationMetric, OUString& rText,
401 const IntlWrapper& rIntlWrapper) const
402{
403 if (!IsInvalidItem(&rItem)) {
404 sal_uInt16 nWhich=rItem.Which();
405 if (nWhich>=SDRATTR_SHADOW_FIRST && nWhich<=SDRATTR_END) {
406 rItem.GetPresentation(SfxItemPresentation::Nameless,
407 GetMetric(nWhich),ePresentationMetric,rText,
408 rIntlWrapper);
409 rText = GetItemName(nWhich) + " " + rText;
410
411 return true;
412 }
413 }
414 return XOutdevItemPool::GetPresentation(rItem,ePresentationMetric,rText,rIntlWrapper);
415}
416
417OUString SdrItemPool::GetItemName(sal_uInt16 nWhich)
418{
419 TranslateId pResId = SIP_UNKNOWN_ATTR;
420
421 switch (nWhich)
422 {
423 case XATTR_LINESTYLE : pResId = SIP_XA_LINESTYLE;break;
424 case XATTR_LINEDASH : pResId = SIP_XA_LINEDASH;break;
425 case XATTR_LINEWIDTH : pResId = SIP_XA_LINEWIDTH;break;
426 case XATTR_LINECOLOR : pResId = SIP_XA_LINECOLOR;break;
427 case XATTR_LINESTART : pResId = SIP_XA_LINESTART;break;
428 case XATTR_LINEEND : pResId = SIP_XA_LINEEND;break;
429 case XATTR_LINESTARTWIDTH : pResId = SIP_XA_LINESTARTWIDTH;break;
430 case XATTR_LINEENDWIDTH : pResId = SIP_XA_LINEENDWIDTH;break;
431 case XATTR_LINESTARTCENTER : pResId = SIP_XA_LINESTARTCENTER;break;
432 case XATTR_LINEENDCENTER : pResId = SIP_XA_LINEENDCENTER;break;
433 case XATTR_LINETRANSPARENCE : pResId = SIP_XA_LINETRANSPARENCE;break;
434 case XATTR_LINEJOINT : pResId = SIP_XA_LINEJOINT;break;
435 case XATTRSET_LINE : pResId = SIP_XATTRSET_LINE;break;
436
437 case XATTR_FILLSTYLE : pResId = SIP_XA_FILLSTYLE;break;
438 case XATTR_FILLCOLOR : pResId = SIP_XA_FILLCOLOR;break;
439 case XATTR_FILLGRADIENT : pResId = SIP_XA_FILLGRADIENT;break;
440 case XATTR_FILLHATCH : pResId = SIP_XA_FILLHATCH;break;
441 case XATTR_FILLBITMAP : pResId = SIP_XA_FILLBITMAP;break;
442 case XATTR_FILLTRANSPARENCE : pResId = SIP_XA_FILLTRANSPARENCE;break;
443 case XATTR_GRADIENTSTEPCOUNT : pResId = SIP_XA_GRADIENTSTEPCOUNT;break;
444 case XATTR_FILLBMP_TILE : pResId = SIP_XA_FILLBMP_TILE;break;
445 case XATTR_FILLBMP_POS : pResId = SIP_XA_FILLBMP_POS;break;
446 case XATTR_FILLBMP_SIZEX : pResId = SIP_XA_FILLBMP_SIZEX;break;
447 case XATTR_FILLBMP_SIZEY : pResId = SIP_XA_FILLBMP_SIZEY;break;
448 case XATTR_FILLFLOATTRANSPARENCE: pResId = SIP_XA_FILLFLOATTRANSPARENCE;break;
449 case XATTR_SECONDARYFILLCOLOR : pResId = SIP_XA_SECONDARYFILLCOLOR;break;
450 case XATTR_FILLBMP_SIZELOG : pResId = SIP_XA_FILLBMP_SIZELOG;break;
451 case XATTR_FILLBMP_TILEOFFSETX : pResId = SIP_XA_FILLBMP_TILEOFFSETX;break;
452 case XATTR_FILLBMP_TILEOFFSETY : pResId = SIP_XA_FILLBMP_TILEOFFSETY;break;
453 case XATTR_FILLBMP_STRETCH : pResId = SIP_XA_FILLBMP_STRETCH;break;
454 case XATTR_FILLBMP_POSOFFSETX : pResId = SIP_XA_FILLBMP_POSOFFSETX;break;
455 case XATTR_FILLBMP_POSOFFSETY : pResId = SIP_XA_FILLBMP_POSOFFSETY;break;
456 case XATTR_FILLBACKGROUND : pResId = SIP_XA_FILLBACKGROUND;break;
457 case XATTR_FILLUSESLIDEBACKGROUND: pResId = SIP_XA_FILLUSESLIDEBACKGROUND;break;
458
459 case XATTRSET_FILL : pResId = SIP_XATTRSET_FILL;break;
460
461 case XATTR_FORMTXTSTYLE : pResId = SIP_XA_FORMTXTSTYLE;break;
462 case XATTR_FORMTXTADJUST : pResId = SIP_XA_FORMTXTADJUST;break;
463 case XATTR_FORMTXTDISTANCE : pResId = SIP_XA_FORMTXTDISTANCE;break;
464 case XATTR_FORMTXTSTART : pResId = SIP_XA_FORMTXTSTART;break;
465 case XATTR_FORMTXTMIRROR : pResId = SIP_XA_FORMTXTMIRROR;break;
466 case XATTR_FORMTXTOUTLINE : pResId = SIP_XA_FORMTXTOUTLINE;break;
467 case XATTR_FORMTXTSHADOW : pResId = SIP_XA_FORMTXTSHADOW;break;
468 case XATTR_FORMTXTSHDWCOLOR : pResId = SIP_XA_FORMTXTSHDWCOLOR;break;
469 case XATTR_FORMTXTSHDWXVAL : pResId = SIP_XA_FORMTXTSHDWXVAL;break;
470 case XATTR_FORMTXTSHDWYVAL : pResId = SIP_XA_FORMTXTSHDWYVAL;break;
471 case XATTR_FORMTXTHIDEFORM : pResId = SIP_XA_FORMTXTHIDEFORM;break;
472 case XATTR_FORMTXTSHDWTRANSP: pResId = SIP_XA_FORMTXTSHDWTRANSP;break;
473
474 case SDRATTR_SHADOW : pResId = SIP_SA_SHADOW;break;
475 case SDRATTR_SHADOWCOLOR : pResId = SIP_SA_SHADOWCOLOR;break;
476 case SDRATTR_SHADOWXDIST : pResId = SIP_SA_SHADOWXDIST;break;
477 case SDRATTR_SHADOWYDIST : pResId = SIP_SA_SHADOWYDIST;break;
478 case SDRATTR_SHADOWTRANSPARENCE: pResId = SIP_SA_SHADOWTRANSPARENCE;break;
479 case SDRATTR_SHADOWBLUR : pResId = SIP_SA_SHADOWBLUR;break;
480 case SDRATTR_SHADOW3D : pResId = SIP_SA_SHADOW3D;break;
481 case SDRATTR_SHADOWPERSP : pResId = SIP_SA_SHADOWPERSP;break;
482
483 case SDRATTR_GLOW_RADIUS : pResId = SIP_SA_GLOW_RADIUS;break;
484 case SDRATTR_GLOW_COLOR : pResId = SIP_SA_GLOW_COLOR;break;
485 case SDRATTR_GLOW_TRANSPARENCY : pResId = SIP_SA_GLOW_TRANSPARENCY;break;
486
487 case SDRATTR_SOFTEDGE_RADIUS : pResId = SIP_SA_SOFTEDGE_RADIUS; break;
488
489 case SDRATTR_CAPTIONTYPE : pResId = SIP_SA_CAPTIONTYPE;break;
490 case SDRATTR_CAPTIONFIXEDANGLE: pResId = SIP_SA_CAPTIONFIXEDANGLE;break;
491 case SDRATTR_CAPTIONANGLE : pResId = SIP_SA_CAPTIONANGLE;break;
492 case SDRATTR_CAPTIONGAP : pResId = SIP_SA_CAPTIONGAP;break;
493 case SDRATTR_CAPTIONESCDIR : pResId = SIP_SA_CAPTIONESCDIR;break;
494 case SDRATTR_CAPTIONESCISREL : pResId = SIP_SA_CAPTIONESCISREL;break;
495 case SDRATTR_CAPTIONESCREL : pResId = SIP_SA_CAPTIONESCREL;break;
496 case SDRATTR_CAPTIONESCABS : pResId = SIP_SA_CAPTIONESCABS;break;
497 case SDRATTR_CAPTIONLINELEN : pResId = SIP_SA_CAPTIONLINELEN;break;
498 case SDRATTR_CAPTIONFITLINELEN: pResId = SIP_SA_CAPTIONFITLINELEN;break;
499
500 case SDRATTR_CORNER_RADIUS : pResId = SIP_SA_CORNER_RADIUS;break;
501 case SDRATTR_TEXT_MINFRAMEHEIGHT : pResId = SIP_SA_TEXT_MINFRAMEHEIGHT;break;
502 case SDRATTR_TEXT_AUTOGROWHEIGHT : pResId = SIP_SA_TEXT_AUTOGROWHEIGHT;break;
503 case SDRATTR_TEXT_FITTOSIZE : pResId = SIP_SA_TEXT_FITTOSIZE;break;
504 case SDRATTR_TEXT_LEFTDIST : pResId = SIP_SA_TEXT_LEFTDIST;break;
505 case SDRATTR_TEXT_RIGHTDIST : pResId = SIP_SA_TEXT_RIGHTDIST;break;
506 case SDRATTR_TEXT_UPPERDIST : pResId = SIP_SA_TEXT_UPPERDIST;break;
507 case SDRATTR_TEXT_LOWERDIST : pResId = SIP_SA_TEXT_LOWERDIST;break;
508 case SDRATTR_TEXT_VERTADJUST : pResId = SIP_SA_TEXT_VERTADJUST;break;
509 case SDRATTR_TEXT_MAXFRAMEHEIGHT : pResId = SIP_SA_TEXT_MAXFRAMEHEIGHT;break;
510 case SDRATTR_TEXT_MINFRAMEWIDTH : pResId = SIP_SA_TEXT_MINFRAMEWIDTH;break;
511 case SDRATTR_TEXT_MAXFRAMEWIDTH : pResId = SIP_SA_TEXT_MAXFRAMEWIDTH;break;
512 case SDRATTR_TEXT_AUTOGROWWIDTH : pResId = SIP_SA_TEXT_AUTOGROWWIDTH;break;
513 case SDRATTR_TEXT_HORZADJUST : pResId = SIP_SA_TEXT_HORZADJUST;break;
514 case SDRATTR_TEXT_ANIKIND : pResId = SIP_SA_TEXT_ANIKIND;break;
515 case SDRATTR_TEXT_ANIDIRECTION : pResId = SIP_SA_TEXT_ANIDIRECTION;break;
516 case SDRATTR_TEXT_ANISTARTINSIDE : pResId = SIP_SA_TEXT_ANISTARTINSIDE;break;
517 case SDRATTR_TEXT_ANISTOPINSIDE : pResId = SIP_SA_TEXT_ANISTOPINSIDE;break;
518 case SDRATTR_TEXT_ANICOUNT : pResId = SIP_SA_TEXT_ANICOUNT;break;
519 case SDRATTR_TEXT_ANIDELAY : pResId = SIP_SA_TEXT_ANIDELAY;break;
520 case SDRATTR_TEXT_ANIAMOUNT : pResId = SIP_SA_TEXT_ANIAMOUNT;break;
521 case SDRATTR_TEXT_CONTOURFRAME : pResId = SIP_SA_TEXT_CONTOURFRAME;break;
522 case SDRATTR_XMLATTRIBUTES : pResId = SIP_SA_XMLATTRIBUTES;break;
523 case SDRATTR_TEXT_USEFIXEDCELLHEIGHT: pResId = SIP_SA_TEXT_USEFIXEDCELLHEIGHT;break;
524 case SDRATTR_TEXT_WORDWRAP : pResId = SIP_SA_WORDWRAP;break;
525 case SDRATTR_TEXT_CHAINNEXTNAME : pResId = SIP_SA_CHAINNEXTNAME;break;
526
527 case SDRATTR_EDGEKIND : pResId = SIP_SA_EDGEKIND;break;
528 case SDRATTR_EDGENODE1HORZDIST : pResId = SIP_SA_EDGENODE1HORZDIST;break;
529 case SDRATTR_EDGENODE1VERTDIST : pResId = SIP_SA_EDGENODE1VERTDIST;break;
530 case SDRATTR_EDGENODE2HORZDIST : pResId = SIP_SA_EDGENODE2HORZDIST;break;
531 case SDRATTR_EDGENODE2VERTDIST : pResId = SIP_SA_EDGENODE2VERTDIST;break;
532 case SDRATTR_EDGENODE1GLUEDIST : pResId = SIP_SA_EDGENODE1GLUEDIST;break;
533 case SDRATTR_EDGENODE2GLUEDIST : pResId = SIP_SA_EDGENODE2GLUEDIST;break;
534 case SDRATTR_EDGELINEDELTACOUNT : pResId = SIP_SA_EDGELINEDELTACOUNT;break;
535 case SDRATTR_EDGELINE1DELTA : pResId = SIP_SA_EDGELINE1DELTA;break;
536 case SDRATTR_EDGELINE2DELTA : pResId = SIP_SA_EDGELINE2DELTA;break;
537 case SDRATTR_EDGELINE3DELTA : pResId = SIP_SA_EDGELINE3DELTA;break;
538
539 case SDRATTR_MEASUREKIND : pResId = SIP_SA_MEASUREKIND;break;
540 case SDRATTR_MEASURETEXTHPOS : pResId = SIP_SA_MEASURETEXTHPOS;break;
541 case SDRATTR_MEASURETEXTVPOS : pResId = SIP_SA_MEASURETEXTVPOS;break;
542 case SDRATTR_MEASURELINEDIST : pResId = SIP_SA_MEASURELINEDIST;break;
543 case SDRATTR_MEASUREHELPLINEOVERHANG : pResId = SIP_SA_MEASUREHELPLINEOVERHANG;break;
544 case SDRATTR_MEASUREHELPLINEDIST : pResId = SIP_SA_MEASUREHELPLINEDIST;break;
545 case SDRATTR_MEASUREHELPLINE1LEN : pResId = SIP_SA_MEASUREHELPLINE1LEN;break;
546 case SDRATTR_MEASUREHELPLINE2LEN : pResId = SIP_SA_MEASUREHELPLINE2LEN;break;
547 case SDRATTR_MEASUREBELOWREFEDGE : pResId = SIP_SA_MEASUREBELOWREFEDGE;break;
548 case SDRATTR_MEASURETEXTROTA90 : pResId = SIP_SA_MEASURETEXTROTA90;break;
549 case SDRATTR_MEASURETEXTUPSIDEDOWN : pResId = SIP_SA_MEASURETEXTUPSIDEDOWN;break;
550 case SDRATTR_MEASUREOVERHANG : pResId = SIP_SA_MEASUREOVERHANG;break;
551 case SDRATTR_MEASUREUNIT : pResId = SIP_SA_MEASUREUNIT;break;
552 case SDRATTR_MEASURESCALE : pResId = SIP_SA_MEASURESCALE;break;
553 case SDRATTR_MEASURESHOWUNIT : pResId = SIP_SA_MEASURESHOWUNIT;break;
554 case SDRATTR_MEASUREFORMATSTRING : pResId = SIP_SA_MEASUREFORMATSTRING;break;
555 case SDRATTR_MEASURETEXTAUTOANGLE : pResId = SIP_SA_MEASURETEXTAUTOANGLE;break;
556 case SDRATTR_MEASURETEXTAUTOANGLEVIEW: pResId = SIP_SA_MEASURETEXTAUTOANGLEVIEW;break;
557 case SDRATTR_MEASURETEXTISFIXEDANGLE : pResId = SIP_SA_MEASURETEXTISFIXEDANGLE;break;
558 case SDRATTR_MEASURETEXTFIXEDANGLE : pResId = SIP_SA_MEASURETEXTFIXEDANGLE;break;
559 case SDRATTR_MEASUREDECIMALPLACES : pResId = SIP_SA_MEASUREDECIMALPLACES;break;
560
561 case SDRATTR_CIRCKIND : pResId = SIP_SA_CIRCKIND;break;
562 case SDRATTR_CIRCSTARTANGLE: pResId = SIP_SA_CIRCSTARTANGLE;break;
563 case SDRATTR_CIRCENDANGLE : pResId = SIP_SA_CIRCENDANGLE;break;
564
565 case SDRATTR_OBJMOVEPROTECT : pResId = SIP_SA_OBJMOVEPROTECT;break;
566 case SDRATTR_OBJSIZEPROTECT : pResId = SIP_SA_OBJSIZEPROTECT;break;
567 case SDRATTR_OBJPRINTABLE : pResId = SIP_SA_OBJPRINTABLE;break;
568 case SDRATTR_OBJVISIBLE : pResId = SIP_SA_OBJVISIBLE;break;
569 case SDRATTR_LAYERID : pResId = SIP_SA_LAYERID;break;
570 case SDRATTR_LAYERNAME : pResId = SIP_SA_LAYERNAME;break;
571 case SDRATTR_OBJECTNAME : pResId = SIP_SA_OBJECTNAME;break;
572 case SDRATTR_ALLPOSITIONX : pResId = SIP_SA_ALLPOSITIONX;break;
573 case SDRATTR_ALLPOSITIONY : pResId = SIP_SA_ALLPOSITIONY;break;
574 case SDRATTR_ALLSIZEWIDTH : pResId = SIP_SA_ALLSIZEWIDTH;break;
575 case SDRATTR_ALLSIZEHEIGHT : pResId = SIP_SA_ALLSIZEHEIGHT;break;
576 case SDRATTR_ONEPOSITIONX : pResId = SIP_SA_ONEPOSITIONX;break;
577 case SDRATTR_ONEPOSITIONY : pResId = SIP_SA_ONEPOSITIONY;break;
578 case SDRATTR_ONESIZEWIDTH : pResId = SIP_SA_ONESIZEWIDTH;break;
579 case SDRATTR_ONESIZEHEIGHT : pResId = SIP_SA_ONESIZEHEIGHT;break;
580 case SDRATTR_LOGICSIZEWIDTH : pResId = SIP_SA_LOGICSIZEWIDTH;break;
581 case SDRATTR_LOGICSIZEHEIGHT: pResId = SIP_SA_LOGICSIZEHEIGHT;break;
582 case SDRATTR_ROTATEANGLE : pResId = SIP_SA_ROTATEANGLE;break;
583 case SDRATTR_SHEARANGLE : pResId = SIP_SA_SHEARANGLE;break;
584 case SDRATTR_MOVEX : pResId = SIP_SA_MOVEX;break;
585 case SDRATTR_MOVEY : pResId = SIP_SA_MOVEY;break;
586 case SDRATTR_RESIZEXONE : pResId = SIP_SA_RESIZEXONE;break;
587 case SDRATTR_RESIZEYONE : pResId = SIP_SA_RESIZEYONE;break;
588 case SDRATTR_ROTATEONE : pResId = SIP_SA_ROTATEONE;break;
589 case SDRATTR_HORZSHEARONE : pResId = SIP_SA_HORZSHEARONE;break;
590 case SDRATTR_VERTSHEARONE : pResId = SIP_SA_VERTSHEARONE;break;
591 case SDRATTR_RESIZEXALL : pResId = SIP_SA_RESIZEXALL;break;
592 case SDRATTR_RESIZEYALL : pResId = SIP_SA_RESIZEYALL;break;
593 case SDRATTR_ROTATEALL : pResId = SIP_SA_ROTATEALL;break;
594 case SDRATTR_HORZSHEARALL : pResId = SIP_SA_HORZSHEARALL;break;
595 case SDRATTR_VERTSHEARALL : pResId = SIP_SA_VERTSHEARALL;break;
596 case SDRATTR_TRANSFORMREF1X : pResId = SIP_SA_TRANSFORMREF1X;break;
597 case SDRATTR_TRANSFORMREF1Y : pResId = SIP_SA_TRANSFORMREF1Y;break;
598 case SDRATTR_TRANSFORMREF2X : pResId = SIP_SA_TRANSFORMREF2X;break;
599 case SDRATTR_TRANSFORMREF2Y : pResId = SIP_SA_TRANSFORMREF2Y;break;
600
601 case SDRATTR_GRAFRED : pResId = SIP_SA_GRAFRED;break;
602 case SDRATTR_GRAFGREEN : pResId = SIP_SA_GRAFGREEN;break;
603 case SDRATTR_GRAFBLUE : pResId = SIP_SA_GRAFBLUE;break;
604 case SDRATTR_GRAFLUMINANCE : pResId = SIP_SA_GRAFLUMINANCE;break;
605 case SDRATTR_GRAFCONTRAST : pResId = SIP_SA_GRAFCONTRAST;break;
606 case SDRATTR_GRAFGAMMA : pResId = SIP_SA_GRAFGAMMA;break;
607 case SDRATTR_GRAFTRANSPARENCE : pResId = SIP_SA_GRAFTRANSPARENCE;break;
608 case SDRATTR_GRAFINVERT : pResId = SIP_SA_GRAFINVERT;break;
609 case SDRATTR_GRAFMODE : pResId = SIP_SA_GRAFMODE;break;
610 case SDRATTR_GRAFCROP : pResId = SIP_SA_GRAFCROP;break;
611
612 case EE_PARA_HYPHENATE : pResId = SIP_EE_PARA_HYPHENATE;break;
613 case EE_PARA_BULLETSTATE: pResId = SIP_EE_PARA_BULLETSTATE;break;
614 case EE_PARA_OUTLLRSPACE: pResId = SIP_EE_PARA_OUTLLRSPACE;break;
615 case EE_PARA_OUTLLEVEL : pResId = SIP_EE_PARA_OUTLLEVEL;break;
616 case EE_PARA_BULLET : pResId = SIP_EE_PARA_BULLET;break;
617 case EE_PARA_LRSPACE : pResId = SIP_EE_PARA_LRSPACE;break;
618 case EE_PARA_ULSPACE : pResId = SIP_EE_PARA_ULSPACE;break;
619 case EE_PARA_SBL : pResId = SIP_EE_PARA_SBL;break;
620 case EE_PARA_JUST : pResId = SIP_EE_PARA_JUST;break;
621 case EE_PARA_TABS : pResId = SIP_EE_PARA_TABS;break;
622
623 case EE_CHAR_COLOR : pResId = SIP_EE_CHAR_COLOR;break;
624 case EE_CHAR_FONTINFO : pResId = SIP_EE_CHAR_FONTINFO;break;
625 case EE_CHAR_FONTHEIGHT : pResId = SIP_EE_CHAR_FONTHEIGHT;break;
626 case EE_CHAR_FONTWIDTH : pResId = SIP_EE_CHAR_FONTWIDTH;break;
627 case EE_CHAR_WEIGHT : pResId = SIP_EE_CHAR_WEIGHT;break;
628 case EE_CHAR_UNDERLINE : pResId = SIP_EE_CHAR_UNDERLINE;break;
629 case EE_CHAR_OVERLINE : pResId = SIP_EE_CHAR_OVERLINE;break;
630 case EE_CHAR_STRIKEOUT : pResId = SIP_EE_CHAR_STRIKEOUT;break;
631 case EE_CHAR_ITALIC : pResId = SIP_EE_CHAR_ITALIC;break;
632 case EE_CHAR_OUTLINE : pResId = SIP_EE_CHAR_OUTLINE;break;
633 case EE_CHAR_SHADOW : pResId = SIP_EE_CHAR_SHADOW;break;
634 case EE_CHAR_ESCAPEMENT : pResId = SIP_EE_CHAR_ESCAPEMENT;break;
635 case EE_CHAR_PAIRKERNING: pResId = SIP_EE_CHAR_PAIRKERNING;break;
636 case EE_CHAR_KERNING : pResId = SIP_EE_CHAR_KERNING;break;
637 case EE_CHAR_WLM : pResId = SIP_EE_CHAR_WLM;break;
638 case EE_FEATURE_TAB : pResId = SIP_EE_FEATURE_TAB;break;
639 case EE_FEATURE_LINEBR : pResId = SIP_EE_FEATURE_LINEBR;break;
640 case EE_FEATURE_NOTCONV : pResId = SIP_EE_FEATURE_NOTCONV;break;
641 case EE_FEATURE_FIELD : pResId = SIP_EE_FEATURE_FIELD;break;
642
643 case SDRATTR_TEXTCOLUMNS_NUMBER: pResId = SIP_SA_TEXTCOLUMNS_NUMBER; break;
644 case SDRATTR_TEXTCOLUMNS_SPACING: pResId = SIP_SA_TEXTCOLUMNS_SPACING; break;
645 } // switch
646
647 return SvxResId(pResId);
648}
649
650
651// FractionItem
652
653
655{
656 return SfxPoolItem::operator==(rCmp) &&
657 static_cast<const SdrFractionItem&>(rCmp).GetValue()==nValue;
658}
659
661 SfxItemPresentation ePresentation, MapUnit /*eCoreMetric*/,
662 MapUnit /*ePresentationMetric*/, OUString &rText, const IntlWrapper&) const
663{
664 if(nValue.IsValid())
665 {
666 sal_Int32 nDiv = nValue.GetDenominator();
667 rText = OUString::number(nValue.GetNumerator());
668
669 if(nDiv != 1)
670 {
671 rText += "/" + OUString::number(nDiv);
672 }
673 }
674 else
675 {
676 rText = "?";
677 }
678
679 if(ePresentation == SfxItemPresentation::Complete)
680 {
681 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
682 return true;
683 }
684 else if(ePresentation == SfxItemPresentation::Nameless)
685 return true;
686
687 return false;
688}
689
691{
692 return new SdrFractionItem(Which(),GetValue());
693}
694
695
696// ScaleItem
697
698
700 SfxItemPresentation ePresentation, MapUnit /*eCoreMetric*/,
701 MapUnit /*ePresentationMetric*/, OUString &rText, const IntlWrapper&) const
702{
703 if(GetValue().IsValid())
704 {
705 sal_Int32 nDiv = GetValue().GetDenominator();
706
707 rText = OUString::number(GetValue().GetNumerator()) + ":" + OUString::number(nDiv);
708 }
709 else
710 {
711 rText = "?";
712 }
713
714 if(ePresentation == SfxItemPresentation::Complete)
715 {
716 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
717 }
718
719 return true;
720}
721
723{
724 return new SdrScaleItem(Which(),GetValue());
725}
726
727
728// OnOffItem
729
730
732{
734}
735
736OUString SdrOnOffItem::GetValueTextByVal(bool bVal) const
737{
738 if (bVal)
739 return SvxResId(STR_ItemValON);
740 return SvxResId(STR_ItemValOFF);
741}
742
744 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
745{
747 if (ePres==SfxItemPresentation::Complete) {
748 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
749 }
750 return true;
751}
752
754{
755 (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrOnOffItem"));
756 if (Which() == SDRATTR_SHADOW)
757 {
758 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOW"));
759 }
760
761 SfxBoolItem::dumpAsXml(pWriter);
762
763 (void)xmlTextWriterEndElement(pWriter);
764}
765
767{
769}
770
771OUString SdrYesNoItem::GetValueTextByVal(bool bVal) const
772{
773 if (bVal)
774 return SvxResId(STR_ItemValYES);
775 return SvxResId(STR_ItemValNO);
776}
777
779 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
780{
782 if (ePres==SfxItemPresentation::Complete) {
783 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
784 }
785 return true;
786}
787
789{
791}
792
794 SfxItemPresentation ePres, MapUnit /*eCoreMetric*/,
795 MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
796{
798 Application::GetSettings().GetUILanguageTag());
799
800 if(ePres == SfxItemPresentation::Complete)
801 {
802 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
803 }
804
805 return true;
806}
807
809{
810 (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrPercentItem"));
812 {
813 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"),
814 BAD_CAST("SDRATTR_SHADOWTRANSPARENCE"));
815 }
816
818
819 (void)xmlTextWriterEndElement(pWriter);
820}
821
823{
825}
826
828 SfxItemPresentation ePres, MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
829 OUString& rText, const IntlWrapper& rIntlWrapper) const
830{
831 sal_Int32 nValue(GetValue());
832 bool bNeg(nValue < 0);
833
834 if(bNeg)
835 nValue = -nValue;
836
837 OUStringBuffer aText = OUString::number(nValue);
838
839 if(nValue)
840 {
841 sal_Unicode aUnicodeNull('0');
842 sal_Int32 nCount(2);
843
845 nCount++;
846
847 while(aText.getLength() < nCount)
848 aText.insert(0, aUnicodeNull);
849
850 sal_Int32 nLen = aText.getLength();
851 bool bNull1(aText[nLen-1] == aUnicodeNull);
852 bool bNull2(bNull1 && aText[nLen-2] == aUnicodeNull);
853
854 if(bNull2)
855 {
856 // no decimal place(s)
857 sal_Int32 idx = nLen-2;
858 aText.remove(idx, aText.getLength()-idx);
859 }
860 else
861 {
862 sal_Unicode cDec =
863 rIntlWrapper.getLocaleData()->getNumDecimalSep()[0];
864 aText.insert(nLen-2, cDec);
865
866 if(bNull1)
867 aText.remove(nLen, aText.getLength()-nLen);
868 }
869
870 if(bNeg)
871 aText.insert(0, '-');
872 }
873
874 aText.append(sal_Unicode(DEGREE_CHAR));
875
876 if(ePres == SfxItemPresentation::Complete)
877 {
878 OUString aStr = SdrItemPool::GetItemName(Which());
879 aText.insert(0, aStr + " ");
880 }
881
882 rText = aText.makeStringAndClear();
883 return true;
884}
885
887{
889}
890
892{
893 return true;
894}
895
897{
898 if (GetValue()!=0) {
899 SetValue(BigInt::Scale(GetValue(), nMul, nDiv));
900 }
901}
902
904 MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const
905{
907 SdrFormatter aFmt(eCoreMetric,ePresMetric);
908 rText = aFmt.GetStr(nValue);
909 rText += " " + SdrFormatter::GetUnitStr(ePresMetric);
910 if (ePres==SfxItemPresentation::Complete) {
911 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
912 }
913 return true;
914}
915
917{
918 (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrMetricItem"));
919 if (Which() == SDRATTR_SHADOWXDIST)
920 {
921 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOWXDIST"));
922 }
923 else if (Which() == SDRATTR_SHADOWYDIST)
924 {
925 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOWYDIST"));
926 }
927 else if (Which() == SDRATTR_SHADOWSIZEX)
928 {
929 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOWSIZEX"));
930 }
931 else if (Which() == SDRATTR_SHADOWSIZEY)
932 {
933 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOWSIZEY"));
934 }
935 else if (Which() == SDRATTR_SHADOWBLUR)
936 {
937 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST("SDRATTR_SHADOWBLUR"));
938 }
939
941
942 (void)xmlTextWriterEndElement(pWriter);
943}
944
945// items of the legend object
946
947
949
950sal_uInt16 SdrCaptionTypeItem::GetValueCount() const { return 4; }
951
953{
954 static TranslateId ITEMVALCAPTIONTYPES[] =
955 {
956 STR_ItemValCAPTIONTYPE1,
957 STR_ItemValCAPTIONTYPE2,
958 STR_ItemValCAPTIONTYPE3,
959 STR_ItemValCAPTIONTYPE4
960 };
961 assert(nPos < SAL_N_ELEMENTS(ITEMVALCAPTIONTYPES) && "wrong pos!");
962 return SvxResId(ITEMVALCAPTIONTYPES[nPos]);
963}
964
966 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
967{
968 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
969 if (ePres==SfxItemPresentation::Complete) {
970 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
971 }
972 return true;
973}
974
975
977
978sal_uInt16 SdrCaptionEscDirItem::GetValueCount() const { return 3; }
979
981{
982 static TranslateId ITEMVALCAPTIONTYPES[] =
983 {
984 STR_ItemValCAPTIONESCHORI,
985 STR_ItemValCAPTIONESCVERT,
986 STR_ItemValCAPTIONESCBESTFIT
987 };
988 assert(nPos < SAL_N_ELEMENTS(ITEMVALCAPTIONTYPES) && "wrong pos!");
989 return SvxResId(ITEMVALCAPTIONTYPES[nPos]);
990}
991
993 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
994{
995 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
996 if (ePres==SfxItemPresentation::Complete) {
997 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
998 }
999 return true;
1000}
1001
1002
1003// MiscItems
1004
1005
1006// FitToSize
1007
1009
1011
1013{
1015 {
1016 return false;
1017 }
1018
1019 return m_nMaxScale == static_cast<const SdrTextFitToSizeTypeItem&>(rItem).m_nMaxScale;
1020}
1021
1022sal_uInt16 SdrTextFitToSizeTypeItem::GetValueCount() const { return 4; }
1023
1025{
1026 static TranslateId ITEMVALFITTISIZETYPES[] =
1027 {
1028 STR_ItemValFITTOSIZENONE,
1029 STR_ItemValFITTOSIZEPROP,
1030 STR_ItemValFITTOSIZEALLLINES,
1031 STR_ItemValFITTOSIZERESIZEAT
1032 };
1033 assert(nPos < SAL_N_ELEMENTS(ITEMVALFITTISIZETYPES) && "wrong pos!");
1034 return SvxResId(ITEMVALFITTISIZETYPES[nPos]);
1035}
1036
1038 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1039{
1040 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1041 if (ePres==SfxItemPresentation::Complete) {
1042 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1043 }
1044 return true;
1045}
1046
1047bool SdrTextFitToSizeTypeItem::HasBoolValue() const { return true; }
1048
1049bool SdrTextFitToSizeTypeItem::GetBoolValue() const { return GetValue() != drawing::TextFitToSizeType_NONE; }
1050
1052{
1053 SetValue(bVal ? drawing::TextFitToSizeType_PROPORTIONAL : drawing::TextFitToSizeType_NONE);
1054}
1055
1057{
1058 drawing::TextFitToSizeType eFS = GetValue();
1059 rVal <<= eFS;
1060
1061 return true;
1062}
1063
1065{
1066 drawing::TextFitToSizeType eFS;
1067 if(!(rVal >>= eFS))
1068 {
1069 sal_Int32 nEnum = 0;
1070 if(!(rVal >>= nEnum))
1071 return false;
1072
1073 eFS = static_cast<drawing::TextFitToSizeType>(nEnum);
1074 }
1075
1076 SetValue(eFS);
1077
1078 return true;
1079}
1080
1081
1083
1084sal_uInt16 SdrTextVertAdjustItem::GetValueCount() const { return 5; }
1085
1087{
1088 static TranslateId ITEMVALTEXTVADJTYPES[] =
1089 {
1090 STR_ItemValTEXTVADJTOP,
1091 STR_ItemValTEXTVADJCENTER,
1092 STR_ItemValTEXTVADJBOTTOM,
1093 STR_ItemValTEXTVADJBLOCK,
1094 STR_ItemValTEXTVADJSTRETCH
1095 };
1096 assert(nPos < SAL_N_ELEMENTS(ITEMVALTEXTVADJTYPES) && "wrong pos!");
1097 return SvxResId(ITEMVALTEXTVADJTYPES[nPos]);
1098}
1099
1101 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1102{
1103 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1104 if (ePres==SfxItemPresentation::Complete) {
1105 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1106 }
1107 return true;
1108}
1109
1111{
1112 rVal <<= static_cast<drawing::TextVerticalAdjust>(GetValue());
1113 return true;
1114}
1115
1116bool SdrTextVertAdjustItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1117{
1118 drawing::TextVerticalAdjust eAdj;
1119 if(!(rVal >>= eAdj))
1120 {
1121 sal_Int32 nEnum = 0;
1122 if(!(rVal >>= nEnum))
1123 return false;
1124
1125 eAdj = static_cast<drawing::TextVerticalAdjust>(nEnum);
1126 }
1127
1128 SetValue( static_cast<SdrTextVertAdjust>(eAdj) );
1129
1130 return true;
1131}
1132
1134{
1135 (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTextVertAdjustItem"));
1136 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
1137 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
1138 (void)xmlTextWriterEndElement(pWriter);
1139}
1140
1142
1143sal_uInt16 SdrTextHorzAdjustItem::GetValueCount() const { return 5; }
1144
1146{
1147 static TranslateId ITEMVALTEXTHADJTYPES[] =
1148 {
1149 STR_ItemValTEXTHADJLEFT,
1150 STR_ItemValTEXTHADJCENTER,
1151 STR_ItemValTEXTHADJRIGHT,
1152 STR_ItemValTEXTHADJBLOCK,
1153 STR_ItemValTEXTHADJSTRETCH
1154 };
1155 assert(nPos < SAL_N_ELEMENTS(ITEMVALTEXTHADJTYPES) && "wrong pos!");
1156 return SvxResId(ITEMVALTEXTHADJTYPES[nPos]);
1157}
1158
1160 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1161{
1162 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1163 if (ePres==SfxItemPresentation::Complete) {
1164 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1165 }
1166 return true;
1167}
1168
1170{
1171 rVal <<= static_cast<drawing::TextHorizontalAdjust>(GetValue());
1172 return true;
1173}
1174
1175bool SdrTextHorzAdjustItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1176{
1177 drawing::TextHorizontalAdjust eAdj;
1178 if(!(rVal >>= eAdj))
1179 {
1180 sal_Int32 nEnum = 0;
1181 if(!(rVal >>= nEnum))
1182 return false;
1183
1184 eAdj = static_cast<drawing::TextHorizontalAdjust>(nEnum);
1185 }
1186
1187 SetValue( static_cast<SdrTextHorzAdjust>(eAdj) );
1188
1189 return true;
1190}
1191
1192
1194
1195sal_uInt16 SdrTextAniKindItem::GetValueCount() const { return 5; }
1196
1198{
1199 static TranslateId ITEMVALTEXTANITYPES[] =
1200 {
1201 STR_ItemValTEXTANI_NONE,
1202 STR_ItemValTEXTANI_BLINK,
1203 STR_ItemValTEXTANI_SCROLL,
1204 STR_ItemValTEXTANI_ALTERNATE,
1205 STR_ItemValTEXTANI_SLIDE
1206 };
1207 assert(nPos < SAL_N_ELEMENTS(ITEMVALTEXTANITYPES) && "wrong pos!");
1208 return SvxResId(ITEMVALTEXTANITYPES[nPos]);
1209}
1210
1212 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1213{
1214 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1215 if (ePres==SfxItemPresentation::Complete) {
1216 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1217 }
1218 return true;
1219}
1220
1221bool SdrTextAniKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1222{
1223 rVal <<= static_cast<drawing::TextAnimationKind>(GetValue());
1224 return true;
1225}
1226
1227bool SdrTextAniKindItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1228{
1229 drawing::TextAnimationKind eKind;
1230 if(!(rVal >>= eKind))
1231 {
1232 sal_Int32 nEnum = 0;
1233 if(!(rVal >>= nEnum))
1234 return false;
1235 eKind = static_cast<drawing::TextAnimationKind>(nEnum);
1236 }
1237
1238 SetValue( static_cast<SdrTextAniKind>(eKind) );
1239
1240 return true;
1241}
1242
1243
1245
1246sal_uInt16 SdrTextAniDirectionItem::GetValueCount() const { return 4; }
1247
1249{
1250 static TranslateId ITEMVALTEXTANITYPES[] =
1251 {
1252 STR_ItemValTEXTANI_LEFT,
1253 STR_ItemValTEXTANI_UP,
1254 STR_ItemValTEXTANI_RIGHT,
1255 STR_ItemValTEXTANI_DOWN
1256 };
1257 assert(nPos < SAL_N_ELEMENTS(ITEMVALTEXTANITYPES) && "wrong pos!");
1258 return SvxResId(ITEMVALTEXTANITYPES[nPos]);
1259}
1260
1262 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1263{
1264 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1265 if (ePres==SfxItemPresentation::Complete) {
1266 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1267 }
1268 return true;
1269}
1270
1272{
1273 rVal <<= static_cast<drawing::TextAnimationDirection>(GetValue());
1274 return true;
1275}
1276
1278{
1279 drawing::TextAnimationDirection eDir;
1280 if(!(rVal >>= eDir))
1281 {
1282 sal_Int32 nEnum = 0;
1283 if(!(rVal >>= nEnum))
1284 return false;
1285
1286 eDir = static_cast<drawing::TextAnimationDirection>(nEnum);
1287 }
1288
1289 SetValue( static_cast<SdrTextAniDirection>(eDir) );
1290
1291 return true;
1292}
1293
1294
1296
1298 SfxItemPresentation ePres, MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
1299 OUString& rText, const IntlWrapper&) const
1300{
1301 rText = OUString::number(GetValue()) + "ms";
1302
1303 if(ePres == SfxItemPresentation::Complete)
1304 {
1305 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1306 }
1307
1308 return true;
1309}
1310
1311
1313
1315{
1316 return GetValue()>0;
1317}
1318
1320{
1321 if (GetValue()>0) {
1322 BigInt aVal(GetValue());
1323 aVal*=nMul;
1324 aVal+=nDiv/2; // to round accurately
1325 aVal/=nDiv;
1326 SetValue(short(aVal));
1327 }
1328}
1329
1331 SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric,
1332 OUString& rText, const IntlWrapper&) const
1333{
1334 sal_Int32 nValue(GetValue());
1335
1336 if(!nValue)
1337 nValue = -1;
1338
1339 if(nValue < 0)
1340 {
1341 rText = OUString::number(-nValue) + "pixel";
1342 }
1343 else
1344 {
1345 SdrFormatter aFmt(eCoreMetric, ePresMetric);
1346 rText = aFmt.GetStr(nValue) +
1347 SdrFormatter::GetUnitStr(ePresMetric);
1348 }
1349
1350 if(ePres == SfxItemPresentation::Complete)
1351 {
1352 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1353 }
1354
1355 return true;
1356}
1357
1358
1359SdrTextFixedCellHeightItem::SdrTextFixedCellHeightItem( bool bUseFixedCellHeight )
1360 : SfxBoolItem( SDRATTR_TEXT_USEFIXEDCELLHEIGHT, bUseFixedCellHeight )
1361{
1362}
1363bool SdrTextFixedCellHeightItem::GetPresentation( SfxItemPresentation ePres,
1364 MapUnit /*eCoreMetric*/, MapUnit /*ePresentationMetric*/,
1365 OUString &rText, const IntlWrapper& ) const
1366{
1367 rText = GetValueTextByVal( GetValue() );
1368 if (ePres==SfxItemPresentation::Complete)
1369 {
1370 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1371 }
1372 return true;
1373}
1374
1375SdrTextFixedCellHeightItem* SdrTextFixedCellHeightItem::Clone( SfxItemPool * /*pPool*/) const
1376{
1377 return new SdrTextFixedCellHeightItem( GetValue() );
1378}
1379
1380bool SdrTextFixedCellHeightItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1381{
1382 bool bValue = GetValue();
1383 rVal <<= bValue;
1384 return true;
1385}
1386bool SdrTextFixedCellHeightItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1387{
1388 bool bValue;
1389 if( !( rVal >>= bValue ) )
1390 return false;
1391 SetValue( bValue );
1392 return true;
1393}
1394
1395// EdgeKind
1396
1398
1399sal_uInt16 SdrEdgeKindItem::GetValueCount() const { return 4; }
1400
1401OUString SdrEdgeKindItem::GetValueTextByPos(sal_uInt16 nPos)
1402{
1403 static TranslateId ITEMVALEDGES[] =
1404 {
1405 STR_ItemValEDGE_ORTHOLINES,
1406 STR_ItemValEDGE_THREELINES,
1407 STR_ItemValEDGE_ONELINE,
1408 STR_ItemValEDGE_BEZIER
1409 };
1410 assert(nPos < SAL_N_ELEMENTS(ITEMVALEDGES) && "wrong pos!");
1411 return SvxResId(ITEMVALEDGES[nPos]);
1412}
1413
1415 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1416{
1417 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1418 if (ePres==SfxItemPresentation::Complete) {
1419 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1420 }
1421 return true;
1422}
1423
1424bool SdrEdgeKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1425{
1426 drawing::ConnectorType eCT = drawing::ConnectorType_STANDARD;
1427
1428 switch( GetValue() )
1429 {
1430 case SdrEdgeKind::OrthoLines : eCT = drawing::ConnectorType_STANDARD; break;
1431 case SdrEdgeKind::ThreeLines : eCT = drawing::ConnectorType_LINES; break;
1432 case SdrEdgeKind::OneLine : eCT = drawing::ConnectorType_LINE; break;
1433 case SdrEdgeKind::Bezier : eCT = drawing::ConnectorType_CURVE; break;
1434 case SdrEdgeKind::Arc : eCT = drawing::ConnectorType_CURVE; break;
1435 default:
1436 OSL_FAIL( "SdrEdgeKindItem::QueryValue : unknown enum" );
1437 }
1438
1439 rVal <<= eCT;
1440
1441 return true;
1442}
1443
1444bool SdrEdgeKindItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1445{
1446 drawing::ConnectorType eCT;
1447 if(!(rVal >>= eCT))
1448 {
1449 sal_Int32 nEnum = 0;
1450 if(!(rVal >>= nEnum))
1451 return false;
1452
1453 eCT = static_cast<drawing::ConnectorType>(nEnum);
1454 }
1455
1457 switch( eCT )
1458 {
1459 case drawing::ConnectorType_STANDARD : eEK = SdrEdgeKind::OrthoLines; break;
1460 case drawing::ConnectorType_CURVE : eEK = SdrEdgeKind::Bezier; break;
1461 case drawing::ConnectorType_LINE : eEK = SdrEdgeKind::OneLine; break;
1462 case drawing::ConnectorType_LINES : eEK = SdrEdgeKind::ThreeLines; break;
1463 default:
1464 OSL_FAIL( "SdrEdgeKindItem::PuValue : unknown enum" );
1465 }
1466 SetValue( eEK );
1467
1468 return true;
1469}
1470
1472{
1473 rVal <<= GetValue();
1474 return true;
1475}
1476
1478{
1479 sal_Int32 nValue = 0;
1480 if(!(rVal >>= nValue))
1481 return false;
1482
1483 SetValue( nValue );
1484 return true;
1485}
1486
1488{
1489 return new SdrEdgeNode1HorzDistItem(*this);
1490}
1491
1493{
1494 rVal <<= GetValue();
1495 return true;
1496}
1497
1499{
1500 sal_Int32 nValue = 0;
1501 if(!(rVal >>= nValue))
1502 return false;
1503
1504 SetValue( nValue );
1505 return true;
1506}
1507
1509{
1510 return new SdrEdgeNode1VertDistItem(*this);
1511}
1512
1514{
1515 rVal <<= GetValue();
1516 return true;
1517}
1518
1520{
1521 sal_Int32 nValue = 0;
1522 if(!(rVal >>= nValue))
1523 return false;
1524
1525 SetValue( nValue );
1526 return true;
1527}
1528
1530{
1531 return new SdrEdgeNode2HorzDistItem(*this);
1532}
1533
1535{
1536 rVal <<= GetValue();
1537 return true;
1538}
1539
1541{
1542 sal_Int32 nValue = 0;
1543 if(!(rVal >>= nValue))
1544 return false;
1545
1546 SetValue( nValue );
1547 return true;
1548}
1549
1551{
1552 return new SdrEdgeNode2VertDistItem(*this);
1553}
1554
1556{
1557 return new SdrEdgeNode1GlueDistItem(*this);
1558}
1559
1561{
1562 return new SdrEdgeNode2GlueDistItem(*this);
1563}
1564
1566
1567sal_uInt16 SdrMeasureKindItem::GetValueCount() const { return 2; }
1568
1570{
1571 static TranslateId ITEMVALMEASURETYPES[] =
1572 {
1573 STR_ItemValMEASURE_STD,
1574 STR_ItemValMEASURE_RADIUS
1575 };
1576 assert(nPos < SAL_N_ELEMENTS(ITEMVALMEASURETYPES) && "wrong pos!");
1577 return SvxResId(ITEMVALMEASURETYPES[nPos]);
1578}
1579
1581 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1582{
1583 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1584 if (ePres==SfxItemPresentation::Complete) {
1585 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1586 }
1587 return true;
1588}
1589
1590bool SdrMeasureKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1591{
1592 rVal <<= static_cast<drawing::MeasureKind>(GetValue());
1593 return true;
1594}
1595
1596bool SdrMeasureKindItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1597{
1598 drawing::MeasureKind eKind;
1599 if(!(rVal >>= eKind))
1600 {
1601 sal_Int32 nEnum = 0;
1602 if(!(rVal >>= nEnum))
1603 return false;
1604
1605 eKind = static_cast<drawing::MeasureKind>(nEnum);
1606 }
1607
1608 SetValue( static_cast<SdrMeasureKind>(eKind) );
1609 return true;
1610}
1611
1612
1614
1615sal_uInt16 SdrMeasureTextHPosItem::GetValueCount() const { return 4; }
1616
1617const OUString & SdrMeasureTextHPosItem::GetValueTextByPos(sal_uInt16 nPos)
1618{
1619 static std::array<OUString, 4> aMeasureTextHPosItem
1620 {
1621 "automatic",
1622 "left outside",
1623 "inside (centered)",
1624 "right outside"
1625 };
1626 assert(nPos < aMeasureTextHPosItem.size() && "wrong pos!");
1627 return aMeasureTextHPosItem[nPos];
1628}
1629
1631 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1632{
1633 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1634 if (ePres==SfxItemPresentation::Complete) {
1635 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1636 }
1637 return true;
1638}
1639
1641{
1642 rVal <<= GetValue();
1643 return true;
1644}
1645
1646bool SdrMeasureTextHPosItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1647{
1648 drawing::MeasureTextHorzPos ePos;
1649 if(!(rVal >>= ePos))
1650 {
1651 sal_Int32 nEnum = 0;
1652 if(!(rVal >>= nEnum))
1653 return false;
1654
1655 ePos = static_cast<drawing::MeasureTextHorzPos>(nEnum);
1656 }
1657
1658 SetValue(ePos);
1659 return true;
1660}
1661
1663
1664sal_uInt16 SdrMeasureTextVPosItem::GetValueCount() const { return 5; }
1665
1667{
1668 static TranslateId ITEMVALMEASURETEXTTYPES[] =
1669 {
1670 STR_ItemValMEASURE_TEXTVAUTO,
1671 STR_ItemValMEASURE_ABOVE,
1672 STR_ItemValMEASURETEXT_BREAKEDLINE,
1673 STR_ItemValMEASURE_BELOW,
1674 STR_ItemValMEASURETEXT_VERTICALCEN
1675 };
1676 assert(nPos < SAL_N_ELEMENTS(ITEMVALMEASURETEXTTYPES) && "wrong pos!");
1677 return SvxResId(ITEMVALMEASURETEXTTYPES[nPos]);
1678}
1679
1681 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1682{
1683 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1684 if (ePres==SfxItemPresentation::Complete) {
1685 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1686 }
1687 return true;
1688}
1689
1691{
1692 rVal <<= GetValue();
1693 return true;
1694}
1695
1696bool SdrMeasureTextVPosItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1697{
1698 drawing::MeasureTextVertPos ePos;
1699 if(!(rVal >>= ePos))
1700 {
1701 sal_Int32 nEnum = 0;
1702 if(!(rVal >>= nEnum))
1703 return false;
1704
1705 ePos = static_cast<drawing::MeasureTextVertPos>(nEnum);
1706 }
1707
1708 SetValue(ePos);
1709 return true;
1710}
1711
1713
1714sal_uInt16 SdrMeasureUnitItem::GetValueCount() const { return 14; }
1715
1717{
1718 if(static_cast<FieldUnit>(nPos) == FieldUnit::NONE)
1719 return "default";
1720 else
1721 return SdrFormatter::GetUnitStr(static_cast<FieldUnit>(nPos));
1722}
1723
1725 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1726{
1727 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1728 if (ePres==SfxItemPresentation::Complete) {
1729 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1730 }
1731 return true;
1732}
1733
1734bool SdrMeasureUnitItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1735{
1736 rVal <<= static_cast<sal_Int32>(GetValue());
1737 return true;
1738}
1739
1740bool SdrMeasureUnitItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1741{
1742 sal_Int32 nMeasure = 0;
1743 if(!(rVal >>= nMeasure))
1744 return false;
1745
1746 SetValue( static_cast<FieldUnit>(nMeasure) );
1747 return true;
1748}
1749
1750
1752
1753sal_uInt16 SdrCircKindItem::GetValueCount() const { return 4; }
1754
1755OUString SdrCircKindItem::GetValueTextByPos(sal_uInt16 nPos)
1756{
1757 static TranslateId ITEMVALCIRCTYPES[] =
1758 {
1759 STR_ItemValCIRC_FULL,
1760 STR_ItemValCIRC_SECT,
1761 STR_ItemValCIRC_CUT,
1762 STR_ItemValCIRC_ARC
1763 };
1764 assert(nPos < SAL_N_ELEMENTS(ITEMVALCIRCTYPES) && "wrong pos!");
1765 return SvxResId(ITEMVALCIRCTYPES[nPos]);
1766}
1767
1769 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/, OUString& rText, const IntlWrapper&) const
1770{
1771 rText=GetValueTextByPos(sal::static_int_cast< sal_uInt16 >(GetValue()));
1772 if (ePres==SfxItemPresentation::Complete) {
1773 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1774 }
1775 return true;
1776}
1777
1778bool SdrCircKindItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1779{
1780 rVal <<= static_cast<drawing::CircleKind>(GetValue());
1781 return true;
1782}
1783
1784bool SdrCircKindItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1785{
1786 drawing::CircleKind eKind;
1787 if(!(rVal >>= eKind))
1788 {
1789 sal_Int32 nEnum = 0;
1790 if(!(rVal >>= nEnum))
1791 return false;
1792
1793 eKind = static_cast<drawing::CircleKind>(nEnum);
1794 }
1795
1796 SetValue( static_cast<SdrCircKind>(eKind) );
1797 return true;
1798}
1799
1800SdrSignedPercentItem* SdrSignedPercentItem::Clone(SfxItemPool* /*pPool*/) const
1801{
1802 return new SdrSignedPercentItem( Which(), GetValue() );
1803}
1804
1805bool SdrSignedPercentItem::GetPresentation(
1806 SfxItemPresentation ePres, MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
1807 OUString& rText, const IntlWrapper&) const
1808{
1810 Application::GetSettings().GetUILanguageTag());
1811
1812 if(ePres == SfxItemPresentation::Complete)
1813 {
1814 rText = SdrItemPool::GetItemName(Which()) + " " + rText;
1815 }
1816
1817 return true;
1818}
1819
1820SdrGrafRedItem* SdrGrafRedItem::Clone( SfxItemPool* /*pPool*/) const
1821{
1822 return new SdrGrafRedItem( *this );
1823}
1824
1825SdrGrafGreenItem* SdrGrafGreenItem::Clone( SfxItemPool* /*pPool*/) const
1826{
1827 return new SdrGrafGreenItem( *this );
1828}
1829
1830SdrGrafBlueItem* SdrGrafBlueItem::Clone( SfxItemPool* /*pPool*/) const
1831{
1832 return new SdrGrafBlueItem( *this );
1833}
1834
1836{
1837 return new SdrGrafLuminanceItem( *this );
1838}
1839
1841{
1842 return new SdrGrafContrastItem( *this );
1843}
1844
1846{
1847 return new SdrGrafGamma100Item( *this );
1848}
1849
1850bool SdrGrafGamma100Item::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
1851{
1852 rVal <<= static_cast<double>(GetValue()) / 100.0;
1853 return true;
1854}
1855
1856bool SdrGrafGamma100Item::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
1857{
1858 double nGamma = 0;
1859 if(!(rVal >>= nGamma))
1860 return false;
1861
1862 SetValue( static_cast<sal_uInt32>(nGamma * 100.0 ) );
1863 return true;
1864}
1865
1867{
1868 return new SdrGrafInvertItem( *this );
1869}
1870
1871SdrGrafTransparenceItem* SdrGrafTransparenceItem::Clone( SfxItemPool* /*pPool*/) const
1872{
1873 return new SdrGrafTransparenceItem( *this );
1874}
1875
1877{
1878 return new SdrGrafModeItem( *this );
1879}
1880
1882{
1883 return 4;
1884}
1885
1886OUString SdrGrafModeItem::GetValueTextByPos(sal_uInt16 nPos)
1887{
1888 OUString aStr;
1889
1890 switch(nPos)
1891 {
1892 case 1:
1893 {
1894 aStr = "Greys";
1895 break;
1896 }
1897 case 2:
1898 {
1899 aStr = "Black/White";
1900 break;
1901 }
1902 case 3:
1903 {
1904 aStr = "Watermark";
1905 break;
1906 }
1907 default:
1908 {
1909 aStr = "Standard";
1910 break;
1911 }
1912 }
1913
1914 return aStr;
1915}
1916
1918 MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
1919 OUString& rText, const IntlWrapper&) const
1920{
1921 rText = GetValueTextByPos( sal::static_int_cast< sal_uInt16 >( GetValue() ) );
1922
1923 if( ePres == SfxItemPresentation::Complete )
1924 {
1925 rText = SdrItemPool::GetItemName( Which() ) + " " + rText;
1926 }
1927
1928 return true;
1929}
1930
1931SdrGrafCropItem* SdrGrafCropItem::Clone( SfxItemPool* /*pPool*/) const
1932{
1933 return new SdrGrafCropItem( *this );
1934}
1935
1937{
1938}
1939
1941{
1942 return new SdrTextAniStartInsideItem(*this);
1943}
1944
1946{
1947}
1948
1950{
1951 return new SdrTextAniStopInsideItem(*this);
1952}
1953
1955{
1956}
1957
1959{
1960 return new SdrCaptionEscIsRelItem(*this);
1961}
1962
1964{
1965}
1966
1968{
1969 return new SdrCaptionEscRelItem(*this);
1970}
1971
1973{
1974}
1975
1977{
1978 return new SdrCaptionFitLineLenItem(*this);
1979}
1980
1982{
1983}
1984
1986{
1987 return new SdrCaptionLineLenItem(*this);
1988}
1989
1991{
1992}
1993
1995{
1996 return new SdrMeasureBelowRefEdgeItem(*this);
1997}
1998
2000{
2001}
2002
2004{
2005 return new SdrMeasureTextIsFixedAngleItem(*this);
2006}
2007
2009{
2010}
2011
2013{
2014 return new SdrMeasureTextFixedAngleItem(*this);
2015}
2016
2018{
2019}
2020
2022{
2023 return new SdrMeasureDecimalPlacesItem(*this);
2024}
2025
2027{
2028}
2029
2031{
2032 return new SdrMeasureTextRota90Item(*this);
2033}
2034
2036{
2037}
2038
2040{
2041 return new SdrMeasureTextUpsideDownItem(*this);
2042}
2043
2045{
2046 return new SdrLayerIdItem(*this);
2047}
2048
2050{
2051 return new SdrLayerNameItem(*this);
2052}
2053
2054/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::chart::ChartAxisLabelPosition ePos
static const AllSettings & GetSettings()
static tools::Long Scale(tools::Long nVal, tools::Long nMult, tools::Long nDiv)
sal_Int32 GetValue() const
void SetValue(sal_Int32 nTheValue)
sal_uInt16 GetValue() const
void SetValue(sal_uInt32 nTheValue)
sal_uInt32 GetValue() const
sal_Int32 GetNumerator() const
sal_Int32 GetDenominator() const
bool IsValid() const
const LocaleDataWrapper * getLocaleData() const
const OUString & getNumDecimalSep() const
static bool isNumLeadingZero()
virtual SdrAngleItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:822
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const override
Definition: svdattr.cxx:827
SdrAngleItem(TypedWhichId< SdrAngleItem > nId, Degree100 nAngle)
Definition: sdangitm.hxx:30
Degree100 GetValue() const
Definition: sdangitm.hxx:39
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:980
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:978
SdrCaptionEscDirItem(SdrCaptionEscDir eDir=SdrCaptionEscDir::Horizontal)
Definition: sxcecitm.hxx:35
virtual SdrCaptionEscDirItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:976
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:992
SdrCaptionEscIsRelItem(bool bRel=true)
Definition: sxcecitm.hxx:51
virtual SdrCaptionEscIsRelItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1958
virtual ~SdrCaptionEscIsRelItem() override
Definition: svdattr.cxx:1954
SdrCaptionEscRelItem(sal_Int32 nEscRel=5000)
Definition: sxcecitm.hxx:70
virtual ~SdrCaptionEscRelItem() override
Definition: svdattr.cxx:1963
virtual SdrCaptionEscRelItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1967
The length of the first caption line is either automatically calculated or the default setting is use...
Definition: sxcllitm.hxx:47
virtual SdrCaptionFitLineLenItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1976
SdrCaptionFitLineLenItem(bool bBestFit=true)
Definition: sxcllitm.hxx:49
virtual ~SdrCaptionFitLineLenItem() override
Definition: svdattr.cxx:1972
class SdrCaptionGapItem Distance of the line start from the Rect
Definition: sxcgitm.hxx:30
Length of the first caption line Only for Type3 and Type4 Only relevant, if SdrCaptionFitLineLenItem ...
Definition: sxcllitm.hxx:31
virtual SdrCaptionLineLenItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1985
SdrCaptionLineLenItem(tools::Long nLineLen=0)
Definition: sxcllitm.hxx:33
virtual ~SdrCaptionLineLenItem() override
Definition: svdattr.cxx:1981
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:950
virtual SdrCaptionTypeItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:948
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:952
SdrCaptionTypeItem(SdrCaptionType eStyle=SdrCaptionType::Type3)
Definition: sxctitm.hxx:32
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:965
virtual SdrCircKindItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1751
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1768
SdrCircKindItem(SdrCircKind eKind=SdrCircKind::Full)
Definition: sxcikitm.hxx:28
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1778
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1753
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1784
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1755
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1444
SdrEdgeKindItem(SdrEdgeKind eStyle=SdrEdgeKind::OrthoLines)
Definition: sxekitm.hxx:33
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1414
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1401
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1399
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1424
virtual SdrEdgeKindItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1397
virtual SdrEdgeNode1GlueDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1555
SdrEdgeNode1GlueDistItem(tools::Long nVal=0)
Definition: sxenditm.hxx:60
virtual SdrEdgeNode1HorzDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1487
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1471
SdrEdgeNode1HorzDistItem(tools::Long nVal)
Definition: sxenditm.hxx:28
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1477
virtual SdrEdgeNode1VertDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1508
SdrEdgeNode1VertDistItem(tools::Long nVal)
Definition: sxenditm.hxx:36
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1498
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1492
SdrEdgeNode2GlueDistItem(tools::Long nVal=0)
Definition: sxenditm.hxx:66
virtual SdrEdgeNode2GlueDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1560
SdrEdgeNode2HorzDistItem(tools::Long nVal)
Definition: sxenditm.hxx:44
virtual SdrEdgeNode2HorzDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1529
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1513
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1519
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1534
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1540
virtual SdrEdgeNode2VertDistItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1550
SdrEdgeNode2VertDistItem(tools::Long nVal)
Definition: sxenditm.hxx:52
static OUString GetUnitStr(MapUnit eUnit)
Definition: svdtrans.cxx:798
OUString GetStr(tools::Long nVal) const
Definition: svdtrans.cxx:687
virtual bool operator==(const SfxPoolItem &) const override
Definition: svdattr.cxx:654
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:660
const Fraction & GetValue() const
Definition: sxfiitm.hxx:35
Fraction nValue
Definition: sxfiitm.hxx:29
SdrFractionItem(sal_uInt16 nId, const Fraction &rVal)
Definition: sxfiitm.hxx:31
virtual SdrFractionItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:690
SdrGrafContrastItem(short nContrastPercent=0)
Definition: sdgluitm.hxx:51
virtual SdrGrafContrastItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1840
SdrGrafGamma100Item(sal_uInt32 nGamma100=100)
Definition: sdggaitm.hxx:36
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1850
virtual SdrGrafGamma100Item * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1845
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1856
virtual SdrGrafInvertItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1866
SdrGrafInvertItem(bool bInvert=false)
Definition: sdginitm.hxx:34
virtual SdrGrafLuminanceItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1835
SdrGrafLuminanceItem(short nLuminancePercent=0)
Definition: sdgluitm.hxx:36
virtual SdrGrafModeItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1876
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1917
SdrGrafModeItem(GraphicDrawMode eMode=GraphicDrawMode::Standard)
Definition: sdgmoitm.hxx:38
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1886
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1881
virtual rtl::Reference< SfxItemPool > Clone() const override
Definition: svdattr.cxx:387
virtual bool GetPresentation(const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const override
Definition: svdattr.cxx:398
virtual ~SdrItemPool() override
Definition: svdattr.cxx:392
static OUString GetItemName(sal_uInt16 nWhich)
Definition: svdattr.cxx:417
SdrItemPool(SfxItemPool *pMaster=nullptr)
Definition: svdattr.cxx:117
virtual SdrLayerIdItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2044
SdrLayerIdItem(SdrLayerID nId)
Definition: sxlayitm.hxx:29
virtual SdrLayerNameItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2049
virtual SdrMeasureBelowRefEdgeItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1994
SdrMeasureBelowRefEdgeItem(bool bOn=false)
Definition: sxmbritm.hxx:34
virtual ~SdrMeasureBelowRefEdgeItem() override
Definition: svdattr.cxx:1990
SdrMeasureDecimalPlacesItem(sal_Int16 nVal=2)
Definition: sxmtfitm.hxx:58
virtual ~SdrMeasureDecimalPlacesItem() override
Definition: svdattr.cxx:2017
virtual SdrMeasureDecimalPlacesItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2021
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1569
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1590
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1567
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1580
virtual SdrMeasureKindItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1565
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1596
virtual ~SdrMeasureTextFixedAngleItem() override
Definition: svdattr.cxx:2008
virtual SdrMeasureTextFixedAngleItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2012
SdrMeasureTextFixedAngleItem(Degree100 nVal=0_deg100)
Definition: sxmtfitm.hxx:45
static const OUString & GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1617
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1615
SdrMeasureTextHPosItem(css::drawing::MeasureTextHorzPos ePos=css::drawing::MeasureTextHorzPos::MeasureTextHorzPos_AUTO)
Definition: sxmtpitm.hxx:30
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1646
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1630
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1640
virtual SdrMeasureTextHPosItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1613
SdrMeasureTextIsFixedAngleItem(bool bOn=false)
Definition: sxmtfitm.hxx:32
virtual SdrMeasureTextIsFixedAngleItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2003
virtual ~SdrMeasureTextIsFixedAngleItem() override
Definition: svdattr.cxx:1999
SdrMeasureTextRota90Item(bool bOn=false)
Definition: sxmtritm.hxx:28
virtual SdrMeasureTextRota90Item * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2030
virtual ~SdrMeasureTextRota90Item() override
Definition: svdattr.cxx:2026
virtual SdrMeasureTextUpsideDownItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:2039
SdrMeasureTextUpsideDownItem(bool bOn=false)
Definition: sxmtritm.hxx:42
virtual ~SdrMeasureTextUpsideDownItem() override
Definition: svdattr.cxx:2035
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1690
SdrMeasureTextVPosItem(css::drawing::MeasureTextVertPos ePos=css::drawing::MeasureTextVertPos_AUTO)
Definition: sxmtpitm.hxx:46
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1664
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1680
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1666
virtual SdrMeasureTextVPosItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1662
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1696
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1734
SdrMeasureUnitItem(FieldUnit eUnit=FieldUnit::NONE)
Definition: sxmuitm.hxx:31
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1716
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1740
virtual SdrMeasureUnitItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1712
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1724
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1714
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
Definition: svdattr.cxx:916
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:903
virtual SdrMetricItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:886
virtual void ScaleMetrics(tools::Long nMul, tools::Long nDiv) override
Definition: svdattr.cxx:896
virtual bool HasMetrics() const override
Definition: svdattr.cxx:891
SdrMetricItem(TypedWhichId< SdrMetricItem > nId, sal_Int32 nVal)
Definition: sdmetitm.hxx:32
virtual OUString GetValueTextByVal(bool bVal) const override
Definition: svdattr.cxx:736
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:743
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
Definition: svdattr.cxx:753
virtual SdrOnOffItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:731
SdrOnOffItem(TypedWhichId< SdrOnOffItem > nId, bool bOn)
Definition: sdooitm.hxx:32
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
Definition: svdattr.cxx:808
SdrPercentItem(TypedWhichId< SdrPercentItem > nId, sal_uInt16 nVal)
Definition: sdprcitm.hxx:34
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:793
virtual SdrPercentItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:788
SdrScaleItem(sal_uInt16 nId, const Fraction &rVal)
Definition: sxsiitm.hxx:25
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:699
virtual SdrScaleItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:722
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1330
virtual bool HasMetrics() const override
Definition: svdattr.cxx:1314
virtual SdrTextAniAmountItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1312
SdrTextAniAmountItem(sal_Int16 nVal=0)
Definition: sdtaaitm.hxx:28
virtual void ScaleMetrics(tools::Long nMul, tools::Long nDiv) override
Definition: svdattr.cxx:1319
SdrTextAniDelayItem(sal_uInt16 nVal=0)
Definition: sdtayitm.hxx:28
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1297
virtual SdrTextAniDelayItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1295
virtual SdrTextAniDirectionItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1244
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1277
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1248
SdrTextAniDirectionItem(SdrTextAniDirection eDir=SdrTextAniDirection::Left)
Definition: sdtaditm.hxx:36
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1261
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1271
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1246
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1221
virtual SdrTextAniKindItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1193
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1197
SdrTextAniKindItem(SdrTextAniKind eKind=SdrTextAniKind::NONE)
Definition: sdtakitm.hxx:81
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1227
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1195
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1211
virtual ~SdrTextAniStartInsideItem() override
Definition: svdattr.cxx:1936
virtual SdrTextAniStartInsideItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1940
SdrTextAniStartInsideItem(bool bOn=false)
Definition: sdtaiitm.hxx:27
virtual SdrTextAniStopInsideItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1949
SdrTextAniStopInsideItem(bool bOn=false)
Definition: sdtaiitm.hxx:39
virtual ~SdrTextAniStopInsideItem() override
Definition: svdattr.cxx:1945
virtual SdrTextFitToSizeTypeItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1010
static SfxPoolItem * CreateDefault()
Definition: svdattr.cxx:1008
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1064
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1024
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1022
SdrTextFitToSizeTypeItem(css::drawing::TextFitToSizeType const eFit=css::drawing::TextFitToSizeType_NONE)
Definition: sdtfsitm.hxx:38
virtual bool GetBoolValue() const override
Definition: svdattr.cxx:1049
bool operator==(const SfxPoolItem &rItem) const override
Definition: svdattr.cxx:1012
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1037
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1056
virtual void SetBoolValue(bool bVal) override
Definition: svdattr.cxx:1051
virtual bool HasBoolValue() const override
Definition: svdattr.cxx:1047
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1143
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1175
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1169
virtual SdrTextHorzAdjustItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1141
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1145
SdrTextHorzAdjustItem(SdrTextHorzAdjust eAdj=SDRTEXTHORZADJUST_BLOCK)
Definition: sdtaitm.hxx:61
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1159
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
Definition: svdattr.cxx:1116
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
Definition: svdattr.cxx:1110
static OUString GetValueTextByPos(sal_uInt16 nPos)
Definition: svdattr.cxx:1086
SdrTextVertAdjustItem(SdrTextVertAdjust eAdj=SDRTEXTVERTADJUST_TOP)
Definition: sdtaitm.hxx:37
virtual sal_uInt16 GetValueCount() const override
Definition: svdattr.cxx:1084
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:1100
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
Definition: svdattr.cxx:1133
virtual SdrTextVertAdjustItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:1082
virtual OUString GetValueTextByVal(bool bVal) const override
Definition: svdattr.cxx:771
virtual SdrYesNoItem * Clone(SfxItemPool *pPool=nullptr) const override
Definition: svdattr.cxx:766
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
Definition: svdattr.cxx:778
SdrYesNoItem(TypedWhichId< SdrYesNoItem > nId, bool bOn)
Definition: sdynitm.hxx:32
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
bool GetValue() const
sal_Int16 GetValue() const
void SetValue(sal_Int16 nTheValue)
void dumpAsXml(xmlTextWriterPtr pWriter) const override
void SetDefaults(std::vector< SfxPoolItem * > *pDefaults)
void SetItemInfos(const SfxItemInfo *pInfos)
virtual bool GetPresentation(const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
void SetSecondaryPool(SfxItemPool *pPool)
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
sal_uInt16 Which() const
virtual bool operator==(const SfxPoolItem &) const=0
void dumpAsXml(xmlTextWriterPtr pWriter) const override
void SetTable(bool bNew)
void SetDist(bool bNew)
void SetValid(SvxBoxInfoItemValidFlags nValid, bool bValid=true)
void SetAllDistances(sal_Int16 nNew)
Item that holds a rectangle alignment value.
std::unique_ptr< SfxItemInfo[]> mpLocalItemInfos
Definition: xpool.hxx:37
std::vector< SfxPoolItem * > * mpLocalPoolDefaults
Definition: xpool.hxx:36
static OUString formatPercent(double dNumber, const LanguageTag &rLangTag)
ColorTransparency
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
int nCount
OUString SvxResId(TranslateId aId)
Definition: dialmgr.cxx:24
virtual void SetValue(tools::Long nNew) override
constexpr TypedWhichId< SvxContourItem > EE_CHAR_OUTLINE(EE_CHAR_START+8)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE(EE_PARA_START+6)
constexpr TypedWhichId< SvxKerningItem > EE_CHAR_KERNING(EE_CHAR_START+12)
constexpr TypedWhichId< SvxFieldItem > EE_FEATURE_FIELD(EE_FEATURE_NOTCONV+1)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_BULLETSTATE(EE_PARA_START+9)
constexpr TypedWhichId< SvxTabStopItem > EE_PARA_TABS(EE_PARA_START+17)
constexpr TypedWhichId< SvxUnderlineItem > EE_CHAR_UNDERLINE(EE_CHAR_START+5)
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT(EE_CHAR_START+2)
constexpr TypedWhichId< SvxAutoKernItem > EE_CHAR_PAIRKERNING(EE_CHAR_START+11)
constexpr TypedWhichId< SvxShadowedItem > EE_CHAR_SHADOW(EE_CHAR_START+9)
constexpr TypedWhichId< SvxULSpaceItem > EE_PARA_ULSPACE(EE_PARA_START+14)
constexpr TypedWhichId< SvxOverlineItem > EE_CHAR_OVERLINE(EE_CHAR_START+29)
constexpr sal_uInt16 EE_FEATURE_LINEBR(EE_FEATURE_TAB+1)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT(EE_CHAR_START+4)
constexpr TypedWhichId< SvxLRSpaceItem > EE_PARA_LRSPACE(EE_PARA_START+13)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_COLOR(EE_CHAR_START+0)
constexpr TypedWhichId< SvxCrossedOutItem > EE_CHAR_STRIKEOUT(EE_CHAR_START+6)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC(EE_CHAR_START+7)
constexpr sal_uInt16 EE_FEATURE_NOTCONV(EE_FEATURE_LINEBR+1)
constexpr TypedWhichId< SvxLineSpacingItem > EE_PARA_SBL(EE_PARA_START+15)
constexpr TypedWhichId< SvxEscapementItem > EE_CHAR_ESCAPEMENT(EE_CHAR_START+10)
constexpr TypedWhichId< SvxBulletItem > EE_PARA_BULLET(EE_PARA_START+12)
constexpr TypedWhichId< SfxInt16Item > EE_PARA_OUTLLEVEL(EE_PARA_START+11)
constexpr sal_uInt16 EE_FEATURE_TAB(EE_FEATURE_START+0)
constexpr TypedWhichId< SvxCharScaleWidthItem > EE_CHAR_FONTWIDTH(EE_CHAR_START+3)
constexpr TypedWhichId< SvxLRSpaceItem > EE_PARA_OUTLLRSPACE(EE_PARA_START+10)
constexpr TypedWhichId< SvxWordLineModeItem > EE_CHAR_WLM(EE_CHAR_START+13)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO(EE_CHAR_START+1)
struct _xmlTextWriter * xmlTextWriterPtr
FieldUnit
sal_Int16 nValue
Definition: fmsrccfg.cxx:81
const sal_uInt16 idx[]
sal_uInt16 nPos
#define SAL_N_ELEMENTS(arr)
MapUnit
aStr
int i
long Long
const char GetValue[]
SfxItemPresentation
bool IsInvalidItem(const SfxPoolItem *pItem)
SdrTextAniDirection
Definition: sdtaditm.hxx:30
SdrTextVertAdjust
Definition: sdtaitm.hxx:29
SdrTextHorzAdjust
Definition: sdtaitm.hxx:53
SdrTextAniKind
Animation type for text frame.
Definition: sdtakitm.hxx:29
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DOBJ_MAT_COLOR(SDRATTR_3DOBJ_FIRST+12)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_8(SDRATTR_3DSCENE_FIRST+20)
constexpr TypedWhichId< Svx3DNormalsKindItem > SDRATTR_3DOBJ_NORMALS_KIND(SDRATTR_3DOBJ_FIRST+7)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_4(SDRATTR_3DSCENE_FIRST+16)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_SHADOW(SDRATTR_SHADOW_FIRST+0)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_AUTOGROWWIDTH(SDRATTR_MISC_FIRST+12)
constexpr TypedWhichId< SdrAngleItem > SDRATTR_CIRCSTARTANGLE(SDRATTR_CIRC_FIRST+1)
constexpr TypedWhichId< SdrGrafGreenItem > SDRATTR_GRAFGREEN(SDRATTR_GRAF_FIRST+1)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_1(SDRATTR_3DSCENE_FIRST+21)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_3(SDRATTR_3DSCENE_FIRST+23)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_1(SDRATTR_3DSCENE_FIRST+13)
constexpr TypedWhichId< SfxVoidItem > SDRATTR_SHADOW3D(SDRATTR_SHADOW_FIRST+5)
constexpr TypedWhichId< SdrTextAniDelayItem > SDRATTR_TEXT_ANIDELAY(SDRATTR_MISC_FIRST+19)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_2(SDRATTR_3DSCENE_FIRST+22)
constexpr TypedWhichId< SdrTransformRef2XItem > SDRATTR_TRANSFORMREF2X(SDRATTR_NOTPERSIST_FIRST+32)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_LEFTDIST(SDRATTR_MISC_FIRST+4)
constexpr TypedWhichId< SdrShearAngleItem > SDRATTR_SHEARANGLE(SDRATTR_NOTPERSIST_FIRST+17)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DOBJ_DEPTH(SDRATTR_3DOBJ_FIRST+2)
constexpr TypedWhichId< SdrCaptionEscRelItem > SDRATTR_CAPTIONESCREL(SDRATTR_CAPTION_FIRST+6)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWSIZEX(SDRATTR_SHADOW_FIRST+7)
constexpr TypedWhichId< SdrCircKindItem > SDRATTR_CIRCKIND(SDRATTR_CIRC_FIRST+0)
constexpr TypedWhichId< SfxStringItem > SDRATTR_CUSTOMSHAPE_ENGINE(SDRATTR_CUSTOMSHAPE_FIRST+0)
constexpr TypedWhichId< SdrGrafLuminanceItem > SDRATTR_GRAFLUMINANCE(SDRATTR_GRAF_FIRST+3)
constexpr TypedWhichId< SdrResizeXAllItem > SDRATTR_RESIZEXALL(SDRATTR_NOTPERSIST_FIRST+25)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_CAPTIONGAP(SDRATTR_CAPTION_FIRST+3)
constexpr TypedWhichId< SdrGrafRedItem > SDRATTR_GRAFRED(SDRATTR_GRAF_FIRST+0)
constexpr TypedWhichId< SdrHorzShearAllItem > SDRATTR_HORZSHEARALL(SDRATTR_NOTPERSIST_FIRST+28)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_CLIPVERTOVERFLOW(SDRATTR_MISC_FIRST+26)
constexpr TypedWhichId< Svx3DPerspectiveItem > SDRATTR_3DSCENE_PERSPECTIVE(SDRATTR_3DSCENE_FIRST+0)
constexpr TypedWhichId< SdrPercentItem > SDRATTR_SHADOWTRANSPARENCE(SDRATTR_SHADOW_FIRST+4)
constexpr TypedWhichId< SdrLayerNameItem > SDRATTR_LAYERNAME(SDRATTR_NOTPERSIST_FIRST+4)
constexpr TypedWhichId< SdrAllSizeWidthItem > SDRATTR_ALLSIZEWIDTH(SDRATTR_NOTPERSIST_FIRST+8)
constexpr TypedWhichId< SdrGrafInvertItem > SDRATTR_GRAFINVERT(SDRATTR_GRAF_FIRST+7)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_TWO_SIDED_LIGHTING(SDRATTR_3DSCENE_FIRST+3)
constexpr TypedWhichId< SdrTextAniStartInsideItem > SDRATTR_TEXT_ANISTARTINSIDE(SDRATTR_MISC_FIRST+16)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_1(SDRATTR_3DSCENE_FIRST+4)
constexpr TypedWhichId< SdrEdgeNode1HorzDistItem > SDRATTR_EDGENODE1HORZDIST(SDRATTR_EDGE_FIRST+1)
constexpr sal_uInt16 SDRATTR_START(XATTR_START)
constexpr TypedWhichId< SdrEdgeNode1GlueDistItem > SDRATTR_EDGENODE1GLUEDIST(SDRATTR_EDGE_FIRST+5)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_3(SDRATTR_3DSCENE_FIRST+15)
constexpr TypedWhichId< SdrCaptionEscIsRelItem > SDRATTR_CAPTIONESCISREL(SDRATTR_CAPTION_FIRST+5)
constexpr TypedWhichId< SdrGrafModeItem > SDRATTR_GRAFMODE(SDRATTR_GRAF_FIRST+8)
constexpr TypedWhichId< SdrPercentItem > SDRATTR_GLOW_TRANSPARENCY(SDRATTR_GLOW_FIRST+2)
constexpr TypedWhichId< SdrCaptionTypeItem > SDRATTR_CAPTIONTYPE(SDRATTR_CAPTION_FIRST+0)
constexpr TypedWhichId< SdrTextFitToSizeTypeItem > SDRATTR_TEXT_FITTOSIZE(SDRATTR_MISC_FIRST+3)
constexpr TypedWhichId< Svx3DTextureModeItem > SDRATTR_3DOBJ_TEXTURE_MODE(SDRATTR_3DOBJ_FIRST+17)
constexpr TypedWhichId< SvXMLAttrContainerItem > SDRATTR_XMLATTRIBUTES(SDRATTR_MISC_FIRST+22)
constexpr TypedWhichId< SdrEdgeLineDeltaCountItem > SDRATTR_EDGELINEDELTACOUNT(SDRATTR_EDGE_FIRST+7)
constexpr TypedWhichId< SdrMeasureTextIsFixedAngleItem > SDRATTR_MEASURETEXTISFIXEDANGLE(SDRATTR_MEASURE_FIRST+18)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DOBJ_TEXTURE_FILTER(SDRATTR_3DOBJ_FIRST+18)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_5(SDRATTR_3DSCENE_FIRST+8)
constexpr TypedWhichId< SdrAllPositionYItem > SDRATTR_ALLPOSITIONY(SDRATTR_NOTPERSIST_FIRST+7)
constexpr TypedWhichId< SdrLayerIdItem > SDRATTR_LAYERID(SDRATTR_NOTPERSIST_FIRST+3)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MAXFRAMEHEIGHT(SDRATTR_MISC_FIRST+9)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DOBJ_DOUBLE_SIDED(SDRATTR_3DOBJ_FIRST+6)
constexpr TypedWhichId< SdrVertShearOneItem > SDRATTR_VERTSHEARONE(SDRATTR_NOTPERSIST_FIRST+24)
constexpr TypedWhichId< SdrObjPrintableItem > SDRATTR_OBJPRINTABLE(SDRATTR_NOTPERSIST_FIRST+2)
constexpr TypedWhichId< SdrAngleItem > SDRATTR_CIRCENDANGLE(SDRATTR_CIRC_FIRST+2)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_MEASUREHELPLINE1LEN(SDRATTR_MEASURE_FIRST+6)
constexpr TypedWhichId< SvxBoxInfoItem > SDRATTR_TABLE_BORDER_INNER(SDRATTR_TABLE_FIRST+1)
constexpr TypedWhichId< SdrResizeYAllItem > SDRATTR_RESIZEYALL(SDRATTR_NOTPERSIST_FIRST+26)
constexpr TypedWhichId< SdrLogicSizeHeightItem > SDRATTR_LOGICSIZEHEIGHT(SDRATTR_NOTPERSIST_FIRST+15)
constexpr TypedWhichId< SdrAllSizeHeightItem > SDRATTR_ALLSIZEHEIGHT(SDRATTR_NOTPERSIST_FIRST+9)
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_OBJSIZEPROTECT(SDRATTR_NOTPERSIST_FIRST+1)
constexpr TypedWhichId< SdrObjVisibleItem > SDRATTR_OBJVISIBLE(SDRATTR_NOTPERSIST_FIRST+35)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_5(SDRATTR_3DSCENE_FIRST+17)
constexpr TypedWhichId< SdrTransformRef2YItem > SDRATTR_TRANSFORMREF2Y(SDRATTR_NOTPERSIST_FIRST+33)
constexpr TypedWhichId< SdrEdgeKindItem > SDRATTR_EDGEKIND(SDRATTR_EDGE_FIRST+0)
constexpr TypedWhichId< SdrCaptionEscAbsItem > SDRATTR_CAPTIONESCABS(SDRATTR_CAPTION_FIRST+7)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWYDIST(SDRATTR_SHADOW_FIRST+3)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_7(SDRATTR_3DSCENE_FIRST+27)
constexpr TypedWhichId< SdrTextAniStopInsideItem > SDRATTR_TEXT_ANISTOPINSIDE(SDRATTR_MISC_FIRST+17)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_EDGELINE2DELTA(SDRATTR_EDGE_FIRST+9)
constexpr TypedWhichId< Svx3DSmoothLidsItem > SDRATTR_3DOBJ_SMOOTH_LIDS(SDRATTR_3DOBJ_FIRST+20)
constexpr TypedWhichId< Svx3DCloseFrontItem > SDRATTR_3DOBJ_CLOSE_FRONT(SDRATTR_3DOBJ_FIRST+22)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_FOCAL_LENGTH(SDRATTR_3DSCENE_FIRST+2)
constexpr TypedWhichId< SdrOneSizeHeightItem > SDRATTR_ONESIZEHEIGHT(SDRATTR_NOTPERSIST_FIRST+13)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_6(SDRATTR_3DSCENE_FIRST+26)
constexpr sal_uInt16 SDRATTR_SHADOW_FIRST(XATTR_END+1)
constexpr TypedWhichId< SdrTextFixedCellHeightItem > SDRATTR_TEXT_USEFIXEDCELLHEIGHT(SDRATTR_MISC_FIRST+23)
constexpr TypedWhichId< SdrMeasureOverhangItem > SDRATTR_MEASUREOVERHANG(SDRATTR_MEASURE_FIRST+11)
constexpr TypedWhichId< SdrOneSizeWidthItem > SDRATTR_ONESIZEWIDTH(SDRATTR_NOTPERSIST_FIRST+12)
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_OBJMOVEPROTECT(SDRATTR_NOTPERSIST_FIRST+0)
constexpr TypedWhichId< SdrCaptionLineLenItem > SDRATTR_CAPTIONLINELEN(SDRATTR_CAPTION_FIRST+8)
constexpr TypedWhichId< SfxVoidItem > SDRATTR_SHADOWPERSP(SDRATTR_SHADOW_FIRST+6)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_6(SDRATTR_3DSCENE_FIRST+9)
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_MEASURETEXTUPSIDEDOWN(SDRATTR_MEASURE_FIRST+10)
constexpr TypedWhichId< SdrMoveXItem > SDRATTR_MOVEX(SDRATTR_NOTPERSIST_FIRST+18)
constexpr TypedWhichId< SdrTextHorzAdjustItem > SDRATTR_TEXT_HORZADJUST(SDRATTR_MISC_FIRST+13)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MINFRAMEWIDTH(SDRATTR_MISC_FIRST+10)
constexpr TypedWhichId< SdrOnePositionYItem > SDRATTR_ONEPOSITIONY(SDRATTR_NOTPERSIST_FIRST+11)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_MEASUREHELPLINE2LEN(SDRATTR_MEASURE_FIRST+7)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_4(SDRATTR_3DSCENE_FIRST+7)
constexpr TypedWhichId< SdrYesNoItem > SDRATTR_MEASURESHOWUNIT(SDRATTR_MEASURE_FIRST+14)
constexpr TypedWhichId< SvxTextRotateItem > SDRATTR_TABLE_TEXT_ROTATION(SDRATTR_TABLE_FIRST+4)
constexpr TypedWhichId< SdrRotateAllItem > SDRATTR_ROTATEALL(SDRATTR_NOTPERSIST_FIRST+27)
constexpr TypedWhichId< SdrMeasureTextRota90Item > SDRATTR_MEASURETEXTROTA90(SDRATTR_MEASURE_FIRST+9)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_7(SDRATTR_3DSCENE_FIRST+10)
constexpr TypedWhichId< SdrGrafContrastItem > SDRATTR_GRAFCONTRAST(SDRATTR_GRAF_FIRST+4)
constexpr TypedWhichId< Svx3DShadeModeItem > SDRATTR_3DSCENE_SHADE_MODE(SDRATTR_3DSCENE_FIRST+30)
constexpr TypedWhichId< SdrEdgeNode1VertDistItem > SDRATTR_EDGENODE1VERTDIST(SDRATTR_EDGE_FIRST+2)
constexpr TypedWhichId< SdrMeasureFormatStringItem > SDRATTR_MEASUREFORMATSTRING(SDRATTR_MEASURE_FIRST+15)
constexpr TypedWhichId< SdrMeasureTextVPosItem > SDRATTR_MEASURETEXTVPOS(SDRATTR_MEASURE_FIRST+2)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_AUTOGROWHEIGHT(SDRATTR_MISC_FIRST+2)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_WORDWRAP(SDRATTR_MISC_FIRST+24)
constexpr TypedWhichId< Svx3DTextureKindItem > SDRATTR_3DOBJ_TEXTURE_KIND(SDRATTR_3DOBJ_FIRST+16)
constexpr TypedWhichId< SfxUInt16Item > SDRATTR_3DOBJ_BACKSCALE(SDRATTR_3DOBJ_FIRST+1)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_6(SDRATTR_3DSCENE_FIRST+18)
constexpr TypedWhichId< SfxUInt16Item > SDRATTR_3DSCENE_SHADOW_SLANT(SDRATTR_3DSCENE_FIRST+29)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DOBJ_VERT_SEGS(SDRATTR_3DOBJ_FIRST+4)
constexpr TypedWhichId< SfxStringItem > SDRATTR_OBJECTNAME(SDRATTR_NOTPERSIST_FIRST+5)
constexpr TypedWhichId< SvxLineItem > SDRATTR_TABLE_BORDER_BLTR(SDRATTR_TABLE_FIRST+3)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DOBJ_MAT_SPECULAR(SDRATTR_3DOBJ_FIRST+14)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MINFRAMEHEIGHT(SDRATTR_MISC_FIRST+1)
constexpr TypedWhichId< SdrCaptionFitLineLenItem > SDRATTR_CAPTIONFITLINELEN(SDRATTR_CAPTION_FIRST+9)
constexpr TypedWhichId< SdrAllPositionXItem > SDRATTR_ALLPOSITIONX(SDRATTR_NOTPERSIST_FIRST+6)
constexpr TypedWhichId< SdrTextVertAdjustItem > SDRATTR_TEXT_VERTADJUST(SDRATTR_MISC_FIRST+8)
constexpr sal_uInt16 SDRATTR_NOTPERSIST_LAST(SDRATTR_OBJVISIBLE)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_AMBIENTCOLOR(SDRATTR_3DSCENE_FIRST+12)
constexpr TypedWhichId< SdrMoveYItem > SDRATTR_MOVEY(SDRATTR_NOTPERSIST_FIRST+19)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MAXFRAMEWIDTH(SDRATTR_MISC_FIRST+11)
constexpr TypedWhichId< SdrMeasureBelowRefEdgeItem > SDRATTR_MEASUREBELOWREFEDGE(SDRATTR_MEASURE_FIRST+8)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_DISTANCE(SDRATTR_3DSCENE_FIRST+1)
constexpr TypedWhichId< SdrTextAniKindItem > SDRATTR_TEXT_ANIKIND(SDRATTR_MISC_FIRST+14)
constexpr TypedWhichId< SdrTextAniCountItem > SDRATTR_TEXT_ANICOUNT(SDRATTR_MISC_FIRST+18)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_2(SDRATTR_3DSCENE_FIRST+14)
constexpr TypedWhichId< SvxBoxItem > SDRATTR_TABLE_BORDER(SDRATTR_TABLE_FIRST+0)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_MEASUREHELPLINEOVERHANG(SDRATTR_MEASURE_FIRST+4)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DOBJ_SHADOW_3D(SDRATTR_3DOBJ_FIRST+11)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_GLOW_RADIUS(SDRATTR_GLOW_FIRST+0)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWBLUR(SDRATTR_SHADOW_FIRST+9)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_EDGELINE3DELTA(SDRATTR_EDGE_FIRST+10)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DOBJ_NORMALS_INVERT(SDRATTR_3DOBJ_FIRST+8)
constexpr TypedWhichId< SdrEdgeNode2GlueDistItem > SDRATTR_EDGENODE2GLUEDIST(SDRATTR_EDGE_FIRST+6)
constexpr TypedWhichId< Svx3DReducedLineGeometryItem > SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY(SDRATTR_3DOBJ_FIRST+24)
constexpr TypedWhichId< SdrAngleItem > SDRATTR_CAPTIONANGLE(SDRATTR_CAPTION_FIRST+2)
constexpr TypedWhichId< Svx3DCharacterModeItem > SDRATTR_3DOBJ_CHARACTER_MODE(SDRATTR_3DOBJ_FIRST+21)
constexpr TypedWhichId< SdrTransformRef1YItem > SDRATTR_TRANSFORMREF1Y(SDRATTR_NOTPERSIST_FIRST+31)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_8(SDRATTR_3DSCENE_FIRST+11)
constexpr TypedWhichId< SdrGrafGamma100Item > SDRATTR_GRAFGAMMA(SDRATTR_GRAF_FIRST+5)
constexpr TypedWhichId< SdrMeasureTextFixedAngleItem > SDRATTR_MEASURETEXTFIXEDANGLE(SDRATTR_MEASURE_FIRST+19)
constexpr TypedWhichId< SdrAngleItem > SDRATTR_MEASURETEXTAUTOANGLEVIEW(SDRATTR_MEASURE_FIRST+17)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_RIGHTDIST(SDRATTR_MISC_FIRST+5)
constexpr TypedWhichId< XColorItem > SDRATTR_GLOW_COLOR(SDRATTR_GLOW_FIRST+1)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_CAPTIONFIXEDANGLE(SDRATTR_CAPTION_FIRST+1)
constexpr TypedWhichId< SdrTextAniDirectionItem > SDRATTR_TEXT_ANIDIRECTION(SDRATTR_MISC_FIRST+15)
constexpr TypedWhichId< SdrTextAniAmountItem > SDRATTR_TEXT_ANIAMOUNT(SDRATTR_MISC_FIRST+20)
constexpr TypedWhichId< SdrGrafCropItem > SDRATTR_GRAFCROP(SDRATTR_GRAF_FIRST+9)
constexpr TypedWhichId< SfxGrabBagItem > SDRATTR_TABLE_CELL_GRABBAG(SDRATTR_TABLE_FIRST+5)
constexpr TypedWhichId< SfxInt16Item > SDRATTR_TEXTCOLUMNS_NUMBER(SDRATTR_TEXTCOLUMNS_FIRST+0)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SOFTEDGE_RADIUS(SDRATTR_SOFTEDGE_FIRST+0)
constexpr TypedWhichId< XColorItem > SDRATTR_SHADOWCOLOR(SDRATTR_SHADOW_FIRST+1)
constexpr TypedWhichId< SdrHorzShearOneItem > SDRATTR_HORZSHEARONE(SDRATTR_NOTPERSIST_FIRST+23)
constexpr TypedWhichId< SdrRotateOneItem > SDRATTR_ROTATEONE(SDRATTR_NOTPERSIST_FIRST+22)
constexpr TypedWhichId< SdrMeasureScaleItem > SDRATTR_MEASURESCALE(SDRATTR_MEASURE_FIRST+13)
constexpr TypedWhichId< SfxStringItem > SDRATTR_TEXT_CHAINNEXTNAME(SDRATTR_MISC_FIRST+25)
constexpr TypedWhichId< Svx3DCloseBackItem > SDRATTR_3DOBJ_CLOSE_BACK(SDRATTR_3DOBJ_FIRST+23)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_8(SDRATTR_3DSCENE_FIRST+28)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_4(SDRATTR_3DSCENE_FIRST+24)
constexpr TypedWhichId< SvxB3DVectorItem > SDRATTR_3DSCENE_LIGHTDIRECTION_5(SDRATTR_3DSCENE_FIRST+25)
constexpr TypedWhichId< SdrMeasureUnitItem > SDRATTR_MEASUREUNIT(SDRATTR_MEASURE_FIRST+12)
constexpr TypedWhichId< SfxUInt16Item > SDRATTR_3DOBJ_PERCENT_DIAGONAL(SDRATTR_3DOBJ_FIRST+0)
constexpr TypedWhichId< SdrCustomShapeGeometryItem > SDRATTR_CUSTOMSHAPE_GEOMETRY(SDRATTR_CUSTOMSHAPE_FIRST+2)
constexpr TypedWhichId< SdrLogicSizeWidthItem > SDRATTR_LOGICSIZEWIDTH(SDRATTR_NOTPERSIST_FIRST+14)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_LOWERDIST(SDRATTR_MISC_FIRST+7)
constexpr TypedWhichId< SvxWritingModeItem > SDRATTR_TEXTDIRECTION(SDRATTR_NOTPERSIST_FIRST+34)
constexpr TypedWhichId< SdrOnePositionXItem > SDRATTR_ONEPOSITIONX(SDRATTR_NOTPERSIST_FIRST+10)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DOBJ_MAT_EMISSION(SDRATTR_3DOBJ_FIRST+13)
constexpr TypedWhichId< SdrEdgeNode2HorzDistItem > SDRATTR_EDGENODE2HORZDIST(SDRATTR_EDGE_FIRST+3)
constexpr TypedWhichId< SdrMeasureTextHPosItem > SDRATTR_MEASURETEXTHPOS(SDRATTR_MEASURE_FIRST+1)
constexpr TypedWhichId< SdrMeasureKindItem > SDRATTR_MEASUREKIND(SDRATTR_MEASURE_FIRST+0)
constexpr TypedWhichId< SdrMeasureDecimalPlacesItem > SDRATTR_MEASUREDECIMALPLACES(SDRATTR_MEASURE_FIRST+20)
constexpr TypedWhichId< SdrGrafTransparenceItem > SDRATTR_GRAFTRANSPARENCE(SDRATTR_GRAF_FIRST+6)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_CORNER_RADIUS(SDRATTR_MISC_FIRST+0)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_MEASURELINEDIST(SDRATTR_MEASURE_FIRST+3)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXTCOLUMNS_SPACING(SDRATTR_TEXTCOLUMNS_FIRST+1)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_2(SDRATTR_3DSCENE_FIRST+5)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_UPPERDIST(SDRATTR_MISC_FIRST+6)
constexpr TypedWhichId< SdrMeasureTextAutoAngleItem > SDRATTR_MEASURETEXTAUTOANGLE(SDRATTR_MEASURE_FIRST+16)
constexpr TypedWhichId< SfxStringItem > SDRATTR_CUSTOMSHAPE_DATA(SDRATTR_CUSTOMSHAPE_FIRST+1)
constexpr TypedWhichId< SvxRectangleAlignmentItem > SDRATTR_SHADOWALIGNMENT(SDRATTR_SHADOW_FIRST+10)
constexpr TypedWhichId< SvxFrameDirectionItem > SDRATTR_WRITINGMODE2(SDRATTR_WRITINGMODE2_FIRST+0)
constexpr TypedWhichId< Svx3DTextureProjectionYItem > SDRATTR_3DOBJ_TEXTURE_PROJ_Y(SDRATTR_3DOBJ_FIRST+10)
constexpr TypedWhichId< SdrCaptionEscDirItem > SDRATTR_CAPTIONESCDIR(SDRATTR_CAPTION_FIRST+4)
constexpr TypedWhichId< Svx3DTextureProjectionXItem > SDRATTR_3DOBJ_TEXTURE_PROJ_X(SDRATTR_3DOBJ_FIRST+9)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_EDGELINE1DELTA(SDRATTR_EDGE_FIRST+8)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_MEASUREHELPLINEDIST(SDRATTR_MEASURE_FIRST+5)
constexpr sal_uInt16 SDRATTR_NOTPERSIST_FIRST(SDRATTR_CIRC_LAST+1)
constexpr TypedWhichId< SdrEdgeNode2VertDistItem > SDRATTR_EDGENODE2VERTDIST(SDRATTR_EDGE_FIRST+4)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DOBJ_END_ANGLE(SDRATTR_3DOBJ_FIRST+5)
constexpr TypedWhichId< Svx3DSmoothNormalsItem > SDRATTR_3DOBJ_SMOOTH_NORMALS(SDRATTR_3DOBJ_FIRST+19)
constexpr sal_uInt16 SDRATTR_END(SDRATTR_WRITINGMODE2_LAST)
constexpr TypedWhichId< SdrResizeXOneItem > SDRATTR_RESIZEXONE(SDRATTR_NOTPERSIST_FIRST+20)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWSIZEY(SDRATTR_SHADOW_FIRST+8)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DOBJ_HORZ_SEGS(SDRATTR_3DOBJ_FIRST+3)
constexpr TypedWhichId< SvxLineItem > SDRATTR_TABLE_BORDER_TLBR(SDRATTR_TABLE_FIRST+2)
constexpr TypedWhichId< SvxColorItem > SDRATTR_3DSCENE_LIGHTCOLOR_3(SDRATTR_3DSCENE_FIRST+6)
constexpr TypedWhichId< SfxUInt16Item > SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY(SDRATTR_3DOBJ_FIRST+15)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_SHADOWXDIST(SDRATTR_SHADOW_FIRST+2)
constexpr TypedWhichId< SfxBoolItem > SDRATTR_3DSCENE_LIGHTON_7(SDRATTR_3DSCENE_FIRST+19)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_CONTOURFRAME(SDRATTR_MISC_FIRST+21)
constexpr TypedWhichId< SdrVertShearAllItem > SDRATTR_VERTSHEARALL(SDRATTR_NOTPERSIST_FIRST+29)
constexpr TypedWhichId< SdrGrafBlueItem > SDRATTR_GRAFBLUE(SDRATTR_GRAF_FIRST+2)
constexpr TypedWhichId< SdrResizeYOneItem > SDRATTR_RESIZEYONE(SDRATTR_NOTPERSIST_FIRST+21)
constexpr TypedWhichId< SdrTransformRef1XItem > SDRATTR_TRANSFORMREF1X(SDRATTR_NOTPERSIST_FIRST+30)
constexpr TypedWhichId< SdrAngleItem > SDRATTR_ROTATEANGLE(SDRATTR_NOTPERSIST_FIRST+16)
constexpr const sal_Unicode DEGREE_CHAR
Definition: svdmodel.hxx:99
SdrCircKind
Definition: svdocirc.hxx:38
o3tl::strong_int< sal_Int16, struct SdrLayerIDTag > SdrLayerID
Definition: svdtypes.hxx:56
SdrEdgeKind
Definition: sxekitm.hxx:27
SdrMeasureKind
Definition: sxmkitm.hxx:25
unsigned char sal_uInt8
sal_uInt16 sal_Unicode
constexpr TypedWhichId< XFillBmpPosOffsetYItem > XATTR_FILLBMP_POSOFFSETY(XATTR_FILL_FIRST+18)
constexpr TypedWhichId< XGradientStepCountItem > XATTR_GRADIENTSTEPCOUNT(XATTR_FILL_FIRST+6)
constexpr TypedWhichId< XFillBmpPosItem > XATTR_FILLBMP_POS(XATTR_FILL_FIRST+8)
constexpr TypedWhichId< XFillUseSlideBackgroundItem > XATTR_FILLUSESLIDEBACKGROUND(XATTR_FILL_FIRST+20)
constexpr TypedWhichId< XLineJointItem > XATTR_LINEJOINT(XATTR_LINE_FIRST+11)
constexpr TypedWhichId< XFillColorItem > XATTR_FILLCOLOR(XATTR_FILL_FIRST+1)
constexpr TypedWhichId< XFillAttrSetItem > XATTRSET_FILL(XATTR_FILL_LAST+1)
constexpr TypedWhichId< XFillBmpTileOffsetXItem > XATTR_FILLBMP_TILEOFFSETX(XATTR_FILL_FIRST+14)
constexpr TypedWhichId< XFillTransparenceItem > XATTR_FILLTRANSPARENCE(XATTR_FILL_FIRST+5)
constexpr TypedWhichId< XSecondaryFillColorItem > XATTR_SECONDARYFILLCOLOR(XATTR_FILL_FIRST+12)
constexpr TypedWhichId< XFormTextMirrorItem > XATTR_FORMTXTMIRROR(XATTR_TEXT_FIRST+4)
constexpr TypedWhichId< XFormTextStyleItem > XATTR_FORMTXTSTYLE(XATTR_TEXT_FIRST)
constexpr TypedWhichId< XFormTextStartItem > XATTR_FORMTXTSTART(XATTR_TEXT_FIRST+3)
constexpr TypedWhichId< XLineColorItem > XATTR_LINECOLOR(XATTR_LINE_FIRST+3)
constexpr TypedWhichId< XLineStartWidthItem > XATTR_LINESTARTWIDTH(XATTR_LINE_FIRST+6)
constexpr TypedWhichId< XFormTextShadowTranspItem > XATTR_FORMTXTSHDWTRANSP(XATTR_TEXT_FIRST+11)
constexpr TypedWhichId< SfxMetricItem > XATTR_FILLBMP_SIZEX(XATTR_FILL_FIRST+9)
constexpr TypedWhichId< XFormTextShadowYValItem > XATTR_FORMTXTSHDWYVAL(XATTR_TEXT_FIRST+9)
constexpr TypedWhichId< XFormTextHideFormItem > XATTR_FORMTXTHIDEFORM(XATTR_TEXT_FIRST+10)
constexpr TypedWhichId< XLineDashItem > XATTR_LINEDASH(XATTR_LINE_FIRST+1)
constexpr TypedWhichId< XFormTextDistanceItem > XATTR_FORMTXTDISTANCE(XATTR_TEXT_FIRST+2)
constexpr TypedWhichId< XLineWidthItem > XATTR_LINEWIDTH(XATTR_LINE_FIRST+2)
constexpr TypedWhichId< XLineEndItem > XATTR_LINEEND(XATTR_LINE_FIRST+5)
constexpr TypedWhichId< XFillBmpPosOffsetXItem > XATTR_FILLBMP_POSOFFSETX(XATTR_FILL_FIRST+17)
constexpr TypedWhichId< XFillBmpTileOffsetYItem > XATTR_FILLBMP_TILEOFFSETY(XATTR_FILL_FIRST+15)
constexpr TypedWhichId< XFormTextShadowItem > XATTR_FORMTXTSHADOW(XATTR_TEXT_FIRST+6)
constexpr TypedWhichId< XLineStartItem > XATTR_LINESTART(XATTR_LINE_FIRST+4)
constexpr TypedWhichId< XFormTextOutlineItem > XATTR_FORMTXTOUTLINE(XATTR_TEXT_FIRST+5)
constexpr TypedWhichId< XFormTextShadowXValItem > XATTR_FORMTXTSHDWXVAL(XATTR_TEXT_FIRST+8)
constexpr TypedWhichId< XFillBmpSizeYItem > XATTR_FILLBMP_SIZEY(XATTR_FILL_FIRST+10)
constexpr TypedWhichId< XFormTextShadowColorItem > XATTR_FORMTXTSHDWCOLOR(XATTR_TEXT_FIRST+7)
constexpr TypedWhichId< XFillBmpStretchItem > XATTR_FILLBMP_STRETCH(XATTR_FILL_FIRST+16)
constexpr TypedWhichId< XLineEndCenterItem > XATTR_LINEENDCENTER(XATTR_LINE_FIRST+9)
constexpr TypedWhichId< XLineAttrSetItem > XATTRSET_LINE(XATTR_LINE_LAST+1)
constexpr TypedWhichId< XFillHatchItem > XATTR_FILLHATCH(XATTR_FILL_FIRST+3)
constexpr TypedWhichId< XFillBmpSizeLogItem > XATTR_FILLBMP_SIZELOG(XATTR_FILL_FIRST+13)
constexpr TypedWhichId< XLineStartCenterItem > XATTR_LINESTARTCENTER(XATTR_LINE_FIRST+8)
constexpr TypedWhichId< XFillBmpTileItem > XATTR_FILLBMP_TILE(XATTR_FILL_FIRST+7)
constexpr TypedWhichId< XFillBitmapItem > XATTR_FILLBITMAP(XATTR_FILL_FIRST+4)
constexpr TypedWhichId< XFillBackgroundItem > XATTR_FILLBACKGROUND(XATTR_FILL_FIRST+19)
constexpr TypedWhichId< XFillFloatTransparenceItem > XATTR_FILLFLOATTRANSPARENCE(XATTR_FILL_FIRST+11)
constexpr TypedWhichId< XLineStyleItem > XATTR_LINESTYLE(XATTR_LINE_FIRST)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)
constexpr TypedWhichId< XFormTextAdjustItem > XATTR_FORMTXTADJUST(XATTR_TEXT_FIRST+1)
constexpr TypedWhichId< XFillGradientItem > XATTR_FILLGRADIENT(XATTR_FILL_FIRST+2)
constexpr TypedWhichId< XLineEndWidthItem > XATTR_LINEENDWIDTH(XATTR_LINE_FIRST+7)
constexpr TypedWhichId< XLineTransparenceItem > XATTR_LINETRANSPARENCE(XATTR_LINE_FIRST+10)