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