Make fields readonly
This commit is contained in:
@ -13,6 +13,7 @@ export class Relationships extends XmlComponent {
|
||||
|
||||
this.createRelationship(1, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles", "styles.xml");
|
||||
this.createRelationship(2, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering", "numbering.xml");
|
||||
this.createRelationship(3, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", "header1.xml");
|
||||
}
|
||||
|
||||
public addRelationship(relationship: Relationship): void {
|
||||
@ -25,4 +26,8 @@ export class Relationships extends XmlComponent {
|
||||
|
||||
return relationship;
|
||||
}
|
||||
|
||||
public get RelationshipCount(): number {
|
||||
return this.root.length - 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user