* into
* @param outputFormat description of the output file
*/
protected OfficeTask getConversionTask(File inputFile, DocumentFormat inputFormat, File outputFile,
DocumentFormat outputFormat) {
StandardConversionTask officeTask = new StandardConversionTask(inputFile, outputFile,
outputFormat != null ? outputFormat : getFormat(outputFile));
officeTask.setDefaultLoadProperties(defaultLoadProperties);
officeTask.setInputFormat(inputFormat != null ? inputFormat : getFormat(inputFile));
return officeTask;
}