removed getStyles and clearPageBreak that became useless

This commit is contained in:
Sergio Mendonça
2018-09-25 00:10:27 -03:00
parent 4ca81df401
commit 4de6b51e76
2 changed files with 0 additions and 21 deletions

View File

@ -236,18 +236,8 @@ export class Paragraph extends XmlComponent {
return this;
}
public getStyles(): Style[] {
return this.properties.getStyles();
}
public addTabStop(run: Run): Paragraph {
this.root.splice(1, 0, run);
return this;
}
public clearPageBreaks(): Paragraph {
this.root = this.root.filter((child) => !(child instanceof PageBreak));
this.properties.clearPageBreaks();
return this;
}
}