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