xref: /aoo42x/main/cui/source/tabpages/page.src (revision 635e0213)
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 ---------------------------------------------------------------
25
26#include <cuires.hrc>
27#include "helpid.hrc"
28#include "page.hrc"
29#include "page.h"
30#include <svx/dialogs.hrc>
31
32// RID_SVXPAGE_PAGE ------------------------------------------------------
33
34TabPage RID_SVXPAGE_PAGE
35{
36	HelpId = HID_FORMAT_PAGE ;
37	Hide = TRUE ;
38	Size = MAP_APPFONT ( 260, 185 ) ;
39	FixedLine FL_PAPER_SIZE
40	{
41		Pos = MAP_APPFONT ( 6, 3 ) ;
42		Size = MAP_APPFONT ( 164, 8 ) ;
43		Text [ en-US ] = "Paper format" ;
44	};
45	FixedText FT_PAPER_FORMAT
46	{
47		Pos = MAP_APPFONT ( 12, 16 ) ;
48		Size = MAP_APPFONT ( 35, 8 ) ;
49		Text [ en-US ] = "~Format" ;
50	};
51	ListBox LB_PAPER_SIZE
52	{
53		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_PAPER_SIZE" ;
54		Pos = MAP_APPFONT ( 50, 14 ) ;
55		Size = MAP_APPFONT ( 75, 64 ) ;
56		DropDown = TRUE ;
57		DDExtraWidth = TRUE ;
58	};
59	FixedText FT_PAPER_WIDTH
60	{
61		Pos = MAP_APPFONT ( 12, 32 ) ;
62		Size = MAP_APPFONT ( 35, 8 ) ;
63		Text [ en-US ] = "~Width" ;
64		Left = TRUE ;
65	};
66	MetricField ED_PAPER_WIDTH
67	{
68		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_PAPER_WIDTH" ;
69		Border = TRUE ;
70		Pos = MAP_APPFONT ( 50, 30 ) ;
71		Size = MAP_APPFONT ( 40, 12 ) ;
72		Left = TRUE ;
73		Repeat = TRUE ;
74		Spin = TRUE ;
75		// #i4219# taken from configuration now Maximum = 11900 ;
76		DecimalDigits = 2 ;
77		Unit = FUNIT_CM ;
78		// #i4219# Last = 11900 ;
79		SpinSize = 10 ;
80	};
81	FixedText FT_PAPER_HEIGHT
82	{
83		Pos = MAP_APPFONT ( 12, 48 ) ;
84		Size = MAP_APPFONT ( 35, 8 ) ;
85		Text [ en-US ] = "~Height" ;
86		Left = TRUE ;
87	};
88	MetricField ED_PAPER_HEIGHT
89	{
90		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_PAPER_HEIGHT" ;
91		Border = TRUE ;
92		Pos = MAP_APPFONT ( 50, 46 ) ;
93		Size = MAP_APPFONT ( 40, 12 ) ;
94		Left = TRUE ;
95		Repeat = TRUE ;
96		Spin = TRUE ;
97		// #i4219# taken from configuration now Maximum = 11900 ;
98		DecimalDigits = 2 ;
99		Unit = FUNIT_CM ;
100		// #i4219# Last = 11900 ;
101		SpinSize = 10 ;
102	};
103	FixedText FT_ORIENTATION
104	{
105		Pos = MAP_APPFONT ( 12, 62 ) ;
106		Size = MAP_APPFONT ( 35, 8 ) ;
107		Text [ en-US ] = "Orientation" ;
108	};
109	RadioButton RB_PORTRAIT
110	{
111		HelpID = "cui:RadioButton:RID_SVXPAGE_PAGE:RB_PORTRAIT" ;
112		Pos = MAP_APPFONT ( 50, 62 ) ;
113		Size = MAP_APPFONT ( 53, 10 ) ;
114		Check = TRUE ;
115		Text [ en-US ] = "~Portrait" ;
116	};
117	RadioButton RB_LANDSCAPE
118	{
119		HelpID = "cui:RadioButton:RID_SVXPAGE_PAGE:RB_LANDSCAPE" ;
120		Pos = MAP_APPFONT ( 50, 74 ) ;
121		Size = MAP_APPFONT ( 53, 10 ) ;
122		Text [ en-US ] = "L~andscape" ;
123	};
124	Window WN_BSP
125	{
126		Pos = MAP_APPFONT ( 176, 6 ) ;
127		Size = MAP_APPFONT ( 75, 46 ) ;
128	};
129
130	FixedText FT_TEXT_FLOW
131	{
132		Pos = MAP_APPFONT ( 113, 60 ) ;
133		Size = MAP_APPFONT ( 50, 8 ) ;
134		Left = TRUE ;
135		Hide = TRUE ;
136		Text [ en-US ] = "~Text direction" ;
137	};
138	ListBox LB_TEXT_FLOW
139	{
140		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_TEXT_FLOW" ;
141		Border = TRUE ;
142		Pos = MAP_APPFONT ( 165, 58 ) ;
143		Size = MAP_APPFONT ( 83, 50 ) ;
144		DropDown = TRUE ;
145		Hide = TRUE ;
146	};
147
148	FixedText FT_PAPER_TRAY
149	{
150		Pos = MAP_APPFONT ( 113, 74 ) ;
151		Size = MAP_APPFONT ( 50, 8 ) ;
152		Left = TRUE ;
153		Text [ en-US ] = "Paper ~tray" ;
154	};
155	ListBox LB_PAPER_TRAY
156	{
157		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_PAPER_TRAY" ;
158		Pos = MAP_APPFONT ( 165, 72 ) ;
159		Size = MAP_APPFONT ( 83, 50 ) ;
160		DropDown = TRUE ;
161		DDExtraWidth = TRUE ;
162	};
163	FixedLine FL_MARGIN
164	{
165		Pos = MAP_APPFONT ( 6, 90 ) ;
166		Size = MAP_APPFONT ( 95, 8 ) ;
167		Text [ en-US ] = "Margins" ;
168	};
169	FixedText FT_LEFT_MARGIN
170	{
171		Pos = MAP_APPFONT ( 12, 103 ) ;
172		Size = MAP_APPFONT ( 40, 8 ) ;
173		Text [ en-US ] = "~Left" ;
174		Left = TRUE ;
175	};
176	MetricField ED_LEFT_MARGIN
177	{
178		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_LEFT_MARGIN" ;
179		Border = TRUE ;
180		Pos = MAP_APPFONT ( 55, 101 ) ;
181		Size = MAP_APPFONT ( 40, 12 ) ;
182		Left = TRUE ;
183		Repeat = TRUE ;
184		Spin = TRUE ;
185		// #i4219# taken from configuration now Maximum = 9999 ;
186		DecimalDigits = 2 ;
187		Unit = FUNIT_CM ;
188		// #i4219# Last = 9999 ;
189		SpinSize = 10 ;
190	};
191	FixedText FT_RIGHT_MARGIN
192	{
193		Pos = MAP_APPFONT ( 12, 119 ) ;
194		Size = MAP_APPFONT ( 40, 8 ) ;
195		Text [ en-US ] = "~Right" ;
196		Left = TRUE ;
197	};
198	MetricField ED_RIGHT_MARGIN
199	{
200		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_RIGHT_MARGIN" ;
201		Border = TRUE ;
202		Pos = MAP_APPFONT ( 55, 117 ) ;
203		Size = MAP_APPFONT ( 40, 12 ) ;
204		Left = TRUE ;
205		Repeat = TRUE ;
206		Spin = TRUE ;
207		// #i4219# taken from configuration now Maximum = 9999 ;
208		DecimalDigits = 2 ;
209		Unit = FUNIT_CM ;
210		// #i4219# Last = 9999 ;
211		SpinSize = 10 ;
212	};
213	FixedText FT_TOP_MARGIN
214	{
215		Pos = MAP_APPFONT ( 12, 135 ) ;
216		Size = MAP_APPFONT ( 40, 8 ) ;
217		Text [ en-US ] = "~Top" ;
218		Left = TRUE ;
219	};
220	MetricField ED_TOP_MARGIN
221	{
222		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_TOP_MARGIN" ;
223		Border = TRUE ;
224		Pos = MAP_APPFONT ( 55, 133 ) ;
225		Size = MAP_APPFONT ( 40, 12 ) ;
226		Left = TRUE ;
227		Repeat = TRUE ;
228		Spin = TRUE ;
229		// #i4219# taken from configuration now Maximum = 9999 ;
230		DecimalDigits = 2 ;
231		Unit = FUNIT_CM ;
232		// #i4219# Last = 9999 ;
233		SpinSize = 10 ;
234	};
235	FixedText FT_BOTTOM_MARGIN
236	{
237		Pos = MAP_APPFONT ( 12, 151 ) ;
238		Size = MAP_APPFONT ( 40, 8 ) ;
239		Text [ en-US ] = "~Bottom" ;
240		Left = TRUE ;
241	};
242	MetricField ED_BOTTOM_MARGIN
243	{
244		HelpID = "cui:MetricField:RID_SVXPAGE_PAGE:ED_BOTTOM_MARGIN" ;
245		Border = TRUE ;
246		Pos = MAP_APPFONT ( 55, 149 ) ;
247		Size = MAP_APPFONT ( 40, 12 ) ;
248		Left = TRUE ;
249		Repeat = TRUE ;
250		Spin = TRUE ;
251		// #i4219# taken from configuration now Maximum = 9999 ;
252		DecimalDigits = 2 ;
253		Unit = FUNIT_CM ;
254		// #i4219# Last = 9999 ;
255		SpinSize = 10 ;
256	};
257	FixedLine FL_BOTTOM_SEP
258	{
259		Pos = MAP_APPFONT ( 102, 101 ) ;
260		Size = MAP_APPFONT ( 4, 68 ) ;
261		Vert = TRUE ;
262	};
263	FixedLine FL_LAYOUT
264	{
265		Pos = MAP_APPFONT ( 107, 90 ) ;
266		Size = MAP_APPFONT ( 147, 8 ) ;
267		Text [ en-US ] = "Layout settings" ;
268	};
269	FixedText FT_PAGELAYOUT
270	{
271		Pos = MAP_APPFONT ( 113, 103 ) ;
272		Size = MAP_APPFONT ( 54, 8 ) ;
273		Text [ en-US ] = "Page layout" ;
274	};
275	ListBox LB_LAYOUT
276	{
277		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_LAYOUT" ;
278		Border = TRUE ;
279		Pos = MAP_APPFONT ( 170, 101 ) ;
280		Size = MAP_APPFONT ( 78, 44 ) ;
281		DropDown = TRUE ;
282		StringList [ en-US ] =
283		{
284			< "Right and left" ; Default ; > ;
285			< "Mirrored" ; Default ; > ;
286			< "Only right" ; Default ; > ;
287			< "Only left" ; Default ; > ;
288		};
289	};
290	FixedText FT_NUMBER_FORMAT
291	{
292		Pos = MAP_APPFONT ( 113, 119 ) ;
293		Size = MAP_APPFONT ( 54, 8 ) ;
294		Text [ en-US ] = "For~mat" ;
295	};
296	ListBox LB_NUMBER_FORMAT
297	{
298		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_NUMBER_FORMAT" ;
299		Border = TRUE ;
300		Pos = MAP_APPFONT ( 170, 117 ) ;
301		Size = MAP_APPFONT ( 78, 64 ) ;
302		DropDown = TRUE ;
303		StringList [ en-US ] =
304		{
305			< "A, B, C, ..." ; Default ; > ;
306			< "a, b, c, ..." ; Default ; > ;
307			< "I, II, III, ..." ; Default ; > ;
308			< "i, ii, iii, ..." ; Default ; > ;
309			< "1, 2, 3, ..." ; Default ; > ;
310			< "None" ; Default ; > ;
311		};
312	};
313	FixedText FT_TBL_ALIGN
314	{
315		Hide = TRUE ;
316		Pos = MAP_APPFONT ( 113, 133 ) ;
317		Size = MAP_APPFONT ( 60, 8 ) ;
318		Text [ en-US ] = "Table alignment" ;
319	};
320	CheckBox CB_HORZ
321	{
322		HelpID = "cui:CheckBox:RID_SVXPAGE_PAGE:CB_HORZ" ;
323		Hide = TRUE ;
324		Pos = MAP_APPFONT ( 175, 133 ) ;
325		Size = MAP_APPFONT ( 73, 10 ) ;
326		Text [ en-US ] = "Hori~zontal" ;
327	};
328	CheckBox CB_VERT
329	{
330		HelpID = "cui:CheckBox:RID_SVXPAGE_PAGE:CB_VERT" ;
331		Hide = TRUE ;
332		Pos = MAP_APPFONT ( 175, 147 ) ;
333		Size = MAP_APPFONT ( 73, 10 ) ;
334		Text [ en-US ] = "~Vertical" ;
335	};
336	CheckBox CB_ADAPT
337	{
338		HelpID = "cui:CheckBox:RID_SVXPAGE_PAGE:CB_ADAPT" ;
339		Hide = TRUE ;
340		Pos = MAP_APPFONT ( 113, 133 ) ;
341		Size = MAP_APPFONT ( 135, 10 ) ;
342		Text [ en-US ] = "~Fit object to paper format" ;
343	};
344	/* Register-true (for Writer) */
345	CheckBox CB_REGISTER
346	{
347		HelpID = "cui:CheckBox:RID_SVXPAGE_PAGE:CB_REGISTER" ;
348		Pos = MAP_APPFONT ( 113, 133 ) ;
349		Size = MAP_APPFONT ( 135, 10 ) ;
350		Hide = TRUE ;
351		Text [ en-US ] = "Register-true" ;
352	};
353	FixedText FT_REGISTER
354	{
355		Pos = MAP_APPFONT ( 122, 147 ) ;
356		Size = MAP_APPFONT ( 126, 8 ) ;
357		Text [ en-US ] = "Reference ~Style" ;
358		Hide = TRUE ;
359	};
360	ListBox LB_REGISTER
361	{
362		HelpID = "cui:ListBox:RID_SVXPAGE_PAGE:LB_REGISTER" ;
363		Pos = MAP_APPFONT ( 122, 157 ) ;
364		Size = MAP_APPFONT ( 126, 50 ) ;
365		DropDown = TRUE ;
366		Hide = TRUE ;
367		Sort = TRUE ;
368		HScroll = TRUE ;
369		DDExtraWidth = TRUE ;
370	};
371	String STR_INSIDE
372	{
373		Text [ en-US ] = "I~nner" ;
374	};
375	String STR_OUTSIDE
376	{
377		Text [ en-US ] = "O~uter" ;
378	};
379	String STR_QUERY_PRINTRANGE
380	{
381		Text [ en-US ] = "The margin settings are out of print range.\n\nDo you still want to apply these settings?" ;
382	};
383};
384StringArray RID_SVXSTRARY_PAPERSIZE_STD
385{
386	ItemList [ en-US ] =
387	{
388		< "A6" ; PAPERSIZE_A6 ; > ;
389		< "A5" ; PAPERSIZE_A5 ; > ;
390		< "A4" ; PAPERSIZE_A4 ; > ;
391		< "A3" ; PAPERSIZE_A3 ; > ;
392		< "B6 (ISO)" ; PAPERSIZE_B6_ISO ; > ;
393		< "B5 (ISO)" ; PAPERSIZE_B5_ISO ; > ;
394		< "B4 (ISO)" ; PAPERSIZE_B4_ISO ; > ;
395		< "Letter" ; PAPERSIZE_LETTER ; > ;
396		< "Legal" ; PAPERSIZE_LEGAL ; > ;
397		< "Long Bond" ; PAPERSIZE_LEGAL2 ; > ;
398		< "Tabloid" ; PAPERSIZE_TABLOID ; > ;
399		< "B6 (JIS)" ; PAPERSIZE_B6_JIS ; > ;
400		< "B5 (JIS)" ; PAPERSIZE_B5_JIS ; > ;
401		< "B4 (JIS)" ; PAPERSIZE_B4_JIS ; > ;
402		< "16 Kai" ; PAPERSIZE_KAI16 ; > ;
403		< "32 Kai" ; PAPERSIZE_KAI32 ; > ;
404		< "Big 32 Kai" ; PAPERSIZE_KAI32BIG ; > ;
405		< "User" ; PAPERSIZE_USER ; > ;
406		< "DL Envelope" ; PAPERSIZE_DL ; > ;
407		< "C6 Envelope" ; PAPERSIZE_C6 ; > ;
408		< "C6/5 Envelope" ; PAPERSIZE_C65 ; > ;
409		< "C5 Envelope" ; PAPERSIZE_C5 ; > ;
410		< "C4 Envelope" ; PAPERSIZE_C4 ; > ;
411		< "#6 3/4 (Personal) Envelope" ; PAPERSIZE_COM675 ; > ;
412		< "#8 (Monarch) Envelope" ; PAPERSIZE_MONARCH ; > ;
413		< "#9 Envelope" ; PAPERSIZE_COM9 ; > ;
414		< "#10 Envelope" ; PAPERSIZE_COM10 ; > ;
415		< "#11 Envelope" ; PAPERSIZE_COM11 ; > ;
416		< "#12 Envelope" ; PAPERSIZE_COM12 ; > ;
417	};
418};
419StringArray RID_SVXSTRARY_PAPERSIZE_DRAW
420{
421	ItemList [ en-US ] =
422	{
423		< "A6" ; PAPERSIZE_A6 ; > ;
424		< "A5" ; PAPERSIZE_A5 ; > ;
425		< "A4" ; PAPERSIZE_A4 ; > ;
426		< "A3" ; PAPERSIZE_A3 ; > ;
427		< "A2" ; PAPERSIZE_A2 ; > ;
428		< "A1" ; PAPERSIZE_A1 ; > ;
429		< "A0" ; PAPERSIZE_A0 ; > ;
430		< "B6 (ISO)" ; PAPERSIZE_B6_ISO ; > ;
431		< "B5 (ISO)" ; PAPERSIZE_B5_ISO ; > ;
432		< "B4 (ISO)" ; PAPERSIZE_B4_ISO ; > ;
433		< "Letter" ; PAPERSIZE_LETTER ; > ;
434		< "Legal" ; PAPERSIZE_LEGAL ; > ;
435		< "Long Bond" ; PAPERSIZE_LEGAL2 ; > ;
436		< "Tabloid" ; PAPERSIZE_TABLOID ; > ;
437		< "B6 (JIS)" ; PAPERSIZE_B6_JIS ; > ;
438		< "B5 (JIS)" ; PAPERSIZE_B5_JIS ; > ;
439		< "B4 (JIS)" ; PAPERSIZE_B4_JIS ; > ;
440		< "16 Kai" ; PAPERSIZE_KAI16 ; > ;
441		< "32 Kai" ; PAPERSIZE_KAI32 ; > ;
442		< "Big 32 Kai" ; PAPERSIZE_KAI32BIG ; > ;
443		< "User" ; PAPERSIZE_USER ; > ;
444		< "DL Envelope" ; PAPERSIZE_DL ; > ;
445		< "C6 Envelope" ; PAPERSIZE_C6 ; > ;
446		< "C6/5 Envelope" ; PAPERSIZE_C65 ; > ;
447		< "C5 Envelope" ; PAPERSIZE_C5 ; > ;
448		< "C4 Envelope" ; PAPERSIZE_C4 ; > ;
449		< "Dia Slide" ; PAPERSIZE_DIA ; > ;
450		< "Screen (4:3)" ; PAPERSIZE_SCREEN_4_BY_3 ; > ;
451		< "Screen (16:9)" ; PAPERSIZE_SCREEN_16_BY_9 ; > ;
452		< "Screen (16:10)" ; PAPERSIZE_SCREEN_16_BY_10 ; > ;
453	};
454};
455
456// ********************************************************************** EOF
457