added support for hyperlinks

This commit is contained in:
Ivan Lopez
2018-05-06 22:20:56 -05:00
parent 8108eca2fa
commit ac40e13e33
4 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import { XmlAttributeComponent } from "file/xml-components";
export interface IHyperlinkAttributesProperties {
id?: string;
history: number;
}
export class HyperlinkAttributes extends XmlAttributeComponent<IHyperlinkAttributesProperties> {
protected xmlKeys = {
id: "r:id",
history: "w:history",
};
}