Commit e1e2e3e6 authored by Igor.Zotov's avatar Igor.Zotov

http://bugzserver/show_bug.cgi?id=30675 - При копировании/вставке дробных...

http://bugzserver/show_bug.cgi?id=30675 -  При копировании/вставке дробных чисел не учитываются региональные настройки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65910 954022d7-b5bf-4e40-9824-e11837661b57
parent 0819a1b2
......@@ -8904,6 +8904,8 @@
range.setNumFormat(nameFormat);
}
//TODO вместо range где возможно использовать cell
var cellFrom, cellTo;
if(value2.length == 1 || numFormula != null || (skipFormat != null && noSkipVal!= null))
{
if(numFormula == null)
......@@ -8927,12 +8929,17 @@
numFor++;
}
}
else if(isOneMerge && range && range.bbox)
else
{
this._getCell(range.bbox.c1, range.bbox.r1).setValue(newVal.getValue());
cellFrom = newVal.getCells();
if(isOneMerge && range && range.bbox)
cellTo = this._getCell(range.bbox.c1, range.bbox.r1).getCells();
else
cellTo = firstRange.getCells();
if(cellFrom && cellTo && cellFrom[0] && cellTo[0])
cellTo[0].setValueData(cellFrom[0].getValueData());
}
else
firstRange.setValue(newVal.getValue());
if(!isOneMerge)//settings for text
{
......
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