Files
docx-js/src/file/xml-components/base.ts

17 lines
365 B
TypeScript
Raw Normal View History

import { IXmlableObject } from "./xmlable-object";
export abstract class BaseXmlComponent {
protected rootKey: string;
protected deleted: boolean = false;
constructor(rootKey: string) {
this.rootKey = rootKey;
}
public abstract prepForXml(): IXmlableObject;
2018-05-06 03:19:36 +01:00
public get isDeleted(): boolean {
return this.deleted;
}
2017-03-08 21:49:41 +00:00
}