097c6a5962
use hexColorValue in borders and underlines
2021-05-24 08:42:34 +03:00
ee105cdb83
Simplify run format properties, removing duplicate classes. Add values functions, which check and clean up values for specific defined types from the schema
2021-05-24 08:20:08 +03:00
dd6d1bc039
Consolidate TableWidth and TableCellMargins types; add Table indent ( #954 )
2021-05-24 05:39:26 +03:00
08bd2744b6
further clean up border code; update paragraph borders to use shared type; BREAKING: paragraph border value attr renamed to style, to match other usages of borders
2021-05-24 05:39:26 +03:00
5155cdaf45
unify Border type
2021-05-24 05:39:26 +03:00
496fcb55fa
unify Shading; breaking change: Paragraph/Run shading option key type changed to val, and shadow alias removed
2021-05-24 05:39:26 +03:00
2611e0c74f
update table-row-properties, table-cell-properties, table-cell-borders to declarative style
2021-05-24 05:39:26 +03:00
30912e7aaf
Fix ordering of elements in table-cell-borders and section-properties
2021-05-20 02:18:17 +03:00
d0a675fde6
Fix ordering of elements in table, table-cell, table-properties, table-cell-properties, table-cell-margin
2021-05-20 01:03:09 +03:00
a3febae8a3
Inline single use interfaces
2021-03-15 00:11:39 +00:00
566ac03f9a
Use context in prep xml
2021-03-11 01:06:55 +00:00
e5da573041
Clean up table with improved demo
2021-03-05 03:03:02 +00:00
c6e9696be0
#532 Make hyperlinks work on the Header and Footer
2021-03-01 03:28:35 +00:00
d18cfbc26f
Update tslint to v6
2020-08-01 17:58:16 +01:00
40dc90e585
:fix: insert the continue cell properly
2020-07-08 12:32:01 +08:00
b4f1c4dd6a
Increase readability for enums
2020-05-13 02:51:47 +01:00
25a7ce3742
adds textDirection to table cells
2020-05-10 10:36:25 -07:00
c68dc8c52a
Make hyperlinks declarative
2019-12-18 21:11:15 +00:00
bfbe59cb84
table cell width test
2019-10-12 03:14:25 +03:00
06abde2425
fix set table cell width
2019-10-12 02:52:30 +03:00
172c333357
Add tests and clean up code
2019-09-29 04:17:21 +01:00
c5eb3d5670
Add addMargin test
2019-09-26 02:24:43 +01:00
bd888219fc
Amend table documentation
2019-09-26 02:03:17 +01:00
7aa4134e2b
Refactor row merging to table level
2019-09-25 00:57:24 +01:00
a9d4ebc898
Add declarative column merge
2019-09-22 02:39:38 +01:00
418adca9f3
Declarative tables
2019-09-13 00:51:20 +01:00
e2574ec23b
Turn methods into "add()"
2019-06-25 23:17:56 +01:00
c97d15cb9f
Remove create table helper function
2019-06-25 01:21:28 +01:00
cb42c74a8d
Make Paragraph declaritive
2019-06-12 01:03:36 +01:00
29f890918c
Fix spelling of "margin"
2019-04-18 13:55:18 +10:00
816cb54b14
Optimize XML output by properly constructing objects to send to the xml library so that it can produce proper empty elements.
...
Rework the way attributes are stored in ImportedXmlComponent to match elsewhere (required allowing for a null xmlKeys in the XmlAttributeComponent interface).
Rework the way paragraphs get added to the end of table cells if needed.
The goal in both reworks is to not mess around with the objects output from `prepForXml` if we can avoid it.
Made the output of RunProperties, ParagraphProperties, TableCellProperties, TableRowProperties, and TableProperties all optional based on whether they contain any attributes or children. Changed code in PageBorders, TableCellMargin, and TableCellBorders that implemented this same thing by overriding `prepForXml` so that it uses the new XmlComponent subclass instead.
Removed commented out code that attempted to fix-up XML output and make proper empty elements.
Fixed all affected tests.
Turn off `no-null-keyword` in the linter as we need to use null to signal to the `xml` library to create an empty element with no attributes (`undefined` will not work in its place).
Fixes #306
2019-04-09 05:27:18 -04:00
c6ab47e838
Add shading
2019-03-21 01:06:07 +00:00
e67fd9cb2b
Add tests and margain
2019-03-18 23:50:21 +00:00
1590f9ac70
Merge pull request #274 from dolanmiu/feat/vertical-table-merge
...
Add table column and vertical merging
2019-03-05 23:53:12 +00:00
46ddf77342
Get cell properties
2019-03-05 11:38:21 +01:00
441afe8c97
Add tests
2019-03-05 11:34:43 +01:00
ca9ce01f56
Customize left and right cell borders (for Google Docs)
2019-03-05 11:09:47 +01:00
efd89f24e6
Add table column and vertical merging
2019-03-04 22:50:04 +00:00
b9465b2a20
Add more changes to table API and documentation
2018-12-31 01:55:15 +00:00
ab07f2ecbe
Change table methods and document it
2018-12-29 01:57:20 +00:00
e19890e27a
Breaking Change. Swap arguments around and make default WidthType
2018-11-15 03:00:26 +00:00
7980f14efb
Introduce some functional programming techniques
2018-11-02 02:51:57 +00:00
61411fd0f3
Add tests
2018-11-01 02:22:32 +00:00
4742cf0f3f
Clean imports
2018-10-26 01:04:07 +01:00
f7d18bfead
Tidied up table components
2018-10-23 23:44:50 +01:00