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.
Search found 9405 matches
- Thu Jan 18, 2024 11:45 am
- Forum: Support
- Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
- Replies: 6
- Views: 8544
- Wed Jan 17, 2024 2:10 pm
- Forum: Support
- Topic: Markdown Issue with Last Word Styling and Trailing Space
- Replies: 3
- Views: 4647
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...
- Wed Jan 17, 2024 2:00 pm
- Forum: Support
- Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
- Replies: 6
- Views: 8544
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...
- Wed Jan 17, 2024 8:16 am
- Forum: Support
- Topic: Assistance Request for Transition to Version 22 and Markdown Functionality
- Replies: 6
- Views: 8544
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.
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.
- Mon Jan 15, 2024 2:23 pm
- Forum: Report Workshop
- Topic: TRVItemList object range is 0..0
- Replies: 2
- Views: 42589
Re: TRVItemList object range is 0..0
Answered by email
- Thu Jan 11, 2024 8:41 am
- Forum: Support
- Topic: demo richview not compile delphi 12 linux platform
- Replies: 6
- Views: 66120
Re: demo richview not compile delphi 12 linux platform
https://docs.gtk.org/Pango/method.FontM ... eight.html says that this method is available since 1.44
- Wed Jan 10, 2024 12:34 pm
- Forum: RVMedia
- Topic: Manual Focus for webcam
- Replies: 1
- Views: 41106
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...
- Wed Jan 10, 2024 11:49 am
- Forum: RVMedia
- Topic: OnEndVideoStream Event to detect a disconnection
- Replies: 5
- Views: 98035
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...
- Tue Jan 09, 2024 5:10 pm
- Forum: Support
- Topic: DocX table empty cells get wrong style
- Replies: 7
- Views: 101973
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...
- Tue Jan 09, 2024 2:06 pm
- Forum: Support
- Topic: DocX table empty cells get wrong style
- Replies: 7
- Views: 101973
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.
- Tue Jan 09, 2024 2:03 pm
- Forum: Support
- Topic: DocX saved paragraph with single space, shows wrong in word
- Replies: 3
- Views: 44986
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...
- Tue Jan 09, 2024 1:31 pm
- Forum: Support
- Topic: DocX table empty cells get wrong style
- Replies: 7
- Views: 101973
Re: DocX table empty cells get wrong style
I changed
to
Code: Select all
if Victim.HasData(False) then
Code: Select all
if Victim.HasData(Vampire.ItemCount = 0) then
- Tue Jan 09, 2024 1:03 pm
- Forum: Support
- Topic: DocX load field gets wrong Font/Style
- Replies: 3
- Views: 44638
Re: DocX load field gets wrong Font/Style
Thank you!
I accepted your code modification.
It will be included in the next update.
I accepted your code modification.
It will be included in the next update.
- Mon Jan 08, 2024 11:45 am
- Forum: Announcements
- Topic: Compatibility with Lazarus 3.0
- Replies: 0
- Views: 99765
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.
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.
- Mon Jan 08, 2024 10:30 am
- Forum: Support
- Topic: demo richview not compile delphi 12 linux platform
- Replies: 6
- Views: 66120
Re: demo richview not compile delphi 12 linux platform
TRichView for Linux uses external functions from libpango-1.0.so.0, such as
Pango library must be installed on the Linux computer.
Code: Select all
const
pangolib = 'libpango-1.0.so.0';
function pango_layout_get_context(layout: PPangoLayout): PPangoContext;
cdecl; external pangolib;
...