c1cc211c7f
Add children to hyperlink
2021-08-27 16:53:11 -06: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
ce2a0fb864
remove more duplicate classes; add additional values functions; clean up tests
2021-05-24 11:28:10 +03:00
08bd2744b6
further clean up border code; update paragraph borders to use shared type; BREAKING: paragraph border value attr renamed to style, to match other usages of borders
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
7f86385b09
#269 Text Frame (Text Box)
2021-03-14 17:00:42 +00:00
58f7e5a9a3
Merge pull request #816 from dolanmiu/feat/restart-numbered-lists
...
#548 #508 Restart numbered lists
2021-03-12 04:04:59 +00:00
0b88cb0ca5
#548 #508 Restart numbered lists
2021-03-12 03:58:05 +00:00
dbaa493ebd
Merge pull request #763 from netbymatt/master
...
Allow styles and headings with numbering
2021-03-11 19:42:30 +00:00
4b5d2d98f9
add tests for numbering paragraph styles
2021-03-11 11:11:46 -06:00
566ac03f9a
Use context in prep xml
2021-03-11 01:06:55 +00:00
a0d8911e18
Add tests
2021-03-08 04:18:26 +00:00
2d4a452d2e
Merge branch 'master' into feat/right-indent
...
# Conflicts:
# demo/21-bookmarks.ts
# package-lock.json
# src/file/core-properties/properties.ts
# src/file/file.spec.ts
# src/file/file.ts
# src/file/footnotes/footnote/footnote.spec.ts
# src/file/footnotes/footnote/footnote.ts
# src/file/footnotes/footnotes.ts
2021-03-08 03:40:11 +00:00
c6e9696be0
#532 Make hyperlinks work on the Header and Footer
2021-03-01 03:28:35 +00:00
655b40d418
Work on moving Document into its own wrapper
2021-02-28 16:04:21 +00:00
0de7116b78
#773 Better hyperlink and bookmark syntax
...
Allow for images to be hyperlinked as well
2021-02-27 19:23:29 +00:00
610b2388bb
Fix linting
2020-10-29 00:39:45 +00:00
60eb686d05
Add shading to paragraph
2020-10-28 01:05:31 +00:00
102d6aa55c
Add prepForXml test
2020-10-12 22:48:38 +01:00
4f6a9f734c
Update prettier
2020-08-01 17:40:57 +01:00
db7c4da609
Add ability to add multiple text runs to a bookmark
2020-01-01 22:54:42 +00:00
47533cf4e2
Bookmark tests
2019-12-24 03:39:55 +00:00
643e3c2f84
Finish making numbering declarative
2019-11-08 03:11:19 +00:00
9b40b5e55e
Add work for custom level id
2019-11-06 20:54:39 +00:00
a622c210ef
Progress on declaritive numbering
2019-11-04 20:19:09 +00:00
8eff6bd0cf
Declarative numbering work
2019-11-01 01:57:01 +00:00
40d1a3a7c2
Multiple tab stops
2019-10-09 20:56:31 +01:00
04b6d8e54a
Declarative hyperlinks, bookmarks, tab stops and page breaks
2019-09-30 22:56:21 +01:00
cb42c74a8d
Make Paragraph declaritive
2019-06-12 01:03:36 +01:00
77edf8862b
Added constant EMPTY_OBJECT (an empty sealed object) that is used to indicate to the xml
library that an empty XML element should be generated, and use it in the JSON hardcoded into the tests.
2019-04-10 13:47:38 -04:00
bb1604cd8f
Turn back on no-null-keyword. Use empty object instead of null
to signal to the xml
library that an empty element should be produced. Update the related tests.
...
Related to #306
2019-04-10 01:28:37 -04:00
816cb54b14
Optimize XML output by properly constructing objects to send to the xml library so that it can produce proper empty elements.
...
Rework the way attributes are stored in ImportedXmlComponent to match elsewhere (required allowing for a null xmlKeys in the XmlAttributeComponent interface).
Rework the way paragraphs get added to the end of table cells if needed.
The goal in both reworks is to not mess around with the objects output from `prepForXml` if we can avoid it.
Made the output of RunProperties, ParagraphProperties, TableCellProperties, TableRowProperties, and TableProperties all optional based on whether they contain any attributes or children. Changed code in PageBorders, TableCellMargin, and TableCellBorders that implemented this same thing by overriding `prepForXml` so that it uses the new XmlComponent subclass instead.
Removed commented out code that attempted to fix-up XML output and make proper empty elements.
Fixed all affected tests.
Turn off `no-null-keyword` in the linter as we need to use null to signal to the `xml` library to create an empty element with no attributes (`undefined` will not work in its place).
Fixes #306
2019-04-09 05:27:18 -04:00
b0ee0305fb
Add OutlineLevel Paragraph property
2019-01-15 15:39:48 +01:00
db7f27a88c
Add more tests to paragraph
2019-01-11 00:16:25 +00:00
4742cf0f3f
Clean imports
2018-10-26 01:04:07 +01:00
e97c432a64
added border specs, createBorder method, and color attribute to setProperties
2018-08-19 19:37:36 -04:00
92da93a160
Rename to more readable names
2018-08-07 02:47:24 +01:00
fbfdc6a383
add test
2018-07-22 17:08:11 +03:00
5de6617d10
Merge pull request #75 from h4buli/feature/page-break-before
...
paragraph: add support for 'page break before' format property
2018-05-28 02:33:59 +01:00
c9eb27de11
fixed formatting styles
2018-05-17 15:34:47 +02:00
cbe9c3ac50
paragraph: add support for page break before format property
2018-05-10 19:43:58 +02:00
41f941728e
Clean up and tests
2018-04-10 21:54:52 +01:00
ae43137906
revert demo10.js, fix paragraph tests
2018-04-10 10:25:12 +03:00
2f0ad3eeb2
Add and fix tests
2018-01-31 23:24:55 +00:00
e93d6799fd
Made project Prettier compliant
2018-01-23 01:33:12 +00:00
2358139a6b
Change docx folder to more appropriate "file" folder
2017-12-20 01:03:20 +00:00