Skip to main content
Module

x/docxml/mod.ts>HeaderXml.fromJsx

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
method HeaderXml.fromJsx
import { HeaderXml } from "https://deno.land/x/docxml@5.11.3/mod.ts";

Create a new DOCX with contents composed by this library's components. Needs a single JSX component as root, for example <Section> or <Paragragh>.

Parameters

location: string
roots: HeaderFooterRoot<HeaderFooterChild | WatermarkText>