Changeset 384:4ec393062711 in documentViewer
- Timestamp:
- Oct 26, 2010, 2:44:55 PM (14 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r379 r384 197 197 198 198 199 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization="" ):199 def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization="", highlightQuery=None, sn=None): 200 200 """returns single page from fulltext""" 201 201 docpath = docinfo['textURLPath'] -
documentViewer.py
r382 r384 773 773 pageinfo['tocMode'] = tocMode 774 774 #pageinfo ['originalPage'] = self.getOrigPages(docinfo=None, pageinfo=None) 775 pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization', None)776 pageinfo['query'] = self.REQUEST.get('query', None)777 pageinfo['queryType'] = self.REQUEST.get('queryType', None)775 pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization','') 776 pageinfo['query'] = self.REQUEST.get('query','') 777 pageinfo['queryType'] = self.REQUEST.get('queryType','') 778 778 pageinfo['querySearch'] =self.REQUEST.get('querySearch', 'fulltext') 779 779 pageinfo['textPN'] = self.REQUEST.get('textPN','1') 780 pageinfo['highlightQuery'] = self.REQUEST.get('highlightQuery', None)780 pageinfo['highlightQuery'] = self.REQUEST.get('highlightQuery','') 781 781 pageinfo['tocPageSize'] = self.REQUEST.get('tocPageSize', '30') 782 782 pageinfo['queryPageSize'] =self.REQUEST.get('queryPageSize', '10')
Note: See TracChangeset
for help on using the changeset viewer.