HPDFXFAResolveFormInstanceProperty

Unit: HPDFXFA

Declaration

function HPDFXFAResolveFormInstanceProperty(Document: TXFADocument;
  Node, DataNode: TXFANode; const PropertyName: AnsiString): AnsiString;

Behaviour

Returns a per-occurrence container or property-node attribute override when one is available, with the template attribute as fallback

Missing attributes on declared font, para, edge, color, comb, textEdit, hyphenation and margin nodes use the supported schema defaults; explicit empty attributes remain explicit values

Node belongs to the template and DataNode identifies the current dataset occurrence; lookup does not create form nodes

Property-node lookup preserves unnamed class occurrences beneath the matching container, including font, fill, color, ui, border and edge paths

The bindingName pseudo-property continues to return the template container name; an absent access value defaults to open

Growable font measurement and supported flatten style or UI reads use the effective property attributes for the current dataset occurrence

Rich text draw runs also use effective font, paragraph, inline style and hyperlink attributes for the current occurrence

TXFAWidgetRuntime installs its form-property resolver when the caller has not supplied ResolveInstanceProperty; custom resolvers stay caller-controlled

Related APIs

Interactive Dynamic XFA Widget Runtime, FormCalc Functions and XFA Packet DOM