v1.2.7
This commit is contained in:
parent
9c416109f5
commit
84be550383
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.2.6
|
||||
// Version 1.2.7
|
||||
|
||||
Function TOfficeObj(n);
|
||||
Begin
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.2.6
|
||||
// Version 1.2.7
|
||||
|
||||
Type TSDocxFile = Class
|
||||
///Version: V1.0 2022-09-20
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.2.6
|
||||
// Version 1.2.7
|
||||
|
||||
Type TSExcelFile = Class
|
||||
///Version: V1.0 2022-08-08
|
||||
|
|
|
|||
|
|
@ -1042,11 +1042,11 @@ Type xlsxWorkBook = Class
|
|||
Function GetSheetDefaultColWidth(sheet);
|
||||
Begin
|
||||
sheet_xml_file := GetSheetXmlFile(sheet);
|
||||
if not ifObj(sheet_xml_file) then return -1;
|
||||
if not ifObj(sheet_xml_file) then return nil;
|
||||
work_node := sheet_xml_file.FirstChildElement('worksheet');
|
||||
node := work_node.FirstChildElement('sheetFormatPr');
|
||||
flag := trystrtofloat(node.GetAttribute('defaultColWidth'), width);
|
||||
return flag ? width : -1;
|
||||
return flag ? width : nil;
|
||||
End
|
||||
|
||||
Function SetDefaultSheet(sheet);
|
||||
|
|
|
|||
Loading…
Reference in New Issue