xref: /trunk/main/sw/source/ui/chrdlg/drpcps.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28 // #include *****************************************************************
29#include "globals.hrc"
30#include "chrdlg.hrc"
31#include "drpcps.hrc"
32#include "helpid.h"
33 // TabDialog ****************************************************************
34TabDialog DLG_DROPCAPS
35{
36    OutputSize = TRUE ;
37    SVLook = TRUE ;
38    Text [ en-US ] = "Drop Caps" ;
39    Moveable = TRUE ;
40    TabControl 1
41    {
42        OutputSize = TRUE ;
43        PageList =
44        {
45            PageItem
46            {
47                Identifier = TP_DROPCAPS ;
48                Text [ en-US ] = "Drop Caps" ;
49                PageResID = TP_DROPCAPS ;
50            };
51        };
52    };
53};
54 // TabPage ******************************************************************
55TabPage TP_DROPCAPS
56{
57    HelpID = HID_DROPCAPS ;
58    Size = MAP_APPFONT ( 260 , 185 ) ;
59    Hide = TRUE ;
60    CheckBox CB_SWITCH
61    {
62        HelpID = "sw:CheckBox:TP_DROPCAPS:CB_SWITCH";
63        Pos = MAP_APPFONT ( 12 , 14 ) ;
64        Size = MAP_APPFONT ( 90 , 10 ) ;
65        Text [ en-US ] = "Display drop caps" ;
66    };
67    CheckBox CB_WORD
68    {
69        HelpID = "sw:CheckBox:TP_DROPCAPS:CB_WORD";
70        Pos = MAP_APPFONT ( 12 , 28 ) ;
71        Size = MAP_APPFONT ( 90 , 10 ) ;
72        Text [ en-US ] = "~Whole word" ;
73    };
74    FixedText FT_DROPCAPS
75    {
76        Pos = MAP_APPFONT ( 12 , 44 ) ;
77        Size = MAP_APPFONT ( 70 , 8 ) ;
78        Text [ en-US ] = "Number of ~characters:" ;
79    };
80    NumericField FLD_DROPCAPS
81    {
82        HelpID = "sw:NumericField:TP_DROPCAPS:FLD_DROPCAPS";
83        Border = TRUE ;
84        First = 1 ;
85        Last = 9 ;
86        Left = TRUE ;
87        Maximum = 9 ;
88        Minimum = 1 ;
89        Pos = MAP_APPFONT ( 89 , 42 ) ;
90        Repeat = TRUE ;
91        Size = MAP_APPFONT ( 36 , 12 ) ;
92        Spin = TRUE ;
93        TabStop = TRUE ;
94    };
95    FixedText TXT_LINES
96    {
97        Left = TRUE ;
98        Pos = MAP_APPFONT ( 12 , 60 ) ;
99        Size = MAP_APPFONT ( 70 , 8 ) ;
100        Text [ en-US ] = "~Lines" ;
101    };
102    NumericField FLD_LINES
103    {
104        HelpID = "sw:NumericField:TP_DROPCAPS:FLD_LINES";
105        Border = TRUE ;
106        First = 2 ;
107        Last = 9 ;
108        Left = TRUE ;
109        Maximum = 9 ;
110        Minimum = 2 ;
111        Pos = MAP_APPFONT ( 89 , 58 ) ;
112        Repeat = TRUE ;
113        Size = MAP_APPFONT ( 36 , 12 ) ;
114        Spin = TRUE ;
115        TabStop = TRUE ;
116    };
117    FixedText TXT_DISTANCE
118    {
119        Left = TRUE ;
120        Pos = MAP_APPFONT ( 12 , 76 ) ;
121        Size = MAP_APPFONT ( 70 , 8 ) ;
122        Text [ en-US ] = "Space to text" ;
123    };
124    MetricField FLD_DISTANCE
125    {
126        HelpID = "sw:MetricField:TP_DROPCAPS:FLD_DISTANCE";
127        Border = TRUE ;
128        DecimalDigits = 2 ;
129        First = 0 ;
130        Last = 200 ;
131        Left = TRUE ;
132        Maximum = 200 ;
133        Minimum = 0 ;
134        Pos = MAP_APPFONT ( 89 , 74 ) ;
135        Repeat = TRUE ;
136        Size = MAP_APPFONT ( 36 , 12 ) ;
137        Spin = TRUE ;
138        SpinSize = 10 ;
139        TabStop = TRUE ;
140        Unit = FUNIT_CM ;
141    };
142    FixedLine FL_SETTINGS
143    {
144        Pos = MAP_APPFONT ( 6 , 3 ) ;
145        Size = MAP_APPFONT ( 125 , 8 ) ;
146        Text [ en-US ] = "Settings" ;
147    };
148    Control CNT_PICT
149    {
150        Border = TRUE ;
151        Pos = MAP_APPFONT ( 143 , 7 ) ;
152        Size = MAP_APPFONT ( 105 , 80 ) ;
153    };
154    FixedText TXT_TEXT
155    {
156        Left = TRUE ;
157        Pos = MAP_APPFONT ( 12 , 102 ) ;
158        Size = MAP_APPFONT ( 125 , 8 ) ;
159        Text [ en-US ] = "~Text" ;
160    };
161    Edit EDT_TEXT
162    {
163        HelpID = "sw:Edit:TP_DROPCAPS:EDT_TEXT";
164        Border = TRUE ;
165        Left = TRUE ;
166        Pos = MAP_APPFONT ( 143 , 100 ) ;
167        Size = MAP_APPFONT ( 105 , 12 ) ;
168        TabStop = TRUE ;
169        MaxTextLength = 9 ;
170    };
171    FixedText TXT_TEMPLATE
172    {
173        Left = TRUE ;
174        Pos = MAP_APPFONT ( 12 , 118 ) ;
175        Size = MAP_APPFONT ( 125 , 8 ) ;
176        Text [ en-US ] = "Character St~yle" ;
177    };
178    ListBox BOX_TEMPLATE
179    {
180        HelpID = "sw:ListBox:TP_DROPCAPS:BOX_TEMPLATE";
181        Border = TRUE ;
182        DropDown = TRUE ;
183        Pos = MAP_APPFONT ( 143 , 116 ) ;
184        Size = MAP_APPFONT ( 105 , 61 ) ;
185        TabStop = TRUE ;
186    };
187    FixedLine FL_CONTENT
188    {
189        Pos = MAP_APPFONT ( 6 , 89 ) ;
190        Size = MAP_APPFONT ( 248 , 8 ) ;
191        Text [ en-US ] = "Contents" ;
192    };
193};
194 // ********************************************************************** EOF
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234