From 4030bb3310ae029514b781e380c061e7deebd073 Mon Sep 17 00:00:00 2001 From: Ricky Kirkham Date: Sat, 2 Jun 2018 13:39:10 -0700 Subject: [PATCH] add declaration for CustomXMLNodeType enum --- types/office-js/index.d.ts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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. *