Commit ec79557f authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26550 - Не подсвечивается Background Color в правом меню для таблицы при смене цветовой схемы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59194 954022d7-b5bf-4e40-9824-e11837661b57
parent 0bb8f2e3
......@@ -5001,7 +5001,13 @@ asc_docs_api.prototype.sync_TblPropCallback = function(tblProp)
// tblProp.Locked = true;
// TODO: вызвать функцию asc_onInitTableTemplatesв зависимости от TableLook
if(tblProp.CellsBackground && tblProp.CellsBackground.Unifill)
{
var LogicDocument = this.WordControl.m_oLogicDocument;
tblProp.CellsBackground.Unifill.check(LogicDocument.Get_Theme(), LogicDocument.Get_ColorMap());
var RGBA = tblProp.CellsBackground.Unifill.getRGBAColor();
tblProp.CellsBackground.Color = new CDocumentColor(RGBA.R, RGBA.G, RGBA.B, false);
}
this.SelectedObjectsStack[this.SelectedObjectsStack.length] = new CSelectedObject( c_oAscTypeSelectElement.Table, new CTableProp( tblProp ));
};
asc_docs_api.prototype.sync_TblWrapStyleChangedCallback = function(style){
......
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