Commit dd371e6f authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 28538 - [AutoShape] Остаются табы на линейке при изменении размера автофигуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61182 954022d7-b5bf-4e40-9824-e11837661b57
parent 17b3194d
......@@ -11761,7 +11761,7 @@ CDocument.prototype =
}
else
{
this.DrawingObjects.documentUpdateInterfaceState();
this.DrawingObjects.resetInterfaceTextPr();
this.Interface_Update_DrawingPr();
}
}
......
......@@ -1377,6 +1377,38 @@ CGraphicObjects.prototype =
}
},
resetInterfaceTextPr: function()
{
var oTextPr = new CTextPr();
oTextPr.Set_FromObject(
{
Bold: false,
Italic: false,
Underline: false,
Strikeout: false,
FontFamily:{
Name : "", Index : -1
},
FontSize: null,
VertAlign: null,
HighLight: highlight_None,
Spacing: null,
DStrikeout: false,
Caps: null,
SmallCaps: null,
Position: null,
Lang: null
}
);
editor.UpdateTextPr(oTextPr);
editor.Update_ParaTab(Default_Tab_Stop, new CParaTabs());
editor.sync_ParaSpacingLine( new CParaSpacing() );
editor.Update_ParaInd(new CParaInd());
editor.sync_PrAlignCallBack(null);
editor.sync_ParaStyleName(null);
editor.sync_ListType({ Type : -1, SubType : -1 });
},
isNeedUpdateRulers: function()
{
if(this.selectedObjects.length === 1 && this.selectedObjects[0].getDocContent && this.selectedObjects[0].getDocContent())
......
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