Page 1 of 1
Need advice from Team_RichView
Posted: Tue Nov 28, 2017 4:54 pm
by poojamulti
Hi,
I am using RV version 14.6 / D7.
I have 100,000+ rvf documents stored in blobs which contain hyperlinks.
Now, i want to generate RTFs where hyperlinks are to be replaced by footnote number & relevant footnote matter (can be multiple para with tables).
Any ideas are welcome. Currently, i am planning to generate RTF files and parse all elements.
-Sam
Re: Need advice from Team_RichView
Posted: Wed Nov 29, 2017 12:56 pm
by Sergey Tkachenko
It would be much simpler to change TRichView content before saving RTF.
From where do you want to get footnote texts?
Re: Need advice from Team_RichView
Posted: Wed Nov 29, 2017 1:18 pm
by poojamulti
Hi Sergey,
Thanks for providing the URL. I have now upgraded to RichView v17.
Now, i have managed to insert footnotes in Main document. However, i am facing trouble inserting footnotes inside tables. I am cycling through all items and getting ItemNo (inside cell) after which i want to insert footnote. However InsertItem() inserts at CurItemNo. Is there anything like "InsertItem_AfterItemNo" ?
PS : My footnote texts are RVF.
Re: Need advice from Team_RichView
Posted: Fri Dec 01, 2017 12:59 pm
by Sergey Tkachenko
I attached a sample project converting hyperlinks to footnotes.
Before:
- Links.png (4.71 KiB) Viewed 16848 times
After:
- Footnotes.png (5.88 KiB) Viewed 16848 times
Re: Need advice from Team_RichView
Posted: Mon Dec 04, 2017 4:22 am
by poojamulti
Thanks Sergey,
I was not aware of "RVData.Items.InsertObject(i, s, Note)".
However, i managed with
table.cells[r,c].edit
setselectionbounds()
InsertItem()
etc.
Now i shall change my code to RVData.Items.InsertObject(i, s, Note)
Thanks.