Commit Graph

87 Commits

Author SHA1 Message Date
4ce53a3d76 Fix failing test 2022-12-10 12:47:48 +02:00
5a4fe5d5da Formatting applied 2022-12-07 23:03:42 +02:00
e6af9b4b73 fix for tests && new tests for multi-level cases 2022-12-07 22:55:15 +02:00
361f9231d8 default numbering with overrideLevels 2022-12-07 22:54:51 +02:00
4215932550 overrideLevels as array impl instead of overrideLevel 2022-12-07 22:54:26 +02:00
29da523579 Interface (overrideLevel -> overrideLevels)
Breaking change
2022-12-07 22:11:34 +02:00
10dd36569d #212 Add more levels support 2022-11-25 01:36:59 +00:00
8a3ccdb196 Upgrade chai to 4.x 2022-10-25 01:08:54 +01:00
5950055cca Fix linting and add new lint rules 2022-09-19 20:48:50 +01: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
ebb3f8137e #1660 Add w:isLgl 2022-09-15 13:08:49 +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
6d3ebf90c1 #2733 Add error if level exceeds 9 2021-12-18 15:42:35 +00:00
01bc6093dd Separate paragraph style options interface for level 2021-09-20 21:58:07 +03:00
f378c37b62 Test at spec.ts for referenceConfigMap 2021-07-30 11:59:49 +03:00
d773972877 Test coverage issue fix 2021-07-30 11:58:55 +03:00
2fd4f064ae Simplify + TS related fix 2021-07-26 13:28:55 +03:00
36a18c5af3 Use level.start for overrideLevel.start if possible
Implemented via additional reference config map.
2021-07-26 09:55:33 +03:00
034cd187ab change shading val -> type 2021-05-29 05:51:06 +03:00
c3e92c0709 update file/numbering with schema comments and values functions 2021-05-24 21:04:38 +03:00
ce2a0fb864 remove more duplicate classes; add additional values functions; clean up tests 2021-05-24 11:28:10 +03:00
528be93191 fix #507 - docx file not opening in edit mode in word and word online 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
b627f0982a fix ordering of elements in w:lvl 2021-05-20 04:20:14 +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
a3febae8a3 Inline single use interfaces 2021-03-15 00:11:39 +00:00
0b88cb0ca5 #548 #508 Restart numbered lists 2021-03-12 03:58:05 +00:00
566ac03f9a Use context in prep xml 2021-03-11 01:06:55 +00:00
38c8220e9e Use LevelFormat string enum rather than strings 2020-12-24 04:26:45 +00:00
502db14bba Add Convenience functions 2020-12-24 03:37:43 +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
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
d0f53fdd4b Merge branch 'master' of github.com:dolanmiu/docx
# Conflicts:
#	package-lock.json
2020-05-28 18:40:44 +01:00
5ae824358c Revert "Update numbering.ts"
This reverts commit 0ebdcc30ed.
2020-05-26 21:06:43 +01:00
120c3a7bbe :feat: support emphasis mark 2020-05-22 12:22:45 +08:00
0ebdcc30ed Update numbering.ts 2020-05-07 11:49:42 +02:00
643e3c2f84 Finish making numbering declarative 2019-11-08 03:11:19 +00:00
9b40b5e55e Add work for custom level id 2019-11-06 20:54:39 +00:00
8eff6bd0cf Declarative numbering work 2019-11-01 01:57:01 +00:00
40d1a3a7c2 Multiple tab stops 2019-10-09 20:56:31 +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
b741db3050 Using a better demo naming system 2019-08-06 23:08:21 +01:00