xref: /aoo4110/main/cui/source/tabpages/backgrnd.src (revision b1cdbd2c)
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_PERCENT ;
152        SpinSize = 5 ;
153        Minimum = 0;
154        Maximum = 100;
155    };
156
157     // Hintergrund-Bitmap ----------------------------------------------------
158    FixedLine GB_FILE
159	{
160		Hide = TRUE ;
161		Pos = MAP_APPFONT ( 6 , 23 ) ;
162        Size = MAP_APPFONT ( 153 , 8 ) ;
163		Text [ en-US ] = "File" ;
164	};
165	PushButton BTN_BROWSE
166	{
167	    HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
168		Hide = TRUE ;
169		Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
170		Size = MAP_APPFONT ( 60 , 14 ) ;
171		Text [ en-US ] = "~Browse..." ;
172	};
173	CheckBox BTN_LINK
174	{
175	    HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
176		Hide = TRUE ;
177		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 ) ;
178		Size = MAP_APPFONT ( 78 , 10 ) ;
179		Text [ en-US ] = "~Link" ;
180	};
181	FixedText FT_FILE
182	{
183		Hide = TRUE ;
184		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 ) ;
185		Size = MAP_APPFONT ( 141 , 8 ) ;
186		UNLINKED_IMAGE
187	};
188    FixedLine GB_POSITION
189	{
190		Hide = TRUE ;
191		Pos = MAP_APPFONT ( 6 , 78 ) ;
192        Size = MAP_APPFONT ( 153 , 8 ) ;
193		Text [ en-US ] = "Type" ;
194	};
195	RadioButton BTN_POSITION
196	{
197	    HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
198		Hide = TRUE ;
199		Pos = MAP_APPFONT ( 12 , 89 ) ;
200		Size = MAP_APPFONT ( 49 , 10 ) ;
201		Text [ en-US ] = "~Position" ;
202	};
203	RadioButton BTN_AREA
204	{
205	    HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
206		Hide = TRUE ;
207		Pos = MAP_APPFONT ( 12 , 103 ) ;
208		Size = MAP_APPFONT ( 49 , 10 ) ;
209		/* ### ACHTUNG: Neuer Text in Resource? ~Fl�che : ~Fl�che */
210		Text [ en-US ] = "Ar~ea" ;
211	};
212	RadioButton BTN_TILE
213	{
214	    HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
215		Hide = TRUE ;
216		Pos = MAP_APPFONT ( 12 , 117 ) ;
217		Size = MAP_APPFONT ( 49 , 10 ) ;
218		Text [ en-US ] = "~Tile" ;
219	};
220	Control WND_POSITION
221	{
222		HelpId = HID_BACKGROUND_CTL_POSITION ;
223		Hide = TRUE ;
224		Border = TRUE ;
225		Pos = MAP_APPFONT ( 64 , 89 ) ;
226		Size = MAP_APPFONT ( 90 , 87 ) ;
227		TabStop = TRUE ;
228	};
229    FixedLine FL_GRAPH_TRANS
230	{
231		Hide = TRUE ;
232        Pos = MAP_APPFONT ( 6 , 157 ) ;
233        Size = MAP_APPFONT ( 153 , 8) ;
234        Text [ en-US ] = "Transparency" ;
235	};
236    MetricField MF_GRAPH_TRANS
237    {
238        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS";
239        Hide = TRUE ;
240        Pos = MAP_APPFONT ( 12 , 168 ) ;
241        Size = MAP_APPFONT ( 30 , 12) ;
242        Border = TRUE ;
243		Group = TRUE ;
244		Left = TRUE ;
245		Repeat = TRUE ;
246		Spin = TRUE ;
247		Unit = FUNIT_PERCENT ;
248        SpinSize = 5 ;
249        Minimum = 0;
250        Maximum = 100;
251    };
252    Window WIN_PREVIEW2
253	{
254		Hide = TRUE ;
255        Border = TRUE ;
256		Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
257		Size = MAP_APPFONT ( 81 , 139 ) ;
258	};
259	CheckBox BTN_PREVIEW
260	{
261	    HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW";
262		Pos = MAP_APPFONT ( 170 , 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
263		Size = MAP_APPFONT ( 141 , 10 ) ;
264		Text [ en-US ] = "Pre~view" ;
265	};
266	String STR_BROWSE
267	{
268		Text [ en-US ] = "Find graphics" ;
269	};
270	String STR_UNLINKED
271	{
272		UNLINKED_IMAGE
273	};
274};
275 // ********************************************************************** EOF
276
277
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