Commit 56022303 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27743 - [Copy&Paste] Зачеркнутый текст...

http://bugzserver/show_bug.cgi?id=27743 - [Copy&Paste] Зачеркнутый текст отображается как подчеркнутый в заголовке диаграммы после его копирования

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60405 954022d7-b5bf-4e40-9824-e11837661b57
parent 75996ff9
......@@ -616,10 +616,18 @@ CopyProcessor.prototype =
aTagStart.push("<i>");
aTagEnd.push("</i>");
}
if (true == Value.Strikeout) {
if (true == Value.Underline) {
aTagStart.push("<u>");
aTagEnd.push("</u>");
}
if (true == Value.Strikeout) {
aTagStart.push("<s>");
aTagEnd.push("</s>");
}
if (true == Value.DStrikeout) {
aTagStart.push("<s>");
aTagEnd.push("</s>");
}
if (null != Value.Shd && shd_Nil != Value.Shd.Value && (null != Value.Shd.Color || null != Value.Shd.Unifill))
aProp.push("background-color:" + this.RGBToCSS(Value.Shd.Color, Value.Shd.Unifill));
else if (null != Value.HighLight && highlight_None != Value.HighLight)
......@@ -5259,6 +5267,9 @@ PasteProcessor.prototype =
var margin_bottom = computedStyle.getPropertyValue( "margin-bottom" );
if(margin_bottom && null != (margin_bottom = this._ValueToMm(margin_bottom)))
Spacing.After = margin_bottom;
/*var line_height = computedStyle.getPropertyValue( "line-height" );
if(line_height && null != (line_height = this._ValueToMm(line_height)))
Spacing.Line = line_height;*/
if(false == this._isEmptyProperty(Spacing))
Para.Set_Spacing(Spacing);
//Shd
......
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