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