Issue 90468 - [PDF-Import] Can't import officially published PDFs
Summary: [PDF-Import] Can't import officially published PDFs
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: DEV300m17
Hardware: All All
: P3 Trivial with 5 votes (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@graphics
Keywords: oooqa
: 90539 (view as issue list)
Depends on:
Blocks: 90135
  Show dependency tree
Reported: 2008-06-07 10:06 UTC by Mechtilde
Modified: 2013-08-07 15:40 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Fix (689 bytes, patch)
2008-09-03 23:11 UTC, thb
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Mechtilde 2008-06-07 10:06:34 UTC
I test ed the PDF-Import with PDFs published on

I got this error message: "This PDF file is encrypted and can't be opened."

It is very interessing to be able to use them in combination with a database.
This is possible if I can import this as a background picture. Also "normal"
citizens may be interested in importing and printing 

It is possible to convert them to .png using "convert" under GNU/Linux. Also
xpdf can open it.
Comment 1 wolframgarten 2008-06-09 08:36:16 UTC
Sorry, where to get this extension? I can't find it in the official repository
at Thanks in advance.
Comment 2 Mechtilde 2008-06-09 08:53:27 UTC
I found the PDF-Imoport for testing here:

I choose unilngi6 for the 32 bit version

Comment 3 wolframgarten 2008-06-09 10:41:19 UTC
Priority lowered. Reassigned.
Comment 4 wolframgarten 2008-06-09 10:42:50 UTC
Target set.
Comment 5 Mechtilde 2008-06-10 07:34:44 UTC
*** Issue 90539 has been marked as a duplicate of this issue. ***
Comment 6 Mechtilde 2008-06-10 07:35:07 UTC
add hi to CC because closing the issue 90539
Comment 7 thb 2008-09-03 23:08:52 UTC
The referenced documents have restricted permissions, and thus pdfimport refuses
loading them without a user password (that's the somewhat cryptic meaning of the
error message).

I'll attach a trivial patch to ignore this setting - for the record, most other
FLOSS pdf tools ignore those as well, e.g. evince has a
/apps/evince/override_restrictions gconf entry, which defaults to true for all
relevant distros...
...see e.g.
for some rationale.
Comment 8 thb 2008-09-03 23:11:59 UTC
Created attachment 56203 [details]
Comment 9 Mechtilde 2008-09-25 15:55:28 UTC
can be created a CWS or anything else so I can test it

Comment 10 thb 2008-09-25 19:48:18 UTC
np, generally - but before embarking on this, could please someone clarify if
this is acceptable upstream (as the current behaviour was deliberately added)?
KA, HI, please give your opinion.
Comment 11 ooo 2008-09-26 02:17:09 UTC
AFAIK. we decided to _not_ support password saved documents due to some legal
issues. I assigned this  task to MH, he might know more details in this case.
Comment 12 Mechtilde 2008-09-26 08:48:47 UTC
If someone need more information about these dokuments also about legal
questions please ask me.

Comment 13 norbert2 2008-10-08 05:58:46 UTC
A workaround seems to to load the PDF into GSview and re-generate the PDF using
pdfwrite. It ignores the permissions. But it looks like it re-compresses images
(not sure)...
Comment 14 norbert2 2008-10-08 06:00:27 UTC
Could someone who has the skills generate an unofficial build of the PDF Import
Extension using the patch attached to this issue?
Comment 15 Martin Hollmichel 2008-10-08 06:13:56 UTC
the implementation of PDF import has been done according to the PDF
specification, there is no plan to change this.
Comment 16 Mechtilde 2008-11-06 08:46:51 UTC
close the invalid issue