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 <vector>
27 
28 class SfxStringItem;
29 class SwFormatChg;
30 class SwUpdateAttr;
31 class SwAttrSetChg;
32 class SwDocPosUpdate;
33 class SwFormatMeta;
35 class SwMsgPoolItem;
36 class SwPtrMsgPoolItem;
37 class SfxBoolItem;
38 class SvxColorItem;
39 class SvxLRSpaceItem;
41 class SfxGrabBagItem;
42 class SfxInt16Item;
43 class SfxUInt16Item;
44 class SvxAdjustItem;
45 class SvxAutoKernItem;
46 class SvxBlinkItem;
47 class SvxBoxItem;
48 class SvxBrushItem;
49 class SvxCaseMapItem;
50 class SvxCharHiddenItem;
51 class SvxCharReliefItem;
52 class SvxCharRotateItem;
54 class SvxContourItem;
55 class SvxCrossedOutItem;
57 class SvxEscapementItem;
58 class SvxFontHeightItem;
59 class SvxFontItem;
61 class SvxFormatBreakItem;
62 class SvxFormatKeepItem;
63 class SvxFormatSplitItem;
66 class SvxHyphenZoneItem;
67 class SvxKerningItem;
68 class SvxLanguageItem;
69 class SvxLineSpacingItem;
70 class SvxNoHyphenItem;
71 class SvxOpaqueItem;
72 class SvxOrphansItem;
73 class SvxOverlineItem;
74 class SvxPaperBinItem;
75 class SvxParaGridItem;
77 class SvxPostureItem;
78 class SvxPrintItem;
79 class SvxProtectItem;
80 class SvxRsidItem;
81 class SvxScriptSpaceItem;
82 class SvxShadowedItem;
83 class SvxShadowItem;
84 class SvxTabStopItem;
85 class SvxTwoLinesItem;
86 class SvxULSpaceItem;
87 class SvxUnderlineItem;
88 class SvxWeightItem;
89 class SvxWidowsItem;
91 class SwChannelBGrf;
92 class SwChannelGGrf;
93 class SwChannelRGrf;
94 class SwContrastGrf;
95 class SwCropGrf;
96 class SwDrawModeGrf;
97 class SwFormatAnchor;
98 class SwFormatAutoFormat;
99 class SwFormatChain;
100 class SwFormatCharFormat;
101 class SwFormatCol;
102 class SwFormatDrop;
105 class SwFormatFlyCnt;
108 class SwFormatFrameSize;
109 class SwFormatHoriOrient;
110 class SwFormatINetFormat;
111 class SwFormatLayoutSplit;
112 class SwFormatLineNumber;
114 class SwFormatPageDesc;
115 class SwFormatRowSplit;
116 class SwFormatSurround;
117 class SwFormatURL;
118 class SwFormatVertOrient;
120 class SwGammaGrf;
122 class SwInvertGrf;
123 class SwLuminanceGrf;
124 class SwMirrorGrf;
125 class SwNumRuleItem;
127 class SwRegisterItem;
128 class SwRotationGrf;
129 class SwTableBoxNumFormat;
130 class SwTextGridItem;
131 class SwTransparencyGrf;
132 class SwFormatRuby;
133 class SwInsText;
134 class SwDelChr;
135 class SwDelText;
139 class SwCondCollCondChg;
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 /*
186  * Enums for the hints
187  */
188 
189 constexpr sal_uInt16 HINT_BEGIN = 1;
190 
191 constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN);
192 
193 // Ranges for the IDs of the format-attributes.
194 // Which-values for character-format attributes.
195 constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN);
241 constexpr sal_uInt16 RES_CHRATR_END(46);
242 
243 // this Attribute used only in a TextNodes SwpAttr-Array
244 constexpr sal_uInt16 RES_TXTATR_BEGIN(RES_CHRATR_END);
245 
262 constexpr sal_uInt16 RES_TXTATR_WITHEND_BEGIN(RES_TXTATR_BEGIN);
273 constexpr sal_uInt16 RES_TXTATR_WITHEND_END(56);
274 
275 // all TextAttributes without an end
276 constexpr sal_uInt16 RES_TXTATR_NOEND_BEGIN(RES_TXTATR_WITHEND_END);
284 constexpr sal_uInt16 RES_TXTATR_NOEND_END(63);
285 constexpr sal_uInt16 RES_TXTATR_END(RES_TXTATR_NOEND_END);
286 
287 constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END);
307 constexpr sal_uInt16 RES_PARATR_END(82);
308 
309 // list attributes for paragraphs.
310 // intentionally these list attributes are not contained in paragraph styles
311 constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END);
317 constexpr TypedWhichId<SwFormatAutoFormat> RES_PARATR_LIST_AUTOFMT (87);//TypedWhichId<SfxSetItem>(87)
318 constexpr sal_uInt16 RES_PARATR_LIST_END(88);
319 
320 constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END);
339 constexpr TypedWhichId<SvxBoxItem> RES_BOX (106);
342 constexpr TypedWhichId<SwFormatCol> RES_COL (109);
344 constexpr TypedWhichId<SwFormatURL> RES_URL (111);
347 constexpr TypedWhichId<SwFormatChain> RES_CHAIN (114);
364 constexpr sal_uInt16 RES_FRMATR_END(131);
365 
366 constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END);
369 
380 
386 constexpr sal_uInt16 RES_GRFATR_END(148);
387 
388 constexpr sal_uInt16 RES_BOXATR_BEGIN(RES_GRFATR_END);
392 constexpr sal_uInt16 RES_BOXATR_END(151);
393 
394 constexpr sal_uInt16 RES_UNKNOWNATR_BEGIN(RES_BOXATR_END);
396 constexpr sal_uInt16 RES_UNKNOWNATR_END(152);
397 
398 constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END);
399 
400 // Format IDs
401 constexpr sal_uInt16 RES_FMT_BEGIN(RES_UNKNOWNATR_END);
409 constexpr sal_uInt16 RES_FMT_END(159);
410 
411 // ID's for Messages in the Formats
412 constexpr sal_uInt16 RES_MSG_BEGIN(RES_FMT_END);
414 constexpr TypedWhichId<SwFormatChg> RES_FMT_CHG (160);
416 constexpr TypedWhichId<SwInsText> RES_INS_TXT (162);
417 constexpr TypedWhichId<SwDelChr> RES_DEL_CHR (163);
418 constexpr TypedWhichId<SwDelText> RES_DEL_TXT (164);
435 // empty
443 constexpr sal_uInt16 RES_MSG_END(188);
444 
445 // An ID for the RTF-reader. The stylesheets are treated like attributes,
446 // i.e. there is a StyleSheet-attribute. To avoid collision with other
447 // Which()-values, the value is listed here. (The help system too defines
448 // new attributes!)
449 constexpr sal_uInt16 RES_FLTRATTR_BEGIN(RES_MSG_END);
453 constexpr TypedWhichId<SwFltTOX> RES_FLTR_TOX (191);
457 constexpr sal_uInt16 RES_FLTRATTR_END(195);
458 
459 constexpr sal_uInt16 RES_TBX_DUMMY(RES_FLTRATTR_END + 1);
460 
461 constexpr sal_uInt16 HINT_END(RES_TBX_DUMMY);
462 
463 // Error recognition!!
464 constexpr sal_uInt16 INVALID_HINT(HINT_END);
465 constexpr sal_uInt16 RES_WHICHHINT_END(HINT_END);
466 
467 inline bool isATR(const sal_uInt16 nWhich)
468 {
469  return (RES_CHRATR_BEGIN <= nWhich) && (RES_UNKNOWNATR_END > nWhich);
470 }
471 inline bool isCHRATR(const sal_uInt16 nWhich)
472 {
473  return (RES_CHRATR_BEGIN <= nWhich) && (RES_CHRATR_END > nWhich);
474 }
475 inline bool isTXTATR_WITHEND(const sal_uInt16 nWhich)
476 {
477  return (RES_TXTATR_WITHEND_BEGIN <= nWhich)
478  && (RES_TXTATR_WITHEND_END > nWhich);
479 }
480 inline bool isTXTATR_NOEND(const sal_uInt16 nWhich)
481 {
482  return (RES_TXTATR_NOEND_BEGIN <= nWhich)
483  && (RES_TXTATR_NOEND_END > nWhich);
484 }
485 inline bool isTXTATR(const sal_uInt16 nWhich)
486 {
487  return (RES_TXTATR_BEGIN <= nWhich) && (RES_TXTATR_END > nWhich);
488 }
489 inline bool isPARATR(const sal_uInt16 nWhich)
490 {
491  return (RES_PARATR_BEGIN <= nWhich) && (RES_PARATR_END > nWhich);
492 }
493 inline bool isPARATR_LIST(const sal_uInt16 nWhich)
494 {
495  return (RES_PARATR_LIST_BEGIN <= nWhich) && (RES_PARATR_LIST_END > nWhich);
496 }
497 inline bool isFRMATR(const sal_uInt16 nWhich)
498 {
499  return (RES_FRMATR_BEGIN <= nWhich) && (RES_FRMATR_END > nWhich);
500 }
501 inline bool isDrawingLayerAttribute(const sal_uInt16 nWhich)
502 {
503  return (XATTR_START <= nWhich) && (XATTR_END > nWhich);
504 }
505 inline bool isGRFATR(const sal_uInt16 nWhich)
506 {
507  return (RES_GRFATR_BEGIN <= nWhich) && (RES_GRFATR_END > nWhich);
508 }
509 inline bool isBOXATR(const sal_uInt16 nWhich)
510 {
511  return (RES_BOXATR_BEGIN <= nWhich) && (RES_BOXATR_END > nWhich);
512 }
513 inline bool isUNKNOWNATR(const sal_uInt16 nWhich)
514 {
515  return (RES_UNKNOWNATR_BEGIN <= nWhich) && (RES_UNKNOWNATR_END > nWhich);
516 }
517 
518 // Take the respective default attribute from the statistical default
519 // attributes table over the Which-value.
520 // If none exists, return a 0 pointer!!!
521 // This function is implemented in Init.cxx. It is declared here as external
522 // in order to allow the formats to access it.
523 // Inline in PRODUCT.
524 class SfxPoolItem;
525 struct SfxItemInfo;
526 typedef std::vector<SfxPoolItem*> SwDfltAttrTab;
527 
528 extern SwDfltAttrTab aAttrTab;
529 extern SfxItemInfo aSlotTab[];
530 
536 SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich );
537 
538 template<class T> inline const T* GetDfltAttr( TypedWhichId<T> nWhich )
539 { return static_cast<const T*>(GetDfltAttr(sal_uInt16(nWhich))); }
540 
541 SW_DLLPUBLIC sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript );
542 
543 // return for the given TextAttribute without an end the correct character.
544 // This function returns
545 // CH_TXTATR_BREAKWORD for Textattribute which breaks a word (default)
546 // CH_TXTATR_INWORD for Textattribute which doesn't breaks a word
547 class SwTextAttr;
549 
550 // all Sets defined in init.cxx
551 
552 // AttrSet-Range for the 3 Break-Attribute
553 extern sal_uInt16 const aBreakSetRange[];
554 // AttrSet-Range for TextFormatColl
555 extern sal_uInt16 const aTextFormatCollSetRange[];
556 // AttrSet-Range for GrfFormatColl
557 extern sal_uInt16 const aGrfFormatCollSetRange[];
558 // AttrSet-Range for TextNode
559 SW_DLLPUBLIC extern sal_uInt16 const aTextNodeSetRange[];
560 // AttrSet-Range for NoTextNode
561 extern sal_uInt16 const aNoTextNodeSetRange[];
562 // AttrSet-Range for SwTable
563 extern sal_uInt16 const aTableSetRange[];
564 // AttrSet-Range for SwTableLine
565 extern sal_uInt16 const aTableLineSetRange[];
566 // AttrSet-Range for SwTableBox
567 extern sal_uInt16 const aTableBoxSetRange[];
568 // AttrSet-Range for SwFrameFormat
569 SW_DLLPUBLIC extern sal_uInt16 const aFrameFormatSetRange[];
570 // AttrSet-Range for SwCharFormat
571 extern sal_uInt16 const aCharFormatSetRange[];
572 // AttrSet-Range for the autostyles
573 extern sal_uInt16 const aCharAutoFormatSetRange[];
574 // AttrSet-Range for SwPageDescFormat
575 extern sal_uInt16 const aPgFrameFormatSetRange[];
576 
577 // check if ID is InRange of AttrSet-Ids
578 bool IsInRange( const sal_uInt16* pRange, const sal_uInt16 nId );
579 
580 #endif
581 
582 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwRefMarkFieldUpdate is sent when the referencemarks should be updated.
Definition: hints.hxx:169
constexpr TypedWhichId< SwCropGrf > RES_GRFATR_CROPGRF(132)
constexpr TypedWhichId< SwDrawModeGrf > RES_GRFATR_DRAWMODE(142)
bool isUNKNOWNATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:513
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(100)
constexpr TypedWhichId< SwGrfFormatColl > RES_GRFFMTCOLL(156)
constexpr TypedWhichId< SwMsgPoolItem > RES_GRF_REREAD_AND_INCACHE(180)
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(120)
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)
SW_DLLPUBLIC sal_uInt16 const aTextNodeSetRange[]
Definition: init.cxx:170
constexpr TypedWhichId< SwFormatSurround > RES_SURROUND(101)
constexpr TypedWhichId< SwFormatFillOrder > RES_FILL_ORDER(RES_FRMATR_BEGIN)
sal_uInt16 const aTableBoxSetRange[]
Definition: init.cxx:219
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_BIDIRTL(44)
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:3469
constexpr sal_uInt16 HINT_END(RES_TBX_DUMMY)
sal_uInt16 const aCharFormatSetRange[]
Definition: init.cxx:244
Represents the style of a paragraph.
Definition: fmtcol.hxx:55
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< SwStringMsgPoolItem > RES_NAME_CHANGED(185)
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:471
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_METAFIELD(49)
constexpr TypedWhichId< SwTableBoxNumFormat > RES_BOXATR_FORMAT(RES_BOXATR_BEGIN)
constexpr sal_uInt16 RES_WHICHHINT_END(HINT_END)
constexpr TypedWhichId< SwFltRDFMark > RES_FLTR_RDFMARK(194)
SW_DLLPUBLIC const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
Definition: hints.cxx:153
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_PIECE_ARRIVED(175)
constexpr TypedWhichId< SwStringMsgPoolItem > RES_TITLE_CHANGED(186)
constexpr TypedWhichId< SwFormatHeader > RES_HEADER(96)
constexpr TypedWhichId< SwFormatEditInReadonly > RES_EDIT_IN_READONLY(112)
bool isFRMATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:497
constexpr TypedWhichId< SwFormatCol > RES_COL(109)
bool isTXTATR_WITHEND(const sal_uInt16 nWhich)
Definition: hintids.hxx:475
constexpr TypedWhichId< SwTableBoxValue > RES_BOXATR_VALUE(150)
bool isTXTATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:485
bool isTXTATR_NOEND(const sal_uInt16 nWhich)
Definition: hintids.hxx:480
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< SfxBoolItem > RES_GRFATR_DUMMY2(144)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(165)
constexpr TypedWhichId< SdrTextVertAdjustItem > RES_TEXT_VERT_ADJUST(130)
constexpr TypedWhichId< CntUInt16Item > RES_FLTR_ANNOTATIONMARK(193)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SwNumRuleItem > RES_PARATR_NUMRULE(72)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SwDocPosUpdate > RES_DOCPOS_UPDATE(167)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(133)
constexpr TypedWhichId< SvxPaperBinItem > RES_PAPER_BIN(90)
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:467
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_CONDITIONAL_STYLE_NAME(128)
sal_uInt16 const aBreakSetRange[]
Definition: init.cxx:141
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)
constexpr TypedWhichId< SwGammaGrf > RES_GRFATR_GAMMA(139)
bool isDrawingLayerAttribute(const sal_uInt16 nWhich)
Definition: hintids.hxx:501
constexpr TypedWhichId< SwCondCollCondChg > RES_CONDCOLL_CONDCHG(177)
constexpr TypedWhichId< SvxHangingPunctuationItem > RES_PARATR_HANGINGPUNCTUATION(74)
constexpr TypedWhichId< SwInvertGrf > RES_GRFATR_INVERT(140)
Content, content of frame (header, footer, fly).
Definition: fmtcntnt.hxx:31
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(99)
constexpr sal_uInt16 RES_MSG_END(188)
constexpr TypedWhichId< SvxBoxItem > RES_CHRATR_BOX(40)
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(134)
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< SwChannelBGrf > RES_GRFATR_CHANNELB(138)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_CONTENT_VISIBLE(183)
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
constexpr TypedWhichId< SwFormatVertOrient > RES_VERT_ORIENT(102)
sal_uInt16 sal_Unicode
Stores RDF statements on a paragraph (key-value pairs where the subject is the paragraph).
Definition: fltshell.hxx:262
SW_DLLPUBLIC sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
Definition: hints.cxx:195
constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END)
sal_uInt16 const aCharAutoFormatSetRange[]
Definition: init.cxx:251
bool isGRFATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:505
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)
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)
sal_uInt16 const aTableLineSetRange[]
Definition: init.cxx:207
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(161)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(160)
constexpr TypedWhichId< SwFltRedline > RES_FLTR_REDLINE(192)
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SwVirtPageNumInfo > RES_VIRTPAGENUM_INFO(178)
constexpr TypedWhichId< SfxGrabBagItem > RES_PARATR_GRABBAG(81)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SvxCharReliefItem > RES_CHRATR_RELIEF(36)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY4(146)
constexpr TypedWhichId< SfxStringItem > RES_FLTR_BOOKMARK(RES_FLTRATTR_BEGIN)
constexpr TypedWhichId< SwFormatAutoFormat > RES_TXTATR_AUTOFMT(50)
constexpr TypedWhichId< SwStringMsgPoolItem > RES_DESCRIPTION_CHANGED(187)
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(182)
constexpr TypedWhichId< SwDelText > RES_DEL_TXT(164)
constexpr TypedWhichId< SwFrameFormat > RES_FRMFMT(153)
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< SwFormatRowSplit > RES_ROW_SPLIT(122)
constexpr sal_uInt16 RES_FLTRATTR_END(195)
constexpr TypedWhichId< SvxRsidItem > RES_PARATR_RSID(80)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_FIELD(RES_TXTATR_NOEND_BEGIN)
Style of a layout element.
Definition: frmfmt.hxx:57
sal_uInt16 const aTableSetRange[]
Definition: init.cxx:191
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY1(61)
constexpr TypedWhichId< SwRefMarkFieldUpdate > RES_REFMARKFLD_UPDATE(166)
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 sal_uInt16 XATTR_START
FlyAnchors.
Definition: fmtanchr.hxx:34
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY3(145)
constexpr TypedWhichId< SvxShadowedItem > RES_CHRATR_SHADOWED(13)
constexpr sal_uInt16 RES_BOXATR_END(151)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED1(12)
constexpr TypedWhichId< SfxBoolItem > RES_COLLAPSING_BORDERS(124)
constexpr TypedWhichId< SfxStringItem > RES_FLTR_NUMRULE(190)
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 sal_uInt16 RES_GRFATR_END(148)
constexpr TypedWhichId< SwContrastGrf > RES_GRFATR_CONTRAST(135)
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_SWAPIN(184)
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)
constexpr sal_uInt16 HINT_BEGIN
Definition: hintids.hxx:189
sal_uInt16 const aGrfFormatCollSetRange[]
Definition: init.cxx:162
constexpr TypedWhichId< SwFormatContent > RES_CNTNT(95)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_REMOVE_UNO_OBJECT(179)
constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SvxCharScaleWidthItem > RES_CHRATR_SCALEW(35)
bool isPARATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:489
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 sal_uInt16 RES_FRMATR_END(131)
constexpr TypedWhichId< SwMirrorGrf > RES_GRFATR_MIRRORGRF(RES_GRFATR_BEGIN)
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_BACKGROUND(21)
constexpr sal_uInt16 RES_UNKNOWNATR_END(152)
constexpr TypedWhichId< SwFormatChain > RES_CHAIN(114)
constexpr sal_uInt16 RES_FMT_BEGIN(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SwTableBoxFormula > RES_BOXATR_FORMULA(149)
constexpr sal_uInt16 RES_TXTATR_END(RES_TXTATR_NOEND_END)
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 sal_uInt16 RES_FMT_END(159)
constexpr TypedWhichId< SvxFormatSplitItem > RES_PARATR_SPLIT(65)
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY3(60)
constexpr TypedWhichId< SvxWordLineModeItem > RES_CHRATR_WORDLINEMODE(16)
constexpr TypedWhichId< SwChannelRGrf > RES_GRFATR_CHANNELR(136)
constexpr sal_uInt16 INVALID_HINT(HINT_END)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY1(143)
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< SwTextFormatColl > RES_TXTFMTCOLL(155)
constexpr TypedWhichId< SwCharFormat > RES_CHRFMT(RES_FMT_BEGIN)
SwDfltAttrTab aAttrTab
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISCOUNTED(86)
constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END)
constexpr TypedWhichId< SwTransparencyGrf > RES_GRFATR_TRANSPARENCY(141)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SwTableFormulaUpdate > RES_TABLEFML_UPDATE(168)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SwMsgPoolItem > RES_HIDDENPARA_PRINT(176)
constexpr sal_uInt16 RES_PARATR_END(82)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_CHARSETCOLOR(2)
constexpr TypedWhichId< SwFltTOX > RES_FLTR_TOX(191)
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(158)
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(171)
constexpr TypedWhichId< SwTOXMark > RES_TXTATR_TOXMARK(47)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(91)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY5(147)
constexpr TypedWhichId< SwDrawFrameFormat > RES_DRAWFRMFMT(157)
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< SwFlyFrameFormat > RES_FLYFRMFMT(154)
constexpr TypedWhichId< SwChannelGGrf > RES_GRFATR_CHANNELG(137)
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_ARRIVED(174)
constexpr TypedWhichId< SwMsgPoolItem > RES_SECTION_HIDDEN(172)
SwDocPosUpdate is sent to signal that only the frames from or to a specified document-global position...
Definition: hints.hxx:183
SfxItemInfo aSlotTab[]
Definition: init.cxx:268
constexpr TypedWhichId< SwFormatAutoFormat > RES_PARATR_LIST_AUTOFMT(87)
constexpr TypedWhichId< SwFormatFooter > RES_FOOTER(97)
constexpr TypedWhichId< SwFltAnchor > RES_FLTR_ANCHOR(189)
constexpr TypedWhichId< SwFormatLineNumber > RES_LINENUMBER(116)
std::vector< SfxPoolItem * > SwDfltAttrTab
Definition: hintids.hxx:525
constexpr TypedWhichId< SwInsText > RES_INS_TXT(162)
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
sal_uInt16 const aTextFormatCollSetRange[]
Definition: init.cxx:149
constexpr TypedWhichId< SwDelChr > RES_DEL_CHR(163)
sal_uInt16 const aPgFrameFormatSetRange[]
Definition: init.cxx:259
constexpr TypedWhichId< SvxNoHyphenItem > RES_CHRATR_NOHYPHEN(19)
constexpr TypedWhichId< SwFormatRefMark > RES_TXTATR_REFMARK(RES_TXTATR_WITHEND_BEGIN)
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps...
Definition: paratr.hxx:50
constexpr TypedWhichId< SwFormatFollowTextFlow > RES_FOLLOW_TEXT_FLOW(123)
constexpr TypedWhichId< SwParaConnectBorderItem > RES_PARATR_CONNECT_BORDER(78)
constexpr TypedWhichId< SwMsgPoolItem > RES_LINKED_GRAPHIC_STREAM_ARRIVED(187)
sal_uInt16 const aNoTextNodeSetRange[]
Definition: init.cxx:184
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SwMsgPoolItem > RES_UPDATEDDETBL(169)
bool isBOXATR(const sal_uInt16 nWhich)
Definition: hintids.hxx:509
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_HIGHLIGHT(42)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SvxKerningItem > RES_CHRATR_KERNING(9)
constexpr TypedWhichId< SwMsgPoolItem > RES_TBLHEADLINECHG(170)
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< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_MSG_BEGIN)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_TXTATR_UNKNOWN_CONTAINER(54)
constexpr TypedWhichId< SwFormatAnchor > RES_ANCHOR(104)
bool isPARATR_LIST(const sal_uInt16 nWhich)
Definition: hintids.hxx:493
constexpr TypedWhichId< SwMsgPoolItem > RES_SECTION_NOT_HIDDEN(173)
SW_DLLPUBLIC sal_uInt16 const aFrameFormatSetRange[]
Definition: init.cxx:233
bool IsInRange(const sal_uInt16 *pRange, const sal_uInt16 nId)
check if ID is in range of attribute set IDs
Definition: swatrset.cxx:470
constexpr TypedWhichId< SvxContourItem > RES_CHRATR_CONTOUR(4)