feat: transfer comments property to File CoreProperties like numbering.

This commit is contained in:
Chen Yuncai
2022-03-07 20:02:14 +08:00
parent b2a09b512f
commit b81086ab7a
7 changed files with 32 additions and 25 deletions

View File

@ -1,4 +1,3 @@
import { Comments } from "./../file/paragraph/run/comment-run";
import * as JSZip from "jszip";
import { Element as XMLElement, ElementCompact as XMLElementCompact, xml2js } from "xml-js";
@ -38,12 +37,11 @@ interface IRelationshipFileInfo {
// https://fileinfo.com/extension/dotx
export interface IDocumentTemplate {
readonly currentRelationshipId: number;
readonly headers?: IDocumentHeader[];
readonly footers?: IDocumentFooter[];
readonly styles?: string;
readonly titlePageIsDefined?: boolean;
readonly media?: Media;
readonly comments?: Comments;
readonly headers: IDocumentHeader[];
readonly footers: IDocumentFooter[];
readonly styles: string;
readonly titlePageIsDefined: boolean;
readonly media: Media;
}
export class ImportDotx {