# HG changeset patch # User abukhman # Date 1287403173 -7200 # Node ID 4b64c83e8118bf7f9351eca06171a0992a2a315c # Parent 929211c057eb19a004ed3e0a6834b868db14ca9e *** empty log message *** diff -r 929211c057eb -r 4b64c83e8118 documentViewer.py --- a/documentViewer.py Mon Oct 18 13:57:07 2010 +0200 +++ b/documentViewer.py Mon Oct 18 13:59:33 2010 +0200 @@ -748,12 +748,12 @@ self.REQUEST.SESSION['docinfo'] = docinfo return docinfo - def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None,characterNormalization="",originalPage=None): + def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None,characterNormalization=""): """returns pageinfo with the given parameters""" pageinfo = {} current = getInt(current) - pageinfo ['originalPage'] = self.getOrigPages(docinfo=docinfo,pageinfo=pageinfo) + #pageinfo ['originalPage'] = self.getOrigPages(docinfo=docinfo,pageinfo=pageinfo) pageinfo['current'] = current rows = int(rows or self.thumbrows) pageinfo['rows'] = rows @@ -786,7 +786,7 @@ toc = int (pageinfo['tocPN']) pageinfo['textPages'] =int (toc) - logging.debug("originalPage: %s"%originalPage) + #logging.debug("originalPage: %s"%originalPage) if 'tocSize_%s'%tocMode in docinfo: tocSize = int(docinfo['tocSize_%s'%tocMode])