109a1d057SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 409a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 509a1d057SAndrew Rist * distributed with this work for additional information 609a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 809a1d057SAndrew Rist * "License"); you may not use this file except in compliance 909a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 1009a1d057SAndrew Rist * 1109a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1209a1d057SAndrew Rist * 1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 1409a1d057SAndrew Rist * software distributed under the License is distributed on an 1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1609a1d057SAndrew Rist * KIND, either express or implied. See the License for the 1709a1d057SAndrew Rist * specific language governing permissions and limitations 1809a1d057SAndrew Rist * under the License. 1909a1d057SAndrew Rist * 2009a1d057SAndrew Rist *************************************************************/ 2109a1d057SAndrew Rist 2209a1d057SAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <svx/svxids.hrc> 25cdf0e10cSrcweir#include <svx/dialogs.hrc> 26cdf0e10cSrcweir#include "fontwork.hrc" 27cdf0e10cSrcweir#include "helpid.hrc" 28*1e9c32afSArmin Le Grand 29cdf0e10cSrcweir // pragma ---------------------------------------------------------------- 30*1e9c32afSArmin Le Grand#define REDUCED_WIDTH 6 31*1e9c32afSArmin Le Grand#define REMOVED_VS_FORMS_HEIGHT (30 + 6) 32cdf0e10cSrcweir 33cdf0e10cSrcweir // RID_SVXDLG_FONTWORK --------------------------------------------------- 34cdf0e10cSrcweirDockingWindow RID_SVXDLG_FONTWORK 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir HelpId = CMD_SID_FONTWORK ; 37cdf0e10cSrcweir OutputSize = TRUE ; 38cdf0e10cSrcweir SVLook = TRUE ; 39cdf0e10cSrcweir Hide = TRUE ; 40cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 41*1e9c32afSArmin Le Grand Size = MAP_APPFONT ( 89 - REDUCED_WIDTH , 193 - REMOVED_VS_FORMS_HEIGHT ) ; 42cdf0e10cSrcweir Text [ en-US ] = "Fontwork" ; 43cdf0e10cSrcweir Moveable = TRUE ; 44cdf0e10cSrcweir Zoomable = TRUE ; 45cdf0e10cSrcweir Closeable = TRUE ; 46cdf0e10cSrcweir Dockable = TRUE ; 47cdf0e10cSrcweir EnableResizing = TRUE ; 48cdf0e10cSrcweir ToolBox TBX_STYLE 49cdf0e10cSrcweir { 50cdf0e10cSrcweir SVLook = TRUE ; 51*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6 , 41 - REMOVED_VS_FORMS_HEIGHT ) ; 52cdf0e10cSrcweir ItemList = 53cdf0e10cSrcweir { 54cdf0e10cSrcweir ToolBoxItem 55cdf0e10cSrcweir { 56cdf0e10cSrcweir AutoCheck = TRUE ; 57cdf0e10cSrcweir Identifier = TBI_STYLE_OFF ; 58cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_OFF ; 59cdf0e10cSrcweir Text [ en-US ] = "Off" ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir ToolBoxItem 62cdf0e10cSrcweir { 63cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir ToolBoxItem 66cdf0e10cSrcweir { 67cdf0e10cSrcweir AutoCheck = TRUE ; 68cdf0e10cSrcweir RadioCheck = TRUE ; 69cdf0e10cSrcweir Identifier = TBI_STYLE_ROTATE ; 70cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ; 71cdf0e10cSrcweir Text [ en-US ] = "Rotate" ; 72cdf0e10cSrcweir }; 73cdf0e10cSrcweir ToolBoxItem 74cdf0e10cSrcweir { 75cdf0e10cSrcweir AutoCheck = TRUE ; 76cdf0e10cSrcweir RadioCheck = TRUE ; 77cdf0e10cSrcweir Identifier = TBI_STYLE_UPRIGHT ; 78cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ; 79cdf0e10cSrcweir Text [ en-US ] = "Upright" ; 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir ToolBoxItem 82cdf0e10cSrcweir { 83cdf0e10cSrcweir AutoCheck = TRUE ; 84cdf0e10cSrcweir RadioCheck = TRUE ; 85cdf0e10cSrcweir Identifier = TBI_STYLE_SLANTX ; 86cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ; 87cdf0e10cSrcweir Text [ en-US ] = "Slant Horizontal" ; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir ToolBoxItem 90cdf0e10cSrcweir { 91cdf0e10cSrcweir AutoCheck = TRUE ; 92cdf0e10cSrcweir RadioCheck = TRUE ; 93cdf0e10cSrcweir Identifier = TBI_STYLE_SLANTY ; 94cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ; 95cdf0e10cSrcweir Text [ en-US ] = "Slant Vertical" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir ToolBox TBX_ADJUST 100cdf0e10cSrcweir { 101cdf0e10cSrcweir SVLook = TRUE ; 102*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6 , 63 - REMOVED_VS_FORMS_HEIGHT ) ; 103cdf0e10cSrcweir ItemList = 104cdf0e10cSrcweir { 105cdf0e10cSrcweir ToolBoxItem 106cdf0e10cSrcweir { 107cdf0e10cSrcweir AutoCheck = TRUE ; 108cdf0e10cSrcweir Checkable = TRUE ; 109cdf0e10cSrcweir Identifier = TBI_ADJUST_MIRROR ; 110cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ; 111cdf0e10cSrcweir Text [ en-US ] = "Orientation" ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir ToolBoxItem 114cdf0e10cSrcweir { 115cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 116cdf0e10cSrcweir }; 117cdf0e10cSrcweir ToolBoxItem 118cdf0e10cSrcweir { 119cdf0e10cSrcweir AutoCheck = TRUE ; 120cdf0e10cSrcweir RadioCheck = TRUE ; 121cdf0e10cSrcweir Identifier = TBI_ADJUST_LEFT ; 122cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ; 123cdf0e10cSrcweir Text [ en-US ] = "Align Left" ; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir ToolBoxItem 126cdf0e10cSrcweir { 127cdf0e10cSrcweir AutoCheck = TRUE ; 128cdf0e10cSrcweir RadioCheck = TRUE ; 129cdf0e10cSrcweir Identifier = TBI_ADJUST_CENTER ; 130cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ; 131cdf0e10cSrcweir Text [ en-US ] = "Center" ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir ToolBoxItem 134cdf0e10cSrcweir { 135cdf0e10cSrcweir AutoCheck = TRUE ; 136cdf0e10cSrcweir RadioCheck = TRUE ; 137cdf0e10cSrcweir Identifier = TBI_ADJUST_RIGHT ; 138cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ; 139cdf0e10cSrcweir Text [ en-US ] = "Align Right" ; 140cdf0e10cSrcweir }; 141cdf0e10cSrcweir ToolBoxItem 142cdf0e10cSrcweir { 143cdf0e10cSrcweir AutoCheck = TRUE ; 144cdf0e10cSrcweir RadioCheck = TRUE ; 145cdf0e10cSrcweir Identifier = TBI_ADJUST_AUTOSIZE ; 146cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ; 147cdf0e10cSrcweir Text [ en-US ] = "AutoSize Text" ; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir FixedImage FB_DISTANCE 152cdf0e10cSrcweir { 153*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10 , 84 - REMOVED_VS_FORMS_HEIGHT ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 15 ) ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir MetricField MTR_FLD_DISTANCE 157cdf0e10cSrcweir { 158cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE"; 159cdf0e10cSrcweir Border = TRUE ; 160*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29 , 85 - REMOVED_VS_FORMS_HEIGHT ) ; 161cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 12 ) ; 162cdf0e10cSrcweir TabStop = TRUE ; 163cdf0e10cSrcweir Repeat = TRUE ; 164cdf0e10cSrcweir Spin = TRUE ; 165cdf0e10cSrcweir Minimum = -5000000 ; 166cdf0e10cSrcweir Maximum = 5000000 ; 167cdf0e10cSrcweir StrictFormat = TRUE ; 168cdf0e10cSrcweir DecimalDigits = 2 ; 169cdf0e10cSrcweir Unit = FUNIT_MM ; 170cdf0e10cSrcweir First = -5000000 ; 171cdf0e10cSrcweir Last = 5000000 ; 172cdf0e10cSrcweir SpinSize = 50 ; 173cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance" ; 174cdf0e10cSrcweir 175cdf0e10cSrcweir }; 176cdf0e10cSrcweir FixedImage FB_TEXTSTART 177cdf0e10cSrcweir { 178*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10 , 99 - REMOVED_VS_FORMS_HEIGHT ) ; 179cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 15 ) ; 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir MetricField MTR_FLD_TEXTSTART 182cdf0e10cSrcweir { 183cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART"; 184cdf0e10cSrcweir Border = TRUE ; 185*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29 , 100 - REMOVED_VS_FORMS_HEIGHT ) ; 186cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 12 ) ; 187cdf0e10cSrcweir TabStop = TRUE ; 188cdf0e10cSrcweir Repeat = TRUE ; 189cdf0e10cSrcweir Spin = TRUE ; 190cdf0e10cSrcweir Maximum = 5000000 ; 191cdf0e10cSrcweir StrictFormat = TRUE ; 192cdf0e10cSrcweir DecimalDigits = 2 ; 193cdf0e10cSrcweir Unit = FUNIT_MM ; 194cdf0e10cSrcweir Last = 5000000 ; 195cdf0e10cSrcweir SpinSize = 50 ; 196cdf0e10cSrcweir QuickHelpText [ en-US ] = "Indent" ; 197cdf0e10cSrcweir }; 198cdf0e10cSrcweir ToolBox TBX_SHADOW 199cdf0e10cSrcweir { 200cdf0e10cSrcweir SVLook = TRUE ; 201*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6 , 122 - REMOVED_VS_FORMS_HEIGHT ) ; 202cdf0e10cSrcweir ItemList = 203cdf0e10cSrcweir { 204cdf0e10cSrcweir ToolBoxItem 205cdf0e10cSrcweir { 206cdf0e10cSrcweir AutoCheck = TRUE ; 207cdf0e10cSrcweir Checkable = TRUE ; 208cdf0e10cSrcweir Identifier = TBI_SHOWFORM ; 209cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHOWFORM ; 210cdf0e10cSrcweir Text [ en-US ] = "Contour" ; 211cdf0e10cSrcweir }; 212cdf0e10cSrcweir ToolBoxItem 213cdf0e10cSrcweir { 214cdf0e10cSrcweir AutoCheck = TRUE ; 215cdf0e10cSrcweir Checkable = TRUE ; 216cdf0e10cSrcweir Identifier = TBI_OUTLINE ; 217cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_OUTLINE ; 218cdf0e10cSrcweir Text [ en-US ] = "Text Contour" ; 219cdf0e10cSrcweir }; 220cdf0e10cSrcweir ToolBoxItem 221cdf0e10cSrcweir { 222cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir ToolBoxItem 225cdf0e10cSrcweir { 226cdf0e10cSrcweir AutoCheck = TRUE ; 227cdf0e10cSrcweir RadioCheck = TRUE ; 228cdf0e10cSrcweir Identifier = TBI_SHADOW_OFF ; 229cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_OFF ; 230cdf0e10cSrcweir Text [ en-US ] = "No Shadow" ; 231cdf0e10cSrcweir }; 232cdf0e10cSrcweir ToolBoxItem 233cdf0e10cSrcweir { 234cdf0e10cSrcweir AutoCheck = TRUE ; 235cdf0e10cSrcweir RadioCheck = TRUE ; 236cdf0e10cSrcweir Identifier = TBI_SHADOW_NORMAL ; 237cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ; 238cdf0e10cSrcweir Text [ en-US ] = "Vertical" ; 239cdf0e10cSrcweir }; 240cdf0e10cSrcweir ToolBoxItem 241cdf0e10cSrcweir { 242cdf0e10cSrcweir AutoCheck = TRUE ; 243cdf0e10cSrcweir RadioCheck = TRUE ; 244cdf0e10cSrcweir Identifier = TBI_SHADOW_SLANT ; 245cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ; 246cdf0e10cSrcweir Text [ en-US ] = "Slant" ; 247cdf0e10cSrcweir }; 248cdf0e10cSrcweir }; 249cdf0e10cSrcweir }; 250cdf0e10cSrcweir FixedImage FB_SHADOW_X 251cdf0e10cSrcweir { 252*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10 , 143 - REMOVED_VS_FORMS_HEIGHT ) ; 253cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 15 ) ; 254cdf0e10cSrcweir }; 255cdf0e10cSrcweir MetricField MTR_FLD_SHADOW_X 256cdf0e10cSrcweir { 257cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X"; 258cdf0e10cSrcweir Border = TRUE ; 259*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29 , 144 - REMOVED_VS_FORMS_HEIGHT ) ; 260cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 12 ) ; 261cdf0e10cSrcweir TabStop = TRUE ; 262cdf0e10cSrcweir Repeat = TRUE ; 263cdf0e10cSrcweir Spin = TRUE ; 264cdf0e10cSrcweir Minimum = -5000000 ; 265cdf0e10cSrcweir Maximum = 5000000 ; 266cdf0e10cSrcweir StrictFormat = TRUE ; 267cdf0e10cSrcweir DecimalDigits = 2 ; 268cdf0e10cSrcweir Unit = FUNIT_MM ; 269cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 270cdf0e10cSrcweir First = -5000000 ; 271cdf0e10cSrcweir Last = 5000000 ; 272cdf0e10cSrcweir SpinSize = 50 ; 273cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance X" ; 274cdf0e10cSrcweir }; 275cdf0e10cSrcweir FixedImage FB_SHADOW_Y 276cdf0e10cSrcweir { 277*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10 , 158 - REMOVED_VS_FORMS_HEIGHT ) ; 278cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 15 ) ; 279cdf0e10cSrcweir }; 280cdf0e10cSrcweir MetricField MTR_FLD_SHADOW_Y 281cdf0e10cSrcweir { 282cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y"; 283cdf0e10cSrcweir Border = TRUE ; 284*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29 , 159 - REMOVED_VS_FORMS_HEIGHT ) ; 285cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 12 ) ; 286cdf0e10cSrcweir TabStop = TRUE ; 287cdf0e10cSrcweir Repeat = TRUE ; 288cdf0e10cSrcweir Spin = TRUE ; 289cdf0e10cSrcweir Maximum = 5000000 ; 290cdf0e10cSrcweir StrictFormat = TRUE ; 291cdf0e10cSrcweir DecimalDigits = 2 ; 292cdf0e10cSrcweir Unit = FUNIT_MM ; 293cdf0e10cSrcweir Last = 5000000 ; 294cdf0e10cSrcweir SpinSize = 50 ; 295cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance Y" ; 296cdf0e10cSrcweir CustomUnitText [ en-US ] = "%" ; 297cdf0e10cSrcweir }; 298cdf0e10cSrcweir ListBox CLB_SHADOW_COLOR 299cdf0e10cSrcweir { 300cdf0e10cSrcweir HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR"; 301cdf0e10cSrcweir Border = TRUE ; 302*1e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6 , 174 - REMOVED_VS_FORMS_HEIGHT ) ; 303cdf0e10cSrcweir Size = MAP_APPFONT ( 71 , 60 ) ; 304cdf0e10cSrcweir DropDown = TRUE ; 305cdf0e10cSrcweir QuickHelpText [ en-US ] = "Shadow Color" ; 306cdf0e10cSrcweir Text = "-"; 307cdf0e10cSrcweir }; 308cdf0e10cSrcweir 309cdf0e10cSrcweir#define FONTWORK_IDLIST \ 310cdf0e10cSrcweir IdList = \ 311cdf0e10cSrcweir { \ 312cdf0e10cSrcweir TBI_STYLE_OFF ; \ 313cdf0e10cSrcweir TBI_STYLE_ROTATE ; \ 314cdf0e10cSrcweir TBI_STYLE_UPRIGHT ; \ 315cdf0e10cSrcweir TBI_STYLE_SLANTX ; \ 316cdf0e10cSrcweir TBI_STYLE_SLANTY ; \ 317cdf0e10cSrcweir TBI_ADJUST_MIRROR ; \ 318cdf0e10cSrcweir TBI_ADJUST_LEFT ; \ 319cdf0e10cSrcweir TBI_ADJUST_CENTER ; \ 320cdf0e10cSrcweir TBI_ADJUST_RIGHT ; \ 321cdf0e10cSrcweir TBI_ADJUST_AUTOSIZE ; \ 322cdf0e10cSrcweir TBI_SHOWFORM ; \ 323cdf0e10cSrcweir TBI_OUTLINE ; \ 324cdf0e10cSrcweir TBI_SHADOW_OFF ; \ 325cdf0e10cSrcweir TBI_SHADOW_NORMAL ; \ 326cdf0e10cSrcweir TBI_SHADOW_SLANT ; \ 327cdf0e10cSrcweir TBI_SHADOW_XDIST ; \ 328cdf0e10cSrcweir TBI_SHADOW_YDIST ; \ 329cdf0e10cSrcweir TBI_SHADOW_ANGLE ; \ 330cdf0e10cSrcweir TBI_SHADOW_SIZE ; \ 331cdf0e10cSrcweir TBI_DISTANCE ; \ 332cdf0e10cSrcweir TBI_TEXTSTART ; \ 333cdf0e10cSrcweir }; \ 334cdf0e10cSrcweir IdCount = { 21 ; }; 335cdf0e10cSrcweir 336cdf0e10cSrcweir #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 337cdf0e10cSrcweir 338cdf0e10cSrcweir ImageList IL_FONTWORK 339cdf0e10cSrcweir { 340cdf0e10cSrcweir Prefix = "fw"; 341cdf0e10cSrcweir MaskColor = IMAGE_STDBTN_COLOR ; 342cdf0e10cSrcweir FONTWORK_IDLIST 343cdf0e10cSrcweir }; 344cdf0e10cSrcweir ImageList ILH_FONTWORK 345cdf0e10cSrcweir { 346cdf0e10cSrcweir Prefix = "fwh"; 347cdf0e10cSrcweir MaskColor = IMAGE_STDBTN_COLOR ; 348cdf0e10cSrcweir FONTWORK_IDLIST 349cdf0e10cSrcweir }; 350cdf0e10cSrcweir}; 351cdf0e10cSrcweir 352*1e9c32afSArmin Le Grand// ********************************************************************** 353*1e9c32afSArmin Le Grand// EOF 354