Mercurial > hg > documentViewer
comparison documentViewer.py @ 339:3cd6cb5e1e24
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 18 Oct 2010 12:10:02 +0200 |
parents | 0576f524e2ee |
children | 6b07f4a0bf34 |
comparison
equal
deleted
inserted
replaced
338:0576f524e2ee | 339:3cd6cb5e1e24 |
---|---|
255 viewMode="images" | 255 viewMode="images" |
256 | 256 |
257 return pt(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode) | 257 return pt(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode) |
258 | 258 |
259 security.declareProtected('View','index_html') | 259 security.declareProtected('View','index_html') |
260 def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None, query=None, querySearch=None, characterNormalization=""): | 260 def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None, query=None, querySearch=None, characterNormalization="",originalPage=None): |
261 ''' | 261 ''' |
262 view it | 262 view it |
263 @param mode: defines how to access the document behind url | 263 @param mode: defines how to access the document behind url |
264 @param url: url which contains display information | 264 @param url: url which contains display information |
265 @param viewMode: if images display images, if text display text, default is auto (text,images or auto) | 265 @param viewMode: if images display images, if text display text, default is auto (text,images or auto) |