Commit Graph

164 Commits

Author SHA1 Message Date
c6bb255641 Add hyphenation support (#2678)
* Add hyphenation support

* Remove unneeded linebreaks

* Add documentation and fix eslint

* Add tests

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
2024-11-21 10:41:31 +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
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
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
0388a564b5 Deprecate import dotx 2023-03-17 00:20:55 +00:00
21a6767c6f Add strict types for file child 2023-01-23 14:14:05 +00:00
f789f60e22 Optional background property 2022-12-09 21:07:08 +00:00
988987ddbe #1126 - Add all comptability options 2022-10-29 15:10:02 +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
a7d55a52f3 #1583 Comments to always write default data 2022-07-12 16:57:25 +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
b81086ab7a feat: transfer comments property to File CoreProperties like numbering. 2022-03-07 20:02:14 +08:00
b2a09b512f implement sample version of Comment feature. 2022-03-03 09:59:09 +08:00
47099d0468 Change type of revision to a number 2021-10-08 15:55:58 -06:00
60b7ce4785 clean up settings; BREAKING: TableOfContents requires Document features.updateFields = true setting 2021-05-26 08:36:05 +03:00
63cea76eac update file/document and section-properties 2021-05-25 03:43:16 +03:00
3299c557a0 Make .addSection fully declarative 2021-03-19 20:53:56 +00:00
c7075d740f #251 Turning off default headers by default 2021-03-16 01:23:23 +00:00
131183ae19 #613 #439 Even and odd headers 2021-03-16 00:57:27 +00:00
993782129c Simplify for loop 2021-03-08 04:33:15 +00:00
2d4a452d2e Merge branch 'master' into feat/right-indent
# Conflicts:
#	demo/21-bookmarks.ts
#	package-lock.json
#	src/file/core-properties/properties.ts
#	src/file/file.spec.ts
#	src/file/file.ts
#	src/file/footnotes/footnote/footnote.spec.ts
#	src/file/footnotes/footnote/footnote.ts
#	src/file/footnotes/footnotes.ts
2021-03-08 03:40:11 +00:00
5fc28cb67d Move custom properties to properties 2021-03-07 21:27:38 +00:00
603dd36458 Merge pull request #789 from dolanmiu/feat/compat-mode
#627 Add footnotes relationships
2021-03-02 00:43:00 +00:00
736ca6a46d Merge branch 'master' into custom-properties 2021-03-02 00:01:03 +00:00
f90e84a88d #627 Add footnotes relationships 2021-03-01 23:35:52 +00:00
655b40d418 Work on moving Document into its own wrapper 2021-02-28 16:04:21 +00:00
0de7116b78 #773 Better hyperlink and bookmark syntax
Allow for images to be hyperlinked as well
2021-02-27 19:23:29 +00:00
10455a534f #332 Compatability mode 2021-02-27 01:40:55 +00:00
30ab92652c move file options.defaultStyles to options.styles.default 2020-11-30 10:25:58 -06:00
8d4a07302b Add defaultStyles option to overwrite the core default styles (Heading 1-6, document, hyperlinks, etc) 2020-11-24 13:30:26 -06:00
34b2029efe Change API of track revisions to declarative 2020-11-04 00:00:16 +00:00
ed52ef358b Background color for document 2020-10-27 01:54:40 +00:00
870c222dd5 Allow custom text properties to be included 2020-08-03 17:08:04 +12:00
d18cfbc26f Update tslint to v6 2020-08-01 17:58:16 +01:00
9c11653313 Multiple paragraphs in footnotes 2020-01-01 20:22:42 +00:00
1a9e71bfa1 Add children and section tests for File 2019-12-27 01:21:19 +00:00
3591e11637 Add hyperlink cache test 2019-12-24 16:31:35 +00:00
b83d2c388f Make Bookmark declarative 2019-12-21 03:59:40 +00:00
3fdbca939e Make internal hyperlink declarative 2019-12-21 03:31:09 +00:00
c68dc8c52a Make hyperlinks declarative 2019-12-18 21:11:15 +00:00
2bece0bb61 Make create footnote declarative 2019-12-03 23:04:48 +00:00
e9d3853d93 Merge pull request #448 from Sraleik/master
fix hyperlink id
2019-11-12 00:48:21 +00:00
e8410ff692 fix lint 2019-11-08 11:22:27 +01:00
3427d220c7 fix hyperlink id 2019-11-08 11:01:26 +01:00