Class TableSemanticView
Semantic view of a table, built from BuildSemanticGroups(). Groups rows by their col-0 row label and detects whether the table is better represented as a form/key-value structure than as a grid.
public class TableSemanticView
- Inheritance
-
TableSemanticView
- Inherited Members
Properties
Groups
Data rows grouped by their col-0 row label. A new group starts whenever a new origin cell appears in col 0.
public List<TableSemanticGroup> Groups { get; set; }
Property Value
HeaderRows
Extracted column header rows (consecutive rows from the top whose origin cells carry ColumnHeader = true). Each element is a string array of length NumCols covering that header row. Empty when no explicit column headers are present.
public List<string[]> HeaderRows { get; set; }
Property Value
IsFormStyle
True when the table is detected as a form/key-value structure (col 0 = short row labels, col 1+ = values, no explicit column headers). When true, a Markdown serializer may render this as bold-key + value lines instead of a pipe table.
public bool IsFormStyle { get; set; }