Ask Your Question
0

how do i export to PDF with selectable text?

asked 2020-06-28 15:55:10 +0200

davidtg gravatar image

updated 2020-06-28 16:37:26 +0200

I have a collection of .doc files. [I would like to roll them all into one while retaining formatting, but for the moment I am taking them on individually.] They are mostly text with some formatting, but there are a few embedded graphics.

Oops! And I'm running LO 6.1.6.3 on Windows at the moment, but if memory serves I saw the same problems under Linux.

How can I Export -> PDF such that the text is selectable in the PDF? The files I get now appear to be images of pages, and I can't mouse anything.

edit retag flag offensive close merge delete

Comments

@davidtg,

Export as PDF don't convert text to images. What program are you using to open the PDF files? What version of LibreOffice are you using? See in menu Help - About LibreOffice.

You can edit your question to add more information. Do not use Answer to comment.

LeroyG gravatar imageLeroyG ( 2020-06-28 16:13:38 +0200 )edit
1

@LeroyG thanks for the poke. I have FoxIt Phantom PDF on this little tablet.
I'm glad to hear that it should work! I will have to try different PDF viewers, from the browser to a viewer app to thick applications, to see if I can track down any differences. D

UPDATE -- whether it was Export this time instead of Export Directly last time, some strange hiccup, or my just not holding my tongue right, all seems better now. I wiped everything and started over and now have selectable text (Drive PDF viewer, browser on two platforms, and even FoxIt) as expected; yay! @LeroyG, you deserve the answer credit if you want it. Perhaps you won't even have to say "Don't be such an idiot, David" in your post ;-)

davidtg gravatar imagedavidtg ( 2020-06-28 16:47:03 +0200 )edit

@davidtg,

Glad to hear you solved it.

LeroyG gravatar imageLeroyG ( 2020-06-28 17:51:01 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-06-28 16:25:49 +0200

ajlittoz gravatar image

updated 2020-06-28 17:09:40 +0200

Selecting something when displaying a PDF file in a PDF viewer has nothing to do with LO Writer.

Remember that PDF is a page description language and, indeed, you get images of pages.

But a PDF viewer can make a smart use of this description language provided you ask it to do so. My default PDF viewer on my system is Okular with a Tools menu. By default , the "navigate" tool is selected. I can choose "text selection". The mouse cursor then changes in a caret-like one and I can drag this tool over text to select a range.

Note that PDF is akin to some graphic scene and a viewer cannot make any difference between line wrap and paragraph boundary. Consequently when you paste copied text from PDF, you get a sequence of paragraphs and you must remove paragraph marks in order to restore original paragraphs.

The answer to your question is: no need to enable some exotic option in Writer; just select the adequate tool in your PDF viewer.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

(Nothing new in the edit: I just removed a typo)

edit flag offensive delete link more

Comments

Thanks for the input, @ajlittoz. There is definitely a lot I don't know about PDF internals :-) However, I do know from having generated them dynamically in software that they don't have to just be page images and can definitely have text as distinctly identifiable objects. If someone as dumb as I can do it in PHP then I'm sure LO should be able to do the same thing ... if I tell it the right thing to do, since "Garbage In" is not the software's fault :-) D

davidtg gravatar imagedavidtg ( 2020-06-28 16:51:00 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-06-28 15:55:10 +0200

Seen: 24 times

Last updated: Jun 28