Browse our Products

Aspose.Slides for .NET 16.8.0 Release Notes

SLIDESNET-37702Could not load file or assembly ‘Aspose.Slides’ issue appears in Azure .NET 4.5 environmentInvestigation
SLIDESNET-37787Implementation of ClassIdentifier PropertyFeature
SLIDESNET-37760Support removing embedded fonts in the PowerPointFeature
SLIDESNET-37738Implementation of OpenDocument presentation templateFeature
SLIDESNET-37737Export to Responsive HTML formatFeature
SLIDESNET-37537Support for removing embedded fonts from presentationFeature
SLIDESNET-36731Possibility to obtain effective TextFrameFormat valueFeature
SLIDESNET-36720Support for fixed HTML export in Aspose.SlidesFeature
SLIDESNET-37786Cloning creates two slide instead of oneBug
SLIDESNET-37764Incorrect rendering of Presentation containing MetafilesBug
SLIDESNET-37759Exception while pptx to pdf conversionBug
SLIDESNET-37757Losing sound on ppt presentation savingBug
SLIDESNET-37755Text color changes after converting pptx to pdfBug
SLIDESNET-37753Wrong bullet number rendered for exported PDFBug
SLIDESNET-37742Presentation repair message appear on converting PPTX to ODPBug
SLIDESNET-37734Image changes after conversion to pdfBug
SLIDESNET-37732Exception on the pptx presentation loadingBug
SLIDESNET-37724Exception on loading pptxBug
SLIDESNET-37720Value cannot be null on saving PPT presentationBug
SLIDESNET-37714Underline Color Improperly readBug
SLIDESNET-37709Hyperlink removed after saving pptBug
SLIDESNET-37701Exception on exporting pptx to pptBug
SLIDESNET-37700Background improperly rendered in generated svgBug
SLIDESNET-37699Missing Text and error after converting to svgBug
SLIDESNET-37691Underline improperly rendered in generated thumbnailBug
SLIDESNET-37687Jpeg image in Html is different comparing to source PptBug
SLIDESNET-37684Font changes without MsOffice while generating ThumbnailsBug
SLIDESNET-37683PDF notes are not rendering for ppt fileBug
SLIDESNET-37682Shape’s size doesn’t change if layouted text doesn’t fit it when fonts substitution take placeBug
SLIDESNET-37681Chart changes after cloning pptxBug
SLIDESNET-37672Slide background color changes after saving pptBug
SLIDESNET-37666Slide to svg conversion: Slides colors are changed after saving pptx to svgBug
SLIDESNET-37662OverflowException on swf renderingBug
SLIDESNET-37658Inaccurate word count for a PPT document with Aspose.SlidesBug
SLIDESNET-37655Borders around equations and charts appearing on saving presentationBug
SLIDESNET-37649Wrong text wrapping in generated PdfBug
SLIDESNET-37625Pptx Read Exception: Unable to read beyond the end of the stream on loading presentationBug
SLIDESNET-37519Substitution font for CJK symbols differs from PPBug
SLIDESNET-37431An entry with the same key already exists exception on presentation loadBug
SLIDESNET-37330Extract text from Notes Master page using Slides failsBug
SLIDESNET-37329Extract text from Handout Master page using Aspose.Slides failsBug
SLIDESNET-37298PDF notes are not rendering for ppt fileBug
SLIDESNET-37254Data sheet can not be edited after slide cloningBug

Public API Changes

CreateTextFrameFormatEffective() method has been added to ITextFrame interface and TextFrame class

It returns an effective value of text frame format for a TextFrame object. The returned type is ITextFrameFormatEffective.

Interface Aspose.Slides.ITextFrameFormatEffective has been added

Represents effective values (formatting values with inheritance applied) of text frame format. It contains the following members: ITextStyleEffectiveData TextStyle — Returns effective text’s style. double MarginLeft — Returns the left margin (points) in a TextFrame. double MarginRight — Returns the right margin (points) in a TextFrame. double MarginTop — Returns the top margin (points) in a TextFrame. double MarginBottom — Returns the bottom margin (points) in a TextFrame. bool WrapText — Returns if text is wrapped at TextFrame’s margins. TextAnchorType AnchoringType — Returns vertical anchor text in a TextFrame. bool CenterText — Returns if text should be centered in box horizontally. TextVerticalType TextVerticalType — Returns text orientation. TextAutofitType AutofitType — Returns text autofit mode.

Interface Aspose.Slides.ITextStyleFormatEffective has been added

Represents effective values (formatting values with inheritance applied) of text style. It contains the following members:

IParagraphFormatEffectiveData GetLevel(int index) — Returns level of effective style. IParagraphFormatEffectiveData DefaultParagraphFormat — Returns effective default paragraph properties.

EmbeddedWoffFontsHtmlController and EmbeddedEotFontsHtmlController classed have been added to provide the functionality to embed WOFF and EOT fonts into generated HTML documents

The two new classes have been added to provide the functionality to embed WOFF and EOT fonts into generated HTML documents:

  • EmbeddedWoffFontsHtmlController
  • EmbeddedEotFontsHtmlController

Below there is an example of how to use the new EmbeddedWoffFontsHtmlController class to export HTML with embedded WOFF fonts:

using (Presentation pres = new Presentation("pres.pptx"))
  EmbeddedWoffFontsHtmlController controller = new EmbeddedWoffFontsHtmlController();
  HtmlOptions htmlOptions = new HtmlOptions
    HtmlFormatter = HtmlFormatter.CreateCustomFormatter(controller)
  pres.Save("pres.html", SaveFormat.Html, htmlOptions);

New methods have been added to FontsManager

The following new methods have been added to IFontsManager interface and FontsManager class: IFontData[] GetEmbeddedFonts() - this method returns fonts embedded in a presentation. void RemoveEmbeddedFont(IFontData fontData) - this method removes an embedded font from a presentation. The following sample demonstrates an use case for these new methods:

// load a presentation with embedded "FunSized" font
using (Presentation pres = new Presentation("pres.ppt"))
    // render a slide that contains a text frame that uses embedded "FunSized"
    pres.Slides[0].GetThumbnail(new Size(960, 720)).Save("pres-1.png", ImageFormat.Png);
	IFontsManager fontsManager = pres.FontsManager;
	// get all embedded fonts
    IFontData[] embeddedFonts = fontsManager.GetEmbeddedFonts();
	// find "FunSized" font
    IFontData funSizedEmbeddedFont = Array.Find(embeddedFonts, delegate(IFontData data)
        return data.FontName == "FunSized";

    // remove "FunSized" font

    // render the presentation; removed "FunSized" font is replaced to an existing one
    pres.Slides[0].GetThumbnail(new Size(960, 720)).Save("pres-2.png", ImageFormat.Png);

    // save the presentation without embedded "FunSized" font
    pres.Save("37537-2.ppt", SaveFormat.Ppt);

New responsive HTML controller has been added

The new class ResponsiveHtmlController has been added to provide the possibility to generate responsive HTML files.

This controller can be used in the same manner as other HTML controllers:

using (var pres = new Presentation("pres.pptx"))
  ResponsiveHtmlController controller = new ResponsiveHtmlController();
  HtmlOptions htmlOptions = new HtmlOptions
    HtmlFormatter = HtmlFormatter.CreateCustomFormatter(controller)    
  pres.Save("pres.html", SaveFormat.Html, htmlOptions);

Otp value has been added to LoadFormat and SaveFormat enumerations

The new Otp value has been added to Aspose.Slides.LoadFormat and Aspose.Slides.SaveFormat enumerations. This value represents the OpenOffice OTP Presentation template format.