930 Commits

Author SHA1 Message Date
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
Gunnsteinn Hall
6ff5fa3c02
Merge pull request #217 from dennwc/refactor
Refactor Crypt Filter Methods (CFM)
2018-09-25 23:22:26 +00:00
Denys Smirnov
760f58b954 core: add doc comments for CFMs 2018-09-26 02:16:17 +03:00
Denys Smirnov
4b01f8f6ae update code after merge with master 2018-09-26 01:46:13 +03: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
b3c45a550a core: refactor crypt filter selection code 2018-09-26 00:52:05 +03:00
Denys Smirnov
d551451585 core: move common code for object key generation to a separate function 2018-09-26 00:52:05 +03:00
Denys Smirnov
be03592b2a core: move CFM to separate structs that implement a common interface 2018-09-26 00:52:05 +03:00
Gunnsteinn Hall
2897197775
Merge pull request #209 from peterwilliams97/render.v3.hungarian
Don't return errors for TrueType font file tables with no PostScript …
2018-09-25 21:39:08 +00:00
Gunnsteinn Hall
f74acfdea0
Merge pull request #213 from adrg/paragraph-styles
Multi-style paragraphs
2018-09-25 20:43:36 +00:00
Adrian-George Bostan
24a8628bc2 Fix StyledParagraph calculated height inside table 2018-09-25 21:54:01 +03:00