23 Commits

Author SHA1 Message Date
Peter Williams
cc4f64fa98 small tidy up 2018-08-21 12:43:51 +10:00
Peter Williams
84a4e0ebbf Removed GetArrayVal 2018-07-25 13:19:09 +10:00
Peter Williams
b1cf3494f7 Removed naked returns. Fixed godoc. Reorganized object extractors 2018-07-25 12:00:49 +10:00
Peter Williams
990a56dc01 fixed typo 2018-07-22 16:00:45 +10:00
Peter Williams
bb3d219355 cleaned up comments 2018-07-22 12:47:38 +10:00
Peter Williams
502836666d Merge remote-tracking branch 'upstream/v3' into render.v3 2018-07-21 21:20:39 +10: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
5e9ff8d3ca Helper functions for PdfObject conversions 2018-07-14 02:14:31 +00:00
Gunnsteinn Hall
3bd7800729 Helper functions for dictionary 2018-07-08 09:58:54 +00:00
Peter Williams
759a1dd882 changes left out of last commit 2018-06-27 16:46:33 +10:00
Gunnsteinn Hall
b800238e36 Address golint recommendations in core 2017-08-03 15:33:51 +00:00
Gunnsteinn Hall
28aea0d8d7 Address golint recommendations. Add TODO comments for recommended future refactoring work in next major release. 2017-08-02 12:56:32 +00:00
Gunnsteinn Hall
469856432b Fix fuzz-detected problem where stream length referring to stream itself (with a test case to verify) 2017-07-21 21:31:23 +00:00
Gunnsteinn Hall
825c10fc3e Fix in adding dash via content stream creator 2017-07-11 13:09:52 +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
53b9e8b99c Convenience functions to create streams and indirect objects. 2017-06-28 15:14:25 +00:00
Gunnsteinn Hall
ce836c6f71 Support for Pattern, Shading objects. Various fixes and enhancements. 2017-04-04 05:51:58 +00:00
Gunnsteinn Hall
ec5ad27789 Minor fixes, initial interface for creating new annotations. 2017-03-24 11:31:20 +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
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
1564f8ab06 Updates and fixes from master merged in 2016-12-02 15:17:19 +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