There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-df07b451-b667-4871-8f0a-a8291d9968a6 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-0537028f-e291-4708-9cb6-95351faae722 Changes by Manuel Leduc on 29/Oct/26 10:13
 
Attachment: XWIKI-3217-imported-page.png
 
 

1 comment

 
cid:jira-generated-image-avatar-0537028f-e291-4708-9cb6-95351faae722 Manuel Leduc on 29/Oct/26 10:13
 
Still reproducible on 2026-10-29 with XWiki 18.10.0-SNAPSHOT and LibreOffice 25.2.3, converting importing the attached 73284.xls with the {{HTML (StarCalc)}} filter style filtering enabled . Cell borders were made visible to show the table structure.

The imported page, as rendered by XWiki:

!XWIKI-3217- spurious imported - cells page .png|thumbnail!

When LibreOffice exports the spreadsheet to HTML, it 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
The office importer 's keeps them: {{TableFilter}} only removes {{<tr>}} elements that have no children, so and these rows survive the import contain empty cells . It also removes

For reference,
the raw LibreOffice HTML output (filter {{ rowspan HTML (StarCalc) }} of every cell in a row that contains one ) , including the with cell borders made visible:

!XWIKI-3217-spurious-
cells holding the charts, which degrades the layout further . png|thumbnail!