Merge pull request #314 from efx/fix-doc-links
fix broken documentation links
This commit is contained in:
@ -23,7 +23,7 @@ doc.Header.createImage([BUFFER_OF_YOUR_IMAGE]);
|
|||||||
doc.Footer.createImage([BUFFER_OF_YOUR_IMAGE]);
|
doc.Footer.createImage([BUFFER_OF_YOUR_IMAGE]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Refer to `demo8.js` for more information
|
Refer to [`demo8.ts`](https://github.com/dolanmiu/docx/blob/master/demo/demo8.ts) for more information.
|
||||||
|
|
||||||
## Multiple Headers and Footers
|
## Multiple Headers and Footers
|
||||||
|
|
||||||
@ -38,10 +38,10 @@ Also all the supported section properties are implemented according to: http://o
|
|||||||
// Add new section with another header and footer
|
// Add new section with another header and footer
|
||||||
doc.addSection({
|
doc.addSection({
|
||||||
headers: {
|
headers: {
|
||||||
default: header
|
default: header
|
||||||
},
|
},
|
||||||
footers: {
|
footers: {
|
||||||
default: footer
|
default: footer
|
||||||
},
|
},
|
||||||
pageNumberStart: 1,
|
pageNumberStart: 1,
|
||||||
pageNumberFormatType: docx.PageNumberFormat.DECIMAL,
|
pageNumberFormatType: docx.PageNumberFormat.DECIMAL,
|
||||||
|
@ -82,10 +82,10 @@ When a paragraph is justified, you may want to not justify the contents of incom
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
This is possible to achieve using:
|
This is possible to achieve using:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
this.doc.Settings.addCompatibility().doNotExpandShiftReturn()
|
this.doc.Settings.addCompatibility().doNotExpandShiftReturn();
|
||||||
```
|
```
|
||||||
|
|
||||||
The result is:
|
The result is:
|
||||||
@ -122,7 +122,7 @@ var paragraph = new docx.Paragraph("Hello World on another page").pageBreakBefor
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo15.js
|
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo15.ts
|
||||||
|
|
||||||
## Page break control
|
## Page break control
|
||||||
|
|
||||||
|
@ -44,4 +44,4 @@ doc.addParagraph(paragraph);
|
|||||||
doc.createParagraph("Some normal text");
|
doc.createParagraph("Some normal text");
|
||||||
```
|
```
|
||||||
|
|
||||||
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo13.js
|
Example: https://github.com/dolanmiu/docx/blob/master/demo/demo13.ts
|
||||||
|
Reference in New Issue
Block a user