Files
docx-js/src/file/drawing/inline/inline-attributes.ts

13 lines
383 B
TypeScript
Raw Normal View History

import { XmlAttributeComponent } from "@file/xml-components";
2018-06-09 23:49:01 +01:00
import { IDistance } from "../drawing";
2018-01-16 00:43:00 +00:00
2019-01-10 02:10:20 +00:00
// distT, distB etc have no effect on inline images, only floating
2021-03-15 00:11:39 +00:00
export class InlineAttributes extends XmlAttributeComponent<IDistance> {
protected readonly xmlKeys = {
2018-01-16 00:43:00 +00:00
distT: "distT",
distB: "distB",
distL: "distL",
distR: "distR",
};
}