LibreOffice 7.4 发行说明

From The Document Foundation Wiki
Jump to navigation Jump to search
This page is a translated version of the page ReleaseNotes/7.4 and the translation is 75% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎dansk • ‎français • ‎italiano • ‎português do Brasil • ‎slovenščina • ‎čeština • ‎русский • ‎فارسی • ‎中文(中国大陆)‎ • ‎日本語

关于本页

This is an in-progress scratch-pad of notes to build release notes from as and when we release. Please do not list features that are to be shipped already in the 7.4版! Please do not add wish-list features that you hope will be implemented, but only what actually is implemented already.

What does a good feature look like here:

  • It has a description, and a way for a busy reviewer, to find and play with the feature. Target someone who is extremely busy, and knows little-to-nothing about the product. So if a user interface element is key to the feature, be very explicit about where it is, e. g. Menu ▸ Format ▸ Character ▸ Position [tab] ▸ ‘90 degrees’ paths to the elements you changed. Of course, you know your feature is important, and that everyone should care about the Extensible AutoShapes Properties dialog – but often the guys taking the screenshots and writing the notes do not.
  • It credits the main authors who did the work – just add them in brackets after the feature, where possible.
  • If the feature can be shown off with a sample / test file – particularly for new import-able features, it would be wonderful to have a link to/up-load of a test file that we can use to show that feature off to best effect. That really helps us to make good screenshots to show off the features, and allows reviewers to do their testing.

Thanks in advance for your help filling this out!


Writer 文字处理

一般性改进

  • 菜单项工具 ▸ 更新 ▸ 更新全部现在也会更新OLE对象的预览图。博客文章 (来自 Collabora 的 Miklos Vajna)
  • 多项与表格边框及段落边框有关的改进,提升与Word的兼容性。博客文章 (Miklos Vajna; Collabora)
  • 修复了当目录、索引或参考文献对话框( 插入 ▸ 目录与索引)中的创建索引或目录 ▸ 用于:被设置为章节时目录的生成问题。生成的目录项开始于当前章节,而不是之前旧版本中错误的总是第2级 tdf#130318 (Andreas Heinisch; Emanuele Gissi, CNVVF)
  • Writer 现在支持清除来自Word的分隔符,以提升布局的保真度。博客文章 (来自 Collabora 的 Miklos Vajna)
  • 无障碍检查对话框 (工具 ▸ 检查无障碍辅助要求...) 现在可以被异步渲染。源代码提交 61fed0c4 (来自 Collabora 的 Nick Wingate)
  • 对于以只读方式打开的文件,Writer现在也允许您查看追踪修订记录。只读模式下的修订记录可以从编辑 ▸ 追踪修订 ▸ 管理...菜单打开,或者从侧边栏打开。源代码提交 82e789bf (Michael Stahl, allotropia)
  • 对页脚的删除及插入操作,现在可以在页脚区域看到修订记录。tdf#85610 (László Németh, NISZ)
格式化的页脚序号,显示在页脚区域对页脚的删除及插入
  • 支持 OpenType 字体中的 "hang" (悬挂)基线属性,该属性允许不同大小的文字对齐于悬挂基线上(比如在藏文中)。tdf#104930 (Mark Hung)
  • Writer 现在原生支持来自Word的富文本及复选框内容控件。博客文章 (Miklos Vajna; Collabora)
  • Writer 现在也已原生支持Word的下拉菜单、图片及日期内容控件。博客文章 (Miklos Vajna; Collabora)
  • 默认关闭对 *粗体*, /斜体/ 等标记的自动更正。tdf#133023 (Heiko Tietze, TDF)
  • 改进了字形的放置,避免在字距调整时出现的某些问题、以及在打字时非预期的字符跳动。tdf#144862 (来自红帽的 Caolán McNamara)

新增的排版设置

新增可选的断字设置,用于调整段落级的文本流动。(László Németh)

  • 断字区域(用于限制断词,特别用于非两端对齐的段落)。tdf#149420
  • 不对段落中的最后一个单词进行断字处理 tdf#149248

注:这些特性是 CSS4 Text Module Level 4 以及 DTP 软件Wikipedia logo v3.svg 中定义的功能的一部分。“断字区域”是 OOXML/MSO 功能的一部分。

格式 ▸ 段落...中的文本流动选项卡中新的段词设置,用于快速调整自动段词时的错误,并增强互操作性

追踪修订模式下编号显示方式的变化

在显示修订记录模式下显示编号列表中实际的以及原来的序号。tdf#115523 tdf#115524 (László Németh, NISZ)

  • 显示编号的修订记录时不使用虚拟的数字编号。之前,在编号计数时会将已删除的列表与未删除的列表一同进行计数。
  • 首先显示实际(最新)的数字编号,然后再在中括号中显示原来的数字编号,比如“1.[2.]”。
  • 不仅仅是在已删除和已插入的位置显示,在该位置的后续编号中也显示实际(最新)的编号以及原来的编号,从而能够更方便地识别文本的变动。
  • 为了改善这种列表项目的外观,更改了的编号与段落文本之间以空格分隔,而不是制表符分隔,从而避免段落显示为不正确的制表符列表。
修订模式下正确地显示对编号列表的更改:计数时不要包含已删除的项目,同时显示新的编号以及原来的编号(左:修复前;右:修复后。列表1:追踪对列表项目的删除。列表2:追踪对列表项目的插入。列表3:追踪列表项目的插入和删除

新增远程语法检查功能:LanguageTool

  • Writer 现已支持使用远程 LanguageTool API 进行语法检查。API 文档 (感谢 Adfinis 对这项功能的资助) 源代码提交 d952df36 (Mert Tümer; Collabora)
工具 ▸ 选项中的语言设置界面新增 LanguageTool API 设置。
右键菜单中显示的经过远程 LanguageTool API 语法检查后的合适的单词。

Calc 电子表格

一般性改进

  • 在电子表格中新增“迷你图”(sparklines)功能。(博客文章) (来自Collabora的Tomaž Vajngerl)
  • Calc中支持的工作表列数现已超过16384,并已默认开启该功能。(博客文章)。 (来自Collabora的Luboš Luňák)
  • 在公式栏上的“自动求和”控件中新增了COUNTA, PRODUCT, STDEV, STDEVP, VAR, VARP函数 tdf#139602 (Dhiraj Holden)
  • 当您选中一个单元格然后通过超链接对话框 (Ctrl + K) 插入超链接时,该单元格中的文本会被作为超链接的提示文字放入超链接对话框的“文本”框中。当用户通过单击选中一个单元格然后通过超链接对话框插入超链接时,整个单元格中的内容将会被替换为超链接,而不是生成一个副本或者将超链接附加到单元格内容的结尾。如果单元格中本身已经包含了一个以上的超链接、并且某个超链接已经包含了额外的文本,则超链接对话框仅会预先选中打开时的文本字段。否则,它也会填充URL.(译者注:直译,可能有歧义,待核对修正)
  • 公式栏的高度现在会被保存在文件中。tdf#99708 (来自allotropia的Samuel Mehrbrodt)
  • 改进了移动或复制工作表对话框:原来名为“确认”的按钮现在会根据所进行的操作显示为移动或者复制tdf#139464 (Laurent Balland)
  • 如果单元格中的公式返回的是数组/矩阵,那么单元格矩阵会自动进行范围调整。也就是说,如果某个公式的返回结果本身是数组,那么在某个单一单元格中输入这样的公式之后,存放公式结果的单元格区域会是一个对应的数组/矩阵区域,而不是您输入公式的那个单一单元格,这就如同您按照输入数组公式的方式(按下⇧ Shift + Ctrl + ↵ Enter键)进行了公式输入。之前,如果您在某个单一单元格中输入一个其返回结果是数组的公式,在输入时没有按下⇧ Shift + Ctrl + ↵ Enter键的情况下,仅仅输入该公式的单元格会显示结果,并且显示的结果只是公式返回的结果矩阵最左上角的值。现在,如果您想要回到之前的行为(即只在输入公式的单元格中显示返回结果的左上角的值),那么请在输入公式之前“标记选择”某个单一单元格。tdf#149378 (Eike Rathke, Red Hat)
  • 新增了工作表 ▸ 导航 ▸ 转到工作表对话框,并且您可以在该对话框中搜索工作表名,从而处理具有许多工作表的电子表格时更加容易。tdf#129674 (Laurent Balland)
  • 隐藏的行或列现在可以通过启用视图 ▸ 已隐藏行/列指示选项来进行隐藏状态标记。tdf#128258 (来自文档基金会的Heiko Tietze)
  • 排序选项及排序项目现在可以更方便地访问。tdf#131155 tdf#140290 (Heiko Tietze, TDF)
  • 数字格式:支持以单元格格式掩码0.000"-"000"-"000表示的长小数数字,这种格式使得小数部分更容易阅读。这种格式掩码中嵌入的文本部分现在能被准确保存在ODS格式的文件中,并能被准确读入。tdf#96723 (Laurent Balland)
  • 在公式栏中或者在单元格中输入公式时,现在也会自动建议非英文的函数名称或者命名区域。比如,当您使用中文对某个单元格区域进行命名后,在输入公式时Calc会自动建议该名称。之前,仅以英文命名的函数名称和命名区域才会自动建议。 tdf#142031 (Andreas Heinisch)

性能

Impress 演示文稿和 Draw 绘图

  • Start of document themes in Impress: shape text blog post (Miklos Vajna, Collabora)
  • Also added shape fill support for document themes in Impress blog post (Miklos Vajna, Collabora)
  • support using slide background as shape fill for PPTX interoperability (Armin Le Grand, Samuel Mehrbrodt, allotropia) tdf#128150
    Shape on the master slide using the slides background as fill - 7.3 and 7.4



核心 / 通用功能

一般性改进

  • 新增对 WebP 图像的导入导出支持。tdf#114532 (Luboš Luňák, Collabora)
    • 需要注意的是,目前,导入当期 WebP 图像在内部会被转换为 PNG 图像,从而保证生成的文档能够向后兼容。
  • The configuration now remembers whether recent documents were opened read-only or editable, and opening via File ▸ Recent Documents or the Start Center will open them in the same mode as the last time. core commit 404c51f3 (Michael Stahl, allotropia)
  • 新增对 EMZ/WMZ 文件的支持 tdf#103954 (Paris Oplopoios)

点亮自定义形状的灯光

Enhancements for lighting extruded custom shapes to make rendering more compatible with MS Office binary formats and interpret more ODF attributes. tdf#145700 (Regina Henschel)

  • Wrong interpretation of the z-direction of lights is corrected. Especially a center lighting from observer to object works now. The position of specular high lights on rounded surfaces is same as in MS Office now.
  • The item "Metal" is replaced by items "Metal ODF" and "Metal MS compatible" in submenu "Surface" in toolbar "3D-Settings". The latter is not usable in strict ODF file format "ODF 1.3". In preset "Metal ODF" the specular color is Gray as specified in ODF. In preset "Metal MS compatible" the specular color is the shape fill color or the extrusion color respectively, similar to rendering in MS Office.
  • The service EnhancedCustomShapeExtrusion in API is extended with a new attribute MetalType. It has the value MetalODF or MetalMSCompatible. This attribute is used in surface preset "Metal MS compatible".
  • The ODF attribute draw:extrusion-shininess is interpreted now. This attribute is similar to the setting "Specular Intensity" in the "Material" tab of the "3D Effects" dialog of 3D objects. The attribute has no direct UI, but is available as attribute Shininess in service EnhancedCustomShapeExtrusion in the API.
  • The ODF attribute draw:extrusion-diffusion is interpreted now. Only its default value "0%" is not interpretated, because already existing shapes have this attribute not set but expect a value of 100%. For existing shapes you can force to write the attribute to file by toggling extrusion off and back on. The attribute is used in preset surface "Metal MS compatible". The attribute has no direct UI, but is available as attribute Diffusion in service EnhancedCustomShapeExtrusion in the API. A value smaller than 100% reduces the rendered brightness of the object.
  • The ODF attributes draw:extrusion-first-light-harsh and draw:extrusion-second-light-harsh are interpreted now. The lights are rendered soft by distributing parts of the light intensity to four light directions around the original light directions during rendering. The lighting presets in submenu "Lighting" in the toolbar "3D-Settings" set the attribute compatible to MS Office. The attribute has no direct UI, but is available as attribute FirstLightHarsh and SecondLightHarsh in service EnhancedCustomShapeExtrusion in the API.
  • The implementation of ODF attribute draw:extrusion-specularity is adapted to the corresponding shape property in MS Office binary formats. This attribute corresponds to the setting "Specular Color" in the "Material" tab of the "3D Effects" dialog of 3D objects. Only that not abitrary colors but only variants of Gray are used. The attribute has no direct UI, but is available as attribute Specularity in service EnhancedCustomShapeExtrusion in the API. A value of "0%" forces the first light to be not specular, which produces a matte surface in rendering the object. That is used in surface preset "Matte".

性能

LibreOffice 帮助

  • ScriptForge 脚本库现在已经有了帮助页面。(J.P. Ledure, A. Romedenne, R. Lima)

筛选器

DOCX 导入及导出筛选器

  • DOCX: 导入包含表格、图像等元素的位于组合形状中的文本框 tdf#66039 (NISZ 的 Attila Bakos)


通过密码验证解锁受保护的追踪修订 tdf#128744 tdf#106843 (László Németh, NISZ)

  • clicking on Record changes icon of Track Changes toolbar (or Edit ▸ Track Changes ▸ Record) asks for password verification instead of showing only a warning message before unlocking without the password;
  • On Security page of File ▸ Properties... dialog window, Unprotect button accepts the correct password with disabling record changes instead of rejecting the correct password.

PPTX 导入及导出筛选器

  • PPTX export: fixed export of embedded video files tdf#53970 (Tünde Tóth, NISZ)
  • PPTX import: fixed import of linked media files. Linked media files were imported as images in documents created with Impress after PPTX export. tdf#53970 (Tünde Tóth, NISZ)
  • PPTX: add "glue points" to some basic shapes (ellipse, triangle, right triangle, trapezoid, parallelogram, diamond, pentagon, hexagon, heptagon, octagon). Note: PPTX import doesn't import connectors connected to the glue points – only ODP export keeps them for the planned editing, i.e. moving the connected shapes without losing the connecting lines and arrows. tdf#147459 (Tibor Nagy, NISZ)

RTF 导入及导出筛选器

PDF 导出

  • 改进了命令行方式导出为PDF的选项(博客文章)(Collabora 的 Miklos Vajna)
  • 数字、货币、日期和时间格式的字段能够正常导出为 PDF tdf#105972 (文档基金会的 Xisco Fauli)

HTML 导出

  • 弃用“选项|加载/保存|HTML 兼容性”界面上的HTML导出字符集设置选项。HTML 导出现在总是使用 UTF-8 编码。tdf#148413 (Collabora 的 Mike Kaganski)

EMF/WMF 导入

  • Added support for Miter Limit for EMF+ format tdf#142261 (Bartosz Kosiorek)
  • Added support for individual line endings for EMF+ format tdf#143875, tdf#55058 (Bartosz Kosiorek)
  • Fixed holes in lines created with LINETO for EMF/WMF tdf#89331 (Bartosz Kosiorek)
  • Added Z compressed graphic formats support for EMF/WMF (.emz and .wmz file formats) tdf#103954 (Paris Oplopoios)
  • Use variable types according to EMF+ documentation tdf#103859 (Bartosz Kosiorek)
  • Fix displaying EMF+ PathGradient fill tdf#131506 tdf#143031 (Bartosz Kosiorek)

TIFF 导入

  • TIFF: import filter rewritten to import via libtiff in order to support many more variants (Caolán McNamara, Red Hat, Inc. and Julien Nabet)
  • Add support for OfficeArtBlip TIFF format core commit 8c9e6d3a (Bartosz Kosiorek)

图形用户界面 (GUI)

  • The Navigator can now scroll to the item on selection. Enable this with the expert option NavigateOnSelect at org.openoffice.Office.Writer > Navigator tdf#131063 (Jim Raykowski)
  • Start Center thumbnail rendering improved tdf#134065, tdf#147998, core commit b70d17b0 (Mike Kaganski, Collabora)
  • 扩展管理器中的“搜索”字段 tdf#126672 (Samuel Mehrbrodt, allotropia)
  • “字符”对话框经过了重新设计。当亚洲语言和复杂语言启用时,字符对话框上的字体选项卡会紧凑地同时显示英文字体和亚洲及复杂语言字体选项,以方便对照。tdf#139395tdf#146928 (文档基金会的 Heiko Tietze)
LibreOffice 在 Windows 下的暗黑模式

图标主题

  • Windows下的默认图标主题 Colibre 现在已有暗黑模式的变体,同时也维护了来自微软的单线 (monoline) 色彩构成。 tdf#146545 (Rizal Muttaqin)
暗黑 Colibre 图标主题

本地化翻译

具备区域设置数据的新增语言/区域

Available as default document language and for locale specific formatting.

  • Pennsylvania Dutch {pdc-US}. tdf#146602 (Peter K. Zacharias, Pennsylvania Dutch Education Corporation; Eike Rathke, Red Hat)
  • Aranese {oc-ES}. tdf#147053 (Javier Torres Fernández; Eike Rathke, Red Hat)
  • Dhivehi {dv-MV}. tdf#148428 (Adam, M. A.; Eike Rathke, Red Hat)
  • English (Mauritius) {en-MU}. (Eike Rathke, Red Hat)

在语言检查工具和语言支持方面的改进

  • Added Central Kurdish (ckb) Spell Checker & Dictionary. commit 1, core commit 5727a12a (jwtiyar nariman; Olivier Hallot, TDF)
  • Occitan since 2018 has several type variant language subtags in the IANA language-subtag-registry. Historically LibreOffice used oc-FR for Occitan Languedocien and oc-ES for Occitan Aranese as language tags. These were underspecified at least for oc-FR and are now augmented to be written as oc-FR-lengadoc and oc-ES-aranes, the previous oc-FR and oc-ES are still recognized and accepted as aliases. LibreOffice 7.3.5 will accept oc-FR-lengadoc and oc-ES-aranes as aliases for oc-FR and oc-ES for forward compatibility. tdf#147390 (Eike Rathke, Red Hat)
  • Danish spell checking dictionary has been updated (stavekontrolden.dk)
  • Slovenian thesaurus was updated (Martin Srebotnjak, OdprtiTezaver).

脚本语言编程

DispatchHelper .UNO:command 目录

com.sun.star.frame.DispatchHelper 服务对应的 .UNO:Commands 维基页面 已更新。该页面列出了7.4版本中可用的所有命令及其对应的参数。

ScriptForge 库

这是一个可扩展的、强健的宏代码资源的集合,可从用户的 Basic 或 Python 宏代码中访问。(Jean-Pierre Ledure)

这个库对外暴露了总共26个服务,每个服务均包含了大量的方法和属性。

LibreOffice 7.4 新增

  • 新增 Menu 服务, 描述用于显示在菜单栏上的一个新的菜单。该菜单可以包含常规项目、复选框、单选按钮等。每个菜单项目都可以使用图标和提示文字进行修饰。
  • The (new) UnitTest service, a framework to setup testcases and testsuites for complex Basic modules and extensions.
  • The (new) Region service , to manage locales, timezones and daylight saving times. What time is it in Tokyo when it is 12am in Brussels ? Also to convert numbers to letters in any language.
  • Get the list of the available extensions and their install directories (filesystem service).
  • Run menu commands with arguments (ui, document services).
  • Manage a fallback language (l10n service).
  • Export sheet ranges as images or PDF files (calc service).
  • Erase rows or columns from sheet ranges based on filters expressed as formulas (default = erase all empty rows or columns) (calc service).
  • Create and place a pivot table (calc service).
  • Resize and/or center dialogs on a background window or dialog (dialog service).

The whole set of services (except when not relevant) is made available for Python scripts with identical syntax and behaviour as in Basic.

The English version of the documentation of the ScriptForge libraries (7.4) is fully integrated in the LibreOffice help pages (https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/03/lib_ScriptForge.html?DbPAR=BASIC). Their translation into other languages is underway. (Alain Romedenne, Rafael Lima)

对 VBA 支持的改进

  • 新增对 Application.WindowState 的支持,见源代码提交 (Tomaž Vajngerl, Collabora)
  • 新增对 Application.GetOpenFilename 的支持tdf#118246 (Tomaž Vajngerl, Collabora)
  • 在导出VBA工程时使用在导入时已检测到的字符集tdf#75263 (Andreas Heinisch)
  • VBA Range.Sort expands a single cell range to Range.CurrentRegion tdf#149579 (Eike Rathke, Red Hat)
  • Support for referencing a Sheet by Name tdf#149325 (Eike Rathke, Red Hat)

被移除或标记为即将移除的功能

  • FTP support is deprecated and will be removed in a future version.
  • In the SDK, the tools idlc and regmerge (using the legacy type registry format) are deprecated and will be removed in a future version, in favor of unoidl-write (using the incompatible new type registry format internally introduced in LibreOffice 4.1). core commit 40f2aee6
  • The C function typelib_setCacheSize has been deprecated without a replacement, and calling it no longer has any effect. core commit c3e9eb99

各平台兼容性

Mac

  • LibreOffice 7.4 需要 macOS 10.13 或更高版本才能运行。
由于苹果在C++标准库特性方面的政策,对macOS最低版本的要求将来会根据以下进度逐渐提高:
  • 2023年2月发布的版本 → 10.14 Mojave
  • 2023年8月发布的版本 → 10.15 Catalina

应用程序编程接口 (API) 的改动

  • The service EnhancedCustomShapeExtrusion in API is extended with a new attribute MetalType. It has the value MetalODF or MetalMSCompatible. The attribute is not usable in file format "ODF 1.3". For implementation context see Lighting of extruded custom shapes.
  • The service SpreadsheetViewSettings has a new property FormulaBarHeight allowing to read/set the height of the Calc formula bar. core commit d0cacf09 (Samuel Mehrbrodt, allotropia)

跳转列表

在 Windows 下,现在可以使用UNO API对跳转列表进行个性化设置了。文档。 (Samuel Mehrbrodt, allotropia)

Writer中个性化的跳转列表