1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef _EDT_UNOMID_HXX 24#define _EDT_UNOMID_HXX 25 26#include <svl/memberid.hrc> 27 28#define MID_LOCATION 0x3c 29#define MID_TRANSPARENT 0x4b 30#define MID_BG_COLOR 0x22 31#define MID_FLAGS 0x2e 32#define MID_DISTANCE 0x29 33#define MID_FG_COLOR 0x2c 34#define MID_OUTER_WIDTH 0x41 35#define MID_INNER_WIDTH 0x35 36#define MID_LINESPACE 0x3b 37 38//NameOrIndex 39#define MID_NAME 16 40#define MID_GRAFURL 32 41 42// SvxPageModelItem 43#define MID_AUTO 1 44 45// SvxTabStop 46#define MID_TABSTOPS 0 47#define MID_STD_TAB 1 48 49//SvxHyphenZoneItem 50#define MID_IS_HYPHEN 0 51#define MID_HYPHEN_MIN_LEAD 1 52#define MID_HYPHEN_MIN_TRAIL 2 53#define MID_HYPHEN_MAX_HYPHENS 3 54 55// SvxBoxInfoItem 56#define MID_HORIZONTAL 1 57#define MID_VERTICAL 2 58#define MID_VALIDFLAGS 4 59 60//AdjustItem 61#define MID_PARA_ADJUST 0 62#define MID_LAST_LINE_ADJUST 1 63#define MID_EXPAND_SINGLE 2 64 65//SvxFontItem 66// Don't use 0 as it used for the whole struct 67#define MID_FONT_FAMILY_NAME 1 68#define MID_FONT_STYLE_NAME 2 69#define MID_FONT_FAMILY 3 70#define MID_FONT_CHAR_SET 4 71#define MID_FONT_PITCH 5 72 73// SvxCharReliefItem 74#define MID_RELIEF 0 75 76//SvxCharRotateItem 77#define MID_ROTATE 0 78#define MID_FITTOLINE 1 79 80//SvxExcapementItem 81#define MID_ESC 0 82#define MID_ESC_HEIGHT 1 83#define MID_AUTO_ESC 2 84 85//SvxFontWidthItem 86#define MID_FONTWIDTH 0 87#define MID_FONTWIDTH_PROP 1 88 89//SvxFontHeightItem 90#define MID_FONTHEIGHT 1 91#define MID_FONTHEIGHT_PROP 2 92#define MID_FONTHEIGHT_DIFF 3 93 94//SvxTextLineItem 95#define MID_TEXTLINED 0 96#define MID_TL_STYLE 1 97#define MID_TL_COLOR 2 98#define MID_TL_HASCOLOR 3 99 100//SvxCrossedOutItem 101#define MID_CROSSED_OUT 0 102#define MID_CROSS_OUT 1 103 104//SvxPostureItem 105#define MID_ITALIC 0 106#define MID_POSTURE 1 107 108//SvxBoolItem 109#define MID_BOLD 0 110#define MID_WEIGHT 1 111 112//SvxLanguageItem 113#define MID_LANG_INT 0 114#define MID_LANG_LOCALE 1 115 116//SvxEmphasisMarkItem 117#define MID_EMPHASIS 0 118 119//SvxTwoLinesItem 120#define MID_TWOLINES 0 121#define MID_START_BRACKET 1 122#define MID_END_BRACKET 2 123 124//ULSpaceItem 125#define MID_UL_MARGIN 1 126#define MID_UL_REL_MARGIN 2 127#define MID_UP_MARGIN 3 128#define MID_LO_MARGIN 4 129#define MID_UP_REL_MARGIN 5 130#define MID_LO_REL_MARGIN 6 131 132//LRSpaceItem 133#define MID_LR_MARGIN 0 134#define MID_LRP_MARGIN 1 135#define MID_LR_REL_MARGIN 2 136#define MID_LRP_REL_MARGIN 3 137#define MID_L_MARGIN 4 138#define MID_R_MARGIN 5 139#define MID_L_REL_MARGIN 6 140#define MID_R_REL_MARGIN 7 141#define MID_FIRST_LINE_INDENT 8 142#define MID_FIRST_LINE_REL_INDENT 9 143#define MID_FIRST_AUTO 10 144#define MID_TXT_LMARGIN 11 145 146//ProtectItem 147#define MID_PROTECT_CONTENT 0 148#define MID_PROTECT_SIZE 1 149#define MID_PROTECT_POSITION 2 150 151//SvxBoxItem 152#define LEFT_BORDER 1 153#define RIGHT_BORDER 2 154#define TOP_BORDER 3 155#define BOTTOM_BORDER 4 156#define BORDER_DISTANCE 5 157#define LEFT_BORDER_DISTANCE 6 158#define RIGHT_BORDER_DISTANCE 7 159#define TOP_BORDER_DISTANCE 8 160#define BOTTOM_BORDER_DISTANCE 9 161#define MID_LEFT_BORDER 10 162#define MID_RIGHT_BORDER 11 163#define MID_TOP_BORDER 12 164#define MID_BOTTOM_BORDER 13 165 166//BrushItem 167#define MID_BACK_COLOR 0 168#define MID_GRAPHIC_POSITION 1 169#define MID_GRAPHIC_LINK 2 170#define MID_GRAPHIC 3 171#define MID_GRAPHIC_TRANSPARENT 4 172#define MID_GRAPHIC_URL 5 173#define MID_GRAPHIC_FILTER 6 174#define MID_GRAPHIC_REPEAT 7 175#define MID_GRAPHIC_TRANSPARENCY 8 176#define MID_BACK_COLOR_R_G_B 9 177#define MID_BACK_COLOR_TRANSPARENCY 10 178 179//SvxFmtBreakItem 180#define MID_BREAK_BEFORE 0 181#define MID_BREAK_AFTER 1 182 183//SvxCaseMapItem 184#define MID_CASEMAP_VARIANT 0 185#define MID_CASEMAP_TRANS 1 186 187 188 189#endif 190