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