目录

# 兼容性

指定文本文档的兼容性设置。这些选项有助于在导入 Microsoft Word 文档时微调 LibreOfficeDev。

要访问此命令...

打开文本文档，选择「LibreOfficeDev - 偏好设置工具 - 选项 - LibreOfficeDev Writer - 兼容性」。

这里定义的某些设置仅对当前文档有效，必须为每一个文档单独定义。

### 在段落与表格之间加入间距

在 LibreOfficeDev Writer 中，段落间距的定义与 Microsoft Word 文档有所不同。如果定义了两个段落或表格间的间距，那么在相应的 Word 文档中也会添加此间距。

指定在 LibreOfficeDev Writer 的文本文档的段落和表格之间是否添加与 Microsoft Word 兼容的间距。

### Add paragraph and table spacing at top of first page and page breaks

指定如果一个段落在文档的首页，在页面顶部的段落间距是否在页面或列的起始位置也有效。同样的效果应用于分页。

如果您导入一个 Word 文档，在转换文档时就会自动扩大段落之间的间隔。

### 使用 OpenOffice.org 1.1 的缩进格式

指定如何在右页边距内将文本对齐制表位、如何处理十进制制表位、如何处理靠近换行处的制表位。如果未选中此复选框，制表位的处理方式与其他 Office 应用程序一样。

在由您当前版本的 Writer 创建的文本文档中，默认使用新的制表位处理。在由 StarSuite 8 或 OpenOffice.org 2.0 之前版本的 Writer 创建的文本文档中，使用旧的制表位处理。

### 在多行文字之间不添加前导 (多余) 空格

指定不在文本行间添加附加前导 (额外间距)，即使所使用的字体包含附加前导属性。

在由您当前版本的 Writer 创建的文本文档中，默认使用附加前导。在由 StarSuite 8 或 OpenOffice.org 2.0 之前版本的 Writer 创建的文本文档中，不使用附加前导。

### 使用 OpenOffice.org 1.1 的行距

如果此选项关闭，将应用新过程以成比例的行距格式化文本行。如果此选项打开，将应用原先的方法以成比例的行距格式化文本行。

在由您当前版本的 Writer 创建的文本文档以及最新版本的 Microsoft Word 文档中，使用新过程。在由 StarSuite 8 或 OpenOffice.org 2.0 之前版本的 Writer 创建的文本文档中，使用早先的过程。

### 增加表格单元格底部的段落和表格间距

指定在段落底部添加的间距，即使该段落是表格单元格中的最后一段。

如果该选项关闭，表格单元格的格式化方法与 StarOffice 8 或 OpenOffice.org 2.0 之前版本的 Writer 相同。如果该选项打开，则应用另一种方法格式化表格单元格。对于使用 LibreOfficeDev 创建的新文档或从 Microsoft Word 格式导入的文档，该选项默认是打开的。

### 使用 OpenOffice.org 1.1 的对象位置

指定如何计算定位到一个字符或段落的浮动对象相对于顶部和底部的段落间距的位置。

如果该选项打开，浮动对象的定位方法与 StarOffice 8 或 OpenOffice.org 2.0 之前版本的 Writer 相同。如果该选项关闭，则使用另一种方法定位浮动对象，该方法与 Microsoft Word 所使用的方法类似。

对于新文档，此选项设置为关闭。对于由 OpenOffice.org 2.0 之前的版本创建的 Writer 文档，此选项为打开。

### 在对象周围使用 OpenOffice.org 1.1 文字环绕

By default, page header and footer content, as well as footnote and endnote content, does not wrap around floating screen objects. This behavior mirrors how Microsoft Word handles these objects. To enable text wrapping around floating screen objects in headers/footers or footnotes/endnotes, turn on this option.

If the option is off, which is the default setting, the new text wrapping will be applied.

### 定位对象时考虑环绕样式

指定定位浮动对象 (定位至一个字符或段落) 的复杂过程如何工作。在 StarSuite 8 或 OpenOffice.org 2.0 之前版本的 Writer 中，使用迭代过程，而在当前版本中，使用与 Microsoft Word 类似的直接过程。

如果该选项关闭，对象定位使用旧 LibreOfficeDev 迭代过程。如果该选项打开，则使用新的直接过程以确保与 Microsoft Word 文档兼容。

### Justify lines with a manual line break in justified paragraphs

如果启用，Writer 会添加字词间的间距，这些字词位于两端对齐的段落以 Shift+Enter 组合键结尾的行中。如果禁用，将不会扩展字词间的间距以使行两端对齐。

对于 .odt 文本文档此设置默认开启。它将与文档一起以 .odt 格式保存并装入。此设置不能保存在旧的 .sxw 文本文档中，因此对于 .sxw 文本文档此设置是关闭的。

### Protect form (no longer protects whole document. Insert write protected section instead)

When importing forms from Microsoft Word, the document content outside of form controls is locked and can only be imported as read-only. This setting allows you to edit the document by enclosing the form controls in protected sections.

### Word-compatible trailing blanks

Ensure trailing spaces and their highlighting are compatible with Microsoft Word. This option is enabled by default for imported Microsoft Word formats (.doc, .docx, .rtf). For ODF files, the option is disabled by default.

### Tolerate white lines that may appear in PDF page backgrounds

使用 LibreOfficeDev 4.3 的锚点绘制顺序，并容忍旧文档生成 PDF 页面背景中可能出现的白色线条。

### Hide paragraphs of mail merge fields with empty value when generating merged documents

When this setting is active, database fields that expand to empty values are treated as hidden paragraph fields. The option is enabled by default and is automatically applied to non-ODF documents (to ensure compatibility with other office suites). For existing ODT documents, the option remains disabled if the setting was not previously configured, preserving the layout of legacy documents.

### Render non-breaking spaces (NBSP) as standard-space-width (off for fixed size)

When this option is enabled (opt-in for both old and new documents), non-breaking space character will no longer be strictly fixed in width. When disabled, the NBSP character has always the width of a standard space (U+0020) on the given line. This change is only noticeable when the paragraph is justified.

Additionally, when non-printable characters are displayed, a tilde (~) or degree symbol (°) will now appear in place of a non-breaking space (NBSP), as the gray field alone is often not visible.

### Do not add an extra space after number in footnotes / endnotes with hanging first line

This option removes extra spacing between the footnote number and its text when the paragraph has a hanging indent, such as in Microsoft Word.

### Set tabstops relative to indent of paragraph

This setting makes all paragraph tab positions relative to left page margin, not to the indent of the paragraph.

### Allow tabs to extend beyond the right margin

When this option is enabled, paragraph tab stops can extend beyond the right margin. When disabled, tab stops beyond the right margin are ignored.

### Do not mirror drawing objects anchored in paragraphs with an RTL writing direction

Writer automatically mirrors drawing objects anchored in right-to-left (RTL) paragraphs, whereas Microsoft Word does not. When this option is enabled (intended for DOCX files), Writer will not automatically mirror the position of drawing objects simply because they are anchored in an RTL text node.

### Render endnotes at the end of document inline, rather than on a separate page

By default, Writer places endnotes on one or more separate endnote pages, while Microsoft Word positions them inline at the end of the document, immediately following the body text. This setting creates a dedicated section at the layout level and places the endnotes within that section, effectively making them inline.

### Use Word-compatible font metrics for text grid and Asian text

Whenever Microsoft Word uses a CJK font to lay out text, it applies an extra multiplier to the line height. This behavior depends solely on the font file itself—it does not matter whether the font is set as the East Asian font or if the text contains any CJK characters. The only determining factor is whether the font identifies itself as a CJK font.

If the font reports coverage for any of the following code pages, the line height multiplier is applied:

- CP932 (JIS/Japan)

- CP936 (Simplified Chinese)

- CP949 (Korean Wansung encoding)

- CP950 (Traditional Chinese)

Writer would respect the original font metrics when laying out DOC/DOCX files. This change makes Writer try to emulate Microsoft Word behavior instead, subject to a compatibility flag.

### Make whitespace character height not affect line height

Remove space and tab characters height value from line height calculation. This setting is enabled by default in Microsoft Word document file formats.

### Underline Word-compatible trailing blanks

Microsoft Word’s Underline Trailing Spaces compatibility option. Previously, the feature behaved as if this option was always enabled, while in Word it is disabled by default.

### Adjust spaces to half the width of ideographic spaces, using Word-compatible rules

When enabled, Writer adjusts the width of certain normal space characters to one half the width of a CJK ideographic space. This adjustment is only applied to leading and trailing spaces, multiple sequential spaces, and spaces between CJK characters.

This flag is enabled automatically when importing DOCX files with the w:balanceSingleByteDoubleByteWidth option enabled and also when importing DOC files with the fDntBlnSbDbWid compatibility flag unset.

### Adjust line heights to grid height in table

For CJK text documents using a CJK Text Grid, the number of lines per page and the number of characters per line are specified in the page style. Typically, adjusting the number of lines per page also impacts tables. This compatibility option disables that behavior, ensuring tables remain unaffected by the grid lines per page setting. The option was introduced to match a similar feature in Microsoft Word, allowing these documents to be rendered accurately.

### Ignore paragraph directions for list label alignment

Writer now applies list label direction, ensuring that start and end label alignment match start and end paragraph alignment. When this option is enabled, Writer ignores paragraph direction for list labels, always using left-to-right alignment.

In order to preserve the layout of existing documents, this flag is enabled automatically when loading an ODF created with earlier versions of LibreOfficeDev.

## 用作默认值

点击可将此选项卡页面上的设置作为今后 LibreOfficeDev 会话的默认设置。

工厂默认值设置如下。启用下列选项，禁用所有其他选项:

1. 在段落与表格之间加入间距

2. Add paragraph and table spacing at top of first page and page breaks

3. 增加表格单元格底部的段落和表格间距

4. Justify lines with manual line breaks in justified paragraphs

5. Hide paragraph of mail merge fields with empty values when generating merged documents.

6. Set tab stops relative to indent of paragraphs

请支持我们!