Commit Graph

757 Commits (d95137cb9f54889e4a4e5085e13c5e991946b3d4)

Author SHA1 Message Date
bokuweb 6b38d4fbbc
Add snap to grid (#744)
* fix: snapToGrid

* fix:

* fix

* fix

* fix
2024-07-18 19:11:11 +09:00
bokuweb 8d1a018380
0.4.18-rc4 (#743) 2024-07-17 16:35:47 +09:00
bokuweb bf385f752d
faet: Support snap to grid (#742) 2024-07-17 16:28:29 +09:00
renovate[bot] d448559c9e
chore(deps): update dependency npm-run-all2 to v5.0.2 (#726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 08:18:28 +09:00
hackers267 79147fcce8
Update table_width.rs (#722)
* Update table_width.rs

fix the error when build the xml, the width_type is fixed, not pick from the TableWith

* test:  修改关于width_type的测试用例

* test:  修改关于width_type的测试用例
2024-07-15 08:17:38 +09:00
bokuweb 86f010b0c1
chore: 0.4.18-rc3 (#740) 2024-07-12 12:21:21 +09:00
bokuweb 3a41aedda9
fix: use btree set (#739) 2024-07-12 12:10:42 +09:00
git-noise 77b9ca3fca
Fix pstyle serialization (#738) 2024-07-12 11:40:42 +09:00
Truong Hoang Dung f5d1fa5740
Update README.md: Fix NodeJS example (#736) 2024-07-07 22:10:36 +09:00
git-noise 2005b0a382
PositionalTab initial support (#733)
* Initial positional tab support: add PositionalTab types related module

* Initial positional tab support: add PositionalTabAlignmentType

* Initial positional tab support: add PositionalTabRelativeTo

* Initial positional tab support: add PositionalTab related module

* Initial positional tab support: add PositionalTab

* Initial positional tab support: add ptab() for XMLBuilder

* Initial positional tab support: remove optional

* Initial positional tab support: remove optional

* Initial positional tab support: derive Partial Eq, Eq

* Initial positional tab support: add ptab()
2024-06-30 20:13:29 +09:00
git-noise 0284e7aa4c
Support strike at Run level: add strike() to Run (#732) 2024-06-29 19:24:01 +09:00
renovate[bot] 87de45e198
chore(deps): update dependency adm-zip to v0.5.14 (#725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-29 19:23:31 +09:00
git-noise e04dc4a757
Run level shading (#727)
* Initial Run-level Shading support: add Shading to RunChild

* Initial Run-level Shading support: add Shading to RunProperty
2024-06-29 19:23:20 +09:00
git-noise 2c8638dcb0
Support cantSplit for table row (#730)
* Initial cantSplit support: add CantSplit element

* Initial cantSplit support: add cant_split() to XMLBuilder

* Initial cantSplit support: add cant_split() to TableRow element

* Initial cantSplit support: add cant_split() to TableRowProperty element

* Initial cantSplit support: add cant_split module
2024-06-26 00:43:53 +09:00
renovate[bot] 74464c82d6
chore(deps): update dependency serialize-javascript to v6.0.2 (#707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 20:39:12 +09:00
renovate[bot] 996abfd981
chore(deps): replace dependency npm-run-all with npm-run-all2 5.0.0 (#712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 20:39:03 +09:00
renovate[bot] c320a7f2a5
chore(deps): update dependency @types/file-saver to v2.0.7 (#713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 20:38:53 +09:00
git-noise 0ef897ed85
Footnotes initial support (#718)
* Initial footnotes support: add content-types dependency

* Initial footnotes support: add relationship

* Initial footnotes support: add footnotes.xml

* Initial footnotes support: add footnote_reference() for XMLBuilder

* Initial footnotes support: add FootnoteReference to RunChild

* Initial footnotes support: add footnotes to XMLDocx

* Initial footnotes support: add footnotes module

* Initial footnotes support: add footnote and footnote_reference modules

* Initial footnotes support: add footnotes handling logic

* Initial footnotes support: add footnotes example

* Initial footnotes support: add footnote element

* Initial footnotes support: add footnote_reference element

* Initial footnotes support: add footnotes document

* Initial footnotes support: add open_footnotes for XMLBuilder

* Initial footnotes support: add test for footnotes reading

* Initial footnotes support: update snapshots for footnotes

* Initial footnotes support: add test docx for footnotes reading

* Initial footnotes support: update features list

* Initial footnotes support: update snapshots for footnotes

* Initial footnotes support: fix clippy lint - redundant-clone

* Initial footnotes support: add automatic footnote ID generation

* Initial footnotes support: add footnote_id module

* Initial footnotes support: switch to automatically generated IDs

* Initial footnotes support: switch to automatically generated IDs
2024-06-24 20:37:27 +09:00
dependabot[bot] f8c84a2e5e
build(deps): bump ws from 6.2.2 to 6.2.3 in /docx-wasm (#723)
Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.2...6.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-22 09:11:20 +09:00
bokuweb 2626b89b83
Support page numbers (#714)
* feat: add num pages

* fix: num pages

* rc1

* fix

* fix

* fix
2024-06-09 09:01:52 +09:00
bokuweb ef068a6348
0.4.17 (#711) 2024-04-26 18:33:16 +09:00
bokuweb 776f76e8ab
fix: floating image (#710)
* fix: floating image

* fix

* fix
2024-04-26 18:29:29 +09:00
bokuweb dcc524e6c9
Fix frame property (#706)
* fix

* fix
2024-04-24 19:38:22 +09:00
bokuweb 83139b233e
Update CHANGELOG.md 2024-04-24 19:08:55 +09:00
bokuweb 073ce8b2ea
Update package.json 2024-04-24 19:06:39 +09:00
bokuweb 4848062e88
Update README.md 2024-04-21 20:34:03 +09:00
bokuweb c0fe422830
Fix dbg (#704)
* fix: dbg!

* 0.4.14

* fix
2024-04-12 00:58:01 +09:00
bokuweb 2c06b30b68
fix: frame pr (#700)
* fix: frame pr

* fix

* fix

* fix: alignment type
2024-04-12 00:57:20 +09:00
Daniel Gallups 0e6ab1b648
fix: add `w:caps` property to to `w:rPr` element (#703)
* fix: add `w:caps` property to to `w:rPr` element

* fix: use `val` xml attr on `w:caps` element
2024-04-12 00:50:23 +09:00
bokuweb 75e6b77d4a
fix: support tabs (#698)
* fix: support tabs

* fix

* fix

* fix

* fix
2024-04-01 11:02:48 +09:00
bokuweb e886c72c58
Update Cargo.toml 2024-03-29 23:41:03 +09:00
bokuweb c4fd424d98
0.4.13 (#697)
* 0.4.12

* 0.4.13

* chore: add changelog
2024-03-29 23:40:35 +09:00
dependabot[bot] 34e35d9b8f
build(deps): bump express from 4.18.2 to 4.19.2 in /docx-wasm (#694)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 16:03:25 +09:00
bokuweb 4c64e9ba82
Fix header footer rels order (#695)
* fix: header footer resls order

* fix
2024-03-29 16:03:13 +09:00
bokuweb 666c950484
Support tblppr (#693)
* feat: Support table position

* fix: table pr

* fix: wasm for table position

* fix: reader for position property

* fix: snaps

* fix

* fix
2024-03-27 00:09:58 +09:00
dependabot[bot] 9cb9ea8215
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /docx-wasm (#689)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 15:41:24 +09:00
bokuweb 2bbefbd6da
Support tcmar (#692)
* feat: Support tcMar writer

* feat: read tcMar

* fix: generate table cell border

* beta14

* beta15
2024-03-25 15:37:32 +09:00
bokuweb e182f0e2d3
feat: Support adjust_right_ind (#691)
* feat: Support adjust_right_ind

* beta6

* fix: update spec

* fix
2024-03-18 23:27:28 +09:00
bokuweb 13b8d9bc44
feat: Support w:textAlignment (#690) 2024-03-18 21:29:16 +09:00
bokuweb 6955cd0e65
Support frame pr (#687)
* feat: define framePr

* fix: read frame pr

* fix: page num writer

* fix: page num writer

* feat: add page num for writer

* fix: add page_num for footer

* spec: update snaps

* fix: clippy

* 0.4.12-beta3

* fix: add frameProperty

* fix
2024-03-18 17:28:52 +09:00
bokuweb 9fbd323ce7
feat: Support pageNumType (#684)
* fix: support page num type writer

* fix: read page num type

* fix: add json type

* fix: add page num type writer

* 0.4.12-beta0

* fix

* fix
2024-03-06 19:13:11 +09:00
dependabot[bot] 8f79032765
build(deps): bump ip from 1.1.5 to 1.1.9 in /docx-wasm (#681)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 11:21:13 +09:00
bokuweb aefba38e68
Add sdt in header footer (#683)
* fix: read structured data tag in header/footer

* spec: add spec
2024-03-05 11:14:49 +09:00
bokuweb 366ff60b05
Fix even header types (#682)
* fix: header types

* 0.4.9

* fix: title_pg settings

* 0.4.11

* fix: update snaps
2024-03-04 17:51:24 +09:00
bokuweb 72adfa699f
Support image in header footer (#680)
* wip

* wip

* wip

* fix: image in header/footer

* fix: Changelog
2024-02-19 18:11:07 +09:00
bokuweb 8224ff0663
Read header and footer image (#679)
* feat: read header images

* feat: read footer image

* update snaps
2024-02-10 10:59:35 +09:00
dependabot[bot] 13e5615518
build(deps): bump @babel/traverse from 7.14.2 to 7.23.2 in /docx-wasm (#659)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-10 00:27:27 +09:00
dependabot[bot] ea9e4abf2b
build(deps): bump browserify-sign from 4.0.4 to 4.2.2 in /docx-wasm (#661)
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.0.4 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.0.4...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-10 00:27:19 +09:00
dependabot[bot] 13b499ceef
build(deps): bump follow-redirects from 1.14.8 to 1.15.4 in /docx-wasm (#672)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.8 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.8...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-10 00:27:12 +09:00
bokuweb 179e69959b
Define header footer (#678)
* chore: define header and footer json properties

* fix: some errors
2024-02-09 21:04:42 +09:00