Return to MpdlXmlTextServer.py CVS log | Up to [Repository] / documentViewer |
version 1.10, 2010/08/19 13:13:27 | version 1.11, 2010/08/20 13:36:39 |
---|---|
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=""): | def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization="reg"): |
"""returns single page from fulltext""" | """returns single page from fulltext""" |
docpath = docinfo['textURLPath'] | docpath = docinfo['textURLPath'] |
path = docinfo['textURLPath'] | path = docinfo['textURLPath'] |