MdiDocxExportProfile
MdiDocxExportProfile =
ExportProfile&object
Defined in: mdi/src/index.ts:54
Profile for a configured DOCX export, including page geometry and numbering.
Type Declaration
Section titled “Type Declaration”author?
Section titled “author?”
optionalauthor?:string
charactersPerLine?
Section titled “charactersPerLine?”
optionalcharactersPerLine?:number
optionaldate?:string
fontFamily?
Section titled “fontFamily?”
optionalfontFamily?:string
fontSize?
Section titled “fontSize?”
optionalfontSize?:number
Point size; requires a publication adapter that supports it.
fullwidthSpaceIndent?
Section titled “fullwidthSpaceIndent?”
optionalfullwidthSpaceIndent?:boolean
Emit literal ideographic spaces for first-line indentation in DOCX.
gridMode?
Section titled “gridMode?”
optionalgridMode?:"strict"|"typographic"
strict enforces the character/line grid; typographic prioritizes explicit type metrics.
identifier?
Section titled “identifier?”
optionalidentifier?:string
landscape?
Section titled “landscape?”
optionallandscape?:boolean
language?
Section titled “language?”
optionallanguage?:string
lineSpacing?
Section titled “lineSpacing?”
optionallineSpacing?:number
Line-height multiplier; requires a publication adapter that supports it.
linesPerPage?
Section titled “linesPerPage?”
optionallinesPerPage?:number
margins?
Section titled “margins?”
optionalmargins?:NonNullable<NonNullable<ExportProfile["pagination"]>["margins"]>
pageNumberFormat?
Section titled “pageNumberFormat?”
optionalpageNumberFormat?:NonNullable<NonNullable<ExportProfile["pagination"]>["pageNumbers"]>["format"]
pageNumberPosition?
Section titled “pageNumberPosition?”
optionalpageNumberPosition?:NonNullable<NonNullable<ExportProfile["pagination"]>["pageNumbers"]>["position"]
pageSize?
Section titled “pageSize?”
optionalpageSize?:NonNullable<ExportProfile["pagination"]>["pageSize"]
publisher?
Section titled “publisher?”
optionalpublisher?:string
showPageNumbers?
Section titled “showPageNumbers?”
optionalshowPageNumbers?:boolean
textIndent?
Section titled “textIndent?”
optionaltextIndent?:number
title?
Section titled “title?”
optionaltitle?:string
verticalWriting?
Section titled “verticalWriting?”
optionalverticalWriting?:boolean