We’re pleased to announce the release of Spire.Doc for .NET 14.2.7. This version supports hiding rows in tables, and includes several adjustments and bug fixes to enhance usability and performance.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREDOC-11444 | Added support for hiding rows in tables.
Spire.Doc.Document doc = new Spire.Doc.Document();
doc.LoadFromFile(inputFile1);TableRow row = doc.FirstSection.Body.Tables[0].FirstRow;
row.Hidden = true;doc.SaveToFile(outputDocxFile1);doc = new Document(outputDocxFile1);
row = doc.FirstSection.Body.Tables[0].FirstRow;
Assert.True(row.Hidden);
foreach (TableCell cell in row.Cells)
{
foreach (Paragraph para in cell.Paragraphs)
{
foreach (ParagraphBase run in para.ChildObjects)
{
if (run is TextRange || run is Break || run is Symbol)
{
Assert.True(run.CharacterFormat.Hidden);
}
}
}
}
|
| Adjustment | - | Removed model object serialization and deserialization functionality, including following namespaces and interfaces:
Spire.Doc.Interface IDocumentSerializable IXDLSAttributeReader IXDLSAttributeWriter IXDLSContentReader IXDLSContentWriter IXDLSFactory IXDLSSerializableCollection Spire.Doc.Documents.XML DocumentSerializable DocumentSerializableCollection XDLSHolder XDLSReader |
| Adjustment | - | Removed the IShapeAttrSource interface. |
| Adjustment | - | Removed the following public methods from ShapeBase:
public object GetDirectShapeAttr(int key) public object FetchInheritedShapeAttr(int key) public object FetchShapeAttr(int key) public void SetShapeAttr(int key, object value) public void RemoveShapeAttr(int key) public object GetDirectShapeAttribute(int key) public object GetInheritedShapeAttribute(int key) public object GetShapeAttribute(int key) public void SetShapeAttribute(int key, object value) public void RemoveShapeAttribute(int key) public bool HasKey(int key) |
| Bug Fix | SPIREDOC-11799 | Fixed the issue where converting Word to PDF results inconsistent output. |
Click the link below to download Spire.Doc 14.2.7:
More information of Spire.Doc new release or hotfix: