Spire.Office New Release or Hotfix

Technical support for Spire.DataExport

Moderators: iceblue support, DataExport, Manager

Spire.Office New Release or Hotfix

Postby amy.zhao » Wed Apr 30, 2014 8:49 am

This is the list of changelogs of Spire.Office New release and hotfix. Spire.Doc, Spire.PDF, Spire.XLS, Spire.PDFViewer, Spire.DocViewer and Spire.DataExport, Spire.BarCode are included in Spire.Office.
Free Trial to evaluate Spire.Office here:
http://www.e-iceblue.com/Download/downl ... t-now.html

Spire.Office hotfix Version 2.16.23
Versions:
Spire.Barcode.dll 1.4.11
Spire.DataExport.dll 3.5.133
Spire.Doc.dll 6.0.58
Spire.DocViewer.Forms.dll 2.4.38
Spire.Email.dll 1.1.16
Spire.Pdf.dll 3.9.480
Spire.PdfViewer.Forms.dll 2.12.47
Spire.Presentation.dll 2.8.81
Spire.XLS.dll 7.12.120
Spire.Spreadsheet.dll 2.2.50
Spire.OfficeViewer.Forms.dll 2.16.23
Spire.Doc
New features:
Exposed the property Paragraph.Format.BeforeAutoSpacing.
Exposed the property Paragraph.Format.AfterAutoSpacing.
Bug solutions:
Fixed the issue that caused list number missing after cloning document.
Fixed the issue that caused NullReferenceException when applying the style for table.
Fixed the issue that caused wrong result after using table.AutoFit(AutoFitBehaviorType.AutoFitToWindow).
Fixed the issue that font cannot be embedded when using PS method to convert Word to PDF on Azure.
Fixed the issue that the quality of the image is not as good as original when saving to PDF.
Fixed the issue that caused ArgumentOutOfRangeException when using AppendHTML method.
Fixed the issue where form fields were overlaid when converting Word to PDF.
Fixed the issue that caused an extra chapter number when applying heading.
Fixed the issue that caused NullReferenceException when using the method LoadFromStream.
Fixed the issue that caused additional picture in INCLUDEPICTURE field after changing the size of picture.
Fixed the issue that the method GetText didn't get the text in shapes.
Fixed the issue that caused the exception "This is not a structured storage file" when using document.LoadFromStream(stream, FileFormat.Auto) to load a Html file.
Fixes the issue that caused the hyperlink on the image lost when using PS conversion method to convert Word to PDF.
Fixes the issue that caused "Cannot insert an object of type CustomXml into the Body" error when loading wordxml document.
Fixes the issue that the page number was not updated after updating the field.
Fixes the issue that caused the process hanging when converting Word to PDF.
Fixes the issue that caused ArgumentException when converting to image.
Fixes the issue that the picture was shifted after converting to PDF.
Fixes the issue that caused NullReferenceException when loading file.
Fixes the issue that the color of a TextRange cannot be changed.
Fixes the issue that caused NullReferenceException using SaveToStream method after cloning document.
Fixes the issue that caused the exception "An item with the same key has already been added." when merging files.
Fixes the issue that caused StackOverflowException when converting Word to PDF.
Fixes the issue that caused the error "string cannot be of zero length" when converting RTF to PDF.
Fixes the issue that caused the line lost when converting RTF to PDF.
Fixes the issue that caused the text alignment incorrect in merged rows.
Fixes the issue that Roman number III was transferred to Arabic number 3 while converting Word to TXT.
Resolves the issue where the hyperlink that is linked to bookmark failed to work in converted PDF.
Fixes the issue that caused the text overlapping when converting Word to PDF.
Fixes the issue that caused next pragraphs' ListFormat.CurrentListStyle null when cloning the paragragh that has no ListFormat.
Spire.PDF
New features:
Adds the PdfPrintSettings.SelectMultiPageLayout method to support printing multiple pages per sheet.
Adds feature to convert PDF to .docx format.
Adds the method Spire.Pdf.PdfDocument.Preview(PrintPreviewControl printPreviewControl)to support print preview.
Supports to convert PDF into Html stream.
Adds new method TryCompressImage to compress image in PDF for reducing the size of PDF.
Supports to convert PDF to SVG with custom height and width.
Bug solutions:
Fixes the issue that the text was flipped and cut off when converting PDF to image.
Fixes the issue that caused black background of image when printing.
Fixes the issue that caused wrong signature after multiple signatures.
Fixes the issue that the attachment cannot be added in PDF.
Fixes the issue that the data in the fields were missing when converting to image.
Fixes the issue that content cannot be printed in the center when using ActualSize and AutoPortraitOrLandscape.
Fixes the issue that caused NullReferenceException when converting PDF to XPS.
Fixes the issue that caused exception when loading XPS when system language is Russian.
Fixes the issue that caused messy code when extracting text.
Fixes the issue that content was cut off when printing.
Fixes the issue that the method VerifySignature returned wrong Boolean value.
Fixes the issue that the accents above some characters were printed at wrong position.
Fixes the issue that caused "Insufficient data for an image" error when repeatedly loading document to insert image and save it.
Fixed the issue that caused content garbled when converting to image.
Fixed the issue that caused content lost when converting to image.
Fixed the issue that caused SaveAsImage method threw KeyNotFoundException error.
Fixed the issue that caused FindText method threw FormatException error.
Fixed the issue where the text and image can't be drawn on layer.
Fixed the issue that caused the result incorrect when splitting document.
Fixes the issue where the print result was not centered at the page when using the ActualSize Property.
Fixes the issue that caused signature disappeared when flattening a digitally signed pdf document.
Optimizes the TryCompressImage method to make the document size less.
Optimizes XPS to PDF conversion.
Fixes the issue that caused the content overlapping when converting PDF to .doc.
Fixes the issue where the stamp that is created using our product can't be printed out manually.
Optimize PDF to image conversion time consumption.
Fixes the issue that caused content lost when converting PDF to Image.
Fixes the issue that caused InvalidCastException when converting PDF to Image.
Fixes the issue that caused OutOfMemoryException when extracting image in x86 platform.
Fixes the issue where gradient color was not printed correctly.
Adjustments:
Obsoletes the set property of PdfSecurity.Permissions and PdfSecurity.KeySize.
Obsoletes PdfSecurity.OwnerPassword, PdfSecurity.UserPassword property.
Obsoletes PdfSecurity.ResetPermissions and PdfSecurity.SetPermissions method, and use PdfSecurity.Encrypt method instead.
Obsoletes PdfDocument.PrintDocument.PrintController property. Use PdfDocument.PdfPrintSettings.PrintController property instead.
Obsoletes PdfDocument.PrintDocument.PrinterSettings.Duplex property. Use PdfDocument.PdfPrintSettings.Duplex property instead.
Obsoletes PdfDocument.PrintDocument.QueryPageSettings property. Use PdfDocument.PdfPrintSettings.QueryPageSettings property instead.
Obsoletes PdfDocument.PrintDocument.PrinterSettings.PaperSources and PdfDocument.PrintDocument.DefaultPageSettings.PaperSource property. Use PdfDocument.PrintSettings.PdfPaperSettings property instead.
Obsoletes the property Spire.Pdf.PdfDocument.PageScaling and Spire.Pdf.PdfDocument.CustomScaling. Use the method as below instead.
Spire.XLS
New features:
Supports to manipulate more conditional formatting in XlsConditionalFormat and ConditionalFormatWrapper.
Adds ConditionalFormatWrapper.StopIfTrue property to stop processing the current rule when the condition meets.
Bug solutions:
Fixes the issue where accounting Number Format didn't work correctly while saving Excel to PDF.
Fixes the issue that caused the invalid column index exception while saving Excel to PDF.
Resolves the issue where the comma that is not an actual field separator was considered as delimiter while saving Excel to CSV.
Fixes the issue that caused the back color of ConditionalsFormat incorrect.
Fixes the issue that caused the OverFlowException while loading an Excel file.
Fixes the issue that caused the "object reference not set to an instance of an object" error when saving the Excel using custom OTF font to pdf.
Fixes the issue that caused incorrect number format when the thread culture is not invariant culture.
Fixes the issue that caused the Accounting number format pushed the $ symbol outside the cell border when converting to PDF.
Fixes the issue that change the PrimaryCategoryAxis.CategoryType property didn't work when loading an existing chart.
Fixes the issue that caused the ConditionalFormatWrapper.Priority property didn't work.
Fixes the issue that caused the AutoFitColumn method didn't work when the cell contains date time.
Spire.PDFViewer
New features:
Add PdfDocumentViewer.SearchText(string searchText, Color highlightColor, bool ignoreCase) method to support the case sensitive option.
Adjustments:
Obsoletes the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).Print method, use the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PrintDoc method instead.
Obsoletes the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PrintDocument property, use the Spire.PdfViewer.Forms.PdfDocumentViewer(PdfViewer).PdfPrintSettings property instead.
Spire.DocViewer
New features:
Adds VerticalScroll.Visible and HorizontalScroll.Visible properties to support hiding the viewer's scroll bar in WinForm application.
Bug solutions:
Fixes the issue that caused extra pages when displaying.
Spire.Barcode
New features:
Publishes the BarcodeSettings.DataMatrixSymbolShape property to support specifying the shape of DataMatrix when creating it.
Adds two properties for Aztec Code.


Spire.Office hotfix Version 2.16.18
Versions:
Spire.Doc.dll v6.0.23
Spire.Pdf.dll v3.9.375
Spire.XLS.dll v7.12.92
Spire.Email.dll V1.1.9
Spire.DocViewer.Forms.dll v2.4.24
Spire.PdfViewer.Forms.dll v2.12.36
Spire.PdfViewer.Asp.dll v2.12.36
Spire.Presentation.dll v2.8.61
Spire.Spreadsheet.dll v2.2.42
Spire.OfficeViewer.Forms.dll v2.16.18
Spire.DataExport.dll v3.5.133
Spire.DataExport.ResourceMgr.dll 1.6.71
Spire.Common.dll 1.2.730
Spire.License.dll v1.3.6
Spire.Barcode.dll v1.4.8
Spire.XLS
New Features:
Supports to add shapes to worksheet.
Code: Select all
sheet.PrstGeomShapes.AddPrstGeomShape(int row,int column,int width,int height,PrstGeomShapeType shapeType);

Supports to select the cell range to be visible when displayed as an OLE object.
Code: Select all
Workbook.SetOleSize(firstRow,firstColumn,lastRow,lastColumn);

Bug Fixes:
Fixes the issue that the result document changed to Protected View after saving .xlsx to .xls.
Fixes the issue that caused ArgumentOutOfRangeException when converting Excel to HTML.
Fixes the issue that caused the style of the chart missing when using SaveChartAsImage method.
Fixes the issue that caused the font changed when converting Excel to PDF.
Fixes the issue that caused the data format incorrect when converting Excel to pdf.
Fixes the issue that caused the formula result wrong in French environment.
Fixes the issue that caused result incorrect when getting the validation formula value.
Resolves the issue that caused Euro (€) sign lost when using DisplayedText property.
Fixes the issue that the value in the original cell range changed along with value which was set by range.Text property in the copied range.
Fixes the issue that caused IndexOutOfRangeException when loading file.
Fixes the issue that caused the process hanging when converting Excel to PDF.
Fixes the issue that caused the value type changed from text to number when importing data from datatable to Excel.
Fixes the issue that the method AutoFitColumns didn't work.
Spire.PDF
New Features:
Supports to print specific page.
Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(filename);
doc.PrintSettings.SelectSomePages(new int[]{2,4});
doc.Print();
 

Exposes the name property of the layer.
Code: Select all
string name = doc.Layers[0].Name;

Supports to set the alignment for the signature content.
Code: Select all
signature.SignTextAlignment=SignTextAlignment.Right;

Supports to get the text by document structure.
Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("Alcontrol - EDF.pdf");
PdfPageBase page = doc.Pages[0];
SimpleTextExtractionStrategy strategy = new SimpleTextExtractionStrategy();
string text = page.ExtractText(strategy);
FileStream fs = new FileStream("Alcontrol - EDF.txt", FileMode.Create);
StreamWriter sw = new StreamWriter(fs);
sw.Write(text);
sw.Flush();

Adjustments:
The PrintDocument object has been marked as obsolete, it only needs to set the PrintSettings when print. Example:
Code: Select all
PdfDocument doc = new PdfDocument("sample.pdf");
doc.PrintSettings.Landscape = true;
doc.Print();
 

The pageLayers object of Page has been marked as obsolete, use Layers object under PdfDocument instead. It must create the Graphics for the Layer with the CreateGraphics method when Add Layer. Example:
Code: Select all
PdfLayer layer = doc.Layers.AddLayer("red line", PdfVisibility.On);
PdfCanvas pcA = layer.CreateGraphics(doc.Pages[0].Canvas);
pcA.DrawLine(new PdfPen(PdfBrushes.Red, 1), new PointF(0, 100), new PointF(100, 100));
layer = doc.Layers.AddLayer("blue line");
PdfCanvas pcB = layer.CreateGraphics(doc.Pages[0].Canvas);
pcB.DrawLine(new PdfPen(PdfBrushes.Blue, 1), new PointF(0, 150), new PointF(100, 150));

Bug Fixes:
Fixes the issue that cannot delete layer.
Fixes the issue that caused the character wrong after deleting image.
Fixes the issue that the image cannot be deleted.
Fixes the issue that caused NullReferenceException when flatten form field.
Fixes the issue that the checkboxField is not checked after setting checkboxField.Checked as true.
Fixes the issue that caused content missing after replacing image.
Fixes the issue that caused the content in invisible region shows after creating Booklet.
Fixes the issue that caused the original content changed when appending a new page.
Fixes the issue that the object cloned from PdfDocument returns null.
Fixes the issue that caused the size of document increased after compressing images.
Fixes the issue that caused the background changed to black when converting PDF to XPS.
Fixes the issue that the size of document grows too much when converting image to pdf.
Fixes the issue that caused spot colors setting in image missing when drawing image to PDF.
Fixes the issue that custom properties don't work.
Fixes the issue that cannot delete custom properties.
Fixes the issue that caused small drilling holes missing when printing the PDF.
Fixes the issue that custom properties missing after setting own password.
Spire.Doc
Bug Fixes:
Fixes the issue that the path in INCLUDEPICTURE filed was incorrect after Mail Merge.
Fixes the issue that caused ArgumentOutOfRangeException when converting Word to PDF.
Fixes the issue that replace OLE data doesn't work.
Fixes the issue that caused extra lines when converting Word to HTML.
Fixes the issue that caused EndOfStreamException when loading a document.
Fixes the issue that caused the process hanging when using document.PageCount.
Fixes the issue that caused the text format changed to bold when converting Word to HTML.
Fixes the issue that caused extra black shade in table cell when converting Word to HTML.
Fixes the issue that caused the "The format of input string was incorrect" exception while loading HTML.
Fixes the issue that the list was incorrect after converting HTML to Word.
Fixes the issue that caused the style missing when converting HTML to Word.
Fixes the issue that caused one line changed to two lines after saving Word to PDF.
Spire.Presentation
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.PDFViewer
New features:
Add SearchText method in pdfDocumentViewer class to search and highlight text.
Spire.Spreadsheet
Bug Fixes:
Fixes the issue that caused NullReferenceException when opening a document.
Fixes the issue that caused image lost when displaying.
Fixes the issue that caused the border missing when displaying.
Fixes the issue that the sort&filter button displayed improperly.
Spire.Barcode
Bug Fixes:
Fixes the issue that when viewing the barcode from web page, it caused InvalidCastException after editing Barcode DpiX or DpiXY directly via BarCodeControl on Web Forms.
Fixes the issue that the generated barcode was blank when the barcode contains more than ten Arabic letters.
Spire.DocViewer
Bug Fixes:
Fixes the issue where the document displayed incompletely.


Spire.Office hotfix Version 2.16.12
Versions:
Spire.Doc.dll v5.9.69
Spire.Pdf.dll v3.9.290
Spire.Xls.dll v7.12.72
Spire.Email.dll v1.1.4
Spire.DocViewer.Forms.dll v2.4.16
Spire.PdfViewer.Forms.dll v2.12.24
Spire.PdfViewer.Asp.dll v2.12.24
Spire.Presentation.dll v2.8.41
Spire.Spreadsheet v2.2.34
Spire.OfficeViewer.Forms.dll v2.16.12
Spire.DataExport.dll v3.5.133
Spire.Barcode v1.4.6
Spire.XLS
New Feature:
Supports to add custom document properties.
Code: Select all
Workbook workbook = new Workbook();
workbook.CustomDocumentProperties.Add("_MarkAsFinal", true);
workbook.CustomDocumentProperties.Add("The Editor", "E-iceblue");
workbook.CustomDocumentProperties.Add("Phone number1",81705109);
workbook.CustomDocumentProperties.Add("Revision number", 7.12);
workbook.CustomDocumentProperties.Add("Revision date", DateTime.Now);
workbook.SaveToFile(outputFile, FileFormat.Version2010);

Bug Fixes:
Fixes the issue that caused XmlException when using SaveAsImage method.
Fixes the issue that the data in the shape isn't updated after editing data.
Fixes the issue that the result PDF converted from Excel prompts message "Cannot extract the embedded font. 'FAACFG+ArialMT'. Some characters may not display or print correctly." when fast flip.
Fixes the issue that caused ArgumentOutOfRangeException when loading file.
Fixes the issue that caused wrong content when converting to PDF.
Fixes the issue that the value in tag was incorrect after protecting cell.
Fixes the issue that the displaying way for the value of the datalabels in chart changed from two lines to one line after converting Excel to PDF.
Fixes the issue that caused content missing when adding watermark.
Fixes the issue that the image in Group cannot be extracted.
Fixes the issue that the hidden row was visible on HTML when converting to HTML.
Fixes the issue that caused wrong value "#NAME" after using the InsertDataTable method.
Fixes the issue that caused exception "Workbook is protected and password wasn't specified.", yet the document doesn't have opening password.
Fixes the issue that caused GDI+ exception after adding picture.
Fixes the issue that caused wrong paging when converting to PDF.
Fixes the issue that caused XmlException when loading file.
Fixes the issue that caused graph missing when converting to PDF.
Fixes the issue that the images are rotated when converting to PDF.
Fixes the issue where the position of the shapes are wrong when converting to PDF.
Fixes the issue that caused stretched image when converting to PDF with the Region(Spain) and Language(Chile) setting.
Fixes the issue that caused ArgumentException when loading .xlsm file.
Fixes the issue that the code "comment.AutoSize = true" doesn't work.
Fixes the issue that caused black background when saving sheet to pdf.
Fixes the issue that caused graph missing when converting Excel to PDF.
Fixes the issue that caused slicer missing when saving .xlsm file.
Spire.PDF
New Features:
Supports to convert single page to svg.
Code: Select all
public void SaveToFile(string filename, int startIndex, int endIndex, FileFormat fileFormat);

Supports to find the whole words only.
Code: Select all
public PdfTextFindCollection FindText(String searchPatternText, bool isSearchWholeWord);

Supports to use another way to fill image object into the signature field.
Code: Select all
signature.ConfiguerGraphicImage = PdfImage;

Supports to convert PDF to SVG stream.
Code: Select all
PdfDocument.SaveToStream(FileFormat.SVG);

Supports to convert PDF to HTML.
Adjustment of the properties of PdfSignature class.
1. The SignImageLayout property replaces the old IsConfiguerGraphicFilledBounds property.
2. The GraphicsMode property replaces the old ConfigGraphicType property.
3. The SignNameFont property and SignDetailsFont replace the old signInfoFont property.
4. The SignImageSource property replaces the old ConfiguerGraphicPath property.
5. The NameLabel property replaces the old DigitalSignerLabel property.
6. The Name property replaces the old DigitalSigner property.
Bug Fixes:
Fixes the issue that caused the image profile lost when converting image to PDF.
Fixes the issue where some readers showed certain checkboxes to be unchecked except chrome.
Fixes the issue where all the radio buttons were in selected state when converting to PDF/A.
Resolves the issue where the Combobox field values were not displayed.
Fixes the issue where the images on the pdf file was improperly getting placed when printing.
Fixes the issue where the icon on the ButtonField was improperly getting placed.
Resolves the issue that caused the exception that page index is out of the range of the pages in the document.
Fixes the issue that caused the logo image incorrect when printing.
Fixes the issue that caused the Stamp lost when printing.
Fixes the issue that the content missing when converting PDF to XPS.
Fixes the issue that cuased ArgumentException when using FindText method.
Fixes the issue that the method DrawTemplate doesn't work.
Fixes the issue that caused incorrect content when converting PDF to XPS.
Fixes the issue that cannot delete layers.
Fixes the issue where the image is wrong when converting XPS to PDF.
Fixes the issue that the the currency symbol and the amount are broken when there is line feed.
Fixes the issue that the content copied from PDF is incorrect when converting XPS to PDF.
Fixes the issue that the postion of the text is wrong when printing.
Fixes the issue that caused exception when get the used font.
Fixes the issue that caused exception when load certificate to sign PDF on Azure.
Fixes the issue that Calculate action didn't work.
Fixes the issue that the extra signature field was added into document automatically after signing signature field.
Fixes the issue that the setting of orientation when printing didn't wrok.
Fixes the issue that the value of combox field was blank when clicking view this version in Adobe after filling the combox field and signing the signature field.
Fixes the issue that caused the NullReferenceException when loading PDF file.
Fixes the issue that caused the NullReferenceException when converting to image.
Fixes the issue that the SetButtonImage property doesn't work.
Fixes the issue that caused inaccuracy position of found text for when finding text.
Fixes the issue that caused incorrect content when converting xps to pdf.
Fixes the issue that cannot get font after finding text.
Fixes the issue that the position of text changed when converting pdf to xps.
Fixes the issue that the postion of the content is wrong when printing.
Fixes the issue that the line missing when printing.
Fixes the issue that the values of combox field are blank when clicking view this version in Adobe with Italy and Italian setting in computer after filling the combox field and signing the signature field.
Fixes the issue that caused messy code in text field after merging files.
Fixes the issue that caused FormatException when extracting text.
Resolves the issue where the color filled in graph is incorrect when saving to image.
Fixes the issue that caused NullReferenceException when converting to image.
Fixes the issue that caused checked status for other name checkboxes after checking one checkbox.
Fixes the issue that caused text missing when converting PDF to XPS.
Fixes the issue where the paragraph number and heading text were swapped round when extracting text.
Improve the print function to make the prined result be same as what Adobe prints.
Fixes the issue that caused char spacing in flattened field incorrect when saving to Image.
Fixes the issue that caused some Chinese characters cannot be printed when printing.
Spire.Doc
Bug Fixes:
Fixes the issue that caused the language of spelling check change when appending rtf text.
Fixes the issue that caused the border of table thicker when appending rtf text.
Resolves the issue that caused the format incorrect when converting to PDF.
Fixes the issue where the bulleted list had extra line space between each other while converting from HTML to word.
Improve the function of converting Word document to PDF.
Fixes the issue that caused the NullReferenceException when saving Word to HTML.
Fixes the issue that caused the ArgumentOutOfRangeException when geting the page count.
Fixes the issue that caused the exception "Object reference not set to an instance of an object" when loading RTF file.
Fixes the issue where the hyperlink in table was missing after merging files.
Fixes the issue that cuased StackOverflowException when converting Word to PDF.
Fixes the issue that caused the process hanging when converting to PDF.
Fixes the issue that caused wrong TOC after merging files.
Fixes the issue that the style and font of the text in header changed after merging files.
Fixes the issue where the layout of paragraphs is wrong when converting to PDF.
Fixes the issue that caused text missing when converting Word to PDF.
Fixes the issue that caused the exception "Parameter is not valid" when converting Word to PDF on Azure.
Fixes the issue that cuased the table border lost when converting to PDF.
Fixes the issue that caused additional blank pages when converting to PDF.
Fixes the issue where the image is truncated when converting to PDF.
Fixes the issue that caused additional border when converting to PDF.
Fixes the issue that caused IndexOutOfRangeException when using InsertTextFromFile method.
Fixes the issue that caused ArgumentOutOfRangeException when using the html that includes list tag to mail merge.
Fixes the issue that caused incorrect values in IF field after mail merge.
Fixes the issue that caused extra header and footer in pdf when converting rtf to PDF.
Fixes the issue that caused the exception "ShapePr 391 keys no implementation" after setting background picture.
Fixes the issue where only word ole object can be opened when appending various ole objects.
Fixes the issue where the distance between text in cell and near cell was incorrect when saving to pdf.
Spire.Presentation
New Features:
Supports to access the layout slide of master.
Code: Select all
IMasterSlide master = ppt.Masters[0];

Supports to get or set the layout.
Code: Select all
IMasterLayouts masterLayouts = master.Layouts;
ActiveSlide layoutSlide = masterLayouts[0] as ActiveSlide;
 

Supports 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]);

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

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.
Fixes the issue that caused exception "The format of the input string is incorrect" when loading file.
Fixes the issue that caused wrong format when converting PPT to image.
Fixes the issue that caused the shadow missing when converting PPT to image.
Fixes the issue that the background of shape changed from transparency to white.
Spire.PDFViewer
New Features:
Supports to set the background color of the viewer.
Bug Fixes:
Fixes the issue that caused image missing when viewing PDF document.
Fixes the issue caused the color of background changed from gray to white when view ing PDF document.
Fixes the issue that caused content fuzzy.
Fixes the issue that caused gradient color when viewing PDF document.



Spire.Office Platinum version 2.16
Versions:
Spire.Barcode.dll 1.4.4
Spire.DataExport.dll 3.5.133
Spire.Doc.dll 5.9.23
Spire.DocViewer.Forms.dll 2.4.4
Spire.Pdf.dll 3.9.130
Spire.PdfViewer.Forms.dll 2.12.4
Spire.Presentation.dll 2.8.13
Spire.XLS.dll 7.12.23
Spire.Spreadsheet.dll 2.2.20
Spire.OfficeViewer.Forms.dll 2.15.13
Spire.Doc
New features:
Support to set the user password for PDF when converting word to PDF.
Support to add the time automatically when add the comment.
Support to insert reply for the comment.
Bug solutions:
Fixes the issue that caused the page number incorrect when saving word to PDF after merging with ImportContent method.
Fixes the issue that caused inaccurate pdf when there is nested table.
Improve the effect on the layout when converting word to PDF.
Fixes the issue where the document can't be opened when adding an object into the comments.
Fixes the issue that caused the image in the field lost.
Resolves the issue that caused the text formatting incorrect when saving html to Word.
Fixes the issue that caused the position of the picture changed when converting RTF to PDF.
Fixes the issue that caused the checkbox Lock aspect ratio cannot be checked when inserting an image into word document.
Fixes the issue that the OLE cannot be opened in RTF document after inserting image/txt OLE into file.
Fixes the issue that caused the exception "Unable to sort because the IComparer.Compare()" when saving word document to image.
Fixes the issue that caused StackOverflowException when converting word document to PDF.
Fixes the issue that caused process hanging after applying license when converting word document to PDF.
Fixes the issue that caused the exception "incorrect syntax of mail merge fields" when using mail merge feature.
Fixes the issue that caused the value incorrect when updating if field after mail merge.
Resolves the issue that caused the image in the textbox lost when converting word to PDF.
Fixes the issue where the document can't be opened when inserting ole object document that is named as Hangul (Korean).
Fixes the issue that caused the style in header/footer lost when merging documents.
Fixes the issue that caused the exception that remote server returned an error: (403) Forbidden when using AppendHtml method.
Spire.PDF
New Features:
Add IsPortfolio property for PdfDocument to detect if a PDF document is a portfolio.
Add new properties for PdfButtonField to handle button/Icon layout.
Bug Solutions:
Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that caused incorrect result when converting PDF to image.
Fixes the issue that caused the process hanging when converting PDF to image.
Fixes the issue that caused some characters missing when converting XPS to PDF.
Fixes the issue that caused incorrect header when converting PDF to .doc.
Fixes the issue that caused incorrect result when converting PDF to Pdf_A1B file format.
Fixes the issue that caused ArgumentException when using the ExtractText menthod.
Fixes the issue that the size of text in textbox cannot be changed.
Fixes the issue that the checkbox cannot be edited after saving PDF.
Fixes the issue that caused wrong content when printing the PDF file.
Fixes the issue that NullReferenceException when merging PDF.
Fixes the issue that caused wrong position when drawing HTML.
Fixes the issue that the position of extracted text was located incorrectly.
Fixes the issue that the rotated text was lost when printing.
Fixes the issue that the image was lost when printing.
Fixes the issue that the alignment of FormField changed when flattening FormField.
Fixes the issue that the content was lost when saving as Image.
Fixes the issue that underline/strikethrough appeared in the table when there is no text in the cell.
Fixes the issue that the PdfDestination(int pageNumber, PointF location, float zoom) constructor can't create bookmark.
Fixes the issue that caused the error "Insufficient data for an image" when replacing Image with ReplaceImage method.
Fixes the issue that the barcode appearance was incorrect when printing.
Spire.XLS
Bug Solutions:
Fixes the issue that caused NullReferenceException when using InsertRow method.
Fixes the issue that caused incorrect result when getting validation formula.
Fixes the issue that caused ArgumentOutOfRangeException when using CalculateAllValue mehtod.
Fixes the issue that caused wrong date format when getting the data.
Fixes the issue that caused icon missing when converting Excel to image.
Improves the conversion from Excel to PDF.
Fixes the issue that caused KeyNotFoundException when merging multiple excel documents.
Fixes the issue that the position of the datalabel cannot be changed.
Fixes the issue that caused the process hanging when using the GetSplitPageInfo method.
Fixes the issue that caused wrong value when copying range.
Fixes the issue that caused "spr2380 was unhandled" exception when using CalculateAllValue.
Improves the function of converting Excel to PDF.
Fixes the issue that caused exception when using multi-thread to load document.
Spire.Presentation
New feature:
Spire.Presentation supports to detect whether the Presentation slides has macro or not for the PowerPoint presentation 2007 or above (.PPTX, .PPSX).
Bug solutions:
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.
Fixes the issue that caused the exception when splitting presentations into individual files.
Fixes the issue caused wrong result when getting chart type.
Spire.PDFViewer
Bug solutions:
Fixes the issue where only the first page of a pdf was printed when using the Print method.
Spire.Barcode
Bug solutions:
Fixes the issue that caused extra number when generating a SSCC barcode.
Fixes the issue that caused application hang when scan image that doesn't include the barcode.



Spire.Office hotfix Version 2.15.8
Versions:
Spire.Barcode.dll 1.3.5
Spire.DataExport.dll 3.5.133
Spire.Doc.dll 5.8.90
Spire.DocViewer.Forms.dll 2.3.21
Spire.Pdf.dll 3.9.47
Spire.PdfViewer.Forms.dll 2.11.40
Spire.Presentation.dll 2.7.60
Spire.XLS.dll 7.11.83
Spire.Spreadsheet.dll 2.2.15
Spire.OfficeViewer.Forms.dll 2.15.8
Spire.Doc
Bug solutions:
Fixes the issue that caused the hidden watermark visible after converting word to PDF.
Fixes the issue that caused the content lost when converting word to PDF.
Fixes the issue where barcode was alternant with blank spaces after converting word to PDF.
Fixes the issue that caused the exception that pItem haven't found in paragraph items when use GetPageCount method.
Resolves the issue that vertical alignment of the text in the table at the bottom was wrong when converting word to PDF.
Spire.PDF
New Features:
Support to set "Commit selected value immediately" for ComboBox field and ListBox field.
Code: Select all
PdfComboBoxField.CommitOnSelChange = true;
PdfListBoxField.CommitOnSelChange = true;

Bug Solutions:
Fixes the issue that caused first page was blank when converting PDF to TIFF image format.
Fixes the issue where the generated pdf threw an exception that insufficient data for an image while being opened in adobe reader when converting TIFF image to PDF.
Fixes the issue that caused PdfButtonField border visible when setting the BorderWidth property to 0.
Fixes the issue that caused the exception that the character 'z' is invalid inside an ASCII85 block when using MergeFiles method.
Resolves the issue that caused the image was lost when printing the PDF file.
Fixes the issue that caused ArgumentException when loading the PDF file.
Fixes the issue that caused "Checksum check failed" exception when loading the PDF file.
Fixes the issue that caused wrong barcode and incorrect content when printing PDF.
Improve the performance of converting PDF to image.
Fixes the issue that caused header was missing when converting PDF to .doc file format.
Fixes the issue that caused blank content when converting PDF to XPS.
Fixes the issue that a pop-up message warns you to save the changes while in fact nothing have changed when closing the file in Adobe after the merge files function.
Fixes the issue that caused NullReferenceException when using FindText method.
Fixes the issue that caused the process hanging when using ExtractText method.
Fixes the issue that barcode cannot be scanned after setting the size of barcode.
Fixes the issue that the method DrawImage didn't work.
Fixes the issue that caused NullReferenceException when using PdfFormWidget.ExtractSignatureAsImages().
Fixes the issue that the SelectedIndex property of a RadioButtonList didn't work.
Fixes the issue that the result image was wrong when replacing image on PDF.
Spire.Presentation
Bug solutions:
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.XLS
Bug solutions:
Fixes the issue that caused the "Align with page margins" property in page setup unchecked when saving Excel file.
Fixes the issue that caused the unexpected spaces exception when loading Excel file.
Fixes the issue where the first inner group was not collapsed when setting "sheet.PageSetup.IsSummaryRowBelow" property as false.
Fixes the issue where the value of INameRange was get incorrectly.
Reduce the PDF file size when converting Excel to PDF.
Fixes the issue where the cell with the formula did not autofit although wrap text is enabled when converting Excel to PDF.
Fixes the issue that caused the data lost when set ignoreSize argument exists in the sheet.Copy method as true.
Resolves the issue where the width of columns was changed when make an AutoFitColumn on columns with merge values.
Spire.Barcode
Bug solutions:
Fixes the issue that the scan result was incorrect.
Fixes the issue that caused "Unable to calculate checksum for " exception when generating EAN128 barcode.


Spire.Office hotfix Version 2.15.4
Versions:
Spire.Barcode.dll 1.2.10
Spire.DataExport.dll 3.5.133
Spire.Doc.dll 5.8.51
Spire.DocViewer.Forms.dll 2.3.10
Spire.Pdf.dll 3.8.169
Spire.PdfViewer.Forms.dll 2.11.18
Spire.Presentation.dll 2.7.36
Spire.XLS.dll 7.11.53
Spire.Spreadsheet.dll 2.2.8
Spire.OfficeViewer.Forms.dll 2.15.4
Spire.Doc
New features:
Support to keep same format when replacing content in bookmark using TextBodyPart.
Add an event to handle the ASK field.
Bug solutions:
Fixes the issue that caused the exception that the magic number in GZip header is not correct when converting word to PDF.
Fixes the issue where the content got disorder after adding the watermark.
Fixes the issue that the content displayed incorrectly when converting word to PDF and word to image.
Fixes the issue that caused the SDT content lost when converting word to text.
Fixes the issue where the paragraph format lost when replacing bookmark content.
Fixes the issue that caused "System.FormatException" when loading a word document.
Fixes the issue that caused wrong format when printing the word document.
Fixes the issue that caused incorrect contents when updating contents.
Fixes the issue that caused content wrong when converting .docx file to .doc file.
Resolves the issue that caused wrong text alignment when converting HTML to Word.
Fixes the issue that caused wrong header when merging files.
Fixes the issue that caused the result file cannot open after save.
Fixes the issue that caused ArgumentOutOfRange when saving the word document.
Fixes the issue where the property CustomDocumentProperties gets wrong value.
Fixes the issue that caused exception when inserting OLE which type is Link.
Spire.PDF
New Features:
Supports to get all certificates in the current signature.
Support to link to a destination in attachment("GoToE" action).
Support to create cloud markup.
Support to draw content with spot color.
Bug Solutions:
Fixes the issue that caused Form missing when converting PDF to image.
Fixes the issue that caused characters missing when printing the PDF file.
Fixes the issue that caused XmlException when accessing PdfDocument.Conformance.
Fixes the issue where the Arabic text rendered incorrectly when converting XPS to pdf.
Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that caused black bar while using the Windows 10 Reader app for opening the generated XPS file when converting pdf to xps.
Fixes the issue where the half-width character lost when print.
Fixes the issue that caused wrong content when print PDF.
Fixes the issue that caused IndexOutOfRangeException when converting PDF to image.
Fixes the issue that caused incorrect bookmark when use Pdfdoc.InsertPage method.
Fixes the issue that caused content lost when loading file.
Fixes the issue that caused the layer blending wrong when converting PDF to image.
Fixes the issue that caused some text is unable to be found.
Fixes the issue that caused "unknown segment in GBIG2 stream" exception when convert PDF to image.
Fixes the issue that caused NullReferenceException when get PdfFormWidget.
Fixes the issue that caused blank image when converting PDF to image.
Fixes the issue that badly formed dictionary next should be a name before 809.
Fixes the issue that caused the image lost when printing the PDF document.
Resolves the issue where creationDate and modificationDate about attachment in PDF were get incorrectly.
Fixes the issue where the watermark didn't work when loading XPS and adding a watermark to each page and then save it as a Pdf.
Spire.XLS
New Features:
Add AddAllowEditRange method to allow user to edit the specified range while protect sheet.
Add CustomDocumentProperties property for workbook object to get the custom properties.
Bug Solutions:
Fixes the issue that caused the content lost when saving chart to image.
Resolves the issue that caused the "Cannot find Formula token with code: 255" exception when getting formula.
Fixes the issue that caused the formula text incorrect when saving .xlsx to PDF.
Fixes the issue that caused the checkmark text lost when saving Excel to PDF.
Resolves the issue where the spaces in the checkmark caption text was deleted when saving Excel to PDF.
Fixes the issue that caused the some texts were clipped when saving Excel to PDF.
Fixes the issue that cause table lost when saving Excel to PDF.
Fixes the issue where MSOffice07 can't open the generated document when adding a textbox to the worksheet.
Fixes the issue that caused excel file huge until OutOfMemory exception when adding image to sheet.
Resolves the issue where the checkbox ID and name can't be get.
Fixes the issue that caused "Requested value 'picture' was not found." error while loading.
Fixes the issue that caused the exception error on the CopyFrom method.
Fixes the issue that caused extra blank page when converting Excel to PDF.
Fixes the issue that caused wrong format when converting Excel to PDF.
Fixes the issue that caused wrong format of table when inserting a row into table.
Fixes the issue that caused process hanging when loading the Excel file.
Fixes the issue that caused ArgumentOutOfRnageException when loading the Excel file.
Spire.Presentation
New Features:
Add new feature to get the shape includes the animation.
Add new feature to get object sound effect.
Bug Solutions:
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.OfficeViewer
Public save method.
Code: Select all
//
// Summary:
//     Saves the document to file. Only support to save file in pdf or xps format.
//
// Parameters:
//   fileName:
//     Name of the file
public void SaveToFile(string fileName);
//
// Summary:
//     Saves the document to stream. Only support to save stream in pdf or xps format.
//
// Parameters:
//   stream:
//     The stream
//
//   type:
//     The fite type
public void SaveToStream(Stream stream, FileType type);

Spire.PDFViewer
Bug solutions:
Fixes the issue that caused content disordered when display the PDF file.
Fixes the issue that caused black section and the barcode showed incorrectly when display the PDF file.



Spire.Office hotfix Version 2.15.1
Versions:
Spire.Doc v5.8.16
Spire.PDF v3.8.67
Spire.XLS v7.11.14
Spire.DocViewer.Forms v2.3.3
Spire.PDFViewer.Forms v2.11.2
Spire.Presentation v2.7.12
Spire.DataExport v3.5.133
Spire.Spreadsheet v2.2.2
Spire.Officeviewer 2.15.1
Spire.Barcode v1.2.10
Spire.PDF
New Features:
Supports to maintain image with high quality when convert XPS to PDF.
Code: Select all
using(PdfDocument pdf = new PdfDocument())
{
pdf.UseHighQualityImage=true;
pdf.LoadFromXPS("889.xps");
pdf.SaveToFile("889.pdf");
}

Bug Solutions:
Fixes the issue that caused characters missing when convert PDF to XPS.
Fixes the issue that caused wrong content when convert PDF to XPS.
Fixes the issue that caused dotted line wrong when convert PDF to image.
Fixes the issue that caused incorrect characters when convert PDF to image.
Fixes the issue that caused project hanging when convert PDF to image.
Fixes the issue that caused NullReferenceException when merge files.
Fixes the issue that caused StackOverflowException when merge files.
Fixes the issue that caused form field names unreadable.
Fixes the issue that caused InvalidOperationException when load the PDF document.
Fixes the issue that caused incorrect style when replace text on the PDF.
Fixes the issue that caused grid line missing when print the PDF file.
Spire.Presentation
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.Office Platinum Version:2.15
Versions:
Spire.Barcode.dll 1.2.10
Spire.DataExport.dll 3.5.133
Spire.Doc.dll 5.8.12
Spire.DocViewer.Forms.dll 2.3.1
Spire.Pdf.dll 3.8.52
Spire.PdfViewer.Forms.dll 2.11.1
Spire.Presentation.dll 2.7.6
Spire.XLS.dll 7.11.11
Spire.Spreadsheet.dll 2.2.1
Spire.OfficeViewer.Forms.dll 2.15.1
Spire.Doc
New features:
Supports to convert word file to SVG.
Code: Select all
document.SaveToFile("result.svg", FileFormat.SVG);

Support to embed private font when save .docx format file.
Code: Select all
document.EmbedFontsInFile = true;
document.PrivateFontList.Add(new PrivateFontPath("Open Sans",fontPath));
document.SaveToFile("result.docx",FileFormat.Docx);

Public the collection of Fields on the Document object.
Bug solutions:
Fixes the issue that caused the font incorrect when save to Html via stream.
Optimize the feature on Word to PDF conversion.
Fixes the issue that caused content missing when convert to image.
Fixes the issue that caused incorrect data when extract audio OLE object data.
Fixes the issue that caused incorrect result when convert to PDF.
Fixes the issue that caused project hanging when convert to PDF.
Fixes the issue that caused the INCLUDETEXT field lost when convert RTF to PDF.
Fixes the issue that caused the wrong result when print document.
Fixes the issue that caused the style wrong when convert HTML to Word.
Resolves the issue that caused the NullReferenceException exception when extract text.
Spire.PDF
New Features:
Adds new method to convert XPS to pdf/A1-B.
PdfDocument pdf = new PdfDocument(PdfConformanceLevle.Pdf_A1B);
pdf.LoadFromXPS("test.xps");
pdf.SaveToFile("result.pdf");
Supports to set the Asia character in signature area.
Code: Select all
System.Collections.Generic.Dictionary fonts = new System.Collections.Generic.Dictionary();
fonts.Add(SignInfoType.SignInformation,new PdfCjkStandardFont(PdfCjkFontFamily.SinoTypeSongLight,12));
signature.SignInfoFont = fonts;

Adds new feature to convert PDF to SVG.
Code: Select all
document.SaveToFile("Result.svg", FileFormat.SVG);

Adds new method to set the image of button field.
Code: Select all
if (form.FieldsWidget[i] is PdfButtonWidgetFieldWidget)
 {
 PdfButtonWidgetFieldWidget field = form.FieldsWidget[i] as PdfButtonWidgetFieldWidget;
 if (field.Name == "Field Name")
{ field.SetButtonImage(PdfImage.FromFile(imagePath)); } 
}

Bug Solutions:
Fixes the issue where image in the PDF document was covered by a black hatch when print.
Fixes the issue that caused open type fonts to display incorrectly when print.
Fixes the issue that caused the content lost when print.
Resolves the issue that caused the exception that ContextColor /Resources/f856973e-951b-491c-ad5f-9fcff4b05a16.icc 1 is not a valid value for Int32 when load.
Fixes the issue that caused the error that badly formed dictionary next should be a name before 9406 when load.
Fixes the issue that caused the value of combox field got added repeatedly when debug.
Fixes the issue that caused InsertPageRange method got stuck.
Fixes the issue that caused accented characters lost when convert to XPS.
Fixes the issue that caused the return value incorrect when use signature.VerifyDocModified() method.
Fixes the issue that caused the blank image when convert to IMG.
Improves the quality of the image when convert XPS to PDF.
Resolves the issue that caused image lost when draw EMF image into PDF.
Fixes the issue that caused the field format value was null.
Fixes the issue that caused blank page when print the PDF.
Fixes the issue that caused SaveChange warning information when open the document after filling the field.
Fixes the issue that caused page content missing when merge files.
Fixes the issue that caused InvalidCastException when close PDF object.
Fixes the issue that caused non-transparent region when convert XPS which has transparent region to PDF.
Fixes the issue that caused wrong alignment of field value when flat the field or set it ReadOnly.
Fixes the issue that caused exception when load the XPS file.
Fixes the issue where the color of shape was missing when convert XPS to PDF.
Fixes the issue that caused the string disoriented when print PDF.
Spire.XLS
New Features:
Supports to convert to SVG.
Code: Select all
for (int i = 0; i < workbook.Worksheets.Count; i++)
            {
                FileStream fs = new FileStream(string.Format("sheet{0}.svg", i), FileMode.Create);
                workbook.Worksheets[i].ToSVGStream(fs, 0, 0, 0, 0);
                fs.Close();
            }

Supports to check whether the workbook is password protected.
Code: Select all
bool havepwd = workbook.IsPasswordProtected(inputFile);

Supports to extract the equation of chart trendline.
Code: Select all
IChartTrendLine trendLine = workbook.WorkSheets[0].Charts[0].Series[0].TrendLines[0];
string formula = trendLine.Formula;
 

Supports to add Oval shape in chart.
Code: Select all
var shape=chart.Shapes.AddOval(left,top,right,bottowm
);
Supports to set Multi-Level Category Labels property for the chart Axis.
Code: Select all
chart.PrimaryCategoryAXis.MultiLeaveLable = true;

Supports to save chart as vector image.
Code: Select all
book.SaveChartAsEmfImage(chartSheet);

Bug solutions:
Fixes the issue that caused incorrect content when convert to PDF.
Fixes the issue that caused custom datalable missing when save chart to image.
Fixes the issue that caused NullReferenceException when save file.
Fixes the issue that caused AccessViolationException when load file.
Fixes the issue that caused ArgumentOutOfRangeException when load xlsm file.
Fixes the issue that caused unable to remove chart.
Fixes the issue that caused incorrect formula value when convert to PDF.
Fixes the issue that caused ArgumentException when insert invalid date into cell.
Fixes the issue that caused picture missing when fill picture into comment.
Fixes the issue that caused wrong order of chart series when convert to PDF.
Fixes the issue where Sparklines cannot be edited or deleted.
Fixes the issue that caused KeyNotFoundException when set border for cells.
Fixes the issue that caused leader line missing and overlapped content when save chart as image.
Fixes the issue that caused ApplicationException when load file.
Fixes the issue that caused incorrect content when convert excel to PDF.
Fixes the issue that caused chart location changed when use AutoFitColumns method.
Fixes the issue that caused ArgumentOutOfRangeException when convert excel to PDF.
Fixes the issue that caused wrong page break when convert excel to PDF.
Fixes the issue that caused XmlException when load file.
Fixes the issue that caused InvalidCastException when extract HPageBreak in HPageBreaksCollection.
Fixes the issue that caused ArgumentOutOfRangeException when set color for DataPoint.
Spire.Presentation
New Feature:
Supports to convert PPT to SVG.
Code: Select all
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
Queue svgBytes = ppt.SaveToSVG();
int len = svgBytes.Count;
for (int i = 0; i < len; i++)
            {
               FileStream fs = new FileStream(string.Format(outputFile + "{0}.svg", i), FileMode.Create);
               byte[] bytes = svgBytes.Dequeue();
               fs.Write(bytes, 0, bytes.Length);
               ppt.Dispose();
            }

Adds 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 axis's text wrong when convert PPT to image.
Fixes the issue that caused wrong format when convert PPT to image
Spire.PDFViewer
Bug solutions:
Fixes the issue where the content was cut off.
Fixes the issue that caused the checked checkbox not show.
Resolves the issue that caused extra bad characters(idotlessi:hungarumlautz).
Fixes the issue that caused the document unclear when the PDF document has large numbers of columns (over 100 columns) in a grid.
Fixes the issue where part contents of header was not displayed when the PDF document has large numbers of columns (over 100 columns) in a grid.
Fixes the issue where the image lost.
Spire.OfficeViewer
Main features:
Load office documents and PDF from file and view;
Switch to target page;
Fit page, Fit width, Fit height;
Page down/up;
Zoom in/out;
Hand tool;
Print;
Save as PDF and XPS;
User avatar
amy.zhao
 
Posts: 2202
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.DataExport

Who is online

Users browsing this forum: No registered users and 0 guests

cron