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