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