21 Commits

Author SHA1 Message Date
Gunnsteinn Hall
8ae4f6a63a Initial implementation of a simple graphics state handler / content stream processor. Multiple changes and fixes in colorspace handling. And more. 2017-03-14 13:04:51 +00:00
Gunnsteinn Hall
c2ff40c564 Simple function to get encryption information; cleanup 2017-03-08 16:54:40 +00:00
Gunnsteinn Hall
61bcb5ad5f Fixes in some colorspace handling for images. Improved XObject form handling. 2017-03-04 17:27:23 +00:00
Gunnsteinn Hall
8b2146ea10 Use page dict from original dict in Page objects. 2017-03-02 12:50:18 +00:00
Gunnsteinn Hall
d1c37e285d Convenience function to get all content streams as one for a page 2017-02-28 08:59:17 +00:00
Gunnsteinn Hall
b8a3ec7180 Initial colorspace and functions support.
Implementation of ps parser for function type 4.  Function type 3 not
implemented yet and type 0 needs a better interpolation. Functions and
colorspaces need more testing.
2017-02-22 21:10:57 +00:00
Gunnsteinn Hall
80fa077d15 1) Fix trailer dict parsing bug, 2) Get Read/Write OCProps, 3) Read/Write Page Resource Properties 2017-02-15 14:21:20 +00:00
Gunnsteinn Hall
5566df5057 Add multi encoding support (serial) and basic test case. Added line numbers to logs. 2017-02-13 20:35:42 +00:00
Gunnsteinn Hall
0e533ed292 Refactored encoding and stream support with interfaces. Added encoding support and encoding content streams for PDF generation. 2017-02-13 15:30:36 +00:00
Gunnsteinn Hall
f6ffa2aa33 Support for LZW stream decoding. Support for content streams with inline images. 2017-02-12 21:37:07 +00:00
Gunnsteinn Hall
5dce3be8de Add function to check if image resource name available 2017-01-03 10:51:39 +00:00
Gunnsteinn Hall
70492f77d5 Add back needed dependency 2016-12-13 21:42:27 +00:00
Gunnsteinn Hall
c6c4d83758 Change interface for get and add page (use PdfPage). Improvements to resource handling and manipulation. 2016-12-13 19:40:33 +00:00
Gunnsteinn Hall
9fe3c5a0b9 Improved annotation object handling (parsing and writing) 2016-12-05 16:21:23 +00:00
Gunnsteinn Hall
af5ea0bd00 Improved outline handling (in progress)
Structure element currently scrapped.  Later to add support for that.
Then will fix the SE of the outline item.
Still a bit of testing and validation required.
2016-12-05 00:46:27 +00:00
Gunnsteinn Hall
1564f8ab06 Updates and fixes from master merged in 2016-12-02 15:17:19 +00:00
Gunnsteinn Hall
ed354edd42 Integration of annotations and form field models 2016-09-13 09:51:57 +00:00
Gunnsteinn Hall
ff67cb30a8 Improvements on PDF annotation model (in progress) 2016-09-12 17:59:45 +00:00
Gunnsteinn Hall
e8b07540dd Clean up model and primitive relationship 2016-09-11 23:17:38 +00:00
Gunnsteinn Hall
f358b3e26f Refactoring in progress
Currently compiles with tests, but not fully functional yet.
2016-09-09 15:02:52 +00:00
Gunnsteinn Hall
19fd98d667 Refactoring into core and model. (in process)
As the package was growing large, there is a need to clean up.  Testing
to refactor into a core (basic pdf parsing and primitive objects) and a
higher level model package.
2016-09-08 17:53:45 +00:00