xref: /trunk/main/cui/source/tabpages/align.src (revision ed6b4904)
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 <cuires.hrc>
26#include "helpid.hrc"
27#include "align.hrc"
28#include <svx/dialogs.hrc>
29
30#define MASKCOLOR \
31	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }
32
33// define ---------------------------------------------------------------
34#define IL_LOCK_MCOL Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
35// RID_SVXPAGE_ALIGNMENT -------------------------------------------------
36TabPage RID_SVXPAGE_ALIGNMENT
37{
38	HelpId = HID_ALIGNMENT ;
39	Hide = TRUE ;
40	Text [ en-US ] = "Alignment" ;
41	Size = MAP_APPFONT ( 260, 185 ) ;
42	SVLook = TRUE ;
43	FixedLine FL_ALIGNMENT
44	{
45		Pos = MAP_APPFONT ( 6, 3 ) ;
46		Size = MAP_APPFONT ( 248, 8 ) ;
47		Text [ en-US ] = "Text alignment" ;
48	};
49	FixedText FT_HORALIGN
50	{
51		Pos = MAP_APPFONT ( 12 ,14 ) ;
52		Size = MAP_APPFONT ( 100, 8 ) ;
53		Text [ en-US ] = "Hori~zontal" ;
54	};
55	ListBox LB_HORALIGN
56	{
57		HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_HORALIGN" ;
58		Border = TRUE ;
59		Pos = MAP_APPFONT ( 12, 25 ) ;
60		Size = MAP_APPFONT ( 100, 60 ) ;
61		TabStop = TRUE ;
62		DropDown = TRUE ;
63		StringList [ en-US ] =
64		{
65			< "Default" ; ALIGNDLG_HORALIGN_STD ;		> ;
66			< "Left" ; ALIGNDLG_HORALIGN_LEFT ;			> ;
67			< "Center" ; ALIGNDLG_HORALIGN_CENTER ;		> ;
68			< "Right" ; ALIGNDLG_HORALIGN_RIGHT ;		> ;
69			< "Justified" ; ALIGNDLG_HORALIGN_BLOCK ;	> ;
70			< "Filled" ; ALIGNDLG_HORALIGN_FILL ;		> ;
71		};
72	};
73	FixedText FT_INDENT
74	{
75		Pos = MAP_APPFONT ( 118, 14 ) ;
76		Size = MAP_APPFONT ( 40, 8 ) ;
77		Text [ en-US ] = "I~ndent" ;
78	};
79	MetricField ED_INDENT
80	{
81		HelpID = "cui:MetricField:RID_SVXPAGE_ALIGNMENT:ED_INDENT" ;
82		Border = TRUE ;
83		Pos = MAP_APPFONT ( 118, 25 ) ;
84		Size = MAP_APPFONT ( 36, 12 ) ;
85		Repeat = TRUE ;
86		Spin = TRUE ;
87		Minimum = 0 ;
88		Maximum = 990 ;
89		SpinSize = 10 ;
90		Unit = FUNIT_POINT ;
91	};
92	FixedText FT_VERALIGN
93	{
94		Pos = MAP_APPFONT ( 160, 14 ) ;
95		Size = MAP_APPFONT ( 88, 8 ) ;
96		Text [ en-US ] = "~Vertical" ;
97	};
98	ListBox LB_VERALIGN
99	{
100		HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_VERALIGN" ;
101		Border = TRUE ;
102		Pos = MAP_APPFONT ( 160, 25 ) ;
103		Size = MAP_APPFONT ( 88, 60 ) ;
104		TabStop = TRUE ;
105		DropDown = TRUE ;
106		StringList [ en-US ] =
107		{
108			< "Default" ; ALIGNDLG_VERALIGN_STD ;	> ;
109			< "Top" ; ALIGNDLG_VERALIGN_TOP ;		> ;
110			< "Middle" ; ALIGNDLG_VERALIGN_MID ;	> ;
111			< "Bottom" ; ALIGNDLG_VERALIGN_BOTTOM ;	> ;
112		};
113	};
114	FixedLine FL_ORIENTATION
115	{
116		Pos = MAP_APPFONT ( 6, 43 ) ;
117		Size = MAP_APPFONT ( 248, 8 ) ;
118		Text [ en-US ] = "Text orientation" ;
119	};
120	TriStateBox BTN_TXTSTACKED
121	{
122		HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_TXTSTACKED" ;
123		Pos = MAP_APPFONT ( 133, 54 ) ;
124		Size = MAP_APPFONT ( 115, 10 ) ;
125		TabStop = TRUE ;
126		Text [ en-US ] = "Ve~rtically stacked" ;
127	};
128	Control CTR_DIAL
129	{
130		HelpId = HID_ALIGNMENT_CTR_DIAL ;
131		Pos = MAP_APPFONT ( 12, 60 ) ;
132		Size = MAP_APPFONT ( 42, 43 ) ;
133		Text = "ABCD" ;
134	};
135	FixedText FT_DEGREES
136	{
137		Pos = MAP_APPFONT ( 72, 54 ) ;
138		Size = MAP_APPFONT ( 50, 8 ) ;
139		Text [ en-US ] = "De~grees" ;
140	};
141	NumericField NF_DEGREES
142	{
143		HelpID = "cui:NumericField:RID_SVXPAGE_ALIGNMENT:NF_DEGREES" ;
144		Border = TRUE ;
145		Pos = MAP_APPFONT ( 72, 65 ) ;
146		Size = MAP_APPFONT ( 40, 12 ) ;
147		TabStop = TRUE ;
148		Repeat = TRUE ;
149		Spin = TRUE ;
150		Minimum = 0 ;
151		Maximum = 359 ;
152		SpinSize = 5 ;
153		StrictFormat = TRUE ;
154	};
155	FixedText FT_BORDER_LOCK
156	{
157		Pos = MAP_APPFONT ( 72, 83 ) ;
158		Size = MAP_APPFONT ( 70, 8 ) ;
159		Text [ en-US ] = "Re~ference edge" ;
160	};
161	Control CTR_BORDER_LOCK
162	{
163		HelpId = HID_ALIGNMENT_CTR_BORDER_LOCK ;
164		Pos = MAP_APPFONT ( 72, 94 ) ;
165		Size = MAP_APPFONT ( 50, 15 ) ;
166		TabStop = TRUE ;
167	};
168	TriStateBox BTN_ASIAN_VERTICAL
169	{
170		HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_ASIAN_VERTICAL" ;
171		Pos = MAP_APPFONT ( 143, 68 ) ;
172		Size = MAP_APPFONT ( 105, 10 ) ;
173		TabStop = TRUE ;
174		Text [ en-US ] = "Asian layout ~mode" ;
175	};
176	FixedLine FL_WRAP
177	{
178		Pos = MAP_APPFONT ( 6, 115 ) ;
179		Size = MAP_APPFONT ( 248, 8 ) ;
180		Text [ en-US ] = "Properties" ;
181	};
182	TriStateBox BTN_WRAP
183	{
184		HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_WRAP" ;
185		Pos = MAP_APPFONT ( 12, 126 ) ;
186		Size = MAP_APPFONT ( 236, 10 ) ;
187		Text [ en-US ] = "~Wrap text automatically" ;
188	};
189	TriStateBox BTN_HYPH
190	{
191		HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_HYPH" ;
192		Pos = MAP_APPFONT ( 22, 139 ) ;
193		Size = MAP_APPFONT ( 226, 10 ) ;
194		Text [ en-US ] = "Hyphenation ~active" ;
195	};
196	TriStateBox BTN_SHRINK
197	{
198		HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_SHRINK" ;
199		Pos = MAP_APPFONT ( 12, 152 ) ;
200		Size = MAP_APPFONT ( 236, 10 ) ;
201		Text [ en-US ] = "~Shrink to fit cell size" ;
202	};
203	FixedText FT_TEXTFLOW
204	{
205		Pos = MAP_APPFONT ( 12, 170 ) ;
206		Size = MAP_APPFONT ( 64, 8 ) ;
207		Text [ en-US ] = "Te~xt direction" ;
208	};
209	ListBox LB_FRAMEDIR
210	{
211		HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_FRAMEDIR" ;
212		Pos = MAP_APPFONT ( 78, 168 ) ;
213		Size = MAP_APPFONT ( 170, 50 ) ;
214		Border = TRUE ;
215		DropDown = TRUE ;
216	};
217	ImageList IL_LOCK_BMPS
218	{
219		Prefix = "lo" ;
220		MaskColor = IL_LOCK_MCOL ;
221		IdList =
222		{
223			IID_BOTTOMLOCK ;
224			IID_TOPLOCK ;
225			IID_CELLLOCK ;
226		};
227		IdCount = { 3 ; } ;
228	};
229	ImageList IL_LOCK_BMPS_HC
230	{
231		Prefix = "loh" ;
232		MaskColor = IL_LOCK_MCOL ;
233		IdList =
234		{
235			IID_BOTTOMLOCK ;
236			IID_TOPLOCK ;
237			IID_CELLLOCK ;
238		};
239		IdCount = { 3 ; } ;
240	};
241	String STR_BOTTOMLOCK
242	{
243		Text [ en-US ] = "Text Extension From Lower Cell Border" ;
244	};
245	String STR_TOPLOCK
246	{
247		Text [ en-US ] = "Text Extension From Upper Cell Border" ;
248	};
249	String STR_CELLLOCK
250	{
251		Text [ en-US ] = "Text Extension Inside Cell" ;
252	};
253};
254
255// ********************************************************************** EOF
256