c4ed19e589
Add math limit component ( #2510 )
2024-01-03 00:13:13 +00:00
13cf3eee5a
Feature/multiple patch document exports ( #2497 )
...
* Turn patch document into options object
Add outputType to options
* Set keep styles to true by default
* Simplify method
* Rename variable
* #2267 Multiple patches of same key
* Remove path which won't be visited
2023-12-31 23:16:48 +00:00
24c159de37
Add SVG image suport ( #2487 )
...
* Add SVG blip extentions
* SVG Image feature now works
* Add and simplify tests
* Fix falsey issue with file
Write tests
100% Coverage
2023-12-31 18:54:35 +00:00
010ef05ce3
Feat/embedded fonts ( #2174 )
...
* #239 Embedded fonts
* Add boilerplate for font table
* Fix linting
* Fix linting
* Fix odttf naming
* Correct writing of fonts to relationships and font table
new uuid function
* Add font to run
* Add demo
Fix tests
* Add character set support
* Add tests
* Write tests
2023-12-30 02:23:54 +00:00
fa401297da
Re-name variables ( #2486 )
2023-12-29 23:52:43 +00:00
b8f97553b3
#933 Discriminated union for frame alignment ( #2477 )
2023-12-29 15:07:42 +00:00
d23f453d28
Add image borders ( #2472 )
...
* Add image borders
* Fix prettier
* Fix spelling
* Fix spelling
* Finish feature
* Update demo
* Try and fix demo 14
2023-12-27 20:20:45 +00:00
6c28f8bab0
Page number in section ( #2485 )
...
* Page number in section
* Inline Lorem Ipsum
* Re-name current page in section to current section
2023-12-25 22:29:32 +00:00
1bf36009e8
#916 Add overflow punctuation ( #2478 )
...
* #916 Add overflow punctuation
* Fix tests
2023-12-25 04:09:54 +00:00
a3c796aae3
Add deprecation warning to addChildElement ( #2476 )
2023-12-25 02:54:46 +00:00
c3080ff9d9
Update vitest ( #2475 )
...
* Update vitest
* Update vite test config
* Fix coverage metrics and bump coverage
2023-12-25 02:47:43 +00:00
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
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
d83e089cd3
add run options to ParagraphPropertiesOptions ( #2457 )
2023-12-22 01:21:12 +00:00
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