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