Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Slides for PHP via Java 24.2

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 26.85MB
  • Date Added:
  • 19/2/2024

Description

It contains Aspose.Slides for PHP via Java 24.2 release.

File Details

Convert Math Equations to LaTex

A new IMathParagraph.toLatex method was added to Aspose.Slides for PHP via Java 24.2, which allows seamless conversion of math text within your presentations to LaTex format. This code example demonstrates the feature usage:

$pres = new Presentation();
$slide = $pres->getSlides()->get_Item(0);
$shape = $slide->getShapes()->addMathShape(50, 50, 200, 200);
$mathParagraph = $shape->getTextFrame()->getParagraphs()->get_Item(0)->getPortions()->get_Item(0)->getMathParagraph();

$mathTextA = new MathematicalText("a");
$mathTextB = new MathematicalText("b");
$mathParagraph->add($mathTextA->join("+")->join($mathTextB->join("=")->join(new MathematicalText("c"))));
$mathLatex = $mathParagraph->toLatex();

echo $mathLatex;

Source*

Enhanced HTML5 Export with Comments

The Html5Options.NotesCommentsLayouting property in the latest update to the PHP API enables exporting presentations with comments in HTML5 format, offering a richer user experience for your presentation processing apps. The following sample code highlights property usage:

$pres = new Presentation("test.pptx");
$notesCommentsLayoutingOptions = new NotesCommentsLayoutingOptions();
$notesCommentsLayoutingOptions->setNotesPosition(NotesPositions::BottomTruncated);
$html5Options = new Html5Options();
$html5Options->setNotesCommentsLayouting($notesCommentsLayoutingOptions);
$html5Options->setOutputPath("test_pptx");

$pres->save("index.html", SaveFormat::Html5, $html5Options);

Source*

Improved Rendering and Bug Fixes

Developers can now experience enhanced rendering accuracy for charts in converted PNG images. Furthermore, we have fixed various bugs related to PPTX/ODP conversion, chart display, and shape effects.

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for PHP via Java 24.2 Release Notes.

 English