Commit Graph

402 Commits

Author SHA1 Message Date
2d2e4cdab2 fix: Missing text property for patchDocument (#2760)
* fix: Missing text property

Ignore <br /> for patched files

* Fix spelling issues
2024-10-13 01:29:32 +01:00
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
6929dee846 Revery demo 14 (#2495) 2023-12-31 14:22:22 +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
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
10b87b5a70 Run demo GitHub Action in parallel (#2484)
* Run demo GitHub Action in parallel

* Fix path of action yml

* Move checkout to demo action

* Prettier format

* Specifying shell

* Try to fix uses

* Fix spelling issue

* Fix demo

* Downloading artifacts too unreliable

Building instead

* Re-name step

Re-use action elsewhere
2023-12-25 15:29:13 +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
d04c42cbe8 Use esm for ts-node (#2459)
* Use esm for ts-node

* Add esm flag

* Change tsconfig properties

* Use tsx rather than ts-node

* Use tsx

* Remove ts-node
2023-12-22 01:10:54 +00:00
8da57bec51 Bump prettier
Fix new prettier issues
2023-07-21 20:11:52 +01:00
0c51082bb9 Add logging output to demo 2023-07-18 21:07:19 +01:00
222a25e4e2 Compile umd version as .js format 2023-07-18 01:53:56 +01:00
25f657b842 Add right align example 2023-06-28 22:02:09 +01:00
dfffb066f3 Fix override order in default styles 2023-06-28 21:40:20 +01:00
210d9c58f2 Improve API for check boxes 2023-06-25 03:09:29 +01:00
9aba21e64c Add filtering and ordering to list of demos 2023-06-14 03:44:46 +01:00
668f4f4e78 Remove unused imports 2023-06-12 19:45:03 +01:00
28ad740473 Fix linting 2023-06-12 19:21:22 +01:00
09ab91eeef Fix tests and build
Remove unused code and dependencies
2023-06-08 13:30:31 +01:00
e69b063687 Porting tests over to vitest 2023-06-05 00:33:43 +01:00
0cbb5fb0a3 Convert to vite and clean up build 2023-06-01 02:05:35 +01:00
a26292a0fd Trying to upgrade docx to use Vite 2023-05-01 20:37:39 +01:00
18b2e91da2 Merge branch 'master' into feat/deprecate-shelljs 2023-05-01 16:36:43 +01:00
0386810714 Write tests and simplify logic 2023-04-04 22:21:01 +01:00
c3a617fefd #2028 - Null check 2023-03-31 00:13:36 +01:00
5e14bc6c2a Install execa 2023-03-30 20:13:35 +01:00
c57aaa856d Update comments demo 2023-03-30 19:43:09 +01:00
ab063eee08 Add helper function patchDocument example 2023-03-28 20:16:34 +01:00
16bfc78d8d #2028 Fix patcher offset indexes 2023-03-23 21:01:24 +00:00
714dbc0179 Add horizontal rule to border example 2023-03-19 15:47:45 +00:00
d5b495df5b #1988 Allow for children in comments 2023-03-19 00:18:38 +00:00
0388a564b5 Deprecate import dotx 2023-03-17 00:20:55 +00:00
4fb8d277b4 Change demo import from src to build 2023-03-16 20:33:54 +00:00
7e9884081e Add tests to patcher 2023-03-16 01:55:18 +00:00
8ce057e25c Context per view wrapper 2023-03-13 21:35:16 +00:00
0fba450c9a Allow patching of ExternalHyperlinks 2023-03-08 23:30:51 +00:00
6ad18420e5 Add hyperlink to demo 2023-03-05 18:46:02 +00:00
66a1992da0 Add ImageRun feature 2023-03-03 23:47:50 +00:00
c9d86619de Clean up 2023-02-25 22:18:56 +00:00
ce485dbc29 Simplify patcher
Use map notation
2023-02-25 22:18:31 +00:00
3f6c006716 Allow for it to work with all xml files under word/ 2023-02-25 19:34:04 +00:00
f8f5d43b0c Allow for Paragraph and array patching 2023-02-25 19:33:12 +00:00
f3dc1f0712 Work on replacer logic 2023-02-24 01:05:43 +00:00
5233b4b5e6 Simple patcher working 2023-02-18 20:36:24 +00:00
86de252a52 Extract runs and text 2023-02-17 10:38:03 +00:00
c206d23480 work on docx patcher 2023-02-16 20:17:48 +00:00
ffd998cbf5 Simple import and export of document 2023-02-08 03:18:11 +00:00