xref: /trunk/main/sw/source/ui/envelp/envfmt.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // #pragma ******************************************************************
28
29 // #include *****************************************************************
30#include "envfmt.hrc"
31#include "helpid.h"
32 // TP_ENV_FMT ---------------------------------------------------------------
33TabPage TP_ENV_FMT
34{
35	HelpID = HID_ENV_FMT ;
36	Size = MAP_APPFONT ( 260 , 185 ) ;
37	Hide = TRUE ;
38    FixedLine FL_ADDRESSEE
39	{
40		Pos = MAP_APPFONT ( 6 , 3 ) ;
41        Size = MAP_APPFONT ( 248 , 8 ) ;
42		Text [ en-US ] = "Addressee" ;
43	};
44	FixedText TXT_ADDR_POS
45	{
46        Pos = MAP_APPFONT ( 12 , 14 ) ;
47		Size = MAP_APPFONT ( 40 , 8 ) ;
48		Left = TRUE ;
49		Text [ en-US ] = "Position";
50	};
51	FixedText TXT_ADDR_LEFT
52	{
53        Pos = MAP_APPFONT ( 18 , 27 ) ;
54		Size = MAP_APPFONT ( 40 , 8 ) ;
55		Left = TRUE ;
56		Text [ en-US ] = "from left" ;
57	};
58	MetricField FLD_ADDR_LEFT
59	{
60	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_LEFT";
61		Border = TRUE ;
62        Pos = MAP_APPFONT ( 60 , 25 ) ;
63		Size = MAP_APPFONT ( 40 , 12 ) ;
64		TabStop = TRUE ;
65		Left = TRUE ;
66		Spin = TRUE ;
67		DecimalDigits = 2 ;
68		Unit = FUNIT_CM ;
69		Minimum = 0 ;
70		Maximum = 10000 ;
71		First = 0 ;
72		Last = 10000 ;
73		SpinSize = 10 ;
74		Repeat = TRUE ;
75	};
76	FixedText TXT_ADDR_TOP
77	{
78        Pos = MAP_APPFONT ( 18 , 43 ) ;
79		Size = MAP_APPFONT ( 40 , 8 ) ;
80		Left = TRUE ;
81		Text [ en-US ] = "from top" ;
82	};
83	MetricField FLD_ADDR_TOP
84	{
85	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_TOP";
86		Border = TRUE ;
87        Pos = MAP_APPFONT ( 60 , 41 ) ;
88		Size = MAP_APPFONT ( 40 , 12 ) ;
89		TabStop = TRUE ;
90		Left = TRUE ;
91		Spin = TRUE ;
92		DecimalDigits = 2 ;
93		Unit = FUNIT_CM ;
94		Minimum = 0 ;
95		Maximum = 10000 ;
96		First = 0 ;
97		Last = 10000 ;
98		SpinSize = 10 ;
99		Repeat = TRUE ;
100	};
101	FixedText TXT_ADDR_FORMAT
102	{
103        Pos = MAP_APPFONT ( 149 , 27 ) ;
104		Size = MAP_APPFONT ( 40 , 8 ) ;
105		Left = TRUE ;
106		Text [ en-US ] = "Format";
107	};
108	MenuButton BTN_ADDR_EDIT
109	{
110	    HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_ADDR_EDIT";
111        Pos = MAP_APPFONT ( 194 , 24 ) ;
112		Size = MAP_APPFONT ( 50 , 14 ) ;
113		TabStop = TRUE ;
114		Text [ en-US ] = "Edit" ;
115	};
116    FixedLine FL_SENDER
117	{
118        Pos = MAP_APPFONT ( 6 , 56 ) ;
119        Size = MAP_APPFONT ( 248 , 8 ) ;
120		Text [ en-US ] = "Sender" ;
121	};
122	FixedText TXT_SEND_POS
123	{
124        Pos = MAP_APPFONT ( 12 , 67 ) ;
125		Size = MAP_APPFONT ( 40 , 8 ) ;
126		Left = TRUE ;
127		Text [ en-US ] = "Position";
128	};
129	FixedText TXT_SEND_LEFT
130	{
131        Pos = MAP_APPFONT ( 18 , 80 ) ;
132		Size = MAP_APPFONT ( 40 , 8 ) ;
133		Left = TRUE ;
134		Text [ en-US ] = "from left" ;
135	};
136	MetricField FLD_SEND_LEFT
137	{
138	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_LEFT";
139		Border = TRUE ;
140        Pos = MAP_APPFONT ( 60 , 78 ) ;
141		Size = MAP_APPFONT ( 40 , 12 ) ;
142		TabStop = TRUE ;
143		Left = TRUE ;
144		Spin = TRUE ;
145		DecimalDigits = 2 ;
146		Unit = FUNIT_CM ;
147		Minimum = 0 ;
148		Maximum = 10000 ;
149		First = 0 ;
150		Last = 10000 ;
151		SpinSize = 10 ;
152		Repeat = TRUE ;
153	};
154	FixedText TXT_SEND_TOP
155	{
156        Pos = MAP_APPFONT ( 18 , 96 ) ;
157		Size = MAP_APPFONT ( 40 , 8 ) ;
158		Left = TRUE ;
159		Text [ en-US ] = "from top" ;
160	};
161	MetricField FLD_SEND_TOP
162	{
163	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_TOP";
164		Border = TRUE ;
165        Pos = MAP_APPFONT ( 60 , 94 ) ;
166		Size = MAP_APPFONT ( 40 , 12 ) ;
167		TabStop = TRUE ;
168		Left = TRUE ;
169		Spin = TRUE ;
170		DecimalDigits = 2 ;
171		Unit = FUNIT_CM ;
172		Minimum = 0 ;
173		Maximum = 10000 ;
174		First = 0 ;
175		Last = 10000 ;
176		SpinSize = 10 ;
177		Repeat = TRUE ;
178	};
179	FixedText TXT_SEND_FORMAT
180	{
181        Pos = MAP_APPFONT ( 149 , 80 ) ;
182		Size = MAP_APPFONT ( 40 , 8 ) ;
183		Left = TRUE ;
184		Text [ en-US ] = "Format";
185	};
186	MenuButton BTN_SEND_EDIT
187	{
188	    HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_SEND_EDIT";
189        Pos = MAP_APPFONT ( 194 , 77 ) ;
190		Size = MAP_APPFONT ( 50 , 14 ) ;
191		Text [ en-US ] = "Edit" ;
192		TabStop = TRUE ;
193	};
194    FixedLine FL_SIZE
195	{
196        Pos = MAP_APPFONT ( 6 , 109 ) ;
197        Size = MAP_APPFONT ( 148 , 8 ) ;
198		Text [ en-US ] = "Size" ;
199	};
200	FixedText TXT_SIZE_FORMAT
201	{
202        Pos = MAP_APPFONT ( 12 , 122 ) ;
203        Size = MAP_APPFONT ( 40 , 8 ) ;
204		Text [ en-US ] = "F~ormat" ;
205		Left = TRUE ;
206	};
207	ListBox BOX_SIZE_FORMAT
208	{
209	    HelpID = "sw:ListBox:TP_ENV_FMT:BOX_SIZE_FORMAT";
210		Border = TRUE ;
211        Pos = MAP_APPFONT ( 60 , 120 ) ;
212        Size = MAP_APPFONT ( 40 , 72 ) ;
213		TabStop = TRUE ;
214		DropDown = TRUE ;
215	};
216	FixedText TXT_SIZE_WIDTH
217	{
218        Pos = MAP_APPFONT ( 12 , 138 ) ;
219        Size = MAP_APPFONT ( 40 , 8 ) ;
220		Text [ en-US ] = "~Width" ;
221		Left = TRUE ;
222	};
223	MetricField FLD_SIZE_WIDTH
224	{
225	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_WIDTH";
226		Border = TRUE ;
227        Pos = MAP_APPFONT ( 60 , 136 ) ;
228		Size = MAP_APPFONT ( 40 , 12 ) ;
229		TabStop = TRUE ;
230		Left = TRUE ;
231		Spin = TRUE ;
232		DecimalDigits = 2 ;
233		Unit = FUNIT_CM ;
234		Minimum = 500 ;
235		Maximum = 10000 ;
236		First = 500 ;
237		Last = 10000 ;
238		SpinSize = 10 ;
239		Repeat = TRUE ;
240	};
241	FixedText TXT_SIZE_HEIGHT
242	{
243        Pos = MAP_APPFONT ( 12 , 154 ) ;
244        Size = MAP_APPFONT ( 40 , 8 ) ;
245		Left = TRUE ;
246		Text [ en-US ] = "~Height" ;
247	};
248	MetricField FLD_SIZE_HEIGHT
249	{
250	    HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_HEIGHT";
251		Border = TRUE ;
252        Pos = MAP_APPFONT ( 60 , 152 ) ;
253		Size = MAP_APPFONT ( 40 , 12 ) ;
254		TabStop = TRUE ;
255		Left = TRUE ;
256		Spin = TRUE ;
257		DecimalDigits = 2 ;
258		Unit = FUNIT_CM ;
259		Minimum = 500 ;
260		Maximum = 10000 ;
261		First = 500 ;
262		Last = 10000 ;
263		SpinSize = 10 ;
264		Repeat = TRUE ;
265	};
266	Window WIN_PREVIEW
267	{
268		Border = TRUE ;
269        Pos = MAP_APPFONT ( 160 , 116 ) ;
270		Size = MAP_APPFONT ( 84 , 63 ) ;
271	};
272};
273 // Menu *********************************************************************
274Menu MNU_EDIT
275{
276	ItemList =
277	{
278		MenuItem
279		{
280			IDENTIFIER = MID_CHAR ;
281			Text [ en-US ] = "C~haracter..." ;
282		};
283		MenuItem
284		{
285			IDENTIFIER = MID_PARA ;
286			Text [ en-US ] = "P~aragraph..." ;
287		};
288	};
289};
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325