Commit Graph

94 Commits

Author SHA1 Message Date
30fef5238e fix some linter warnings 2017-03-09 21:06:54 +01:00
0fe6ff95a2 fix an incorrect test 2017-03-09 20:49:34 +01:00
11e918114d clear out clearVariables! In comes toXml 2017-03-09 20:49:14 +01:00
879b9163a3 Allow XmlComponent to take strings and remove XmlUnit 2017-03-09 20:21:49 +01:00
d93432678b added #createParagraphStyle method to Styles 2017-03-09 13:27:40 +01:00
ac7799a875 add an #underline method to ParagraphStyle 2017-03-09 13:19:50 +01: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
3b18b8267a fix paragraphTests.ts linter warnings 2017-03-09 12:25:59 +01:00
20ec9b679e added Spacing for paragraphs and ParagraphStyle 2017-03-09 12:16:49 +01:00
449d1bc2c3 added fluent formatting methods to ParagraphStyle 2017-03-09 11:27:47 +01:00
b4dca79d72 added optional name parameter to style constructor 2017-03-09 11:11:07 +01:00
e6e0658812 clean up style & components attributes 2017-03-09 11:11:07 +01:00
18ca93e50a add paragraph#style method to quickly set the style 2017-03-09 11:11:07 +01:00
f5144e6d72 ts/styles linter warnings 2017-03-09 11:11:07 +01:00
2684f16579 move indent.ts over to paragraph and add a #indent method 2017-03-09 09:59:48 +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
f7b90d4ff3 add default argument "start" to createLevel 2017-03-08 19:18:24 +01:00
0e9532d835 added #setNumbering method to paragraph 2017-03-08 18:23:00 +01:00
1fe7ab90f2 add createLevel method to AbstractNumbering 2017-03-08 18:03:24 +01:00
a3d2323254 rename methods from addXXX to createXXX
addXXX sounds like the argument should be XXX
2017-03-08 17:49:41 +01:00
0a70d932a0 fix numberingTest linter warnings 2017-03-08 17:45:29 +01:00
6b702c4bd6 add ID property to Num and test Numbering methods 2017-03-08 17:45:29 +01:00
82998d4f6b record ID in AbstractNumbering 2017-03-08 17:45:29 +01:00
ef1407e640 add a test for numbering 2017-03-08 17:45:29 +01:00
52c4e3cabd allow NumberProperties to specify custom id/level
This change allows callers to create custom numbering styles and
attach them to paragraphs
2017-03-08 16:20:44 +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
9b9d748477 don't close packer local packer stream prematurely closes #5 2017-03-07 13:36:12 +01:00
ca1715864e make sure all tests are running 2017-03-07 13:34:01 +01:00
0bb52bb9f9 fix capitalization typo in tests. closes #2 2017-03-07 12:46:42 +01:00
d05fc89678 removed Shan Fu 2016-07-19 18:45:07 +01: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
81e7d01556 unordered list tests 2016-07-17 16:28:54 +01:00
f4bc0613a6 page break tests 2016-07-17 16:18:20 +01:00
016cffd66c added new tests for xml components 2016-07-17 16:03:31 +01:00
f8cf0431c0 wrote tab stop tests 2016-07-15 18:50:54 +01:00
8752c63345 moved test into correct location 2016-07-13 18:49:32 +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
c704db0653 fixed tests for local packer 2016-07-04 19:01:30 +01:00
993a832f3e refactored local packer 2016-07-04 18:47:13 +01:00
8ecb8ed8f2 rearranged test locations 2016-07-01 22:09:55 +01:00
10554956f2 got tests working for windows 2016-07-01 18:45:44 +01:00
a2284df881 fixed all tslint errors 2016-05-26 15:08:34 +01:00
f075d3b719 made numberings compile properly 2016-05-24 21:37:58 +01:00
977c76d95a fixed test 2016-05-17 23:38:09 +01:00