docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
9 lines (8 loc) • 451 B
TypeScript
import { XmlComponent } from "../../file/xml-components";
import { Relationship, RelationshipType, TargetModeType } from "./relationship/relationship";
export declare class Relationships extends XmlComponent {
constructor();
addRelationship(relationship: Relationship): void;
createRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: TargetModeType): Relationship;
get RelationshipCount(): number;
}