diff servlet/src/digilib/servlet/DigilibPDFWorker.java @ 541:f140d5ee8c0b digilibPDF

new NumRange class allows "1-" specifications
author robcast
date Tue, 12 Oct 2010 20:42:58 +0200
parents 87cb3dc2aa12
children e2ff961001af
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/DigilibPDFWorker.java	Mon Oct 11 16:06:03 2010 +0200
+++ b/servlet/src/digilib/servlet/DigilibPDFWorker.java	Tue Oct 12 20:42:58 2010 +0200
@@ -90,7 +90,8 @@
 			logger.debug("- "+outputfile+" doc.open()ed ("+(System.currentTimeMillis()-start_time) + "ms)");
 			start_time = System.currentTimeMillis();
 
-			Integer[] pgs = job_info.getPageNrs();//get_pgs();
+			//Integer[] pgs = job_info.getPageNrs();//get_pgs();
+			NumRange pgs = job_info.getPages();
 
 			for(Integer p: pgs){
 				logger.debug(" - adding Image "+p+" to " + outputfile);