213 Commits

Author SHA1 Message Date
Gunnsteinn Hall
1888d156a0 Use os.TempDir instead of /tmp directly for all generated pdfs in creator 2018-11-06 11:34:32 +00:00
Adrian-George Bostan
d8d212c2b3
Merge branch 'v3' into invoice-component 2018-11-01 21:53:58 +02:00
Adrian-George Bostan
73f73fa159 Improve invoice component test cases 2018-11-01 20:58:37 +02:00
Adrian-George Bostan
1508b923e2 Make invoice component styles customizable 2018-11-01 20:44:50 +02:00
Adrian-George Bostan
7ca49f50f2 Improve invoice test 2018-10-30 22:36:13 +02:00
Adrian-George Bostan
b8f9f07175 Add invoice advanced test case 2018-10-30 22:14:04 +02:00
Adrian-George Bostan
74e89e6a2a Improve invoice component interface 2018-10-30 22:13:47 +02:00
Adrian-George Bostan
389083bd9f Improve invoice component style 2018-10-30 21:27:08 +02:00
Adrian-George Bostan
564877a23b Add invoice test 2018-10-30 20:51:27 +02:00
Adrian-George Bostan
7a6b16b614 Make invoice more customizable 2018-10-30 20:43:10 +02:00
Adrian-George Bostan
e7a6b1825f Add totals and notes sections 2018-10-29 20:18:32 +02:00
Adrian-George Bostan
b98f1fe6ce Add initial invoice implementation 2018-10-26 12:29:40 +03:00
Gunnsteinn Hall
4e2e3defba Merge branch 'v3' into v3-enhance-forms 2018-10-23 12:09:01 +00:00
Adrian-George Bostan
b8a0299ca7 Remove unnecessary table member 2018-10-22 22:09:56 +03:00
Adrian-George Bostan
8cbb57960d Add SetText method to the styled paragraph component 2018-10-22 22:07:08 +03:00
Adrian-George Bostan
9db7496508 Allow table as a table cell component 2018-10-22 22:05:45 +03:00
Denys Smirnov
781992027d creator: reduce the size of test output by reusing the font 2018-10-16 01:44:12 +03:00
Denys Smirnov
8f09a9b79a creator: use a portable temp dir path in tests 2018-10-16 01:44:12 +03:00
Gunnsteinn Hall
d60240f560 Merge branch 'v3' into v3-enhance-forms 2018-10-15 10:02:38 +00:00
Adrian-George Bostan
0b3a67486a Add NewImageFromGoImage method to the creator 2018-10-14 14:50:12 +03:00
Gunnsteinn Hall
5fb48797fb minor fix 2018-10-13 17:28:34 +00:00
Gunnsteinn Hall
4a4c73ba0b Ensure content streams are not compressed in optimization test 2018-10-13 16:24:04 +00:00
Gunnsteinn Hall
3454ec67dc Merge branch 'v3' into v3-enhance-forms 2018-10-13 11:32:20 +00: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
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
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