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 // include --------------------------------------------------------------- 24#include <svx/svxids.hrc> 25#include <svx/dialogs.hrc> 26#include "fontwork.hrc" 27#include "helpid.hrc" 28 // pragma ---------------------------------------------------------------- 29 30 // RID_SVXDLG_FONTWORK --------------------------------------------------- 31DockingWindow RID_SVXDLG_FONTWORK 32{ 33 HelpId = CMD_SID_FONTWORK ; 34 OutputSize = TRUE ; 35 SVLook = TRUE ; 36 Hide = TRUE ; 37 Pos = MAP_APPFONT ( 0 , 0 ) ; 38 Size = MAP_APPFONT ( 89 , 193 ) ; 39 Text [ en-US ] = "Fontwork" ; 40 Moveable = TRUE ; 41 Zoomable = TRUE ; 42 Closeable = TRUE ; 43 Dockable = TRUE ; 44 EnableResizing = TRUE ; 45 Control VS_FORMS 46 { 47 HelpId = HID_FONTWORK_CTL_FORMS ; 48 Pos = MAP_APPFONT ( 6 , 4 ) ; 49 Size = MAP_APPFONT ( 71 , 30 ) ; 50 Border = TRUE ; 51 TabStop = TRUE ; 52 }; 53 ToolBox TBX_STYLE 54 { 55 SVLook = TRUE ; 56 Pos = MAP_APPFONT ( 6 , 41 ) ; 57 ItemList = 58 { 59 ToolBoxItem 60 { 61 AutoCheck = TRUE ; 62 Identifier = TBI_STYLE_OFF ; 63 HelpId = HID_FONTWORK_TBI_STYLE_OFF ; 64 Text [ en-US ] = "Off" ; 65 }; 66 ToolBoxItem 67 { 68 Type = TOOLBOXITEM_SEPARATOR ; 69 }; 70 ToolBoxItem 71 { 72 AutoCheck = TRUE ; 73 RadioCheck = TRUE ; 74 Identifier = TBI_STYLE_ROTATE ; 75 HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ; 76 Text [ en-US ] = "Rotate" ; 77 }; 78 ToolBoxItem 79 { 80 AutoCheck = TRUE ; 81 RadioCheck = TRUE ; 82 Identifier = TBI_STYLE_UPRIGHT ; 83 HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ; 84 Text [ en-US ] = "Upright" ; 85 }; 86 ToolBoxItem 87 { 88 AutoCheck = TRUE ; 89 RadioCheck = TRUE ; 90 Identifier = TBI_STYLE_SLANTX ; 91 HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ; 92 Text [ en-US ] = "Slant Horizontal" ; 93 }; 94 ToolBoxItem 95 { 96 AutoCheck = TRUE ; 97 RadioCheck = TRUE ; 98 Identifier = TBI_STYLE_SLANTY ; 99 HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ; 100 Text [ en-US ] = "Slant Vertical" ; 101 }; 102 }; 103 }; 104 ToolBox TBX_ADJUST 105 { 106 SVLook = TRUE ; 107 Pos = MAP_APPFONT ( 6 , 63 ) ; 108 ItemList = 109 { 110 ToolBoxItem 111 { 112 AutoCheck = TRUE ; 113 Checkable = TRUE ; 114 Identifier = TBI_ADJUST_MIRROR ; 115 HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ; 116 Text [ en-US ] = "Orientation" ; 117 }; 118 ToolBoxItem 119 { 120 Type = TOOLBOXITEM_SEPARATOR ; 121 }; 122 ToolBoxItem 123 { 124 AutoCheck = TRUE ; 125 RadioCheck = TRUE ; 126 Identifier = TBI_ADJUST_LEFT ; 127 HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ; 128 Text [ en-US ] = "Align Left" ; 129 }; 130 ToolBoxItem 131 { 132 AutoCheck = TRUE ; 133 RadioCheck = TRUE ; 134 Identifier = TBI_ADJUST_CENTER ; 135 HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ; 136 Text [ en-US ] = "Center" ; 137 }; 138 ToolBoxItem 139 { 140 AutoCheck = TRUE ; 141 RadioCheck = TRUE ; 142 Identifier = TBI_ADJUST_RIGHT ; 143 HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ; 144 Text [ en-US ] = "Align Right" ; 145 }; 146 ToolBoxItem 147 { 148 AutoCheck = TRUE ; 149 RadioCheck = TRUE ; 150 Identifier = TBI_ADJUST_AUTOSIZE ; 151 HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ; 152 Text [ en-US ] = "AutoSize Text" ; 153 }; 154 }; 155 }; 156 FixedImage FB_DISTANCE 157 { 158 Pos = MAP_APPFONT ( 10 , 84 ) ; 159 Size = MAP_APPFONT ( 14 , 15 ) ; 160 }; 161 MetricField MTR_FLD_DISTANCE 162 { 163 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE"; 164 Border = TRUE ; 165 Pos = MAP_APPFONT ( 29 , 85 ) ; 166 Size = MAP_APPFONT ( 48 , 12 ) ; 167 TabStop = TRUE ; 168 Repeat = TRUE ; 169 Spin = TRUE ; 170 Minimum = -5000000 ; 171 Maximum = 5000000 ; 172 StrictFormat = TRUE ; 173 DecimalDigits = 2 ; 174 Unit = FUNIT_MM ; 175 First = -5000000 ; 176 Last = 5000000 ; 177 SpinSize = 50 ; 178 QuickHelpText [ en-US ] = "Distance" ; 179 180 }; 181 FixedImage FB_TEXTSTART 182 { 183 Pos = MAP_APPFONT ( 10 , 99 ) ; 184 Size = MAP_APPFONT ( 14 , 15 ) ; 185 }; 186 MetricField MTR_FLD_TEXTSTART 187 { 188 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART"; 189 Border = TRUE ; 190 Pos = MAP_APPFONT ( 29 , 100 ) ; 191 Size = MAP_APPFONT ( 48 , 12 ) ; 192 TabStop = TRUE ; 193 Repeat = TRUE ; 194 Spin = TRUE ; 195 Maximum = 5000000 ; 196 StrictFormat = TRUE ; 197 DecimalDigits = 2 ; 198 Unit = FUNIT_MM ; 199 Last = 5000000 ; 200 SpinSize = 50 ; 201 QuickHelpText [ en-US ] = "Indent" ; 202 }; 203 ToolBox TBX_SHADOW 204 { 205 SVLook = TRUE ; 206 Pos = MAP_APPFONT ( 6 , 122 ) ; 207 ItemList = 208 { 209 ToolBoxItem 210 { 211 AutoCheck = TRUE ; 212 Checkable = TRUE ; 213 Identifier = TBI_SHOWFORM ; 214 HelpId = HID_FONTWORK_TBI_SHOWFORM ; 215 Text [ en-US ] = "Contour" ; 216 }; 217 ToolBoxItem 218 { 219 AutoCheck = TRUE ; 220 Checkable = TRUE ; 221 Identifier = TBI_OUTLINE ; 222 HelpId = HID_FONTWORK_TBI_OUTLINE ; 223 Text [ en-US ] = "Text Contour" ; 224 }; 225 ToolBoxItem 226 { 227 Type = TOOLBOXITEM_SEPARATOR ; 228 }; 229 ToolBoxItem 230 { 231 AutoCheck = TRUE ; 232 RadioCheck = TRUE ; 233 Identifier = TBI_SHADOW_OFF ; 234 HelpId = HID_FONTWORK_TBI_SHADOW_OFF ; 235 Text [ en-US ] = "No Shadow" ; 236 }; 237 ToolBoxItem 238 { 239 AutoCheck = TRUE ; 240 RadioCheck = TRUE ; 241 Identifier = TBI_SHADOW_NORMAL ; 242 HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ; 243 Text [ en-US ] = "Vertical" ; 244 }; 245 ToolBoxItem 246 { 247 AutoCheck = TRUE ; 248 RadioCheck = TRUE ; 249 Identifier = TBI_SHADOW_SLANT ; 250 HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ; 251 Text [ en-US ] = "Slant" ; 252 }; 253 }; 254 }; 255 FixedImage FB_SHADOW_X 256 { 257 Pos = MAP_APPFONT ( 10 , 143 ) ; 258 Size = MAP_APPFONT ( 14 , 15 ) ; 259 }; 260 MetricField MTR_FLD_SHADOW_X 261 { 262 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X"; 263 Border = TRUE ; 264 Pos = MAP_APPFONT ( 29 , 144 ) ; 265 Size = MAP_APPFONT ( 48 , 12 ) ; 266 TabStop = TRUE ; 267 Repeat = TRUE ; 268 Spin = TRUE ; 269 Minimum = -5000000 ; 270 Maximum = 5000000 ; 271 StrictFormat = TRUE ; 272 DecimalDigits = 2 ; 273 Unit = FUNIT_MM ; 274 CustomUnitText [ en-US ] = " degrees" ; 275 First = -5000000 ; 276 Last = 5000000 ; 277 SpinSize = 50 ; 278 QuickHelpText [ en-US ] = "Distance X" ; 279 }; 280 FixedImage FB_SHADOW_Y 281 { 282 Pos = MAP_APPFONT ( 10 , 158 ) ; 283 Size = MAP_APPFONT ( 14 , 15 ) ; 284 }; 285 MetricField MTR_FLD_SHADOW_Y 286 { 287 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y"; 288 Border = TRUE ; 289 Pos = MAP_APPFONT ( 29 , 159 ) ; 290 Size = MAP_APPFONT ( 48 , 12 ) ; 291 TabStop = TRUE ; 292 Repeat = TRUE ; 293 Spin = TRUE ; 294 Maximum = 5000000 ; 295 StrictFormat = TRUE ; 296 DecimalDigits = 2 ; 297 Unit = FUNIT_MM ; 298 Last = 5000000 ; 299 SpinSize = 50 ; 300 QuickHelpText [ en-US ] = "Distance Y" ; 301 CustomUnitText [ en-US ] = "%" ; 302 }; 303 ListBox CLB_SHADOW_COLOR 304 { 305 HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR"; 306 Border = TRUE ; 307 Pos = MAP_APPFONT ( 6 , 174 ) ; 308 Size = MAP_APPFONT ( 71 , 60 ) ; 309 DropDown = TRUE ; 310 QuickHelpText [ en-US ] = "Shadow Color" ; 311 Text = "-"; 312 }; 313 314#define FONTWORK_IDLIST \ 315 IdList = \ 316 { \ 317 TBI_STYLE_OFF ; \ 318 TBI_STYLE_ROTATE ; \ 319 TBI_STYLE_UPRIGHT ; \ 320 TBI_STYLE_SLANTX ; \ 321 TBI_STYLE_SLANTY ; \ 322 TBI_ADJUST_MIRROR ; \ 323 TBI_ADJUST_LEFT ; \ 324 TBI_ADJUST_CENTER ; \ 325 TBI_ADJUST_RIGHT ; \ 326 TBI_ADJUST_AUTOSIZE ; \ 327 TBI_SHOWFORM ; \ 328 TBI_OUTLINE ; \ 329 TBI_SHADOW_OFF ; \ 330 TBI_SHADOW_NORMAL ; \ 331 TBI_SHADOW_SLANT ; \ 332 TBI_SHADOW_XDIST ; \ 333 TBI_SHADOW_YDIST ; \ 334 TBI_SHADOW_ANGLE ; \ 335 TBI_SHADOW_SIZE ; \ 336 TBI_DISTANCE ; \ 337 TBI_TEXTSTART ; \ 338 }; \ 339 IdCount = { 21 ; }; 340 341 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 342 343 ImageList IL_FONTWORK 344 { 345 Prefix = "fw"; 346 MaskColor = IMAGE_STDBTN_COLOR ; 347 FONTWORK_IDLIST 348 }; 349 ImageList ILH_FONTWORK 350 { 351 Prefix = "fwh"; 352 MaskColor = IMAGE_STDBTN_COLOR ; 353 FONTWORK_IDLIST 354 }; 355}; 356 // Bitmaps --------------------------------------------------------------- 357Bitmap RID_SVXBMP_FONTWORK_FORM1 358{ 359 File = "fwthcirc.bmp" ; 360}; 361Bitmap RID_SVXBMP_FONTWORK_FORM2 362{ 363 File = "fwbhcirc.bmp" ; 364}; 365Bitmap RID_SVXBMP_FONTWORK_FORM3 366{ 367 File = "fwlhcirc.bmp" ; 368}; 369Bitmap RID_SVXBMP_FONTWORK_FORM4 370{ 371 File = "fwrhcirc.bmp" ; 372}; 373Bitmap RID_SVXBMP_FONTWORK_FORM5 374{ 375 File = "fwtoparc.bmp" ; 376}; 377Bitmap RID_SVXBMP_FONTWORK_FORM6 378{ 379 File = "fwbotarc.bmp" ; 380}; 381Bitmap RID_SVXBMP_FONTWORK_FORM7 382{ 383 File = "fwlftarc.bmp" ; 384}; 385Bitmap RID_SVXBMP_FONTWORK_FORM8 386{ 387 File = "fwrgtarc.bmp" ; 388}; 389Bitmap RID_SVXBMP_FONTWORK_FORM9 390{ 391 File = "fwbuttn1.bmp" ; 392}; 393Bitmap RID_SVXBMP_FONTWORK_FORM10 394{ 395 File = "fwbuttn2.bmp" ; 396}; 397Bitmap RID_SVXBMP_FONTWORK_FORM11 398{ 399 File = "fwbuttn3.bmp" ; 400}; 401Bitmap RID_SVXBMP_FONTWORK_FORM12 402{ 403 File = "fwbuttn4.bmp" ; 404}; 405 406Bitmap RID_SVXBMP_FONTWORK_FORM1_H 407{ 408 File = "fwthcirc_h.bmp" ; 409}; 410Bitmap RID_SVXBMP_FONTWORK_FORM2_H 411{ 412 File = "fwbhcirc_h.bmp" ; 413}; 414Bitmap RID_SVXBMP_FONTWORK_FORM3_H 415{ 416 File = "fwlhcirc_h.bmp" ; 417}; 418Bitmap RID_SVXBMP_FONTWORK_FORM4_H 419{ 420 File = "fwrhcirc_h.bmp" ; 421}; 422Bitmap RID_SVXBMP_FONTWORK_FORM5_H 423{ 424 File = "fwtoparc_h.bmp" ; 425}; 426Bitmap RID_SVXBMP_FONTWORK_FORM6_H 427{ 428 File = "fwbotarc_h.bmp" ; 429}; 430Bitmap RID_SVXBMP_FONTWORK_FORM7_H 431{ 432 File = "fwlftarc_h.bmp" ; 433}; 434Bitmap RID_SVXBMP_FONTWORK_FORM8_H 435{ 436 File = "fwrgtarc_h.bmp" ; 437}; 438Bitmap RID_SVXBMP_FONTWORK_FORM9_H 439{ 440 File = "fwbuttn1_h.bmp" ; 441}; 442Bitmap RID_SVXBMP_FONTWORK_FORM10_H 443{ 444 File = "fwbuttn2_h.bmp" ; 445}; 446Bitmap RID_SVXBMP_FONTWORK_FORM11_H 447{ 448 File = "fwbuttn3_h.bmp" ; 449}; 450Bitmap RID_SVXBMP_FONTWORK_FORM12_H 451{ 452 File = "fwbuttn4_h.bmp" ; 453}; 454 455 // Strings --------------------------------------------------------------- 456String RID_SVXSTR_FONTWORK_FORM1 457{ 458 Text [ en-US ] = "Upper Semicircle" ; 459}; 460String RID_SVXSTR_FONTWORK_FORM2 461{ 462 Text [ en-US ] = "Lower Semicircle" ; 463}; 464String RID_SVXSTR_FONTWORK_FORM3 465{ 466 Text [ en-US ] = "Left Semicircle" ; 467}; 468String RID_SVXSTR_FONTWORK_FORM4 469{ 470 Text [ en-US ] = "Right Semicircle" ; 471}; 472String RID_SVXSTR_FONTWORK_FORM5 473{ 474 Text [ en-US ] = "Upper Arc" ; 475}; 476String RID_SVXSTR_FONTWORK_FORM6 477{ 478 Text [ en-US ] = "Lower Arc" ; 479}; 480String RID_SVXSTR_FONTWORK_FORM7 481{ 482 Text [ en-US ] = "Left Arc" ; 483}; 484String RID_SVXSTR_FONTWORK_FORM8 485{ 486 Text [ en-US ] = "Right Arc" ; 487}; 488String RID_SVXSTR_FONTWORK_FORM9 489{ 490 Text [ en-US ] = "Open Circle" ; 491}; 492String RID_SVXSTR_FONTWORK_FORM10 493{ 494 Text [ en-US ] = "Closed Circle" ; 495}; 496String RID_SVXSTR_FONTWORK_FORM11 497{ 498 Text [ en-US ] = "Closed Circle II" ; 499}; 500String RID_SVXSTR_FONTWORK_FORM12 501{ 502 Text [ en-US ] = "Open Circle Vertical" ; 503}; 504String RID_SVXSTR_FONTWORK_UNDOCREATE 505{ 506 Text [ en-US ] = "Create Fontwork object" ; 507}; 508 // ********************************************************************** EOF 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557