table of contents extending paragraph
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
// import { TableOfContentsProperties } from "./properties";
|
||||
import { Paragraph } from "../paragraph";
|
||||
|
||||
import { TableOfContentsProperties } from "./properties";
|
||||
export class TableOfContents extends Paragraph {
|
||||
// private readonly tocProperties: TableOfContentsProperties;
|
||||
|
||||
export class TableOfContents extends XmlComponent {
|
||||
private readonly properties: TableOfContentsProperties;
|
||||
|
||||
constructor(properties?: TableOfContentsProperties) {
|
||||
super("w:std");
|
||||
this.properties = properties || new TableOfContentsProperties();
|
||||
constructor(/*tocProperties?: TableOfContentsProperties*/) {
|
||||
super();
|
||||
// this.tocProperties = tocProperties || new TableOfContentsProperties();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user