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
e69b063687
Porting tests over to vitest
2023-06-05 00:33:43 +01:00
352cde743f
Fix TS issues
2023-05-31 22:56:58 +01:00
982d923553
Improve import alias
...
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
e08ad990a8
add an ability to specify charSpace and type for DocumentGrid
2021-11-30 21:42:48 +09:00
0be6f31611
#1303 Re-name methods to be full english words
2021-11-26 15:07:15 +00:00
9cddfb4ce7
ability to specify textDirection for section
2021-11-23 10:52:17 +09:00
63cea76eac
update file/document and section-properties
2021-05-25 03:43:16 +03:00
e198f0752a
add schema comments and update file/document; unify VerticalAlign type
2021-05-24 21:06:34 +03:00
f5e35603ef
remove invalid w:mirrorMargins attribute from w:pgMar
2021-05-20 03:42:10 +03:00
30912e7aaf
Fix ordering of elements in table-cell-borders and section-properties
2021-05-20 02:18:17 +03:00
3299c557a0
Make .addSection fully declarative
2021-03-19 20:53:56 +00:00
cd501bba0a
Add tests
2021-03-09 22:59:50 +00:00
89c2e14979
Merge branch 'master' of github.com:dolanmiu/docx into feature/separator
...
# Conflicts:
# src/file/document/body/section-properties/section-properties.ts
2021-03-09 22:37:37 +00:00
f3f65da207
#732 Add line between columns (separate)
2021-03-04 03:02:07 +00:00
858a994d13
#339 Add Section Type
2021-02-22 21:04:02 +00:00
502db14bba
Add Convenience functions
2020-12-24 03:37:43 +00:00
8566c64eab
improve coverage
2019-10-31 17:01:17 +02:00
172c333357
Add tests and clean up code
2019-09-29 04:17:21 +01:00
cbbc4a80e7
FIx up API for column count
2019-06-28 01:57:43 +01:00
1dfc27ba08
Multiple columns in a section
2019-06-21 01:22:27 +05:30
816cb54b14
Optimize XML output by properly constructing objects to send to the xml library so that it can produce proper empty elements.
...
Rework the way attributes are stored in ImportedXmlComponent to match elsewhere (required allowing for a null xmlKeys in the XmlAttributeComponent interface).
Rework the way paragraphs get added to the end of table cells if needed.
The goal in both reworks is to not mess around with the objects output from `prepForXml` if we can avoid it.
Made the output of RunProperties, ParagraphProperties, TableCellProperties, TableRowProperties, and TableProperties all optional based on whether they contain any attributes or children. Changed code in PageBorders, TableCellMargin, and TableCellBorders that implemented this same thing by overriding `prepForXml` so that it uses the new XmlComponent subclass instead.
Removed commented out code that attempted to fix-up XML output and make proper empty elements.
Fixed all affected tests.
Turn off `no-null-keyword` in the linter as we need to use null to signal to the `xml` library to create an empty element with no attributes (`undefined` will not work in its place).
Fixes #306
2019-04-09 05:27:18 -04:00
5552f9d834
The page number type attribute of the sections was always been created, leading Word to always reset page numbers to zero in new sections.
...
The page number type DECIMAL is already the default in Word, there is no need to force this to be the default option in the default section, like it was.
2018-11-09 09:13:27 -02:00
4742cf0f3f
Clean imports
2018-10-26 01:04:07 +01:00
9c66db97ff
Use single media instead of multiple
2018-10-23 00:31:51 +01:00
97f76fb62c
Change to new header API
2018-10-05 01:33:17 +01:00
466e880bfc
Merge from master
2018-09-25 23:46:55 +01:00
50569224c3
Fixed tests (included mirrorMargins attr)
2018-09-18 23:50:10 -03:00
d1d1e01aff
lint fix
2018-09-17 11:29:01 +03:00
980bc597e2
test fixes
2018-09-17 11:24:56 +03:00
385ad92331
Fix linting errors
2018-09-07 21:48:59 +01:00
4994bca34c
Fix some linting errors
2018-09-06 08:30:23 +01:00
e08be3d7a4
update template
2018-09-04 17:31:30 +03:00
03c4190c2c
works!
2018-09-04 17:16:31 +03:00
5f594a822f
Fix and enable linting on tests
2018-08-09 23:29:40 +01:00
796e000826
feature: add support for section page borders
2018-07-03 13:48:31 +02:00
0b963ec3b8
feature: add support to add mutiple sections to the document inc. headers and footers
...
- write missing tests
2018-06-21 12:03:34 +02:00
635c58c131
Fix tests
2018-01-28 20:23:30 +00:00
4339f8cfc0
Add section properties
2018-01-25 01:21:03 +00:00