Search found 9400 matches

by Sergey Tkachenko
Fri Mar 08, 2024 12:14 pm
Forum: Examples, Demos
Topic: How to print the content of a RichViewEdit ?
Replies: 4
Views: 1048

Re: How to print the content of a RichViewEdit ?

1. Use the global Printer object from Printers unit to choose the current printer and define page format. (See the last code sample here how to set page size). 2. Place TRVPrint component on form. Define margins and additional page settings in properties of this component. 3. Code for printing: RVPr...
by Sergey Tkachenko
Thu Mar 07, 2024 10:09 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

I attached the demo. It can: 1. Load your file with default settings (using styles from file) 2. Load your file using styles created in the application (ignoring styles from file) 3. Convert card suit characters to Unicode. PS: I have no problems loading your file using LoadRVF. But if I change Load...
by Sergey Tkachenko
Thu Mar 07, 2024 9:23 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

But your document has RVF format. This means that LoadFromStream, after detecting RVF, calls LoadRVFromStream to load it. As I said, this RVF document contains styles, and your styles will be ignored and replaced by styles from the file. Please wait, I'll try to make a demo. Back to characters, I st...
by Sergey Tkachenko
Thu Mar 07, 2024 8:40 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

About characters from "Symbol" font Fonts having Charset = SYMBOL_CHARSET (including "Symbol" font) are special fonts. In all other fonts, each character code has special meaning, described in Unicode standard. Because of this, when you apply a non-symbol font to text of another...
by Sergey Tkachenko
Thu Mar 07, 2024 8:28 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

About styles and loading I received your file. This is a document in RVF format. And it contains all styles inside it. With the default property settings, all styles that you added before loading will be removed, and styles from RVF are used. There are some things that you can try. For example, you...
by Sergey Tkachenko
Thu Mar 07, 2024 7:56 am
Forum: Support
Topic: Markdown rendering assistance needed
Replies: 4
Views: 3253

Re: Markdown rendering assistance needed

Where are these blank lines? Please help me to find them in these documents.
by Sergey Tkachenko
Wed Mar 06, 2024 3:25 pm
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

To understand the problem better, I need a sample of document from this DB. You can save it to a file. After creating theBS, call theBS.SaveToFile(FileName); and send this file to me to email richviewgmailcom. Symbol font is not necessary to add special symbols such as card suits. You can use Unicod...
by Sergey Tkachenko
Wed Mar 06, 2024 11:50 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 3225

Re: How to convert old data from TRichEdit to TRichView

What is the format of documents in the database?
If it was created using TRichEdit, it must be RTF. However, RTF does not contain numbered styles. Well, in documents created by MS Word or TRichView named styles have internal numbering in RTF file. However, TRichEdit does not support named styles.
by Sergey Tkachenko
Tue Mar 05, 2024 10:47 am
Forum: Support
Topic: Get alignment in the cursor position.
Replies: 1
Views: 2361

Re: Get alignment in the cursor position.

Code: Select all

var
  rve: TCustomRichViewEdit;


rve := RichViewEdit1.TopLevelEditor;
Alignment := rve.Style.ParaStyles[rve.GetItemPara(rve.CurItemNo)].Alignment;
by Sergey Tkachenko
Tue Mar 05, 2024 10:43 am
Forum: Support
Topic: Caret to the end of the text cell
Replies: 1
Views: 2319

Re: Caret to the end of the text cell

Assuming that the caret is already in the cell,

Code: Select all

RichViewEdit1.TopLevelEditor.MoveCaret(rvcmBottom);
by Sergey Tkachenko
Sat Mar 02, 2024 6:55 pm
Forum: RVMedia
Topic: Play video from TMemoryStream
Replies: 4
Views: 3468

Re: Play video from TMemoryStream

Assign: RVCamera.SourceFileName = path to this file RVCamera.DeviceType = rvdtFile. Call RVCamera.PlayVideoStream. In Windows, RVCamera can play local files either using FFmpeg or using DirectX. The main difference is in processing sound from videos. FFmpeg is used, if FFmpeg libraries are available...
by Sergey Tkachenko
Thu Feb 29, 2024 9:03 pm
Forum: Support
Topic: Markdown rendering assistance needed
Replies: 4
Views: 3253

Re: Markdown rendering assistance needed

TRichView follows CommonMark specification (+ implements extensions for tables and footnotes). Other Markdown extensions (not listed in the CommonMark Markdown specification) are not supported, including emoticons, sub/superscripts, inserted text, marked texts, typographic replacements and so on. Th...
by Sergey Tkachenko
Tue Feb 27, 2024 9:34 am
Forum: RVMedia
Topic: Play video from TMemoryStream
Replies: 4
Views: 3468

Re: Play video from TMemoryStream

Sorry, it's not supported, you need to save it to a temporary file.
What's the format of this video?
by Sergey Tkachenko
Thu Feb 22, 2024 11:24 am
Forum: Support
Topic: demo richview not compile delphi 12 linux platform
Replies: 6
Views: 66010

Re: demo richview not compile delphi 12 linux platform

I have the same issue. Tried Ubuntu 22 and redOS, they both have pango-1.0 package installed, in both cases the library file libpango-1. 0 .so.0 exists and can be found in library or SDK folders, but cannot be load with ld for example. Finally I came to modifying fmxRVCanvasLinuxFM.pas file for dyn...
by Sergey Tkachenko
Thu Feb 22, 2024 10:19 am
Forum: RVMedia
Topic: ANN: RVMedia 10.2
Replies: 0
Views: 438

ANN: RVMedia 10.2

RVMedia 10.2 includes FFmpeg 6 support, drawing using OpenGL and Skia, better noise reduction, new demo projects.

Details:
https://www.trichview.com/forums/viewtopic.php?t=12540