ConvertOptionsProvider
public interface ConvertOptionsProvider
Describes delegate to provide convert options for specific source document. The delegate will be called before each conversion and provide a chance to provide specific convert options for desired target conversion. The decision could be made based on provided source file name and source file type.
Methods
Method | Description |
---|---|
invoke(String sourceDocumentName, FileType sourceType) | Provides convert options for specific source document. |
invoke(String sourceDocumentName, FileType sourceType)
public abstract ConvertOptions invoke(String sourceDocumentName, FileType sourceType)
Provides convert options for specific source document.
Parameters:
Parameter | Type | Description |
---|---|---|
sourceDocumentName | java.lang.String | Source file name |
sourceType | FileType | Source file type |
Returns: ConvertOptions - Must return ConvertOptions to be used for conversion of FileType sourceType< document