Browse our Products
Aspose.Slides for PHP via Java 24.1 Release Notes
This page contains release notes for Aspose.Slides for PHP via Java
Key | Summary | Category |
---|---|---|
SLIDESPHP-43 | Use Aspose.Slides for Java 24.1 features | Enhancement |
Public API Changes
PDF import detect tables option added
The PdfImportOptions.DetectTables option has been added to ensure that when importing PDF tables are automatically detected and imported as a table in Slide.
Below is an example of PDF import with tables detecting:
$pres = new Presentation();
try {
$pdfImportOptions = new PdfImportOptions();
$pdfImportOptions->setDetectTables(true);
$stream = new Java("java.io.FileInputStream", "document.pdf");
$pres->getSlides()->addFromPdf(java_values($stream), $pdfImportOptions);
$pres->save("output.pptx", SaveFormat::Pptx);
} finally {
if ($pres != null) $pres->dispose();
}