849 Commits

Author SHA1 Message Date
Gunnsteinn Hall
4a4c73ba0b Ensure content streams are not compressed in optimization test 2018-10-13 16:24:04 +00:00
Gunnsteinn Hall
0879fa1b1a Fix golint get in Jenkinsfile 2018-10-13 11:34:26 +00:00
Gunnsteinn Hall
3454ec67dc Merge branch 'v3' into v3-enhance-forms 2018-10-13 11:32:20 +00:00
Gunnsteinn Hall
4eafe4f404 Cleaning up digital signatures from the v3-enhance-forms branch 2018-10-13 11:02:09 +00:00
Gunnsteinn Hall
817d0dc805 Field appearance alignment refinements with some options. 2018-10-12 00:53:41 +00:00
Gunnsteinn Hall
bc6391200a Avoid outputing invalid Encoding name for generated standard fonts (use font encoding instead) 2018-10-10 22:44:55 +00:00
Gunnsteinn Hall
5f3f55ec8a
Merge pull request #233 from a1comms/v3-enhance-forms
Expose PDF Version #230
2018-10-09 10:50:14 +00:00
Samuel Melrose
7a641b09d2 Add Comments for Expose PDF Version #230 2018-10-09 10:40:02 +00:00
Gunnsteinn Hall
e9165467cd
Merge pull request #234 from adrg/table-align-paragraph
Fix paragraph/styled paragraph cell alignment in tables
2018-10-08 17:04:55 +00:00
Adrian-George Bostan
f9a8288b43
Merge branch 'v3' into table-align-paragraph 2018-10-08 19:13:56 +03:00
Gunnsteinn Hall
5b4828be69
Merge pull request #224 from dennwc/refactor_2
Refactor encryption-related code
2018-10-08 16:11:17 +00:00
Gunnsteinn Hall
d9dfa57225
Merge branch 'v3' into refactor_2 2018-10-08 16:05:58 +00:00
Denys Smirnov
5d09fa8cde crypt: handle length format violation for length=40 2018-10-08 18:35:33 +03:00
Adrian-George Bostan
3f9fc2e5eb
Merge branch 'v3' into table-align-paragraph 2018-10-08 18:08:30 +03:00
Adrian-George Bostan
58e15b03a9 Add test cases for horizontal alignment of paragraphs inside tables 2018-10-08 17:53:13 +03:00
Adrian-George Bostan
0954292a46 Remove unnecessary method call in creator test 2018-10-08 17:37:17 +03:00
Adrian-George Bostan
095e431f51 Calculate content width for Paragraph and StyledParagraph in table cells 2018-10-08 17:35:21 +03:00
Adrian-George Bostan
db93b6e873 Add getMaxLineWidth method on StyledParagraph 2018-10-08 17:34:57 +03:00
Adrian-George Bostan
fb41824815 Add getTextLineWidth and getMaxLineWidth methods on Paragraph 2018-10-08 17:33:55 +03:00
Gunnsteinn Hall
901e252881
Merge pull request #231 from adrg/paragraph-enable-wrap
Wrap paragraph text only if width has been set
2018-10-08 13:34:33 +00:00
Samuel Melrose
d3cc236351 Expose PDF Version #230 2018-10-08 10:27:39 +00:00
Denys Smirnov
84284c88ec security: add missing license headers, more documentation 2018-10-08 01:04:56 +03:00
Denys Smirnov
7bd4ba688d core: split crypt filter methods into a separate package 2018-10-08 00:18:18 +03:00
Denys Smirnov
42df346e69 core: split security handlers into a separate package 2018-10-08 00:18:18 +03:00
Denys Smirnov
006e5f9e6e core: simplify decoding of Encrypt dictionary a bit with a helper 2018-10-08 00:18:18 +03:00
Denys Smirnov
68d20968d3 core: move encryption dictionary encoder and decoder to it's own type 2018-10-08 00:18:18 +03:00
Denys Smirnov
1c19ba9e96 core: decouple security handlers with different revisions from PdfCrypt 2018-10-08 00:18:18 +03:00
Denys Smirnov
7e9f3dd7e2 core: unexport remaining PdfCrypt methods 2018-10-08 00:18:18 +03:00
Denys Smirnov
fd9b3746de core: unexport remaining PdfCrypt fields 2018-10-08 00:18:18 +03:00
Denys Smirnov
bccaa87cdc core: refactor encryption and decryption types 2018-10-08 00:18:18 +03:00
Denys Smirnov
b5288e7ddc core: change permissions type to a bitmask 2018-10-08 00:18:18 +03:00
Denys Smirnov
ef64bef191 core: permissions field is uint32 according to the spec 2018-10-08 00:18:18 +03:00
Adrian-George Bostan
195319a9f7 Adjust table paragraph alignment in creator test 2018-10-07 21:45:32 +03:00
Adrian-George Bostan
af04a44ab1 Enable paragraph wrapping by default in the table component 2018-10-07 19:31:03 +03:00
Adrian-George Bostan
555b70017e Adjust division test 2018-10-07 18:48:56 +03:00
Adrian-George Bostan
d4da6857b7 Enable styled paragraph wrap only if width has been set 2018-10-07 18:46:13 +03:00
Adrian-George Bostan
8859ca10b1 Enable paragraph wrap only if width has been set 2018-10-07 18:45:26 +03:00
Gunnsteinn Hall
a40611d728 clean up 2018-10-07 11:03:11 +00:00
Gunnsteinn Hall
411d2b314e Support combobox choice field appearance generation 2018-10-07 11:03:01 +00:00
Gunnsteinn Hall
050e50b926 Fix text alignment padding 2018-10-07 11:00:59 +00:00
Gunnsteinn Hall
b83a999d71
Merge pull request #226 from adrg/toc
Add TOC component
2018-10-05 11:25:52 +00:00
Gunnsteinn Hall
7d345ea966 Use bytes.Buffer instead of strings.Builder 2018-10-05 10:11:24 +00:00
Gunnsteinn Hall
ab0cd31266 Flatten - append to contentstream directly (not adding additional stream objects) 2018-10-05 04:27:58 +00:00
Gunnsteinn Hall
7582f06515 Add regenerate text fields flag. Default border width to 0. Apply width from BS dictionary. 2018-10-05 03:29:52 +00:00
Gunnsteinn Hall
72bb06194f Draw annotation Rect to text field appearances as well 2018-10-05 02:20:11 +00: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
Adrian-George Bostan
bd00223038 Add sample code for setting TOC style in the creator test 2018-10-04 19:11:18 +03:00
Adrian-George Bostan
8498e75605 Add SetLineStyle method to set the style for all components of new TOC lines 2018-10-04 18:57:58 +03:00
Adrian-George Bostan
a138079f11 Add SetStyle method to set the style for all components of the TOC line 2018-10-04 18:57:19 +03:00
Adrian-George Bostan
f0f9d3a482 Add example of manual wrapping for TOC line 2018-10-04 18:23:05 +03:00