Commit 1b934c45 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

send table styles, para shade


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58411 954022d7-b5bf-4e40-9824-e11837661b57
parent 717280e6
......@@ -144,6 +144,8 @@ function CTableOutlineDr()
this.TableStylesSheckLook = null;
this.TableStylesSheckLookFlag = false;
this.TableStylesSendOne = false;
this.Native = window["native"];
this.checkMouseDown = function(pos, drDoc)
......@@ -589,6 +591,8 @@ function CDrawingDocument()
this.TableOutlineDr = new CTableOutlineDr();
}
var _table_styles = null;
CDrawingDocument.prototype =
{
AfterLoad : function()
......@@ -1511,8 +1515,24 @@ CDrawingDocument.prototype =
}
},
CheckTableStylesOne : function()
{
var _tableLook = new CTablePropLook(undefined);
_tableLook.FirstRow = true;
_tableLook.BandHor = true;
_tableLook.FirstCol = true;
this.CheckTableStyles(_tableLook);
this.TableStylesSendOne = true;
},
CheckTableStyles : function(tableLook)
{
if (true === this.TableStylesSendOne)
return;
if (this.TableStylesSheckLookFlag)
{
this.TableStylesSheckLook = tableLook;
......
......@@ -17,6 +17,7 @@ asc_docs_api.prototype.Internal_Update_Ind_Right = function(Right)
asc_docs_api.prototype["NativeAfterLoad"] = function()
{
this.WordControl.m_oDrawingDocument.AfterLoad();
this.WordControl.m_oLogicDocument.Set_UseTextShd(false);
};
asc_docs_api.prototype["GetNativePageMeta"] = function(pageIndex)
{
......
......@@ -7802,6 +7802,9 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File)
if (this.GenerateNativeStyles !== undefined)
{
this.GenerateNativeStyles();
if (this.WordControl.m_oDrawingDocument.CheckTableStylesOne !== undefined)
this.WordControl.m_oDrawingDocument.CheckTableStylesOne();
}
};
......
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