docx
Version:
Generate .docx documents with JavaScript (formerly Office-Clippy)
17 lines (12 loc) • 381 B
text/typescript
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;
public get isDeleted(): boolean {
return this.deleted;
}
}