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