Changeset 405:b8fb4c750d74 in documentViewer
- Timestamp:
- Nov 23, 2010, 4:36:50 PM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r404 r405 292 292 293 293 security.declareProtected('View','index_html') 294 def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None , query=None, querySearch=None, characterNormalization="", optionToggle=None):294 def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None): 295 295 ''' 296 296 view it … … 803 803 return docinfo 804 804 805 def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None ,characterNormalization=""):805 def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None): 806 806 """returns pageinfo with the given parameters""" 807 807 pageinfo = {} … … 827 827 pageinfo['viewMode'] = viewMode 828 828 pageinfo['tocMode'] = tocMode 829 pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization',' ')829 pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization','regPlusNorm') 830 830 pageinfo['optionToggle'] = self.REQUEST.get('optionToggle','') 831 831 pageinfo['query'] = self.REQUEST.get('query','')
Note: See TracChangeset
for help on using the changeset viewer.