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