Search found 9418 matches
- Mon Mar 11, 2024 9:24 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Sat Mar 09, 2024 3:00 pm
- Forum: Support
- Topic: Plain Text Bullets on Copy
- Replies: 21
- Views: 397966
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...
- Fri Mar 08, 2024 5:13 pm
- Forum: Examples, Demos
- Topic: How to print the content of a RichViewEdit ?
- Replies: 4
- Views: 2904
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:
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);
- Fri Mar 08, 2024 12:14 pm
- Forum: Examples, Demos
- Topic: How to print the content of a RichViewEdit ?
- Replies: 4
- Views: 2904
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...
- Thu Mar 07, 2024 10:09 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Thu Mar 07, 2024 9:23 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Thu Mar 07, 2024 8:40 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Thu Mar 07, 2024 8:28 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Thu Mar 07, 2024 7:56 am
- Forum: Support
- Topic: Markdown rendering assistance needed
- Replies: 4
- Views: 5509
Re: Markdown rendering assistance needed
Where are these blank lines? Please help me to find them in these documents.
- Wed Mar 06, 2024 3:25 pm
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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...
- Wed Mar 06, 2024 11:50 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5697
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.
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.
- Tue Mar 05, 2024 10:47 am
- Forum: Support
- Topic: Get alignment in the cursor position.
- Replies: 1
- Views: 4325
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;
- Tue Mar 05, 2024 10:43 am
- Forum: Support
- Topic: Caret to the end of the text cell
- Replies: 1
- Views: 4302
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);
- Sat Mar 02, 2024 6:55 pm
- Forum: RVMedia
- Topic: Play video from TMemoryStream
- Replies: 4
- Views: 7256
Re: Play video from TMemoryStream
Assign: RVCamera.SourceFileName = path to this file RVCamera.DeviceType = rvdtFile. Call RVCamera.PlayVideoStream. In Windows, RVCamera can play local files either using FFmpeg or using DirectX. The main difference is in processing sound from videos. FFmpeg is used, if FFmpeg libraries are available...
- Thu Feb 29, 2024 9:03 pm
- Forum: Support
- Topic: Markdown rendering assistance needed
- Replies: 4
- Views: 5509
Re: Markdown rendering assistance needed
TRichView follows CommonMark specification (+ implements extensions for tables and footnotes). Other Markdown extensions (not listed in the CommonMark Markdown specification) are not supported, including emoticons, sub/superscripts, inserted text, marked texts, typographic replacements and so on. Th...