v1.3.6
This commit is contained in:
parent
845c6bb554
commit
880e03c41a
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.3.5
|
||||
// Version 1.3.6
|
||||
|
||||
Function TOfficeObj(n);
|
||||
Begin
|
||||
|
|
@ -14445,6 +14445,23 @@ Type TTable = Class(DocObject, TTableImpl)
|
|||
TblGrid.GridCol := gridArr;
|
||||
End;
|
||||
|
||||
Function RowHeight(row, height);
|
||||
Begin
|
||||
if row <= 0 or row > Rows() then return;
|
||||
node := node_.FirstChildElement('w:tr');
|
||||
cnt := row - 1;
|
||||
while(cnt) do
|
||||
begin
|
||||
node := node.NextElement('w:tr');
|
||||
cnt--;
|
||||
end
|
||||
trnode := node.FirstChildElement("w:trPr");
|
||||
if not ifObj(trnode) then trnode := node.InsertFirstChild('element', 'w:trPr');
|
||||
node := trnode.FirstChildElement('w:trHeight');
|
||||
if not ifObj(node) then node := trnode.InsertFirstChild('element', 'w:trHeight');
|
||||
node.SetAttribute('w:val', height);
|
||||
End;
|
||||
|
||||
Property Format read readFormat;
|
||||
Function readFormat();
|
||||
Begin
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.3.5
|
||||
// Version 1.3.6
|
||||
|
||||
Type TSDocxFile = Class
|
||||
///Version: V1.0 2022-09-20
|
||||
|
|
@ -206,7 +206,7 @@ Type TSDocxFile = Class
|
|||
End;
|
||||
|
||||
///word文档指定表格
|
||||
///n: int 第n个表格
|
||||
///n: int 从0开始,第n个表格
|
||||
///返回:TTable对象
|
||||
Function GetTable(n);
|
||||
Begin
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.3.5
|
||||
// Version 1.3.6
|
||||
|
||||
Type TSExcelFile = Class
|
||||
///Version: V1.0 2022-08-08
|
||||
|
|
|
|||
Loading…
Reference in New Issue