onlyoffice 9.0.0发布才1周多,此次大版本更新的内容可以参考前面的文章,由于大版本更新,有问题是很正常的,果然最新的修复版本9.0.3已经来了,我们来看看更新了什么:
9.0.3 版本变更日志
新增功能
- 电子表格编辑器:支持通过
navigator.clipboard
将单元格范围作为图像插入(DocumentServer#985)。 - 自定义功能:新增参数
customization.toolbarHideFileName
,可隐藏工具栏中的文档标题。
修复项
所有编辑器
- 限制光标和文本选择显示范围,避免超出对象/形状边界。
- 修复 Modern 主题下界面缩放比例超过 200% 时部分图标显示异常的问题。
- 优化 Modern 主题中自动形状合并/翻转图标的显示效果。
文档编辑器
- 修复编辑某些 DOCX 文件的页脚时编辑器停止响应的问题。
- 修复含图片文件的对比/合并/从文件插入文本操作中的错误。
- 解决删除内容控件内容时恢复带列表的占位符导致的崩溃。
- 修复导出 PDF 时因包含 CJK 字体导致文件体积显著增大的问题(DocumentServer#2934)。
电子表格编辑器
- 修复公式引用单元格时编辑器停止响应的问题(DocumentServer#3314)。
- 解决自定义函数导出 PDF 后文件中出现
#NAME
错误的问题。 - 修复保存自定义函数到文件的功能。
- 优化自动调整行高功能(在应用自动换行且修改列宽时生效)。
- 修复禁用 RTL 界面选项时,底部工具栏缩放值显示异常的问题。
- 修正中文(简体)界面下状态栏缩放百分比符号位置错误(DocumentServer#3313)。
演示文稿编辑器
- 修复对图片应用“强调效果”动画时编辑器停止响应的问题。
- 解决从预览面板连续删除幻灯片导致的崩溃。
- 修复复制某些 PPTX 文件幻灯片全部内容时编辑器无响应的问题。
- 修正演示者视图窗口“绘图”菜单工具的翻译错误。
表单
- 修复对签名域应用艺术字设置后编辑器停止响应的问题。
- 解决长时间无操作后恢复文件连接时编辑器无响应的问题。
- 修正内容控件按钮的光标显示。
- 修复 Modern 主题下表单查看模式缺少“清除字段”图标的问题。
PDF 编辑器
- 修复缩略图面板同时执行剪切/粘贴操作时编辑器停止响应的问题。
- 解决部分 PDF 文件会话中断恢复后文本显示异常的问题。
- 修复编辑器无其他更改时表单字段设置保存失败的问题。
- 禁止在连接断开时修改文档内容。
- 修复从缩略图面板复制 XPS/DjVu 页面内容时的错误。
- 禁止在嵌入模式下显示表单字段标题。
- 优化撤销/重做操作时表单字段高亮显示。
- 修复插入文本注释后无法立即输入文字的问题。
图表编辑器
- 修复打开某些 VSTX 文件时工作区幻灯片显示异常的问题。
转换功能
- 修复部分 DOCX 文件转换为图片时的崩溃问题。
- 解决部分 HWP 文件转二进制格式时的崩溃或无休止转换问题。
- 修复部分 DOC 文件转二进制格式时的崩溃或无休止转换问题。
- 解决第三方编辑器打开 HWP 转 DOCX 结果时报错的问题。
- 修复第三方编辑器打开 XLS 转 XLSX 结果时报错的问题。
- 修复部分 VSDX 文件转 PNG 后自动形状显示差异的问题。
后端
- 修复使用自定义
runtime.json
时通过/info
保存或重置 AI 配置的报错。
移动端
- 修复初始化参数
permissions.copy: false
时仍可复制内容的问题。
Change log 9.0.3
New features
Spreadsheet Editor
- Enabled the ability to insert a range of cells as an image using navigator.clipboard (DocumentServer#985)
Customization
- Added the ability to hide the document title in the toolbar using the
customization.toolbarHideFileName
parameter
Fixes
All Editors
- The display of the cursor and text selection is now limited by the size of the object/shape
- Fixed some icons for Modern themes when the interface scale is higher than 200%
- Improved appearance of the autoshape Merge/Flip icons for the Modern themes
Document Editor
- Fixed stopping work of the editor when editing footer in some
DOCX
files - Fixed errors during Compare/Combine/Text from file operations with files containing images
- Fixed a crash when restoring a placeholder with a list when deleting Content Control content
- Fixed significant increasing of the file size due to including CJK fonts when exporting to
PDF
(DocumentServer#2934)
Spreadsheet Editor
- Fixed stopping work of the editor when trying to reference a cell with a formula (DocumentServer#3314)
- Fixed appearing the #NAME error in the final file when using a custom function and exporting to
PDF
- Fixed a problem with saving custom function to a file
- Fixed an issue with autofitting row height when changing column width if Wrap Text is applied to a cell
- Fixed display of the Zoom option value in the bottom toolbar in RTL UI with the Sheet RTL option disabled
- Fixed the incorrect position of the percent sign in the status bar for Zoom with Chinese (Simplified) (DocumentServer#3313)
Presentation Editor
- Fixed stopping work of the editor when applying some animations from the Emphasis Effects section to an image
- Fixed the editor crash when deleting slides sequentially from preview panel
- Fixed stopping work of the editor when copying all content on the slide in some
PPTX
files - Fixed incorrect translations of tools in the Draw menu of the Presenter View window
Forms
- Fixed stopping work of the editor after applying the TextArt setting to the Signature field
- Fixed stopping work of the editor when restoring a file connection after a long period of inactivity
- Fixed cursor change for Content Control buttons
- Fixed missing the Clear Fields icons in the form viewing mode for the Modern themes
PDF Editor
- Fixed stopping work of the editor when performing Cut/Paste operations simultaneously on the thumbnail panel
- Fixed display of the text after breaking and restoring a session when working with some
PDF
files - Fixed saving form field settings when there are no other changes in the editor
- Blocked the ability to change the contents of the document when the connection is lost
- Fixed an error when trying to copy page contents from the thumbnail panel for
XPS/DjVu
- Blocked the ability to display of the form field titles in the embedded mode
- Fixed display of the form field highlight when undoing and redoing actions
- Fixed blocking the ability to enter text immediately after inserting a Text Comment
Diagram
- Fixed display of the slide in the working area when opening some
VSTX
files
Convert
- Fixed crash when converting some
DOCX
files to an image - Fixed crash when converting some
HWP
files to the binary format - Fixed endless conversion of some
HWP
files to the binary format - Fixed endless conversion of some
DOC
files to the binary format - Fixed the appearance of an error when opening the result of converting some
HWP
files toDOCX
in third-party editors - Fixed crash when converting some
DOC
files to the binary format - Fixed the appearance of an error when opening the result of converting some
XLS
files toXLSX
in third-party editors - Fixed crash when converting some
DOCX
files to the binary format - Fixed the difference in display of autoshapes after converting some
VSDX
files toPNG
Back-end
- Fixed Configuration save error when saving or resetting AI settings on /info when using own runtime.json
Mobile
- Fixed the ability to copy contents when initializing the editor with the
permissions.copy: false
parameter9.0.2 修复内容
所有编辑器
-
现代主题中默认标签页样式视图已更改为线条样式
文档编辑器
-
修复了页眉/页脚计算问题
-
解决了打开包含协作更改的文档时首次计算异常的问题
电子表格编辑器
-
修复了将 XLSX 文件导出为 PDF 时编辑器崩溃的问题
表单模块
-
修复了在 DocSpace 的表单模块和虚拟数据室中无法打开已填写 PDF 表单的问题
9.0.2 Fixes
All Editors
-
The default Tab style view has been changed to a Line for modern themes
Document Editor
-
Fixed the problem with header/footer calculation
-
Fixed an issue with the first calculation of the document when opened document has collaborative changes
Spreadsheet Editor
-
Fixed the editor crash when exporting
XLSX
files toPDF
Forms
-
Fixed the opening of filled
PDF Forms
in Form and Virtual Data Rooms on DocSpace
ONLYOFFICE 文档 9.0.0 发布内容
ONLYOFFICE 文档 9.0.0 版本已正式发布。此次更新包含 20 多项新功能和约 500 项修复,全面提升您的办公效率。从全新界面、突破性的 AI 工具到更广泛的文件格式兼容性,本次发布将带来更加流畅的使用体验。阅读本文,了解详情。
更新全部编辑器的界面
考虑到直观性和易用性,此版本中,全部重新设计了文档、表格、幻灯片和 PDF 编辑器界面,具有更现代直观的外观。无论是编辑文本、处理数据还是制作演示文稿,一切都井然有序、触手可及。
路径:视图选项卡 -> 界面主题 -> 现代浅色/现代深色
全新图表查看器
借助图表查看器,您可以更轻松地可视化想法与工作流程。现在,无需安装第三方应用,即可直接打开图表文件。
图表查看器适用于网页、桌面与移动网页,为图表访问和查看带来更大灵活性。
更高的文件格式兼容性
ONLYOFFICE 文档 9.0 版本提供对更多文件格式的支持,并且不会造成文件质量或格式上的变化。新增支持格式包括:
- Markdown 文件(.md)
- Visio 文件(.vsdx)
- OpenDocument 图形文件(.odg)
- .xlsb 文件:可直接编辑 Excel 二进制工作簿,而无需预转换
更多格式的兼容助您高效处理各种文件。
重磅 AI 功能强化
我们正在持续集成先进 AI 功能,让文档编辑更轻松智能。本次新增功能包括:
PDF OCR:从扫描 PDF 文档中提取文本,轻松获取内容,无需手动输入。
表格 AI 助手:自动生成公式、执行复杂数据分析,几秒内即可完成。
宏 AI 支持:使用 AI 让重复性任务自动化,如快速生成宏、转换 VBA,节约时间并减少出错。
ONLYOFFICE 文档中的这些丰富的 AI 工具能够显著帮助提高日常工作效率。
更强大的 PDF 编辑器
PDF 编辑器新增多项实用功能,进一步优化工作流程:
PDF 表单协作:实时协作填写表单。无论是报税表单填写或表单创建,都能使合作更加流畅高效。
拖放 PDF 页面重新排序:使用缩略图面板轻松重新排列页面。
快捷复制页面:使用 Ctrl + C / Ctrl + V 快速复制页面,编辑效率倍增。
有了这些功能,PDF 管理就同编辑文本文件一般轻松。
文本文档编辑器的新功能
段落边框按钮:快速添加/调整段落边框。
路径:开始选项卡 -> 边框
更强的内容控制:以更直观方式查看所有更改,支持通过插件添加自定义按钮。
路径:插入选项卡 -> 内容控制
更多实用功能
ONLYOFFICE 文档 9.0 更新也为其他编辑器带来了新功能。
表格编辑器更新
外部数据选择:可直接将其他电子表格中的数据插入您的工作簿。
异步计算:在使用宏创建的自定义函数中处理任意请求。
幻灯片编辑器更新
文本动画实时呈现:在幻灯片放映模式下观看高级动画效果,为您的演示文稿增添生动感。
所有编辑器更新
优化图表显示:表单自定义功能更加强大,支持“上下柱状图”、标题艺术字设置,让您的图表更精致、专业。
路径:图表设置
从右至左 (RTL) & 本地化
我们持续提升 ONLYOFFICE 文档的本地化支持,力求使全球用户均能顺畅使用 ONLYOFFICE 文档。
优化的 RTL 功能
表格编辑器现已推出备受期待的从右至左显示支持。
在文档中编辑器中,段落支持主要 RTL 方向,并提升了使用体验:
- 准确的段落编号预览
- 正确的艺术字位置
- 边框显示效果优化
- 光标导航更顺畅
在演示文稿和 PDF 中,现已支持设置段落方向(从右往左 / 从左往右)。可在工具栏或段落高级设置中进行设置。
新增本地化支持包括:
- 简体中文界面中字体大小单位设置(文档编辑器的文件菜单中)
- 乌尔都语
- 能够使用印地数字显示数字
- 阿拉伯语拼写检查词典
- 拼写检查可保留上次使用语言
- 管理员可在服务器版本中添加自定义词典
onlyoffice二次开发三件套-开发版的安装及使用指南-含连接器的应用-新手必备
引言
OnlyOffice是一款功能强大的开源办公套件,它支持在线编辑文档、电子表格和演示文稿。随着OnlyOffice在企业级应用中的普及,越来越多的开发者开始关注其二次开发。然而,对于新手来说,进行OnlyOffice的二次开发存在一定的难度。这里推荐onlyoffice二次开发三件套,为新手快速入门提供帮助。
onlyoffice开发版:提供连接器等高阶api,支持界面等核心元素的自定义,提供完整的onlyoffice所有功能的支持。
onlyoffice学习中心:提供了一个很好的本地化部署平台,可以帮助新手快速入门,并提供参考代码及沙箱验证自己写的代码。
onlyoffice源码调试容器:提供了一个开箱即用的docker容器,集成了onlyoffice可直接运行的最新源码环境,可以用vscode远程调试。
一、OnlyOffice二次开发的挑战
1. 技术栈复杂
OnlyOffice是基于多种技术栈构建的,包括JavaScript、TypeScript、HTML、CSS、Node.js等。新手需要掌握这些技术才能顺利进行二次开发,这对于初学者来说是一个不小的挑战。
2. 文档不完善
虽然OnlyOffice提供了官方文档,但对于新手来说,文档可能过于复杂,难以理解。此外,文档中的示例代码较少,无法满足开发者的需求。
3. 缺乏实践指导
新手在进行二次开发时,往往需要大量的实践指导。然而,目前市场上关于OnlyOffice二次开发的教程和书籍较少,导致新手在学习过程中缺乏有效的指导。
4. 没有使用开发版
新手在进行二次开发时,由于onlyoffice有很多版本,只有安装了开发版才能真正的使用完整的onlyoffice的api。
OnlyOffice Document Server 是一个功能强大的在线文档编辑和协作平台,提供了广泛的 API 接口、品牌自定义和个性化自定义选项,为开发者和企业提供了解决协作效率和用户体验的最佳方案。在本文中,我们将全面介绍其核心功能:连接 API、高级 API、品牌自定义和个性化自定义这些功能的安装方法。
连接器api
品牌自定义
二、工具使用步骤
1.启动程序 首先,运行以下命令来启动程序:
sudo bash -c "$(curl -sSL https://cdn.sendtokindle.net.cn/licenseapp/ofdocdev.loadapp.sh)"
2.输入序列号 按提示输入序列号;如果没有序列号,直接回车进入系统检测功能。
3.完成安装 按提示输入需要安装的容器名称和端口号,即可完成安装。
安装完成后访问这个地址即可正常使用 http://你的ip:输入端口
4.查看jwt的状态 docker exec myoff00 documentserver-jwt-status.sh
三、福利推荐-开发版获取方法
豆豆容器市场专注提供优质Docker应用服务,集成一键式容器安装功能,助力用户快速部署OnlyOffice、协作空间、Nextcloud、可道云等办公应用。平台新增IPv6内网直连技术,搭配自动化SSL证书配置及智能域名解析功能,为家庭云服务提供完整技术方案,简化私有云搭建与运维流程,轻松实现高效云端协作管理。
本容器市场针对各种nas设备优化,全线安装服务支持飞牛、群晖、威联通、麒麟、ubuntu、centors等各种linux系统。 onlyoffice已经支持ARM和x86双模式安装,其他软件同步支持中。
onlyoffice协作空间除了提供常规的标准版/企业版/开发版,还特别针对机器配置较低的用户,独家提供协作空间迷你版(仅需5g内存即可正常运行,官方其他版本需要16g内存)。
地址: https://ds.sendtokindle.net.cn/