Changeset 354:ca01770b51a1 in documentViewer


Ignore:
Timestamp:
Oct 18, 2010, 11:55:07 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r352 r354  
    193193        pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
    194194        if len(pagedivs)>0:
    195             docinfo['originalPage'] = getTextFromNode(pagedivs[0])
     195            originalPage = getTextFromNode(pagedivs[0])
    196196        #return docinfo['originalPage']
    197         #return originalPage
    198             return docinfo
     197        return originalPage
     198        #return docinfo
    199199       
    200200    def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
Note: See TracChangeset for help on using the changeset viewer.