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