From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- sc/inc/scitems.hxx | 232 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 sc/inc/scitems.hxx (limited to 'sc/inc/scitems.hxx') diff --git a/sc/inc/scitems.hxx b/sc/inc/scitems.hxx new file mode 100644 index 000000000..dd91e2f63 --- /dev/null +++ b/sc/inc/scitems.hxx @@ -0,0 +1,232 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#pragma once + +#include + +class ScConsolidateItem; +class SfxBoolItem; +class SvxCharReliefItem; +class SvxColorItem; +class SvxContourItem; +class SvxCrossedOutItem; +class SvxEmphasisMarkItem; +class SvxFontHeightItem; +class SvxFontItem; +class SvxForbiddenRuleItem; +class SvxFrameDirectionItem; +class SvxHangingPunctuationItem; +class SvxLanguageItem; +class SvxLRSpaceItem; +class SvxOverlineItem; +class SvxPostureItem; +class SvXMLAttrContainerItem; +class SvxScriptSpaceItem; +class SvxShadowedItem; +class SvxULSpaceItem; +class SvxUnderlineItem; +class SvxWeightItem; +class SvxWordLineModeItem; +class SvxShadowItem; +class SvxHorJustifyItem; +class SvxVerJustifyItem; +class SvxBrushItem; +class SvxBoxItem; +class ScCondFormatItem; +class ScLineBreakCell; +class ScRotateValueItem; +class ScVerticalStackCell; +class SvxLineItem; +class SvxRotateModeItem; +class SfxStringItem; +class SvxSizeItem; +class SvxJustifyMethodItem; +class SvxMarginItem; +class SvxPaperBinItem; +class ScHyphenateCell; +class SfxUInt32Item; +class ScIndentItem; +class ScShrinkToFitCell; +class ScMergeAttr; +class ScMergeFlagAttr; +class ScProtectionAttr; +class SvxBoxInfoItem; +class ScPatternAttr; +class SvxPageItem; +class ScViewObjectModeItem; +class SfxUInt16Item; +class ScPageHFItem; +class ScPageScaleToItem; +class SvxSetItem; + +// EditEngine is not allowed to define its own ITEMID's +#define INCLUDED_EDITENG_EEITEMID_HXX + +// Item-IDs for UI-MsgPool: + +//! shall be moved to the below-1000 range! + +#define MSGPOOL_START 1100 + +#define SCITEM_STRING TypedWhichId(1100) +#define SCITEM_SEARCHDATA TypedWhichId(1101) +#define SCITEM_SORTDATA TypedWhichId(1102) +#define SCITEM_QUERYDATA TypedWhichId(1103) +#define SCITEM_SUBTDATA TypedWhichId(1104) +#define SCITEM_CONSOLIDATEDATA TypedWhichId(1105) +#define SCITEM_PIVOTDATA TypedWhichId(1106) +#define SCITEM_SOLVEDATA TypedWhichId(1107) +#define SCITEM_USERLIST TypedWhichId(1108) +#define SCITEM_CONDFORMATDLGDATA TypedWhichId(1109) + +#define MSGPOOL_END 1109 + +// Item-IDs for attributes: + +constexpr sal_uInt16 ATTR_STARTINDEX(100); // begin of attributes + +constexpr sal_uInt16 ATTR_PATTERN_START(100); // begin of cell-attribute-pattern + +constexpr TypedWhichId ATTR_FONT (100); // begin of cell-attributes +constexpr TypedWhichId ATTR_FONT_HEIGHT (101); +constexpr TypedWhichId ATTR_FONT_WEIGHT (102); +constexpr TypedWhichId ATTR_FONT_POSTURE (103); +constexpr TypedWhichId ATTR_FONT_UNDERLINE (104); +constexpr TypedWhichId ATTR_FONT_OVERLINE (105); +constexpr TypedWhichId ATTR_FONT_CROSSEDOUT (106); +constexpr TypedWhichId ATTR_FONT_CONTOUR (107); +constexpr TypedWhichId ATTR_FONT_SHADOWED (108); +constexpr TypedWhichId ATTR_FONT_COLOR (109); +constexpr TypedWhichId ATTR_FONT_LANGUAGE (110); +constexpr TypedWhichId ATTR_CJK_FONT (111); +constexpr TypedWhichId ATTR_CJK_FONT_HEIGHT (112); +constexpr TypedWhichId ATTR_CJK_FONT_WEIGHT (113); +constexpr TypedWhichId ATTR_CJK_FONT_POSTURE (114); +constexpr TypedWhichId ATTR_CJK_FONT_LANGUAGE (115); +constexpr TypedWhichId ATTR_CTL_FONT (116); +constexpr TypedWhichId ATTR_CTL_FONT_HEIGHT (117); +constexpr TypedWhichId ATTR_CTL_FONT_WEIGHT (118); +constexpr TypedWhichId ATTR_CTL_FONT_POSTURE (119); +constexpr TypedWhichId ATTR_CTL_FONT_LANGUAGE (120); +constexpr TypedWhichId ATTR_FONT_EMPHASISMARK (121); +constexpr TypedWhichId ATTR_USERDEF (122); // not saved in binary files +constexpr TypedWhichId ATTR_FONT_WORDLINE (123); +constexpr TypedWhichId ATTR_FONT_RELIEF (124); +constexpr TypedWhichId ATTR_HYPHENATE (125); +constexpr TypedWhichId ATTR_SCRIPTSPACE (126); +constexpr TypedWhichId ATTR_HANGPUNCTUATION (127); +constexpr TypedWhichId ATTR_FORBIDDEN_RULES (128); +constexpr TypedWhichId ATTR_HOR_JUSTIFY (129); +constexpr TypedWhichId ATTR_HOR_JUSTIFY_METHOD (130); +constexpr TypedWhichId ATTR_INDENT (131); +constexpr TypedWhichId ATTR_VER_JUSTIFY (132); +constexpr TypedWhichId ATTR_VER_JUSTIFY_METHOD (133); +constexpr TypedWhichId ATTR_STACKED (134); +constexpr TypedWhichId ATTR_ROTATE_VALUE (135); +constexpr TypedWhichId ATTR_ROTATE_MODE (136); +constexpr TypedWhichId ATTR_VERTICAL_ASIAN (137); +constexpr TypedWhichId ATTR_WRITINGDIR (138); +constexpr TypedWhichId ATTR_LINEBREAK (139); +constexpr TypedWhichId ATTR_SHRINKTOFIT (140); +constexpr TypedWhichId ATTR_BORDER_TLBR (141); +constexpr TypedWhichId ATTR_BORDER_BLTR (142); +constexpr TypedWhichId ATTR_MARGIN (143); +constexpr TypedWhichId ATTR_MERGE (144); +constexpr TypedWhichId ATTR_MERGE_FLAG (145); +constexpr TypedWhichId ATTR_VALUE_FORMAT (146); +constexpr TypedWhichId ATTR_LANGUAGE_FORMAT (147); +constexpr TypedWhichId ATTR_BACKGROUND (148); +constexpr TypedWhichId ATTR_PROTECTION (149); +constexpr TypedWhichId ATTR_BORDER (150); +constexpr TypedWhichId ATTR_BORDER_INNER (151); // inside, because of template-EditDialog +constexpr TypedWhichId ATTR_SHADOW (152); +constexpr TypedWhichId ATTR_VALIDDATA (153); +constexpr TypedWhichId ATTR_CONDITIONAL (154); +constexpr TypedWhichId ATTR_HYPERLINK (155); + +constexpr sal_uInt16 ATTR_PATTERN_END(155); // end cell-attribute-pattern + +constexpr TypedWhichId ATTR_PATTERN (156); + // page attributes +constexpr TypedWhichId ATTR_LRSPACE (157); // editor: PageDesc-TabPage +constexpr TypedWhichId ATTR_ULSPACE (158); +constexpr TypedWhichId ATTR_PAGE (159); +constexpr TypedWhichId ATTR_PAGE_PAPERBIN (160); +constexpr TypedWhichId ATTR_PAGE_SIZE (161); +constexpr TypedWhichId ATTR_PAGE_HORCENTER (162); +constexpr TypedWhichId ATTR_PAGE_VERCENTER (163); + +constexpr TypedWhichId ATTR_PAGE_ON (164); // editor: header/footer-page +constexpr TypedWhichId ATTR_PAGE_DYNAMIC (165); +constexpr TypedWhichId ATTR_PAGE_SHARED (166); +constexpr TypedWhichId ATTR_PAGE_SHARED_FIRST (167); + +constexpr TypedWhichId ATTR_PAGE_NOTES (168); // editor: table +constexpr TypedWhichId ATTR_PAGE_GRID (169); +constexpr TypedWhichId ATTR_PAGE_HEADERS (170); +constexpr TypedWhichId ATTR_PAGE_CHARTS (171); +constexpr TypedWhichId ATTR_PAGE_OBJECTS (172); +constexpr TypedWhichId ATTR_PAGE_DRAWINGS (173); +constexpr TypedWhichId ATTR_PAGE_TOPDOWN (174); +constexpr TypedWhichId ATTR_PAGE_SCALE (175); +constexpr TypedWhichId ATTR_PAGE_SCALETOPAGES (176); +constexpr TypedWhichId ATTR_PAGE_FIRSTPAGENO (177); + +constexpr TypedWhichId ATTR_PAGE_HEADERLEFT (178); // contents of header/ +constexpr TypedWhichId ATTR_PAGE_FOOTERLEFT (179); // footer (left) +constexpr TypedWhichId ATTR_PAGE_HEADERRIGHT (180); // contents of header/ +constexpr TypedWhichId ATTR_PAGE_FOOTERRIGHT (181); // footer (right) +constexpr TypedWhichId ATTR_PAGE_HEADERFIRST (182); // contents of header/ +constexpr TypedWhichId ATTR_PAGE_FOOTERFIRST (183); // footer (first page) +constexpr TypedWhichId ATTR_PAGE_HEADERSET (184); // the corresponding sets +constexpr TypedWhichId ATTR_PAGE_FOOTERSET (185); + +constexpr TypedWhichId ATTR_PAGE_FORMULAS (186); +constexpr TypedWhichId ATTR_PAGE_NULLVALS (187); + +constexpr TypedWhichId ATTR_PAGE_SCALETO (188); // #i8868# scale printout to width/height + +constexpr TypedWhichId ATTR_HIDDEN (189); + +constexpr sal_uInt16 ATTR_ENDINDEX(ATTR_HIDDEN); // end of pool-range + +// Dummy Slot-IDs for dialogs + +#define SID_SCATTR_PAGE_NOTES ATTR_PAGE_NOTES +#define SID_SCATTR_PAGE_GRID ATTR_PAGE_GRID +#define SID_SCATTR_PAGE_HEADERS ATTR_PAGE_HEADERS +#define SID_SCATTR_PAGE_CHARTS ATTR_PAGE_CHARTS +#define SID_SCATTR_PAGE_OBJECTS ATTR_PAGE_OBJECTS +#define SID_SCATTR_PAGE_DRAWINGS ATTR_PAGE_DRAWINGS +#define SID_SCATTR_PAGE_TOPDOWN ATTR_PAGE_TOPDOWN +#define SID_SCATTR_PAGE_SCALE ATTR_PAGE_SCALE +#define SID_SCATTR_PAGE_SCALETOPAGES ATTR_PAGE_SCALETOPAGES +#define SID_SCATTR_PAGE_FIRSTPAGENO ATTR_PAGE_FIRSTPAGENO +#define SID_SCATTR_PAGE_HEADERLEFT ATTR_PAGE_HEADERLEFT +#define SID_SCATTR_PAGE_FOOTERLEFT ATTR_PAGE_FOOTERLEFT +#define SID_SCATTR_PAGE_HEADERRIGHT ATTR_PAGE_HEADERRIGHT +#define SID_SCATTR_PAGE_FOOTERRIGHT ATTR_PAGE_FOOTERRIGHT +#define SID_SCATTR_PAGE_HEADERFIRST ATTR_PAGE_HEADERFIRST +#define SID_SCATTR_PAGE_FOOTERFIRST ATTR_PAGE_FOOTERFIRST +#define SID_SCATTR_PAGE_FORMULAS ATTR_PAGE_FORMULAS +#define SID_SCATTR_PAGE_NULLVALS ATTR_PAGE_NULLVALS +#define SID_SCATTR_PAGE_SCALETO ATTR_PAGE_SCALETO + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3