Calc:超链接和网址
出自OOo 中文指南手册翻译
目录 |
超链接可以用在所创建的电子表格将用于网络界面的Calc文档或跳转到一个电子表格内的不同位置。本节包括插入、编辑、删除和使用超链接。 Hyperlinks can be used in Calc to create spreadsheets that will be used in a web interface or to jump to a different location from within a spreadsheet. This section covers inserting, editing, removing, and using hyperlinks. (1)
[编辑] 创建超链接 Creating hyperlinks (2)
当您输入可以用来作为超链接的文本(如网站的地址或URL),OOo自动将其格式化,创建超链接和对相应的文字应用颜色和下划线。如果OOo没有这样做,你可以使用工具 > 自动更正 > 选项并选择网址识别复选框启用此功能。 When you type text (such as a website addresses or URL) that can be used as a hyperlink, OOo formats it automatically, creating the hyperlink and applying to the text a color and underlining. If this does not happen, you can enable this feature using Tools > AutoCorrect > Options and selecting URL Recognition. (3)
您也还可以使用超链接对话框来插入和修改链接。要显示该对话框,常用工具栏上的单击超链接图标
,或者从菜单栏选择插入 > 超链接。要将现有的文本转变成链接,突出显示它然后打开超链接对话框前。You can also insert and modify links using the Hyperlink dialog. To display the dialog, click the Hyperlink icon
on the Standard toolbar or select Insert > Hyperlink from the menu bar. To turn existing text into a link, highlight it before opening the Hyperlink dialog. (7)
在左边,选择四种超链接类型之一: On the left hand side, select one of the four types of hyperlinks: (8)
- 互联网:一个网址,通常以http://开始 Internet: a web address, normally starting with http:// (9)
- 邮件和新闻:例如一个电子邮件地址。 Mail & News: for example an email address. (10)
- 文件:超链接指向另一个文档或演示文稿中的另一个地方。 Document: the hyperlink points to another document or to another place in the presentation. (11)
- 新文档:超链接创建一个新文档。 New document: the hyperlink creates a new document. (12)
根据选择的超链接类型,对话框右上部分随之变化。所有选项的完整说明,及其相互作用,超出了本章的范围。下面是在演示文稿中最常用选项的总结。 The top right part of the dialog changes according to the choice made for the hyperlink type. A full description of all the choices, and their interactions, is beyond the scope of this chapter. Here is a summary of the most common choices used in presentations. (14)
对于互联网类型的超链接,选择链接类型(在网络、FTP或Telnet之间选择),并输入所需的网址(URL)。 For an Internet type hyperlink, choose the type of hyperlink (choose between Web, FTP or Telnet), and enter the required web address (URL). (15)
对于邮件和新闻型超链接,说明它是邮件或新闻链接,接收地址,以及电子邮件的主题。 For a Mail and News type hyperlink, specify whether it is a mail or news link, the receiver address and for email, also the subject. (16)
对于一个文件类型的超链接,指定文档的路径(打开文件按钮,打开一个文件浏览器);如果你想链接到同一演示文稿中的目标,此处保留空白。可选择指定文档中的目标(例如一个特定的幻灯片)。点击目标图标,打开导航,从中您可以选择目标,或者如果您知道目标的名称,您可以将其键入到框中。For a Document type hyperlink, specify the document path (the Open File button opens a file browser); leave this blank if you want to link to a target in the same presentation. Optionally specify the target in the document (for example a specific slide). Click on the Target icon to open the Navigator where you can select the target, or if you know the name of the target, you can type it into the box. (17)
对于新文档类型的链接,指定是否立即编辑它创建新文档或者只是创建它(稍后编辑)和要创建的文档类型(文本、电子表格等)。对于演示文稿,现在编辑是更可能的选择。 选择路径按钮,打开一个目录选择器。 For a New Document type hyperlink, specify whether to edit the newly created document immediately or just create it (Edit later) and the type of document to create (text, spreadsheet, etc.). For a presentation, Edit now is the more likely choice. The Select path button opens a directory picker. (18)
在对话框右下角部分的更多设置是所有超链接类型共同的部分,但有些选择与某些类型的链接更为相关。The Further settings section in the bottom right part of the dialog is common to all the hyperlink types, although some choices are more relevant to some types of links. (19)
- 设置框架的值,以确定链接将如何打开。这适用于在Web浏览器打开的文档。 Set the value of Frame to determine how the hyperlink will open. This applies to documents that open in a Web browser. (20)
- 方式指定链接是以文本还是按钮显示呈现。下图显示为一个按钮格式的链接。 Form specifies if the link is to be presented as text or as a button. The figure below shows a link formatted as a button. (21)
- 提示文字指定显示给用户的文本。 Text specifies the text that will be visible to the user. (23)
- 事件按钮:此按钮激活,以允许OOo对用户写的一些代码(宏)的事件做出反应。此功能不包括在这本书中。 Event button: this button will be activated to allow OOo to react to events for which the user has written some code (macro). This function is not covered in this book. (25)
[编辑] 编辑超链接 Editing hyperlinks (28)
要编辑现有的链接,将光标放在链接中的任何地方,然后点击编辑 > 超链接。超链接对话框打开。进行更改,然后点击应用。如果你需要编辑多个超链接,可以让超链接对话框打开着,直到您已经编辑了所有的链接。请务必在每次编辑后点击应用。当您完成后,点击关闭。 To edit an existing link, place the cursor anywhere in the link and click Edit > Hyperlink. The Hyperlink dialog opens. Make your changes and click Apply. If you need to edit several hyperlinks, you can leave the Hyperlink dialog open until you have edited all of them. Be sure to click Apply after each one. When you are finished, click Close. (29)
OOo 3中标准(默认)的激活超链接的操作方式是使用Ctrl + 单击。此操作方式可以改变,通过工具 > 选项 > OpenOffice.org > 安全 > 选项,取消选择需要按住Ctrl键并点击以进入超链接。如果你点击链接时激活了它们,请检查该页面,看看选项是否已被取消选择。 The standard (default) behavior for activating hyperlinks in OOo 3 is to use Ctrl+click. This behavior can be changed in Tools > Options > OpenOffice.org > Security > Options, by deselecting the option Ctrl+click required to follow hyperlinks. If clicking in your links activates them, check that page to see if the option has been deselected. (30)
[编辑] 删除超链接 Removing hyperlinks (31)
要删除一个超链接,选中它并按删除键。如果它是一个文本链接,删除对话框打开。 To remove a hyperlink, select it and press the Delete key. The Delete dialog opens if it is a text hyperlink. (32)
[编辑] 相对和绝对超链接 Relative and absolute hyperlinks (33)
超链接可以保存为绝对或相对路径。一个绝对超链接是说,“这里是如何从这个已知的起点到达那里”,而相对超链接是说,“这是如何从你现在所处位置出发到达那里”。 Hyperlinks can be saved as either absolute or relative. An absolute hyperlink says, “Here is how to get there from this known starting point” and a relative hyperlink says, “Here is how to get there starting from where you are now”. (34)
要改变OOo保存超链接的方式,选择工具 > 选项 > 装入/保存 > 一般,并选择,如果你想相对于文档系统、互联网、或者两者兼而有之来保存网址。 To change the way that OOo saves the hyperlinks choose Tools > Options > Load/Save > General and choose if you want URLs saved relative to the File System, to the Internet, or both. (35)
Calc总是显示一个绝对超链接。当你选择了相对超链接时,它会这样做的话,不要惊慌。 Calc always displays an absolute hyperlink. Don’t be alarmed when it does this when you have chosen a relative hyperlink. (36)
如果你有一个相对超链接,您在您的计算机上移动了文档(该文档和任何链接的文档),只要你保持相同的目录结构,你应该不需要重建超链接。例如,如果您有互相关联的两个电子表格,在同一个文件夹中,将整个文件夹移动到新的位置,其中的链接不会破坏。这仅仅是在文档的相对位置不改变的情况下才有效。 If you have a relative hyperlink and you move files (the document and any linked files) on your computer, you shouldn’t have to remake your hyperlink as long as you maintain the same directory structure. For instance, if you have two spreadsheets in the same folder linked to each other and you move the entire folder to a new location, the hyperlink will not break. This is only true as long as the files’ locations relative to each other do not change. (37)
在下面的例子中,链接文档的路径是Ḏ:\我的文档。这是因为两个工作表文件都在该文件夹中。 In the example below, the path is D:\My Documents for the linked file. That is because the folder both sheets are in is in that directory. (38)
如果我们将文件夹移到H:\驱动器,Calc文档中的链接会自动更新,因为我们并没有改变这些文档的相对位置。这两个文档都仍然在使用多个工作表的文件夹中。 If we move that folder to the H:\ drive, the links in Calc will automatically update because we have not changed the location of the files relative to each other. Both files are still in the working with multiple sheets folder. (40)
此外,请注意,在这个例子中,即使是相对的超链接,显示的路径是绝对路径。 Again, note that in the examples, the path is displayed as absolute even though it is relative. (44)
[编辑] 进度表
| Calc:超链接和网址 中文化进度 | 翻译 | 100% | 校对 | 0 | 插图 | / | 上次编辑 | 20100314224313 | 编者 | PingjuOOo |


