Search found 213 matches

by standay
Sat Dec 16, 2023 11:42 am
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 136136

Re: Leak Using rvActionOpen

Sergey, Here's a typical docx file I had trouble with:
Hyperthyroidism.docx
(15.98 KiB) Downloaded 3343 times
by standay
Fri Dec 08, 2023 10:59 am
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 136136

Re: Leak Using rvActionOpen

Sergey Tkachenko wrote: Fri Dec 08, 2023 8:28 am Can you send me a DocX file where it happens?
Hi Sergey,

I sent one to the richview gmail account.

Stan
by standay
Thu Dec 07, 2023 7:53 pm
Forum: Support
Topic: Leak Using rvActionOpen
Replies: 8
Views: 136136

Leak Using rvActionOpen

Sergey, I'm still using rve version 21.7.3. When using an rvActionOpen to open a Word docx file, it opens OK, but I'm getting a leak reported by madexcept in TRVCPInfo (see attached screenshot) when I close the app. This seems to only happen with Word files, but I haven't tried it with every possibl...
by standay
Thu Nov 02, 2023 2:09 pm
Forum: Support
Topic: InsertRVFFromStream extra line at end
Replies: 2
Views: 20246

Re: InsertRVFFromStream extra line at end

OK, that helps, thanks Sergey!

I made a note of all this in my code.

Stan
by standay
Sun Oct 22, 2023 9:05 pm
Forum: Support
Topic: Controlling and formatting dropped text
Replies: 10
Views: 36261

Re: Controlling and formatting dropped text

Maybe:

Code: Select all

ReleaseStgMedium(Medium);
?

Not sure but that might do it.

Stan
by standay
Sun Oct 22, 2023 4:40 pm
Forum: Support
Topic: Controlling and formatting dropped text
Replies: 10
Views: 36261

Re: Controlling and formatting dropped text

Martin, Yes, but you may want to handle a file getting dropped as well. For text out of Word, I'd guess using the one of the OleDrop functions will be what you'd want to use. I use AfterOleDrop to resize images that get dropped into my app so I tried that and it worked. I created some styled text in...
by standay
Sun Oct 22, 2023 11:28 am
Forum: Support
Topic: Controlling and formatting dropped text
Replies: 10
Views: 36261

Re: Controlling and formatting dropped text

Martin, This isn' Sergey but I can tell you what I do. Sergey may have a better answer. I figured you might post about file drops. I use DropFiles and process things there. This is a part of what I do for file drops (dropping text would be different): procedure TForm1.rveDropFiles... success := fals...
by standay
Sun Oct 08, 2023 10:46 am
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326531

Re: Plain Text Bullets on Copy

I could see the benefit of having it included in the text but also only if it is actually selected. Right now it seems to be starting at the list item even if the select starts later in the line. I looked at Word and Libreoffice. Both allow selecting bullets separately from text. That makes it easy...
by standay
Fri Oct 06, 2023 9:45 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326531

Re: Plain Text Bullets on Copy

Sergey,

I'm OK using

Code: Select all

(rv.GetItem(ItemNo) as TRVListMarkerInfo).DisplayString
So whatever you work out won't cause any problems for me.

Stan
by standay
Tue Sep 26, 2023 12:19 pm
Forum: Support
Topic: Version 21.7 Not Working
Replies: 2
Views: 17616

Re: Version 21.7 Not Working

Hi Sergey,

Yep, absolutely right. I had the scale rv trial still installed. Took that out and 21.7 worked OK.

Thanks!

Stan
by standay
Tue Sep 26, 2023 12:08 pm
Forum: Support
Topic: Version 21.7 Not Working
Replies: 2
Views: 17616

Version 21.7 Not Working

Hi Sergey, I tried installing the latest version 21.7. It seems to go through the install correctly, but when I open delphi 10.3, I'm getting multiple errors like these: Image23.png I tried uninstalling it and reinstallingit and no change. I reinstalled 21.5 which is the version I've been using and ...
by standay
Sun Sep 17, 2023 3:54 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326531

Re: Plain Text Bullets on Copy

Hi Sergey, I tried both options and both worked. Using option 2 I was able to process selected text indents as well in my own code. Would it eventually be possible to add processing the indents when copying text (to use as plain text) in general? I'm not sure about the overall implications of this b...
by standay
Thu Sep 14, 2023 11:46 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 326531

Plain Text Bullets on Copy

Hi Sergey,

Is there any way to copy bullets from an rve doc and get them to paste into plain text with some sort of markers still there? Or is there some way to get the marker text (bullet or number) from list items?

Thanks Sergey

Stan
by standay
Wed Sep 13, 2023 2:24 pm
Forum: Support
Topic: InsertRVFFromStream extra line at end
Replies: 2
Views: 20246

InsertRVFFromStream extra line at end

Hi Sergey, When I use rve.InsertRVFFromStream, I always seem to get an extra line at the end of the doc. Here's the code: ActiveRVE.SaveRVFToStream(Stream,false); Stream.Position := 0; ActiveRVE.Clear; RVStyle1.ResetParaStyles; RVStyle1.ListStyles.Clear; ActiveRVE.DeleteUnusedStyles(true,true,true);...
by standay
Mon Sep 11, 2023 11:53 am
Forum: Support
Topic: Resize window and large document
Replies: 3
Views: 53090

Re: Resize window and large document

You can try to include/exclude rvstSkipformatting in RichViewEdit.RVData.State. Hi Sergey, Yes, that seems to work. Here's what I did: private FSizing: boolean; ... procedure TForm1.WndProc(var Message: TMessage); const ResizeLock = 1000; begin if Message.Msg = WM_SYSCOMMAND then begin //http://www...