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