Spire.Doc New Release or Hotfix

Technical support for Spire.Doc

Moderator: iceblue support

Spire.Doc New Release or Hotfix

Postby amy.zhao » Thu Apr 24, 2014 2:56 am

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


Spire.Doc Pack(hot fix) Version:6.0.21
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.Doc Pack(hot fix) Version:6.0.8
Bug Fixes:
Fixes the issue that caused wrong font when converting HTML to Word.
Fixes the issue that caused hyperlink and image missing when converting Word to PDF.
Fixes the issue that caused the process hanging when getting pages count.
Fixes the issue that caused incorrect content after replacing text.
Fixes the issue that the image in textbox was stretched when saving to PDF.
Fixes the issue that the position of the text changed when converting Word to PDF.
Fixes the issue that caused exception "Specified method is not supported" when saving file to .doc format with the method SaveToFile("Sample.doc", FileFormat.Doc, Response, HttpContentType.Attachment).

Spire.Doc Pack(hot fix) Version:6.0.5
Bug fixes:
Fixes the issue that caused extra header and footer in pdf when converting rtf to pdf.
Fixes the issue that caused the "ShapePr 391 keys no implementation" exception when saving the file after setting background image.
Fixes the issue that only the word ole object can be opened after appending various ole objects.
Fixes the issue that the distance between the texts in two adjacent cells was incorrect when saving to pdf.


Spire.Doc Pack(hot fix) Version:6.0.3
Bug Fixes:
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.


Spire.Doc Pack(hot fix) Version:6.0.1
New Features:
Published ShapeGroup class and properties of ShapeObject.
Code: Select all
Public ShapeGroup
Public ShapeObject.FillColor
Public ShapeObject.StrokeColor
Public ShapeObject.StrokeWeight
Public ShapeObject.LineStyle
Public ShapeObject.WordArt

Bug Fixes:
Fixes the issue where the layout of paragraphs was 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 caused the table border lost when converting to PDF.


Spire.Doc Pack Version:6.0
New Features:
DocOleObject, DocPicture and TextBox could inherit from ShapeObject.
Code: Select all
public class DocOleObject : ShapeObject
public class DocPicture : ShapeObject, IPicture
public class TextBox : ShapeObject, ITextBox

DocOleObject implements the interface IDocOleObject.
Table
It need to set both the Width and WidthType when setting the width for Table or TableCell
The method table.AutoFitBehavior() is changed to the method table.AutoFit();
Publish the property ShapeObject.CharacterFormat
Adjusts the values in enum TextDirection.
In previous versions, it means text direction, but now it means the row direction. For example, when you set TopToBottom, it means writing row by row (in other words, top to bottom), and the direction TopToBottom is the default value.
Code: Select all
//Summary:
//Specifies that text in the parent object shall flow from left to right horizontally,
//then top to bottom vertically on the page.  This means that horizontal lines
//are filled before the text expands vertically.
TopToBottom = 0;
 

Background
Inheritance relationship of BackgroundGradient changed from DocumentSerializable to VMLFill.
Code: Select all
public class BackgroundGradient : VMLFill

Cancel the "set" attribute for Background.Gradient.
Code: Select all
public BackgroundGradient Gradient { get; }

Cancel the constructor for BackgroundGradient.
Cancel the "set" attribute for the format of TextBox.
Code: Select all
public TextBoxFormat Format { get; }



Spire.Doc Pack(hot fix) Version:5.9.51
Bug Solutions:
Fixes the issue where the hyperlink in table was missing after merging files.
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 that cuased StackOverflowException when converting Word to PDF.
Fixes the issue that caused the process hanging when converting to PDF.


Spire.Doc Pack(hot fix) Version:5.9.41
Bug Solutions:
Fixes the issue that caused the program hanging up when converting Word to PDF.
Fixes the issue that caused the NullReferenceException when saving Word to HTML.
Fixes the issue that caused the ArgumentOutOfRangeException when getting the page count.
Fixes the issue that caused the exception "Object reference not set to an instance of an object" when loading RTF file.


Spire.Doc Pack(hot fix) Version:5.9.31
Bug Solutions:
Fixes the issue that caused the language of spelling check changed when appending rtf text to Word.
Fixes the issue that caused the border of table thicker when appending rtf text to Word.
Fixes the issue that caused the format incorrect when converting to PDF.
Fixes the issue that the bulleted list had extra line space between each other while converting HTML to word.


Spire.Doc Pack(hot fix) Version:5.9.16
Bug Solutions:
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.Doc Pack(hot fix) Version:5.9.3
Bug Solutions:
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.


Spire.Doc Pack Version:5.9
New Features:
Support to insert reply for the comment.
Code: Select all
Comment comment = para.AppendComment("Test comment");
Comment replyComment = new Comment(Doc);
replyComment.Format.Author = "E-iceblue";
replyComment.Format.Initial = "E";
replyComment.Body.AppParagraph().AppendText("Test reply comment.");
comment.ReplyToComment(replyComment);

Bug Solutions:
Fixes the issue that caused the position of the picture changed when converting RTF to PDF.


Spire.Doc Pack Version:5.8.92 hotfix
New Feature:
Support to set the user password for PDF when converting word to PDF.
Code: Select all
ToPdfParameterList toPdf = new ToPdfParameterList();
toPdf.PdfSecurity.UserPassword = "e-iceblue";

Support to add the time automatically when add 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.


Spire.Doc Pack Version:5.8.76 hotfix
Bug Solutions:
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.


Spire.Doc Pack Version:5.8.70 hotfix
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.


Spire.Doc Pack Version:5.8.62 hotfix
Bug Solutions:
Fixes the issue that caused the process hanging when updating the content.
Fixes the issue that caused incorrect table format when updating the content.
Fixes the issue that caused wrong value when updating field.
Fixes the issue that the OLE didn't work when linking to file.
Fixes the issue that caused ArgumentOutOfRange when loading file.
Fixes the issue that caused text missing when replacing text.
Improve the function of converting Word to PDF.
Fixes the issue that caused incorrect format when converting RTF to PDF.
Fixes the issue that caused wrong field when saving .doc to .docx.


Spire.Doc Pack Version:5.8.47 hotfix
New Feature:
Support to keep same format when replace content in bookmark using TextBodyPart.
Code: Select all
ReplaceBookmarkContent(TextBodyPart bodyPart, bool isKeepSourceFirstParaFormat, bool saveFormatting);

Bug Solutions:
Fixes the issue that caused "System.FormatException" when loading a word document.
Fixes the issue that caused wrong format when printing the document.
Fixes the issue that caused incorrect contents when updating the 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.
Improve the function when converting Word document to PDF.
Fixes the issue that caused wrong header when merging files.
Fixes the issue that caused the result file cannot open after saving the document.
Fixes the issue that caused ArgumentOutOfRange when saving the 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.Doc Pack Version:5.8.33 hotfix
New Feature:
Add an event to handle the ASK field.
Code: Select all
class Program
    {
        static void Main(string[] args)
        {
            Document doc = new Document();
            doc.LoadFromFile("test.doc");
            doc.UpdateFields += new UpdateFieldsHandler(doc_UpdateFields);
            doc.IsUpdateFields = true;
            doc.SaveToFile("output.docx", FileFormat.Docx);
        }
        private static void doc_UpdateFields(object sender, IFieldsEventArgs args)
        {
            if (args is AskFieldEventArgs)
            {
                AskFieldEventArgs askArgs = args as AskFieldEventArgs;
                Console.WriteLine(askArgs.PromptText);
                string s = Console.ReadLine();
                askArgs.ResponseText = s;
            }
        }
    }

Bug Solutions:
Fixes the issue where the paragraph format lost when replacing bookmark content.
Improve the function of converting Word document to PDF.


Spire.Doc Pack Version:5.8.24 hotfix
Bug Solutions:
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.


Spire.Doc Pack Version:5.8.19 hotfix
Bug Solutions:
Fixes the issue where the content got disorder after adding the watermark.
Fixes the issue that caused the exception that the magic number in GZip header is not correct when convert word to PDF.
Resolves the issue where the content displayed incorrectly when convert to word to PDF and word to image.


Spire.Doc Pack Version:5.8.13 hotfix
New Feature:
Support to embed private font when save as .docx file format.
Code: Select all
document.EmbedFontsInFile = true;
document.PrivateFontList.Add(new PrivateFontPath("Open Sans",fontPath));
document.SaveToFile("result.docx",FileFormat.Docx);

Bug Solutions:
Fixes the issue that caused content missing when convert word to image.
Fixes the issue that caused incorrect data when extract audio OLE object data.
Fixes the issue that caused incorrect result when convert word to PDF.
Fixes the issue that caused project hanging when convert word 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 word document.
Fixes the issue that caused the wrong style when convert HTML to Word.
Resolves the issue that caused the NullReferenceException exception when extract text.


Spire.Doc Pack Version:5.8
New feature:
Supports to convert word file to SVG.
Code: Select all
document.SaveToFile("result.svg", FileFormat.SVG);
 



Spire.Doc Pack Version:5.7.126 hotfix
New feature:
Public the collection of Fields on the Document object.
Bug solutions:
Optimize the feature on Word to PDF conversion.
Fixes the issue that caused the font incorrect when save to HTML via stream.


Spire.Doc Pack Version:5.7.117 hotfix
New feature:
Add new features to keep the same format when replace the content in bookmark.
Code: Select all
bookmarkNavigator.ReplaceBookmarkContent(part,isKeepSourceFirstParaFormat);

Bug solutions:
Fixes the issue that caused wrong content when covert RTF to Word.
Fixes the issue that caused wrong metatag when convert to PDF.
Fixes the issue that caused incorrect table format when convert to PDF.
Fixes the issue that caused picture in header missing when convert to PDF.
Fixes the issue that caused table border missing when append RTF text has table.


Spire.Doc Pack Version:5.7.109 hotfix
Bug solutions:
Fixes the issue that caused the data lost when mail merge.
Fixes the issue where special characters and image in IF field was not showed up correctly when mail merge.
Improve the ability to convert Word/RTF to PDF.
Fixes the issue where the underlined text was not right when convert to tiff.
Resolves the issue that caused the PageCount property exception when create a Spire.Doc.Document object.



Spire.Doc Pack Version:5.7.72 hotfix
Bug solutions:
Fixes the issue that caused the content formatting incorrect when convert Word to html.
Fixes the issue that caused the content formatting incorrect when convert PDF to html.
Fixes the issue where the IF field was parsed incorrectly when convert Word to PDF.
Fixes the issue that caused the Equation field displayed incorrectly in word 2003 document.


Spire.Doc Pack Version:5.7.54 hotfix
Bug solutions:
Improve the feature to Html parsing and conversion.
Fixes the issue that caused Letters Change on Numbered List when convert to PDF.
Fixes the issue where image got doubled up when convert to PDF.

Spire.Doc Pack Version:5.7.36 hotfix
Bug solutions:
Improve the mail merge feature to support one more group fields in the same body.
Fixes the issue that caused TOC can't be correctly updated with the correct page number.


Spire.Doc Pack Version:5.7.27 hotfix
Bug solutions:
Fixes the issue that caused the generated PDF/A document didn't meet the specification.
Fixes the issue that caused the TOC lost when convert word to HTML.
Fixes some issues that caused the wrong format when convert word to PDF.
Fixes the issue where image alignment lost when converting HTML to .docx.
Fixes the issue where paragraph's ListFormat.CurrentListStyle always return null.


Spire.Doc Pack Version:5.7
Bug solutions:
Fixes the issue that the textbox is missing when converting RTF to .docx.
Fixes the issue that the text in textbox orientation is changed when converting RTF to PDF.
Fixes the issue that bold letters overlap when converting .docx to PDF.
Fixes the issue that page layout is changed when printing Word document.
Fixes the issue that font setting is changed when inserting "℃" character into Word bookmark.
Fixes the issue that the image orientation is changed when merging two documents and converting Word to PDF.
Fixes the error "The given key was not present in the dictionary" when calling bookmarkNavigator.ReplaceBookmarkContent() method.

Spire.Doc Pack(hot fix) Version:5.6.62
Bug solutions:
Fixes the issue that caused messy formatting when print.
Fixes the issue where Document.GetPageCount method and Document.PageCount property caused the print output incorrect.
Fixes the issue that caused Exception when save the document.
Fixes the issue where the indent on cells in table was incorrect when convert doc to rtf.
Fixes the issue that caused Exception in text replacement.
Resolves the issue that caused the result was incorrect when replacing text that contains a hyperlink or a mailto-link.
Fixes the issue that caused the footer lost when convert word to word.
Fixes the issue where the wordcount property didn't get the correct value.
Fixes the issue that caused incorrect formatting when convert html to word.
Fixes the issue that caused incorrect formatting when convert html to PDF.
Fixes the issue that caused the content lost when convert word to PDF.
Resolves the issue that caused exception when mailmerge the MergeFields within mathematical functions.

Spire.Doc Pack(hot fix) Version:5.6.34
Bug solutions:
Fixes the issue where INCLUDEPICTURE items wasn't updated when mail merge.
Fixes the issue that caused StackOverflowException when load html.
Fixes the issue where the background color of paragraph couldn't be modified when saves to doc format.
Fixes the issue that caused loss of format when convert to PDF.
Resolves the issue that caused ArgumentOutOfRangeException when convert RTF to PDF.
Fixes the issue that caused loss of fonts when convert word to HTML.

Spire.Doc Pack(hot fix) Version:5.6.27
New Feature:
Spire.Doc starts to support to parse RC4 CryptoAPI and XOR Obfuscation Encryption.
Bug solutions:
Fixes the issue that caused the exception that password is incorrect when load Word2013 protected document.
Fixes the issue that caused the document cannot be loaded.
Fixes the issue where the position of the bookmark is incorrect when loading and saving Word 97-2003 file.
Resolves the issue that caused the exception that length cannot be less than zero when loading the document.
Fixes the issue that caused incorrect layouts when convert RTF to PDF.
Fixes the issue that caused IndexOutOfRange exception when save.

Spire.Doc Pack(hot fix) Version:5.6.16
Bug solutions:
Fixes the issue that cause OverflowException when loading.
Resolves the issue that cause blank field when mail merging.
Fixes the issue that cause loss of formats when saving to PDF.
Fixes the issue that cause exception when converting RTF to PDF.
Fixes the issue that cause exception when converting to PDF.
Fixes the issue where the content flattened when converted to PDF.
Fixes the issue where the image lost when converted to PDF.

Spire.Doc Pack(hot fix) Version:5.6.3
New Feature:
Add new method to embed uninstalled fonts by font document when convert word document to PDF.
Code: Select all
Document document = new Document();
document.LoadFromFile("Testing.docx");
ToPdfParameterList parms = new ToPdfParameterList()
            {
                PrivateFontPaths = new List()
               {
                  new PrivateFontPath("Century Gothic",FontStyle.Regular,"..\\..\\GOTHIC.TTF"),

                  new PrivateFontPath("Century Gothic",FontStyle.Bold,"..\\..\\GOTHICB.TTF"),

                  new PrivateFontPath("Century Gothic",FontStyle.Italic,"..\\..\\GOTHICI.TTF") ,

                  new PrivateFontPath("Century Gothic",FontStyle.Bold|FontStyle.Italic,"..\\..\\GOTHICBI.TTF")
                                                           
               }
            };
 document.SaveToFile("Testing.pdf", parms);

Bug solutions:
Fixes the issue that caused layout change when convert word (with tables) to PDF.
Fixes the issue that caused alignment issue when convert word document to PDF.
Fixes the issue where the hyperlink in the header changes when converting rtf to PDF.


Spire.Doc Pack 5.6
Bug solutions:
Fixes the issue that caused the content lost when convert word document to PDF.
Fixes the issue that caused the application hangs when convert RTF to PDF.
Fixes the issue that caused the application hangs when convert .docx to PDF.
Fixes the issue where the content was not correct when converts to Image.
Fixes the issue where the content was not correct when converts to PDF.
Fixes the issue that caused the ArgumentOutOfRangeException when save to stream.
Fixes the issue where there is security error while opening when create new table.
Fixes the issue that caused the exception when load 0K document.
Fixes the issue that caused the stack empty error when using the AppendHtml method to append the Html.
Fixes the issue where the content in the table was cut off when using the AppendHtml method to append the HTML includes table.
Fixes the issue that caused exception when load HTML.
Fixes the issue where the column lost when set PageOrientation and TextDirection.
User avatar
amy.zhao
 
Posts: 2196
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 1 guest