@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        PageRangeRequest that = (PageRangeRequest) o;
        return from == that.from && to == that.to;
    }
The range of pages to render.  These are 1-based, and "to" is inclusive.
tika-core/src/main/java/org/apache/tika/renderer/PageRangeRequest.java