Function TWPRTFStyleElement.OverwritePar(ClearParAttr:Boolean; ClearCharAttr:Boolean) : Integer
Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleElement
Parameters
ClearParAttr:Boolean ClearCharAttr:Boolean
Returns
The type of the result value is Integer.
Description
This function only works with standard paragraph styles. It is used to clear the
attributes found in this style in all paragraphs which are using this style.
Optionally also the character styles are cleared. This will remove all user attributes!
The function returns the count of modified paragraphs.