Commit e12ac379 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

fix bug #29051

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61824 954022d7-b5bf-4e40-9824-e11837661b57
parent 1eea71a2
...@@ -4256,7 +4256,7 @@ function CHyperlinkProperty( obj ) ...@@ -4256,7 +4256,7 @@ function CHyperlinkProperty( obj )
CHyperlinkProperty.prototype.get_Value = function() { return this.Value; }; CHyperlinkProperty.prototype.get_Value = function() { return this.Value; };
CHyperlinkProperty.prototype.put_Value = function(v) { this.Value = v; }; CHyperlinkProperty.prototype.put_Value = function(v) { this.Value = v; };
CHyperlinkProperty.prototype.get_ToolTip = function() { return this.ToolTip; }; CHyperlinkProperty.prototype.get_ToolTip = function() { return this.ToolTip; };
CHyperlinkProperty.prototype.put_ToolTip = function(v) { this.ToolTip = v; }; CHyperlinkProperty.prototype.put_ToolTip = function(v) { this.ToolTip = v ? v.slice(0, c_oAscMaxTooltipLength) : v; };
CHyperlinkProperty.prototype.get_Text = function() { return this.Text; }; CHyperlinkProperty.prototype.get_Text = function() { return this.Text; };
CHyperlinkProperty.prototype.put_Text = function(v) { this.Text = v; }; CHyperlinkProperty.prototype.put_Text = function(v) { this.Text = v; };
......
...@@ -2013,8 +2013,8 @@ asc_docs_api.prototype.UpdateParagraphProp = function(ParaPr) ...@@ -2013,8 +2013,8 @@ asc_docs_api.prototype.UpdateParagraphProp = function(ParaPr)
// TODO: как только разъединят настройки параграфа и текста переделать тут // TODO: как только разъединят настройки параграфа и текста переделать тут
var TextPr = editor.WordControl.m_oLogicDocument.Get_Paragraph_TextPr(); var TextPr = editor.WordControl.m_oLogicDocument.Get_Paragraph_TextPr();
ParaPr.Subscript = ( TextPr.VertAlign === vertalign_SubScript ? true : false ); ParaPr.Subscript = TextPr.VertAlign === vertalign_SubScript;
ParaPr.Superscript = ( TextPr.VertAlign === vertalign_SuperScript ? true : false ); ParaPr.Superscript = TextPr.VertAlign === vertalign_SuperScript;
ParaPr.Strikeout = TextPr.Strikeout; ParaPr.Strikeout = TextPr.Strikeout;
ParaPr.DStrikeout = TextPr.DStrikeout; ParaPr.DStrikeout = TextPr.DStrikeout;
ParaPr.AllCaps = TextPr.Caps; ParaPr.AllCaps = TextPr.Caps;
...@@ -5157,7 +5157,7 @@ function CHyperlinkProperty( obj ) ...@@ -5157,7 +5157,7 @@ function CHyperlinkProperty( obj )
CHyperlinkProperty.prototype.get_Value = function() { return this.Value; }; CHyperlinkProperty.prototype.get_Value = function() { return this.Value; };
CHyperlinkProperty.prototype.put_Value = function(v) { this.Value = v; }; CHyperlinkProperty.prototype.put_Value = function(v) { this.Value = v; };
CHyperlinkProperty.prototype.get_ToolTip = function() { return this.ToolTip; }; CHyperlinkProperty.prototype.get_ToolTip = function() { return this.ToolTip; };
CHyperlinkProperty.prototype.put_ToolTip = function(v) { this.ToolTip = v; }; CHyperlinkProperty.prototype.put_ToolTip = function(v) { this.ToolTip = v ? v.slice(0, c_oAscMaxTooltipLength) : v; };
CHyperlinkProperty.prototype.get_Text = function() { return this.Text; }; CHyperlinkProperty.prototype.get_Text = function() { return this.Text; };
CHyperlinkProperty.prototype.put_Text = function(v) { this.Text = v; }; CHyperlinkProperty.prototype.put_Text = function(v) { this.Text = v; };
......
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