Changeset 166:ffb5c62bd459 in documentViewer for MpdlXmlTextServer.py
- Timestamp:
- Aug 24, 2010, 12:34:32 PM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r165 r166 43 43 docpath = docinfo['textURLPath'] 44 44 url = docinfo['url'] 45 logging.debug("documentViewer (gettoc) docpath: %s"%(docpath))46 logging.debug("documentViewer (gettoc) url: %s"%(url))45 #logging.debug("documentViewer (gettoc) docpath: %s"%(docpath)) 46 #logging.debug("documentViewer (gettoc) url: %s"%(url)) 47 47 pagesize = pageinfo['queryPageSize'] 48 48 pn = pageinfo['searchPN'] … … 254 254 tocSearch = int(getTextFromNode(numdivs[0])) 255 255 tc=int((tocSearch/10)+1) 256 logging.debug("documentViewer (gettoc) tc: %s"%(tc))256 #logging.debug("documentViewer (gettoc) tc: %s"%(tc)) 257 257 return tc 258 258 259 259 def getToc(self, mode="text", docinfo=None): 260 260 """loads table of contents and stores in docinfo""" 261 logging.debug("documentViewer (gettoc) mode: %s"%(mode))261 #logging.debug("documentViewer (gettoc) mode: %s"%(mode)) 262 262 if mode == "none": 263 263 return docinfo
Note: See TracChangeset
for help on using the changeset viewer.