Commit Graph

32 Commits

Author SHA1 Message Date
Jacob Wright
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
Dolan
410152441b fixed tslinting issues 2017-04-15 17:54:47 +01:00
felipe
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
felipe
0b78e33444 added #leftTabStop and #maxRightTabStop methods to paragraph styles 2017-03-12 22:05:54 +01:00
felipe
6689f76c28 added #thematicBreak method to paragraph styles 2017-03-12 21:58:12 +01:00
felipe
df8ba1e8b8 added alignment methods to paragraph style 2017-03-12 21:40:01 +01:00
felipe
b3524971ac clean up imports into paragraph and paragraph style
(this prep for importing it from styles)
2017-03-12 21:39:29 +01:00
felipe
1cd681bc2d added #font method to paragraph styles 2017-03-12 17:53:32 +01:00
felipe
7f4d1bf3e7 added #SubScript and #SuperScript methods to ParagraphStyle 2017-03-12 17:52:03 +01:00
felipe
371398bc2c added #strike and #doubleStrike methods to paragraphStyle 2017-03-12 17:44:42 +01:00
felipe
9a90818729 added #smallCaps and #allCaps methods to ParagraphStyle 2017-03-12 17:43:00 +01:00
felipe
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
felipe
fd1aab48f7 removed some dead code causing tslint problems 2017-03-10 10:35:38 +01:00
Dolan
c6eef3fd79 tslint fixes 2017-03-09 23:20:28 +00:00
Dolan
7022b39d2e linting 2017-03-09 22:56:08 +00:00
felipe
11e918114d clear out clearVariables! In comes toXml 2017-03-09 20:49:14 +01:00
felipe
ac7799a875 add an #underline method to ParagraphStyle 2017-03-09 13:19:50 +01:00
felipe
20ec9b679e added Spacing for paragraphs and ParagraphStyle 2017-03-09 12:16:49 +01:00
felipe
449d1bc2c3 added fluent formatting methods to ParagraphStyle 2017-03-09 11:27:47 +01:00
felipe
b4dca79d72 added optional name parameter to style constructor 2017-03-09 11:11:07 +01:00
felipe
e6e0658812 clean up style & components attributes 2017-03-09 11:11:07 +01:00
felipe
f5144e6d72 ts/styles linter warnings 2017-03-09 11:11:07 +01:00
Dolan Miu
a2284df881 fixed all tslint errors 2016-05-26 15:08:34 +01:00
Dolan Miu
5ef919a823 using the new attributes 2016-05-19 23:05:52 +01:00
Dolan Miu
49e50fb6e3 added a new list paragraph style in the default style 2016-05-19 09:54:36 +01:00
Dolan Miu
11fa77edc0 added more styles 2016-05-10 00:32:00 +01:00
Dolan Miu
a1b4facb40 added heading styles 2016-05-08 17:01:20 +01:00
Dolan Miu
7cf6006c1c added more styles 2016-05-07 20:17:18 +01:00
Dolan Miu
b86d292c64 added style components 2016-05-03 04:31:08 +01:00
Dolan Miu
f68a2aff56 now extends XmlComponent 2016-04-09 20:16:35 +01:00
Dolan Miu
84610bd72f made all tests passing 2016-04-09 04:53:42 +01:00
Dolan Miu
aed59754cc added style components 2016-04-09 04:27:49 +01:00