diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index a23df780aa..81255ee7de 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1110,6 +1110,44 @@ declare namespace Office { */ ReadWrite } + /** + * Specifies the type of the XML node. + * + * @remarks + * Hosts: Word + * + * Available in Requirement set: CustomXmlParts + */ + enum CustomXMLNodeType { + /** + * The node is an attribute. + */ + Attribute, + /** + * The node is CData. + */ + CData, + /** + * The node is a comment. + */ + NodeComment, + /** + * The node is an element. + */ + Element, + /** + * The node is a Document element. + */ + NodeDocument, + /** + * The node is a processing instruction. + */ + ProcessingInstruction, + /** + * The node is text. + */ + Text, + } /** * Specifies the kind of event that was raised. Returned by the type property of an EventNameEventArgs object. *