410152441b
fixed tslinting issues
2017-04-15 17:54:47 +01:00
b1c8b2beb8
add xml:space="preserve" to text runs
...
In MS Word 2015 (and possibly others), leading and trailing spaces are
ignored in text runs. This means that calling TextRun with
leading/trailing space would result in a document that didn't include
those spaces. The fix here (per http://officeopenxml.com/WPtext.php )
is to include an extra attribute on the "w:t" element that forces word
to recognize those spaces.
2017-04-14 11:08:19 +02:00
fd350d53db
fixed some typescript compile issues
2017-04-01 12:18:23 +01:00
af48af2854
added error checking and updated demo
2017-03-29 22:57:52 +01:00
15009884e3
made image take in IData instead of image path
2017-03-29 22:47:34 +01:00
66eace4a33
added a attribute to graphic
2017-03-13 00:40:39 +00:00
eeb2187db4
added source rectangle and stretch in the blip fill
2017-03-13 00:33:59 +00:00
fa44acca1b
added the remaining classes required
2017-03-13 00:02:56 +00:00
8d72fa5542
added more boilerplate files to drawing
2017-03-12 23:31:43 +00:00
6af79a884c
Merge branch 'master' into image-support
2017-03-12 21:38:38 +00:00
4bc6ed0eda
added more files to drawing
2017-03-12 21:30:46 +00: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
8c6cd012e7
eliminated duplicate implementation of strikethrough
2017-03-12 17:51:52 +01:00
90049a31ee
added #style method to runs
2017-03-12 17:35:15 +01:00
3dbd917667
added #color and #size methods to Run
2017-03-12 17:31:36 +01:00
d85c6ce56a
allow Run#underline to take style and color arguments
2017-03-12 17:28:52 +01:00
c33cdb450c
added initial constructor
2017-03-11 18:21:31 +00:00
62b6b33254
created drawing file and refactored run components in components folder
2017-03-11 16:56:35 +00: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
7022b39d2e
linting
2017-03-09 22:56:08 +00:00
879b9163a3
Allow XmlComponent to take strings and remove XmlUnit
2017-03-09 20:21:49 +01:00
766bcabcb8
allow Underline to be called with type and color; fix default
2017-03-09 12:42:19 +01:00
946a222d37
linting fixes
2017-03-08 21:49:41 +00:00
540518bd54
more tslinting
2017-03-08 20:35:26 +00:00
03b34915c6
tslinting
2017-03-08 20:32:30 +00:00
727471b7e3
fix linter warnings in docx/run/index.ts
2017-03-08 20:52:37 +01:00
1a37242a3d
add #font method to Run
2017-03-08 20:47:36 +01:00
237be76d33
move run-fonts to docx/run and add a test
2017-03-08 20:47:35 +01:00
078196c6d6
wrote lots of tests
2016-07-18 19:17:19 +01:00
adb4e933ef
added different types of underline
2016-07-13 00:59:53 +01:00
ed4f7464e0
added new run methods
2016-07-12 08:25:53 +01:00
122c87ddf8
added break
2016-07-07 18:57:44 +01:00
efce7731e6
added working tabing
2016-06-10 15:03:44 +01:00
a2284df881
fixed all tslint errors
2016-05-26 15:08:34 +01:00
42f5402551
added tab and fixed italics
2016-05-18 17:06:50 +01:00
8b9a935505
added break() stub
2016-05-17 23:37:36 +01:00
ea1390b86b
clean up of Text class
2016-05-09 13:02:59 +01:00
a1b4facb40
added heading styles
2016-05-08 17:01:20 +01:00
7cf6006c1c
added more styles
2016-05-07 20:17:18 +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
4f4653200e
added italics and underline
2016-03-30 04:43:56 +01:00
26f30b06d2
added return values and formatting
2016-03-30 04:32:51 +01:00
f7803b3156
added emphasis to run
2016-03-30 04:30:58 +01:00
a0acb6d1a6
added run
2016-03-30 03:50:53 +01:00