comparison documentViewer.py @ 434:44ccb7bd0938

*** empty log message ***
author abukhman
date Thu, 24 Feb 2011 14:55:28 +0100
parents 8d8f2cbd6213
children 94baa8dbc7e8
comparison
equal deleted inserted replaced
433:24fc850a35e6 434:44ccb7bd0938
764 # new style text-url-path 764 # new style text-url-path
765 textUrls = dom.xpath("//texttool/text-url-path") 765 textUrls = dom.xpath("//texttool/text-url-path")
766 if textUrls and (len(textUrls) > 0): 766 if textUrls and (len(textUrls) > 0):
767 textUrl = getTextFromNode(textUrls[0]) 767 textUrl = getTextFromNode(textUrls[0])
768 docinfo['textURLPath'] = textUrl 768 docinfo['textURLPath'] = textUrl
769 textUrlkurz = string.split(textUrl, ".")[0]
770 docinfo['textURLPathkurz'] = textUrlkurz
769 #if not docinfo['imagePath']: 771 #if not docinfo['imagePath']:
770 # text-only, no page images 772 # text-only, no page images
771 #docinfo = self.getNumTextPages(docinfo) 773 #docinfo = self.getNumTextPages(docinfo)
772 774
773 775