@openxmldev/linq-to-ooxml
Version:
OOXML Namespace-related Classes for LINQ to XML for TypeScript
100 lines (99 loc) • 4.89 kB
TypeScript
/**
* @author Thomas Barnekow
* @license MIT
*/
import { XAttribute, XName, XNamespace } from '@openxmldev/linq-to-xml';
/**
* Declares XNamespace and XName fields for the `xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"` namespace.
*/
export declare class WPG {
/**
* Defines the XML namespace associated with the `wpg` prefix.
*/
static readonly wpg: XNamespace;
/**
* Returns the namespace declaration `XAttribute` for this namespace.
*/
static get namespaceDeclaration(): XAttribute;
/**
* Represents the `wpg:cNvFrPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode WPC.graphicFrame wpc:graphicFrame}, {@linkcode graphicFrame wpg:graphicFrame}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.graphicFrameLocks a:graphicFrameLocks}
*/
static readonly cNvFrPr: XName;
/**
* Represents the `wpg:cNvGrpSpPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.grpSpLocks a:grpSpLocks}
*/
static readonly cNvGrpSpPr: XName;
/**
* Represents the `wpg:cNvPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode WPC.graphicFrame wpc:graphicFrame}, {@linkcode graphicFrame wpg:graphicFrame}, {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode A.extLst a:extLst}, {@linkcode A.hlinkClick a:hlinkClick}, {@linkcode A.hlinkHover a:hlinkHover}
*/
static readonly cNvPr: XName;
/**
* Represents the `wpg:extLst` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode WPC.graphicFrame wpc:graphicFrame}, {@linkcode graphicFrame wpg:graphicFrame}, {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode A.ext a:ext}
*/
static readonly extLst: XName;
/**
* Represents the `wpg:graphicFrame` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode A.graphic a:graphic}, {@linkcode cNvFrPr wpg:cNvFrPr}, {@linkcode cNvPr wpg:cNvPr}, {@linkcode extLst wpg:extLst}, {@linkcode xfrm wpg:xfrm}
*/
static readonly graphicFrame: XName;
/**
* Represents the `wpg:grpSp` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode W14.contentPart w14:contentPart}, {@linkcode cNvGrpSpPr wpg:cNvGrpSpPr}, {@linkcode cNvPr wpg:cNvPr}, {@linkcode extLst wpg:extLst}, {@linkcode graphicFrame wpg:graphicFrame}, {@linkcode grpSp wpg:grpSp}, {@linkcode grpSpPr wpg:grpSpPr}, {@linkcode WPS.wsp wps:wsp}
*/
static readonly grpSp: XName;
/**
* Represents the `wpg:grpSpPr` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode grpSp wpg:grpSp}, {@linkcode wgp wpg:wgp}
* - child XML elements: {@linkcode A.blipFill a:blipFill}, {@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.noFill a:noFill}, {@linkcode A.pattFill a:pattFill}, {@linkcode A.scene3d a:scene3d}, {@linkcode A.solidFill a:solidFill}, {@linkcode A.xfrm a:xfrm}
*/
static readonly grpSpPr: XName;
/**
* Represents the `wpg:wgp` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode WPC.wpc_ wpc:wpc_}
* - child XML elements: {@linkcode W14.contentPart w14:contentPart}, {@linkcode cNvGrpSpPr wpg:cNvGrpSpPr}, {@linkcode cNvPr wpg:cNvPr}, {@linkcode extLst wpg:extLst}, {@linkcode graphicFrame wpg:graphicFrame}, {@linkcode grpSp wpg:grpSp}, {@linkcode grpSpPr wpg:grpSpPr}, {@linkcode WPS.wsp wps:wsp}
*/
static readonly wgp: XName;
/**
* Represents the `wpg:xfrm` XML element.
*
* @remarks
* As an XML element, it has the following:
* - parent XML elements: {@linkcode WPC.graphicFrame wpc:graphicFrame}, {@linkcode graphicFrame wpg:graphicFrame}
* - child XML elements: {@linkcode A.ext a:ext}, {@linkcode A.off a:off}
*/
static readonly xfrm: XName;
}