579593a467
Run prop snapToGrid should be false
2023-12-06 10:15:46 +08:00
35702c3f77
Upgrade @typescript-eslint/parser
2023-11-01 22:52:41 +00:00
d4f160732a
Use Record instead of Object
2023-11-01 20:56:02 +00:00
438d11dd86
Merge pull request #2387 from wilkmaia/fix/patch-styling
...
Fix style being missed on patchDocument
2023-11-01 20:54:23 +00:00
d23b0d0789
Fix coverage
2023-11-01 20:40:30 +00:00
379050dccd
Merge pull request #1 from dolanmiu/master
2023-10-27 03:31:07 +08:00
a89ee463e6
Fix style being missed on patchDocument
...
There were scenarios in which patching a document would result in loss
of style for the template runs and, possibly, their right-adjacent run
as well (post-splitting). That was due to the run style elements not
being added to the newly created runs.
This commit addresses this issue by introducing a new, optional, flag
for the `patchDocument` function: `keepOriginalStyles`. It defaults to
`false` (current behavior) and, when `true`, ensures that there is no
loss of styling.
This should address https://github.com/dolanmiu/docx/issues/2293 .
2023-10-18 12:58:01 -03:00
3a36d912fe
changed default section margin from inch to Twip
2023-10-12 12:14:13 +09:00
3997b7a5d6
fix : #2082 Numbering instance restart number not work since v8.0.0 and work well in v7.8.2
2023-09-13 17:08:59 +08:00
8da57bec51
Bump prettier
...
Fix new prettier issues
2023-07-21 20:11:52 +01:00
28d93b0c42
Remove default browser export
...
Fixes Angular issue
2023-07-20 20:46:53 +01:00
d94348f5ca
Export correct type in patchDocument
2023-07-18 20:49:43 +01:00
dcd3e90b19
Merge pull request #2201 from performonkey/master
...
Fix patch doc add duplicate content type
2023-06-29 15:05:44 +01:00
b0d60109c9
Fix prettier issue
2023-06-29 10:43:44 +08:00
dfffb066f3
Fix override order in default styles
2023-06-28 21:40:20 +01:00
4f06d760a3
Fix patch doc add duplicate content type
2023-06-28 23:34:16 +08:00
210d9c58f2
Improve API for check boxes
2023-06-25 03:09:29 +01:00
414d0248f5
Update Checkbox test description
2023-06-23 15:36:08 -04:00
fa400bcf39
update CheckBox and tests to handle optional alias field
2023-06-23 13:06:18 -04:00
9e9ca526fe
Prettier syntax update of sdt-properties
2023-06-23 13:05:21 -04:00
41c0fb5fc0
Update sdt-properties to make alias optional
2023-06-23 13:04:28 -04:00
58e7dbf445
Revert "Modify sdt-properties to accommodate for children elements"
...
This reverts commit f706d8e62d
.
2023-06-22 15:39:39 -04:00
20e0213c7d
Revert "Revert unnecessary changes to sdt-properties"
...
This reverts commit d1f75e3a42
.
2023-06-22 15:37:00 -04:00
b8f83fd6ad
Update CheckBox element and test file according to sdt-properties correction
2023-06-22 15:21:45 -04:00
d1f75e3a42
Revert unnecessary changes to sdt-properties
2023-06-22 15:20:56 -04:00
337ff464cf
Modify/create index files to handle exporting
2023-06-22 14:51:10 -04:00
cad4a5510b
Create test files for CheckBox and CheckBoxUtil
2023-06-22 14:50:07 -04:00
aa8438d8bd
Create CheckBox element and supporting child elements
2023-06-22 14:49:03 -04:00
79363c2c2c
Modify Pargraph's children to accept CheckBox
2023-06-22 14:43:10 -04:00
f706d8e62d
Modify sdt-properties to accommodate for children elements
2023-06-22 14:42:17 -04:00
e4eeb3f87f
Fix spelling
2023-06-14 01:55:47 +01:00
a168dc1c15
Remove redundant code
2023-06-14 01:17:44 +01:00
99dee460ae
Fix prettier
2023-06-13 20:55:20 +01:00
36e9ac1179
Adding tests for noProof option
2023-06-13 20:27:28 +01:00
df619ffe49
Added style support for noProof option.
...
Useful for blocks of source code, and
possibly other things that cause the grammar
and spelling checkers to go nuts.
Example usage:
run: {
font:"Consolas",
color: "0000AA",
break:1,
noProof:true,
},
Also added section to .gitignore to exclude
Mac .DS_Store files. These are useless on
anything other than a Mac.
2023-06-13 20:26:45 +01:00
d08349f8eb
Fix tests
2023-06-12 19:19:41 +01:00
b6e5b23f89
Fix linting
2023-06-12 19:09:37 +01:00
8dd8c079e7
Fix tests
2023-06-12 19:02:12 +01:00
eeee01a0e0
Use C8 for coverage
2023-06-12 18:43:29 +01:00
09ab91eeef
Fix tests and build
...
Remove unused code and dependencies
2023-06-08 13:30:31 +01:00
a0a88412ff
Fix tests
2023-06-07 15:11:47 +01:00
972fa77265
Fix tests
2023-06-07 03:19:54 +01:00
e69b063687
Porting tests over to vitest
2023-06-05 00:33:43 +01:00
a89919397d
Merge branch 'master' into feat/deprecate-shelljs
...
# Conflicts:
# src/file/numbering/numbering.ts
2023-06-01 02:08:08 +01:00
0cbb5fb0a3
Convert to vite and clean up build
2023-06-01 02:05:35 +01:00
352cde743f
Fix TS issues
2023-05-31 22:56:58 +01:00
e77a7dfdcd
tests: fixup tests and linting issues
2023-05-04 12:30:31 +03:00
a26292a0fd
Trying to upgrade docx to use Vite
2023-05-01 20:37:39 +01:00
a0437381e7
fix: do not use static numeric counters
2023-04-28 13:17:02 +03:00
704c678333
fix: unit tests fix
2023-04-19 16:51:03 +03:00