GetLastStructTreeDiagnostics

Tagged PDF, structure repair

Description

Returns JSON diagnostics describing the outcome and counts from the most recent structure-tree transaction or ParentTree reconciliation

Syntax

Delphi

Function TPDFlib.GetLastStructTreeDiagnostics: WideString;

Return values

A JSON status string containing status, mode, structElems, parentTreeKeys, pageMappings, streamMappings, objrMappings, idTreeEntries, removedStaleKeys, and repairedEntries (or error code/message)

Remarks

Returns {"status":"not_checked"} before any structure-tree transaction or reconciliation call