Mercurial > hg > documentViewer
comparison documentViewer.py @ 151:82e63a3d40cb
characterNormalization
author | abukhman |
---|---|
date | Fri, 20 Aug 2010 15:36:39 +0200 |
parents | c8e84c6d8802 |
children | 578f8f9f340b |
comparison
equal
deleted
inserted
replaced
150:c8e84c6d8802 | 151:82e63a3d40cb |
---|---|
711 pageinfo['queryPageSize'] =self.REQUEST.get('queryPageSize', '10') | 711 pageinfo['queryPageSize'] =self.REQUEST.get('queryPageSize', '10') |
712 pageinfo['tocPN'] = self.REQUEST.get('tocPN', '1') | 712 pageinfo['tocPN'] = self.REQUEST.get('tocPN', '1') |
713 toc = int (pageinfo['tocPN']) | 713 toc = int (pageinfo['tocPN']) |
714 pageinfo['textPages'] =int (toc) | 714 pageinfo['textPages'] =int (toc) |
715 | 715 |
716 logging.debug("documentViewer (getdocinfo) tocMode: %s"%tocMode) | 716 |
717 | 717 |
718 if 'tocSize_%s'%tocMode in docinfo: | 718 if 'tocSize_%s'%tocMode in docinfo: |
719 tocSize = int(docinfo['tocSize_%s'%tocMode]) | 719 tocSize = int(docinfo['tocSize_%s'%tocMode]) |
720 tocPageSize = int(pageinfo['tocPageSize']) | 720 tocPageSize = int(pageinfo['tocPageSize']) |
721 # cached toc | 721 # cached toc |