Search found 7772 matches

by Sergey Tkachenko
Sat Sep 14, 2019 12:46 pm
Forum: Support
Topic: Word Insert at Cursor
Replies: 2
Views: 73

Re: Word Insert at Cursor

The code looks correct. With the obvious exception: GetAlignedParaNo/GetColoredTextStyleNo require the second parameter (Alignment/Color). If you want to insert in the caret position, use SRichViewEdit1.ActiveEditor instead of SRichViewEdit1.RichViewEdit, like in the last example (because the caret ...
by Sergey Tkachenko
Thu Sep 12, 2019 6:19 pm
Forum: Support
Topic: Issue with table cell borders
Replies: 3
Views: 231

Re: Issue with table cell borders

I fixed it in my working version.
The fix will be included in the next update (I hope it will be released in the next week)
by Sergey Tkachenko
Wed Sep 11, 2019 6:19 am
Forum: Support
Topic: Issue with table cell borders
Replies: 3
Views: 231

Re: Issue with table cell borders

I need some time to check this problem and see if it can be solved. In RTF tables, each cell may have completely different border at each side. In TRichView, all cells have identical borders (but some sides can be hidden). When importing RTF tables, outer borders are emulated by combination of cell ...
by Sergey Tkachenko
Sun Sep 08, 2019 10:59 am
Forum: Support
Topic: Update formatting in multiple editors with a single style
Replies: 10
Views: 582

Re: Update formatting in multiple editors with a single style

Loading and insertion methods process style templates differently. On loading, ST from RVF replace ST in TRichView. On insertion, ST are merged (according to StyleTemplateInsertMode property). If you need merging, use Clear;InsertRVFFromStream instead of LoadRVFromStream. -- IDs are used to refer to...
by Sergey Tkachenko
Fri Sep 06, 2019 10:07 am
Forum: Support
Topic: Update formatting in multiple editors with a single style
Replies: 10
Views: 582

Re: Update formatting in multiple editors with a single style

I think you can do the following. Load an old files in a separate TRichView. Save style templates from this TRichView's RVStyle in a temporal file (SaveToRVST) or a stream (as it was discussed). Then call InsertFromRVST(<name of this temporal file>) for RVStyle containing the common collection of st...
by Sergey Tkachenko
Wed Sep 04, 2019 7:22 pm
Forum: Support
Topic: Update formatting in multiple editors with a single style
Replies: 10
Views: 582

Re: Update formatting in multiple editors with a single style

RVST files (that contain StyleTemplates) are ini-files basically, so SaveToRVST and LoadFromRVST use TIniFile internally. There are several possibilities to store StyleTemplates to a stream. One of them is using TMemIniFile instead of TIniFile. You need to implement procedures - copies of SaveToRVST...
by Sergey Tkachenko
Wed Sep 04, 2019 9:00 am
Forum: Support
Topic: Update formatting in multiple editors with a single style
Replies: 10
Views: 582

Re: Update formatting in multiple editors with a single style

2) Another approach can be used if all RVStyles are linked to a main RVStyle, and only names of style templates are stored in RVF (include rvfoSaveStyleTemplatesOnlyNames in RVFOptions. When switching tabs from an editor, save its content to TMemoryStream (using SaveRVFToStream). When switching to a...
by Sergey Tkachenko
Wed Sep 04, 2019 8:53 am
Forum: Support
Topic: Update formatting in multiple editors with a single style
Replies: 10
Views: 582

Re: Update formatting in multiple editors with a single style

I can suggest two solutions. Let we have rve1 and rve2: TRichViewEdit. 1) All editors are linked to independent RVStyles, with their own collections of style templates. MainRVStyle is not assigned. You can synchronize style templates in all editors. For example, assign rve1's OnStyleTemplateChange e...
by Sergey Tkachenko
Tue Sep 03, 2019 4:39 pm
Forum: RVMedia
Topic: AXIS M5525-E
Replies: 3
Views: 283

Re: AXIS M5525-E

Can you open this camera for us for testing?
You can answer by a private message or to email richviewgmailcom.
by Sergey Tkachenko
Tue Sep 03, 2019 11:34 am
Forum: RVMedia
Topic: AXIS M5525-E
Replies: 3
Views: 283

Re: AXIS M5525-E

Does FFmpeg available for the application?
What version of RVMedia?
by Sergey Tkachenko
Sun Sep 01, 2019 7:27 am
Forum: Support
Topic: Is there a RichView->BeginUpdate ?
Replies: 1
Views: 334

Re: Is there a RichView->BeginUpdate ?

Add*** methods do not redraw document (moreover, redrawing after calling Add***methods but before formatting might crash the application). The obvious speed improvement is moving FormatTail() out of the cycle to the end of the method. You cannot just free inserted controls while they are in a docume...
by Sergey Tkachenko
Sat Aug 31, 2019 10:55 am
Forum: Announcements
Topic: About ReportBuilder 20 support
Replies: 0
Views: 242

About ReportBuilder 20 support

TRichView supports the new release of ReportBuilder 20. No changes are required: TRichView setup can install RB integration package automatically, for ReportBuilder 17, 18, 19, 20 (for older versions, manual changes in INC-file are required). If you already have TRichView+ReportBuilder integration p...
by Sergey Tkachenko
Sat Aug 31, 2019 7:52 am
Forum: Support
Topic: Sqlite3 databases and the program to manipulate them with the possibility to export them with their content as RTF
Replies: 5
Views: 542

Re: Sqlite3 databases and the program to manipulate them with the possibility to export them as with their content as RT

The program that converts fields to RTF is very simple. Let Table is a dataset that opens a table containing this field. Let DBRVE: TDBRichViewEdit is linked to the field. This code converts this field to RTF: DBRVE.AutoDeleteUnusedStyles := True; DBRVE.FieldFormat := rvdbRTF; Table.First; while not...
by Sergey Tkachenko
Fri Aug 30, 2019 7:08 am
Forum: Support
Topic: RichView Editor option is not visible
Replies: 3
Views: 425

Re: RichView Editor option is not visible

As I understand, you created a project with TDBRichViewEdit linked to some BLOB field, and now you can edit documents. And you want to implement commands for changing text and paragraph attributes. The editor itself does not include toolbars and menus with these commands. There are two options to im...