/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 | 68.7M | #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 | 480k | { |
45 | 480k | bool bValue = false; |
46 | 480k | 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 | 480k | return bValue; |
54 | 480k | } |
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 | 57.0M | 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 | | SdrGrafClipPolyPolygonItemType, |
193 | | SdrGrafContrastItemType, |
194 | | SdrGrafCropItemType, |
195 | | SdrGrafGamma100ItemType, |
196 | | SdrGrafGreenItemType, |
197 | | SdrGrafInvertItemType, |
198 | | SdrGrafLuminanceItemType, |
199 | | SdrGrafModeItemType, |
200 | | SdrGrafModeItem_BaseType, |
201 | | SdrGrafRedItemType, |
202 | | SdrGrafTransparenceItemType, |
203 | | SdrHorzShearAllItemType, |
204 | | SdrHorzShearOneItemType, |
205 | | SdrLayerIdItemType, |
206 | | SdrLayerNameItemType, |
207 | | SdrLogicSizeHeightItemType, |
208 | | SdrLogicSizeWidthItemType, |
209 | | SdrMeasureBelowRefEdgeItemType, |
210 | | SdrMeasureDecimalPlacesItemType, |
211 | | SdrMeasureKindItemType, |
212 | | SdrMeasureFormatStringItemType, |
213 | | SdrMeasureOverhangItemType, |
214 | | SdrMeasureScaleItemType, |
215 | | SdrMeasureTextAutoAngleItemType, |
216 | | SdrMeasureTextAutoAngleViewItemType, |
217 | | SdrMeasureTextFixedAngleItemType, |
218 | | SdrMeasureTextHPosItemType, |
219 | | SdrMeasureTextIsFixedAngleItemType, |
220 | | SdrMeasureTextRota90ItemType, |
221 | | SdrMeasureTextUpsideDownItemType, |
222 | | SdrMeasureTextVPosItemType, |
223 | | SdrMeasureUnitItemType, |
224 | | SdrMetricItemType, |
225 | | SdrMoveXItemType, |
226 | | SdrMoveYItemType, |
227 | | SdrObjPrintableItemType, |
228 | | SdrObjVisibleItemType, |
229 | | SdrOnePositionXItemType, |
230 | | SdrOnePositionYItemType, |
231 | | SdrOneSizeHeightItemType, |
232 | | SdrOneSizeWidthItemType, |
233 | | SdrOnOffItemType, |
234 | | SdrPercentItemType, |
235 | | SdrResizeXAllItemType, |
236 | | SdrResizeXOneItemType, |
237 | | SdrResizeYAllItemType, |
238 | | SdrResizeYOneItemType, |
239 | | SdrRotateAllItemType, |
240 | | SdrRotateOneItemType, |
241 | | SdrScaleItemType, |
242 | | SdrShearAngleItemType, |
243 | | SdrSignedPercentItemType, |
244 | | SdrTextAniAmountItemType, |
245 | | SdrTextAniCountItemType, |
246 | | SdrTextAniDelayItemType, |
247 | | SdrTextAniDirectionItemType, |
248 | | SdrTextAniKindItemType, |
249 | | SdrTextAniStartInsideItemType, |
250 | | SdrTextAniStopInsideItemType, |
251 | | SdrTextFitToSizeTypeItemType, |
252 | | SdrTextFixedCellHeightItemType, |
253 | | SdrTextHorzAdjustItemType, |
254 | | SdrTextVertAdjustItemType, |
255 | | SdrTransformRef1XItemType, |
256 | | SdrTransformRef1YItemType, |
257 | | SdrTransformRef2XItemType, |
258 | | SdrTransformRef2YItemType, |
259 | | SdrVertShearAllItemType, |
260 | | SdrVertShearOneItemType, |
261 | | SdrYesNoItemType, |
262 | | SfxBoolItemType, |
263 | | SfxByteItemType, |
264 | | SfxDocumentInfoItemType, |
265 | | SfxEnumItemInterfaceType, |
266 | | SfxEventNamesItemType, |
267 | | SfxFlagItemType, |
268 | | SfxFrameItemType, |
269 | | SfxGlobalNameItemType, |
270 | | SfxGrabBagItemType, |
271 | | SfxHyphenRegionItemType, |
272 | | SfxImageItemType, |
273 | | SfxInt16ItemType, |
274 | | SfxInt32ItemType, |
275 | | SfxInt64ItemType, |
276 | | SfxIntegerListItemType, |
277 | | SfxLinkItemType, |
278 | | SfxLockBytesItemType, |
279 | | SfxMacroInfoItemType, |
280 | | SfxObjectItemType, |
281 | | SfxObjectShellItemType, |
282 | | SfxPointItemType, |
283 | | SfxRangeItemType, |
284 | | SfxRectangleItemType, |
285 | | SfxScriptOrganizerItemType, |
286 | | SfxSetItemType, |
287 | | SfxStringItemType, |
288 | | SfxStringListItemType, |
289 | | SfxTabDialogItemType, |
290 | | SfxTemplateItemType, |
291 | | SfxUInt16ItemType, |
292 | | SfxUInt32ItemType, |
293 | | SfxUnoAnyItemType, |
294 | | SfxUnoFrameItemType, |
295 | | SfxViewFrameItemType, |
296 | | SfxVisibilityItemType, |
297 | | SfxVoidItemType, |
298 | | SfxWatermarkItemType, |
299 | | Svx3DCharacterModeItemType, |
300 | | Svx3DCloseBackItemType, |
301 | | Svx3DCloseFrontItemType, |
302 | | Svx3DNormalsKindItemType, |
303 | | Svx3DPerspectiveItemType, |
304 | | Svx3DReducedLineGeometryItemType, |
305 | | Svx3DShadeModeItemType, |
306 | | Svx3DSmoothLidsItemType, |
307 | | Svx3DSmoothNormalsItemType, |
308 | | Svx3DTextureKindItemType, |
309 | | Svx3DTextureModeItemType, |
310 | | Svx3DTextureProjectionXItemType, |
311 | | Svx3DTextureProjectionYItemType, |
312 | | SvxAdjustItemType, |
313 | | SvxAutoFrameDirectionItemType, |
314 | | SvxAutoKernItemType, |
315 | | SvxOpticalSizingItemType, |
316 | | SvxB3DVectorItemType, |
317 | | SvxBitmapListItemType, |
318 | | SvxBlinkItemType, |
319 | | SvxBoxInfoItemType, |
320 | | SvxBoxItemType, |
321 | | SvxBrushItemType, |
322 | | SvxBulletItemType, |
323 | | SvxCaseMapItemType, |
324 | | SvxCharHiddenItemType, |
325 | | SvxCharReliefItemType, |
326 | | SvxCharRotateItemType, |
327 | | SvxCharScaleWidthItemType, |
328 | | SvxChartColorPaletteItemType, |
329 | | SvxChartColorTableItemType, |
330 | | SvxChartIndicateItemType, |
331 | | SvxChartKindErrorItemType, |
332 | | SvxChartRegressItemType, |
333 | | SvxChartTextOrderItemType, |
334 | | SvxClipboardFormatItemType, |
335 | | SvxColorItemType, |
336 | | SvxColorListItemType, |
337 | | SvxColumnItemType, |
338 | | SvxContourItemType, |
339 | | SvxCrossedOutItemType, |
340 | | SvxDashListItemType, |
341 | | SvxDoubleItemType, |
342 | | SvxEmphasisMarkItemType, |
343 | | SvxEscapementItemType, |
344 | | SvxFieldItemType, |
345 | | SvxFirstLineIndentItemType, |
346 | | SvxFontHeightItemType, |
347 | | SvxFontItemType, |
348 | | SvxFontListItemType, |
349 | | SvxFontVariationsItemType, |
350 | | SvxForbiddenRuleItemType, |
351 | | SvxFormatBreakItemType, |
352 | | SvxFormatKeepItemType, |
353 | | SvxFormatSplitItemType, |
354 | | SvxFrameDirectionItemType, |
355 | | SvxGalleryItemType, |
356 | | SvxGradientListItemType, |
357 | | SvxGraphicItemType, |
358 | | SvxGrfCropType, |
359 | | SvxGridItemType, |
360 | | SvxGutterLeftMarginItemType, |
361 | | SvxGutterRightMarginItemType, |
362 | | SvxHangingPunctuationItemType, |
363 | | SvxHatchListItemType, |
364 | | SvxHorJustifyItemType, |
365 | | SvxHyperlinkItemType, |
366 | | SvxHyphenZoneItemType, |
367 | | SvxJustifyMethodItemType, |
368 | | SvxKerningItemType, |
369 | | SvxLanguageItemType, |
370 | | SvxLanguageItem_BaseType, |
371 | | SvxLeftMarginItemType, |
372 | | SvxLineEndListItemType, |
373 | | SvxLineItemType, |
374 | | SvxLineSpacingItemType, |
375 | | SvxLongLRSpaceItemType, |
376 | | SvxLongULSpaceItemType, |
377 | | SvxLRSpaceItemType, |
378 | | SvxMacroItemType, |
379 | | SvxMarginItemType, |
380 | | SvXMLAttrContainerItemType, |
381 | | SvxNoHyphenItemType, |
382 | | SvxNumberInfoItemType, |
383 | | SvxNumBulletItemType, |
384 | | SvxObjectItemType, |
385 | | SvxOpaqueItemType, |
386 | | SvxOrientationItemType, |
387 | | SvxOrphansItemType, |
388 | | SvxOverlineItemType, |
389 | | SvxPageItemType, |
390 | | SvxPageModelItemType, |
391 | | SvxPagePosSizeItemType, |
392 | | SvxPaperBinItemType, |
393 | | SvxParaGridItemType, |
394 | | SvxParaVertAlignItemType, |
395 | | SvxPatternListItemType, |
396 | | SvxPostItAuthorItemType, |
397 | | SvxPostItDateItemType, |
398 | | SvxPostItIdItemType, |
399 | | SvxPostItTextItemType, |
400 | | SvxPostureItemType, |
401 | | SvxPrintItemType, |
402 | | SvxProtectItemType, |
403 | | SvxRectangleAlignmentItemType, |
404 | | SvxRightMarginItemType, |
405 | | SvxRotateModeItemType, |
406 | | SvxRsidItemType, |
407 | | SvxRubyItemType, |
408 | | SvxScriptSetItemType, |
409 | | SvxScriptSpaceItemType, |
410 | | SvxSearchItemType, |
411 | | SvxSetItemType, |
412 | | SvxShadowedItemType, |
413 | | SvxShadowItemType, |
414 | | SvxSizeItemType, |
415 | | SvxSmartTagItemType, |
416 | | SvxStatusItemType, |
417 | | SvxTabStopItemType, |
418 | | SvxTextLeftMarginItemType, |
419 | | SvxTextLineItemType, |
420 | | SvxTextRotateItemType, |
421 | | SvxTwoLinesItemType, |
422 | | SvxULSpaceItemType, |
423 | | SvxUnderlineItemType, |
424 | | SvxVerJustifyItemType, |
425 | | SvxViewLayoutItemType, |
426 | | SvxWeightItemType, |
427 | | SvxWidowsItemType, |
428 | | SvxWordLineModeItemType, |
429 | | SvxWritingModeItemType, |
430 | | SvxZoomItemType, |
431 | | SvxZoomSliderItemType, |
432 | | SvxScriptHintItemType, |
433 | | SwAddPrinterItemType, |
434 | | SwChannelBGrfType, |
435 | | SwChannelGGrfType, |
436 | | SwChannelRGrfType, |
437 | | SwCondCollItemType, |
438 | | SwContrastGrfType, |
439 | | SwCropGrfType, |
440 | | SwDocDisplayItemType, |
441 | | SwDrawModeGrfType, |
442 | | SwElemItemType, |
443 | | SwEnvItemType, |
444 | | SwFltAnchorType, |
445 | | SwFltBookmarkType, |
446 | | SwFltRDFMarkType, |
447 | | SwFltRedlineType, |
448 | | SwFltTOXType, |
449 | | SwFmtAidsAutoComplItemType, |
450 | | SwFormatAnchorType, |
451 | | SwFormatAutoFormatType, |
452 | | SwFormatChainType, |
453 | | SwFormatCharFormatType, |
454 | | SwFormatColType, |
455 | | SwFormatContentType, |
456 | | SwFormatContentControlType, |
457 | | SwFormatDropType, |
458 | | SwFormatEditInReadonlyType, |
459 | | SwFormatEndAtTextEndType, |
460 | | SwFormatFieldType, |
461 | | SwFormatFillOrderType, |
462 | | SwFormatFlyCntType, |
463 | | SwFormatFlySplitType, |
464 | | SwFormatFollowTextFlowType, |
465 | | SwFormatFooterType, |
466 | | SwFormatFootnoteType, |
467 | | SwFormatFootnoteAtTextEndType, |
468 | | SwFormatFrameSizeType, |
469 | | SwFormatHeaderType, |
470 | | SwFormatHoriOrientType, |
471 | | SwFormatINetFormatType, |
472 | | SwFormatLayoutSplitType, |
473 | | SwFormatLineBreakType, |
474 | | SwFormatLineNumberType, |
475 | | SwFormatMetaType, |
476 | | SwFormatNoBalancedColumnsType, |
477 | | SwFormatPageDescType, |
478 | | SwFormatRefMarkType, |
479 | | SwFormatRowSplitType, |
480 | | SwFormatRubyType, |
481 | | SwFormatSurroundType, |
482 | | SwFormatURLType, |
483 | | SwFormatVertOrientType, |
484 | | SwFormatWrapInfluenceOnObjPosType, |
485 | | SwFormatWrapTextAtFlyStartType, |
486 | | SwGammaGrfType, |
487 | | SwHeaderAndFooterEatSpacingItemType, |
488 | | SwInvertGrfType, |
489 | | SwLabItemType, |
490 | | SwLuminanceGrfType, |
491 | | SwMirrorGrfType, |
492 | | SwMsgPoolItemType, |
493 | | SwNumRuleItemType, |
494 | | SwPageFootnoteInfoItemType, |
495 | | SwPaMItemType, |
496 | | SwParaConnectBorderItemType, |
497 | | SwPtrItemType, |
498 | | SwRegisterItemType, |
499 | | SwRotationGrfType, |
500 | | SwShadowCursorItemType, |
501 | | SwTableBoxFormulaType, |
502 | | SwTableBoxNumFormatType, |
503 | | SwTableBoxValueType, |
504 | | SwTextGridItemType, |
505 | | SwTOXMarkType, |
506 | | SwTransparencyGrfType, |
507 | | SwUINumRuleItemType, |
508 | | SwWrtShellItemType, |
509 | | XColorItemType, |
510 | | XFillAttrSetItemType, |
511 | | XFillBackgroundItemType, |
512 | | XFillBitmapItemType, |
513 | | XFillBmpPosItemType, |
514 | | XFillBmpPosOffsetXItemType, |
515 | | XFillBmpPosOffsetYItemType, |
516 | | XFillBmpSizeLogItemType, |
517 | | XFillBmpSizeXItemType, |
518 | | XFillBmpSizeYItemType, |
519 | | XFillBmpStretchItemType, |
520 | | XFillBmpTileItemType, |
521 | | XFillBmpTileOffsetXItemType, |
522 | | XFillBmpTileOffsetYItemType, |
523 | | XFillColorItemType, |
524 | | XFillFloatTransparenceItemType, |
525 | | XFillGradientItemType, |
526 | | XFillHatchItemType, |
527 | | XFillStyleItemType, |
528 | | XFillTransparenceItemType, |
529 | | XFillUseSlideBackgroundItemType, |
530 | | XFormTextAdjustItemType, |
531 | | XFormTextDistanceItemType, |
532 | | XFormTextHideFormItemType, |
533 | | XFormTextMirrorItemType, |
534 | | XFormTextOutlineItemType, |
535 | | XFormTextShadowColorItemType, |
536 | | XFormTextShadowItemType, |
537 | | XFormTextShadowTranspItemType, |
538 | | XFormTextShadowXValItemType, |
539 | | XFormTextShadowYValItemType, |
540 | | XFormTextStartItemType, |
541 | | XFormTextStyleItemType, |
542 | | XGradientStepCountItemType, |
543 | | XLineAttrSetItemType, |
544 | | XLineCapItemType, |
545 | | XLineColorItemType, |
546 | | XLineDashItemType, |
547 | | XLineEndCenterItemType, |
548 | | XLineEndItemType, |
549 | | XLineEndWidthItemType, |
550 | | XLineJointItemType, |
551 | | XLineStartCenterItemType, |
552 | | XLineStartItemType, |
553 | | XLineStartWidthItemType, |
554 | | XLineStyleItemType, |
555 | | XLineTransparenceItemType, |
556 | | XLineWidthItemType, |
557 | | XSecondaryFillColorItemType |
558 | | #ifdef DBG_UTIL |
559 | | , SwTestItemType |
560 | | #endif |
561 | | }; |
562 | | |
563 | | |
564 | | #ifdef DBG_UTIL |
565 | | SVL_DLLPUBLIC size_t getAllocatedSfxPoolItemCount(); |
566 | | SVL_DLLPUBLIC size_t getUsedSfxPoolItemCount(); |
567 | | SVL_DLLPUBLIC void listAllocatedSfxPoolItems(); |
568 | | #endif |
569 | | |
570 | | class SfxItemPool; |
571 | | typedef struct _xmlTextWriter* xmlTextWriterPtr; |
572 | | class ItemInstanceManager; |
573 | | |
574 | | // macro to define overloaded ItemType function, see explanations below |
575 | | #define DECLARE_ITEM_TYPE_FUNCTION(T) \ |
576 | 371M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; }SvxMacroItem::ItemType() const Line | Count | Source | 576 | 3.44k | 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 | 576 | 11.7M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxUInt16Item::ItemType() const Line | Count | Source | 576 | 800k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxInt32Item::ItemType() const Line | Count | Source | 576 | 6.57k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxUInt32Item::ItemType() const Line | Count | Source | 576 | 4.46M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxEnumItemInterface::ItemType() const SfxBoolItem::ItemType() const Line | Count | Source | 576 | 10.5M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrAngleItem::ItemType() const Line | Count | Source | 576 | 15.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScMergeAttr::ItemType() const Line | Count | Source | 576 | 4.10M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScMergeFlagAttr::ItemType() const Line | Count | Source | 576 | 94.3M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScProtectionAttr::ItemType() const Line | Count | Source | 576 | 1.64M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScPageHFItem::ItemType() const Line | Count | Source | 576 | 182k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScViewObjectModeItem::ItemType() const ScPageScaleToItem::ItemType() const Line | Count | Source | 576 | 122k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScCondFormatItem::ItemType() const Line | Count | Source | 576 | 6.23M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScRotateValueItem::ItemType() const Line | Count | Source | 576 | 351k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScShrinkToFitCell::ItemType() const Line | Count | Source | 576 | 591k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScVerticalStackCell::ItemType() const Line | Count | Source | 576 | 575k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
ScLineBreakCell::ItemType() const Line | Count | Source | 576 | 1.59M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScHyphenateCell::ItemType() const ScIndentItem::ItemType() const Line | Count | Source | 576 | 351k | 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 | 576 | 21.8M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrOnOffItem::ItemType() const Line | Count | Source | 576 | 2.39M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrCustomShapeGeometryItem::ItemType() const Line | Count | Source | 576 | 1.11M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextVertAdjustItem::ItemType() const Line | Count | Source | 576 | 1.33M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextHorzAdjustItem::ItemType() const Line | Count | Source | 576 | 1.84M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniKindItem::ItemType() const Line | Count | Source | 576 | 131k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniDirectionItem::ItemType() const Line | Count | Source | 576 | 131k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBoxItem::ItemType() const Line | Count | Source | 576 | 6.17M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBoxInfoItem::ItemType() const Line | Count | Source | 576 | 1.45M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxLineItem::ItemType() const Line | Count | Source | 576 | 58.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBrushItem::ItemType() const Line | Count | Source | 576 | 2.75M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFrameDirectionItem::ItemType() const Line | Count | Source | 576 | 2.16M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFontItem::ItemType() const Line | Count | Source | 576 | 15.6M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHorJustifyItem::ItemType() const Line | Count | Source | 576 | 1.79M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxVerJustifyItem::ItemType() const Line | Count | Source | 576 | 1.44M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxJustifyMethodItem::ItemType() const Line | Count | Source | 576 | 570k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxLanguageItem_Base::ItemType() const SvxLanguageItem::ItemType() const Line | Count | Source | 576 | 7.67M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFieldItem::ItemType() const Line | Count | Source | 576 | 629k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPageItem::ItemType() const Line | Count | Source | 576 | 206k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxSetItem::ItemType() const Line | Count | Source | 576 | 895k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWritingModeItem::ItemType() const Line | Count | Source | 576 | 2.65M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: NameOrIndex::ItemType() const XColorItem::ItemType() const Line | Count | Source | 576 | 333k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineColorItem::ItemType() const Line | Count | Source | 576 | 371k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineDashItem::ItemType() const Line | Count | Source | 576 | 115k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndCenterItem::ItemType() const Line | Count | Source | 576 | 74.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndItem::ItemType() const Line | Count | Source | 576 | 182k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineEndWidthItem::ItemType() const Line | Count | Source | 576 | 53.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartCenterItem::ItemType() const Line | Count | Source | 576 | 127k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartItem::ItemType() const Line | Count | Source | 576 | 180k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStartWidthItem::ItemType() const Line | Count | Source | 576 | 76.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineWidthItem::ItemType() const Line | Count | Source | 576 | 393k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrMetricItem::ItemType() const Line | Count | Source | 576 | 10.1M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillColorItem::ItemType() const Line | Count | Source | 576 | 6.10M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxAdjustItem::ItemType() const Line | Count | Source | 576 | 2.41M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillStyleItem::ItemType() const Line | Count | Source | 576 | 2.10M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineStyleItem::ItemType() const Line | Count | Source | 576 | 1.41M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineJointItem::ItemType() const Line | Count | Source | 576 | 208k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XLineTransparenceItem::ItemType() const Line | Count | Source | 576 | 2.92k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBitmapItem::ItemType() const Line | Count | Source | 576 | 779k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScTpDefaultsItem::ItemType() const Unexecuted instantiation: SfxLinkItem::ItemType() const SvxSizeItem::ItemType() const Line | Count | Source | 576 | 424k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxLeftMarginItem::ItemType() const SvxTextLeftMarginItem::ItemType() const Line | Count | Source | 576 | 741k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFirstLineIndentItem::ItemType() const Line | Count | Source | 576 | 538k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRightMarginItem::ItemType() const Line | Count | Source | 576 | 661k | 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 | 576 | 5.26M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxULSpaceItem::ItemType() const Line | Count | Source | 576 | 6.50M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFontHeightItem::ItemType() const Line | Count | Source | 576 | 21.0M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWeightItem::ItemType() const Line | Count | Source | 576 | 15.4M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxTextLineItem::ItemType() const SvxUnderlineItem::ItemType() const Line | Count | Source | 576 | 4.70M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOverlineItem::ItemType() const Line | Count | Source | 576 | 1.67M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPostureItem::ItemType() const Line | Count | Source | 576 | 9.46M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCrossedOutItem::ItemType() const Line | Count | Source | 576 | 2.85M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxContourItem::ItemType() const Line | Count | Source | 576 | 5.83M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxShadowedItem::ItemType() const Line | Count | Source | 576 | 5.35M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxEscapementItem::ItemType() const Line | Count | Source | 576 | 2.26M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxOrientationItem::ItemType() const SvxMarginItem::ItemType() const Line | Count | Source | 576 | 727k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRotateModeItem::ItemType() const Line | Count | Source | 576 | 1.22M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxColorItem::ItemType() const Line | Count | Source | 576 | 9.32M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxFontListItem::ItemType() const Unexecuted instantiation: SvxZoomItem::ItemType() const XFillTransparenceItem::ItemType() const Line | Count | Source | 576 | 66.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillGradientItem::ItemType() const Line | Count | Source | 576 | 909k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScTpFormulaItem::ItemType() const SvxCharReliefItem::ItemType() const Line | Count | Source | 576 | 1.75M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxEmphasisMarkItem::ItemType() const Line | Count | Source | 576 | 1.65M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxForbiddenRuleItem::ItemType() const Line | Count | Source | 576 | 688k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHangingPunctuationItem::ItemType() const Line | Count | Source | 576 | 616k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxPaperBinItem::ItemType() const SvxScriptSpaceItem::ItemType() const Line | Count | Source | 576 | 536k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxShadowItem::ItemType() const Line | Count | Source | 576 | 32.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWordLineModeItem::ItemType() const Line | Count | Source | 576 | 1.68M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvXMLAttrContainerItem::ItemType() const Line | Count | Source | 576 | 49.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxSearchItem::ItemType() const Unexecuted instantiation: SfxViewFrameItem::ItemType() const Unexecuted instantiation: SfxFlagItem::ItemType() const SvxAutoKernItem::ItemType() const Line | Count | Source | 576 | 1.31M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrYesNoItem::ItemType() const Line | Count | Source | 576 | 23.0k | 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 | 576 | 2.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxGradientListItem::ItemType() const Line | Count | Source | 576 | 2.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHatchListItem::ItemType() const Line | Count | Source | 576 | 2.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBitmapListItem::ItemType() const Line | Count | Source | 576 | 2.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPatternListItem::ItemType() const Line | Count | Source | 576 | 2.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxDashListItem::ItemType() const Unexecuted instantiation: SvxLineEndListItem::ItemType() const Unexecuted instantiation: SfxIntegerListItem::ItemType() const Unexecuted instantiation: ScTpPrintItem::ItemType() const SvxNumBulletItem::ItemType() const Line | Count | Source | 576 | 877k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: ScInputStatusItem::ItemType() const Unexecuted instantiation: ScSortItem::ItemType() const Unexecuted instantiation: ScQueryItem::ItemType() const Unexecuted instantiation: ScSubTotalItem::ItemType() const Unexecuted instantiation: ScUserListItem::ItemType() const Unexecuted instantiation: ScConsolidateItem::ItemType() const Unexecuted instantiation: ScPivotItem::ItemType() const Unexecuted instantiation: ScSolveItem::ItemType() const Unexecuted instantiation: ScTabOpItem::ItemType() const Unexecuted instantiation: SvxZoomSliderItem::ItemType() const SfxVoidItem::ItemType() const Line | Count | Source | 576 | 23.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxDocumentInfoItem::ItemType() const Unexecuted instantiation: SvxPostItAuthorItem::ItemType() const Unexecuted instantiation: SvxPostItDateItem::ItemType() const Unexecuted instantiation: SvxPostItTextItem::ItemType() const Unexecuted instantiation: SvxPostItIdItem::ItemType() const Unexecuted instantiation: OfaPtrItem::ItemType() const Unexecuted instantiation: OfaXColorListItem::ItemType() const Unexecuted instantiation: SfxEventNamesItem::ItemType() const Unexecuted instantiation: SvxChartRegressItem::ItemType() const Unexecuted instantiation: SvxChartTextOrderItem::ItemType() const Unexecuted instantiation: SvxChartKindErrorItem::ItemType() const Unexecuted instantiation: SvxChartIndicateItem::ItemType() const Unexecuted instantiation: SvxDoubleItem::ItemType() const Unexecuted instantiation: SvxChartColorPaletteItem::ItemType() const Unexecuted instantiation: SfxPointItem::ItemType() const Unexecuted instantiation: SvxHyperlinkItem::ItemType() const Unexecuted instantiation: SvxClipboardFormatItem::ItemType() const SvxLineSpacingItem::ItemType() const Line | Count | Source | 576 | 1.39M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxScriptSetItem::ItemType() const SvxFormatBreakItem::ItemType() const Line | Count | Source | 576 | 728k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxHyphenZoneItem::ItemType() const Line | Count | Source | 576 | 184k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOrphansItem::ItemType() const Line | Count | Source | 576 | 71.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFormatSplitItem::ItemType() const Line | Count | Source | 576 | 33.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxWidowsItem::ItemType() const Line | Count | Source | 576 | 73.1k | 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 | 576 | 14.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileItem::ItemType() const Line | Count | Source | 576 | 18.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxStatusItem::ItemType() const Unexecuted instantiation: SfxVisibilityItem::ItemType() const Unexecuted instantiation: SvxNumberInfoItem::ItemType() const Unexecuted instantiation: SvxGalleryItem::ItemType() const Unexecuted instantiation: SfxTemplateItem::ItemType() const Unexecuted instantiation: SfxInt64Item::ItemType() const XFillFloatTransparenceItem::ItemType() const Line | Count | Source | 576 | 500k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillHatchItem::ItemType() const Line | Count | Source | 576 | 600k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxObjectItem::ItemType() const Unexecuted instantiation: SvxAutoFrameDirectionItem::ItemType() const Unexecuted instantiation: XFormTextStyleItem::ItemType() const Unexecuted instantiation: XFormTextHideFormItem::ItemType() const Unexecuted instantiation: XFormTextAdjustItem::ItemType() const Unexecuted instantiation: XFormTextDistanceItem::ItemType() const Unexecuted instantiation: XFormTextStartItem::ItemType() const Unexecuted instantiation: XFormTextMirrorItem::ItemType() const Unexecuted instantiation: XFormTextOutlineItem::ItemType() const Unexecuted instantiation: XFormTextShadowItem::ItemType() const Unexecuted instantiation: XFormTextShadowColorItem::ItemType() const Unexecuted instantiation: XFormTextShadowXValItem::ItemType() const Unexecuted instantiation: XFormTextShadowYValItem::ItemType() const SvxKerningItem::ItemType() const Line | Count | Source | 576 | 1.07M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxGlobalNameItem::ItemType() const XLineCapItem::ItemType() const Line | Count | Source | 576 | 15.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrPercentItem::ItemType() const Line | Count | Source | 576 | 2.76k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SdrSignedPercentItem::ItemType() const SdrTextAniCountItem::ItemType() const Line | Count | Source | 576 | 131k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniAmountItem::ItemType() const Line | Count | Source | 576 | 131k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCharScaleWidthItem::ItemType() const Line | Count | Source | 576 | 257k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCaseMapItem::ItemType() const Line | Count | Source | 576 | 1.22M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxTabStopItem::ItemType() const Line | Count | Source | 576 | 1.11M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxBulletItem::ItemType() const Line | Count | Source | 576 | 43.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SfxGrabBagItem::ItemType() const Line | Count | Source | 576 | 348k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRubyItem::ItemType() const Line | Count | Source | 576 | 3.43k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxScriptHintItem::ItemType() const Line | Count | Source | 576 | 34.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxFontVariationsItem::ItemType() const SvxOpticalSizingItem::ItemType() const Line | Count | Source | 576 | 965k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPrintItem::ItemType() const Line | Count | Source | 576 | 1.91k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxOpaqueItem::ItemType() const Line | Count | Source | 576 | 21.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxProtectItem::ItemType() const Line | Count | Source | 576 | 82.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxFormatKeepItem::ItemType() const Line | Count | Source | 576 | 480k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxPageModelItem::ItemType() const SvxParaVertAlignItem::ItemType() const Line | Count | Source | 576 | 5.26k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxParaGridItem::ItemType() const Line | Count | Source | 576 | 92.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRsidItem::ItemType() const Line | Count | Source | 576 | 1.93k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxNoHyphenItem::ItemType() const SvxBlinkItem::ItemType() const Line | Count | Source | 576 | 13.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxTwoLinesItem::ItemType() const Line | Count | Source | 576 | 111 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxTextRotateItem::ItemType() const SvxCharRotateItem::ItemType() const Line | Count | Source | 576 | 2.41k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxCharHiddenItem::ItemType() const Line | Count | Source | 576 | 225k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextFitToSizeTypeItem::ItemType() const Line | Count | Source | 576 | 272k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SdrGrafModeItem_Base::ItemType() const XSecondaryFillColorItem::ItemType() const Line | Count | Source | 576 | 2.27k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillUseSlideBackgroundItem::ItemType() const Line | Count | Source | 576 | 114k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SvxGrfCrop::ItemType() const SdrGrafCropItem::ItemType() const Line | Count | Source | 576 | 51.2k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafModeItem::ItemType() const Line | Count | Source | 576 | 53.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeXItem::ItemType() const Line | Count | Source | 576 | 3.14k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeYItem::ItemType() const Line | Count | Source | 576 | 3.14k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpSizeLogItem::ItemType() const Line | Count | Source | 576 | 6.05k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode1HorzDistItem::ItemType() const Line | Count | Source | 576 | 170k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode1VertDistItem::ItemType() const Line | Count | Source | 576 | 170k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode2HorzDistItem::ItemType() const Line | Count | Source | 576 | 171k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeNode2VertDistItem::ItemType() const Line | Count | Source | 576 | 171k | 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 | 576 | 48.9k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafContrastItem::ItemType() const Line | Count | Source | 576 | 47.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrEdgeKindItem::ItemType() const Line | Count | Source | 576 | 23.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafGamma100Item::ItemType() const Line | Count | Source | 576 | 46.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextFixedCellHeightItem::ItemType() const Line | Count | Source | 576 | 732k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxScriptOrganizerItem::ItemType() const SdrGrafRedItem::ItemType() const Line | Count | Source | 576 | 46.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafGreenItem::ItemType() const Line | Count | Source | 576 | 46.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafBlueItem::ItemType() const Line | Count | Source | 576 | 46.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrGrafTransparenceItem::ItemType() const Line | Count | Source | 576 | 46.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxB3DVectorItem::ItemType() const Line | Count | Source | 576 | 47.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: Svx3DReducedLineGeometryItem::ItemType() const Svx3DNormalsKindItem::ItemType() const Line | Count | Source | 576 | 6.91k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DTextureProjectionXItem::ItemType() const Line | Count | Source | 576 | 21.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DTextureProjectionYItem::ItemType() const Line | Count | Source | 576 | 21.0k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: Svx3DTextureKindItem::ItemType() const Svx3DTextureModeItem::ItemType() const Line | Count | Source | 576 | 6.91k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DPerspectiveItem::ItemType() const Line | Count | Source | 576 | 13.8k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DShadeModeItem::ItemType() const Line | Count | Source | 576 | 6.91k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DSmoothNormalsItem::ItemType() const Line | Count | Source | 576 | 42.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DSmoothLidsItem::ItemType() const Line | Count | Source | 576 | 42.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCharacterModeItem::ItemType() const Line | Count | Source | 576 | 42.1k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCloseFrontItem::ItemType() const Line | Count | Source | 576 | 60.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Svx3DCloseBackItem::ItemType() const Line | Count | Source | 576 | 60.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosItem::ItemType() const Line | Count | Source | 576 | 6.39k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XGradientStepCountItem::ItemType() const Line | Count | Source | 576 | 1.37k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBackgroundItem::ItemType() const Line | Count | Source | 576 | 2.73k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileOffsetXItem::ItemType() const Line | Count | Source | 576 | 1.37k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpTileOffsetYItem::ItemType() const Line | Count | Source | 576 | 264 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosOffsetXItem::ItemType() const Line | Count | Source | 576 | 1.43k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
XFillBmpPosOffsetYItem::ItemType() const Line | Count | Source | 576 | 1.43k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxRectangleAlignmentItem::ItemType() const Line | Count | Source | 576 | 454 | 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 | 576 | 92.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniStartInsideItem::ItemType() const Line | Count | Source | 576 | 77 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniStopInsideItem::ItemType() const Line | Count | Source | 576 | 77 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrTextAniDelayItem::ItemType() const Line | Count | Source | 576 | 131k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SdrCircKindItem::ItemType() const Line | Count | Source | 576 | 15.4k | 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 | 576 | 283 | 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: SdrGrafClipPolyPolygonItem::ItemType() const Unexecuted instantiation: XFormTextShadowTranspItem::ItemType() const Unexecuted instantiation: XFillAttrSetItem::ItemType() const Unexecuted instantiation: XLineAttrSetItem::ItemType() const SdrEdgeLineDeltaCountItem::ItemType() const Line | Count | Source | 576 | 5.00k | 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 | 576 | 979k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatHoriOrient::ItemType() const Line | Count | Source | 576 | 523k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatDrop::ItemType() const Line | Count | Source | 576 | 1.94k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwRegisterItem::ItemType() const Line | Count | Source | 576 | 29.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwNumRuleItem::ItemType() const Line | Count | Source | 576 | 704k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwParaConnectBorderItem::ItemType() const Line | Count | Source | 576 | 9.74k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwMsgPoolItem::ItemType() const Unexecuted instantiation: SwTOXMark::ItemType() const SwFormatINetFormat::ItemType() const Line | Count | Source | 576 | 13.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatField::ItemType() const SwFormatAutoFormat::ItemType() const Line | Count | Source | 576 | 6.88M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatRefMark::ItemType() const SwFormatRuby::ItemType() const Line | Count | Source | 576 | 386 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatFlyCnt::ItemType() const Unexecuted instantiation: SwFormatFootnote::ItemType() const Unexecuted instantiation: SwFormatLineBreak::ItemType() const Unexecuted instantiation: SwFormatContentControl::ItemType() const SwFormatCharFormat::ItemType() const Line | Count | Source | 576 | 290 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatURL::ItemType() const Line | Count | Source | 576 | 20.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatContent::ItemType() const Line | Count | Source | 576 | 494k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatPageDesc::ItemType() const Line | Count | Source | 576 | 60.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatHeader::ItemType() const Line | Count | Source | 576 | 473k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFooter::ItemType() const Line | Count | Source | 576 | 318k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatAnchor::ItemType() const Line | Count | Source | 576 | 1.15M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFrameSize::ItemType() const Line | Count | Source | 576 | 4.06M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatSurround::ItemType() const Line | Count | Source | 576 | 242k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFillOrder::ItemType() const Line | Count | Source | 576 | 252k | 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 | 576 | 57 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwCropGrf::ItemType() const Line | Count | Source | 576 | 44.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwRotationGrf::ItemType() const Line | Count | Source | 576 | 96.6k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwLuminanceGrf::ItemType() const Line | Count | Source | 576 | 1.15k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwContrastGrf::ItemType() const Line | Count | Source | 576 | 1.15k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelRGrf::ItemType() const Line | Count | Source | 576 | 48 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelGGrf::ItemType() const Line | Count | Source | 576 | 48 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwChannelBGrf::ItemType() const Line | Count | Source | 576 | 46 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwGammaGrf::ItemType() const Line | Count | Source | 576 | 99 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwInvertGrf::ItemType() const Line | Count | Source | 576 | 94 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTransparencyGrf::ItemType() const Line | Count | Source | 576 | 48 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwDrawModeGrf::ItemType() const Line | Count | Source | 576 | 91 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatChain::ItemType() const Line | Count | Source | 576 | 55 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFlySplit::ItemType() const Line | Count | Source | 576 | 1.91k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTableBoxNumFormat::ItemType() const Line | Count | Source | 576 | 119k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwTableBoxFormula::ItemType() const SwTableBoxValue::ItemType() const Line | Count | Source | 576 | 46.4k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatLineNumber::ItemType() const Line | Count | Source | 576 | 459k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFootnoteAtTextEnd::ItemType() const Line | Count | Source | 576 | 4.20k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatEndAtTextEnd::ItemType() const Line | Count | Source | 576 | 11.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatFollowTextFlow::ItemType() const Line | Count | Source | 576 | 103k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatLayoutSplit::ItemType() const Line | Count | Source | 576 | 451 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatRowSplit::ItemType() const Line | Count | Source | 576 | 67.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatEditInReadonly::ItemType() const Line | Count | Source | 576 | 120k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatCol::ItemType() const Line | Count | Source | 576 | 23.5k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SfxWatermarkItem::ItemType() const SwHeaderAndFooterEatSpacingItem::ItemType() const Line | Count | Source | 576 | 96.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwFormatNoBalancedColumns::ItemType() const Line | Count | Source | 576 | 11.7k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SwTextGridItem::ItemType() const Line | Count | Source | 576 | 1.44M | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwFormatWrapTextAtFlyStart::ItemType() const SwFormatWrapInfluenceOnObjPos::ItemType() const Line | Count | Source | 576 | 40.3k | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
Unexecuted instantiation: SwCondCollItem::ItemType() const SwPageFootnoteInfoItem::ItemType() const Line | Count | Source | 576 | 63.5k | 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 SfxRectangleItem::ItemType() const Line | Count | Source | 576 | 72 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxLongLRSpaceItem::ItemType() const Line | Count | Source | 576 | 72 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxLongULSpaceItem::ItemType() const Line | Count | Source | 576 | 72 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
SvxPagePosSizeItem::ItemType() const Line | Count | Source | 576 | 72 | virtual SfxItemType ItemType() const override { return SfxItemType::T##Type; } |
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 Unexecuted instantiation: SdOptionsPrintItem::ItemType() const Unexecuted instantiation: SfxLockBytesItem::ItemType() const |
577 | | |
578 | | class SVL_DLLPUBLIC SfxPoolItem |
579 | | { |
580 | | friend class SfxItemPool; |
581 | | friend class SfxItemSet; |
582 | | friend class InstanceManagerHelper; |
583 | | friend class ItemInfoStatic; |
584 | | friend class ItemInfoDynamic; |
585 | | |
586 | | // allow ItemSetTooling to access |
587 | | friend SfxPoolItem const* implCreateItemEntry(const SfxItemPool&, SfxPoolItem const*, bool); |
588 | | friend void implCleanupItemEntry(SfxPoolItem const*); |
589 | | |
590 | | mutable sal_uInt32 m_nRefCount; |
591 | | sal_uInt16 m_nWhich; |
592 | | |
593 | | #ifdef DBG_UTIL |
594 | | // for debugging add a serial number, will be set in the constructor |
595 | | // and count up from zero. If you have a deterministic error case and |
596 | | // see the Item involved in the debugger you can use that number in |
597 | | // the next run to see where that Item gets constructed and how it is |
598 | | // involved/ processed |
599 | | sal_uInt32 m_nSerialNumber; |
600 | | #endif |
601 | | |
602 | | // bitfield for Item attributes that are Item-Dependent |
603 | | |
604 | | // Item is registered at some Pool as default. |
605 | | // m_bStaticDefault: direct Pool Item (CAUTION: |
606 | | // these are not really 'static', but should be) |
607 | | // m_bDynamicDefault: dynamic pool item, e.g. |
608 | | // SfxSetItems which are Pool dependent |
609 | | bool m_bStaticDefault : 1; |
610 | | bool m_bDynamicDefault : 1; |
611 | | |
612 | | // Item is derived from SfxSetItem -> is Pool-dependent |
613 | | bool m_bIsSetItem : 1; |
614 | | |
615 | | // Defines if the Item can be shared/RefCounted else it will be cloned. |
616 | | // Default is true - as it should be for all Items. It is needed by some |
617 | | // SW items, so protected to let them set it in constructor. If this could |
618 | | // be fixed at that Items we may remove this again. |
619 | | bool m_bShareable : 1; |
620 | | |
621 | | // for speedup/buffering we need to identify NameOrIndex |
622 | | // Items quickly |
623 | | bool m_bNameOrIndex : 1; |
624 | | |
625 | | protected: |
626 | | #ifdef DBG_UTIL |
627 | | // this flag will make debugging item stuff much simpler |
628 | | bool m_bDeleted : 1; |
629 | | #endif |
630 | | |
631 | 7.77k | void setStaticDefault() { m_bStaticDefault = true; } |
632 | 990k | void setDynamicDefault() { m_bDynamicDefault = true; } |
633 | 1.42M | void setIsSetItem() { m_bIsSetItem = true; } |
634 | 13.5M | void setNonShareable() { m_bShareable = false; } |
635 | 2.03M | void setNameOrIndex() { m_bNameOrIndex = true; } |
636 | | |
637 | | // access ItemInstanceManager for this Item, default |
638 | | // is nullptr. If you overload this it is expected that |
639 | | // you return a ptr to a static, Item-local managed |
640 | | // instance that exists the whole office lifetime. This |
641 | | // usually means to have a static instance directly in the |
642 | | // implementation of the overloaded function (just grep |
643 | | // for examples) |
644 | | virtual ItemInstanceManager* getItemInstanceManager() const; |
645 | | |
646 | | public: |
647 | | inline void AddRef(sal_uInt32 n = 1) const |
648 | 769M | { |
649 | 769M | assert(n <= SFX_ITEMS_MAXREF - m_nRefCount && "AddRef: refcount overflow"); |
650 | 769M | m_nRefCount += n; |
651 | 769M | } |
652 | | |
653 | | #ifdef DBG_UTIL |
654 | | sal_uInt32 getSerialNumber() const { return m_nSerialNumber; } |
655 | | #endif |
656 | | |
657 | 1.84G | bool isStaticDefault() const { return m_bStaticDefault; } |
658 | 1.65G | bool isDynamicDefault() const { return m_bDynamicDefault; } |
659 | 621M | bool isSetItem() const { return m_bIsSetItem; } |
660 | 923M | bool isShareable() const { return m_bShareable; } |
661 | 118M | bool isNameOrIndex() const { return m_bNameOrIndex; } |
662 | | |
663 | | // version that allows nullptrs |
664 | | static bool areSame(const SfxPoolItem* pItem1, const SfxPoolItem* pItem2); |
665 | | |
666 | | // if you have the items (not nullptrs) use this version |
667 | | static bool areSame(const SfxPoolItem& rItem1, const SfxPoolItem& rItem2); |
668 | | |
669 | | private: |
670 | | inline sal_uInt32 ReleaseRef(sal_uInt32 n = 1) const |
671 | 769M | { |
672 | 769M | assert(n <= m_nRefCount); |
673 | 769M | m_nRefCount -= n; |
674 | 769M | return m_nRefCount; |
675 | 769M | } |
676 | | |
677 | | protected: |
678 | | // constructors are protected; SfxPoolItem is a base |
679 | | // class and ought not to be constructed (also guaranteed |
680 | | // by pure virtual function ItemType now) |
681 | | explicit SfxPoolItem(sal_uInt16 nWhich); |
682 | 127M | SfxPoolItem(const SfxPoolItem& rCopy) : SfxPoolItem(rCopy.m_nWhich) {} |
683 | | |
684 | | public: |
685 | | virtual ~SfxPoolItem(); |
686 | | |
687 | | void SetWhich( sal_uInt16 nId ) |
688 | 33.3M | { |
689 | | // can only change the Which before we are in a set |
690 | 33.3M | assert(m_nRefCount==0); |
691 | 33.3M | m_nWhich = nId; |
692 | 33.3M | } |
693 | 22.5G | sal_uInt16 Which() const { return m_nWhich; } |
694 | | SAL_LOPLUGIN_ANNOTATE("mustoverride") virtual SfxItemType ItemType() const = 0; |
695 | | |
696 | | // StaticWhichCast asserts if the TypedWhichId is not matching its type, otherwise it returns a reference. |
697 | | // You can use StaticWhichCast when you are sure about the type at compile time -- like a static_cast. |
698 | | template<class T> T& StaticWhichCast(TypedWhichId<T> nId) |
699 | 551k | { |
700 | 551k | (void)nId; |
701 | 551k | assert(nId == m_nWhich); |
702 | 551k | assert(dynamic_cast<T*>(this)); |
703 | 551k | return *static_cast<T*>(this); |
704 | 551k | } SvxFontHeightItem& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) Line | Count | Source | 699 | 57.8k | { | 700 | 57.8k | (void)nId; | 701 | 57.8k | assert(nId == m_nWhich); | 702 | | assert(dynamic_cast<T*>(this)); | 703 | 57.8k | return *static_cast<T*>(this); | 704 | 57.8k | } |
Unexecuted instantiation: SvxLRSpaceItem& SfxPoolItem::StaticWhichCast<SvxLRSpaceItem>(TypedWhichId<SvxLRSpaceItem>) Unexecuted instantiation: SvxULSpaceItem& SfxPoolItem::StaticWhichCast<SvxULSpaceItem>(TypedWhichId<SvxULSpaceItem>) Unexecuted instantiation: SvxLineSpacingItem& SfxPoolItem::StaticWhichCast<SvxLineSpacingItem>(TypedWhichId<SvxLineSpacingItem>) Unexecuted instantiation: SvxTabStopItem& SfxPoolItem::StaticWhichCast<SvxTabStopItem>(TypedWhichId<SvxTabStopItem>) SwFormatHeader& SfxPoolItem::StaticWhichCast<SwFormatHeader>(TypedWhichId<SwFormatHeader>) Line | Count | Source | 699 | 259k | { | 700 | 259k | (void)nId; | 701 | 259k | assert(nId == m_nWhich); | 702 | | assert(dynamic_cast<T*>(this)); | 703 | 259k | return *static_cast<T*>(this); | 704 | 259k | } |
SwFormatFooter& SfxPoolItem::StaticWhichCast<SwFormatFooter>(TypedWhichId<SwFormatFooter>) Line | Count | Source | 699 | 234k | { | 700 | 234k | (void)nId; | 701 | 234k | assert(nId == m_nWhich); | 702 | | assert(dynamic_cast<T*>(this)); | 703 | 234k | return *static_cast<T*>(this); | 704 | 234k | } |
Unexecuted instantiation: SvxLanguageItem& SfxPoolItem::StaticWhichCast<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>) Unexecuted instantiation: SvxNumBulletItem& SfxPoolItem::StaticWhichCast<SvxNumBulletItem>(TypedWhichId<SvxNumBulletItem>) |
705 | | template<class T> const T& StaticWhichCast(TypedWhichId<T> nId) const |
706 | 60.7M | { |
707 | 60.7M | (void)nId; |
708 | 60.7M | assert(nId == m_nWhich); |
709 | 60.7M | assert(dynamic_cast<const T*>(this)); |
710 | 60.7M | return *static_cast<const T*>(this); |
711 | 60.7M | } ScMergeFlagAttr const& SfxPoolItem::StaticWhichCast<ScMergeFlagAttr>(TypedWhichId<ScMergeFlagAttr>) const Line | Count | Source | 706 | 335 | { | 707 | 335 | (void)nId; | 708 | 335 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 335 | return *static_cast<const T*>(this); | 711 | 335 | } |
SfxUInt32Item const& SfxPoolItem::StaticWhichCast<SfxUInt32Item>(TypedWhichId<SfxUInt32Item>) const Line | Count | Source | 706 | 193k | { | 707 | 193k | (void)nId; | 708 | 193k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 193k | return *static_cast<const T*>(this); | 711 | 193k | } |
SvxBoxItem const& SfxPoolItem::StaticWhichCast<SvxBoxItem>(TypedWhichId<SvxBoxItem>) const Line | Count | Source | 706 | 201k | { | 707 | 201k | (void)nId; | 708 | 201k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 201k | return *static_cast<const T*>(this); | 711 | 201k | } |
ScLineBreakCell const& SfxPoolItem::StaticWhichCast<ScLineBreakCell>(TypedWhichId<ScLineBreakCell>) const Line | Count | Source | 706 | 1.35k | { | 707 | 1.35k | (void)nId; | 708 | 1.35k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.35k | return *static_cast<const T*>(this); | 711 | 1.35k | } |
SvxFieldItem const& SfxPoolItem::StaticWhichCast<SvxFieldItem>(TypedWhichId<SvxFieldItem>) const Line | Count | Source | 706 | 210 | { | 707 | 210 | (void)nId; | 708 | 210 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 210 | return *static_cast<const T*>(this); | 711 | 210 | } |
ScMergeAttr const& SfxPoolItem::StaticWhichCast<ScMergeAttr>(TypedWhichId<ScMergeAttr>) const Line | Count | Source | 706 | 20.2k | { | 707 | 20.2k | (void)nId; | 708 | 20.2k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 20.2k | return *static_cast<const T*>(this); | 711 | 20.2k | } |
SvxEscapementItem const& SfxPoolItem::StaticWhichCast<SvxEscapementItem>(TypedWhichId<SvxEscapementItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxAdjustItem const& SfxPoolItem::StaticWhichCast<SvxAdjustItem>(TypedWhichId<SvxAdjustItem>) const Line | Count | Source | 706 | 1.12M | { | 707 | 1.12M | (void)nId; | 708 | 1.12M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.12M | return *static_cast<const T*>(this); | 711 | 1.12M | } |
SfxBoolItem const& SfxPoolItem::StaticWhichCast<SfxBoolItem>(TypedWhichId<SfxBoolItem>) const Line | Count | Source | 706 | 759k | { | 707 | 759k | (void)nId; | 708 | 759k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 759k | return *static_cast<const T*>(this); | 711 | 759k | } |
ScCondFormatItem const& SfxPoolItem::StaticWhichCast<ScCondFormatItem>(TypedWhichId<ScCondFormatItem>) const Line | Count | Source | 706 | 538k | { | 707 | 538k | (void)nId; | 708 | 538k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 538k | return *static_cast<const T*>(this); | 711 | 538k | } |
Unexecuted instantiation: ScProtectionAttr const& SfxPoolItem::StaticWhichCast<ScProtectionAttr>(TypedWhichId<ScProtectionAttr>) const SvxFontItem const& SfxPoolItem::StaticWhichCast<SvxFontItem>(TypedWhichId<SvxFontItem>) const Line | Count | Source | 706 | 13.0M | { | 707 | 13.0M | (void)nId; | 708 | 13.0M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 13.0M | return *static_cast<const T*>(this); | 711 | 13.0M | } |
SvxWeightItem const& SfxPoolItem::StaticWhichCast<SvxWeightItem>(TypedWhichId<SvxWeightItem>) const Line | Count | Source | 706 | 5.36M | { | 707 | 5.36M | (void)nId; | 708 | 5.36M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 5.36M | return *static_cast<const T*>(this); | 711 | 5.36M | } |
SvxPostureItem const& SfxPoolItem::StaticWhichCast<SvxPostureItem>(TypedWhichId<SvxPostureItem>) const Line | Count | Source | 706 | 4.60M | { | 707 | 4.60M | (void)nId; | 708 | 4.60M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 4.60M | return *static_cast<const T*>(this); | 711 | 4.60M | } |
SvxUnderlineItem const& SfxPoolItem::StaticWhichCast<SvxUnderlineItem>(TypedWhichId<SvxUnderlineItem>) const Line | Count | Source | 706 | 1.41M | { | 707 | 1.41M | (void)nId; | 708 | 1.41M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.41M | return *static_cast<const T*>(this); | 711 | 1.41M | } |
SvxOverlineItem const& SfxPoolItem::StaticWhichCast<SvxOverlineItem>(TypedWhichId<SvxOverlineItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxWordLineModeItem const& SfxPoolItem::StaticWhichCast<SvxWordLineModeItem>(TypedWhichId<SvxWordLineModeItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxCrossedOutItem const& SfxPoolItem::StaticWhichCast<SvxCrossedOutItem>(TypedWhichId<SvxCrossedOutItem>) const Line | Count | Source | 706 | 1.29M | { | 707 | 1.29M | (void)nId; | 708 | 1.29M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.29M | return *static_cast<const T*>(this); | 711 | 1.29M | } |
SvxContourItem const& SfxPoolItem::StaticWhichCast<SvxContourItem>(TypedWhichId<SvxContourItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxShadowedItem const& SfxPoolItem::StaticWhichCast<SvxShadowedItem>(TypedWhichId<SvxShadowedItem>) const Line | Count | Source | 706 | 1.32M | { | 707 | 1.32M | (void)nId; | 708 | 1.32M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.32M | return *static_cast<const T*>(this); | 711 | 1.32M | } |
SvxEmphasisMarkItem const& SfxPoolItem::StaticWhichCast<SvxEmphasisMarkItem>(TypedWhichId<SvxEmphasisMarkItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxCharReliefItem const& SfxPoolItem::StaticWhichCast<SvxCharReliefItem>(TypedWhichId<SvxCharReliefItem>) const Line | Count | Source | 706 | 1.28M | { | 707 | 1.28M | (void)nId; | 708 | 1.28M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.28M | return *static_cast<const T*>(this); | 711 | 1.28M | } |
SvxLanguageItem const& SfxPoolItem::StaticWhichCast<SvxLanguageItem>(TypedWhichId<SvxLanguageItem>) const Line | Count | Source | 706 | 4.10M | { | 707 | 4.10M | (void)nId; | 708 | 4.10M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 4.10M | return *static_cast<const T*>(this); | 711 | 4.10M | } |
SvxFontHeightItem const& SfxPoolItem::StaticWhichCast<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const Line | Count | Source | 706 | 5.69M | { | 707 | 5.69M | (void)nId; | 708 | 5.69M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 5.69M | return *static_cast<const T*>(this); | 711 | 5.69M | } |
SvxColorItem const& SfxPoolItem::StaticWhichCast<SvxColorItem>(TypedWhichId<SvxColorItem>) const Line | Count | Source | 706 | 1.42M | { | 707 | 1.42M | (void)nId; | 708 | 1.42M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.42M | return *static_cast<const T*>(this); | 711 | 1.42M | } |
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 | 706 | 11.1k | { | 707 | 11.1k | (void)nId; | 708 | 11.1k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 11.1k | return *static_cast<const T*>(this); | 711 | 11.1k | } |
SvxBrushItem const& SfxPoolItem::StaticWhichCast<SvxBrushItem>(TypedWhichId<SvxBrushItem>) const Line | Count | Source | 706 | 62.0k | { | 707 | 62.0k | (void)nId; | 708 | 62.0k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 62.0k | return *static_cast<const T*>(this); | 711 | 62.0k | } |
SvxLineItem const& SfxPoolItem::StaticWhichCast<SvxLineItem>(TypedWhichId<SvxLineItem>) const Line | Count | Source | 706 | 456 | { | 707 | 456 | (void)nId; | 708 | 456 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 456 | return *static_cast<const T*>(this); | 711 | 456 | } |
SvxShadowItem const& SfxPoolItem::StaticWhichCast<SvxShadowItem>(TypedWhichId<SvxShadowItem>) const Line | Count | Source | 706 | 1 | { | 707 | 1 | (void)nId; | 708 | 1 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1 | return *static_cast<const T*>(this); | 711 | 1 | } |
SvxSetItem const& SfxPoolItem::StaticWhichCast<SvxSetItem>(TypedWhichId<SvxSetItem>) const Line | Count | Source | 706 | 115k | { | 707 | 115k | (void)nId; | 708 | 115k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 115k | return *static_cast<const T*>(this); | 711 | 115k | } |
SfxUInt16Item const& SfxPoolItem::StaticWhichCast<SfxUInt16Item>(TypedWhichId<SfxUInt16Item>) const Line | Count | Source | 706 | 206k | { | 707 | 206k | (void)nId; | 708 | 206k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 206k | return *static_cast<const T*>(this); | 711 | 206k | } |
Unexecuted instantiation: ScPageScaleToItem const& SfxPoolItem::StaticWhichCast<ScPageScaleToItem>(TypedWhichId<ScPageScaleToItem>) const SvxBoxInfoItem const& SfxPoolItem::StaticWhichCast<SvxBoxInfoItem>(TypedWhichId<SvxBoxInfoItem>) const Line | Count | Source | 706 | 14.7k | { | 707 | 14.7k | (void)nId; | 708 | 14.7k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 14.7k | return *static_cast<const T*>(this); | 711 | 14.7k | } |
SvxHorJustifyItem const& SfxPoolItem::StaticWhichCast<SvxHorJustifyItem>(TypedWhichId<SvxHorJustifyItem>) const Line | Count | Source | 706 | 139 | { | 707 | 139 | (void)nId; | 708 | 139 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 139 | return *static_cast<const T*>(this); | 711 | 139 | } |
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 ScRotateValueItem const& SfxPoolItem::StaticWhichCast<ScRotateValueItem>(TypedWhichId<ScRotateValueItem>) const Line | Count | Source | 706 | 139 | { | 707 | 139 | (void)nId; | 708 | 139 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 139 | return *static_cast<const T*>(this); | 711 | 139 | } |
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 | 706 | 1.55M | { | 707 | 1.55M | (void)nId; | 708 | 1.55M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.55M | return *static_cast<const T*>(this); | 711 | 1.55M | } |
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 | 706 | 1.27M | { | 707 | 1.27M | (void)nId; | 708 | 1.27M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.27M | return *static_cast<const T*>(this); | 711 | 1.27M | } |
SfxInt32Item const& SfxPoolItem::StaticWhichCast<SfxInt32Item>(TypedWhichId<SfxInt32Item>) const Line | Count | Source | 706 | 132 | { | 707 | 132 | (void)nId; | 708 | 132 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 132 | return *static_cast<const T*>(this); | 711 | 132 | } |
Unexecuted instantiation: ScConsolidateItem const& SfxPoolItem::StaticWhichCast<ScConsolidateItem>(TypedWhichId<ScConsolidateItem>) const Unexecuted instantiation: SvxPostItTextItem const& SfxPoolItem::StaticWhichCast<SvxPostItTextItem>(TypedWhichId<SvxPostItTextItem>) const Unexecuted instantiation: SvxPostItIdItem const& SfxPoolItem::StaticWhichCast<SvxPostItIdItem>(TypedWhichId<SvxPostItIdItem>) const Unexecuted instantiation: SvxPostItAuthorItem const& SfxPoolItem::StaticWhichCast<SvxPostItAuthorItem>(TypedWhichId<SvxPostItAuthorItem>) const Unexecuted instantiation: ScQueryItem const& SfxPoolItem::StaticWhichCast<ScQueryItem>(TypedWhichId<ScQueryItem>) const Unexecuted instantiation: ScPivotItem const& SfxPoolItem::StaticWhichCast<ScPivotItem>(TypedWhichId<ScPivotItem>) const Unexecuted instantiation: ScIndentItem const& SfxPoolItem::StaticWhichCast<ScIndentItem>(TypedWhichId<ScIndentItem>) const Unexecuted instantiation: SvxZoomSliderItem const& SfxPoolItem::StaticWhichCast<SvxZoomSliderItem>(TypedWhichId<SvxZoomSliderItem>) const XFillBitmapItem const& SfxPoolItem::StaticWhichCast<XFillBitmapItem>(TypedWhichId<XFillBitmapItem>) const Line | Count | Source | 706 | 92.2k | { | 707 | 92.2k | (void)nId; | 708 | 92.2k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 92.2k | return *static_cast<const T*>(this); | 711 | 92.2k | } |
XLineDashItem const& SfxPoolItem::StaticWhichCast<XLineDashItem>(TypedWhichId<XLineDashItem>) const Line | Count | Source | 706 | 331 | { | 707 | 331 | (void)nId; | 708 | 331 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 331 | return *static_cast<const T*>(this); | 711 | 331 | } |
XLineStartItem const& SfxPoolItem::StaticWhichCast<XLineStartItem>(TypedWhichId<XLineStartItem>) const Line | Count | Source | 706 | 455 | { | 707 | 455 | (void)nId; | 708 | 455 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 455 | return *static_cast<const T*>(this); | 711 | 455 | } |
XLineEndItem const& SfxPoolItem::StaticWhichCast<XLineEndItem>(TypedWhichId<XLineEndItem>) const Line | Count | Source | 706 | 447 | { | 707 | 447 | (void)nId; | 708 | 447 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 447 | return *static_cast<const T*>(this); | 711 | 447 | } |
XFillGradientItem const& SfxPoolItem::StaticWhichCast<XFillGradientItem>(TypedWhichId<XFillGradientItem>) const Line | Count | Source | 706 | 67.4k | { | 707 | 67.4k | (void)nId; | 708 | 67.4k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 67.4k | return *static_cast<const T*>(this); | 711 | 67.4k | } |
XFillFloatTransparenceItem const& SfxPoolItem::StaticWhichCast<XFillFloatTransparenceItem>(TypedWhichId<XFillFloatTransparenceItem>) const Line | Count | Source | 706 | 64.3k | { | 707 | 64.3k | (void)nId; | 708 | 64.3k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 64.3k | return *static_cast<const T*>(this); | 711 | 64.3k | } |
XFillHatchItem const& SfxPoolItem::StaticWhichCast<XFillHatchItem>(TypedWhichId<XFillHatchItem>) const Line | Count | Source | 706 | 66.0k | { | 707 | 66.0k | (void)nId; | 708 | 66.0k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 66.0k | return *static_cast<const T*>(this); | 711 | 66.0k | } |
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 | 706 | 691 | { | 707 | 691 | (void)nId; | 708 | 691 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 691 | return *static_cast<const T*>(this); | 711 | 691 | } |
XFillColorItem const& SfxPoolItem::StaticWhichCast<XFillColorItem>(TypedWhichId<XFillColorItem>) const Line | Count | Source | 706 | 320 | { | 707 | 320 | (void)nId; | 708 | 320 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 320 | return *static_cast<const T*>(this); | 711 | 320 | } |
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 | 706 | 378 | { | 707 | 378 | (void)nId; | 708 | 378 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 378 | return *static_cast<const T*>(this); | 711 | 378 | } |
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 | 706 | 10 | { | 707 | 10 | (void)nId; | 708 | 10 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 10 | return *static_cast<const T*>(this); | 711 | 10 | } |
Unexecuted instantiation: SdrMetricItem const& SfxPoolItem::StaticWhichCast<SdrMetricItem>(TypedWhichId<SdrMetricItem>) const Unexecuted instantiation: SdrGrafCropItem const& SfxPoolItem::StaticWhichCast<SdrGrafCropItem>(TypedWhichId<SdrGrafCropItem>) const Unexecuted instantiation: SdrMoveXItem const& SfxPoolItem::StaticWhichCast<SdrMoveXItem>(TypedWhichId<SdrMoveXItem>) const Unexecuted instantiation: SdrMoveYItem const& SfxPoolItem::StaticWhichCast<SdrMoveYItem>(TypedWhichId<SdrMoveYItem>) const Unexecuted instantiation: SdrOnePositionXItem const& SfxPoolItem::StaticWhichCast<SdrOnePositionXItem>(TypedWhichId<SdrOnePositionXItem>) const Unexecuted instantiation: SdrOnePositionYItem const& SfxPoolItem::StaticWhichCast<SdrOnePositionYItem>(TypedWhichId<SdrOnePositionYItem>) const Unexecuted instantiation: SdrOneSizeWidthItem const& SfxPoolItem::StaticWhichCast<SdrOneSizeWidthItem>(TypedWhichId<SdrOneSizeWidthItem>) const Unexecuted instantiation: SdrOneSizeHeightItem const& SfxPoolItem::StaticWhichCast<SdrOneSizeHeightItem>(TypedWhichId<SdrOneSizeHeightItem>) const Unexecuted instantiation: SdrShearAngleItem const& SfxPoolItem::StaticWhichCast<SdrShearAngleItem>(TypedWhichId<SdrShearAngleItem>) const Unexecuted instantiation: SdrRotateOneItem const& SfxPoolItem::StaticWhichCast<SdrRotateOneItem>(TypedWhichId<SdrRotateOneItem>) const Unexecuted instantiation: SdrHorzShearOneItem const& SfxPoolItem::StaticWhichCast<SdrHorzShearOneItem>(TypedWhichId<SdrHorzShearOneItem>) const Unexecuted instantiation: SdrVertShearOneItem const& SfxPoolItem::StaticWhichCast<SdrVertShearOneItem>(TypedWhichId<SdrVertShearOneItem>) const SdrYesNoItem const& SfxPoolItem::StaticWhichCast<SdrYesNoItem>(TypedWhichId<SdrYesNoItem>) const Line | Count | Source | 706 | 135 | { | 707 | 135 | (void)nId; | 708 | 135 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 135 | return *static_cast<const T*>(this); | 711 | 135 | } |
Unexecuted instantiation: SdrObjPrintableItem const& SfxPoolItem::StaticWhichCast<SdrObjPrintableItem>(TypedWhichId<SdrObjPrintableItem>) const Unexecuted instantiation: SdrObjVisibleItem const& SfxPoolItem::StaticWhichCast<SdrObjVisibleItem>(TypedWhichId<SdrObjVisibleItem>) const Unexecuted instantiation: SdrLayerIdItem const& SfxPoolItem::StaticWhichCast<SdrLayerIdItem>(TypedWhichId<SdrLayerIdItem>) const Unexecuted instantiation: SdrLayerNameItem const& SfxPoolItem::StaticWhichCast<SdrLayerNameItem>(TypedWhichId<SdrLayerNameItem>) const Unexecuted instantiation: SdrLogicSizeWidthItem const& SfxPoolItem::StaticWhichCast<SdrLogicSizeWidthItem>(TypedWhichId<SdrLogicSizeWidthItem>) const Unexecuted instantiation: SdrLogicSizeHeightItem const& SfxPoolItem::StaticWhichCast<SdrLogicSizeHeightItem>(TypedWhichId<SdrLogicSizeHeightItem>) const Unexecuted instantiation: SdrResizeXOneItem const& SfxPoolItem::StaticWhichCast<SdrResizeXOneItem>(TypedWhichId<SdrResizeXOneItem>) const Unexecuted instantiation: SdrResizeYOneItem const& SfxPoolItem::StaticWhichCast<SdrResizeYOneItem>(TypedWhichId<SdrResizeYOneItem>) const Unexecuted instantiation: SvxWritingModeItem const& SfxPoolItem::StaticWhichCast<SvxWritingModeItem>(TypedWhichId<SvxWritingModeItem>) const Unexecuted instantiation: XLineColorItem const& SfxPoolItem::StaticWhichCast<XLineColorItem>(TypedWhichId<XLineColorItem>) const Unexecuted instantiation: SfxIntegerListItem const& SfxPoolItem::StaticWhichCast<SfxIntegerListItem>(TypedWhichId<SfxIntegerListItem>) const Unexecuted instantiation: SvxChartKindErrorItem const& SfxPoolItem::StaticWhichCast<SvxChartKindErrorItem>(TypedWhichId<SvxChartKindErrorItem>) const Unexecuted instantiation: SvxChartIndicateItem const& SfxPoolItem::StaticWhichCast<SvxChartIndicateItem>(TypedWhichId<SvxChartIndicateItem>) const Unexecuted instantiation: SvxChartTextOrderItem const& SfxPoolItem::StaticWhichCast<SvxChartTextOrderItem>(TypedWhichId<SvxChartTextOrderItem>) const Unexecuted instantiation: SvxChartRegressItem const& SfxPoolItem::StaticWhichCast<SvxChartRegressItem>(TypedWhichId<SvxChartRegressItem>) const Unexecuted instantiation: SvXMLAttrContainerItem const& SfxPoolItem::StaticWhichCast<SvXMLAttrContainerItem>(TypedWhichId<SvXMLAttrContainerItem>) const SvxTabStopItem const& SfxPoolItem::StaticWhichCast<SvxTabStopItem>(TypedWhichId<SvxTabStopItem>) const Line | Count | Source | 706 | 85.5k | { | 707 | 85.5k | (void)nId; | 708 | 85.5k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 85.5k | return *static_cast<const T*>(this); | 711 | 85.5k | } |
SwNumRuleItem const& SfxPoolItem::StaticWhichCast<SwNumRuleItem>(TypedWhichId<SwNumRuleItem>) const Line | Count | Source | 706 | 2.26M | { | 707 | 2.26M | (void)nId; | 708 | 2.26M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 2.26M | return *static_cast<const T*>(this); | 711 | 2.26M | } |
SvxFormatBreakItem const& SfxPoolItem::StaticWhichCast<SvxFormatBreakItem>(TypedWhichId<SvxFormatBreakItem>) const Line | Count | Source | 706 | 40.3k | { | 707 | 40.3k | (void)nId; | 708 | 40.3k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 40.3k | return *static_cast<const T*>(this); | 711 | 40.3k | } |
Unexecuted instantiation: SvxAutoFrameDirectionItem const& SfxPoolItem::StaticWhichCast<SvxAutoFrameDirectionItem>(TypedWhichId<SvxAutoFrameDirectionItem>) const SwFormatPageDesc const& SfxPoolItem::StaticWhichCast<SwFormatPageDesc>(TypedWhichId<SwFormatPageDesc>) const Line | Count | Source | 706 | 312k | { | 707 | 312k | (void)nId; | 708 | 312k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 312k | return *static_cast<const T*>(this); | 711 | 312k | } |
SwFormatContent const& SfxPoolItem::StaticWhichCast<SwFormatContent>(TypedWhichId<SwFormatContent>) const Line | Count | Source | 706 | 118k | { | 707 | 118k | (void)nId; | 708 | 118k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 118k | return *static_cast<const T*>(this); | 711 | 118k | } |
SwFormatAnchor const& SfxPoolItem::StaticWhichCast<SwFormatAnchor>(TypedWhichId<SwFormatAnchor>) const Line | Count | Source | 706 | 454k | { | 707 | 454k | (void)nId; | 708 | 454k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 454k | return *static_cast<const T*>(this); | 711 | 454k | } |
SvxFirstLineIndentItem const& SfxPoolItem::StaticWhichCast<SvxFirstLineIndentItem>(TypedWhichId<SvxFirstLineIndentItem>) const Line | Count | Source | 706 | 13.1k | { | 707 | 13.1k | (void)nId; | 708 | 13.1k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 13.1k | return *static_cast<const T*>(this); | 711 | 13.1k | } |
SvxTextLeftMarginItem const& SfxPoolItem::StaticWhichCast<SvxTextLeftMarginItem>(TypedWhichId<SvxTextLeftMarginItem>) const Line | Count | Source | 706 | 62.8k | { | 707 | 62.8k | (void)nId; | 708 | 62.8k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 62.8k | return *static_cast<const T*>(this); | 711 | 62.8k | } |
SvxRightMarginItem const& SfxPoolItem::StaticWhichCast<SvxRightMarginItem>(TypedWhichId<SvxRightMarginItem>) const Line | Count | Source | 706 | 42.3k | { | 707 | 42.3k | (void)nId; | 708 | 42.3k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 42.3k | return *static_cast<const T*>(this); | 711 | 42.3k | } |
SvxULSpaceItem const& SfxPoolItem::StaticWhichCast<SvxULSpaceItem>(TypedWhichId<SvxULSpaceItem>) const Line | Count | Source | 706 | 211k | { | 707 | 211k | (void)nId; | 708 | 211k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 211k | return *static_cast<const T*>(this); | 711 | 211k | } |
SwTableBoxNumFormat const& SfxPoolItem::StaticWhichCast<SwTableBoxNumFormat>(TypedWhichId<SwTableBoxNumFormat>) const Line | Count | Source | 706 | 62.9k | { | 707 | 62.9k | (void)nId; | 708 | 62.9k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 62.9k | return *static_cast<const T*>(this); | 711 | 62.9k | } |
Unexecuted instantiation: SwFormatVertOrient const& SfxPoolItem::StaticWhichCast<SwFormatVertOrient>(TypedWhichId<SwFormatVertOrient>) const SwFormatHoriOrient const& SfxPoolItem::StaticWhichCast<SwFormatHoriOrient>(TypedWhichId<SwFormatHoriOrient>) const Line | Count | Source | 706 | 137 | { | 707 | 137 | (void)nId; | 708 | 137 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 137 | return *static_cast<const T*>(this); | 711 | 137 | } |
SwFormatAutoFormat const& SfxPoolItem::StaticWhichCast<SwFormatAutoFormat>(TypedWhichId<SwFormatAutoFormat>) const Line | Count | Source | 706 | 4.15M | { | 707 | 4.15M | (void)nId; | 708 | 4.15M | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 4.15M | return *static_cast<const T*>(this); | 711 | 4.15M | } |
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 | 706 | 80.8k | { | 707 | 80.8k | (void)nId; | 708 | 80.8k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 80.8k | return *static_cast<const T*>(this); | 711 | 80.8k | } |
SwTableBoxFormula const& SfxPoolItem::StaticWhichCast<SwTableBoxFormula>(TypedWhichId<SwTableBoxFormula>) const Line | Count | Source | 706 | 1.24k | { | 707 | 1.24k | (void)nId; | 708 | 1.24k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.24k | return *static_cast<const T*>(this); | 711 | 1.24k | } |
SwTableBoxValue const& SfxPoolItem::StaticWhichCast<SwTableBoxValue>(TypedWhichId<SwTableBoxValue>) const Line | Count | Source | 706 | 35.5k | { | 707 | 35.5k | (void)nId; | 708 | 35.5k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 35.5k | return *static_cast<const T*>(this); | 711 | 35.5k | } |
SwFormatINetFormat const& SfxPoolItem::StaticWhichCast<SwFormatINetFormat>(TypedWhichId<SwFormatINetFormat>) const Line | Count | Source | 706 | 38.8k | { | 707 | 38.8k | (void)nId; | 708 | 38.8k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 38.8k | return *static_cast<const T*>(this); | 711 | 38.8k | } |
SvxTwoLinesItem const& SfxPoolItem::StaticWhichCast<SvxTwoLinesItem>(TypedWhichId<SvxTwoLinesItem>) const Line | Count | Source | 706 | 8.31k | { | 707 | 8.31k | (void)nId; | 708 | 8.31k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 8.31k | return *static_cast<const T*>(this); | 711 | 8.31k | } |
SvxCharRotateItem const& SfxPoolItem::StaticWhichCast<SvxCharRotateItem>(TypedWhichId<SvxCharRotateItem>) const Line | Count | Source | 706 | 8.31k | { | 707 | 8.31k | (void)nId; | 708 | 8.31k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 8.31k | return *static_cast<const T*>(this); | 711 | 8.31k | } |
SvxCaseMapItem const& SfxPoolItem::StaticWhichCast<SvxCaseMapItem>(TypedWhichId<SvxCaseMapItem>) const Line | Count | Source | 706 | 1.00k | { | 707 | 1.00k | (void)nId; | 708 | 1.00k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 1.00k | return *static_cast<const T*>(this); | 711 | 1.00k | } |
SvxKerningItem const& SfxPoolItem::StaticWhichCast<SvxKerningItem>(TypedWhichId<SvxKerningItem>) const Line | Count | Source | 706 | 473 | { | 707 | 473 | (void)nId; | 708 | 473 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 473 | return *static_cast<const T*>(this); | 711 | 473 | } |
SvxCharHiddenItem const& SfxPoolItem::StaticWhichCast<SvxCharHiddenItem>(TypedWhichId<SvxCharHiddenItem>) const Line | Count | Source | 706 | 52.6k | { | 707 | 52.6k | (void)nId; | 708 | 52.6k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 52.6k | return *static_cast<const T*>(this); | 711 | 52.6k | } |
SvxNoHyphenItem const& SfxPoolItem::StaticWhichCast<SvxNoHyphenItem>(TypedWhichId<SvxNoHyphenItem>) const Line | Count | Source | 706 | 7 | { | 707 | 7 | (void)nId; | 708 | 7 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 7 | return *static_cast<const T*>(this); | 711 | 7 | } |
SvxAutoKernItem const& SfxPoolItem::StaticWhichCast<SvxAutoKernItem>(TypedWhichId<SvxAutoKernItem>) const Line | Count | Source | 706 | 25.8k | { | 707 | 25.8k | (void)nId; | 708 | 25.8k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 25.8k | return *static_cast<const T*>(this); | 711 | 25.8k | } |
SvxCharScaleWidthItem const& SfxPoolItem::StaticWhichCast<SvxCharScaleWidthItem>(TypedWhichId<SvxCharScaleWidthItem>) const Line | Count | Source | 706 | 184 | { | 707 | 184 | (void)nId; | 708 | 184 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 184 | return *static_cast<const T*>(this); | 711 | 184 | } |
Unexecuted instantiation: SvxOpticalSizingItem const& SfxPoolItem::StaticWhichCast<SvxOpticalSizingItem>(TypedWhichId<SvxOpticalSizingItem>) const Unexecuted instantiation: SvxFontVariationsItem const& SfxPoolItem::StaticWhichCast<SvxFontVariationsItem>(TypedWhichId<SvxFontVariationsItem>) const Unexecuted instantiation: SvxScriptHintItem const& SfxPoolItem::StaticWhichCast<SvxScriptHintItem>(TypedWhichId<SvxScriptHintItem>) const Unexecuted instantiation: SwFormatFootnote const& SfxPoolItem::StaticWhichCast<SwFormatFootnote>(TypedWhichId<SwFormatFootnote>) const Unexecuted instantiation: SwFormatField const& SfxPoolItem::StaticWhichCast<SwFormatField>(TypedWhichId<SwFormatField>) const Unexecuted instantiation: SwFormatHeader const& SfxPoolItem::StaticWhichCast<SwFormatHeader>(TypedWhichId<SwFormatHeader>) const Unexecuted instantiation: SwFormatFooter const& SfxPoolItem::StaticWhichCast<SwFormatFooter>(TypedWhichId<SwFormatFooter>) const SwFormatDrop const& SfxPoolItem::StaticWhichCast<SwFormatDrop>(TypedWhichId<SwFormatDrop>) const Line | Count | Source | 706 | 13.6k | { | 707 | 13.6k | (void)nId; | 708 | 13.6k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 13.6k | return *static_cast<const T*>(this); | 711 | 13.6k | } |
Unexecuted instantiation: SwFormatRuby const& SfxPoolItem::StaticWhichCast<SwFormatRuby>(TypedWhichId<SwFormatRuby>) const Unexecuted instantiation: SwFormatCol const& SfxPoolItem::StaticWhichCast<SwFormatCol>(TypedWhichId<SwFormatCol>) const Unexecuted instantiation: SwFormatCharFormat const& SfxPoolItem::StaticWhichCast<SwFormatCharFormat>(TypedWhichId<SwFormatCharFormat>) const Unexecuted instantiation: SwFormatFlyCnt const& SfxPoolItem::StaticWhichCast<SwFormatFlyCnt>(TypedWhichId<SwFormatFlyCnt>) const Unexecuted instantiation: SwFormatContentControl const& SfxPoolItem::StaticWhichCast<SwFormatContentControl>(TypedWhichId<SwFormatContentControl>) const Unexecuted instantiation: SwDocDisplayItem const& SfxPoolItem::StaticWhichCast<SwDocDisplayItem>(TypedWhichId<SwDocDisplayItem>) const Unexecuted instantiation: SwElemItem const& SfxPoolItem::StaticWhichCast<SwElemItem>(TypedWhichId<SwElemItem>) const Unexecuted instantiation: SwAddPrinterItem const& SfxPoolItem::StaticWhichCast<SwAddPrinterItem>(TypedWhichId<SwAddPrinterItem>) const Unexecuted instantiation: SwShadowCursorItem const& SfxPoolItem::StaticWhichCast<SwShadowCursorItem>(TypedWhichId<SwShadowCursorItem>) const Unexecuted instantiation: SwFmtAidsAutoComplItem const& SfxPoolItem::StaticWhichCast<SwFmtAidsAutoComplItem>(TypedWhichId<SwFmtAidsAutoComplItem>) const Unexecuted instantiation: SwPtrItem const& SfxPoolItem::StaticWhichCast<SwPtrItem>(TypedWhichId<SwPtrItem>) const SfxGrabBagItem const& SfxPoolItem::StaticWhichCast<SfxGrabBagItem>(TypedWhichId<SfxGrabBagItem>) const Line | Count | Source | 706 | 171k | { | 707 | 171k | (void)nId; | 708 | 171k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 171k | return *static_cast<const T*>(this); | 711 | 171k | } |
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 | 706 | 156k | { | 707 | 156k | (void)nId; | 708 | 156k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 156k | return *static_cast<const T*>(this); | 711 | 156k | } |
SvxLRSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLRSpaceItem>(TypedWhichId<SvxLRSpaceItem>) const Line | Count | Source | 706 | 2.12k | { | 707 | 2.12k | (void)nId; | 708 | 2.12k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 2.12k | return *static_cast<const T*>(this); | 711 | 2.12k | } |
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 | 706 | 22 | { | 707 | 22 | (void)nId; | 708 | 22 | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 22 | return *static_cast<const T*>(this); | 711 | 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 | 706 | 3.17k | { | 707 | 3.17k | (void)nId; | 708 | 3.17k | assert(nId == m_nWhich); | 709 | | assert(dynamic_cast<const T*>(this)); | 710 | 3.17k | return *static_cast<const T*>(this); | 711 | 3.17k | } |
Unexecuted instantiation: SvxLongLRSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLongLRSpaceItem>(TypedWhichId<SvxLongLRSpaceItem>) const Unexecuted instantiation: SvxLongULSpaceItem const& SfxPoolItem::StaticWhichCast<SvxLongULSpaceItem>(TypedWhichId<SvxLongULSpaceItem>) const Unexecuted instantiation: XColorItem const& SfxPoolItem::StaticWhichCast<XColorItem>(TypedWhichId<XColorItem>) const Unexecuted instantiation: SvxPageItem const& SfxPoolItem::StaticWhichCast<SvxPageItem>(TypedWhichId<SvxPageItem>) const |
712 | | // DynamicWhichCast returns nullptr if the TypedWhichId is not matching its type, otherwise it returns a typed pointer. |
713 | | // it asserts if the TypedWhichId matches its Which, but not the RTTI type. |
714 | | // You can use DynamicWhichCast when you are not sure about the type at compile time -- like a dynamic_cast. |
715 | | template<class T> T* DynamicWhichCast(TypedWhichId<T> nId) |
716 | | { |
717 | | if(m_nWhich != nId) |
718 | | return nullptr; |
719 | | assert(dynamic_cast<T*>(this)); |
720 | | return static_cast<T*>(this); |
721 | | } |
722 | | template<class T> const T* DynamicWhichCast(TypedWhichId<T> nId) const |
723 | 0 | { |
724 | 0 | if(m_nWhich != nId) |
725 | 0 | return nullptr; |
726 | 0 | assert(dynamic_cast<const T*>(this)); |
727 | 0 | return static_cast<const T*>(this); |
728 | 0 | } Unexecuted instantiation: SvxWordLineModeItem const* SfxPoolItem::DynamicWhichCast<SvxWordLineModeItem>(TypedWhichId<SvxWordLineModeItem>) const Unexecuted instantiation: SvxTextLeftMarginItem const* SfxPoolItem::DynamicWhichCast<SvxTextLeftMarginItem>(TypedWhichId<SvxTextLeftMarginItem>) const |
729 | | virtual bool operator==( const SfxPoolItem& ) const = 0; |
730 | | bool operator!=( const SfxPoolItem& rItem ) const |
731 | 27.6M | { return !(*this == rItem); } |
732 | | // Used by HashedItemInstanceManager |
733 | | virtual bool supportsHashCode() const; |
734 | | virtual size_t hashCode() const; |
735 | | |
736 | | /** @return true if it has a valid string representation */ |
737 | | virtual bool GetPresentation( SfxItemPresentation ePresentation, |
738 | | MapUnit eCoreMetric, |
739 | | MapUnit ePresentationMetric, |
740 | | OUString &rText, |
741 | | const IntlWrapper& rIntlWrapper ) const; |
742 | | |
743 | | virtual void ScaleMetrics( double fScale ); |
744 | | virtual bool HasMetrics() const; |
745 | | |
746 | | virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; |
747 | | virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ); |
748 | | |
749 | | virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const = 0; |
750 | | // clone and call SetWhich |
751 | | std::unique_ptr<SfxPoolItem> CloneSetWhich( sal_uInt16 nNewWhich ) const; |
752 | | template<class T> std::unique_ptr<T> CloneSetWhich( TypedWhichId<T> nId ) const |
753 | 57.8k | { |
754 | 57.8k | return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId)); |
755 | 57.8k | } std::__1::unique_ptr<SvxFontHeightItem, std::__1::default_delete<SvxFontHeightItem> > SfxPoolItem::CloneSetWhich<SvxFontHeightItem>(TypedWhichId<SvxFontHeightItem>) const Line | Count | Source | 753 | 57.8k | { | 754 | 57.8k | return std::unique_ptr<T>(&CloneSetWhich(sal_uInt16(nId)).release()->StaticWhichCast(nId)); | 755 | 57.8k | } |
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 |
756 | | |
757 | 1.53G | sal_uInt32 GetRefCount() const { return m_nRefCount; } |
758 | | virtual void dumpAsXml(xmlTextWriterPtr pWriter) const; |
759 | | virtual boost::property_tree::ptree dumpAsJSON() const; |
760 | | |
761 | | private: |
762 | | SfxPoolItem& operator=( const SfxPoolItem& ) = delete; |
763 | | }; |
764 | | |
765 | | // basic Interface definition |
766 | | class SVL_DLLPUBLIC ItemInstanceManager |
767 | | { |
768 | | // allow *only* ItemSetTooling to access |
769 | | friend SfxPoolItem const* implCreateItemEntry(const SfxItemPool&, SfxPoolItem const*, bool); |
770 | | friend void implCleanupItemEntry(SfxPoolItem const*); |
771 | | |
772 | | // Define for which SfxItemType to register |
773 | | SfxItemType m_aSfxItemType; |
774 | | |
775 | | public: |
776 | | ItemInstanceManager(SfxItemType aSfxItemType) |
777 | 640 | : m_aSfxItemType(aSfxItemType) |
778 | 640 | { |
779 | 640 | } |
780 | 244 | virtual ~ItemInstanceManager() = default; |
781 | | |
782 | 81.2M | SfxItemType ItemType() const { return m_aSfxItemType; } |
783 | | |
784 | | private: |
785 | | // standard interface, accessed exclusively |
786 | | // by implCreateItemEntry/implCleanupItemEntry |
787 | | virtual const SfxPoolItem* find(const SfxPoolItem&) const = 0; |
788 | | virtual void add(const SfxPoolItem&) = 0; |
789 | | virtual void remove(const SfxPoolItem&) = 0; |
790 | | }; |
791 | | |
792 | | // offering a default implementation that can be used for |
793 | | // each SfxPoolItem (except when !isShareable()). It just |
794 | | // uses an unordered_set holding ptrs to SfxPoolItems added |
795 | | // and SfxPoolItem::operator== to linearly search for one. |
796 | | // Thus this is not the fastest, but as fast as old 'pooled' |
797 | | // stuff - better use an intelligent, per-Item implementation |
798 | | // that does e.g. hashing or whatever might be feasible for |
799 | | // that specific Item (see other derivations) |
800 | | class SVL_DLLPUBLIC DefaultItemInstanceManager final : public ItemInstanceManager |
801 | | { |
802 | | std::unordered_map<sal_uInt16, std::unordered_set<const SfxPoolItem*>> maRegistered; |
803 | | |
804 | | public: |
805 | | DefaultItemInstanceManager(SfxItemType aSfxItemType) |
806 | 297 | : ItemInstanceManager(aSfxItemType) |
807 | 297 | , maRegistered() |
808 | 297 | { |
809 | 297 | } |
810 | | |
811 | | private: |
812 | | virtual const SfxPoolItem* find(const SfxPoolItem&) const override; |
813 | | virtual void add(const SfxPoolItem&) override; |
814 | | virtual void remove(const SfxPoolItem&) override; |
815 | | }; |
816 | | |
817 | | /** |
818 | | Utility template to reduce boilerplate code when creating item instance managers |
819 | | for specific PoolItem subclasses that can be hashed which is faster than using |
820 | | the linear search with operator== that DefaultItemInstanceManager has to do |
821 | | */ |
822 | | class HashedItemInstanceManager final : public ItemInstanceManager |
823 | | { |
824 | | struct ItemHash { |
825 | | size_t operator()(const SfxPoolItem* p) const |
826 | 78.1M | { |
827 | 78.1M | return p->hashCode(); |
828 | 78.1M | } |
829 | | }; |
830 | | struct ItemEqual { |
831 | | bool operator()(const SfxPoolItem* lhs, const SfxPoolItem* rhs) const |
832 | 189M | { |
833 | 189M | return lhs->Which() == rhs->Which() && (*lhs) == (*rhs); |
834 | 189M | } |
835 | | }; |
836 | | |
837 | | std::unordered_set<const SfxPoolItem*, ItemHash, ItemEqual> maRegistered; |
838 | | |
839 | | public: |
840 | | HashedItemInstanceManager(SfxItemType aSfxItemType) |
841 | 323 | : ItemInstanceManager(aSfxItemType) |
842 | 323 | , maRegistered(0, ItemHash(), ItemEqual()) |
843 | 323 | { |
844 | 323 | } |
845 | | |
846 | | // standard interface, accessed exclusively |
847 | | // by implCreateItemEntry/implCleanupItemEntry |
848 | | virtual const SfxPoolItem* find(const SfxPoolItem& rItem) const override final |
849 | 60.8M | { |
850 | 60.8M | auto aHit(maRegistered.find(&rItem)); |
851 | 60.8M | if (aHit != maRegistered.end()) |
852 | 51.6M | return *aHit; |
853 | 9.23M | return nullptr; |
854 | 60.8M | } |
855 | | virtual void add(const SfxPoolItem& rItem) override final |
856 | 9.23M | { |
857 | 9.23M | maRegistered.insert(&rItem); |
858 | 9.23M | } |
859 | | virtual void remove(const SfxPoolItem& rItem) override final |
860 | 9.24M | { |
861 | 9.24M | maRegistered.erase(&rItem); |
862 | 9.24M | } |
863 | | }; |
864 | | |
865 | | |
866 | | inline bool IsStaticDefaultItem(const SfxPoolItem *pItem ) |
867 | 7.96k | { |
868 | 7.96k | return pItem && pItem->isStaticDefault(); |
869 | 7.96k | } |
870 | | |
871 | | inline bool IsDynamicDefaultItem(const SfxPoolItem *pItem ) |
872 | 0 | { |
873 | 0 | return pItem && pItem->isDynamicDefault(); |
874 | 0 | } |
875 | | |
876 | | inline bool IsDefaultItem( const SfxPoolItem *pItem ) |
877 | 0 | { |
878 | 0 | return pItem && (pItem->isStaticDefault() || pItem->isDynamicDefault()); |
879 | 0 | } |
880 | | |
881 | | SVL_DLLPUBLIC extern SfxPoolItem const * const INVALID_POOL_ITEM; |
882 | | SVL_DLLPUBLIC extern SfxPoolItem const * const DISABLED_POOL_ITEM; |
883 | | |
884 | | inline bool IsInvalidItem(const SfxPoolItem *pItem) |
885 | 3.21G | { |
886 | 3.21G | return pItem == INVALID_POOL_ITEM; |
887 | 3.21G | } |
888 | | |
889 | | inline bool IsDisabledItem(const SfxPoolItem *pItem) |
890 | 3.23G | { |
891 | 3.23G | return pItem == DISABLED_POOL_ITEM; |
892 | 3.23G | } |
893 | | |
894 | | SVL_DLLPUBLIC bool areSfxPoolItemPtrsEqual(const SfxPoolItem* pItem1, const SfxPoolItem* pItem2); |
895 | | |
896 | | class SVL_DLLPUBLIC SfxPoolItemHint final : public SfxHint |
897 | | { |
898 | | SfxPoolItem* pObj; |
899 | | public: |
900 | 820k | explicit SfxPoolItemHint( SfxPoolItem* Object ) : SfxHint(SfxHintId::PoolItem), pObj(Object) {} |
901 | 0 | SfxPoolItem* GetObject() const { return pObj; } |
902 | | }; |
903 | | |
904 | | #endif |
905 | | |
906 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |