Commit 468169a1 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

перерисовка диаграмм при ресайзе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52026 954022d7-b5bf-4e40-9824-e11837661b57
parent b5c561b3
...@@ -730,6 +730,12 @@ function CEditorPage(api) ...@@ -730,6 +730,12 @@ function CEditorPage(api)
oWordControl.CheckZoom(); oWordControl.CheckZoom();
oWordControl.CalculateDocumentSize(); oWordControl.CalculateDocumentSize();
var lCurPage = oWordControl.m_oDrawingDocument.SlideCurrent; var lCurPage = oWordControl.m_oDrawingDocument.SlideCurrent;
if (oWordControl.m_oLogicDocument)
{
oWordControl.m_oLogicDocument.redrawCharts();
}
this.GoToPage(lCurPage); this.GoToPage(lCurPage);
if (-1 != lCurPage) if (-1 != lCurPage)
...@@ -746,11 +752,6 @@ function CEditorPage(api) ...@@ -746,11 +752,6 @@ function CEditorPage(api)
oWordControl.m_bIsUpdateTargetNoAttack = true; oWordControl.m_bIsUpdateTargetNoAttack = true;
oWordControl.m_bIsRePaintOnScroll = true; oWordControl.m_bIsRePaintOnScroll = true;
if (oWordControl.m_oLogicDocument)
{
oWordControl.m_oLogicDocument.redrawCharts();
}
oWordControl.OnScroll(); oWordControl.OnScroll();
if (!oWordControl.m_oDrawingDocument.IsEmptyPresentation) if (!oWordControl.m_oDrawingDocument.IsEmptyPresentation)
......
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