From 0c73a4c0d17f685c48596413931b458dde0650e8 Mon Sep 17 00:00:00 2001 From: csh Date: Wed, 2 Aug 2023 16:32:01 +0800 Subject: [PATCH] v1.3.8 --- funcext/TSOffice/TOfficeObj.tsf | 3 ++- funcext/TSOffice/TSDocxFile.tsf | 2 +- funcext/TSOffice/TSExcelFile.tsf | 2 +- 更新日志.md | 12 +++++++++--- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/funcext/TSOffice/TOfficeObj.tsf b/funcext/TSOffice/TOfficeObj.tsf index ad0c39b..c26b398 100644 --- a/funcext/TSOffice/TOfficeObj.tsf +++ b/funcext/TSOffice/TOfficeObj.tsf @@ -1,4 +1,4 @@ -// Version 1.3.7 +// Version 1.3.8 Function TOfficeObj(n); Begin @@ -13134,6 +13134,7 @@ Type TDocumentBody = Class(DocObject) //picture.Run.Drawing.WInline.b := 5080; //picture.Run.Drawing.WInline.t := 0; //picture.Run.Drawing.WInline.l := 0; + picture.pPr.Alignment := picture.pPr.Alignment ? picture.PPr.Alignment : "distributed"; addPart(posOpt, picture); p := new TPicture(picture.node_); diff --git a/funcext/TSOffice/TSDocxFile.tsf b/funcext/TSOffice/TSDocxFile.tsf index 31b0f4b..6afc5d2 100644 --- a/funcext/TSOffice/TSDocxFile.tsf +++ b/funcext/TSOffice/TSDocxFile.tsf @@ -1,4 +1,4 @@ -// Version 1.3.7 +// Version 1.3.8 Type TSDocxFile = Class ///Version: V1.0 2022-09-20 diff --git a/funcext/TSOffice/TSExcelFile.tsf b/funcext/TSOffice/TSExcelFile.tsf index 6286633..d76434b 100644 --- a/funcext/TSOffice/TSExcelFile.tsf +++ b/funcext/TSOffice/TSExcelFile.tsf @@ -1,4 +1,4 @@ -// Version 1.3.7 +// Version 1.3.8 Type TSExcelFile = Class ///Version: V1.0 2022-08-08 diff --git a/更新日志.md b/更新日志.md index c98270f..0166348 100644 --- a/更新日志.md +++ b/更新日志.md @@ -1,14 +1,20 @@ # 更新日志 +## 2023-8-2 + +### V1.3.8 + +#### word + +修复插入图片后,设置对齐失效问题 + ## 2023-7-26 ### V1.3.7 -新增表格获取高度和宽度方法`table.Height(row) table.Width(col)` - #### word -新增对表格的行高设置`table.RowHeight(row, height)` +新增表格获取高度和宽度方法`table.Height(row) table.Width(col)` ## 2023-7-19