xref: /trunk/main/sw/source/ui/misc/pggrid.src (revision 6cb06142790376a2c58e6392182eb071420a4221)
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 "globals.hrc"
25#include "pggrid.hrc"
26#include "helpid.h"
27
28TabPage TP_TEXTGRID_PAGE
29{
30    HelpID = HID_TEXTGRID_PAGE ;
31    Pos = MAP_APPFONT ( 0, 0 ) ;
32    Size = MAP_APPFONT ( 260, 185 ) ;
33    Hide = TRUE ;
34    FixedLine FL_GRID_TYPE
35    {
36        Pos = MAP_APPFONT ( 6, 3 ) ;
37        Size = MAP_APPFONT ( 164, 8 ) ;
38        Text [ en-US ] = "Grid" ;
39    };
40    RadioButton RB_NOGRID
41    {
42        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_NOGRID" ;
43        Pos = MAP_APPFONT ( 12, 14 ) ;
44        Size = MAP_APPFONT ( 158, 10 ) ;
45        Text [ en-US ] = "No grid" ;
46    };
47    RadioButton RB_LINESGRID
48    {
49        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_LINESGRID" ;
50        Pos = MAP_APPFONT ( 12, 27 ) ;
51        Size = MAP_APPFONT ( 158, 10 ) ;
52        Text [ en-US ] = "Grid (lines only)" ;
53    };
54    RadioButton RB_CHARSGRID
55    {
56        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_CHARSGRID" ;
57        Pos = MAP_APPFONT ( 12, 40 ) ;
58        Size = MAP_APPFONT ( 158, 10 ) ;
59        Text [ en-US ] = "Grid (lines and characters)" ;
60    };
61    CheckBox CB_SNAPTOCHARS
62    {
63        HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_SNAPTOCHARS" ;
64        Pos = MAP_APPFONT ( 14, 53 ) ;
65        Size = MAP_APPFONT ( 158, 10 ) ;
66        Text [ en-US ] = "~Snap to characters" ;
67    };
68    Window WN_EXAMPLE
69    {
70        Pos = MAP_APPFONT ( 176, 6 ) ;
71        Size = MAP_APPFONT ( 75, 46 ) ;
72    };
73    FixedLine FL_LAYOUT
74    {
75        Pos = MAP_APPFONT ( 6, 69 ) ;
76        Size = MAP_APPFONT ( 248, 8 ) ;
77        Text [ en-US ] = "Grid layout" ;
78    };
79    FixedText FT_LINESPERPAGE
80    {
81        Pos = MAP_APPFONT ( 12, 82 ) ;
82        Size = MAP_APPFONT ( 59, 8 ) ;
83        Text [ en-US ] = "Lines per page" ;
84    };
85    NumericField NF_LINESPERPAGE
86    {
87        HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_LINESPERPAGE" ;
88        Pos = MAP_APPFONT ( 74, 80 ) ;
89        Size = MAP_APPFONT ( 25, 12 ) ;
90        Border = TRUE ;
91        TabStop = TRUE ;
92        Left = TRUE ;
93        Repeat = TRUE ;
94        Spin = TRUE ;
95        Minimum = 1 ;
96        Maximum = 154 ;
97        Value = 1 ;
98        First = 1 ;
99        Last = 154 ;
100        SpinSize = 1 ;
101    };
102    FixedText FT_TEXTSIZE
103    {
104        Pos = MAP_APPFONT ( 133, 82 ) ;
105        Size = MAP_APPFONT ( 80, 8 ) ;
106        Text [ en-US ] = "Max. base text size" ;
107    };
108    MetricField MF_TEXTSIZE
109    {
110        HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_TEXTSIZE" ;
111        Pos = MAP_APPFONT ( 216, 80 ) ;
112        Size = MAP_APPFONT ( 35, 12 ) ;
113        Border = TRUE ;
114        TabStop = TRUE ;
115        Left = TRUE ;
116        Repeat = TRUE ;
117        Spin = TRUE ;
118        Minimum = 100 ;
119        Maximum = 5600 ;
120        DecimalDigits = 2 ;
121        Unit = FUNIT_POINT ;
122        First = 10 ;
123        Last = 5600 ;
124        SpinSize = 5 ;
125    };
126    FixedText FT_CHARSPERLINE
127    {
128        Pos = MAP_APPFONT ( 12, 98 ) ;
129        Size = MAP_APPFONT ( 59, 8 ) ;
130        Text [ en-US ] = "Characters per line" ;
131    };
132    NumericField NF_CHARSPERLINE
133    {
134        HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_CHARSPERLINE" ;
135        Pos = MAP_APPFONT ( 74, 96 ) ;
136        Size = MAP_APPFONT ( 25, 12 ) ;
137        Border = TRUE ;
138        TabStop = TRUE ;
139        Left = TRUE ;
140        Repeat = TRUE ;
141        Spin = TRUE ;
142        Minimum = 1 ;
143        Maximum = 233 ;
144        Value = 1 ;
145        First = 1 ;
146        Last = 233 ;
147        SpinSize = 1 ;
148    };
149    FixedText FT_CHARWIDTH
150    {
151        Pos = MAP_APPFONT ( 133, 98 ) ;
152        Size = MAP_APPFONT ( 80, 8 ) ;
153        Text [ en-US ] = "Character ~width" ;
154    };
155    MetricField MF_CHARWIDTH
156    {
157        HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_CHARWIDTH" ;
158        Pos = MAP_APPFONT ( 216, 96 ) ;
159        Size = MAP_APPFONT ( 35, 12 ) ;
160        Border = TRUE ;
161        TabStop = TRUE ;
162        Left = TRUE ;
163        Repeat = TRUE ;
164        Spin = TRUE ;
165        Minimum = 100 ;
166        Maximum = 5600 ;
167        DecimalDigits = 2 ;
168        Unit = FUNIT_POINT ;
169        First = 0 ;
170        Last = 5600 ;
171        SpinSize = 5 ;
172    };
173    FixedText FT_RUBYSIZE
174    {
175        Pos = MAP_APPFONT ( 133, 98 ) ;
176        Size = MAP_APPFONT ( 80, 8 ) ;
177        Text [ en-US ] = "Max. Ruby text size" ;
178    };
179    MetricField MF_RUBYSIZE
180    {
181        HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_RUBYSIZE" ;
182        Pos = MAP_APPFONT ( 216, 96 ) ;
183        Size = MAP_APPFONT ( 35, 12 ) ;
184        Border = TRUE ;
185        TabStop = TRUE ;
186        Left = TRUE ;
187        Repeat = TRUE ;
188        Spin = TRUE ;
189        Minimum = 100 ;
190        Maximum = 5600 ;
191        DecimalDigits = 2 ;
192        Unit = FUNIT_POINT ;
193        First = 0 ;
194        Last = 5600 ;
195        SpinSize = 5 ;
196    };
197    CheckBox CB_RUBYBELOW
198    {
199        HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_RUBYBELOW" ;
200        Pos = MAP_APPFONT ( 14, 112 ) ;
201        Size = MAP_APPFONT ( 237, 10 ) ;
202        Text [ en-US ] = "Ruby text below/left from base text" ;
203    };
204    FixedLine FL_DISPLAY
205    {
206        Pos = MAP_APPFONT ( 6, 128 ) ;
207        Size = MAP_APPFONT ( 248, 8 ) ;
208        Text [ en-US ] = "Grid display" ;
209    };
210    CheckBox CB_DISPLAY
211    {
212        HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_DISPLAY" ;
213        Pos = MAP_APPFONT ( 12, 139 ) ;
214        Size = MAP_APPFONT ( 118, 10 ) ;
215        Text [ en-US ] = "Display grid" ;
216    };
217    CheckBox CB_PRINT
218    {
219        HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_PRINT" ;
220        Pos = MAP_APPFONT ( 18, 154 ) ;
221        Size = MAP_APPFONT ( 112, 10 ) ;
222        Text [ en-US ] = "Print grid" ;
223    };
224    FixedText FT_COLOR
225    {
226        Pos = MAP_APPFONT ( 133, 139 ) ;
227        Size = MAP_APPFONT ( 55, 8 ) ;
228        Text [ en-US ] = "Grid color" ;
229    };
230    ListBox LB_COLOR
231    {
232        HelpID = "sw:ListBox:TP_TEXTGRID_PAGE:LB_COLOR" ;
233        Pos = MAP_APPFONT ( 191, 137 ) ;
234        Size = MAP_APPFONT ( 60, 50 ) ;
235        TabStop = TRUE ;
236        Border = TRUE ;
237        DropDown = TRUE ;
238    };
239};
240
241// ********************************************************************** EOF
242