Aspose.Slides.NET 16.8.0

Aspose.Slides is a PowerPoint management library for working with Microsoft PowerPoint files without using Microsoft PowerPoint. It allows developers to work with PPT, PPS, POT, PPTX, PPSX, POTX and ODP files on ASP.NET web applications, web services and Windows applications.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Slides.NET -Version 16.8.0
dotnet add package Aspose.Slides.NET --version 16.8.0
<PackageReference Include="Aspose.Slides.NET" Version="16.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Slides.NET --version 16.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Minor Features

   SLIDESNET-37787 - Implementation of ClassIdentifier Property
   SLIDESNET-37760 - Support removing embedded fonts in the PowerPoint
   SLIDESNET-37738 - Implementation of OpenDocument presentation template
   SLIDESNET-37737 - Export to Responsive HTML format
   SLIDESNET-37537 - Support for removing embedded fonts from presentation
   SLIDESNET-36731 - Possibility to obtain effective TextFrameFormat value
   SLIDESNET-36720 - Support for fixed HTML export in Aspose.Slides

Other Improvements and Changes
Bug Fixes

   SLIDESNET-37786 - Cloning creates two slide instead of one
   SLIDESNET-37764 - Incorrect rendering of Presentation containing Metafiles
   SLIDESNET-37759 - Exception while pptx to pdf conversion
   SLIDESNET-37757 - Losing sound on ppt presentation saving
   SLIDESNET-37755 - Text color changes after converting pptx to pdf
   SLIDESNET-37753 - Wrong bullet number rendered for exported PDF
   SLIDESNET-37742 - Presentation repair message appear on converting PPTX to ODP
   SLIDESNET-37734 - Image changes after conversion to pdf
   SLIDESNET-37732 - Exception on the pptx presentation loading
   SLIDESNET-37724 - Exception on loading pptx
   SLIDESNET-37720 - Value cannot be null on saving PPT presentation
   SLIDESNET-37714 - Underline Color Improperly read
   SLIDESNET-37709 - Hyperlink removed after saving ppt
   SLIDESNET-37701 - Exception on exporting pptx to ppt
   SLIDESNET-37700 - Background improperly rendered in generated svg
   SLIDESNET-37699 - Missing Text and error after converting to svg
   SLIDESNET-37691 - Underline improperly rendered in generated thumbnail
   SLIDESNET-37687 - Jpeg image in Html is different comparing to source Ppt
   SLIDESNET-37684 - Font changes without MsOffice while generating Thumbnails
   SLIDESNET-37683 - PDF notes are not rendering for ppt file
   SLIDESNET-37682 - Shape's size doesn't change if layouted text doesn't fit it when fonts substitution take place
   SLIDESNET-37681 - Chart changes after cloning pptx
   SLIDESNET-37672 - Slide background color changes after saving ppt
   SLIDESNET-37666 - Slide to svg conversion: Slides colors are changed after saving pptx to svg
   SLIDESNET-37662 - OverflowException on swf rendering
   SLIDESNET-37658 - Inaccurate word count for a PPT document with Aspose.Slides
   SLIDESNET-37655 - Borders around equations and charts appearing on saving presentation
   SLIDESNET-37649 - Wrong text wrapping in generated Pdf
   SLIDESNET-37625 - Pptx Read Exception: Unable to read beyond the end of the stream on loading presentation
   SLIDESNET-37519 - Substitution font for CJK symbols differs from PP
   SLIDESNET-37431 - An entry with the same key already exists exception on presentation load
   SLIDESNET-37330 - Extract text from Notes Master page using Slides fails
   SLIDESNET-37329 - Extract text from Handout Master page using Aspose.Slides fails
   SLIDESNET-37298 - PDF notes are not rendering for ppt file
   SLIDESNET-37254 - Data sheet can not be edited after slide cloning

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
   fontsManager.RemoveEmbeddedFont(funSizedEmbeddedFont);

   // 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.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.9.0 3,690 9/12/2019
19.8.0 1,461 8/30/2019
19.7.0 11,155 7/26/2019
19.6.0 3,181 6/25/2019
19.5.0 5,047 5/31/2019
19.4.0 5,933 4/26/2019
19.3.0 3,110 4/3/2019
19.2.0 7,528 2/28/2019
19.1.0 9,385 1/30/2019
18.12.0 5,236 12/27/2018
18.11.0 4,215 11/30/2018
18.10.0 13,483 10/30/2018
18.9.0 3,318 9/30/2018
18.8.0 3,636 8/29/2018
18.7.0 10,013 7/27/2018
18.6.0 13,489 7/1/2018
18.5.0 6,462 5/30/2018
18.4.0 3,615 5/3/2018
18.3.0 3,260 4/1/2018
18.2.1 6,314 3/7/2018
18.2.0 2,103 2/28/2018
18.1.0 3,278 1/30/2018
17.12.1 5,809 12/26/2017
17.12.0 857 12/16/2017
17.11.0 1,343 11/30/2017
17.10.0 4,708 10/31/2017
17.9.1 3,567 10/12/2017
17.9.0 1,546 10/2/2017
17.8.0 9,897 8/30/2017
17.7.0 6,251 7/31/2017
17.6.0 2,519 7/1/2017
17.5.0 2,051 5/31/2017
17.4.0 2,736 4/28/2017
17.3.0 3,179 4/2/2017
17.2.0 8,001 3/1/2017
17.1.0 3,197 1/31/2017
16.12.1 4,061 1/16/2017
16.12.0 1,573 12/27/2016
16.11.0 2,439 11/30/2016
16.10.0 2,399 11/4/2016
16.9.0 3,218 10/12/2016
16.8.0 2,963 9/27/2016
16.7.0 1,542 8/22/2016
16.6.0 18,553 7/15/2016
16.5.0 3,283 6/16/2016
16.4.0 3,730 5/16/2016
16.3.0 8,329 4/11/2016
16.2.0 4,308 3/17/2016
16.1.0 6,356 2/4/2016
15.11.0 10,454 1/11/2016
15.10.0 9,255 12/10/2015
15.9.0 5,896 11/6/2015
15.8.1 946 10/16/2015
15.8.0 1,244 10/5/2015
15.7.0 3,241 9/3/2015
15.6.0 8,290 7/22/2015
15.5.0 2,779 6/16/2015
15.4.0 1,834 5/14/2015
15.3.1 1,031 4/23/2015
15.3.0 695 4/14/2015
15.2.0 11,147 3/6/2015
15.1.0 1,326 2/3/2015
14.10.0 4,678 11/28/2014
14.9.0 1,515 11/11/2014
14.8.1 1,411 10/24/2014
14.8.0 655 10/16/2014
14.7.0 1,870 9/7/2014
14.6.0 1,162 8/6/2014
14.5.0 3,163 7/16/2014
14.4.0 1,780 6/2/2014
14.3.0 2,011 5/6/2014
14.2.0 1,179 3/24/2014
14.1.2 1,595 2/17/2014
14.1.1 657 2/10/2014
14.1.0.2 572 2/6/2014
13.12.0 1,514 12/30/2013
8.4.2 5,755 6/5/2014
8.4.1 1,179 5/6/2014
8.4.0 793 3/3/2014
8.3.0.1 691 2/3/2014
8.2.0 638 12/27/2013
8.1.0 5,119 12/16/2013
8.0.0 1,663 10/25/2013
7.9.0 1,030 10/8/2013
7.8.0 748 9/3/2013
7.7.0 3,683 8/4/2013
7.6.0 831 7/5/2013
7.5.0 1,058 5/27/2013
7.4.0 7,336 4/24/2013
7.3.0 845 4/10/2013
7.2.0 1,073 3/8/2013
7.1.0 3,148 1/28/2013
7.0.0 871 12/31/2012
6.9.0 810 12/10/2012
6.8.0 880 10/30/2012
6.7.0 1,229 10/4/2012
6.6.0 748 9/13/2012
6.5.0 859 7/27/2012
6.4.0 785 6/27/2012
6.3.0 710 5/29/2012
6.2.0 752 5/7/2012
6.1.0 770 3/28/2012
6.0.0 748 3/2/2012
5.9.0.1 770 2/16/2012
5.9.0 1,192 2/16/2012
Show less