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

x/docxml/src/components/Symbol.ts>Symbol

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
class Symbol
import { Symbol } from "https://deno.land/x/docxml@5.14.1/src/components/Symbol.ts";

A component that represents a special character from a different font.

Methods

toNode(_ancestry: ComponentAncestor[]): Node

Creates an XML DOM node for this component instance.

Static Properties

readonly
children: string[]
readonly
mixed: boolean

Static Methods

fromNode(node: Node): Symbol

Instantiate this component from the XML in an existing DOCX file.

matchesNode(node: Node): boolean

Asserts whether or not a given XML node correlates with this component.