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,12 +2363,19 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap) ...@@ -2363,12 +2363,19 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap)
{ {
var row = cell.Row; var row = cell.Row;
var table = row.Table; var table = row.Table;
var BeforeInfo = row.Get_Before(); var oCellInfo = row.Get_CellInfo( nColIndex );
var StartGridCol = BeforeInfo.GridBefore; var StartGridCol = 0;
for(var i = 0; i < nColIndex; ++i) if(null != oCellInfo)
StartGridCol = oCellInfo.StartGridCol;
else
{ {
var cellTemp = row.Get_Cell( i ); var BeforeInfo = row.Get_Before();
StartGridCol += cellTemp.Get_GridSpan(); 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) if(table.Internal_GetVertMergeCount( nRowIndex, StartGridCol, cell.Get_GridSpan() ) > 1)
vMerge = vmerge_Restart; 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