THPDFSemanticTextCell 記錄

落在語義閱讀順序行上的一個表格儲存格

THPDFSemanticTextCell = record
  Text: UnicodeString;
  Left, Bottom, Right, Top: Double;
  FirstGlyphIndex, LastGlyphIndex: Integer;
end;

Text 是儲存格文字,Left、Bottom、Right、Top 在使用者空間裡框出儲存格範圍

FirstGlyphIndex 與 LastGlyphIndex 是頁面 glyph 陣列的閉區間索引,儲存格因此能回溯到產生它的那些 glyph

被歸為 sbkTableRow 的列,其儲存格由 THPDFSemanticTextLine.Cells 列出

THPDFSemanticTextLine · THPDFSemanticTextLayout