With the help of table location and the location of individual tokens in the document, only those tokens which are within the given table location are collected by comparing their corresponding coordinate values.
all the tokens, whose x coordinate is between startX and endX and whose y coordinate is between startY and endY are collected as table text tokens.