Table shading in pptx export differs from pdf

Hi, we are experiencing some issues while trying to convert pdf to pptx file using aspose.pdf library. Table shading in pptx export differs from pdf. Please find the pdf input attached. Also, below is the code snippet to replicate this behaviour.

table_shading.pdf (59.5 KB)

In case some options need to be passed to avoid such outcome, please advise.

pdf
image.png (32.7 KB)

pptx
image.png (75.9 KB)

@Test
  void exportPPTX_tableShadingDiffers() throws Exception {
    var pdfBytes = new ClassPathResource("table_shading.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("table_shading.pptx"), out, StandardOpenOption.CREATE);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

@dfinsolutions

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57565

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.