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