Skip to main content
Module

x/docxml/mod.ts>StylesXml#addStyles

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

Add several custom styles to the available palette. Useful for cloning the style configuration of another DOCX.

Parameters

styles: AnyStyleDefinition[]