pggrid.src (aba847bd) pggrid.src (6358e474)
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

--- 10 unchanged lines hidden (view full) ---

19 *
20 *************************************************************/
21
22
23
24#include "globals.hrc"
25#include "pggrid.hrc"
26#include "helpid.h"
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

--- 10 unchanged lines hidden (view full) ---

19 *
20 *************************************************************/
21
22
23
24#include "globals.hrc"
25#include "pggrid.hrc"
26#include "helpid.h"
27
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 };
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 };
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)" ;
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)" ;
52 };
53 };
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)" ;
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)" ;
59 };
60 };
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" ;
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" ;
77 };
67 };
78 FixedText FT_LINESPERPAGE
79 {
80 Pos = MAP_APPFONT ( 12, 82 ) ;
81 Size = MAP_APPFONT ( 59, 8 ) ;
82 Text [ en-US ] = "Lines per page" ;
68 Window WN_EXAMPLE
69 {
70 Pos = MAP_APPFONT ( 176, 6 ) ;
71 Size = MAP_APPFONT ( 75, 46 ) ;
83 };
72 };
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 ;
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 ;
91 Left = TRUE ;
92 Repeat = TRUE ;
93 Spin = TRUE ;
94 Minimum = 1 ;
92 Left = TRUE ;
93 Repeat = TRUE ;
94 Spin = TRUE ;
95 Minimum = 1 ;
95 Maximum = 154 ;
96 Maximum = 154 ;
96 Value = 1 ;
97 First = 1 ;
97 Value = 1 ;
98 First = 1 ;
98 Last = 154 ;
99 Last = 154 ;
99 SpinSize = 1 ;
100 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 };
101 };
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 ;
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 ;
114 Left = TRUE ;
115 Repeat = TRUE ;
116 Spin = TRUE ;
115 Left = TRUE ;
116 Repeat = TRUE ;
117 Spin = TRUE ;
117 Minimum = 100 ;
118 Minimum = 100 ;
118 Maximum = 5600 ;
119 Maximum = 5600 ;
119 DecimalDigits = 2 ;
120 Unit = FUNIT_POINT ;
120 DecimalDigits = 2 ;
121 Unit = FUNIT_POINT ;
121 First = 10 ;
122 Last = 5600 ;
122 First = 10 ;
123 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" ;
124 SpinSize = 5 ;
130 };
125 };
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 ;
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 ;
138 Left = TRUE ;
139 Repeat = TRUE ;
140 Spin = TRUE ;
141 Minimum = 1 ;
139 Left = TRUE ;
140 Repeat = TRUE ;
141 Spin = TRUE ;
142 Minimum = 1 ;
142 Maximum = 233 ;
143 Maximum = 233 ;
143 Value = 1 ;
144 First = 1 ;
144 Value = 1 ;
145 First = 1 ;
145 Last = 233 ;
146 Last = 233 ;
146 SpinSize = 1 ;
147 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 };
148 };
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 ;
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 ;
161 Left = TRUE ;
162 Repeat = TRUE ;
163 Spin = TRUE ;
162 Left = TRUE ;
163 Repeat = TRUE ;
164 Spin = TRUE ;
164 Minimum = 100 ;
165 Minimum = 100 ;
165 Maximum = 5600 ;
166 Maximum = 5600 ;
166 DecimalDigits = 2 ;
167 Unit = FUNIT_POINT ;
167 DecimalDigits = 2 ;
168 Unit = FUNIT_POINT ;
168 First = 0 ;
169 Last = 5600 ;
169 First = 0 ;
170 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" ;
171 SpinSize = 5 ;
177 };
172 };
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" ;
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" ;
202 };
178 };
203 FixedLine FL_DISPLAY
204 {
205 Pos = MAP_APPFONT ( 6, 128 ) ;
206 Size = MAP_APPFONT ( 248, 8 ) ;
207 Text [ en-US ] = "Grid display" ;
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 ;
208 };
196 };
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" ;
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" ;
215 };
203 };
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" ;
204 FixedLine FL_DISPLAY
205 {
206 Pos = MAP_APPFONT ( 6, 128 ) ;
207 Size = MAP_APPFONT ( 248, 8 ) ;
208 Text [ en-US ] = "Grid display" ;
222 };
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 };
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
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