UNPKG

@openxmldev/linq-to-ooxml

Version:

OOXML Namespace-related Classes for LINQ to XML for TypeScript

30 lines (29 loc) 1.64 kB
/** * @author Thomas Barnekow * @license MIT */ import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml'; /** * Declares XNamespace and XName fields for the `xmlns:xml="http://www.w3.org/XML/1998/namespace"` namespace. */ export declare class XML { /** * Defines the XML namespace associated with the `xml` prefix. */ static readonly xml: XNamespace; /** * Returns the namespace declaration `XAttribute` for this namespace. */ static get namespaceDeclaration(): XAttribute; /** * Represents the `xml:id` XML name. */ static readonly id: XName; /** * Represents the `xml:space` XML attributes. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode M.t m:t}, {@linkcode W.delInstrText w:delInstrText}, {@linkcode W.delText w:delText}, {@linkcode W.instrText w:instrText}, {@linkcode W.t w:t}, {@linkcode X.author x:author}, {@linkcode X.calculatedColumnFormula x:calculatedColumnFormula}, {@linkcode X.evenFooter x:evenFooter}, {@linkcode X.evenHeader x:evenHeader}, {@linkcode X.f x:f}, {@linkcode X.firstFooter x:firstFooter}, {@linkcode X.firstHeader x:firstHeader}, {@linkcode X.formula x:formula}, {@linkcode X.formula1 x:formula1}, {@linkcode X.formula2 x:formula2}, {@linkcode X.oddFooter x:oddFooter}, {@linkcode X.oddHeader x:oddHeader}, {@linkcode X.oldFormula x:oldFormula}, {@linkcode X.stp x:stp}, {@linkcode X.t x:t}, {@linkcode X.totalsRowFormula x:totalsRowFormula}, {@linkcode X.v x:v}, {@linkcode X.val x:val} */ static readonly space: XName; }