Search found 9578 matches

by Sergey Tkachenko
Wed Jan 22, 2025 11:26 am
Forum: Support
Topic: Html Export with resized images missing width and height
Replies: 1
Views: 502

Re: Html Export with resized images missing width and height

SaveHTMLToStreamEx is a deprecated method. It is maintained only for a backward compatibility. It does not use HTMLSaveProperties; it uses only its parameters. I do not plan to change it, because it would affect existing projects.
Please use the new method SaveHTMLToStream instead.
by Sergey Tkachenko
Wed Jan 22, 2025 11:21 am
Forum: Support
Topic: TRichViewEdit LoadRTFFromStream add an empty line
Replies: 2
Views: 493

Re: TRichViewEdit LoadRTFFromStream add an empty line

Formatted TRichViewEdit control initially contains one empty text line.
LoadRTFFromStream does not clear document before loading, it appends content to the end.
Just call Clear before LoadRTFFromStream.
by Sergey Tkachenko
Tue Jan 21, 2025 7:57 pm
Forum: Support
Topic: Horz Scroll bar snaps back to left margin
Replies: 4
Views: 11129

Re: Horz Scroll bar snaps back to left margin

The fix is sent in a private message.
It will be included in the next update.
by Sergey Tkachenko
Tue Jan 21, 2025 9:53 am
Forum: Support
Topic: Transfer license
Replies: 1
Views: 537

Re: Transfer license

The license limits the number of developers, not the number of computers.
You can install it on as many computers as you want, providing that (for your license) no more than 3 developers work with them.
Just install it on a new PC, like you have installed the previous copies.
by Sergey Tkachenko
Mon Jan 20, 2025 1:55 pm
Forum: Support
Topic: Horz Scroll bar snaps back to left margin
Replies: 4
Views: 11129

Re: Horz Scroll bar snaps back to left margin

Yes, it' possible to fix.
I'll provide a solution later in this week.
by Sergey Tkachenko
Tue Jan 07, 2025 9:06 pm
Forum: Support
Topic: Assistance Needed with Saving and Reloading Items in TRichViewEdit
Replies: 4
Views: 4660

Re: Assistance Needed with Saving and Reloading Items in TRichViewEdit

StyleTemplateID is a value for internal use; it's not supposed to be displayed to the user.

Actually, StyleTemplateID is redundant, since names of style templates are unique by themselves. It was added for efficiency.
by Sergey Tkachenko
Tue Jan 07, 2025 9:01 pm
Forum: Support
Topic: Extra Space Added in Empty Lines in Markdown Component
Replies: 2
Views: 2628

Re: Extra Space Added in Empty Lines in Markdown Component

Unfortunately, Markdown does not allow empty paragraphs. So TRichView adds a non-breaking space ( ) to them when saving.
It would be possible to save <br> instead. <br> is one of few HTML tags that TRichView parses inside Markdown. However, this is not a paragraph break but a line break inside ...
by Sergey Tkachenko
Mon Jan 06, 2025 9:00 pm
Forum: Support
Topic: Assistance Needed with Saving and Reloading Items in TRichViewEdit
Replies: 4
Views: 4660

Re: Assistance Needed with Saving and Reloading Items in TRichViewEdit

Include rvfoSaveTextStyles and rvfoSaveParaStyles in RichViewEdit.RVFOptions.
Make sure that RichViewEdit.RVFTextStylesReadMode = RichViewEdit.RVFParaStylesReadMode = rvf_sInsertMerge.

With these settings, if you set RichViewEdit.UseStyleTemplates = True, StyleTemplates will be saved and loaded in ...
by Sergey Tkachenko
Sat Jan 04, 2025 10:20 pm
Forum: Announcements
Topic: TRichView 23 - Lazarus for Linux
Replies: 7
Views: 13338

TRichView 23.0.1

TRichView 23.0.1

TRichView has been updated to version 23.0.1.

In addition to fixes, this release allows the use of VCL/Lazarus image format detection when TRichView's own image format detection fails.
VCL image format detection is available for Delphi 10.2 and later.

This feature is useful in ...
by Sergey Tkachenko
Sat Jan 04, 2025 10:13 pm
Forum: Support
Topic: webp images not saving in rvf in version 23
Replies: 4
Views: 6589

Re: webp images not saving in rvf in version 23

Fixed in version 23.0.1
by Sergey Tkachenko
Sat Jan 04, 2025 10:13 pm
Forum: Support
Topic: Urgent Print Preview Problem - v23
Replies: 3
Views: 5009

Re: Urgent Print Preview Problem - v23

Fixed in version 23.0.1
by Sergey Tkachenko
Sat Jan 04, 2025 10:49 am
Forum: Support
Topic: Table Cells Selection
Replies: 1
Views: 3568

Re: Table Cells Selection

For this purpose, I recommend using table.CanMergeSelectedCells method.
It checks not only if two or more cells are selected, but also if the selection has a rectangular shape.

As for checking selected cells, use table.IsCellSelected.
by Sergey Tkachenko
Fri Jan 03, 2025 12:40 pm
Forum: Support
Topic: webp images not saving in rvf in version 23
Replies: 4
Views: 6589

Re: webp images not saving in rvf in version 23

I do not understand how it could work in older versions, because image loading was not changed.
The image is saved to RVF correctly.
However, loading is the problem.

TRichView can use two ways to load images from RVF.
1. RVF contains a name of graphic class that was used to save it. TRichView tries ...
by Sergey Tkachenko
Fri Jan 03, 2025 11:20 am
Forum: Support
Topic: RichViewEdit format without a component
Replies: 2
Views: 3779

Re: RichViewEdit format without a component

TRichView and TRichViewEdit components really need a parent for formatting. You can make them invisible and place on a form, or create an invisible form and place them there.
Another solution is using TRVReportHelper component. It contains an invisible TRichView component (accessible as ...
by Sergey Tkachenko
Fri Jan 03, 2025 11:13 am
Forum: Support
Topic: Urgent Print Preview Problem - v23
Replies: 3
Views: 5009

Re: Urgent Print Preview Problem - v23

Oh, I am very sorry.
Open RVItem.pas (or fxmRVItem.pas for FireMonkey), find the line

Code: Select all

Bkgnd.SaveToFile('img'+IntToStr(random(1000))+'.bmp');
and delete it.
An update will be released ASAP.