Aspose.Words 13.10.0

Aspose.Words for .NET class library supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word®

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Words -Version 13.10.0
dotnet add package Aspose.Words --version 13.10.0
<PackageReference Include="Aspose.Words" Version="13.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Words --version 13.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Words, 13.10.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Words as a Cake Addin
#addin nuget:?package=Aspose.Words&version=13.10.0

// Install Aspose.Words as a Cake Tool
#tool nuget:?package=Aspose.Words&version=13.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

There are 192 improvements and fixes in this regular monthly release. The most notable are:

• Finally implemented a much richer support of CSS cascading and inheritance in HTML and MHTML imports
• Added support of table styles in HTML and MHTML imports
• Quirks and Standards modes are supported now in HTML import
• Improved import of CSS margins for paragraphs, lists and tables
• Base PDF/A-1b compliance level is implemented in rendering to PDF
• Improved floating shape positioning in complex scenarios
• Implemented vertical section alignment

This release introduces the new features, enhancements and fixes to the excptions/bugs as detailed below:

• New features
WORDSNET-2020 Support 'style' attribute of 'img'
WORDSNET-2306 When import “blockquote”, paragraph should have indentations on left and on right sides.
WORDSNET-2356 Support PDF/A-1a compliance level
WORDSNET-2705 Support 'inherit' (explicit CSS attribute inheritance) on import
WORDSNET-2706 Font size is incorrect upon rendering.
WORDSNET-3163 Support CSS styles on table, tr, td and th nodes on import
WORDSNET-318 Add support for tables styles during HTML import
WORDSNET-3318 CSS styles applied to element by id is ignored upon importing HTML.
WORDSNET-3606 Multiple classes are completely ignored upon HTML import.
WORDSNET-3637 Background color is applied to paragraph instead of table cell during HTML import.
WORDSNET-39 Import CSS from HTML
WORDSNET-3915 All spans in paragraph inherits formatting of span with “display:block” attribute set.
WORDSNET-4336 Font is not changed during appending with UseDestinationStyles
WORDSNET-4604 Document looks different when converting from HTML to other format.
WORDSNET-4744 Cell background color is imported as paragraph background color when CSS sheet is used
WORDSNET-4780 Consider adding an ability to set “Document structure tags for accessibility” option.
WORDSNET-4887 Try to avoid a line break after each text line in PDF.
WORDSNET-4957 Table looks incorrectly
WORDSNET-6460 While converting HTML to EPUB, embedded CSS is malfunctioning
WORDSNET-6546 Support importing nested CSS selectors from HTML
WORDSNET-6716 Support 'style' attribute of <h1> ... <h6>
WORDSNET-7436 Border style is applied to a cell's text (to a child paragraph) instead of to the cell itself
WORDSNET-7442 DocumentBuilder.InsertHtml supports only styles from CSS
WORDSNET-8195 Font-family specified inside paragraph style is changed after HTML import.
WORDSNET-8890 Import css style names used in table tags during converting Html to Word
WORDSNET-8999 Support tick mark type.
WORDSNET-9011 Html to Doc/Docx/Pdf file conversion issue with images
WORDSNET-9020 AW applies "font-size" css property to text if property is specified for body element in HTML import but browsers don't.
WORDSNET-9021 Border is not applied to table in HTML import (system color values aren't supported).
WORDSNET-9022 Border css style specified for div is not present in resulting DOCX in HTML import.
WORDSNET-9023 If hyperlink is a first child in body hyperlink has space after set to 0 in HTML import.
WORDSNET-9025 td's "text-decoration" css property is not applied to cell's text in HTML import.
WORDSNET-9029 Extra border appears around text in HTML import.
WORDSNET-9060 Superscript from the footnote does not render in output Pdf

• Enhancements
WORDSJAVA-767 com.aspose.words.UnsupportedFileFormatException when loading a TXT DOC in Japanese encoding
WORDSJAVA-788 Lost figures with small fractional size multiplied on big scale in DrawingML
WORDSJAVA-789 Ignore invalid Bmp
WORDSJAVA-791 Inserted Svg image saved as Png instead of Emf
WORDSNET-2850 Text formatting is changed during open/save
WORDSNET-2974 MS Word 2002 crashes when try to open DOC file produced by Aspose.Words.
WORDSNET-3452 Border appears around paragraph after importing HTML.
WORDSNET-3942 Margin-bottom attribute is ignored if specified in CSS
WORDSNET-4713 Numbering format is changed upon rendering
WORDSNET-5111 MoveToMergeField should move based off the builder's current position
WORDSNET-5548 Unicode symbols are filtered out of document runs, resulting in information loss during roundtrip.
WORDSNET-5746 Support characters from Unicode Supplementary Planes
WORDSNET-5876 Bullet character symbol is changed after resave the document
WORDSNET-5992 Font size changed after appending one document to another
WORDSNET-6213 Docx to PDF conversion issue with image position
WORDSNET-6339 Docx to PDF conversion issue with page
WORDSNET-6386 Docx to PDF conversion issue with header text
WORDSNET-6585 Exception while loading MHTML file
WORDSNET-6610 Docx to Pdf conversion issue with footnotes
WORDSNET-7561 Refactoring of HTML Import
WORDSNET-7816 Do not use auto spacing for paragraphs on HTML import
WORDSNET-7817 Apply margin values of parent HTML elements to paragraphs
WORDSNET-7818 Table cell margins in HTML quirks mode
WORDSNET-7875 Support nowrap attribute of TD
WORDSNET-8099 Support vertical alignment of section followed by "section break continuous"
WORDSNET-8483 A Drop Cap letter renders twice in PDF
WORDSNET-8601 Take width of paragraph border into account on HTML import
WORDSNET-8614 Wrong number format after field update
WORDSNET-8645 Enhancement of HTML import of lists
WORDSNET-8675 PdfTextureBrushTilingPattern caching improvement
WORDSNET-9012 Write font underline style to CSS when saving to HtmlFixed format
WORDSNET-9018 Text's indent is not taken into account in HTML import when calculating column's width.
WORDSNET-9026 h1, h2 and h3 has "Arial" default font but browsers use "Times New Roman" in HTML import.
WORDSNET-9033 CSS stylesheets specified for print media should be ignored in HTML import.
WORDSNET-9036 Exception is thrown while loading html file.
WORDSNET-9049 Floating shape is rendered on the wrong page
WORDSNET-9127 UpdateFields forcefully renders deletion/insertion revisions in PDF even if AcceptAllRevisions is called
WORDSNET-9148 Shape is rendered twice.
WORDSNET-9182 A DrawingML is repeated many times in PDF

• Exceptions
WORDSJAVA-748 java.lang.NoSuchMethodError: java.awt.Font.canDisplay(I)Z occurs when converting to TIFF under JDK1.4
WORDSNET-6070 Aspose.Words.FileCorruptedException occur while loading mht file.
WORDSNET-8114 Document.Save throws System.InvalidCastException on re-saving Docx
WORDSNET-8259 Aspose.Words.FileCorruptedException occurs when loading MHT file
WORDSNET-8618 NullReferenceException occurs when calling UpdateFields after MaileMerge.Execute method
WORDSNET-8652 System.ArgumentException is thrown while doing Mail Merge
WORDSNET-8914 NullReferenceException occurs during rendering/exporting a Shape to PDF/HTML
WORDSNET-8947 Aspose.Words.FileCorruptedException is thrown while loading Rtf
WORDSNET-8990 NullReferenceException occurs when converting a Word document to Pdf on Mono
WORDSNET-9002 OverFlowException occurs when calling UpdatePageLayout method
WORDSNET-9037 FieldChar.GetField throws System.InvalidOperationException when Track change is ON
WORDSNET-9047 Document.Save throws System.InvalidOperationException for SaveFormat.Docx
WORDSNET-9071 Aspose.Words.FileCorruptedException occurs when loading DOC file
WORDSNET-9078 Aspose.Words.FileCorruptedException is thrown while loading Doc file

• Bugs
WORDSJAVA-782 Specifying PdfImageCompression.JPEG option renders a black PNG in PDF
WORDSJAVA-786 Absent line endings during emf rendering
WORDSJAVA-790 Ignore invalid metafile
WORDSJAVA-793 diacritic signs shifted during rendering complex script to GDI
WORDSNET-5015 Background color of paragraphs is changed after converting MHTML to other formats.
WORDSNET-5026 Position of floating frame is changed during rendering.
WORDSNET-5069 Indent of paragraph is incorrect after rendering.
WORDSNET-5074 Gray text appears on gray background after importing MHTML.
WORDSNET-5113 Aspose.Words does not take in account value of ASK field upon updating fields.
WORDSNET-5117 Aspose.Words does not use values of bookmarks upon updating fields.
WORDSNET-5368 Bullets disappears after appending document.
WORDSNET-5389 Size of font is changed during rendering.
WORDSNET-5485 Footnote in heading paragraph also appears in TOC after updating.
WORDSNET-5503 Inline border style for div is not working
WORDSNET-5583 Background color of Content is changed upon MHTML to DOC conversion
WORDSNET-5588 Image appears as "red cross" after open/save MHT.
WORDSNET-5632 TabStop/TabLeaders rendering incorrectly in PDF,XPS
WORDSNET-5659 Number -1 appears before the bullet list after rendering to PDF
WORDSNET-5696 Shape inside header gets rendered behind the table
WORDSNET-5757 HTML to Doc conversion; <TD style="TEXT-ALIGN: center; is not working. align="center" is working
WORDSNET-5993 UpdateFields splits a single Run of text in Date field into many Runs
WORDSNET-6042 JoinRunsWithSameFormatting does not seem to be working
WORDSNET-6083 Table tag > Style > background attribute does not support when converting HTML to DOC.
WORDSNET-6148 StructuredDocumentTag text is changed during open/save docx file.
WORDSNET-6342 Bullet symbols are lost upon exporting DOCX to EPUB
WORDSNET-6366 Import TD CSS from HTML
WORDSNET-6391 The value of Date SDT becomes visible when converting to formats other than DOCX
WORDSNET-6398 AcceptAllRevisions is not working correctly in the footer
WORDSNET-6499 ComparisonEvaluator.EvaluateCore method doesn't handle simple string values properly.
WORDSNET-6605 Cell's content is not aligned with the text in another table cell
WORDSNET-6626 Cell widths are incorrect when appending documents
WORDSNET-6630 Text is shifted/shrinked during printing PDF i.e. generated by Aspose.Words
WORDSNET-6909 HTML Cell content is not aligned centred when converting to DOC
WORDSNET-6920 Cell text is wrapped incorrectly during HTML import
WORDSNET-7277 HTML to PDF conversion issue with contents rendering
WORDSNET-7420 Support Font style attributes of td
WORDSNET-7462 Color attribute in CSS style is not imported into DOM
WORDSNET-7549 Additional border around Text is added when importing Html
WORDSNET-7631 Text-Align style attribute of div is not preserved during converting Html to Rtf
WORDSNET-7632 Table and Cell options are imported incorrectly from HTML
WORDSNET-7633 CSS rule is not applied to Table when converting Html to Rtf
WORDSNET-7634 Support font-size attribute during converting HTML to RTF
WORDSNET-7695 Cell shading color is not imported from background-color CSS
WORDSNET-7700 ul and li css styles are imported incorrectly
WORDSNET-7701 CSS embedded in HTML file is not applied to DIV
WORDSNET-7789 margin-left style attribute of <body> is ignored during importing Html
WORDSNET-7878 Unwanted borders around Runs are observed in DOCX that is imported from HTML
WORDSNET-7890 Consider Importing all Table formatting from CSS in HTML
WORDSNET-7922 Border style attribute of <table> is not imported from Html
WORDSNET-8025 Exception while converting Docx to HTML
WORDSNET-8177 Aspose.Words hangs during rendering ODT to Pdf
WORDSNET-8364 Debug.Assert fails in BorderGrid.CorrectParagraphPoints()
WORDSNET-8391 Process CSS descendant combinators on HTML import
WORDSNET-8467 CSS from an external file is not getting applied to SPAN tag
WORDSNET-8552 Aspose.Words hangs during rendering DOC to HTML
WORDSNET-8587 Docx to fixed file format conversion issue with Set Field
WORDSNET-8595 Layout of DrawingML is not preserved during rendering to PDF
WORDSNET-8608 More words per line are rendered inside TextBox in PDF
WORDSNET-8610 Text in TextBox shape is rendering beyond the limits of right page margin
WORDSNET-8670 Text background color is lost after importing html into Aspose.Word DOM
WORDSNET-8671 HTML to Word/PDF Conversion issue with text formatting
WORDSNET-8693 A Span of text is incorrectly imported with Italic font formatting
WORDSNET-8715 HTML to Doc conversion issue with table Line Style
WORDSNET-8721 Aspose.Words hangs during rendering DrawingML to Pdf
WORDSNET-8747 Row height is ignored when importing Html into Aspose.Words
WORDSNET-8750 Table left indent is not preserved during DOC->HTML->DOC roundtrip
WORDSNET-8783 Contents position is changed in output Pdf after conversion from Docx
WORDSNET-8785 HtmlFixedSaveOptions.ResourcesFolder is not working
WORDSNET-8825 Incorrect font is applied to Paragraphs when importing <p> tags from Html
WORDSNET-8830 Header and footer do not render correctly in output Pdf file
WORDSNET-8839 Document.UpdateFields removes content of TOC field
WORDSNET-8853 Blank pages are being inserted during appending documents
WORDSNET-8861 Misplaced shapes and connectors while rendering
WORDSNET-8872 A blank Tiff is produced when specifying Ccitt4 or Ccitt3 TiffCompression option
WORDSNET-8879 Shapes are rendering without preserving their Hyperlinks in Pdf
WORDSNET-8903 Doc to Pdf conversion issue with SEQ field
WORDSNET-8907 DocumentBuilder.MoveToMergeField removes all merge field inside an IF field
WORDSNET-8909 A Heading2 paragraph is incorrectly appearing on 1st PDF ouline level
WORDSNET-8973 Endnotes at the end of document are not rendered in PDF
WORDSNET-8983 Table's border is missing after conversion from html to Docx/Doc/Pdf
WORDSNET-8984 Table's width is changed after conversion from html to Docx/Doc/Pdf
WORDSNET-8988 Aspose.Words does not update Author field
WORDSNET-8992 Strikethrough effect applied on white spaces should not be displayed in Pdf
WORDSNET-8995 Incorrect page count
WORDSNET-9008 Merged data is formatted with two different fonts after ExecuteWithRegions
WORDSNET-9016 0px image border becomes visible after import from HTML file
WORDSNET-9024 CSS style of <p> elements affects text of other elements
WORDSNET-9054 Charts images become distorted during exporting to HTML
WORDSNET-9061 IMailMergeDataSource.GetChildDataSource is called when mail merge filed contains dot (.)
WORDSNET-9063 Pictures within RTF file when saved to pdf are positioned incorrectly.
WORDSNET-9064 Images are not preserved during importing Html
WORDSNET-9072 Doc to Pdf conversion issue with mathematical formulas rendering
WORDSNET-9073 Doc to XPS conversion issue with mathematical formulas rendering
WORDSNET-9074 Document.Save does not preserve bullets
WORDSNET-9098 Acrobat gives error message when displaying a PDF document generated using Aspose.Words
WORDSNET-9122 UpdateFields throws ArgumentNullException
WORDSNET-9125 Text formatted with Arial Black font is made extra bold in PDF
WORDSNET-9130 Text is not selectable when viewing the HtmlFixed document with Chrome or FireFox browsers
WORDSNET-9133 A Paragraph is given extra left indentation and is split into two lines in PDF

• Performance
WORDSJAVA-770 Investigate memory leaks when running under Open JDK 1.7
WORDSNET-9005 Improve MHT loading and resaving to HtmlFixed time

• Regressions
WORDSNET-9041 System.DivideByZeroException occurs during rendering Docx to Pdf
WORDSNET-9132 System.ArgumentNullException is thrown when exporting a Doc to Html
WORDSNET-9145 OverFlowException occurs when invoking Document.PageCount property
WORDSNET-9019 div's "background-color" css property is not applied to inner table in HTML import.


This package has no dependencies.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on Aspose.Words:

Package Downloads
The Enterprise Web Library (EWL), and its tailored infrastructure platform, are a complete and open solution for developing and operating web-based enterprise software.
iCom integrates a variety of specific operation classes, such as: Cookie, Items, Cache, Form, DbContext, DbDynamic, DbConn, SqlQuery, FileUtil, FileUpload, Crypto, BarCode, StringUtil, TypeConvert, SortList, DateUtil, RegexUtil, Environal, ReflectUtil, HttpClient, ImageUtil, XmlUtil, ZipPackage, WordUtil, ExcelUtil, PdfUtil, PinyinConvert, PdfToImageConverter, JsonConfig, XmlConfig, ObjectCopy, TagHelper, SkipUrlMiddleware and so on. // HttpContext Called in the ConfigureServices method services.AddContextAccessor(); // Called in the Configure method app.UseHttpContext(); // EfCore Called in the ConfigureServices method // Application Assembly var assembly = Assembly.GetExecutingAssembly(); // Register Database Models services.AddDbContext(assembly); // Auto Update Database services.AddMigrate(); // Register All Services services.AddService(assembly);
A supportive package for Aspose.Words
Aspose.Words.Shaping.HarfBuzz is a .NET wrapper around HarfBuzz shaping engine for use in Aspose.Words. Free support for Aspose.Words for .NET is provided on our support forum: and on StackOverflow:
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Aspose.Words:

Repository Stars
Aspose.Words for .NET examples, plugins and showcases

Version History

Version Downloads Last updated
21.5.0 4,586 5/4/2021
21.4.0 17,272 4/1/2021
21.3.0 17,708 3/5/2021
21.2.0 31,647 2/3/2021
21.1.0 50,912 12/29/2020
20.12.0 55,182 12/4/2020
20.11.0 32,242 11/9/2020
20.10.0 44,789 10/6/2020
20.9.0 85,813 9/3/2020
20.8.0 71,519 8/4/2020
20.7.0 65,737 7/3/2020
20.6.0 92,323 6/3/2020
20.5.0 50,091 5/4/2020
20.4.0 72,361 4/3/2020
20.3.0 79,652 3/3/2020
20.2.0 68,818 2/4/2020
20.1.0 180,443 12/30/2019
19.12.0 61,126 12/5/2019
19.11.0 127,924 11/5/2019
19.10.0 72,400 10/4/2019
19.9.0 95,038 9/4/2019
19.8.0 69,715 8/9/2019
19.7.0 86,339 7/3/2019
19.6.0 61,261 6/3/2019
19.5.0 76,259 5/7/2019
19.4.0 108,926 4/2/2019
19.3.0 59,435 3/4/2019
19.2.0 128,031 2/1/2019
19.1.0 72,985 12/26/2018
18.12.0 34,000 12/4/2018
18.11.0 84,257 11/2/2018
18.10.0 70,727 10/3/2018
18.9.0 56,211 9/3/2018
18.8.0 47,499 8/1/2018
18.7.0 54,515 7/4/2018
18.6.0 92,067 6/1/2018
18.5.0 40,165 5/2/2018
18.4.0 38,849 4/2/2018
18.3.0 26,064 3/2/2018
18.2.0 32,066 2/1/2018
18.1.0 54,928 12/26/2017
17.12.0 41,993 12/6/2017
17.11.0 20,299 11/15/2017
17.10.0 41,982 10/9/2017
17.9.0 24,937 9/5/2017
17.8.0 94,791 8/6/2017
17.7.0 33,426 7/6/2017
17.6.0 32,813 6/6/2017
17.5.0 17,411 5/15/2017
17.4.0 39,615 4/4/2017
17.3.0 48,869 3/6/2017
17.2.0 45,213 2/6/2017
17.1.0 16,241 1/16/2017
16.12.0 29,632 12/11/2016
16.11.0 49,247 11/3/2016
16.10.0 34,633 10/12/2016
16.8.0 34,868 9/10/2016
16.7.0 36,552 8/9/2016
16.6.0 15,129 7/13/2016
16.5.0 20,682 6/23/2016
16.4.0 68,758 5/12/2016
16.3.0 15,106 4/11/2016
16.2.0 19,054 3/16/2016
16.1.0 69,016 2/3/2016
15.12.0 29,071 12/26/2015
15.11.0 19,025 12/5/2015
15.10.0 24,752 11/5/2015
15.9.0 21,330 10/12/2015
15.8.1 27,608 9/5/2015
15.7.0 116,769 8/7/2015
15.6.0 37,440 7/4/2015
15.5.0 9,562 6/7/2015
15.4.0 29,270 5/10/2015
15.3.0 10,753 4/2/2015
15.2.0 31,838 3/6/2015
15.1.0 15,948 2/8/2015
14.12.0 18,457 1/10/2015
14.11.0 6,474 12/8/2014
14.10.0 18,547 11/8/2014
14.9.0 7,903 10/17/2014
14.8.0 12,241 9/10/2014
14.7.0 11,628 8/7/2014
14.6.0 8,744 7/7/2014
14.5.0 28,950 6/3/2014
14.4.0 5,991 5/4/2014
14.3.0 5,852 4/7/2014
14.2.0 9,269 3/14/2014
14.1.0 37,410 2/10/2014
13.12.0 29,191 1/12/2014
13.11.0 28,806 12/10/2013
13.10.0 2,701 11/12/2013
13.9.0 30,672 10/9/2013
13.8.0 5,815 9/4/2013
13.7.0 19,295 8/4/2013
13.6.0 30,990 7/3/2013
13.5.0 6,358 6/4/2013
13.4.0 18,838 5/7/2013
13.3.0 10,994 4/3/2013
13.2.0 3,619 3/4/2013
13.1.0 12,413 2/3/2013
11.11.0 15,198 12/31/2012
11.10.0 13,359 12/4/2012
11.9.0 20,821 11/3/2012
11.8.0 11,495 10/7/2012
11.7.0 4,893 9/3/2012
11.6.0 5,387 8/2/2012
11.5.0 1,736 7/3/2012
11.4.0 8,303 6/4/2012
11.3.0 2,656 5/2/2012
11.2.0 1,542 4/10/2012
11.1.0 2,912 3/3/2012 1,426 2/16/2012
11.0.0 2,119 2/1/2012
10.8.0 8,251 1/24/2012
Show less