1. 升级装饰器和适配器代码
2. 修复components的bug
This commit is contained in:
+19
-19
@@ -161,95 +161,95 @@ end;
|
||||
|
||||
function Components.ReadRels();
|
||||
begin
|
||||
return self.GetProp(rels_, "rels");
|
||||
return {self.}GetProp(rels_, "rels");
|
||||
end;
|
||||
|
||||
function Components.ReadApp();
|
||||
begin
|
||||
return self.GetProp(app_, "app");
|
||||
return {self.}GetProp(app_, "app");
|
||||
end;
|
||||
|
||||
function Components.ReadCore();
|
||||
begin
|
||||
return self.GetProp(core_, "core");
|
||||
return {self.}GetProp(core_, "core");
|
||||
end;
|
||||
|
||||
function Components.ReadDocumentRels();
|
||||
begin
|
||||
return self.GetProp(document_rels_, "document_rels");
|
||||
return {self.}GetProp(document_rels_, "document_rels");
|
||||
end;
|
||||
|
||||
function Components.ReadDocument();
|
||||
begin
|
||||
return self.GetProp(document_, "document");
|
||||
return {self.}GetProp(document_, "document");
|
||||
end;
|
||||
|
||||
function Components.Readendnotes();
|
||||
begin
|
||||
return self.GetProp(endnotes_, "endnotes");
|
||||
return {self.}GetProp(endnotes_, "endnotes");
|
||||
end;
|
||||
|
||||
function Components.ReadFontTable();
|
||||
begin
|
||||
return self.GetProp(font_table_, "font_table");
|
||||
return {self.}GetProp(font_table_, "font_table");
|
||||
end;
|
||||
|
||||
function Components.ReadFootnotes();
|
||||
begin
|
||||
return self.GetProp(footnotes_, "footnotes");
|
||||
return {self.}GetProp(footnotes_, "footnotes");
|
||||
end;
|
||||
|
||||
function Components.ReadSettings();
|
||||
begin
|
||||
return self.GetProp(settings_, "settings");
|
||||
return {self.}GetProp(settings_, "settings");
|
||||
end;
|
||||
|
||||
function Components.ReadStyles();
|
||||
begin
|
||||
return self.GetProp(styles_, "styles");
|
||||
return {self.}GetProp(styles_, "styles");
|
||||
end;
|
||||
|
||||
function Components.ReadWebSettings();
|
||||
begin
|
||||
return self.GetProp(web_settings_, "web_settings");
|
||||
return {self.}GetProp(web_settings_, "web_settings");
|
||||
end;
|
||||
|
||||
function Components.ReadThemes(_index);
|
||||
begin
|
||||
return self.GetPropArr(theme_array_, "theme", _index);
|
||||
return {self.}GetPropArr(theme_array_, "theme", _index);
|
||||
end;
|
||||
|
||||
function Components.ReadContentTypes();
|
||||
begin
|
||||
return self.GetProp(content_types_, "content_types");
|
||||
return {self.}GetProp(content_types_, "content_types");
|
||||
end;
|
||||
|
||||
function Components.ReadChartRels(_index: integer);
|
||||
begin
|
||||
return self.GetPropArr(chart_rels_array_, "chart_rels", _index);
|
||||
return {self.}GetPropArr(chart_rels_array_, "chart_rels", _index);
|
||||
end;
|
||||
|
||||
function Components.ReadCharts(_index: integer);
|
||||
begin
|
||||
return self.GetPropArr(chart_array_, "chart", _index);
|
||||
return {self.}GetPropArr(chart_array_, "chart", _index);
|
||||
end;
|
||||
|
||||
function Components.ReadComments();
|
||||
begin
|
||||
return self.GetProp(comments_, "comments");
|
||||
return {self.}GetProp(comments_, "comments");
|
||||
end;
|
||||
|
||||
function Components.ReadHeaders(_index: integer);
|
||||
begin
|
||||
return self.GetPropArr(header_array_, "header", _index);
|
||||
return {self.}GetPropArr(header_array_, "header", _index);
|
||||
end;
|
||||
|
||||
function Components.ReadFooters(_index: integer);
|
||||
begin
|
||||
return self.GetPropArr(footer_array_, "footer", _index);
|
||||
return {self.}GetPropArr(footer_array_, "footer", _index);
|
||||
end;
|
||||
|
||||
function Components.ReadNumbering();
|
||||
begin
|
||||
return self.GetProp(numbering_, "numbering");
|
||||
return {self.}GetProp(numbering_, "numbering");
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user