xref: /trunk/main/svx/source/dialog/imapdlg.src (revision 872b2513907e4389be70e2d9b563f47e0d2c5a9f)
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 "helpid.hrc"
26#include "imapdlg.hrc"
27// pragma ----------------------------------------------------------------
28
29// RID_SVXDLG_IMAP ----------------------------------------------------
30ModelessDialog RID_SVXDLG_IMAP
31{
32    HelpID = "svx:ModelessDialog:RID_SVXDLG_IMAP" ;
33    OutputSize = TRUE ;
34    Hide = TRUE ;
35    SVLook = TRUE ;
36    Pos = MAP_APPFONT ( 0, 0 ) ;
37    Size = MAP_APPFONT ( 270, 213 ) ;
38    Sizeable = TRUE ;
39    Moveable = TRUE ;
40    Closeable = TRUE ;
41    ToolBox TBX_IMAPDLG1
42    {
43        SVLook = TRUE ;
44        Pos = MAP_APPFONT ( 6, 6 ) ;
45        HelpId = HID_IMAPDLG_TOOLBOX ;
46
47        ItemList =
48        {
49            ToolBoxItem
50            {
51                Identifier = TBI_APPLY ;
52                HelpId = HID_IMAPDLG_APPLY ;
53                Text [ en-US ] = "Apply" ;
54            };
55            ToolBoxItem
56            {
57                Identifier = TBI_OPEN ;
58                HelpId = HID_IMAPDLG_OPEN ;
59                Text [ en-US ] = "Open..." ;
60            };
61            ToolBoxItem
62            {
63                Identifier = TBI_SAVEAS ;
64                HelpId = HID_IMAPDLG_SAVEAS ;
65
66                Text [ en-US ] = "Save..." ;
67            };
68            ToolBoxItem
69            {
70                Type = TOOLBOXITEM_SEPARATOR ;
71            };
72            ToolBoxItem
73            {
74                Identifier = TBI_SELECT ;
75                HelpId = HID_IMAPDLG_SELECT ;
76                RadioCheck = TRUE ;
77                AutoCheck = TRUE ;
78                Text [ en-US ] = "Select" ;
79            };
80            ToolBoxItem
81            {
82                Identifier = TBI_RECT ;
83                HelpId = HID_IMAPDLG_RECT ;
84                RadioCheck = TRUE ;
85                AutoCheck = TRUE ;
86                Text [ en-US ] = "Rectangle" ;
87            };
88            ToolBoxItem
89            {
90                Identifier = TBI_CIRCLE ;
91                HelpId = HID_IMAPDLG_CIRCLE ;
92                RadioCheck = TRUE ;
93                AutoCheck = TRUE ;
94                Text [ en-US ] = "Ellipse" ;
95            };
96            ToolBoxItem
97            {
98                Identifier = TBI_POLY ;
99                HelpId = HID_IMAPDLG_POLY ;
100                RadioCheck = TRUE ;
101                AutoCheck = TRUE ;
102                Text [ en-US ] = "Polygon" ;
103            };
104            ToolBoxItem
105            {
106                Identifier = TBI_FREEPOLY ;
107                HelpId = HID_IMAPDLG_FREEPOLY ;
108                Text [ en-US ] = "Freeform Polygon" ;
109                RadioCheck = TRUE ;
110                AutoCheck = TRUE ;
111            };
112            ToolBoxItem
113            {
114                Type = TOOLBOXITEM_SEPARATOR ;
115            };
116            ToolBoxItem
117            {
118                Identifier = TBI_POLYEDIT ;
119                HelpId = HID_IMAPDLG_POLYEDIT ;
120                Text [ en-US ] = "Edit Points" ;
121                AutoCheck = TRUE ;
122            };
123            ToolBoxItem
124            {
125                Identifier = TBI_POLYMOVE ;
126                HelpId = HID_IMAPDLG_POLYMOVE ;
127                Text [ en-US ] = "Move Points" ;
128                RadioCheck = TRUE ;
129                AutoCheck = TRUE ;
130            };
131            ToolBoxItem
132            {
133                Identifier = TBI_POLYINSERT ;
134                HelpId = HID_IMAPDLG_POLYINSERT ;
135                Text [ en-US ] = "Insert Points" ;
136                RadioCheck = TRUE ;
137                AutoCheck = TRUE ;
138            };
139            ToolBoxItem
140            {
141                Identifier = TBI_POLYDELETE ;
142                HelpId = HID_IMAPDLG_POLYDELETE ;
143                Text [ en-US ] = "Delete Points" ;
144            };
145            ToolBoxItem
146            {
147                Type = TOOLBOXITEM_SEPARATOR ;
148            };
149            ToolBoxItem
150            {
151                Identifier = TBI_UNDO ;
152                HelpId = HID_IMAPDLG_UNDO ;
153                Text [ en-US ] = "Undo " ;
154            };
155            ToolBoxItem
156            {
157                Identifier = TBI_REDO ;
158                HelpId = HID_IMAPDLG_REDO ;
159                Text [ en-US ] = "Redo" ;
160            };
161            ToolBoxItem
162            {
163                Type = TOOLBOXITEM_SEPARATOR ;
164            };
165            ToolBoxItem
166            {
167                Identifier = TBI_ACTIVE ;
168                HelpId = HID_IMAPDLG_ACTIVE ;
169                Text [ en-US ] = "Active" ;
170            };
171            ToolBoxItem
172            {
173                Identifier = TBI_MACRO ;
174                HelpId = HID_IMAPDLG_MACRO ;
175                Text [ en-US ] = "Macro..." ;
176            };
177            ToolBoxItem
178            {
179                Identifier = TBI_PROPERTY ;
180                HelpId = HID_IMAPDLG_PROPERTY ;
181                Text [ en-US ] = "Properties..." ;
182            };
183        };
184    };
185
186    FixedText FT_URL
187    {
188        Pos = MAP_APPFONT ( 6, 25 ) ;
189        Size = MAP_APPFONT ( 30, 12 ) ;
190        Text [ en-US ] = "Address:" ;
191    };
192    ComboBox CBB_URL
193    {
194        HelpID = "svx:ComboBox:RID_SVXDLG_IMAP:CBB_URL" ;
195        Pos = MAP_APPFONT ( 39, 23 ) ;
196        Size = MAP_APPFONT ( 225, 69 ) ;
197        TabStop = TRUE ;
198        DropDown = TRUE ;
199        AutoSize = TRUE ;
200        AutoHScroll = TRUE ;
201    };
202    FixedText FT_TEXT
203    {
204        Pos = MAP_APPFONT ( 6, 43 ) ;
205        Size = MAP_APPFONT ( 30, 12 ) ;
206        Text [ en-US ] = "Text:" ;
207    };
208    Edit EDT_TEXT
209    {
210        HelpID = "svx:Edit:RID_SVXDLG_IMAP:EDT_TEXT" ;
211        Border = TRUE ;
212        SVLook = TRUE ;
213        Pos = MAP_APPFONT ( 39, 41 ) ;
214        Size = MAP_APPFONT ( 143, 12 ) ;
215        TabStop = TRUE ;
216        Left = TRUE ;
217    };
218    Text [ en-US ] = "ImageMap Editor" ;
219
220    FixedText RID_SVXCTL_FT_TARGET
221    {
222        Pos = MAP_APPFONT ( 188, 43 ) ;
223        Size = MAP_APPFONT ( 22, 12 ) ;
224        Text [ en-US ] = "Frame:" ;
225    };
226     // nur temporaer
227    ComboBox RID_SVXCTL_CBB_TARGET
228    {
229        HelpID = "svx:ComboBox:RID_SVXDLG_IMAP:RID_SVXCTL_CBB_TARGET" ;
230        Border = TRUE ;
231        Sort = TRUE ;
232        Pos = MAP_APPFONT ( 213, 41 ) ;
233        Size = MAP_APPFONT ( 51, 50 ) ;
234        TabStop = TRUE ;
235        DropDown = TRUE ;
236        HScroll = TRUE ;
237    };
238
239
240#define IMAPDLG_IDLIST          \
241        IdList =                \
242        {                       \
243            TBI_APPLY ;         \
244            TBI_OPEN ;          \
245            TBI_SAVEAS ;        \
246            TBI_SELECT ;        \
247            TBI_RECT ;          \
248            TBI_CIRCLE ;        \
249            TBI_POLY ;          \
250            TBI_FREEPOLY ;      \
251            TBI_POLYEDIT ;      \
252            TBI_POLYMOVE ;      \
253            TBI_POLYINSERT ;    \
254            TBI_POLYDELETE ;    \
255            TBI_UNDO ;          \
256            TBI_REDO ;          \
257            TBI_ACTIVE ;        \
258            TBI_MACRO ;         \
259            TBI_PROPERTY ;      \
260        };                      \
261        IdCount = { 17 ; };
262
263    ImageList IL_IMAPDLG
264    {
265        Prefix = "id" ;
266        MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
267        IMAPDLG_IDLIST
268    };
269    ImageList ILH_IMAPDLG
270    {
271        Prefix = "idh" ;
272        MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
273        IMAPDLG_IDLIST
274    };
275};
276Control RID_SVXCTL_IMAP
277{
278    Border = TRUE ;
279    SVLook = TRUE ;
280    Pos = MAP_APPFONT ( 6, 56 ) ;
281    HelpId = HID_IMAPDLG_GRAPHWND ;
282};
283
284/******************************************************************************/
285Menu RID_SVXMN_IMAP
286{
287    ItemList =
288    {
289        MenuItem
290        {
291            Identifier = MN_URL ;
292            Text [ en-US ] = "Description..." ;
293        };
294        MenuItem
295        {
296            Identifier = MN_MACRO ;
297            Text [ en-US ] = "~Macro..." ;
298        };
299        MenuItem
300        {
301            Identifier = MN_ACTIVATE ;
302            Text [ en-US ] = "Active" ;
303        };
304        MenuItem
305        {
306            Separator = TRUE ;
307        };
308        MenuItem
309        {
310            Identifier = MN_POSITION ;
311            Text [ en-US ] = "Arrange" ;
312            SubMenu = Menu
313            {
314                ItemList =
315                {
316                    MenuItem
317                    {
318                        Identifier = MN_FRAME_TO_TOP ;
319                        Text [ en-US ] = "Bring to Front" ;
320                    };
321                    MenuItem
322                    {
323                        Identifier = MN_MOREFRONT ;
324                        Text [ en-US ] = "Bring ~Forward" ;
325                    };
326                    MenuItem
327                    {
328                        Identifier = MN_MOREBACK ;
329                        Text [ en-US ] = "Send Back~ward" ;
330                    };
331                    MenuItem
332                    {
333                        Identifier = MN_FRAME_TO_BOTTOM ;
334                        Text [ en-US ] = "~Send to Back" ;
335                    };
336                };
337            };
338        };
339        MenuItem
340        {
341            Separator = TRUE ;
342        };
343        MenuItem
344        {
345            Identifier = MN_MARK_ALL ;
346            Text [ en-US ] = "Select ~All" ;
347        };
348        MenuItem
349        {
350            Identifier = MN_DELETE1 ;
351            Text [ en-US ] = "~Delete" ;
352        };
353    };
354};
355
356/******************************************************************************/
357
358String STR_IMAPDLG_SAVE
359{
360    Text [ en-US ] = "The ImageMap has been modified.\nDo you want to save the changes?" ;
361};
362
363String STR_IMAPDLG_MODIFY
364{
365    Text [ en-US ] = "The ImageMap has been modified.\nDo you want to save the changes?" ;
366};
367
368// ********************************************************************** EOF
369