Hello,
We’re experiencing issues when converting PDF files to PPTX. Table cell borders and text box borders are exported with incorrect widths. This issue occurs in Linux environment.
Input PDF:
Input.pdf (62.0 KB)
Output PPTX:
Output.pptx.zip (77.8 KB)
Here are found issues:
-
Table cell double border:
TableCellDoubleBorders1.jpg (82.8 KB);
TableCellDoubleBorders2.png (225.9 KB) -
Text box border:
TextBoxBorder.png (67.4 KB)
Below is sample code that was used to reproduce this (tested with Aspose.PDF version 25.12).
try (Document srcDoc = new Document(pdf)) {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
PptxSaveOptions options = new PptxSaveOptions();
options.setImageResolution(300);
options.setSeparateImages(true);
srcDoc.save(outputStream, options);
return outputStream.toByteArray();
}
Thank you.