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