Commit a419f8a2 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@60280 954022d7-b5bf-4e40-9824-e11837661b57
parent 639592fd
......@@ -530,6 +530,10 @@ DrawingObjectsController.prototype.setParagraphNumbering = function(Bullet)
DrawingObjectsController.prototype.setParagraphIndent = function(Indent)
{
if(isRealObject(Indent) && isRealNumber(Indent.Left) && Indent.Left < 0)
{
Indent.Left = 0;
}
this.applyDocContentFunction(CDocumentContent.prototype.Set_ParagraphIndent, [Indent], CTable.prototype.Set_ParagraphIndent);
};
......
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