Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Constructors

new
HeaderXml(location: string, relationships: RelationshipsXml | null)

Static Methods

fromArchive(
archive: Archive,
contentTypes: ContentTypesXml,
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>.