模板管理器

目录
索引 🔎︎

# Manage Templates

The Template Manager dialog makes it easy to manage templates and allows you to start new documents using templates.

要访问此命令...

点击菜单「文件 - 新建 – 模版」。

点击菜单「文件 – 模版 – 管理模版」。

在任意 LibreOffice 模块按「CommandCtrl+Shift+N 」。

在「启动中心」按「模版」按钮。

在「启动中心」的「模版」按钮中选择任意模版类型。

「模版」可节省编辑时间。通过「模版」新建文档时，可预先填充内容与格式。「模版管理器」允许您访问与组织 LibreOffice 中的模版。

LibreOffice 自带一系列内置模版，可用于创建文档、演示文稿、电子表格或绘图。您可以使用「模版管理器」中可用的模版，也可以创建自己的模版或在线浏览其他模版。

## 「主窗口 – 模版」选择

根据您的搜索和筛选选项，可用模板的预览将显示在主窗口中。双击任意模板图标，可打开包含该模板内容与格式的新文档。

Choose Thumbnail View or List View, at the top right, to change how the templates are displayed.

Thumbnail View

Listview

To show templates from another folder in the My Templates category, choose LibreOffice - Preferences - Tools - Options - LibreOffice - Paths, select Templates, press Edit, then press Add to open the file dialog for selecting the folder to add.

## 搜索

You may search for a template by entering text in the search box at the top left. The Main window shows the templates found.

## 筛选

You may filter for: All Applications, Text Documents, Spreadsheets, Presentations or Drawings by choosing an option from the dropdown box at the top-center. The main window displays the filtered templates.

## 类别

Categories are folders where you place your templates. You may choose from the default categories: All Categories, My Templates, Business Correspondence, MediaWiki, Other Business Documents, Personal Correspondence and Documents, Presentations or Styles. You may also create new categories for your personal use. Use the Tools icon of the Template Manager to create a new category.

不允许类别内嵌类别。

## Tools

Click on the Tools icon at the bottom left to open the Tools menu. The options are: New Category, Rename Category, Delete Category, and Refresh. If the default template for an application is changed from the initial default setting, then an additional option, Reset Default Template, is available, which allows you to reset the default template for an application back to its initial default.

Tools icon

## 移动

If you want to move templates to a different category, then choose a template, or use CommandCtrl+click to select additional templates, then press the Move button at the bottom right to open a dialog box, where you can choose to move your selection to a different category or to a new category. Default templates cannot be moved, but copies can be created in other categories.

## 导出

Choose a template in the main window, or use CommandCtrl+click to select additional templates, and then press the Export button at the bottom right to export your selection to a folder on your computer.

Export button

To move or export all templates in a Category, press CommandCtrl+A, then choose Move or Export.

## 导入

If you want to import one or more templates into the Template Manager, then press the Import button at the bottom right, choose the Category where the imported templates should be placed, then select the files to be imported.

Import button

## Extensions

To browse for more templates online, click on the Extensions icon at the bottom right to open a search window. You can also search for templates at https://extensions.libreoffice.org.

Extensions icon

## Actions with Individual Templates

### 打开

在主窗口中选择一个模板，然后右击，选择「打开」，按「回车」键或双击可使用该模板打开新文档。

You can also use the Open button on the bottom left to open a new document using the selected template.

### 编辑

在主窗口中选择一个模板，然后右击，选择「编辑」以编辑该模板。此函数仅适用于非内置的模板。

### 设为默认

在主窗口中选择一个模板，然后右击，选择「设为默认值」将模板设置为默认模板。这将导致在模板上显示绿色勾号，当使用相应的应用程序创建新文档时，模板将自动加载。

### 重命名

在主窗口中选择一个模板，然后右击，选择「重命名」以重命名模板。将出现一个对话框，其中可以为模板选择新名称。输入名称，然后选择「确定」，或选择「取消」以恢复为已设置的名称。

### 删除

Select one or more templates to delete in the main window and press the Delete key, or right-click then choose Delete to delete the selected template(s). A dialog box will appear requesting confirmation. Choose Yes to delete or No to cancel.

Built-in templates cannot be edited, renamed or deleted.

## 示例

### 示例 1 – 创建商务信函

1. 打开 LibreOffice Writer

2. 按「命令Ctrl+Shift+N」或点击「文件 - 新建 - 模版」可打开「模板管理器」

3. 在搜索框中输入「商务信函」

4. Choose one of the templates from the main window by double-clicking on it or select and press Enter.

5. 将在 LibreOffice Writer 的新实例中使用该模版创建新的文档

6. 按需更改文字与 logo

### 示例 2 – 导入模版 – 个人预算电子表格

1. 打开 LibreOffice Calc

2. 按「命令Ctrl+Shift+N」或点击「文件 - 新建 - 模版」可打开「模板管理器」

3. Click on the Extensions icon to browse for online templates.

4. 搜索「个人预算模板」，然后下载它

5. 打开「模板管理器」, 然后选择「导入」按钮

6. Select a category to save the new template in, for example, My Templates, and press OK.

7. 浏览下载模版的文件夹，选中模版并按「打开」

8. 模版现在已经出现在您选择的类别中。

### 示例 3 – LibreOffice Impress – 演示文稿模版

1. 打开 LibreOffice Impress

2. 「模板管理器」会在您打开 LibreOffice Impress 时自动打开

3. 为演示文稿选择一款模版，按类别筛选或搜索

4. You may also use the context menu, import a template, or search online for a template.

5. A few features in the Template Manager are not available when first opened automatically. After starting LibreOffice Impress you may run the Template Manager again to access all features.

利用类别管理模版。创建新模版或下载模版并在「模版管理器」中管理。使用模版可节省编辑重复性文档的时间。

相关主题

Refer to https://extensions.libreoffice.org for templates to download.

See Chapter 3 – Using Styles and Templates in the Getting Started Guide.

See Creating a Document Template for related information.

相关信息请见「模版与样式」。

Templates in the Template Manager