THPDFHeadlessRichTextFieldUpdate

THPDFHeadlessRichTextFieldUpdate = record
  Field: THPDFHeadlessFormDataField;
  HasRichTextRuns: Boolean;
  Runs: THPDFHeadlessRichTextRuns;
  Fonts: THPDFHeadlessRichTextFonts;
  Families: THPDFHeadlessRichTextFontFamilies;
  AppearanceOptions: THPDFHeadlessTextAppearanceOptions;
  class function Default: THPDFHeadlessRichTextFieldUpdate; static;
end;
THPDFHeadlessRichTextFieldUpdates = array of THPDFHeadlessRichTextFieldUpdate;

One named field update in an atomic mixed form transaction; call Default to initialise appearance settings and managed members

With HasRichTextRuns=True, Field.Name selects a text field and Runs supplies the original typed text, family, face, size, color, decoration, paragraph and alignment values; leave Field.RichText empty and omit Field.Values or supply exactly the generated plain value

A nonempty Families array selects the named family builder; otherwise Fonts supplies the regular, bold, italic and bold-italic programs

With HasRichTextRuns=False, Field uses the existing text, choice-array or button-export-state semantics; scalar appearances use the regular font from the first family, or Fonts[hrfsRegular]

SaveRichTextFieldUpdatesToFile · Named font families