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