@openxmldev/linq-to-ooxml
Version:
OOXML Namespace-related Classes for LINQ to XML for TypeScript
58 lines (57 loc) • 2.05 kB
TypeScript
/**
* @author Thomas Barnekow
* @license MIT
*/
import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml';
/**
* Declares XNamespace and XName fields for the `xmlns:sl="http://schemas.openxmlformats.org/schemaLibrary/2006/main"` namespace.
*/
export declare class SL {
/**
* Defines the XML namespace associated with the `sl` prefix.
*/
static readonly sl: XNamespace;
/**
* Returns the namespace declaration `XAttribute` for this namespace.
*/
static get namespaceDeclaration(): XAttribute;
/**
* Represents the `sl:manifestLocation` XML attribute.
*
* @remarks
* As an XML attribute, it is contained in the following XML elements: {@linkcode schema sl:schema}
*/
static readonly manifestLocation: XName;
/**
* Represents the `sl:schema` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode schemaLibrary sl:schemaLibrary}
* - XML attributes: {@linkcode manifestLocation sl:manifestLocation}, {@linkcode schemaLocation sl:schemaLocation}, {@linkcode uri sl:uri}
*/
static readonly schema: XName;
/**
* Represents the `sl:schemaLibrary` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.settings w:settings}
* - child XML elements: {@linkcode schema sl:schema}
*/
static readonly schemaLibrary: XName;
/**
* Represents the `sl:schemaLocation` XML attribute.
*
* @remarks
* As an XML attribute, it is contained in the following XML elements: {@linkcode schema sl:schema}
*/
static readonly schemaLocation: XName;
/**
* Represents the `sl:uri` XML attribute.
*
* @remarks
* As an XML attribute, it is contained in the following XML elements: {@linkcode schema sl:schema}
*/
static readonly uri: XName;
}