Commit 970b8719 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 24284 - [DOCX] Увеличенное расстояние между строками в автофигуре при открытии документа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59160 954022d7-b5bf-4e40-9824-e11837661b57
parent f283d8b6
......@@ -517,6 +517,13 @@ CShape.prototype.recalculateShapeStyleForParagraph = function()
{
var styles = editor.WordControl.m_oLogicDocument.Styles;
this.textStyleForParagraph = {TextPr: styles.Default.TextPr.Copy(), ParaPr: styles.Default.ParaPr.Copy()};
var DefId = styles.Default.Paragraph;
var DefaultStyle = styles.Style[DefId];
if(DefaultStyle)
{
this.textStyleForParagraph.ParaPr.Merge( DefaultStyle.ParaPr );
this.textStyleForParagraph.TextPr.Merge( DefaultStyle.TextPr );
}
//this.textStyleForParagraph.ParaPr.Spacing.Line = 1;
this.textStyleForParagraph.TextPr.Color.Auto = false;
if(this.style && this.style.fontRef)
......
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