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 _EDIT_SVXIDS_HRC 24#define _EDIT_SVXIDS_HRC 25 26// include ------------------------------------------------------------------ 27 28#include <svl/solar.hrc> 29 30#define SID_ATTR_BRUSH ( SID_SVX_START + 1 ) 31#define SID_ATTR_TABSTOP ( SID_SVX_START + 2 ) 32#define SID_ATTR_TABSTOP_DEFAULTS ( SID_SVX_START + 3 ) 33#define SID_ATTR_TABSTOP_POS ( SID_SVX_START + 4 ) 34#define SID_ATTR_TABSTOP_OFFSET ( SID_SVX_START + 5 ) 35#define SID_ATTR_CHAR ( SID_SVX_START + 6 ) 36#define SID_ATTR_CHAR_FONT ( SID_SVX_START + 7 ) 37#define SID_ATTR_CHAR_POSTURE ( SID_SVX_START + 8 ) 38#define SID_ATTR_CHAR_WEIGHT ( SID_SVX_START + 9 ) 39#define SID_ATTR_CHAR_SHADOWED ( SID_SVX_START + 10 ) 40#define SID_ATTR_CHAR_WORDLINEMODE ( SID_SVX_START + 11 ) 41#define SID_ATTR_CHAR_CONTOUR ( SID_SVX_START + 12 ) 42#define SID_ATTR_CHAR_STRIKEOUT ( SID_SVX_START + 13 ) 43#define SID_ATTR_CHAR_UNDERLINE ( SID_SVX_START + 14 ) 44#define SID_ATTR_CHAR_FONTHEIGHT ( SID_SVX_START + 15 ) 45#define SID_ATTR_CHAR_PROPSIZE ( SID_SVX_START + 16 ) 46#define SID_ATTR_CHAR_COLOR ( SID_SVX_START + 17 ) 47#define SID_ATTR_CHAR_KERNING ( SID_SVX_START + 18 ) 48#define SID_ATTR_CHAR_CASEMAP ( SID_SVX_START + 19 ) 49#define SID_ATTR_CHAR_LANGUAGE ( SID_SVX_START + 20 ) 50#define SID_ATTR_CHAR_ESCAPEMENT ( SID_SVX_START + 21 ) 51#define SID_ATTR_CHAR_FONTLIST ( SID_SVX_START + 22 ) 52#define SID_ATTR_BORDER_OUTER ( SID_SVX_START + 24 ) 53#define SID_ATTR_BORDER_SHADOW ( SID_SVX_START + 25 ) 54#define SID_ATTR_PARA ( SID_SVX_START + 26 ) 55#define SID_ATTR_PARA_ADJUST ( SID_SVX_START + 27 ) 56#define SID_ATTR_PARA_ADJUST_LEFT ( SID_SVX_START + 28 ) 57#define SID_ATTR_PARA_ADJUST_RIGHT ( SID_SVX_START + 29 ) 58#define SID_ATTR_PARA_ADJUST_CENTER ( SID_SVX_START + 30 ) 59#define SID_ATTR_PARA_ADJUST_BLOCK ( SID_SVX_START + 31 ) 60#define SID_ATTR_PARA_ADJUST_BLOCKLINE ( SID_SVX_START + 32 ) 61#define SID_ATTR_PARA_LINESPACE ( SID_SVX_START + 33 ) 62#define SID_ATTR_PARA_LINESPACE_10 ( SID_SVX_START + 34 ) 63#define SID_ATTR_PARA_LINESPACE_15 ( SID_SVX_START + 35 ) 64#define SID_ATTR_PARA_LINESPACE_20 ( SID_SVX_START + 36 ) 65#define SID_ATTR_PARA_PAGEBREAK ( SID_SVX_START + 37 ) 66#define SID_ATTR_PARA_HYPHENZONE ( SID_SVX_START + 38 ) 67#define SID_ATTR_PARA_SPLIT ( SID_SVX_START + 39 ) 68#define SID_ATTR_PARA_ORPHANS ( SID_SVX_START + 40 ) 69#define SID_ATTR_PARA_WIDOWS ( SID_SVX_START + 41 ) 70#define SID_ATTR_PARA_ULSPACE ( SID_SVX_START + 42 ) 71#define SID_ATTR_PARA_LRSPACE ( SID_SVX_START + 43 ) 72#define SID_ATTR_LRSPACE ( SID_SVX_START + 48 ) 73#define SID_ATTR_ULSPACE ( SID_SVX_START + 49 ) 74#define SID_ATTR_CHAR_MAPTYPE ( SID_SVX_START + 64 ) 75#define SID_ATTR_PARA_MODEL ( SID_SVX_START + 65 ) 76#define SID_ATTR_PARA_KEEP ( SID_SVX_START + 66 ) 77#define SID_ATTR_CHAR_AUTOKERN ( SID_SVX_START + 67 ) 78#define SID_ATTR_PARA_BULLET ( SID_SVX_START + 250 ) 79#define SID_ATTR_PARA_OUTLLEVEL ( SID_SVX_START + 300 ) 80#define SID_FIELD ( SID_SVX_START + 363 ) 81#define SID_ATTR_PARA_REGISTER ( SID_SVX_START + 413 ) 82#define SID_ATTR_PARA_PAGENUM ( SID_SVX_START + 457 ) 83#define SID_ATTR_PARA_NUMRULE ( SID_SVX_START + 587 ) 84#define SID_ATTR_BRUSH_CHAR ( SID_SVX_START + 591 ) 85#define SID_ATTR_NUMBERING_RULE ( SID_SVX_START + 855 ) 86#define SID_ATTR_CHAR_CHARSETCOLOR ( SID_SVX_START + 877 ) 87#define SID_ATTR_CHAR_CJK_FONT ( SID_SVX_START + 887 ) 88#define SID_ATTR_CHAR_CJK_FONTHEIGHT ( SID_SVX_START + 888 ) 89#define SID_ATTR_CHAR_CJK_LANGUAGE ( SID_SVX_START + 889 ) 90#define SID_ATTR_CHAR_CJK_POSTURE ( SID_SVX_START + 890 ) 91#define SID_ATTR_CHAR_CJK_WEIGHT ( SID_SVX_START + 891 ) 92#define SID_ATTR_CHAR_CTL_FONT ( SID_SVX_START + 892 ) 93#define SID_ATTR_CHAR_CTL_FONTHEIGHT ( SID_SVX_START + 893 ) 94#define SID_ATTR_CHAR_CTL_LANGUAGE ( SID_SVX_START + 894 ) 95#define SID_ATTR_CHAR_CTL_POSTURE ( SID_SVX_START + 895 ) 96#define SID_ATTR_CHAR_CTL_WEIGHT ( SID_SVX_START + 896 ) 97#define SID_ATTR_CHAR_TWO_LINES ( SID_SVX_START + 897 ) 98#define SID_ATTR_CHAR_CJK_RUBY ( SID_SVX_START + 898 ) 99#define SID_ATTR_CHAR_EMPHASISMARK ( SID_SVX_START + 899 ) 100#define SID_ATTR_CHAR_SCRIPTTYPE ( SID_SVX_START + 900 ) 101#define SID_ATTR_PARA_SCRIPTSPACE ( SID_SVX_START + 901 ) 102#define SID_ATTR_PARA_HANGPUNCTUATION ( SID_SVX_START + 902 ) 103#define SID_ATTR_PARA_FORBIDDEN_RULES ( SID_SVX_START + 903 ) 104#define SID_ATTR_CHAR_VERTICAL ( SID_SVX_START + 905 ) 105#define SID_ATTR_CHAR_ROTATED ( SID_SVX_START + 910 ) 106#define SID_ATTR_CHAR_SCALEWIDTH ( SID_SVX_START + 911 ) 107#define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE ( SID_SVX_START + 919 ) 108#define SID_ATTR_CHAR_RELIEF ( SID_SVX_START + 920 ) 109#define SID_PARA_VERTALIGN ( SID_SVX_START + 925 ) 110#define SID_ATTR_FRAMEDIRECTION ( SID_SVX_START + 944 ) 111#define SID_ATTR_PARA_SNAPTOGRID ( SID_SVX_START + 945 ) 112#define SID_ATTR_PARA_LRSPACE_VERTICAL ( SID_SVX_START + 947 ) 113#define SID_ATTR_PARA_LEFT_TO_RIGHT ( SID_SVX_START + 950 ) 114#define SID_ATTR_PARA_RIGHT_TO_LEFT ( SID_SVX_START + 951 ) 115#define SID_ATTR_CHAR_HIDDEN ( SID_SVX_START + 989 ) 116#define SID_ATTR_CHAR_LATIN_FONT ( SID_SVX_START + 994 ) 117#define SID_ATTR_CHAR_LATIN_FONTHEIGHT ( SID_SVX_START + 995 ) 118#define SID_ATTR_CHAR_LATIN_LANGUAGE ( SID_SVX_START + 996 ) 119#define SID_ATTR_CHAR_LATIN_POSTURE ( SID_SVX_START + 997 ) 120#define SID_ATTR_CHAR_LATIN_WEIGHT ( SID_SVX_START + 998 ) 121#define SID_ATTR_PARA_OUTLINE_LEVEL ( SID_SVX_START +1092 ) 122 123// this ID didn't exist prior to the svx split 124#define SID_ATTR_CHAR_OVERLINE ( SID_EDIT_START + 68 ) 125 126/* 127// planned, but not doable: changing value of SIDs will break code that uses them for WhichRanges 128#define SID_PARA_VERTALIGN ( SID_EDIT_START ) 129#define SID_ATTR_BORDER_OUTER ( SID_EDIT_START + 1 ) 130#define SID_ATTR_BORDER_SHADOW ( SID_EDIT_START + 2 ) 131#define SID_ATTR_BRUSH ( SID_EDIT_START + 3 ) 132#define SID_ATTR_BRUSH_CHAR ( SID_EDIT_START + 4 ) 133 134 135#define SID_FIELD ( SID_EDIT_START + 7 ) 136#define SID_ATTR_FRAMEDIRECTION ( SID_EDIT_START + 8 ) 137#define SID_ATTR_PARA ( SID_EDIT_START + 9 ) 138#define SID_ATTR_PARA_ADJUST ( SID_EDIT_START + 10 ) 139#define SID_ATTR_PARA_ADJUST_LEFT ( SID_EDIT_START + 11 ) 140#define SID_ATTR_PARA_BULLET ( SID_EDIT_START + 12 ) 141#define SID_ATTR_PARA_OUTLLEVEL ( SID_EDIT_START + 13 ) 142#define SID_ATTR_PARA_REGISTER ( SID_EDIT_START + 14 ) 143#define SID_ATTR_PARA_PAGENUM ( SID_EDIT_START + 15 ) 144#define SID_ATTR_PARA_NUMRULE ( SID_EDIT_START + 16 ) 145#define SID_ATTR_PARA_SCRIPTSPACE ( SID_EDIT_START + 17 ) 146#define SID_ATTR_PARA_HANGPUNCTUATION ( SID_EDIT_START + 18 ) 147#define SID_ATTR_PARA_FORBIDDEN_RULES ( SID_EDIT_START + 19 ) 148#define SID_ATTR_PARA_SNAPTOGRID ( SID_EDIT_START + 20 ) 149#define SID_ATTR_PARA_LRSPACE_VERTICAL ( SID_EDIT_START + 21 ) 150#define SID_ATTR_PARA_LEFT_TO_RIGHT ( SID_EDIT_START + 22 ) 151#define SID_ATTR_PARA_RIGHT_TO_LEFT ( SID_EDIT_START + 23 ) 152#define SID_ATTR_PARA_OUTLINE_LEVEL ( SID_EDIT_START + 24 ) 153#define SID_ATTR_PARA_ADJUST_RIGHT ( SID_EDIT_START + 25 ) 154#define SID_ATTR_PARA_ADJUST_CENTER ( SID_EDIT_START + 26 ) 155#define SID_ATTR_PARA_ADJUST_BLOCK ( SID_EDIT_START + 27 ) 156#define SID_ATTR_PARA_ADJUST_BLOCKLINE ( SID_EDIT_START + 28 ) 157#define SID_ATTR_PARA_LINESPACE ( SID_EDIT_START + 29 ) 158#define SID_ATTR_PARA_LINESPACE_10 ( SID_EDIT_START + 30 ) 159#define SID_ATTR_PARA_LINESPACE_15 ( SID_EDIT_START + 31 ) 160#define SID_ATTR_PARA_LINESPACE_20 ( SID_EDIT_START + 32 ) 161#define SID_ATTR_PARA_PAGEBREAK ( SID_EDIT_START + 33 ) 162#define SID_ATTR_PARA_HYPHENZONE ( SID_EDIT_START + 34 ) 163#define SID_ATTR_PARA_SPLIT ( SID_EDIT_START + 35 ) 164#define SID_ATTR_PARA_ORPHANS ( SID_EDIT_START + 36 ) 165#define SID_ATTR_PARA_WIDOWS ( SID_EDIT_START + 37 ) 166#define SID_ATTR_PARA_ULSPACE ( SID_EDIT_START + 38 ) 167#define SID_ATTR_PARA_LRSPACE ( SID_EDIT_START + 39 ) 168#define SID_ATTR_PARA_MODEL ( SID_EDIT_START + 40 ) 169#define SID_ATTR_PARA_KEEP ( SID_EDIT_START + 41 ) 170#define SID_ATTR_NUMBERING_RULE ( SID_EDIT_START + 42 ) 171#define SID_ATTR_LRSPACE ( SID_EDIT_START + 43 ) 172#define SID_ATTR_ULSPACE ( SID_EDIT_START + 44 ) 173#define SID_ATTR_TABSTOP ( SID_EDIT_START + 45 ) 174#define SID_ATTR_TABSTOP_DEFAULTS ( SID_EDIT_START + 46 ) 175#define SID_ATTR_TABSTOP_POS ( SID_EDIT_START + 47 ) 176#define SID_ATTR_TABSTOP_OFFSET ( SID_EDIT_START + 48 ) 177#define SID_ATTR_CHAR ( SID_EDIT_START + 49 ) 178#define SID_ATTR_CHAR_FONT ( SID_EDIT_START + 50 ) 179#define SID_ATTR_CHAR_POSTURE ( SID_EDIT_START + 51 ) 180#define SID_ATTR_CHAR_WEIGHT ( SID_EDIT_START + 52 ) 181#define SID_ATTR_CHAR_SHADOWED ( SID_EDIT_START + 53 ) 182#define SID_ATTR_CHAR_WORDLINEMODE ( SID_EDIT_START + 54 ) 183#define SID_ATTR_CHAR_CONTOUR ( SID_EDIT_START + 55 ) 184#define SID_ATTR_CHAR_STRIKEOUT ( SID_EDIT_START + 56 ) 185#define SID_ATTR_CHAR_UNDERLINE ( SID_EDIT_START + 57 ) 186#define SID_ATTR_CHAR_FONTHEIGHT ( SID_EDIT_START + 58 ) 187#define SID_ATTR_CHAR_PROPSIZE ( SID_EDIT_START + 59 ) 188#define SID_ATTR_CHAR_COLOR ( SID_EDIT_START + 60 ) 189#define SID_ATTR_CHAR_KERNING ( SID_EDIT_START + 61 ) 190#define SID_ATTR_CHAR_CASEMAP ( SID_EDIT_START + 62 ) 191#define SID_ATTR_CHAR_LANGUAGE ( SID_EDIT_START + 63 ) 192#define SID_ATTR_CHAR_ESCAPEMENT ( SID_EDIT_START + 64 ) 193#define SID_ATTR_CHAR_FONTLIST ( SID_EDIT_START + 65 ) 194#define SID_ATTR_CHAR_MAPTYPE ( SID_EDIT_START + 66 ) 195#define SID_ATTR_CHAR_AUTOKERN ( SID_EDIT_START + 67 ) 196#define SID_ATTR_CHAR_OVERLINE ( SID_EDIT_START + 68 ) 197#define SID_ATTR_CHAR_CHARSETCOLOR ( SID_EDIT_START + 69 ) 198#define SID_ATTR_CHAR_CJK_FONT ( SID_EDIT_START + 70 ) 199#define SID_ATTR_CHAR_CJK_FONTHEIGHT ( SID_EDIT_START + 71 ) 200#define SID_ATTR_CHAR_CJK_LANGUAGE ( SID_EDIT_START + 72 ) 201#define SID_ATTR_CHAR_CJK_POSTURE ( SID_EDIT_START + 73 ) 202#define SID_ATTR_CHAR_CJK_WEIGHT ( SID_EDIT_START + 74 ) 203#define SID_ATTR_CHAR_CTL_FONT ( SID_EDIT_START + 75 ) 204#define SID_ATTR_CHAR_CTL_FONTHEIGHT ( SID_EDIT_START + 76 ) 205#define SID_ATTR_CHAR_CTL_LANGUAGE ( SID_EDIT_START + 77 ) 206#define SID_ATTR_CHAR_CTL_POSTURE ( SID_EDIT_START + 78 ) 207#define SID_ATTR_CHAR_CTL_WEIGHT ( SID_EDIT_START + 79 ) 208#define SID_ATTR_CHAR_TWO_LINES ( SID_EDIT_START + 80 ) 209#define SID_ATTR_CHAR_CJK_RUBY ( SID_EDIT_START + 81 ) 210#define SID_ATTR_CHAR_EMPHASISMARK ( SID_EDIT_START + 82 ) 211#define SID_ATTR_CHAR_SCRIPTTYPE ( SID_EDIT_START + 83 ) 212#define SID_ATTR_CHAR_VERTICAL ( SID_EDIT_START + 84 ) 213#define SID_ATTR_CHAR_ROTATED ( SID_EDIT_START + 85 ) 214#define SID_ATTR_CHAR_SCALEWIDTH ( SID_EDIT_START + 86 ) 215#define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE ( SID_EDIT_START + 87 ) 216#define SID_ATTR_CHAR_RELIEF ( SID_EDIT_START + 88 ) 217#define SID_ATTR_CHAR_HIDDEN ( SID_EDIT_START + 89 ) 218#define SID_ATTR_CHAR_LATIN_FONT ( SID_EDIT_START + 90 ) 219#define SID_ATTR_CHAR_LATIN_FONTHEIGHT ( SID_EDIT_START + 91 ) 220#define SID_ATTR_CHAR_LATIN_LANGUAGE ( SID_EDIT_START + 92 ) 221#define SID_ATTR_CHAR_LATIN_POSTURE ( SID_EDIT_START + 93 ) 222#define SID_ATTR_CHAR_LATIN_WEIGHT ( SID_EDIT_START + 94 ) 223*/ 224 225#if 94 > (SID_EDIT_END-SID_EDIT_START) 226#error Resource-Ueberlauf in #line, #file 227#endif 228 229#define SID_TEXT_ALIGNLEFT SID_ATTR_PARA_ADJUST_LEFT 230#define SID_TEXT_ALIGNRIGHT SID_ATTR_PARA_ADJUST_RIGHT 231#define SID_TEXT_ALIGNCENTER SID_ATTR_PARA_ADJUST_CENTER 232#define SID_TEXT_ALIGNBLOCK SID_ATTR_PARA_ADJUST_BLOCK 233#define SID_DRAW_TEXT_VERTICAL SID_ATTR_CHAR_VERTICAL 234 235#endif 236 237// ******************************************************************* EOF 238 239