Document (Fields)

Contents
Index 🔎︎

# 文件

Fields are used to insert information about the current document, for example, file name, template, statistics, user data, date, and time.

若要使用此指令...

選擇 [插入] - [欄位] - [其他] - [文件] 標籤

## 類型

列出可用的欄位類型。若要新增欄位到您的文件，請按一下欄位類型，按一下 [選擇] 清單中的欄位，然後按一下 [插入]。下列欄位可用：

類型 | 涵義
作者 | Name or initials of current user (as entered in LibreOffice - PreferencesTools - Options - LibreOffice - User Data).
章節 | 插入章節編號和/或章節名稱。
日期 | Inserts the current date. You can insert the date as a fixed field - Date (fixed) - that does not change, or as a dynamic field - Date - that it is updated automatically. To manually update the Date field, press F9.
檔案名稱 | 插入目前文件的檔案名稱和/或目錄路徑，以及不含副檔名的檔案名稱。
頁 | 插入當頁、上一頁或下一頁的頁碼。
Paragraph Signature | Inserts a meta-data field with a digital signature for the paragraph. You must have a digital certificate to sign a paragraph.
寄件者 | Inserts fields containing user data. You can change the user-data that is displayed by choosing LibreOffice - PreferencesTools - Options - LibreOffice - User Data.
統計 | Inserts document statistics, such as page and word counts, as a field. To view the statistics of a document, choose File - Properties, and then click the Statistics tab.
範本 | Inserts the filename, the path, or the filename without the file extension of the current template. You can also insert the names of the "Category" and the "Style" formats used in the current template.
時間 | Inserts the current time. You can insert the time as a fixed field - Time (fixed) - that does not change, or as a dynamic field - Time - that it is updated automatically. To manually update the Time field, press F9.

當您選取所屬欄位類型時，才會顯示或啟動接下來的文字欄位。

## 選取

列出 [類型] 清單中選取的欄位類型可用的欄位。若要插入欄位，按一下欄位，然後按一下 [插入]。

To quickly insert a field from the Select list, double-click the field.

## 格式

按一下您要套用在所選欄位的格式，或是按一下 [其他格式] 自訂一種格式。

When you click "Additional formats", the Number Format dialog opens, where you can define a custom format.

If you choose "Chapter number without separator" for a chapter field, the separators that are specified for chapter number in Tools - Chapter numbering are not displayed.

在參照欄位中可選取章節編號當作「格式」。然後便會在參照中顯示所參照物件的章節編號。如果現在此章節級未編號，則 LibreOffice Writer 會在上一級中根據含編號的等級進行搜尋，並設定其章節編號。

在HTML中匯入和匯出日期和時間欄位時，適用特殊 LibreOffice 格式。

### 固定內容

將此欄位作為靜態內容插入，即無法更新此欄位。

## 級

Enter outline level of the chapter to be displayed. The inserted field will display the value taken from last paragraph with the specified outline level placed before the inserted field.

## 偏移

輸入您要套用於頁碼欄位的偏移值，例如 "+1"。

如果需要，您可以為顯示的頁碼輸入偏移量。若偏移值為 1，僅當存在比目前頁碼大 1 的頁時，欄位才會顯示比目前頁碼大 1 的號碼。在文件的最後一頁上，同一欄位將為空。

如果您想要變更實際的頁碼而非顯示的頁碼，請勿使用 [偏移] 值。若要變更頁碼，請參閱頁碼指南。

## 偏移日期的天數/分鐘

輸入您要套用於日期或時間欄位的偏移量。