Rank: Member
Groups: Registered
Joined: 8/24/2016(UTC) Posts: 14
Thanks: 5 times Was thanked: 1 time(s) in 1 post(s)
|
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!
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,104
Thanks: 7 times Was thanked: 129 time(s) in 126 post(s)
|
Hello,
Could you provide an example? What do you expect and what do you actually get.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/5/2023(UTC) Posts: 1
|
Hello, We are facing the same situation mentioned. I have this PDF being previewed using PDFium in our WPF application: However, this is what happens when we copy the text and paste it into Word for example: 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
|
|
|
|
Rank: Member
Groups: Registered
Joined: 8/24/2016(UTC) Posts: 14
Thanks: 5 times Was thanked: 1 time(s) in 1 post(s)
|
Sorry for the long delayed response, I did not see the reply until coming to report a separate issue. However, since seeing it, here is an example: Contrary to popular belief.pdf (28kb) downloaded 3 time(s).I would expect that the when copying and pasting, line breaks would only occur at paragraph boundaries, not at the end of every visual line (much like if you were copying the text from Microsoft Word or Notepad). However, what I get is line breaks at the end of every line of text. It matches the visual of the PDF, but not the flow of the underlying content. Hope that helps!
|
|
|
|
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.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close