• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 19269943512

11 Nov 2025 03:11PM UTC coverage: 78.156% (+0.2%) from 78.002%
19269943512

push

github

web-flow
Merge pull request #831 from DomCR/table-entity-refactor

Table entity refactor

7383 of 10235 branches covered (72.13%)

Branch coverage included in aggregate %.

731 of 859 new or added lines in 16 files covered. (85.1%)

14 existing lines in 4 files now uncovered.

27606 of 34533 relevant lines covered (79.94%)

98649.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/ACadSharp/Objects/LinkedData.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Entities;
3
using ACadSharp.Objects;
4
using System.Collections.Generic;
5
using static ACadSharp.Entities.TableEntity;
6

7
namespace ACadSharp.Objects
8
{
9
        /// <summary>
10
        /// Represents a <see cref="LinkedData"/> object.
11
        /// </summary>
12
        /// <remarks>
13
        /// Dxf class name <see cref="DxfSubclassMarker.LinkedData"/>
14
        /// </remarks>
15
        [DxfSubClass(DxfSubclassMarker.LinkedData)]
16
        public abstract class LinkedData : NonGraphicalObject
17
        {
18
                /// <inheritdoc/>
NEW
19
                public override string SubclassMarker => DxfSubclassMarker.LinkedData;
×
20

21
                /// <summary>
22
                /// Gets or sets the name of the object.
23
                /// </summary>
24
                [DxfCodeValue(1)]
25
                public override string Name { get => base.Name; set => base.Name = value; }
494✔
26

27
                /// <summary>
28
                /// Gets or sets the description associated with the object.
29
                /// </summary>
30
                [DxfCodeValue(300)]
31
                public string Description { get; set; }
494✔
32
        }
33

34
        /// <summary>
35
        /// Represents a <see cref="LinkedTableData"/> object.
36
        /// </summary>
37
        /// <remarks>
38
        /// Dxf class name <see cref="DxfSubclassMarker.LinkedTableData"/>
39
        /// </remarks>
40
        [DxfSubClass(DxfSubclassMarker.LinkedTableData)]
41
        public abstract class LinkedTableData : LinkedData
42
        {
43
                /// <inheritdoc/>
NEW
44
                public override string SubclassMarker => DxfSubclassMarker.LinkedTableData;
×
45

46
                public List<TableEntity.Row> Rows { get; } = new();
14,267✔
47

48
                public List<TableEntity.Column> Columns { get; } = new();
13,367✔
49
        }
50

51
        /// <summary>
52
        /// Represents a <see cref="FormattedTableData"/> object.
53
        /// </summary>
54
        /// <remarks>
55
        /// Dxf class name <see cref="DxfSubclassMarker.FormattedTableData"/>
56
        /// </remarks>
57
        [DxfSubClass(DxfSubclassMarker.FormattedTableData)]
58
        public abstract class FormattedTableData : LinkedTableData
59
        {
60
                /// <inheritdoc/>
NEW
61
                public override string SubclassMarker => DxfSubclassMarker.FormattedTableData;
×
62

63
                public List<CellRange> MergedCellRanges { get; set; } = new();
1,760✔
64

65
                public CellStyle CellStyleOverride { get; set; } = new();
1,551✔
66
        }
67
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc