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