Commit Graph

275 Commits

Author SHA1 Message Date
9827ed30bb Write tests, improve API, create documentation 2022-06-22 23:35:46 +01:00
233a29bfef Fix tests and linting 2022-06-19 00:31:36 +01:00
d6ec275778 Merge remote-tracking branch 'github.com/master' 2022-06-17 17:53:13 +08:00
f414b4ee9a #1529 Add word break feature 2022-06-15 00:07:12 +01:00
f07ce0bbf4 #1487 Fix tests 2022-04-21 21:35:56 +01:00
d2f9816714 #1487 Create union type for IFrameOptions 2022-04-21 21:27:01 +01:00
b81086ab7a feat: transfer comments property to File CoreProperties like numbering. 2022-03-07 20:02:14 +08:00
b2a09b512f implement sample version of Comment feature. 2022-03-03 09:59:09 +08:00
531e240a37 Run borders 2022-01-06 04:36:55 +00:00
2eb0b537f1 Fix prettier 2021-12-18 15:43:05 +00:00
6d3ebf90c1 #2733 Add error if level exceeds 9 2021-12-18 15:42:35 +00:00
5ad7fd8a15 Add more tests 2021-12-02 17:27:00 +00:00
74fbc715e9 #1324 Fixes Bi-directional re-factor issue 2021-12-02 17:24:19 +00:00
e598faad28 support style changes in revisions 2021-11-26 12:29:11 +01:00
54565e2228 fix #1261 use numeric ids with bookmarkStart and bookmarkEnd to conform to schema 2021-10-26 20:10:10 -05:00
5cba664f70 Merge branch 'master' of github.com:dolanmiu/docx 2021-09-28 22:08:57 +01:00
f77ddb4037 Add tests for suppressLineNumbers 2021-09-28 12:21:51 -07:00
536204e5ef Add back types absolute fixer 2021-09-28 19:56:29 +01:00
ea01ddb337 Update Paragraph/properties.ts with supressLineNumber docs 2021-09-27 19:18:58 -07:00
34036bca8f Add suppressLineNumber option to Paragraph 2021-09-27 19:11:09 -07:00
01bc6093dd Separate paragraph style options interface for level 2021-09-20 21:58:07 +03:00
5609b11188 Use correct value for height rule 2021-09-18 18:07:59 +01:00
996594da9b Moving numbering from IParagraphPropertiesOptions to IParagraphStylePropertiesOptions 2021-09-16 13:01:47 +03:00
ce2a949176 Re-name PageRef to PageReference 2021-09-08 00:41:40 +01:00
dc2f9c3bdc Allow other types in bookmarks 2021-09-01 12:20:54 -06:00
41f516d64b Make the internal hyperlink consistent 2021-08-31 19:54:33 -06:00
c1cc211c7f Add children to hyperlink 2021-08-27 16:53:11 -06:00
3f257bf5a4 Add the pageref element
This instruction is useful if you want to get the number of the page
containing a specific bookmark.
2021-08-03 21:17:32 +02:00
da744cbdec Fix lint errors 2021-07-08 17:46:13 +10:00
439ab8441e Export new ColumnBreak class via more generic Break class 2021-07-08 17:39:21 +10:00
2b9c15a638 Upgrade prettier 2021-06-15 00:25:44 +01:00
034cd187ab change shading val -> type 2021-05-29 05:51:06 +03:00
7bfe8f26f0 progress on clean up file/paragraph 2021-05-24 17:12:10 +03:00
ce2a0fb864 remove more duplicate classes; add additional values functions; clean up tests 2021-05-24 11:28:10 +03:00
a56119e7cd remove deprecated mutable drawing functions: scale, setXY 2021-05-24 09:26:21 +03:00
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
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
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
fcc393aca2 move break up higher in order, to use the simpler push instead of splice 2021-05-24 05:39:26 +03:00
798cbb8628 fix prettier issues 2021-05-20 04:08:00 +03:00
15f79abf5e fix lint issues 2021-05-20 04:02:14 +03:00
06da596ffb Remove invalid 'w:shdCs' element 2021-05-20 03:02:48 +03:00
56b18d3793 Fix ordering of elements in paragraph-properties 2021-05-20 01:06:07 +03:00
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
85583a3dbd Added support for w:fldSimple, including convenience class for simple MailMerge fields 2021-05-04 23:38:25 +02:00
46846b6e6c Fix imports 2021-03-22 05:23:30 +00:00
caf188caae Make adding images declarative and simple 2021-03-18 02:48:37 +00:00
4fe2973473 Add enum to lineRule and create demo 2021-03-15 19:23:40 +00:00
a3febae8a3 Inline single use interfaces 2021-03-15 00:11:39 +00:00