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