w-html2docx 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-html2docx v1.0.7
2
+ * w-html2docx v1.0.8
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -246,7 +246,7 @@ export default WHtml2docx
246
246
  <br class="clear">
247
247
 
248
248
  <footer>
249
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 22 2026 14:29:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
249
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Jul 08 2026 21:09:13 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
250
250
  </footer>
251
251
 
252
252
  <script>prettyPrint();</script>
package/docs/global.html CHANGED
@@ -593,7 +593,7 @@
593
593
  <br class="clear">
594
594
 
595
595
  <footer>
596
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 22 2026 14:29:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
596
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Jul 08 2026 21:09:13 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
597
597
  </footer>
598
598
 
599
599
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 22 2026 14:29:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Jul 08 2026 21:09:13 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "w-html2docx",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/w-html2docx.umd.js",
5
5
  "dependencies": {
6
6
  "lodash-es": "^4.18.1",
7
- "wsemi": "^1.8.61"
7
+ "wsemi": "^1.8.63"
8
8
  },
9
9
  "devDependencies": {
10
- "w-package-tools": "^1.1.9"
10
+ "w-package-tools": "^1.1.10"
11
11
  },
12
12
  "scripts": {
13
13
  "postinstall": "node scripts/install.mjs",
package/test/ztmp.html CHANGED
@@ -399,6 +399,34 @@
399
399
 
400
400
  <hr>
401
401
 
402
+ <h2>八、表格水平置中測試(轉Docx)</h2>
403
+
404
+ <h3>8.1 基本表格(對照組, 預設靠左)</h3>
405
+ <table>
406
+ <thead>
407
+ <tr><th>欄位一</th><th>欄位二</th><th>欄位三</th></tr>
408
+ </thead>
409
+ <tbody>
410
+ <tr><td>A1</td><td>B1</td><td>C1</td></tr>
411
+ <tr><td>A2</td><td>B2</td><td>C2</td></tr>
412
+ </tbody>
413
+ </table>
414
+
415
+ <h3>8.2 表格水平置中(div+text-align:center轉Docx水平置中)</h3>
416
+ <div style="text-align:center;">
417
+ <table align="center" _style="margin:0 auto;">
418
+ <thead>
419
+ <tr><th>欄位一</th><th>欄位二</th><th>欄位三</th></tr>
420
+ </thead>
421
+ <tbody>
422
+ <tr><td>A1</td><td>B1</td><td>C1</td></tr>
423
+ <tr><td>A2</td><td>B2</td><td>C2</td></tr>
424
+ </tbody>
425
+ </table>
426
+ </div>
427
+
428
+ <hr>
429
+
402
430
  <h2>註腳</h2>
403
431
  <section class="footnotes" data-footnotes>
404
432
  <h2 id="footnote-label" class="sr-only" style="height:0px; line-height:0px; min-height:0px; overflow:hidden;">Footnotes</h2>
Binary file