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

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48287 954022d7-b5bf-4e40-9824-e11837661b57
parent 33c7392c
......@@ -1121,6 +1121,25 @@ CGraphicObjects.prototype =
}
},
selectionIsTableBorder: function()
{
switch(this.curState.id)
{
case STATES_ID_TEXT_ADD:
{
return sthis.curState.textObject.Selection_Is_TableBorderMove();
break;
}
case STATES_ID_TEXT_ADD_IN_GROUP:
{
if(typeof this.curState.textObject.addInlineImage === "function")
return this.curState.textObject.Selection_Is_TableBorderMove();
break;
}
}
return false;
},
drawPageSelect: function(pageIndex)
......
......@@ -66,6 +66,15 @@ CShape.prototype =
{
},
Selection_Is_TableBorderMove: function()
{
if(isRealObject(this.txBody) && isRealObject(this.txBody.content))
{
return this.txBody.content.Selection_Is_TableBorderMove();
}
return false;
},
createFullCopy : function(parent, container)
{
var _copy = new CShape(parent);
......
......@@ -3463,6 +3463,13 @@ ParaDrawing.prototype =
if(isRealObject(this.GraphicObj) && typeof this.GraphicObj.setParagraphTabs === "function")
this.GraphicObj.setParagraphTabs(tabs);
},
Selection_Is_TableBorderMove: function()
{
if(isRealObject(this.GraphicObj) && typeof this.GraphicObj.Selection_Is_TableBorderMove === "function")
this.GraphicObj.Selection_Is_TableBorderMove();
return false;
},
Update_Position : function(X, Y, PageNum, LastItemW, ColumnStartX, ColumnEndX, Left_Margin, Right_Margin, Page_W, Top_Margin, Bottom_Margin, Page_H, MarginH, MarginV, LineTop, ParagraphTop, PageLimits)
{
this.DocumentContent = this.Parent.Parent;
......
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