a708475539
export IPropertiesOptions for use by other libraries or code using docx library ( #2979 )
...
* export IPropertiesOptions for use by other libraries or code using docx library
* fixes #2978 : export OutputTypes
* Export file in main index file
* Move type export to inside
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2025-03-15 03:18:43 +00:00
170309a7ed
Add Packer.pack and Packer.toArrayBuffer ( #2959 )
...
* Add Packer.pack and Packer.toArrayBuffer
To mirror patchDocument's outputType parameter.
See https://github.com/dolanmiu/docx/discussions/2920
* Ignore coverage
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2025-02-16 18:24:15 +00:00
3654eb0800
New Textbox Component ( #2718 )
...
* Adding textbox with no props
* Fixing namings and adding shape style
* simplify usage
* Fix linting issues
* Re-name demo
* Use new shape authoring style
* Add tests
Simplify API
* Add better types for styles
* Add more options to TextBox and add documentation
---------
Co-authored-by: zohar11 <zohar@sumit-ai.com >
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-11-28 10:33:19 +00:00
2381ba8a05
build(deps-dev): bump eslint from 8.57.1 to 9.13.0 ( #2792 )
...
* build(deps-dev): bump eslint from 8.57.1 to 9.13.0
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.1 to 9.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Upgrade EsLint
* Fix all new lint errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-10-21 03:57:15 +01:00
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
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
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
c59c5350fd
fix: added unique numeric id creator to avoid numbering render errors
2023-04-18 15:15:38 +03:00
6defb686bb
Remove unessesary checks for values
2023-01-05 21:39:46 +00:00
f255d4c141
Fix tests
2022-12-29 12:12:53 +00:00
4513bb529b
Add more run properties and Universal measure
2022-12-29 09:57:15 +00: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
ab9f97598c
#1584 Fix test names
2022-07-12 17:10:37 +01:00
6d447033c9
Fix more spelling rules
2022-07-05 05:06:32 +01:00
982d923553
Improve import alias
...
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00