Browse our Products

Aspose.Slides for .NET 19.7 Release Notes

KeySummaryCategory
SLIDESNET-41223Obtain layout styles for shapes in common wayFeature
SLIDESNET-40010Setter for ExternalWorkbookPath of ExternalWorkbook in chartsFeature
SLIDESNET-33910Setting Font related properties for chart entities at one placeFeature
SLIDESNET-33742Setting Font related properties for Chart AreaFeature
SLIDESNET-34685Default automatic Markers symbols for LineWithMarkers chartFeature
SLIDESNET-35440Support for clearing the particular chart series datapoint data only in chart data worksheetFeature
SLIDESNET-36453Support API for animation effects on paragraph level editingFeature
SLIDESNET-41185Poor Quality When converting PPTX to PdfNotesEnhancement
SLIDESNET-41215OLE embedded objects support for OpenDocumentEnhancement
SLIDESNET-35712Enabling and disabling the chart series valuesEnhancement
SLIDESNET-41166PowerPoint has page numbers that increment even when its just a continuation of that slides notesEnhancement
SLIDESNET-41132Gradient fill color is missing from exported image and PDFBug
SLIDESNET-41202After conversion Data Series and part of Legend are missingBug
SLIDESNET-41193After saving the presentation output file is corruptedBug
SLIDESNET-41234PDF Notes BottomFull position exported not properlyBug
SLIDESNET-41201Charts rendered incorrectly when exporting PPTX slide to imageBug
SLIDESNET-33438Images, tables missing and PDF/A-1b verification failingBug
SLIDESNET-34315Chart failed to render in generated PDF and thumbnail for PP 2013 presentationBug
SLIDESNET-41151Wrong row height for table is returnedBug
SLIDESNET-41107Gradient effects are not properly rendered in thumbnailBug
SLIDESNET-41188Font format in TextFrame is not preservedBug
SLIDESNET-41226PPTX not properly converted to PDFBug
SLIDESNET-41158PptxReadException: Input string was not in the correct format on loading presentationBug
SLIDESNET-41230If a presentation is created from a stream, the stream is disposed with the presentationBug
SLIDESNET-41217NullReferenceException on converting presentation to PDFBug
SLIDESNET-41089Getting the anchor of an external link failsBug
SLIDESNET-41082PPTX corrupted after deleting object with animationBug
SLIDESNET-33462Chart missing in generated thumbnailBug
SLIDESNET-33533Percentage in chart text is improperly renderedBug
SLIDESNET-40915Converted Power Points are not resizing properly in IE11Bug
SLIDESNET-33752Stacked Column chart is missing and improperly rendered in generated thumbnailBug
SLIDESNET-34218Exploded Pie chart failed to get created when setting the new series and categoriesBug
SLIDESNET-33945Value axis title is rendered in wrong directionBug
SLIDESNET-33664Pie charts missing in generated thumbnailsBug
SLIDESNET-34502Setting the Pie chart series point label number format sets for all series pointsBug
SLIDESNET-41038Slide chart label bullet appearing in thumbnailBug
SLIDESNET-35268Chart missing in PPTX to SVG conversionBug
SLIDESNET-40879ODP file not properly converted to PPTXBug
SLIDESNET-34447Setting DisplayBlanksAs for chart to Blank sets to Zero when chart is edited in PowerPointBug
SLIDESNET-35038Default chart area border JoinStyle rendered as Miter but must do as RoundBug
SLIDESNET-40885Image is improperly rendered in generated thumbnailBug
SLIDESNET-34183Chart legends highlight wrong color for chart categoriesBug
SLIDESNET-34186Wrong chart value axis unit are rendered in generated thumbnailBug
SLIDESNET-33884Chart labels properties do not take effect of set valuesBug
SLIDESNET-34557Chart series line is either missing or rendered with wrong colorBug
SLIDESNET-35735Setting transparency for chart major axis line colorsBug
SLIDESNET-34657Display unit type property does not get set for scatter chartBug
SLIDESNET-34097Chart type and series type failed to work in generated presentationBug
SLIDESNET-34559Pattern fill in chart series is missing for Bar and Pie chartsBug
SLIDESNET-34182Chart bars are rendered with wrong colorBug
SLIDESNET-40880ODP file not properly converted to PPTXBug
SLIDESNET-33946Pie chart explosion failed to rendered in generated PDFBug
SLIDESNET-34184The gap between chart categories is removed in generated thumbnailsBug
SLIDESNET-33257Chart styling is missing in PNG exportBug
SLIDESNET-34780Missing borders around chart labels and misplaced improperly formatted text in generated PDFBug
SLIDESNET-33694Chart failed to render in generated thumbnailBug
SLIDESNET-35058Chart missing in generated thumbnail with “Some chart types cannot be combined with other types!” exception messageBug
SLIDESNET-34535Wrong text color for chart category and value axis is read through Aspose.SlidesBug
SLIDESNET-34558Grid lines are missing in generated PDF for chartsBug
SLIDESNET-34512Bubble Chart Second Value Axis custom number format not workingBug
SLIDESNET-34554Bar and Column charts are filled with wrong colorBug
SLIDESNET-34658The chart is improperly rendered in generated PDFBug
SLIDESNET-35059Chart is improperly rendered in thumbnailBug
SLIDESNET-33352Charts color changed in generated thumbnailsBug
SLIDESNET-34188Chart category axis line is missing in generated thumbnailBug
SLIDESNET-33536Charts improperly rendered in generated thumbnailBug
SLIDESNET-33665Pie chart label values are rendered outside in generated thumbnailsBug
SLIDESNET-34148Charts are improperly rendered in generated thumbnail/TIFFBug
SLIDESNET-34070Chart plot area fill color is missing in generated PDFBug
SLIDESNET-41163If text and equations are in a different block, text block, overlapping issue occursBug
SLIDESNET-33751Pie charts are improperly rendered in generated thumbnailBug
SLIDESNET-34146Chart missing in generated thumbnails/TIFFBug
SLIDESNET-33600The chart missing in generated PDFBug
SLIDESNET-34346Chart labels are missing in rendered thumbnail and PDFBug
SLIDESNET-34345Chart bar is missing in generated PDFBug
SLIDESNET-33947Bar chart failed to render in generated PDFBug
SLIDESNET-34407Wrong chart data label is created in slide thumbnailBug
SLIDESNET-34013Aspose generated chart depicted improperly in PowerPoint 2007Bug
SLIDESNET-41123Setting table cell text to empty string results in font properties changingBug
SLIDESNET-34187Chart value axis is rendered in wrong colorBug
SLIDESNET-34556Wrong units for chart labels in generated PDFBug
SLIDESNET-34666Chart missing in generated slide thumbnailBug
SLIDESNET-34745Chart series markers symbols are missing in generated HTMLBug
SLIDESNET-34779Chart custom labels are missing in generated PDFBug
SLIDESNET-41243PPTX with charts gets corruptedBug
SLIDESNET-37138Image lost on POT to POTX conversionBug
SLIDESNET-40868PptxReadException : Input string was not in the correct format on loading presentationBug
SLIDESNET-41213Exception on loading presentation fileBug
SLIDESNET-41086PPTX file not properly converted to PDFBug
SLIDESNET-41239FormatException on loading presentationBug
SLIDESNET-41186Extract Embedded files from ODPBug
SLIDESNET-34026Chart improperly rendered in cloned presentationBug
SLIDESNET-34258Null value set as blank does not work when chart is edited in PowerPointBug

Public API Changes

Another option has been added for setting external workbook path

Method SetExternalWorkbook(string workbookPath, bool updateChartData) has been added. 

Parameter updateChartData defines whether excel workbook will be loaded or not. If value is false only workbook path will be updated.  Chart data won’t be loaded and updated from the target workbook. It’s useful when target workbook doesn’t exist yet or is not available. If value is true chart data will be updated from the target workbook as regular method SetExternalWorkbook does.

using (Presentation pres = new Presentation())
{
      IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.Pie, 50, 50, 400, 600, true);
      IChartData chartData = chart.ChartData;
      (chartData as ChartData).SetExternalWorkbook("http://path/doesnt/exists", false);
}

In some scenarios user have to implement retrieving of workbook data on his own. For example if access to the source protected by password. In such cases user can use IResourceLoadingCallback.

public void SetExternalWorkbookMethodNetwork()
{
   string externalWbPath = @"http://606178d2.ngrok.io/webgrind/styles/2.xlsx";
   LoadOptions opts = new LoadOptions();
   opts.ResourceLoadingCallback = new WorkbookLoadingHandler();
   using (Presentation pres = new Presentation(opts))
   {
      IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.Pie, 50, 50, 400, 600, false);
      IChartData chartData = chart.ChartData;
      (chartData as ChartData).SetExternalWorkbook(externalWbPath);
   }
}

private class WorkbookLoadingHandler : IResourceLoadingCallback
{
   public ResourceLoadingAction ResourceLoading(IResourceLoadingArgs args)
   {
      string workbookPath = args.OriginalUri;
      if (workbookPath.IndexOf(':') > 1 && !workbookPath.StartsWith("file:///")) // schemed path
      {
         try
         {
            WebRequest request = WebRequest.Create(workbookPath);
            request.Credentials = new System.Net.NetworkCredential("testuser", "testuser");
            using (WebResponse response = request.GetResponse())
            using (Stream responseStream = response.GetResponseStream())
            {
                byte[] buffer = BlobDownloadManager.Download(responseStream);
                args.SetData(buffer);
                return ResourceLoadingAction.UserProvided;
            }
          }
          catch (Exception ex)
          {
             throw new InvalidOperationException(ex.ToString());
          }
      }
      else
      {
          return ResourceLoadingAction.Default;
      }
   }

New AddEffect method has been added to Sequence class and ISequence interface

AddEffect(IParagraph paragraph, EffectType effectType, EffectSubtype subtype, EffectTriggerType triggerType) method has been added to ISequence interface and Sequence class.

It allows to add new animation effect for single paragraph.

Usage example:

using (Presentation presentation = new Presentation(path + "input.pptx")
{
	// select paragraph to add effect
	IAutoShape autoShape = (IAutoShape)presentation.Slides[0].Shapes[0];
	IParagraph paragraph = autoShape.TextFrame.Paragraphs[0];
	
	// add Fly animation effect to selected paragraph
	IEffect effect = presentation.Slides[0].Timeline.MainSequence.AddEffect(paragraph, EffectType.Fly, EffectSubtype.Left, EffectTriggerType.OnClick);
}