Commit ffcc28bf authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Баг с перескакиванием автофигуры в левый верхний угол

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67135 954022d7-b5bf-4e40-9824-e11837661b57
parent 0b4016c3
......@@ -2978,6 +2978,25 @@ CShape.prototype =
while ( recalcresult2_End !== RecalcResult )
RecalcResult = oDocContent.Recalculate_Page( CurPage++, true );
oRet.contentH = oDocContent.Get_SummaryHeight();
if(this.bWordShape)
{
this.m_oSectPr = null;
var oParaDrawing = getParaDrawing(this);
if(oParaDrawing)
{
var oParentParagraph = oParaDrawing.Get_ParentParagraph();
if(oParentParagraph)
{
var oSectPr = oParentParagraph.Get_SectPr();
if(oSectPr)
{
this.m_oSectPr = new CSectionPr();
this.m_oSectPr.Copy(oSectPr);
}
}
}
}
}
return oRet;
},
......
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