LibreOffice Module sw (master) 1
hintids.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef INCLUDED_SW_INC_HINTIDS_HXX
20#define INCLUDED_SW_INC_HINTIDS_HXX
21
22#include <sal/types.h>
23#include <rtl/ustring.hxx>
24#include <svx/xdef.hxx>
25#include "swdllapi.h"
26#include <svl/typedwhich.hxx>
27#include <svl/whichranges.hxx>
28#include <vector>
29
30class SfxStringItem;
31class SwFormatChg;
32class SwUpdateAttr;
33class SwAttrSetChg;
34class SwDocPosUpdate;
35class SwFormatMeta;
38class SwMsgPoolItem;
40class SfxBoolItem;
41class SvxColorItem;
42class SvxLRSpaceItem;
44class SfxGrabBagItem;
45class SfxInt16Item;
46class SfxUInt16Item;
47class SvxAdjustItem;
48class SvxAutoKernItem;
49class SvxBlinkItem;
50class SvxBoxItem;
51class SvxBrushItem;
52class SvxCaseMapItem;
57class SvxContourItem;
62class SvxFontItem;
70class SvxKerningItem;
71class SvxLanguageItem;
73class SvxNoHyphenItem;
74class SvxOpaqueItem;
75class SvxOrphansItem;
76class SvxOverlineItem;
77class SvxPaperBinItem;
78class SvxParaGridItem;
80class SvxPostureItem;
81class SvxPrintItem;
82class SvxProtectItem;
83class SvxRsidItem;
85class SvxShadowedItem;
86class SvxShadowItem;
87class SvxTabStopItem;
88class SvxTwoLinesItem;
89class SvxULSpaceItem;
91class SvxWeightItem;
92class SvxWidowsItem;
94class SwChannelBGrf;
95class SwChannelGGrf;
96class SwChannelRGrf;
97class SwContrastGrf;
98class SwCropGrf;
99class SwDrawModeGrf;
100class SwFormatAnchor;
102class SwFormatChain;
104class SwFormatCol;
105class SwFormatDrop;
108class SwFormatFlyCnt;
117class SwFormatPageDesc;
118class SwFormatRowSplit;
119class SwFormatSurround;
120class SwFormatURL;
123class SwGammaGrf;
125class SwInvertGrf;
126class SwLuminanceGrf;
127class SwMirrorGrf;
128class SwNumRuleItem;
130class SwRegisterItem;
131class SwRotationGrf;
133class SwTextGridItem;
135class SwFormatRuby;
136class SwInsText;
137class SwDelChr;
138class SwDelText;
145class SwFltAnchor;
146class SwFltTOX;
147class SwFltRedline;
148class SwFltRDFMark;
149class SwCharFormat;
152class SwFlyFrameFormat;
153class SwFormatField;
154class SwFormatFootnote;
156class SwFormatRefMark;
157class SwGrfFormatColl;
158class SwTextFormatColl;
159class SwTOXMark;
160class CntUInt16Item;
162class SwFormatHeader;
163class SwFormatFooter;
164class SwFormatContent;
165class SvxMacroItem;
167class SwTableBoxValue;
168class SwFrameFormat;
169class SfxVoidItem;
170
171// For SwTextHints without end index the following char is added:
172
173#define CH_TXTATR_BREAKWORD u'\x0001'
174#define CH_TXTATR_INWORD u'\xFFF9'
175#define CH_TXTATR_TAB u'\t'
176#define CH_TXTATR_NEWLINE u'\n'
177#define CH_TXT_ATR_INPUTFIELDSTART u'\x0004'
178#define CH_TXT_ATR_INPUTFIELDEND u'\x0005'
179
180#define CH_TXT_ATR_FORMELEMENT u'\x0006'
181
182#define CH_TXT_ATR_FIELDSTART u'\x0007'
183#define CH_TXT_ATR_FIELDSEP u'\x0003'
184#define CH_TXT_ATR_FIELDEND u'\x0008'
185inline constexpr OUStringLiteral CH_TXT_ATR_SUBST_FIELDSTART = u"[";
186inline constexpr OUStringLiteral CH_TXT_ATR_SUBST_FIELDEND = u"]";
187
188// a non-visible dummy character to track deleted tables,
189// table rows, and images anchored to characters
190#define CH_TXT_TRACKED_DUMMY_CHAR u'\x200D'
191
192/*
193 * Enums for the hints
194 */
195
196constexpr sal_uInt16 HINT_BEGIN = 1;
197
198constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN);
199
200// Ranges for the IDs of the format-attributes.
201// Which-values for character-format attributes.
202constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN);
248constexpr sal_uInt16 RES_CHRATR_END(46);
249
250// this Attribute used only in a TextNodes SwpAttr-Array
251constexpr sal_uInt16 RES_TXTATR_BEGIN(RES_CHRATR_END);
252
281constexpr sal_uInt16 RES_TXTATR_WITHEND_END(57);
282
283// all TextAttributes without an end
291constexpr sal_uInt16 RES_TXTATR_NOEND_END(63);
293
294constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END);
314constexpr sal_uInt16 RES_PARATR_END(82);
315
316// list attributes for paragraphs.
317// intentionally these list attributes are not contained in paragraph styles
325 RES_PARATR_LIST_AUTOFMT(87); //TypedWhichId<SfxSetItem>(87)
326constexpr sal_uInt16 RES_PARATR_LIST_END(88);
327
374constexpr sal_uInt16 RES_FRMATR_END(133);
375
376constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END);
379
390
396constexpr sal_uInt16 RES_GRFATR_END(150);
397
398constexpr sal_uInt16 RES_BOXATR_BEGIN(RES_GRFATR_END);
402constexpr sal_uInt16 RES_BOXATR_END(153);
403
407constexpr sal_uInt16 RES_UNKNOWNATR_END(154);
408
409constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END);
410
411// Format IDs
412constexpr sal_uInt16 RES_FMT_BEGIN(RES_UNKNOWNATR_END);
420constexpr sal_uInt16 RES_FMT_END(161);
421
422// ID's for Messages in the Formats
423constexpr sal_uInt16 RES_MSG_BEGIN(RES_FMT_END);
443// empty
451constexpr sal_uInt16 RES_MSG_END(190);
452
453// An ID for the RTF-reader. The stylesheets are treated like attributes,
454// i.e. there is a StyleSheet-attribute. To avoid collision with other
455// Which()-values, the value is listed here. (The help system too defines
456// new attributes!)
457constexpr sal_uInt16 RES_FLTRATTR_BEGIN(RES_MSG_END);
465constexpr sal_uInt16 RES_FLTRATTR_END(197);
466
467constexpr sal_uInt16 RES_TBX_DUMMY(RES_FLTRATTR_END + 1);
468
470
471// Error recognition!!
472constexpr sal_uInt16 INVALID_HINT(HINT_END);
473constexpr sal_uInt16 RES_WHICHHINT_END(HINT_END);
474
475inline bool isATR(const sal_uInt16 nWhich)
476{
477 return (RES_CHRATR_BEGIN <= nWhich) && (RES_UNKNOWNATR_END > nWhich);
478}
479inline bool isCHRATR(const sal_uInt16 nWhich)
480{
481 return (RES_CHRATR_BEGIN <= nWhich) && (RES_CHRATR_END > nWhich);
482}
483inline bool isTXTATR_WITHEND(const sal_uInt16 nWhich)
484{
485 return (RES_TXTATR_WITHEND_BEGIN <= nWhich) && (RES_TXTATR_WITHEND_END > nWhich);
486}
487inline bool isTXTATR_NOEND(const sal_uInt16 nWhich)
488{
489 return (RES_TXTATR_NOEND_BEGIN <= nWhich) && (RES_TXTATR_NOEND_END > nWhich);
490}
491inline bool isTXTATR(const sal_uInt16 nWhich)
492{
493 return (RES_TXTATR_BEGIN <= nWhich) && (RES_TXTATR_END > nWhich);
494}
495inline bool isPARATR(const sal_uInt16 nWhich)
496{
497 return (RES_PARATR_BEGIN <= nWhich) && (RES_PARATR_END > nWhich);
498}
499inline bool isPARATR_LIST(const sal_uInt16 nWhich)
500{
501 return (RES_PARATR_LIST_BEGIN <= nWhich) && (RES_PARATR_LIST_END > nWhich);
502}
503inline bool isFRMATR(const sal_uInt16 nWhich)
504{
505 return (RES_FRMATR_BEGIN <= nWhich) && (RES_FRMATR_END > nWhich);
506}
507inline bool isDrawingLayerAttribute(const sal_uInt16 nWhich)
508{
509 return (XATTR_START <= nWhich) && (XATTR_END > nWhich);
510}
511inline bool isGRFATR(const sal_uInt16 nWhich)
512{
513 return (RES_GRFATR_BEGIN <= nWhich) && (RES_GRFATR_END > nWhich);
514}
515inline bool isBOXATR(const sal_uInt16 nWhich)
516{
517 return (RES_BOXATR_BEGIN <= nWhich) && (RES_BOXATR_END > nWhich);
518}
519inline bool isUNKNOWNATR(const sal_uInt16 nWhich)
520{
521 return (RES_UNKNOWNATR_BEGIN <= nWhich) && (RES_UNKNOWNATR_END > nWhich);
522}
523
524// Take the respective default attribute from the statistical default
525// attributes table over the Which-value.
526// If none exists, return a 0 pointer!!!
527// This function is implemented in Init.cxx. It is declared here as external
528// in order to allow the formats to access it.
529// Inline in PRODUCT.
530class SfxPoolItem;
531struct SfxItemInfo;
532typedef std::vector<SfxPoolItem*> SwDfltAttrTab;
533
535extern SfxItemInfo aSlotTab[];
536
542SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr(sal_uInt16 nWhich);
543
544template <class T> inline const T* GetDfltAttr(TypedWhichId<T> nWhich)
545{
546 return static_cast<const T*>(GetDfltAttr(sal_uInt16(nWhich)));
547}
548
549SW_DLLPUBLIC sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript);
550
551template <class T>
552inline TypedWhichId<T> GetWhichOfScript(TypedWhichId<T> nWhich, sal_uInt16 nScript)
553{
554 return TypedWhichId<T>(GetWhichOfScript(sal_uInt16(nWhich), nScript));
555}
556
557// return for the given TextAttribute without an end the correct character.
558// This function returns
559// CH_TXTATR_BREAKWORD for Textattribute which breaks a word (default)
560// CH_TXTATR_INWORD for Textattribute which doesn't breaks a word
561class SwTextAttr;
563
564// all Sets defined in init.cxx
565
566// AttrSet-Range for the 3 Break-Attribute
568// AttrSet-Range for TextFormatColl
570// AttrSet-Range for GrfFormatColl
572// AttrSet-Range for TextNode
574// AttrSet-Range for NoTextNode
576// AttrSet-Range for SwTable
578// AttrSet-Range for SwTableLine
580// AttrSet-Range for SwTableBox
582// AttrSet-Range for SwFrameFormat
584// AttrSet-Range for SwCharFormat
586// AttrSet-Range for the autostyles
588// AttrSet-Range for SwPageDescFormat
590
591// check if ID is InRange of AttrSet-Ids
592bool IsInRange(const WhichRangesContainer& pRange, const sal_uInt16 nId);
593
594#endif
595
596/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Represents the style of a text portion.
Definition: charfmt.hxx:27
SwDocPosUpdate is sent to signal that only the frames from or to a specified document-global position...
Definition: hints.hxx:247
Stores RDF statements on a paragraph (key-value pairs where the subject is the paragraph).
Definition: fltshell.hxx:244
FlyAnchors.
Definition: fmtanchr.hxx:37
Connection (text flow) between two FlyFrames.
Definition: fmtcnct.hxx:32
SfxPoolItem subclass that wraps an SwContentControl.
Content, content of frame (header, footer, fly).
Definition: fmtcntnt.hxx:32
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps.
Definition: paratr.hxx:63
Format of a fly content.
Definition: fmtflcnt.hxx:33
Footer, for pageformats Client of FrameFormat describing the footer.
Definition: fmthdft.hxx:65
Header, for PageFormats Client of FrameFormat describing the header.
Definition: fmthdft.hxx:34
SfxPoolItem subclass that wraps an SwLineBreakClear.
If text in multi-column sections should be evenly distributed.
Definition: fmtclbl.hxx:29
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
Definition: fmtpdsc.hxx:36
Allows positioning of floating screen objects without considering their own wrapping type and the wra...
Style of a layout element.
Definition: frmfmt.hxx:62
SwRefMarkFieldUpdate is sent when the referencemarks should be updated.
Definition: hints.hxx:233
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
Definition: txatbase.hxx:44
Represents the style of a paragraph.
Definition: fmtcol.hxx:59
float u
WhichRangesContainer const aTableSetRange
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(120)
constexpr TypedWhichId< SwFormatHeader > RES_HEADER(96)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_REMOVE_UNO_OBJECT(181)
constexpr TypedWhichId< SvxShadowItem > RES_SHADOW(107)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(94)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY1(145)
constexpr TypedWhichId< SwVirtPageNumInfo > RES_VIRTPAGENUM_INFO(180)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
constexpr OUStringLiteral CH_TXT_ATR_SUBST_FIELDSTART
Definition: hintids.hxx:185
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(99)
constexpr TypedWhichId< SvxCrossedOutItem > RES_CHRATR_CROSSEDOUT(5)
constexpr TypedWhichId< SwFormatNoBalancedColumns > RES_COLUMNBALANCE(119)
constexpr TypedWhichId< SwRefMarkFieldUpdate > RES_REFMARKFLD_UPDATE(168)
std::vector< SfxPoolItem * > SwDfltAttrTab
Definition: hintids.hxx:531
constexpr TypedWhichId< SwFltAnchor > RES_FLTR_ANCHOR(191)
SW_DLLPUBLIC const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
Definition: hints.cxx:157
constexpr TypedWhichId< SfxStringItem > RES_PARATR_LIST_ID(RES_PARATR_LIST_BEGIN)
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SwMsgPoolItem > RES_SECTION_HIDDEN(174)
constexpr sal_uInt16 RES_MSG_BEGIN(RES_FMT_END)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
WhichRangesContainer const aTableLineSetRange
bool isTXTATR_WITHEND(const sal_uInt16 nWhich)
Definition: hintids.hxx:483
constexpr TypedWhichId< SwGrfFormatColl > RES_GRFFMTCOLL(158)
constexpr TypedWhichId< SwLuminanceGrf > RES_GRFATR_LUMINANCE(136)
bool isTXTATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:491
constexpr TypedWhichId< SwFormatFootnote > RES_TXTATR_FTN(59)
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
bool isUNKNOWNATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:519
bool isCHRATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:479
constexpr sal_uInt16 RES_MSG_END(190)
constexpr TypedWhichId< SfxBoolItem > RES_RTL_GUTTER(132)
constexpr TypedWhichId< CntUInt16Item > RES_FLTR_ANNOTATIONMARK(195)
constexpr TypedWhichId< SvxAutoKernItem > RES_CHRATR_AUTOKERN(17)
constexpr sal_uInt16 RES_FRMATR_END(133)
constexpr TypedWhichId< SwMsgPoolItem > RES_HIDDENPARA_PRINT(178)
constexpr TypedWhichId< SvxShadowItem > RES_CHRATR_SHADOW(41)
constexpr TypedWhichId< SwFlyFrameFormat > RES_FLYFRMFMT(156)
constexpr TypedWhichId< SwMsgPoolItem > RES_TBLHEADLINECHG(172)
constexpr TypedWhichId< SwFltRedline > RES_FLTR_REDLINE(194)
bool isATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:475
WhichRangesContainer const aGrfFormatCollSetRange
constexpr TypedWhichId< SwDelChr > RES_DEL_CHR(165)
constexpr TypedWhichId< SfxBoolItem > RES_COLLAPSING_BORDERS(124)
constexpr TypedWhichId< SwFormatCol > RES_COL(109)
constexpr TypedWhichId< SwFormatFollowTextFlow > RES_FOLLOW_TEXT_FLOW(123)
WhichRangesContainer const aPgFrameFormatSetRange
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY3(147)
constexpr TypedWhichId< SvxForbiddenRuleItem > RES_PARATR_FORBIDDEN_RULES(75)
constexpr TypedWhichId< SwFormatSurround > RES_SURROUND(101)
constexpr sal_uInt16 RES_TXTATR_NOEND_END(63)
constexpr sal_uInt16 RES_BOXATR_END(153)
constexpr TypedWhichId< SwFormatWrapInfluenceOnObjPos > RES_WRAP_INFLUENCE_ON_OBJPOS(125)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr sal_uInt16 RES_FLTRATTR_END(197)
bool isPARATR_LIST(const sal_uInt16 nWhich)
Definition: hintids.hxx:499
constexpr TypedWhichId< SwFindNearestNode > RES_FINDNEARESTNODE(184)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED1(12)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED2(20)
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_CONDITIONAL_STYLE_NAME(128)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SwTextGridItem > RES_TEXTGRID(115)
constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END)
constexpr TypedWhichId< SwHeaderAndFooterEatSpacingItem > RES_HEADER_FOOTER_EAT_SPACING(121)
constexpr TypedWhichId< SwStringMsgPoolItem > RES_DESCRIPTION_CHANGED(189)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
constexpr TypedWhichId< SvxShadowedItem > RES_CHRATR_SHADOWED(13)
constexpr TypedWhichId< SwTableBoxValue > RES_BOXATR_VALUE(152)
constexpr TypedWhichId< SwFormatFrameSize > RES_FRM_SIZE(89)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
bool isDrawingLayerAttribute(const sal_uInt16 nWhich)
Definition: hintids.hxx:507
constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr sal_uInt16 RES_TXTATR_WITHEND_END(57)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_LEVEL(83)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_STYLE_NAME(127)
constexpr TypedWhichId< SwChannelBGrf > RES_GRFATR_CHANNELB(140)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_UNKNOWNATR_CONTAINER(RES_UNKNOWNATR_BEGIN)
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_PIECE_ARRIVED(177)
bool isTXTATR_NOEND(const sal_uInt16 nWhich)
Definition: hintids.hxx:487
constexpr TypedWhichId< SwFormatAutoFormat > RES_TXTATR_AUTOFMT(50)
constexpr TypedWhichId< SwFrameFormat > RES_FRMFMT(155)
constexpr TypedWhichId< SwFormatHoriOrient > RES_HORI_ORIENT(103)
constexpr TypedWhichId< SwFormatAutoFormat > RES_AUTO_STYLE(126)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_RESTARTVALUE(85)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_BIDIRTL(44)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY5(149)
sal_Unicode GetCharOfTextAttr(const SwTextAttr &rAttr)
Definition: thints.cxx:3529
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_HIGHLIGHT(42)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(93)
constexpr TypedWhichId< SvxHyphenZoneItem > RES_PARATR_HYPHENZONE(69)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SwInvertGrf > RES_GRFATR_INVERT(142)
constexpr TypedWhichId< SvxContourItem > RES_CHRATR_CONTOUR(4)
constexpr TypedWhichId< SvxCharReliefItem > RES_CHRATR_RELIEF(36)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(92)
constexpr sal_uInt16 RES_PARATR_END(82)
constexpr TypedWhichId< SvxCharHiddenItem > RES_CHRATR_HIDDEN(37)
constexpr TypedWhichId< SvxEscapementItem > RES_CHRATR_ESCAPEMENT(6)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_CHARSETCOLOR(2)
constexpr TypedWhichId< SvxMacroItem > RES_FRMMACRO(108)
constexpr TypedWhichId< SwFormatAnchor > RES_ANCHOR(104)
constexpr TypedWhichId< SvxTabStopItem > RES_PARATR_TABSTOP(68)
constexpr TypedWhichId< SwChannelGGrf > RES_GRFATR_CHANNELG(139)
constexpr TypedWhichId< SwFormatFooter > RES_FOOTER(97)
constexpr TypedWhichId< SwFormatFillOrder > RES_FILL_ORDER(RES_FRMATR_BEGIN)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_MSG_BEGIN)
constexpr TypedWhichId< SvxCharScaleWidthItem > RES_CHRATR_SCALEW(35)
constexpr sal_uInt16 RES_TXTATR_BEGIN(RES_CHRATR_END)
constexpr TypedWhichId< SwDelText > RES_DEL_TXT(166)
constexpr sal_uInt16 RES_BOXATR_BEGIN(RES_GRFATR_END)
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_BACKGROUND(21)
constexpr TypedWhichId< SwContrastGrf > RES_GRFATR_CONTRAST(137)
SW_DLLPUBLIC WhichRangesContainer const aTextNodeSetRange
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
constexpr OUStringLiteral CH_TXT_ATR_SUBST_FIELDEND
Definition: hintids.hxx:186
constexpr TypedWhichId< SvxLineSpacingItem > RES_PARATR_LINESPACING(RES_PARATR_BEGIN)
constexpr TypedWhichId< SwTableBoxFormula > RES_BOXATR_FORMULA(151)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_ANNOTATION(60)
constexpr TypedWhichId< SwFormatContent > RES_CNTNT(95)
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
constexpr sal_uInt16 RES_WHICHHINT_END(HINT_END)
constexpr TypedWhichId< SwDrawFrameFormat > RES_DRAWFRMFMT(159)
WhichRangesContainer const aCharFormatSetRange
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY2(146)
WhichRangesContainer const aTextFormatCollSetRange
constexpr TypedWhichId< SwDocPosUpdate > RES_DOCPOS_UPDATE(169)
constexpr TypedWhichId< SwFormatRowSplit > RES_ROW_SPLIT(122)
constexpr sal_uInt16 HINT_BEGIN
Definition: hintids.hxx:196
constexpr TypedWhichId< SvxEmphasisMarkItem > RES_CHRATR_EMPHASIS_MARK(33)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SwGammaGrf > RES_GRFATR_GAMMA(141)
constexpr TypedWhichId< SwFormatURL > RES_URL(111)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(162)
constexpr TypedWhichId< SwCharFormat > RES_CHRFMT(RES_FMT_BEGIN)
constexpr TypedWhichId< SfxStringItem > RES_FLTR_BOOKMARK(RES_FLTRATTR_BEGIN)
SwDfltAttrTab aAttrTab
constexpr TypedWhichId< SfxStringItem > HINT_END(RES_TBX_DUMMY)
constexpr TypedWhichId< SwNumRuleItem > RES_PARATR_NUMRULE(72)
constexpr TypedWhichId< SwFormatContentControl > RES_TXTATR_CONTENTCONTROL(56)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_FIELD(RES_TXTATR_NOEND_BEGIN)
constexpr TypedWhichId< SvxHangingPunctuationItem > RES_PARATR_HANGINGPUNCTUATION(74)
constexpr TypedWhichId< SfxBoolItem > RES_BACKGROUND_FULL_SIZE(131)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SwMirrorGrf > RES_GRFATR_MIRRORGRF(RES_GRFATR_BEGIN)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(163)
SW_DLLPUBLIC WhichRangesContainer const aFrameFormatSetRange
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_IDCTHINT(45)
constexpr TypedWhichId< SvxBlinkItem > RES_CHRATR_BLINK(18)
constexpr TypedWhichId< SvxOverlineItem > RES_CHRATR_OVERLINE(38)
constexpr TypedWhichId< SwTableBoxNumFormat > RES_BOXATR_FORMAT(RES_BOXATR_BEGIN)
constexpr TypedWhichId< SfxGrabBagItem > RES_FRMATR_GRABBAG(129)
constexpr TypedWhichId< SwTableFormulaUpdate > RES_TABLEFML_UPDATE(170)
constexpr sal_uInt16 RES_TXTATR_WITHEND_BEGIN(RES_TXTATR_BEGIN)
text attributes with start and end.
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(173)
constexpr sal_uInt16 RES_UNKNOWNATR_BEGIN(RES_BOXATR_END)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(167)
constexpr TypedWhichId< SwStringMsgPoolItem > RES_NAME_CHANGED(187)
constexpr sal_uInt16 RES_TXTATR_NOEND_BEGIN(RES_TXTATR_WITHEND_END)
constexpr TypedWhichId< SvxParaVertAlignItem > RES_PARATR_VERTALIGN(76)
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
constexpr TypedWhichId< SwTextFormatColl > RES_TXTFMTCOLL(157)
constexpr TypedWhichId< SwFormatFlyCnt > RES_TXTATR_FLYCNT(58)
SfxItemInfo aSlotTab[]
Definition: init.cxx:261
constexpr TypedWhichId< SvxParaGridItem > RES_PARATR_SNAPTOGRID(77)
WhichRangesContainer const aCharAutoFormatSetRange
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
constexpr sal_uInt16 RES_UNKNOWNATR_END(154)
constexpr TypedWhichId< SwMsgPoolItem > RES_SECTION_NOT_HIDDEN(175)
constexpr TypedWhichId< SwFormatLineBreak > RES_TXTATR_LINEBREAK(61)
WhichRangesContainer const aTableBoxSetRange
constexpr TypedWhichId< SvxRsidItem > RES_CHRATR_RSID(39)
constexpr sal_uInt16 RES_PARATR_LIST_END(88)
constexpr TypedWhichId< SwFormatAutoFormat > RES_PARATR_LIST_AUTOFMT(87)
constexpr TypedWhichId< SvxPrintItem > RES_PRINT(98)
bool isFRMATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:503
bool isBOXATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:515
constexpr TypedWhichId< SwFormatDrop > RES_PARATR_DROP(70)
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(100)
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY1(62)
constexpr TypedWhichId< SfxGrabBagItem > RES_CHRATR_GRABBAG(43)
constexpr sal_uInt16 INVALID_HINT(HINT_END)
constexpr TypedWhichId< SwInsText > RES_INS_TXT(164)
constexpr TypedWhichId< SwFormatEndAtTextEnd > RES_END_AT_TXTEND(118)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_METAFIELD(49)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_TXTATR_UNKNOWN_CONTAINER(54)
constexpr TypedWhichId< SwFormatFootnoteAtTextEnd > RES_FTN_AT_TXTEND(117)
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_SWAPIN(186)
constexpr TypedWhichId< SwMsgPoolItem > RES_LINKED_GRAPHIC_STREAM_ARRIVED(189)
constexpr sal_uInt16 RES_GRFATR_END(150)
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(110)
constexpr TypedWhichId< SvxWordLineModeItem > RES_CHRATR_WORDLINEMODE(16)
constexpr TypedWhichId< SwParaConnectBorderItem > RES_PARATR_CONNECT_BORDER(78)
constexpr TypedWhichId< SwFormatChain > RES_CHAIN(114)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_CONTENT_VISIBLE(185)
constexpr TypedWhichId< SfxGrabBagItem > RES_PARATR_GRABBAG(81)
constexpr TypedWhichId< SwFormatRefMark > RES_TXTATR_REFMARK(RES_TXTATR_WITHEND_BEGIN)
constexpr TypedWhichId< SwMsgPoolItem > RES_UPDATEDDETBL(171)
constexpr TypedWhichId< SwChannelRGrf > RES_GRFATR_CHANNELR(138)
constexpr TypedWhichId< SvxKerningItem > RES_CHRATR_KERNING(9)
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_META(48)
constexpr TypedWhichId< SwFormatLineNumber > RES_LINENUMBER(116)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SfxUInt16Item > RES_PARATR_OUTLINELEVEL(79)
SW_DLLPUBLIC sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
Definition: hints.cxx:194
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISCOUNTED(86)
constexpr TypedWhichId< SwCropGrf > RES_GRFATR_CROPGRF(134)
WhichRangesContainer const aNoTextNodeSetRange
constexpr TypedWhichId< SwFltTOX > RES_FLTR_TOX(193)
constexpr TypedWhichId< SwFormatVertOrient > RES_VERT_ORIENT(102)
constexpr TypedWhichId< SvxTwoLinesItem > RES_CHRATR_TWO_LINES(34)
WhichRangesContainer const aBreakSetRange
constexpr TypedWhichId< SvxFormatSplitItem > RES_PARATR_SPLIT(65)
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(160)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY4(148)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
constexpr TypedWhichId< SwRegisterItem > RES_PARATR_REGISTER(71)
constexpr TypedWhichId< SdrTextVertAdjustItem > RES_TEXT_VERT_ADJUST(130)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
constexpr TypedWhichId< SwDrawModeGrf > RES_GRFATR_DRAWMODE(144)
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISRESTART(84)
constexpr TypedWhichId< SvxPaperBinItem > RES_PAPER_BIN(90)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(91)
constexpr TypedWhichId< SvxRsidItem > RES_PARATR_RSID(80)
constexpr TypedWhichId< SwTOXMark > RES_TXTATR_TOXMARK(47)
constexpr TypedWhichId< SvxBoxItem > RES_CHRATR_BOX(40)
bool isPARATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:495
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_INPUTFIELD(55)
constexpr TypedWhichId< SwStringMsgPoolItem > RES_TITLE_CHANGED(188)
bool IsInRange(const WhichRangesContainer &pRange, const sal_uInt16 nId)
check if ID is in range of attribute set IDs
Definition: swatrset.cxx:451
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_COLOR(3)
constexpr TypedWhichId< SwFltRDFMark > RES_FLTR_RDFMARK(196)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(135)
constexpr sal_uInt16 RES_FMT_END(161)
constexpr sal_uInt16 RES_TXTATR_END(RES_TXTATR_NOEND_END)
constexpr sal_uInt16 RES_TBX_DUMMY(RES_FLTRATTR_END+1)
constexpr sal_uInt16 RES_FLTRATTR_BEGIN(RES_MSG_END)
constexpr sal_uInt16 RES_FMT_BEGIN(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SwFormatLayoutSplit > RES_LAYOUT_SPLIT(113)
constexpr TypedWhichId< SwFormatEditInReadonly > RES_EDIT_IN_READONLY(112)
constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SfxStringItem > RES_FLTR_NUMRULE(192)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(105)
constexpr TypedWhichId< SvxNoHyphenItem > RES_CHRATR_NOHYPHEN(19)
bool isGRFATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:511
constexpr TypedWhichId< SwTransparencyGrf > RES_GRFATR_TRANSPARENCY(143)
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
sal_uInt16 sal_Unicode
constexpr sal_uInt16 XATTR_START
constexpr sal_uInt16 XATTR_END