Hello guys,
I'm working on Write Activity from Sugar (OLPC Project) that uses
Python's Abiword bindings and I'm trying to find a useful
documentation about this.
I was taking a look at the wiki but I didn't find the explanation
about the functions. I found these pages but they are not useful to
me:
* http://www.abisource.com/wiki/PyAbiWord
* http://www.abisource.com/wiki/AbiWidget_Header
* http://svn.abisource.com/pyabiword/trunk/examples
"pradeeban" was helping me a lot on the IRC #abiword channel, and he
told me about this mailing list. So, I'm going to explain what's my
specific problem.
I'm trying to export to HTML the abiword document using
abiword.Canvas.save() method passing this options:
abi.save('file://' + fileObject.file_path, format['mime_type'], exp_props)
abi: abiword.Canvas
fileObject.file_path: "/home/olpc/help.html"
format['mime_type']: "text/html"
exp_props: "'html4:yes; declare-xml:no; embed-css:yes; embed-images:yes;"
The problem that I have[1] is I don't want to show the pop-up dialog
that ask to the user about more specific settings on the export.
Thanks, I will appreciate your help.
[1] http://bugs.sugarlabs.org/ticket/3610
-- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/ PyAr: http://www.python.com.ar/Received on Thu May 17 17:54:47 2012
This archive was generated by hypermail 2.1.8 : Thu May 17 2012 - 17:54:47 CEST