Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/docxml/mod.ts>StylesXml#ensureStyle

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
method StylesXml.prototype.ensureStyle
Deprecated
Deprecated

This is probably an incorrect approach to fixing missing styles.

import { StylesXml } from "https://deno.land/x/docxml@5.5.6/mod.ts";

Ensure that a style with this identifier exists. If it doesn't already exist, an empty (paragraph) style is added just in time.

Parameters

id: string