xref: /aoo42x/main/sw/source/ui/misc/pggrid.src (revision 6358e474)
18660f102SAndrew Rist/**************************************************************
2aba847bdSmseidel *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10aba847bdSmseidel *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12aba847bdSmseidel *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19aba847bdSmseidel *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23aba847bdSmseidel
24cdf0e10cSrcweir#include "globals.hrc"
25cdf0e10cSrcweir#include "pggrid.hrc"
26cdf0e10cSrcweir#include "helpid.h"
27*6358e474Smseidel
28cdf0e10cSrcweirTabPage TP_TEXTGRID_PAGE
29cdf0e10cSrcweir{
30aba847bdSmseidel	HelpID = HID_TEXTGRID_PAGE ;
31aba847bdSmseidel	Pos = MAP_APPFONT ( 0, 0 ) ;
32aba847bdSmseidel	Size = MAP_APPFONT ( 260, 185 ) ;
33aba847bdSmseidel	Hide = TRUE ;
34aba847bdSmseidel	FixedLine FL_GRID_TYPE
35aba847bdSmseidel	{
36aba847bdSmseidel		Pos = MAP_APPFONT ( 6, 3 ) ;
37aba847bdSmseidel		Size = MAP_APPFONT ( 164, 8 ) ;
38aba847bdSmseidel		Text [ en-US ] = "Grid" ;
39cdf0e10cSrcweir	};
40aba847bdSmseidel	RadioButton RB_NOGRID
41aba847bdSmseidel	{
42aba847bdSmseidel		HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_NOGRID" ;
43aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 14 ) ;
44aba847bdSmseidel		Size = MAP_APPFONT ( 158, 10 ) ;
45aba847bdSmseidel		Text [ en-US ] = "No grid" ;
46cdf0e10cSrcweir	};
47*6358e474Smseidel	RadioButton RB_LINESGRID
48*6358e474Smseidel	{
49*6358e474Smseidel		HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_LINESGRID" ;
50*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 27 ) ;
51*6358e474Smseidel		Size = MAP_APPFONT ( 158, 10 ) ;
52*6358e474Smseidel		Text [ en-US ] = "Grid (lines only)" ;
53*6358e474Smseidel	};
54*6358e474Smseidel	RadioButton RB_CHARSGRID
55*6358e474Smseidel	{
56*6358e474Smseidel		HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_CHARSGRID" ;
57*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 40 ) ;
58*6358e474Smseidel		Size = MAP_APPFONT ( 158, 10 ) ;
59*6358e474Smseidel		Text [ en-US ] = "Grid (lines and characters)" ;
60*6358e474Smseidel	};
61*6358e474Smseidel	CheckBox CB_SNAPTOCHARS
62*6358e474Smseidel	{
63*6358e474Smseidel		HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_SNAPTOCHARS" ;
64*6358e474Smseidel		Pos = MAP_APPFONT ( 14, 53 ) ;
65*6358e474Smseidel		Size = MAP_APPFONT ( 158, 10 ) ;
66*6358e474Smseidel		Text [ en-US ] = "~Snap to characters" ;
67*6358e474Smseidel	};
68*6358e474Smseidel	Window WN_EXAMPLE
69*6358e474Smseidel	{
70*6358e474Smseidel		Pos = MAP_APPFONT ( 176, 6 ) ;
71*6358e474Smseidel		Size = MAP_APPFONT ( 75, 46 ) ;
72*6358e474Smseidel	};
73*6358e474Smseidel	FixedLine FL_LAYOUT
74*6358e474Smseidel	{
75*6358e474Smseidel		Pos = MAP_APPFONT ( 6, 69 ) ;
76*6358e474Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
77*6358e474Smseidel		Text [ en-US ] = "Grid layout" ;
78*6358e474Smseidel	};
79*6358e474Smseidel	FixedText FT_LINESPERPAGE
80*6358e474Smseidel	{
81*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 82 ) ;
82*6358e474Smseidel		Size = MAP_APPFONT ( 59, 8 ) ;
83*6358e474Smseidel		Text [ en-US ] = "Lines per page" ;
84*6358e474Smseidel	};
85*6358e474Smseidel	NumericField NF_LINESPERPAGE
86*6358e474Smseidel	{
87*6358e474Smseidel		HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_LINESPERPAGE" ;
88*6358e474Smseidel		Pos = MAP_APPFONT ( 74, 80 ) ;
89*6358e474Smseidel		Size = MAP_APPFONT ( 25, 12 ) ;
90*6358e474Smseidel		Border = TRUE ;
91*6358e474Smseidel		TabStop = TRUE ;
92cdf0e10cSrcweir		Left = TRUE ;
93cdf0e10cSrcweir		Repeat = TRUE ;
94cdf0e10cSrcweir		Spin = TRUE ;
95cdf0e10cSrcweir		Minimum = 1 ;
96*6358e474Smseidel		Maximum = 154 ;
97cdf0e10cSrcweir		Value = 1 ;
98cdf0e10cSrcweir		First = 1 ;
99*6358e474Smseidel		Last = 154 ;
100cdf0e10cSrcweir		SpinSize = 1 ;
101*6358e474Smseidel	};
102*6358e474Smseidel	FixedText FT_TEXTSIZE
103*6358e474Smseidel	{
104*6358e474Smseidel		Pos = MAP_APPFONT ( 133, 82 ) ;
105*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
106*6358e474Smseidel		Text [ en-US ] = "Max. base text size" ;
107*6358e474Smseidel	};
108*6358e474Smseidel	MetricField MF_TEXTSIZE
109*6358e474Smseidel	{
110*6358e474Smseidel		HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_TEXTSIZE" ;
111*6358e474Smseidel		Pos = MAP_APPFONT ( 216, 80 ) ;
112*6358e474Smseidel		Size = MAP_APPFONT ( 35, 12 ) ;
113*6358e474Smseidel		Border = TRUE ;
114*6358e474Smseidel		TabStop = TRUE ;
115cdf0e10cSrcweir		Left = TRUE ;
116cdf0e10cSrcweir		Repeat = TRUE ;
117cdf0e10cSrcweir		Spin = TRUE ;
118*6358e474Smseidel		Minimum = 100 ;
119cdf0e10cSrcweir		Maximum = 5600 ;
120*6358e474Smseidel		DecimalDigits = 2 ;
121*6358e474Smseidel		Unit = FUNIT_POINT ;
122cdf0e10cSrcweir		First = 10 ;
123cdf0e10cSrcweir		Last = 5600 ;
124*6358e474Smseidel		SpinSize = 5 ;
125*6358e474Smseidel	};
126*6358e474Smseidel	FixedText FT_CHARSPERLINE
127*6358e474Smseidel	{
128*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 98 ) ;
129*6358e474Smseidel		Size = MAP_APPFONT ( 59, 8 ) ;
130*6358e474Smseidel		Text [ en-US ] = "Characters per line" ;
131*6358e474Smseidel	};
132*6358e474Smseidel	NumericField NF_CHARSPERLINE
133*6358e474Smseidel	{
134*6358e474Smseidel		HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_CHARSPERLINE" ;
135*6358e474Smseidel		Pos = MAP_APPFONT ( 74, 96 ) ;
136*6358e474Smseidel		Size = MAP_APPFONT ( 25, 12 ) ;
137*6358e474Smseidel		Border = TRUE ;
138*6358e474Smseidel		TabStop = TRUE ;
139cdf0e10cSrcweir		Left = TRUE ;
140cdf0e10cSrcweir		Repeat = TRUE ;
141cdf0e10cSrcweir		Spin = TRUE ;
142cdf0e10cSrcweir		Minimum = 1 ;
143*6358e474Smseidel		Maximum = 233 ;
144cdf0e10cSrcweir		Value = 1 ;
145cdf0e10cSrcweir		First = 1 ;
146*6358e474Smseidel		Last = 233 ;
147cdf0e10cSrcweir		SpinSize = 1 ;
148*6358e474Smseidel	};
149*6358e474Smseidel	FixedText FT_CHARWIDTH
150*6358e474Smseidel	{
151*6358e474Smseidel		Pos = MAP_APPFONT ( 133, 98 ) ;
152*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
153*6358e474Smseidel		Text [ en-US ] = "Character ~width" ;
154*6358e474Smseidel	};
155*6358e474Smseidel	MetricField MF_CHARWIDTH
156*6358e474Smseidel	{
157*6358e474Smseidel		HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_CHARWIDTH" ;
158*6358e474Smseidel		Pos = MAP_APPFONT ( 216, 96 ) ;
159*6358e474Smseidel		Size = MAP_APPFONT ( 35, 12 ) ;
160*6358e474Smseidel		Border = TRUE ;
161*6358e474Smseidel		TabStop = TRUE ;
162*6358e474Smseidel		Left = TRUE ;
163*6358e474Smseidel		Repeat = TRUE ;
164*6358e474Smseidel		Spin = TRUE ;
165*6358e474Smseidel		Minimum = 100 ;
166*6358e474Smseidel		Maximum = 5600 ;
167*6358e474Smseidel		DecimalDigits = 2 ;
168*6358e474Smseidel		Unit = FUNIT_POINT ;
169*6358e474Smseidel		First = 0 ;
170*6358e474Smseidel		Last = 5600 ;
171*6358e474Smseidel		SpinSize = 5 ;
172*6358e474Smseidel	};
173*6358e474Smseidel	FixedText FT_RUBYSIZE
174*6358e474Smseidel	{
175*6358e474Smseidel		Pos = MAP_APPFONT ( 133, 98 ) ;
176*6358e474Smseidel		Size = MAP_APPFONT ( 80, 8 ) ;
177*6358e474Smseidel		Text [ en-US ] = "Max. Ruby text size" ;
178*6358e474Smseidel	};
179*6358e474Smseidel	MetricField MF_RUBYSIZE
180*6358e474Smseidel	{
181*6358e474Smseidel		HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_RUBYSIZE" ;
182*6358e474Smseidel		Pos = MAP_APPFONT ( 216, 96 ) ;
183*6358e474Smseidel		Size = MAP_APPFONT ( 35, 12 ) ;
184*6358e474Smseidel		Border = TRUE ;
185*6358e474Smseidel		TabStop = TRUE ;
186cdf0e10cSrcweir		Left = TRUE ;
187cdf0e10cSrcweir		Repeat = TRUE ;
188cdf0e10cSrcweir		Spin = TRUE ;
189*6358e474Smseidel		Minimum = 100 ;
190cdf0e10cSrcweir		Maximum = 5600 ;
191*6358e474Smseidel		DecimalDigits = 2 ;
192*6358e474Smseidel		Unit = FUNIT_POINT ;
193cdf0e10cSrcweir		First = 0 ;
194cdf0e10cSrcweir		Last = 5600 ;
195*6358e474Smseidel		SpinSize = 5 ;
196*6358e474Smseidel	};
197*6358e474Smseidel	CheckBox CB_RUBYBELOW
198*6358e474Smseidel	{
199*6358e474Smseidel		HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_RUBYBELOW" ;
200*6358e474Smseidel		Pos = MAP_APPFONT ( 14, 112 ) ;
201*6358e474Smseidel		Size = MAP_APPFONT ( 237, 10 ) ;
202*6358e474Smseidel		Text [ en-US ] = "Ruby text below/left from base text" ;
203*6358e474Smseidel	};
204*6358e474Smseidel	FixedLine FL_DISPLAY
205*6358e474Smseidel	{
206*6358e474Smseidel		Pos = MAP_APPFONT ( 6, 128 ) ;
207*6358e474Smseidel		Size = MAP_APPFONT ( 248, 8 ) ;
208*6358e474Smseidel		Text [ en-US ] = "Grid display" ;
209*6358e474Smseidel	};
210*6358e474Smseidel	CheckBox CB_DISPLAY
211*6358e474Smseidel	{
212*6358e474Smseidel		HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_DISPLAY" ;
213*6358e474Smseidel		Pos = MAP_APPFONT ( 12, 139 ) ;
214*6358e474Smseidel		Size = MAP_APPFONT ( 118, 10 ) ;
215*6358e474Smseidel		Text [ en-US ] = "Display grid" ;
216*6358e474Smseidel	};
217*6358e474Smseidel	CheckBox CB_PRINT
218*6358e474Smseidel	{
219*6358e474Smseidel		HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_PRINT" ;
220*6358e474Smseidel		Pos = MAP_APPFONT ( 18, 154 ) ;
221*6358e474Smseidel		Size = MAP_APPFONT ( 112, 10 ) ;
222*6358e474Smseidel		Text [ en-US ] = "Print grid" ;
223cdf0e10cSrcweir	};
224aba847bdSmseidel	FixedText FT_COLOR
225aba847bdSmseidel	{
226aba847bdSmseidel		Pos = MAP_APPFONT ( 133, 139 ) ;
227aba847bdSmseidel		Size = MAP_APPFONT ( 55, 8 ) ;
228aba847bdSmseidel		Text [ en-US ] = "Grid color" ;
229aba847bdSmseidel	};
230aba847bdSmseidel	ListBox LB_COLOR
231aba847bdSmseidel	{
232aba847bdSmseidel		HelpID = "sw:ListBox:TP_TEXTGRID_PAGE:LB_COLOR" ;
233aba847bdSmseidel		Pos = MAP_APPFONT ( 191, 137 ) ;
234aba847bdSmseidel		Size = MAP_APPFONT ( 60, 50 ) ;
235aba847bdSmseidel		TabStop = TRUE ;
236aba847bdSmseidel		Border = TRUE ;
237aba847bdSmseidel		DropDown = TRUE ;
238cdf0e10cSrcweir	};
239cdf0e10cSrcweir};
240cdf0e10cSrcweir
241aba847bdSmseidel// ********************************************************************** EOF
242