Commit 8a4680c3 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@59814 954022d7-b5bf-4e40-9824-e11837661b57
parent 531f7614
......@@ -1732,6 +1732,7 @@ CShape.prototype =
default_style.ParaPr.Spacing.Line = 1;
default_style.ParaPr.Spacing.Before = 0;
default_style.ParaPr.Spacing.After = 0;
default_style.ParaPr.Align = align_Center;
if (isRealObject(parent_objects.presentation) && isRealObject(parent_objects.presentation.defaultTextStyle)
&& isRealObject(parent_objects.presentation.defaultTextStyle.levels[level]))
{
......@@ -1818,6 +1819,7 @@ CShape.prototype =
{
ownStyle.TextPr = own_ppt_style.DefaultRunPr.Copy();
}
hierarchy_styles.push(ownStyle);
}
var shape_text_style;
if (isRealObject(this.style) && isRealObject(this.style.fontRef))
......@@ -1891,6 +1893,7 @@ CShape.prototype =
}
}
if (shape_text_style) {
//checkTextPr(shape_text_style.TextPr);
Styles.Add(shape_text_style);
......
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