Commit Graph

546 Commits (50e6eddb08d451dc5e956f0fd755ba14d9bf93c7)

Author SHA1 Message Date
bokuweb 077de5d561
Add titlepg (#816)
* feat: add title_pg

* chore: rc46

* fix: add title_pg

* fix: add title pg

* rc47

* rc48
2025-05-02 09:07:47 +09:00
bokuweb 4728e080a4
0.4.18-rc45 (#815) 2025-04-30 17:36:24 +09:00
bokuweb a4c38a7b0e
feat: add shd for run (#810) 2025-03-12 15:31:09 +09:00
bokuweb ab837bcba4 fix: 2025-03-11 13:10:42 +09:00
bokuweb 9fbc75d6b2 fix: test 2025-03-11 13:09:22 +09:00
bokuweb c492b86aba
Support dstrike (#807)
* fix: support dstrike

* fix

* fix: package
2025-03-07 18:14:17 +09:00
bokuweb 1137e291a1
Add after for toc styles (#806)
* fix: add after for preset toc styles

* fix: update
2025-03-07 16:41:58 +09:00
bokuweb 9b8c8b6e97
fix: snap to grid for style (#805) 2025-02-27 15:53:59 +09:00
bokuweb 0cc65144d1
Support snaptogrid (#804)
* feat: Support snaptogrid

* fix: snap to grid
2025-02-27 15:29:59 +09:00
bokuweb 5468036c27
fix: escape tc text (#802)
* fix: escape tc text

* fix: version

* fix

* fix
2025-02-25 18:58:23 +09:00
bokuweb 5dce6b0015
fix: rc35 (#800) 2025-02-05 19:28:33 +09:00
bokuweb 5741806734
fix: level disable styles (#799)
* fix: level disable styles

* fix

* fix

* fix
2025-01-29 12:08:57 +09:00
bokuweb 5bb1c8ed0d
Support f optoin in tc (#797)
* fix: Support id

* rc31
2025-01-22 20:31:07 +09:00
bokuweb 1e6227e4f7
feat: Support tc (#793)
* feat: Support tc

* fix: f option

* rc29

* rc30
2025-01-17 19:21:40 +09:00
bokuweb 05df4e38ea fix: rc27 2024-12-23 19:40:54 +09:00
bokuweb 3ededdd2ac fix: charSpacing in level 2024-12-23 19:38:07 +09:00
bokuweb 11e09de5cd
Add toc ppr (#785)
* feat: add ppr in toc

* feat: add frame property

* fix: add rpr

* fix: add toc paragraphProperty

* support toc paragraph property

* fix: some properties

* 0.4.18-rc20

* fix: toc style

* chore: rc21

* fix

* fix: toc structure

* fix: toc styles
2024-11-22 10:58:49 +09:00
bokuweb 7400979c39
chore: rc19 (#783) 2024-11-06 17:07:01 +09:00
Igor Strebz 238d2bc3fe
Implement streaming writers (#765)
* Make XMLBuilder generic

* Reduce allocations at XmlData display impl

* Implement streaming writers

- Extend BuildXML trait, add the streaming method
- Remove impls for Box<Ty>, as they can be implemented on the trait level
- Rewrite build() methods in chaining style, backed by apply_* helpers
- Remove quite a few allocations, though numbers still produce them
- Add spaces between children nodes, fix tests

* Add rustfmt.toml and format code

* Fix clippy warnings

* Expose the BuildXML trait without displaying its methods in hints
2024-11-05 11:22:32 +09:00
bokuweb cd23178073
spec: add reg (#774)
* spec: add reg

* fix

* fix

* fix
2024-11-01 13:37:39 +09:00
bokuweb 55961d6f9f
Escape style name (#779)
* fix: escape some feild

* rc18
2024-11-01 13:08:31 +09:00
bokuweb 4c7bd61ce9
fix: rc16 (#777) 2024-10-31 22:28:07 +09:00
bokuweb 0e4f6cd60a
chore: published (#775) 2024-10-31 18:39:40 +09:00
bokuweb 1f9046d2ee
feat: add comments_json (#773) 2024-10-31 18:13:59 +09:00
unvalley de071a60dd
build: yarn to pnpm (#771)
* build: yarn to pnpm

* ci: pnpm i --forzen-lockfile

* docs: pnpm version on README

* ci: install pnpm

* ci: install pnpm
2024-10-29 19:12:43 +09:00
dependabot[bot] b79776f940
build(deps): bump express from 4.19.2 to 4.21.0 in /docx-wasm (#758)
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
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-10-22 10:29:20 +09:00
dependabot[bot] 4e264b9d3f
build(deps): bump elliptic from 6.5.5 to 6.5.7 in /docx-wasm (#760)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.5 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.5...v6.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 10:29:11 +09:00
bokuweb 6fdf81d1ba
feat: Support paragraph color (#761) 2024-10-15 18:51:20 +09:00
bokuweb 60d94921b0
Support ptab in r (#756)
* feat: add ptab

* feat: wasm object

* fix: suppoert ptab

* spec: add read test for ptab

* rc10

* rc11

* rc12
2024-10-15 18:30:05 +09:00
bokuweb 93eb2e1bc1
0.4.8-rc9 (#746) 2024-07-30 11:43:55 +09:00
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
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
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 073ce8b2ea
Update package.json 2024-04-24 19:06:39 +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
bokuweb 75e6b77d4a
fix: support tabs (#698)
* fix: support tabs

* fix

* fix

* fix

* fix
2024-04-01 11:02:48 +09:00