ReaderTable
OfficeIMO.Reader
Minimal table model for ingestion (columns + rows).
Inheritance
- object
- ReaderTable
Usage
Explore 18 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Property OfficeDocumentContentItem.Table
- Property OfficeDocumentPage.Tables
- Method OfficeDocumentReader.ExtractMarkdownTables
- Extension method OfficeDocumentReadResult.EnumerateTables
- Extension method OfficeDocumentReadResult.ExtractTables
- Property OfficeDocumentReadResult.Tables
- Method OfficeDocumentReadResultExtensions.EnumerateTables
- Method OfficeDocumentReadResultExtensions.ExtractTables
- Property OfficeDocumentStructuredExtractionResult.Tables
- Property ReaderChunk.Tables
- Property ReaderTableExportBundle.Table
Accepted by parameters 7
- Method OfficeDocumentReadResultExtensions.ExportTables
- Extension method ReaderTable.ToCsv
- Extension method ReaderTable.ToJson
- Extension method ReaderTable.ToMarkdownTable
- Method ReaderTableExport.ToCsv
- Method ReaderTableExport.ToJson
- Method ReaderTableExport.ToMarkdownTable
Constructors
public ReaderTable() #Inherited Methods
Properties
public string? Kind { get; set; } #Optional source-specific table kind/classification.
public string? CallId { get; set; } #Optional source-specific call or correlation identifier.
public string? PayloadHash { get; set; } #Optional stable short hash derived from the source payload.
public ReaderLocation? Location { get; set; } #Optional source location for the extracted table.
public IReadOnlyList<ReaderTableColumnProfile> ColumnProfiles { get; set; } #Inferred column profiles aligned to ReaderTable.Columns.
public ReaderTableDiagnostics? Diagnostics { get; set; } #Optional source-specific table confidence and geometry diagnostics.
public IReadOnlyList<IReadOnlyList<string>> Rows { get; set; } #Rows aligned with ReaderTable.Columns.
public int TotalRowCount { get; set; } #Total row count before any truncation.
public bool Truncated { get; set; } #True when ReaderTable.Rows was truncated compared to ReaderTable.TotalRowCount.
Extension Methods
public static string ToCsv(ReaderTable table) #Serializes a reader table as RFC 4180-style CSV with CRLF row separators.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
Returns
stringpublic static string ToCsv(ReaderTable table, CancellationToken cancellationToken) #Serializes a reader table as CSV with cancellation.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
- cancellationToken System.Threading.CancellationToken
- Cancellation token checked while scanning and writing rows.
Returns
stringpublic static string ToJson(ReaderTable table, bool indented = false) #Serializes a reader table as deterministic JSON with normalized row width.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
- indented bool = false
- When true, writes indented JSON for diagnostics and fixtures.
Returns
stringpublic static string ToJson(ReaderTable table, bool indented, CancellationToken cancellationToken) #Serializes a reader table as deterministic JSON with cancellation.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
- indented bool
- Cancellation token checked while scanning and writing rows.
- cancellationToken System.Threading.CancellationToken
- When true, writes indented JSON.
Returns
stringpublic static string ToMarkdownTable(ReaderTable table) #Serializes a reader table as a GitHub-style Markdown table.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
Returns
stringpublic static string ToMarkdownTable(ReaderTable table, CancellationToken cancellationToken) #Serializes a reader table as a GitHub-style Markdown table with cancellation.
Parameters
- table OfficeIMO.Reader.ReaderTable
- Table to serialize.
- cancellationToken System.Threading.CancellationToken
- Cancellation token checked while writing rows.
Returns
string