099eb1d202
Merge branch 'master' of github.com:dolanmiu/docx into feat/declaritive
...
# Conflicts:
# src/file/paragraph/run/run.ts
2019-08-06 21:06:06 +01:00
2a5e3729e0
Merge pull request #371 from mforman1/Highlighting
...
Add Highlight and Shading to the properties
2019-08-06 12:47:34 +01:00
ebc7dca949
Fix tests
2019-08-06 13:39:05 +03:00
fa710d1ba6
Highlighting
2019-08-06 11:13:43 +03:00
c2c05b0140
Adding some documentation
2019-08-03 13:42:24 +01:00
6f6f1e249c
Removed artifact left over from (likely) the patch program
2019-08-01 11:12:07 -04:00
ac5b15d0e3
Mandatory Sections
2019-07-31 08:48:02 +01:00
f33d6da65a
Merge branch 'master' into feat/declaritive
...
# Conflicts:
# src/file/paragraph/formatting/border.spec.ts
# src/file/paragraph/links/outline-level.spec.ts
# src/file/paragraph/run/run.spec.ts
2019-07-02 01:33:41 +01:00
1f51fd7a31
Remove usage of Utility
2019-06-27 01:35:58 +01:00
a531713214
Remove usage of Utility class
2019-06-26 22:12:18 +01:00
564a055316
Remove jsonify method
2019-06-26 02:11:43 +01:00
3ef8f5311d
Make fixed layout declaritive
2019-06-25 20:57:46 +01:00
c97d15cb9f
Remove create table helper function
2019-06-25 01:21:28 +01:00
dfe986331d
Make media return a picture run instead
2019-06-23 22:36:01 +01:00
fb65bb4207
Turn Run into a declaritive API
2019-06-17 01:51:57 +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
3e2130bc80
Customize text run of an hyperlink
2019-03-05 15:15:58 +01:00
4b6d3c3e3c
Write tests
2019-01-16 12:05:21 +01:00
14a1d62148
Add Number of pages element
2019-01-16 12:05:21 +01:00
bf8dfe6604
Fix for prettier
2019-01-15 16:13:20 +01: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
8db52212ab
Remove id from media
2018-12-24 16:50:53 +00:00
4e671eb512
Breaking change. Make all italic to italics.
2018-11-18 15:22:23 +00:00
7980f14efb
Introduce some functional programming techniques
2018-11-02 02:51:57 +00:00
61411fd0f3
Add tests
2018-11-01 02:22:32 +00:00
cc6e35165a
Add codecov and add more tests to travis
2018-10-26 02:00:45 +01:00
4742cf0f3f
Clean imports
2018-10-26 01:04:07 +01:00
23dee01f06
Created classes and methods needed to create Sequential Identifiers
2018-10-19 16:50:51 -03:00
2fb5845501
contextual spacing
2018-09-26 17:47:17 +03:00
4de6b51e76
removed getStyles and clearPageBreak that became useless
2018-09-25 00:10:27 -03:00
4ca81df401
TOC content generation aborted
2018-09-21 11:16:14 -03:00
8b463b3bb6
updated clone deep dependency and make fields dirty to be updated when word is opened
2018-09-21 10:26:28 -03:00
17d696e33a
merge with master, demo27 became demo28
2018-09-21 07:40:58 -03:00
2f59867db6
Merge branch 'feat/table-of-contents' of https://github.com/dolanmiu/docx into feat/table-of-contents
2018-09-21 07:37:26 -03:00
bf1f702e5a
created a clone method for xml-components
2018-09-20 15:13:18 -03:00
4805efad2e
organized imports
2018-09-20 10:31:49 -03:00
12e2ae9e91
making leader a option field and test improvments
2018-09-20 10:30:16 -03:00
6da3efdacc
Added character spacing attribute
2018-09-19 18:41:55 -03:00
baf0f17bd6
added a method for clear the page breaks of a paragraph
2018-09-18 13:53:30 -03:00
8e911698a5
generating the content for a table of contents
2018-09-18 05:24:19 -03:00
a367951d07
moved Begin, Separate and End from page-number.ts to field.ts
2018-09-03 10:54:53 -03:00
4a3b7d71fe
Merge pull request #130 from dolanmiu/feat/readme-update
...
Fix demo examples
2018-08-22 14:48:30 +01:00
85f686dede
Fix demo examples
2018-08-22 01:14:17 +01:00
33f87523e0
Merge from master
2018-08-21 23:50:58 +01:00
a7f6224fb2
Made demo files into typescript files
2018-08-21 02:46:21 +01:00
e97c432a64
added border specs, createBorder method, and color attribute to setProperties
2018-08-19 19:37:36 -04:00