Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/docxml/src/files/HeaderFooterXml.ts>HeaderXml

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
class HeaderXml
extends HeaderFooterAbstractionXml<HeaderFooterChild | WatermarkText>
import { HeaderXml } from "https://deno.land/x/docxml@5.11.4/src/files/HeaderFooterXml.ts";

Constructors

new
HeaderXml(location: string)

Static Methods

fromArchive(archive: Archive, location: string)

Instantiate this class by looking at the DOCX XML for it.

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