THPDFWindowsFormDataTransaction held embedded import

function PrepareEmbeddedData(const Bytes: SysUtils.TBytes;
      const Selection: THPDFFDFChildSelections;
      const FieldOptions: THPDFHeadlessFormDataOptions;
      const PackageOptions: THPDFFDFPackageOptions;
      IncludeAnnotations: Boolean): THPDFHeadlessFormDataFields;
    procedure ImportPreparedEmbeddedData(const Families: THPDFHeadlessRichTextFontFamilies;
      const AppearanceOptions: THPDFHeadlessTextAppearanceOptions; const Password: AnsiString);
    property ChangedEmbeddedAnnotations: Integer read FChangedEmbeddedAnnotations;
    property EmbeddedResourceBudget: THPDFFDFPackageBudget read GetEmbeddedResourceBudget;

PrepareEmbeddedData selects and decodes a child once, holds its typed fields and optional annotation graph, and returns separately owned field and value arrays for planning actual font resources

ImportPreparedEmbeddedData uses the same held input and budget to prepare an authenticated candidate PDF; ChangedFields and ChangedEmbeddedAnnotations report the two kinds of changes separately

EmbeddedResourceBudget is borrowed from the transaction and must not be released or retained after destruction; field inspection and candidate preparation consume its remaining cumulative allowance

Publish the candidate PDF and required result data before TakeCandidate; failures discard the transaction and preserve the original document and source

The Boolean argument is explicit on this native Windows method; the JSON transport defaults to field-only import

Windows transaction class · Package ownership and limits