UNPKG

@openxmldev/linq-to-ooxml

Version:

OOXML Namespace-related Classes for LINQ to XML for TypeScript

236 lines 8.42 kB
/** * @author Thomas Barnekow * @license MIT */ import { XAttribute, XNamespace } from '@openxmldev/linq-to-xml'; /** * Declares XNamespace and XName fields for the `xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"` namespace. */ export class W15 { /** @internal */ constructor() { // Ignore } /** * Returns the namespace declaration `XAttribute` for this namespace. */ static get namespaceDeclaration() { return new XAttribute(XNamespace.xmlns.getName('w15'), W15.w15.namespaceName); } } /** * Defines the XML namespace associated with the `w15` prefix. */ W15.w15 = XNamespace.get('http://schemas.microsoft.com/office/word/2012/wordml'); /** * Represents the `w15:appearance` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - XML attributes: {@linkcode val w15:val} */ W15.appearance = W15.w15.getName('appearance'); /** * Represents the `w15:author` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode person w15:person} */ W15.author = W15.w15.getName('author'); /** * Represents the `w15:chartTrackingRefBased` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.settings w:settings} * - XML attributes: {@linkcode W.val w:val} */ W15.chartTrackingRefBased = W15.w15.getName('chartTrackingRefBased'); /** * Represents the `w15:collapsed` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData} * - XML attributes: {@linkcode W.val w:val} */ W15.collapsed = W15.w15.getName('collapsed'); /** * Represents the `w15:color` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - XML attributes: {@linkcode W.themeColor w:themeColor}, {@linkcode W.themeShade w:themeShade}, {@linkcode W.themeTint w:themeTint}, {@linkcode W.val w:val} */ W15.color = W15.w15.getName('color'); /** * Represents the `w15:commentEx` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode commentsEx w15:commentsEx} * - XML attributes: {@linkcode done w15:done}, {@linkcode paraId w15:paraId}, {@linkcode paraIdParent w15:paraIdParent} */ W15.commentEx = W15.w15.getName('commentEx'); /** * Represents the `w15:commentsEx` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData} * - child XML elements: {@linkcode commentEx w15:commentEx} */ W15.commentsEx = W15.w15.getName('commentsEx'); /** * Represents the `w15:dataBinding` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - XML attributes: {@linkcode W.prefixMappings w:prefixMappings}, {@linkcode W.storeItemID w:storeItemID}, {@linkcode W.xpath w:xpath} */ W15.dataBinding = W15.w15.getName('dataBinding'); /** * Represents the `w15:docId` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.settings w:settings} * - XML attributes: {@linkcode val w15:val} */ W15.docId = W15.w15.getName('docId'); /** * Represents the `w15:done` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode commentEx w15:commentEx} */ W15.done = W15.w15.getName('done'); /** * Represents the `w15:doNotAllowInsertDeleteSection` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode repeatingSection w15:repeatingSection} * - XML attributes: {@linkcode W.val w:val} */ W15.doNotAllowInsertDeleteSection = W15.w15.getName('doNotAllowInsertDeleteSection'); /** * Represents the `w15:footnoteColumns` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sectPr w:sectPr} * - XML attributes: {@linkcode W.val w:val} */ W15.footnoteColumns = W15.w15.getName('footnoteColumns'); /** * Represents the `w15:paraId` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode commentEx w15:commentEx} */ W15.paraId = W15.w15.getName('paraId'); /** * Represents the `w15:paraIdParent` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode commentEx w15:commentEx} */ W15.paraIdParent = W15.w15.getName('paraIdParent'); /** * Represents the `w15:people` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData} * - child XML elements: {@linkcode person w15:person} */ W15.people = W15.w15.getName('people'); /** * Represents the `w15:person` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode people w15:people} * - child XML elements: {@linkcode presenceInfo w15:presenceInfo} * - XML attributes: {@linkcode author w15:author} */ W15.person = W15.w15.getName('person'); /** * Represents the `w15:presenceInfo` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode person w15:person} * - XML attributes: {@linkcode providerId w15:providerId}, {@linkcode userId w15:userId} */ W15.presenceInfo = W15.w15.getName('presenceInfo'); /** * Represents the `w15:providerId` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode presenceInfo w15:presenceInfo} */ W15.providerId = W15.w15.getName('providerId'); /** * Represents the `w15:repeatingSection` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - child XML elements: {@linkcode doNotAllowInsertDeleteSection w15:doNotAllowInsertDeleteSection}, {@linkcode sectionTitle w15:sectionTitle} */ W15.repeatingSection = W15.w15.getName('repeatingSection'); /** * Represents the `w15:repeatingSectionItem` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} */ W15.repeatingSectionItem = W15.w15.getName('repeatingSectionItem'); /** * Represents the `w15:sectionTitle` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode repeatingSection w15:repeatingSection} * - XML attributes: {@linkcode W.val w:val} */ W15.sectionTitle = W15.w15.getName('sectionTitle'); /** * Represents the `w15:userId` XML attribute. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode presenceInfo w15:presenceInfo} */ W15.userId = W15.w15.getName('userId'); /** * Represents the `w15:val` XML attributes. * * @remarks * As an XML attribute, it is contained in the following XML elements: {@linkcode appearance w15:appearance}, {@linkcode docId w15:docId} */ W15.val = W15.w15.getName('val'); /** * Represents the `w15:webExtensionCreated` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - XML attributes: {@linkcode W.val w:val} */ W15.webExtensionCreated = W15.w15.getName('webExtensionCreated'); /** * Represents the `w15:webExtensionLinked` XML element. * * @remarks * As an XML element, it has the following: * - parent XML elements: {@linkcode A.graphicData a:graphicData}, {@linkcode W.sdtPr w:sdtPr} * - XML attributes: {@linkcode W.val w:val} */ W15.webExtensionLinked = W15.w15.getName('webExtensionLinked'); //# sourceMappingURL=W15.js.map