xref: /trunk/main/cui/source/tabpages/backgrnd.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <svtools/controldims.hrc>
29#include "helpid.hrc"
30#include <cuires.hrc>
31#include "backgrnd.hrc"
32#include <svx/dialogs.hrc>
33
34 // define ----------------------------------------------------------------
35#define UNLINKED_IMAGE                      \
36    Text [ en-US ] = "Unlinked graphic" ; \
37
38 // pragma ----------------------------------------------------------------
39
40 // RID_SVXPAGE_BACKGROUND ------------------------------------------------
41TabPage RID_SVXPAGE_BACKGROUND
42{
43    HelpId = HID_BACKGROUND ;
44    Hide = TRUE ;
45    Size = MAP_APPFONT ( 260 , 185 ) ;
46    Text [ en-US ] = "Background" ;
47    FixedText FT_SELECTOR
48    {
49        Pos = MAP_APPFONT ( 6 , 4 ) ;
50        Size = MAP_APPFONT ( 24 , 10 ) ;
51        Hide = TRUE ;
52        LeftLabel = TRUE ;
53        Text [ en-US ] = "A~s" ;
54    };
55    ListBox LB_SELECTOR
56    {
57        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR";
58        Hide = TRUE ;
59        Border = TRUE ;
60        Pos = MAP_APPFONT ( 33 , 3 ) ;
61        Size = MAP_APPFONT ( 82 , 48 ) ;
62        DropDown = TRUE ;
63        StringList [ en-US ] =
64        {
65            < "Color" ; Default ; > ;
66            < "Graphic" ; Default ; > ;
67        };
68    };
69    FixedText FT_TBL_DESC
70    {
71        Pos = MAP_APPFONT ( 145 , 5 ) ;
72        Size = MAP_APPFONT ( 24 , 10 ) ;
73        Hide = TRUE ;
74        LeftLabel = TRUE ;
75        /* ### ACHTUNG: Neuer Text in Resource? F�~r : F�~r */
76        Text [ en-US ] = "F~or" ;
77    };
78    ListBox LB_TBL_BOX
79    {
80        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX";
81        Hide = TRUE ;
82        Border = TRUE ;
83        Pos = MAP_APPFONT ( 172 , 3 ) ;
84        Size = MAP_APPFONT ( 82 , 48 ) ;
85        DropDown = TRUE ;
86        StringList [ en-US ] =
87        {
88            < "Cell" ; > ;
89            < "Row" ; > ;
90            < "Table" ; > ;
91        };
92    };
93    ListBox LB_PARA_BOX
94    {
95        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX";
96        Hide = TRUE ;
97        Border = TRUE ;
98        Pos = MAP_APPFONT ( 172 , 3 ) ;
99        Size = MAP_APPFONT ( 82 , 48 ) ;
100        DropDown = TRUE ;
101        StringList [ en-US ] =
102        {
103            < "Paragraph" ; > ;
104            < "Character" ; > ;
105        };
106    };
107     // Hintergrund-Brush  ----------------------------------------------------
108    Control CT_BORDER
109    {
110        Border = TRUE ;
111        Pos = MAP_APPFONT ( 12 , 32 ) ;
112        Size = MAP_APPFONT ( 116+2 , 145+2 ) ;
113        DialogControl = TRUE;
114    };
115    Control SET_BGDCOLOR
116    {
117        HelpId = HID_BACKGROUND_CTL_BGDCOLORSET ;
118        Hide = TRUE ;
119        Pos = MAP_APPFONT ( 0 , 0 ) ;
120        Size = MAP_APPFONT ( 116 , 145 ) ;
121        TabStop = TRUE ;
122    };
123    FixedLine GB_BGDCOLOR
124    {
125        Hide = TRUE ;
126        Pos = MAP_APPFONT ( 6 , 21 ) ;
127        Size = MAP_APPFONT ( 248 , 8) ;
128        Text [ en-US ] = "Background color" ;
129    };
130    Window WIN_PREVIEW1
131    {
132        Hide = TRUE ;
133        Border = TRUE ;
134        Pos = MAP_APPFONT ( 166 , 34 ) ;
135        Size = MAP_APPFONT ( 82 , 40 ) ;
136    };
137    FixedText FT_COL_TRANS
138    {
139        Hide = TRUE ;
140        Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
141        Size = MAP_APPFONT ( 50 , 8) ;
142        Text [ en-US ] = "~Transparency" ;
143    };
144    MetricField MF_COL_TRANS
145    {
146        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS";
147        Hide = TRUE ;
148        Pos = MAP_APPFONT ( 218 , 74 + RSC_SP_CTRL_Y ) ;
149        Size = MAP_APPFONT ( 30 , 12) ;
150        Border = TRUE ;
151        Group = TRUE ;
152        Left = TRUE ;
153        Repeat = TRUE ;
154        Spin = TRUE ;
155        Unit = FUNIT_CUSTOM ;
156        CustomUnitText = "%" ;
157        SpinSize = 5 ;
158        Minimum = 0;
159        Maximum = 100;
160    };
161
162     // Hintergrund-Bitmap ----------------------------------------------------
163    FixedLine GB_FILE
164    {
165        Hide = TRUE ;
166        Pos = MAP_APPFONT ( 6 , 23 ) ;
167        Size = MAP_APPFONT ( 153 , 8 ) ;
168        Text [ en-US ] = "File" ;
169    };
170    PushButton BTN_BROWSE
171    {
172        HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
173        Hide = TRUE ;
174        Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
175        Size = MAP_APPFONT ( 60 , 14 ) ;
176        Text [ en-US ] = "~Browse..." ;
177    };
178    CheckBox BTN_LINK
179    {
180        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
181        Hide = TRUE ;
182        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 ) ;
183        Size = MAP_APPFONT ( 78 , 10 ) ;
184        Text [ en-US ] = "~Link" ;
185    };
186    FixedText FT_FILE
187    {
188        Hide = TRUE ;
189        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 ) ;
190        Size = MAP_APPFONT ( 141 , 8 ) ;
191        UNLINKED_IMAGE
192    };
193    FixedLine GB_POSITION
194    {
195        Hide = TRUE ;
196        Pos = MAP_APPFONT ( 6 , 78 ) ;
197        Size = MAP_APPFONT ( 153 , 8 ) ;
198        Text [ en-US ] = "Type" ;
199    };
200    RadioButton BTN_POSITION
201    {
202        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
203        Hide = TRUE ;
204        Pos = MAP_APPFONT ( 12 , 89 ) ;
205        Size = MAP_APPFONT ( 49 , 10 ) ;
206        Text [ en-US ] = "~Position" ;
207    };
208    RadioButton BTN_AREA
209    {
210        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
211        Hide = TRUE ;
212        Pos = MAP_APPFONT ( 12 , 103 ) ;
213        Size = MAP_APPFONT ( 49 , 10 ) ;
214        /* ### ACHTUNG: Neuer Text in Resource? ~Fl�che : ~Fl�che */
215        Text [ en-US ] = "Ar~ea" ;
216    };
217    RadioButton BTN_TILE
218    {
219        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
220        Hide = TRUE ;
221        Pos = MAP_APPFONT ( 12 , 117 ) ;
222        Size = MAP_APPFONT ( 49 , 10 ) ;
223        Text [ en-US ] = "~Tile" ;
224    };
225    Control WND_POSITION
226    {
227        HelpId = HID_BACKGROUND_CTL_POSITION ;
228        Hide = TRUE ;
229        Border = TRUE ;
230        Pos = MAP_APPFONT ( 64 , 89 ) ;
231        Size = MAP_APPFONT ( 90 , 87 ) ;
232        TabStop = TRUE ;
233    };
234    FixedLine FL_GRAPH_TRANS
235    {
236        Hide = TRUE ;
237        Pos = MAP_APPFONT ( 6 , 157 ) ;
238        Size = MAP_APPFONT ( 153 , 8) ;
239        Text [ en-US ] = "Transparency" ;
240    };
241    MetricField MF_GRAPH_TRANS
242    {
243        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS";
244        Hide = TRUE ;
245        Pos = MAP_APPFONT ( 12 , 168 ) ;
246        Size = MAP_APPFONT ( 30 , 12) ;
247        Border = TRUE ;
248        Group = TRUE ;
249        Left = TRUE ;
250        Repeat = TRUE ;
251        Spin = TRUE ;
252        Unit = FUNIT_CUSTOM ;
253        CustomUnitText = "%" ;
254        SpinSize = 5 ;
255        Minimum = 0;
256        Maximum = 100;
257    };
258    Window WIN_PREVIEW2
259    {
260        Hide = TRUE ;
261        Border = TRUE ;
262        Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
263        Size = MAP_APPFONT ( 81 , 139 ) ;
264    };
265    CheckBox BTN_PREVIEW
266    {
267        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW";
268        Pos = MAP_APPFONT ( 170 , 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
269        Size = MAP_APPFONT ( 141 , 10 ) ;
270        Text [ en-US ] = "Pre~view" ;
271    };
272    String STR_BROWSE
273    {
274        Text [ en-US ] = "Find graphics" ;
275    };
276    String STR_UNLINKED
277    {
278        UNLINKED_IMAGE
279    };
280};
281 // ********************************************************************** EOF
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
315
316
317
318