There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-892eb332-6cc7-442e-9afd-f1b4fa2820fa XWIKI-22628 Open

Can't export an excel file containing a very large table, as ODT or RTF

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-b13e56d0-db50-4bc6-8cc4-8269526d43bf Nikita Petrenko on 18/Feb/26 10:14
 

Can't reproduce on latest MS Edge 145.0.3800.58, demo XWiki 17.10.3 with LibreOffice 25.8.4.2}. I managed successfully export both imported pages in ODT and RTF format separately having timeout as 4 mins {{openoffice.taskExecutionTimeout = 240000.

Note, that I'd recommend to increase both values -Xms and -Xmx up to 4GB for XWiki instance, at least that was enough on my end, without it I could randomly end with "Java heap error" on attempt to import XLSX file or simply accessing that created page.

To me, it's worth to mention modification of openoffice.taskExecutionTimeout as part of this guide

 
cid:jira-generated-image-avatar-b13e56d0-db50-4bc6-8cc4-8269526d43bf Nikita Petrenko on 18/Feb/26 10:15
 
Can't reproduce on latest MS Edge {{145.0.3800.58}}, demo XWiki 17.10.3 with LibreOffice {{25.8.4.2}. I managed successfully export both imported pages in ODT and RTF format separately having timeout as 4 mins

{ { noformat}
openoffice.taskExecutionTimeout = 240000
{noformat
} }.


Note, that I'd recommend to increase both values {{-Xms}} and {{-Xmx}} up to 4GB for XWiki instance, at least that was enough on my end, without it I could randomly end with "Java heap error" on attempt to import {{XLSX}} file or simply accessing that created page.

To me, it's worth to mention modification of {{openoffice.taskExecutionTimeout}} as part of this [guide|https://www.xwiki.org/xwiki/bin/view/documentation/xs/user/exports/export-page/export-odt-rtf/]
 
cid:jira-generated-image-avatar-b13e56d0-db50-4bc6-8cc4-8269526d43bf Nikita Petrenko on 18/Feb/26 10:16
 
Can't reproduce on latest MS Edge {{ {} 145.0.3800.58 { }} } , demo XWiki 17.10.3 with LibreOffice \ {{25.8.4.2}. I managed successfully export both imported pages in ODT and RTF format separately having timeout as 4 mins

{noformat}
openoffice.taskExecutionTimeout = 240000
{noformat}


Note, that I'd recommend to increase both values {{-Xms}} and {{-Xmx}} up to 4GB for XWiki instance, at least that was enough on my end, without it I could randomly end with "Java heap error" on attempt to import {{XLSX}} file or simply accessing that created page.

The server logs only include this line once export is triggered
{noformat}
Warning at mode (unnamed) 
  XTDE0540  Ambiguous rule match for /html/body[1]/div[4]
Matches both "*[xs:string(@class) eq "pdftoc" or xs:string(@id) eq "xwikimaincontainer"]"
  on line 84 of 
and "*[xs:string(@class) eq "pdftoc"]" on line 54 of {noformat}
To me, it's worth to mention modification of {{openoffice.taskExecutionTimeout}} as part of this [guide|https://www.xwiki.org/xwiki/bin/view/documentation/xs/user/exports/export-page/export-odt-rtf/]