Files
docx-js/src/file/relationships/relationship/relationship-attributes.ts

18 lines
480 B
TypeScript
Raw Normal View History

2018-01-10 00:29:17 +00:00
import { XmlAttributeComponent } from "file/xml-components";
export interface IRelationshipAttributesProperties {
readonly id: string;
readonly type: string;
readonly target: string;
readonly targetMode?: string;
2018-01-10 00:29:17 +00:00
}
export class RelationshipAttributes extends XmlAttributeComponent<IRelationshipAttributesProperties> {
protected readonly xmlKeys = {
2018-01-10 00:29:17 +00:00
id: "Id",
type: "Type",
target: "Target",
targetMode: "TargetMode",
2018-01-10 00:29:17 +00:00
};
}