Search found 8458 matches

by Sergey Tkachenko
Tue Apr 20, 2021 5:10 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 18
Views: 103586

Re: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.

procedure MakeSoftLineBreaksEd(rve: TCustomRichViewEdit); var ItemNo1, Offs1, ItemNo2, Offs2: Integer; Whole, FR: Boolean; i: Integer; begin rve := rve.TopLevelEditor; if not rve.BeforeChange(False) then exit; rve.GetSelectionBounds(ItemNo1, Offs1, ItemNo2, Offs2, True); Whole := (ItemNo1<0) or ((I...
by Sergey Tkachenko
Mon Apr 19, 2021 8:40 am
Forum: Support
Topic: FViewer in RVHTMLImport
Replies: 2
Views: 595

Re: FViewer in RVHTMLImport

TopLevelEditor is an editor containing the caret.
In viewer (TRichView), there is no caret, and there is no editor.

You can use table.Cells[r,c].SetSelectionBounds
(but before selecting in cell, call table.Cells[r,c].Edit, or table.EditCell(r,c), it is necessary even in a viewer)
by Sergey Tkachenko
Wed Apr 14, 2021 10:27 am
Forum: Support
Topic: RVHTMLImporter
Replies: 2
Views: 956

Re: RVHTMLImporter

Currently, <li type> is not supported, sorry.
And I think I will not add its support in near future, because TRichView does not support markers of different types at the same list level of the same list.
by Sergey Tkachenko
Tue Apr 13, 2021 1:06 pm
Forum: RVMedia
Topic: camera settings
Replies: 1
Views: 399

Re: camera settings

It is possible only for local cameras, or several IP-camera models (the IP-camera must be found by SearchCamera). The following properties are supported: Brightness, Contrast, Hue, Saturation, Sharpness . To check if the current camera supports the given property, and to get the range of its values,...
by Sergey Tkachenko
Sat Apr 10, 2021 8:29 am
Forum: RVMedia
Topic: ANN: RVMedia 8.0
Replies: 7
Views: 3199

Re: ANN: RVMedia 8.0

For sending video, you can use TRVCamera with DeviceType = rvdtUserData. Provide frames in OnNewImage event.
As for audio, you can send a wav file (TRVMicrophone SourceType = rvsstWAV, file is specified in WAVFileName property).
by Sergey Tkachenko
Fri Apr 09, 2021 7:29 am
Forum: RVMedia
Topic: ANN: RVMedia 8.0
Replies: 7
Views: 3199

Re: ANN: RVMedia 8.0

1. You can handle disconnects in OnDisconnect events of TRVCamReceiver/TRVCamSender, and in OnEndVideoStream event of TRVCamera. 2. Streaming is planned in future updates (there are 4 things that I plan to do next: streaming, reading sound from videos, ONVIF, FMX for Linux). 3. Sorry, Android is not...
by Sergey Tkachenko
Tue Apr 06, 2021 7:24 pm
Forum: RVMedia
Topic: camera DCS_8526LH
Replies: 1
Views: 532

Re: camera DCS_8526LH

This camera will not be recognized as IP camera (it is not in our template list, and ONVIF is not supported yet). But video stream from this camera can be played, if you have FFmpeg or GStreamer available for the application. RVCamera1.URL := 'rtsp://user:[email protected].168.2.10:554/live/profile.0'; R...
by Sergey Tkachenko
Mon Apr 05, 2021 6:43 pm
Forum: Support
Topic: TDBRichViewEdit and FastReport
Replies: 1
Views: 1741

Re: TDBRichViewEdit and FastReport

Did you set DBRichViewEdit.FieldFormat = rvdbRTF?
The default saving format of DBRichViewEdit is RVF, FastReport cannot read it.
by Sergey Tkachenko
Fri Apr 02, 2021 7:34 pm
Forum: Support
Topic: \scaps tag in rtf
Replies: 2
Views: 1801

Re: \scaps tag in rtf

This tag does not work because TRichView does not support small-caps feature yet (and it is not planned for near future, sorry)
by Sergey Tkachenko
Thu Apr 01, 2021 4:14 pm
Forum: RVMedia
Topic: ANN: RVMedia 8.0
Replies: 7
Views: 3199

Re: ANN: RVMedia 8.0

Updated to version 8.1
by Sergey Tkachenko
Thu Apr 01, 2021 4:07 pm
Forum: Announcements
Topic: RVMedia 8.0
Replies: 10
Views: 7125

RVMedia 8.1

RVMedia 8.1

RVMedia has been updated to version 8.1.

In this update, we added a new TRVCamRecorder.VideoEncodingParameters property. It contains low level properties for video encoding: GroupOfPicturesSize, MaxBFrameCount, ReferenceFrameCount.

Some fixes and tweaks.
by Sergey Tkachenko
Thu Apr 01, 2021 3:26 pm
Forum: Examples, Demos
Topic: [Demo] Custom text items
Replies: 0
Views: 697

[Demo] Custom text items

These demos show how to create a new item class for text items. The demos require TRichView 19.2 or newer. CustomTextItems.zip A custom text item class (TRVMyTextItemInfo) is implemented in CustomTextItem.pas. It has several new properties: BorderWidth, BorderColor, AdditionalText. The class impleme...
by Sergey Tkachenko
Thu Apr 01, 2021 10:38 am
Forum: Support
Topic: AppendRVFFromStream
Replies: 8
Views: 2538

Re: AppendRVFFromStream

In RvHtmlImporter, there is FRVData field that contains the current document. It may be the main document, or a cell (when reading table). You do not need a temporal TRichViewEdit, you do not need AppendRVFFromStream. Simply pass FRVData in the constructor of TRVFootnoteItemInfo, and add it using FR...