ReadonlydataThe input document to patch
Optional ReadonlyendnotesThe endnotes that patches refer to with an EndnoteReferenceRun
Optional ReadonlyfootnotesThe footnotes that patches refer to with a FootnoteReferenceRun
Optional ReadonlykeepWhether to preserve original text formatting
Optional ReadonlynumberingThe lists that the paragraphs in patches use, by their references
ReadonlyoutputDesired output format (buffer, blob, string, etc.)
Optional ReadonlypageWorks out the page each bookmark is on, to write the page numbers of page references
ReadonlypatchesMap of placeholder keys to patch definitions
Optional ReadonlyplaceholderCustom delimiter characters for placeholders
Optional ReadonlypropertiesThe document's properties to set, such as its title
Optional ReadonlyrecursiveWhether to replace every occurrence of a placeholder in a paragraph, rather than only the first
Optional ReadonlytrimWhether to patch a placeholder with spaces inside its delimiters, such as {{ name }}
Options for patching a document.