Commit b0de8c75 authored by GoshaZotov's avatar GoshaZotov

fix bug 34431

parent b63ab906
...@@ -13282,11 +13282,11 @@ ...@@ -13282,11 +13282,11 @@
} }
case c_oAscChangeSelectionFormatTable.data: case c_oAscChangeSelectionFormatTable.data:
{ {
//TODO проверить есть ли строка заголовков var rangeWithoutHeaderFooter = tablePart.getRangeWithoutHeaderFooter();
startCol = refTablePart.c1; startCol = lastSelection.c1 < refTablePart.c1 ? refTablePart.c1 : lastSelection.c1;
endCol = refTablePart.c2; endCol = lastSelection.c2 > refTablePart.c2 ? refTablePart.c2 : lastSelection.c2;
startRow = refTablePart.r1 + 1; startRow = rangeWithoutHeaderFooter.r1;
endRow = refTablePart.r2; endRow = rangeWithoutHeaderFooter.r2;
break; break;
} }
......
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