Coverage Report

Created: 2026-06-30 11:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/svl/poolitem.hxx
Line
Count
Source
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
#ifndef INCLUDED_SVL_POOLITEM_HXX
21
#define INCLUDED_SVL_POOLITEM_HXX
22
23
#include <sal/config.h>
24
25
#include <memory>
26
27
#include <com/sun/star/uno/Any.hxx>
28
#include <svl/hint.hxx>
29
#include <svl/svldllapi.h>
30
#include <svl/typedwhich.hxx>
31
#include <tools/long.hxx>
32
#include <boost/property_tree/ptree_fwd.hpp>
33
#include <unordered_set>
34
#include <unordered_map>
35
36
class IntlWrapper;
37
enum class MapUnit : sal_uInt8;
38
39
#define SFX_ITEMS_MAXREF                    0xffffffff
40
76.3M
#define CONVERT_TWIPS                       0x80    // Uno conversion for measurement (for MemberId)
41
42
// warning, if there is no boolean inside the any this will always return the value false
43
inline bool Any2Bool( const css::uno::Any&rValue )
44
486k
{
45
486k
    bool bValue = false;
46
486k
    if( !(rValue >>= bValue) )
47
0
    {
48
0
        sal_Int32 nNum = 0;
49
0
        if( rValue >>= nNum )
50
0
            bValue = nNum != 0;
51
0
    }
52
53
486k
    return bValue;
54
486k
}
55
56
// Offer simple assert if Item is RefCounted (RefCnt > 1) and thus CANNOT be changed.
57
// This should be used at *all* SfxPoolItem set* methods. Remember that SfxPoolItems
58
// are by design intended to be create-one, read-only, shared data packages
59
#define ASSERT_CHANGE_REFCOUNTED_ITEM \
60
53.4M
    assert(!GetRefCount() && "ERROR: RefCounted SfxPoolItem CANNOT be changed (!)")
61
62
/*
63
 * The values of this enum describe the degree of textual
64
 * representation of an item after calling the virtual
65
 * method <SfxPoolItem::GetPresentation()const>.
66
 */
67
enum class SfxItemPresentation
68
{
69
    Nameless,
70
    Complete
71
};
72
73
/**
74
 * These values have to match the values in the
75
 * css::frame::status::ItemState IDL
76
 * to be found at offapi/com/sun/star/frame/status/ItemState.idl
77
*/
78
enum class SfxItemState {
79
80
    /** Specifies an unknown state. */
81
    UNKNOWN  = 0,
82
83
    /** Specifies that the property is currently disabled. */
84
    DISABLED = 0x0001,
85
86
    /** Specifies that the property is currently in a don't care state
87
     * and thus invalid
88
     * <br/>
89
     * This is normally used if a selection provides more than one state
90
     * for a property at the same time, so the Item is over-defined and
91
     * has no valid state -> invalid
92
     */
93
    INVALID = 0x0010,
94
95
    /** Specifies that the property is currently in a default state. */
96
    DEFAULT  = 0x0020,
97
98
    /** The property has been explicitly set to a given value hence we know
99
     * we are not taking the default value.
100
     * <br/>
101
     * For example, you may want to get the font color and it might either
102
     * be the default one or one that has been explicitly set.
103
    */
104
    SET      = 0x0040
105
};
106
107
/**
108
 * These defines SfxItemType. Each derivation from SfxPoolItem needs one
109
 * unique value that is returned in the call to ItemType(). This is done
110
 * using DECLARE_ITEM_TYPE_FUNCTION in the public section of each definition
111
 * of a derivation of SfxItemType, also for types derived deeper than one
112
 * step. It overloads virtual SfxItemType ItemType() with the specified
113
 * type, see that macro.
114
*/
115
enum class SfxItemType : sal_uInt16
116
{
117
    AffineMatrixItemType,
118
    CntByteItemType,
119
    CntInt32ItemType,
120
    CntUInt16ItemType,
121
    CntUInt32ItemType,
122
    DatabaseMapItemType,
123
    DbuTypeCollectionItemType,
124
    DisabledItemType,
125
    DriverPoolingSettingsItemType,
126
    InvalidItemType,
127
    MediaItemType,
128
    NameOrIndexType,
129
    OfaPtrItemType,
130
    OfaXColorListItemType,
131
    OptionalBoolItemType,
132
    OStringListItemType,
133
    SampleItemType,
134
    SbxItemType,
135
    ScCondFormatItemType,
136
    ScConsolidateItemType,
137
    ScDatabaseSettingItemType,
138
    ScHyphenateCellType,
139
    ScIndentItemType,
140
    ScInputStatusItemType,
141
    ScLineBreakCellType,
142
    ScMergeAttrType,
143
    ScMergeFlagAttrType,
144
    ScPageHFItemType,
145
    ScPageScaleToItemType,
146
    ScPivotItemType,
147
    ScProtectionAttrType,
148
    ScQueryItemType,
149
    ScRotateValueItemType,
150
    ScShrinkToFitCellType,
151
    ScSolveItemType,
152
    ScSortItemType,
153
    ScSubTotalItemType,
154
    ScTabOpItemType,
155
    ScTpCalcItemType,
156
    ScTpDefaultsItemType,
157
    ScTpFormulaItemType,
158
    ScTpPrintItemType,
159
    ScTpViewItemType,
160
    ScUserListItemType,
161
    ScVerticalStackCellType,
162
    ScViewObjectModeItemType,
163
    SdOptionsGridItemType,
164
    SdOptionsMiscItemType,
165
    SdOptionsPrintItemType,
166
    SdrAllPositionXItemType,
167
    SdrAllPositionYItemType,
168
    SdrAllSizeHeightItemType,
169
    SdrAllSizeWidthItemType,
170
    SdrAngleItemType,
171
    SdrCaptionAngleItemType,
172
    SdrCaptionEscAbsItemType,
173
    SdrCaptionEscDirItemType,
174
    SdrCaptionEscIsRelItemType,
175
    SdrCaptionEscRelItemType,
176
    SdrCaptionFitLineLenItemType,
177
    SdrCaptionGapItemType,
178
    SdrCaptionLineLenItemType,
179
    SdrCaptionTypeItemType,
180
    SdrCircKindItemType,
181
    SdrCustomShapeGeometryItemType,
182
    SdrEdgeKindItemType,
183
    SdrEdgeLineDeltaCountItemType,
184
    SdrEdgeNode1GlueDistItemType,
185
    SdrEdgeNode1HorzDistItemType,
186
    SdrEdgeNode1VertDistItemType,
187
    SdrEdgeNode2GlueDistItemType,
188
    SdrEdgeNode2HorzDistItemType,
189
    SdrEdgeNode2VertDistItemType,
190
    SdrFractionItemType,
191
    SdrGrafBlueItemType,
192
    SdrGrafContrastItemType,
193
    SdrGrafCropItemType,
194
    SdrGrafGamma100ItemType,
195
    SdrGrafGreenItemType,
196
    SdrGrafInvertItemType,
197
    SdrGrafLuminanceItemType,
198
    SdrGrafModeItemType,
199
    SdrGrafModeItem_BaseType,
200
    SdrGrafRedItemType,
201
    SdrGrafTransparenceItemType,
202
    SdrHorzShearAllItemType,
203
    SdrHorzShearOneItemType,
204
    SdrLayerIdItemType,
205
    SdrLayerNameItemType,
206
    SdrLogicSizeHeightItemType,
207
    SdrLogicSizeWidthItemType,
208
    SdrMeasureBelowRefEdgeItemType,
209
    SdrMeasureDecimalPlacesItemType,
210
    SdrMeasureKindItemType,
211
    SdrMeasureFormatStringItemType,
212
    SdrMeasureOverhangItemType,
213
    SdrMeasureScaleItemType,
214
    SdrMeasureTextAutoAngleItemType,
215
    SdrMeasureTextAutoAngleViewItemType,
216
    SdrMeasureTextFixedAngleItemType,
217
    SdrMeasureTextHPosItemType,
218
    SdrMeasureTextIsFixedAngleItemType,
219
    SdrMeasureTextRota90ItemType,
220
    SdrMeasureTextUpsideDownItemType,
221
    SdrMeasureTextVPosItemType,
222
    SdrMeasureUnitItemType,
223
    SdrMetricItemType,
224
    SdrMoveXItemType,
225
    SdrMoveYItemType,
226
    SdrObjPrintableItemType,
227
    SdrObjVisibleItemType,
228
    SdrOnePositionXItemType,
229
    SdrOnePositionYItemType,
230
    SdrOneSizeHeightItemType,
231
    SdrOneSizeWidthItemType,
232
    SdrOnOffItemType,
233
    SdrPercentItemType,
234
    SdrResizeXAllItemType,
235
    SdrResizeXOneItemType,
236
    SdrResizeYAllItemType,
237
    SdrResizeYOneItemType,
238
    SdrRotateAllItemType,
239
    SdrRotateOneItemType,
240
    SdrScaleItemType,
241
    SdrShearAngleItemType,
242
    SdrSignedPercentItemType,
243
    SdrTextAniAmountItemType,
244
    SdrTextAniCountItemType,
245
    SdrTextAniDelayItemType,
246
    SdrTextAniDirectionItemType,
247
    SdrTextAniKindItemType,
248
    SdrTextAniStartInsideItemType,
249
    SdrTextAniStopInsideItemType,
250
    SdrTextFitToSizeTypeItemType,
251
    SdrTextFixedCellHeightItemType,
252
    SdrTextHorzAdjustItemType,
253
    SdrTextVertAdjustItemType,
254
    SdrTransformRef1XItemType,
255
    SdrTransformRef1YItemType,
256
    SdrTransformRef2XItemType,
257
    SdrTransformRef2YItemType,
258
    SdrVertShearAllItemType,
259
    SdrVertShearOneItemType,
260
    SdrYesNoItemType,
261
    SfxBoolItemType,
262
    SfxByteItemType,
263
    SfxDocumentInfoItemType,
264
    SfxEnumItemInterfaceType,
265
    SfxEventNamesItemType,
266
    SfxFlagItemType,
267
    SfxFrameItemType,
268
    SfxGlobalNameItemType,
269
    SfxGrabBagItemType,
270
    SfxHyphenRegionItemType,
271
    SfxImageItemType,
272
    SfxInt16ItemType,
273
    SfxInt32ItemType,
274
    SfxInt64ItemType,
275
    SfxIntegerListItemType,
276
    SfxLinkItemType,
277
    SfxLockBytesItemType,
278
    SfxMacroInfoItemType,
279
    SfxObjectItemType,
280
    SfxObjectShellItemType,
281
    SfxPointItemType,
282
    SfxRangeItemType,
283
    SfxRectangleItemType,
284
    SfxScriptOrganizerItemType,
285
    SfxSetItemType,
286
    SfxStringItemType,
287
    SfxStringListItemType,
288
    SfxTabDialogItemType,
289
    SfxTemplateItemType,
290
    SfxUInt16ItemType,
291
    SfxUInt32ItemType,
292
    SfxUnoAnyItemType,
293
    SfxUnoFrameItemType,
294
    SfxViewFrameItemType,
295
    SfxVisibilityItemType,
296
    SfxVoidItemType,
297
    SfxWatermarkItemType,
298
    Svx3DCharacterModeItemType,
299
    Svx3DCloseBackItemType,
300
    Svx3DCloseFrontItemType,
301
    Svx3DNormalsKindItemType,
302
    Svx3DPerspectiveItemType,
303
    Svx3DReducedLineGeometryItemType,
304
    Svx3DShadeModeItemType,
305
    Svx3DSmoothLidsItemType,
306
    Svx3DSmoothNormalsItemType,
307
    Svx3DTextureKindItemType,
308
    Svx3DTextureModeItemType,
309
    Svx3DTextureProjectionXItemType,
310
    Svx3DTextureProjectionYItemType,
311
    SvxAdjustItemType,
312
    SvxAutoFrameDirectionItemType,
313
    SvxAutoKernItemType,
314
    SvxOpticalSizingItemType,
315
    SvxB3DVectorItemType,
316
    SvxBitmapListItemType,
317
    SvxBlinkItemType,
318
    SvxBoxInfoItemType,
319
    SvxBoxItemType,
320
    SvxBrushItemType,
321
    SvxBulletItemType,
322
    SvxCaseMapItemType,
323
    SvxCharHiddenItemType,
324
    SvxCharReliefItemType,
325
    SvxCharRotateItemType,
326
    SvxCharScaleWidthItemType,
327
    SvxChartColorPaletteItemType,
328
    SvxChartColorTableItemType,
329
    SvxChartIndicateItemType,
330
    SvxChartKindErrorItemType,
331
    SvxChartRegressItemType,
332
    SvxChartTextOrderItemType,
333
    SvxClipboardFormatItemType,
334
    SvxColorItemType,
335
    SvxColorListItemType,
336
    SvxColumnItemType,
337
    SvxContourItemType,
338
    SvxCrossedOutItemType,
339
    SvxDashListItemType,
340
    SvxDoubleItemType,
341
    SvxEmphasisMarkItemType,
342
    SvxEscapementItemType,
343
    SvxFieldItemType,
344
    SvxFirstLineIndentItemType,
345
    SvxFontHeightItemType,
346
    SvxFontItemType,
347
    SvxFontListItemType,
348
    SvxFontVariationsItemType,
349
    SvxForbiddenRuleItemType,
350
    SvxFormatBreakItemType,
351
    SvxFormatKeepItemType,
352
    SvxFormatSplitItemType,
353
    SvxFrameDirectionItemType,
354
    SvxGalleryItemType,
355
    SvxGradientListItemType,
356
    SvxGraphicItemType,
357
    SvxGrfCropType,
358
    SvxGridItemType,
359
    SvxGutterLeftMarginItemType,
360
    SvxGutterRightMarginItemType,
361
    SvxHangingPunctuationItemType,
362
    SvxHatchListItemType,
363
    SvxHorJustifyItemType,
364
    SvxHyperlinkItemType,
365
    SvxHyphenZoneItemType,
366
    SvxJustifyMethodItemType,
367
    SvxKerningItemType,
368
    SvxLanguageItemType,
369
    SvxLanguageItem_BaseType,
370
    SvxLeftMarginItemType,
371
    SvxLineEndListItemType,
372
    SvxLineItemType,
373
    SvxLineSpacingItemType,
374
    SvxLongLRSpaceItemType,
375
    SvxLongULSpaceItemType,
376
    SvxLRSpaceItemType,
377
    SvxMacroItemType,
378
    SvxMarginItemType,
379
    SvXMLAttrContainerItemType,
380
    SvxNoHyphenItemType,
381
    SvxNumberInfoItemType,
382
    SvxNumBulletItemType,
383
    SvxObjectItemType,
384
    SvxOpaqueItemType,
385
    SvxOrientationItemType,
386
    SvxOrphansItemType,
387
    SvxOverlineItemType,
388
    SvxPageItemType,
389
    SvxPageModelItemType,
390
    SvxPagePosSizeItemType,
391
    SvxPaperBinItemType,
392
    SvxParaGridItemType,
393
    SvxParaVertAlignItemType,
394
    SvxPatternListItemType,
395
    SvxPostItAuthorItemType,
396
    SvxPostItDateItemType,
397
    SvxPostItIdItemType,
398
    SvxPostItTextItemType,
399
    SvxPostureItemType,
400
    SvxPrintItemType,
401
    SvxProtectItemType,
402
    SvxRectangleAlignmentItemType,
403
    SvxRightMarginItemType,
404
    SvxRotateModeItemType,
405
    SvxRsidItemType,
406
    SvxRubyItemType,
407
    SvxScriptSetItemType,
408
    SvxScriptSpaceItemType,
409
    SvxSearchItemType,
410
    SvxSetItemType,
411
    SvxShadowedItemType,
412
    SvxShadowItemType,
413
    SvxSizeItemType,
414
    SvxSmartTagItemType,
415
    SvxStatusItemType,
416
    SvxTabStopItemType,
417
    SvxTextLeftMarginItemType,
418
    SvxTextLineItemType,
419
    SvxTextRotateItemType,
420
    SvxTwoLinesItemType,
421
    SvxULSpaceItemType,
422
    SvxUnderlineItemType,
423
    SvxVerJustifyItemType,
424
    SvxViewLayoutItemType,
425
    SvxWeightItemType,
426
    SvxWidowsItemType,
427
    SvxWordLineModeItemType,
428
    SvxWritingModeItemType,
429
    SvxZoomItemType,
430
    SvxZoomSliderItemType,
431
    SvxScriptHintItemType,
432
    SwAddPrinterItemType,
433
    SwChannelBGrfType,
434
    SwChannelGGrfType,
435
    SwChannelRGrfType,
436
    SwCondCollItemType,
437
    SwContrastGrfType,
438
    SwCropGrfType,
439
    SwDocDisplayItemType,
440
    SwDrawModeGrfType,
441
    SwElemItemType,
442
    SwEnvItemType,
443
    SwFltAnchorType,
444
    SwFltBookmarkType,
445
    SwFltRDFMarkType,
446
    SwFltRedlineType,
447
    SwFltTOXType,
448
    SwFmtAidsAutoComplItemType,
449
    SwFormatAnchorType,
450
    SwFormatAutoFormatType,
451
    SwFormatChainType,
452
    SwFormatCharFormatType,
453
    SwFormatColType,
454
    SwFormatContentType,
455
    SwFormatContentControlType,
456
    SwFormatDropType,
457
    SwFormatEditInReadonlyType,
458
    SwFormatEndAtTextEndType,
459
    SwFormatFieldType,
460
    SwFormatFillOrderType,
461
    SwFormatFlyCntType,
462
    SwFormatFlySplitType,
463
    SwFormatFollowTextFlowType,
464
    SwFormatFooterType,
465
    SwFormatFootnoteType,
466
    SwFormatFootnoteAtTextEndType,
467
    SwFormatFrameSizeType,
468
    SwFormatHeaderType,
469
    SwFormatHoriOrientType,
470
    SwFormatINetFormatType,
471
    SwFormatLayoutSplitType,
472
    SwFormatLineBreakType,
473
    SwFormatLineNumberType,
474
    SwFormatMetaType,
475
    SwFormatNoBalancedColumnsType,
476
    SwFormatPageDescType,
477
    SwFormatRefMarkType,
478
    SwFormatRowSplitType,
479
    SwFormatRubyType,
480
    SwFormatSurroundType,
481
    SwFormatURLType,
482
    SwFormatVertOrientType,
483
    SwFormatWrapInfluenceOnObjPosType,
484
    SwFormatWrapTextAtFlyStartType,
485
    SwGammaGrfType,
486
    SwHeaderAndFooterEatSpacingItemType,
487
    SwInvertGrfType,
488
    SwLabItemType,
489
    SwLuminanceGrfType,
490
    SwMirrorGrfType,
491
    SwMsgPoolItemType,
492
    SwNumRuleItemType,
493
    SwPageFootnoteInfoItemType,
494
    SwPaMItemType,
495
    SwParaConnectBorderItemType,
496
    SwPtrItemType,
497
    SwRegisterItemType,
498
    SwRotationGrfType,
499
    SwShadowCursorItemType,
500
    SwTableBoxFormulaType,
501
    SwTableBoxNumFormatType,
502
    SwTableBoxValueType,
503
    SwTextGridItemType,
504
    SwTOXMarkType,
505
    SwTransparencyGrfType,
506
    SwUINumRuleItemType,
507
    SwWrtShellItemType,
508
    XColorItemType,
509
    XFillAttrSetItemType,
510
    XFillBackgroundItemType,
511
    XFillBitmapItemType,
512
    XFillBmpPosItemType,
513
    XFillBmpPosOffsetXItemType,
514
    XFillBmpPosOffsetYItemType,
515
    XFillBmpSizeLogItemType,
516
    XFillBmpSizeXItemType,
517
    XFillBmpSizeYItemType,
518
    XFillBmpStretchItemType,
519
    XFillBmpTileItemType,
520
    XFillBmpTileOffsetXItemType,
521
    XFillBmpTileOffsetYItemType,
522
    XFillColorItemType,
523
    XFillFloatTransparenceItemType,
524
    XFillGradientItemType,
525
    XFillHatchItemType,
526
    XFillStyleItemType,
527
    XFillTransparenceItemType,
528
    XFillUseSlideBackgroundItemType,
529
    XFormTextAdjustItemType,
530
    XFormTextDistanceItemType,
531
    XFormTextHideFormItemType,
532
    XFormTextMirrorItemType,
533
    XFormTextOutlineItemType,
534
    XFormTextShadowColorItemType,
535
    XFormTextShadowItemType,
536
    XFormTextShadowTranspItemType,
537
    XFormTextShadowXValItemType,
538
    XFormTextShadowYValItemType,
539
    XFormTextStartItemType,
540
    XFormTextStyleItemType,
541
    XGradientStepCountItemType,
542
    XLineAttrSetItemType,
543
    XLineCapItemType,
544
    XLineColorItemType,
545
    XLineDashItemType,
546
    XLineEndCenterItemType,
547
    XLineEndItemType,
548
    XLineEndWidthItemType,
549
    XLineJointItemType,
550
    XLineStartCenterItemType,
551
    XLineStartItemType,
552
    XLineStartWidthItemType,
553
    XLineStyleItemType,
554
    XLineTransparenceItemType,
555
    XLineWidthItemType,
556
    XSecondaryFillColorItemType
557
#ifdef DBG_UTIL
558
    , SwTestItemType
559
#endif
560
};
561
562
563
#ifdef DBG_UTIL
564
SVL_DLLPUBLIC size_t getAllocatedSfxPoolItemCount();
565
SVL_DLLPUBLIC size_t getUsedSfxPoolItemCount();
566
SVL_DLLPUBLIC void listAllocatedSfxPoolItems();
567
#endif
568
569
class SfxItemPool;
570
typedef struct _xmlTextWriter* xmlTextWriterPtr;
571
class ItemInstanceManager;
572
573
// macro to define overloaded ItemType function, see explanations below
574
#define DECLARE_ITEM_TYPE_FUNCTION(T) \
575
358M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxMacroItem::ItemType() const
Line
Count
Source
575
2.77k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: poolitem.cxx:(anonymous namespace)::InvalidItem::ItemType() const
Unexecuted instantiation: poolitem.cxx:(anonymous namespace)::DisabledItem::ItemType() const
Unexecuted instantiation: SfxSetItem::ItemType() const
Unexecuted instantiation: SfxFrameItem::ItemType() const
Unexecuted instantiation: SfxUnoAnyItem::ItemType() const
Unexecuted instantiation: SfxUnoFrameItem::ItemType() const
Unexecuted instantiation: CntByteItem::ItemType() const
Unexecuted instantiation: CntUInt16Item::ItemType() const
Unexecuted instantiation: CntInt32Item::ItemType() const
Unexecuted instantiation: CntUInt32Item::ItemType() const
Unexecuted instantiation: SfxByteItem::ItemType() const
SfxInt16Item::ItemType() const
Line
Count
Source
575
11.4M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SfxUInt16Item::ItemType() const
Line
Count
Source
575
931k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SfxInt32Item::ItemType() const
Line
Count
Source
575
3.36k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SfxUInt32Item::ItemType() const
Line
Count
Source
575
5.76M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxEnumItemInterface::ItemType() const
SfxBoolItem::ItemType() const
Line
Count
Source
575
10.5M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrAngleItem::ItemType() const
Line
Count
Source
575
14.7k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScMergeAttr::ItemType() const
Line
Count
Source
575
3.86M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScMergeFlagAttr::ItemType() const
Line
Count
Source
575
94.9M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScProtectionAttr::ItemType() const
Line
Count
Source
575
1.59M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScPageHFItem::ItemType() const
Line
Count
Source
575
404k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScViewObjectModeItem::ItemType() const
Line
Count
Source
575
757
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScPageScaleToItem::ItemType() const
Line
Count
Source
575
200k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScCondFormatItem::ItemType() const
Line
Count
Source
575
6.15M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScRotateValueItem::ItemType() const
Line
Count
Source
575
359k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScShrinkToFitCell::ItemType() const
Line
Count
Source
575
602k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScVerticalStackCell::ItemType() const
Line
Count
Source
575
584k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
ScLineBreakCell::ItemType() const
Line
Count
Source
575
1.77M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: ScHyphenateCell::ItemType() const
ScIndentItem::ItemType() const
Line
Count
Source
575
354k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: ScTpCalcItem::ItemType() const
Unexecuted instantiation: SfxObjectShellItem::ItemType() const
Unexecuted instantiation: ScDatabaseSettingItem::ItemType() const
Unexecuted instantiation: SfxTabDialogItem::ItemType() const
Unexecuted instantiation: SvxGridItem::ItemType() const
Unexecuted instantiation: ScTpViewItem::ItemType() const
SfxStringItem::ItemType() const
Line
Count
Source
575
22.2M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrOnOffItem::ItemType() const
Line
Count
Source
575
2.24M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrCustomShapeGeometryItem::ItemType() const
Line
Count
Source
575
950k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextVertAdjustItem::ItemType() const
Line
Count
Source
575
1.20M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextHorzAdjustItem::ItemType() const
Line
Count
Source
575
1.72M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniKindItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniDirectionItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxBoxItem::ItemType() const
Line
Count
Source
575
6.23M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxBoxInfoItem::ItemType() const
Line
Count
Source
575
1.67M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxLineItem::ItemType() const
Line
Count
Source
575
60.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxBrushItem::ItemType() const
Line
Count
Source
575
2.83M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFrameDirectionItem::ItemType() const
Line
Count
Source
575
2.10M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFontItem::ItemType() const
Line
Count
Source
575
13.4M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxHorJustifyItem::ItemType() const
Line
Count
Source
575
1.84M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxVerJustifyItem::ItemType() const
Line
Count
Source
575
1.67M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxJustifyMethodItem::ItemType() const
Line
Count
Source
575
575k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxLanguageItem_Base::ItemType() const
SvxLanguageItem::ItemType() const
Line
Count
Source
575
6.82M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFieldItem::ItemType() const
Line
Count
Source
575
864k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxPageItem::ItemType() const
Line
Count
Source
575
267k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxSetItem::ItemType() const
Line
Count
Source
575
1.30M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxWritingModeItem::ItemType() const
Line
Count
Source
575
2.59M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: NameOrIndex::ItemType() const
XColorItem::ItemType() const
Line
Count
Source
575
295k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineColorItem::ItemType() const
Line
Count
Source
575
360k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineDashItem::ItemType() const
Line
Count
Source
575
142k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineEndCenterItem::ItemType() const
Line
Count
Source
575
67.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineEndItem::ItemType() const
Line
Count
Source
575
138k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineEndWidthItem::ItemType() const
Line
Count
Source
575
49.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineStartCenterItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineStartItem::ItemType() const
Line
Count
Source
575
188k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineStartWidthItem::ItemType() const
Line
Count
Source
575
79.7k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineWidthItem::ItemType() const
Line
Count
Source
575
387k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrMetricItem::ItemType() const
Line
Count
Source
575
9.46M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillColorItem::ItemType() const
Line
Count
Source
575
5.39M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxAdjustItem::ItemType() const
Line
Count
Source
575
2.30M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillStyleItem::ItemType() const
Line
Count
Source
575
1.95M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineStyleItem::ItemType() const
Line
Count
Source
575
1.34M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineJointItem::ItemType() const
Line
Count
Source
575
195k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XLineTransparenceItem::ItemType() const
Line
Count
Source
575
3.21k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBitmapItem::ItemType() const
Line
Count
Source
575
409k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: ScTpDefaultsItem::ItemType() const
Unexecuted instantiation: SfxLinkItem::ItemType() const
SvxSizeItem::ItemType() const
Line
Count
Source
575
538k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxLeftMarginItem::ItemType() const
SvxTextLeftMarginItem::ItemType() const
Line
Count
Source
575
722k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFirstLineIndentItem::ItemType() const
Line
Count
Source
575
506k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxRightMarginItem::ItemType() const
Line
Count
Source
575
634k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxGutterLeftMarginItem::ItemType() const
Unexecuted instantiation: SvxGutterRightMarginItem::ItemType() const
SvxLRSpaceItem::ItemType() const
Line
Count
Source
575
4.99M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxULSpaceItem::ItemType() const
Line
Count
Source
575
6.11M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFontHeightItem::ItemType() const
Line
Count
Source
575
19.4M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxWeightItem::ItemType() const
Line
Count
Source
575
14.5M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxTextLineItem::ItemType() const
SvxUnderlineItem::ItemType() const
Line
Count
Source
575
4.45M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxOverlineItem::ItemType() const
Line
Count
Source
575
1.37M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxPostureItem::ItemType() const
Line
Count
Source
575
8.47M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxCrossedOutItem::ItemType() const
Line
Count
Source
575
2.55M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxContourItem::ItemType() const
Line
Count
Source
575
4.90M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxShadowedItem::ItemType() const
Line
Count
Source
575
4.55M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxEscapementItem::ItemType() const
Line
Count
Source
575
2.26M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxOrientationItem::ItemType() const
SvxMarginItem::ItemType() const
Line
Count
Source
575
667k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxRotateModeItem::ItemType() const
Line
Count
Source
575
1.25M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxColorItem::ItemType() const
Line
Count
Source
575
8.83M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxFontListItem::ItemType() const
Unexecuted instantiation: SvxZoomItem::ItemType() const
XFillTransparenceItem::ItemType() const
Line
Count
Source
575
64.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillGradientItem::ItemType() const
Line
Count
Source
575
583k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: ScTpFormulaItem::ItemType() const
SvxCharReliefItem::ItemType() const
Line
Count
Source
575
1.43M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxEmphasisMarkItem::ItemType() const
Line
Count
Source
575
1.35M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxForbiddenRuleItem::ItemType() const
Line
Count
Source
575
618k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxHangingPunctuationItem::ItemType() const
Line
Count
Source
575
584k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxPaperBinItem::ItemType() const
SvxScriptSpaceItem::ItemType() const
Line
Count
Source
575
494k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxShadowItem::ItemType() const
Line
Count
Source
575
29.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxWordLineModeItem::ItemType() const
Line
Count
Source
575
1.40M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvXMLAttrContainerItem::ItemType() const
Line
Count
Source
575
63.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxSearchItem::ItemType() const
Unexecuted instantiation: SfxViewFrameItem::ItemType() const
SfxFlagItem::ItemType() const
Line
Count
Source
575
1.49k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxAutoKernItem::ItemType() const
Line
Count
Source
575
1.20M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrYesNoItem::ItemType() const
Line
Count
Source
575
24.8k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrCaptionEscDirItem::ItemType() const
Unexecuted instantiation: SdrCaptionEscIsRelItem::ItemType() const
Unexecuted instantiation: SdrCaptionEscRelItem::ItemType() const
Unexecuted instantiation: SdrCaptionEscAbsItem::ItemType() const
SvxColorListItem::ItemType() const
Line
Count
Source
575
2.85k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxGradientListItem::ItemType() const
Line
Count
Source
575
2.85k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxHatchListItem::ItemType() const
Line
Count
Source
575
2.85k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxBitmapListItem::ItemType() const
Line
Count
Source
575
2.85k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxPatternListItem::ItemType() const
Line
Count
Source
575
2.85k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxDashListItem::ItemType() const
Unexecuted instantiation: SvxLineEndListItem::ItemType() const
Unexecuted instantiation: SfxIntegerListItem::ItemType() const
Unexecuted instantiation: ScTpPrintItem::ItemType() const
SvxNumBulletItem::ItemType() const
Line
Count
Source
575
851k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: ScInputStatusItem::ItemType() const
Unexecuted instantiation: ScSortItem::ItemType() const
Unexecuted instantiation: ScQueryItem::ItemType() const
Unexecuted instantiation: ScSubTotalItem::ItemType() const
Unexecuted instantiation: ScUserListItem::ItemType() const
Unexecuted instantiation: ScConsolidateItem::ItemType() const
Unexecuted instantiation: ScPivotItem::ItemType() const
Unexecuted instantiation: ScSolveItem::ItemType() const
Unexecuted instantiation: ScTabOpItem::ItemType() const
Unexecuted instantiation: SvxZoomSliderItem::ItemType() const
SfxVoidItem::ItemType() const
Line
Count
Source
575
13.7k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxDocumentInfoItem::ItemType() const
Unexecuted instantiation: SvxPostItAuthorItem::ItemType() const
Unexecuted instantiation: SvxPostItDateItem::ItemType() const
Unexecuted instantiation: SvxPostItTextItem::ItemType() const
Unexecuted instantiation: SvxPostItIdItem::ItemType() const
Unexecuted instantiation: OfaPtrItem::ItemType() const
Unexecuted instantiation: OfaXColorListItem::ItemType() const
Unexecuted instantiation: SfxEventNamesItem::ItemType() const
Unexecuted instantiation: SvxChartRegressItem::ItemType() const
Unexecuted instantiation: SvxChartTextOrderItem::ItemType() const
Unexecuted instantiation: SvxChartKindErrorItem::ItemType() const
Unexecuted instantiation: SvxChartIndicateItem::ItemType() const
Unexecuted instantiation: SvxDoubleItem::ItemType() const
Unexecuted instantiation: SvxChartColorPaletteItem::ItemType() const
Unexecuted instantiation: SfxPointItem::ItemType() const
Unexecuted instantiation: SvxHyperlinkItem::ItemType() const
Unexecuted instantiation: SvxClipboardFormatItem::ItemType() const
SvxLineSpacingItem::ItemType() const
Line
Count
Source
575
1.40M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxScriptSetItem::ItemType() const
SvxFormatBreakItem::ItemType() const
Line
Count
Source
575
710k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxHyphenZoneItem::ItemType() const
Line
Count
Source
575
166k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxOrphansItem::ItemType() const
Line
Count
Source
575
76.6k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFormatSplitItem::ItemType() const
Line
Count
Source
575
28.7k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxWidowsItem::ItemType() const
Line
Count
Source
575
74.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: avmedia::MediaItem::ItemType() const
Unexecuted instantiation: SfxStringListItem::ItemType() const
XFillBmpStretchItem::ItemType() const
Line
Count
Source
575
10.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpTileItem::ItemType() const
Line
Count
Source
575
14.1k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxStatusItem::ItemType() const
Unexecuted instantiation: SfxVisibilityItem::ItemType() const
Unexecuted instantiation: SvxNumberInfoItem::ItemType() const
Unexecuted instantiation: SvxGalleryItem::ItemType() const
Unexecuted instantiation: SfxTemplateItem::ItemType() const
Unexecuted instantiation: SfxInt64Item::ItemType() const
XFillFloatTransparenceItem::ItemType() const
Line
Count
Source
575
232k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillHatchItem::ItemType() const
Line
Count
Source
575
289k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxRectangleItem::ItemType() const
Unexecuted instantiation: SfxObjectItem::ItemType() const
Unexecuted instantiation: SvxAutoFrameDirectionItem::ItemType() const
Unexecuted instantiation: XFormTextStyleItem::ItemType() const
Unexecuted instantiation: XFormTextHideFormItem::ItemType() const
Unexecuted instantiation: XFormTextAdjustItem::ItemType() const
Unexecuted instantiation: XFormTextDistanceItem::ItemType() const
Unexecuted instantiation: XFormTextStartItem::ItemType() const
Unexecuted instantiation: XFormTextMirrorItem::ItemType() const
Unexecuted instantiation: XFormTextOutlineItem::ItemType() const
Unexecuted instantiation: XFormTextShadowItem::ItemType() const
Unexecuted instantiation: XFormTextShadowColorItem::ItemType() const
Unexecuted instantiation: XFormTextShadowXValItem::ItemType() const
Unexecuted instantiation: XFormTextShadowYValItem::ItemType() const
SvxKerningItem::ItemType() const
Line
Count
Source
575
1.07M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxGlobalNameItem::ItemType() const
XLineCapItem::ItemType() const
Line
Count
Source
575
20.6k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrPercentItem::ItemType() const
Line
Count
Source
575
2.41k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrSignedPercentItem::ItemType() const
SdrTextAniCountItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniAmountItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxCharScaleWidthItem::ItemType() const
Line
Count
Source
575
238k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxCaseMapItem::ItemType() const
Line
Count
Source
575
1.25M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxTabStopItem::ItemType() const
Line
Count
Source
575
901k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxBulletItem::ItemType() const
Line
Count
Source
575
40.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SfxGrabBagItem::ItemType() const
Line
Count
Source
575
238k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxRubyItem::ItemType() const
Line
Count
Source
575
2.69k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxScriptHintItem::ItemType() const
Line
Count
Source
575
33.6k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxFontVariationsItem::ItemType() const
SvxOpticalSizingItem::ItemType() const
Line
Count
Source
575
904k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxPrintItem::ItemType() const
Line
Count
Source
575
2.01k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxOpaqueItem::ItemType() const
Line
Count
Source
575
18.8k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxProtectItem::ItemType() const
Line
Count
Source
575
80.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxFormatKeepItem::ItemType() const
Line
Count
Source
575
436k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxPageModelItem::ItemType() const
SvxParaVertAlignItem::ItemType() const
Line
Count
Source
575
5.37k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxParaGridItem::ItemType() const
Line
Count
Source
575
91.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxRsidItem::ItemType() const
Line
Count
Source
575
1.68k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxNoHyphenItem::ItemType() const
SvxBlinkItem::ItemType() const
Line
Count
Source
575
14.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxTwoLinesItem::ItemType() const
Line
Count
Source
575
113
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxTextRotateItem::ItemType() const
SvxCharRotateItem::ItemType() const
Line
Count
Source
575
2.40k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxCharHiddenItem::ItemType() const
Line
Count
Source
575
219k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextFitToSizeTypeItem::ItemType() const
Line
Count
Source
575
276k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrGrafModeItem_Base::ItemType() const
XSecondaryFillColorItem::ItemType() const
Line
Count
Source
575
2.01k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillUseSlideBackgroundItem::ItemType() const
Line
Count
Source
575
120k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SvxGrfCrop::ItemType() const
SdrGrafCropItem::ItemType() const
Line
Count
Source
575
27.8k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafModeItem::ItemType() const
Line
Count
Source
575
30.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpSizeXItem::ItemType() const
Line
Count
Source
575
2.48k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpSizeYItem::ItemType() const
Line
Count
Source
575
2.48k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpSizeLogItem::ItemType() const
Line
Count
Source
575
4.69k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrEdgeNode1HorzDistItem::ItemType() const
Line
Count
Source
575
151k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrEdgeNode1VertDistItem::ItemType() const
Line
Count
Source
575
150k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrEdgeNode2HorzDistItem::ItemType() const
Line
Count
Source
575
151k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrEdgeNode2VertDistItem::ItemType() const
Line
Count
Source
575
151k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrEdgeNode1GlueDistItem::ItemType() const
Unexecuted instantiation: SdrEdgeNode2GlueDistItem::ItemType() const
SdrGrafLuminanceItem::ItemType() const
Line
Count
Source
575
25.0k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafContrastItem::ItemType() const
Line
Count
Source
575
23.8k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrEdgeKindItem::ItemType() const
Line
Count
Source
575
18.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafGamma100Item::ItemType() const
Line
Count
Source
575
23.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextFixedCellHeightItem::ItemType() const
Line
Count
Source
575
630k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxScriptOrganizerItem::ItemType() const
SdrGrafRedItem::ItemType() const
Line
Count
Source
575
23.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafGreenItem::ItemType() const
Line
Count
Source
575
23.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafBlueItem::ItemType() const
Line
Count
Source
575
23.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrGrafTransparenceItem::ItemType() const
Line
Count
Source
575
23.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxB3DVectorItem::ItemType() const
Line
Count
Source
575
39.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: Svx3DReducedLineGeometryItem::ItemType() const
Svx3DNormalsKindItem::ItemType() const
Line
Count
Source
575
5.70k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DTextureProjectionXItem::ItemType() const
Line
Count
Source
575
16.1k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DTextureProjectionYItem::ItemType() const
Line
Count
Source
575
16.1k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: Svx3DTextureKindItem::ItemType() const
Svx3DTextureModeItem::ItemType() const
Line
Count
Source
575
5.70k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DPerspectiveItem::ItemType() const
Line
Count
Source
575
11.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DShadeModeItem::ItemType() const
Line
Count
Source
575
5.70k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DSmoothNormalsItem::ItemType() const
Line
Count
Source
575
32.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DSmoothLidsItem::ItemType() const
Line
Count
Source
575
32.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DCharacterModeItem::ItemType() const
Line
Count
Source
575
32.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DCloseFrontItem::ItemType() const
Line
Count
Source
575
46.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Svx3DCloseBackItem::ItemType() const
Line
Count
Source
575
46.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpPosItem::ItemType() const
Line
Count
Source
575
5.14k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XGradientStepCountItem::ItemType() const
Line
Count
Source
575
1.13k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBackgroundItem::ItemType() const
Line
Count
Source
575
2.26k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpTileOffsetXItem::ItemType() const
Line
Count
Source
575
1.13k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpTileOffsetYItem::ItemType() const
Line
Count
Source
575
111
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpPosOffsetXItem::ItemType() const
Line
Count
Source
575
1.19k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
XFillBmpPosOffsetYItem::ItemType() const
Line
Count
Source
575
1.19k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SvxRectangleAlignmentItem::ItemType() const
Line
Count
Source
575
482
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrCaptionAngleItem::ItemType() const
Unexecuted instantiation: SdrCaptionGapItem::ItemType() const
Unexecuted instantiation: SdrMeasureOverhangItem::ItemType() const
Unexecuted instantiation: SdrMeasureScaleItem::ItemType() const
Unexecuted instantiation: SdrMeasureFormatStringItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextAutoAngleItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextAutoAngleViewItem::ItemType() const
Unexecuted instantiation: SdrObjPrintableItem::ItemType() const
Unexecuted instantiation: SdrAllPositionXItem::ItemType() const
Unexecuted instantiation: SdrAllPositionYItem::ItemType() const
Unexecuted instantiation: SdrAllSizeWidthItem::ItemType() const
Unexecuted instantiation: SdrAllSizeHeightItem::ItemType() const
Unexecuted instantiation: SdrOnePositionXItem::ItemType() const
Unexecuted instantiation: SdrOnePositionYItem::ItemType() const
Unexecuted instantiation: SdrOneSizeWidthItem::ItemType() const
Unexecuted instantiation: SdrOneSizeHeightItem::ItemType() const
Unexecuted instantiation: SdrLogicSizeWidthItem::ItemType() const
Unexecuted instantiation: SdrLogicSizeHeightItem::ItemType() const
Unexecuted instantiation: SdrShearAngleItem::ItemType() const
Unexecuted instantiation: SdrMoveXItem::ItemType() const
Unexecuted instantiation: SdrMoveYItem::ItemType() const
Unexecuted instantiation: SdrResizeXOneItem::ItemType() const
Unexecuted instantiation: SdrResizeYOneItem::ItemType() const
Unexecuted instantiation: SdrRotateOneItem::ItemType() const
Unexecuted instantiation: SdrHorzShearOneItem::ItemType() const
Unexecuted instantiation: SdrVertShearOneItem::ItemType() const
Unexecuted instantiation: SdrResizeXAllItem::ItemType() const
Unexecuted instantiation: SdrResizeYAllItem::ItemType() const
Unexecuted instantiation: SdrRotateAllItem::ItemType() const
Unexecuted instantiation: SdrHorzShearAllItem::ItemType() const
Unexecuted instantiation: SdrVertShearAllItem::ItemType() const
Unexecuted instantiation: SdrTransformRef1XItem::ItemType() const
Unexecuted instantiation: SdrTransformRef1YItem::ItemType() const
Unexecuted instantiation: SdrTransformRef2XItem::ItemType() const
Unexecuted instantiation: SdrTransformRef2YItem::ItemType() const
Unexecuted instantiation: SdrObjVisibleItem::ItemType() const
SdrGrafInvertItem::ItemType() const
Line
Count
Source
575
46.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniStartInsideItem::ItemType() const
Line
Count
Source
575
49
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniStopInsideItem::ItemType() const
Line
Count
Source
575
49
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrTextAniDelayItem::ItemType() const
Line
Count
Source
575
133k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SdrCircKindItem::ItemType() const
Line
Count
Source
575
14.6k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrCaptionLineLenItem::ItemType() const
Unexecuted instantiation: SdrCaptionFitLineLenItem::ItemType() const
SdrCaptionTypeItem::ItemType() const
Line
Count
Source
575
53
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SdrFractionItem::ItemType() const
Unexecuted instantiation: SdrLayerIdItem::ItemType() const
Unexecuted instantiation: SdrLayerNameItem::ItemType() const
Unexecuted instantiation: SdrMeasureBelowRefEdgeItem::ItemType() const
Unexecuted instantiation: SdrMeasureKindItem::ItemType() const
Unexecuted instantiation: SdrScaleItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextIsFixedAngleItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextFixedAngleItem::ItemType() const
Unexecuted instantiation: SdrMeasureDecimalPlacesItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextHPosItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextVPosItem::ItemType() const
Unexecuted instantiation: SdrMeasureTextRota90Item::ItemType() const
Unexecuted instantiation: SdrMeasureTextUpsideDownItem::ItemType() const
Unexecuted instantiation: SdrMeasureUnitItem::ItemType() const
Unexecuted instantiation: XFormTextShadowTranspItem::ItemType() const
Unexecuted instantiation: XFillAttrSetItem::ItemType() const
Unexecuted instantiation: XLineAttrSetItem::ItemType() const
SdrEdgeLineDeltaCountItem::ItemType() const
Line
Count
Source
575
5.15k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: AffineMatrixItem::ItemType() const
Unexecuted instantiation: UnoNameItemTable.cxx:(anonymous namespace)::SampleItem::ItemType() const
Unexecuted instantiation: SfxImageItem::ItemType() const
Unexecuted instantiation: SvxSmartTagItem::ItemType() const
Unexecuted instantiation: SvxGraphicItem::ItemType() const
SwFormatVertOrient::ItemType() const
Line
Count
Source
575
941k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatHoriOrient::ItemType() const
Line
Count
Source
575
503k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatDrop::ItemType() const
Line
Count
Source
575
2.21k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwRegisterItem::ItemType() const
Line
Count
Source
575
26.1k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwNumRuleItem::ItemType() const
Line
Count
Source
575
678k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwParaConnectBorderItem::ItemType() const
Line
Count
Source
575
9.08k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwMsgPoolItem::ItemType() const
Unexecuted instantiation: SwTOXMark::ItemType() const
SwFormatINetFormat::ItemType() const
Line
Count
Source
575
12.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwFormatField::ItemType() const
SwFormatAutoFormat::ItemType() const
Line
Count
Source
575
7.15M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwFormatRefMark::ItemType() const
SwFormatRuby::ItemType() const
Line
Count
Source
575
338
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwFormatFlyCnt::ItemType() const
Unexecuted instantiation: SwFormatFootnote::ItemType() const
Unexecuted instantiation: SwFormatLineBreak::ItemType() const
Unexecuted instantiation: SwFormatContentControl::ItemType() const
SwFormatCharFormat::ItemType() const
Line
Count
Source
575
274
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatURL::ItemType() const
Line
Count
Source
575
20.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatContent::ItemType() const
Line
Count
Source
575
370k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatPageDesc::ItemType() const
Line
Count
Source
575
52.4k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatHeader::ItemType() const
Line
Count
Source
575
398k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFooter::ItemType() const
Line
Count
Source
575
269k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatAnchor::ItemType() const
Line
Count
Source
575
1.10M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFrameSize::ItemType() const
Line
Count
Source
575
3.69M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatSurround::ItemType() const
Line
Count
Source
575
237k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFillOrder::ItemType() const
Line
Count
Source
575
230k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwFormatMeta::ItemType() const
Unexecuted instantiation: SwDocDisplayItem::ItemType() const
Unexecuted instantiation: SwElemItem::ItemType() const
Unexecuted instantiation: SwAddPrinterItem::ItemType() const
Unexecuted instantiation: SwShadowCursorItem::ItemType() const
Unexecuted instantiation: SwFmtAidsAutoComplItem::ItemType() const
SwMirrorGrf::ItemType() const
Line
Count
Source
575
57
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwCropGrf::ItemType() const
Line
Count
Source
575
45.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwRotationGrf::ItemType() const
Line
Count
Source
575
85.2k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwLuminanceGrf::ItemType() const
Line
Count
Source
575
1.06k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwContrastGrf::ItemType() const
Line
Count
Source
575
1.06k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwChannelRGrf::ItemType() const
Line
Count
Source
575
44
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwChannelGGrf::ItemType() const
Line
Count
Source
575
44
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwChannelBGrf::ItemType() const
Line
Count
Source
575
44
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwGammaGrf::ItemType() const
Line
Count
Source
575
99
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwInvertGrf::ItemType() const
Line
Count
Source
575
86
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwTransparencyGrf::ItemType() const
Line
Count
Source
575
44
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwDrawModeGrf::ItemType() const
Line
Count
Source
575
95
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatChain::ItemType() const
Line
Count
Source
575
110
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFlySplit::ItemType() const
Line
Count
Source
575
1.90k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwTableBoxNumFormat::ItemType() const
Line
Count
Source
575
106k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwTableBoxFormula::ItemType() const
SwTableBoxValue::ItemType() const
Line
Count
Source
575
41.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatLineNumber::ItemType() const
Line
Count
Source
575
421k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFootnoteAtTextEnd::ItemType() const
Line
Count
Source
575
3.22k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatEndAtTextEnd::ItemType() const
Line
Count
Source
575
10.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatLayoutSplit::ItemType() const
Line
Count
Source
575
475
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatRowSplit::ItemType() const
Line
Count
Source
575
55.1k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatFollowTextFlow::ItemType() const
Line
Count
Source
575
97.3k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatEditInReadonly::ItemType() const
Line
Count
Source
575
115k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatCol::ItemType() const
Line
Count
Source
575
21.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxWatermarkItem::ItemType() const
SwHeaderAndFooterEatSpacingItem::ItemType() const
Line
Count
Source
575
89.5k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwFormatNoBalancedColumns::ItemType() const
Line
Count
Source
575
10.9k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
SwTextGridItem::ItemType() const
Line
Count
Source
575
1.08M
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwFormatWrapTextAtFlyStart::ItemType() const
SwFormatWrapInfluenceOnObjPos::ItemType() const
Line
Count
Source
575
37.8k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwCondCollItem::ItemType() const
SwPageFootnoteInfoItem::ItemType() const
Line
Count
Source
575
58.0k
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SwPtrItem::ItemType() const
Unexecuted instantiation: SwUINumRuleItem::ItemType() const
Unexecuted instantiation: SwPaMItem::ItemType() const
Unexecuted instantiation: SwFltAnchor::ItemType() const
Unexecuted instantiation: SwFltRedline::ItemType() const
Unexecuted instantiation: SwFltBookmark::ItemType() const
Unexecuted instantiation: SwFltRDFMark::ItemType() const
Unexecuted instantiation: SwFltTOX::ItemType() const
Unexecuted instantiation: SwLabItem::ItemType() const
Unexecuted instantiation: SwWrtShellItem::ItemType() const
Unexecuted instantiation: SvxLongLRSpaceItem::ItemType() const
Unexecuted instantiation: SvxLongULSpaceItem::ItemType() const
Unexecuted instantiation: SvxPagePosSizeItem::ItemType() const
Unexecuted instantiation: SvxColumnItem::ItemType() const
Unexecuted instantiation: SvxObjectItem::ItemType() const
Unexecuted instantiation: SvxViewLayoutItem::ItemType() const
Unexecuted instantiation: SwEnvItem::ItemType() const
Unexecuted instantiation: SdOptionsMiscItem::ItemType() const
Unexecuted instantiation: SdOptionsGridItem::ItemType() const
SdOptionsPrintItem::ItemType() const
Line
Count
Source
575
22
    virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }
Unexecuted instantiation: SfxLockBytesItem::ItemType() const
576
577
class SVL_DLLPUBLIC SfxPoolItem
578
{
579
    friend class SfxItemPool;
580
    friend class SfxItemSet;
581
    friend class InstanceManagerHelper;
582
    friend class ItemInfoStatic;
583
    friend class ItemInfoDynamic;
584
585
    // allow ItemSetTooling to access
586
    friend SfxPoolItem const* implCreateItemEntry(const SfxItemPool&, SfxPoolItem const*, bool);
587
    friend void implCleanupItemEntry(SfxPoolItem const*);
588
589
    mutable sal_uInt32 m_nRefCount;
590
    sal_uInt16  m_nWhich;
591
592
#ifdef DBG_UTIL
593
    // for debugging add a serial number, will be set in the constructor
594
    // and count up from zero. If you have a deterministic error case and
595
    // see the Item involved in the debugger you can  use that number in
596
    // the next run to see where that Item gets constructed and how it is
597
    // involved/ processed
598
    sal_uInt32  m_nSerialNumber;
599
#endif
600
601
    // bitfield for Item attributes that are Item-Dependent
602
603
    // Item is registered at some Pool as default.
604
    //   m_bStaticDefault: direct Pool Item (CAUTION:
605
    //     these are not really 'static', but should be)
606
    //   m_bDynamicDefault: dynamic pool item, e.g.
607
    //     SfxSetItems which are Pool dependent
608
    bool        m_bStaticDefault : 1;
609
    bool        m_bDynamicDefault : 1;
610
611
    // Item is derived from SfxSetItem -> is Pool-dependent
612
    bool        m_bIsSetItem : 1;
613
614
    // Defines if the Item can be shared/RefCounted else it will be cloned.
615
    // Default is true - as it should be for all Items. It is needed by some
616
    // SW items, so protected to let them set it in constructor. If this could
617
    // be fixed at that Items we may remove this again.
618
    bool        m_bShareable : 1;
619
620
    // for speedup/buffering we need to identify NameOrIndex
621
    // Items quickly
622
    bool        m_bNameOrIndex : 1;
623
624
protected:
625
#ifdef DBG_UTIL
626
    // this flag will make debugging item stuff much simpler
627
    bool        m_bDeleted : 1;
628
#endif
629
630
8.75k
    void setStaticDefault() { m_bStaticDefault = true; }
631
1.02M
    void setDynamicDefault() { m_bDynamicDefault = true; }
632
1.43M
    void setIsSetItem() { m_bIsSetItem = true; }
633
12.7M
    void setNonShareable() { m_bShareable = false; }
634
1.93M
    void setNameOrIndex() { m_bNameOrIndex = true; }
635
636
    // access ItemInstanceManager for this Item, default
637
    // is nullptr. If you overload this it is expected that
638
    // you return a ptr to a static, Item-local managed
639
    // instance that exists the whole office lifetime. This
640
    // usually means to have a static instance directly in the
641
    // implementation of the overloaded function (just grep
642
    // for examples)
643
    virtual ItemInstanceManager* getItemInstanceManager() const;
644
645
public:
646
    inline void AddRef(sal_uInt32 n = 1) const
647
802M
    {
648
802M
        assert(n <= SFX_ITEMS_MAXREF - m_nRefCount && "AddRef: refcount overflow");
649
802M
        m_nRefCount += n;
650
802M
    }
651
652
#ifdef DBG_UTIL
653
    sal_uInt32 getSerialNumber() const { return m_nSerialNumber; }
654
#endif
655
656
1.86G
    bool isStaticDefault() const { return m_bStaticDefault; }
657
1.71G
    bool isDynamicDefault() const { return m_bDynamicDefault; }
658
663M
    bool isSetItem() const { return m_bIsSetItem; }
659
953M
    bool isShareable() const { return m_bShareable; }
660
122M
    bool isNameOrIndex() const { return m_bNameOrIndex; }
661
662
    // version that allows nullptrs
663
    static bool areSame(const SfxPoolItem* pItem1, const SfxPoolItem* pItem2);
664
665
    // if you have the items (not nullptrs) use this version
666
    static bool areSame(const SfxPoolItem& rItem1, const SfxPoolItem& rItem2);
667
668
private:
669
    inline sal_uInt32 ReleaseRef(sal_uInt32 n = 1) const
670
802M
    {
671
802M
        assert(n <= m_nRefCount);
672
802M
        m_nRefCount -= n;
673
802M
        return m_nRefCount;
674
802M
    }
675
676
protected:
677
    // constructors are protected; SfxPoolItem is a base
678
    // class and ought not to be constructed (also guaranteed
679
    // by pure virtual function ItemType now)
680
    explicit SfxPoolItem(sal_uInt16 nWhich);
681
110M
    SfxPoolItem(const SfxPoolItem& rCopy) : SfxPoolItem(rCopy.m_nWhich) {}
682
683
public:
684
    virtual                  ~SfxPoolItem();
685
686
    void                     SetWhich( sal_uInt16 nId )
687
32.0M
                             {
688
                                 // can only change the Which before we are in a set
689
32.0M
                                 assert(m_nRefCount==0);
690
32.0M
                                 m_nWhich = nId;
691
32.0M
                             }
692
25.3G
    sal_uInt16 Which() const { return m_nWhich; }
693
    SAL_LOPLUGIN_ANNOTATE("mustoverride") virtual SfxItemType ItemType() const = 0;
694
695
    // StaticWhichCast asserts if the TypedWhichId is not matching its type, otherwise it returns a reference.
696
    // You can use StaticWhichCast when you are sure about the type at compile time -- like a static_cast.
697
    template<class T> T& StaticWhichCast(TypedWhichId<T> nId)
698
434k
    {
699
434k
        (void)nId;
700
434k
        assert(nId == m_nWhich);
701
434k
        assert(dynamic_cast<T*>(this));
702
434k
        return *static_cast<T*>(this);
703
434k
    }
SvxFontHeightItem& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>)
Line
Count
Source
698
70.1k
    {
699
70.1k
        (void)nId;
700
70.1k
        assert(nId == m_nWhich);
701
        assert(dynamic_cast<T*>(this));
702
70.1k
        return *static_cast<T*>(this);
703
70.1k
    }
Unexecuted instantiation: SvxLRSpaceItem& SfxPoolItem::StaticWhichCast<SvxLRSpaceItem>(TypedWhichId<SvxLRSpaceItem>)
Unexecuted instantiation: SvxULSpaceItem& SfxPoolItem::StaticWhichCast<SvxULSpaceItem>(TypedWhichId<SvxULSpaceItem>)
Unexecuted instantiation: SvxLineSpacingItem& SfxPoolItem::StaticWhichCast<SvxLineSpacingItem>(TypedWhichId<SvxLineSpacingItem>)
Unexecuted instantiation: SvxTabStopItem& SfxPoolItem::StaticWhichCast<SvxTabStopItem>(TypedWhichId<SvxTabStopItem>)
SwFormatHeader& SfxPoolItem::StaticWhichCast<SwFormatHeader>(TypedWhichId<SwFormatHeader>)
Line
Count
Source
698
192k
    {
699
192k
        (void)nId;
700
192k
        assert(nId == m_nWhich);
701
        assert(dynamic_cast<T*>(this));
702
192k
        return *static_cast<T*>(this);
703
192k
    }
SwFormatFooter& SfxPoolItem::StaticWhichCast<SwFormatFooter>(TypedWhichId<SwFormatFooter>)
Line
Count
Source
698
172k
    {
699
172k
        (void)nId;
700
172k
        assert(nId == m_nWhich);
701
        assert(dynamic_cast<T*>(this));
702
172k
        return *static_cast<T*>(this);
703
172k
    }
Unexecuted instantiation: SvxLanguageItem& SfxPoolItem::StaticWhichCast<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>)
Unexecuted instantiation: SvxNumBulletItem& SfxPoolItem::StaticWhichCast<SvxNumBulletItem>(TypedWhichId<SvxNumBulletItem>)
704
    template<class T> const T& StaticWhichCast(TypedWhichId<T> nId) const
705
42.1M
    {
706
42.1M
        (void)nId;
707
42.1M
        assert(nId == m_nWhich);
708
42.1M
        assert(dynamic_cast<const T*>(this));
709
42.1M
        return *static_cast<const T*>(this);
710
42.1M
    }
ScMergeFlagAttr const& SfxPoolItem::StaticWhichCast<ScMergeFlagAttr>(TypedWhichId<ScMergeFlagAttr>) const
Line
Count
Source
705
345
    {
706
345
        (void)nId;
707
345
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
345
        return *static_cast<const T*>(this);
710
345
    }
SfxUInt32Item const& SfxPoolItem::StaticWhichCast<SfxUInt32Item>(TypedWhichId<SfxUInt32Item>) const
Line
Count
Source
705
190k
    {
706
190k
        (void)nId;
707
190k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
190k
        return *static_cast<const T*>(this);
710
190k
    }
SvxBoxItem const& SfxPoolItem::StaticWhichCast<SvxBoxItem>(TypedWhichId<SvxBoxItem>) const
Line
Count
Source
705
201k
    {
706
201k
        (void)nId;
707
201k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
201k
        return *static_cast<const T*>(this);
710
201k
    }
ScLineBreakCell const& SfxPoolItem::StaticWhichCast<ScLineBreakCell>(TypedWhichId<ScLineBreakCell>) const
Line
Count
Source
705
1.26k
    {
706
1.26k
        (void)nId;
707
1.26k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.26k
        return *static_cast<const T*>(this);
710
1.26k
    }
SvxFieldItem const& SfxPoolItem::StaticWhichCast<SvxFieldItem>(TypedWhichId<SvxFieldItem>) const
Line
Count
Source
705
200
    {
706
200
        (void)nId;
707
200
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
200
        return *static_cast<const T*>(this);
710
200
    }
ScMergeAttr const& SfxPoolItem::StaticWhichCast<ScMergeAttr>(TypedWhichId<ScMergeAttr>) const
Line
Count
Source
705
21.2k
    {
706
21.2k
        (void)nId;
707
21.2k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
21.2k
        return *static_cast<const T*>(this);
710
21.2k
    }
SvxEscapementItem const& SfxPoolItem::StaticWhichCast<SvxEscapementItem>(TypedWhichId<SvxEscapementItem>) const
Line
Count
Source
705
998k
    {
706
998k
        (void)nId;
707
998k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
998k
        return *static_cast<const T*>(this);
710
998k
    }
SvxAdjustItem const& SfxPoolItem::StaticWhichCast<SvxAdjustItem>(TypedWhichId<SvxAdjustItem>) const
Line
Count
Source
705
868k
    {
706
868k
        (void)nId;
707
868k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
868k
        return *static_cast<const T*>(this);
710
868k
    }
SfxBoolItem const& SfxPoolItem::StaticWhichCast<SfxBoolItem>(TypedWhichId<SfxBoolItem>) const
Line
Count
Source
705
675k
    {
706
675k
        (void)nId;
707
675k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
675k
        return *static_cast<const T*>(this);
710
675k
    }
ScCondFormatItem const& SfxPoolItem::StaticWhichCast<ScCondFormatItem>(TypedWhichId<ScCondFormatItem>) const
Line
Count
Source
705
503k
    {
706
503k
        (void)nId;
707
503k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
503k
        return *static_cast<const T*>(this);
710
503k
    }
SvxPostureItem const& SfxPoolItem::StaticWhichCast<SvxPostureItem>(TypedWhichId<SvxPostureItem>) const
Line
Count
Source
705
3.07M
    {
706
3.07M
        (void)nId;
707
3.07M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
3.07M
        return *static_cast<const T*>(this);
710
3.07M
    }
SvxUnderlineItem const& SfxPoolItem::StaticWhichCast<SvxUnderlineItem>(TypedWhichId<SvxUnderlineItem>) const
Line
Count
Source
705
1.03M
    {
706
1.03M
        (void)nId;
707
1.03M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.03M
        return *static_cast<const T*>(this);
710
1.03M
    }
SvxOverlineItem const& SfxPoolItem::StaticWhichCast<SvxOverlineItem>(TypedWhichId<SvxOverlineItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxWordLineModeItem const& SfxPoolItem::StaticWhichCast<SvxWordLineModeItem>(TypedWhichId<SvxWordLineModeItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxCrossedOutItem const& SfxPoolItem::StaticWhichCast<SvxCrossedOutItem>(TypedWhichId<SvxCrossedOutItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxContourItem const& SfxPoolItem::StaticWhichCast<SvxContourItem>(TypedWhichId<SvxContourItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxShadowedItem const& SfxPoolItem::StaticWhichCast<SvxShadowedItem>(TypedWhichId<SvxShadowedItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxEmphasisMarkItem const& SfxPoolItem::StaticWhichCast<SvxEmphasisMarkItem>(TypedWhichId<SvxEmphasisMarkItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxCharReliefItem const& SfxPoolItem::StaticWhichCast<SvxCharReliefItem>(TypedWhichId<SvxCharReliefItem>) const
Line
Count
Source
705
1.02M
    {
706
1.02M
        (void)nId;
707
1.02M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.02M
        return *static_cast<const T*>(this);
710
1.02M
    }
SvxLanguageItem const& SfxPoolItem::StaticWhichCast<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>) const
Line
Count
Source
705
3.08M
    {
706
3.08M
        (void)nId;
707
3.08M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
3.08M
        return *static_cast<const T*>(this);
710
3.08M
    }
SvxFontItem const& SfxPoolItem::StaticWhichCast<SvxFontItem>(TypedWhichId<SvxFontItem>) const
Line
Count
Source
705
7.04M
    {
706
7.04M
        (void)nId;
707
7.04M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
7.04M
        return *static_cast<const T*>(this);
710
7.04M
    }
SvxFontHeightItem const& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const
Line
Count
Source
705
4.13M
    {
706
4.13M
        (void)nId;
707
4.13M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
4.13M
        return *static_cast<const T*>(this);
710
4.13M
    }
SvxWeightItem const& SfxPoolItem::StaticWhichCast<SvxWeightItem>(TypedWhichId<SvxWeightItem>) const
Line
Count
Source
705
3.07M
    {
706
3.07M
        (void)nId;
707
3.07M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
3.07M
        return *static_cast<const T*>(this);
710
3.07M
    }
SvxColorItem const& SfxPoolItem::StaticWhichCast<SvxColorItem>(TypedWhichId<SvxColorItem>) const
Line
Count
Source
705
1.03M
    {
706
1.03M
        (void)nId;
707
1.03M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.03M
        return *static_cast<const T*>(this);
710
1.03M
    }
Unexecuted instantiation: SvxForbiddenRuleItem const& SfxPoolItem::StaticWhichCast<SvxForbiddenRuleItem>(TypedWhichId<SvxForbiddenRuleItem>) const
Unexecuted instantiation: ScHyphenateCell const& SfxPoolItem::StaticWhichCast<ScHyphenateCell>(TypedWhichId<ScHyphenateCell>) const
SvxFrameDirectionItem const& SfxPoolItem::StaticWhichCast<SvxFrameDirectionItem>(TypedWhichId<SvxFrameDirectionItem>) const
Line
Count
Source
705
11.1k
    {
706
11.1k
        (void)nId;
707
11.1k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
11.1k
        return *static_cast<const T*>(this);
710
11.1k
    }
SvxBrushItem const& SfxPoolItem::StaticWhichCast<SvxBrushItem>(TypedWhichId<SvxBrushItem>) const
Line
Count
Source
705
62.3k
    {
706
62.3k
        (void)nId;
707
62.3k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
62.3k
        return *static_cast<const T*>(this);
710
62.3k
    }
SvxLineItem const& SfxPoolItem::StaticWhichCast<SvxLineItem>(TypedWhichId<SvxLineItem>) const
Line
Count
Source
705
478
    {
706
478
        (void)nId;
707
478
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
478
        return *static_cast<const T*>(this);
710
478
    }
SvxShadowItem const& SfxPoolItem::StaticWhichCast<SvxShadowItem>(TypedWhichId<SvxShadowItem>) const
Line
Count
Source
705
1
    {
706
1
        (void)nId;
707
1
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1
        return *static_cast<const T*>(this);
710
1
    }
SvxSetItem const& SfxPoolItem::StaticWhichCast<SvxSetItem>(TypedWhichId<SvxSetItem>) const
Line
Count
Source
705
73.3k
    {
706
73.3k
        (void)nId;
707
73.3k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
73.3k
        return *static_cast<const T*>(this);
710
73.3k
    }
SfxUInt16Item const& SfxPoolItem::StaticWhichCast<SfxUInt16Item>(TypedWhichId<SfxUInt16Item>) const
Line
Count
Source
705
182k
    {
706
182k
        (void)nId;
707
182k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
182k
        return *static_cast<const T*>(this);
710
182k
    }
Unexecuted instantiation: ScPageScaleToItem const& SfxPoolItem::StaticWhichCast<ScPageScaleToItem>(TypedWhichId<ScPageScaleToItem>) const
SvxBoxInfoItem const& SfxPoolItem::StaticWhichCast<SvxBoxInfoItem>(TypedWhichId<SvxBoxInfoItem>) const
Line
Count
Source
705
13.0k
    {
706
13.0k
        (void)nId;
707
13.0k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
13.0k
        return *static_cast<const T*>(this);
710
13.0k
    }
Unexecuted instantiation: SvxHorJustifyItem const& SfxPoolItem::StaticWhichCast<SvxHorJustifyItem>(TypedWhichId<SvxHorJustifyItem>) const
Unexecuted instantiation: SvxVerJustifyItem const& SfxPoolItem::StaticWhichCast<SvxVerJustifyItem>(TypedWhichId<SvxVerJustifyItem>) const
Unexecuted instantiation: ScVerticalStackCell const& SfxPoolItem::StaticWhichCast<ScVerticalStackCell>(TypedWhichId<ScVerticalStackCell>) const
Unexecuted instantiation: SvxMarginItem const& SfxPoolItem::StaticWhichCast<SvxMarginItem>(TypedWhichId<SvxMarginItem>) const
Unexecuted instantiation: ScRotateValueItem const& SfxPoolItem::StaticWhichCast<ScRotateValueItem>(TypedWhichId<ScRotateValueItem>) const
Unexecuted instantiation: SvxRotateModeItem const& SfxPoolItem::StaticWhichCast<SvxRotateModeItem>(TypedWhichId<SvxRotateModeItem>) const
Unexecuted instantiation: ScUserListItem const& SfxPoolItem::StaticWhichCast<ScUserListItem>(TypedWhichId<ScUserListItem>) const
Unexecuted instantiation: ScTpDefaultsItem const& SfxPoolItem::StaticWhichCast<ScTpDefaultsItem>(TypedWhichId<ScTpDefaultsItem>) const
Unexecuted instantiation: ScTpFormulaItem const& SfxPoolItem::StaticWhichCast<ScTpFormulaItem>(TypedWhichId<ScTpFormulaItem>) const
Unexecuted instantiation: ScTpViewItem const& SfxPoolItem::StaticWhichCast<ScTpViewItem>(TypedWhichId<ScTpViewItem>) const
Unexecuted instantiation: SvxGridItem const& SfxPoolItem::StaticWhichCast<SvxGridItem>(TypedWhichId<SvxGridItem>) const
Unexecuted instantiation: ScTpCalcItem const& SfxPoolItem::StaticWhichCast<ScTpCalcItem>(TypedWhichId<ScTpCalcItem>) const
Unexecuted instantiation: ScTpPrintItem const& SfxPoolItem::StaticWhichCast<ScTpPrintItem>(TypedWhichId<ScTpPrintItem>) const
SfxStringItem const& SfxPoolItem::StaticWhichCast<SfxStringItem>(TypedWhichId<SfxStringItem>) const
Line
Count
Source
705
1.51M
    {
706
1.51M
        (void)nId;
707
1.51M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.51M
        return *static_cast<const T*>(this);
710
1.51M
    }
Unexecuted instantiation: ScProtectionAttr const& SfxPoolItem::StaticWhichCast<ScProtectionAttr>(TypedWhichId<ScProtectionAttr>) const
Unexecuted instantiation: SvxDoubleItem const& SfxPoolItem::StaticWhichCast<SvxDoubleItem>(TypedWhichId<SvxDoubleItem>) const
Unexecuted instantiation: SvxMacroItem const& SfxPoolItem::StaticWhichCast<SvxMacroItem>(TypedWhichId<SvxMacroItem>) const
Unexecuted instantiation: SvxHyperlinkItem const& SfxPoolItem::StaticWhichCast<SvxHyperlinkItem>(TypedWhichId<SvxHyperlinkItem>) const
SfxInt16Item const& SfxPoolItem::StaticWhichCast<SfxInt16Item>(TypedWhichId<SfxInt16Item>) const
Line
Count
Source
705
1.25M
    {
706
1.25M
        (void)nId;
707
1.25M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.25M
        return *static_cast<const T*>(this);
710
1.25M
    }
Unexecuted instantiation: SfxInt32Item const& SfxPoolItem::StaticWhichCast<SfxInt32Item>(TypedWhichId<SfxInt32Item>) const
Unexecuted instantiation: ScConsolidateItem const& SfxPoolItem::StaticWhichCast<ScConsolidateItem>(TypedWhichId<ScConsolidateItem>) const
Unexecuted instantiation: SvxPostItTextItem const& SfxPoolItem::StaticWhichCast<SvxPostItTextItem>(TypedWhichId<SvxPostItTextItem>) const
Unexecuted instantiation: SvxPostItIdItem const& SfxPoolItem::StaticWhichCast<SvxPostItIdItem>(TypedWhichId<SvxPostItIdItem>) const
Unexecuted instantiation: SvxPostItAuthorItem const& SfxPoolItem::StaticWhichCast<SvxPostItAuthorItem>(TypedWhichId<SvxPostItAuthorItem>) const
Unexecuted instantiation: ScQueryItem const& SfxPoolItem::StaticWhichCast<ScQueryItem>(TypedWhichId<ScQueryItem>) const
Unexecuted instantiation: ScPivotItem const& SfxPoolItem::StaticWhichCast<ScPivotItem>(TypedWhichId<ScPivotItem>) const
Unexecuted instantiation: ScIndentItem const& SfxPoolItem::StaticWhichCast<ScIndentItem>(TypedWhichId<ScIndentItem>) const
Unexecuted instantiation: SvxZoomSliderItem const& SfxPoolItem::StaticWhichCast<SvxZoomSliderItem>(TypedWhichId<SvxZoomSliderItem>) const
XFillBitmapItem const& SfxPoolItem::StaticWhichCast<XFillBitmapItem>(TypedWhichId<XFillBitmapItem>) const
Line
Count
Source
705
31.5k
    {
706
31.5k
        (void)nId;
707
31.5k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
31.5k
        return *static_cast<const T*>(this);
710
31.5k
    }
XLineDashItem const& SfxPoolItem::StaticWhichCast<XLineDashItem>(TypedWhichId<XLineDashItem>) const
Line
Count
Source
705
317
    {
706
317
        (void)nId;
707
317
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
317
        return *static_cast<const T*>(this);
710
317
    }
XLineStartItem const& SfxPoolItem::StaticWhichCast<XLineStartItem>(TypedWhichId<XLineStartItem>) const
Line
Count
Source
705
448
    {
706
448
        (void)nId;
707
448
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
448
        return *static_cast<const T*>(this);
710
448
    }
XLineEndItem const& SfxPoolItem::StaticWhichCast<XLineEndItem>(TypedWhichId<XLineEndItem>) const
Line
Count
Source
705
449
    {
706
449
        (void)nId;
707
449
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
449
        return *static_cast<const T*>(this);
710
449
    }
XFillGradientItem const& SfxPoolItem::StaticWhichCast<XFillGradientItem>(TypedWhichId<XFillGradientItem>) const
Line
Count
Source
705
28.3k
    {
706
28.3k
        (void)nId;
707
28.3k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
28.3k
        return *static_cast<const T*>(this);
710
28.3k
    }
XFillFloatTransparenceItem const& SfxPoolItem::StaticWhichCast<XFillFloatTransparenceItem>(TypedWhichId<XFillFloatTransparenceItem>) const
Line
Count
Source
705
27.0k
    {
706
27.0k
        (void)nId;
707
27.0k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
27.0k
        return *static_cast<const T*>(this);
710
27.0k
    }
XFillHatchItem const& SfxPoolItem::StaticWhichCast<XFillHatchItem>(TypedWhichId<XFillHatchItem>) const
Line
Count
Source
705
27.8k
    {
706
27.8k
        (void)nId;
707
27.8k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
27.8k
        return *static_cast<const T*>(this);
710
27.8k
    }
Unexecuted instantiation: SvxNumberInfoItem const& SfxPoolItem::StaticWhichCast<SvxNumberInfoItem>(TypedWhichId<SvxNumberInfoItem>) const
Unexecuted instantiation: SvxSearchItem const& SfxPoolItem::StaticWhichCast<SvxSearchItem>(TypedWhichId<SvxSearchItem>) const
Unexecuted instantiation: SvxNumBulletItem const& SfxPoolItem::StaticWhichCast<SvxNumBulletItem>(TypedWhichId<SvxNumBulletItem>) const
XFillStyleItem const& SfxPoolItem::StaticWhichCast<XFillStyleItem>(TypedWhichId<XFillStyleItem>) const
Line
Count
Source
705
657
    {
706
657
        (void)nId;
707
657
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
657
        return *static_cast<const T*>(this);
710
657
    }
XFillColorItem const& SfxPoolItem::StaticWhichCast<XFillColorItem>(TypedWhichId<XFillColorItem>) const
Line
Count
Source
705
227
    {
706
227
        (void)nId;
707
227
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
227
        return *static_cast<const T*>(this);
710
227
    }
Unexecuted instantiation: SfxStringListItem const& SfxPoolItem::StaticWhichCast<SfxStringListItem>(TypedWhichId<SfxStringListItem>) const
Unexecuted instantiation: SfxUnoFrameItem const& SfxPoolItem::StaticWhichCast<SfxUnoFrameItem>(TypedWhichId<SfxUnoFrameItem>) const
SfxUnoAnyItem const& SfxPoolItem::StaticWhichCast<SfxUnoAnyItem>(TypedWhichId<SfxUnoAnyItem>) const
Line
Count
Source
705
369
    {
706
369
        (void)nId;
707
369
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
369
        return *static_cast<const T*>(this);
710
369
    }
Unexecuted instantiation: SfxDocumentInfoItem const& SfxPoolItem::StaticWhichCast<SfxDocumentInfoItem>(TypedWhichId<SfxDocumentInfoItem>) const
Unexecuted instantiation: SfxFlagItem const& SfxPoolItem::StaticWhichCast<SfxFlagItem>(TypedWhichId<SfxFlagItem>) const
Unexecuted instantiation: avmedia::MediaItem const& SfxPoolItem::StaticWhichCast<avmedia::MediaItem>(TypedWhichId<avmedia::MediaItem>) const
Unexecuted instantiation: SdrTransformRef1XItem const& SfxPoolItem::StaticWhichCast<SdrTransformRef1XItem>(TypedWhichId<SdrTransformRef1XItem>) const
Unexecuted instantiation: SdrTransformRef1YItem const& SfxPoolItem::StaticWhichCast<SdrTransformRef1YItem>(TypedWhichId<SdrTransformRef1YItem>) const
Unexecuted instantiation: SdrTransformRef2XItem const& SfxPoolItem::StaticWhichCast<SdrTransformRef2XItem>(TypedWhichId<SdrTransformRef2XItem>) const
Unexecuted instantiation: SdrTransformRef2YItem const& SfxPoolItem::StaticWhichCast<SdrTransformRef2YItem>(TypedWhichId<SdrTransformRef2YItem>) const
Unexecuted instantiation: SdrAllPositionXItem const& SfxPoolItem::StaticWhichCast<SdrAllPositionXItem>(TypedWhichId<SdrAllPositionXItem>) const
Unexecuted instantiation: SdrAllPositionYItem const& SfxPoolItem::StaticWhichCast<SdrAllPositionYItem>(TypedWhichId<SdrAllPositionYItem>) const
Unexecuted instantiation: SdrAllSizeWidthItem const& SfxPoolItem::StaticWhichCast<SdrAllSizeWidthItem>(TypedWhichId<SdrAllSizeWidthItem>) const
Unexecuted instantiation: SdrAllSizeHeightItem const& SfxPoolItem::StaticWhichCast<SdrAllSizeHeightItem>(TypedWhichId<SdrAllSizeHeightItem>) const
Unexecuted instantiation: SdrResizeXAllItem const& SfxPoolItem::StaticWhichCast<SdrResizeXAllItem>(TypedWhichId<SdrResizeXAllItem>) const
Unexecuted instantiation: SdrResizeYAllItem const& SfxPoolItem::StaticWhichCast<SdrResizeYAllItem>(TypedWhichId<SdrResizeYAllItem>) const
Unexecuted instantiation: SdrRotateAllItem const& SfxPoolItem::StaticWhichCast<SdrRotateAllItem>(TypedWhichId<SdrRotateAllItem>) const
Unexecuted instantiation: SdrHorzShearAllItem const& SfxPoolItem::StaticWhichCast<SdrHorzShearAllItem>(TypedWhichId<SdrHorzShearAllItem>) const
Unexecuted instantiation: SdrVertShearAllItem const& SfxPoolItem::StaticWhichCast<SdrVertShearAllItem>(TypedWhichId<SdrVertShearAllItem>) const
SdrAngleItem const& SfxPoolItem::StaticWhichCast<SdrAngleItem>(TypedWhichId<SdrAngleItem>) const
Line
Count
Source
705
10
    {
706
10
        (void)nId;
707
10
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
10
        return *static_cast<const T*>(this);
710
10
    }
Unexecuted instantiation: SdrMetricItem const& SfxPoolItem::StaticWhichCast<SdrMetricItem>(TypedWhichId<SdrMetricItem>) const
Unexecuted instantiation: SdrGrafCropItem const& SfxPoolItem::StaticWhichCast<SdrGrafCropItem>(TypedWhichId<SdrGrafCropItem>) const
Unexecuted instantiation: SdrMoveXItem const& SfxPoolItem::StaticWhichCast<SdrMoveXItem>(TypedWhichId<SdrMoveXItem>) const
Unexecuted instantiation: SdrMoveYItem const& SfxPoolItem::StaticWhichCast<SdrMoveYItem>(TypedWhichId<SdrMoveYItem>) const
Unexecuted instantiation: SdrOnePositionXItem const& SfxPoolItem::StaticWhichCast<SdrOnePositionXItem>(TypedWhichId<SdrOnePositionXItem>) const
Unexecuted instantiation: SdrOnePositionYItem const& SfxPoolItem::StaticWhichCast<SdrOnePositionYItem>(TypedWhichId<SdrOnePositionYItem>) const
Unexecuted instantiation: SdrOneSizeWidthItem const& SfxPoolItem::StaticWhichCast<SdrOneSizeWidthItem>(TypedWhichId<SdrOneSizeWidthItem>) const
Unexecuted instantiation: SdrOneSizeHeightItem const& SfxPoolItem::StaticWhichCast<SdrOneSizeHeightItem>(TypedWhichId<SdrOneSizeHeightItem>) const
Unexecuted instantiation: SdrShearAngleItem const& SfxPoolItem::StaticWhichCast<SdrShearAngleItem>(TypedWhichId<SdrShearAngleItem>) const
Unexecuted instantiation: SdrRotateOneItem const& SfxPoolItem::StaticWhichCast<SdrRotateOneItem>(TypedWhichId<SdrRotateOneItem>) const
Unexecuted instantiation: SdrHorzShearOneItem const& SfxPoolItem::StaticWhichCast<SdrHorzShearOneItem>(TypedWhichId<SdrHorzShearOneItem>) const
Unexecuted instantiation: SdrVertShearOneItem const& SfxPoolItem::StaticWhichCast<SdrVertShearOneItem>(TypedWhichId<SdrVertShearOneItem>) const
SdrYesNoItem const& SfxPoolItem::StaticWhichCast<SdrYesNoItem>(TypedWhichId<SdrYesNoItem>) const
Line
Count
Source
705
183
    {
706
183
        (void)nId;
707
183
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
183
        return *static_cast<const T*>(this);
710
183
    }
Unexecuted instantiation: SdrObjPrintableItem const& SfxPoolItem::StaticWhichCast<SdrObjPrintableItem>(TypedWhichId<SdrObjPrintableItem>) const
Unexecuted instantiation: SdrObjVisibleItem const& SfxPoolItem::StaticWhichCast<SdrObjVisibleItem>(TypedWhichId<SdrObjVisibleItem>) const
Unexecuted instantiation: SdrLayerIdItem const& SfxPoolItem::StaticWhichCast<SdrLayerIdItem>(TypedWhichId<SdrLayerIdItem>) const
Unexecuted instantiation: SdrLayerNameItem const& SfxPoolItem::StaticWhichCast<SdrLayerNameItem>(TypedWhichId<SdrLayerNameItem>) const
Unexecuted instantiation: SdrLogicSizeWidthItem const& SfxPoolItem::StaticWhichCast<SdrLogicSizeWidthItem>(TypedWhichId<SdrLogicSizeWidthItem>) const
Unexecuted instantiation: SdrLogicSizeHeightItem const& SfxPoolItem::StaticWhichCast<SdrLogicSizeHeightItem>(TypedWhichId<SdrLogicSizeHeightItem>) const
Unexecuted instantiation: SdrResizeXOneItem const& SfxPoolItem::StaticWhichCast<SdrResizeXOneItem>(TypedWhichId<SdrResizeXOneItem>) const
Unexecuted instantiation: SdrResizeYOneItem const& SfxPoolItem::StaticWhichCast<SdrResizeYOneItem>(TypedWhichId<SdrResizeYOneItem>) const
Unexecuted instantiation: SvxWritingModeItem const& SfxPoolItem::StaticWhichCast<SvxWritingModeItem>(TypedWhichId<SvxWritingModeItem>) const
Unexecuted instantiation: XLineColorItem const& SfxPoolItem::StaticWhichCast<XLineColorItem>(TypedWhichId<XLineColorItem>) const
Unexecuted instantiation: SfxIntegerListItem const& SfxPoolItem::StaticWhichCast<SfxIntegerListItem>(TypedWhichId<SfxIntegerListItem>) const
Unexecuted instantiation: SvxChartKindErrorItem const& SfxPoolItem::StaticWhichCast<SvxChartKindErrorItem>(TypedWhichId<SvxChartKindErrorItem>) const
Unexecuted instantiation: SvxChartIndicateItem const& SfxPoolItem::StaticWhichCast<SvxChartIndicateItem>(TypedWhichId<SvxChartIndicateItem>) const
Unexecuted instantiation: SvxChartTextOrderItem const& SfxPoolItem::StaticWhichCast<SvxChartTextOrderItem>(TypedWhichId<SvxChartTextOrderItem>) const
Unexecuted instantiation: SvxChartRegressItem const& SfxPoolItem::StaticWhichCast<SvxChartRegressItem>(TypedWhichId<SvxChartRegressItem>) const
Unexecuted instantiation: SvXMLAttrContainerItem const& SfxPoolItem::StaticWhichCast<SvXMLAttrContainerItem>(TypedWhichId<SvXMLAttrContainerItem>) const
SvxTabStopItem const& SfxPoolItem::StaticWhichCast<SvxTabStopItem>(TypedWhichId<SvxTabStopItem>) const
Line
Count
Source
705
72.9k
    {
706
72.9k
        (void)nId;
707
72.9k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
72.9k
        return *static_cast<const T*>(this);
710
72.9k
    }
SwNumRuleItem const& SfxPoolItem::StaticWhichCast<SwNumRuleItem>(TypedWhichId<SwNumRuleItem>) const
Line
Count
Source
705
2.30M
    {
706
2.30M
        (void)nId;
707
2.30M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
2.30M
        return *static_cast<const T*>(this);
710
2.30M
    }
SvxFormatBreakItem const& SfxPoolItem::StaticWhichCast<SvxFormatBreakItem>(TypedWhichId<SvxFormatBreakItem>) const
Line
Count
Source
705
39.5k
    {
706
39.5k
        (void)nId;
707
39.5k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
39.5k
        return *static_cast<const T*>(this);
710
39.5k
    }
Unexecuted instantiation: SvxAutoFrameDirectionItem const& SfxPoolItem::StaticWhichCast<SvxAutoFrameDirectionItem>(TypedWhichId<SvxAutoFrameDirectionItem>) const
SwFormatPageDesc const& SfxPoolItem::StaticWhichCast<SwFormatPageDesc>(TypedWhichId<SwFormatPageDesc>) const
Line
Count
Source
705
301k
    {
706
301k
        (void)nId;
707
301k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
301k
        return *static_cast<const T*>(this);
710
301k
    }
SwFormatContent const& SfxPoolItem::StaticWhichCast<SwFormatContent>(TypedWhichId<SwFormatContent>) const
Line
Count
Source
705
92.3k
    {
706
92.3k
        (void)nId;
707
92.3k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
92.3k
        return *static_cast<const T*>(this);
710
92.3k
    }
SwFormatAnchor const& SfxPoolItem::StaticWhichCast<SwFormatAnchor>(TypedWhichId<SwFormatAnchor>) const
Line
Count
Source
705
445k
    {
706
445k
        (void)nId;
707
445k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
445k
        return *static_cast<const T*>(this);
710
445k
    }
SvxFirstLineIndentItem const& SfxPoolItem::StaticWhichCast<SvxFirstLineIndentItem>(TypedWhichId<SvxFirstLineIndentItem>) const
Line
Count
Source
705
12.6k
    {
706
12.6k
        (void)nId;
707
12.6k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
12.6k
        return *static_cast<const T*>(this);
710
12.6k
    }
SvxTextLeftMarginItem const& SfxPoolItem::StaticWhichCast<SvxTextLeftMarginItem>(TypedWhichId<SvxTextLeftMarginItem>) const
Line
Count
Source
705
61.5k
    {
706
61.5k
        (void)nId;
707
61.5k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
61.5k
        return *static_cast<const T*>(this);
710
61.5k
    }
SvxRightMarginItem const& SfxPoolItem::StaticWhichCast<SvxRightMarginItem>(TypedWhichId<SvxRightMarginItem>) const
Line
Count
Source
705
41.4k
    {
706
41.4k
        (void)nId;
707
41.4k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
41.4k
        return *static_cast<const T*>(this);
710
41.4k
    }
SvxULSpaceItem const& SfxPoolItem::StaticWhichCast<SvxULSpaceItem>(TypedWhichId<SvxULSpaceItem>) const
Line
Count
Source
705
199k
    {
706
199k
        (void)nId;
707
199k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
199k
        return *static_cast<const T*>(this);
710
199k
    }
SwTableBoxNumFormat const& SfxPoolItem::StaticWhichCast<SwTableBoxNumFormat>(TypedWhichId<SwTableBoxNumFormat>) const
Line
Count
Source
705
56.2k
    {
706
56.2k
        (void)nId;
707
56.2k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
56.2k
        return *static_cast<const T*>(this);
710
56.2k
    }
Unexecuted instantiation: SwFormatVertOrient const& SfxPoolItem::StaticWhichCast<SwFormatVertOrient>(TypedWhichId<SwFormatVertOrient>) const
SwFormatHoriOrient const& SfxPoolItem::StaticWhichCast<SwFormatHoriOrient>(TypedWhichId<SwFormatHoriOrient>) const
Line
Count
Source
705
141
    {
706
141
        (void)nId;
707
141
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
141
        return *static_cast<const T*>(this);
710
141
    }
SwFormatAutoFormat const& SfxPoolItem::StaticWhichCast<SwFormatAutoFormat>(TypedWhichId<SwFormatAutoFormat>) const
Line
Count
Source
705
1.81M
    {
706
1.81M
        (void)nId;
707
1.81M
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.81M
        return *static_cast<const T*>(this);
710
1.81M
    }
Unexecuted instantiation: SvxProtectItem const& SfxPoolItem::StaticWhichCast<SvxProtectItem>(TypedWhichId<SvxProtectItem>) const
Unexecuted instantiation: SwFormatEditInReadonly const& SfxPoolItem::StaticWhichCast<SwFormatEditInReadonly>(TypedWhichId<SwFormatEditInReadonly>) const
Unexecuted instantiation: SwFormatURL const& SfxPoolItem::StaticWhichCast<SwFormatURL>(TypedWhichId<SwFormatURL>) const
SwFormatFrameSize const& SfxPoolItem::StaticWhichCast<SwFormatFrameSize>(TypedWhichId<SwFormatFrameSize>) const
Line
Count
Source
705
77.5k
    {
706
77.5k
        (void)nId;
707
77.5k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
77.5k
        return *static_cast<const T*>(this);
710
77.5k
    }
SwTableBoxFormula const& SfxPoolItem::StaticWhichCast<SwTableBoxFormula>(TypedWhichId<SwTableBoxFormula>) const
Line
Count
Source
705
859
    {
706
859
        (void)nId;
707
859
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
859
        return *static_cast<const T*>(this);
710
859
    }
SwTableBoxValue const& SfxPoolItem::StaticWhichCast<SwTableBoxValue>(TypedWhichId<SwTableBoxValue>) const
Line
Count
Source
705
31.7k
    {
706
31.7k
        (void)nId;
707
31.7k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
31.7k
        return *static_cast<const T*>(this);
710
31.7k
    }
SwFormatINetFormat const& SfxPoolItem::StaticWhichCast<SwFormatINetFormat>(TypedWhichId<SwFormatINetFormat>) const
Line
Count
Source
705
23.1k
    {
706
23.1k
        (void)nId;
707
23.1k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
23.1k
        return *static_cast<const T*>(this);
710
23.1k
    }
SvxTwoLinesItem const& SfxPoolItem::StaticWhichCast<SvxTwoLinesItem>(TypedWhichId<SvxTwoLinesItem>) const
Line
Count
Source
705
7.06k
    {
706
7.06k
        (void)nId;
707
7.06k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
7.06k
        return *static_cast<const T*>(this);
710
7.06k
    }
SvxCharRotateItem const& SfxPoolItem::StaticWhichCast<SvxCharRotateItem>(TypedWhichId<SvxCharRotateItem>) const
Line
Count
Source
705
7.06k
    {
706
7.06k
        (void)nId;
707
7.06k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
7.06k
        return *static_cast<const T*>(this);
710
7.06k
    }
SvxCaseMapItem const& SfxPoolItem::StaticWhichCast<SvxCaseMapItem>(TypedWhichId<SvxCaseMapItem>) const
Line
Count
Source
705
20
    {
706
20
        (void)nId;
707
20
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
20
        return *static_cast<const T*>(this);
710
20
    }
SvxKerningItem const& SfxPoolItem::StaticWhichCast<SvxKerningItem>(TypedWhichId<SvxKerningItem>) const
Line
Count
Source
705
68
    {
706
68
        (void)nId;
707
68
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
68
        return *static_cast<const T*>(this);
710
68
    }
SvxCharHiddenItem const& SfxPoolItem::StaticWhichCast<SvxCharHiddenItem>(TypedWhichId<SvxCharHiddenItem>) const
Line
Count
Source
705
1.54k
    {
706
1.54k
        (void)nId;
707
1.54k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.54k
        return *static_cast<const T*>(this);
710
1.54k
    }
Unexecuted instantiation: SvxNoHyphenItem const& SfxPoolItem::StaticWhichCast<SvxNoHyphenItem>(TypedWhichId<SvxNoHyphenItem>) const
SvxAutoKernItem const& SfxPoolItem::StaticWhichCast<SvxAutoKernItem>(TypedWhichId<SvxAutoKernItem>) const
Line
Count
Source
705
810
    {
706
810
        (void)nId;
707
810
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
810
        return *static_cast<const T*>(this);
710
810
    }
SvxCharScaleWidthItem const& SfxPoolItem::StaticWhichCast<SvxCharScaleWidthItem>(TypedWhichId<SvxCharScaleWidthItem>) const
Line
Count
Source
705
23
    {
706
23
        (void)nId;
707
23
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
23
        return *static_cast<const T*>(this);
710
23
    }
Unexecuted instantiation: SvxOpticalSizingItem const& SfxPoolItem::StaticWhichCast<SvxOpticalSizingItem>(TypedWhichId<SvxOpticalSizingItem>) const
Unexecuted instantiation: SvxFontVariationsItem const& SfxPoolItem::StaticWhichCast<SvxFontVariationsItem>(TypedWhichId<SvxFontVariationsItem>) const
Unexecuted instantiation: SvxScriptHintItem const& SfxPoolItem::StaticWhichCast<SvxScriptHintItem>(TypedWhichId<SvxScriptHintItem>) const
Unexecuted instantiation: SwFormatFootnote const& SfxPoolItem::StaticWhichCast<SwFormatFootnote>(TypedWhichId<SwFormatFootnote>) const
Unexecuted instantiation: SwFormatField const& SfxPoolItem::StaticWhichCast<SwFormatField>(TypedWhichId<SwFormatField>) const
Unexecuted instantiation: SwFormatHeader const& SfxPoolItem::StaticWhichCast<SwFormatHeader>(TypedWhichId<SwFormatHeader>) const
Unexecuted instantiation: SwFormatFooter const& SfxPoolItem::StaticWhichCast<SwFormatFooter>(TypedWhichId<SwFormatFooter>) const
SwFormatDrop const& SfxPoolItem::StaticWhichCast<SwFormatDrop>(TypedWhichId<SwFormatDrop>) const
Line
Count
Source
705
12.6k
    {
706
12.6k
        (void)nId;
707
12.6k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
12.6k
        return *static_cast<const T*>(this);
710
12.6k
    }
Unexecuted instantiation: SwFormatRuby const& SfxPoolItem::StaticWhichCast<SwFormatRuby>(TypedWhichId<SwFormatRuby>) const
Unexecuted instantiation: SwFormatCol const& SfxPoolItem::StaticWhichCast<SwFormatCol>(TypedWhichId<SwFormatCol>) const
Unexecuted instantiation: SwFormatCharFormat const& SfxPoolItem::StaticWhichCast<SwFormatCharFormat>(TypedWhichId<SwFormatCharFormat>) const
Unexecuted instantiation: SwFormatFlyCnt const& SfxPoolItem::StaticWhichCast<SwFormatFlyCnt>(TypedWhichId<SwFormatFlyCnt>) const
Unexecuted instantiation: SwFormatContentControl const& SfxPoolItem::StaticWhichCast<SwFormatContentControl>(TypedWhichId<SwFormatContentControl>) const
Unexecuted instantiation: SwDocDisplayItem const& SfxPoolItem::StaticWhichCast<SwDocDisplayItem>(TypedWhichId<SwDocDisplayItem>) const
Unexecuted instantiation: SwElemItem const& SfxPoolItem::StaticWhichCast<SwElemItem>(TypedWhichId<SwElemItem>) const
Unexecuted instantiation: SwAddPrinterItem const& SfxPoolItem::StaticWhichCast<SwAddPrinterItem>(TypedWhichId<SwAddPrinterItem>) const
Unexecuted instantiation: SwShadowCursorItem const& SfxPoolItem::StaticWhichCast<SwShadowCursorItem>(TypedWhichId<SwShadowCursorItem>) const
Unexecuted instantiation: SwFmtAidsAutoComplItem const& SfxPoolItem::StaticWhichCast<SwFmtAidsAutoComplItem>(TypedWhichId<SwFmtAidsAutoComplItem>) const
Unexecuted instantiation: SwPtrItem const& SfxPoolItem::StaticWhichCast<SwPtrItem>(TypedWhichId<SwPtrItem>) const
SfxGrabBagItem const& SfxPoolItem::StaticWhichCast<SfxGrabBagItem>(TypedWhichId<SfxGrabBagItem>) const
Line
Count
Source
705
119k
    {
706
119k
        (void)nId;
707
119k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
119k
        return *static_cast<const T*>(this);
710
119k
    }
Unexecuted instantiation: SwCondCollItem const& SfxPoolItem::StaticWhichCast<SwCondCollItem>(TypedWhichId<SwCondCollItem>) const
Unexecuted instantiation: SvxLineSpacingItem const& SfxPoolItem::StaticWhichCast<SvxLineSpacingItem>(TypedWhichId<SvxLineSpacingItem>) const
Unexecuted instantiation: SwFormatFollowTextFlow const& SfxPoolItem::StaticWhichCast<SwFormatFollowTextFlow>(TypedWhichId<SwFormatFollowTextFlow>) const
Unexecuted instantiation: SvxSizeItem const& SfxPoolItem::StaticWhichCast<SvxSizeItem>(TypedWhichId<SvxSizeItem>) const
Unexecuted instantiation: SwFormatRowSplit const& SfxPoolItem::StaticWhichCast<SwFormatRowSplit>(TypedWhichId<SwFormatRowSplit>) const
Unexecuted instantiation: SwPaMItem const& SfxPoolItem::StaticWhichCast<SwPaMItem>(TypedWhichId<SwPaMItem>) const
Unexecuted instantiation: SwFormatLayoutSplit const& SfxPoolItem::StaticWhichCast<SwFormatLayoutSplit>(TypedWhichId<SwFormatLayoutSplit>) const
Unexecuted instantiation: SvxFormatKeepItem const& SfxPoolItem::StaticWhichCast<SvxFormatKeepItem>(TypedWhichId<SvxFormatKeepItem>) const
Unexecuted instantiation: SvxZoomItem const& SfxPoolItem::StaticWhichCast<SvxZoomItem>(TypedWhichId<SvxZoomItem>) const
Unexecuted instantiation: SvxViewLayoutItem const& SfxPoolItem::StaticWhichCast<SvxViewLayoutItem>(TypedWhichId<SvxViewLayoutItem>) const
SwPageFootnoteInfoItem const& SfxPoolItem::StaticWhichCast<SwPageFootnoteInfoItem>(TypedWhichId<SwPageFootnoteInfoItem>) const
Line
Count
Source
705
106k
    {
706
106k
        (void)nId;
707
106k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
106k
        return *static_cast<const T*>(this);
710
106k
    }
Unexecuted instantiation: SvxPageModelItem const& SfxPoolItem::StaticWhichCast<SvxPageModelItem>(TypedWhichId<SvxPageModelItem>) const
SvxLRSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLRSpaceItem>(TypedWhichId<SvxLRSpaceItem>) const
Line
Count
Source
705
1.85k
    {
706
1.85k
        (void)nId;
707
1.85k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
1.85k
        return *static_cast<const T*>(this);
710
1.85k
    }
Unexecuted instantiation: SvxBlinkItem const& SfxPoolItem::StaticWhichCast<SvxBlinkItem>(TypedWhichId<SvxBlinkItem>) const
Unexecuted instantiation: SwFormatSurround const& SfxPoolItem::StaticWhichCast<SwFormatSurround>(TypedWhichId<SwFormatSurround>) const
SvxFormatSplitItem const& SfxPoolItem::StaticWhichCast<SvxFormatSplitItem>(TypedWhichId<SvxFormatSplitItem>) const
Line
Count
Source
705
25
    {
706
25
        (void)nId;
707
25
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
25
        return *static_cast<const T*>(this);
710
25
    }
Unexecuted instantiation: SwContrastGrf const& SfxPoolItem::StaticWhichCast<SwContrastGrf>(TypedWhichId<SwContrastGrf>) const
Unexecuted instantiation: SwLuminanceGrf const& SfxPoolItem::StaticWhichCast<SwLuminanceGrf>(TypedWhichId<SwLuminanceGrf>) const
Unexecuted instantiation: SwDrawModeGrf const& SfxPoolItem::StaticWhichCast<SwDrawModeGrf>(TypedWhichId<SwDrawModeGrf>) const
Unexecuted instantiation: SwCropGrf const& SfxPoolItem::StaticWhichCast<SwCropGrf>(TypedWhichId<SwCropGrf>) const
Unexecuted instantiation: SvxWidowsItem const& SfxPoolItem::StaticWhichCast<SvxWidowsItem>(TypedWhichId<SvxWidowsItem>) const
Unexecuted instantiation: SvxHyphenZoneItem const& SfxPoolItem::StaticWhichCast<SvxHyphenZoneItem>(TypedWhichId<SvxHyphenZoneItem>) const
Unexecuted instantiation: SvxScriptSpaceItem const& SfxPoolItem::StaticWhichCast<SvxScriptSpaceItem>(TypedWhichId<SvxScriptSpaceItem>) const
Unexecuted instantiation: SvxHangingPunctuationItem const& SfxPoolItem::StaticWhichCast<SvxHangingPunctuationItem>(TypedWhichId<SvxHangingPunctuationItem>) const
Unexecuted instantiation: SvxParaVertAlignItem const& SfxPoolItem::StaticWhichCast<SvxParaVertAlignItem>(TypedWhichId<SvxParaVertAlignItem>) const
Unexecuted instantiation: SvxParaGridItem const& SfxPoolItem::StaticWhichCast<SvxParaGridItem>(TypedWhichId<SvxParaGridItem>) const
Unexecuted instantiation: SvxPaperBinItem const& SfxPoolItem::StaticWhichCast<SvxPaperBinItem>(TypedWhichId<SvxPaperBinItem>) const
Unexecuted instantiation: SwTextGridItem const& SfxPoolItem::StaticWhichCast<SwTextGridItem>(TypedWhichId<SwTextGridItem>) const
Unexecuted instantiation: SwFormatLineNumber const& SfxPoolItem::StaticWhichCast<SwFormatLineNumber>(TypedWhichId<SwFormatLineNumber>) const
Unexecuted instantiation: SwFormatLineBreak const& SfxPoolItem::StaticWhichCast<SwFormatLineBreak>(TypedWhichId<SwFormatLineBreak>) const
Unexecuted instantiation: SvxPrintItem const& SfxPoolItem::StaticWhichCast<SvxPrintItem>(TypedWhichId<SvxPrintItem>) const
Unexecuted instantiation: SdOptionsMiscItem const& SfxPoolItem::StaticWhichCast<SdOptionsMiscItem>(TypedWhichId<SdOptionsMiscItem>) const
SdOptionsPrintItem const& SfxPoolItem::StaticWhichCast<SdOptionsPrintItem>(TypedWhichId<SdOptionsPrintItem>) const
Line
Count
Source
705
6.92k
    {
706
6.92k
        (void)nId;
707
6.92k
        assert(nId == m_nWhich);
708
        assert(dynamic_cast<const T*>(this));
709
6.92k
        return *static_cast<const T*>(this);
710
6.92k
    }
Unexecuted instantiation: SvxLongLRSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLongLRSpaceItem>(TypedWhichId<SvxLongLRSpaceItem>) const
Unexecuted instantiation: SvxLongULSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLongULSpaceItem>(TypedWhichId<SvxLongULSpaceItem>) const
Unexecuted instantiation: XColorItem const& SfxPoolItem::StaticWhichCast<XColorItem>(TypedWhichId<XColorItem>) const
Unexecuted instantiation: SvxPageItem const& SfxPoolItem::StaticWhichCast<SvxPageItem>(TypedWhichId<SvxPageItem>) const
711
    // DynamicWhichCast returns nullptr if the TypedWhichId is not matching its type, otherwise it returns a typed pointer.
712
    // it asserts if the TypedWhichId matches its Which, but not the RTTI type.
713
    // You can use DynamicWhichCast when you are not sure about the type at compile time -- like a dynamic_cast.
714
    template<class T> T* DynamicWhichCast(TypedWhichId<T> nId)
715
    {
716
        if(m_nWhich != nId)
717
            return nullptr;
718
        assert(dynamic_cast<T*>(this));
719
        return static_cast<T*>(this);
720
    }
721
    template<class T> const T* DynamicWhichCast(TypedWhichId<T> nId) const
722
0
    {
723
0
        if(m_nWhich != nId)
724
0
            return nullptr;
725
0
        assert(dynamic_cast<const T*>(this));
726
0
        return static_cast<const T*>(this);
727
0
    }
Unexecuted instantiation: SvxWordLineModeItem const* SfxPoolItem::DynamicWhichCast<SvxWordLineModeItem>(TypedWhichId<SvxWordLineModeItem>) const
Unexecuted instantiation: SvxTextLeftMarginItem const* SfxPoolItem::DynamicWhichCast<SvxTextLeftMarginItem>(TypedWhichId<SvxTextLeftMarginItem>) const
728
    virtual bool             operator==( const SfxPoolItem& ) const = 0;
729
    bool                     operator!=( const SfxPoolItem& rItem ) const
730
29.0M
                             { return !(*this == rItem); }
731
    // Used by HashedItemInstanceManager
732
    virtual bool             supportsHashCode() const;
733
    virtual size_t           hashCode() const;
734
735
    /**  @return true if it has a valid string representation */
736
    virtual bool             GetPresentation( SfxItemPresentation ePresentation,
737
                                    MapUnit eCoreMetric,
738
                                    MapUnit ePresentationMetric,
739
                                    OUString &rText,
740
                                    const IntlWrapper& rIntlWrapper ) const;
741
742
    virtual void             ScaleMetrics( double fScale );
743
    virtual bool             HasMetrics() const;
744
745
    virtual bool             QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
746
    virtual bool             PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId );
747
748
    virtual SfxPoolItem*     Clone( SfxItemPool *pPool = nullptr ) const = 0;
749
    // clone and call SetWhich
750
    std::unique_ptr<SfxPoolItem> CloneSetWhich( sal_uInt16 nNewWhich ) const;
751
    template<class T> std::unique_ptr<T> CloneSetWhich( TypedWhichId<T> nId ) const
752
70.1k
    {
753
70.1k
        return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId));
754
70.1k
    }
std::__1::unique_ptr<SvxFontHeightItem, std::__1::default_delete<SvxFontHeightItem> > SfxPoolItem::CloneSetWhich<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const
Line
Count
Source
752
70.1k
    {
753
70.1k
        return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId));
754
70.1k
    }
Unexecuted instantiation: std::__1::unique_ptr<SvxLanguageItem, std::__1::default_delete<SvxLanguageItem> > SfxPoolItem::CloneSetWhich<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>) const
Unexecuted instantiation: std::__1::unique_ptr<SvxNumBulletItem, std::__1::default_delete<SvxNumBulletItem> > SfxPoolItem::CloneSetWhich<SvxNumBulletItem>(TypedWhichId<SvxNumBulletItem>) const
755
756
1.60G
    sal_uInt32               GetRefCount() const { return m_nRefCount; }
757
    virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
758
    virtual boost::property_tree::ptree dumpAsJSON() const;
759
760
private:
761
    SfxPoolItem&             operator=( const SfxPoolItem& ) = delete;
762
};
763
764
// basic Interface definition
765
class SVL_DLLPUBLIC ItemInstanceManager
766
{
767
    // allow *only* ItemSetTooling to access
768
    friend SfxPoolItem const* implCreateItemEntry(const SfxItemPool&, SfxPoolItem const*, bool);
769
    friend void implCleanupItemEntry(SfxPoolItem const*);
770
771
    // Define for which SfxItemType to register
772
    SfxItemType     m_aSfxItemType;
773
774
public:
775
    ItemInstanceManager(SfxItemType aSfxItemType)
776
697
    : m_aSfxItemType(aSfxItemType)
777
697
    {
778
697
    }
779
288
    virtual ~ItemInstanceManager() = default;
780
781
71.2M
    SfxItemType ItemType() const { return m_aSfxItemType; }
782
783
private:
784
    // standard interface, accessed exclusively
785
    // by implCreateItemEntry/implCleanupItemEntry
786
    virtual const SfxPoolItem* find(const SfxPoolItem&) const = 0;
787
    virtual void add(const SfxPoolItem&) = 0;
788
    virtual void remove(const SfxPoolItem&) = 0;
789
};
790
791
// offering a default implementation that can be use for
792
// each SfxPoolItem (except when !isShareable()). It just
793
// uses an unordered_set holding ptrs to SfxPoolItems added
794
// and SfxPoolItem::operator== to linearly search for one.
795
// Thus this is not the fastest, but as fast as old 'pooled'
796
// stuff - better use an intelligent, pro-Item implementation
797
// that does e.g. hashing or whatever might be feasible for
798
// that specific Item (see other derivations)
799
class SVL_DLLPUBLIC DefaultItemInstanceManager final : public ItemInstanceManager
800
{
801
    std::unordered_map<sal_uInt16, std::unordered_set<const SfxPoolItem*>>  maRegistered;
802
803
public:
804
    DefaultItemInstanceManager(SfxItemType aSfxItemType)
805
335
    : ItemInstanceManager(aSfxItemType)
806
335
    , maRegistered()
807
335
    {
808
335
    }
809
810
private:
811
    virtual const SfxPoolItem* find(const SfxPoolItem&) const override;
812
    virtual void add(const SfxPoolItem&) override;
813
    virtual void remove(const SfxPoolItem&) override;
814
};
815
816
/**
817
  Utility template to reduce boilerplate code when creating item instance managers
818
  for specific PoolItem subclasses that can be hashed which is faster than using
819
  the linear search with operator== that DefaultItemInstanceManager has to do
820
*/
821
class HashedItemInstanceManager final : public ItemInstanceManager
822
{
823
    struct ItemHash {
824
        size_t operator()(const SfxPoolItem* p) const
825
73.4M
        {
826
73.4M
            return p->hashCode();
827
73.4M
        }
828
    };
829
    struct ItemEqual {
830
        bool operator()(const SfxPoolItem* lhs, const SfxPoolItem* rhs) const
831
190M
        {
832
190M
            return lhs->Which() == rhs->Which() && (*lhs) == (*rhs);
833
190M
        }
834
    };
835
836
    std::unordered_set<const SfxPoolItem*, ItemHash, ItemEqual> maRegistered;
837
838
public:
839
    HashedItemInstanceManager(SfxItemType aSfxItemType)
840
338
    : ItemInstanceManager(aSfxItemType)
841
338
    , maRegistered(0, ItemHash(), ItemEqual())
842
338
    {
843
338
    }
844
845
    // standard interface, accessed exclusively
846
    // by implCreateItemEntry/implCleanupItemEntry
847
    virtual const SfxPoolItem* find(const SfxPoolItem& rItem) const override final
848
57.3M
    {
849
57.3M
        auto aHit(maRegistered.find(&rItem));
850
57.3M
        if (aHit != maRegistered.end())
851
48.6M
            return *aHit;
852
8.64M
        return nullptr;
853
57.3M
    }
854
    virtual void add(const SfxPoolItem& rItem) override final
855
8.64M
    {
856
8.64M
        maRegistered.insert(&rItem);
857
8.64M
    }
858
    virtual void remove(const SfxPoolItem& rItem) override final
859
8.65M
    {
860
8.65M
        maRegistered.erase(&rItem);
861
8.65M
    }
862
};
863
864
865
inline bool IsStaticDefaultItem(const SfxPoolItem *pItem )
866
13.0k
{
867
13.0k
    return pItem && pItem->isStaticDefault();
868
13.0k
}
869
870
inline bool IsDynamicDefaultItem(const SfxPoolItem *pItem )
871
0
{
872
0
    return pItem && pItem->isDynamicDefault();
873
0
}
874
875
inline bool IsDefaultItem( const SfxPoolItem *pItem )
876
0
{
877
0
    return pItem && (pItem->isStaticDefault() || pItem->isDynamicDefault());
878
0
}
879
880
SVL_DLLPUBLIC extern SfxPoolItem const * const INVALID_POOL_ITEM;
881
SVL_DLLPUBLIC extern SfxPoolItem const * const DISABLED_POOL_ITEM;
882
883
inline bool IsInvalidItem(const SfxPoolItem *pItem)
884
3.22G
{
885
3.22G
    return pItem == INVALID_POOL_ITEM;
886
3.22G
}
887
888
inline bool IsDisabledItem(const SfxPoolItem *pItem)
889
3.27G
{
890
3.27G
    return pItem == DISABLED_POOL_ITEM;
891
3.27G
}
892
893
SVL_DLLPUBLIC bool areSfxPoolItemPtrsEqual(const SfxPoolItem* pItem1, const SfxPoolItem* pItem2);
894
895
class SVL_DLLPUBLIC SfxPoolItemHint final : public SfxHint
896
{
897
    SfxPoolItem* pObj;
898
public:
899
765k
    explicit SfxPoolItemHint( SfxPoolItem* Object ) : SfxHint(SfxHintId::PoolItem), pObj(Object) {}
900
0
    SfxPoolItem* GetObject() const { return pObj; }
901
};
902
903
#endif
904
905
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */