@openxmldev/linq-to-ooxml
Version:
OOXML Namespace-related Classes for LINQ to XML for TypeScript
109 lines (108 loc) • 4.97 kB
TypeScript
/**
* @author Thomas Barnekow
* @license MIT
*/
import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml';
/**
* Declares XNamespace and XName fields for the `xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"` namespace.
*/
export declare class WPS {
/**
* Defines the XML namespace associated with the `wps` prefix.
*/
static readonly wps: XNamespace;
/**
* Returns the namespace declaration `XAttribute` for this namespace.
*/
static get namespaceDeclaration(): XAttribute;
/**
* Represents the `wps:bodyPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.flatTx a:flatTx}, {@linkcode A.noAutofit a:noAutofit}, {@linkcode A.normAutofit a:normAutofit}, {@linkcode A.prstTxWarp a:prstTxWarp}, {@linkcode A.scene3d a:scene3d}, {@linkcode A.sp3d a:sp3d}, {@linkcode A.spAutoFit a:spAutoFit}
*/
static readonly bodyPr: XName;
/**
* Represents the `wps:cNvCnPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.cxnSpLocks a:cxnSpLocks}, {@linkcode A.endCxn a:endCxn}, {@linkcode A.extLst a:extLst}, {@linkcode A.stCxn a:stCxn}
*/
static readonly cNvCnPr: XName;
/**
* Represents the `wps:cNvPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.hlinkClick a:hlinkClick}, {@linkcode A.hlinkHover a:hlinkHover}
*/
static readonly cNvPr: XName;
/**
* Represents the `wps:cNvSpPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.spLocks a:spLocks}
*/
static readonly cNvSpPr: XName;
/**
* Represents the `wps:extLst` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode linkedTxbx wps:linkedTxbx}, {@linkcode txbx wps:txbx}, {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.ext a:ext}
*/
static readonly extLst: XName;
/**
* Represents the `wps:linkedTxbx` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode extLst wps:extLst}
*/
static readonly linkedTxbx: XName;
/**
* Represents the `wps:spPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.blipFill a:blipFill}, {@linkcode A.custGeom a:custGeom}, {@linkcode A.effectDag a:effectDag}, {@linkcode A.effectLst a:effectLst}, {@linkcode A.extLst a:extLst}, {@linkcode A.gradFill a:gradFill}, {@linkcode A.grpFill a:grpFill}, {@linkcode A.ln a:ln}, {@linkcode A.noFill a:noFill}, {@linkcode A.pattFill a:pattFill}, {@linkcode A.prstGeom a:prstGeom}, {@linkcode A.scene3d a:scene3d}, {@linkcode A.solidFill a:solidFill}, {@linkcode A.sp3d a:sp3d}, {@linkcode A.xfrm a:xfrm}
*/
static readonly spPr: XName;
/**
* Represents the `wps:style` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode A.effectRef a:effectRef}, {@linkcode A.fillRef a:fillRef}, {@linkcode A.fontRef a:fontRef}, {@linkcode A.lnRef a:lnRef}
*/
static readonly style: XName;
/**
* Represents the `wps:txbx` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode wsp wps:wsp}
* - child XML elements: {@linkcode W.txbxContent w:txbxContent}, {@linkcode extLst wps:extLst}
*/
static readonly txbx: XName;
/**
* Represents the `wps:wsp` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode WPC.wpc_ wpc:wpc_}, {@linkcode WPG.grpSp wpg:grpSp}, {@linkcode WPG.wgp wpg:wgp}
* - child XML elements: {@linkcode bodyPr wps:bodyPr}, {@linkcode cNvCnPr wps:cNvCnPr}, {@linkcode cNvPr wps:cNvPr}, {@linkcode cNvSpPr wps:cNvSpPr}, {@linkcode extLst wps:extLst}, {@linkcode linkedTxbx wps:linkedTxbx}, {@linkcode spPr wps:spPr}, {@linkcode style wps:style}, {@linkcode txbx wps:txbx}
*/
static readonly wsp: XName;
}