Changeset 474:0bc4a153863a in documentViewer
- Timestamp:
- Aug 5, 2011, 1:31:27 PM (13 years ago)
- Branch:
- elementtree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r473 r474 245 245 pageinfo['pageNumberOrigNorm'] = div.text 246 246 247 # pageNumberOrigNorm 247 # pageHeaderTitle 248 elif dc == 'pageHeaderTitle': 249 pageinfo['pageHeaderTitle'] = div.text 250 251 # numFigureEntries 248 252 elif dc == 'countFigureEntries': 249 253 docinfo['numFigureEntries'] = getInt(div.text) 250 254 251 # pageNumberOrigNorm255 # numTocEntries 252 256 elif dc == 'countTocEntries': 253 257 # WTF: s1 = int(s)/30+1 254 258 docinfo['numTocEntries'] = getInt(div.text) 255 256 # pageHeaderTitle257 elif dc == 'pageHeaderTitle':258 docinfo['pageHeaderTitle'] = div.text259 259 260 260 # numTextPages -
documentViewer.py
r473 r474 301 301 viewMode = "images" 302 302 303 elif viewMode == "text_dict": 304 # legacy fix 305 viewMode = "text" 306 viewType = "dict" 307 308 303 309 pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viewType=viewType, tocMode=tocMode) 304 310
Note: See TracChangeset
for help on using the changeset viewer.