/**
* 页眉文件
*/
import IRelationFile from './IRelationFile'
export default class HeaderFileInfo implements IRelationFile {
/**
* 编号
*/
id: string = ''
/**
* 目标文件路径
*/
target: string = ''
/**
* html内容
*/
htmlContent: string = ''
/**
* 排除不加
*/
exceptSectionIdx: number = -1
get mhtName() {
return this.target.split('/').pop()
}
/**
* 生成document.xml文件中的openxml文本内容
* @param isLast
*/
documentOPENXML(isLast: boolean): string {
return ``
}
/**
* 生成Content_types.xml内容类型引用定义
*/
getContentTypeXml(): string {
return `
`
}
/**
* 生成关联文件xml内容
*/
getRelationXml(): string {
return `
`
}
}