Commit 9b871dfe authored by GoshaZotov's avatar GoshaZotov

fix bug 34417

parent adbb1434
...@@ -9968,7 +9968,13 @@ ...@@ -9968,7 +9968,13 @@
//font //font
if(rangeStyle.font && specialPasteProps.font) if(rangeStyle.font && specialPasteProps.font)
{ {
range.setFont(rangeStyle.font); var font = rangeStyle.font;
//если вставляем форматированную таблицу с параметров values + all formating
if(specialPasteProps.format && !specialPasteProps.formatTable && rangeStyle.tableDxf && rangeStyle.tableDxf.font)
{
font = rangeStyle.tableDxf.font.merge(rangeStyle.font);
}
range.setFont(font);
} }
......
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