Commit d35c6591 authored by Nicolas Delaby's avatar Nicolas Delaby

Add new parameter to enhance transformations

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21035 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dca3d6d8
......@@ -316,11 +316,12 @@ class OOoDocument(PermanentURLMixIn, File, ConversionCacheMixin):
z.close()
return 'text/plain', s
server_proxy = self._mkProxy()
orig_format = self.getBaseContentType()
generate_result = server_proxy.run_generate(self.getId(),
enc(_unpackData(self.getBaseData())),
None,
format)
format,
orig_format)
try:
response_code, response_dict, response_message = generate_result
except ValueError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment