News & Releases
|
|

Spire.Doc 7.9.9 supports converting OfficeMath object to image
We're pleased to announce the release of Spire.Doc 7.9.9. This version includes several new features, such as supporting converting OfficeMath object to image, supporting loading and saving Word document that contains DISPLAYBARCODE field to Word 2013 and PDF, supporting the distributed alignment, and supporting the justify alignment in Word 2013. Moreover, it also enhances the conversion from Word to PDF. More details are given below.
New Features:
- Supports the distributed alignment.
- Supports the justify alignment in Word 2013.
- Supports loading and saving Word document that contains DISPLAYBARCODE field to Word 2013 and PDF.
Note: the DISPLAYBARCODE field is supported from Word 2013 version.
- Supports converting the OfficeMath object to image.
Document doc = new Document();
doc.LoadFromFile("OfficeMath.docx");
int Count = 0;
int a = doc.PageCount;
foreach(Section section in doc.Sections)
{
foreach (Spire.Doc.Documents.Paragraph p in section.Paragraphs)
{
foreach (DocumentObject obj in p.ChildObjects)
{
if (obj is OfficeMath)
{
Count++;
OfficeMath math = obj as OfficeMath;
//Save to image
Image img = math.SaveAsImage(ImageType.Bitmap);
img.Save(String.Format(@"image-{0}.png", Count));
}
}
}
}
Bug Fixes:
- Fixes the issue that the paging was incorrect after converting Word to PDF.
- Fixes the issue that the field of page number could not be updated correctly.
- Fixes the issue that the link was incorrect after converting Word to PDF.
- Fixes the issue that the content format was incorrect after converting Word to PDF.
- Fixes the issue that the font color was incorrect after converting Word to PDF.
- Fixes the issue that the chart was incorrect after converting Word to PDF.
- Fixes the issue that the paragraph spacing was incorrect after merging document.
- Fixes the issue that the border of table was lost after copying table of Word.
- Fixes the issue that the font was incorrect after converting Word to PDF.
Click the link to download Spire.Doc 7.9.9:
More information of Spire.Doc new release or hotfix: