1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-11-10 23:00:55 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Simon Segerblom Rex
26e1f6a543 Avoid accessing keys in /Usage
Shouldn't have any issues with excpetions anymore at least.
Need to read the PDF reference manual properly to see if
this is the right thing to do...

Fixes #2
2019-05-16 22:19:36 +02:00
Simon Segerblom Rex
79bbdaab05
Merge pull request #2 from SimonSegerblomRex/fix-1
Add /Order with all OCGs to OCG config
2019-05-16 21:56:12 +02:00
Simon Segerblom Rex
e04390754e Add /Order with all OCGs to OCG config
This will make the layers toggable in Adobe Reader.

Fixes #1
2019-05-16 21:53:06 +02:00
Simon Segerblom Rex
f773d77daa
Update README
Minimal README... needs more work
2019-05-16 20:05:58 +02:00
Simon Segerblom Rex
afae3e9b07 Add pdflayers script
Rough initial version of script. Only tested with
a few PDF files. There's a lot of things that could
be improved:
* Add options to list layer names
* Add options for trying to loacate and modify JavaScript
  that might affect layer visibility (in Adobe Reader).
* Error handling...
* Cleanup... better ways of using pikedpdf..?
2019-05-16 19:39:29 +02:00
Simon Segerblom Rex
15184a4dc3
Initial commit 2019-05-16 19:35:02 +02:00