Your code will returns True if ARichView contains multiple lines (because it does not check the item count) or if it contains an image without an assigned name (because it does not check GetItemSyle)
Use
function IsRichViewEmpty(ARichView: TCustomRichView): Boolean;
begin
Result := (ARichView ...
Search found 9651 matches
- Fri Apr 04, 2025 5:20 pm
- Forum: Support
- Topic: Empty after html content pasted from clipboard ?
- Replies: 1
- Views: 8147
- Thu Apr 03, 2025 4:54 pm
- Forum: Support
- Topic: Bullet point list
- Replies: 2
- Views: 2993
Re: Bullet point list
Please check which paragraph style is used in your code.
In your code sample, the following paragraph styles are used:
1. ParaStyles->Items[RV_TEXT]
It is the last parameter of ReportRichView->RichViewEdit->AddNL("My list:", RV_TEXT, RV_TEXT);
It's strange that the same constant RV_TEXT are used ...
In your code sample, the following paragraph styles are used:
1. ParaStyles->Items[RV_TEXT]
It is the last parameter of ReportRichView->RichViewEdit->AddNL("My list:", RV_TEXT, RV_TEXT);
It's strange that the same constant RV_TEXT are used ...
- Thu Apr 03, 2025 9:39 am
- Forum: Support
- Topic: Inline Images
- Replies: 4
- Views: 10519
Re: Inline Images
Sending HTML emails using Indy: https://www.trichview.com/forums/viewtopic.php?t=11
HTML emails are created as MIME-encoded messages.
Saving HTML emails using CleverComponents: demos are included in TRichView setup, in <TRichView Dir>\ThirdParty\CleverComponents\ folder.
HTML emails are created ...
- Wed Apr 02, 2025 3:36 pm
- Forum: Support
- Topic: printing with SRichViewEdit
- Replies: 8
- Views: 27804
Re: printing with SRichViewEdit
Do you want to clear all printing jobs in progress (probably created by other applications?)
I think this is a very bad idea.
But it looks like it is possible. See https://learn.microsoft.com/en-us/windows/win32/printdocs/printing-and-print-spooler-functions
As I can see, you can enumerate jobs ...
I think this is a very bad idea.
But it looks like it is possible. See https://learn.microsoft.com/en-us/windows/win32/printdocs/printing-and-print-spooler-functions
As I can see, you can enumerate jobs ...
- Wed Apr 02, 2025 2:04 pm
- Forum: Support
- Topic: Inline Images
- Replies: 4
- Views: 10519
Re: Inline Images
What components do you use to save HTML email?
We have demos that use Indy, CleverComponents, and Outlook COM object.
We have demos that use Indy, CleverComponents, and Outlook COM object.
- Wed Apr 02, 2025 1:59 pm
- Forum: Examples, Demos
- Topic: [Demo] Making PDF with table of contents using LLPDFLib
- Replies: 10
- Views: 249687
Re: [Demo] Making PDF with table of contents using LLPDFLib
If you want to export from TSRichViewEdit, you should not use this demo.
This demo uses TRVPrint for pagination, and it may be different from pagination made by ScaleRichView, and does not provide WYSIWYG.
ScaleRichView+LLPDFLib demo is included in ScaleRichView installation.
See the folder ...
This demo uses TRVPrint for pagination, and it may be different from pagination made by ScaleRichView, and does not provide WYSIWYG.
ScaleRichView+LLPDFLib demo is included in ScaleRichView installation.
See the folder ...
- Wed Apr 02, 2025 1:56 pm
- Forum: Support
- Topic: printing with SRichViewEdit
- Replies: 8
- Views: 27804
Re: printing with SRichViewEdit
These features (loading formats and spelling checking) do not affect printing.
What exactly do you mean by "another printout comes out?"
What exactly do you mean by "another printout comes out?"
- Mon Mar 31, 2025 2:37 pm
- Forum: Support
- Topic: printing with SRichViewEdit
- Replies: 8
- Views: 27804
Re: printing with SRichViewEdit
Can the problem be reproduced in ActionTest demo?
- Sun Mar 30, 2025 3:26 pm
- Forum: Examples, Demos
- Topic: [Demo] Making PDF with table of contents using LLPDFLib
- Replies: 10
- Views: 249687
Re: [Demo] Making PDF with table of contents using LLPDFLib
Was this PDF created in ScaleRichView?
There are two kinds of margins in RVF documents: page margins + document margins.
Page margins are like in RTF and DocX.
Document margins are like <body> margins in HTML (they do not exist in RTF and DocX files).
In the current version, ScaleRichView saves ...
There are two kinds of margins in RVF documents: page margins + document margins.
Page margins are like in RTF and DocX.
Document margins are like <body> margins in HTML (they do not exist in RTF and DocX files).
In the current version, ScaleRichView saves ...
- Fri Mar 28, 2025 6:24 am
- Forum: Examples, Demos
- Topic: [Demo] Making PDF with table of contents using LLPDFLib
- Replies: 10
- Views: 249687
Re: [Demo] Making PDF with table of contents using LLPDFLib
Please send me an example of a problematic RVF file.
- Thu Mar 27, 2025 9:09 am
- Forum: Support
- Topic: Need help in Loading HTML using RVHtmlImporter
- Replies: 2
- Views: 11306
Re: Need help in Loading HTML using RVHtmlImporter
RvHtmlImporter1 is an obsolete component; it supports only basic HTML formatting.
Use this code:
Use this code:
Code: Select all
var
Stream: TStringStream.
RichViewEdit1.Clear;
Stream:=TStringStream.Create(memo1.Text, TEncoding.UTF8);
RichViewEdit1.LoadHTMLFromStream(Stream, '', CP_UTF8);
RichViewEdit1.Format;
Stream.Free;
- Wed Mar 26, 2025 6:51 pm
- Forum: Support
- Topic: Addict Spell
- Replies: 2
- Views: 36272
Re: Addict Spell
Use TRVSpellChecker. It uses the build-in Windows spelling checking interfaces.
- Tue Mar 25, 2025 1:53 pm
- Forum: Support
- Topic: emoji icon
- Replies: 1
- Views: 16570
Re: emoji icon
Text engines used by VCL version of TRichView do not support colored emoticons. FireMonkey version does.
- Mon Mar 24, 2025 2:56 pm
- Forum: Support
- Topic: Copied tables from richedits are displayed incorrectly
- Replies: 1
- Views: 14512
Re: Copied tables from richedits are displayed incorrectly
It's not the direction that matters.
There two kinds of selection:
1. Table as a whole object. You can select the table as a whole object (maybe together with surrounding items, or maybe only the table). You can start selection to the left of the table and end to the right of it. Or vice versa. Or ...
There two kinds of selection:
1. Table as a whole object. You can select the table as a whole object (maybe together with surrounding items, or maybe only the table). You can start selection to the left of the table and end to the right of it. Or vice versa. Or ...
Re: cloudfare
I am sorry, but the forum is under a DOS attack.
I'll remove this protection when it will be possible.
I'll remove this protection when it will be possible.