Class TWPTableProducer
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | TWPTableProducer
Subclasses
WPCTRTextProducerDB.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).
Properties
Methods
Create(AOwner:TComponent)
Events
OnMailMergeGetText : TWPBlockTemplateMailMergeEvent= TWPBlockTemplateMailMergeEvent
This is a special mail merge event. It is called after the OnMailMergeGetText of the specific block is called.
Used or referenced by
-Property TWPBlockTemplates.TableProducer : TWPTableProducer |