Commit 1d9aabca authored by Oleg.Korshul's avatar Oleg.Korshul

api methods for autotests

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65077 954022d7-b5bf-4e40-9824-e11837661b57
parent 7fb43cee
...@@ -7629,6 +7629,16 @@ window["asc_docs_api"].prototype["asc_nativeGetPDF"] = function() ...@@ -7629,6 +7629,16 @@ window["asc_docs_api"].prototype["asc_nativeGetPDF"] = function()
return _renderer.Memory.data; return _renderer.Memory.data;
}; };
// cool api (autotests)
window.asc_docs_api.prototype["Add_Text"] = window.asc_docs_api.prototype.Add_Text = function(_text)
{
this.WordControl.m_oLogicDocument.TextBox_Put(_text);
};
window.asc_docs_api.prototype["Add_NewParagraph"] = window.asc_docs_api.prototype.Add_NewParagraph = function()
{
this.WordControl.m_oLogicDocument.Add_NewParagraph(_text);
};
// desktop editor spellcheck // desktop editor spellcheck
function CSpellCheckApi_desktop() function CSpellCheckApi_desktop()
{ {
......
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