Spire.Presentation New Release or Hotfix

Technical support for Presentation

Moderator: iceblue support

Spire.Presentation New Release or Hotfix

Postby amy.zhao » Tue Apr 15, 2014 3:20 am

This is the list of changelogs of Spire.Presentation New release and hotfix. You can get the detail information of each version's new features and bug solutions.
Free Trail to evaluate Spire.Presentation here:
http://www.e-iceblue.com/Download/downl ... t-now.html

Spire.Presentation Pack Hotfix Version:2.8.59
New features:
Adds ShowMasterShape property for Slide to hide background graphics.
Adds new overloaded Print method to support to use the printdocument object.
Code: Select all
public void Print(PresentationPrintDocument presentationPrintDocument);

Exposes the TriggerShape property of InteractiveSequences.
Bug fixes:
Fixes the issue where list items returned with no bullets or any kind of list formatting when inserting a HTML list.
Fixes the issue where the Animation/Transition time can't be set.
Fixes the issue that caused the table formatting of chart data lost.
Fixes the issue that caused the major units of Chart Axis incorrect when converting PPT with chart to Image.


Spire.Presentation Pack Hotfix Version:2.8.49
New features:
Supports to convert to HTML.
Code: Select all
presentation.SaveToFile("8847ToPdf.html", FileFormat.Html);

Supports to convert to TIFF.
Code: Select all
presentation.SaveToFile("result.tiff", FileFormat.Tiff);

Supports to convert to EMF file with specific size.
Code: Select all
ppt.Slides[i].SaveAsEMF(fileName, 1075, 710);

Bug fixes:
Fixes the issue that the method AddFromHtml doesn't work correctly without html and body tags.
Fixes the issue that caused wrong shadow when converting to image.
Fixes the issue that caused shadow missing when converting to image.
Fixes the issue that caused bar chart missing when converting to image.


Spire.Presentation Pack Hotfix Version:2.8.35
New features:
Support to get or set the layout of presentation slides.
Code: Select all
ppt.Slides[0].Layout = ppt.Masters[0].Layouts[1];

Support to add a new slide with specific layout from master.
Code: Select all
ppt.Slides.Append(ppt.Slides[0],ppt.Masters[0].Layouts[1]);

or
Code: Select all
ppt.Slides.Insert(0, ppt.Slides[0],ppt.Masters[0].Layouts[1]);

Support to set the width/height of table.
Code: Select all
table.TableRows[0].Height = value;
table.ColumnsList[0].Width = value;

Bug Solutions:
Fixes the issue that caused wrong format when converting presentation slides to image.
Fixes the issue that caused the shadow missing when converting presentation slides to image.
Fixes the issue that caused exception "The format of the input string is incorrect" when loading the PowerPoint file.
Fixes the issue that the background of shape changed from transparency to white.


Spire.Presentation Pack Hotfix Version:2.8.21
New feature:
Supports to access the layout slide of master.
Code: Select all
IMasterSlide master = ppt.Masters[0];
IMasterLayouts masterLayouts = master.Layouts;
ActiveSlide layoutSlide = masterLayouts[0] as ActiveSlide;
 

Bug fixes:
Fixes the issue that caused wrong composing when converting PPT to Image.
Fixes the issue that caused exception "spr⁹ was unhandled" when appending slide.
Fixes the issue that caused chart missing when converting PPT to image on Azure.


Spire.Presentation Pack Hotfix Version:2.8.10
New feature:
Spire.Presentation supports to detect whether the Presentation slides has macro or not for the PowerPoint presentation 2007 or above (.PPTX, .PPSX).
Code: Select all
bool value = Presentation.HasMacros;

Bug Solution:
Fixes the issue caused wrong result when getting chart type.


Spire.Presentation Pack hotfix Version:2.8.4
Bug Solution:
Fixes the issue that caused the exception when splitting presentations into individual files.


Spire.Presentation Pack Version:2.8
Bug Solution:
Fixes the issue where the gradient was converted into image when converting presentation slide to SVG.
Resolves the issue where the text orientation was changed from horizontal to vertical when converting presentation slide to image.
Fixes the issue that caused text overlapped when converting presentation slide to image.
Fixes the issue that caused font information changed when replacing placeholders.
Fixes the issue where a tag can't be replaced by a string containing line breaks.
Fixes the issue where the hidden slide can't be detected.


Spire.Presentation Pack hotfix Version:2.7.51
Bug Solution:
Improves the function of converting presentation slides to image.
Fixes the issue where white spaces were left when converting presentation slides to SVG.
Fixes the issue caused wrong gradient when converting presentation slides to SVG.
Fixes the issue caused wrong font when converting presentation slides to PDF.
Fixes the issue caused the incorrect content when converting presentation slides to PDF.
Fixes the issue caused InvalidOperationException when loading .pptx file.


Spire.Presentation Pack hotfix Version:2.7.39
New Features:
Add the DoughnutHoleSize property to manipulate the Doughnut Hole Size of Doughnut chart.
Code: Select all
chart.Series[0].DoughnutHoleSize = 70;

Add new feature to set the property of Axis Position to "On Tick Marks".
Code: Select all
chart.PrimaryValueAxis.CrossBetweenType = CrossBetweenType.MidpointOfCategory;

Bug Solution:
Fixes the issue where SmartArt got messed up when converting presentation slides to Image.
Fixes the issue that caused strange lines/marks on the PDF when converting presentation slides to PDF.
Fixes the issue where solid line of shape became dotted line when converting presentation slides to PDF.
Fixes the issue that caused content lost when converting presentation slides to PDF.
Fixes the issue where the highlight color was removed when converting presentation slides to PDF.
Fixes the issue that caused StackOverflowException with the ISlide.SaveAsImage() method.
Fixes the issue where slide content rendered different after converting when fonts are not installed in system.


Spire.Presentation Pack hotfix Version:2.7.32
New Features:
Add new feature to get the shape with animation.
Code: Select all
var shape = presentation.Slides[0].Timeline.TextAnimations[0].ShapeRef;

Add new feature to get object's sound effect.
Code: Select all
TimeNodeAudio audio = presentation.Slides[0].Timeline.MainSequence[0].TimeNodeAudios[0];

Bug Solution:
Fixes the issue that caused the text direction and rotated shape incorrect when converting presentation slides to image.
Improve the effects on chart rendering when converting presentation slides to image.
Fixes the issue where the markers on line chart lost when converting presentation slides to PDF.
Fixes the issue that caused the content lost when converting presentation slides to PDF and Image.
Resolves the issue that getting the alignment of paragraph was incorrect.


Spire.Presentation Pack hotfix Version:2.7.11
New Features:
Supports to set the show type as kiosk (full screen).
Code: Select all
presentation.ShowType = SlideShowType.Kiosk;

Support to specify interval unit for chart CategoryAxis lables.
Code: Select all
chart.PrimaryCategoryAxis.IsAutomaticTickLabelSpacing = false;
chart.PrimaryCategoryAxis.TickLabelSpacing = 1;

Bug Solutions:
Fixes the issue that caused incorrect content when convert PPT to image.
Fixes the issue that caused the project hanging when convert PPT to image.
Fixes the issue that caused wrong gradient color when convert PPT to image.
Fixes the issue that caused Small Caps property doesn't work when convert PPT to PDF.
Fixes the issue that caused incorrect content when convert PPT to PDF.
Fixes the issue that caused file does not loop continuously in some PowerPoint versions when show.
Fixes the issue that caused NullReferenceException when set loop show.


Spire.Presentation Pack hotfix Version:2.6.42
New Feature:
Add new features to get/set transition duration.
Code: Select all
//Specifies the transition duration.take effect above office 2010. millisecond.
public uint Duration { get; set; }
presentation.Slides[i].SlideShowTransition.Duration;


Bug Solutions:
Fixes the issue that caused color of chart axis's text wrong when convert PPT to image.
Fixes the issue that caused wrong format when convert PPT to image.


Spire.Presentation Pack hotfix Version:2.6.39
New Feature:
Add new feature to copy an existing chart.
Code: Select all
// Summary:
//     clone basechart and insert into shapes
//
// Parameters:
//   baseChart:
//     source chart
//
//   rectangle:
//     Rectangle should be inserted
//
//   nIndex:
//   index should be inserted.-1 mean append at the last.
public IChart CreateChart(IChart baseChart, RectangleF rectangle, int nIndex);

Bug Solutions:
Fixes the issue where the transition will not set the auto when its effect set to None.



Spire.Presentation Pack hotfix Version:2.6.23
New features:
Spire.Presentation supports all transition types and its effect Option in PowerPoint 2010.
Spire.Presentation adds the property to adjust PPT Series OverLap.
Code: Select all
chart.OverLap = 50;

Add the method to get the presentation to loop at the end.
Code: Select all
Presentation ppt = new Presentation();
ppt.LoadFromFile(FilePath);
ppt.ShowLoop = true;
ppt.ShowAnimation = true;
ppt.ShowNarration = true;
ppt.UseTimings = true;

Add new feature to set the Trendline.
Code: Select all
ITrendlines it = chart.Series[0].AddTrendLine[TrendLinesType.Linear];
it.displayEquation = false;
it.displayRSquareValue = false;
it.forward = 10;
it.backward = 20;
it.intercept = 5;
 


Bug Solutions:
Fixes the issue that caused the content can't be extracted.
Fixes the issue where the chart displayed incorrectly when convert presentation slides to Image.


Spire.Presentation Pack hotfix Version:2.6.7
New feature:
Add new feature to manipulate the SmartArt when convert PPT to image.
Add new feature to support to embed the online video.
Code: Select all
public IVideo AppendVideoMedia(string filePath, RectangleF rectangle, bool isInnerLink);//Set isInnerLink as false.

Add new feature to adjust PPT chart series OverLap.
Code: Select all
chart.OverLap = 50;

Bug solutions:
Fixes the issue where the text can't be extracted.
Fixes the issue that caused incorrect line chart.

Spire.Presentation Pack Version:2.6
New feature:
Code: Select all
Spire.Presentation supports to embed .swf file in slide.
string inputFile = "sample.swf";
string outputFile ="result.pptx";
Presentation presentaion = new Presentation();
presentaion.Slides[0].Shapes.InsertVideoMedia(0, Path.GetFullPath(inputFile), new RectangleF(200, 200, 200, 200));
presentaion.SaveToFile(outputFile, FileFormat.Pptx2010);

Bug solutions:
Fixes the issue that the result PPTX file cannot be opened by MS Powerpoint2010 when saving to PPTX file using presentation.SaveToHttpResponse(output, FileFormat.Pptx2010, Response).

Spire.Presentation Pack Version:2.5
Bug solutions:
Fixes the issue that caused bullet point at the beginning of the text.
Fixes the issue where the HasDataTable property of the chart didn't work.
Fixes the issue that caused "String can not be empty" exception when access data behind this chart.
Fixes the issue that file is broken and needs to be open in repair mode when add a slide and save to another file then open this file in MS Power Point.


Spire.Presentation Pack Hotfix Version:2.4.27
Bug solutions:
Fixes the issue that caused extra bullet point at the beginning of the text.
Fixes the issue that caused the content incorrect when convert to PDF.


Spire.Presentation Pack Version:2.4
Bug solutions:
Fix the issue where the content displayed incorrectly when converted PPT to Image.
Resolve the issue that caused the content incorrect when split one PPT to multiple PPT files.
Fix the issue where the chart title was changed when saved the chart to Image.
Fix the issue that caused the chart lost when convert .ppt to .pdf.

Spire.Presentation Pack Version:2.3
Bug solutions:
Fix the issue that caused the project not to be run after compiled when converted .ppt slide to image.
Fix the issue where the series in charts didn't get proper indexes.

Spire.Presentation Pack Version:2.2.22
New Features:
Add new feature to convert the shape objects in slide to image.
Code: Select all
Presentation.Slides[index].Shapes.SaveAsImage(int shapeIndex);
Presentation.Slides[index].Shapes.SavaAsEMF(int shapeIndex, string filePath);

Add new override method to set whether the media object is embedded or not when append media.
Code: Select all
public IAudio AppendAudioMedia(string filePath, RectangleF rectangle, bool isEmbed);
public IAudio AppendAudioMedia(string filePath, float X, float Y, bool isEmbed);

Bug Solution:
Fix the issue where the title of secondary axis was unable to set when create new secondary axis.

Spire.Presentation Pack Hotfix Version:2.2.17
New Feature:
Add new feature to enable developers to load .pps format document and save to .ppsx format document.
Add new feature to create, save, extract, and edit SmartArt.
Code: Select all
Presentation pres = new Presentation();
Spire.Presentation.Diagrams.ISmartArt sa = pres.Slides[0].Shapes.AppendSmartArt(0,0,400,400,Spire.Presentation.Diagrams.SmartArtLayoutType.BasicBlockList);
sa.Style = Spire.Presentation.Diagrams.SmartArtStyleType.Cartoon;
foreach(object a in sa.Nodes)
sa.Nodes.RemoveNode(0);
Spire.Presentation.Diagrams.SmartArtNode node = sa.Nodes.AddNode();
sa.Nodes[0].TextFrame.Text = "aa";
node = sa.Nodes.AddNode();
node.TextFrame.Text = "bb";
node.TextFrame.TextRange.Fill.FillType = Spire.Presentation.Drawing.FillFormatType.Solid;
node.TextFrame.TextRange.Fill.SolidColor.KnownColor = KnownColor.Red;
sa.ColorStyle = Spire.Presentation.Diagrams.SmartArtColorType.GradientLoopAccent3;
pres.SaveToFile("SmartArtTest1.pptx",FileFormat.Pptx2007);

Add new feature to convert the presentation slide to EMF image.
Code: Select all
ppt.Slides[0].SaveAsEMF("aa.emf");

Add new property of chart to enable protecting the data of the chart.
Code: Select all
chart.IsDataProtect = true;

Bug solutions:
Improve the issue where the size of the generated pdf increased very larger than original .ppt document when converted .ppt to PDF.
Fixes the issue where legend font size has changed when converted .ppt to PDF.
Fixes the issue where date can't be assigned to chart data.
Fixes the issue where set the color of ChartDataPoint didn't work.


Spire.Presentation Pack Hotfix Version:2.2.1

New features:
In chart, support to let a new series use the secondary value axis.
Code: Select all
string outputFile = @"test.pptx";
Presentation presentaion = new Presentation();
IChart ch = presentaion.Slides[0].Shapes.AppendChart(ChartType.Column100PercentStacked, new RectangleF(10, 10, 300, 300));
ch.PrimaryValueAxis.ChartCrossType = ChartCrossesType.AxisCrossesAtZero;
ch.ChartTitle.TextProperties.Text = ChartCrossesType.Custom.ToString(); ;
ch.HasTitle = true;
ch.Series[0].UseSecondAxis = true;
presentaion.SaveToFile(outputFile, FileFormat.Pptx2010);


Spire.Presentation Pack Version:2.2

New features:
Spire.Presentation starts to support convert PowerPoint documents into XPS format.
Spire.Presentation starts to support t set percentage number format for the axis value of chart.
Add new feature to adjust the position of data labels of series.
Bug solutions:
Fix the issue that using TickMarkType.TickMarkNone; is not able to remove the tick marks of chart.
Fix the error "Object reference not set to an instance of an object." when change the text of series labels.

Spire.Presentation Pack Hotfix Version:2.1.7

New features:
Spire.Presentation starts to support convert PowerPoint documents into XPS format.
Spire.Presentation starts to support t set percentage number format for the axis value of chart.
Bug solutions:
Fix the issue that using TickMarkType.TickMarkNone; is not able to remove the tick marks of chart.

Spire.Presentation Pack Hotfix Version:2.1.3

New features:
Add new feature to adjust the position of data labels of series.
Code: Select all
Presentation presentation = new Presentation();
presentation.LoadFromFile("Test.pptx");
IChart chart = presentation.Slides[0].Shapes[0] as IChart;
Spire.Presentation.Collections.ChartSeriesFormatCollection sers = chart.Series;
sers[0].DataLabels.Position = ChartDataLabelPosition.Center;
ChartDataLabel cdl = sers[0].DataLabels.Add();
cdl.LabelValueVisible = true;
cdl.Position = ChartDataLabelPosition.OutsideEnd;
ChartDataLabel cd2 = sers[0].DataLabels.Add();
cd2.LabelValueVisible = true;
cd2.Position = ChartDataLabelPosition.InsideEnd;
presentation.SaveToFile("Result.pptx",FileFormat.Pptx2007);

Bug solutions:
Fix the error "Object reference not set to an instance of an object." when change the text of series labels.

Spire.Presentation Pack Version:2.1

New features:
Add new feature to set width and height of ChartLegend/PlotArea and the font of ChartTitle in chart.
Add a new feature to get chart from its group.
Bug solutions:
Fix the issue that extra data is added in pie chart.

Spire.Presentation Pack Hotfix Version:2.0.18

New features:
Add new feature to set width and height of ChartLegend/PlotArea and the font of ChartTitle in chart.
Code Snippet:
Code: Select all
IChart chart = presentation.Slides[0].Shapes.AppendChart(Spire.Presentation.Charts.ChartType.BarStacked, rect);
//add chart Title
chart.ChartTitle.TextProperties.Text = "Report";
chart.ChartTitle.TextProperties.IsCentered = true;
chart.HasTitle = true;
chart.Top = 10;
chart.Left = 50;

//Set the font of ChartLegend
chart.ChartLegend.EntryTextProperties[0].Fill.FillType = FillFormatType.Solid;
chart.ChartLegend.EntryTextProperties[0].Fill.SolidColor.KnownColor = KnownColors.Green;
chart.ChartLegend.EntryTextProperties[0].FontHeight = 20;
chart.ChartLegend.EntryTextProperties[0].LatinFont = new TextFont("Arial Unicode MS");

//Set width and height of ChartLegend and PlotArea
chart.ChartLegend.Width = 300;
chart.ChartLegend.Height = 300;
chart.PlotArea.Width = 200;
chart.PlotArea.Height = 200;

//Set the font of chart.ChartTitle
chart.ChartTitle.TextProperties.TextRange.Fill.FillType = FillFormatType.Solid;
chart.ChartTitle.TextProperties.TextRange.Fill.SolidColor.KnownColor = KnownColors.Gray;
chart.ChartTitle.TextProperties.TextRange.FontHeight = 30;
chart.ChartTitle.TextProperties.TextRange.LatinFont = new TextFont("Arial Unicode MS");


Bug solution:
Fix the issue that extra data is added in pie chart.

Free Spire.Presentation Hotfix for .NET Version:2.0.17

Bug solution:
Fix the issue that extra data is added in pie chart.
User avatar
amy.zhao
 
Posts: 2200
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Presentation

Who is online

Users browsing this forum: No registered users and 0 guests