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