THPDFSemanticTextLine レコード
検出された読み順の 1 行と、その構造メタデータ一式です
THPDFSemanticTextLine = record
Text: UnicodeString;
Cells: THPDFSemanticTextCells;
Kind: THPDFSemanticBlockKind;
Left, Bottom, Right, Top: Double;
BaselineY: Double;
FontSize: Double;
ColumnIndex: Integer;
ZoneIndex: Integer;
TableIndex: Integer;
TableRowIndex: Integer;
ListLevel: Integer;
SourceOrder: Integer;
end;
Text が行テキスト、Cells が省略可能な表セル、Kind がブロック役割による行の分類を持ちます。ボックス各フィールドはユーザー空間で行を記述し、BaselineY がベースライン、FontSize が支配的なフォントサイズです
ColumnIndex と ZoneIndex が読みの段組とゾーンを特定し、TableIndex と TableRowIndex が表の行を位置づけ、ListLevel と SourceOrder がリストの深さと元のグリフ順を与えます
1 ページ分の解析結果の行は THPDFSemanticTextLayout.Lines が運びます
THPDFSemanticTextLayout · THPDFSemanticTextCell · THPDFSemanticBlockKind