Search found 9390 matches

by Sergey Tkachenko
Thu Jan 18, 2024 11:45 am
Forum: Support
Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
Replies: 6
Views: 5848

Re: Assistance Request for Transition to Version 22 and Markdown Functionality

I just sent modified units to you.

As for images, you can use OnSaveImage2 to store images in a table.
You can also use OnSaveCustomFormat event to detect the beginning of saving. In this event, save nothing, but remove all images related to the current document from the image table.
by Sergey Tkachenko
Wed Jan 17, 2024 2:10 pm
Forum: Support
Topic: Markdown Issue with Last Word Styling and Trailing Space
Replies: 3
Views: 2867

Re: Markdown Issue with Last Word Styling and Trailing Space

I confirm the problem. It is in saving. According to Markdown specification (TRichView uses CommonMark version), bold or italic fragment cannot end on a space character. So in the code aaa **bbb ** bbb is not bold and asterisks must be displayed ( check ) TRichView must modify saving procedure to av...
by Sergey Tkachenko
Wed Jan 17, 2024 2:00 pm
Forum: Support
Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
Replies: 6
Views: 5848

Re: Assistance Request for Transition to Version 22 and Markdown Functionality

Ok, if it works, you can use this solution. I'd suggest to store images directly inside Markdown code. Include rvmdsoInlineImages in EdtSintesi.MarkdownProperties.SaveOptions. Potential problems with this solution: 1. No format auto-detection. If you have a database that already contains documents i...
by Sergey Tkachenko
Wed Jan 17, 2024 8:16 am
Forum: Support
Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
Replies: 6
Views: 5848

Re: Assistance Request for Transition to Version 22 and Markdown Functionality

1. No changes in RTF are required, they are compatible.
2. TDBRichViewEdit does not support Markdown, unless you use OnSaveCustomFormat and OnLoadCustomFormat events. But it's easy to add it.
I can do it today, and send changes to you.
by Sergey Tkachenko
Mon Jan 15, 2024 2:23 pm
Forum: Report Workshop
Topic: TRVItemList object range is 0..0
Replies: 2
Views: 33641

Re: TRVItemList object range is 0..0

Answered by email
by Sergey Tkachenko
Wed Jan 10, 2024 12:34 pm
Forum: RVMedia
Topic: Manual Focus for webcam
Replies: 1
Views: 33570

Re: Manual Focus for webcam

In RVMedia from 2015 - no, it is not possible. RVMedia supports local camera properties in Windows since version 7.2 , released in 2020. The information below is for RVMedia 7.2 and newer. One of supported camera properties is focus distance (measured in mm). If the camera supports it, you can enabl...
by Sergey Tkachenko
Wed Jan 10, 2024 11:49 am
Forum: RVMedia
Topic: OnEndVideoStream Event to detect a disconnection
Replies: 5
Views: 84038

Re: OnEndVideoStream Event to detect a disconnection

For rtsp, RVMedia uses 'rtspsrc' GStreamer object. For new version of GStreamer, a launch string for rtspsrc is constructed in the function GetRTSPSourceStr_1_0 (MRVGSTObject unit for VCL and LCL, or fmxMRVGSTObject unit for FireMonkey) A list of rtspsrc properties can be found here: https://gstream...
by Sergey Tkachenko
Tue Jan 09, 2024 5:10 pm
Forum: Support
Topic: DocX table empty cells get wrong style
Replies: 6
Views: 81649

Re: DocX table empty cells get wrong style

When merging, the resulting cell contains combined content of non-empty merged cells. When merging while reading DocX/RTF, only one cell may contain meaningful content (and changed text/paragraph style must be counted as meaningful content). When merging cells as an operation, empty cells are not co...
by Sergey Tkachenko
Tue Jan 09, 2024 2:06 pm
Forum: Support
Topic: DocX table empty cells get wrong style
Replies: 6
Views: 81649

Re: DocX table empty cells get wrong style

I changed your Vampire.IsEmpty to Vampire.ItemCount = 0, so this change affects loading from DocX, but does not affect cell merging initiated by the user.
by Sergey Tkachenko
Tue Jan 09, 2024 2:03 pm
Forum: Support
Topic: DocX saved paragraph with single space, shows wrong in word
Replies: 2
Views: 35563

Re: DocX saved paragraph with single space, shows wrong in word

I can see the problem. MS Word has invisible "end-of-paragraph mark" character that may have its own text attributes, such as font name and size. TRichView does not have this character, so it saves its properties in DocX only if it is absolutely necessary (if the paragraph is empty). Norma...
by Sergey Tkachenko
Tue Jan 09, 2024 1:31 pm
Forum: Support
Topic: DocX table empty cells get wrong style
Replies: 6
Views: 81649

Re: DocX table empty cells get wrong style

I changed

Code: Select all

        if Victim.HasData(False) then
to

Code: Select all

        if Victim.HasData(Vampire.ItemCount = 0) then
by Sergey Tkachenko
Tue Jan 09, 2024 1:03 pm
Forum: Support
Topic: DocX load field gets wrong Font/Style
Replies: 2
Views: 35332

Re: DocX load field gets wrong Font/Style

Thank you!
I accepted your code modification.
It will be included in the next update.
by Sergey Tkachenko
Mon Jan 08, 2024 11:45 am
Forum: Announcements
Topic: Compatibility with Lazarus 3.0
Replies: 0
Views: 81514

Compatibility with Lazarus 3.0

All our components are compatible with Lazarus 3.0, no changes in source code are required.
There are some new warnings on compilation, but they can be safely ignored.
In the next update, the code will be corrected to avoid these warnings.
by Sergey Tkachenko
Mon Jan 08, 2024 10:30 am
Forum: Support
Topic: demo richview not compile delphi 12 linux platform
Replies: 6
Views: 52266

Re: demo richview not compile delphi 12 linux platform

TRichView for Linux uses external functions from libpango-1.0.so.0, such as

Code: Select all

const
  pangolib = 'libpango-1.0.so.0';

function pango_layout_get_context(layout: PPangoLayout): PPangoContext;
  cdecl; external pangolib;
...
Pango library must be installed on the Linux computer.