THPDFSemanticTextCell 记录

落在语义阅读顺序行上的一个表格单元格

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

Text 是单元格文本,Left、Bottom、Right、Top 在用户空间里圈定单元格

FirstGlyphIndex 与 LastGlyphIndex 是页面字形数组的闭区间索引,单元格因此能回溯到产生它的那些字形

被归为 sbkTableRow 的行,其单元格由 THPDFSemanticTextLine.Cells 列出

THPDFSemanticTextLine · THPDFSemanticTextLayout