added working tabing

This commit is contained in:
Dolan Miu
2016-06-10 15:03:44 +01:00
parent a2284df881
commit efce7731e6
4 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import {XmlComponent, Attributes} from "../xml-components";
import {RunProperties} from "./properties";
import {Bold, Italics, Underline} from "./formatting";
import {Tab} from "./tab";
export class Run extends XmlComponent {
private properties: RunProperties;
@ -33,7 +34,7 @@ export class Run extends XmlComponent {
}
tab(): Run {
// TODO
this.root.splice(1, 0, new Tab());
return this;
}
}