Unit
WPCTRTextProducer
Declaration
TWPTableProducer = class(TComponent)
Hierarchy
TComponent <--TWPTableProducer
Direct subclasses
TWPTableProducerDB
Description
TWPTableProducer and TWPTableProducerDB are the main components fro the DynamicTable feature added to WPTools 8 "Bundle" and "Premium". Using this components it is very easy and intuitive to create complicated tables in a document. The collection "Blocks" contains the description for table rows. Each entry in "Blocks" may have a reference of a different table row description. This makes it possible to describe more compilated tables.
The table create starts with the block named "ActiveTemplate". This block can also be a whole document with placeholders for other tables. So it is possible to create a whole document which consits of different tables.
At first you need to add a table description in "Blocks", give it a name and use the same name in "ActiveTemplate". Attach a TWPRichText to property "EditBox" and swith Active to true (or call Update at runtime).