Skip to main content
Module

x/docxml/src/classes/Component.ts>ComponentAncestor

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
type alias ComponentAncestor
import { type ComponentAncestor } from "https://deno.land/x/docxml@2.4.1/src/classes/Component.ts";

An ancestor of a component at serialization time, or the OfficeDocument instance that is the parent of the top-most component.

Having this ancestry allows context-aware serialization.