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 10cdf0e10cSrcweir * 1109a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 2009a1d057SAndrew Rist *************************************************************/ 2109a1d057SAndrew Rist 22cdf0e10cSrcweir// include --------------------------------------------------------------- 23cdf0e10cSrcweir#include <svx/svxids.hrc> 24cdf0e10cSrcweir#include <svx/dialogs.hrc> 25cdf0e10cSrcweir#include "fontwork.hrc" 26cdf0e10cSrcweir#include "helpid.hrc" 271e9c32afSArmin Le Grand 28cdf0e10cSrcweir// pragma ---------------------------------------------------------------- 291e9c32afSArmin Le Grand#define REDUCED_WIDTH 6 301e9c32afSArmin Le Grand#define REMOVED_VS_FORMS_HEIGHT (30 + 6) 31cdf0e10cSrcweir 32cdf0e10cSrcweir// RID_SVXDLG_FONTWORK --------------------------------------------------- 33cdf0e10cSrcweirDockingWindow RID_SVXDLG_FONTWORK 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir HelpId = CMD_SID_FONTWORK ; 36cdf0e10cSrcweir OutputSize = TRUE ; 37cdf0e10cSrcweir SVLook = TRUE ; 38cdf0e10cSrcweir Hide = TRUE ; 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 0 ) ; 401e9c32afSArmin Le Grand Size = MAP_APPFONT ( 89 - REDUCED_WIDTH, 193 - REMOVED_VS_FORMS_HEIGHT ) ; 41cdf0e10cSrcweir Text [ en-US ] = "Fontwork" ; 42cdf0e10cSrcweir Moveable = TRUE ; 43cdf0e10cSrcweir Zoomable = TRUE ; 44cdf0e10cSrcweir Closeable = TRUE ; 45cdf0e10cSrcweir Dockable = TRUE ; 46cdf0e10cSrcweir EnableResizing = TRUE ; 47cdf0e10cSrcweir ToolBox TBX_STYLE 48cdf0e10cSrcweir { 49cdf0e10cSrcweir SVLook = TRUE ; 501e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6, 41 - REMOVED_VS_FORMS_HEIGHT ) ; 51cdf0e10cSrcweir ItemList = 52cdf0e10cSrcweir { 53cdf0e10cSrcweir ToolBoxItem 54cdf0e10cSrcweir { 55cdf0e10cSrcweir AutoCheck = TRUE ; 56cdf0e10cSrcweir Identifier = TBI_STYLE_OFF ; 57cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_OFF ; 58cdf0e10cSrcweir Text [ en-US ] = "Off" ; 59cdf0e10cSrcweir }; 60cdf0e10cSrcweir ToolBoxItem 61cdf0e10cSrcweir { 62cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir ToolBoxItem 65cdf0e10cSrcweir { 66cdf0e10cSrcweir AutoCheck = TRUE ; 67cdf0e10cSrcweir RadioCheck = TRUE ; 68cdf0e10cSrcweir Identifier = TBI_STYLE_ROTATE ; 69cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ; 70cdf0e10cSrcweir Text [ en-US ] = "Rotate" ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir ToolBoxItem 73cdf0e10cSrcweir { 74cdf0e10cSrcweir AutoCheck = TRUE ; 75cdf0e10cSrcweir RadioCheck = TRUE ; 76cdf0e10cSrcweir Identifier = TBI_STYLE_UPRIGHT ; 77cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ; 78cdf0e10cSrcweir Text [ en-US ] = "Upright" ; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir ToolBoxItem 81cdf0e10cSrcweir { 82cdf0e10cSrcweir AutoCheck = TRUE ; 83cdf0e10cSrcweir RadioCheck = TRUE ; 84cdf0e10cSrcweir Identifier = TBI_STYLE_SLANTX ; 85cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ; 86cdf0e10cSrcweir Text [ en-US ] = "Slant Horizontal" ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir ToolBoxItem 89cdf0e10cSrcweir { 90cdf0e10cSrcweir AutoCheck = TRUE ; 91cdf0e10cSrcweir RadioCheck = TRUE ; 92cdf0e10cSrcweir Identifier = TBI_STYLE_SLANTY ; 93cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ; 94cdf0e10cSrcweir Text [ en-US ] = "Slant Vertical" ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir ToolBox TBX_ADJUST 99cdf0e10cSrcweir { 100cdf0e10cSrcweir SVLook = TRUE ; 1011e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6, 63 - REMOVED_VS_FORMS_HEIGHT ) ; 102cdf0e10cSrcweir ItemList = 103cdf0e10cSrcweir { 104cdf0e10cSrcweir ToolBoxItem 105cdf0e10cSrcweir { 106cdf0e10cSrcweir AutoCheck = TRUE ; 107cdf0e10cSrcweir Checkable = TRUE ; 108cdf0e10cSrcweir Identifier = TBI_ADJUST_MIRROR ; 109cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ; 110cdf0e10cSrcweir Text [ en-US ] = "Orientation" ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir ToolBoxItem 113cdf0e10cSrcweir { 114cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir ToolBoxItem 117cdf0e10cSrcweir { 118cdf0e10cSrcweir AutoCheck = TRUE ; 119cdf0e10cSrcweir RadioCheck = TRUE ; 120cdf0e10cSrcweir Identifier = TBI_ADJUST_LEFT ; 121cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ; 122cdf0e10cSrcweir Text [ en-US ] = "Align Left" ; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir ToolBoxItem 125cdf0e10cSrcweir { 126cdf0e10cSrcweir AutoCheck = TRUE ; 127cdf0e10cSrcweir RadioCheck = TRUE ; 128cdf0e10cSrcweir Identifier = TBI_ADJUST_CENTER ; 129cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ; 130cdf0e10cSrcweir Text [ en-US ] = "Center" ; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir ToolBoxItem 133cdf0e10cSrcweir { 134cdf0e10cSrcweir AutoCheck = TRUE ; 135cdf0e10cSrcweir RadioCheck = TRUE ; 136cdf0e10cSrcweir Identifier = TBI_ADJUST_RIGHT ; 137cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ; 138cdf0e10cSrcweir Text [ en-US ] = "Align Right" ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir ToolBoxItem 141cdf0e10cSrcweir { 142cdf0e10cSrcweir AutoCheck = TRUE ; 143cdf0e10cSrcweir RadioCheck = TRUE ; 144cdf0e10cSrcweir Identifier = TBI_ADJUST_AUTOSIZE ; 145cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ; 146cdf0e10cSrcweir Text [ en-US ] = "AutoSize Text" ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir FixedImage FB_DISTANCE 151cdf0e10cSrcweir { 1521e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10, 84 - REMOVED_VS_FORMS_HEIGHT ) ; 153cdf0e10cSrcweir Size = MAP_APPFONT ( 14, 15 ) ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir MetricField MTR_FLD_DISTANCE 156cdf0e10cSrcweir { 157cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE" ; 158cdf0e10cSrcweir Border = TRUE ; 1591e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29, 85 - REMOVED_VS_FORMS_HEIGHT ) ; 160cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 12 ) ; 161cdf0e10cSrcweir TabStop = TRUE ; 162cdf0e10cSrcweir Repeat = TRUE ; 163cdf0e10cSrcweir Spin = TRUE ; 164cdf0e10cSrcweir Minimum = -5000000 ; 165cdf0e10cSrcweir Maximum = 5000000 ; 166cdf0e10cSrcweir StrictFormat = TRUE ; 167cdf0e10cSrcweir DecimalDigits = 2 ; 168cdf0e10cSrcweir Unit = FUNIT_MM ; 169cdf0e10cSrcweir First = -5000000 ; 170cdf0e10cSrcweir Last = 5000000 ; 171cdf0e10cSrcweir SpinSize = 50 ; 172cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance" ; 173cdf0e10cSrcweir 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir FixedImage FB_TEXTSTART 176cdf0e10cSrcweir { 1771e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10, 99 - REMOVED_VS_FORMS_HEIGHT ) ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( 14, 15 ) ; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir MetricField MTR_FLD_TEXTSTART 181cdf0e10cSrcweir { 182cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART" ; 183cdf0e10cSrcweir Border = TRUE ; 1841e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29, 100 - REMOVED_VS_FORMS_HEIGHT ) ; 185cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 12 ) ; 186cdf0e10cSrcweir TabStop = TRUE ; 187cdf0e10cSrcweir Repeat = TRUE ; 188cdf0e10cSrcweir Spin = TRUE ; 189cdf0e10cSrcweir Maximum = 5000000 ; 190cdf0e10cSrcweir StrictFormat = TRUE ; 191cdf0e10cSrcweir DecimalDigits = 2 ; 192cdf0e10cSrcweir Unit = FUNIT_MM ; 193cdf0e10cSrcweir Last = 5000000 ; 194cdf0e10cSrcweir SpinSize = 50 ; 195cdf0e10cSrcweir QuickHelpText [ en-US ] = "Indent" ; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir ToolBox TBX_SHADOW 198cdf0e10cSrcweir { 199cdf0e10cSrcweir SVLook = TRUE ; 2001e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6, 122 - REMOVED_VS_FORMS_HEIGHT ) ; 201cdf0e10cSrcweir ItemList = 202cdf0e10cSrcweir { 203cdf0e10cSrcweir ToolBoxItem 204cdf0e10cSrcweir { 205cdf0e10cSrcweir AutoCheck = TRUE ; 206cdf0e10cSrcweir Checkable = TRUE ; 207cdf0e10cSrcweir Identifier = TBI_SHOWFORM ; 208cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHOWFORM ; 209cdf0e10cSrcweir Text [ en-US ] = "Contour" ; 210cdf0e10cSrcweir }; 211cdf0e10cSrcweir ToolBoxItem 212cdf0e10cSrcweir { 213cdf0e10cSrcweir AutoCheck = TRUE ; 214cdf0e10cSrcweir Checkable = TRUE ; 215cdf0e10cSrcweir Identifier = TBI_OUTLINE ; 216cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_OUTLINE ; 217cdf0e10cSrcweir Text [ en-US ] = "Text Contour" ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir ToolBoxItem 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir ToolBoxItem 224cdf0e10cSrcweir { 225cdf0e10cSrcweir AutoCheck = TRUE ; 226cdf0e10cSrcweir RadioCheck = TRUE ; 227cdf0e10cSrcweir Identifier = TBI_SHADOW_OFF ; 228cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_OFF ; 229cdf0e10cSrcweir Text [ en-US ] = "No Shadow" ; 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir ToolBoxItem 232cdf0e10cSrcweir { 233cdf0e10cSrcweir AutoCheck = TRUE ; 234cdf0e10cSrcweir RadioCheck = TRUE ; 235cdf0e10cSrcweir Identifier = TBI_SHADOW_NORMAL ; 236cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ; 237cdf0e10cSrcweir Text [ en-US ] = "Vertical" ; 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir ToolBoxItem 240cdf0e10cSrcweir { 241cdf0e10cSrcweir AutoCheck = TRUE ; 242cdf0e10cSrcweir RadioCheck = TRUE ; 243cdf0e10cSrcweir Identifier = TBI_SHADOW_SLANT ; 244cdf0e10cSrcweir HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ; 245cdf0e10cSrcweir Text [ en-US ] = "Slant" ; 246cdf0e10cSrcweir }; 247cdf0e10cSrcweir }; 248cdf0e10cSrcweir }; 249cdf0e10cSrcweir FixedImage FB_SHADOW_X 250cdf0e10cSrcweir { 2511e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10, 143 - REMOVED_VS_FORMS_HEIGHT ) ; 252cdf0e10cSrcweir Size = MAP_APPFONT ( 14, 15 ) ; 253cdf0e10cSrcweir }; 254cdf0e10cSrcweir MetricField MTR_FLD_SHADOW_X 255cdf0e10cSrcweir { 256cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X" ; 257cdf0e10cSrcweir Border = TRUE ; 2581e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29, 144 - REMOVED_VS_FORMS_HEIGHT ) ; 259cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 12 ) ; 260cdf0e10cSrcweir TabStop = TRUE ; 261cdf0e10cSrcweir Repeat = TRUE ; 262cdf0e10cSrcweir Spin = TRUE ; 263cdf0e10cSrcweir Minimum = -5000000 ; 264cdf0e10cSrcweir Maximum = 5000000 ; 265cdf0e10cSrcweir StrictFormat = TRUE ; 266cdf0e10cSrcweir DecimalDigits = 2 ; 267cdf0e10cSrcweir Unit = FUNIT_MM ; 268cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 269cdf0e10cSrcweir First = -5000000 ; 270cdf0e10cSrcweir Last = 5000000 ; 271cdf0e10cSrcweir SpinSize = 50 ; 272cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance X" ; 273cdf0e10cSrcweir }; 274cdf0e10cSrcweir FixedImage FB_SHADOW_Y 275cdf0e10cSrcweir { 2761e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 10, 158 - REMOVED_VS_FORMS_HEIGHT ) ; 277cdf0e10cSrcweir Size = MAP_APPFONT ( 14, 15 ) ; 278cdf0e10cSrcweir }; 279cdf0e10cSrcweir MetricField MTR_FLD_SHADOW_Y 280cdf0e10cSrcweir { 281cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y" ; 282cdf0e10cSrcweir Border = TRUE ; 2831e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 29, 159 - REMOVED_VS_FORMS_HEIGHT ) ; 284cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 12 ) ; 285cdf0e10cSrcweir TabStop = TRUE ; 286cdf0e10cSrcweir Repeat = TRUE ; 287cdf0e10cSrcweir Spin = TRUE ; 288cdf0e10cSrcweir Maximum = 5000000 ; 289cdf0e10cSrcweir StrictFormat = TRUE ; 290cdf0e10cSrcweir DecimalDigits = 2 ; 291cdf0e10cSrcweir Unit = FUNIT_MM ; 292cdf0e10cSrcweir Last = 5000000 ; 293cdf0e10cSrcweir SpinSize = 50 ; 294cdf0e10cSrcweir QuickHelpText [ en-US ] = "Distance Y" ; 295cdf0e10cSrcweir }; 296cdf0e10cSrcweir ListBox CLB_SHADOW_COLOR 297cdf0e10cSrcweir { 298cdf0e10cSrcweir HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR" ; 299cdf0e10cSrcweir Border = TRUE ; 3001e9c32afSArmin Le Grand Pos = MAP_APPFONT ( 6, 174 - REMOVED_VS_FORMS_HEIGHT ) ; 301cdf0e10cSrcweir Size = MAP_APPFONT ( 71, 60 ) ; 302cdf0e10cSrcweir DropDown = TRUE ; 303cdf0e10cSrcweir QuickHelpText [ en-US ] = "Shadow Color" ; 304cdf0e10cSrcweir Text = "-" ; 305cdf0e10cSrcweir }; 306cdf0e10cSrcweir 307cdf0e10cSrcweir#define FONTWORK_IDLIST \ 308cdf0e10cSrcweir IdList = \ 309cdf0e10cSrcweir { \ 310cdf0e10cSrcweir TBI_STYLE_OFF ; \ 311cdf0e10cSrcweir TBI_STYLE_ROTATE ; \ 312cdf0e10cSrcweir TBI_STYLE_UPRIGHT ; \ 313cdf0e10cSrcweir TBI_STYLE_SLANTX ; \ 314cdf0e10cSrcweir TBI_STYLE_SLANTY ; \ 315cdf0e10cSrcweir TBI_ADJUST_MIRROR ; \ 316cdf0e10cSrcweir TBI_ADJUST_LEFT ; \ 317cdf0e10cSrcweir TBI_ADJUST_CENTER ; \ 318cdf0e10cSrcweir TBI_ADJUST_RIGHT ; \ 319cdf0e10cSrcweir TBI_ADJUST_AUTOSIZE ; \ 320cdf0e10cSrcweir TBI_SHOWFORM ; \ 321cdf0e10cSrcweir TBI_OUTLINE ; \ 322cdf0e10cSrcweir TBI_SHADOW_OFF ; \ 323cdf0e10cSrcweir TBI_SHADOW_NORMAL ; \ 324cdf0e10cSrcweir TBI_SHADOW_SLANT ; \ 325cdf0e10cSrcweir TBI_SHADOW_XDIST ; \ 326cdf0e10cSrcweir TBI_SHADOW_YDIST ; \ 327cdf0e10cSrcweir TBI_SHADOW_ANGLE ; \ 328cdf0e10cSrcweir TBI_SHADOW_SIZE ; \ 329cdf0e10cSrcweir TBI_DISTANCE ; \ 330cdf0e10cSrcweir TBI_TEXTSTART ; \ 331cdf0e10cSrcweir }; \ 332cdf0e10cSrcweir IdCount = { 21 ; } ; 333cdf0e10cSrcweir 334cdf0e10cSrcweir #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 335cdf0e10cSrcweir 336cdf0e10cSrcweir ImageList IL_FONTWORK 337cdf0e10cSrcweir { 338cdf0e10cSrcweir Prefix = "fw" ; 339cdf0e10cSrcweir MaskColor = IMAGE_STDBTN_COLOR ; 340cdf0e10cSrcweir FONTWORK_IDLIST 341cdf0e10cSrcweir }; 342cdf0e10cSrcweir ImageList ILH_FONTWORK 343cdf0e10cSrcweir { 344cdf0e10cSrcweir Prefix = "fwh" ; 345cdf0e10cSrcweir MaskColor = IMAGE_STDBTN_COLOR ; 346cdf0e10cSrcweir FONTWORK_IDLIST 347cdf0e10cSrcweir }; 348cdf0e10cSrcweir}; 349cdf0e10cSrcweir 350*5b75b699Smseidel// ********************************************************************** EOF 351