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#include "globals.hrc" 23#include "misc.hrc" 24#include "num.hrc" 25#include "cmdid.h" 26#include "helpid.h" 27#include "svx/dialogs.hrc" 28 29/**************************************************************************/ 30/* TabPage positions */ 31/**************************************************************************/ 32TabPage TP_NUM_POSITION 33{ 34 HelpID = HID_NUM_POSITION ; 35 SVLook = TRUE ; 36 Size = MAP_APPFONT ( 260, 185 ) ; 37 Hide = TRUE ; 38 FixedLine FL_LEVEL 39 { 40 Pos = MAP_APPFONT ( 6, 3 ) ; 41 Size = MAP_APPFONT ( 35, 8 ) ; 42 Text [ en-US ] = "Level" ; 43 }; 44 MultiListBox LB_LEVEL 45 { 46 HelpID = "sw:MultiListBox:TP_NUM_POSITION:LB_LEVEL" ; 47 Pos = MAP_APPFONT ( 12, 14 ) ; 48 Size = MAP_APPFONT ( 26, 163 ) ; 49 TabStop = TRUE ; 50 DropDown = FALSE ; 51 Border = TRUE ; 52 SimpleMode = TRUE ; 53 }; 54 FixedLine FL_POSITION 55 { 56 Pos = MAP_APPFONT ( 47, 3 ) ; 57 Size = MAP_APPFONT ( 207, 8 ) ; 58 Group = TRUE ; 59 Text [ en-US ] = "Position and spacing" ; 60 }; 61 FixedText FT_BORDERDIST 62 { 63 Pos = MAP_APPFONT ( 50, 27 ) ; 64 Size = MAP_APPFONT ( 105, 10 ) ; 65 Text [ en-US ] = "Indent" ; 66 }; 67 MetricField MF_BORDERDIST 68 { 69 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_BORDERDIST" ; 70 Pos = MAP_APPFONT ( 198, 25 ) ; 71 Size = MAP_APPFONT ( 40, 12 ) ; 72 Border = TRUE ; 73 TabStop = TRUE ; 74 Left = TRUE ; 75 Repeat = TRUE ; 76 Spin = TRUE ; 77 Minimum = -1999 ; 78 Maximum = 1999 ; 79 DecimalDigits = 2 ; 80 Value = 0 ; 81 Unit = FUNIT_CM ; 82 First = 0 ; 83 Last = 1999 ; 84 SpinSize = 5 ; 85 }; 86 CheckBox CB_RELATIVE 87 { 88 HelpID = "sw:CheckBox:TP_NUM_POSITION:CB_RELATIVE" ; 89 Pos = MAP_APPFONT ( 198, 41 ) ; 90 Size = MAP_APPFONT ( 52, 10 ) ; 91 Text [ en-US ] = "Relati~ve" ; 92 }; 93 FixedText FT_INDENT 94 { 95 Pos = MAP_APPFONT ( 50, 59 ) ; 96 Size = MAP_APPFONT ( 105, 8 ) ; 97 Text [ en-US ] = "Width of numbering" ; 98 }; 99 MetricField MF_INDENT 100 { 101 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_INDENT" ; 102 Pos = MAP_APPFONT ( 198, 57 ) ; 103 Size = MAP_APPFONT ( 40, 12 ) ; 104 Border = TRUE ; 105 TabStop = TRUE ; 106 Left = TRUE ; 107 Repeat = TRUE ; 108 Spin = TRUE ; 109 Minimum = 0 ; 110 Maximum = 1999 ; 111 DecimalDigits = 2 ; 112 Value = 0 ; 113 Unit = FUNIT_CM ; 114 First = 0 ; 115 Last = 1999 ; 116 SpinSize = 5 ; 117 }; 118 FixedText FT_NUMDIST 119 { 120 Pos = MAP_APPFONT ( 50, 75 ) ; 121 Size = MAP_APPFONT ( 105, 8 ) ; 122 Text [ en-US ] = "Minimum space numbering <-> text" ; 123 }; 124 MetricField MF_NUMDIST 125 { 126 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_NUMDIST" ; 127 Pos = MAP_APPFONT ( 198, 73 ) ; 128 Size = MAP_APPFONT ( 40, 12 ) ; 129 Left = TRUE ; 130 Repeat = TRUE ; 131 Spin = TRUE ; 132 Minimum = 0 ; 133 Maximum = 1999 ; 134 DecimalDigits = 2 ; 135 Value = 0 ; 136 Unit = FUNIT_CM ; 137 First = 0 ; 138 Last = 1999 ; 139 SpinSize = 5 ; 140 Border = TRUE ; 141 TabStop = TRUE ; 142 }; 143 FixedText FT_ALIGN 144 { 145 Pos = MAP_APPFONT ( 50, 91 ) ; 146 Size = MAP_APPFONT ( 105, 8 ) ; 147 Text [ en-US ] = "N~umbering alignment" ; 148 }; 149 ListBox LB_ALIGN 150 { 151 HelpID = "sw:ListBox:TP_NUM_POSITION:LB_ALIGN" ; 152 Pos = MAP_APPFONT ( 198, 89 ) ; 153 Size = MAP_APPFONT ( 40, 40 ) ; 154 TabStop = TRUE ; 155 DropDown = TRUE ; 156 StringList [ en-US ] = 157 { 158 < "Left" ; > ; 159 < "Centered" ; > ; 160 < "Right" ; > ; 161 }; 162 }; 163 FixedText FT_LABEL_FOLLOWED_BY 164 { 165 Pos = MAP_APPFONT ( 50, 27 ) ; 166 Size = MAP_APPFONT ( 105, 10 ) ; 167 Text [ en-US ] = "Numbering followed by" ; 168 }; 169 ListBox LB_LABEL_FOLLOWED_BY 170 { 171 HelpID = "sw:ListBox:TP_NUM_POSITION:LB_LABEL_FOLLOWED_BY" ; 172 Pos = MAP_APPFONT ( 198, 25 ) ; 173 Size = MAP_APPFONT ( 40, 12 ) ; 174 TabStop = TRUE ; 175 DropDown = TRUE ; 176 StringList [ en-US ] = 177 { 178 < "Tab stop" ; > ; 179 < "Space" ; > ; 180 < "Nothing" ; > ; 181 }; 182 }; 183 FixedText FT_LISTTAB 184 { 185 Pos = MAP_APPFONT ( 50, 43 ) ; 186 Size = MAP_APPFONT ( 143, 10 ) ; 187 Right = TRUE ; 188 Text [ en-US ] = "at" ; 189 }; 190 MetricField MF_LISTTAB 191 { 192 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_LISTTAB" ; 193 Pos = MAP_APPFONT ( 198, 41 ) ; 194 Size = MAP_APPFONT ( 40, 12 ) ; 195 Border = TRUE ; 196 TabStop = TRUE ; 197 Left = TRUE ; 198 Repeat = TRUE ; 199 Spin = TRUE ; 200 Minimum = 0 ; 201 Maximum = 1999 ; 202 DecimalDigits = 2 ; 203 Value = 0 ; 204 Unit = FUNIT_CM ; 205 First = 0 ; 206 Last = 1999 ; 207 SpinSize = 5 ; 208 }; 209 FixedText FT_ALIGN_2 210 { 211 Pos = MAP_APPFONT ( 50, 59 ) ; 212 Size = MAP_APPFONT ( 105, 8 ) ; 213 }; 214 ListBox LB_ALIGN_2 215 { 216 HelpID = "sw:ListBox:TP_NUM_POSITION:LB_ALIGN_2" ; 217 Pos = MAP_APPFONT ( 198, 57 ) ; 218 Size = MAP_APPFONT ( 40, 12 ) ; 219 TabStop = TRUE ; 220 DropDown = TRUE ; 221 }; 222 FixedText FT_ALIGNED_AT 223 { 224 Pos = MAP_APPFONT ( 50, 75 ) ; 225 Size = MAP_APPFONT ( 105, 8 ) ; 226 Text [ en-US ] = "Aligned at" ; 227 }; 228 MetricField MF_ALIGNED_AT 229 { 230 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_ALIGNED_AT" ; 231 Pos = MAP_APPFONT ( 198, 73 ) ; 232 Size = MAP_APPFONT ( 40, 12 ) ; 233 Left = TRUE ; 234 Repeat = TRUE ; 235 Spin = TRUE ; 236 Minimum = -1999 ; 237 Maximum = 1999 ; 238 DecimalDigits = 2 ; 239 Value = 0 ; 240 Unit = FUNIT_CM ; 241 First = 0 ; 242 Last = 1999 ; 243 SpinSize = 5 ; 244 Border = TRUE ; 245 TabStop = TRUE ; 246 }; 247 FixedText FT_INDENT_AT 248 { 249 Pos = MAP_APPFONT ( 50, 91 ) ; 250 Size = MAP_APPFONT ( 105, 8 ) ; 251 Text [ en-US ] = "Indent at" ; 252 }; 253 MetricField MF_INDENT_AT 254 { 255 HelpID = "sw:MetricField:TP_NUM_POSITION:MF_INDENT_AT" ; 256 Pos = MAP_APPFONT ( 198, 89 ) ; 257 Size = MAP_APPFONT ( 40, 12 ) ; 258 Left = TRUE ; 259 Repeat = TRUE ; 260 Spin = TRUE ; 261 Minimum = -1999 ; 262 Maximum = 1999 ; 263 DecimalDigits = 2 ; 264 Value = 0 ; 265 Unit = FUNIT_CM ; 266 First = 0 ; 267 Last = 1999 ; 268 SpinSize = 5 ; 269 Border = TRUE ; 270 TabStop = TRUE ; 271 }; 272 PushButton PB_STANDARD 273 { 274 HelpID = "sw:PushButton:TP_NUM_POSITION:PB_STANDARD" ; 275 Pos = MAP_APPFONT ( 198, 165 ) ; 276 Size = MAP_APPFONT ( 50, 14 ) ; 277 Text [ en-US ] = "Default" ; 278 }; 279 Window WIN_PREVIEW 280 { 281 Pos = MAP_APPFONT ( 50, 113 ) ; 282 Size = MAP_APPFONT ( 143, 67 ) ; 283 Border = TRUE ; 284 }; 285}; 286 287/**************************************************************************/ 288/* Dialogs for the test of Svx implementations */ 289/**************************************************************************/ 290TabDialog DLG_SVXTEST_NUM_BULLET 291{ 292 OutputSize = TRUE ; 293 SVLook = TRUE ; 294 Text [ en-US ] = "Bullets and Numbering" ; 295 Moveable = TRUE ; 296 TabControl 1 297 { 298 SVLook = TRUE ; 299 PageList = 300 { 301 PageItem 302 { 303 Identifier = RID_SVXPAGE_PICK_BULLET ; 304 Text [ en-US ] = "Bullets" ; 305 }; 306 PageItem 307 { 308 Identifier = RID_SVXPAGE_PICK_SINGLE_NUM ; 309 Text [ en-US ] = "Numbering" ; 310 }; 311 PageItem 312 { 313 Identifier = RID_SVXPAGE_PICK_NUM ; 314 Text [ en-US ] = "Outline" ; 315 }; 316 PageItem 317 { 318 Identifier = RID_SVXPAGE_PICK_BMP ; 319 Text [ en-US ] = "Graphics" ; 320 }; 321 PageItem 322 { 323 Identifier = RID_SVXPAGE_NUM_POSITION ; 324 Text [ en-US ] = "Position" ; 325 }; 326 PageItem 327 { 328 Identifier = RID_SVXPAGE_NUM_OPTIONS ; 329 Text [ en-US ] = "Options" ; 330 }; 331 }; 332 }; 333 String ST_RESET 334 { 335 Text [ en-US ] = "~Remove" ; 336 }; 337}; 338 339// ********************************************************************** EOF 340