Page 1 of 1

[Demo] How to use DocObjects

Posted: Sat Jan 26, 2019 2:23 pm
by Sergey Tkachenko
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:
SampleDocObjects.zip
(20.83 KiB) Downloaded 3946 times

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.
SampleDocObjects.png
SampleDocObjects.png (122.04 KiB) Viewed 55934 times

Re: [Demo] How to use DocObjects

Posted: Sat Jan 26, 2019 3:16 pm
by Sergey Tkachenko
The same demo for C++Builder 10.3 Rio:

Re: [Demo] How to use DocObjects

Posted: Sat Jan 26, 2019 7:31 pm
by AndreMurta
Thanks Sergey.