Function TWPTextStyle.AGet_CSS(CharAttr:Boolean; TabAttr:Boolean; CreateCRNL:Boolean; AddBorderProps:Boolean; IgnoreMargins:Boolean; IgnoreIndentFirst:Boolean; basisindent:Integer; WritePXValues:Boolean) : string
Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle
Parameters
-
CharAttr:Boolean TabAttr:Boolean CreateCRNL:Boolean AddBorderProps:Boolean IgnoreMargins:Boolean IgnoreIndentFirst:Boolean basisindent:Integer WritePXValues:Boolean
Returns
The type of the result value is string.
Description
This function converts most properties of this paragraph or style into a CSS style. Optionally the tabstop values can be added as non standard CSS items, too.To simply save and restore the properties please use AGetWPSS and ASetWPSS since this functions are capable to handle ALL the available properties and are optimized for speed.
Note: To convert CSS you need to use the CSS parser from unit WPIoCSS.