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

дополнение к Revision: 48316

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48317 954022d7-b5bf-4e40-9824-e11837661b57
parent b939e14d
......@@ -2363,13 +2363,20 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap)
{
var row = cell.Row;
var table = row.Table;
var oCellInfo = row.Get_CellInfo( nColIndex );
var StartGridCol = 0;
if(null != oCellInfo)
StartGridCol = oCellInfo.StartGridCol;
else
{
var BeforeInfo = row.Get_Before();
var StartGridCol = BeforeInfo.GridBefore;
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;
}
......
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