Files
docx-js/ts/docx/xml-components/index.ts
Dolan Miu a0acb6d1a6 added run
2016-03-30 03:50:53 +01:00

31 lines
535 B
TypeScript

export interface XmlComponent {
}
interface AttributesProperties {
val?: any;
color?: string;
space?: string;
sz?: string;
type?: string;
}
export class Attributes implements XmlComponent {
private _attrs: Object;
constructor(properties?: AttributesProperties) {
this._attrs = properties
if (!properties) {
this._attrs = {};
}
}
}
export class Text implements XmlComponent {
private t: string;
constructor(text: string) {
this.t = text;
}
}