We are excited to announce the release of Spire.Doc 13.1.4. This version supports checking and modifying hyperlinks for images and shapes. Besides, some known issues are fixed successfully in this version, such as the issue that the obtained ListText of paragraphs was incorrect. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREDOC-10532 SPIREDOC-11019 |
Support judging and modifying hyperlinks for images and shapes.
foreach (Section section in doc.Sections)
{
foreach (Paragraph paragraph in section.Paragraphs)
{
foreach (DocumentObject documentObject in paragraph.ChildObjects)
{
if (documentObject is DocPicture)
{
DocPicture pic=documentObject as DocPicture;
if (pic.HasHyperlink)
{
pic.HRef = "";
}
}
if (documentObject is ShapeObject)
{
ShapeObject shape = documentObject as ShapeObject;
if (shape.HasHyperlink)
{
shape.HRef = "";
}
}
}
}
}
|
| Bug | SPIREDOC-10551 | Fixes the issue that the program threw “The given key ‘5’ was not present in the dictionary” exception when converting HTML documents to Word documents. |
| Bug | SPIREDOC-11022 | Fixes the issue that the obtained ListText of paragraphs was incorrect. |
Click the link to download Spire.Doc 13.1.4:
More information of Spire.Doc new release or hotfix: