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
6fc4ad782a
add #overrideLevel method to concrete numberings
2017-04-12 16:00:16 +02:00
16b9057ac6
prepare Level to be extended for overrides
2017-04-12 15:57:26 +02:00
762fc0ca9d
added run formatting methods to levels
2017-03-13 12:38:16 +01:00
457d074a59
added paragraph formatting methods to numbering Level
2017-03-13 12:38:16 +01:00
9d7573ed9c
fix unused imports linter warnings
2017-03-10 16:09: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
10684b34aa
clean up unused imports and a linter warning
2017-03-10 08:52:47 +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
4a2b8a1e04
remove unused XmlProperty code
2017-03-09 19:04:17 +01:00
d6f5fe0ae8
Remove extraneous multi-property from base numbering object
2017-03-09 17:59:17 +01:00
2684f16579
move indent.ts over to paragraph and add a #indent method
2017-03-09 09:59:48 +01:00
744b16b753
tslinting
2017-03-08 21:59:27 +00:00
946a222d37
linting fixes
2017-03-08 21:49:41 +00: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
4b300e4def
add fluent interface for defining abstract numbering levels
2017-03-08 18:03:39 +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
0b2de737de
fix linter warnings in numbering/index.ts
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
709ff25702
add #addAbstractNumbering and #addConcreteNumbering to Numbering
2017-03-08 17:45:29 +01:00
82998d4f6b
record ID in AbstractNumbering
2017-03-08 17:45:29 +01:00
6e6a06eba4
fix numbering/num.ts linter warnings
2017-03-08 17:45:29 +01:00
ae70c2dfde
fix numbering/indent.ts linter warnings
2017-03-08 17:45:29 +01:00
28e11a9b08
fix numbering/multi-level-type linter warnings
2017-03-08 17:45:29 +01:00
f5e81f1dfc
fix numbering/level linter warnings
2017-03-08 17:45:29 +01:00
38138049fe
fix abstract-number linter warnings
2017-03-08 17:45:29 +01:00
5511024ca6
fix run-fonts for new numbering test (and linter warnings)
2017-03-08 17:45:29 +01:00
f822bbb26f
fix typos in default numbering definition
2017-03-08 17:45:29 +01:00
cd842c0c71
added working bullet points to document
2016-07-22 12:46:58 +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
23d08df9a2
trying to get numbering to work
2016-05-23 22:23:05 +01:00
8dcdbeef2f
added numbering
2016-05-21 00:02:46 +01:00
b47eaf739e
added numbering files
2016-05-19 22:42:23 +01:00