TWPTextStyle Object
Properties Methods Events

Unit
WPRTEDefs

Declaration
TWPTextStyle = class(TObject)

Hierarchy
TObject <--TWPTextStyle

Direct subclasses
TParagraph TParagraphProperty TWPReadOleData TWPReadPictData TWPTableRowStyle

Description
The TWPTextStyle is used to store paragraph styles. The class TParagraph also inherits from this class.
The TWPRTFStyleElement which is used to store numbering and paragraph styles uses an instance of TWPTextStyle to store the properties in property TextStyle.

Usually you use the 'A' methods to read and write style properties. The procedure which is mostly used to write a property is ASet - the function which is used to read is either AGet or AGetDef. There are other methods to read and write a color value or the font name.
Please read about the data structors in the manual to get an overview about styles. The demo ParStyles is also very instructive.

Introduced Properties
ABaseStyle 
 ABaseStyleElement 
ABaseStyleName 
 ABaseStyleString 
BackgroundImage 
BackgroundImageMode 
CharAttrEquivalent 
 IsNumbered 
Name 
 RTFProps 
State 
Style 
StyleString 

Introduced Methods
ABorderEqual 
AClear 
AClearCharAttr 
ACopy 
ADel 
ADelAllDefinedIn 
ADelAllFromTo 
ADelAllIn 
ADelAttr 
ADeleteDifferentSettings 
ADeleteEqualSettings 
AGet 
AGet_CSS 
AGetAsINI 
AGetBorder 
AGetBorderColor 
AGetBorderWidth 
AGetCharProps 
AGetCharStyle 
AGetColor 
AGetDef 
AGetDefInherited 
AGetFlag 
AGetFontName 
AGetInherited 
AGetInheritedSave 
AGetStringProp 
AGetStyleCharAttr 
AGetStylesEx 
AGetWPSS 
AInc 
AIsEqual 
AMerge 
ANeedUpdateProps 
ANumberToAnsiString 
ANumberToString 
ASet 
ASetAdd 
ASetAddCharStyle 
ASetAsINI 
ASetBaseStyle 
ASetBorder 
ASetBorderFlags 
ASetCharStyle 
ASetColor 
ASetColorString 
ASetDel 
ASetDelCharStyle 
ASetFlag 
ASetFontName 
ASetNeutral 
ASetStringProp 
ASetUndefinedParSettingsToNull 
ASetWPSS 
Assign 
AStringToNumber 
AUpdateProps 
BackgroundImageLoad 
Clear 
ClearCharAttributes 
Create 
CreateStyleCopy 
Destroy 
GetNumberStyle 
GetNumberStyleEle 
GetNumberStyleEx 
Refresh 
SetStyle 
TabstopAdd 
TabstopAddRightMost 
TabstopAssign 
TabstopClear 
TabstopCount 
TabstopDelete 
TabstopEqual 
TabstopFind 
TabstopGet 
TabstopGetFirstPos 
TabstopGetNext 
TabstopGetPrev 
TabstopMove 
TabStopSort 
TextAreaWidth 

Introduced Events
OnTextStyleGetParent 

Category
Paragraph Styles
WPTools 6 Attribute Interface
TWPTextStyle Handling


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com