TSOffice/更新日志.md

140 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 更新日志
## 2023-2-2
### V1.1.4
#### word
1. 修复文本框插入图片兼容性问题
2. 修复项目符号问题
#### excel
1. 新增`GetDefaultFont`
## 2023-2-1
### V1.1.3
#### word
1. 修复获取段落样式ID失败问题
2. 修复文本框添加图片失败问题
#### excel
1. 新增`SetDefaultFont`
## 2023-1-31
### V1.1.2
#### word
1. 完善帮助文档
#### excel
1. 新增`SetPane`
2. 新增`NewSheetView`
3. 单元格样式新增属性“文本方向”: `TAlignment::TextRotation`
## 2023-1-18
### V1.1.1
#### word
1. 兼容文本框`TextBox`
2. 修正`TParagraph::TabStops`
3. 修复获取图标列表失败问题
4. 修复`TDocxStyles::Default`
#### excel
1. 新增`ProtectSheet`和`UnProtectSheet`
2. 修复`SetSheetViewOptions`和`GetSheetViewOptions`
## 2023-1-16
### V1.1.0
#### word
1. 修复页眉页脚显示问题
2. 修复表格插入列宽失败问题
3. 优化`InsertTable`性能
#### excel
1. 新增`CopySheet`
## 2023-1-12
### V1.0.9
#### word
1. 新增ExecInnerTSl
2. 新增修改chart图数据
3. 修复`TNumbering::AddStyleByInnerXml`错误
4. 完善帮助文档
## 2023-1-11
### V1.0.8
#### word
1. 修复`copyFormat`和`AddTableContent`
## 2023-1-10
### V1.0.7
#### word
1. 修复chart图兼容性问题
### V1.0.6
中文自动转换API由`class(xlsxXml).CodePage('中文');`调整为`TOfficeApi().CodePage('中文');`
## 2023-1-5
### V1.0.5
❗ 部署方式发生变化,简化了环境部署,详见项目[README](./README.md)
#### word
1. 修复 Properties执行报错
2. 修复格式刷
#### excel
1. 移除API `JoinCellName`
2. 修改`RGBToHSL`与`HSLToRGB`返回值
3. 修复获取超链接`GetCellHyperLink`失败问题
4. 修复一个对象新建文件打开文件之后引发的xlsx文件错误问题
5. 修复`GetCoreProps`,`GetAppProps`失败问题
## 2022-12-30
### V1.0.4
#### word
1. 初步支持中文
#### excel
1. 初步支持中文
2. `SetSheetName``NewSheet` 返回值不再是`[err, errinfo]`
3. 修复清除单元格`ClearCell`不正确问题
4. 修复`SetCellFormula``GetCellFormula`问题
5. 修复`SetRowVisible``GetRowVisible``SetSheetVisible`问题
如何设置字符集(中文支持)?
★用户的脚本可能是UFT8格式或可能是GBK码格式系统提供API自动设置当前字符集环境`class(xlsxXml).CodePage('中文');` 在文件头设置该代码后,系统会自动检测当前的环境字符集