Commit Graph

31 Commits

Author SHA1 Message Date
4f36bbf426 Refactor paragraph into its own file
Create barrel
2017-09-19 15:21:07 +01:00
da8405b5b9 Add Right and Center tab stops 2017-09-19 12:51:37 +01:00
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
67ea7c95de Just pagebreak, update test 2017-09-15 08:37:57 -06:00
e57fd8fc57 Fix page/thematic breaks
These items are not paragraph properties, but part of the content of the paragraph.
2017-09-15 08:25:43 -06:00
be709d082c Export formatting from paragraph folder 2017-07-29 01:15:33 +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
fd350d53db fixed some typescript compile issues 2017-04-01 12:18:23 +01:00
30b21217a9 added create picture run method 2017-03-13 23:41:14 +00:00
486777b108 named this addRun because I realised Text can be a Run, but also a Picture can be a run 2017-03-13 23:35:24 +00: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
35ddda444a rename paragraph#createRun to paragraph#createTextRun 2017-03-10 14:44:25 +01:00
8d11ec3422 add paragraph.createRun method 2017-03-10 14:36:16 +01:00
20ec9b679e added Spacing for paragraphs and ParagraphStyle 2017-03-09 12:16:49 +01:00
18ca93e50a add paragraph#style method to quickly set the style 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
0e89606ec9 lots of tslinting 2017-03-08 21:36:09 +00:00
540518bd54 more tslinting 2017-03-08 20:35:26 +00:00
0e9532d835 added #setNumbering method to paragraph 2017-03-08 18:23:00 +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
a2284df881 fixed all tslint errors 2016-05-26 15:08:34 +01:00
af818df800 added tab stops 2016-05-18 17:06:21 +01:00
c3c49226c7 added conditional statement to add text run 2016-04-21 23:04:15 +01:00
50e2344d2c fixing tests and formatter 2016-04-09 21:12:55 +01:00
f68a2aff56 now extends XmlComponent 2016-04-09 20:16:35 +01:00
69edfcc0c9 added xmlKeys to xmlcomponent 2016-04-03 01:44:18 +01:00
9e8fd9739d made return values for methods 2016-03-30 04:31:53 +01:00
a0acb6d1a6 added run 2016-03-30 03:50:53 +01:00
b749e42671 added bullet 2016-03-30 02:55:11 +01:00
099da3d90c added page break 2016-03-30 00:28:05 +01:00