XLSX>>PDF>>PPTX :: Text that is longer than a cell width overflows to the next cell in PPTX format

Issue: When exporting to PPTX, text that is longer than a cell width overflows to the next cell.
Aspose version:
implementation ‘com.aspose:aspose-pdf:26.7’
implementation ‘com.aspose:aspose-slides:26.8:jdk16’

Code Sample:

import com.aspose.cells.*
import com.aspose.pdf.Document
import com.aspose.pdf.PptxSaveOptions
import com.aspose.slides.Presentation
import com.aspose.slides.SlideSizeScaleType

class PowerPointService {

    String convertXlsxToPdf(String xlsxPath) {
        String pdfPath = xlsxPath.replace(".xlsx", ".pdf")
        Workbook workbook = new Workbook(xlsxPath)
        workbook.save(pdfPath, SaveFormat.PDF)
        return pdfPath
    }

    Presentation createPresentationFromPdf(String pdfLocation) {
        Presentation presentation = new Presentation()
        presentation.slides.addFromPdf(pdfLocation)
        presentation.slides.removeAt(0)
        presentation.slideSize.setSize(792, 612, SlideSizeScaleType.EnsureFit)
        return presentation
    }
}

def service = new PowerPointService()

def xlsxPath = "/Users/nitesh.kc@iqvia.com/Downloads/lookupTest.xlsx"

// Step 1: xlsx → pdf
def pdfPath = service.convertXlsxToPdf(xlsxPath)

// Step 2: pdf → pptx
def ppt = service.createPresentationFromPdf(pdfPath)

def outputPath = "/Users/nitesh.kc@iqvia.com/Downloads/Lorem ipsum1.pptx"
new File(outputPath).parentFile.mkdirs()
ppt.save(outputPath, com.aspose.slides.SaveFormat.Pptx)

image.png (5.9 KB)
image.png (48.9 KB)

lookup.zip (209.8 KB)

(Uploaded relevant excel file,pdfand pptx file in this ticket.)
As shown in image, the text over fill the cell to next column cell in PPTX format.
Could you please look into this?

This topic has been moved to the related forum: XLSX>>PDF>>PPTX :: Text that is longer than a cell width overflows to the next cell in PPTX format - Free Support Forum - aspose.com