Hi all

Just few words to let you know that OpenOffice.org Options can be passed to Transform plugin dealing with document conversion. The concerned Options can be found at http://api.openoffice.org/docs/common/ref/com/sun/star/document/MediaDescriptor.html

The direct consequency is that document protected with password ("Password") can be opened and macro and scripts in the document be accessed ("MacroExecutionMode")

Looking at TestJOOConverterService.testOptions(), you'll find detailed example dealing with the any2pdf transform using these 2 options

Please note that the mimetype of protected documenys can't be detected so you must provide it to the source TransformDocument. This issue will be addressed

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles 2004-2006
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to