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

x/docxml/src/files/Styles.ts>Styles#ensureStyle

TypeScript library for parsing and building a DOCXML file
Go to Latest
method Styles.prototype.ensureStyle
Deprecated
Deprecated

This is probably an incorrect approach to fixing missing styles.

import { Styles } from "https://deno.land/x/docxml@5.2.0/src/files/Styles.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