1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28 #include <svtools/controldims.hrc>
31 #include "backgrnd.hrc"
32 #include <svx/dialogs.hrc>
34 // define ----------------------------------------------------------------
35 #define UNLINKED_IMAGE \
36 Text [ en-US ] = "Unlinked graphic" ; \
38 // pragma ----------------------------------------------------------------
40 // RID_SVXPAGE_BACKGROUND ------------------------------------------------
41 TabPage RID_SVXPAGE_BACKGROUND
43 HelpId = HID_BACKGROUND ;
45 Size = MAP_APPFONT ( 260 , 185 ) ;
46 Text [ en-US ] = "Background" ;
49 Pos = MAP_APPFONT ( 6 , 4 ) ;
50 Size = MAP_APPFONT ( 24 , 10 ) ;
53 Text [ en-US ] = "A~s" ;
57 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR";
60 Pos = MAP_APPFONT ( 33 , 3 ) ;
61 Size = MAP_APPFONT ( 82 , 48 ) ;
63 StringList [ en-US ] =
65 < "Color" ; Default ; > ;
66 < "Graphic" ; Default ; > ;
71 Pos = MAP_APPFONT ( 145 , 5 ) ;
72 Size = MAP_APPFONT ( 24 , 10 ) ;
75 /* ### ACHTUNG: Neuer Text in Resource? Fü~r : F³~r */
76 Text [ en-US ] = "F~or" ;
80 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX";
83 Pos = MAP_APPFONT ( 172 , 3 ) ;
84 Size = MAP_APPFONT ( 82 , 48 ) ;
86 StringList [ en-US ] =
95 HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX";
98 Pos = MAP_APPFONT ( 172 , 3 ) ;
99 Size = MAP_APPFONT ( 82 , 48 ) ;
101 StringList [ en-US ] =
107 // Hintergrund-Brush ----------------------------------------------------
111 Pos = MAP_APPFONT ( 12 , 32 ) ;
112 Size = MAP_APPFONT ( 116+2 , 145+2 ) ;
113 DialogControl = TRUE;
117 HelpId = HID_BACKGROUND_CTL_BGDCOLORSET ;
119 Pos = MAP_APPFONT ( 0 , 0 ) ;
120 Size = MAP_APPFONT ( 116 , 145 ) ;
123 FixedLine GB_BGDCOLOR
126 Pos = MAP_APPFONT ( 6 , 21 ) ;
127 Size = MAP_APPFONT ( 248 , 8) ;
128 Text [ en-US ] = "Background color" ;
134 Pos = MAP_APPFONT ( 166 , 34 ) ;
135 Size = MAP_APPFONT ( 82 , 40 ) ;
137 FixedText FT_COL_TRANS
140 Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
141 Size = MAP_APPFONT ( 50 , 8) ;
142 Text [ en-US ] = "~Transparency" ;
144 MetricField MF_COL_TRANS
146 HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS";
148 Pos = MAP_APPFONT ( 218 , 74 + RSC_SP_CTRL_Y ) ;
149 Size = MAP_APPFONT ( 30 , 12) ;
155 Unit = FUNIT_CUSTOM ;
156 CustomUnitText = "%" ;
162 // Hintergrund-Bitmap ----------------------------------------------------
166 Pos = MAP_APPFONT ( 6 , 23 ) ;
167 Size = MAP_APPFONT ( 153 , 8 ) ;
168 Text [ en-US ] = "File" ;
170 PushButton BTN_BROWSE
172 HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
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..." ;
180 HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
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" ;
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 ) ;
193 FixedLine GB_POSITION
196 Pos = MAP_APPFONT ( 6 , 78 ) ;
197 Size = MAP_APPFONT ( 153 , 8 ) ;
198 Text [ en-US ] = "Type" ;
200 RadioButton BTN_POSITION
202 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
204 Pos = MAP_APPFONT ( 12 , 89 ) ;
205 Size = MAP_APPFONT ( 49 , 10 ) ;
206 Text [ en-US ] = "~Position" ;
210 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
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" ;
219 HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
221 Pos = MAP_APPFONT ( 12 , 117 ) ;
222 Size = MAP_APPFONT ( 49 , 10 ) ;
223 Text [ en-US ] = "~Tile" ;
227 HelpId = HID_BACKGROUND_CTL_POSITION ;
230 Pos = MAP_APPFONT ( 64 , 89 ) ;
231 Size = MAP_APPFONT ( 90 , 87 ) ;
234 FixedLine FL_GRAPH_TRANS
237 Pos = MAP_APPFONT ( 6 , 157 ) ;
238 Size = MAP_APPFONT ( 153 , 8) ;
239 Text [ en-US ] = "Transparency" ;
241 MetricField MF_GRAPH_TRANS
243 HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS";
245 Pos = MAP_APPFONT ( 12 , 168 ) ;
246 Size = MAP_APPFONT ( 30 , 12) ;
252 Unit = FUNIT_CUSTOM ;
253 CustomUnitText = "%" ;
262 Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
263 Size = MAP_APPFONT ( 81 , 139 ) ;
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" ;
274 Text [ en-US ] = "Find graphics" ;
281 // ********************************************************************** EOF