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