fix: added unique numeric id creator to avoid numbering render errors
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
import { IContext, IXmlableObject, NextAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
import { ConcreteHyperlink } from "@file/paragraph";
|
||||
|
||||
import { uniqueNumericId } from "@util/convenience-functions";
|
||||
import { uniqueNumericIdCreator } from "@util/convenience-functions";
|
||||
|
||||
import { createHyperlinkClick } from "./doc-properties-children";
|
||||
|
||||
@ -24,6 +24,8 @@ export interface DocPropertiesOptions {
|
||||
readonly title: string;
|
||||
}
|
||||
|
||||
const uniqueNumericId = uniqueNumericIdCreator();
|
||||
|
||||
export class DocProperties extends XmlComponent {
|
||||
public constructor({ name, description, title }: DocPropertiesOptions = { name: "", description: "", title: "" }) {
|
||||
super("wp:docPr");
|
||||
|
Reference in New Issue
Block a user