renderDocx
本頁內容尚未翻譯。
Call Signature
Section titled “Call Signature”renderDocx(
source):Uint8Array
Defined in: nodejs/packages/mdi/src/index.ts:576
Build a baseline DOCX archive from complete source in Rust.
Parameters
Section titled “Parameters”source
Section titled “source”string
Returns
Section titled “Returns”Uint8Array
Call Signature
Section titled “Call Signature”renderDocx(
source,profile):Promise<Uint8Array<ArrayBufferLike>>
Defined in: nodejs/packages/mdi/src/index.ts:581
Build a profile-configured DOCX archive. This overload is asynchronous for backward compatibility; validation and OOXML generation run in Rust.
Parameters
Section titled “Parameters”source
Section titled “source”string
profile
Section titled “profile”Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>