Browse our Products

Aspose.Slides for .NET 20.7 Release Notes

KeySummaryCategory
SLIDESNET-41999Formatting chart axes with non-comma thousands separatorInvestigation
SLIDESNET-40272Size increased after converting pptx to pdfInvestigation
SLIDESNET-41954Convert Mathematival Text to MathML FormatFeature
SLIDESNET-41947SVG image rendered as PNG image in generated PDFFeature
SLIDESNET-38137Extract equation from ppt to LaTeXFeature
SLIDESNET-34154Support for rotation options for line shapeFeature
SLIDESNET-41591Automatic wrapped text exported with line breaks in PDFEnhancement
SLIDESNET-42010Presentation gets corrupted on modifying customXMLBug
SLIDESNET-42008Animation are lost in saved presentaitonBug
SLIDESNET-41998PPTX to PDF - Process terminated due to StackOverflowExceptionBug
SLIDESNET-41997Saving Thumbnail Hanging IssueBug
SLIDESNET-41995Font spacing is not maintained in SVGBug
SLIDESNET-41990Text Orientation for Category axis is changed in imageBug
SLIDESNET-41989Out of Memory exception when saving to PDFBug
SLIDESNET-41987Non required lines appearing on chart X-axis in JPEG and SVGBug
SLIDESNET-41986Font rendered incorrectly when converted to the PDF v2Bug
SLIDESNET-41985Group shapes WriteAsSvg() FailsBug
SLIDESNET-41984Joining mathematical elements throws an InvalidOperationExceptionBug
SLIDESNET-41981Null Reference Exception on saving presentationBug
SLIDESNET-41980Unable to change OLE frame link pathBug
SLIDESNET-41966Adding SVG in slide lose text informationBug
SLIDESNET-41962Chart legend labels lost after saving presentationBug
SLIDESNET-41959Highlight text not working when saving as PPTBug
SLIDESNET-41957Replacing an Image in a PictureFrame Doubles the Image Byte SizeBug
SLIDESNET-41956Small Chart with Large Fonts Cause a StackOverflowErrorBug
SLIDESNET-41953Input string has excess direction close-codeBug
SLIDESNET-41948TIFF files are corrupted when rendering with TiffCompressionTypes.CCITT4Bug
SLIDESNET-41937Font changes when converting to PPTBug
SLIDESNET-41931Bottom/Y position of paragraphs in table is different for each columnBug
SLIDESNET-41914Exception on saving presentation fileBug
SLIDESNET-41912?Microsoft Powerpoint Security Notice? Pop Ups in Aspose.Slides saved presentationBug
SLIDESNET-41902Consistency of value registry is broken error when saviing ppt fileBug
SLIDESNET-41894StackOverflowException on saving presentation with chartBug
SLIDESNET-41741EMF graphics is not displayed correctly when saved as PDFBug
SLIDESNET-41019Text outline is lost in saved ppt presentationBug
SLIDESNET-40992Pptx takes time to convert into pdfBug
SLIDESNET-40767Transparency is lost when converting PPTX to PDFBug
SLIDESNET-40680Wrong order of Hebrew text in SmartAr when generating slide thumbnailBug
SLIDESNET-40647Exception on saving pptm to pptBug
SLIDESNET-40603Pdf generated from PPTX lost all textBug
SLIDESNET-40250Presentation not converted properly to pdfBug
SLIDESNET-40249Presentation not converted properly to pdfBug
SLIDESNET-39315Text position gets changed in saved presentationBug
SLIDESNET-37357Incorrect legend on generated pdfBug
SLIDESNET-36009PptReadException: Couldn’t read “PowerPoint Document” record. on PPT openingBug
SLIDESNET-35138Shape shadow is not present in thumbnailBug
SLIDESNET-34374Border around images are missingBug

Public API Changes

Exporting mathematical equations to MathML format

Methods IMathParagraph.WriteAsMathMl and IMathBlock.WriteAsMathMl have been added. You can use them to export a mathematical paragraph or block to MathML format. The presentation MathML markup is used.

using (Presentation pres = new Presentation())
{
	var autoShape = pres.Slides[0].Shapes.AddMathShape(0, 0, 500, 50);
	var mathParagraph = ((MathPortion)autoShape.TextFrame.Paragraphs[0].Portions[0]).MathParagraph;

	mathParagraph.Add(new MathematicalText("a").SetSuperscript("2").Join("+").Join(new MathematicalText("b").SetSuperscript("2")).Join("=").Join(new MathematicalText("c").SetSuperscript("2")));

	using (Stream stream = new FileStream("mathml.xml", FileMode.Create))
		mathParagraph.WriteAsMathMl(stream);
}

Contents of the resulting file:

<math display='block' xmlns="http://www.w3.org/1998/Math/MathML">
    <mrow>
        <msup>
            <mi>a</mi>
            <mn>2</mn>
        </msup>
        <mo>+</mo>
        <msup>
            <mi>b</mi>
            <mn>2</mn>
        </msup>
        <mo>=</mo>
        <msup>
            <mi>c</mi>
            <mn>2</mn>
        </msup>
    </mrow>
</math>