Commit Graph

1999 Commits

Author SHA1 Message Date
05a6ab77cc improve test coverage 2021-05-26 10:14:19 +03:00
5a52541136 add xsd comments to file/drawing 2021-05-26 09:28:31 +03:00
e4709a7f8d simplify core-properties; add xsd comment 2021-05-26 09:27:05 +03:00
60b7ce4785 clean up settings; BREAKING: TableOfContents requires Document features.updateFields = true setting 2021-05-26 08:36:05 +03:00
da61a30eb8 fix measurementOrPercentValue definition to include UniversalMeasure values 2021-05-25 05:05:33 +03:00
3a02bc087c fix demos. BREAKING: PageNumberFormat enum renamed to NumberFormat 2021-05-25 04:46:10 +03:00
b05748da25 update file/styles 2021-05-25 04:27:10 +03: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
22e62ed950 add NumberValueElement, representing a simple element with a single number value <foo w:val="1234"/> 2021-05-24 21:05:29 +03:00
c3e92c0709 update file/numbering with schema comments and values functions 2021-05-24 21:04:38 +03:00
d0036e64b5 Add additional values functions for defined types 2021-05-24 21:03:37 +03:00
7bfe8f26f0 progress on clean up file/paragraph 2021-05-24 17:12:10 +03:00
4466145d00 add values checks to remaining file/table code 2021-05-24 12:04:06 +03:00
ce2a0fb864 remove more duplicate classes; add additional values functions; clean up tests 2021-05-24 11:28:10 +03:00
a56119e7cd remove deprecated mutable drawing functions: scale, setXY 2021-05-24 09:26:21 +03:00
56eecef1a8 add tests for values functions 2021-05-24 09:13:46 +03:00
097c6a5962 use hexColorValue in borders and underlines 2021-05-24 08:42:34 +03:00
ee105cdb83 Simplify run format properties, removing duplicate classes. Add values functions, which check and clean up values for specific defined types from the schema 2021-05-24 08:20:08 +03:00
449e1ed963 add test for table indent property 2021-05-24 05:39:26 +03:00
dd6d1bc039 Consolidate TableWidth and TableCellMargins types; add Table indent (#954) 2021-05-24 05:39:26 +03:00
528be93191 fix #507 - docx file not opening in edit mode in word and word online 2021-05-24 05:39:26 +03:00
1ea6017483 add test for floating vertical position 2021-05-24 05:39:26 +03:00
08bd2744b6 further clean up border code; update paragraph borders to use shared type; BREAKING: paragraph border value attr renamed to style, to match other usages of borders 2021-05-24 05:39:26 +03:00
54ab55b92c simplify section-properties 2021-05-24 05:39:26 +03:00
5155cdaf45 unify Border type 2021-05-24 05:39:26 +03:00
496fcb55fa unify Shading; breaking change: Paragraph/Run shading option key type changed to val, and shadow alias removed 2021-05-24 05:39:26 +03:00
fcc393aca2 move break up higher in order, to use the simpler push instead of splice 2021-05-24 05:39:26 +03:00
2611e0c74f update table-row-properties, table-cell-properties, table-cell-borders to declarative style 2021-05-24 05:39:26 +03:00
acc23be297 remove unnecessary function expression in prepForXml 2021-05-24 05:39:26 +03:00
bdc0aa26ea fix test descriptions 2021-05-24 05:39:26 +03:00
ff14fcae3a remove from API delete()/IsDeleted(), and deleted check from prepForXml; not useful in declarative style API 2021-05-24 05:39:26 +03:00
37d099b457 Merge pull request #948 from devoidfury/bug/ooxml-conformance-fixes
Better conformance to Office Open XML schema
2021-05-24 01:45:36 +01:00
0344eb8e27 Merge pull request #949 from dolanmiu/dependabot/npm_and_yarn/ts-loader-9.2.1
Bump ts-loader from 9.2.0 to 9.2.1
2021-05-21 15:25:33 +01:00
403e7a4228 Merge pull request #950 from dolanmiu/dependabot/npm_and_yarn/types/node-15.3.1
Bump @types/node from 15.3.0 to 15.3.1
2021-05-21 15:25:24 +01:00
aa336dc652 Merge pull request #951 from dolanmiu/dependabot/npm_and_yarn/webpack-5.37.1
Bump webpack from 5.37.0 to 5.37.1
2021-05-21 15:25:16 +01:00
d8fca42eb7 Bump webpack from 5.37.0 to 5.37.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.37.0 to 5.37.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.37.0...v5.37.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 05:04:10 +00:00
10d1d15f73 Bump @types/node from 15.3.0 to 15.3.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.0 to 15.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 05:03:36 +00:00
ac55e0fcb3 Bump ts-loader from 9.2.0 to 9.2.1
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.0...v9.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 05:02:57 +00:00
780682a8f7 add test for ExternalStylesFactory when styles element is missing, to bump coverage 2021-05-20 05:03:12 +03:00
b627f0982a fix ordering of elements in w:lvl 2021-05-20 04:20:14 +03:00
798cbb8628 fix prettier issues 2021-05-20 04:08:00 +03:00
15f79abf5e fix lint issues 2021-05-20 04:02:14 +03:00
f5e35603ef remove invalid w:mirrorMargins attribute from w:pgMar 2021-05-20 03:42:10 +03:00
06da596ffb Remove invalid 'w:shdCs' element 2021-05-20 03:02:48 +03:00
4593464a15 Merge pull request #946 from dolanmiu/dependabot/npm_and_yarn/ts-loader-9.2.0
Bump ts-loader from 9.1.2 to 9.2.0
2021-05-20 00:38:49 +01:00
30912e7aaf Fix ordering of elements in table-cell-borders and section-properties 2021-05-20 02:18:17 +03:00
56b18d3793 Fix ordering of elements in paragraph-properties 2021-05-20 01:06:07 +03:00
d0a675fde6 Fix ordering of elements in table, table-cell, table-properties, table-cell-properties, table-cell-margin 2021-05-20 01:03:09 +03:00
45130bed0b Fix conformance issues with imagerun - out of order properties (a:xfrm), invalid attr name (pic:cNvPr) desc -> descr 2021-05-20 00:42:29 +03:00