Commit b939e14d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

ошибки при merge изменений в один документ.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48316 954022d7-b5bf-4e40-9824-e11837661b57
parent 19cd4166
......@@ -2363,7 +2363,14 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap)
{
var row = cell.Row;
var table = row.Table;
if(table.Internal_GetVertMergeCount( nRowIndex, row.Get_CellInfo( nColIndex ).StartGridCol, cell.Get_GridSpan() ) > 1)
var BeforeInfo = row.Get_Before();
var StartGridCol = BeforeInfo.GridBefore;
for(var i = 0; i < nColIndex; ++i)
{
var cellTemp = row.Get_Cell( i );
StartGridCol += cellTemp.Get_GridSpan();
}
if(table.Internal_GetVertMergeCount( nRowIndex, StartGridCol, cell.Get_GridSpan() ) > 1)
vMerge = vmerge_Restart;
}
this.bs.WriteItem(c_oSerDocTableType.Cell_Pr, function(){oThis.btblPrs.WriteCellPr(cell.Pr, vMerge);});
......
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