Commit Graph

101 Commits

Author SHA1 Message Date
352cde743f Fix TS issues 2023-05-31 22:56:58 +01:00
a26292a0fd Trying to upgrade docx to use Vite 2023-05-01 20:37:39 +01:00
44568023cd Add documentation to basedOn 2023-03-30 19:54:33 +01:00
751ad9d304 Remove unused type keys 2023-03-23 22:59:34 +00:00
ec847dccf9 Fix prettier issue 2023-02-02 17:22:49 +00:00
fcba817a4a Fix eslint issues 2023-02-02 16:59:37 +00:00
e90d97b813 Use new eslint-plugin-functional instead of tslint-immutable 2022-09-15 20:00:50 +01:00
d020d59b11 Merge branch 'master' into feat/tslint-to-eslint
# Conflicts:
#	src/file/numbering/level.spec.ts
#	src/file/numbering/level.ts
2022-09-15 18:04:48 +01:00
ebcb37cbed Fix ESLinting errors and remove TSLint 2022-08-31 08:59:27 +01:00
1bdf9a4987 Initial ESlint conversion 2022-08-31 07:52:27 +01:00
982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
034cd187ab change shading val -> type 2021-05-29 05:51:06 +03:00
05a6ab77cc improve test coverage 2021-05-26 10:14:19 +03:00
b05748da25 update file/styles 2021-05-25 04:27:10 +03:00
ce2a0fb864 remove more duplicate classes; add additional values functions; clean up tests 2021-05-24 11:28:10 +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
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
780682a8f7 add test for ExternalStylesFactory when styles element is missing, to bump coverage 2021-05-20 05:03:12 +03:00
798cbb8628 fix prettier issues 2021-05-20 04:08:00 +03:00
06da596ffb Remove invalid 'w:shdCs' element 2021-05-20 03:02:48 +03: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
0bc36d924f Write tests 2021-03-13 22:10:00 +00:00
e98fe5921c #713 Update chinese demo and refactor 2021-03-09 01:37:22 +00:00
0afe0929a3 Add strong default style 2020-12-22 21:08:10 +00:00
30ab92652c move file options.defaultStyles to options.styles.default 2020-11-30 10:25:58 -06:00
8d4a07302b Add defaultStyles option to overwrite the core default styles (Heading 1-6, document, hyperlinks, etc) 2020-11-24 13:30:26 -06:00
74db67689f Re-name paragraph styles 2020-11-06 00:27:57 +00:00
d18cfbc26f Update tslint to v6 2020-08-01 17:58:16 +01:00
3f7ca6bbff :test: document defaults & numbering suffix 2020-07-15 14:11:26 +08:00
36e1c5fe6a :feat: refined defaults 2020-07-15 14:10:37 +08:00
75a03f1576 :test: update test for complex script 2020-07-15 12:46:46 +08:00
437e83ab78 :feat: refine paragraph/run properties options 2020-07-14 15:42:45 +08:00
8a3c8d4664 :test: Font for eastAsia 2020-06-07 12:38:31 +08:00
fdfce79e87 :feat: Font for eastAsia 2020-06-07 12:38:03 +08:00
120c3a7bbe :feat: support emphasis mark 2020-05-22 12:22:45 +08:00
212adbbffb Add workaround for loading 2020-01-16 02:23:17 +00:00
2ee918b845 Add type and node type definition exports 2020-01-11 19:16:36 +00:00
b4cce534a5 Test contextual spacing 2019-12-12 11:44:00 +13:00
e0698554ad Fix style linting error 2019-12-11 15:21:50 +13:00
1649d2a0fa Allow contextual spacing to be specified as an argument to paragraph style 2019-12-11 15:10:46 +13:00
8eff6bd0cf Declarative numbering work 2019-11-01 01:57:01 +00:00
db59474f1e Remove unused method 2019-10-10 21:10:03 +01:00
1d5e806ff4 Add character style tests 2019-10-10 21:03:38 +01:00
40d1a3a7c2 Multiple tab stops 2019-10-09 20:56:31 +01:00
0d4c7a5fc0 Update documentation 2019-10-09 02:03:39 +01:00
10ab3c70bf Add back default styles 2019-10-04 02:37:22 +01:00
591b2f4e04 Declarative styles 2019-10-04 01:20:41 +01:00
04b6d8e54a Declarative hyperlinks, bookmarks, tab stops and page breaks 2019-09-30 22:56:21 +01:00