Return to MpdlXmlTextServer.py CVS log | Up to [Repository] / documentViewer |
version 1.24, 2010/08/24 13:15:59 | version 1.25, 2010/08/24 13:27:07 |
---|---|
Line 130 class MpdlXmlTextServer(SimpleItem): | Line 130 class MpdlXmlTextServer(SimpleItem): |
docinfo['numPages'] = text.count("<pb ") | docinfo['numPages'] = text.count("<pb ") |
return docinfo | return docinfo |
def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=None): | def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): |
"""returns single page from fulltext""" | """returns single page from fulltext""" |
docpath = docinfo['textURLPath'] | docpath = docinfo['textURLPath'] |
path = docinfo['textURLPath'] | path = docinfo['textURLPath'] |