THPDFSemanticTextLine 記錄

一條偵測出來的閱讀順序行,連同完整的結構中繼資料

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 給出清單層級和原始 glyph 順序

單頁分析得到的行都由 THPDFSemanticTextLayout.Lines 攜帶

THPDFSemanticTextLayout · THPDFSemanticTextCell · THPDFSemanticBlockKind