Commit 50154fec 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@60449 954022d7-b5bf-4e40-9824-e11837661b57
parent 03366069
This diff is collapsed.
......@@ -3457,39 +3457,32 @@ CPresentation.prototype =
alignLeft : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignLeft, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignLeft(editor.bAlignBySelected);
},
alignRight : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignRight, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignRight(editor.bAlignBySelected);
},
alignTop : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignTop, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignTop(editor.bAlignBySelected);
},
alignBottom : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignBottom, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignBottom(editor.bAlignBySelected);
},
alignCenter : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignCenter, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignCenter(editor.bAlignBySelected);
},
alignMiddle : function()
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.checkSelectedObjectsAndCallback(this.Slides[this.CurPage].graphicObjects.alignMiddle, [editor.bAlignBySelected]);
this.Document_UpdateInterfaceState();
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.alignMiddle(editor.bAlignBySelected);
},
distributeHor : function()
......
......@@ -70,7 +70,7 @@ function asc_docs_api(name)
this.isPageBreakBefore = false;
this.isKeepLinesTogether = false;
this.isPresentationEditor = true;
this.bAlignBySelected = true;
this.bAlignBySelected = false;
this.isMobileVersion = false;
this.isPaintFormat = false;
......
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