Aspose.Slides for .NET 19.7 Release Notes
Key | Summary | Category |
---|---|---|
SLIDESNET-41223 | Obtain layout styles for shapes in common way | Feature |
SLIDESNET-40010 | Setter for ExternalWorkbookPath of ExternalWorkbook in charts | Feature |
SLIDESNET-33910 | Setting Font related properties for chart entities at one place | Feature |
SLIDESNET-33742 | Setting Font related properties for Chart Area | Feature |
SLIDESNET-34685 | Default automatic Markers symbols for LineWithMarkers chart | Feature |
SLIDESNET-35440 | Support for clearing the particular chart series datapoint data only in chart data worksheet | Feature |
SLIDESNET-36453 | Support API for animation effects on paragraph level editing | Feature |
SLIDESNET-41185 | Poor Quality When converting PPTX to PdfNotes | Enhancement |
SLIDESNET-41215 | OLE embedded objects support for OpenDocument | Enhancement |
SLIDESNET-35712 | Enabling and disabling the chart series values | Enhancement |
SLIDESNET-41166 | PowerPoint has page numbers that increment even when its just a continuation of that slides notes | Enhancement |
SLIDESNET-41132 | Gradient fill color is missing from exported image and PDF | Bug |
SLIDESNET-41202 | After conversion Data Series and part of Legend are missing | Bug |
SLIDESNET-41193 | After saving the presentation output file is corrupted | Bug |
SLIDESNET-41234 | PDF Notes BottomFull position exported not properly | Bug |
SLIDESNET-41201 | Charts rendered incorrectly when exporting PPTX slide to image | Bug |
SLIDESNET-33438 | Images, tables missing and PDF/A-1b verification failing | Bug |
SLIDESNET-34315 | Chart failed to render in generated PDF and thumbnail for PP 2013 presentation | Bug |
SLIDESNET-41151 | Wrong row height for table is returned | Bug |
SLIDESNET-41107 | Gradient effects are not properly rendered in thumbnail | Bug |
SLIDESNET-41188 | Font format in TextFrame is not preserved | Bug |
SLIDESNET-41226 | PPTX not properly converted to PDF | Bug |
SLIDESNET-41158 | PptxReadException: Input string was not in the correct format on loading presentation | Bug |
SLIDESNET-41230 | If a presentation is created from a stream, the stream is disposed with the presentation | Bug |
SLIDESNET-41217 | NullReferenceException on converting presentation to PDF | Bug |
SLIDESNET-41089 | Getting the anchor of an external link fails | Bug |
SLIDESNET-41082 | PPTX corrupted after deleting object with animation | Bug |
SLIDESNET-33462 | Chart missing in generated thumbnail | Bug |
SLIDESNET-33533 | Percentage in chart text is improperly rendered | Bug |
SLIDESNET-40915 | Converted Power Points are not resizing properly in IE11 | Bug |
SLIDESNET-33752 | Stacked Column chart is missing and improperly rendered in generated thumbnail | Bug |
SLIDESNET-34218 | Exploded Pie chart failed to get created when setting the new series and categories | Bug |
SLIDESNET-33945 | Value axis title is rendered in wrong direction | Bug |
SLIDESNET-33664 | Pie charts missing in generated thumbnails | Bug |
SLIDESNET-34502 | Setting the Pie chart series point label number format sets for all series points | Bug |
SLIDESNET-41038 | Slide chart label bullet appearing in thumbnail | Bug |
SLIDESNET-35268 | Chart missing in PPTX to SVG conversion | Bug |
SLIDESNET-40879 | ODP file not properly converted to PPTX | Bug |
SLIDESNET-34447 | Setting DisplayBlanksAs for chart to Blank sets to Zero when chart is edited in PowerPoint | Bug |
SLIDESNET-35038 | Default chart area border JoinStyle rendered as Miter but must do as Round | Bug |
SLIDESNET-40885 | Image is improperly rendered in generated thumbnail | Bug |
SLIDESNET-34183 | Chart legends highlight wrong color for chart categories | Bug |
SLIDESNET-34186 | Wrong chart value axis unit are rendered in generated thumbnail | Bug |
SLIDESNET-33884 | Chart labels properties do not take effect of set values | Bug |
SLIDESNET-34557 | Chart series line is either missing or rendered with wrong color | Bug |
SLIDESNET-35735 | Setting transparency for chart major axis line colors | Bug |
SLIDESNET-34657 | Display unit type property does not get set for scatter chart | Bug |
SLIDESNET-34097 | Chart type and series type failed to work in generated presentation | Bug |
SLIDESNET-34559 | Pattern fill in chart series is missing for Bar and Pie charts | Bug |
SLIDESNET-34182 | Chart bars are rendered with wrong color | Bug |
SLIDESNET-40880 | ODP file not properly converted to PPTX | Bug |
SLIDESNET-33946 | Pie chart explosion failed to rendered in generated PDF | Bug |
SLIDESNET-34184 | The gap between chart categories is removed in generated thumbnails | Bug |
SLIDESNET-33257 | Chart styling is missing in PNG export | Bug |
SLIDESNET-34780 | Missing borders around chart labels and misplaced improperly formatted text in generated PDF | Bug |
SLIDESNET-33694 | Chart failed to render in generated thumbnail | Bug |
SLIDESNET-35058 | Chart missing in generated thumbnail with “Some chart types cannot be combined with other types!” exception message | Bug |
SLIDESNET-34535 | Wrong text color for chart category and value axis is read through Aspose.Slides | Bug |
SLIDESNET-34558 | Grid lines are missing in generated PDF for charts | Bug |
SLIDESNET-34512 | Bubble Chart Second Value Axis custom number format not working | Bug |
SLIDESNET-34554 | Bar and Column charts are filled with wrong color | Bug |
SLIDESNET-34658 | The chart is improperly rendered in generated PDF | Bug |
SLIDESNET-35059 | Chart is improperly rendered in thumbnail | Bug |
SLIDESNET-33352 | Charts color changed in generated thumbnails | Bug |
SLIDESNET-34188 | Chart category axis line is missing in generated thumbnail | Bug |
SLIDESNET-33536 | Charts improperly rendered in generated thumbnail | Bug |
SLIDESNET-33665 | Pie chart label values are rendered outside in generated thumbnails | Bug |
SLIDESNET-34148 | Charts are improperly rendered in generated thumbnail/TIFF | Bug |
SLIDESNET-34070 | Chart plot area fill color is missing in generated PDF | Bug |
SLIDESNET-41163 | If text and equations are in a different block, text block, overlapping issue occurs | Bug |
SLIDESNET-33751 | Pie charts are improperly rendered in generated thumbnail | Bug |
SLIDESNET-34146 | Chart missing in generated thumbnails/TIFF | Bug |
SLIDESNET-33600 | The chart missing in generated PDF | Bug |
SLIDESNET-34346 | Chart labels are missing in rendered thumbnail and PDF | Bug |
SLIDESNET-34345 | Chart bar is missing in generated PDF | Bug |
SLIDESNET-33947 | Bar chart failed to render in generated PDF | Bug |
SLIDESNET-34407 | Wrong chart data label is created in slide thumbnail | Bug |
SLIDESNET-34013 | Aspose generated chart depicted improperly in PowerPoint 2007 | Bug |
SLIDESNET-41123 | Setting table cell text to empty string results in font properties changing | Bug |
SLIDESNET-34187 | Chart value axis is rendered in wrong color | Bug |
SLIDESNET-34556 | Wrong units for chart labels in generated PDF | Bug |
SLIDESNET-34666 | Chart missing in generated slide thumbnail | Bug |
SLIDESNET-34745 | Chart series markers symbols are missing in generated HTML | Bug |
SLIDESNET-34779 | Chart custom labels are missing in generated PDF | Bug |
SLIDESNET-41243 | PPTX with charts gets corrupted | Bug |
SLIDESNET-37138 | Image lost on POT to POTX conversion | Bug |
SLIDESNET-40868 | PptxReadException : Input string was not in the correct format on loading presentation | Bug |
SLIDESNET-41213 | Exception on loading presentation file | Bug |
SLIDESNET-41086 | PPTX file not properly converted to PDF | Bug |
SLIDESNET-41239 | FormatException on loading presentation | Bug |
SLIDESNET-41186 | Extract Embedded files from ODP | Bug |
SLIDESNET-34026 | Chart improperly rendered in cloned presentation | Bug |
SLIDESNET-34258 | Null value set as blank does not work when chart is edited in PowerPoint | Bug |
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);
}