THPDFEmbeddedTarget Record
One entry of a GoToE embedded target path: either a parent hop or a child selection by embedded file name, page-anchored annotation index or annotation name
Declaration
THPDFEmbeddedTarget= record
Kind: THPDFEmbeddedTargetKind;
EmbeddedFileName: AnsiString;
PageIndex: Integer;
PageName: AnsiString;
AnnotationIndex: Integer;
AnnotationName: AnsiString;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
Kind | THPDFEmbeddedTargetKind selecting the entry type: etkParent, etkChildByName, etkChildByAnnotationIndex, or etkChildByAnnotationName |
EmbeddedFileName | EmbeddedFiles name-tree key of the child document, used by etkChildByName |
PageIndex | Zero-based page index of the file-attachment annotation, read by etkChildByAnnotationIndex |
PageName | Page name carrying the named annotation, read by etkChildByAnnotationName |
AnnotationIndex | Index of the attachment annotation in the page's /Annots array, read by etkChildByAnnotationIndex |
AnnotationName | /NM name of the attachment annotation, read by etkChildByAnnotationName |
Usage notes
- Build entries with the
HPDFEmbeddedParentTarget,HPDFEmbeddedFileTargetandHPDFEmbeddedAnnotationTargethelpers, which initialise unused members to empty strings and-1 - Assemble entries into an ordered array: parent hops descend into the embedded documents, child entries select the final destination inside them
- Pass the array to the GoToE action builders to produce
/Targetchains that meet the standards