Browse our Products
Aspose.Slides for .NET 16.6.0 Release Notes
Key | Summary | Category |
---|---|---|
SLIDESNET-37491 | Restoring support for read only document properties to make changes | Feature |
SLIDESNET-32388 | Inserting video from web in presentation | Feature |
SLIDESNET-37410 | Implement FillOverlay effect | Feature |
SLIDESNET-37606 | Empty tiff is generated for exported Tiff | Bug |
SLIDESNET-37601 | Chart data fail to open in Edit mode on saving presentation | Bug |
SLIDESNET-37598 | Incorrect rendering of EA portions (shift to the right) | Bug |
SLIDESNET-37594 | Value cannot be null on saving PPTX presentation | Bug |
SLIDESNET-37582 | Value does not fall in range exception on loading presentation | Bug |
SLIDESNET-37577 | Extra digits are added to the page number footer after saving the PPT | Bug |
SLIDESNET-37576 | The title’s font is changed after saving a PPT | Bug |
SLIDESNET-37575 | An oval shape is changed to rectangle after saving a PPT | Bug |
SLIDESNET-37563 | Shape gradient fill was changed in a saved PPT file | Bug |
SLIDESNET-37562 | Bullets are added after loading and saving a PPT | Bug |
SLIDESNET-37561 | A number list is changed to bullet list on saving PPT | Bug |
SLIDESNET-37559 | Presentation background gets changed in saved presentation | Bug |
SLIDESNET-37556 | An arrow shape becomes a triangle after loading and saving a PPT | Bug |
SLIDESNET-37554 | PPT title text order is reversed after loading and saving | Bug |
SLIDESNET-37542 | Images are missing in saved presentation | Bug |
SLIDESNET-37541 | Text Alignment gets changed in saved presentation | Bug |
SLIDESNET-37539 | Trapezoid shapes became triangle on saving presentation | Bug |
SLIDESNET-37538 | Bullets and arrow shapes are changed after Loading and Saving a PPT | Bug |
SLIDESNET-37535 | Images are mirrored in exported PDF | Bug |
SLIDESNET-37534 | Chart unable to plot on Primary X-Axis and Secondary Y-Axis | Bug |
SLIDESNET-37532 | Method Slide.GetThumbnails throws NullReferenceException for TiffOptions case | Bug |
SLIDESNET-37531 | Drawing text has wrong size in a thumbnail | Bug |
SLIDESNET-37526 | Animation getting changed on saving presenatation | Bug |
SLIDESNET-37520 | Extra border appears around metafile in generated PDF | Bug |
SLIDESNET-37513 | NullReference exception on saving presentation to PDFNotes | Bug |
SLIDESNET-37507 | Wrong BulletType and NumberedBulletStyle in loading PPT presentaion | Bug |
SLIDESNET-37503 | documentProperties.HyperlinkBase can not work for PPT | Bug |
SLIDESNET-37502 | PictureFillFormatEffectiveData.CopyDataFrom throws NullReferenceException | Bug |
SLIDESNET-37501 | Effect getting changed in the design when saving presentation | Bug |
SLIDESNET-37495 | PptxReadException on loading presentation | Bug |
SLIDESNET-37489 | createPortionFormatEffective() throws NullRefrenceException | Bug |
SLIDESNET-37484 | Improper text wrapping for generated thumbnail | Bug |
SLIDESNET-37483 | IndexOutOfRangeException exception on exporting presentation to SWF | Bug |
SLIDESNET-37479 | IPresentationInfo wrong detects Pps and Ppsx formats | Bug |
SLIDESNET-37478 | Throw proper exception when creating presentation from end-of-stream | Bug |
SLIDESNET-37467 | IndexOutOfRangeException on load presentation | Bug |
SLIDESNET-37458 | Index Out of Range exception on exporting presentation to SWF | Bug |
SLIDESNET-37456 | Problem with space between bullets and text | Bug |
SLIDESNET-37455 | Optimizing memory consumption while rendering PDF | Bug |
SLIDESNET-37454 | Pie chart pallets colors changed on changing data | Bug |
SLIDESNET-37452 | Exception while getting properties of a table | Bug |
SLIDESNET-37450 | ArrayIndexOutOfBoundsException on PPT save | Bug |
SLIDESNET-37444 | PptReadException on presentation load | Bug |
SLIDESNET-37440 | Support for nested style tags with AddFromHtml method | Bug |
SLIDESNET-37422 | Problem with generated pdf | Bug |
SLIDESNET-37400 | PptxReadException on presentation load | Bug |
SLIDESNET-37388 | Bigger image generated in svg and pdf | Bug |
SLIDESNET-37324 | Vertical setting problem after AddTextFrameForOverriding method | Bug |
SLIDESNET-37316 | Numbering indentation/space trimming issue | Bug |
SLIDESNET-37129 | Font height returned incorrectly | Bug |
SLIDESNET-37119 | Incorrect bullet points on load and save presentation | Bug |
SLIDESNET-37038 | Incorrect bullets on presentation load and save | Bug |
SLIDESNET-36940 | Loading a PPTX is slow because of SortedDictionary | Bug |
SLIDESNET-36795 | Date format is changed on PDF rendering | Bug |
SLIDESNET-36624 | Saving potx as PPTx gives repair message | Bug |
SLIDESNET-36575 | KeyNotFoundException on presentation load | Bug |
SLIDESNET-36553 | Argument exception on PdfNotes saving | Bug |
SLIDESNET-36378 | Wrong Bullet.Type value after export to PPT | Bug |
SLIDESNET-36280 | Wrong ParagraphFormat.Bullet.Type value after export to PPT (second condition) | Bug |
SLIDESNET-36275 | Wrong bullet type returned for the paragraph text | Bug |
SLIDESNET-36273 | Error C2686 in compiling call to aspose.slides (15.2.0.0) with C++/CLI | Bug |
SLIDESNET-36260 | Font Parsing exception on loading presentation | Bug |
SLIDESNET-36255 | Font parsing exception on accessing the presentation | Bug |
SLIDESNET-36245 | Font parsing exception on accessing the presentation | Bug |
SLIDESNET-36211 | Unexpected font parsing exception when opening a PPTX file | Bug |
SLIDESNET-36186 | Bullets are improperly rendered on slide with Arabic text | Bug |
SLIDESNET-36056 | Unexpected font parsing exception while opening a PPTX file | Bug |
SLIDESNET-35950 | Bullet list is not coming fine in the generated PDF file | Bug |
SLIDESNET-35533 | Extra Bullet is added after cloning the slide | Bug |
SLIDESNET-35454 | End of Stream Exception on accessing the presentation | Bug |
SLIDESNET-35347 | Incorrect bullet information on paragraph while reading the PPT file | Bug |
SLIDESNET-35168 | EndOfStreamException Unable to read beyond the end of the stream on accessing presentation | Bug |
SLIDESNET-35000 | Improper gradient rendering in generated PDF | Bug |
SLIDESNET-34908 | PPT to PDF: Faint images in PDF after conversion | Bug |
SLIDESNET-34648 | Bullets are lost when saving PPT as PPTX | Bug |
SLIDESNET-34067 | Numbered bullets changed to symbol in generated thumbnail | Bug |
SLIDESNET-33783 | Bullet offset changes on saving presentation | Bug |
SLIDESNET-33709 | The numbered bullet changed to symbol when slide thumbnail is created | Bug |
SLIDESNET-33607 | Bullets character is improperly rendered in generated presentation | Bug |
SLIDESNET-33564 | Bullets are improperly rendered in converted PPTX and exported PDF | Bug |
SLIDESNET-23829 | Bullet character is not rendered in generated PDF | Bug |
SLIDESNET-22339 | Custom bullets failed to render in exported PDF | Bug |
Public API Changes
New elements have been added into Aspose.Slides.LoadFormat enumeration
Aspose.Slides.LoadFormat enumeration has been extended with new elements: Potx, Pptm, Ppsm, Potm.
New methods ReadDocumentProperties, UpdateDocumentProperties, and WriteBindedPresentation have been added to IPresentationInfo, logic of the IDocumentProperties.LastSavedTime property setter has been changed
The two new methods ReadDocumentProperties and UpdateDocumentProperties have been added to IPresentationInfo interface. They provide a quick access to document properties and allow to change and update properties without loading a whole presentation.
The typical scenario load the properties, change some value and update the document can be implemented in the following way:
// read the info of presentation
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo("presentation.pptx");
// obtain the current properties
IDocumentProperties props = info.ReadDocumentProperties();
// set the new values of Author and Title fields
props.Author = "New Author";
props.Title = "New Title";
// update the presentation with a new values
info.UpdateDocumentProperties(props);
info.WriteBindedPresentation("updated_presentation.pptx");
There’s an another way to use properties of a particular presentation as a template to update properties in other presentations:
private void UpdateByTemplate()
{
DocumentProperties template;
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo("template.pptx");
template = (DocumentProperties)info.ReadDocumentProperties();
template.Author = "Template Author";
template.Title = "Template Title";
template.Category = "Template Category";
template.Keywords = "Keyword1, Keyword2, Keyword3";
template.Company = "Our Company";
template.Comments = "Created from template";
template.ContentType = "Template Content";
template.Subject = "Template Subject";
UpdateByTemplate("doc1.pptx", template);
UpdateByTemplate("doc2.odp", template);
UpdateByTemplate("doc3.ppt", template);
}
private void UpdateByTemplate(string path, IDocumentProperties template)
{
IPresentationInfo toUpdate = PresentationFactory.Instance.GetPresentationInfo(path);
toUpdate.UpdateDocumentProperties(template);
toUpdate.WriteBindedPresentation(path);
}
Or a new template can be created from scratch and then used to update multiple presentations:
private void UpdateByTemplate()
{
DocumentProperties template = new DocumentProperties()
{
Author = "Template Author",
Title = "Template Title",
Category = "Template Category",
Keywords = "Keyword1, Keyword2, Keyword3",
Company = "Our Company",
Comments = "Created from template",
ContentType = "Template Content",
Subject = "Template Subject"
};
UpdateByTemplate("doc1.pptx", template);
UpdateByTemplate("doc2.odp", template);
UpdateByTemplate("doc3.ppt", template);
}
private void UpdateByTemplate(string path, IDocumentProperties template)
{
IPresentationInfo toUpdate = PresentationFactory.Instance.GetPresentationInfo(path);
toUpdate.UpdateDocumentProperties(template);
toUpdate.WriteBindedPresentation(path);
}
Also, CreatedTime and LastPrinted properties of IDocumentProperties have been made readable and writable. IDocumentProperties.LastSavedTime has made writable too, but only if it is created as a standalone object or returned by IPresentationInfo.ReadDocumentProperties() method (not if it is returned by IPresentation.DocumentProperties property).