changeset 15:ee3a8be80aa5 modularisierung

getOverview
author abukhman
date Thu, 24 Jun 2010 12:01:52 +0200
parents 38e4af417f34
children 1b9890387af6
files documentViewer.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Wed Jun 16 21:04:42 2010 +0200
+++ b/documentViewer.py	Thu Jun 24 12:01:52 2010 +0200
@@ -721,6 +721,14 @@
         pageinfo['searchPN'] =self.REQUEST.get('searchPN','1')
         pageinfo['sn'] =self.REQUEST.get('sn','')
         return pageinfo
+       
+    def getOverview(self, mode="text" , docinfo=None, pageinfo=None, url=None, viewMode="auto", start=None,pn=1,textURLPath="auto", **args):
+        """overview mode all thumbnails in one window"""
+        
+        docinfo = self.getDocinfo(mode=mode,url=url)
+        pageinfo = self.getPageinfo(current=pn,docinfo=docinfo)
+ 
+        return (docinfo, pageinfo, viewMode)
     
 def changeDocumentViewer(self,title="",digilibBaseUrl=None,thumbrows=2,thumbcols=5,authgroups='mpiwg',RESPONSE=None):
         """init document viewer"""