version 1.244, 2011/09/28 13:39:28
|
version 1.245, 2012/03/20 14:09:17
|
Line 208 class MpdlXmlTextServer(SimpleItem):
|
Line 208 class MpdlXmlTextServer(SimpleItem):
|
else: |
else: |
textmode = mode |
textmode = mode |
|
|
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&xpointer=%s&options=withIdentifier"%(docpath,textmode,pn,characterNormalization, xpointer) |
textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&xpointer=%s"%(docpath,textmode,pn,characterNormalization, xpointer) |
|
#textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s&xpointer=%s&options=withIdentifier"%(docpath,textmode,pn,characterNormalization, xpointer) |
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 +="&highlightQuery=%s&s=%s&highlightElement=%s&highlightElementPos=%s"%(urllib.quote(highlightQuery),s, highlightElement, highlightElementPos) |
textParam +="&highlightQuery=%s&s=%s&highlightElement=%s&highlightElementPos=%s"%(urllib.quote(highlightQuery),s, highlightElement, highlightElementPos) |