THotPDF.AnalyzeLoadedReadingOrder Method
ロード済み構造ツリー内の MCID シーケンスを、上から下、左から右の順に並べたタグ付きテキストと比較します
宣言
function AnalyzeLoadedReadingOrder(PageIndex: Integer;
out Diagnostics: THPDFReadingOrderDiagnosticArray;
RankTolerance: Integer = 0): Boolean;
パラメータ
| 名前 | 目的 |
|---|---|
PageIndex | Zero-based loaded page index |
Diagnostics | Missing tags, missing content, duplicate MCIDs, and rank mismatches |
RankTolerance | Allowed difference between structure and geometric rank |
戻り値
ページと構造ツリーの解析ができた場合は、診断で不一致が報告されていても True を返します
使用上の注意
- アクティブな MCID に関連付けられたテキストだけが、幾何学的な順序に寄与します
- Nested structure elements inherit page and role context
- 数値の
/Kエントリと、marked-content 参照辞書に対応しています