//Stop existing page decodes in pageFlow
if (decode_pdf.getDisplayView() == Display.PAGEFLOW) {
Display d = ((Display)decode_pdf.getExternalHandler(Options.Display));
d.stopGeneratingPage();
d.drawBorder();
}
if (!commonValues.isProcessing()) { //lock to stop multiple accesses
/**if in range update count and decode next page. Decoded pages are cached so will redisplay