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