There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b27c6b24-cbe4-4ac9-b1a9-84fbb3f4b23f XWIKI-3217 Open

Spreadsheets with lots of non-textual content generate spurious table cells when imported into xwiki

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-1e0c0fac-eb0f-49d5-8111-7e70e30a82f8 Changes by Manuel Leduc on 29/Oct/26 09:50
 
Attachment: XWIKI-3217-spurious-cells.png
 
 

1 comment

 
cid:jira-generated-image-avatar-1e0c0fac-eb0f-49d5-8111-7e70e30a82f8 Manuel Leduc on 29/Oct/26 09:50
 

Still reproducible on 2026-10-29 with LibreOffice 25.2.3, converting the attached 73284.xls with the HTML (StarCalc) filter. Cell borders were made visible to show the table structure.

_thumb_45792.png

LibreOffice places each chart inside a merged cell (colspan=9 rowspan=11 and colspan=11 rowspan=9). This extends the results table with about 10 rows of empty cells, highlighted in red.

On the XWiki side, the office importer's TableFilter only removes <tr> elements that have no children, so these rows survive the import. It also removes the rowspan of every cell in a row that contains one, including the cells holding the charts, which degrades the layout further.