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