Made project Prettier compliant
This commit is contained in:
@ -3,13 +3,14 @@ import { XmlComponent } from "file/xml-components";
|
||||
import { ExtentsAttributes } from "./extents-attributes";
|
||||
|
||||
export class Extents extends XmlComponent {
|
||||
|
||||
constructor(x: number, y: number) {
|
||||
super("a:ext");
|
||||
|
||||
this.root.push(new ExtentsAttributes({
|
||||
cx: x,
|
||||
cy: y,
|
||||
}));
|
||||
this.root.push(
|
||||
new ExtentsAttributes({
|
||||
cx: x,
|
||||
cy: y,
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ import { Extents } from "./extents/extents";
|
||||
import { Offset } from "./offset/off";
|
||||
|
||||
export class Form extends XmlComponent {
|
||||
|
||||
constructor(x: number, y: number) {
|
||||
super("a:xfrm");
|
||||
|
||||
|
@ -3,13 +3,14 @@ import { XmlComponent } from "file/xml-components";
|
||||
import { OffsetAttributes } from "./off-attributes";
|
||||
|
||||
export class Offset extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:off");
|
||||
|
||||
this.root.push(new OffsetAttributes({
|
||||
x: 0,
|
||||
y: 0,
|
||||
}));
|
||||
this.root.push(
|
||||
new OffsetAttributes({
|
||||
x: 0,
|
||||
y: 0,
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
export class NoFill extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:noFill");
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
export class NoFill extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:noFill");
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ import { XmlComponent } from "file/xml-components";
|
||||
import { NoFill } from "./no-fill";
|
||||
|
||||
export class Outline extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:ln");
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
export class AdjustmentValues extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:avLst");
|
||||
}
|
||||
|
@ -4,13 +4,14 @@ import { AdjustmentValues } from "./adjustment-values/adjustment-values";
|
||||
import { PresetGeometryAttributes } from "./preset-geometry-attributes";
|
||||
|
||||
export class PresetGeometry extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("a:prstGeom");
|
||||
|
||||
this.root.push(new PresetGeometryAttributes({
|
||||
prst: "rect",
|
||||
}));
|
||||
this.root.push(
|
||||
new PresetGeometryAttributes({
|
||||
prst: "rect",
|
||||
}),
|
||||
);
|
||||
|
||||
this.root.push(new AdjustmentValues());
|
||||
}
|
||||
|
@ -7,13 +7,14 @@ import { PresetGeometry } from "./preset-geometry/preset-geometry";
|
||||
import { ShapePropertiesAttributes } from "./shape-properties-attributes";
|
||||
|
||||
export class ShapeProperties extends XmlComponent {
|
||||
|
||||
constructor(x: number, y: number) {
|
||||
super("pic:spPr");
|
||||
|
||||
this.root.push(new ShapePropertiesAttributes({
|
||||
bwMode: "auto",
|
||||
}));
|
||||
this.root.push(
|
||||
new ShapePropertiesAttributes({
|
||||
bwMode: "auto",
|
||||
}),
|
||||
);
|
||||
|
||||
this.root.push(new Form(x, y));
|
||||
this.root.push(new PresetGeometry());
|
||||
|
Reference in New Issue
Block a user