Changeset 564:31f562fa7214 in documentViewer


Ignore:
Timestamp:
Oct 8, 2012, 6:36:00 PM (12 years ago)
Author:
casties
Branch:
default
Message:

first version of MpiwgXmlTextServer?.

Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • __init__.py

    r522 r564  
    11import documentViewer
    22import MpdlXmlTextServer
     3import MpiwgXmlTextServer
    34
    45def initialize(context):
     
    1920          )
    2021        )
     22
     23    context.registerClass(
     24        MpiwgXmlTextServer.MpiwgXmlTextServer,
     25        constructors = (
     26          MpiwgXmlTextServer.manage_addMpiwgXmlTextServerForm,
     27          MpiwgXmlTextServer.manage_addMpiwgXmlTextServer
     28          )
     29        )
    2130   
  • documentViewer.py

    r562 r564  
    587587                # document info (including toc) from full text
    588588                if docinfo.get('textURLPath', None):
    589                     docinfo = self.getTextInfo(mode=tocMode, docinfo=docinfo)
     589                    docinfo = self.getTextInfo(mode='pages', docinfo=docinfo)
    590590           
    591591            # bib info
     
    724724                        docinfo['textURLPath'] = textUrl
    725725                        docinfo['textURLRepository'] = textRepo
     726                        break
    726727               
    727728                else:
Note: See TracChangeset for help on using the changeset viewer.