Search found 70 matches

by saeid2016
Wed Aug 02, 2017 8:34 pm
Forum: Support
Topic: Convert TextItem with text styles to html text
Replies: 4
Views: 13536

Re: Convert TextItem with text styles to html text

Thank you very much.
by saeid2016
Wed Aug 02, 2017 3:47 pm
Forum: Support
Topic: Convert TextItem with text styles to html text
Replies: 4
Views: 13536

Re: Convert TextItem with text styles to html text

Sergey Tkachenko wrote: Wed Aug 02, 2017 3:43 pm Do you want to save all text properties (font, color, etc.)?
only font, color and backcolor
by saeid2016
Wed Aug 02, 2017 3:22 pm
Forum: Support
Topic: Convert TextItem with text styles to html text
Replies: 4
Views: 13536

Convert TextItem with text styles to html text

Hello support,
Is there a method to convert a Text Item with styles to a html text?

SaveHTML function exports TRichView document to HTML or XHTML file, but I want to convert a text to html text.
by saeid2016
Wed Aug 02, 2017 6:48 am
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 43785

Re: Problem with saving/loading RTF text to/from DB

I used RVGetTextRange to get text, Problem still exists.
by saeid2016
Tue Aug 01, 2017 2:21 pm
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 43785

Re: Problem with saving/loading RTF text to/from DB

Thank you for answer. 1) Do you documents have tables? This code does not work correctly for pages started and/or ended in the middle of a table. In this case, the results of GetPageStartItemNo and GetPageLastItemNo cannot be used for SetSelectionBounds. Actually, in the current version, it is not p...
by saeid2016
Tue Aug 01, 2017 9:30 am
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 43785

Problem with saving/loading RTF text to/from DB

Hello support, I have 50000 RTF files which I want to save them to DB. Because of large size of Blob fields I save them as plain text in DB and save their text styles (only TextColor and BackColor) in another table. My tables is: Books: BookID, BookName. BookPages: PageID, BookID, PageNumber, PageTe...
by saeid2016
Thu May 26, 2016 9:05 am
Forum: Support
Topic: Load huge text from database to RichViewEdit
Replies: 8
Views: 21014

How I add text to the begin of the document so that current visible items not change after adding text?
by saeid2016
Thu May 26, 2016 8:47 am
Forum: Support
Topic: Load huge text from database to RichViewEdit
Replies: 8
Views: 21014

You can save this field to a text file, then open in the ActionTest demo. If it loads it faster, the problem is in your application. If the loading time is the same, this is a maximal possible speed. Please note that window width affects the speed of formatting. Usually, in the wider window, format...
by saeid2016
Thu May 26, 2016 6:00 am
Forum: Support
Topic: Load huge text from database to RichViewEdit
Replies: 8
Views: 21014

Sergey Tkachenko wrote:If you do not use bidirectional text or text in exotic language, you can change RVStyle.TextEngine from Uniscribe to Windows, it will be much faster.
My text is Arabic.
by saeid2016
Wed May 25, 2016 7:03 pm
Forum: Support
Topic: Load huge text from database to RichViewEdit
Replies: 8
Views: 21014

Any one have good suggestion?
by saeid2016
Wed May 18, 2016 4:32 pm
Forum: Support
Topic: Load huge text from database to RichViewEdit
Replies: 8
Views: 21014

Load huge text from database to RichViewEdit

Hello,

I want to load huge text from database to RichViewEdit. for example one of books stored on my database has 2500 pages.

I use this code:

Code: Select all

RichViewEdit.AddText(MyQueryObject.FieldByName('BookText').AsString, 0);
But it is very slow, What is the fastest way to do this?

My Database is SQLite.
by saeid2016
Mon Apr 25, 2016 8:33 am
Forum: Support
Topic: Highlight search result in Arabic text
Replies: 28
Views: 72317

Thank you Sergey, that's OK.
by saeid2016
Fri Apr 15, 2016 12:01 pm
Forum: Support
Topic: Highlight search result in Arabic text
Replies: 28
Views: 72317

Please help to do this.
by saeid2016
Thu Apr 07, 2016 1:35 pm
Forum: Support
Topic: Highlight search result in Arabic text
Replies: 28
Views: 72317

This feature is not supported, but you can try to implement it yourself. It can be implemented in the same way as ignoring diacritics. Modify RVPreprocessString (used to normalize the string to find) and RVPreprocessStringRaw (used to normalize strings in text). They must return string with replace...
by saeid2016
Tue Apr 05, 2016 6:59 pm
Forum: Support
Topic: Highlight search result in Arabic text
Replies: 28
Views: 72317

1. Currently, the only search that supports searching in multiple items is SearchText method. MarkSubString searches in each item separately. It's not very simple to implement multiitem search. It will be implemented, but currently I am not ready to do it, because immediately after releasing of Rep...