Dolan
7dad717952
Add documentation links
2017-09-22 14:46:19 +01:00
Dolan
34e928755f
Add documentation links
2017-09-21 14:56:46 +01:00
Dolan
51e0f311fe
Refactor numbering into its own file
2017-09-20 13:37:39 +01:00
Dolan
d408262fa8
Remove unused class
2017-09-19 15:58:37 +01:00
Dolan
ed53c30f42
Remove template file and placed in the Wiki
...
https://github.com/dolanmiu/docx/wiki/Contributing-Guidelines
2017-09-19 15:56:52 +01:00
Dolan
ebbf6a99c1
Make exporting more consistent
2017-09-19 15:51:55 +01:00
Dolan
b98c103e45
Export table into own file
2017-09-19 15:49:27 +01:00
Dolan
518fec0595
Export like standard style
2017-09-19 15:47:29 +01:00
Dolan
659936f3f0
Refactor xml component into own class
2017-09-19 15:46:20 +01:00
Dolan
b0febf5054
Refactor run into own file
2017-09-19 15:42:40 +01:00
Dolan
56b951a2b1
Refactor body into own file
2017-09-19 15:39:14 +01:00
Dolan
a3a9958a69
Refactor document into own file
2017-09-19 15:36:41 +01:00
Dolan
4f36bbf426
Refactor paragraph into its own file
...
Create barrel
2017-09-19 15:21:07 +01:00
Dolan
357bc7f377
Add documentation reference
2017-09-19 15:17:58 +01:00
Dolan
da8405b5b9
Add Right and Center tab stops
2017-09-19 12:51:37 +01:00
Jacob Wright
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
Dolan
19b122684c
Add lint to Travis
...
Fix linting
2017-09-17 00:01:09 +01:00
Dolan
72e89cfc3c
Move tests to respective folders as .spec
...
This is to keep to standards
2017-09-17 00:00:41 +01:00
Jacob Wright
190208d5df
Making it easier to work with default styles
...
Adds the likely common styles, font and size, to be defined in defaults.
2017-09-16 08:24:15 -06:00
Jacob Wright
b2c3dd2f7b
Fix tests
2017-09-15 09:05:28 -06:00
Jacob Wright
67ea7c95de
Just pagebreak, update test
2017-09-15 08:37:57 -06:00
Jacob Wright
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
Dolan
be709d082c
Export formatting from paragraph folder
2017-07-29 01:15:33 +01:00
Dolan
8f632d4ecd
Made XmlableObject non ambient typings to fix typescript problem
2017-07-08 20:45:19 +01:00
Dolan
97101adb10
Enabled declarations in tsconfig to be true
2017-07-07 14:31:08 +01:00
Dolan
2ec171d4a8
Used my updated typings for archiver 1.3
2017-05-09 18:03:31 +01:00
Dolan
580f6eb633
fixed tests
2017-04-16 00:44:35 +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
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
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
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
91a757619e
fixed unit tests
2017-04-01 12:30:27 +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
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
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
762fc0ca9d
added run formatting methods to levels
2017-03-13 12:38:16 +01:00
felipe
457d074a59
added paragraph formatting methods to numbering Level
2017-03-13 12:38:16 +01:00
Dolan Miu
66eace4a33
added a attribute to graphic
2017-03-13 00:40:39 +00:00