Hi, Kazuhiko, thanks for your feedback; I'll check cloudoood.<br><br>In the meantime, I've added the following line to mimemapper.py:<br><br><br> self.filter_property_dict['writer_pdf_Export']['export_props'] = ( \<br>
PropertyValue('FilterData',0,uno.Any(<br> '[]com.sun.star.beans.PropertyValue',<br> (PropertyValue('SelectPdfVersion', 0, 1, 0),),), 0),<br> )<br><br>According to the documentation, the SelectPdfVersion set to 1 should force OpenOffice to produce PDF; however, as I experienced before, I get an OpenOffice process running at 100%.<br>
<br>System is a Debian Lenny, with stuff from the backport: OpenOffice 3.1<br><br>Any hint of where I could look to debug this problem?<br><br>Regards<br>Marco<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 9:50 AM, Kazuhiko Shiozaki <span dir="ltr"><<a href="mailto:kazuhiko@nexedi.com">kazuhiko@nexedi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Marco,<br>
<div class="im"><br>
On 11/02/2011 08:34, Marco Bizzarri wrote:<br>
> I'm using oood in a custom project; it works quite well for the<br>
> production of PDF from ODT documents (I even submitted a patch on it a<br>
> couple of years ago, which was accepted), and I'm quite satisfied from<br>
> it (I should say: it is rock solid).<br>
><br>
> Now, I've an use case where the PDF produced via oood should be PDF/A<br>
> and nor simple PDF. I thought the simplest way to do it was to alter the<br>
> settings of the OpenOffice on the server machine so that PDF/A where<br>
> produced, but this, quite surprisingly, causes OpenOffice to run at<br>
> 100%. At that point, I've to kill the process.<br>
><br>
> Any suggestion on what could be going on here?<br>
<br>
</div>First, oood is replaced by cloudooo. Please consider switching to<br>
cloudooo. cloudooo treats such kind of 'OpenOffice unavailable' problems<br>
much better than oood.<br>
<a href="http://pypi.python.org/pypi/cloudooo" target="_blank">http://pypi.python.org/pypi/cloudooo</a><br>
<br>
And for ODT -> PDF/A conversion, you can add an option to<br>
writer_pdf_Export filter. We already add some options in<br>
impress_pdf_Export filter, and you can see the example in:<br>
<br>
[cloudooo/handler/ooo/helper/unoconverter.py]<br>
elif filter_name == "impress_pdf_Export":<br>
property = PropertyValue('FilterData', 0,<br>
uno.Any('[]com.sun.star.beans.PropertyValue',<br>
(PropertyValue('ExportNotesPages', 0, True,<br>
0),),), 0)<br>
<br>
And you can see which options are available for writer_pdf_Export filter at:<br>
<a href="http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export" target="_blank">http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export</a><br>
<br>
I personally have not tried PDF/A conversion, so please try and share<br>
your experience with us.<br>
<br>
Good luck.<br>
--<br>
Kazuhiko Shiozaki, Nexedi SA Senior Consultant<br>
Nexedi: Consulting and Development of Free / Open Source Software<br>
<a href="http://www.nexedi.com" target="_blank">http://www.nexedi.com</a><br>
ERP5: Full Featured High End Open Source ERP<br>
<a href="http://www.erp5.com" target="_blank">http://www.erp5.com</a><br>
ERP5 Wiki: Developer Zone for ERP5 Community<br>
<a href="http://www.erp5.org" target="_blank">http://www.erp5.org</a><br>
_______________________________________________<br>
Erp5-users mailing list<br>
<a href="mailto:Erp5-users@erp5.org">Erp5-users@erp5.org</a><br>
<a href="https://mail.tiolive.com/mailman/listinfo/erp5-users" target="_blank">https://mail.tiolive.com/mailman/listinfo/erp5-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Marco Bizzarri<br><a href="http://code.google.com/p/qt-asterisk/">http://code.google.com/p/qt-asterisk/</a><br><a href="http://notenotturne.blogspot.com/">http://notenotturne.blogspot.com/</a><br>
<a href="http://iliveinpisa.blogspot.com/">http://iliveinpisa.blogspot.com/</a><br>