unnecessary comment removed
This commit is contained in:
@ -25,7 +25,6 @@ props.headingStyleRange = "1-5";
|
|||||||
props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)]
|
props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)]
|
||||||
const toc = new TableOfContents("Summary", props);
|
const toc = new TableOfContents("Summary", props);
|
||||||
|
|
||||||
// A TableOfContents must be added via File class.
|
|
||||||
doc.addTableOfContents(toc);
|
doc.addTableOfContents(toc);
|
||||||
|
|
||||||
doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore());
|
doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore());
|
||||||
|
@ -44,7 +44,6 @@ props.headingStyleRange = "1-5";
|
|||||||
props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)]
|
props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)]
|
||||||
const toc = new TableOfContents("Summary", props);
|
const toc = new TableOfContents("Summary", props);
|
||||||
|
|
||||||
// A TableOfContents must be added via File class.
|
|
||||||
doc.addTableOfContents(toc);
|
doc.addTableOfContents(toc);
|
||||||
|
|
||||||
doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore());
|
doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore());
|
||||||
|
Reference in New Issue
Block a user