Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Permission in unoconv aren't applied to PDF #75

Closed
tcarmen opened this Issue Aug 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants

tcarmen commented Aug 19, 2012

I'm trying to create a PDF that can be read and printed but not modified.

With unoconv 0.5 from github, running on Fedora 17:

unoconv -e RestrictPermissions=True -e PermissionPassword=abcdef -e Changes=False -o /tmp/out.pdf -f pdf /tmp/in.fodt

works perfectly except that there are no permissions set (PDF can be modified).

I added some debugging code to unoconv and the parameters do seem to be getting passed in, but I haven't got a clue how to debug the interface to LO.

Anybody have any idea how to fix it, or where to look?

Thanks!

Terry

@dagwieers dagwieers added a commit that referenced this issue Aug 20, 2012

@dagwieers dagwieers Cannot use UnoProps for FilterData property
The UnoProps abstraction function cannot be used for more complex
datatypes like DataFilter needs. This fixes the regressions reported
in issue #75.
f30f4ac
Owner

dagwieers commented Aug 20, 2012

Thanks for reporting this. While looking into this specific issue, I discovered none of the export filter options (e.g. PageRange) where working correctly. I fixed this troubling bug now. Please verify and reopen if you still have this issue.

@dagwieers dagwieers closed this Aug 20, 2012

@ghost ghost assigned dagwieers Aug 20, 2012

@dagwieers dagwieers added a commit that referenced this issue Aug 20, 2012

@dagwieers dagwieers Fixes for something that broke ?
Closes #75 and #76.
2f159d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment