Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ReaderTable

OfficeIMO.Reader

Namespace
OfficeIMO.Reader
Assembly
OfficeIMO.Reader.Core
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

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.

Accepted by parameters 7

Constructors

public ReaderTable() #

Properties

public string? Title { get; set; } #

Optional title/label.

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? Summary { get; set; } #

Optional short descriptive summary.

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<string> Columns { get; set; } #

Column headers.

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

ToCsv 2 overloads
public static string ToCsv(ReaderTable table) #

Serializes a reader table as RFC 4180-style CSV with CRLF row separators.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.

Returns

string
public static string ToCsv(ReaderTable table, CancellationToken cancellationToken) #

Serializes a reader table as CSV with cancellation.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.
cancellationToken System.Threading.CancellationToken required
Cancellation token checked while scanning and writing rows.

Returns

string
ToJson 2 overloads
public static string ToJson(ReaderTable table, bool indented = false) #

Serializes a reader table as deterministic JSON with normalized row width.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.
indented bool = false optional
When true, writes indented JSON for diagnostics and fixtures.

Returns

string
public static string ToJson(ReaderTable table, bool indented, CancellationToken cancellationToken) #

Serializes a reader table as deterministic JSON with cancellation.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.
indented bool required
Cancellation token checked while scanning and writing rows.
cancellationToken System.Threading.CancellationToken required
When true, writes indented JSON.

Returns

string
ToMarkdownTable 2 overloads
public static string ToMarkdownTable(ReaderTable table) #

Serializes a reader table as a GitHub-style Markdown table.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.

Returns

string
public static string ToMarkdownTable(ReaderTable table, CancellationToken cancellationToken) #

Serializes a reader table as a GitHub-style Markdown table with cancellation.

Parameters

table OfficeIMO.Reader.ReaderTable required
Table to serialize.
cancellationToken System.Threading.CancellationToken required
Cancellation token checked while writing rows.

Returns

string