Commit 558aa3ca authored by Alexander.Trofimov's avatar Alexander.Trofimov

add AscCommon.

parent 0bdbc357
...@@ -2243,11 +2243,11 @@ ...@@ -2243,11 +2243,11 @@
ApiTextPr.prototype.SetVertAlign = function(sType) ApiTextPr.prototype.SetVertAlign = function(sType)
{ {
if ("baseline" === sType) if ("baseline" === sType)
this.TextPr.VertAlign = vertalign_Baseline; this.TextPr.VertAlign = AscCommon.vertalign_Baseline;
else if ("subscript" === sType) else if ("subscript" === sType)
this.TextPr.VertAlign = vertalign_SubScript; this.TextPr.VertAlign = AscCommon.vertalign_SubScript;
else if ("superscript" === sType) else if ("superscript" === sType)
this.TextPr.VertAlign = vertalign_SuperScript; this.TextPr.VertAlign = AscCommon.vertalign_SuperScript;
this.private_OnChange(); this.private_OnChange();
}; };
......
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