Initial ESlint conversion
This commit is contained in:
@ -3,7 +3,7 @@ import { SpaceType } from "@file/space-type";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedPage extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:delInstrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("PAGE");
|
||||
@ -11,7 +11,7 @@ export class DeletedPage extends XmlComponent {
|
||||
}
|
||||
|
||||
export class DeletedNumberOfPages extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:delInstrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("NUMPAGES");
|
||||
@ -19,7 +19,7 @@ export class DeletedNumberOfPages extends XmlComponent {
|
||||
}
|
||||
|
||||
export class DeletedNumberOfPagesSection extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:delInstrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("SECTIONPAGES");
|
||||
|
@ -13,7 +13,7 @@ interface IDeletedRunOptions extends IRunOptions, IChangedAttributesProperties {
|
||||
export class DeletedTextRun extends XmlComponent {
|
||||
protected readonly deletedTextRunWrapper: DeletedTextRunWrapper;
|
||||
|
||||
constructor(options: IDeletedRunOptions) {
|
||||
public constructor(options: IDeletedRunOptions) {
|
||||
super("w:del");
|
||||
this.root.push(
|
||||
new ChangeAttributes({
|
||||
@ -28,7 +28,7 @@ export class DeletedTextRun extends XmlComponent {
|
||||
}
|
||||
|
||||
class DeletedTextRunWrapper extends XmlComponent {
|
||||
constructor(options: IRunOptions) {
|
||||
public constructor(options: IRunOptions) {
|
||||
super("w:r");
|
||||
this.root.push(new RunProperties(options));
|
||||
|
||||
|
@ -3,7 +3,7 @@ import { SpaceType } from "@file/space-type";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedText extends XmlComponent {
|
||||
constructor(text: string) {
|
||||
public constructor(text: string) {
|
||||
super("w:delText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
|
||||
|
@ -6,7 +6,7 @@ import { ChangeAttributes, IChangedAttributesProperties } from "../track-revisio
|
||||
interface IInsertedRunOptions extends IChangedAttributesProperties, IRunOptions {}
|
||||
|
||||
export class InsertedTextRun extends XmlComponent {
|
||||
constructor(options: IInsertedRunOptions) {
|
||||
public constructor(options: IInsertedRunOptions) {
|
||||
super("w:ins");
|
||||
this.root.push(
|
||||
new ChangeAttributes({
|
||||
|
Reference in New Issue
Block a user