bparreira17 / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

Runtime check on supported conversion filters #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's possible to detect all import/export filters supported by OOo at runtime.

We can use this feature to validate the list of default conversions at
startup, disabling the unavailable ones.

For example, when connected to OOo 3.0 OOXML conversions should be enabled,
but when connected to OOo 2.4 they should be disabled.

Attached an initial Python script showing runtime filter detection.

Original issue reported on code.google.com by mirko.na...@gmail.com on 8 Jun 2008 at 8:33

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 14 Sep 2008 at 11:26

GoogleCodeExporter commented 8 years ago
Hi Mirko. I tried running this script, but I get "Connection error". 
I tried to see if I could get it through the java library, and found the link: 
http://api.openoffice.org/docs/common/ref/com/sun/star/document/FilterFactory.ht
ml
But when I try to import FilterFactory, it cannot find it. Do you why that is? 
Maybe the 3.2.1 version we have don't include that Factory? I couldnt find 
anything in maven which is later

Original comment by shervin.asgari@gmail.com on 23 Mar 2011 at 1:39

GoogleCodeExporter commented 8 years ago
I think you need to manually start OOo with soffice 
"-accept=socket,port=8100;urp;" before running the script. But I created this 
issue almost 3 years ago, things may well have changed since.

Original comment by mirko.na...@gmail.com on 23 Mar 2011 at 1:59