Gunnsteinn Hall
8007138bd3
Addressing PR 238 review comments
2018-10-23 11:43:02 +00:00
Gunnsteinn Hall
3454ec67dc
Merge branch 'v3' into v3-enhance-forms
2018-10-13 11:32:20 +00:00
Denys Smirnov
006e5f9e6e
core: simplify decoding of Encrypt dictionary a bit with a helper
2018-10-08 00:18:18 +03:00
Gunnsteinn Hall
3536d323fb
Support MK appearance characteristics for certain styles. Wrap content stream to fix bugs.
2018-10-05 01:59:19 +00:00
Aleksei Pavliukov
ea5dba8e0d
Implemented : PDFs optimization
2018-09-30 01:01:31 +03:00
Gunnsteinn Hall
aea91f1ba9
Merge branch 'v3' into v3-enhance-forms
2018-09-29 16:59:16 +00:00
Gunnsteinn Hall
55bbc5c2ca
Add function to make UTF16-BE encoded PdfObjectString - core.MakeEncodedString
2018-09-29 02:23:38 +00:00
Gunnsteinn Hall
6ec59ca86c
Returnnot found when *PdfObjectInteger is nil
2018-09-28 09:50:04 +00:00
Denys Smirnov
acd4308d56
Merge branch 'refactor' into v3
...
# Conflicts:
# pdf/core/crypt.go
# pdf/model/writer.go
2018-09-26 01:08:19 +03:00
Denys Smirnov
d424bc2b6d
core: add MakeBool helper
2018-09-19 06:00:19 +03:00
Gunnsteinn Hall
9efa91168d
Fix for building acroform ToPdfObject
2018-09-16 17:56:03 +00:00
Peter Williams
cc4f64fa98
small tidy up
2018-08-21 12:43:51 +10:00
Gunnsteinn Hall
c3c6eaa1e6
Add modified crypto dependencies to internal: pkcs7, x509, x509/pkix, asn1 packages - more lenient. Minor fixes.
2018-08-15 18:50:32 +00:00
Gunnsteinn Hall
d1f2f280aa
Add ToInt64Slice convenience function to PdfObjectArray
2018-08-15 11:33:48 +00:00
Gunnsteinn Hall
2cc0c74b80
Avoid endless loop when parsing operand in contenstream. Fixes #176
2018-08-09 22:51:21 +00:00
Gunnsteinn Hall
01cd086550
Clear page dictionary prior to building. Add dictionary clear method
2018-08-07 20:51:15 +00:00
Gunnsteinn Hall
033b11df86
Support PDFDocEncoding and UTF16 decoding as per #175
2018-08-03 21:19:17 +00:00
Gunnsteinn Hall
7bac3c779c
Merge branch 'v3' into enhance-forms
2018-08-03 21:15:21 +00: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
0435dff983
Merge branch 'v3' into enhance-forms
2018-07-15 20:17:02 +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
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
791e1d2015
Capability to trace references in Get functions for dictionary and array getters (called GetDirect - experimental).
2018-06-18 15:23:06 +00:00
Gunnsteinn Hall
4548fd56a5
Add Len and Get methods to PdfObjectArray
2018-06-02 16:13:03 +00: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