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

используем Selection_CheckParaEnd для определения входит ли конец параграфа в выделение.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55560 954022d7-b5bf-4e40-9824-e11837661b57
parent 99147699
......@@ -3726,7 +3726,7 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa
}
}
if (bLastRun && bUseSelection && ParaEnd < Content.length - 1)
if (bLastRun && bUseSelection && !par.Selection_CheckParaEnd() )
{
this.WriteRun2( function () {
oThis.memory.WriteByte(c_oSerRunType._LastRun);
......
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