Procedure TWPRTFDataBlock.ApplyConditionals(Mode:TWPApplyConditionalsMode; Callback:TWPApplyConditionalEval; Data:TObject)
Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataBlock
Parameters
Description
This procedure processes the text by evaluation the conditionals. It can hide or
delete text depending on conditional objects. The value true/false of eac h conditional has
to be provided using a callback function.
If Mode=[] the CParam of all objects will be still set to the nesting level. In case of an
error the respective CParam = -1.
Please note that text will only be hidden on screen if HiddenTextAttr.Hidden := true;