Spire.Doc for .NET

Spire.Doc for .NET

professional Word .NET library without installing microsoft word

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:

Hot Fix Version: 9.1

Category ID Description
Bug SPIREDOC-3818 Fixes the issue that the content of the converted PDF/XPS was incorrect when it contains right-to-left text.
Bug SPIREDOC-5120 Fixes the issue that no matches were found when finding the text.
Bug SPIREDOC-5138
SPIREDOC-5191
SPIREDOC-5307
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-5159
SPIREDOC-5161
Fixes the issue that the text overlapped after converting Word to PDF.
Bug SPIREDOC-5217 Fixes the issue that page number was incorrect after converting Word to PDF.
Bug SPIREDOC-5301 Fixes the issue that the application threw the error "Object reference not set to an instance of an object" when converting Word to PDF.
Bug SPIREDOC-5303 Fixes the issue that it caused incorrect pagination after converting Word to PDF.
Bug SPIREDOC-5338 Fixes the issue that the bookmark location was changed after saving the Word document.
Bug SPIREDOC-5341 Fixes the issue that the lines were rendered incorrectly after converting Word to PDF.
Bug SPIREDOC-5346 Fixes the issue that the application threw the error "Index was outside of bounds of the array" when converting Word to PDF.
Bug SPIREDOC-5348 Fixes the issue that the equation was incorrect after saving to doc/docx file.
Bug SPIREDOC-5370 Fixes the issue that the list number value was incorrect after converting Word to PDF.
Bug SPIREDOC-5386 Fixes the issue that the application threw the error "Input string was not in a correct format" when loading the file.

Hot Fix Version: 8.12.14

Category ID Description
New Feature SPIREDOC-4965 Supports getting the differences compared between two Word documents.
New Feature SPIREDOC-4965 Supports obtaining and modify author and date time of revisions.
Document doc1 = new Document();
doc1.LoadFromFile("C:/1.docx");

Document doc2 = new Document();
doc2.LoadFromFile("C:/2.docx");

doc1.Compare(doc2, "spire.support");

foreach (Section sec in doc1.Sections)
{
    foreach (DocumentObject docItem in sec.Body.ChildObjects)
    {
        if (docItem is Paragraph)
        {
            Paragraph para = docItem as Paragraph;
            if (para.IsInsertRevision)
            {
                EditRevision insRevison = para.InsertRevision;
                EditRevisionType insType = insRevison.Type;
                string insAuthor = insRevison.Author;
                DateTime insDateTime = insRevison.DateTime;
            }
            else if (para.IsDeleteRevision)
            {
                EditRevision delRevison = para.DeleteRevision;
                EditRevisionType delType = delRevison.Type;
                string delAuthor = delRevison.Author;
                DateTime delDateTime = delRevison.DateTime;
            }

            foreach (ParagraphBase paraItem in para.ChildObjects)
            {
                if (paraItem.IsInsertRevision)
                {
                    EditRevision insRevison = paraItem.InsertRevision;
                    EditRevisionType insType = insRevison.Type;
                    string insAuthor = insRevison.Author;
                    DateTime insDateTime = insRevison.DateTime;
                }
                else if (paraItem.IsDeleteRevision)
                {
                    EditRevision delRevison = paraItem.DeleteRevision;
                    EditRevisionType delType = delRevison.Type;
                    string delAuthor = delRevison.Author;
                    DateTime delDateTime = delRevison.DateTime;
                }
            }
        }
    }
}

//Get the difference about revisions
DifferRevisions differRevisions = new DifferRevisions(doc1);

doc1.SaveToFile("C:/result.docx", FileFormat.Docx);
Bug SPIREDOC-4223 Fixes the issue that the content was incorrect when filling Html content into the merged fields.
Bug SPIREDOC-4962 Fixes the issue that there are problems with math-equations when opening generated Word document with MS Word.
Bug SPIREDOC-5214 Fixes the issue that the style was missing when cloning document.
Bug SPIREDOC-5324 Fixes the issue that some content was incorrect when converting Word containing Arabic characters to PDF.
Bug SPIREDOC-5349 Fixes the issue that math-equations became pictures when converting Doc to Docx.
Bug SPIREDOC-5367 Fixes the issue that the content of the generated TOC was inconsistent with the outline.
Bug SPIREDOC-4621 Fixes the issue that "-"glyph was missing when converting Word to PDF.
Bug SPIREDOC-4374 Fixes the issue that the content was inconsistent when converting Word to PDF.

Hot Fix Version: 8.12.9

Category ID Description
Bug SPIREDOC-4025 Fixes the issue that the font was changed after converting Word to Pdf.
Bug SPIREDOC-4505 Fixes the issue that caused extra border after converting Word to PDF.
Bug SPIREDOC-4854 Fixes the issue that the application threw the error "specified algorithm invalid" issue when signing the Word document.
Bug SPIREDOC-5010 Fixes the issue that the image location was moved left after converting Word to PDF.
Bug SPIREDOC-5123 Fixes the issue that the bullet style was changed after converting HTML to Word.
Bug SPIREDOC-5171 Fixes the issue that the table data was incorrect left after converting Word to PDF.
Bug SPIREDOC-5175 Fixes the issue that the application threw the error "System.InvalidOperationException" issue when loading rtf file.
Bug SPIREDOC-5190 Fixes the issue that the application hung when converting Word to PDF.
Bug SPIREDOC-5205 Fixes the issue that caused overlapped content after converting Word to PDF.
Bug SPIREDOC-5224
SPIREDOC-5225
Fixes the issue that caused incorrect format after converting Word to PDF.
Bug SPIREDOC-5244 Fixes the issue that some bookmarks lost after saving Word document.
Bug SPIREDOC-5245 Fixes the issue that after adding Toc field in bookmark, the application threw the error "An object reference is not set to an instance of the object" when executing UpdateTableOfContents() method.
Bug SPIREDOC-5290 Fixes the issue that the application threw the error "System.Collections.Generic.KeyNotFoundException" issue converting HTML to PDF.
Bug SPIREDOC-5291 Fixes the issue that the content was inconsistent after converting HTML to PDF.

Hot Fix Version: 8.11.15

Category ID Description
Bug SPIREDOC-4807 Fixes the issue that the IF field still existed after merging with empty value.
Bug SPIREDOC-4988 Fixes the issue that the pagination was inconsistent after converting Word to PDF.
Bug SPIREDOC-5062 Fixes the issue that the application threw the error "System.ArgumentException" when accepting the track changes.
Bug SPIREDOC-5114 Fixes the issue that the image border lost after converting Word to PDF.
Bug SPIREDOC-5126 Fixes the issue that failed to fill the MergeField with internal parameters.
Bug SPIREDOC-5136 Fixes the issue that the content format was incorrect after converting Word to PDF.
Bug SPIREDOC-5137 Fixes the issue that the table border lost after converting Word to PDF.
Bug SPIREDOC-5165 Fixes the issue that the two operations (1. Adding content and directly saving to PDF file; 2. Adding content and firstly saving to Word, then saving the Word to PDF) caused different table format.
Bug SPIREDOC-5199 Fixes the issue that after accepting the track changes, the application threw the error "System.ArgumentOutOfRangeException" when saving to PDF file.

Hot Fix Version: 8.11.9

Category ID Description
Bug SPIREDOC-4973 Fixes the issue that the Word file content was incorrect after replacing the bookmark content.
Bug SPIREDOC-4999 Fixes the issue that the application threw the error "System.NullReferenceException" when saving the file after replacing the bookmark content.
Bug SPIREDOC-5003 SPIREDOC-5043 Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-5063 Fixes the issue that the IF field was not updated correctly when converting Word to PDF.
Bug SPIREDOC-5077 SPIREDOC-5097 Fixes the issue that the application threw the error "IndexOutOfRangeException" when converting Word to PDF.
Bug SPIREDOC-5104 Fixes the issue that the application threw the error when converting Word with SmartArt to PDF/Image/XPS.
Bug SPIREDOC-5107 Fixes the issue that the application threw the error "System.FormatException" when loading the RTF file.
Bug SPIREDOC-5127 Fixes the issue that the content was incorrect when convert Word to PDF after mail merge.
Bug SPIREDOC-5130 Fixes the issue that the content overlapped after converting RTF to Word.
Bug SPIREDOC-5147 Fixes the issue that the application threw the error "System.ArgumentException" when saving the file.
Bug SPIREDOC-5164 Fixes the issue that an error prompted when opening the result file after converting Word to PDF.

Hot Fix Version: 8.10.4

Category ID Description
New Feature - Supports converting SmartArt to other document formats such as PDF/Image/XPS.
New Feature SPIREDOC-5049 Supports setting "Contents cannot be edited" for content controls.
StructureDocumentTagInline sdt = new StructureDocumentTagInline(document);
sdt.SDTProperties.LockSettings = LockSettingsType.ContentLocked;
Bug SPIREDOC-4944 Fixes the issue that the content was inconsistent when converting Word to PDF.
Bug SPIREDOC-4946 Fixes the issue that the application threw ArgumentOutOfRangeException when converting HTML to Word.
Bug SPIREDOC-4968 Fixes the issue that text position was incorrect when converting Word to PDF.
Bug SPIREDOC-4969 Fixes the issue that text wrapping was inconsistent when converting Word to PDF on Windows 10.
Bug SPIREDOC-4987 Fixes the issue that graph was incorrect when converting Word to PDF.
Bug SPIREDOC-4996 Fixes the issue that the application hung when converting Word to PDF.
Bug SPIREDOC-5045 Fixes the issue that the application threw FormatException when loading HTML.

Hot Fix Version: 8.10.0

Category ID Description
Bug SPIREDOC-3439 Fixes the issue that the application threw NullReferenceException after inserting if field in the document.
Bug SPIREDOC-3974 Fixes the issue that the page number field in textbox updated incorrectly.
Bug SPIREDOC-4090 Fixes the issue that the width of table column changed after converting Word to PDF.
Bug SPIREDOC-4793 Fixes the issue that content was missing after converting Word to PDF.
Bug SPIREDOC-4851 Fixes the issue that some characters was incorrect after converting Word to PDF.
Bug SPIREDOC-4915 Fixes the issue that bullets changed after merging files.
Bug SPIREDOC-4927 Fixes the issue that the section breaks didn't work when converting Word to PDF.
Bug SPIREDOC-4960 Fixes the issue that the application threw NullReferenceException when releasing resource.
Bug SPIREDOC-4961 Fixes the issue that the application threw NullReferenceException when loading a file.
Bug SPIREDOC-4963 Fixes the issue that the equation was wrong after converting xml to Word.
Bug SPIREDOC-4966 Fixes the issue that the added checkbox was lost after saving the file.
Bug SPIREDOC-4991 Fixes the issue that the application threw "Object reference not set to an instance of an object" when converting Word to PDF.

Hot Fix Version: 8.9.6

Category ID Description
Bug SPIREDOC-4030 Fixes the issue that the content was missing after converting Word to PDF.
Bug SPIREDOC-4777 Fixes the issue that it caused incorrect page numbers after converting Word to PDF.
Bug SPIREDOC-4822 Fixes the issue that the application threw "ArgumentException" when loading the file.
Bug SPIREDOC-4836 Fixes the issue that it caused incorrect chart content after converting Word to PDF.
Bug SPIREDOC-4867 Fixes the issue that the color set when adding watermark did not take effect.
Bug SPIREDOC-4889 Fixes the issue that it caused incorrect table border after converting Word to PDF.
Bug SPIREDOC-4891 Fixes the issue that the application was hung when converting Word to PDF.
Bug SPIREDOC-4909 Fixes the issue that the content was incorrect after updating the TOC of Word Document and then converting it to PDF.
Bug SPIREDOC-4914 Fixes the issue that the application threw "NullReferenceException" when converting Word to images.

Hot Fix Version: 8.8.2

Category ID Description
New Feature - Adds a comparison functionality.
Document doc1 = new Document();
doc1.LoadFromFile(inputFile2);
Document doc2 = new Document();
doc2.LoadFromFile(inputFile1);
doc1.Compare(doc2, "summer");
doc1.SaveToFile(outputFile);
doc1.Dispose();
Adjustment - Adds the interface ICompositeObject under the class ShapeGroup.
Adjustment - Deletes the interface ICompositeObject from the class ShapeBase.
Bug SPIREDOC-4455 Fixes the issue that caused incorrect linefeed after converting Word to PDF.
Bug SPIREDOC-4564 Fixes the issue that the applied heading style was missing in Style tools when displaying.
Bug SPIREDOC-4667 Fixes the issue that the result document prompted errors when opening after saving the file.
Bug SPIREDOC-4670 Fixes the issue that the application threw "ExternalException" when converting Word to Epub.
Bug SPIREDOC-4811 Fixes the issue that the application threw "NullReferenceException" when converting Word to PDF.
Bug SPIREDOC-4820 Fixes the issue that the application threw "XmlException" when applying html string.
Bug SPIREDOC-4821 Fixes the issue that the picture field showed blank picture when merging values were null.
Bug SPIREDOC-4842 Fixes the issue that the table borders were deleted after using the code
table.TableFormat.Positioning.ClearFormatting().

Hot Fix Version: 8.7.5

Category ID Description
Bug SPIREDOC-3499
SPIREDOC-4572
SPIREDOC-4606
Fixes the issue that caused incorrect content after converting Word to PDF.
Bug SPIREDOC-3837 Fixes the issue that caused incorrect paging after converting Word to PDF.
Bug SPIREDOC-4381
SPIREDOC-4379
Fixes the issue that the page number didn't display correctly after converting Word to PDF.
Bug SPIREDOC-4148 Fixes the issue that the application threw "EndOfStreamException" when loading the Word document.
Bug SPIREDOC-4577 Fixes the issue that using the PS conversion method to convert Word to PDF/A didn't work.
Bug SPIREDOC-4581 Fixes the issue that the application threw "XmlException" when loading the Word document.
Bug SPIREDOC-4623 Fixes the issue that the application threw "InvalidOperationException" when loading the HTML document.
Bug SPIREDOC-4624 Fixes the issue that the application threw "ArgumentException" when loading the HTML document.
Bug SPIREDOC-4626 Fixes the issue that the Chinese characters were missing after converting Word to PDF.
Bug SPIREDOC-4632 Fixes the issue that the chart was missing after converting Word to PDF/A.
Bug SPIREDOC-4653 Fixes the issue that the application threw "ArgumentOutOfRangeException" when updating the TOC.
Bug SPIREDOC-4656 Fixes the issue that the application threw an exception when converting HTML to PDF.
Bug SPIREDOC-4671 Fixes the issue that the image title obtained was incorrect.
Bug SPIREDOC-4700 Fixes the issue that the generated mail merge report was incorrect.