xref: /aoo42x/main/cui/source/tabpages/border.src (revision 8de9866c)
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#include "helpid.hrc"
26#include <cuires.hrc>
27#include "border.hrc"
28#include <svx/dialogs.hrc>
29
30// define ---------------------------------------------------------------
31#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
32// RID_SVXPAGE_BORDER ---------------------------------------------------
33TabPage RID_SVXPAGE_BORDER
34{
35	Size = MAP_APPFONT ( 260, 185 ) ;
36	Helpid = HID_BORDER ;
37	Hide = TRUE ;
38	Text [ en-US ] = "Borders" ;
39	FixedLine FL_BORDER
40	{
41		Pos = MAP_APPFONT ( 6, 3 ) ;
42		Size = MAP_APPFONT ( 70, 8 ) ;
43		Text [ en-US ] = "Line arrangement" ;
44	};
45	FixedText FT_DEFAULT
46	{
47		Pos = MAP_APPFONT ( 12, 14) ;
48		Size = MAP_APPFONT ( 64, 8) ;
49		Text [ en-US ] = "~Default" ;
50	};
51	Control WIN_PRESETS
52	{
53		HelpId = HID_BORDER_CTL_PRESETS ;
54		Hide = TRUE ;
55		Pos = MAP_APPFONT ( 12, 25 ) ;
56		Size = MAP_APPFONT ( 61, 12 ) ;
57		TabStop = TRUE ;
58	};
59	FixedText FT_USERDEF
60	{
61		Pos = MAP_APPFONT (12, 41) ;
62		Size = MAP_APPFONT ( 64, 8) ;
63		Text [ en-US ] = "~User-defined" ;
64	};
65	Control WIN_FRAMESEL
66	{
67		Border = TRUE ;
68		Pos = MAP_APPFONT ( 12, 53 ) ;
69		Size = MAP_APPFONT ( 61, 65 ) ;
70		TabStop = TRUE ;
71		Text = "Border control" ;
72	};
73	FixedLine FL_SEPARATOR1
74	{
75		Pos = MAP_APPFONT ( 77, 14 ) ;
76		Size = MAP_APPFONT ( 4, 104 ) ;
77		Vert = TRUE ;
78	};
79	FixedLine FL_LINE
80	{
81		Pos = MAP_APPFONT ( 82, 3 ) ;
82		Size = MAP_APPFONT ( 83, 8 ) ;
83		Text [ en-US ] = "Line" ;
84	};
85	FixedText FT_STYLE
86	{
87		Pos = MAP_APPFONT ( 88, 14) ;
88		Size = MAP_APPFONT ( 77, 8) ;
89		Text [ en-US ] = "St~yle" ;
90	};
91	ListBox LB_LINESTYLE
92	{
93		HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_LINESTYLE" ;
94		Border = TRUE ;
95		Pos = MAP_APPFONT ( 88, 25 ) ;
96		Size = MAP_APPFONT ( 74, 66 ) ;
97	};
98	FixedText FT_COLOR
99	{
100		Pos = MAP_APPFONT ( 88, 95 ) ;
101		Size = MAP_APPFONT ( 77, 8 ) ;
102		Text [ en-US ] = "~Color" ;
103	};
104	ListBox LB_LINECOLOR
105	{
106		HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_LINECOLOR" ;
107		Border = TRUE ;
108		Pos = MAP_APPFONT ( 88, 106 ) ;
109		Size = MAP_APPFONT ( 74, 68 ) ;
110		DropDown = TRUE ;
111		DDExtraWidth = TRUE ;
112	};
113	FixedLine FL_SEPARATOR2
114	{
115		Pos = MAP_APPFONT ( 166, 14 ) ;
116		Size = MAP_APPFONT ( 4, 104 ) ;
117		Vert = TRUE ;
118	};
119	FixedText FT_LEFT
120	{
121		Pos = MAP_APPFONT ( 177, 16 ) ;
122		Size = MAP_APPFONT ( 34, 8 ) ;
123		Text [ en-US ] = "~Left" ;
124	};
125	MetricField MF_LEFT
126	{
127		HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_LEFT" ;
128		Border = TRUE ;
129		Pos = MAP_APPFONT ( 213, 14 ) ;
130		Size = MAP_APPFONT ( 38, 12 ) ;
131		Spin = TRUE ;
132		Repeat = TRUE ;
133		SpinSize = 10 ;
134		First = 100 ;
135		Last = 5000 ;
136		Maximum = 5000 ;
137		Minimum = 0 ;
138		DecimalDigits = 2 ;
139		Unit = FUNIT_MM ;
140	};
141	FixedText FT_RIGHT
142	{
143		Pos = MAP_APPFONT ( 177, 32 ) ;
144		Size = MAP_APPFONT ( 34, 8 ) ;
145		Text [ en-US ] = "Right" ;
146	};
147	MetricField MF_RIGHT
148	{
149		HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_RIGHT" ;
150		Border = TRUE ;
151		Pos = MAP_APPFONT ( 213, 30 ) ;
152		Size = MAP_APPFONT ( 38, 12 ) ;
153		Spin = TRUE ;
154		Repeat = TRUE ;
155		SpinSize = 10 ;
156		First = 100 ;
157		Last = 5000 ;
158		Maximum = 5000 ;
159		Minimum = 0 ;
160		DecimalDigits = 2 ;
161		Unit = FUNIT_MM ;
162	};
163	FixedText FT_TOP
164	{
165		Pos = MAP_APPFONT ( 177, 48 ) ;
166		Size = MAP_APPFONT ( 34, 8 ) ;
167		Text [ en-US ] = "~Top" ;
168	};
169	MetricField MF_TOP
170	{
171		HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_TOP" ;
172		Border = TRUE ;
173		Pos = MAP_APPFONT ( 213, 46 ) ;
174		Size = MAP_APPFONT ( 38, 12 ) ;
175		Spin = TRUE ;
176		Repeat = TRUE ;
177		SpinSize = 10 ;
178		First = 100 ;
179		Last = 5000 ;
180		Maximum = 5000 ;
181		Minimum = 0 ;
182		DecimalDigits = 2 ;
183		Unit = FUNIT_MM ;
184	};
185	FixedText FT_BOTTOM
186	{
187		Pos = MAP_APPFONT ( 177, 64 ) ;
188		Size = MAP_APPFONT ( 34, 8 ) ;
189		Text [ en-US ] = "~Bottom" ;
190	};
191	MetricField MF_BOTTOM
192	{
193		HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_BOTTOM" ;
194		Border = TRUE ;
195		Pos = MAP_APPFONT ( 213, 62 ) ;
196		Size = MAP_APPFONT ( 38, 12 ) ;
197		Spin = TRUE ;
198		Repeat = TRUE ;
199		SpinSize = 10 ;
200		First = 100 ;
201		Last = 5000 ;
202		Maximum = 5000 ;
203		Minimum = 0 ;
204		DecimalDigits = 2 ;
205		Unit = FUNIT_MM ;
206	};
207	CheckBox CB_SYNC
208	{
209		HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_SYNC" ;
210		Pos = MAP_APPFONT ( 177, 78 ) ;
211		Size = MAP_APPFONT ( 74, 10 ) ;
212		Text [ en-US ] = "Synchronize" ;
213	};
214	FixedLine FL_DISTANCE
215	{
216		Pos = MAP_APPFONT ( 171, 3 ) ;
217		Size = MAP_APPFONT ( 83, 8 ) ;
218		Text [ en-US ] = "Spacing to contents" ;
219	};
220
221	FixedText FT_SHADOWPOS
222	{
223		Pos = MAP_APPFONT ( 12, 133 ) ;
224		Size = MAP_APPFONT ( 74, 8 ) ;
225		Text [ en-US ] = "~Position" ;
226	};
227	Control WIN_SHADOWS
228	{
229		HelpId = HID_BORDER_CTL_SHADOWS ;
230		Hide = TRUE ;
231		Pos = MAP_APPFONT ( 12, 144 ) ;
232		Size = MAP_APPFONT ( 74, 12 ) ;
233		TabStop = TRUE ;
234	};
235	FixedText FT_SHADOWSIZE
236	{
237		Pos = MAP_APPFONT ( 88, 133 ) ;
238		Size = MAP_APPFONT ( 60, 8 ) ;
239		Text [ en-US ] = "Distan~ce" ;
240	};
241	MetricField ED_SHADOWSIZE
242	{
243		HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:ED_SHADOWSIZE" ;
244		Border = TRUE ;
245		Pos = MAP_APPFONT ( 88, 144 ) ;
246		Size = MAP_APPFONT ( 40, 12 ) ;
247		Spin = TRUE ;
248		Repeat = TRUE ;
249		SpinSize = 10 ;
250		First = 100 ;
251		Last = 5000 ;
252		Maximum = 5000 ;
253		Minimum = 50 ;
254		DecimalDigits = 2 ;
255		Unit = FUNIT_MM ;
256	};
257	FixedText FT_SHADOWCOLOR
258	{
259		Pos = MAP_APPFONT ( 177, 133 ) ;
260		Size = MAP_APPFONT ( 60, 8 ) ;
261		Text [ en-US ] = "C~olor" ;
262	};
263	ListBox LB_SHADOWCOLOR
264	{
265		HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_SHADOWCOLOR" ;
266		Border = TRUE ;
267		Pos = MAP_APPFONT ( 177, 144 ) ;
268		Size = MAP_APPFONT ( 74, 68 ) ;
269		DropDown = TRUE ;
270		DDExtraWidth = TRUE ;
271	};
272	FixedLine FL_SHADOW
273	{
274		Pos = MAP_APPFONT ( 6, 123 ) ;
275		Size = MAP_APPFONT ( 248, 8 ) ;
276		Text [ en-US ] = "Shadow style" ;
277	};
278	FixedLine FL_PROPERTIES
279	{
280		Pos = MAP_APPFONT ( 6, 162 ) ;
281		Size = MAP_APPFONT ( 248, 8 ) ;
282		Hide = TRUE ;
283		Text [ en-US ] = "Properties" ;
284	};
285	CheckBox CB_MERGEWITHNEXT
286	{
287		HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_MERGEWITHNEXT" ;
288		Pos = MAP_APPFONT ( 12, 173 ) ;
289		Size = MAP_APPFONT ( 242, 10 ) ;
290		Hide = TRUE ;
291		Text [ en-US ] = "~Merge with next paragraph" ;
292	};
293	CheckBox CB_MERGEADJACENTBORDERS
294	{
295		HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_MERGEADJACENTBORDERS" ;
296		Pos = MAP_APPFONT ( 12, 173 ) ;
297		Size = MAP_APPFONT ( 242, 10 ) ;
298		Hide = TRUE ;
299		Text [ en-US ] = "~Merge adjacent line styles" ;
300	};
301
302#define _PREVIEW_IDLIST_			\
303		IdList =					\
304		{							\
305			IID_PRE_CELL_NONE ;		\
306			IID_PRE_CELL_ALL ;		\
307			IID_PRE_CELL_LR ;		\
308			IID_PRE_CELL_TB ;		\
309			IID_PRE_CELL_L ;		\
310			IID_PRE_CELL_DIAG ;		\
311			IID_PRE_HOR_NONE ;		\
312			IID_PRE_HOR_OUTER ;		\
313			IID_PRE_HOR_HOR ;		\
314			IID_PRE_HOR_ALL ;		\
315			IID_PRE_HOR_OUTER2 ;	\
316			IID_PRE_VER_NONE ;		\
317			IID_PRE_VER_OUTER ;		\
318			IID_PRE_VER_VER ;		\
319			IID_PRE_VER_ALL ;		\
320			IID_PRE_VER_OUTER2 ;	\
321			IID_PRE_TABLE_NONE ;	\
322			IID_PRE_TABLE_OUTER ;	\
323			IID_PRE_TABLE_OUTERH ;	\
324			IID_PRE_TABLE_ALL ;		\
325			IID_PRE_TABLE_OUTER2 ;	\
326		};							\
327		IdCount = { 21 ; } ;
328
329	ImageList IL_PRE_BITMAPS
330	{
331		Prefix = "pr" ;
332		MaskColor = STD_MASKCOLOR ;
333		_PREVIEW_IDLIST_
334	};
335	ImageList ILH_PRE_BITMAPS
336	{
337		Prefix = "prh" ;
338		MaskColor = STD_MASKCOLOR ;
339		_PREVIEW_IDLIST_
340	};
341
342#define _SHADOW_IDLIST_				\
343		IdList =					\
344		{							\
345			IID_SHADOWNONE ;		\
346			IID_SHADOW_BOT_RIGHT ;	\
347			IID_SHADOW_BOT_LEFT ;	\
348			IID_SHADOW_TOP_RIGHT ;	\
349			IID_SHADOW_TOP_LEFT ;	\
350		};							\
351		IdCount = { 5 ; } ;
352
353	ImageList IL_SDW_BITMAPS
354	{
355		Prefix = "sh" ;
356		MaskColor = STD_MASKCOLOR ;
357		_SHADOW_IDLIST_
358	};
359	ImageList ILH_SDW_BITMAPS
360	{
361		Prefix = "shh" ;
362		MaskColor = STD_MASKCOLOR ;
363		_SHADOW_IDLIST_
364	};
365};
366
367String RID_SVXSTR_TABLE_PRESET_NONE
368{
369	Text [ en-US ] = "Set No Borders" ;
370};
371String RID_SVXSTR_TABLE_PRESET_ONLYOUTER
372{
373	Text [ en-US ] = "Set Outer Border Only" ;
374};
375String RID_SVXSTR_TABLE_PRESET_OUTERHORI
376{
377	Text [ en-US ] = "Set Outer Border and Horizontal Lines" ;
378};
379String RID_SVXSTR_TABLE_PRESET_OUTERALL
380{
381	Text [ en-US ] = "Set Outer Border and All Inner Lines" ;
382};
383String RID_SVXSTR_TABLE_PRESET_OUTERINNER
384{
385	Text [ en-US ] = "Set Outer Border Without Changing Inner Lines" ;
386};
387String RID_SVXSTR_PARA_PRESET_DIAGONAL
388{
389	Text [ en-US ] = "Set Diagonal Lines Only" ;
390};
391String RID_SVXSTR_PARA_PRESET_ALL
392{
393	Text [ en-US ] = "Set All Four Borders" ;
394};
395String RID_SVXSTR_PARA_PRESET_LEFTRIGHT
396{
397	Text [ en-US ] = "Set Left and Right Borders Only" ;
398};
399String RID_SVXSTR_PARA_PRESET_TOPBOTTOM
400{
401	Text [ en-US ] = "Set Top and Bottom Borders Only" ;
402};
403String RID_SVXSTR_PARA_PRESET_ONLYLEFT
404{
405	Text [ en-US ] = "Set Left Border Only" ;
406};
407String RID_SVXSTR_HOR_PRESET_ONLYHOR
408{
409	Text [ en-US ] = "Set Top and Bottom Borders, and All Inner Lines" ;
410};
411String RID_SVXSTR_VER_PRESET_ONLYVER
412{
413	Text [ en-US ] = "Set Left and Right Borders, and All Inner Lines" ;
414};
415String RID_SVXSTR_SHADOW_STYLE_NONE
416{
417	Text [ en-US ] = "No Shadow" ;
418};
419String RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT
420{
421	Text [ en-US ] = "Cast Shadow to Bottom Right" ;
422};
423String RID_SVXSTR_SHADOW_STYLE_TOPRIGHT
424{
425	Text [ en-US ] = "Cast Shadow to Top Right" ;
426};
427String RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT
428{
429	Text [ en-US ] = "Cast Shadow to Bottom Left" ;
430};
431String RID_SVXSTR_SHADOW_STYLE_TOPLEFT
432{
433	Text [ en-US ] = "Cast Shadow to Top Left" ;
434};
435
436// ********************************************************************** EOF
437