THPDFUA2RepairReport Record

Per-category repair counters, rollback state and outstanding findings from PDF/UA-2 structure repair

Declaration

THPDFUA2RepairReport= record
  Changed: boolean;
  RolledBack: boolean;
  LimitExceeded: boolean;
  ValidationSucceeded: boolean;
  NamespacesRegistered: Integer;
  NamespaceDictionariesRebuilt: Integer;
  NamespaceReferencesRewritten: Integer;
  DuplicateNamespacesRemoved: Integer;
  InvalidNamespacesRemoved: Integer;
  AttributeNamespacesRepaired: Integer;
  AttributeRevisionsRepaired: Integer;
  ListsRepaired: Integer;
  TablesRepaired: Integer;
  TableCellsRepaired: Integer;
  RubySequencesRepaired: Integer;
  WarichuSequencesRepaired: Integer;
  PronunciationHintsRepaired: Integer;
  AlternateTextsRepaired: Integer;
  LanguageEntriesRepaired: Integer;
  HeadingLevelsRepaired: Integer;
  ArtifactsTagged: Integer;
  UnresolvedAlternateTextCount: Integer;
  UnresolvedLanguageCount: Integer;
  UnresolvedArtifactCount: Integer;
  RemainingErrorCount: Integer;
  ObjectsExamined: Integer;
end;

Unit

HPDFDoc

Fields

FieldPurpose
ChangedTrue where at least one repair modified the document
RolledBackTrue where post-repair validation failed and every edit was undone
LimitExceededTrue where a work or repair cap brought the pass to an early stop
ValidationSucceededTrue where the repaired structure tree got through validation
NamespacesRegisteredNamespace dictionary entries that were added for referenced namespaces
NamespaceDictionariesRebuiltNamespace dictionaries rebuilt from the ground up
NamespaceReferencesRewrittenStructure element NS references rewritten to point at the registered entries
DuplicateNamespacesRemovedDuplicate namespace entries that were merged away
InvalidNamespacesRemovedMalformed namespace entries that were deleted
AttributeNamespacesRepairedAttribute objects whose namespace wiring was put right
AttributeRevisionsRepairedRevision values normalised on attributes and elements
ListsRepairedList structures rebuilt so the list semantics are correct
TablesRepairedTable structures rebuilt with a proper row and header hierarchy
TableCellsRepairedIndividual table cells that were re-tagged or given scopes and spans
RubySequencesRepairedRuby annotation sequences reordered into the required child sequence
WarichuSequencesRepairedWarichu sequences reordered into the required child sequence
PronunciationHintsRepairedPhoneme pronunciation hints that were fixed on structure elements
AlternateTextsRepairedMissing /Alt values that were generated or filled in from fallback text
LanguageEntriesRepairedMissing /Lang entries that language inheritance repair filled
HeadingLevelsRepairedHeading levels reassigned so that the H1-H6 order runs without gaps
ArtifactsTaggedContent pieces marked as artifacts and kept out of the tree
UnresolvedAlternateTextCountElements that still go without alternate text after the pass
UnresolvedLanguageCountElements whose language could not be pinned down
UnresolvedArtifactCountContent pieces that could not be classed as artifacts
RemainingErrorCountValidation errors that were still present after the repair attempt
ObjectsExaminedObjects that were visited during the repair pass

Usage notes

Related APIs