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

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 hits per line

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

0.0
/src/ACadSharp/Entities/TableEntity.Cell.cs
1
using ACadSharp.Attributes;
2
using System;
3
using System.Collections.Generic;
4
using System.Linq;
5

6
namespace ACadSharp.Entities
7
{
8
        public partial class TableEntity
9
        {
10
                public class Cell
11
                {
12
                        /// <summary>
13
                        /// Cell type.
14
                        /// </summary>
15
                        [DxfCodeValue(171)]
UNCOV
16
                        public CellType Type { get; set; }
×
17

18
                        /// <summary>
19
                        /// Cell flag value.
20
                        /// </summary>
21
                        [DxfCodeValue(172)]
UNCOV
22
                        public int FlagValue { get; set; }
×
23

24
                        /// <summary>
25
                        /// Cell merged value.
26
                        /// </summary>
27
                        [DxfCodeValue(173)]
UNCOV
28
                        public int MergedValue { get; set; }
×
29

30
                        /// <summary>
31
                        /// Boolean flag indicating if the autofit option is set for the cell.
32
                        /// </summary>
33
                        [DxfCodeValue(174)]
UNCOV
34
                        public bool Autofit { get; set; }
×
35

36
                        /// <summary>
37
                        /// Cell border width.
38
                        /// </summary>
39
                        /// <remarks>
40
                        /// Applicable only for merged cells.
41
                        /// </remarks>
42
                        [DxfCodeValue(175)]
UNCOV
43
                        public int BorderWidth { get; set; }
×
44

45
                        /// <summary>
46
                        /// Cell border height.
47
                        /// </summary>
48
                        /// <remarks>
49
                        /// Applicable only for merged cells.
50
                        /// </remarks>
51
                        [DxfCodeValue(176)]
UNCOV
52
                        public int BorderHeight { get; set; }
×
53

54
                        /// <summary>
55
                        /// Flag value for a virtual edge.
56
                        /// </summary>
57
                        [DxfCodeValue(178)]
UNCOV
58
                        public short VirtualEdgeFlag { get; set; }
×
59

60
                        /// <summary>
61
                        /// Rotation value.
62
                        /// </summary>
63
                        /// <remarks>
64
                        /// Applicable for a block-type cell and a text-type cell.
65
                        /// </remarks>
66
                        [DxfCodeValue(145)]
UNCOV
67
                        public double Rotation { get; set; }
×
68

69
                        [DxfCodeValue(300)]
UNCOV
70
                        public string ToolTip { get; set; }
×
71

72
                        [DxfCodeValue(90)]
UNCOV
73
                        public TableCellStateFlags StateFlags { get; set; }
×
74

75
                        [DxfCodeValue(92)]
UNCOV
76
                        public bool HasLinkedData { get; set; }
×
77

UNCOV
78
                        public CellStyle StyleOverride { get; set; } = new();
×
79

UNCOV
80
                        public int CustomData { get; set; }
×
81

UNCOV
82
                        public List<CustomDataEntry> CustomDataCollection { get; set; } = new();
×
83

84
                        public bool HasMultipleContent
85
                        {
86
                                get
UNCOV
87
                                {
×
UNCOV
88
                                        if (this.Contents == null)
×
89
                                        {
×
90
                                                return false;
×
91
                                        }
92

UNCOV
93
                                        return this.Contents.Count > 1;
×
UNCOV
94
                                }
×
95
                        }
96

97
                        public CellContent Content
98
                        {
99
                                get
UNCOV
100
                                {
×
UNCOV
101
                                        if (this.Contents == null || this.HasMultipleContent)
×
102
                                        {
×
103
                                                return null;
×
104
                                        }
105
                                        else
UNCOV
106
                                        {
×
UNCOV
107
                                                return this.Contents.FirstOrDefault();
×
108
                                        }
UNCOV
109
                                }
×
110
                        }
111

UNCOV
112
                        public List<CellContent> Contents { get; } = new();
×
113

UNCOV
114
                        public CellContentGeometry Geometry { get; set; }
×
115
                }
116
        }
117
}
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