[Demo] How to use DocObjects
Posted: Sat Jan 26, 2019 2:23 pm
TRichView.DocObjects - a collection of objects that can be stored in RVF documents (in addition to strings stored in DocProperties and properties stored in DocParameters).
TRichView itself uses DocObjects to store:
1) common information about equations (such as a default font name)
2) in Report Workshop, common report properties
This demo shows how to store your own objects in RVF documents:
It stores two objects. The first object contains a picture, the second object contains a text and a date.
The demo shows that these objects are stored in RVF by saving a document and loading in another editor.
TRichView itself uses DocObjects to store:
1) common information about equations (such as a default font name)
2) in Report Workshop, common report properties
This demo shows how to store your own objects in RVF documents:
It stores two objects. The first object contains a picture, the second object contains a text and a date.
The demo shows that these objects are stored in RVF by saving a document and loading in another editor.