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

17 lines
349 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;
get isDeleted() {
return this.deleted;
}
2017-03-08 21:49:41 +00:00
}