Commit 13587a15 authored by GoshaZotov's avatar GoshaZotov

fix bug: add format table over part of another format table(intersecton only last column)

parent c41f33f1
...@@ -4929,7 +4929,7 @@ ...@@ -4929,7 +4929,7 @@
var tableRef = worksheet.TableParts[i].Ref; var tableRef = worksheet.TableParts[i].Ref;
if(tableRef.r1 >= range.r2) if(tableRef.r1 >= range.r2)
{ {
if(tableRef.c1 < range.c1 && tableRef.c2 > range.c1 && tableRef.c2 <= range.c2) if(tableRef.c1 < range.c1 && tableRef.c2 >= range.c1 && tableRef.c2 <= range.c2)
{ {
result = true; result = true;
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