Spire.Doc 5.2.29

There is a newer version of this package available.
See the version list below for details.
dotnet add package Spire.Doc --version 5.2.29
NuGet\Install-Package Spire.Doc -Version 5.2.29
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spire.Doc" Version="5.2.29" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.Doc --version 5.2.29
#r "nuget: Spire.Doc, 5.2.29"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spire.Doc as a Cake Addin
#addin nuget:?package=Spire.Doc&version=5.2.29

// Install Spire.Doc as a Cake Tool
#tool nuget:?package=Spire.Doc&version=5.2.29

Spire.Doc for .NET, specially designed for developers, enables to fast generate, open, write, edit and save Word document from Word Version 97-2003 to 2013. The featured function conversion enables developers to easily realize conversion between Word and other popular document formats such as Word to PDF/EPub/HTML/RTF/Image/XML etc.

Spire.Doc for .NET is a totally independent .NET Word class library which doesn't require Microsoft Office installed on system. Microsoft Office Automation is proved to be unstable, slow and not scalable to produce MS Word documents. Spire.Doc for .NET is many times faster than Microsoft Word Automation and with much better stability and scalability.

By using Spire.Doc for .NET, users can save Word Doc/Docx to stream, save as web response and convert Word Doc/Docx to XML, RTF, EMF, TXT, XPS, EPUB, HTML and vice versa. Spire.Doc for .NET also supports to convert Word Doc/Docx to PDF and HTML to image.

A common use of Spire.Doc for .NET is to create Word document dynamically from scratch. Almost all Word document elements are supported. Mainly includes page, sections, headers, footers, footnotes, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, comments, images, styles, background settings, printing features, document settings and protection. Furthermore, drawing objects including shapes, textboxes, images, OLE objects and controls are supported as well.

Spire.Doc for .NET enables developers to process pre-existing Word documents. It supports search and replace function, alignment, page break, fill field, document concatenate, document copy, print, complex and deeply nested mail merge, etc.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Spire.Doc:

Repository Stars
hanjunjun/Titan.Blog.WebAPP
ASP.NET Core WebAPI前后端分离,后端框架
Version Downloads Last updated
5.4.0 234 4/28/2015
5.3.83 254 4/7/2015
5.3.71 196 3/23/2015
5.3.46 461 2/11/2015
5.3.38 193 1/29/2015
5.3.17 431 1/6/2015
5.3.11 146 12/18/2014
5.3.4 228 12/2/2014
5.3.0 243 11/19/2014
5.2.65 1,205 10/30/2014
5.2.48 409 9/29/2014
5.2.40 131 9/23/2014
5.2.29 264 8/28/2014
5.2.20 203 8/1/2014
5.2.16 176 7/17/2014
5.1.23 156 6/23/2014
5.1.12 89 5/27/2014
5.1.8 87 5/19/2014
5.1.6 79 5/9/2014
5.1.1 90 4/24/2014
5.0.41 81 4/21/2014
5.0.37 74 4/14/2014
5.0.34 540 4/3/2014
5.0.30 81 3/27/2014
5.0.26 102 3/14/2014
5.0.22 72 3/13/2014
5.0.0 77 3/13/2014
4.7.0 141 3/27/2013

Spire.Doc V5.2.29

Fix the issue that header formatting was mismatched between rtf document and converted pdf document.
Fix the issue that page break was not identified when converting html to pdf.
Fix the issue that characters overlap when converting word document to pdf document.
Fix the issue that the borders of table were lost when converting word document to pdf document.
Fix the issue that the accent characters were replaced by space characters when converting word document to images.
Fix the issue that characters overlap when converting word document to images.
Fix the error "Input string was not in a correct format." When loading .docx document.

Spire.Doc V5.2.20
Add new feature to preserve bookmarks in converted PDF from Word.
Fix the issue that the position of the normal text is wrong when converting Word to PDF.
Fix the issue that the text of the merge-fields is chopped within the textbox when converting Word to PDF.
Fix the issue that the header line is incorrect when converting Word to PDF.
Fix the issue that any shape is missing when converting Word to PDF.
Fix the issue that text watermark is missing when convert Word to PDF.
Fix the error "Unrecognized command in geometry path." when loading Word.
Fix the error "The given key was not present in the dictionary." when loading Word.

Spire.Doc V5.2.16
Fix the issue that some text is formatted as superscript when converting RTF code to .docx files.
Fix the issue that the file content is deleted when merging rtf files.
Fix the issue that the original page size is letter, the page size is changed as A4 when saving a RTF to a new RTF.
Fix the issues that picture and some text is cut when converting HTML to PDF.
Fix the issues that some extra guides are added in converted PDF from Docx.
Fix the issue that it is in an infinite loop when converting Docx to PDF.
Fix the issue that color and underline of hyperlink is lost after editing hyperlink.
Fix the error "Html contains not wellformatted table" occurred when loading html code using document.LoadHTML(tr, Spire.Doc.Documents.XHTMLValidationType.None).
Fix the error" Input string was not in a correct format." occurred when loading a .docx file.

Spire.Doc V5.1.23
New Feature:

Add TextScale property for CharacterFormat to set the Font Scale.

Bug Solutions:

   Fix the error "A table in this document has become corrupted" is occurred when opening the word converted from Html.
   Fix the issue that the width of table is incorrect in converted word document from HTML.
   Fix the issue that the found data using FindAllPatterns method is incorrect.
   Fix the error "Specified argument was out of the range of valid values" is occurred when loading a .docx file.
   Fix the issue that the got page count using Dcoument.PageCount is incorrect.
   Fix the issue that the border of table is lost in output rtf file after adding a table with borders in footer.
   Fix the error "Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" is occurred when saving to new .docx file after updating TableOfContents of a .docx document.
   Fix the error "The given key was not present in the dictionary" is occurred when saving a .doc file.
   Fix the issue that the bookmark is incorrect in converted .docx file from .doc file.
   Fix the issue that the header of table is incorrect in converted PDF from word file.

Spire.Doc 5.1.12
Fix the merged file was saved with black background after merging two files without background.
Fix the error "An unhandled exception of type "System.StackOverflowException" occurred in Spire.Doc.dll" when loading a .docx document.
Fix the layout of the table is incorrect after converting a .doc document to .docx document.


Spire.Doc 5.1.8
Fix the issue that the first line of header is not centered when converting Word to HTML.
Fix the wrong AppVersion when save as Word2013.
Fix the issue that Document.SaveToStream() for Docx2013 produces a zero-length file.
Fix the matched string in Header is not replaced using doc.Replace().
Fix the issue that the blank line is added in output file when convert HTML to Word.


Spire.Doc 5.1.6
Fix the issue that the layout of the table after converting .doc document to .docx document is changed.
Fix the issue that the content in the second header is not got by HeadersFooters.Header.
Fix the error "Index was out of range" caused when opening a .docx document.



Spire.Doc 5.1.1 news features and bug solutions:
• Add new method SplitCell(int colnumNum,int rowNum) to split one cell to multi-cells.
• Add new method UpdateWordCount(char[] splitchar) to update paragraph count, word count and character count.
• Fix the error "Object reference not set to an instance of an object"
when doing the replacement doc.Replace("",",","", true, false);


Spire.5.0.41 Bugs solved as below:
•Fix the image is missing issue and the signature is repeated in PDF from Word.
•Fix the issue of table settings is missing in PDF from Word.
•Fix the image in header is missing in Word from HTML.
•Fix the position of table is changed in .doc file from .docx file.
•Fix the error "input string was not in correct format" when load HTML file.

Spire.5.0.37 Bugs solved as below:
•Fix the bug that some content is missing in PDF from Word document.
•Fix the wrong layout content of in PDF from HTML file.
•Fix the error 'current color is not a valid value for Int32' when converting HTML to Word document.
•Fix the content is not equal in Word document from RTF.


Spire.5.0.34 Bugs solved as below:
•Fix the issue that the word count is not accurately.
•Fix the issue that it causes an xml exception when saving a document contains End Notes.
•Fix the issue that the date format was changed after converting Word document to PDF file.
•Fix the issue that it causes a NullReference exception when loading an RTF document.

Spire.Doc 5.0.30 focused on fixing bugs of the conversion feature in this new release.
•Fix the issue that the position of some content is not correct after converting Word to Image.
•Fix the bug that the header and footer in docx document are not converted when saving as PDF.
•Fix the bug that changing the style of paragraph in HTML doesn't work after saving as Word document.

Spire.Doc 5.0.26 has been released today. This new release add a new feature to convert word document to PDF/A directly. We have also focused on fixing bugs and function enhancements in this version. Viewing the following full description of its improved functions:

Fixes and Other Enhancements
•Fix the bug that the image disappears after converting word document to PDF document.
•Fix the bug that the last line of a multi-line string disappears when use MailMerge functionality to merge the MergeFields inside a textbox of DOTX document.
•Fix the bug that the embedded font is replaced by other font after converting word document to PDF document.