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

Bug 26722 - Сбрасывается выделение с автофигуры после перемещения между...

Bug 26722 - Сбрасывается выделение с автофигуры после перемещения между колонтитулами на разных страницах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59195 954022d7-b5bf-4e40-9824-e11837661b57
parent ec79557f
......@@ -928,8 +928,9 @@ CShape.prototype.setRecalcObject = function(object)
};
CShape.prototype.setStartPage = function(pageIndex)
CShape.prototype.setStartPage = function(pageIndex, bNoResetSelectPage)
{
if(!(bNoResetSelectPage === true))
this.selectStartPage = pageIndex;
var content = this.getDocContent && this.getDocContent();
content && content.Set_StartPage(pageIndex);
......
......@@ -4431,7 +4431,7 @@ ParaDrawing.prototype =
}
this.setPageIndex(pageIndex);
if(typeof this.GraphicObj.setStartPage === "function")
this.GraphicObj.setStartPage(pageIndex);
this.GraphicObj.setStartPage(pageIndex, this.DocumentContent && this.DocumentContent.Is_HdrFtr());
var _x = !this.PositionH.Align ? x - this.GraphicObj.bounds.x : x;
var _y = !this.PositionV.Align ? y - this.GraphicObj.bounds.y : y;
this.graphicObjects.addObjectOnPage(pageIndex, this.GraphicObj);
......
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