2020.1

Table Of Contents
moveToNext(scope)
Moves the current position in a text file or XML file to the next instance of scope. What scope
represents depends on the emulation type: text or XML.
Text
scope
Number that may be set to:
l 0 or steps.MOVELINES: the current position is set to the next line.
l 1 or steps.MOVEDELIMITERS: the current position is set to the next delimiter (as
defined in the Input Data settings).
l 2 (next line with content): the current position is set to the next line that contains any text.
Example
The following line of code moves the current position to the next line that contains any text.
steps.moveToNext(2);
XML
scope
Number that may be set to:
l 0 or steps.MOVENODE: the current position is set to the next parent node in the XML
hierarchy.
l 1 or steps.MOVESIBLING: the current position is set to the next sibling node in the
XML hierarchy.
moveToNext(left, right)
Moves the current position in a PDF file to the next line that contains any text, the search for text
being contained within the left and right parameters, expressed in millimeters.
left
Double that represents the left edge (in millimeters) of the text to find.
right
Page 408