backgrnd.src (7ea7a1cc) backgrnd.src (9cd2463e)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
23
24// include ---------------------------------------------------------------
24#include <svtools/controldims.hrc>
25#include "helpid.hrc"
26#include <cuires.hrc>
27#include "backgrnd.hrc"
28#include <svx/dialogs.hrc>
29
25#include <svtools/controldims.hrc>
26#include "helpid.hrc"
27#include <cuires.hrc>
28#include "backgrnd.hrc"
29#include <svx/dialogs.hrc>
30
30 // define ----------------------------------------------------------------
31// define ----------------------------------------------------------------
31#define UNLINKED_IMAGE \
32#define UNLINKED_IMAGE \
32 Text [ en-US ] = "Unlinked graphic" ; \
33 Text [ en-US ] = "Unlinked graphic" ; \
33
34
34 // pragma ----------------------------------------------------------------
35// pragma ----------------------------------------------------------------
35
36
36 // RID_SVXPAGE_BACKGROUND ------------------------------------------------
37// RID_SVXPAGE_BACKGROUND ------------------------------------------------
37TabPage RID_SVXPAGE_BACKGROUND
38{
39 HelpId = HID_BACKGROUND ;
40 Hide = TRUE ;
38TabPage RID_SVXPAGE_BACKGROUND
39{
40 HelpId = HID_BACKGROUND ;
41 Hide = TRUE ;
41 Size = MAP_APPFONT ( 260 , 185 ) ;
42 Size = MAP_APPFONT ( 260, 185 ) ;
42 Text [ en-US ] = "Background" ;
43 FixedText FT_SELECTOR
44 {
43 Text [ en-US ] = "Background" ;
44 FixedText FT_SELECTOR
45 {
45 Pos = MAP_APPFONT ( 6 , 4 ) ;
46 Size = MAP_APPFONT ( 24 , 10 ) ;
46 Pos = MAP_APPFONT ( 6, 4 ) ;
47 Size = MAP_APPFONT ( 24, 10 ) ;
47 Hide = TRUE ;
48 LeftLabel = TRUE ;
49 Text [ en-US ] = "A~s" ;
50 };
51 ListBox LB_SELECTOR
52 {
48 Hide = TRUE ;
49 LeftLabel = TRUE ;
50 Text [ en-US ] = "A~s" ;
51 };
52 ListBox LB_SELECTOR
53 {
53 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR";
54 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR" ;
54 Hide = TRUE ;
55 Border = TRUE ;
55 Hide = TRUE ;
56 Border = TRUE ;
56 Pos = MAP_APPFONT ( 33 , 3 ) ;
57 Size = MAP_APPFONT ( 82 , 48 ) ;
57 Pos = MAP_APPFONT ( 33, 3 ) ;
58 Size = MAP_APPFONT ( 82, 48 ) ;
58 DropDown = TRUE ;
59 StringList [ en-US ] =
60 {
59 DropDown = TRUE ;
60 StringList [ en-US ] =
61 {
61 < "Color" ; Default ; > ;
62 < "Graphic" ; Default ; > ;
62 < "Color" ; Default ; > ;
63 < "Graphic" ; Default ; > ;
63 };
64 };
65 FixedText FT_TBL_DESC
66 {
64 };
65 };
66 FixedText FT_TBL_DESC
67 {
67 Pos = MAP_APPFONT ( 145 , 5 ) ;
68 Size = MAP_APPFONT ( 24 , 10 ) ;
68 Pos = MAP_APPFONT ( 145, 5 ) ;
69 Size = MAP_APPFONT ( 24, 10 ) ;
69 Hide = TRUE ;
70 LeftLabel = TRUE ;
70 Hide = TRUE ;
71 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 {
72 Text [ en-US ] = "F~or" ;
73 };
74 ListBox LB_TBL_BOX
75 {
76 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX";
76 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX" ;
77 Hide = TRUE ;
78 Border = TRUE ;
77 Hide = TRUE ;
78 Border = TRUE ;
79 Pos = MAP_APPFONT ( 172 , 3 ) ;
80 Size = MAP_APPFONT ( 82 , 48 ) ;
79 Pos = MAP_APPFONT ( 172, 3 ) ;
80 Size = MAP_APPFONT ( 82, 48 ) ;
81 DropDown = TRUE ;
82 StringList [ en-US ] =
83 {
81 DropDown = TRUE ;
82 StringList [ en-US ] =
83 {
84 < "Cell" ; > ;
85 < "Row" ; > ;
86 < "Table" ; > ;
84 < "Cell" ; > ;
85 < "Row" ; > ;
86 < "Table" ; > ;
87 };
88 };
89 ListBox LB_PARA_BOX
90 {
87 };
88 };
89 ListBox LB_PARA_BOX
90 {
91 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX";
91 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX" ;
92 Hide = TRUE ;
93 Border = TRUE ;
92 Hide = TRUE ;
93 Border = TRUE ;
94 Pos = MAP_APPFONT ( 172 , 3 ) ;
95 Size = MAP_APPFONT ( 82 , 48 ) ;
94 Pos = MAP_APPFONT ( 172, 3 ) ;
95 Size = MAP_APPFONT ( 82, 48 ) ;
96 DropDown = TRUE ;
97 StringList [ en-US ] =
98 {
96 DropDown = TRUE ;
97 StringList [ en-US ] =
98 {
99 < "Paragraph" ; > ;
100 < "Character" ; > ;
99 < "Paragraph" ; > ;
100 < "Character" ; > ;
101 };
102 };
101 };
102 };
103 // Hintergrund-Brush ----------------------------------------------------
103 // Background-Brush ----------------------------------------------------
104 Control CT_BORDER
105 {
106 Border = TRUE ;
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;
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 ;
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 ) ;
115 Pos = MAP_APPFONT ( 0, 0 ) ;
116 Size = MAP_APPFONT ( 116, 145 ) ;
117 TabStop = TRUE ;
118 };
117 TabStop = TRUE ;
118 };
119 FixedLine GB_BGDCOLOR
119 FixedLine GB_BGDCOLOR
120 {
121 Hide = TRUE ;
120 {
121 Hide = TRUE ;
122 Pos = MAP_APPFONT ( 6 , 21 ) ;
123 Size = MAP_APPFONT ( 248 , 8) ;
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 ;
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 ) ;
129 Border = TRUE ;
130 Pos = MAP_APPFONT ( 166, 34 ) ;
131 Size = MAP_APPFONT ( 82, 40 ) ;
132 };
132 };
133 FixedText FT_COL_TRANS
134 {
133 FixedText FT_COL_TRANS
134 {
135 Hide = TRUE ;
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" ;
136 Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
137 Size = MAP_APPFONT ( 50, 8) ;
138 Text [ en-US ] = "~Transparency" ;
139 };
139 };
140 MetricField MF_COL_TRANS
141 {
142 HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS";
140 MetricField MF_COL_TRANS
141 {
142 HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS" ;
143 Hide = TRUE ;
143 Hide = TRUE ;
144 Pos = MAP_APPFONT ( 218 , 74 + RSC_SP_CTRL_Y ) ;
145 Size = MAP_APPFONT ( 30 , 12) ;
146 Border = 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 ;
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 };
152 SpinSize = 5 ;
153 Minimum = 0 ;
154 Maximum = 100 ;
155 };
156
156
157 // Hintergrund-Bitmap ----------------------------------------------------
158 FixedLine GB_FILE
157 // Background-Bitmap ----------------------------------------------------
158 FixedLine GB_FILE
159 {
160 Hide = TRUE ;
159 {
160 Hide = TRUE ;
161 Pos = MAP_APPFONT ( 6 , 23 ) ;
162 Size = MAP_APPFONT ( 153 , 8 ) ;
161 Pos = MAP_APPFONT ( 6, 23 ) ;
162 Size = MAP_APPFONT ( 153, 8 ) ;
163 Text [ en-US ] = "File" ;
164 };
165 PushButton BTN_BROWSE
166 {
163 Text [ en-US ] = "File" ;
164 };
165 PushButton BTN_BROWSE
166 {
167 HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
167 HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE" ;
168 Hide = TRUE ;
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 ) ;
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 {
171 Text [ en-US ] = "~Browse..." ;
172 };
173 CheckBox BTN_LINK
174 {
175 HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
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 ) ;
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 ) ;
178 Size = MAP_APPFONT ( 78, 10 ) ;
179 Text [ en-US ] = "~Link" ;
180 };
181 FixedText FT_FILE
182 {
183 Hide = TRUE ;
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 ) ;
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 };
186 UNLINKED_IMAGE
187 };
188 FixedLine GB_POSITION
188 FixedLine GB_POSITION
189 {
190 Hide = TRUE ;
189 {
190 Hide = TRUE ;
191 Pos = MAP_APPFONT ( 6 , 78 ) ;
192 Size = MAP_APPFONT ( 153 , 8 ) ;
191 Pos = MAP_APPFONT ( 6, 78 ) ;
192 Size = MAP_APPFONT ( 153, 8 ) ;
193 Text [ en-US ] = "Type" ;
194 };
195 RadioButton BTN_POSITION
196 {
193 Text [ en-US ] = "Type" ;
194 };
195 RadioButton BTN_POSITION
196 {
197 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
197 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION" ;
198 Hide = TRUE ;
198 Hide = TRUE ;
199 Pos = MAP_APPFONT ( 12 , 89 ) ;
200 Size = MAP_APPFONT ( 49 , 10 ) ;
199 Pos = MAP_APPFONT ( 12, 89 ) ;
200 Size = MAP_APPFONT ( 49, 10 ) ;
201 Text [ en-US ] = "~Position" ;
202 };
203 RadioButton BTN_AREA
204 {
201 Text [ en-US ] = "~Position" ;
202 };
203 RadioButton BTN_AREA
204 {
205 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
205 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA" ;
206 Hide = TRUE ;
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 */
207 Pos = MAP_APPFONT ( 12, 103 ) ;
208 Size = MAP_APPFONT ( 49, 10 ) ;
210 Text [ en-US ] = "Ar~ea" ;
211 };
212 RadioButton BTN_TILE
213 {
209 Text [ en-US ] = "Ar~ea" ;
210 };
211 RadioButton BTN_TILE
212 {
214 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
213 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE" ;
215 Hide = TRUE ;
214 Hide = TRUE ;
216 Pos = MAP_APPFONT ( 12 , 117 ) ;
217 Size = MAP_APPFONT ( 49 , 10 ) ;
215 Pos = MAP_APPFONT ( 12, 117 ) ;
216 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 ;
217 Text [ en-US ] = "~Tile" ;
218 };
219 Control WND_POSITION
220 {
221 HelpId = HID_BACKGROUND_CTL_POSITION ;
222 Hide = TRUE ;
223 Border = TRUE ;
225 Pos = MAP_APPFONT ( 64 , 89 ) ;
226 Size = MAP_APPFONT ( 90 , 87 ) ;
224 Pos = MAP_APPFONT ( 64, 89 ) ;
225 Size = MAP_APPFONT ( 90, 87 ) ;
227 TabStop = TRUE ;
228 };
226 TabStop = TRUE ;
227 };
229 FixedLine FL_GRAPH_TRANS
228 FixedLine FL_GRAPH_TRANS
230 {
231 Hide = TRUE ;
229 {
230 Hide = TRUE ;
232 Pos = MAP_APPFONT ( 6 , 157 ) ;
233 Size = MAP_APPFONT ( 153 , 8) ;
234 Text [ en-US ] = "Transparency" ;
231 Pos = MAP_APPFONT ( 6, 157 ) ;
232 Size = MAP_APPFONT ( 153, 8) ;
233 Text [ en-US ] = "Transparency" ;
235 };
234 };
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 ;
235 MetricField MF_GRAPH_TRANS
236 {
237 HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS" ;
238 Hide = TRUE ;
239 Pos = MAP_APPFONT ( 12, 168 ) ;
240 Size = MAP_APPFONT ( 30, 12) ;
241 Border = TRUE ;
243 Group = TRUE ;
244 Left = TRUE ;
245 Repeat = TRUE ;
246 Spin = TRUE ;
247 Unit = FUNIT_PERCENT ;
242 Group = TRUE ;
243 Left = TRUE ;
244 Repeat = TRUE ;
245 Spin = TRUE ;
246 Unit = FUNIT_PERCENT ;
248 SpinSize = 5 ;
249 Minimum = 0;
250 Maximum = 100;
251 };
252 Window WIN_PREVIEW2
247 SpinSize = 5 ;
248 Minimum = 0 ;
249 Maximum = 100 ;
250 };
251 Window WIN_PREVIEW2
253 {
254 Hide = TRUE ;
252 {
253 Hide = TRUE ;
255 Border = TRUE ;
256 Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
257 Size = MAP_APPFONT ( 81 , 139 ) ;
254 Border = TRUE ;
255 Pos = MAP_APPFONT ( 170, 23 + 4 ) ;
256 Size = MAP_APPFONT ( 81, 139 ) ;
258 };
259 CheckBox BTN_PREVIEW
260 {
257 };
258 CheckBox BTN_PREVIEW
259 {
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 ) ;
260 HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW" ;
261 Pos = MAP_APPFONT ( 170, 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
262 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};
263 Text [ en-US ] = "Pre~view" ;
264 };
265 String STR_BROWSE
266 {
267 Text [ en-US ] = "Find graphics" ;
268 };
269 String STR_UNLINKED
270 {
271 UNLINKED_IMAGE
272 };
273};
275 // ********************************************************************** EOF
276
274
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
275// ********************************************************************** EOF