Changeset 449:6c11f3ec8698 in documentViewer
- Timestamp:
- Aug 31, 2011, 1:55:17 PM (13 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r448 r449 199 199 #mode = pageinfo ['viewMode'] 200 200 tocMode = pageinfo['tocMode'] 201 xpointer = pageinfo['xpointer'] 201 202 characterNormalization=pageinfo['characterNormalization'] 202 203 tocPN = pageinfo['tocPN'] … … 207 208 textmode = mode 208 209 209 textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s "%(docpath,textmode,pn,characterNormalization)210 textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&options=withXmlNodeId&xpointer=%s"%(docpath,textmode,pn,characterNormalization, xpointer) 210 211 if highlightQuery is not None: 211 212 #textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) … … 320 321 if href.startswith('#note-'): 321 322 hrefNode.nodeValue = href.replace('#note-',"?url=%s&viewMode=text&tocMode=%s&tocPN=%s&pn=%s#note-"%(url,tocMode,tocPN,pn)) 323 #if href.startswith(): 322 324 return serializeNode(pagenode) 323 325 if mode == "xml": -
documentViewer.py
r448 r449 920 920 pageinfo ['highlightElement'] = self.REQUEST.get('highlightElement','') 921 921 922 pageinfo ['xpointer'] = self.REQUEST.get('xpointer','') 922 923 923 924 pageinfo['tocPageSize'] = self.REQUEST.get('tocPageSize', '30')
Note: See TracChangeset
for help on using the changeset viewer.