We are delighted to announce the release of Spire.Presentation for Java 10.10.2. This version adds support for converting Markdown to PPTX files and SVG to shapes. In addition, several known issues have been successfully fixed, including an issue where added LaTeX formulas were rendered incorrectly. Details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | - | Supports converting Markdown to PPTX files.
Presentation pt = new Presentation();
pt.loadFromFile("input.md", FileFormat.Markdown);
pt.saveToFile("output.pptx", FileFormat.PPTX_2013);
pt.dispose();
|
| New feature | - | Adds the AddFromSVGAsShape method to convert SVG into shapes.
Presentation ppt = new Presentation();
ppt.loadFromFile("input.pptx");
for (int i = 0; i < ppt.getSlides().getCount(); i++)
{
ppt.getSlides().get(i).getShapes().addFromSVGAsShapes("in.svg");
}
ppt.saveToFile("output.pptx", FileFormat.PPTX_2013);
ppt.dispose();
|
| Bug | SPIREPPT-2886 | Fixes the issue where added LaTeX formulas were rendered incorrectly. |
| Bug | SPIREPPT-2980 | Fixes the issue where the chart data label formatting was incorrect after converting PowerPoint files to PDF. |
| Bug | SPIREPPT-2981 | Fixes the issue where the text direction was incorrect after converting PowerPoint files to PDF. |
| Bug | SPIREPPT-3009 | Fixes the issue where adding a LaTeX formula (\square) caused a “NullPointerException”. |
Click the link below to download Spire.Presentation for Java 10.10.2: