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