Browse our Products

Aspose.Slides for .NET 17.2.0 Release Notes

SLIDESNET-38125Check whether presentations master slides are identicalFeature
SLIDESNET-33650Identifying the merged cells in TableFeature
SLIDESNET-34143Refactor charts implementationFeature
SLIDESNET-38316Insufficient header length errorBug
SLIDESNET-38371Unable to edit data in chart after just opening and saving presentation (without modification)Bug
SLIDESNET-38329Exception on converting pptx to pdfBug
SLIDESNET-38328Presentation file not converted properly to pdfBug
SLIDESNET-38325Exception on loading presentationBug
SLIDESNET-38323Footer is changed after saving pptBug
SLIDESNET-38321Cloning a chart object creates a corrupted chartBug
SLIDESNET-38315Ole frame un-editable when saving presentationBug
SLIDESNET-38306Problem while converting ppt to pdfBug
SLIDESNET-38300System.ArgumentException on saving PPTX to PDFBug
SLIDESNET-38291When PPT is loaded and saved, the date format is changedBug
SLIDESNET-38288After load and save of PPT file, the footer disappears.Bug
SLIDESNET-38287Exception on saving pptBug
SLIDESNET-38281Footer text color and font changed after savingBug
SLIDESNET-38278Exception on saving pptBug
SLIDESNET-38274Pptx not properly converted to pdfBug
SLIDESNET-38271Hyperlink and tool tip text change for hyperlink on saving presentationBug
SLIDESNET-38267Bold effect not appliedBug
SLIDESNET-38264Pptx not properly converted to pdfBug
SLIDESNET-38250ReadWorkbookStream method returns empty workbookBug
SLIDESNET-38237Exception on loading presentationBug
SLIDESNET-38229Hyperlink Value changed for portion textBug
SLIDESNET-38228Animation effect gets corrupt on changing paragraph textBug
SLIDESNET-38221Ppt changed after savingBug
SLIDESNET-38212External Hyperlink is not getting set for textBug
SLIDESNET-38203Vector images background changedBug
SLIDESNET-38202Ppt changed after savingBug
SLIDESNET-38176Hyperlink (URLs) with Unicode text becomes with duplicates charactersBug
SLIDESNET-38171Font looks bold on renderingBug
SLIDESNET-38152Instead of some images “no image” placeholder rendered for x86 buildBug
SLIDESNET-38085Incorrect link detectionBug
SLIDESNET-38075Shaped removed after saving pptBug
SLIDESNET-36620Argument exception on loading the presentationBug
SLIDESNET-36373Text color changed after saving presentation.Bug
SLIDESNET-36372Protected view message thrown on opening saved presentationBug
SLIDESNET-35825Conversion to PPT fails with exception PPT presentation can’t contains more than 8 placeholders in one slide.Bug
SLIDESNET-35824Empty pages generated when converting ODP to PDFBug
SLIDESNET-35587Hyperlink to absolute file path doesn’t work for PowerPoint 2007Bug
SLIDESNET-35542Category axis labels are missing or improperly rendered in generated PDFBug
SLIDESNET-35489Error on opening the generated PDF file from PPT fileBug
SLIDESNET-35179StringIndexOutOfBoundsException on reading Hyperlink textBug
SLIDESNET-35000Improper gradient rendering in generated PDFBug
SLIDESNET-33748Font Rotation does not set the value for rotated fontBug

Public API Changes

Equals method has been added to IBaseSlide interface and BaseSlide class

Method signature:

bool Equals(IBaseSlide slide);

It returns true for the slides / layout slides / master slides which identical by its structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Example code snippet:

using(Presentation presentation1 = new Presentation(@"SomePresentation1.pptx"))
using(Presentation presentation2 = new Presentation(@"SomePresentation2.pptx"))
  for (int i = 0; i < presentation1.Masters.Count; i++)
    for (int j = 0; j < presentation2.Masters.Count; j++)
      if (presentation1.Masters[i].Equals(presentation2.Masters[j]))
        Console.WriteLine(string.Format("SomePresentation1 MasterSlide#{0} is equal to SomePresentation2 MasterSlide#{1}", i, j));

IsMergedCell property has been added to ICell interface and Cell class

ICell.IsMergedCell property returns true if the cell is merged with any adjusted cell, false otherwise. It can be used to identify merged cells across the table.

Code snippet for output all merged cells in a table:

using(Presentation pres = new Presentation("SomePresentationWithTable.pptx"))
  ITable table = pres.Slides[0].Shapes[0] as ITable; // assuming that Slide#0.Shape#0 is a table
  for (int i = 0; i < table.Rows.Count; i++)
    for (int j = 0; j < table.Columns.Count; j++)
      ICell currentCell = table.Rows[i][j];
      if (currentCell.IsMergedCell)
        Console.WriteLine(string.Format("Cell {0};{1} is a part of merged cell with RowSpan={2} and ColSpan={3} starting from Cell {4};{5}.",
            i, j, currentCell.RowSpan, currentCell.ColSpan, currentCell.FirstRowIndex, currentCell.FirstColumnIndex));