@openxmldev/linq-to-ooxml
Version:
OOXML Namespace-related Classes for LINQ to XML for TypeScript
64 lines (63 loc) • 2.71 kB
TypeScript
/**
* @author Thomas Barnekow
* @license MIT
*/
import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml';
/**
* Declares XNamespace and XName fields for the `xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"` namespace.
*/
export declare class WPC {
/**
* Defines the XML namespace associated with the `wpc` prefix.
*/
static readonly wpc: XNamespace;
/**
* Returns the namespace declaration `XAttribute` for this namespace.
*/
static get namespaceDeclaration(): XAttribute;
/**
* Represents the `wpc:bg` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wpc_ wpc:wpc_}
* - child XML elements: {@linkcode A.blipFill a:blipFill}, {@linkcode A.effectDag a:effectDag}, {@linkcode A.effectLst a:effectLst}, {@linkcode A.gradFill a:gradFill}, {@linkcode A.grpFill a:grpFill}, {@linkcode A.noFill a:noFill}, {@linkcode A.pattFill a:pattFill}, {@linkcode A.solidFill a:solidFill}
*/
static readonly bg: XName;
/**
* Represents the `wpc:extLst` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wpc_ wpc:wpc_}
* - child XML elements: {@linkcode A.ext a:ext}
*/
static readonly extLst: XName;
/**
* Represents the `wpc:graphicFrame` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wpc_ wpc:wpc_}
* - child XML elements: {@linkcode A.graphic a:graphic}, {@linkcode WPG.cNvFrPr wpg:cNvFrPr}, {@linkcode WPG.cNvPr wpg:cNvPr}, {@linkcode WPG.extLst wpg:extLst}, {@linkcode WPG.xfrm wpg:xfrm}
*/
static readonly graphicFrame: XName;
/**
* Represents the `wpc:whole` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wpc_ wpc:wpc_}
* - child XML elements: {@linkcode A.effectDag a:effectDag}, {@linkcode A.effectLst a:effectLst}, {@linkcode A.ln a:ln}
*/
static readonly whole: XName;
/**
* Represents the `wpc:wpc` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode A.graphicData a:graphicData}
* - child XML elements: {@linkcode W14.contentPart w14:contentPart}, {@linkcode bg wpc:bg}, {@linkcode extLst wpc:extLst}, {@linkcode graphicFrame wpc:graphicFrame}, {@linkcode whole wpc:whole}, {@linkcode WPG.wgp wpg:wgp}, {@linkcode WPS.wsp wps:wsp}
*/
static readonly wpc_: XName;
}