import { StylesXml } from "https://deno.land/x/docxml@5.15.3/src/files/StylesXml.ts";
Properties
The list of custom styles. Does not include latent styles.
Methods
Add a custom style to the available style palette. If it does not have an identifier already, the system will propose an identifier based on the style name, or create a unique GUID. This method throws when the identifier is not unique.
Adds default styles.
Adds a latent style, which means that the Word processor should determine its actual properties
Add several custom styles to the available palette. Useful for cloning the style configuration of another DOCX.
Ensure that a style with this identifier exists. If it doesn't already exist, an empty (paragraph) style is added just in time.
Gets the style data by its identifier.
Checks wether a custom style or a latent style with this identifier already exists.