Initial Commit
This commit is contained in:
@ -8,6 +8,7 @@ import { SubScript, SuperScript } from "./script";
|
||||
import { Style } from "./style";
|
||||
import { Tab } from "./tab";
|
||||
import { Underline } from "./underline";
|
||||
import { Begin, Page, End, Separate } from "./pagenumber";
|
||||
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
@ -55,6 +56,14 @@ export class Run extends XmlComponent {
|
||||
return this;
|
||||
}
|
||||
|
||||
public pageNumber(): Run {
|
||||
this.root.push(new Begin());
|
||||
this.root.push(new Page());
|
||||
this.root.push(new Separate());
|
||||
this.root.push(new End());
|
||||
return this;
|
||||
}
|
||||
|
||||
public smallCaps(): Run {
|
||||
this.properties.push(new SmallCaps());
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user