xref: /trunk/main/sw/source/ui/misc/pggrid.src (revision 8660f102)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir#include "globals.hrc"
24cdf0e10cSrcweir#include "pggrid.hrc"
25cdf0e10cSrcweir#include "helpid.h"
26cdf0e10cSrcweirTabPage TP_TEXTGRID_PAGE
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    HelpID = HID_TEXTGRID_PAGE;
29cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
30cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
31cdf0e10cSrcweir	Hide = TRUE;
32cdf0e10cSrcweir    FixedLine       FL_GRID_TYPE
33cdf0e10cSrcweir    {
34cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
35cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
36cdf0e10cSrcweir        Text [ en-US ] = "Grid" ;
37cdf0e10cSrcweir	};
38cdf0e10cSrcweir    RadioButton     RB_NOGRID
39cdf0e10cSrcweir    {
40cdf0e10cSrcweir        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_NOGRID";
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 158 , 10 ) ;
43cdf0e10cSrcweir        Text [ en-US ] = "No grid" ;
44cdf0e10cSrcweir	};
45cdf0e10cSrcweir    RadioButton     RB_LINESGRID
46cdf0e10cSrcweir    {
47cdf0e10cSrcweir        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_LINESGRID";
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 27 ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( 158 , 10 ) ;
50cdf0e10cSrcweir        Text [ en-US ] = "Grid (lines only)" ;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir    RadioButton     RB_CHARSGRID
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        HelpID = "sw:RadioButton:TP_TEXTGRID_PAGE:RB_CHARSGRID";
55cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 40 ) ;
56cdf0e10cSrcweir        Size = MAP_APPFONT ( 158 , 10 ) ;
57cdf0e10cSrcweir        Text [ en-US ] = "Grid (lines and characters)" ;
58cdf0e10cSrcweir	};
59cdf0e10cSrcweir    CheckBox        CB_SNAPTOCHARS
60cdf0e10cSrcweir    {
61cdf0e10cSrcweir        HelpID = "sw:CheckBox:TP_TEXTGRID_PAGE:CB_SNAPTOCHARS";
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 14 , 53 ) ;
63cdf0e10cSrcweir        Size = MAP_APPFONT ( 158 , 10 ) ;
64cdf0e10cSrcweir        Text [ en-US ] = "~Snap to characters" ;
65cdf0e10cSrcweir        Text [ zh-CN ] = "文字对齐字符网格" ;
66cdf0e10cSrcweir    };
67cdf0e10cSrcweir    Window          WN_EXAMPLE
68cdf0e10cSrcweir    {
69cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 6 ) ;
70cdf0e10cSrcweir        Size = MAP_APPFONT ( 75 , 46 ) ;
71cdf0e10cSrcweir    };
72cdf0e10cSrcweir    FixedLine       FL_LAYOUT
73cdf0e10cSrcweir    {
74cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 69 ) ;
75cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
76cdf0e10cSrcweir        Text [ en-US ] = "Grid layout" ;
77cdf0e10cSrcweir	};
78cdf0e10cSrcweir    FixedText       FT_LINESPERPAGE
79cdf0e10cSrcweir    {
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 82 ) ;
81cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 8 ) ;
82cdf0e10cSrcweir        Text [ en-US ] = "Lines per page" ;
83cdf0e10cSrcweir	};
84cdf0e10cSrcweir    NumericField    NF_LINESPERPAGE
85cdf0e10cSrcweir    {
86cdf0e10cSrcweir        HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_LINESPERPAGE";
87cdf0e10cSrcweir        Pos = MAP_APPFONT ( 74 , 80 ) ;
88cdf0e10cSrcweir        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    };
101cdf0e10cSrcweir    FixedText       FT_TEXTSIZE
102cdf0e10cSrcweir    {
103cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133 , 82 ) ;
104cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 8 ) ;
105cdf0e10cSrcweir        Text [ en-US ] = "Max. base text size" ;
106cdf0e10cSrcweir	};
107cdf0e10cSrcweir    MetricField     MF_TEXTSIZE
108cdf0e10cSrcweir    {
109cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_TEXTGRID_PAGE:MF_TEXTSIZE";
110cdf0e10cSrcweir        Pos = MAP_APPFONT ( 216 , 80 ) ;
111cdf0e10cSrcweir        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    };
125cdf0e10cSrcweir    FixedText       FT_CHARSPERLINE
126cdf0e10cSrcweir    {
127cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 98 ) ;
128cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 8 ) ;
129cdf0e10cSrcweir        Text [ en-US ] = "Characters per line" ;
130cdf0e10cSrcweir	};
131cdf0e10cSrcweir    NumericField    NF_CHARSPERLINE
132cdf0e10cSrcweir    {
133cdf0e10cSrcweir        HelpID = "sw:NumericField:TP_TEXTGRID_PAGE:NF_CHARSPERLINE";
134cdf0e10cSrcweir        Pos = MAP_APPFONT ( 74 , 96 ) ;
135cdf0e10cSrcweir        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    };
148cdf0e10cSrcweir    FixedText       FT_CHARWIDTH
149cdf0e10cSrcweir    {
150cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133 , 98 ) ;
151cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 8 ) ;
152cdf0e10cSrcweir        Text [ en-US ] = "Character ~width" ;
153cdf0e10cSrcweir        Text [ zh-CN ] = "字符跨度" ;
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
241