Bug 300417

Summary: Feature-request: Export to clipboard as cleartext
Product: [Applications] okular Reporter: Daniel Skov Klejnstrup <danielklejnstrup>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: http://pastebin.com/bL3cZqEu
Latest Commit: Version Fixed In:

Description Daniel Skov Klejnstrup 2012-05-21 21:16:50 UTC
I use okular mainly for converting PDF's into cleartext, and has written a lot of parsers for the output.
I've tried to use pdftotext (with the -layout option) instead, but it doesn't seem to produce the exact same format as okular.
I also prefer okular over a command-line tool for this job, since a lot of endusers should be able to use it easily.
I need to end up with the cleartext in the clipboard, and the only way that's possible, as of now, is to export to a file, open that file, and copy the content.
"edit → select all, edit → copy" produces a different format (discarding layout - see the url)
I would love to see a feature like "File -> Export -> To clipboard as cleartext" that produces the exact same format as the existing export to cleartext - It will save me a lot of time for sure!
While you're at it, please add some keyboard shortcuts to the export options. :)

Reproducible: Always