890 Commits

Author SHA1 Message Date
Gunnsteinn Hall
cdbb4ab349 Same handling for name values as string (encoding) for form filling 2018-10-03 15:08:56 +00:00
Gunnsteinn Hall
ab87949919 Avoid crash if form is nil when filling 2018-10-03 14:56:23 +00:00
Gunnsteinn Hall
b39c7065e8 Fix for outputing Function type 0 (colorspace) 2018-10-03 14:56:03 +00:00
Adrian-George Bostan
4ea74cca3e Merge remote-tracking branch 'upstream/v3' into toc 2018-10-03 17:37:19 +03:00
Gunnsteinn Hall
8477b05897
Merge pull request #225 from a5i/v3-fix-combine-objects
Fix combine objects optimizations
2018-10-03 09:45:03 +00:00
Aleksei Pavliukov
364e8c871f Fix combine objects optimizations 2018-10-03 01:58:03 +03:00
Gunnsteinn Hall
efb03409b4 Enhanced field appearance - alignment etc. 2018-10-02 20:33:40 +00:00
Gunnsteinn Hall
d65df0b7b3 Make FDF form field value provider implementation. Remove unnecessary exports. 2018-10-02 20:02:27 +00:00
Gunnsteinn Hall
d9ae3d6d38 Add form Fill function via FieldValueProvider interface 2018-10-02 19:50:18 +00:00
Gunnsteinn Hall
ced423e2ce Fix for loading standard fonts with Encoding difference maps 2018-10-02 01:20:39 +00:00
Gunnsteinn Hall
efb60f5721 Improved ParseIndirectObjects resolving references 2018-10-02 01:20:14 +00:00
Adrian-George Bostan
8aef464dea Write additional documentation comments for the TOC components 2018-10-01 22:05:27 +03:00
Adrian-George Bostan
907671ff2c Improve documentation comments 2018-10-01 21:53:32 +03:00
Adrian-George Bostan
e08c5bd27b Test more functionality of the TOC component 2018-10-01 21:41:20 +03:00
Adrian-George Bostan
025332b9d4 Set new line styles only for new lines 2018-10-01 21:40:51 +03:00
Adrian-George Bostan
9df55c5c3f Improve TOC test 2018-10-01 21:25:20 +03:00
Adrian-George Bostan
6b02f45d07 Add table of contents test 2018-10-01 21:20:03 +03:00
Adrian-George Bostan
9b497cb180 Fix golint notices 2018-10-01 21:19:20 +03:00
Gunnsteinn Hall
8be0c2cf5a Added package test for optimize - showcasing an issue 2018-09-30 23:58:56 +00:00
Gunnsteinn Hall
e059440204 Fix if encryptObj not set 2018-09-30 18:45:35 +00:00
Gunnsteinn Hall
4068ea6130 Fix problem with encryptObject having incorrect reference in trailer due to copying 2018-09-30 18:38:50 +00:00
Adrian-George Bostan
f2148ba69f Improve TOC component interface 2018-09-30 19:53:06 +03:00
Adrian-George Bostan
5be78fa40a Improve comments for the styled paragraph component 2018-09-30 19:52:30 +03:00
Adrian-George Bostan
6819172880 Add documentation comments for the TOC and TOCLine components. 2018-09-30 19:26:11 +03:00
Adrian-George Bostan
195e01888b Add TOC component 2018-09-30 19:06:08 +03:00
Gunnsteinn Hall
38dae76b5d Added verification to creator TestEncrypt1 test case 2018-09-30 11:41:57 +00:00
Gunnsteinn Hall
3abcefae62
Merge pull request #208 from a5i/v3-pdf-optimization
Implemented : PDFs optimization
2018-09-30 09:10:56 +00:00
Aleksei Pavliukov
ea5dba8e0d Implemented : PDFs optimization 2018-09-30 01:01:31 +03:00
Gunnsteinn Hall
3df4c34df5 Add back PageFromIndirectObject 2018-09-29 17:34:43 +00:00
Gunnsteinn Hall
aea91f1ba9 Merge branch 'v3' into v3-enhance-forms 2018-09-29 16:59:16 +00:00
Gunnsteinn Hall
9f06ba4ee8 Fix for using loaded standard14 fonts with test case 2018-09-29 02:24:10 +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
8d143d7009 Fix font size 0 in text comb field appearance 2018-09-29 02:22:32 +00:00
Gunnsteinn Hall
1376fd092d Export model.NewReaderForText handy for testing 2018-09-29 02:21:56 +00:00
Gunnsteinn Hall
6a6a387faa
Merge pull request #220 from dennwc/fix_encrypt_dup
Detect old copies of Encrypt dictionary
2018-09-28 22:12:53 +00:00
Denys Smirnov
418b99b4d8 core: detect old copies of Encrypt dictionary; fix #215 2018-09-29 00:16:57 +03:00
Adrian-George Bostan
b8e212e14a Rename toc.go to table_of_contents.go 2018-09-28 19:55:11 +03:00
Adrian-George Bostan
2b89ddedfc Add margin support for the TOCLine component 2018-09-28 19:54:09 +03:00
Adrian-George Bostan
c62dbd3c51 Make members of table of contents line component public 2018-09-28 19:30:46 +03:00
Gunnsteinn Hall
d9acc8eeb3 fix 2018-09-28 11:45:46 +00:00
Gunnsteinn Hall
b19b5a6054 Field appearance generator added to annotator 2018-09-28 11:36:45 +00:00
Gunnsteinn Hall
d498dc3e97 Add FieldAppearanceGenerator interface and apply when flattening fields 2018-09-28 09:50:48 +00:00
Gunnsteinn Hall
e99b037340 PDFDocEncoding tests 2018-09-28 09:50:18 +00:00
Gunnsteinn Hall
6ec59ca86c Returnnot found when *PdfObjectInteger is nil 2018-09-28 09:50:04 +00:00
Gunnsteinn Hall
5ebb80233c Add marked up content operators and cleanup. 2018-09-28 09:49:32 +00:00
Adrian-George Bostan
138b240ae2 Add TOCLine component 2018-09-27 20:55:58 +03:00
Gunnsteinn Hall
375dd5cebd
Merge pull request #219 from dennwc/fix_aes_pad
Correctly handle decryption of XRef streams and trailer fields
2018-09-26 11:49:10 +00:00
Denys Smirnov
d73bd8d1d2 core: correctly handle encryption of xref streams and trailer fields 2018-09-26 04:54:00 +03:00
Gunnsteinn Hall
6cafab4121 Merge branch 'master' into v3 2018-09-25 23:37:11 +00:00
Gunnsteinn Hall
eb14686746
Merge pull request #218 from dennwc/v3
Pull changes from master to V3
2018-09-25 23:24:54 +00:00