bparreira17 / jodconverter

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

Option to leave input type detection to OOo #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently JODConverter uses the input file extension to infer the document
type, say .doc for Word, and refuses to convert any file with unknown
extensions.

In some scenarios it may be better to skip this file extension check and
always try to load the input file in OOo.

It will still be possible to get the document 'family' (e.g. Text or
Spreadsheet) required for selecting the appropriate FilterName (e.g.
'writer_pdf_Export' or 'calc_pdf_Export' for PDF) at runtime by querying
OOo about the document that has been loaded.

Original issue reported on code.google.com by mirko.na...@gmail.com on 5 May 2008 at 2:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Added to the Python script (PyODConverter). The document family can be detected 
at
runtime by using XServiceInfo#supportsService().

Original comment by mirko.na...@gmail.com on 5 May 2008 at 5:20

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 20 Jul 2008 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 27 Mar 2011 at 1:21