THPDFCopyStructItem Record

One hash-map entry recording that an object from a source document has already been copied, so shared resources are copied once

Declaration

THPDFCopyStructItem= record
  SourceDocument: Pointer;
  ObjectNumber: THPDFObjectNumber;
  ObjectBody: THPDFObject;
end;

Unit

HPDFObjs

Fields

FieldPurpose
SourceDocumentPointer to the source THotPDF document owning the object; an empty hash bucket is recognised by a nil value
ObjectNumberObject number and generation of the source object, matching part of the hash key
ObjectBodyThe already-created copy that a lookup hands back when the entry hits

Usage notes

Related APIs