renderDocx
本頁內容尚未翻譯。
Call Signature
Section titled “Call Signature”renderDocx(
source):Uint8Array
Defined in: mdi/src/index.ts:262
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: mdi/src/index.ts:267
Build a profile-configured DOCX archive. This overload is asynchronous because archive generation is performed by the Node.js publication adapter.
Parameters
Section titled “Parameters”source
Section titled “source”string
profile
Section titled “profile”Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>