9cddfb4ce7
ability to specify textDirection for section
2021-11-23 10:52:17 +09:00
ba963b0360
Dont set background color if none is provided in options
...
After comparing the output of this library and what is
produced by Microsoft Word, it seems that document
background color is not set by default by Word.
Removing the default #FFFFFF background color enables the
generated documents to be readable in dark mode.
This seems to fix dolanmiu/docx#1093
2021-11-12 10:21:01 +01:00
54565e2228
fix #1261 use numeric ids with bookmarkStart and bookmarkEnd to conform to schema
2021-10-26 20:10:10 -05:00
47099d0468
Change type of revision to a number
2021-10-08 15:55:58 -06:00
5cba664f70
Merge branch 'master' of github.com:dolanmiu/docx
2021-09-28 22:08:57 +01:00
9a35029f16
Merge pull request #1196 from mattpow/mpowell/suppress-line-numbers
...
Add suppressLineNumber option to Paragraph
2021-09-28 22:08:42 +01:00
f77ddb4037
Add tests for suppressLineNumbers
2021-09-28 12:21:51 -07:00
536204e5ef
Add back types absolute fixer
2021-09-28 19:56:29 +01:00
705b1f7cfc
Fix to table percent width test + additional test on DXA table width
2021-09-28 16:16:50 +03:00
28233075bd
Append % if type is "pct" (WidthType.PERCENTAGE)
2021-09-28 15:57:33 +03:00
ea01ddb337
Update Paragraph/properties.ts with supressLineNumber docs
2021-09-27 19:18:58 -07:00
34036bca8f
Add suppressLineNumber option to Paragraph
2021-09-27 19:11:09 -07:00
01bc6093dd
Separate paragraph style options interface for level
2021-09-20 21:58:07 +03:00
1713358f0c
Merge pull request #1168 from askoufis/unequal-columns
...
Extend `Columns` API to allow specifying individual column widths/spacing
2021-09-20 10:00:20 +01:00
5609b11188
Use correct value for height rule
2021-09-18 18:07:59 +01:00
eec084767f
Fix lint and style errors
2021-09-18 23:14:13 +10:00
23fd3b483f
Add API for specifying columns with different widths
2021-09-18 22:58:19 +10:00
996594da9b
Moving numbering from IParagraphPropertiesOptions to IParagraphStylePropertiesOptions
2021-09-16 13:01:47 +03:00
ce2a949176
Re-name PageRef to PageReference
2021-09-08 00:41:40 +01:00
dc2f9c3bdc
Allow other types in bookmarks
2021-09-01 12:20:54 -06:00
41f516d64b
Make the internal hyperlink consistent
2021-08-31 19:54:33 -06:00
c1cc211c7f
Add children to hyperlink
2021-08-27 16:53:11 -06:00
3f257bf5a4
Add the pageref element
...
This instruction is useful if you want to get the number of the page
containing a specific bookmark.
2021-08-03 21:17:32 +02:00
f378c37b62
Test at spec.ts for referenceConfigMap
2021-07-30 11:59:49 +03:00
d773972877
Test coverage issue fix
2021-07-30 11:58:55 +03:00
2fd4f064ae
Simplify + TS related fix
2021-07-26 13:28:55 +03:00
36a18c5af3
Use level.start for overrideLevel.start if possible
...
Implemented via additional reference config map.
2021-07-26 09:55:33 +03:00
da744cbdec
Fix lint errors
2021-07-08 17:46:13 +10:00
439ab8441e
Export new ColumnBreak
class via more generic Break
class
2021-07-08 17:39:21 +10:00
2b9c15a638
Upgrade prettier
2021-06-15 00:25:44 +01:00
034cd187ab
change shading val -> type
2021-05-29 05:51:06 +03:00
730e33b164
fix demos
2021-05-26 10:53:27 +03:00
6603aafa38
fix "missing export NumberFormat"
2021-05-26 10:19:26 +03:00
05a6ab77cc
improve test coverage
2021-05-26 10:14:19 +03:00
5a52541136
add xsd comments to file/drawing
2021-05-26 09:28:31 +03:00
e4709a7f8d
simplify core-properties; add xsd comment
2021-05-26 09:27:05 +03:00
60b7ce4785
clean up settings; BREAKING: TableOfContents requires Document features.updateFields = true setting
2021-05-26 08:36:05 +03:00
da61a30eb8
fix measurementOrPercentValue definition to include UniversalMeasure values
2021-05-25 05:05:33 +03:00
b05748da25
update file/styles
2021-05-25 04:27:10 +03:00
63cea76eac
update file/document and section-properties
2021-05-25 03:43:16 +03:00
e198f0752a
add schema comments and update file/document; unify VerticalAlign type
2021-05-24 21:06:34 +03:00
22e62ed950
add NumberValueElement, representing a simple element with a single number value <foo w:val="1234"/>
2021-05-24 21:05:29 +03:00
c3e92c0709
update file/numbering with schema comments and values functions
2021-05-24 21:04:38 +03:00
d0036e64b5
Add additional values functions for defined types
2021-05-24 21:03:37 +03:00
7bfe8f26f0
progress on clean up file/paragraph
2021-05-24 17:12:10 +03:00
4466145d00
add values checks to remaining file/table code
2021-05-24 12:04:06 +03:00
ce2a0fb864
remove more duplicate classes; add additional values functions; clean up tests
2021-05-24 11:28:10 +03:00
a56119e7cd
remove deprecated mutable drawing functions: scale, setXY
2021-05-24 09:26:21 +03:00
56eecef1a8
add tests for values functions
2021-05-24 09:13:46 +03:00
097c6a5962
use hexColorValue in borders and underlines
2021-05-24 08:42:34 +03:00