version 1.99, 2010/09/01 13:25:38
|
version 1.100, 2010/10/05 09:22:46
|
Line 178 class documentViewer(Folder):
|
Line 178 class documentViewer(Folder):
|
"""get numpages""" |
"""get numpages""" |
return self.template.fulltextclient.getNumPages(docinfo) |
return self.template.fulltextclient.getNumPages(docinfo) |
|
|
|
def getNumTextPages(self, docinfo): |
|
"""get numpages text""" |
|
return self.template.fulltextclient.getNumTextPages(docinfo) |
|
|
def getTranslate(self, **args): |
def getTranslate(self, **args): |
"""get translate""" |
"""get translate""" |
return self.template.fulltextclient.getTranslate(**args) |
return self.template.fulltextclient.getTranslate(**args) |
Line 611 class documentViewer(Folder):
|
Line 615 class documentViewer(Folder):
|
docinfo['textURLPath'] = textUrl |
docinfo['textURLPath'] = textUrl |
if not docinfo['imagePath']: |
if not docinfo['imagePath']: |
# text-only, no page images |
# text-only, no page images |
docinfo = self.getNumPages(docinfo) |
docinfo = self.getNumTextPages(docinfo) |
|
|
presentationUrls = dom.xpath("//texttool/presentation") |
presentationUrls = dom.xpath("//texttool/presentation") |
docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag |
docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag |