1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-12-18 06:54:07 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Simon Segerblom Rex
e6d178f1e5 Update README.md 2019-05-20 19:45:59 +02:00
Simon Segerblom Rex
84fa57c3b5 Restructure single script into package 2019-05-20 11:31:50 +02:00
Simon Segerblom Rex
a389c34b0d
Merge pull request #6 from SimonSegerblomRex/doc-cleanup
Cleanup of comments
2019-05-16 22:56:45 +02:00
Simon Segerblom Rex
399865e9f3 Cleanup of comments 2019-05-16 22:54:44 +02:00
Simon Segerblom Rex
48f9730d0f
Merge pull request #4 from SimonSegerblomRex/fix-2
Avoid accessing keys in /Usage
2019-05-16 22:24:11 +02:00
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