Dolan
1bf36009e8
#916 Add overflow punctuation ( #2478 )
...
* #916 Add overflow punctuation
* Fix tests
2023-12-25 04:09:54 +00:00
Dolan
a3c796aae3
Add deprecation warning to addChildElement ( #2476 )
2023-12-25 02:54:46 +00:00
Dolan
c3080ff9d9
Update vitest ( #2475 )
...
* Update vitest
* Update vite test config
* Fix coverage metrics and bump coverage
2023-12-25 02:47:43 +00:00
Dolan
2bd4aacdd5
#2388 - Add default tab stop ( #2470 )
...
* #2388 - Check for undefined rather than falsey
* Add default tab stop
* Add back tab stop positions
* Add test for default tab stop
2023-12-24 03:37:36 +00:00
Stepan Svechnikov
a756a7697c
Change all project enums to objects with as const ( #2445 )
...
* feat: change all enums to as const objects
* Add word to dictionary
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2023-12-22 01:25:00 +00:00
yuanliwei
d83e089cd3
add run options to ParagraphPropertiesOptions ( #2457 )
2023-12-22 01:21:12 +00:00
Morlay
579593a467
Run prop snapToGrid should be false
2023-12-06 10:15:46 +08:00
Dolan Miu
35702c3f77
Upgrade @typescript-eslint/parser
2023-11-01 22:52:41 +00:00
Dolan Miu
d4f160732a
Use Record instead of Object
2023-11-01 20:56:02 +00:00
Dolan
438d11dd86
Merge pull request #2387 from wilkmaia/fix/patch-styling
...
Fix style being missed on patchDocument
2023-11-01 20:54:23 +00:00
Dolan Miu
d23b0d0789
Fix coverage
2023-11-01 20:40:30 +00:00
Meng Jun
379050dccd
Merge pull request #1 from dolanmiu/master
2023-10-27 03:31:07 +08:00
Wilk Maia
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
rahon6000 center
3a36d912fe
changed default section margin from inch to Twip
2023-10-12 12:14:13 +09:00
Meng Jun
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
Dolan Miu
8da57bec51
Bump prettier
...
Fix new prettier issues
2023-07-21 20:11:52 +01:00
Dolan Miu
28d93b0c42
Remove default browser export
...
Fixes Angular issue
2023-07-20 20:46:53 +01:00
Dolan Miu
d94348f5ca
Export correct type in patchDocument
2023-07-18 20:49:43 +01:00
Dolan
dcd3e90b19
Merge pull request #2201 from performonkey/master
...
Fix patch doc add duplicate content type
2023-06-29 15:05:44 +01:00
p10y
b0d60109c9
Fix prettier issue
2023-06-29 10:43:44 +08:00
Dolan Miu
dfffb066f3
Fix override order in default styles
2023-06-28 21:40:20 +01:00
p10y
4f06d760a3
Fix patch doc add duplicate content type
2023-06-28 23:34:16 +08:00
Dolan Miu
210d9c58f2
Improve API for check boxes
2023-06-25 03:09:29 +01:00
Juan D
414d0248f5
Update Checkbox test description
2023-06-23 15:36:08 -04:00
Juan D
fa400bcf39
update CheckBox and tests to handle optional alias field
2023-06-23 13:06:18 -04:00
Juan D
9e9ca526fe
Prettier syntax update of sdt-properties
2023-06-23 13:05:21 -04:00
Juan D
41c0fb5fc0
Update sdt-properties to make alias optional
2023-06-23 13:04:28 -04:00
Juan D
58e7dbf445
Revert "Modify sdt-properties to accommodate for children elements"
...
This reverts commit f706d8e62d
.
2023-06-22 15:39:39 -04:00
Juan D
20e0213c7d
Revert "Revert unnecessary changes to sdt-properties"
...
This reverts commit d1f75e3a42
.
2023-06-22 15:37:00 -04:00
Juan D
b8f83fd6ad
Update CheckBox element and test file according to sdt-properties correction
2023-06-22 15:21:45 -04:00
Juan D
d1f75e3a42
Revert unnecessary changes to sdt-properties
2023-06-22 15:20:56 -04:00
Juan D
337ff464cf
Modify/create index files to handle exporting
2023-06-22 14:51:10 -04:00
Juan D
cad4a5510b
Create test files for CheckBox and CheckBoxUtil
2023-06-22 14:50:07 -04:00
Juan D
aa8438d8bd
Create CheckBox element and supporting child elements
2023-06-22 14:49:03 -04:00
Juan D
79363c2c2c
Modify Pargraph's children to accept CheckBox
2023-06-22 14:43:10 -04:00
Juan D
f706d8e62d
Modify sdt-properties to accommodate for children elements
2023-06-22 14:42:17 -04:00
Dolan Miu
e4eeb3f87f
Fix spelling
2023-06-14 01:55:47 +01:00
Dolan Miu
a168dc1c15
Remove redundant code
2023-06-14 01:17:44 +01:00
Dolan Miu
99dee460ae
Fix prettier
2023-06-13 20:55:20 +01:00
Pulpgrinder Dev Team
36e9ac1179
Adding tests for noProof option
2023-06-13 20:27:28 +01:00
Pulpgrinder Dev Team
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
Dolan Miu
d08349f8eb
Fix tests
2023-06-12 19:19:41 +01:00
Dolan Miu
b6e5b23f89
Fix linting
2023-06-12 19:09:37 +01:00
Dolan Miu
8dd8c079e7
Fix tests
2023-06-12 19:02:12 +01:00
Dolan Miu
eeee01a0e0
Use C8 for coverage
2023-06-12 18:43:29 +01:00
Dolan Miu
09ab91eeef
Fix tests and build
...
Remove unused code and dependencies
2023-06-08 13:30:31 +01:00
Dolan Miu
a0a88412ff
Fix tests
2023-06-07 15:11:47 +01:00
Dolan Miu
972fa77265
Fix tests
2023-06-07 03:19:54 +01:00
Dolan Miu
e69b063687
Porting tests over to vitest
2023-06-05 00:33:43 +01:00
Dolan Miu
a89919397d
Merge branch 'master' into feat/deprecate-shelljs
...
# Conflicts:
# src/file/numbering/numbering.ts
2023-06-01 02:08:08 +01:00