Commit 66314974 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Bug 26450 - Copy&Paste: Не копируется табы из CDE в MS Word

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58224 954022d7-b5bf-4e40-9824-e11837661b57
parent 26162e85
...@@ -565,7 +565,7 @@ CopyProcessor.prototype = ...@@ -565,7 +565,7 @@ CopyProcessor.prototype =
sRes += CopyPasteCorrectString(sValue); sRes += CopyPasteCorrectString(sValue);
break; break;
case para_Space: sRes += " "; break; case para_Space: sRes += " "; break;
case para_Tab: sRes += "<span style='mso-tab-count:1'>" + String.fromCharCode(0xA0, 0xA0, 0xA0, 0xA0) + "</span>"; break; case para_Tab: sRes += "<span style='white-space:pre;'>" + String.fromCharCode(0x09) + "</span>"; break;
case para_NewLine: case para_NewLine:
if( break_Page == ParaItem.BreakType) if( break_Page == ParaItem.BreakType)
{ {
......
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