WPCubed GmbH
Wordprocessing and PDF components 

Different text attributes

WPTools supports many different text attributes

Powerful Technology

WPTools stores the attributes of each paragraph in a compact way - each property requires only 4 bytes. Properties which are no used are not stored. This makes it possible to know if properties are defined or not - this feature is the key to correct cascading style functionality.

Save the properties in a convieneint string to apply later:

 

Using the function GetWPSS it is possible to retrieve this properties as a string. With SetWPSS the attributes can be applied. There is also an "Attribute Brush" function.

 

Compact storing of character attributes

Since WPTools 5 each character can use up to 15 individual properties types. Not all of this types need to change the appearance of this character, they can also be used for other means, such as spellcheck. To make sure the memory resources of the system are not wasted, the attributes are cached - each character only stores the index in the chach.

 

The most important functions which work with properties are: AClear(), AGet(), ASet(), AGetDef(), AGetWPSS(), ASetWPSS(), TabstopAdd().