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