Am 28.04.2017 um 13:42 schrieb Olivier Cailloux:
Le 27/04/2017 à 18:15, Tilman Hausherr a écrit :
So, would this help you?


    public Set<Integer>getPageIndices()
    {
        return labels.keySet();
    }


Perfect! (Possibly also with a (javadoc) guarantee about the ascending iteration order over the set contents, if that’s easy to provide.) Olivier


Done.
https://issues.apache.org/jira/browse/PDFBOX-3770

You get get a snapshot here:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.6-SNAPSHOT/

    /**
     * Get an ordered set of page indices having a page label range.
     *
     * @return set of page indices.
     */
    public SortedSet<Integer> getPageIndices()


Please give feedback whether it works for you.

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to