Commit Graph

902 Commits

Author SHA1 Message Date
Tom Hunkapiller
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
Tom Hunkapiller
449e1ed963 add test for table indent property 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
dd6d1bc039 Consolidate TableWidth and TableCellMargins types; add Table indent (#954) 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
528be93191 fix #507 - docx file not opening in edit mode in word and word online 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
1ea6017483 add test for floating vertical position 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
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
Tom Hunkapiller
54ab55b92c simplify section-properties 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
5155cdaf45 unify Border type 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
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
Tom Hunkapiller
fcc393aca2 move break up higher in order, to use the simpler push instead of splice 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
2611e0c74f update table-row-properties, table-cell-properties, table-cell-borders to declarative style 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
acc23be297 remove unnecessary function expression in prepForXml 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
bdc0aa26ea fix test descriptions 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
ff14fcae3a remove from API delete()/IsDeleted(), and deleted check from prepForXml; not useful in declarative style API 2021-05-24 05:39:26 +03:00
Tom Hunkapiller
780682a8f7 add test for ExternalStylesFactory when styles element is missing, to bump coverage 2021-05-20 05:03:12 +03:00
Tom Hunkapiller
b627f0982a fix ordering of elements in w:lvl 2021-05-20 04:20:14 +03:00
Tom Hunkapiller
798cbb8628 fix prettier issues 2021-05-20 04:08:00 +03:00
Tom Hunkapiller
15f79abf5e fix lint issues 2021-05-20 04:02:14 +03:00
Tom Hunkapiller
f5e35603ef remove invalid w:mirrorMargins attribute from w:pgMar 2021-05-20 03:42:10 +03:00
Tom Hunkapiller
06da596ffb Remove invalid 'w:shdCs' element 2021-05-20 03:02:48 +03:00
Tom Hunkapiller
30912e7aaf Fix ordering of elements in table-cell-borders and section-properties 2021-05-20 02:18:17 +03:00
Tom Hunkapiller
56b18d3793 Fix ordering of elements in paragraph-properties 2021-05-20 01:06:07 +03:00
Tom Hunkapiller
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
Tom Hunkapiller
45130bed0b Fix conformance issues with imagerun - out of order properties (a:xfrm), invalid attr name (pic:cNvPr) desc -> descr 2021-05-20 00:42:29 +03:00
Paul de Groot
85583a3dbd Added support for w:fldSimple, including convenience class for simple MailMerge fields 2021-05-04 23:38:25 +02:00
Dolan
fceefcf290 Update webpack and testing frameworks 2021-03-31 21:27:40 +01:00
askoufis
b374dc0fac Fix footer import 2021-03-25 15:01:11 +11:00
Dolan Miu
d29286ab6d Fix tests 2021-03-24 03:09:01 +00:00
Dolan Miu
ebaf0dfbf0 #851 Use predictive unique id generation 2021-03-24 03:02:58 +00:00
Dolan Miu
bc6644be0b #842 Move table styles to the top 2021-03-22 05:54:48 +00:00
Dolan Miu
46846b6e6c Fix imports 2021-03-22 05:23:30 +00:00
Dolan
3299c557a0 Make .addSection fully declarative 2021-03-19 20:53:56 +00:00
Dolan
caf188caae Make adding images declarative and simple 2021-03-18 02:48:37 +00:00
Dolan
6746f81da5 Fix tests 2021-03-16 02:26:05 +00:00
Dolan
c7075d740f #251 Turning off default headers by default 2021-03-16 01:23:23 +00:00
Dolan
131183ae19 #613 #439 Even and odd headers 2021-03-16 00:57:27 +00:00
Dolan
4fe2973473 Add enum to lineRule and create demo 2021-03-15 19:23:40 +00:00
Dolan
bd40b11ce4 #815 Rotation and flipping images 2021-03-15 02:41:37 +00:00
Dolan
a3febae8a3 Inline single use interfaces 2021-03-15 00:11:39 +00:00
Dolan
e7eca14e1e Fix prettier issues 2021-03-14 17:03:50 +00:00
Dolan
7f86385b09 #269 Text Frame (Text Box) 2021-03-14 17:00:42 +00:00
Dolan
2fa8df7cf4 Add more tests 2021-03-14 00:44:12 +00:00
Dolan
f0e50dd21f Add more tests 2021-03-13 22:43:21 +00:00
Dolan
0bc36d924f Write tests 2021-03-13 22:10:00 +00:00
Dolan
4bc0421055 Add tests 2021-03-13 20:23:15 +00:00
Dolan
cc9a966f53 Improve tests 2021-03-13 19:53:36 +00:00
Dolan
8724fbe7a7 #750 Add widow control 2021-03-13 04:07:44 +00:00
Dolan
58f7e5a9a3 Merge pull request #816 from dolanmiu/feat/restart-numbered-lists
#548 #508 Restart numbered lists
2021-03-12 04:04:59 +00:00
Dolan
0b88cb0ca5 #548 #508 Restart numbered lists 2021-03-12 03:58:05 +00:00
Dolan
dbaa493ebd Merge pull request #763 from netbymatt/master
Allow styles and headings with numbering
2021-03-11 19:42:30 +00:00