xref: /AOO41X/main/cui/source/tabpages/backgrnd.src (revision 8809db7a87f97847b57a57f4cd2b0104b2b83182)
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
23 // include ---------------------------------------------------------------
24#include <svtools/controldims.hrc>
25#include "helpid.hrc"
26#include <cuires.hrc>
27#include "backgrnd.hrc"
28#include <svx/dialogs.hrc>
29
30 // define ----------------------------------------------------------------
31#define UNLINKED_IMAGE                      \
32    Text [ en-US ] = "Unlinked graphic" ; \
33
34 // pragma ----------------------------------------------------------------
35
36 // RID_SVXPAGE_BACKGROUND ------------------------------------------------
37TabPage RID_SVXPAGE_BACKGROUND
38{
39    HelpId = HID_BACKGROUND ;
40    Hide = TRUE ;
41    Size = MAP_APPFONT ( 260 , 185 ) ;
42    Text [ en-US ] = "Background" ;
43    FixedText FT_SELECTOR
44    {
45        Pos = MAP_APPFONT ( 6 , 4 ) ;
46        Size = MAP_APPFONT ( 24 , 10 ) ;
47        Hide = TRUE ;
48        LeftLabel = TRUE ;
49        Text [ en-US ] = "A~s" ;
50    };
51    ListBox LB_SELECTOR
52    {
53        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR";
54        Hide = TRUE ;
55        Border = TRUE ;
56        Pos = MAP_APPFONT ( 33 , 3 ) ;
57        Size = MAP_APPFONT ( 82 , 48 ) ;
58        DropDown = TRUE ;
59        StringList [ en-US ] =
60        {
61            < "Color" ; Default ; > ;
62            < "Graphic" ; Default ; > ;
63        };
64    };
65    FixedText FT_TBL_DESC
66    {
67        Pos = MAP_APPFONT ( 145 , 5 ) ;
68        Size = MAP_APPFONT ( 24 , 10 ) ;
69        Hide = TRUE ;
70        LeftLabel = TRUE ;
71        /* ### ACHTUNG: Neuer Text in Resource? F�~r : F�~r */
72        Text [ en-US ] = "F~or" ;
73    };
74    ListBox LB_TBL_BOX
75    {
76        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX";
77        Hide = TRUE ;
78        Border = TRUE ;
79        Pos = MAP_APPFONT ( 172 , 3 ) ;
80        Size = MAP_APPFONT ( 82 , 48 ) ;
81        DropDown = TRUE ;
82        StringList [ en-US ] =
83        {
84            < "Cell" ; > ;
85            < "Row" ; > ;
86            < "Table" ; > ;
87        };
88    };
89    ListBox LB_PARA_BOX
90    {
91        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX";
92        Hide = TRUE ;
93        Border = TRUE ;
94        Pos = MAP_APPFONT ( 172 , 3 ) ;
95        Size = MAP_APPFONT ( 82 , 48 ) ;
96        DropDown = TRUE ;
97        StringList [ en-US ] =
98        {
99            < "Paragraph" ; > ;
100            < "Character" ; > ;
101        };
102    };
103     // Hintergrund-Brush  ----------------------------------------------------
104    Control CT_BORDER
105    {
106        Border = TRUE ;
107        Pos = MAP_APPFONT ( 12 , 32 ) ;
108        Size = MAP_APPFONT ( 116+2 , 145+2 ) ;
109        DialogControl = TRUE;
110    };
111    Control SET_BGDCOLOR
112    {
113        HelpId = HID_BACKGROUND_CTL_BGDCOLORSET ;
114        Hide = TRUE ;
115        Pos = MAP_APPFONT ( 0 , 0 ) ;
116        Size = MAP_APPFONT ( 116 , 145 ) ;
117        TabStop = TRUE ;
118    };
119    FixedLine GB_BGDCOLOR
120    {
121        Hide = TRUE ;
122        Pos = MAP_APPFONT ( 6 , 21 ) ;
123        Size = MAP_APPFONT ( 248 , 8) ;
124        Text [ en-US ] = "Background color" ;
125    };
126    Window WIN_PREVIEW1
127    {
128        Hide = TRUE ;
129        Border = TRUE ;
130        Pos = MAP_APPFONT ( 166 , 34 ) ;
131        Size = MAP_APPFONT ( 82 , 40 ) ;
132    };
133    FixedText FT_COL_TRANS
134    {
135        Hide = TRUE ;
136        Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
137        Size = MAP_APPFONT ( 50 , 8) ;
138        Text [ en-US ] = "~Transparency" ;
139    };
140    MetricField MF_COL_TRANS
141    {
142        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS";
143        Hide = TRUE ;
144        Pos = MAP_APPFONT ( 218 , 74 + RSC_SP_CTRL_Y ) ;
145        Size = MAP_APPFONT ( 30 , 12) ;
146        Border = TRUE ;
147        Group = TRUE ;
148        Left = TRUE ;
149        Repeat = TRUE ;
150        Spin = TRUE ;
151        Unit = FUNIT_CUSTOM ;
152        CustomUnitText = "%" ;
153        SpinSize = 5 ;
154        Minimum = 0;
155        Maximum = 100;
156    };
157
158     // Hintergrund-Bitmap ----------------------------------------------------
159    FixedLine GB_FILE
160    {
161        Hide = TRUE ;
162        Pos = MAP_APPFONT ( 6 , 23 ) ;
163        Size = MAP_APPFONT ( 153 , 8 ) ;
164        Text [ en-US ] = "File" ;
165    };
166    PushButton BTN_BROWSE
167    {
168        HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
169        Hide = TRUE ;
170        Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
171        Size = MAP_APPFONT ( 60 , 14 ) ;
172        Text [ en-US ] = "~Browse..." ;
173    };
174    CheckBox BTN_LINK
175    {
176        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
177        Hide = TRUE ;
178        Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT + 60 + 2*RSC_SP_CTRL_X, 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + 3 ) ;
179        Size = MAP_APPFONT ( 78 , 10 ) ;
180        Text [ en-US ] = "~Link" ;
181    };
182    FixedText FT_FILE
183    {
184        Hide = TRUE ;
185        Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_Y ) ;
186        Size = MAP_APPFONT ( 141 , 8 ) ;
187        UNLINKED_IMAGE
188    };
189    FixedLine GB_POSITION
190    {
191        Hide = TRUE ;
192        Pos = MAP_APPFONT ( 6 , 78 ) ;
193        Size = MAP_APPFONT ( 153 , 8 ) ;
194        Text [ en-US ] = "Type" ;
195    };
196    RadioButton BTN_POSITION
197    {
198        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
199        Hide = TRUE ;
200        Pos = MAP_APPFONT ( 12 , 89 ) ;
201        Size = MAP_APPFONT ( 49 , 10 ) ;
202        Text [ en-US ] = "~Position" ;
203    };
204    RadioButton BTN_AREA
205    {
206        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
207        Hide = TRUE ;
208        Pos = MAP_APPFONT ( 12 , 103 ) ;
209        Size = MAP_APPFONT ( 49 , 10 ) ;
210        /* ### ACHTUNG: Neuer Text in Resource? ~Fl�che : ~Fl�che */
211        Text [ en-US ] = "Ar~ea" ;
212    };
213    RadioButton BTN_TILE
214    {
215        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
216        Hide = TRUE ;
217        Pos = MAP_APPFONT ( 12 , 117 ) ;
218        Size = MAP_APPFONT ( 49 , 10 ) ;
219        Text [ en-US ] = "~Tile" ;
220    };
221    Control WND_POSITION
222    {
223        HelpId = HID_BACKGROUND_CTL_POSITION ;
224        Hide = TRUE ;
225        Border = TRUE ;
226        Pos = MAP_APPFONT ( 64 , 89 ) ;
227        Size = MAP_APPFONT ( 90 , 87 ) ;
228        TabStop = TRUE ;
229    };
230    FixedLine FL_GRAPH_TRANS
231    {
232        Hide = TRUE ;
233        Pos = MAP_APPFONT ( 6 , 157 ) ;
234        Size = MAP_APPFONT ( 153 , 8) ;
235        Text [ en-US ] = "Transparency" ;
236    };
237    MetricField MF_GRAPH_TRANS
238    {
239        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS";
240        Hide = TRUE ;
241        Pos = MAP_APPFONT ( 12 , 168 ) ;
242        Size = MAP_APPFONT ( 30 , 12) ;
243        Border = TRUE ;
244        Group = TRUE ;
245        Left = TRUE ;
246        Repeat = TRUE ;
247        Spin = TRUE ;
248        Unit = FUNIT_CUSTOM ;
249        CustomUnitText = "%" ;
250        SpinSize = 5 ;
251        Minimum = 0;
252        Maximum = 100;
253    };
254    Window WIN_PREVIEW2
255    {
256        Hide = TRUE ;
257        Border = TRUE ;
258        Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
259        Size = MAP_APPFONT ( 81 , 139 ) ;
260    };
261    CheckBox BTN_PREVIEW
262    {
263        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW";
264        Pos = MAP_APPFONT ( 170 , 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
265        Size = MAP_APPFONT ( 141 , 10 ) ;
266        Text [ en-US ] = "Pre~view" ;
267    };
268    String STR_BROWSE
269    {
270        Text [ en-US ] = "Find graphics" ;
271    };
272    String STR_UNLINKED
273    {
274        UNLINKED_IMAGE
275    };
276};
277 // ********************************************************************** EOF
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314