Commit 9e2a8596 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с отрисовкой знака параграфа (баг 29284).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64765 954022d7-b5bf-4e40-9824-e11837661b57
parent a0aee5d8
...@@ -3382,6 +3382,9 @@ ParaRun.prototype.Recalculate_Range_Spaces = function(PRSA, _CurLine, _CurRange, ...@@ -3382,6 +3382,9 @@ ParaRun.prototype.Recalculate_Range_Spaces = function(PRSA, _CurLine, _CurRange,
case para_End: case para_End:
{ {
var SectPr = PRSA.Paragraph.Get_SectionPr(); var SectPr = PRSA.Paragraph.Get_SectionPr();
if (!PRSA.Paragraph.LogicDocument || PRSA.Paragraph.LogicDocument !== PRSA.Paragraph.Parent)
SectPr = undefined;
if ( undefined !== SectPr ) if ( undefined !== SectPr )
{ {
// Нас интересует следующая секция // Нас интересует следующая секция
...@@ -4233,6 +4236,8 @@ ParaRun.prototype.Draw_Elements = function(PDSE) ...@@ -4233,6 +4236,8 @@ ParaRun.prototype.Draw_Elements = function(PDSE)
case para_End: case para_End:
{ {
var SectPr = Para.Get_SectionPr(); var SectPr = Para.Get_SectionPr();
if (!Para.LogicDocument || Para.LogicDocument !== Para.Parent)
SectPr = undefined;
if ( undefined === SectPr ) if ( undefined === SectPr )
{ {
......
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