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