Hello!
I want to store some properties inside the document:
TSRVPageProperty.PageNoVAlign
TSRVPageProperty.PageNoFromNumber
TSRVPageProperty.PageNoFirst
I need an advice. What is the best way to store the properties within the document? ¿In DocProperties?
Thanks for readme.
Store properties within the document (I need some advice)
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
First, I do not recommend using these properties. They were introduced when ScaleRichView did not support headers and footers, and page number fields in headers and footers.
In the new version, you can insert page number and page count fields in headers and footers, and hide page numbers defined in PageProperty.
If you still want to store them, you have two options:
1) Yes, DocProperties, you need to encode and decode these properties to a string list
2) In the newest version (available for registered users), there is one more option: DocObjects. Create your item class inherited from TRVDocObject, implement published properties, add object of this class to this collection, and it will be stored in RVF.
In the new version, you can insert page number and page count fields in headers and footers, and hide page numbers defined in PageProperty.
If you still want to store them, you have two options:
1) Yes, DocProperties, you need to encode and decode these properties to a string list
2) In the newest version (available for registered users), there is one more option: DocObjects. Create your item class inherited from TRVDocObject, implement published properties, add object of this class to this collection, and it will be stored in RVF.