UNPKG

@openxmldev/linq-to-ooxml

Version:

OOXML Namespace-related Classes for LINQ to XML for TypeScript

60 lines (59 loc) 1.99 kB
/** * @author Thomas Barnekow * @license MIT */ import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml'; /** * Declares XNamespace and XName fields for the `xmlns:ds="http://schemas.openxmlformats.org/officeDocument/2006/customXml"` namespace. */ export declare class DS { /** * Defines the XML namespace associated with the `ds` prefix. */ static readonly ds: XNamespace; /** * Returns the namespace declaration `XAttribute` for this namespace. */ static get namespaceDeclaration(): XAttribute; /** * Represents the `ds:datastoreItem` XML element. * * @remarks * As an XML element, it has the following: * - child XML elements: {@linkcode schemaRefs ds:schemaRefs} * - XML attributes: {@linkcode itemID ds:itemID} */ static readonly datastoreItem: XName; /** * Represents the `ds:itemID` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode datastoreItem ds:datastoreItem} */ static readonly itemID: XName; /** * Represents the `ds:schemaRef` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode schemaRefs ds:schemaRefs} * - XML attributes: {@linkcode uri ds:uri} */ static readonly schemaRef: XName; /** * Represents the `ds:schemaRefs` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode datastoreItem ds:datastoreItem} * - child XML elements: {@linkcode schemaRef ds:schemaRef} */ static readonly schemaRefs: XName; /** * Represents the `ds:uri` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode schemaRef ds:schemaRef} */ static readonly uri: XName; }