Commit Graph

2074 Commits

Author SHA1 Message Date
Dolan
321be35918 added docs in gitignore 2017-04-16 00:30:27 +01:00
Dolan
45a18742d7 moved documentation to gh-pages branch 2017-04-16 00:22:29 +01:00
Dolan
7e81da404a updated readme 2017-04-16 00:09:07 +01:00
Dolan
6c2abb4abc added typedoc generated docs 2017-04-16 00:07:16 +01:00
Dolan
e8b0dbf93b added docs ignore to npmignore file 2017-04-16 00:04:29 +01:00
Dolan
e59c255d85 added type to pack param 2017-04-15 23:45:27 +01:00
Dolan
17b28cb724 fixed more linting issues 2017-04-15 20:11:54 +01:00
Dolan
410152441b fixed tslinting issues 2017-04-15 17:54:47 +01:00
Dolan
dfff4b96bd updated tslint to 5.1.0 2017-04-15 17:47:29 +01:00
Dolan
72cb75a486 added comma 2017-04-15 17:46:56 +01:00
Dolan
53fe1dd988 added typedoc support for generating documentation 2017-04-15 17:46:11 +01:00
Dolan
043219f005 Merge pull request #32 from felipeochoa/keep-lines
add keepLines and keepNext support for paragraph formatting
2017-04-15 17:41:11 +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
Dolan
94716e081b Merge pull request #31 from felipeochoa/spacing-bugfix
Spacing bugfix
2017-04-14 17:30:54 +01:00
Dolan
30f826fd3d made a mini app which you can select the demo you want from a list with an interactive prompt. 2017-04-14 15:48:12 +01:00
felipe
99b7a03b8a update demo2 to test space preservation 2017-04-14 11:09:08 +02:00
felipe
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
Dolan
a706455a7c Merge pull request #30 from felipeochoa/overrides
Add support for numbering level overrides
2.0.1
2017-04-12 18:34:07 +01:00
felipe
8c388a95c4 bump patch version 2017-04-12 16:01:26 +02:00
felipe
9a41d78ecb add an additional demo 2017-04-12 16:00:16 +02:00
felipe
6fc4ad782a add #overrideLevel method to concrete numberings 2017-04-12 16:00:16 +02:00
felipe
16b9057ac6 prepare Level to be extended for overrides 2017-04-12 15:57:26 +02:00
Dolan Miu
28c62c1ee4 version 2.0.0 2.0.0 2017-04-01 13:31:24 +01:00
Dolan Miu
91a757619e fixed unit tests 2017-04-01 12:30:27 +01:00
Dolan Miu
f89049e4c1 version bump 2017-04-01 12:23:01 +01:00
Dolan Miu
086f5f5d03 Merge branch 'image-support' 2017-04-01 12:22:23 +01:00
Dolan Miu
a2694f1d7d edited demo code 2017-04-01 12:21:59 +01:00
Dolan Miu
fd350d53db fixed some typescript compile issues 2017-04-01 12:18:23 +01:00
Dolan
af48af2854 added error checking and updated demo 2017-03-29 22:57:52 +01:00
Dolan
15009884e3 made image take in IData instead of image path 2017-03-29 22:47:34 +01:00
Dolan Miu
ad462dfe10 added relationships 2017-03-27 01:28:52 +01:00
Dolan Miu
68fe380575 renamed template constant 2017-03-27 01:28:31 +01:00
Dolan Miu
5b2a311ad4 media now adds object into docx /media folder 2017-03-26 20:57:43 +01:00
Dolan
5db2503e7b added media class and packer to handle it 2017-03-25 21:50:33 +00:00
Dolan
55a1d23f29 fixed missing comma 2017-03-14 11:33:46 +00:00
Dolan
0bfd753a0d fixed json, missing comma 2017-03-14 11:28:05 +00:00
Dolan
22adabd2d9 updated keywords 2017-03-14 10:51:05 +00:00
Dolan
6d5c89ff47 corrected underline 2017-03-14 10:48:24 +00:00
Dolan
96a9bb1a1e corrected underline 2017-03-14 10:47:50 +00:00
Dolan
2be00d3f1e corrected example 2017-03-14 10:38:05 +00:00
Dolan
30b21217a9 added create picture run method 2017-03-13 23:41:14 +00:00
Dolan
260a680f56 Merge branch 'master' into image-support 2017-03-13 23:37:09 +00:00
Dolan
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
Dolan
3730e2b60e clean up of packer 2017-03-13 23:30:26 +00:00
Dolan
e7e6d02cc5 Merge pull request #28 from felipeochoa/npm-fixes
NPM fixes
2017-03-13 22:38:13 +00:00
felipe
c7b7b585be fix path to template when installed via npm
I'm not sure why, buy app-root-path was not picking up the correct
path for this module when installed via NPM. Since we're already using
relative paths for imports, I don't think we gain much from using it
anyway, so I've changed to using path.resolve instead
2017-03-13 20:40:16 +01:00
felipe
0c128ae4a5 add template to npm bundle 2017-03-13 20:40:16 +01:00
Dolan
d7a70ffe03 use gemnasium rather than david-dm 2017-03-13 16:14:03 +00:00
Dolan
e1c699ec41 Merge pull request #27 from felipeochoa/styles
More styles harmony
2017-03-13 12:31:25 +00:00
Dolan
245f0ae2ea added gitter integration 2017-03-13 12:30:22 +00:00