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 <svx/dialogs.hrc> 29*cdf0e10cSrcweir#include "hyprlink.hrc" 30*cdf0e10cSrcweir#include "helpid.hrc" 31*cdf0e10cSrcweir#include <svx/svxids.hrc> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir // pragma ------------------------------------------------------------------- 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir // RID_SVXDLG_HYPERLINK ------------------------------------------------------ 36*cdf0e10cSrcweirToolBox RID_SVXDLG_HYPERLINK 37*cdf0e10cSrcweir{ 38*cdf0e10cSrcweir OutputSize = TRUE ; 39*cdf0e10cSrcweir Hide = TRUE; 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir // Dockable = TRUE ; 42*cdf0e10cSrcweir // Closeable = TRUE ; 43*cdf0e10cSrcweir // Moveable = TRUE ; 44*cdf0e10cSrcweir // Sizeable = TRUE ; 45*cdf0e10cSrcweir // EnableResizing = TRUE ; 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir SVLook = TRUE ; 48*cdf0e10cSrcweir Border = TRUE ; 49*cdf0e10cSrcweir Size = MAP_APPFONT ( 410 , 17 ) ; 50*cdf0e10cSrcweir Scroll = TRUE ; 51*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_DLG ; 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir Text [ en-US ] = "Insert Hyperlink" ; 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir ComboBox CB_NAME 56*cdf0e10cSrcweir { 57*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_NAME ; 58*cdf0e10cSrcweir Pos = MAP_APPFONT ( 2 , 3 ) ; 59*cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 60 ) ; 60*cdf0e10cSrcweir TabStop = TRUE ; 61*cdf0e10cSrcweir DropDown = TRUE ; 62*cdf0e10cSrcweir AutoSize = TRUE ; 63*cdf0e10cSrcweir AutoHScroll = TRUE ; 64*cdf0e10cSrcweir DDExtraWidth = TRUE ; 65*cdf0e10cSrcweir QuickHelpText [ en-US ] = "URL Name" ; 66*cdf0e10cSrcweir }; 67*cdf0e10cSrcweir FixedText FT_URL 68*cdf0e10cSrcweir { 69*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_URL_TXT ; 70*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 5 ) ; 71*cdf0e10cSrcweir Size = MAP_APPFONT ( 16 , 10 ) ; 72*cdf0e10cSrcweir Text [ en-US ] = "URL:" ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir ComboBox CB_URL 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_URL ; 77*cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 3 ) ; 78*cdf0e10cSrcweir Size = MAP_APPFONT ( 204 , 60 ) ; 79*cdf0e10cSrcweir TabStop = TRUE ; 80*cdf0e10cSrcweir DropDown = TRUE ; 81*cdf0e10cSrcweir AutoSize = TRUE ; 82*cdf0e10cSrcweir AutoHScroll = TRUE ; 83*cdf0e10cSrcweir DDExtraWidth = TRUE ; 84*cdf0e10cSrcweir QuickHelpText [ en-US ] = "Internet URLs" ; 85*cdf0e10cSrcweir }; 86*cdf0e10cSrcweir ItemList = 87*cdf0e10cSrcweir { 88*cdf0e10cSrcweir ToolBoxItem 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_TARGET ; 91*cdf0e10cSrcweir Identifier = BTN_TARGET ; 92*cdf0e10cSrcweir DropDown = TRUE ; 93*cdf0e10cSrcweir Text [ en-US ] = "Target Frame" ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir ToolBoxItem 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir ToolBoxItem 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir HelpID = CMD_SID_HYPERLINK_SETLINK ; 102*cdf0e10cSrcweir Identifier = BTN_LINK ; 103*cdf0e10cSrcweir Disable = TRUE ; 104*cdf0e10cSrcweir DropDown = TRUE ; 105*cdf0e10cSrcweir Text [ en-US ] = "Hyperlink" ; 106*cdf0e10cSrcweir }; 107*cdf0e10cSrcweir ToolBoxItem 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir HelpID = CMD_SID_CREATELINK ; 110*cdf0e10cSrcweir Identifier = BTN_INSERT_BOOKMARK ; 111*cdf0e10cSrcweir Disable = TRUE ; 112*cdf0e10cSrcweir Hide = TRUE; 113*cdf0e10cSrcweir Text [ en-US ] = "Link" ; 114*cdf0e10cSrcweir }; 115*cdf0e10cSrcweir ToolBoxItem 116*cdf0e10cSrcweir { 117*cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_SEARCH ; 118*cdf0e10cSrcweir Identifier = BTN_INET_SEARCH ; 119*cdf0e10cSrcweir Disable = TRUE ; 120*cdf0e10cSrcweir DropDown = TRUE ; 121*cdf0e10cSrcweir Text [ en-US ] = "Find" ; 122*cdf0e10cSrcweir }; 123*cdf0e10cSrcweir }; 124*cdf0e10cSrcweir String STR_ADDRESS 125*cdf0e10cSrcweir { 126*cdf0e10cSrcweir Text [ en-US ] = "Address Book" ; 127*cdf0e10cSrcweir }; 128*cdf0e10cSrcweir String STR_EXPLORER 129*cdf0e10cSrcweir { 130*cdf0e10cSrcweir Text [ en-US ] = "Bookmark folder" ; 131*cdf0e10cSrcweir }; 132*cdf0e10cSrcweir String STR_BOOKMARK_SEARCH 133*cdf0e10cSrcweir { 134*cdf0e10cSrcweir Text [ en-US ] = "Search in bookmarks"; 135*cdf0e10cSrcweir }; 136*cdf0e10cSrcweir}; 137*cdf0e10cSrcweir // PopupMenu ------------------------------------------------------------- 138*cdf0e10cSrcweirMenu RID_SVXMN_HYPERLINK 139*cdf0e10cSrcweir{ 140*cdf0e10cSrcweir ItemList = 141*cdf0e10cSrcweir { 142*cdf0e10cSrcweir MenuItem 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir Identifier = MN_FIELD ; 145*cdf0e10cSrcweir Text [ en-US ] = "As Text" ; 146*cdf0e10cSrcweir }; 147*cdf0e10cSrcweir MenuItem 148*cdf0e10cSrcweir { 149*cdf0e10cSrcweir Identifier = MN_BUTTON ; 150*cdf0e10cSrcweir Text [ en-US ] = "As Button" ; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir }; 153*cdf0e10cSrcweir}; 154*cdf0e10cSrcweirQueryBox RID_SVXQB_DONTEXIST 155*cdf0e10cSrcweir{ 156*cdf0e10cSrcweir BUTTONS = WB_YES_NO ; 157*cdf0e10cSrcweir DEFBUTTON = WB_DEF_YES ; 158*cdf0e10cSrcweir Message [ en-US ] = "This URL does not exist.\nInsert anyway?" ; 159*cdf0e10cSrcweir}; 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir 168