xref: /trunk/main/cui/source/tabpages/backgrnd.src (revision 9cd2463e16d9c8c25b716d04d131401acf53759f)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*9cd2463eSmseidel
24cdf0e10cSrcweir// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <svtools/controldims.hrc>
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir#include <cuires.hrc>
28cdf0e10cSrcweir#include "backgrnd.hrc"
29cdf0e10cSrcweir#include <svx/dialogs.hrc>
30cdf0e10cSrcweir
31cdf0e10cSrcweir// define ----------------------------------------------------------------
32cdf0e10cSrcweir#define UNLINKED_IMAGE                      \
33cdf0e10cSrcweir    Text [ en-US ] = "Unlinked graphic" ;   \
34cdf0e10cSrcweir
35cdf0e10cSrcweir// pragma ----------------------------------------------------------------
36cdf0e10cSrcweir
37cdf0e10cSrcweir// RID_SVXPAGE_BACKGROUND ------------------------------------------------
38cdf0e10cSrcweirTabPage RID_SVXPAGE_BACKGROUND
39cdf0e10cSrcweir{
40cdf0e10cSrcweir    HelpId = HID_BACKGROUND ;
41cdf0e10cSrcweir    Hide = TRUE ;
42cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
43cdf0e10cSrcweir    Text [ en-US ] = "Background" ;
44cdf0e10cSrcweir    FixedText FT_SELECTOR
45cdf0e10cSrcweir    {
46cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 4 ) ;
47cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 10 ) ;
48cdf0e10cSrcweir        Hide = TRUE ;
49cdf0e10cSrcweir        LeftLabel = TRUE ;
50cdf0e10cSrcweir        Text [ en-US ] = "A~s" ;
51cdf0e10cSrcweir    };
52cdf0e10cSrcweir    ListBox LB_SELECTOR
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR" ;
55cdf0e10cSrcweir        Hide = TRUE ;
56cdf0e10cSrcweir        Border = TRUE ;
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( 33, 3 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( 82, 48 ) ;
59cdf0e10cSrcweir        DropDown = TRUE ;
60cdf0e10cSrcweir        StringList [ en-US ] =
61cdf0e10cSrcweir        {
62cdf0e10cSrcweir            < "Color" ; Default ;   > ;
63cdf0e10cSrcweir            < "Graphic" ; Default ; > ;
64cdf0e10cSrcweir        };
65cdf0e10cSrcweir    };
66cdf0e10cSrcweir    FixedText FT_TBL_DESC
67cdf0e10cSrcweir    {
68cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145, 5 ) ;
69cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 10 ) ;
70cdf0e10cSrcweir        Hide = TRUE ;
71cdf0e10cSrcweir        LeftLabel = TRUE ;
72cdf0e10cSrcweir        Text [ en-US ] = "F~or" ;
73cdf0e10cSrcweir    };
74cdf0e10cSrcweir    ListBox LB_TBL_BOX
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX" ;
77cdf0e10cSrcweir        Hide = TRUE ;
78cdf0e10cSrcweir        Border = TRUE ;
79cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 3 ) ;
80cdf0e10cSrcweir        Size = MAP_APPFONT ( 82, 48 ) ;
81cdf0e10cSrcweir        DropDown = TRUE ;
82cdf0e10cSrcweir        StringList [ en-US ] =
83cdf0e10cSrcweir        {
84cdf0e10cSrcweir            < "Cell" ;  > ;
85cdf0e10cSrcweir            < "Row" ;   > ;
86cdf0e10cSrcweir            < "Table" ; > ;
87cdf0e10cSrcweir        };
88cdf0e10cSrcweir    };
89cdf0e10cSrcweir    ListBox LB_PARA_BOX
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX" ;
92cdf0e10cSrcweir        Hide = TRUE ;
93cdf0e10cSrcweir        Border = TRUE ;
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 3 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 82, 48 ) ;
96cdf0e10cSrcweir        DropDown = TRUE ;
97cdf0e10cSrcweir        StringList [ en-US ] =
98cdf0e10cSrcweir        {
99cdf0e10cSrcweir            < "Paragraph" ; > ;
100cdf0e10cSrcweir            < "Character" ; > ;
101cdf0e10cSrcweir        };
102cdf0e10cSrcweir    };
103*9cd2463eSmseidel    // Background-Brush ----------------------------------------------------
104cdf0e10cSrcweir    Control CT_BORDER
105cdf0e10cSrcweir    {
106cdf0e10cSrcweir        Border = TRUE ;
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 32 ) ;
108cdf0e10cSrcweir        Size = MAP_APPFONT ( 116+2, 145+2 ) ;
109cdf0e10cSrcweir        DialogControl = TRUE ;
110cdf0e10cSrcweir    };
111cdf0e10cSrcweir    Control SET_BGDCOLOR
112cdf0e10cSrcweir    {
113cdf0e10cSrcweir        HelpId = HID_BACKGROUND_CTL_BGDCOLORSET ;
114cdf0e10cSrcweir        Hide = TRUE ;
115cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, 0 ) ;
116cdf0e10cSrcweir        Size = MAP_APPFONT ( 116, 145 ) ;
117cdf0e10cSrcweir        TabStop = TRUE ;
118cdf0e10cSrcweir    };
119cdf0e10cSrcweir    FixedLine GB_BGDCOLOR
120cdf0e10cSrcweir    {
121cdf0e10cSrcweir        Hide = TRUE ;
122cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 21 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8) ;
124cdf0e10cSrcweir        Text [ en-US ] = "Background color" ;
125cdf0e10cSrcweir    };
126cdf0e10cSrcweir    Window WIN_PREVIEW1
127cdf0e10cSrcweir    {
128cdf0e10cSrcweir        Hide = TRUE ;
129cdf0e10cSrcweir        Border = TRUE ;
130cdf0e10cSrcweir        Pos = MAP_APPFONT ( 166, 34 ) ;
131cdf0e10cSrcweir        Size = MAP_APPFONT ( 82, 40 ) ;
132cdf0e10cSrcweir    };
133cdf0e10cSrcweir    FixedText FT_COL_TRANS
134cdf0e10cSrcweir    {
135cdf0e10cSrcweir        Hide = TRUE ;
136cdf0e10cSrcweir        Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
137cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 8) ;
138cdf0e10cSrcweir        Text [ en-US ] = "~Transparency" ;
139cdf0e10cSrcweir    };
140cdf0e10cSrcweir    MetricField MF_COL_TRANS
141cdf0e10cSrcweir    {
142cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS" ;
143cdf0e10cSrcweir        Hide = TRUE ;
144cdf0e10cSrcweir        Pos = MAP_APPFONT ( 218, 74 + RSC_SP_CTRL_Y ) ;
145cdf0e10cSrcweir        Size = MAP_APPFONT ( 30, 12) ;
146cdf0e10cSrcweir        Border = TRUE ;
147cdf0e10cSrcweir        Group = TRUE ;
148cdf0e10cSrcweir        Left = TRUE ;
149cdf0e10cSrcweir        Repeat = TRUE ;
150cdf0e10cSrcweir        Spin = TRUE ;
1517ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
152cdf0e10cSrcweir        SpinSize = 5 ;
153cdf0e10cSrcweir        Minimum = 0 ;
154cdf0e10cSrcweir        Maximum = 100 ;
155cdf0e10cSrcweir    };
156cdf0e10cSrcweir
157*9cd2463eSmseidel    // Background-Bitmap ----------------------------------------------------
158cdf0e10cSrcweir    FixedLine GB_FILE
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        Hide = TRUE ;
161cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 23 ) ;
162cdf0e10cSrcweir        Size = MAP_APPFONT ( 153, 8 ) ;
163cdf0e10cSrcweir        Text [ en-US ] = "File" ;
164cdf0e10cSrcweir    };
165cdf0e10cSrcweir    PushButton BTN_BROWSE
166cdf0e10cSrcweir    {
167cdf0e10cSrcweir        HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE" ;
168cdf0e10cSrcweir        Hide = TRUE ;
169cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT, 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
170cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 14 ) ;
171cdf0e10cSrcweir        Text [ en-US ] = "~Browse..." ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir    CheckBox BTN_LINK
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK" ;
176cdf0e10cSrcweir        Hide = TRUE ;
177cdf0e10cSrcweir        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 ) ;
178cdf0e10cSrcweir        Size = MAP_APPFONT ( 78, 10 ) ;
179cdf0e10cSrcweir        Text [ en-US ] = "~Link" ;
180cdf0e10cSrcweir    };
181cdf0e10cSrcweir    FixedText FT_FILE
182cdf0e10cSrcweir    {
183cdf0e10cSrcweir        Hide = TRUE ;
184cdf0e10cSrcweir        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 ) ;
185cdf0e10cSrcweir        Size = MAP_APPFONT ( 141, 8 ) ;
186cdf0e10cSrcweir        UNLINKED_IMAGE
187cdf0e10cSrcweir    };
188cdf0e10cSrcweir    FixedLine GB_POSITION
189cdf0e10cSrcweir    {
190cdf0e10cSrcweir        Hide = TRUE ;
191cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 78 ) ;
192cdf0e10cSrcweir        Size = MAP_APPFONT ( 153, 8 ) ;
193cdf0e10cSrcweir        Text [ en-US ] = "Type" ;
194cdf0e10cSrcweir    };
195cdf0e10cSrcweir    RadioButton BTN_POSITION
196cdf0e10cSrcweir    {
197cdf0e10cSrcweir        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION" ;
198cdf0e10cSrcweir        Hide = TRUE ;
199cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 89 ) ;
200cdf0e10cSrcweir        Size = MAP_APPFONT ( 49, 10 ) ;
201cdf0e10cSrcweir        Text [ en-US ] = "~Position" ;
202cdf0e10cSrcweir    };
203cdf0e10cSrcweir    RadioButton BTN_AREA
204cdf0e10cSrcweir    {
205cdf0e10cSrcweir        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA" ;
206cdf0e10cSrcweir        Hide = TRUE ;
207cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 103 ) ;
208cdf0e10cSrcweir        Size = MAP_APPFONT ( 49, 10 ) ;
209cdf0e10cSrcweir        Text [ en-US ] = "Ar~ea" ;
210cdf0e10cSrcweir    };
211cdf0e10cSrcweir    RadioButton BTN_TILE
212cdf0e10cSrcweir    {
213cdf0e10cSrcweir        HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE" ;
214cdf0e10cSrcweir        Hide = TRUE ;
215cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 117 ) ;
216cdf0e10cSrcweir        Size = MAP_APPFONT ( 49, 10 ) ;
217cdf0e10cSrcweir        Text [ en-US ] = "~Tile" ;
218cdf0e10cSrcweir    };
219cdf0e10cSrcweir    Control WND_POSITION
220cdf0e10cSrcweir    {
221cdf0e10cSrcweir        HelpId = HID_BACKGROUND_CTL_POSITION ;
222cdf0e10cSrcweir        Hide = TRUE ;
223cdf0e10cSrcweir        Border = TRUE ;
224cdf0e10cSrcweir        Pos = MAP_APPFONT ( 64, 89 ) ;
225cdf0e10cSrcweir        Size = MAP_APPFONT ( 90, 87 ) ;
226cdf0e10cSrcweir        TabStop = TRUE ;
227cdf0e10cSrcweir    };
228cdf0e10cSrcweir    FixedLine FL_GRAPH_TRANS
229cdf0e10cSrcweir    {
230cdf0e10cSrcweir        Hide = TRUE ;
231cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 157 ) ;
232cdf0e10cSrcweir        Size = MAP_APPFONT ( 153, 8) ;
233cdf0e10cSrcweir        Text [ en-US ] = "Transparency" ;
234cdf0e10cSrcweir    };
235cdf0e10cSrcweir    MetricField MF_GRAPH_TRANS
236cdf0e10cSrcweir    {
237cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS" ;
238cdf0e10cSrcweir        Hide = TRUE ;
239cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 168 ) ;
240cdf0e10cSrcweir        Size = MAP_APPFONT ( 30, 12) ;
241cdf0e10cSrcweir        Border = TRUE ;
242cdf0e10cSrcweir        Group = TRUE ;
243cdf0e10cSrcweir        Left = TRUE ;
244cdf0e10cSrcweir        Repeat = TRUE ;
245cdf0e10cSrcweir        Spin = TRUE ;
2467ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
247cdf0e10cSrcweir        SpinSize = 5 ;
248cdf0e10cSrcweir        Minimum = 0 ;
249cdf0e10cSrcweir        Maximum = 100 ;
250cdf0e10cSrcweir    };
251cdf0e10cSrcweir    Window WIN_PREVIEW2
252cdf0e10cSrcweir    {
253cdf0e10cSrcweir        Hide = TRUE ;
254cdf0e10cSrcweir        Border = TRUE ;
255cdf0e10cSrcweir        Pos = MAP_APPFONT ( 170, 23 + 4 ) ;
256cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 139 ) ;
257cdf0e10cSrcweir    };
258cdf0e10cSrcweir    CheckBox BTN_PREVIEW
259cdf0e10cSrcweir    {
260cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW" ;
261cdf0e10cSrcweir        Pos = MAP_APPFONT ( 170, 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
262cdf0e10cSrcweir        Size = MAP_APPFONT ( 141, 10 ) ;
263cdf0e10cSrcweir        Text [ en-US ] = "Pre~view" ;
264cdf0e10cSrcweir    };
265cdf0e10cSrcweir    String STR_BROWSE
266cdf0e10cSrcweir    {
267cdf0e10cSrcweir        Text [ en-US ] = "Find graphics" ;
268cdf0e10cSrcweir    };
269cdf0e10cSrcweir    String STR_UNLINKED
270cdf0e10cSrcweir    {
271cdf0e10cSrcweir        UNLINKED_IMAGE
272cdf0e10cSrcweir    };
273cdf0e10cSrcweir};
274*9cd2463eSmseidel
275cdf0e10cSrcweir// ********************************************************************** EOF
276