FOM Reference > Formatting > Datatypes > fStreamPos interface
  
fStreamPos interface
A position within a text stream during formatting.
currentPos attribute
This is the offset within the stream of the next character to be formatted.
currentPos
Access
read-only
Returns
int
currentXMLNode attribute
If the stream contains XML, this is is fxNode object for the node within the XML tree at the currentPos.
currentXMLNode
Access
read-only
Returns
fxNode
setFormatPosition method
PI: attr
This method changes the format position for this level of the format hierarchy. This position will be used as the next position for this level of the hierarchy when formatting returns to that level. Incorrect use of this method can cause infinite loops, use with caution.
setFormatPositionpos
Parameters
intpos
The offset from the beginning of the text stream.
Returns
void. This method does not return a value