Function TWPTextStyle.AGetStyleCharAttr(baseca:TWPCharAttr; UseInherited:Boolean; ClearBaseCA:Boolean) : Boolean
Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle
Parameters
-
baseca:TWPCharAttr UseInherited:Boolean ClearBaseCA:Boolean
Returns
The type of the result value is Boolean.
Description
This procedure fills a structure of type TWPCharAttr with the character attribute values which are defined in this style or paragraph. When the parameter 'UseInherited' = true than also styles will be examined which are attached using the property 'ABaseStyle'.The filled TWPCharAttr can be later merged with the character attributes which are defined for a certain character in the text. To do this the function Attributes.MergeCharAttr is used. The function UseInherited returns false if no character attribute was used.