TXFAEmitField Boolean metadata

Unit: HPDFXFA

The existing TXFAEmitField callback signature stays unchanged; checkbox and radio styles carry these additive hints alongside choice metadata

HintValueConsumer meaning
boolsizePDF pointsEffective checkButton size, default 10pt
boolshapesquare or roundOutline shape
boolmarkdefault, check, circle, cross, diamond, square or starAsserted marker shape
boolneutral0 or 1Standalone checkbox third saved item consumption
boolmarginl, boolmarginr, boolmargint, boolmarginbPDF pointsEffective enclosing field margins
boolinsetl, boolinsetr, boolinsett, boolinsetbPDF pointsEffective checkButton UI margins
boolvaligntop, middle or bottomMarker paragraph vertical alignment
boolborder, boolborderpresencePresence tokenUI border and first edge visibility
boolborderwidthPDF pointsFirst UI edge thickness
boolbordercolorSix hexadecimal RGB digitsFirst UI edge colour
boolcaptionhexUTF-8 bytes encoded as hexadecimalExact effective scalar caption value, preserving delimiters
boolcaptionrichhexUTF-8 XHTML bytes encoded as hexadecimalBounded effective XHTML body with template overlays applied and nontext comment/PI payloads omitted from the rendering copy
boolcaptionweight, boolcaptionpostureFont weight and posture tokensEffective scalar/default caption style-face selection
boolcaptiontypefacehexUTF-8 name encoded as hexadecimalExplicit effective caption font family override
boolcaptionplacementleft, right, top, bottom or inlineCaption region placement
boolcaptionpresencevisible, hidden, invisible or inactiveCaption layout and rendering participation
boolcaptionreservePDF pointsExplicit caption region extent; absence or zero selects natural sizing
boolcaptionmarginl, boolcaptionmarginr, boolcaptionmargint, boolcaptionmarginbPDF pointsCaption text insets
boolcaptionsizePDF pointsCaption font size override
boolcaptioncolorSix hexadecimal RGB digitsCaption font fill colour override
boolcaptionalign, boolcaptionvalignParagraph alignment tokenCaption alignment override

All property values resolve through the current native template/data instance scope; callback implementations that do not consume these keys may carry on ignoring them

The existing size, colour and align hints remain the inherited field font and horizontal alignment values

HPDFXFAHeadless folds these hints into real vector and embedded-font appearance objects, as documented in Automatic XFA Boolean styles and captions