Commit b18ca4c5 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Добавлена функция для получения номера пересчета. Сделано, чтобы функция для...

Добавлена функция для получения номера пересчета. Сделано, чтобы функция для теста добавления новых параграфов работала нормально.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65360 954022d7-b5bf-4e40-9824-e11837661b57
parent 89321f6c
......@@ -7447,7 +7447,12 @@ window["asc_docs_api"].prototype["Add_Text"] = function(_text)
};
window["asc_docs_api"].prototype["Add_NewParagraph"] = function()
{
this.WordControl.m_oLogicDocument.Add_NewParagraph(true);
var LogicDocument = this.WordControl.m_oLogicDocument;
if (false === LogicDocument.Document_Is_SelectionLocked(changestype_Document_Content_Add))
{
LogicDocument.Create_NewHistoryPoint(historydescription_Document_EnterButton);
LogicDocument.Add_NewParagraph(true);
}
};
window["asc_docs_api"].prototype["Cursor_MoveLeft"] = function()
{
......@@ -7465,7 +7470,10 @@ window["asc_docs_api"].prototype["Cursor_MoveDown"] = function()
{
this.WordControl.m_oLogicDocument.Cursor_MoveDown();
};
window["asc_docs_api"].prototype["Get_DocumentRecalcId"] = function(value)
{
return this.WordControl.m_oLogicDocument.RecalcId;
};
window["asc_docs_api"].prototype["asc_IsSpellCheckCurrentWord"] = function()
{
return this.IsSpellCheckCurrentWord;
......
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