Character Styles Category
|[Top] [Chapter] [Previous] [Next]|
Methods to read and write the attributes, bold, italic, underlined ...
The character styles are saved as bits inside the character attribute record. TextDynamic supports the flags bold, italic, underline, strikeout, super script, sub script, hidden, uppercase, lowercase, no-proof, double strikeout and protected. Two flags are reserved.
Inside the attribute record two properties are taken for all this flags, one bitfield to enable/disable the attribute (WPAT_CharStyleON=7), a second attribute to check that a certain flag is used (WPAT_CharStyleMask=6). The methods in this category hide the complicated handling from the developer.