1bdf9a4987
Initial ESlint conversion
2022-08-31 07:52:27 +01:00
6d447033c9
Fix more spelling rules
2022-07-05 05:06:32 +01:00
982d923553
Improve import alias
...
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
233a29bfef
Fix tests and linting
2022-06-19 00:31:36 +01:00
b2a09b512f
implement sample version of Comment feature.
2022-03-03 09:59:09 +08:00
e08ad990a8
add an ability to specify charSpace and type for DocumentGrid
2021-11-30 21:42:48 +09:00
0be6f31611
#1303 Re-name methods to be full english words
2021-11-26 15:07:15 +00:00
9cddfb4ce7
ability to specify textDirection for section
2021-11-23 10:52:17 +09:00
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
eec084767f
Fix lint and style errors
2021-09-18 23:14:13 +10:00
23fd3b483f
Add API for specifying columns with different widths
2021-09-18 22:58:19 +10:00
05a6ab77cc
improve test coverage
2021-05-26 10:14:19 +03:00
63cea76eac
update file/document and section-properties
2021-05-25 03:43:16 +03:00
e198f0752a
add schema comments and update file/document; unify VerticalAlign type
2021-05-24 21:06:34 +03:00
c3e92c0709
update file/numbering with schema comments and values functions
2021-05-24 21:04:38 +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
54ab55b92c
simplify section-properties
2021-05-24 05:39:26 +03:00
5155cdaf45
unify Border type
2021-05-24 05:39:26 +03:00
f5e35603ef
remove invalid w:mirrorMargins attribute from w:pgMar
2021-05-20 03:42:10 +03:00
30912e7aaf
Fix ordering of elements in table-cell-borders and section-properties
2021-05-20 02:18:17 +03:00
3299c557a0
Make .addSection fully declarative
2021-03-19 20:53:56 +00:00
a3febae8a3
Inline single use interfaces
2021-03-15 00:11:39 +00:00
cc9a966f53
Improve tests
2021-03-13 19:53:36 +00:00
566ac03f9a
Use context in prep xml
2021-03-11 01:06:55 +00:00
cd501bba0a
Add tests
2021-03-09 22:59:50 +00:00
89c2e14979
Merge branch 'master' of github.com:dolanmiu/docx into feature/separator
...
# Conflicts:
# src/file/document/body/section-properties/section-properties.ts
2021-03-09 22:37:37 +00:00
e5da573041
Clean up table with improved demo
2021-03-05 03:03:02 +00:00
f3f65da207
#732 Add line between columns (separate)
2021-03-04 03:02:07 +00:00
c6e9696be0
#532 Make hyperlinks work on the Header and Footer
2021-03-01 03:28:35 +00:00
655b40d418
Work on moving Document into its own wrapper
2021-02-28 16:04:21 +00:00
0de7116b78
#773 Better hyperlink and bookmark syntax
...
Allow for images to be hyperlinked as well
2021-02-27 19:23:29 +00:00
bfd0f0c7bb
Fix linting
2021-02-22 21:12:38 +00:00
858a994d13
#339 Add Section Type
2021-02-22 21:04:02 +00:00
502db14bba
Add Convenience functions
2020-12-24 03:37:43 +00:00
60eb686d05
Add shading to paragraph
2020-10-28 01:05:31 +00:00
ed52ef358b
Background color for document
2020-10-27 01:54:40 +00:00
f0ad1e9194
feat: Add decimalFullWidth numbering type
2020-07-31 16:36:56 +09:00
437e83ab78
:feat: refine paragraph/run properties options
2020-07-14 15:42:45 +08:00
5bca7d155f
Restart page numbering
...
Add separator option
2020-02-28 18:44:41 +00:00
f8da2c311b
Merge branch 'master' of github.com:dolanmiu/docx into feat/right-indent
2019-12-27 01:37:37 +00:00
c68dc8c52a
Make hyperlinks declarative
2019-12-18 21:11:15 +00:00
96471ecb45
Fix for empty first paragraph
...
If there is only one section, remove the extraneous empty paragraph during XML creation.
2019-12-15 22:56:24 +02:00
8566c64eab
improve coverage
2019-10-31 17:01:17 +02:00
afd468277e
refactor code
2019-10-31 13:54:53 +02:00
2276572902
add ability to vertically align content of section
2019-10-29 12:55:15 +02:00
a37c9d8f2f
Revert "fix: try to remove unnecessary paragraph", which caused #418
...
This reverts commit cb74868247
.
2019-10-03 22:12:23 -05:00
172c333357
Add tests and clean up code
2019-09-29 04:17:21 +01:00
cb74868247
fix: try to remove unnecessary paragraph
2019-08-29 20:52:05 +09:00
ac5b15d0e3
Mandatory Sections
2019-07-31 08:48:02 +01:00
f33d6da65a
Merge branch 'master' into feat/declaritive
...
# Conflicts:
# src/file/paragraph/formatting/border.spec.ts
# src/file/paragraph/links/outline-level.spec.ts
# src/file/paragraph/run/run.spec.ts
2019-07-02 01:33:41 +01:00