2022-06-15 00:07:12 +01:00
|
|
|
import { TextAttributes } from "file/paragraph/run/text-attributes";
|
2020-10-07 11:44:23 +02:00
|
|
|
import { SpaceType } from "file/space-type";
|
2022-06-15 00:07:12 +01:00
|
|
|
import { XmlComponent } from "file/xml-components";
|
2020-10-07 11:44:23 +02:00
|
|
|
|
|
|
|
export class DeletedPage extends XmlComponent {
|
|
|
|
constructor() {
|
|
|
|
super("w:delInstrText");
|
|
|
|
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
|
|
|
this.root.push("PAGE");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class DeletedNumberOfPages extends XmlComponent {
|
|
|
|
constructor() {
|
|
|
|
super("w:delInstrText");
|
|
|
|
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
|
|
|
this.root.push("NUMPAGES");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class DeletedNumberOfPagesSection extends XmlComponent {
|
|
|
|
constructor() {
|
|
|
|
super("w:delInstrText");
|
|
|
|
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
|
|
|
this.root.push("SECTIONPAGES");
|
|
|
|
}
|
|
|
|
}
|