1. 优化单元格合并
2. 支持单元格垂直居中
This commit is contained in:
@@ -12,15 +12,15 @@ public
|
||||
function GetHdrRelsAdapter(target: string): RelationShipsAdapter;
|
||||
|
||||
private
|
||||
styles_deserialize_flag_;
|
||||
styles_adapter_;
|
||||
document_rels_adapter_;
|
||||
numbering_ware_;
|
||||
tbl_style_pr_hash_;
|
||||
ftr_hash_;
|
||||
hdr_hash_;
|
||||
hdr_rel_hash_;
|
||||
ftr_rel_hash_;
|
||||
styles_deserialize_flag_: boolean;
|
||||
styles_adapter_: StylesAdapter;
|
||||
document_rels_adapter_: RelationShipsAdapter;
|
||||
numbering_ware_: TSNumberingWare;
|
||||
tbl_style_pr_hash_: array of TblStylePr;
|
||||
ftr_hash_: array of Ftr;
|
||||
hdr_hash_: array of Hdr;
|
||||
hdr_rel_hash_: array of RelationShipsAdapter;
|
||||
ftr_rel_hash_: array of RelationShipsAdapter;
|
||||
end;
|
||||
|
||||
function TSDocxComponentsWare.Create();
|
||||
@@ -110,7 +110,7 @@ end;
|
||||
function TSDocxComponentsWare.GetFtrRelsAdapter(target: string): RelationShipsAdapter;
|
||||
begin
|
||||
if ftr_rel_hash_[target] then return ftr_rel_hash_[target];
|
||||
index := replaceStr(replaceStr(target, "header", ""), ".xml", "");
|
||||
index := replaceStr(replaceStr(target, "footer", ""), ".xml", "");
|
||||
obj := {self.}FooterRels(strtoint(index));
|
||||
obj.Deserialize();
|
||||
rels_adapter := new RelationShipsAdapter(obj);
|
||||
|
||||
Reference in New Issue
Block a user