The Office File Api seems to have what I want, convert an xlsx to pdf. I have excel workbooks with 2 sheets, one with data, the other with a pivot from that data. Even from the demo apps, it can't seem to be able to export the associated pivot that is in the excel file. Can the office file api export the pivot to pdf?
Pic below is the pivot rendered in Excel.
Image Removed as it contained private information.
Exported pdf seems to ignore the pivot and only exports the data. See below
Hello Ndehi,
A pivot table located in a document should be exported to a PDF document correctly. Please refer to the test project I attached.
Perhaps, I missed something. Would you please share the file you attempt to export to PDF and clarify what version you're using? In addition, it would be of great help if you update my test project so that I can see the issue in action.
I look forward to your response.
The file I was attempting to convert is attached. The file was created using EPPlus.
Thank you for your document. I checked it and see that an exception is thrown internally when the workbook calculates the document layout. Because of this error, the worksheet with the pivot table isn't exported to PDF.
I forwarded this issue to our developers. Please give us time for a thorough analysis. We'll get back to you once we make any progress.
Ok thanks will wait for their feedback.
You are welcome, Ndehi.