API Reference

Class

StructuredPage

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Lightweight structured representation for a single page: - Lines: plain text lines in top-to-bottom order - Toc: table-of-contents style rows detected via dotted leaders - ListItems: bullets and numbered list items - LeaderRows: generic leader rows (label + trailing value) - LinesDetailed: line geometry useful for higher-level extraction/debugging - Headings: heuristic heading lines inferred from larger-than-body font sizes - Paragraphs: heuristic paragraph groups built from nearby non-list, non-table lines - Tables: simple rows detected via large X gaps (heuristic)

Inheritance

  • Object
  • StructuredPage

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

Properties

public List<String> Lines { get; } #

Plain text lines in natural reading order.

public List<ValueTuple<String, Int32>> Toc { get; } #

TOC entries: title + page number.

public List<String> ListItems { get; } #

Bullet/numbered list items.

public List<String[]> LeaderRows { get; } #

Leader rows split into label and trailing value.

public List<StructuredListItem> ListNodes { get; } #

Detected list nodes with hierarchical level.

public List<StructuredLine> LinesDetailed { get; } #

Per-line geometry details (Y, XStart, XEnd, Text, Spans).

public List<StructuredHeading> Headings { get; } #

Heuristic heading lines inferred from larger-than-body font sizes.

public List<StructuredParagraph> Paragraphs { get; } #

Heuristic paragraph groups built from nearby non-list, non-table lines.

public List<String[]> Tables { get; } #

Simple table-like rows derived from large X gaps per line.

public List<StructuredBand> Bands { get; } #

Optional horizontal bands (line groups) for diagnostics/structure.

public List<StructuredTable> TablesDetailed { get; } #

Detailed tables with column geometry and band extents.