changed to xml component
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import {P, Attributes} from "./xml-components";
|
||||
import {XmlComponent, Attributes} from "./xml-components";
|
||||
|
||||
class Border implements P {
|
||||
private bottom: Array<P>;
|
||||
class Border implements XmlComponent {
|
||||
private bottom: Array<XmlComponent>;
|
||||
|
||||
constructor() {
|
||||
this.bottom = new Array<P>();
|
||||
this.bottom = new Array<XmlComponent>();
|
||||
this.bottom.push(new Attributes({
|
||||
color: "auto",
|
||||
space: "1",
|
||||
@ -15,10 +15,10 @@ class Border implements P {
|
||||
}
|
||||
|
||||
export class ThematicBreak {
|
||||
private pBdr: Array<P>;
|
||||
private pBdr: Array<XmlComponent>;
|
||||
|
||||
constructor() {
|
||||
this.pBdr = new Array<P>();
|
||||
this.pBdr = new Array<XmlComponent>();
|
||||
this.pBdr.push(new Border());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user