version 1.191, 2010/10/25 10:30:05
|
version 1.192, 2010/10/25 10:31:10
|
Line 213 class MpdlXmlTextServer(SimpleItem):
|
Line 213 class MpdlXmlTextServer(SimpleItem):
|
else: |
else: |
textmode = mode |
textmode = mode |
#logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) |
#logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) |
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) |
#textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) |
|
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) |
if highlightQuery is not None: |
if highlightQuery is not None: |
#textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) |
#textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) |
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) |
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&highlightQuery=%s&sn=%s"%(docpath,textmode,pn,characterNormalization, highlightQuery, sn) |