https://bz.apache.org/ooo/show_bug.cgi?id=100989
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from [email protected] --- Fixed by the below commit, resolving FIXED. Thank you for your bug report and sample document :-). commit a896732bfcd282115c06407a2f1da77694fa8d19 Author: Damjan Jovanovic Date: Thu Jan 12 03:02:18 2023 +0200 In ODF (19.679.2 of ODF 1.3), the <table:covered-table-cell> element's table:number-columns-repeated attribute has a default value of 1, meaning the cell spans the cell to its right. However when the XSLT import filter converts from SpreadsheetML's ss:MergeAcross to ODF's table:number-columns-repeated, it always inserts a <table:covered-table-cell> element, and then adds the table:number-columns-repeated attribute only if it is greater than 1. This breaks when ss:MergeAcross="0", because ODF's defaulting to 1 ends up occupying an extra empty cell to the right when it shouldn't. Fix this by only inserting the <table:covered-table-cell> when ss:MergeAcross > 0. Add a test document to prove this. Fixes #100989 - SpreadsheetML: cell with ss:MergeAcross="0" gets an extra empty cell to the right Patch by: me -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue.
