OdfDocument odfDocument = OdfDocument.loadDocument(in);
int pages = odfDocument.getOfficeMetadata().getDocumentStatistic().getPageCount();
I am getting the total pages, but can't find a solution to get specific page of .odt
document. Can you propose an approach for this?
I am trying to find a solution using odftoolkit
. Read the documentation but did not find any helper method that gives a specific page of .odt
document.