Commit 62803dea authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

добавлен Spacing в дефолтовый стиль для подписей данных

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54017 954022d7-b5bf-4e40-9824-e11837661b57
parent 0e915343
...@@ -3267,6 +3267,12 @@ CDLbl.prototype = ...@@ -3267,6 +3267,12 @@ CDLbl.prototype =
var parent_objects = this.chart.getParentObjects(); var parent_objects = this.chart.getParentObjects();
var theme = parent_objects.theme; var theme = parent_objects.theme;
var para_pr = new CParaPr();
para_pr.Spacing.Before = 0.0;
para_pr.Spacing.After = 0.0;
para_pr.Spacing.Line = 1;
para_pr.Spacing.LineRule = linerule_Auto;
style.ParaPr = para_pr;
var font_name = theme.themeElements.fontScheme.minorFont.latin; var font_name = theme.themeElements.fontScheme.minorFont.latin;
text_pr.RFonts.Ascii = {Name: font_name, Index: -1}; text_pr.RFonts.Ascii = {Name: font_name, Index: -1};
text_pr.RFonts.EastAsia = {Name: font_name, Index: -1}; text_pr.RFonts.EastAsia = {Name: font_name, Index: -1};
...@@ -3305,7 +3311,6 @@ CDLbl.prototype = ...@@ -3305,7 +3311,6 @@ CDLbl.prototype =
this.recalcInfo.recalcStyle = false; this.recalcInfo.recalcStyle = false;
} }
return this.compiledStyles; return this.compiledStyles;
}, },
checkNoLbl: function() checkNoLbl: function()
...@@ -3604,7 +3609,6 @@ CDLbl.prototype = ...@@ -3604,7 +3609,6 @@ CDLbl.prototype =
this.txPr = pr; this.txPr = pr;
}, },
Undo: function(data) Undo: function(data)
{ {
switch(data.Type) switch(data.Type)
......
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