Topic: Clearing empty spaces on RTF

When I c/p text from PDF to MVD RTF I usually a lot of empty spaces. Like on the attached screen cap.
Is it possible to remove empty spaces on MVD RTF editor, by using button onClick event?

Post's attachments

Attachment icon extrs spaces.jpg 80.79 kb, 35 downloads since 2023-03-23 

Adam
God... please help me become the person my dog thinks I am.

Re: Clearing empty spaces on RTF

Hi


If you really have extra spaces, try the example.
The solution is not universal.
Works in text mode. The text is converted to one standard.
You can select text in fragments or completely.

Post's attachments

Attachment icon p1.zip 335.07 kb, 99 downloads since 2023-03-24 

3 (edited by AD1408 2023-03-24 21:54:53)

Re: Clearing empty spaces on RTF

Hi sparrow,


Thank you very much for your kind help.


I wonder if you could make it work for the type of some PDFs I have.
I'm attaching sample PDF pages that doesn't work for your reference.

Post's attachments

Attachment icon Accelerated-7-10.pdf 62.13 kb, 109 downloads since 2023-03-24 

Adam
God... please help me become the person my dog thinks I am.

4 (edited by sparrow 2023-03-24 23:30:01)

Re: Clearing empty spaces on RTF

I cannot reproduce with your text such an error as you have in the figure with your PDF. I am attaching a picture.


A few questions ))).
1. Have you tried to paste from the fragment that you sent?
2. Which PDF tool do you use to view and copy?  What version?
3. Do you use the standard ctrl+c and ctrl+v? Without additional clipboard utilities?
4. Place your text in RichEdit (two or three lines with breaks) and export to .RTF file (third icon in the top row). Please send me.

Post's attachments

Attachment icon noerr.jpg 195.92 kb, 29 downloads since 2023-03-25 

Re: Clearing empty spaces on RTF

Hi sparrow,


I was using Nitro 5 PDF for viewing and copying. I installed Foxit reader; c/p from it and all was OK. No empty spaces. I didn't think that problem originated from the PDF app.


Once again thank you very much for your help........
Truly appreciated.....

Adam
God... please help me become the person my dog thinks I am.