Commit Graph

50 Commits

Author SHA1 Message Date
3a7f9053b9 Allow indent to use other options than left and hanging
This is a breaking change. Existing code using indent will break when padding in the number for left.
2017-09-16 17:05:40 -06:00
19b122684c Add lint to Travis
Fix linting
2017-09-17 00:01:09 +01:00
72e89cfc3c Move tests to respective folders as .spec
This is to keep to standards
2017-09-17 00:00:41 +01:00
190208d5df Making it easier to work with default styles
Adds the likely common styles, font and size, to be defined in defaults.
2017-09-16 08:24:15 -06:00
97101adb10 Enabled declarations in tsconfig to be true 2017-07-07 14:31:08 +01:00
410152441b fixed tslinting issues 2017-04-15 17:54:47 +01:00
0453f28951 add keepLines and keepNext support for paragraph formatting
This commit adds it to the three places where paragraph formatting can
be applied right now (directly on the paragraph, paragraph styles, and
bullets/numbering styles). I'm separately adding an entry to the wiki
regarding what these methods do (widow/orphan control)
2017-04-14 21:13:11 +02:00
0b78e33444 added #leftTabStop and #maxRightTabStop methods to paragraph styles 2017-03-12 22:05:54 +01:00
6689f76c28 added #thematicBreak method to paragraph styles 2017-03-12 21:58:12 +01:00
df8ba1e8b8 added alignment methods to paragraph style 2017-03-12 21:40:01 +01:00
b3524971ac clean up imports into paragraph and paragraph style
(this prep for importing it from styles)
2017-03-12 21:39:29 +01:00
1cd681bc2d added #font method to paragraph styles 2017-03-12 17:53:32 +01:00
7f4d1bf3e7 added #SubScript and #SuperScript methods to ParagraphStyle 2017-03-12 17:52:03 +01:00
371398bc2c added #strike and #doubleStrike methods to paragraphStyle 2017-03-12 17:44:42 +01:00
9a90818729 added #smallCaps and #allCaps methods to ParagraphStyle 2017-03-12 17:43:00 +01:00
9d7573ed9c fix unused imports linter warnings 2017-03-10 16:09:21 +01:00
8c91c04afa clean up latentstyles to use modern attribute implementation 2017-03-10 14:31:21 +01:00
62911d6e44 make XmlAttributeComponent into a generic class
This change brings increased type safety to uses of
XmlAttributeComponent. Now the compiler is checkign for us that the
properties that get passed in to every subclass match the intended
interface, and also that the xmlKeys property -> xml attribute mapping
has all the right keys
2017-03-10 14:19:45 +01:00
fd1aab48f7 removed some dead code causing tslint problems 2017-03-10 10:35:38 +01:00
10684b34aa clean up unused imports and a linter warning 2017-03-10 08:52:47 +01:00
2fc9156e93 remove console.log statements 2017-03-10 08:25:11 +01:00
c6eef3fd79 tslint fixes 2017-03-09 23:20:28 +00:00
7022b39d2e linting 2017-03-09 22:56:08 +00: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
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
f5144e6d72 ts/styles linter warnings 2017-03-09 11:11:07 +01:00
bca478bb81 updated tslint and ignored some files 2017-03-07 23:05:09 +00:00
a2284df881 fixed all tslint errors 2016-05-26 15:08:34 +01:00
23d08df9a2 trying to get numbering to work 2016-05-23 22:23:05 +01:00
5ef919a823 using the new attributes 2016-05-19 23:05:52 +01:00
cae37b42a1 cleanup 2016-05-19 23:05:28 +01:00
49e50fb6e3 added a new list paragraph style in the default style 2016-05-19 09:54:36 +01:00
bf061c6567 added more styles 2016-05-10 00:41:36 +01:00
11fa77edc0 added more styles 2016-05-10 00:32:00 +01:00
9b268314e6 style factory added and fixed bug allowing styles to work 2016-05-09 03:44:16 +01:00
a1b4facb40 added heading styles 2016-05-08 17:01:20 +01:00
c6291f57ab added more paragraph styles 2016-05-07 20:40:18 +01:00
7cf6006c1c added more styles 2016-05-07 20:17:18 +01:00
b86d292c64 added style components 2016-05-03 04:31:08 +01:00
9a7dff0cdc moving document attributes 2016-05-01 22:49:40 +01:00
f68a2aff56 now extends XmlComponent 2016-04-09 20:16:35 +01:00
84610bd72f made all tests passing 2016-04-09 04:53:42 +01:00
aed59754cc added style components 2016-04-09 04:27:49 +01:00
bf928393b5 added styles 2016-04-09 02:04:53 +01:00