410152441b
fixed tslinting issues
2017-04-15 17:54:47 +01:00
b1c8b2beb8
add xml:space="preserve" to text runs
...
In MS Word 2015 (and possibly others), leading and trailing spaces are
ignored in text runs. This means that calling TextRun with
leading/trailing space would result in a document that didn't include
those spaces. The fix here (per http://officeopenxml.com/WPtext.php )
is to include an extra attribute on the "w:t" element that forces word
to recognize those spaces.
2017-04-14 11:08:19 +02:00
91a757619e
fixed unit tests
2017-04-01 12:30:27 +01:00
fa44acca1b
added the remaining classes required
2017-03-13 00:02:56 +00:00
34ce662f70
added basic test for drawing
2017-03-12 23:32:02 +00:00
8c6cd012e7
eliminated duplicate implementation of strikethrough
2017-03-12 17:51:52 +01:00
90049a31ee
added #style method to runs
2017-03-12 17:35:15 +01:00
3dbd917667
added #color and #size methods to Run
2017-03-12 17:31:36 +01:00
d85c6ce56a
allow Run#underline to take style and color arguments
2017-03-12 17:28:52 +01:00
9d7573ed9c
fix unused imports linter warnings
2017-03-10 16:09:21 +01:00
7022b39d2e
linting
2017-03-09 22:56:08 +00:00
766bcabcb8
allow Underline to be called with type and color; fix default
2017-03-09 12:42:19 +01:00
f06094c91d
clean up underlineTests linter warnings
2017-03-09 12:36:33 +01:00
1a37242a3d
add #font method to Run
2017-03-08 20:47:36 +01:00
81e0d56918
fix linter warnings in runTest.ts
2017-03-08 20:47:35 +01:00
237be76d33
move run-fonts to docx/run and add a test
2017-03-08 20:47:35 +01:00
9c3023019f
huge clean up of project. Now uses @types, and removed committed typings.
...
Formatted the imports too
2017-03-07 22:15:53 +00:00
078196c6d6
wrote lots of tests
2016-07-18 19:17:19 +01:00
d23583f9b5
break tests
2016-07-18 18:49:11 +01:00
f8cf0431c0
wrote tab stop tests
2016-07-15 18:50:54 +01:00
4ffedc7756
wrote tests for underlines
2016-07-13 18:49:02 +01:00
adb4e933ef
added different types of underline
2016-07-13 00:59:53 +01:00
54b2c16d7a
added run tests
2016-07-12 08:46:26 +01:00
8ecb8ed8f2
rearranged test locations
2016-07-01 22:09:55 +01:00