1*09a1d057SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*09a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*09a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*09a1d057SAndrew Rist * distributed with this work for additional information 6*09a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*09a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*09a1d057SAndrew Rist * "License"); you may not use this file except in compliance 9*09a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 10*09a1d057SAndrew Rist * 11*09a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*09a1d057SAndrew Rist * 13*09a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*09a1d057SAndrew Rist * software distributed under the License is distributed on an 15*09a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*09a1d057SAndrew Rist * KIND, either express or implied. See the License for the 17*09a1d057SAndrew Rist * specific language governing permissions and limitations 18*09a1d057SAndrew Rist * under the License. 19*09a1d057SAndrew Rist * 20*09a1d057SAndrew Rist *************************************************************/ 21*09a1d057SAndrew Rist 22*09a1d057SAndrew Rist 23cdf0e10cSrcweir // include ------------------------------------------------------------------ 24cdf0e10cSrcweir#include <svx/dialogs.hrc> 25cdf0e10cSrcweir#include "hyprlink.hrc" 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir#include <svx/svxids.hrc> 28cdf0e10cSrcweir 29cdf0e10cSrcweir // pragma ------------------------------------------------------------------- 30cdf0e10cSrcweir 31cdf0e10cSrcweir // RID_SVXDLG_HYPERLINK ------------------------------------------------------ 32cdf0e10cSrcweirToolBox RID_SVXDLG_HYPERLINK 33cdf0e10cSrcweir{ 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir Hide = TRUE; 36cdf0e10cSrcweir 37cdf0e10cSrcweir // Dockable = TRUE ; 38cdf0e10cSrcweir // Closeable = TRUE ; 39cdf0e10cSrcweir // Moveable = TRUE ; 40cdf0e10cSrcweir // Sizeable = TRUE ; 41cdf0e10cSrcweir // EnableResizing = TRUE ; 42cdf0e10cSrcweir 43cdf0e10cSrcweir SVLook = TRUE ; 44cdf0e10cSrcweir Border = TRUE ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 410 , 17 ) ; 46cdf0e10cSrcweir Scroll = TRUE ; 47cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_DLG ; 48cdf0e10cSrcweir 49cdf0e10cSrcweir Text [ en-US ] = "Insert Hyperlink" ; 50cdf0e10cSrcweir 51cdf0e10cSrcweir ComboBox CB_NAME 52cdf0e10cSrcweir { 53cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_NAME ; 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 2 , 3 ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 60 ) ; 56cdf0e10cSrcweir TabStop = TRUE ; 57cdf0e10cSrcweir DropDown = TRUE ; 58cdf0e10cSrcweir AutoSize = TRUE ; 59cdf0e10cSrcweir AutoHScroll = TRUE ; 60cdf0e10cSrcweir DDExtraWidth = TRUE ; 61cdf0e10cSrcweir QuickHelpText [ en-US ] = "URL Name" ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir FixedText FT_URL 64cdf0e10cSrcweir { 65cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_URL_TXT ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 5 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 16 , 10 ) ; 68cdf0e10cSrcweir Text [ en-US ] = "URL:" ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir ComboBox CB_URL 71cdf0e10cSrcweir { 72cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_URL ; 73cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 3 ) ; 74cdf0e10cSrcweir Size = MAP_APPFONT ( 204 , 60 ) ; 75cdf0e10cSrcweir TabStop = TRUE ; 76cdf0e10cSrcweir DropDown = TRUE ; 77cdf0e10cSrcweir AutoSize = TRUE ; 78cdf0e10cSrcweir AutoHScroll = TRUE ; 79cdf0e10cSrcweir DDExtraWidth = TRUE ; 80cdf0e10cSrcweir QuickHelpText [ en-US ] = "Internet URLs" ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir ItemList = 83cdf0e10cSrcweir { 84cdf0e10cSrcweir ToolBoxItem 85cdf0e10cSrcweir { 86cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_TARGET ; 87cdf0e10cSrcweir Identifier = BTN_TARGET ; 88cdf0e10cSrcweir DropDown = TRUE ; 89cdf0e10cSrcweir Text [ en-US ] = "Target Frame" ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir ToolBoxItem 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir ToolBoxItem 96cdf0e10cSrcweir { 97cdf0e10cSrcweir HelpID = CMD_SID_HYPERLINK_SETLINK ; 98cdf0e10cSrcweir Identifier = BTN_LINK ; 99cdf0e10cSrcweir Disable = TRUE ; 100cdf0e10cSrcweir DropDown = TRUE ; 101cdf0e10cSrcweir Text [ en-US ] = "Hyperlink" ; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir ToolBoxItem 104cdf0e10cSrcweir { 105cdf0e10cSrcweir HelpID = CMD_SID_CREATELINK ; 106cdf0e10cSrcweir Identifier = BTN_INSERT_BOOKMARK ; 107cdf0e10cSrcweir Disable = TRUE ; 108cdf0e10cSrcweir Hide = TRUE; 109cdf0e10cSrcweir Text [ en-US ] = "Link" ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir ToolBoxItem 112cdf0e10cSrcweir { 113cdf0e10cSrcweir HelpID = HID_OFA_HYPERLINK_SEARCH ; 114cdf0e10cSrcweir Identifier = BTN_INET_SEARCH ; 115cdf0e10cSrcweir Disable = TRUE ; 116cdf0e10cSrcweir DropDown = TRUE ; 117cdf0e10cSrcweir Text [ en-US ] = "Find" ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir String STR_ADDRESS 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Text [ en-US ] = "Address Book" ; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir String STR_EXPLORER 125cdf0e10cSrcweir { 126cdf0e10cSrcweir Text [ en-US ] = "Bookmark folder" ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir String STR_BOOKMARK_SEARCH 129cdf0e10cSrcweir { 130cdf0e10cSrcweir Text [ en-US ] = "Search in bookmarks"; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir}; 133cdf0e10cSrcweir // PopupMenu ------------------------------------------------------------- 134cdf0e10cSrcweirMenu RID_SVXMN_HYPERLINK 135cdf0e10cSrcweir{ 136cdf0e10cSrcweir ItemList = 137cdf0e10cSrcweir { 138cdf0e10cSrcweir MenuItem 139cdf0e10cSrcweir { 140cdf0e10cSrcweir Identifier = MN_FIELD ; 141cdf0e10cSrcweir Text [ en-US ] = "As Text" ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir MenuItem 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Identifier = MN_BUTTON ; 146cdf0e10cSrcweir Text [ en-US ] = "As Button" ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir}; 150cdf0e10cSrcweirQueryBox RID_SVXQB_DONTEXIST 151cdf0e10cSrcweir{ 152cdf0e10cSrcweir BUTTONS = WB_YES_NO ; 153cdf0e10cSrcweir DEFBUTTON = WB_DEF_YES ; 154cdf0e10cSrcweir Message [ en-US ] = "This URL does not exist.\nInsert anyway?" ; 155cdf0e10cSrcweir}; 156cdf0e10cSrcweir 157cdf0e10cSrcweir 158cdf0e10cSrcweir 159cdf0e10cSrcweir 160cdf0e10cSrcweir 161cdf0e10cSrcweir 162cdf0e10cSrcweir 163cdf0e10cSrcweir 164