Commit 00c6974b 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@50341 954022d7-b5bf-4e40-9824-e11837661b57
parent b2954ec4
......@@ -293,6 +293,54 @@ CGraphicFrame.prototype =
this.graphicObject.Recalc_CompiledPr();
},
Hyperlink_CanAdd: function(bCheck)
{
if(this.graphicObject)
return this.graphicObject.Hyperlink_CanAdd(bCheck);
return false;
},
Hyperlink_Check: function(bCheck)
{
if(this.graphicObject)
return this.graphicObject.Hyperlink_Check(bCheck);
return false;
},
Hyperlink_Add : function(HyperProps)
{
if(this.graphicObject)
{
this.graphicObject.Hyperlink_Add(HyperProps);
this.recalcInfo.recalculateContent = true;
this.recalcInfo.recalculateTransform = true;
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
}
},
Hyperlink_Modify : function(HyperProps)
{
if(this.graphicObject)
{
this.graphicObject.Hyperlink_Modify(HyperProps);
this.recalcInfo.recalculateContent = true;
this.recalcInfo.recalculateTransform = true;
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
}
},
Hyperlink_Remove : function()
{
if(this.graphicObject)
{
this.graphicObject.Hyperlink_Remove();
this.recalcInfo.recalculateContent = true;
this.recalcInfo.recalculateTransform = true;
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
}
},
getTransformMatrix: function()
{
return this.transform;
......
......@@ -12022,6 +12022,17 @@ Paragraph.prototype =
if ( null != Comment )
Comment.Set_EndInfo( 0, 0, 0, 0, this.Get_Id() );
}
else if(Element instanceof ParaTextPr)
{
var Item = Element;
if(isRealObject(Item.Value) && isRealObject(Item.Value.unifill))
{
if(this.Parent.Parent instanceof CTextBody)
{
this.Parent.Parent.textPropsForRecalc.push(Item);
}
}
}
// TODO: Подумать над тем как по минимуму вставлять отметки совместного редактирования
this.Content.splice( Pos, 0, new ParaCollaborativeChangesEnd() );
......
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