Missing table content when converting XLSX to PDF

I’m using soffice.exe to convert a XLSX file to PDF but the converted PDF file is missing content: only one row is being converted in one of the spreadsheet tables.

My setup:

  • Windows 8.1
  • LibreOffice portable (version 5.2.3.3)

Command executed:
soffice.exe -norestore -nofirststartwizard -headless -convert-to pdf “report-1481124262741.xlsx”

EDIT 1: I tried to export my spreadsheet to PDF in LibreOffice Calc and the result was the same. Here are two images, one in Calc and another in the exported PDF: http://imgur.com/a/zKwCK. Rows are missing and I don’t know why.

EDIT 2: I think I know what is happening. I’m using EPPlus and the page break is not being redefined after the table is being generated. As soon as I confirm this is the issue I will close this issue.

Without access to a file with the issue, it’s really difficult for someone to help.

Hello @mariosv. Unfortunately there is confidential data that I cannot disclose here. However, like I said in my last edit in the thread, there were page breaks removing some of the spreadsheet content. As soon as I defined the page breaks in my C# code correctly using EPPlus the issue was resolved. In any case, thank you for being willing to help.

There were page breaks removing some of the spreadsheet content. As soon as I defined the page breaks in my C# code correctly using EPPlus the issue was resolved.