LibreOffice Module sc (master)  1
scitems.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 
20 #ifndef INCLUDED_SC_INC_SCITEMS_HXX
21 #define INCLUDED_SC_INC_SCITEMS_HXX
22 
23 #include <svl/typedwhich.hxx>
24 
25 class SfxBoolItem;
26 class SvxCharReliefItem;
27 class SvxColorItem;
28 class SvxContourItem;
29 class SvxCrossedOutItem;
31 class SvxFontHeightItem;
32 class SvxFontItem;
36 class SvxLanguageItem;
37 class SvxLRSpaceItem;
38 class SvxOverlineItem;
39 class SvxPostureItem;
41 class SvxScriptSpaceItem;
42 class SvxShadowedItem;
43 class SvxULSpaceItem;
44 class SvxUnderlineItem;
45 class SvxWeightItem;
47 class SvxShadowItem;
48 class SvxHorJustifyItem;
49 class SvxVerJustifyItem;
50 class SvxBrushItem;
51 class SvxBoxItem;
52 class ScCondFormatItem;
53 class ScLineBreakCell;
54 class ScRotateValueItem;
56 class SvxLineItem;
57 class SvxRotateModeItem;
58 class SfxStringItem;
59 class SvxSizeItem;
61 class SvxMarginItem;
62 class SvxPaperBinItem;
63 class ScHyphenateCell;
64 class SfxUInt32Item;
65 class ScIndentItem;
66 class ScShrinkToFitCell;
67 class ScMergeAttr;
68 class ScMergeFlagAttr;
69 class ScProtectionAttr;
70 class SvxBoxInfoItem;
71 class ScPatternAttr;
72 class SvxPageItem;
74 class SfxUInt16Item;
75 class ScPageHFItem;
76 class ScPageScaleToItem;
77 class SvxSetItem;
78 
79 // EditEngine is not allowed to define its own ITEMID's
80 #define INCLUDED_EDITENG_EEITEMID_HXX
81 
82 // Item-IDs for UI-MsgPool:
83 
85 
86 #define MSGPOOL_START 1100
87 
88 #define SCITEM_STRING 1100
89 #define SCITEM_SEARCHDATA 1101
90 #define SCITEM_SORTDATA 1102
91 #define SCITEM_QUERYDATA 1103
92 #define SCITEM_SUBTDATA 1104
93 #define SCITEM_CONSOLIDATEDATA 1105
94 #define SCITEM_PIVOTDATA 1106
95 #define SCITEM_SOLVEDATA 1107
96 #define SCITEM_USERLIST 1108
97 #define SCITEM_CONDFORMATDLGDATA 1109
98 
99 #define MSGPOOL_END 1109
100 
101 // Item-IDs for attributes:
102 
103 constexpr sal_uInt16 ATTR_STARTINDEX(100); // begin of attributes
104 
105 constexpr sal_uInt16 ATTR_PATTERN_START(100); // begin of cell-attribute-pattern
106 
107 constexpr TypedWhichId<SvxFontItem> ATTR_FONT (100); // begin of cell-attributes
129 constexpr TypedWhichId<SvXMLAttrContainerItem> ATTR_USERDEF (122); // not saved in binary files
151 constexpr TypedWhichId<ScMergeAttr> ATTR_MERGE (144);
157 constexpr TypedWhichId<SvxBoxItem> ATTR_BORDER (150);
158 constexpr TypedWhichId<SvxBoxInfoItem> ATTR_BORDER_INNER (151); // inside, because of template-EditDialog
163 
164 constexpr sal_uInt16 ATTR_PATTERN_END(155); // end cell-attribute-pattern
165 
167  // page attributes
168 constexpr TypedWhichId<SvxLRSpaceItem> ATTR_LRSPACE (157); // editor: PageDesc-TabPage
170 constexpr TypedWhichId<SvxPageItem> ATTR_PAGE (159);
175 
176 constexpr TypedWhichId<SfxBoolItem> ATTR_PAGE_ON (164); // editor: header/footer-page
179 
180 constexpr TypedWhichId<SfxBoolItem> ATTR_PAGE_NOTES (167); // editor: table
190 
191 constexpr TypedWhichId<ScPageHFItem> ATTR_PAGE_HEADERLEFT (177); // contents of header/
192 constexpr TypedWhichId<ScPageHFItem> ATTR_PAGE_FOOTERLEFT (178); // footer (left)
193 constexpr TypedWhichId<ScPageHFItem> ATTR_PAGE_HEADERRIGHT (179); // contents of header/
194 constexpr TypedWhichId<ScPageHFItem> ATTR_PAGE_FOOTERRIGHT (180); // footer (right)
195 constexpr TypedWhichId<SvxSetItem> ATTR_PAGE_HEADERSET (181); // the corresponding sets
197 
200 
201 constexpr TypedWhichId<ScPageScaleToItem> ATTR_PAGE_SCALETO (185); // #i8868# scale printout to width/height
202 
203 constexpr TypedWhichId<SfxBoolItem> ATTR_HIDDEN (186);
204 
205 constexpr sal_uInt16 ATTR_ENDINDEX(ATTR_HIDDEN); // end of pool-range
206 
207 // Dummy Slot-IDs for dialogs
208 
209 #define SID_SCATTR_PAGE_NOTES ATTR_PAGE_NOTES
210 #define SID_SCATTR_PAGE_GRID ATTR_PAGE_GRID
211 #define SID_SCATTR_PAGE_HEADERS ATTR_PAGE_HEADERS
212 #define SID_SCATTR_PAGE_CHARTS ATTR_PAGE_CHARTS
213 #define SID_SCATTR_PAGE_OBJECTS ATTR_PAGE_OBJECTS
214 #define SID_SCATTR_PAGE_DRAWINGS ATTR_PAGE_DRAWINGS
215 #define SID_SCATTR_PAGE_TOPDOWN ATTR_PAGE_TOPDOWN
216 #define SID_SCATTR_PAGE_SCALE ATTR_PAGE_SCALE
217 #define SID_SCATTR_PAGE_SCALETOPAGES ATTR_PAGE_SCALETOPAGES
218 #define SID_SCATTR_PAGE_FIRSTPAGENO ATTR_PAGE_FIRSTPAGENO
219 #define SID_SCATTR_PAGE_HEADERLEFT ATTR_PAGE_HEADERLEFT
220 #define SID_SCATTR_PAGE_FOOTERLEFT ATTR_PAGE_FOOTERLEFT
221 #define SID_SCATTR_PAGE_HEADERRIGHT ATTR_PAGE_HEADERRIGHT
222 #define SID_SCATTR_PAGE_FOOTERRIGHT ATTR_PAGE_FOOTERRIGHT
223 #define SID_SCATTR_PAGE_FORMULAS ATTR_PAGE_FORMULAS
224 #define SID_SCATTR_PAGE_NULLVALS ATTR_PAGE_NULLVALS
225 #define SID_SCATTR_PAGE_SCALETO ATTR_PAGE_SCALETO
226 
227 #endif
228 
229 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
constexpr TypedWhichId< SvxWeightItem > ATTR_CTL_FONT_WEIGHT(118)
constexpr TypedWhichId< SvxEmphasisMarkItem > ATTR_FONT_EMPHASISMARK(121)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_DYNAMIC(165)
constexpr TypedWhichId< SvxLanguageItem > ATTR_LANGUAGE_FORMAT(147)
constexpr TypedWhichId< SvxSizeItem > ATTR_PAGE_SIZE(161)
constexpr TypedWhichId< ScPatternAttr > ATTR_PATTERN(156)
constexpr TypedWhichId< SvxBoxItem > ATTR_BORDER(150)
constexpr TypedWhichId< ScViewObjectModeItem > ATTR_PAGE_DRAWINGS(172)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_GRID(168)
constexpr TypedWhichId< SvxLanguageItem > ATTR_CJK_FONT_LANGUAGE(115)
constexpr sal_uInt16 ATTR_PATTERN_START(100)
constexpr TypedWhichId< SfxBoolItem > ATTR_VERTICAL_ASIAN(137)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_FORMULAS(183)
constexpr TypedWhichId< SfxUInt16Item > ATTR_PAGE_SCALETOPAGES(175)
constexpr TypedWhichId< SvxCrossedOutItem > ATTR_FONT_CROSSEDOUT(106)
constexpr TypedWhichId< SvxLanguageItem > ATTR_FONT_LANGUAGE(110)
constexpr TypedWhichId< SvxRotateModeItem > ATTR_ROTATE_MODE(136)
constexpr TypedWhichId< SvxBoxInfoItem > ATTR_BORDER_INNER(151)
constexpr TypedWhichId< SvxCharReliefItem > ATTR_FONT_RELIEF(124)
constexpr TypedWhichId< SvxFontItem > ATTR_FONT(100)
constexpr TypedWhichId< ScLineBreakCell > ATTR_LINEBREAK(139)
constexpr TypedWhichId< ScProtectionAttr > ATTR_PROTECTION(149)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_NULLVALS(184)
constexpr sal_uInt16 ATTR_STARTINDEX(100)
constexpr TypedWhichId< ScMergeAttr > ATTR_MERGE(144)
constexpr TypedWhichId< ScPageScaleToItem > ATTR_PAGE_SCALETO(185)
constexpr TypedWhichId< SvxScriptSpaceItem > ATTR_SCRIPTSPACE(126)
constexpr TypedWhichId< ScIndentItem > ATTR_INDENT(131)
constexpr TypedWhichId< ScRotateValueItem > ATTR_ROTATE_VALUE(135)
constexpr TypedWhichId< SvxShadowItem > ATTR_SHADOW(152)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_VERCENTER(163)
constexpr TypedWhichId< SvxJustifyMethodItem > ATTR_HOR_JUSTIFY_METHOD(130)
constexpr TypedWhichId< ScShrinkToFitCell > ATTR_SHRINKTOFIT(140)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_HEADERS(169)
constexpr TypedWhichId< SvxPaperBinItem > ATTR_PAGE_PAPERBIN(160)
constexpr TypedWhichId< SvxUnderlineItem > ATTR_FONT_UNDERLINE(104)
constexpr TypedWhichId< ScPageHFItem > ATTR_PAGE_FOOTERLEFT(178)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_TOPDOWN(173)
constexpr TypedWhichId< SvxLineItem > ATTR_BORDER_TLBR(141)
constexpr TypedWhichId< SfxUInt32Item > ATTR_VALIDDATA(153)
constexpr TypedWhichId< SvxPostureItem > ATTR_FONT_POSTURE(103)
constexpr TypedWhichId< SvxShadowedItem > ATTR_FONT_SHADOWED(108)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_CJK_FONT_HEIGHT(112)
constexpr TypedWhichId< SvxSetItem > ATTR_PAGE_FOOTERSET(182)
constexpr TypedWhichId< SvxVerJustifyItem > ATTR_VER_JUSTIFY(132)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_HORCENTER(162)
constexpr TypedWhichId< SfxUInt32Item > ATTR_VALUE_FORMAT(146)
constexpr TypedWhichId< ScViewObjectModeItem > ATTR_PAGE_OBJECTS(171)
constexpr TypedWhichId< ScVerticalStackCell > ATTR_STACKED(134)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_CTL_FONT_HEIGHT(117)
constexpr TypedWhichId< ScPageHFItem > ATTR_PAGE_HEADERRIGHT(179)
constexpr TypedWhichId< SvxFontItem > ATTR_CTL_FONT(116)
constexpr TypedWhichId< SvxLRSpaceItem > ATTR_LRSPACE(157)
constexpr TypedWhichId< ScPageHFItem > ATTR_PAGE_FOOTERRIGHT(180)
constexpr TypedWhichId< ScHyphenateCell > ATTR_HYPHENATE(125)
constexpr TypedWhichId< SvxFontItem > ATTR_CJK_FONT(111)
constexpr TypedWhichId< SvxBrushItem > ATTR_BACKGROUND(148)
constexpr TypedWhichId< SvxLanguageItem > ATTR_CTL_FONT_LANGUAGE(120)
constexpr TypedWhichId< SvxFrameDirectionItem > ATTR_WRITINGDIR(138)
constexpr TypedWhichId< ScMergeFlagAttr > ATTR_MERGE_FLAG(145)
constexpr sal_uInt16 ATTR_ENDINDEX(ATTR_HIDDEN)
constexpr TypedWhichId< SvxJustifyMethodItem > ATTR_VER_JUSTIFY_METHOD(133)
constexpr TypedWhichId< SvxPostureItem > ATTR_CTL_FONT_POSTURE(119)
Contains the "scale to width/height" attribute in page styles.
Definition: attrib.hxx:223
constexpr TypedWhichId< SvxOverlineItem > ATTR_FONT_OVERLINE(105)
constexpr TypedWhichId< SvXMLAttrContainerItem > ATTR_USERDEF(122)
constexpr TypedWhichId< SvxPostureItem > ATTR_CJK_FONT_POSTURE(114)
constexpr TypedWhichId< ScViewObjectModeItem > ATTR_PAGE_CHARTS(170)
constexpr TypedWhichId< SvxWeightItem > ATTR_FONT_WEIGHT(102)
constexpr TypedWhichId< SvxHorJustifyItem > ATTR_HOR_JUSTIFY(129)
constexpr TypedWhichId< SvxULSpaceItem > ATTR_ULSPACE(158)
constexpr TypedWhichId< ScCondFormatItem > ATTR_CONDITIONAL(154)
constexpr sal_uInt16 ATTR_PATTERN_END(155)
constexpr TypedWhichId< SvxPageItem > ATTR_PAGE(159)
constexpr TypedWhichId< SfxStringItem > ATTR_HYPERLINK(155)
constexpr TypedWhichId< SvxSetItem > ATTR_PAGE_HEADERSET(181)
constexpr TypedWhichId< SvxWordLineModeItem > ATTR_FONT_WORDLINE(123)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_ON(164)
constexpr TypedWhichId< SfxUInt16Item > ATTR_PAGE_SCALE(174)
constexpr TypedWhichId< SfxBoolItem > ATTR_HIDDEN(186)
constexpr TypedWhichId< SvxColorItem > ATTR_FONT_COLOR(109)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_NOTES(167)
constexpr TypedWhichId< SvxWeightItem > ATTR_CJK_FONT_WEIGHT(113)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_FONT_HEIGHT(101)
constexpr TypedWhichId< ScPageHFItem > ATTR_PAGE_HEADERLEFT(177)
constexpr TypedWhichId< SvxHangingPunctuationItem > ATTR_HANGPUNCTUATION(127)
constexpr TypedWhichId< SvxLineItem > ATTR_BORDER_BLTR(142)
constexpr TypedWhichId< SvxContourItem > ATTR_FONT_CONTOUR(107)
constexpr TypedWhichId< SfxUInt16Item > ATTR_PAGE_FIRSTPAGENO(176)
constexpr TypedWhichId< SfxBoolItem > ATTR_PAGE_SHARED(166)
constexpr TypedWhichId< SvxMarginItem > ATTR_MARGIN(143)
constexpr TypedWhichId< SvxForbiddenRuleItem > ATTR_FORBIDDEN_RULES(128)