Writer:超鏈接的應用

出自OOo 中文指南手册翻译

跳轉到: 導航, 搜尋

當您輸入可以用來作為超鏈接的文本(如網站的地址或URL),然後鍵入一個空格,OOo自動格式化輸入的URL,創建超鏈接,並對文本應用一種顏色和下劃線。如果沒有象這樣自動格式化,你可以使用工具 > 自動更正 > 選項,選擇網址識別複選框,啟用此功能。 When you type text (such as a website addresses or URL) that can be used as a hyperlink, and then type a space, OOo formats the URL 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 the URL Recognition checkbox. (1)

Image:Tip.png如果你不想OOo將一個特定的URL轉換成超鏈接,在應用格式化后,立即從菜單欄選擇編輯 > 撤消插入、或按Control+Z

要改變超鏈接的顏色,選擇工具 > 選項 > OpenOffice.org > 外觀,滾動到未訪問的鏈接和/或訪問過的鏈接,選擇複選框,選擇新的顏色,然後點擊確定。注意:這將改變在OpenOffice.org所有組成部分中的所有超鏈接的顏色,這可能並不是你想要的。

在Writer和Calc(但不包括Draw或Impress)中,您也可以更改Internet連接字元樣式,或對選定的鏈接定義、並應用新的樣式。


 If you do not want OOo to convert a specific URL to a hyperlink, select Edit > Undo Insert from the menu bar or press Control+Z immediately after the formatting has been applied. (2)

To change the color of hyperlinks, go to Tools > Options > OpenOffice.org > Appearance, scroll to Unvisited links and/or Visited links, select the checkboxes, pick the new colors and click OK. Caution: this will change the color for all hyperlinks in all components of OpenOffice.org—this may not be what you want. (3)

In Writer and Calc (but not Draw or Impress), you can also change the Internet link character style or define and apply new styles to selected links.


[編輯] 插入超鏈接 Inserting hyperlinks (5)

您也可以使用超鏈接對話框,插入和修改鏈接。要顯示此對話框中,點擊常用工具欄上的超鏈接圖標Image:HyperlinkIcon.png ,或者從菜單欄選擇插入 > 超鏈接。要將現有的文本變成超鏈接,在打開超鏈接對話框之前突出顯示之。 You can also insert and modify links using the Hyperlink dialog. To display the dialog, click the Hyperlink icon Image:HyperlinkIcon.png 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. (6)

超鏈接對話框中顯示的互聯網鏈接的詳情。 Hyperlink dialog showing details for Internet links. (7)

在左邊,選擇四種超鏈接類型之一: On the left hand side, select one of the four types of hyperlink: (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. (13)

對於互聯網類型的超鏈接,選擇鏈接類型(在Web、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). (14)

對於郵件和新聞類型的超鏈接,指明是郵件還是新聞鏈接,電子郵件的接收人地址,以及主題。 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. (15)

對於文檔類型的超鏈接,指定文檔路徑(打開文檔按鈕打開一個文檔瀏覽器);如果你想鏈接到同一演示文稿中的一個目標,此處保持空白。作為選項,指定文檔中的目標(例如某一幻燈片)。點擊目標圖標,打開導航,從此您可以選擇目標,或者如果您知道目標的名稱,您可以將其鍵入到框中。 (這一部分原文針對演示文稿,此處應做必要的修改)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. (16)

對於新建文檔類型的超鏈接,選擇是否立即編輯新創建的文檔或者僅僅創建它(以後編輯)和創建文檔的類型(文本、電子錶格等)。對於演示文稿,現在編輯是更可能的選擇。 在選擇路徑按鈕,打開一個目錄選擇器。 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. (17)

在對話框右下角部分的其他設置部分,為所有超鏈接類型所共有,但有些選擇與某些類型的鏈接更為相關。 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. (18)

  • 設置框架的值,以確定鏈接將如何打開。這適用於在Web瀏覽器中打開的文檔。 Set the value of Frame to determine how the hyperlink will open. This applies to documents that open in a Web browser. (19)
  • 方式規定該鏈接是作為文本或按鈕呈現。 Form specifies if the link is to be presented as text or as a button. (20)
  • 提示文字指定將顯示給用戶的文本。 Text specifies the text that will be visible to the user. (21)
  • 名稱適用於HTML文檔。它給出在超鏈接背後的HTML代碼中添加到NAME屬性中的文本。 Name is applicable to HTML documents. It specifies text that will be added as a NAME attribute in the HTML code behind the hyperlink. (22)
  • 事件按鈕:如果用戶寫了一些代碼(宏),此按鈕將被激活,允許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. (23)

[編輯] 編輯超鏈接 Editing hyperlinks (24)

要編輯超鏈接,您可以點擊鏈接文本,或使用箭頭鍵將游標定位在任何鏈接文本中,然後在常用工具欄按一下超鏈接圖標,或從菜單欄中選擇編輯 >超鏈接,打開超鏈接對話框。 (要激活超鏈接,現在需要按住Ctrl鍵,同時點擊鏈接。) To edit a hyperlink, you can either click anywhere in the link text, or position the cursor in the link text using the arrow keys, and then open the Hyperlink dialog by clicking the Hyperlink icon on the Standard toolbar or selecting Edit > Hyperlink from the menu bar. (To activate a hyperlink, it is now necessary to hold down the Ctrl key while clicking on the link.) (25)

要激活超鏈接,即在默認的瀏覽器中打開相應的網址,需要按住Control鍵,同時點擊鏈接。當滑鼠指針懸停于超鏈接文本時,工具提示顯示提醒您按下Control鍵。 To activate a hyperlink, that is, to open the URL in your default browser, it is necessary to hold down the Control key while clicking on the link. A tooltip is displayed reminding you to press the Control key when the mouse pointer hovers over the hyperlink text. (26)

Image:Tip.png如果你需要編輯一些超鏈接,可以讓超鏈接對話框打開著,直到您已經完成編輯所有的鏈接。請確認在編輯每一個之後點擊應用。當您完成後,點擊關閉.
 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.


[編輯] 相關鏈接

本文原文