/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 | 116M | #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 | 412k | { |
45 | 412k | bool bValue = false; |
46 | 412k | 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 | 412k | return bValue; |
54 | 412k | } |
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 | 51.5M | 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 | | SvxB3DVectorItemType, |
315 | | SvxBitmapListItemType, |
316 | | SvxBlinkItemType, |
317 | | SvxBoxInfoItemType, |
318 | | SvxBoxItemType, |
319 | | SvxBrushItemType, |
320 | | SvxBulletItemType, |
321 | | SvxCaseMapItemType, |
322 | | SvxCharHiddenItemType, |
323 | | SvxCharReliefItemType, |
324 | | SvxCharRotateItemType, |
325 | | SvxCharScaleWidthItemType, |
326 | | SvxChartColorPaletteItemType, |
327 | | SvxChartColorTableItemType, |
328 | | SvxChartIndicateItemType, |
329 | | SvxChartKindErrorItemType, |
330 | | SvxChartRegressItemType, |
331 | | SvxChartTextOrderItemType, |
332 | | SvxClipboardFormatItemType, |
333 | | SvxColorItemType, |
334 | | SvxColorListItemType, |
335 | | SvxColumnItemType, |
336 | | SvxContourItemType, |
337 | | SvxCrossedOutItemType, |
338 | | SvxDashListItemType, |
339 | | SvxDoubleItemType, |
340 | | SvxEmphasisMarkItemType, |
341 | | SvxEscapementItemType, |
342 | | SvxFieldItemType, |
343 | | SvxFirstLineIndentItemType, |
344 | | SvxFontHeightItemType, |
345 | | SvxFontItemType, |
346 | | SvxFontListItemType, |
347 | | SvxForbiddenRuleItemType, |
348 | | SvxFormatBreakItemType, |
349 | | SvxFormatKeepItemType, |
350 | | SvxFormatSplitItemType, |
351 | | SvxFrameDirectionItemType, |
352 | | SvxGalleryItemType, |
353 | | SvxGradientListItemType, |
354 | | SvxGraphicItemType, |
355 | | SvxGrfCropType, |
356 | | SvxGridItemType, |
357 | | SvxGutterLeftMarginItemType, |
358 | | SvxGutterRightMarginItemType, |
359 | | SvxHangingPunctuationItemType, |
360 | | SvxHatchListItemType, |
361 | | SvxHorJustifyItemType, |
362 | | SvxHyperlinkItemType, |
363 | | SvxHyphenZoneItemType, |
364 | | SvxJustifyMethodItemType, |
365 | | SvxKerningItemType, |
366 | | SvxLanguageItemType, |
367 | | SvxLanguageItem_BaseType, |
368 | | SvxLeftMarginItemType, |
369 | | SvxLineEndListItemType, |
370 | | SvxLineItemType, |
371 | | SvxLineSpacingItemType, |
372 | | SvxLongLRSpaceItemType, |
373 | | SvxLongULSpaceItemType, |
374 | | SvxLRSpaceItemType, |
375 | | SvxMacroItemType, |
376 | | SvxMarginItemType, |
377 | | SvXMLAttrContainerItemType, |
378 | | SvxNoHyphenItemType, |
379 | | SvxNumberInfoItemType, |
380 | | SvxNumBulletItemType, |
381 | | SvxObjectItemType, |
382 | | SvxOpaqueItemType, |
383 | | SvxOrientationItemType, |
384 | | SvxOrphansItemType, |
385 | | SvxOverlineItemType, |
386 | | SvxPageItemType, |
387 | | SvxPageModelItemType, |
388 | | SvxPagePosSizeItemType, |
389 | | SvxPaperBinItemType, |
390 | | SvxParaGridItemType, |
391 | | SvxParaVertAlignItemType, |
392 | | SvxPatternListItemType, |
393 | | SvxPostItAuthorItemType, |
394 | | SvxPostItDateItemType, |
395 | | SvxPostItIdItemType, |
396 | | SvxPostItTextItemType, |
397 | | SvxPostureItemType, |
398 | | SvxPrintItemType, |
399 | | SvxProtectItemType, |
400 | | SvxRectangleAlignmentItemType, |
401 | | SvxRightMarginItemType, |
402 | | SvxRotateModeItemType, |
403 | | SvxRsidItemType, |
404 | | SvxRubyItemType, |
405 | | SvxScriptSetItemType, |
406 | | SvxScriptSpaceItemType, |
407 | | SvxSearchItemType, |
408 | | SvxSetItemType, |
409 | | SvxShadowedItemType, |
410 | | SvxShadowItemType, |
411 | | SvxSizeItemType, |
412 | | SvxSmartTagItemType, |
413 | | SvxStatusItemType, |
414 | | SvxTabStopItemType, |
415 | | SvxTextLeftMarginItemType, |
416 | | SvxTextLineItemType, |
417 | | SvxTextRotateItemType, |
418 | | SvxTwoLinesItemType, |
419 | | SvxULSpaceItemType, |
420 | | SvxUnderlineItemType, |
421 | | SvxVerJustifyItemType, |
422 | | SvxViewLayoutItemType, |
423 | | SvxWeightItemType, |
424 | | SvxWidowsItemType, |
425 | | SvxWordLineModeItemType, |
426 | | SvxWritingModeItemType, |
427 | | SvxZoomItemType, |
428 | | SvxZoomSliderItemType, |
429 | | SvxScriptHintItemType, |
430 | | SwAddPrinterItemType, |
431 | | SwChannelBGrfType, |
432 | | SwChannelGGrfType, |
433 | | SwChannelRGrfType, |
434 | | SwCondCollItemType, |
435 | | SwContrastGrfType, |
436 | | SwCropGrfType, |
437 | | SwDocDisplayItemType, |
438 | | SwDrawModeGrfType, |
439 | | SwElemItemType, |
440 | | SwEnvItemType, |
441 | | SwFltAnchorType, |
442 | | SwFltBookmarkType, |
443 | | SwFltRDFMarkType, |
444 | | SwFltRedlineType, |
445 | | SwFltTOXType, |
446 | | SwFmtAidsAutoComplItemType, |
447 | | SwFormatAnchorType, |
448 | | SwFormatAutoFormatType, |
449 | | SwFormatChainType, |
450 | | SwFormatCharFormatType, |
451 | | SwFormatColType, |
452 | | SwFormatContentType, |
453 | | SwFormatContentControlType, |
454 | | SwFormatDropType, |
455 | | SwFormatEditInReadonlyType, |
456 | | SwFormatEndAtTextEndType, |
457 | | SwFormatFieldType, |
458 | | SwFormatFillOrderType, |
459 | | SwFormatFlyCntType, |
460 | | SwFormatFlySplitType, |
461 | | SwFormatFollowTextFlowType, |
462 | | SwFormatFooterType, |
463 | | SwFormatFootnoteType, |
464 | | SwFormatFootnoteAtTextEndType, |
465 | | SwFormatFrameSizeType, |
466 | | SwFormatHeaderType, |
467 | | SwFormatHoriOrientType, |
468 | | SwFormatINetFormatType, |
469 | | SwFormatLayoutSplitType, |
470 | | SwFormatLineBreakType, |
471 | | SwFormatLineNumberType, |
472 | | SwFormatMetaType, |
473 | | SwFormatNoBalancedColumnsType, |
474 | | SwFormatPageDescType, |
475 | | SwFormatRefMarkType, |
476 | | SwFormatRowSplitType, |
477 | | SwFormatRubyType, |
478 | | SwFormatSurroundType, |
479 | | SwFormatURLType, |
480 | | SwFormatVertOrientType, |
481 | | SwFormatWrapInfluenceOnObjPosType, |
482 | | SwFormatWrapTextAtFlyStartType, |
483 | | SwGammaGrfType, |
484 | | SwHeaderAndFooterEatSpacingItemType, |
485 | | SwInvertGrfType, |
486 | | SwLabItemType, |
487 | | SwLuminanceGrfType, |
488 | | SwMirrorGrfType, |
489 | | SwMsgPoolItemType, |
490 | | SwNumRuleItemType, |
491 | | SwPageFootnoteInfoItemType, |
492 | | SwPaMItemType, |
493 | | SwParaConnectBorderItemType, |
494 | | SwPtrItemType, |
495 | | SwRegisterItemType, |
496 | | SwRotationGrfType, |
497 | | SwShadowCursorItemType, |
498 | | SwTableBoxFormulaType, |
499 | | SwTableBoxNumFormatType, |
500 | | SwTableBoxValueType, |
501 | | SwTextGridItemType, |
502 | | SwTOXMarkType, |
503 | | SwTransparencyGrfType, |
504 | | SwUINumRuleItemType, |
505 | | SwWrtShellItemType, |
506 | | XColorItemType, |
507 | | XFillAttrSetItemType, |
508 | | XFillBackgroundItemType, |
509 | | XFillBitmapItemType, |
510 | | XFillBmpPosItemType, |
511 | | XFillBmpPosOffsetXItemType, |
512 | | XFillBmpPosOffsetYItemType, |
513 | | XFillBmpSizeLogItemType, |
514 | | XFillBmpSizeXItemType, |
515 | | XFillBmpSizeYItemType, |
516 | | XFillBmpStretchItemType, |
517 | | XFillBmpTileItemType, |
518 | | XFillBmpTileOffsetXItemType, |
519 | | XFillBmpTileOffsetYItemType, |
520 | | XFillColorItemType, |
521 | | XFillFloatTransparenceItemType, |
522 | | XFillGradientItemType, |
523 | | XFillHatchItemType, |
524 | | XFillStyleItemType, |
525 | | XFillTransparenceItemType, |
526 | | XFillUseSlideBackgroundItemType, |
527 | | XFormTextAdjustItemType, |
528 | | XFormTextDistanceItemType, |
529 | | XFormTextHideFormItemType, |
530 | | XFormTextMirrorItemType, |
531 | | XFormTextOutlineItemType, |
532 | | XFormTextShadowColorItemType, |
533 | | XFormTextShadowItemType, |
534 | | XFormTextShadowTranspItemType, |
535 | | XFormTextShadowXValItemType, |
536 | | XFormTextShadowYValItemType, |
537 | | XFormTextStartItemType, |
538 | | XFormTextStyleItemType, |
539 | | XGradientStepCountItemType, |
540 | | XLineAttrSetItemType, |
541 | | XLineCapItemType, |
542 | | XLineColorItemType, |
543 | | XLineDashItemType, |
544 | | XLineEndCenterItemType, |
545 | | XLineEndItemType, |
546 | | XLineEndWidthItemType, |
547 | | XLineJointItemType, |
548 | | XLineStartCenterItemType, |
549 | | XLineStartItemType, |
550 | | XLineStartWidthItemType, |
551 | | XLineStyleItemType, |
552 | | XLineTransparenceItemType, |
553 | | XLineWidthItemType, |
554 | | XSecondaryFillColorItemType |
555 | | #ifdef DBG_UTIL |
556 | | , SwTestItemType |
557 | | #endif |
558 | | }; |
559 | | |
560 | | |
561 | | #ifdef DBG_UTIL |
562 | | SVL_DLLPUBLIC size_t getAllocatedSfxPoolItemCount(); |
563 | | SVL_DLLPUBLIC size_t getUsedSfxPoolItemCount(); |
564 | | SVL_DLLPUBLIC void listAllocatedSfxPoolItems(); |
565 | | #endif |
566 | | |
567 | | class SfxItemPool; |
568 | | typedef struct _xmlTextWriter* xmlTextWriterPtr; |
569 | | class ItemInstanceManager; |
570 | | |
571 | | // macro to define overloaded ItemType function, see explanations below |
572 | | #define DECLARE_ITEM_TYPE_FUNCTION(T) \ |
573 | 343M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }SvxMacroItem::ItemType() const Line | Count | Source | 573 | 2.90k | 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 | 573 | 21.0M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxUInt16Item::ItemType() const Line | Count | Source | 573 | 1.30M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxInt32Item::ItemType() const SfxUInt32Item::ItemType() const Line | Count | Source | 573 | 5.85M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxEnumItemInterface::ItemType() const SfxBoolItem::ItemType() const Line | Count | Source | 573 | 10.2M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrAngleItem::ItemType() const Line | Count | Source | 573 | 14.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScMergeAttr::ItemType() const Line | Count | Source | 573 | 3.62M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScMergeFlagAttr::ItemType() const Line | Count | Source | 573 | 79.7M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScProtectionAttr::ItemType() const Line | Count | Source | 573 | 1.37M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScPageHFItem::ItemType() const Line | Count | Source | 573 | 654k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScViewObjectModeItem::ItemType() const Line | Count | Source | 573 | 511 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScPageScaleToItem::ItemType() const Line | Count | Source | 573 | 295k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScCondFormatItem::ItemType() const Line | Count | Source | 573 | 5.32M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScRotateValueItem::ItemType() const Line | Count | Source | 573 | 343k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScShrinkToFitCell::ItemType() const Line | Count | Source | 573 | 534k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScVerticalStackCell::ItemType() const Line | Count | Source | 573 | 528k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScLineBreakCell::ItemType() const Line | Count | Source | 573 | 1.48M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScHyphenateCell::ItemType() const ScIndentItem::ItemType() const Line | Count | Source | 573 | 340k | 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 | 573 | 19.0M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrOnOffItem::ItemType() const Line | Count | Source | 573 | 2.91M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrCustomShapeGeometryItem::ItemType() const Line | Count | Source | 573 | 841k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextVertAdjustItem::ItemType() const Line | Count | Source | 573 | 1.27M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextHorzAdjustItem::ItemType() const Line | Count | Source | 573 | 1.55M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniKindItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniDirectionItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBoxItem::ItemType() const Line | Count | Source | 573 | 3.51M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBoxInfoItem::ItemType() const Line | Count | Source | 573 | 1.01M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxLineItem::ItemType() const Line | Count | Source | 573 | 59.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBrushItem::ItemType() const Line | Count | Source | 573 | 1.40M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFrameDirectionItem::ItemType() const Line | Count | Source | 573 | 2.09M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFontItem::ItemType() const Line | Count | Source | 573 | 12.3M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHorJustifyItem::ItemType() const Line | Count | Source | 573 | 1.82M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxVerJustifyItem::ItemType() const Line | Count | Source | 573 | 1.64M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxJustifyMethodItem::ItemType() const Line | Count | Source | 573 | 548k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxLanguageItem_Base::ItemType() const SvxLanguageItem::ItemType() const Line | Count | Source | 573 | 6.86M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFieldItem::ItemType() const Line | Count | Source | 573 | 1.72M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPageItem::ItemType() const Line | Count | Source | 573 | 358k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxSetItem::ItemType() const Line | Count | Source | 573 | 1.77M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWritingModeItem::ItemType() const Line | Count | Source | 573 | 4.52M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: NameOrIndex::ItemType() const XColorItem::ItemType() const Line | Count | Source | 573 | 322k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineColorItem::ItemType() const Line | Count | Source | 573 | 576k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineDashItem::ItemType() const Line | Count | Source | 573 | 165k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndCenterItem::ItemType() const Line | Count | Source | 573 | 132k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndItem::ItemType() const Line | Count | Source | 573 | 390k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndWidthItem::ItemType() const Line | Count | Source | 573 | 112k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartCenterItem::ItemType() const Line | Count | Source | 573 | 199k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartItem::ItemType() const Line | Count | Source | 573 | 443k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartWidthItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineWidthItem::ItemType() const Line | Count | Source | 573 | 398k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrMetricItem::ItemType() const Line | Count | Source | 573 | 10.8M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillColorItem::ItemType() const Line | Count | Source | 573 | 7.04M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxAdjustItem::ItemType() const Line | Count | Source | 573 | 2.31M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillStyleItem::ItemType() const Line | Count | Source | 573 | 3.68M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStyleItem::ItemType() const Line | Count | Source | 573 | 2.42M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineJointItem::ItemType() const Line | Count | Source | 573 | 153k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineTransparenceItem::ItemType() const Line | Count | Source | 573 | 2.56k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBitmapItem::ItemType() const Line | Count | Source | 573 | 434k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxSizeItem::ItemType() const Line | Count | Source | 573 | 720k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxLeftMarginItem::ItemType() const SvxTextLeftMarginItem::ItemType() const Line | Count | Source | 573 | 877k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFirstLineIndentItem::ItemType() const Line | Count | Source | 573 | 545k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRightMarginItem::ItemType() const Line | Count | Source | 573 | 659k | 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 | 573 | 5.14M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxULSpaceItem::ItemType() const Line | Count | Source | 573 | 6.44M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFontHeightItem::ItemType() const Line | Count | Source | 573 | 19.9M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWeightItem::ItemType() const Line | Count | Source | 573 | 12.2M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxTextLineItem::ItemType() const SvxUnderlineItem::ItemType() const Line | Count | Source | 573 | 4.07M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOverlineItem::ItemType() const Line | Count | Source | 573 | 1.34M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPostureItem::ItemType() const Line | Count | Source | 573 | 8.05M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCrossedOutItem::ItemType() const Line | Count | Source | 573 | 2.42M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxContourItem::ItemType() const Line | Count | Source | 573 | 4.42M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxShadowedItem::ItemType() const Line | Count | Source | 573 | 4.07M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxEscapementItem::ItemType() const Line | Count | Source | 573 | 2.03M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxOrientationItem::ItemType() const SvxMarginItem::ItemType() const Line | Count | Source | 573 | 268k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRotateModeItem::ItemType() const Line | Count | Source | 573 | 1.24M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxColorItem::ItemType() const Line | Count | Source | 573 | 7.08M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxFontListItem::ItemType() const Unexecuted instantiation: SfxLinkItem::ItemType() const Unexecuted instantiation: SvxZoomItem::ItemType() const XFillTransparenceItem::ItemType() const Line | Count | Source | 573 | 64.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillGradientItem::ItemType() const Line | Count | Source | 573 | 971k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScTpFormulaItem::ItemType() const SvxCharReliefItem::ItemType() const Line | Count | Source | 573 | 1.39M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxEmphasisMarkItem::ItemType() const Line | Count | Source | 573 | 1.32M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxForbiddenRuleItem::ItemType() const Line | Count | Source | 573 | 639k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHangingPunctuationItem::ItemType() const Line | Count | Source | 573 | 518k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxPaperBinItem::ItemType() const SvxScriptSpaceItem::ItemType() const Line | Count | Source | 573 | 520k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxShadowItem::ItemType() const Line | Count | Source | 573 | 73.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWordLineModeItem::ItemType() const Line | Count | Source | 573 | 1.28M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvXMLAttrContainerItem::ItemType() const Line | Count | Source | 573 | 72.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScTpDefaultsItem::ItemType() const Unexecuted instantiation: SvxSearchItem::ItemType() const Unexecuted instantiation: SfxViewFrameItem::ItemType() const SfxFlagItem::ItemType() const Line | Count | Source | 573 | 1.41k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxAutoKernItem::ItemType() const Line | Count | Source | 573 | 1.43M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrYesNoItem::ItemType() const Line | Count | Source | 573 | 85.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 | 573 | 1.62k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxGradientListItem::ItemType() const Line | Count | Source | 573 | 1.62k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHatchListItem::ItemType() const Line | Count | Source | 573 | 1.62k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBitmapListItem::ItemType() const Line | Count | Source | 573 | 1.62k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPatternListItem::ItemType() const Line | Count | Source | 573 | 1.62k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxDashListItem::ItemType() const Unexecuted instantiation: SvxLineEndListItem::ItemType() const Unexecuted instantiation: ScTpPrintItem::ItemType() const SvxNumBulletItem::ItemType() const Line | Count | Source | 573 | 934k | 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 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 | 573 | 1.36M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxScriptSetItem::ItemType() const SvxFormatBreakItem::ItemType() const Line | Count | Source | 573 | 1.06M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHyphenZoneItem::ItemType() const Line | Count | Source | 573 | 175k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOrphansItem::ItemType() const Line | Count | Source | 573 | 75.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFormatSplitItem::ItemType() const Line | Count | Source | 573 | 146k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWidowsItem::ItemType() const Line | Count | Source | 573 | 77.3k | 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 | 573 | 11.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileItem::ItemType() const Line | Count | Source | 573 | 14.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxStatusItem::ItemType() const Unexecuted instantiation: SfxVisibilityItem::ItemType() const Unexecuted instantiation: SfxIntegerListItem::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 | 573 | 208k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillHatchItem::ItemType() const Line | Count | Source | 573 | 324k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxRectangleItem::ItemType() const Unexecuted instantiation: SfxObjectItem::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 | 573 | 923k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxGlobalNameItem::ItemType() const XLineCapItem::ItemType() const Line | Count | Source | 573 | 13.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrPercentItem::ItemType() const Line | Count | Source | 573 | 2.16k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SdrSignedPercentItem::ItemType() const SdrTextAniCountItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniAmountItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCharScaleWidthItem::ItemType() const Line | Count | Source | 573 | 154k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCaseMapItem::ItemType() const Line | Count | Source | 573 | 1.28M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxTabStopItem::ItemType() const Line | Count | Source | 573 | 905k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBulletItem::ItemType() const Line | Count | Source | 573 | 114k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxGrabBagItem::ItemType() const Line | Count | Source | 573 | 197k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxVoidItem::ItemType() const Line | Count | Source | 573 | 12.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxAutoFrameDirectionItem::ItemType() const SvxRubyItem::ItemType() const Line | Count | Source | 573 | 2.30k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxScriptHintItem::ItemType() const Line | Count | Source | 573 | 22.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPrintItem::ItemType() const Line | Count | Source | 573 | 1.54k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOpaqueItem::ItemType() const Line | Count | Source | 573 | 18.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxProtectItem::ItemType() const Line | Count | Source | 573 | 72.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFormatKeepItem::ItemType() const Line | Count | Source | 573 | 461k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxPageModelItem::ItemType() const SvxParaVertAlignItem::ItemType() const Line | Count | Source | 573 | 11.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxParaGridItem::ItemType() const Line | Count | Source | 573 | 183k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRsidItem::ItemType() const Line | Count | Source | 573 | 1.36k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxNoHyphenItem::ItemType() const SvxBlinkItem::ItemType() const Line | Count | Source | 573 | 16.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxTwoLinesItem::ItemType() const Line | Count | Source | 573 | 31 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxTextRotateItem::ItemType() const SvxCharRotateItem::ItemType() const Line | Count | Source | 573 | 1.68k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCharHiddenItem::ItemType() const Line | Count | Source | 573 | 266k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextFitToSizeTypeItem::ItemType() const Line | Count | Source | 573 | 282k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SdrGrafModeItem_Base::ItemType() const XSecondaryFillColorItem::ItemType() const Line | Count | Source | 573 | 2.05k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillUseSlideBackgroundItem::ItemType() const Line | Count | Source | 573 | 103k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxGrfCrop::ItemType() const SdrGrafCropItem::ItemType() const Line | Count | Source | 573 | 22.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafModeItem::ItemType() const Line | Count | Source | 573 | 25.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeXItem::ItemType() const Line | Count | Source | 573 | 2.24k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeYItem::ItemType() const Line | Count | Source | 573 | 2.24k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeLogItem::ItemType() const Line | Count | Source | 573 | 4.34k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode1HorzDistItem::ItemType() const Line | Count | Source | 573 | 152k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode1VertDistItem::ItemType() const Line | Count | Source | 573 | 152k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode2HorzDistItem::ItemType() const Line | Count | Source | 573 | 152k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode2VertDistItem::ItemType() const Line | Count | Source | 573 | 152k | 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 | 573 | 20.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafContrastItem::ItemType() const Line | Count | Source | 573 | 19.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeKindItem::ItemType() const Line | Count | Source | 573 | 15.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafGamma100Item::ItemType() const Line | Count | Source | 573 | 19.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextFixedCellHeightItem::ItemType() const Line | Count | Source | 573 | 581k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxScriptOrganizerItem::ItemType() const SdrGrafRedItem::ItemType() const Line | Count | Source | 573 | 19.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafGreenItem::ItemType() const Line | Count | Source | 573 | 19.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafBlueItem::ItemType() const Line | Count | Source | 573 | 19.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafTransparenceItem::ItemType() const Line | Count | Source | 573 | 19.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxB3DVectorItem::ItemType() const Line | Count | Source | 573 | 38.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: Svx3DReducedLineGeometryItem::ItemType() const Svx3DNormalsKindItem::ItemType() const Line | Count | Source | 573 | 5.56k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DTextureProjectionXItem::ItemType() const Line | Count | Source | 573 | 17.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DTextureProjectionYItem::ItemType() const Line | Count | Source | 573 | 17.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: Svx3DTextureKindItem::ItemType() const Svx3DTextureModeItem::ItemType() const Line | Count | Source | 573 | 5.56k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DPerspectiveItem::ItemType() const Line | Count | Source | 573 | 11.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DShadeModeItem::ItemType() const Line | Count | Source | 573 | 5.56k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DSmoothNormalsItem::ItemType() const Line | Count | Source | 573 | 34.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DSmoothLidsItem::ItemType() const Line | Count | Source | 573 | 34.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCharacterModeItem::ItemType() const Line | Count | Source | 573 | 34.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCloseFrontItem::ItemType() const Line | Count | Source | 573 | 49.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCloseBackItem::ItemType() const Line | Count | Source | 573 | 49.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosItem::ItemType() const Line | Count | Source | 573 | 5.58k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XGradientStepCountItem::ItemType() const Line | Count | Source | 573 | 1.14k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBackgroundItem::ItemType() const Line | Count | Source | 573 | 2.28k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileOffsetXItem::ItemType() const Line | Count | Source | 573 | 1.14k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileOffsetYItem::ItemType() const Line | Count | Source | 573 | 95 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosOffsetXItem::ItemType() const Line | Count | Source | 573 | 1.18k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosOffsetYItem::ItemType() const Line | Count | Source | 573 | 1.18k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRectangleAlignmentItem::ItemType() const Line | Count | Source | 573 | 438 | 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 | 573 | 38.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniStartInsideItem::ItemType() const Line | Count | Source | 573 | 29 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniStopInsideItem::ItemType() const Line | Count | Source | 573 | 29 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniDelayItem::ItemType() const Line | Count | Source | 573 | 143k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrCircKindItem::ItemType() const Line | Count | Source | 573 | 13.8k | 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 | 573 | 2.69k | 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 | 573 | 4.49k | 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 | 573 | 968k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatHoriOrient::ItemType() const Line | Count | Source | 573 | 456k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatDrop::ItemType() const Line | Count | Source | 573 | 1.90k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwRegisterItem::ItemType() const Line | Count | Source | 573 | 25.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwNumRuleItem::ItemType() const Line | Count | Source | 573 | 700k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwParaConnectBorderItem::ItemType() const Line | Count | Source | 573 | 8.53k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwMsgPoolItem::ItemType() const Unexecuted instantiation: SwTOXMark::ItemType() const SwFormatContent::ItemType() const Line | Count | Source | 573 | 303k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatEditInReadonly::ItemType() const Line | Count | Source | 573 | 109k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatAutoFormat::ItemType() const Line | Count | Source | 573 | 2.78M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatINetFormat::ItemType() const Line | Count | Source | 573 | 11.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatRefMark::ItemType() const SwFormatRuby::ItemType() const Line | Count | Source | 573 | 378 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatField::ItemType() const 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 | 573 | 278 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatURL::ItemType() const Line | Count | Source | 573 | 24.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatPageDesc::ItemType() const Line | Count | Source | 573 | 69.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatHeader::ItemType() const Line | Count | Source | 573 | 324k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFooter::ItemType() const Line | Count | Source | 573 | 221k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatAnchor::ItemType() const Line | Count | Source | 573 | 1.19M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFrameSize::ItemType() const Line | Count | Source | 573 | 3.54M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatSurround::ItemType() const Line | Count | Source | 573 | 225k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFillOrder::ItemType() const Line | Count | Source | 573 | 224k | 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 | 573 | 26 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwCropGrf::ItemType() const Line | Count | Source | 573 | 166k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwRotationGrf::ItemType() const Line | Count | Source | 573 | 79.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwLuminanceGrf::ItemType() const Line | Count | Source | 573 | 1.07k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwContrastGrf::ItemType() const Line | Count | Source | 573 | 1.07k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelRGrf::ItemType() const Line | Count | Source | 573 | 26 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelGGrf::ItemType() const Line | Count | Source | 573 | 26 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelBGrf::ItemType() const Line | Count | Source | 573 | 26 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwGammaGrf::ItemType() const Line | Count | Source | 573 | 43 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwInvertGrf::ItemType() const Line | Count | Source | 573 | 50 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTransparencyGrf::ItemType() const Line | Count | Source | 573 | 26 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwDrawModeGrf::ItemType() const Line | Count | Source | 573 | 79 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatChain::ItemType() const Line | Count | Source | 573 | 110 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFlySplit::ItemType() const Line | Count | Source | 573 | 1.34k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTableBoxNumFormat::ItemType() const Line | Count | Source | 573 | 106k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwTableBoxFormula::ItemType() const SwTableBoxValue::ItemType() const Line | Count | Source | 573 | 41.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatLineNumber::ItemType() const Line | Count | Source | 573 | 434k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFootnoteAtTextEnd::ItemType() const Line | Count | Source | 573 | 2.34k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatEndAtTextEnd::ItemType() const Line | Count | Source | 573 | 10.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatLayoutSplit::ItemType() const Line | Count | Source | 573 | 347 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatRowSplit::ItemType() const Line | Count | Source | 573 | 48.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFollowTextFlow::ItemType() const Line | Count | Source | 573 | 87.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatCol::ItemType() const Line | Count | Source | 573 | 22.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxWatermarkItem::ItemType() const SwHeaderAndFooterEatSpacingItem::ItemType() const Line | Count | Source | 573 | 76.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatNoBalancedColumns::ItemType() const Line | Count | Source | 573 | 9.92k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTextGridItem::ItemType() const Line | Count | Source | 573 | 1.03M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatWrapTextAtFlyStart::ItemType() const SwFormatWrapInfluenceOnObjPos::ItemType() const Line | Count | Source | 573 | 42.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwCondCollItem::ItemType() const SwPageFootnoteInfoItem::ItemType() const Line | Count | Source | 573 | 48.3k | 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 | 573 | 600 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxLockBytesItem::ItemType() const |
574 | | |
575 | | class SVL_DLLPUBLIC SfxPoolItem |
576 | | { |
577 | | friend class SfxItemPool; |
578 | | friend class SfxItemSet; |
579 | | friend class InstanceManagerHelper; |
580 | | friend class ItemInfoStatic; |
581 | | friend class ItemInfoDynamic; |
582 | | |
583 | | // allow ItemSetTooling to access |
584 | | friend SfxPoolItem const* implCreateItemEntry(const SfxItemPool&, SfxPoolItem const*, bool); |
585 | | friend void implCleanupItemEntry(SfxPoolItem const*); |
586 | | |
587 | | mutable sal_uInt32 m_nRefCount; |
588 | | sal_uInt16 m_nWhich; |
589 | | |
590 | | #ifdef DBG_UTIL |
591 | | // for debugging add a serial number, will be set in the constructor |
592 | | // and count up from zero. If you have a deterministic error case and |
593 | | // see the Item involved in the debugger you can use that number in |
594 | | // the next run to see where that Item gets constructed and how it is |
595 | | // involved/ processed |
596 | | sal_uInt32 m_nSerialNumber; |
597 | | #endif |
598 | | |
599 | | // bitfield for Item attributes that are Item-Dependent |
600 | | |
601 | | // Item is registered at some Pool as default. |
602 | | // m_bStaticDefault: direct Pool Item (CAUTION: |
603 | | // these are not really 'static', but should be) |
604 | | // m_bDynamicDefault: dynamic pool item, e.g. |
605 | | // SfxSetItems which are Pool dependent |
606 | | bool m_bStaticDefault : 1; |
607 | | bool m_bDynamicDefault : 1; |
608 | | |
609 | | // Item is derived from SfxSetItem -> is Pool-dependent |
610 | | bool m_bIsSetItem : 1; |
611 | | |
612 | | // Defines if the Item can be shared/RefCounted else it will be cloned. |
613 | | // Default is true - as it should be for all Items. It is needed by some |
614 | | // SW items, so protected to let them set it in constructor. If this could |
615 | | // be fixed at that Items we may remove this again. |
616 | | bool m_bShareable : 1; |
617 | | |
618 | | // for speedup/buffering we need to identify NameOrIndex |
619 | | // Items quickly |
620 | | bool m_bNameOrIndex : 1; |
621 | | |
622 | | protected: |
623 | | #ifdef DBG_UTIL |
624 | | // this flag will make debugging item stuff much simpler |
625 | | bool m_bDeleted : 1; |
626 | | #endif |
627 | | |
628 | 8.96k | void setStaticDefault() { m_bStaticDefault = true; } |
629 | 1.27M | void setDynamicDefault() { m_bDynamicDefault = true; } |
630 | 1.74M | void setIsSetItem() { m_bIsSetItem = true; } |
631 | 12.8M | void setNonShareable() { m_bShareable = false; } |
632 | 3.42M | void setNameOrIndex() { m_bNameOrIndex = true; } |
633 | | |
634 | | // access ItemInstanceManager for this Item, default |
635 | | // is nullptr. If you overload this it is expected that |
636 | | // you return a ptr to a static, Item-local managed |
637 | | // instance that exists the whole office lifetime. This |
638 | | // usually means to have a static instance directly in the |
639 | | // implementation of the overloaded function (just grep |
640 | | // for examples) |
641 | | virtual ItemInstanceManager* getItemInstanceManager() const; |
642 | | |
643 | | public: |
644 | | inline void AddRef(sal_uInt32 n = 1) const |
645 | 732M | { |
646 | 732M | assert(n <= SFX_ITEMS_MAXREF - m_nRefCount && "AddRef: refcount overflow"); |
647 | 732M | m_nRefCount += n; |
648 | 732M | } |
649 | | |
650 | | #ifdef DBG_UTIL |
651 | | sal_uInt32 getSerialNumber() const { return m_nSerialNumber; } |
652 | | #endif |
653 | | |
654 | 1.68G | bool isStaticDefault() const { return m_bStaticDefault; } |
655 | 1.58G | bool isDynamicDefault() const { return m_bDynamicDefault; } |
656 | 597M | bool isSetItem() const { return m_bIsSetItem; } |
657 | 875M | bool isShareable() const { return m_bShareable; } |
658 | 93.2M | bool isNameOrIndex() const { return m_bNameOrIndex; } |
659 | 0 | bool isPooled() const { return GetRefCount() > 0; } |
660 | | |
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 | 732M | { |
671 | 732M | assert(n <= m_nRefCount); |
672 | 732M | m_nRefCount -= n; |
673 | 732M | return m_nRefCount; |
674 | 732M | } |
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 | 109M | SfxPoolItem(const SfxPoolItem& rCopy) : SfxPoolItem(rCopy.m_nWhich) {} |
682 | | |
683 | | public: |
684 | | virtual ~SfxPoolItem(); |
685 | | |
686 | | void SetWhich( sal_uInt16 nId ) |
687 | 37.2M | { |
688 | | // can only change the Which before we are in a set |
689 | 37.2M | assert(m_nRefCount==0); |
690 | 37.2M | m_nWhich = nId; |
691 | 37.2M | } |
692 | 14.8G | 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 | 410k | { |
699 | 410k | (void)nId; |
700 | 410k | assert(nId == m_nWhich); |
701 | 410k | assert(dynamic_cast<T*>(this)); |
702 | 410k | return *static_cast<T*>(this); |
703 | 410k | } SvxFontHeightItem& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) Line | Count | Source | 698 | 90.2k | { | 699 | 90.2k | (void)nId; | 700 | 90.2k | assert(nId == m_nWhich); | 701 | | assert(dynamic_cast<T*>(this)); | 702 | 90.2k | return *static_cast<T*>(this); | 703 | 90.2k | } |
SwFormatHeader& SfxPoolItem::StaticWhichCast<SwFormatHeader>(TypedWhichId<SwFormatHeader>) Line | Count | Source | 698 | 167k | { | 699 | 167k | (void)nId; | 700 | 167k | assert(nId == m_nWhich); | 701 | | assert(dynamic_cast<T*>(this)); | 702 | 167k | return *static_cast<T*>(this); | 703 | 167k | } |
SwFormatFooter& SfxPoolItem::StaticWhichCast<SwFormatFooter>(TypedWhichId<SwFormatFooter>) Line | Count | Source | 698 | 152k | { | 699 | 152k | (void)nId; | 700 | 152k | assert(nId == m_nWhich); | 701 | | assert(dynamic_cast<T*>(this)); | 702 | 152k | return *static_cast<T*>(this); | 703 | 152k | } |
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 | 38.8M | { |
706 | 38.8M | (void)nId; |
707 | 38.8M | assert(nId == m_nWhich); |
708 | 38.8M | assert(dynamic_cast<const T*>(this)); |
709 | 38.8M | return *static_cast<const T*>(this); |
710 | 38.8M | } ScMergeFlagAttr const& SfxPoolItem::StaticWhichCast<ScMergeFlagAttr>(TypedWhichId<ScMergeFlagAttr>) const Line | Count | Source | 705 | 389 | { | 706 | 389 | (void)nId; | 707 | 389 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 389 | return *static_cast<const T*>(this); | 710 | 389 | } |
SfxUInt32Item const& SfxPoolItem::StaticWhichCast<SfxUInt32Item>(TypedWhichId<SfxUInt32Item>) const Line | Count | Source | 705 | 162k | { | 706 | 162k | (void)nId; | 707 | 162k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 162k | return *static_cast<const T*>(this); | 710 | 162k | } |
SvxBoxItem const& SfxPoolItem::StaticWhichCast<SvxBoxItem>(TypedWhichId<SvxBoxItem>) const Line | Count | Source | 705 | 158k | { | 706 | 158k | (void)nId; | 707 | 158k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 158k | return *static_cast<const T*>(this); | 710 | 158k | } |
ScLineBreakCell const& SfxPoolItem::StaticWhichCast<ScLineBreakCell>(TypedWhichId<ScLineBreakCell>) const Line | Count | Source | 705 | 1.17k | { | 706 | 1.17k | (void)nId; | 707 | 1.17k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 1.17k | return *static_cast<const T*>(this); | 710 | 1.17k | } |
SvxFieldItem const& SfxPoolItem::StaticWhichCast<SvxFieldItem>(TypedWhichId<SvxFieldItem>) const Line | Count | Source | 705 | 145 | { | 706 | 145 | (void)nId; | 707 | 145 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 145 | return *static_cast<const T*>(this); | 710 | 145 | } |
ScMergeAttr const& SfxPoolItem::StaticWhichCast<ScMergeAttr>(TypedWhichId<ScMergeAttr>) const Line | Count | Source | 705 | 21.0k | { | 706 | 21.0k | (void)nId; | 707 | 21.0k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 21.0k | return *static_cast<const T*>(this); | 710 | 21.0k | } |
SvxEscapementItem const& SfxPoolItem::StaticWhichCast<SvxEscapementItem>(TypedWhichId<SvxEscapementItem>) const Line | Count | Source | 705 | 863k | { | 706 | 863k | (void)nId; | 707 | 863k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 863k | return *static_cast<const T*>(this); | 710 | 863k | } |
SvxAdjustItem const& SfxPoolItem::StaticWhichCast<SvxAdjustItem>(TypedWhichId<SvxAdjustItem>) const Line | Count | Source | 705 | 744k | { | 706 | 744k | (void)nId; | 707 | 744k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 744k | return *static_cast<const T*>(this); | 710 | 744k | } |
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 | 444k | { | 706 | 444k | (void)nId; | 707 | 444k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 444k | return *static_cast<const T*>(this); | 710 | 444k | } |
SvxPostureItem const& SfxPoolItem::StaticWhichCast<SvxPostureItem>(TypedWhichId<SvxPostureItem>) const Line | Count | Source | 705 | 2.67M | { | 706 | 2.67M | (void)nId; | 707 | 2.67M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 2.67M | return *static_cast<const T*>(this); | 710 | 2.67M | } |
SvxUnderlineItem const& SfxPoolItem::StaticWhichCast<SvxUnderlineItem>(TypedWhichId<SvxUnderlineItem>) const Line | Count | Source | 705 | 898k | { | 706 | 898k | (void)nId; | 707 | 898k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 898k | return *static_cast<const T*>(this); | 710 | 898k | } |
SvxOverlineItem const& SfxPoolItem::StaticWhichCast<SvxOverlineItem>(TypedWhichId<SvxOverlineItem>) const Line | Count | Source | 705 | 894k | { | 706 | 894k | (void)nId; | 707 | 894k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 894k | return *static_cast<const T*>(this); | 710 | 894k | } |
SvxWordLineModeItem const& SfxPoolItem::StaticWhichCast<SvxWordLineModeItem>(TypedWhichId<SvxWordLineModeItem>) const Line | Count | Source | 705 | 895k | { | 706 | 895k | (void)nId; | 707 | 895k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 895k | return *static_cast<const T*>(this); | 710 | 895k | } |
SvxCrossedOutItem const& SfxPoolItem::StaticWhichCast<SvxCrossedOutItem>(TypedWhichId<SvxCrossedOutItem>) const Line | Count | Source | 705 | 895k | { | 706 | 895k | (void)nId; | 707 | 895k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 895k | return *static_cast<const T*>(this); | 710 | 895k | } |
SvxContourItem const& SfxPoolItem::StaticWhichCast<SvxContourItem>(TypedWhichId<SvxContourItem>) const Line | Count | Source | 705 | 895k | { | 706 | 895k | (void)nId; | 707 | 895k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 895k | return *static_cast<const T*>(this); | 710 | 895k | } |
SvxShadowedItem const& SfxPoolItem::StaticWhichCast<SvxShadowedItem>(TypedWhichId<SvxShadowedItem>) const Line | Count | Source | 705 | 896k | { | 706 | 896k | (void)nId; | 707 | 896k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 896k | return *static_cast<const T*>(this); | 710 | 896k | } |
SvxEmphasisMarkItem const& SfxPoolItem::StaticWhichCast<SvxEmphasisMarkItem>(TypedWhichId<SvxEmphasisMarkItem>) const Line | Count | Source | 705 | 895k | { | 706 | 895k | (void)nId; | 707 | 895k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 895k | return *static_cast<const T*>(this); | 710 | 895k | } |
SvxCharReliefItem const& SfxPoolItem::StaticWhichCast<SvxCharReliefItem>(TypedWhichId<SvxCharReliefItem>) const Line | Count | Source | 705 | 895k | { | 706 | 895k | (void)nId; | 707 | 895k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 895k | return *static_cast<const T*>(this); | 710 | 895k | } |
SvxLanguageItem const& SfxPoolItem::StaticWhichCast<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>) const Line | Count | Source | 705 | 2.68M | { | 706 | 2.68M | (void)nId; | 707 | 2.68M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 2.68M | return *static_cast<const T*>(this); | 710 | 2.68M | } |
SvxFontItem const& SfxPoolItem::StaticWhichCast<SvxFontItem>(TypedWhichId<SvxFontItem>) const Line | Count | Source | 705 | 6.19M | { | 706 | 6.19M | (void)nId; | 707 | 6.19M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 6.19M | return *static_cast<const T*>(this); | 710 | 6.19M | } |
SvxFontHeightItem const& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const Line | Count | Source | 705 | 3.74M | { | 706 | 3.74M | (void)nId; | 707 | 3.74M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 3.74M | return *static_cast<const T*>(this); | 710 | 3.74M | } |
SvxWeightItem const& SfxPoolItem::StaticWhichCast<SvxWeightItem>(TypedWhichId<SvxWeightItem>) const Line | Count | Source | 705 | 2.67M | { | 706 | 2.67M | (void)nId; | 707 | 2.67M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 2.67M | return *static_cast<const T*>(this); | 710 | 2.67M | } |
SvxColorItem const& SfxPoolItem::StaticWhichCast<SvxColorItem>(TypedWhichId<SvxColorItem>) const Line | Count | Source | 705 | 899k | { | 706 | 899k | (void)nId; | 707 | 899k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 899k | return *static_cast<const T*>(this); | 710 | 899k | } |
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 | 10.3k | { | 706 | 10.3k | (void)nId; | 707 | 10.3k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 10.3k | return *static_cast<const T*>(this); | 710 | 10.3k | } |
SvxBrushItem const& SfxPoolItem::StaticWhichCast<SvxBrushItem>(TypedWhichId<SvxBrushItem>) const Line | Count | Source | 705 | 60.2k | { | 706 | 60.2k | (void)nId; | 707 | 60.2k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 60.2k | return *static_cast<const T*>(this); | 710 | 60.2k | } |
SvxLineItem const& SfxPoolItem::StaticWhichCast<SvxLineItem>(TypedWhichId<SvxLineItem>) const Line | Count | Source | 705 | 638 | { | 706 | 638 | (void)nId; | 707 | 638 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 638 | return *static_cast<const T*>(this); | 710 | 638 | } |
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 | 64.1k | { | 706 | 64.1k | (void)nId; | 707 | 64.1k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 64.1k | return *static_cast<const T*>(this); | 710 | 64.1k | } |
SfxUInt16Item const& SfxPoolItem::StaticWhichCast<SfxUInt16Item>(TypedWhichId<SfxUInt16Item>) const Line | Count | Source | 705 | 252k | { | 706 | 252k | (void)nId; | 707 | 252k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 252k | return *static_cast<const T*>(this); | 710 | 252k | } |
Unexecuted instantiation: ScPageScaleToItem const& SfxPoolItem::StaticWhichCast<ScPageScaleToItem>(TypedWhichId<ScPageScaleToItem>) const SvxBoxInfoItem const& SfxPoolItem::StaticWhichCast<SvxBoxInfoItem>(TypedWhichId<SvxBoxInfoItem>) const Line | Count | Source | 705 | 12.8k | { | 706 | 12.8k | (void)nId; | 707 | 12.8k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 12.8k | return *static_cast<const T*>(this); | 710 | 12.8k | } |
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.53M | { | 706 | 1.53M | (void)nId; | 707 | 1.53M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 1.53M | return *static_cast<const T*>(this); | 710 | 1.53M | } |
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.74M | { | 706 | 1.74M | (void)nId; | 707 | 1.74M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 1.74M | return *static_cast<const T*>(this); | 710 | 1.74M | } |
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: 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 | 29.7k | { | 706 | 29.7k | (void)nId; | 707 | 29.7k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 29.7k | return *static_cast<const T*>(this); | 710 | 29.7k | } |
XLineDashItem const& SfxPoolItem::StaticWhichCast<XLineDashItem>(TypedWhichId<XLineDashItem>) const Line | Count | Source | 705 | 480 | { | 706 | 480 | (void)nId; | 707 | 480 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 480 | return *static_cast<const T*>(this); | 710 | 480 | } |
XLineStartItem const& SfxPoolItem::StaticWhichCast<XLineStartItem>(TypedWhichId<XLineStartItem>) const Line | Count | Source | 705 | 3.01k | { | 706 | 3.01k | (void)nId; | 707 | 3.01k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 3.01k | return *static_cast<const T*>(this); | 710 | 3.01k | } |
XLineEndItem const& SfxPoolItem::StaticWhichCast<XLineEndItem>(TypedWhichId<XLineEndItem>) const Line | Count | Source | 705 | 2.93k | { | 706 | 2.93k | (void)nId; | 707 | 2.93k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 2.93k | return *static_cast<const T*>(this); | 710 | 2.93k | } |
XFillGradientItem const& SfxPoolItem::StaticWhichCast<XFillGradientItem>(TypedWhichId<XFillGradientItem>) const Line | Count | Source | 705 | 26.7k | { | 706 | 26.7k | (void)nId; | 707 | 26.7k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 26.7k | return *static_cast<const T*>(this); | 710 | 26.7k | } |
XFillFloatTransparenceItem const& SfxPoolItem::StaticWhichCast<XFillFloatTransparenceItem>(TypedWhichId<XFillFloatTransparenceItem>) const Line | Count | Source | 705 | 25.4k | { | 706 | 25.4k | (void)nId; | 707 | 25.4k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 25.4k | return *static_cast<const T*>(this); | 710 | 25.4k | } |
XFillHatchItem const& SfxPoolItem::StaticWhichCast<XFillHatchItem>(TypedWhichId<XFillHatchItem>) const Line | Count | Source | 705 | 26.2k | { | 706 | 26.2k | (void)nId; | 707 | 26.2k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 26.2k | return *static_cast<const T*>(this); | 710 | 26.2k | } |
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 | 408 | { | 706 | 408 | (void)nId; | 707 | 408 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 408 | return *static_cast<const T*>(this); | 710 | 408 | } |
XFillColorItem const& SfxPoolItem::StaticWhichCast<XFillColorItem>(TypedWhichId<XFillColorItem>) const Line | Count | Source | 705 | 223 | { | 706 | 223 | (void)nId; | 707 | 223 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 223 | return *static_cast<const T*>(this); | 710 | 223 | } |
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 | 259 | { | 706 | 259 | (void)nId; | 707 | 259 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 259 | return *static_cast<const T*>(this); | 710 | 259 | } |
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 | 6 | { | 706 | 6 | (void)nId; | 707 | 6 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 6 | return *static_cast<const T*>(this); | 710 | 6 | } |
Unexecuted instantiation: SdrMetricItem const& SfxPoolItem::StaticWhichCast<SdrMetricItem>(TypedWhichId<SdrMetricItem>) 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 | 177 | { | 706 | 177 | (void)nId; | 707 | 177 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 177 | return *static_cast<const T*>(this); | 710 | 177 | } |
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: 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 | 74.6k | { | 706 | 74.6k | (void)nId; | 707 | 74.6k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 74.6k | return *static_cast<const T*>(this); | 710 | 74.6k | } |
SwNumRuleItem const& SfxPoolItem::StaticWhichCast<SwNumRuleItem>(TypedWhichId<SwNumRuleItem>) const Line | Count | Source | 705 | 2.39M | { | 706 | 2.39M | (void)nId; | 707 | 2.39M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 2.39M | return *static_cast<const T*>(this); | 710 | 2.39M | } |
SvxFormatBreakItem const& SfxPoolItem::StaticWhichCast<SvxFormatBreakItem>(TypedWhichId<SvxFormatBreakItem>) const Line | Count | Source | 705 | 57.9k | { | 706 | 57.9k | (void)nId; | 707 | 57.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 57.9k | return *static_cast<const T*>(this); | 710 | 57.9k | } |
SwFormatPageDesc const& SfxPoolItem::StaticWhichCast<SwFormatPageDesc>(TypedWhichId<SwFormatPageDesc>) const Line | Count | Source | 705 | 292k | { | 706 | 292k | (void)nId; | 707 | 292k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 292k | return *static_cast<const T*>(this); | 710 | 292k | } |
SwFormatContent const& SfxPoolItem::StaticWhichCast<SwFormatContent>(TypedWhichId<SwFormatContent>) const Line | Count | Source | 705 | 76.8k | { | 706 | 76.8k | (void)nId; | 707 | 76.8k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 76.8k | return *static_cast<const T*>(this); | 710 | 76.8k | } |
SwFormatAnchor const& SfxPoolItem::StaticWhichCast<SwFormatAnchor>(TypedWhichId<SwFormatAnchor>) const Line | Count | Source | 705 | 484k | { | 706 | 484k | (void)nId; | 707 | 484k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 484k | return *static_cast<const T*>(this); | 710 | 484k | } |
SvxFirstLineIndentItem const& SfxPoolItem::StaticWhichCast<SvxFirstLineIndentItem>(TypedWhichId<SvxFirstLineIndentItem>) const Line | Count | Source | 705 | 14.9k | { | 706 | 14.9k | (void)nId; | 707 | 14.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 14.9k | return *static_cast<const T*>(this); | 710 | 14.9k | } |
SvxTextLeftMarginItem const& SfxPoolItem::StaticWhichCast<SvxTextLeftMarginItem>(TypedWhichId<SvxTextLeftMarginItem>) const Line | Count | Source | 705 | 68.9k | { | 706 | 68.9k | (void)nId; | 707 | 68.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 68.9k | return *static_cast<const T*>(this); | 710 | 68.9k | } |
SvxRightMarginItem const& SfxPoolItem::StaticWhichCast<SvxRightMarginItem>(TypedWhichId<SvxRightMarginItem>) const Line | Count | Source | 705 | 40.9k | { | 706 | 40.9k | (void)nId; | 707 | 40.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 40.9k | return *static_cast<const T*>(this); | 710 | 40.9k | } |
SvxULSpaceItem const& SfxPoolItem::StaticWhichCast<SvxULSpaceItem>(TypedWhichId<SvxULSpaceItem>) const Line | Count | Source | 705 | 205k | { | 706 | 205k | (void)nId; | 707 | 205k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 205k | return *static_cast<const T*>(this); | 710 | 205k | } |
SwTableBoxNumFormat const& SfxPoolItem::StaticWhichCast<SwTableBoxNumFormat>(TypedWhichId<SwTableBoxNumFormat>) const Line | Count | Source | 705 | 55.5k | { | 706 | 55.5k | (void)nId; | 707 | 55.5k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 55.5k | return *static_cast<const T*>(this); | 710 | 55.5k | } |
Unexecuted instantiation: SwFormatVertOrient const& SfxPoolItem::StaticWhichCast<SwFormatVertOrient>(TypedWhichId<SwFormatVertOrient>) const SwFormatHoriOrient const& SfxPoolItem::StaticWhichCast<SwFormatHoriOrient>(TypedWhichId<SwFormatHoriOrient>) const Line | Count | Source | 705 | 51 | { | 706 | 51 | (void)nId; | 707 | 51 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 51 | return *static_cast<const T*>(this); | 710 | 51 | } |
SwFormatAutoFormat const& SfxPoolItem::StaticWhichCast<SwFormatAutoFormat>(TypedWhichId<SwFormatAutoFormat>) const Line | Count | Source | 705 | 1.75M | { | 706 | 1.75M | (void)nId; | 707 | 1.75M | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 1.75M | return *static_cast<const T*>(this); | 710 | 1.75M | } |
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 | 69.1k | { | 706 | 69.1k | (void)nId; | 707 | 69.1k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 69.1k | return *static_cast<const T*>(this); | 710 | 69.1k | } |
SwTableBoxFormula const& SfxPoolItem::StaticWhichCast<SwTableBoxFormula>(TypedWhichId<SwTableBoxFormula>) const Line | Count | Source | 705 | 801 | { | 706 | 801 | (void)nId; | 707 | 801 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 801 | return *static_cast<const T*>(this); | 710 | 801 | } |
SwTableBoxValue const& SfxPoolItem::StaticWhichCast<SwTableBoxValue>(TypedWhichId<SwTableBoxValue>) const Line | Count | Source | 705 | 31.6k | { | 706 | 31.6k | (void)nId; | 707 | 31.6k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 31.6k | return *static_cast<const T*>(this); | 710 | 31.6k | } |
SwFormatINetFormat const& SfxPoolItem::StaticWhichCast<SwFormatINetFormat>(TypedWhichId<SwFormatINetFormat>) const Line | Count | Source | 705 | 22.9k | { | 706 | 22.9k | (void)nId; | 707 | 22.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 22.9k | return *static_cast<const T*>(this); | 710 | 22.9k | } |
SvxTwoLinesItem const& SfxPoolItem::StaticWhichCast<SvxTwoLinesItem>(TypedWhichId<SvxTwoLinesItem>) const Line | Count | Source | 705 | 8.35k | { | 706 | 8.35k | (void)nId; | 707 | 8.35k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 8.35k | return *static_cast<const T*>(this); | 710 | 8.35k | } |
SvxCharRotateItem const& SfxPoolItem::StaticWhichCast<SvxCharRotateItem>(TypedWhichId<SvxCharRotateItem>) const Line | Count | Source | 705 | 8.35k | { | 706 | 8.35k | (void)nId; | 707 | 8.35k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 8.35k | return *static_cast<const T*>(this); | 710 | 8.35k | } |
SvxCaseMapItem const& SfxPoolItem::StaticWhichCast<SvxCaseMapItem>(TypedWhichId<SvxCaseMapItem>) const Line | Count | Source | 705 | 18 | { | 706 | 18 | (void)nId; | 707 | 18 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 18 | return *static_cast<const T*>(this); | 710 | 18 | } |
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 | 988 | { | 706 | 988 | (void)nId; | 707 | 988 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 988 | return *static_cast<const T*>(this); | 710 | 988 | } |
Unexecuted instantiation: SvxNoHyphenItem const& SfxPoolItem::StaticWhichCast<SvxNoHyphenItem>(TypedWhichId<SvxNoHyphenItem>) const SvxAutoKernItem const& SfxPoolItem::StaticWhichCast<SvxAutoKernItem>(TypedWhichId<SvxAutoKernItem>) const Line | Count | Source | 705 | 266 | { | 706 | 266 | (void)nId; | 707 | 266 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 266 | return *static_cast<const T*>(this); | 710 | 266 | } |
Unexecuted instantiation: SvxCharScaleWidthItem const& SfxPoolItem::StaticWhichCast<SvxCharScaleWidthItem>(TypedWhichId<SvxCharScaleWidthItem>) 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 | 48.4k | { | 706 | 48.4k | (void)nId; | 707 | 48.4k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 48.4k | return *static_cast<const T*>(this); | 710 | 48.4k | } |
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 | 109k | { | 706 | 109k | (void)nId; | 707 | 109k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 109k | return *static_cast<const T*>(this); | 710 | 109k | } |
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 | 96.9k | { | 706 | 96.9k | (void)nId; | 707 | 96.9k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 96.9k | return *static_cast<const T*>(this); | 710 | 96.9k | } |
Unexecuted instantiation: SvxPageModelItem const& SfxPoolItem::StaticWhichCast<SvxPageModelItem>(TypedWhichId<SvxPageModelItem>) const SvxLRSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLRSpaceItem>(TypedWhichId<SvxLRSpaceItem>) const Line | Count | Source | 705 | 1.82k | { | 706 | 1.82k | (void)nId; | 707 | 1.82k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 1.82k | return *static_cast<const T*>(this); | 710 | 1.82k | } |
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 | 22 | { | 706 | 22 | (void)nId; | 707 | 22 | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 22 | return *static_cast<const T*>(this); | 710 | 22 | } |
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 | 21.3k | { | 706 | 21.3k | (void)nId; | 707 | 21.3k | assert(nId == m_nWhich); | 708 | | assert(dynamic_cast<const T*>(this)); | 709 | 21.3k | return *static_cast<const T*>(this); | 710 | 21.3k | } |
Unexecuted instantiation: XColorItem const& SfxPoolItem::StaticWhichCast<XColorItem>(TypedWhichId<XColorItem>) 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 | 25.6M | { 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( tools::Long lMult, tools::Long lDiv ); |
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 | 90.2k | { |
753 | 90.2k | return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId)); |
754 | 90.2k | } std::__1::unique_ptr<SvxFontHeightItem, std::__1::default_delete<SvxFontHeightItem> > SfxPoolItem::CloneSetWhich<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const Line | Count | Source | 752 | 90.2k | { | 753 | 90.2k | return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId)); | 754 | 90.2k | } |
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.46G | 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 | 721 | : m_aSfxItemType(aSfxItemType) |
777 | 721 | { |
778 | 721 | } |
779 | 296 | virtual ~ItemInstanceManager() = default; |
780 | | |
781 | 68.4M | 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 | 355 | : ItemInstanceManager(aSfxItemType) |
806 | 355 | , maRegistered() |
807 | 355 | { |
808 | 355 | } |
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 | 69.5M | { |
826 | 69.5M | return p->hashCode(); |
827 | 69.5M | } |
828 | | }; |
829 | | struct ItemEqual { |
830 | | bool operator()(const SfxPoolItem* lhs, const SfxPoolItem* rhs) const |
831 | 88.1M | { |
832 | 88.1M | return lhs->Which() == rhs->Which() && (*lhs) == (*rhs); |
833 | 88.1M | } |
834 | | }; |
835 | | |
836 | | std::unordered_set<const SfxPoolItem*, ItemHash, ItemEqual> maRegistered; |
837 | | |
838 | | public: |
839 | | HashedItemInstanceManager(SfxItemType aSfxItemType) |
840 | 341 | : ItemInstanceManager(aSfxItemType) |
841 | 341 | , maRegistered(0, ItemHash(), ItemEqual()) |
842 | 341 | { |
843 | 341 | } |
844 | | |
845 | | // standard interface, accessed exclusively |
846 | | // by implCreateItemEntry/implCleanupItemEntry |
847 | | virtual const SfxPoolItem* find(const SfxPoolItem& rItem) const override final |
848 | 54.3M | { |
849 | 54.3M | auto aHit(maRegistered.find(&rItem)); |
850 | 54.3M | if (aHit != maRegistered.end()) |
851 | 46.0M | return *aHit; |
852 | 8.22M | return nullptr; |
853 | 54.3M | } |
854 | | virtual void add(const SfxPoolItem& rItem) override final |
855 | 8.22M | { |
856 | 8.22M | maRegistered.insert(&rItem); |
857 | 8.22M | } |
858 | | virtual void remove(const SfxPoolItem& rItem) override final |
859 | 8.23M | { |
860 | 8.23M | maRegistered.erase(&rItem); |
861 | 8.23M | } |
862 | | }; |
863 | | |
864 | | |
865 | | inline bool IsStaticDefaultItem(const SfxPoolItem *pItem ) |
866 | 2.90k | { |
867 | 2.90k | return pItem && pItem->isStaticDefault(); |
868 | 2.90k | } |
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.02G | { |
885 | 3.02G | return pItem == INVALID_POOL_ITEM; |
886 | 3.02G | } |
887 | | |
888 | | inline bool IsDisabledItem(const SfxPoolItem *pItem) |
889 | 3.01G | { |
890 | 3.01G | return pItem == DISABLED_POOL_ITEM; |
891 | 3.01G | } |
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 | 1.03M | 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: */ |