Commit 6002f448 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix build

parent 527bf071
...@@ -11713,6 +11713,10 @@ CDocument.prototype.Get_Styles = function() ...@@ -11713,6 +11713,10 @@ CDocument.prototype.Get_Styles = function()
{ {
return this.Styles; return this.Styles;
}; };
CDocument.prototype.CopyStyle = function()
{
return this.Styles.CopyStyle();
};
CDocument.prototype.Get_TableStyleForPara = function() CDocument.prototype.Get_TableStyleForPara = function()
{ {
return null; return null;
......
...@@ -652,7 +652,7 @@ asc_docs_api.prototype.OpenDocument2 = function(url, gObject) ...@@ -652,7 +652,7 @@ asc_docs_api.prototype.OpenDocument2 = function(url, gObject)
{ {
this.InitEditor(); this.InitEditor();
this.DocumentType = 2; this.DocumentType = 2;
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.Get_Styles().CopyStyle(); this.LoadedObjectDS = this.WordControl.m_oLogicDocument.CopyStyle();
g_oIdCounter.Set_Load(true); g_oIdCounter.Set_Load(true);
...@@ -7105,7 +7105,7 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File, ve ...@@ -7105,7 +7105,7 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File, ve
this.InitEditor(); this.InitEditor();
this.DocumentType = 2; this.DocumentType = 2;
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.Get_Styles().CopyStyle(); this.LoadedObjectDS = this.WordControl.m_oLogicDocument.CopyStyle();
g_oIdCounter.Set_Load(true); g_oIdCounter.Set_Load(true);
......
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