Commit 2e979dcc authored by Oleg Korshul's avatar Oleg Korshul

1) добавил недостающие функции

2) константы, которых не хватает для теста, заливать не стал - наверное они просто не залиты
var historyitem_Styles_ChangeDefaultTextPr = 3;
var historyitem_Styles_ChangeDefaultParaPr = 4;
parent eeeb5a8b
......@@ -243,6 +243,13 @@
//
//------------------------------------------------------------------------------------------------------------------
/**
* Create new history point
*/
ApiDocument.prototype.Create_NewHistoryPoint = function()
{
this.Document.Create_NewHistoryPoint();
};
/**
* Get the number of elements.
* @returns {number}
......@@ -2013,6 +2020,9 @@
Api.prototype["CreateParagraph"] = Api.prototype.CreateParagraph;
Api.prototype["CreateTable"] = Api.prototype.CreateTable;
ApiDocument.prototype["Create_NewHistoryPoint"] = ApiDocument.prototype.Create_NewHistoryPoint;
ApiDocument.prototype["GetDefaultTextPr"] = ApiDocument.prototype.GetDefaultTextPr;
ApiDocument.prototype["GetDefaultParaPr"] = ApiDocument.prototype.GetDefaultParaPr;
ApiDocument.prototype["GetElementsCount"] = ApiDocument.prototype.GetElementsCount;
ApiDocument.prototype["GetElement"] = ApiDocument.prototype.GetElement;
ApiDocument.prototype["AddElement"] = ApiDocument.prototype.AddElement;
......@@ -2085,6 +2095,7 @@
ApiSection.prototype["RemoveFooter"] = ApiSection.prototype.RemoveFooter;
ApiSection.prototype["SetTitlePage"] = ApiSection.prototype.SetTitlePage;
ApiTable.prototype["SetJc"] = ApiTable.prototype.SetJc;
ApiTable.prototype["GetRowsCount"] = ApiTable.prototype.GetRowsCount;
ApiTable.prototype["GetRow"] = ApiTable.prototype.GetRow;
ApiTable.prototype["MergeCells"] = ApiTable.prototype.MergeCells;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment