com.aspose.words
Class NodeType

java.lang.Object
    extended by com.aspose.words.NodeType

public class NodeType 
extends java.lang.Object

Utility class containing constants. Specifies the type of a Word document node.

Field Summary
static final intANY
           Indicates all node types. Allows to select all children.
static final intDOCUMENT
          

A Document object that, as the root of the document tree, provides access to the entire Word document.

A Document node can have Section nodes.

static final intSECTION
          

A Section object that corresponds to one section in a Word document.

A Section node can have Body and HeaderFooter nodes.

static final intBODY
          

A Body object that contains the main text of a section (main text story).

A Body node can have Paragraph and Table nodes.

static final intHEADER_FOOTER
          

A HeaderFooter object that contains text of a particular header or footer inside a section.

A HeaderFooter node can have Paragraph and Table nodes.

static final intTABLE
          

A Table object that represents a table in a Word document.

A Table node can have Row nodes.

static final intROW
          

A row of a table.

A Row node can have Cell nodes.

static final intCELL
          

A cell of a table row.

A Cell node can have Paragraph and Table nodes.

static final intPARAGRAPH
          

A paragraph of text.

A Paragraph node is a container for inline level elements Run, FieldStart, FieldSeparator, FieldEnd, FormField, Shape, GroupShape, Footnote, Comment, SpecialChar, as well as BookmarkStart and BookmarkEnd.

static final intBOOKMARK_START
          

A beginning of a bookmark marker.

static final intBOOKMARK_END
          

An end of a bookmark marker.

static final intGROUP_SHAPE
          

A group of shapes, images, OLE objects or other group shapes.

A GroupShape node can contain other Shape and GroupShape nodes.

static final intSHAPE
          

A drawing object, such as an OfficeArt shape, image or an OLE object.

A Shape node can contain Paragraph and Table nodes.

static final intCOMMENT
          

A comment in a Word document.

A Comment node can have Paragraph and Table nodes.

static final intFOOTNOTE
          

A footnote or endnote in a Word document.

A Footnote node can have Paragraph and Table nodes.

static final intRUN
          

A run of text.

static final intFIELD_START
          

A special character that designates the start of a Word field.

static final intFIELD_SEPARATOR
          

A special character that separates the field code from the field result.

static final intFIELD_END
          

A special character that designates the end of a Word field.

static final intFORM_FIELD
          

A form field.

static final intSPECIAL_CHAR
          

A special character that is not one of the more specific special character types.

static final intSMART_TAG
          

A smart tag around one or more inline structures (runs, images, fields,etc.) within a paragraph

static final intSYSTEM
           Reserved for internal use by Aspose.Words.
static final intNULL
           Reserved for internal use by Aspose.Words.
 

Field Detail

ANY

public static final int ANY
Indicates all node types. Allows to select all children.

DOCUMENT

public static final int DOCUMENT

A Document object that, as the root of the document tree, provides access to the entire Word document.

A Document node can have Section nodes.


SECTION

public static final int SECTION

A Section object that corresponds to one section in a Word document.

A Section node can have Body and HeaderFooter nodes.


BODY

public static final int BODY

A Body object that contains the main text of a section (main text story).

A Body node can have Paragraph and Table nodes.


HEADER_FOOTER

public static final int HEADER_FOOTER

A HeaderFooter object that contains text of a particular header or footer inside a section.

A HeaderFooter node can have Paragraph and Table nodes.


TABLE

public static final int TABLE

A Table object that represents a table in a Word document.

A Table node can have Row nodes.


ROW

public static final int ROW

A row of a table.

A Row node can have Cell nodes.


CELL

public static final int CELL

A cell of a table row.

A Cell node can have Paragraph and Table nodes.


PARAGRAPH

public static final int PARAGRAPH

A paragraph of text.

A Paragraph node is a container for inline level elements Run, FieldStart, FieldSeparator, FieldEnd, FormField, Shape, GroupShape, Footnote, Comment, SpecialChar, as well as BookmarkStart and BookmarkEnd.


BOOKMARK_START

public static final int BOOKMARK_START

A beginning of a bookmark marker.


BOOKMARK_END

public static final int BOOKMARK_END

An end of a bookmark marker.


GROUP_SHAPE

public static final int GROUP_SHAPE

A group of shapes, images, OLE objects or other group shapes.

A GroupShape node can contain other Shape and GroupShape nodes.


SHAPE

public static final int SHAPE

A drawing object, such as an OfficeArt shape, image or an OLE object.

A Shape node can contain Paragraph and Table nodes.


COMMENT

public static final int COMMENT

A comment in a Word document.

A Comment node can have Paragraph and Table nodes.


FOOTNOTE

public static final int FOOTNOTE

A footnote or endnote in a Word document.

A Footnote node can have Paragraph and Table nodes.


RUN

public static final int RUN

A run of text.


FIELD_START

public static final int FIELD_START

A special character that designates the start of a Word field.


FIELD_SEPARATOR

public static final int FIELD_SEPARATOR

A special character that separates the field code from the field result.


FIELD_END

public static final int FIELD_END

A special character that designates the end of a Word field.


FORM_FIELD

public static final int FORM_FIELD

A form field.


SPECIAL_CHAR

public static final int SPECIAL_CHAR

A special character that is not one of the more specific special character types.


SMART_TAG

public static final int SMART_TAG

A smart tag around one or more inline structures (runs, images, fields,etc.) within a paragraph


SYSTEM

public static final int SYSTEM
Reserved for internal use by Aspose.Words.

NULL

public static final int NULL
Reserved for internal use by Aspose.Words.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.