Legacy XFA checkbox appearances

THotPDF.ApplyXFAAsAcroForm consumes actual XFA checkbox metadata when FormAppearancesWanted is enabled through AutoFormAppearances or PDF 2.0 output

The saved widget uses the authored selected, cleared or neutral value with matching V, DV and AS; Opt preserves the literal selected export, including Unicode, delimiters, whitespace and hash sequences

Appearance states retain square or round shapes, six authored marks, checkButton size, border width and colour, and the actual scalar or rich caption

Caption fonts are real installed programs with their regular, bold, italic and bold-italic faces; styled text shares the native caption parser and complete-grapheme fallback

Repeated instances retain their own effective rawValue, UI attributes and caption properties after runtime edits, SaveToBytes, reload and THotPDF application

Each native field adopts its reachable objects and font registry entries in one graph transaction; cancellation restores the prior annotation identity, values and annotation list, and a retry creates one widget

Preparation enforces the native input, font, glyph, object, serialisation-byte and cancellation budgets before adoption; an exception leaves the existing field graph unchanged

The detached API is HPDFXFABuildCheckBoxAppearance; radio groups, legacy choice fields and legacy Unicode text appearances have separate consumers