logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
indigophoenix  
#1 Posted : Thursday, January 12, 2023 8:44:06 AM(UTC)
Quote
indigophoenix

Rank: Newbie

Groups: Registered
Joined: 8/24/2016(UTC)
Posts: 9

Thanks: 5 times
Hello.

We have found in our usage of the WPF PDF viewer that when we have multi-line text and we try to copy and paste that into another text editor (like Word) that the places where the PDF wraps the words of the paragraph to the next line show up as line breaks when pasted. There is an application called PDF-XChange Editor that has a context menu option for Copy as Rich Text which does give word wrapping rather than line breaks when pasted. Does this functionality exist for the Pdfium WPF viewer?

Thanks in advance for the reply and for all your work on this product!
Paul Rayman  
#2 Posted : Thursday, January 12, 2023 6:11:06 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,097

Thanks: 7 times
Was thanked: 128 time(s) in 125 post(s)
Hello,

Could you provide an example?
What do you expect and what do you actually get.
inception96  
#3 Posted : Tuesday, December 5, 2023 9:44:21 AM(UTC)
Quote
inception96

Rank: Newbie

Groups: Registered
Joined: 12/5/2023(UTC)
Posts: 1
Brazil

Hello,

We are facing the same situation mentioned. I have this PDF being previewed using PDFium in our WPF application:

pdfpreviewed.png

However, this is what happens when we copy the text and paste it into Word for example:

imageInWord.png


As you can see the PDF wraps the words of the paragraph to the next line which shows up as line breaks when pasted. Basically, a paragraph is added at the end of each line. This does not happen if you use Adobe Acrobat Reader or PDF-XChange (which as mentioned has the option to copy as rich text not causing this issue). As asked, does this functionality exist for the Pdfium WPF viewer?

Thanks in advance!

Edited by user Tuesday, December 5, 2023 9:48:26 AM(UTC)  | Reason: Not specified

Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.