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
03d47658d6
Fix guidelines
2025-04-17 00:41:04 +01:00
1403ac664b
Update contribution guidelines ( #3053 )
2025-04-16 23:51:30 +01:00
7f26badbc9
feat: Added NumberedItemReference ( #3042 )
...
* feat: Added NumberedItemReference
* Fix linting
* ts-ignore until TypeScript upgrade
---------
Co-authored-by: Alexander Nortung <alexander.nortung@oakdigital.dk >
2025-04-16 08:54:50 +01:00
4e2befb7ef
Update docs for new Packer methods ( #2961 )
...
To cover #2920
2025-02-17 21:22:07 +00:00
05fcf6edd4
Feat: subfile overrides ( #2941 )
...
* Adds overrides parameter to Packer methods and compiler
* Adds tests for overrides parameter
* Update Packer usage examples
2025-01-27 10:39:23 +00:00
3654eb0800
New Textbox Component ( #2718 )
...
* Adding textbox with no props
* Fixing namings and adding shape style
* simplify usage
* Fix linting issues
* Re-name demo
* Use new shape authoring style
* Add tests
Simplify API
* Add better types for styles
* Add more options to TextBox and add documentation
---------
Co-authored-by: zohar11 <zohar@sumit-ai.com >
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-11-28 10:33:19 +00:00
c6bb255641
Add hyphenation support ( #2678 )
...
* Add hyphenation support
* Remove unneeded linebreaks
* Add documentation and fix eslint
* Add tests
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-11-21 10:41:31 +00:00
021f1b0c4d
Update bullet-points.md ( #2684 )
...
Excluding ; from example
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-10-11 01:13:26 +01:00
f212cf0251
Update styling-with-js.md ( #2734 )
...
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-10-11 00:57:11 +01:00
28029f4c1c
chore[tables.md]: replace semicolon to commas ( #2708 )
2024-10-10 00:14:09 +01:00
f98f852a55
Allow disabling numbering inherited from a paragraph style ( #2531 )
2024-05-20 03:15:11 +01:00
e379a7fe04
Document the 'keepOriginalStyles' options ( #2549 )
...
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-05-20 03:13:05 +01:00
c4ed19e589
Add math limit component ( #2510 )
2024-01-03 00:13:13 +00:00
24c159de37
Add SVG image suport ( #2487 )
...
* Add SVG blip extentions
* SVG Image feature now works
* Add and simplify tests
* Fix falsey issue with file
Write tests
100% Coverage
2023-12-31 18:54:35 +00:00
968c3aed0f
Update styling-with-xml doc
2023-09-10 15:57:48 +02:00
5f26ca1c94
Update numbering docs
2023-08-06 20:10:03 +01:00
a368ed7fd3
Add docsify-terminal-block to documentation
2023-06-15 21:29:10 +01:00
6288bb0701
Bump sign off sheet
2023-06-14 02:48:56 +01:00
09ab91eeef
Fix tests and build
...
Remove unused code and dependencies
2023-06-08 13:30:31 +01:00
6362b498a6
Add docsify sign off sheet
2023-03-30 20:14:08 +01:00
ec379f2e4d
Update documentation
2023-03-26 04:05:41 +01:00
8343edcdf1
Update documentation
2023-03-19 03:26:02 +00:00
d02f98956f
Fix spelling errors
2023-03-16 03:24:51 +00:00
fe9b438a51
Update documentation
2023-02-27 21:06:54 +00:00
773900b620
Merge branch 'master' of github.com:dolanmiu/docx
2023-02-22 20:17:58 +00:00
ece440340f
Add footnotes documentation
2023-02-22 20:16:23 +00:00
11bebd42ac
#940 - Add positional tab feature
...
Also add extra run elements as per spec
2022-12-24 19:32:44 +00:00
4a2b91ce07
Update sidebar for docs
2022-11-19 22:16:04 +00:00
9b874b0061
#1784 Add more alignment options according to spec
2022-11-19 20:14:15 +00:00
251eafe103
#1773 Add exact
for spacing
2022-11-19 15:51:41 +00:00
988987ddbe
#1126 - Add all comptability options
2022-10-29 15:10:02 +01:00
4cfb0ade88
#1744 - Add vanish
and specVanish
2022-10-28 22:20:16 +01:00
522b21862b
#756 Adding alt text feature
2022-10-26 23:09:36 +01:00
5b582d45ba
Update numbering.md
...
Long time to find a way to unident ,See the document can't resolve my problem,Source code analysis found that does not belong to the indent.
2022-10-19 17:35:46 +08:00
8b165e93e1
Specify which borders could look like a <hr/>
2022-09-28 09:19:18 -06:00
321969eb85
Added the name horizontal line or horizontal rules
...
There was some confusion in https://github.com/dolanmiu/docx/issues/437 because the docs don't mention anything called horizontal lines or horizontal rules. Microsoft calls them by that name here https://support.microsoft.com/en-us/office/insert-a-line-9bf172f6-5908-4791-9bb9-2c952197b1a9
This will make it easier for people to find this in the docs.
2022-09-26 10:22:32 -06:00
e90d97b813
Use new eslint-plugin-functional instead of tslint-immutable
2022-09-15 20:00:50 +01:00
48724e5b08
Fix spelling
2022-07-31 15:23:06 +01:00
40c778d244
Add Carbon adverts
2022-07-29 00:29:54 +01:00
68413605e9
Update _sidebar.md
...
Correct me if I am wrong, but like this? To fix #1581
2022-07-08 06:03:49 -07:00
a2017fc353
Merge pull request #1574 from wvbe/master
...
docs: Fix property name accuracy in describing paragraph borders
2022-07-06 16:34:30 +01:00
65caa531c5
Improve spelling and prettier commands
2022-07-06 15:26:17 +01:00
64addc85ee
Fix all spelling across the project
2022-07-06 14:05:37 +01:00
aa02261248
docs: Fix property name accuracy in describing paragraph borders
2022-07-06 11:51:10 +02:00
9827ed30bb
Write tests, improve API, create documentation
2022-06-22 23:35:46 +01:00
4f846f2a4a
Improve documentation
...
Add clarity to specifying Different First page
2022-05-19 16:25:11 -04:00
111c80d049
docs: fix height.value not height.height
2022-01-24 10:28:57 -06:00
6d3ebf90c1
#2733 Add error if level exceeds 9
2021-12-18 15:42:35 +00:00
02222c8681
change back docs to use settings as option directly
2021-11-26 19:33:40 +01:00