18660f102SAndrew Rist/************************************************************** 2*de272532Smseidel * 38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 48660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 58660f102SAndrew Rist * distributed with this work for additional information 68660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 88660f102SAndrew Rist * "License"); you may not use this file except in compliance 98660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*de272532Smseidel * 118660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*de272532Smseidel * 138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 148660f102SAndrew Rist * software distributed under the License is distributed on an 158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 168660f102SAndrew Rist * KIND, either express or implied. See the License for the 178660f102SAndrew Rist * specific language governing permissions and limitations 188660f102SAndrew Rist * under the License. 19*de272532Smseidel * 208660f102SAndrew Rist *************************************************************/ 218660f102SAndrew Rist 228660f102SAndrew Rist 23cdf0e10cSrcweir 24*de272532Smseidel// #include ***************************************************************** 25cdf0e10cSrcweir#include "globals.hrc" 26cdf0e10cSrcweir#include "chrdlg.hrc" 27cdf0e10cSrcweir#include "drpcps.hrc" 28cdf0e10cSrcweir#include "helpid.h" 29*de272532Smseidel// TabDialog **************************************************************** 30cdf0e10cSrcweirTabDialog DLG_DROPCAPS 31cdf0e10cSrcweir{ 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34cdf0e10cSrcweir Text [ en-US ] = "Drop Caps" ; 35cdf0e10cSrcweir Moveable = TRUE ; 36cdf0e10cSrcweir TabControl 1 37cdf0e10cSrcweir { 38cdf0e10cSrcweir OutputSize = TRUE ; 39cdf0e10cSrcweir PageList = 40cdf0e10cSrcweir { 41cdf0e10cSrcweir PageItem 42cdf0e10cSrcweir { 43cdf0e10cSrcweir Identifier = TP_DROPCAPS ; 44cdf0e10cSrcweir Text [ en-US ] = "Drop Caps" ; 45cdf0e10cSrcweir PageResID = TP_DROPCAPS ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir}; 50cdf0e10cSrcweir // TabPage ****************************************************************** 51cdf0e10cSrcweirTabPage TP_DROPCAPS 52cdf0e10cSrcweir{ 53cdf0e10cSrcweir HelpID = HID_DROPCAPS ; 54*de272532Smseidel Size = MAP_APPFONT ( 260, 185 ) ; 55cdf0e10cSrcweir Hide = TRUE ; 56cdf0e10cSrcweir CheckBox CB_SWITCH 57cdf0e10cSrcweir { 58*de272532Smseidel HelpID = "sw:CheckBox:TP_DROPCAPS:CB_SWITCH" ; 59*de272532Smseidel Pos = MAP_APPFONT ( 12, 14 ) ; 60*de272532Smseidel Size = MAP_APPFONT ( 90, 10 ) ; 61cdf0e10cSrcweir Text [ en-US ] = "Display drop caps" ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir CheckBox CB_WORD 64cdf0e10cSrcweir { 65*de272532Smseidel HelpID = "sw:CheckBox:TP_DROPCAPS:CB_WORD" ; 66*de272532Smseidel Pos = MAP_APPFONT ( 12, 28 ) ; 67*de272532Smseidel Size = MAP_APPFONT ( 90, 10 ) ; 68cdf0e10cSrcweir Text [ en-US ] = "~Whole word" ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir FixedText FT_DROPCAPS 71cdf0e10cSrcweir { 72*de272532Smseidel Pos = MAP_APPFONT ( 12, 44 ) ; 73*de272532Smseidel Size = MAP_APPFONT ( 70, 8 ) ; 74cdf0e10cSrcweir Text [ en-US ] = "Number of ~characters:" ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir NumericField FLD_DROPCAPS 77cdf0e10cSrcweir { 78*de272532Smseidel HelpID = "sw:NumericField:TP_DROPCAPS:FLD_DROPCAPS" ; 79cdf0e10cSrcweir Border = TRUE ; 80cdf0e10cSrcweir First = 1 ; 81cdf0e10cSrcweir Last = 9 ; 82cdf0e10cSrcweir Left = TRUE ; 83cdf0e10cSrcweir Maximum = 9 ; 84cdf0e10cSrcweir Minimum = 1 ; 85*de272532Smseidel Pos = MAP_APPFONT ( 89, 42 ) ; 86cdf0e10cSrcweir Repeat = TRUE ; 87*de272532Smseidel Size = MAP_APPFONT ( 36, 12 ) ; 88cdf0e10cSrcweir Spin = TRUE ; 89cdf0e10cSrcweir TabStop = TRUE ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir FixedText TXT_LINES 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Left = TRUE ; 94*de272532Smseidel Pos = MAP_APPFONT ( 12, 60 ) ; 95*de272532Smseidel Size = MAP_APPFONT ( 70, 8 ) ; 96cdf0e10cSrcweir Text [ en-US ] = "~Lines" ; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir NumericField FLD_LINES 99cdf0e10cSrcweir { 100*de272532Smseidel HelpID = "sw:NumericField:TP_DROPCAPS:FLD_LINES" ; 101cdf0e10cSrcweir Border = TRUE ; 102cdf0e10cSrcweir First = 2 ; 103cdf0e10cSrcweir Last = 9 ; 104cdf0e10cSrcweir Left = TRUE ; 105cdf0e10cSrcweir Maximum = 9 ; 106cdf0e10cSrcweir Minimum = 2 ; 107*de272532Smseidel Pos = MAP_APPFONT ( 89, 58 ) ; 108cdf0e10cSrcweir Repeat = TRUE ; 109*de272532Smseidel Size = MAP_APPFONT ( 36, 12 ) ; 110cdf0e10cSrcweir Spin = TRUE ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir FixedText TXT_DISTANCE 114cdf0e10cSrcweir { 115cdf0e10cSrcweir Left = TRUE ; 116*de272532Smseidel Pos = MAP_APPFONT ( 12, 76 ) ; 117*de272532Smseidel Size = MAP_APPFONT ( 70, 8 ) ; 118cdf0e10cSrcweir Text [ en-US ] = "Space to text" ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir MetricField FLD_DISTANCE 121cdf0e10cSrcweir { 122*de272532Smseidel HelpID = "sw:MetricField:TP_DROPCAPS:FLD_DISTANCE" ; 123cdf0e10cSrcweir Border = TRUE ; 124cdf0e10cSrcweir DecimalDigits = 2 ; 125cdf0e10cSrcweir First = 0 ; 126cdf0e10cSrcweir Last = 200 ; 127cdf0e10cSrcweir Left = TRUE ; 128cdf0e10cSrcweir Maximum = 200 ; 129cdf0e10cSrcweir Minimum = 0 ; 130*de272532Smseidel Pos = MAP_APPFONT ( 89, 74 ) ; 131cdf0e10cSrcweir Repeat = TRUE ; 132*de272532Smseidel Size = MAP_APPFONT ( 36, 12 ) ; 133cdf0e10cSrcweir Spin = TRUE ; 134cdf0e10cSrcweir SpinSize = 10 ; 135cdf0e10cSrcweir TabStop = TRUE ; 136cdf0e10cSrcweir Unit = FUNIT_CM ; 137cdf0e10cSrcweir }; 138*de272532Smseidel FixedLine FL_SETTINGS 139cdf0e10cSrcweir { 140*de272532Smseidel Pos = MAP_APPFONT ( 6, 3 ) ; 141*de272532Smseidel Size = MAP_APPFONT ( 125, 8 ) ; 142cdf0e10cSrcweir Text [ en-US ] = "Settings" ; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir Control CNT_PICT 145cdf0e10cSrcweir { 146cdf0e10cSrcweir Border = TRUE ; 147*de272532Smseidel Pos = MAP_APPFONT ( 143, 7 ) ; 148*de272532Smseidel Size = MAP_APPFONT ( 105, 80 ) ; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir FixedText TXT_TEXT 151cdf0e10cSrcweir { 152cdf0e10cSrcweir Left = TRUE ; 153*de272532Smseidel Pos = MAP_APPFONT ( 12, 102 ) ; 154*de272532Smseidel Size = MAP_APPFONT ( 125, 8 ) ; 155cdf0e10cSrcweir Text [ en-US ] = "~Text" ; 156cdf0e10cSrcweir }; 157cdf0e10cSrcweir Edit EDT_TEXT 158cdf0e10cSrcweir { 159*de272532Smseidel HelpID = "sw:Edit:TP_DROPCAPS:EDT_TEXT" ; 160cdf0e10cSrcweir Border = TRUE ; 161cdf0e10cSrcweir Left = TRUE ; 162*de272532Smseidel Pos = MAP_APPFONT ( 143, 100 ) ; 163*de272532Smseidel Size = MAP_APPFONT ( 105, 12 ) ; 164cdf0e10cSrcweir TabStop = TRUE ; 165cdf0e10cSrcweir MaxTextLength = 9 ; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir FixedText TXT_TEMPLATE 168cdf0e10cSrcweir { 169cdf0e10cSrcweir Left = TRUE ; 170*de272532Smseidel Pos = MAP_APPFONT ( 12, 118 ) ; 171*de272532Smseidel Size = MAP_APPFONT ( 125, 8 ) ; 172cdf0e10cSrcweir Text [ en-US ] = "Character St~yle" ; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir ListBox BOX_TEMPLATE 175cdf0e10cSrcweir { 176*de272532Smseidel HelpID = "sw:ListBox:TP_DROPCAPS:BOX_TEMPLATE" ; 177cdf0e10cSrcweir Border = TRUE ; 178cdf0e10cSrcweir DropDown = TRUE ; 179*de272532Smseidel Pos = MAP_APPFONT ( 143, 116 ) ; 180*de272532Smseidel Size = MAP_APPFONT ( 105, 61 ) ; 181cdf0e10cSrcweir TabStop = TRUE ; 182cdf0e10cSrcweir }; 183*de272532Smseidel FixedLine FL_CONTENT 184cdf0e10cSrcweir { 185*de272532Smseidel Pos = MAP_APPFONT ( 6, 89 ) ; 186*de272532Smseidel Size = MAP_APPFONT ( 248, 8 ) ; 187cdf0e10cSrcweir Text [ en-US ] = "Contents" ; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir}; 190cdf0e10cSrcweir 191*de272532Smseidel// ********************************************************************** EOF 192