Bug 141884 - [Enhancement Request] Export file to PDF as image
Summary: [Enhancement Request] Export file to PDF as image
Status: RESOLVED DUPLICATE of bug 95424
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Keywords: needsUXEval
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
Reported: 2021-04-24 19:42 UTC by BDF
Modified: 2021-04-26 13:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description BDF 2021-04-24 19:42:01 UTC
The default is that LibreOffice exports text to PDF files. The text can be copied and inserted into other files.
This is exactly the step I suggest to make harder to hinder content beeing copied to other files.

Steps to Reproduce:

Actual Results:

Expected Results:

Reproducible: Always

User Profile Reset: No

Additional Info:
Right now when a file (eg. in writer) is exported to PDF, the text is exported as text. That makes copying the text rather trivial.
Also copying images is a piece of cake.

My suggestion is to make the copy&paste step harder or maybe even as hard as possible (depending on how far you want to go).

I'm not sure if this is the best way, but I would suggest an option that exports the full (eg. writer) page as image and said image is used in the PDF file to cover the entire page. So you actually take a screenshot of the page and include the screenshot rather than the actual text.

Hard as possible:
To make work harder for OCR software some kind of random noise pattern (wavy lines, dots, etc.) could be added to the background that don't hinder reading that much, but would maybe throw off OCR software a bit. Of course this would only work up to a certain point without hindering human readability that much.

Why do we need that:
I'm sure LibreOffice is used in many cases where the author wants a bit more control over how easy the information in the file can be copied. Maybe the author has written some instruction paper that he wants to sell and wants to make sure that the instructions can not be copy&pasted to some forum that easily.
For my part the 'a bit more control over how easy the information in the file can be copied' is exactly what I would like to see.

Personally I would be fine with the 'Harder' step, since it's a clear step up and I'm not sure if there is a real need for the step 'Hard as possible'. Moreover the further you decrease readability for OCR software, the harder it will be to read the same text for humans as well.
Comment 1 V Stuart Foote 2021-04-25 20:14:00 UTC
Sure, but only if you want bloated and completely non-Accessible PDFs!

Password encrypted security features are sufficient for privacy if needed, other PDFs are better served with out privacy/security controls.

Otherwise, rendering full page PDF as raster at 300dpi or higher would be trivial, but  why?  No valid work flow.

Comment 2 Heiko Tietze 2021-04-26 08:03:33 UTC
We have options to disable copying of content (and allow a11y at the same time) under "security". The question is whether a reader obeys these flags, which is discussed in bug 141237.

Some PDF reader provide functions to convert/export the content into images. Or you export from LibreOffice as raster graphic and generate the PDF externally. Plenty of options.

*** This bug has been marked as a duplicate of bug 141237 ***
Comment 3 V Stuart Foote 2021-04-26 13:05:07 UTC

*** This bug has been marked as a duplicate of bug 95424 ***