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);
|
Function TOfficeObj(n);
|
||||||
Begin
|
Begin
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.2.6
|
// Version 1.2.7
|
||||||
|
|
||||||
Type TSDocxFile = Class
|
Type TSDocxFile = Class
|
||||||
///Version: V1.0 2022-09-20
|
///Version: V1.0 2022-09-20
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.2.6
|
// Version 1.2.7
|
||||||
|
|
||||||
Type TSExcelFile = Class
|
Type TSExcelFile = Class
|
||||||
///Version: V1.0 2022-08-08
|
///Version: V1.0 2022-08-08
|
||||||
|
|
|
||||||
|
|
@ -1042,11 +1042,11 @@ Type xlsxWorkBook = Class
|
||||||
Function GetSheetDefaultColWidth(sheet);
|
Function GetSheetDefaultColWidth(sheet);
|
||||||
Begin
|
Begin
|
||||||
sheet_xml_file := GetSheetXmlFile(sheet);
|
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');
|
work_node := sheet_xml_file.FirstChildElement('worksheet');
|
||||||
node := work_node.FirstChildElement('sheetFormatPr');
|
node := work_node.FirstChildElement('sheetFormatPr');
|
||||||
flag := trystrtofloat(node.GetAttribute('defaultColWidth'), width);
|
flag := trystrtofloat(node.GetAttribute('defaultColWidth'), width);
|
||||||
return flag ? width : -1;
|
return flag ? width : nil;
|
||||||
End
|
End
|
||||||
|
|
||||||
Function SetDefaultSheet(sheet);
|
Function SetDefaultSheet(sheet);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue