felipe
f1fb0c4f22
initial attempt at Table
2017-03-10 16:55:39 +01:00
felipe
9d7573ed9c
fix unused imports linter warnings
2017-03-10 16:09:21 +01:00
felipe
35ddda444a
rename paragraph#createRun to paragraph#createTextRun
2017-03-10 14:44:25 +01:00
felipe
8d11ec3422
add paragraph.createRun method
2017-03-10 14:36:16 +01:00
felipe
ea647d84df
add document.createParagraph method
2017-03-10 14:31:21 +01:00
felipe
a89718ea83
fix a couple of compiler null warnings
2017-03-10 14:31:21 +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
7ff838357a
removed empty Attributes from ParagraphProperties
...
I checked the spec, and "w:pPr" does not take any attributes. I also
converted the paragraph tests to use the deep.equal style to get rid
of some more jsonify!
2017-03-10 10:32:40 +01:00
felipe
958b5ea307
improved type annotation for Attributes#prepForXml
2017-03-10 08:58:29 +01:00
felipe
10684b34aa
clean up unused imports and a linter warning
2017-03-10 08:52:47 +01:00
felipe
c521d0ce63
rename toXml -> prepForXml
2017-03-10 08:23:27 +01:00
Dolan
11bbb5e285
linting
2017-03-09 23:32:52 +00:00
Dolan
06353a6977
linting
2017-03-09 22:57:37 +00:00
Dolan
2b28dd42ee
unclear variable name. please improve
2017-03-09 22:57:30 +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
879b9163a3
Allow XmlComponent to take strings and remove XmlUnit
2017-03-09 20:21:49 +01:00
felipe
4a2b8a1e04
remove unused XmlProperty code
2017-03-09 19:04:17 +01:00
felipe
766bcabcb8
allow Underline to be called with type and color; fix default
2017-03-09 12:42:19 +01:00
felipe
20ec9b679e
added Spacing for paragraphs and ParagraphStyle
2017-03-09 12:16:49 +01:00
felipe
18ca93e50a
add paragraph#style method to quickly set the style
2017-03-09 11:11:07 +01:00
felipe
2684f16579
move indent.ts over to paragraph and add a #indent method
2017-03-09 09:59:48 +01:00
Dolan
744b16b753
tslinting
2017-03-08 21:59:27 +00:00
Dolan
946a222d37
linting fixes
2017-03-08 21:49:41 +00:00
Dolan
279a5a93f1
fixed failing test
2017-03-08 21:40:21 +00:00
Dolan
0e89606ec9
lots of tslinting
2017-03-08 21:36:09 +00:00
Dolan
540518bd54
more tslinting
2017-03-08 20:35:26 +00:00
Dolan
03b34915c6
tslinting
2017-03-08 20:32:30 +00:00
felipe
727471b7e3
fix linter warnings in docx/run/index.ts
2017-03-08 20:52:37 +01:00
felipe
1a37242a3d
add #font method to Run
2017-03-08 20:47:36 +01:00
felipe
237be76d33
move run-fonts to docx/run and add a test
2017-03-08 20:47:35 +01:00
felipe
0e9532d835
added #setNumbering method to paragraph
2017-03-08 18:23:00 +01:00
felipe
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
Dolan
9804091f6a
removed random semi colon
2017-03-07 22:35:20 +00:00
Dolan Miu
078196c6d6
wrote lots of tests
2016-07-18 19:17:19 +01:00
Dolan Miu
81e7d01556
unordered list tests
2016-07-17 16:28:54 +01:00
Dolan Miu
adb4e933ef
added different types of underline
2016-07-13 00:59:53 +01:00
Dolan Miu
ed4f7464e0
added new run methods
2016-07-12 08:25:53 +01:00
Dolan Miu
122c87ddf8
added break
2016-07-07 18:57:44 +01:00
Dolan Miu
efce7731e6
added working tabing
2016-06-10 15:03:44 +01:00
Dolan Miu
a2284df881
fixed all tslint errors
2016-05-26 15:08:34 +01:00
Dolan Miu
23d08df9a2
trying to get numbering to work
2016-05-23 22:23:05 +01:00
Dolan Miu
cf3cd6b6a2
formatting
2016-05-20 10:08:35 +01:00
Dolan Miu
37ac9f97a4
refactored out xml components into multiple files
2016-05-20 00:40:31 +01:00
Dolan Miu
606e03d156
added paragraph and run property xml components
2016-05-19 23:06:15 +01:00
Dolan Miu
cae37b42a1
cleanup
2016-05-19 23:05:28 +01:00
Dolan Miu
b47eaf739e
added numbering files
2016-05-19 22:42:23 +01:00
Dolan Miu
b8e84c3680
added position in attributes
2016-05-18 17:09:26 +01:00
Dolan Miu
42f5402551
added tab and fixed italics
2016-05-18 17:06:50 +01:00
Dolan Miu
af818df800
added tab stops
2016-05-18 17:06:21 +01:00