xref: /aoo42x/main/cui/source/tabpages/backgrnd.src (revision 64296bf4)
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
24// include ---------------------------------------------------------------
25#include <svtools/controldims.hrc>
26#include "helpid.hrc"
27#include <cuires.hrc>
28#include "backgrnd.hrc"
29#include <svx/dialogs.hrc>
30
31// define ----------------------------------------------------------------
32#define UNLINKED_IMAGE						\
33	Text [ en-US ] = "Unlinked graphic" ;	\
34
35// pragma ----------------------------------------------------------------
36
37// RID_SVXPAGE_BACKGROUND ------------------------------------------------
38TabPage RID_SVXPAGE_BACKGROUND
39{
40	HelpId = HID_BACKGROUND ;
41	Hide = TRUE ;
42	Size = MAP_APPFONT ( 260, 185 ) ;
43	Text [ en-US ] = "Background" ;
44	FixedText FT_SELECTOR
45	{
46		Pos = MAP_APPFONT ( 6, 4 ) ;
47		Size = MAP_APPFONT ( 24, 10 ) ;
48		Hide = TRUE ;
49		LeftLabel = TRUE ;
50		Text [ en-US ] = "A~s" ;
51	};
52	ListBox LB_SELECTOR
53	{
54		HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR" ;
55		Hide = TRUE ;
56		Border = TRUE ;
57		Pos = MAP_APPFONT ( 33, 3 ) ;
58		Size = MAP_APPFONT ( 82, 48 ) ;
59		DropDown = TRUE ;
60		StringList [ en-US ] =
61		{
62			< "Color" ; Default ;	> ;
63			< "Graphic" ; Default ;	> ;
64		};
65	};
66	FixedText FT_TBL_DESC
67	{
68		Pos = MAP_APPFONT ( 145, 5 ) ;
69		Size = MAP_APPFONT ( 24, 10 ) ;
70		Hide = TRUE ;
71		LeftLabel = TRUE ;
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	// Background-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	// Background-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		Text [ en-US ] = "Ar~ea" ;
210	};
211	RadioButton BTN_TILE
212	{
213		HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE" ;
214		Hide = TRUE ;
215		Pos = MAP_APPFONT ( 12, 117 ) ;
216		Size = MAP_APPFONT ( 49, 10 ) ;
217		Text [ en-US ] = "~Tile" ;
218	};
219	Control WND_POSITION
220	{
221		HelpId = HID_BACKGROUND_CTL_POSITION ;
222		Hide = TRUE ;
223		Border = TRUE ;
224		Pos = MAP_APPFONT ( 64, 89 ) ;
225		Size = MAP_APPFONT ( 90, 87 ) ;
226		TabStop = TRUE ;
227	};
228	FixedLine FL_GRAPH_TRANS
229	{
230		Hide = TRUE ;
231		Pos = MAP_APPFONT ( 6, 157 ) ;
232		Size = MAP_APPFONT ( 153, 8) ;
233		Text [ en-US ] = "Transparency" ;
234	};
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 ;
242		Group = TRUE ;
243		Left = TRUE ;
244		Repeat = TRUE ;
245		Spin = TRUE ;
246		Unit = FUNIT_PERCENT ;
247		SpinSize = 5 ;
248		Minimum = 0 ;
249		Maximum = 100 ;
250	};
251	Window WIN_PREVIEW2
252	{
253		Hide = TRUE ;
254		Border = TRUE ;
255		Pos = MAP_APPFONT ( 170, 23 + 4 ) ;
256		Size = MAP_APPFONT ( 81, 139 ) ;
257	};
258	CheckBox BTN_PREVIEW
259	{
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 ) ;
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};
274
275// ********************************************************************** EOF
276