RichViewFormat to text

General TRichView support forum. Please post your questions here
Post Reply
nUk
Posts: 4
Joined: Wed Aug 13, 2008 12:48 am

RichViewFormat to text

Post by nUk »

Приветствую.

Я пишу СУБД, в которой планирую использовать ваш компонент, сейчас я его тестирую и у меня возникли небольшие трудности.

Как известно у вашего компонента есть свой формат в котором хранится вся информация, скажите а можно ли как-то не используя RV
читать из вашего формата простой текст?

А то для субд с много поточным поиском вариант где каждый раз для поиска текста в формате RV нужно этот RV динамически создать записать в него текст а потом уж искать в нём нужное, достаточно неудобен и скорее всего вызовет кучу трудностей.
Ion Silvestru
Posts: 3
Joined: Wed Aug 13, 2008 7:58 am

Re: RichViewFormat to text

Post by Ion Silvestru »

nUk wrote:Как известно у вашего компонента есть свой формат в котором хранится вся информация, скажите а можно ли как-то не используя RV
читать из вашего формата простой текст?
+1

Plain text extraction from RVF (without using TRichView) will be a solution also for full-text indexing, and for creating IFilter for RVF (http://en.wikipedia.org/wiki/IFilters, http://ifilter.org).

Thanks in advance.
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

(Please use English in this forum).

Unfortunately, text extraction from RVF is not implemented.
The main problem is extracting text from tables, because Delphi streaming mechanism is used for saving/loading tables in RVF.
You may consider using RTF, if you do not need features that cannot be saved in RichView format (RVF).
RTF parser, included in TRichView, can be used without control for plain text extraction.
nUk
Posts: 4
Joined: Wed Aug 13, 2008 12:48 am

Post by nUk »

Sergey Tkachenko wrote:(Please use English in this forum).

RTF parser, included in TRichView, can be used without control for plain text extraction.
example ?
nUk
Posts: 4
Joined: Wed Aug 13, 2008 12:48 am

Post by nUk »

Thanks!
nUk
Posts: 4
Joined: Wed Aug 13, 2008 12:48 am

Post by nUk »

Sergey Tkachenko wrote:(Please use English in this forum).
Unfortunately, text extraction from RVF is not implemented.
Do you have plans to implement it ?
If yes, when? and it will be implemented with new storage file format or with existing?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Not in near future.
As I said, RVF is a very simple format, see the specification here: http://trichview.com/help/rvf_specification.html
The only problem is in reading tables.
Of course, all is solvable, but there are many tasks with higher priority.
Post Reply