THPDFHeadlessPreparedEmbeddedFDF

THPDFHeadlessPreparedEmbeddedFDF = class
public
  destructor Destroy; override;
  function CopyFields: THPDFHeadlessFormDataFields;
  property FieldCount: Integer read GetFieldCount;
  property ResourceBudget: THPDFFDFPackageBudget read GetResourceBudget;
  property Committed: Boolean read FCommitted;
end;

Obtain this caller-owned plan from THPDFHeadlessDocument.PrepareEmbeddedFormDataFDF and free it after planning or publication

The plan owns the selected package, typed fields, optional annotation projection and mutable option inputs; it retains the cumulative package budget across inspection, appearance preparation and commit

CopyFields copies the field array and mutable value arrays before returning them; modifying a returned array does not modify the held input, and the copies consume the existing admission budget

ResourceBudget is borrowed from the plan; do not release it independently, reset its lifetime or retain the raw pointer after the plan is destroyed

FieldCount, ResourceBudget and CopyFields validate the source lifetime; a source reload or destruction invalidates access even if the plan itself is still allocated

Committed becomes true only after successful atomic publication; failed publication preserves the same uncommitted plan and cumulative budget for a bounded retry

Save the prepared import · Embedded package overview