Changeset 475:5a3ab27385ce in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Aug 5, 2011, 5:04:20 PM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

more new template stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r474 r475  
    258258                docinfo['numTocEntries'] = getInt(div.text)
    259259               
     260            # numPlaces
     261            elif dc == 'countPlaces':
     262                docinfo['numPlaces'] = getInt(div.text)
     263               
    260264            # numTextPages
    261265            elif dc == 'countPages':
     
    303307        elif not mode:
    304308            # default is text
     309            mode = "text"
    305310            textmode = "text"
    306311        else:
     
    341346           
    342347        # text-with-links mode
    343         elif mode == "text_dict":
     348        elif mode == "dict":
    344349            if pagediv is not None:
    345350                # check all a-tags
Note: See TracChangeset for help on using the changeset viewer.