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

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
indigophoenix Posted: Wednesday, August 14, 2024 8:44:12 AM(UTC)
 
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 1 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!
inception96 Posted: Tuesday, December 5, 2023 9:44:21 AM(UTC)
 
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!
Paul Rayman Posted: Thursday, January 12, 2023 6:11:06 PM(UTC)
 
Hello,

Could you provide an example?
What do you expect and what do you actually get.
indigophoenix Posted: Thursday, January 12, 2023 8:44:06 AM(UTC)
 
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!