Use dedicated XmlComponent rather than polute pure one

This commit is contained in:
Dolan
2018-09-17 20:22:11 +01:00
parent c5b004166d
commit b6bd532295
5 changed files with 18 additions and 6 deletions

View File

@ -1,10 +1,10 @@
// http://officeopenxml.com/WPheaders.php
import { XmlComponent } from "file/xml-components";
import { InitializableXmlComponent, XmlComponent } from "file/xml-components";
import { Paragraph } from "../paragraph";
import { Table } from "../table";
import { HeaderAttributes } from "./header-attributes";
export class Header extends XmlComponent {
export class Header extends InitializableXmlComponent {
private readonly refId: number;
constructor(referenceNumber: number, initContent?: XmlComponent) {