Commit Graph

138 Commits

Author SHA1 Message Date
e86dbd3398 Change ImageRun keys to be based on image data content (#2681)
Co-authored-by: Dolan <dolan_miu@hotmail.com>
2024-10-11 01:13:51 +01:00
e20bd66663 Limit the list of supported highlight colors (#2522)
* Limit the list of supported highlight colors

* Fix tests: use fixed highlight color values

---------

Co-authored-by: ilyasogonov <sogonov.ilya@customscard.ru>
2024-01-12 00:16:15 +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
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
c3080ff9d9 Update vitest (#2475)
* Update vitest

* Update vite test config

* Fix coverage metrics and bump coverage
2023-12-25 02:47:43 +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
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
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
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
e77a7dfdcd tests: fixup tests and linting issues 2023-05-04 12:30:31 +03: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
d5b495df5b #1988 Allow for children in comments 2023-03-19 00:18:38 +00:00
c21d45a79e Merge pull request #1859 from dolanmiu/feat/more-run-props
Add more run properties and Universal measure
2023-01-05 22:28:18 +00:00
b1872bcb95 Merge pull request #1866 from dolanmiu/hot-fix/return-constructor-value
Fix more empty return values
2023-01-05 14:18:11 +00:00
7f88a38219 Fix more empty return values 2023-01-04 22:45:27 +00:00
e4e5b1e4f6 Merge pull request #1861 from dolanmiu/hot-fix/return-constructor-value
Hot fix/return constructor value
2022-12-30 16:40:35 +00:00
2435ebf16e Correctly return value from constructor 2022-12-30 16:16:59 +00:00
4513bb529b Add more run properties and Universal measure 2022-12-29 09:57:15 +00:00
fe8b0a6b2b #1699 Allow images to work with Hyperlink
Add stack to IContext for prepForXml
2022-12-26 15:12:44 +00:00
11bebd42ac #940 - Add positional tab feature
Also add extra run elements as per spec
2022-12-24 19:32:44 +00:00
3282f762df Add language support 2022-12-20 21:42:26 +00:00
03d5152e7c Add BuilderElement and lang 2022-12-18 00:52:29 +00:00
8509bccc4f Fix comment tests to support testing in different time zones 2022-12-10 13:06:22 +02:00
984e762a53 Fix test 2022-12-06 23:42:22 +00:00
1592aa7117 Add underline none
Add space options for Text
2022-12-06 22:04:30 +00:00
1b06fc71cf #1507 - Add scale for run 2022-11-03 00:30:16 +00:00
7d8cfc0382 Move SpaceType to shared 2022-10-29 03:10:29 +01:00
4cfb0ade88 #1744 - Add vanish and specVanish 2022-10-28 22:20:16 +01:00
75e064dd1d #1281 - Tab feature 2022-10-27 00:17:02 +01:00
d2c0e656d0 Add tests 2022-10-26 23:43:51 +01:00
522b21862b #756 Adding alt text feature 2022-10-26 23:09:36 +01:00
9bed303d34 #1529 - Word wrap feature 2022-10-25 18:53:00 +01:00
5950055cca Fix linting and add new lint rules 2022-09-19 20:48:50 +01:00
e90d97b813 Use new eslint-plugin-functional instead of tslint-immutable 2022-09-15 20:00:50 +01:00
ebcb37cbed Fix ESLinting errors and remove TSLint 2022-08-31 08:59:27 +01:00
1bdf9a4987 Initial ESlint conversion 2022-08-31 07:52:27 +01:00
982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
9827ed30bb Write tests, improve API, create documentation 2022-06-22 23:35:46 +01:00
233a29bfef Fix tests and linting 2022-06-19 00:31:36 +01:00
d6ec275778 Merge remote-tracking branch 'github.com/master' 2022-06-17 17:53:13 +08:00