summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/align.src
blob: 05d4b39d6767a9317f726eea29d4bcc6acd0686b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/
 // include ---------------------------------------------------------------
#include <cuires.hrc>
#include "helpid.hrc"
#include "align.hrc"
#include <svx/dialogs.hrc>

#define MASKCOLOR \
    MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }

 // define ---------------------------------------------------------------
#define IL_LOCK_MCOL Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
 // RID_SVXPAGE_ALIGNMENT -------------------------------------------------
TabPage RID_SVXPAGE_ALIGNMENT
{
    HelpId = HID_ALIGNMENT ;
    Hide = TRUE ;
    Text [ en-US ] = "Alignment" ;
    Size = MAP_APPFONT ( 260 , 185 ) ;
    SVLook = TRUE ;
    FixedLine FL_ALIGNMENT
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Text alignment";
    };
    FixedText FT_HORALIGN
    {
        Pos = MAP_APPFONT ( 12 ,14 ) ;
        Size = MAP_APPFONT ( 100 , 8 ) ;
        Text [ en-US ] = "Hori~zontal";
    };
    ListBox LB_HORALIGN
    {
        HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_HORALIGN";
        Border = TRUE;
        Pos = MAP_APPFONT ( 12 , 25  );
        Size = MAP_APPFONT ( 100 , 60 );
        TabStop = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            < "Default" ; ALIGNDLG_HORALIGN_STD ; > ;
            < "Left" ; ALIGNDLG_HORALIGN_LEFT ; > ;
            < "Center" ; ALIGNDLG_HORALIGN_CENTER ; > ;
            < "Right" ; ALIGNDLG_HORALIGN_RIGHT ; > ;
            < "Justified" ; ALIGNDLG_HORALIGN_BLOCK ; > ;
            < "Filled" ; ALIGNDLG_HORALIGN_FILL ; > ;
            < "Distributed" ; ALIGNDLG_HORALIGN_DISTRIBUTED ; > ;
        };
    };
    FixedText FT_INDENT
    {
        Pos = MAP_APPFONT ( 118 , 14 ) ;
        Size = MAP_APPFONT ( 40 , 8 ) ;
        Text [ en-US ] = "I~ndent" ;
    };
    MetricField ED_INDENT
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_ALIGNMENT:ED_INDENT";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 118 , 25 ) ;
        Size = MAP_APPFONT ( 36 , 12 ) ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = 0 ;
        Maximum = 990 ;
        SpinSize = 10 ;
        Unit = FUNIT_POINT ;
    };
    FixedText FT_VERALIGN
    {
        Pos = MAP_APPFONT ( 160 , 14 ) ;
        Size = MAP_APPFONT ( 88 , 8 ) ;
        Text [ en-US ] = "~Vertical";
    };
    ListBox LB_VERALIGN
    {
        HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_VERALIGN";
        Border = TRUE;
        Pos = MAP_APPFONT ( 160 , 25  );
        Size = MAP_APPFONT ( 88 , 60 );
        TabStop = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            < "Default" ; ALIGNDLG_VERALIGN_STD ; > ;
            < "Top" ; ALIGNDLG_VERALIGN_TOP ; > ;
            < "Middle" ; ALIGNDLG_VERALIGN_MID ; > ;
            < "Bottom" ; ALIGNDLG_VERALIGN_BOTTOM ; > ;
            < "Justified" ; ALIGNDLG_VERALIGN_BLOCK ; > ;
            < "Distributed" ; ALIGNDLG_VERALIGN_DISTRIBUTED ; > ;
        };
    };
    FixedLine FL_ORIENTATION
    {
        Pos = MAP_APPFONT ( 6 , 43 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Text orientation" ;
    };
    TriStateBox BTN_TXTSTACKED
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_TXTSTACKED";
        Pos = MAP_APPFONT ( 133 , 54 ) ;
        Size = MAP_APPFONT ( 115 , 10 ) ;
        TabStop = TRUE ;
        Text[ en-US ] = "Ve~rtically stacked";
    };
    Control CTR_DIAL
    {
        HelpId = HID_ALIGNMENT_CTR_DIAL ;
        Pos = MAP_APPFONT ( 12 , 60 ) ;
        Size = MAP_APPFONT ( 42 , 43 ) ;
        Text = "ABCD" ;
    };
    FixedText FT_DEGREES
    {
        Pos = MAP_APPFONT ( 72 , 54 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "De~grees";
    };
    NumericField NF_DEGREES
    {
        HelpID = "cui:NumericField:RID_SVXPAGE_ALIGNMENT:NF_DEGREES";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 72 , 65 ) ;
        Size = MAP_APPFONT ( 40 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = 0 ;
        Maximum = 359 ;
        SpinSize = 5 ;
        StrictFormat = TRUE ;
    };
    FixedText FT_BORDER_LOCK
    {
        Pos = MAP_APPFONT ( 72 , 83 ) ;
        Size = MAP_APPFONT ( 70 , 8 ) ;
        Text [ en-US ] = "Re~ference edge" ;
    };
    Control CTR_BORDER_LOCK
    {
        HelpId = HID_ALIGNMENT_CTR_BORDER_LOCK ;
        Pos = MAP_APPFONT ( 72 , 94 ) ;
        Size = MAP_APPFONT ( 50 , 15 ) ;
        TabStop = TRUE ;
    };
    TriStateBox BTN_ASIAN_VERTICAL
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_ASIAN_VERTICAL";
        Pos = MAP_APPFONT ( 143 , 68 ) ;
        Size = MAP_APPFONT ( 105 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Asian layout ~mode" ;
    };
    FixedLine FL_WRAP
    {
        Pos = MAP_APPFONT ( 6 , 115 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Properties" ;
    };
    TriStateBox BTN_WRAP
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_WRAP";
        Pos = MAP_APPFONT ( 12 , 126 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "~Wrap text automatically" ;
    };
    TriStateBox BTN_HYPH
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_HYPH";
        Pos = MAP_APPFONT ( 22 , 139 ) ;
        Size = MAP_APPFONT ( 226 , 10 ) ;
        Text [ en-US ] = "Hyphenation ~active";
    };
    TriStateBox BTN_SHRINK
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_SHRINK";
        Pos = MAP_APPFONT( 12, 152 );
        Size = MAP_APPFONT( 236, 10 );
        Text [ en-US ] = "~Shrink to fit cell size";
    };
    FixedText FT_TEXTFLOW
    {
        Pos = MAP_APPFONT( 12 , 170 );
        Size = MAP_APPFONT( 64 , 8 );
        Text [ en-US ] = "Te~xt direction";
    };
    ListBox LB_FRAMEDIR
    {
        HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_FRAMEDIR";
        Pos = MAP_APPFONT( 78 , 168 );
        Size = MAP_APPFONT( 170 , 50 );
        Border = TRUE;
        DropDown = TRUE;
    };
    ImageList IL_LOCK_BMPS
    {
        Prefix = "lo";
        MaskColor = IL_LOCK_MCOL ;
        IdList =
        {
            IID_BOTTOMLOCK ;
            IID_TOPLOCK ;
            IID_CELLLOCK ;
        };
        IdCount = { 3 ; };
    };
    String STR_BOTTOMLOCK
    {
        Text [ en-US ] = "Text Extension From Lower Cell Border" ;
    };
    String STR_TOPLOCK
    {
        Text [ en-US ] = "Text Extension From Upper Cell Border" ;
    };
    String STR_CELLLOCK
    {
        Text [ en-US ] = "Text Extension Inside Cell" ;
    };
};
 // ********************************************************************** EOF