2.11.4.4 ST_KnownCtxNodeType

Target namespace: http://schemas.microsoft.com/ink/2010/main

Referenced by: ST_CtxNodeType

This type specifies an enumeration of Ink content node types. Possible values are described in the following table.

Value

Meaning

root

A root-level content node. This can be used as the parent of all other context nodes in a collection of ink traces.

unclassifiedInk

The ink of this context node cannot be identified as a particular type.

writingRegion

A context node that is the parent of paragraph context nodes.

analysisHint

A context node that contains analysis hint information.

object

A context node that might contain non-ink data of an unknown type.

inkDrawing

A context node that contains ink strokes that make up an arbitrary drawing and does not contain writing.

image

A context node that contains non-ink image data.

paragraph

A context node that is the parent of line context nodes and the child of writingRegion context nodes.

line

A context node that is the parent of inkWord or inkBullet context nodes and the child of paragraph context nodes.

inkBullet

A context node that is the child of a line context node and contains ink traces that represent bullet symbols in a bulleted list.

inkWord

A context node that is the child of a line context node and contains ink traces that represent written words.

textWord

A context node that is the child of a line context node and contains textual words, rather than ink-based words.

customRecognizer

A context node that uses a custom recognizer.

mathRegion

A context node that is the parent of mathEquation context nodes.

mathEquation

A context node that contains ink traces that represent a mathematical equation. It has child context nodes of type mathStruct.

mathStruct

A context node that contains portions of a mathematical equations. Supported child context nodes are mathSymbol, mathIdentifier, mathOperator, and mathNumber elements.

mathSymbol

A context node that represents a mathematical symbol, such as a degree symbol (°).

mathIdentifier

A context node that represents a mathematical identifier such as a function name.

mathOperator

A context node that represents a mathematical operator such as a plus sign.

mathNumber

A context node that represents a number in a mathematical equation.

nonInkDrawing

A context node that represents an arbitrary drawing made up of non-ink geometry.

groupNode

A context node that represents an arbitrary group of other context nodes.

mixedDrawing

A context node that represents a mixture of ink and non-ink drawing traces.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this simple type.

 <xsd:simpleType name="ST_KnownCtxNodeType">
   <xsd:restriction base="xsd:string">
     <xsd:enumeration value="root"/>
     <xsd:enumeration value="unclassifiedInk"/>
     <xsd:enumeration value="writingRegion"/>
     <xsd:enumeration value="analysisHint"/>
     <xsd:enumeration value="object"/>
     <xsd:enumeration value="inkDrawing"/>
     <xsd:enumeration value="image"/>
     <xsd:enumeration value="paragraph"/>
     <xsd:enumeration value="line"/>
     <xsd:enumeration value="inkBullet"/>
     <xsd:enumeration value="inkWord"/>
     <xsd:enumeration value="textWord"/>
     <xsd:enumeration value="customRecognizer"/>
     <xsd:enumeration value="mathRegion"/>
     <xsd:enumeration value="mathEquation"/>
     <xsd:enumeration value="mathStruct"/>
     <xsd:enumeration value="mathSymbol"/>
     <xsd:enumeration value="mathIdentifier"/>
     <xsd:enumeration value="mathOperator"/>
     <xsd:enumeration value="mathNumber"/>
     <xsd:enumeration value="nonInkDrawing"/>
     <xsd:enumeration value="groupNode"/>
     <xsd:enumeration value="mixedDrawing"/>
   </xsd:restriction>
 </xsd:simpleType>

See section 5.7 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).