Add new e2e command

This commit is contained in:
Dolan
2019-01-15 00:23:01 +00:00
parent d19cdcae0c
commit b37d2c141d
7 changed files with 42 additions and 9 deletions

View File

@ -42,7 +42,7 @@ doc.addSection({
doc.createParagraph("hello in landscape");
const header2 = doc.createHeader();
const pageNumber = new TextRun("Page number: ").pageNumber();
const pageNumber = new TextRun("Page number: ").pageNumber();
header2.createParagraph().addRun(pageNumber);
doc.addSection({
@ -62,7 +62,9 @@ doc.addSection({
orientation: PageOrientation.PORTRAIT,
});
doc.createParagraph("Page number in the header must be III, because it continues from the previous section, but is defined as upper roman.");
doc.createParagraph(
"Page number in the header must be III, because it continues from the previous section, but is defined as upper roman.",
);
doc.addSection({
headers: {