Got docx not crashing when adding image
This commit is contained in:
16
src/file/drawing/inline/effect-extent/effect-extent.ts
Normal file
16
src/file/drawing/inline/effect-extent/effect-extent.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { EffectExtentAttributes } from "./effect-extent-attributes";
|
||||
|
||||
export class EffectExtent extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
super("wp:effectExtent");
|
||||
|
||||
this.root.push(new EffectExtentAttributes({
|
||||
b: 0,
|
||||
l: 0,
|
||||
r: 0,
|
||||
t: 0,
|
||||
}));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user