24 Commits

Author SHA1 Message Date
Gunnsteinn Hall
a49bdcb8f8 Change PdfWriter dependency from io.WriteSeeker to io.Writer - enabling PDF memory output 2018-08-13 13:58:38 +00:00
Gunnsteinn Hall
5b1b9bd504 PdfObjectArray change to struct and receivers added Elements, Get, Set, Len. Fixes to resulting broken code. 2018-07-15 17:52:53 +00:00
Gunnsteinn Hall
14ee80e1fe Preserve and allow output of hexadecimal strings
Refactored PdfObjectString into a struct with bool flag for hex.  Fixed any code broken by the change.
Unexported non-essential functions for crypto (not used by model).  Can unexport more later or refactor to internal package.
2018-07-14 02:25:29 +00:00
Gunnsteinn Hall
51f575080a Licensing updates 2018-02-23 14:07:26 +00:00
Gunnsteinn Hall
85cd1d21f8 Move license to common. 2017-07-11 13:08:48 +00:00
Gunnsteinn Hall
1a5c918307 License package added to v2. 2017-07-08 22:00:11 +00:00
Gunnsteinn Hall
10c3be8c95 Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56. 2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
f36575d3e4 Expanded support for forms, refactoring. 2017-04-19 12:05:20 +00:00
Gunnsteinn Hall
ce836c6f71 Support for Pattern, Shading objects. Various fixes and enhancements. 2017-04-04 05:51:58 +00:00
Gunnsteinn Hall
9247f5d954 Add Trace log level and change Debug to Trace where appropriate. Add log levels to Console logger. 2017-02-28 12:16:46 +00:00
Gunnsteinn Hall
f1ada05914 Support parsing and getting the actual version number and changing the output PDF version 2017-02-28 08:58:50 +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
5369e32cb6 Simplified license - remove license subpackage
The removal of the Producer additional requirements means we do not
need the license subpackage anymore.  It is removed in v2.
2017-01-04 16:43:08 +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
8846983e79 Improved handling of un-referenced Parent objects in writer 2016-12-06 01:18:44 +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