Commit ca149645 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@47146 954022d7-b5bf-4e40-9824-e11837661b57
parent f29c04d8
......@@ -1122,6 +1122,19 @@ CGraphicObjects.prototype =
},
drawPageSelect: function(pageIndex)
{
if(this.document.CurPos.Type !== docpostype_HdrFtr)
{
}
else
{
}
},
getTableByXY: function(x, y, pageIndex, documentContent)
{
if(!documentContent.Is_HdrFtr())
......@@ -5382,6 +5395,47 @@ CGraphicObjects.prototype =
this.selectionDraw();
},
drawSelection: function(pageIndex)
{
if(this.document.CurPos.Type !== docpostype_HdrFtr)
{
if(this.curState.id === STATES_ID_TEXT_ADD)
{
if(this.curState.textObject.PageNum === pageIndex)
this.curState.textObject.updateSelectionState();
}
else if(this.curState.id === STATES_ID_TEXT_ADD_IN_GROUP)
{
if(this.curState.textObject.pageIndex === pageIndex)
this.curState.textObject.updateSelectionState();
}
else
{
this.drawingDocument.SelectClear();
this.drawingDocument.TargetEnd();
}
}
else
{
if(this.curState.id === STATES_ID_TEXT_ADD)
{
if(this.curState.textObject.GraphicObj.selectStartPage === pageIndex)
this.curState.textObject.updateSelectionState();
}
else if(this.curState.id === STATES_ID_TEXT_ADD_IN_GROUP)
{
if(this.curState.textObject.selectStartPage === pageIndex)
this.curState.textObject.updateSelectionState();
}
else
{
this.drawingDocument.SelectClear();
this.drawingDocument.TargetEnd();
}
}
this.drawSelect(pageIndex);
},
getAllRasterImagesOnPage: function(pageIndex)
{
var ret = [];
......
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