Function TWPRTFDataCollectionBase.RequestStyle(StyleName:string; NumberLevel:Integer) : TWPTextStyle
Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCollectionBase
Parameters
StyleName:string NumberLevel:Integer
Returns
The type of the result value is TWPTextStyle.
Description
Create a TWPTextStyle which contains the parameters which are predefined
for a certain style name. The HTML reader uses this procedure for the P and Hx tags.
This procedure first creates a TWPTextStyle object, then loads standard values
and then executes the OnRequestStyle event to give the developer a chance to update the
values