xref: /trunk/main/sw/source/ui/config/optload.src (revision 8660f102)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "globals.hrc"
25#include "optload.hrc"
26#include "helpid.h"
27#include "config.hrc"
28
29/**************************************************************************/
30/*                                                                        */
31/**************************************************************************/
32
33TabPage TP_OPTLOAD_PAGE
34{
35	HelpID = HID_OPTLOAD_PAGE ;
36    Size = MAP_APPFONT ( 260 , 185 ) ;
37	Hide = TRUE ;
38    FixedLine FL_UPDATE
39	{
40		Pos = MAP_APPFONT ( 6 , 3 ) ;
41        Size = MAP_APPFONT ( 248 , 8 ) ;
42    	Text [ en-US ] = "Update";
43	};
44    FixedText FT_LINK
45	{
46        Pos = MAP_APPFONT ( 12 , 14 ) ;
47        Size = MAP_APPFONT ( 115 , 8 ) ;
48    	Text [ en-US ] = "Update links when loading";
49	};
50    RadioButton RB_ALWAYS
51	{
52        HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_ALWAYS";
53        Pos = MAP_APPFONT ( 18 , 26 ) ;
54		Size = MAP_APPFONT ( 75 , 10 ) ;
55		TabStop = TRUE ;
56		Text [ en-US ] = "~Always";
57	};
58	RadioButton RB_REQUEST
59	{
60	    HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_REQUEST";
61        Pos = MAP_APPFONT ( 18 , 39 ) ;
62		Size = MAP_APPFONT ( 75 , 10 ) ;
63		TabStop = TRUE ;
64		Text [ en-US ] = "~On request";
65	};
66	RadioButton RB_NEVER
67	{
68	    HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_NEVER";
69        Pos = MAP_APPFONT ( 18 , 52 ) ;
70		Size = MAP_APPFONT ( 75 , 10 ) ;
71		TabStop = TRUE ;
72		Text [ en-US ] = "~Never";
73	};
74    FixedText FT_FIELD
75	{
76        Pos = MAP_APPFONT ( 130 , 14 ) ;
77        Size = MAP_APPFONT ( 124 , 8 ) ;
78        Text [ en-US ] = "Automatically";
79	};
80	CheckBox CB_AUTO_UPDATE_FIELDS
81	{
82	    HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_AUTO_UPDATE_FIELDS";
83        Pos = MAP_APPFONT ( 136 , 26) ;
84        Size = MAP_APPFONT ( 118 , 10 ) ;
85		Text [ en-US ] = "~Fields";
86	};
87	CheckBox CB_AUTO_UPDATE_CHARTS
88	{
89	    HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_AUTO_UPDATE_CHARTS";
90        Pos = MAP_APPFONT ( 136 , 39) ;
91        Size = MAP_APPFONT ( 109 , 10 ) ;
92    	Text [ en-US ] = "~Charts";
93	};
94    FixedLine FL_SETTINGS
95	{
96        Pos = MAP_APPFONT ( 6 , 66 ) ;
97        Size = MAP_APPFONT ( 248 , 8 ) ;
98    	Text [ en-US ] = "Settings";
99	};
100    FixedText FT_METRIC
101	{
102        Pos = MAP_APPFONT ( 12 , 79 ) ;
103        Size = MAP_APPFONT ( 60 , 8 ) ;
104        Text [ en-US ] = "Measurement unit";
105	};
106    ListBox LB_METRIC
107	{
108        HelpID = "sw:ListBox:TP_OPTLOAD_PAGE:LB_METRIC";
109        Pos = MAP_APPFONT ( 130, 77 ) ;
110        Size = MAP_APPFONT ( 50 , 50 ) ;
111		Border = TRUE ;
112		DropDown = TRUE ;
113	};
114    FixedText FT_TAB
115	{
116        Pos = MAP_APPFONT ( 12 , 95 ) ;
117        Size = MAP_APPFONT ( 73 , 8 ) ;
118		Text [ en-US ] = "Tab stops";
119		Group = TRUE ;
120	};
121	MetricField MF_TAB
122	{
123	    HelpID = "sw:MetricField:TP_OPTLOAD_PAGE:MF_TAB";
124		Border = TRUE ;
125        Pos = MAP_APPFONT ( 130 , 93 ) ;
126        Size = MAP_APPFONT ( 50 , 12 ) ;
127		Left = TRUE ;
128		Repeat = TRUE ;
129		Spin = TRUE ;
130		DecimalDigits = 2 ;
131		Unit = FUNIT_CM ;
132		SpinSize = 10 ;
133		Minimum = 50 ;
134		Maximum = 9999 ;
135		First = 50 ;
136		Last = 9999 ;
137	};
138    CheckBox CB_USE_SQUARE_PAGE_MODE
139    {
140        HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_USE_SQUARE_PAGE_MODE";
141        Pos = MAP_APPFONT ( 12 , 111) ;
142        Size = MAP_APPFONT ( 248 , 10 ) ;
143        Text [ en-US ] = "Use square page mode for text grid";
144        Text [ zh-CN ] = "使用稿纸模式";
145    };
146};
147/**************************************************************************/
148/*                                                                        */
149/**************************************************************************/
150
151TabPage TP_OPTCAPTION_PAGE
152{
153	HelpID = HID_OPTCAPTION_PAGE ;
154	Size = MAP_APPFONT ( 260 , 185 ) ;
155	Hide = TRUE ;
156	Text [ en-US ] = "Caption" ;
157
158	FixedText FT_OBJECTS
159	{
160		Pos = MAP_APPFONT ( 6 , 6 ) ;
161        Size = MAP_APPFONT ( 106 , 20 ) ;
162		WordBreak = TRUE ;
163		Text [ en-US ] = "Add captions automatically\nwhen inserting:" ;
164	};
165	Control CLB_OBJECTS
166	{
167		Pos = MAP_APPFONT ( 6 , 29 ) ;
168        Size = MAP_APPFONT ( 106 , 97 ) ;
169		Border = TRUE ;
170		TabStop = TRUE ;
171	};
172    FixedText FT_ORDER
173    {
174        Pos = MAP_APPFONT ( 6 , 130 ) ;
175        Size = MAP_APPFONT ( 106 , 8 ) ;
176        Text [ en-US ] = "Caption order" ;
177    };
178    ListBox LB_ORDER
179    {
180        HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_ORDER";
181        Border = TRUE ;
182        Pos = MAP_APPFONT ( 6 , 141 ) ;
183        Size = MAP_APPFONT ( 106 , 60 ) ;
184        TabStop = TRUE ;
185        DropDown = TRUE ;
186        StringList [ en-US ] =
187        {
188            < "Category first" ; > ;
189            < "Numbering first" ; > ;
190        };
191    };
192    Window WIN_PREVIEW
193    {
194        Pos = MAP_APPFONT ( 6 , 159 ) ;
195        Size = MAP_APPFONT ( 106 , 20 ) ;
196        Border = TRUE;
197    };
198	String STR_TABLE
199	{
200        Text [ en-US ] = "%PRODUCTNAME Writer Table";
201	};
202	String STR_FRAME
203	{
204        Text [ en-US ] = "%PRODUCTNAME Writer Frame";
205	};
206	String STR_GRAPHIC
207	{
208        Text [ en-US ] = "%PRODUCTNAME Writer Picture";
209	};
210	String STR_OLE
211	{
212        Text [ en-US ] = "Other OLE Objects";
213	};
214
215    FixedLine FL_SETTINGS_2
216	{
217        Pos = MAP_APPFONT ( 118 , 3 ) ;
218        Size = MAP_APPFONT ( 136 , 8 ) ;
219		Text [ en-US ] = "Caption" ;
220	};
221	FixedText TXT_CATEGORY
222	{
223        Pos = MAP_APPFONT ( 125 , 16 ) ;
224        Size = MAP_APPFONT ( 59 , 10 ) ;
225		Text [ en-US ] = "Category" ;
226		Left = TRUE ;
227	};
228	ComboBox BOX_CATEGORY
229	{
230	    HelpID = "sw:ComboBox:TP_OPTCAPTION_PAGE:BOX_CATEGORY";
231		Pos = MAP_APPFONT ( 189 , 14 ) ;
232		Size = MAP_APPFONT ( 59 , 61 ) ;
233		DropDown = TRUE ;
234		TabStop = TRUE ;
235		Sort = TRUE ;
236	};
237	FixedText TXT_FORMAT
238	{
239        Pos = MAP_APPFONT ( 125 , 31 ) ;
240        Size = MAP_APPFONT ( 59 , 10 ) ;
241		Text [ en-US ] = "~Numbering" ;
242		Left = TRUE ;
243	};
244	ListBox BOX_FORMAT
245	{
246	    HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:BOX_FORMAT";
247		Border = TRUE ;
248		Pos = MAP_APPFONT ( 189 , 29 ) ;
249		Size = MAP_APPFONT ( 59 , 61 ) ;
250		DropDown = TRUE ;
251		TabStop = TRUE ;
252	};
253    FixedText FT_NUM_SEP
254    {
255        Pos = MAP_APPFONT ( 125 , 46 ) ;
256        Size = MAP_APPFONT ( 61 , 8 ) ;
257        Text [ en-US ] = "Numbering separator" ;
258        Left = TRUE ;
259    };
260    Edit ED_NUM_SEP
261    {
262        HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:ED_NUM_SEP";
263        Pos = MAP_APPFONT ( 189 , 44 ) ;
264        Size = MAP_APPFONT ( 59 , 12 ) ;
265        Border = TRUE ;
266        TabStop = TRUE ;
267        Left = TRUE ;
268        Text  = ". " ;
269    };
270	FixedText TXT_TEXT
271	{
272        Pos = MAP_APPFONT ( 125 , 60 ) ;
273        Size = MAP_APPFONT ( 59 , 10 ) ;
274		Text [ en-US ] = "Separator" ;
275		Left = TRUE ;
276	};
277	Edit EDT_TEXT
278	{
279	    HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:EDT_TEXT";
280        Pos = MAP_APPFONT ( 189 , 59 ) ;
281		Size = MAP_APPFONT ( 59 , 12 ) ;
282		Border = TRUE ;
283		TabStop = TRUE ;
284		Left = TRUE ;
285	};
286	FixedText TXT_POS
287	{
288        Pos = MAP_APPFONT ( 125 , 75 ) ;
289        Size = MAP_APPFONT ( 59 , 10 ) ;
290		Left = TRUE ;
291		Text [ en-US ] = "Position" ;
292	};
293	ListBox BOX_POS
294	{
295	    HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:BOX_POS";
296        Pos = MAP_APPFONT ( 189 , 74 ) ;
297		Size = MAP_APPFONT ( 59 , 61 ) ;
298		DropDown = TRUE ;
299		TabStop = TRUE ;
300		Border = TRUE ;
301	};
302
303    FixedLine FL_NUMCAPT
304	{
305        Pos = MAP_APPFONT ( 118 , 89 ) ;
306        Size = MAP_APPFONT ( 136 , 8 ) ;
307		Text [ en-US ] = "Numbering captions by chapter" ;
308	};
309	FixedText FT_LEVEL
310	{
311        Pos = MAP_APPFONT ( 125 , 102 ) ;
312        Size = MAP_APPFONT ( 59 , 10 ) ;
313		Text [ en-US ] = "Level" ;
314	};
315	ListBox LB_LEVEL
316	{
317	    HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_LEVEL";
318		Border = TRUE ;
319        Pos = MAP_APPFONT ( 189 , 100 ) ;
320		Size = MAP_APPFONT ( 59 , 60 ) ;
321		TabStop = TRUE ;
322		DropDown = TRUE ;
323		StringList [ en-US ] =
324		{
325			< "None" ; > ;
326		};
327	};
328	FixedText FT_SEPARATOR
329	{
330        Pos = MAP_APPFONT ( 125 , 117 ) ;
331        Size = MAP_APPFONT ( 59 , 10 ) ;
332		Text [ en-US ] = "Separator" ;
333	};
334	Edit ED_SEPARATOR
335	{
336	    HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:ED_SEPARATOR";
337        Pos = MAP_APPFONT ( 189 , 115 ) ;
338		Size = MAP_APPFONT ( 59 , 12 ) ;
339		Border = TRUE ;
340		MaxTextLength = 1 ;
341		TEXT = "." ;
342	};
343    FixedLine FL_CATEGORY
344	{
345        Pos = MAP_APPFONT ( 118 , 130 ) ;
346        Size = MAP_APPFONT ( 136 , 8 ) ;
347		Text [ en-US ] = "Category and frame format" ;
348	};
349	FixedText FT_CHARSTYLE
350	{
351        Pos = MAP_APPFONT ( 125 , 143 ) ;
352        Size = MAP_APPFONT ( 59 , 10 ) ;
353		Text [ en-US ] = "Character style" ;
354	};
355	ListBox LB_CHARSTYLE
356	{
357	    HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_CHARSTYLE";
358		Border = TRUE ;
359        Pos = MAP_APPFONT ( 189 , 141 ) ;
360		Size = MAP_APPFONT ( 59 , 60 ) ;
361		TabStop = TRUE ;
362		DropDown = TRUE ;
363		StringList [ en-US ] =
364		{
365			< "None" ; > ;
366		};
367	};
368	CheckBox CB_APPLYBORDER
369	{
370	    HelpID = "sw:CheckBox:TP_OPTCAPTION_PAGE:CB_APPLYBORDER";
371        Pos = MAP_APPFONT ( 125 , 158 ) ;
372        Size = MAP_APPFONT ( 124 , 10 ) ;
373		Text [ en-US ] = "Apply border and shadow" ;
374	};
375
376	String STR_BEGINNING
377	{
378		Text [ en-US ] = "At the beginning" ;
379	};
380	String STR_END
381	{
382		Text [ en-US ] = "At the end" ;
383	};
384	String STR_ABOVE
385	{
386		Text [ en-US ] = "Above" ;
387	};
388	String STR_CP_BELOW
389	{
390		Text [ en-US ] = "Below" ;
391	};
392    String STR_CATEGORY_NONE
393    {
394        Text [ en-US ] = "<None>" ;
395    };
396};
397
398StringArray STR_ARR_METRIC
399{
400	ItemList [ en-US ] =
401	{
402		< "Millimeter" ; FUNIT_MM ; > ;
403		< "Centimeter" ; FUNIT_CM ; > ;
404		< "Meter" ; FUNIT_M ; > ;
405		< "Kilometer" ; FUNIT_KM ; > ;
406		< "Inch" ; FUNIT_INCH ; > ;
407		< "Foot" ; FUNIT_FOOT ; > ;
408		< "Miles" ; FUNIT_MILE ; > ;
409		< "Pica" ; FUNIT_PICA ; > ;
410		< "Point" ; FUNIT_POINT ; > ;
411	};
412};
413
414