Commit Graph

30 Commits

Author SHA1 Message Date
7d1129900f Fix: separate vertical alignment enums for ITableCellOptions and ISectionPropertiesOptions (#3079)
* fix: separate vertical alignment enums for table and section properties

- Introduced `VerticalAlignTable` for table-cell vertical alignment with valid values: `top`, `center`, and `bottom`.
- Added `VerticalAlignSection` for section properties, extending `VerticalAlignTable` with an additional value `both`.
- Marked the original `VerticalAlign` as deprecated for backward compatibility, directing users to the new enums.
- Updated type definitions for better clarity on valid vertical alignments.

* refactor: update vertical alignment imports and types for section and table properties

- Renamed `VerticalAlign` to `VerticalAlignSection` in section properties and `VerticalAlignTable` in table-cell properties for clarity.
- Updated type definitions to reflect the new enum names, ensuring better organization and understanding of vertical alignment options.
- Adjusted related test cases to utilize the new imports and types.

* refactor: update demos to use new enums for table and section properties for vertical alignment
2025-05-02 19:58:10 +01:00
28029f4c1c chore[tables.md]: replace semicolon to commas (#2708) 2024-10-10 00:14:09 +01:00
111c80d049 docs: fix height.value not height.height 2022-01-24 10:28:57 -06:00
9efee181ba Update tables.md 2021-08-27 10:12:08 +01:00
097c6a5962 use hexColorValue in borders and underlines 2021-05-24 08:42:34 +03:00
dd6d1bc039 Consolidate TableWidth and TableCellMargins types; add Table indent (#954) 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
d527013451 Update outdated docs to show current usage 2021-05-18 17:16:10 +03:00
abc7c8dc72 Fixed typos in usage documentation 2021-03-25 19:21:27 +03:00
3299c557a0 Make .addSection fully declarative 2021-03-19 20:53:56 +00:00
a3febae8a3 Inline single use interfaces 2021-03-15 00:11:39 +00:00
95556e57df Write documentation on vidi visual 2021-03-04 02:08:09 +00:00
ea5f9a48ab Fix cantSplit documentation 2020-10-24 20:24:10 +01:00
af0bf5ced5 Fix row height option 2020-09-11 21:10:10 -05:00
d2dded860d Fix example links 2019-09-30 20:58:18 +01:00
bd888219fc Amend table documentation 2019-09-26 02:03:17 +01:00
2842619196 Update table documentation 2019-09-25 01:59:30 +01:00
d2f82052b4 Improve documentation 2019-09-19 22:49:09 +01:00
4ac55a787e Fix includes 2019-08-21 00:53:49 +01:00
535f2d75b0 Fix embed links in documentation 2019-08-20 22:23:14 +01:00
e2574ec23b Turn methods into "add()" 2019-06-25 23:17:56 +01:00
c97d15cb9f Remove create table helper function 2019-06-25 01:21:28 +01:00
9c89c1ab59 Update docs 2019-04-12 13:46:05 +02:00
5aa878b901 Fix invalid link 2019-03-06 02:12:41 +00:00
b99d1fc129 correctly use include 2019-03-06 00:18:00 +00:00
6c772b956c Add examples to table documentation 2019-03-05 23:15:50 +00:00
9d09ff3518 Update documentation 2019-03-05 21:57:31 +00:00
04ea2b2dc9 Add footer tests and improve table documentation 2019-01-03 02:11:04 +00:00
b9465b2a20 Add more changes to table API and documentation 2018-12-31 01:55:15 +00:00
ab07f2ecbe Change table methods and document it 2018-12-29 01:57:20 +00:00