2021.2

Table Of Contents
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 node in the XML,
regardless of its level in the hierarchy; the next node may be a child element, a sibling
node, or a node that is higher in the XML hierarchy than the current node.
l 1 or steps.MOVESIBLING: the current position is set to the next sibling node in the
XML hierarchy.
JSON
Moves the current position to the next element in the JSON hierarchy based on the specified
scope.
scope
Number that may be set to:
l 0 or steps.MOVENODE: the current position is set to the first available next element
element in the JSON. The next element is looked for in the following order: first child, next
sibling, parent's sibling.
l 1 or steps.MOVESIBLING: the current position is set to the next element in the same
parent, i.e. the next element in an array or the next key-value pair in an object.
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 431