Deploy dolanmiu/docx to github.com/dolanmiu/docx.git:gh-pages

This commit is contained in:
Deployment Bot (from Travis CI)
2018-08-04 03:06:09 +00:00
parent 14c098a5bb
commit d602fe7407
427 changed files with 3926 additions and 3928 deletions

View File

@ -4,21 +4,21 @@
Creating Headers and footers is simple. Access the `Header` and `Footer` by doing so like this:
```ts
```js
doc.Header;
doc.Footer;
```
You can call the same methods as you would with a `File`:
```ts
```js
doc.Header.createParagraph("Header text");
doc.Footer.createParagraph("Footer text");
```
Even add images:
```ts
```js
doc.Header.createImage([PATH_TO_YOUR_IMAGE]);
doc.Footer.createImage([PATH_TO_YOUR_IMAGE]);
```
@ -31,7 +31,7 @@ Also all the supported section properties are implemented according to: http://o
### Example
```ts
```js
const header = this.document.createHeader();
const footer = this.document.createFooter();