Commit Graph

902 Commits

Author SHA1 Message Date
Dolan Miu
5950055cca Fix linting and add new lint rules 2022-09-19 20:48:50 +01:00
Dolan Miu
e90d97b813 Use new eslint-plugin-functional instead of tslint-immutable 2022-09-15 20:00:50 +01:00
Dolan Miu
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
Dolan Miu
ebb3f8137e #1660 Add w:isLgl 2022-09-15 13:08:49 +01:00
Dolan
af7d275c27 Merge pull request #1636 from MLD5000/create-packer-stream
Create packer stream "toStream"
2022-09-15 13:04:15 +01:00
Dolan Miu
2b01a6006c Fix linting 2022-09-15 12:39:30 +01:00
Dolan Miu
9f3940746a Add tests for stream packer 2022-09-15 08:15:38 +01:00
Dolan Miu
ebcb37cbed Fix ESLinting errors and remove TSLint 2022-08-31 08:59:27 +01:00
Dolan Miu
1bdf9a4987 Initial ESlint conversion 2022-08-31 07:52:27 +01:00
Dolan
d5bd407802 Merge pull request #1601 from AdaEniac/patch-3
Update hyperlink.ts
2022-08-25 01:54:31 +01:00
Dolan Miu
ba4dc2ed54 Fix formatting 2022-08-25 01:40:14 +01:00
Matt Danner
c982e64996 formatting 2022-08-24 13:01:15 -05:00
Matt Danner
1a630bcb4d Added toStream export function
New Function returns a NodeJS readable stream that allows piping DOCX document data to stream.
2022-08-22 13:25:59 -07:00
Igor Święs
b6be05a931 Add test for Packer.toString 2022-08-22 19:08:29 +02:00
Igor Święs
21f7662a77 Add toString to Packer 2022-08-17 18:52:19 +02:00
AdaEniac
85bafb3eef Update hyperlink.ts
ExternalHyperlink extends XmlComponent
2022-07-23 15:03:04 +08:00
Dolan
440782e9cf Merge pull request #1589 from dolanmiu/feat/1583-fix-comments-missing
#1583 Comments to always write default data
2022-07-12 18:33:13 +01:00
Dolan Miu
e84641c13c #1583 Add more tests to media data 2022-07-12 18:11:44 +01:00
Dolan Miu
ab9f97598c #1584 Fix test names 2022-07-12 17:10:37 +01:00
Dolan Miu
a7d55a52f3 #1583 Comments to always write default data 2022-07-12 16:57:25 +01:00
Dolan Miu
64addc85ee Fix all spelling across the project 2022-07-06 14:05:37 +01:00
Dolan Miu
6d447033c9 Fix more spelling rules 2022-07-05 05:06:32 +01:00
Dolan Miu
c888f589d0 Introduce CSpell 2022-07-04 14:51:36 +01:00
Dolan Miu
982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
Dolan
c19bc6b4b3 Merge pull request #1562 from GiladFeder/patch-1
removed "both" as a verticalAlign feature
2022-06-25 13:27:39 +01:00
Dolan Miu
c38e70e25d Update tests 2022-06-25 13:08:20 +01:00
Gilad Feder
60096a94c9 removed "both" as a verticalAlign feature
fixes: https://github.com/dolanmiu/docx/issues/1514
2022-06-24 13:12:50 +03:00
Dolan Miu
9827ed30bb Write tests, improve API, create documentation 2022-06-22 23:35:46 +01:00
Dolan Miu
233a29bfef Fix tests and linting 2022-06-19 00:31:36 +01:00
Chen Yuncai
d6ec275778 Merge remote-tracking branch 'github.com/master' 2022-06-17 17:53:13 +08:00
Dolan Miu
f1ab24c439 #1528 Adding numbering replacer on header and footer 2022-06-16 16:31:34 +01:00
Dolan
c7b68a40e4 Add tests for get media data 2022-06-15 01:44:57 +01:00
Dolan
f414b4ee9a #1529 Add word break feature 2022-06-15 00:07:12 +01:00
Dolan
f07ce0bbf4 #1487 Fix tests 2022-04-21 21:35:56 +01:00
Dolan
d2f9816714 #1487 Create union type for IFrameOptions 2022-04-21 21:27:01 +01:00
Chen Yuncai
b81086ab7a feat: transfer comments property to File CoreProperties like numbering. 2022-03-07 20:02:14 +08:00
Chen Yuncai
b2a09b512f implement sample version of Comment feature. 2022-03-03 09:59:09 +08:00
Simon Brunel
9a937891a8 Fix reading template images in the browser 2022-01-20 16:20:28 +01:00
Dolan
531e240a37 Run borders 2022-01-06 04:36:55 +00:00
Dolan
2eb0b537f1 Fix prettier 2021-12-18 15:43:05 +00:00
Dolan
6d3ebf90c1 #2733 Add error if level exceeds 9 2021-12-18 15:42:35 +00:00
Dolan Miu
d808b287a7 Simplify code 2021-12-02 17:37:27 +00:00
Dolan Miu
5ad7fd8a15 Add more tests 2021-12-02 17:27:00 +00:00
Dolan Miu
74fbc715e9 #1324 Fixes Bi-directional re-factor issue 2021-12-02 17:24:19 +00:00
Katz Sakai
e08ad990a8 add an ability to specify charSpace and type for DocumentGrid 2021-11-30 21:42:48 +09:00
Dolan
75d62723b6 Merge pull request #1317 from patentclaimeditor/master
support style changes in revisions
2021-11-29 12:52:15 +00:00
Dolan Miu
0be6f31611 #1303 Re-name methods to be full english words 2021-11-26 15:07:15 +00:00
Thomas Jansen
e598faad28 support style changes in revisions 2021-11-26 12:29:11 +01:00
Katz Sakai
9cddfb4ce7 ability to specify textDirection for section 2021-11-23 10:52:17 +09:00
erlendaxelsson
ba963b0360 Dont set background color if none is provided in options
After comparing the output of this library and what is
produced by Microsoft Word, it seems that document
background color is not set by default by Word.

Removing the default #FFFFFF background color enables the
generated documents to be readable in dark mode.

This seems to fix dolanmiu/docx#1093
2021-11-12 10:21:01 +01:00