655 Commits

Author SHA1 Message Date
Peter Williams
b48010c75b Fixed typo 2018-10-18 21:39:16 +11:00
Peter Williams
45228219b5 Added PdfFont.FontDescriptor() which always returns a PdfFontDescriptor, possibly a builtin one for
the standard 14 fonts.
2018-10-18 21:12:15 +11:00
Peter Williams
2452973cfe Don't add /Encoding entry to standard 14 font dicts.
Moved the standard 14 font encoders to a separate field pdfFontSimple.std14Encoder.
2018-10-16 14:50:43 +11:00
Peter Williams
3cdca483a3 Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-10-15 19:15:37 +11:00
Adrian-George Bostan
0b3a67486a Add NewImageFromGoImage method to the creator 2018-10-14 14:50:12 +03:00
Adrian-George Bostan
d2ed3db2c2 Fix StyledParagraph Reset method prototype 2018-10-12 23:33:50 +03:00
Adrian-George Bostan
90ba15f56d Instantiate component only through creator and cache default fonts 2018-10-12 23:00:02 +03:00
Adrian-George Bostan
ac7d2d72ff Change font rename scheme on name collision 2018-10-12 19:35:04 +03:00
Adrian-George Bostan
f9a8288b43
Merge branch 'v3' into table-align-paragraph 2018-10-08 19:13:56 +03: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
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
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
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
Adrian-George Bostan
287b6e29ca Add SetTOC method to the creator 2018-10-04 18:00:43 +03:00
Adrian-George Bostan
89965a3784 Add TOC getter on the creator 2018-10-03 20:03:06 +03:00
Adrian-George Bostan
b52907f4b8 Show table of contents in creator test 2018-10-03 19:40:25 +03:00
Adrian-George Bostan
c4fabc876f Adapt creator test to use the AddTOC property 2018-10-03 19:28:54 +03:00
Adrian-George Bostan
5d465c8aad Add creator AddTOC property 2018-10-03 19:25:48 +03:00
Adrian-George Bostan
7728bd6a0b Adapt creator test in order to use the new TOC component 2018-10-03 18:48:48 +03:00
Adrian-George Bostan
d3538accbb Remove TableOfContents and replace it with the new TOC component 2018-10-03 18:32:42 +03:00
Adrian-George Bostan
4ea74cca3e Merge remote-tracking branch 'upstream/v3' into toc 2018-10-03 17:37:19 +03:00
Aleksei Pavliukov
364e8c871f Fix combine objects optimizations 2018-10-03 01:58:03 +03: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