Hi, we are experiencing some issues while trying to convert pdf to pptx file using aspose.pdf library. Table with dot leaders is rendered incorrectly in exported pptx. Please find the pdf input attached. Also, below is the code snippet to replicate this behaviour.
bug_254234.pdf (24.7 KB)
In case some options need to be passed to avoid such outcome, please advise.
pdf
image.png (9.0 KB)
pptx
image.png (5.2 KB)
@Test
void exportPPTX_tableWithDotLeadersIsRenderedIncorrectly () throws Exception {
var pdfBytes = new ClassPathResource("/aspose/bug_254234.pdf").getInputStream().readAllBytes();
try (Document srcDoc = new Document(pdfBytes)) {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
srcDoc.save(outputStream, com.aspose.pdf.SaveFormat.Pptx);
var out = outputStream.toByteArray();
Files.write(Path.of("bug_254234.pptx"), out, StandardOpenOption.CREATE);
} catch (Exception e) {
e.printStackTrace();
}
}