50 Commits

Author SHA1 Message Date
Adrian-George Bostan
93364173b2 Allow creation of cells spanning multiple columns 2019-03-25 17:22:59 +00:00
Adrian-George Bostan
9b6cd8b88a Start at the top of the page when table block is created on new page 2019-01-07 19:22:08 +02:00
Denys Smirnov
3687c83b37 errors should start with a lower case 2018-12-15 18:49:15 +05:00
Denys Smirnov
9f0df8945d don't use XXX for TODOs 2018-12-09 21:39:11 +02:00
Denys Smirnov
6d2c39043c make sure comments begin with a type/function name 2018-12-09 20:22:33 +02:00
Denys Smirnov
99f3184879 define slices with a var instead of an empty literal 2018-12-09 19:28:50 +02:00
Adrian-George Bostan
7219022df1 Add List component 2018-11-16 21:23:46 +02:00
Adrian-George Bostan
b8a0299ca7 Remove unnecessary table member 2018-10-22 22:09:56 +03:00
Adrian-George Bostan
9db7496508 Allow table as a table cell component 2018-10-22 22:05:45 +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
095e431f51 Calculate content width for Paragraph and StyledParagraph in table cells 2018-10-08 17:35:21 +03:00
Adrian-George Bostan
af04a44ab1 Enable paragraph wrapping by default in the table component 2018-10-07 19:31:03 +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
Adrian-George Bostan
24a8628bc2 Fix StyledParagraph calculated height inside table 2018-09-25 21:54:01 +03:00
Adrian-George Bostan
3885bb9e20 Fix StyledParagraph wrapping issue when used inside table cell 2018-09-25 21:15:20 +03:00
Adrian-George Bostan
660139b59a Make Division support the StyledParagraph component 2018-09-24 19:43:48 +03:00
Gunnsteinn Hall
e63a74cc9c Merge branch 'master' into v3-merge-master-in 2018-09-06 09:45:04 +00:00
Peter Williams
b7f1f3e291 Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-08-22 22:01:00 +10:00
Peter Williams
c2feafdfdc Fixed some issues in creator code
Stopped double converting from Go strings to PDF encoded strings
Added TTF parse table format 12
2018-08-17 08:41:35 +10:00
Gunnsteinn Hall
036ab51b79 Address review comments. 2018-08-14 17:57:26 +00:00
Sakib Sami
44e98e2ced
Merge branch 'v3' into master 2018-08-14 01:56:45 +06:00
Sakib Sami
e879b00d57 - updated : Comments to godoc style 2018-08-13 23:36:22 +06:00
Sakib Sami
4e8d9d8e47 - Updated : SetBorderStyleMethod
- updated : Comments to godoc style
2018-08-13 01:58:28 +06:00
Sakib Sami
29295f0b2f - Updated : SetBorderStyleMethod
- Added : CellBorderSide constraint
2018-08-11 13:28:16 +06:00
Gunnsteinn Hall
749a238c77 golint 2018-07-26 14:57:57 +00:00
Gunnsteinn Hall
38505ef020 Support for Division in table cells 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
be8d19b510 Support wrapped text in table cells 2018-07-18 07:30:55 +00:00
Sakib Sami
12ce1ed56b Added : Force solid when border is double 2018-07-11 00:36:56 +06:00
Sakib Sami
be739f6ac1 Update : unexported newBorder() 2018-07-06 22:12:20 +06:00
Sakib Sami
4e0fb862d9 Added : Double border 2018-07-06 21:11:34 +06:00
Sakib Sami
6fc8956dcb Added : Comment on SetBorderLineStyle 2018-06-30 00:16:49 +06:00
Sakib Sami
f4be688bb2 Fix : Border side creation 2018-06-30 00:06:50 +06:00
Sakib Sami
1f106775b4 Improvement : Design, Code refactoring 2018-06-29 23:55:23 +06:00
Sakib Sami
a0c3f57e4a Fix : Dashed Line && Control on Border 2018-06-25 00:30:32 +06:00
Sakib Sami
0feaca4aea Implemented : Dashed Line 2018-06-12 03:41:33 +06:00
Sakib Sami
1353021b75 Implemented : Control over cell border 2018-06-09 06:03:40 +06:00
Jordi Llonch
c9f172694c fix TableCell.SetBorderColor 2018-02-12 14:18:37 +11:00
Gunnsteinn Hall
acb65b071e Address golint recommendations. Exported types Subchapter, Rectangle, TableCell, TableOfContentsEntry. Closes #82. 2017-08-01 13:10:48 +00:00
Gunnsteinn Hall
7ace3c96db Exported creator's Color interface. Addressed golint issues in creator's color.go, const.go 2017-07-31 14:06:47 +00:00
Gunnsteinn Hall
12f09116a2 Change from paragraph to exported type Paragraph. Address golint issues in creator's chapter.go. 2017-07-31 13:07:02 +00:00
Gunnsteinn Hall
25c91a8943 Horizontal and vertical table cell alignment implemented. Closes #74. 2017-07-17 20:41:10 +00:00
Gunnsteinn Hall
4ca381174a Remove debug printf 2017-07-17 14:41:51 +00:00
Gunnsteinn Hall
9d0e42a5f2 Comment revisions 2017-07-17 14:36:16 +00:00
Gunnsteinn Hall
83f9a0b989 Implemented generic color interface. Initial support for table borders and indent. Also, now setting some default parameters for paragraphs added to table. 2017-07-17 11:36:02 +00:00
Gunnsteinn Hall
6a059cdcec Take table margins into account 2017-07-14 17:46:01 +00:00
Gunnsteinn Hall
52863e274c Fix table context, return x and width after drawing 2017-07-14 17:20:30 +00:00
Gunnsteinn Hall
b056abb552 Tables with dynamic rows. Closes #66. 2017-07-14 16:24:07 +00:00
Gunnsteinn Hall
8710257e17 Add function to get table cell width based on context 2017-07-14 15:09:47 +00:00
Gunnsteinn Hall
e0bb61326c add missing header 2017-07-07 15:09:20 +00:00
Gunnsteinn Hall
168c04d168 Basic creator table implementation. Closes #12. 2017-07-07 15:08:43 +00:00