Spire.Doc 5.4.0

dotnet add package Spire.Doc --version 5.4.0
NuGet\Install-Package Spire.Doc -Version 5.4.0
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.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.Doc --version 5.4.0
#r "nuget: Spire.Doc, 5.4.0"
#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.4.0

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

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 233 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 227 12/2/2014
5.3.0 243 11/19/2014
5.2.65 1,204 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 85 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 73 4/14/2014
5.0.34 540 4/3/2014
5.0.30 81 3/27/2014
5.0.26 101 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 5.4
Fix the issue that caused the garbled contents when convert RTF to html.
Fix the issue where some sentences weren't aligned when convert .docx to PDF.
Fix the issue that caused incorrect indent when convert RTF to RTF.
Fix the issue where some documents couldn't be saved to PDF format.
Fix the issue that caused redundant blank line when save to PDF more than one time.
Fix the issue that caused some contents dislocation when convert .dotx to PDF.
Fix the issue where some doc documents can't be saved to .docx document.

Spire.Doc 5.3.83

Add a new feature to add "Line Between" in the document column settings.
Add a new feature to set the IMG at vertical-align:middle when append HTML string code to .doc.
Fixes the issue that caused the content displyed incorrectly when convert .doc to PDF.
Fixes the issue where it failed to convert .doc to PDF.
Supports the "picprop" keywords when save as RTF document.
Fixes the issue that caused tab keywords failed to analyze when convert rtf to rtf.
Fixes the issue that caused the image lost when convert rtf to rtf.
Fixes the issue where it failed to load some .docx/RTF documents.
Fixes the issue that caused the negative number is set as positive when mail merged.
Fixes the issue where the result is not correct when convert some RTF documents to PDF.


Spire.Doc 5.3.71
Add new struct for PrivateFontPath that enables setting the path to font when convert word to PDF.
Fixes the issue where it failed to load some RTF files.
Fixes the issue where the output PDF is incorrect when converts some Word documents to PDF.
Fixes the issue where the IF field in the Word document updated wrong when convert Word document to PDF.
Fixes the issue that caused an exception happened when save Word to PDF.
Fixes the issue where the merged value displayed incorrect when mail merged.
Fixes the issue where the barcode font can't be embedded correctly to PDF when convert Word document to PDF.
Fixes the issue where it failed to convert some rtf to pdf.
Fixes the issue that caused the character before line break lost when saves to PDF after completing mail merge.
Fixed the issue where it failed to convert some .doc documents to PDF.


Spire.Doc 5.3.46
Fix the issue that the image is magnified when merging two RTF files.
Fix the issue that "Index was outside the bounds of the array" when .docx to pdf conversion.
Fix the issue that the font isn't embedded correctly when .docx to PDF conversion.
Fix the issue that "ArgumentOutOfRangeException" when mail merging.

Spire.Doc 5.3.38
The bold font that doesn't have bold is supported to embed into pdf when convert .docx to PDF.
Fix the issue that the symbol was lost when convert .docx to pdf.
Fix the issue that the filled content of Form Field lost when convert .docx to pdf.
Fix the issue that the result is incorrect when convert .docx to pdf.
Fix the issue that the result is incorrect when convert HTML to RTF.
Fix the issue that the result is incorrect when convert HTML to image.
Fix the issue that the TableOfContent(IDocument doc, string switches) method can't work.
Fix the issue that it can't extract text from some documents.
Fix the issue that 'Object reference not set to an instance of an object' when saving document to pdf.


Spire.Doc 5.3.17
Fix the issue with GetPageCount method.
Fix the issue that 'Not a valid Win32 FileTime' when loading a .doc document.
Fix the issue that 'Nullable object must have a value' when loading a RTF document.
Fix the issue that some .docx documents can't be converted to PDF.
Fix the issue that the color of bullet and numbering is not correct when converting RTF to PDF/Image.
Fix the issue that the image color was incorrect when converting .docx to .docx.
Fix the issue that some contents in the result image lost when converting RTF to tiff.
Fix the issue that 'Object reference not set to an instance of an object' when saving document to stream.

Spire.Doc 5.3.11
Fix the issue that table of content is not updated.
Fix the issue that table of content is updated incorrectly.
Fix the issue that spell check is not recognized in word document.
Fix the issue about clone section.
Fix the issue that after saving a document, the style name was changed in German MS Word.
Fix the issue that 'Error! Unknown document property name' when convert .doc to pdf.
Fix the issue that the location of log is incorrect when convert RTF to PDF.
Fix the issue that 'unable convert the system.DateTime type object to system.string type' when convert .doc to pdf.
Fix the issue that the checkbox is not checked when convert .doc to pdf.
Fix the issue that the Bullet symbol is lost when convert rtf to image/pdf.
Fix the issue that the wingdings font displays incorrectly when convert .doc/.docx to pdf.


Spire.Doc V5.3.4
Fix the error 'Out of memory' when converting .doc file to PDF.
Fix the issue that the extra number list is added when converting .docx file to PDF.
Fix the issue that footnote is missing when convert RTF to Word.
Fix the error 'Html contains not wellformatted table' occurred when loading HTML file.
Fix the error 'Index was outside of the bounds of the array' when loading .doc file.
Fix the issue that macros in .doc file are not removed.
Fix the issue that the read value of custom property is incorrect.

Spire.Doc V5.2.65
Fix the issue that the quality of images is low when converting .docx to pdf.
Fix the issue that there are extra quotes in converted pdf when converting .docx to pdf.
Fix the error "Object reference not set to an instance of an object." when converting .docx to pdf.
Fix the issue that watermark is missing when converting RTF to PDF.
Fix the issue that left margin is cut off when converting .doc to HTML.
Fix the issue that the content controls in table are not parsed.
Fix the issue that the references are missing after mail-merge when using MailMerge.ExecuteWidthNestedRegion method for a document that has cross-references,
Fix the issue that field is not updated when filling data for if field.
Fix the issue that output .docx file has extra characters that when doc.IsUpdateFields = true;
Fix the issue that some fields in table are not updated when using MailMerge.ExecuteWidthNestedRegion method.

Spire.Doc V5.2.48
Spire.Doc supports to get alias, tag and id of content controls.
Spire.Doc supports to get the count of all characters include space in document.
Fix the issue that some custom properties with different types (bool, int...), all properties types became string when loading document.
Fix the issue that when printing word document, it hanged and not returned.
Fix the issue that some text with font"Frutiger" was cut when converting word to PDF.
Fix the issue that the ProfID of the OLEObject (representing an embedded math type) was empty when converting .doc to .docx.
Fix the issue that the output lost all formatting when converting .dot document to RTF.

Spire.Doc V5.2.40
Spire.Doc starts to support justify low for alignment format of paragraph when saving to word document.
Fix the error "Input string was not in a correct format." occurred when converting HTML to DOCX.
Fix the error "ArgumentOutOfRangeException" occurred by setting Document.IsUpdateFields = true; when saving to .docx file.
Fix the issue that word document is created with a rather large table 16 or more columns cannot be converted to PDF.

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.