Search found 9390 matches

by Sergey Tkachenko
Tue Mar 12, 2024 3:56 pm
Forum: RVMedia
Topic: Doesn't capture video stream
Replies: 4
Views: 1337

Re: Doesn't capture video stream

Do you use the full version or the trial version?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
by Sergey Tkachenko
Tue Mar 12, 2024 3:53 pm
Forum: Support
Topic: Problem with image sizes
Replies: 1
Views: 989

Re: Problem with image sizes

TRichView for FireMonkey saves images with default parameters. For WebP, when parameters are not specified, Skia4Delphi chooses maximum image quality, so images are saved lossless (or almost lossless), resulting large files. In the next update, I'll add a new global variable RVDefaultImageSavingQual...
by Sergey Tkachenko
Mon Mar 11, 2024 9:24 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1426

Re: How to convert old data from TRichEdit to TRichView

The file that you sent to me previously as a sample field content was in RVF format (RichView Format). In this format, collections of text and paragraph styles are saved, so you had 3 options: - using styles from the document - ignore styles from document and use styles from the application - map st...
by Sergey Tkachenko
Sat Mar 09, 2024 3:00 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 265442

Re: Plain Text Bullets on Copy

To avoid saving markers in selection (or in the result of SaveText with TextOnly = True), change the function TRVMarkerItemInfo.GetBoolValue in RVMarker.pas. It must return False for rvbpAlwaysInText. In the next update, I'll modify it as function TRVMarkerItemInfo.GetBoolValue(Prop: TRVItemBoolProp...
by Sergey Tkachenko
Fri Mar 08, 2024 5:13 pm
Forum: Examples, Demos
Topic: How to print the content of a RichViewEdit ?
Replies: 4
Views: 872

Re: How to print the content of a RichViewEdit ?

If you transfer document from TRichViewEdit to TJvRichEdit, you lose all formatting and objects unsupported by TJvRichEdit.

As I said, you need only 3 lines of code to print TRichViewEdit:

Code: Select all

RVPrint1.AssignSource(RichViewEdit1);
RVPrint1.FormatPages(rvdoAll);
RVPrint1.Print('My document', 1, False);
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: 872

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: 1426

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: 1426

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: 1426

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: 1426

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: 1729

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: 1426

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: 1426

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: 1038

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: 985

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);