TXFAEmitField Boolean metadata
Unit: HPDFXFA
The existing TXFAEmitField callback signature remains unchanged; checkbox and radio styles carry these additive hints alongside choice metadata
| Hint | Value | Consumer meaning |
|---|---|---|
| boolsize | PDF points | Effective checkButton size, default 10pt |
| boolshape | square or round | Outline shape |
| boolmark | default, check, circle, cross, diamond, square or star | Asserted marker shape |
| boolneutral | 0 or 1 | Standalone checkbox third saved item consumption |
| boolmarginl, boolmarginr, boolmargint, boolmarginb | PDF points | Effective enclosing field margins |
| boolinsetl, boolinsetr, boolinsett, boolinsetb | PDF points | Effective checkButton UI margins |
| boolvalign | top, middle or bottom | Marker paragraph vertical alignment |
| boolborder, boolborderpresence | Presence token | UI border and first edge visibility |
| boolborderwidth | PDF points | First UI edge thickness |
| boolbordercolor | Six hexadecimal RGB digits | First UI edge color |
| boolcaptionhex | UTF-8 bytes encoded as hexadecimal | Exact effective scalar caption value, preserving delimiters |
| boolcaptionrichhex | UTF-8 XHTML bytes encoded as hexadecimal | Bounded effective XHTML body with template overlays applied and nontext comment/PI payloads omitted from the rendering copy |
| boolcaptionweight, boolcaptionposture | Font weight and posture tokens | Effective scalar/default caption style-face selection |
| boolcaptiontypefacehex | UTF-8 name encoded as hexadecimal | Explicit effective caption font family override |
| boolcaptionplacement | left, right, top, bottom or inline | Caption region placement |
| boolcaptionpresence | visible, hidden, invisible or inactive | Caption layout and rendering participation |
| boolcaptionreserve | PDF points | Explicit caption region extent; absence or zero selects natural sizing |
| boolcaptionmarginl, boolcaptionmarginr, boolcaptionmargint, boolcaptionmarginb | PDF points | Caption text insets |
| boolcaptionsize | PDF points | Caption font size override |
| boolcaptioncolor | Six hexadecimal RGB digits | Caption font fill color override |
| boolcaptionalign, boolcaptionvalign | Paragraph alignment token | Caption alignment override |
All property values resolve through the current native template/data instance scope; callback implementations that do not consume these keys may continue ignoring them
The existing size, color and align hints remain the inherited field font and horizontal alignment values
HPDFXFAHeadless consumes these hints into real vector and embedded-font appearance objects, as documented in Automatic XFA Boolean styles and captions