504 Commits

Author SHA1 Message Date
Adrian-George Bostan
3885bb9e20 Fix StyledParagraph wrapping issue when used inside table cell 2018-09-25 21:15:20 +03:00
Adrian-George Bostan
9ffcdf7698 Merge branch 'paragraph-styles' of github.com:adrg/unidoc into paragraph-styles 2018-09-25 20:51:20 +03:00
Adrian-George Bostan
464489c657 Fix some comment typos 2018-09-25 20:48:50 +03:00
Gunnsteinn Hall
9d59d111aa
Merge branch 'master' into paragraph-styles 2018-09-25 17:31:25 +00:00
Gunnsteinn Hall
b8db74ac94 Add .gitattributes (ignore crlf) 2018-09-25 16:30:29 +00:00
Gunnsteinn Hall
9c99362aaf
Merge pull request #214 from dennwc/decrypt_xref
Do not decrypt XRef streams and "Encrypt" dictionary
2018-09-25 14:42:19 +00:00
Denys Smirnov
7b2f6a6aab core: do not decrypt XRef streams and the Encrypt dictionary; fix #205 2018-09-25 01:48:29 +03:00
Adrian-George Bostan
243be8720a Change division component test to include styled paragraphs 2018-09-24 20:11:02 +03:00
Adrian-George Bostan
922eebca98 Add test for the StyledParagraph component 2018-09-24 19:52:19 +03:00
Adrian-George Bostan
fdda96e870 Add comment to the styled paragraph Reset method 2018-09-24 19:51:42 +03:00
Adrian-George Bostan
660139b59a Make Division support the StyledParagraph component 2018-09-24 19:43:48 +03:00
Adrian-George Bostan
8e498d43c8 Change Division component comment 2018-09-24 18:53:14 +03:00
Adrian-George Bostan
2f30e325eb Add Reset method for the StyledParagraph component 2018-09-24 18:25:05 +03:00
Adrian-George Bostan
4ec03343b2 Add support for StyledParagraph in the division component 2018-09-24 18:07:24 +03:00
Adrian-George Bostan
4330ca3973 Fix text alignments for the Styled paragraph component 2018-09-24 18:05:07 +03:00
Adrian-George Bostan
c4f0bdb402 Remove right trailing space on paragraph text wrap 2018-09-24 17:34:45 +03:00
Adrian-George Bostan
f78e7d6633 Add Append method for the StyledParagraph component 2018-09-24 16:41:43 +03:00
Adrian-George Bostan
1b5b6fa31f Add StyleParagraph component 2018-09-23 17:58:33 +03:00
Adrian-George Bostan
0c17e10ba3 Add TextStyle structure 2018-09-23 17:58:18 +03:00
Denys Smirnov
8450ebcef6 core: use type switch instead of if statements in encode and decode 2018-09-20 02:00:01 +03:00
Gunnsteinn Hall
6f85ca4fa8
Merge pull request #204 from dennwc/aes3_encrypt
Implement AES encryption (128 and 256 bits)
2018-09-19 22:05:28 +00:00
Denys Smirnov
b7dcbc22de core: fix standard crypt filter name; resolves issues with Adobe Reader 2018-09-19 23:48:50 +03:00
Denys Smirnov
eac1e899dc core: allow to write documents with AES encryption 2018-09-19 06:02:15 +03:00
Denys Smirnov
839f9ea3bc core: fix padding for AESv3 2018-09-19 06:01:29 +03:00
Denys Smirnov
d424bc2b6d core: add MakeBool helper 2018-09-19 06:00:19 +03:00
Denys Smirnov
d4b2490ea3 core: implement encryption algorithms 8-10; add tests for alg 8-13 2018-09-19 03:33:59 +03:00
Denys Smirnov
7fb4c91137 core: do not overwrite Perms then validating it 2018-09-19 03:12:49 +03:00
Denys Smirnov
e18e4b502c core: move zero iv allocation to a separate function 2018-09-19 02:44:26 +03:00
Denys Smirnov
1371f91098 core: check metadata encryption flag in alg13 2018-09-19 02:43:32 +03:00
Gunnsteinn Hall
8e6553be85
Merge pull request #202 from adrg/div-inline
Add inline mode to the division component
2018-09-18 17:05:38 +00:00
Adrian-George Bostan
4cc51904bd
Merge branch 'master' into div-inline 2018-09-18 19:46:29 +03:00
Adrian-George Bostan
32228e2a17 Improve style of comments 2018-09-18 19:33:02 +03:00
Adrian-George Bostan
bc854abafe Increase test coverage for the inline division component 2018-09-18 19:24:07 +03:00
Adrian-George Bostan
faee04d13f Fix golint notices 2018-09-18 19:09:14 +03:00
Adrian-George Bostan
4e77d585f5 Add division unit test 2018-09-18 18:57:49 +03:00
Adrian-George Bostan
53a54ee0e4 Fix inline division wrapping on new page 2018-09-18 18:54:32 +03:00
Adrian-George Bostan
7004fb0d0e Add inline member on the DrawContext structure 2018-09-17 22:11:25 +03:00
Adrian-George Bostan
ba5b493b70 Add inline mode for the division component 2018-09-17 21:33:17 +03:00
Gunnsteinn Hall
1142758f73
Merge pull request #199 from dennwc/aes3
Implement AESv3 decryption
2018-09-17 15:16:37 +00:00
Denys Smirnov
c7cfde7c1f core: move test data, add docs and link to the specification 2018-09-17 17:36:31 +03:00
Denys Smirnov
c08a13c234 core: optimize allocations for hash used in R=6 2018-09-16 17:10:04 +03:00
Denys Smirnov
6e2c1c51bf core: add a test case for files with a very long password 2018-09-16 15:31:02 +03:00
Denys Smirnov
8f4f1804b0 core: implement decoding of AESv3; resolves #30 2018-09-16 04:13:24 +03:00
Denys Smirnov
6510d0a853 core: algorithms 2a and 13 (decode file key and validate permissions) 2018-09-16 02:48:08 +03:00
Denys Smirnov
b76c8a56c4 core: implement algorithm 11 and 12 (password check for R=5 and R=6) 2018-09-16 00:34:13 +03:00
Denys Smirnov
443efd4c4c core: refactor encryption check 2018-09-13 22:37:53 +03:00
Adrian-George Bostan
cd50893bfd Add inline member for Division container 2018-09-13 19:52:40 +03:00
Gunnsteinn Hall
72a6c7640b
Merge pull request #183 from unidoc/license-expired-taketwo
Fixing so old licenses still work correctly.
2018-08-15 13:42:54 +00:00
Alfred Hall
7311bdfd8e Fixing so old licenses still work correctly. 2018-08-15 13:39:58 +00:00
Gunnsteinn Hall
3b671f2cd1
Merge pull request #182 from unidoc/license-expiry
Optional license expiry for trial purposes.
2018-08-15 12:24:00 +00:00