com.groupdocs.conversion.contracts

Interface 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.
    • Method Detail

      • invoke

        ConvertOptions invoke(String sourceDocumentName,
                              FileType sourceType)

        Provides convert options for specific source document.

        Parameters:
        sourceDocumentName - Source file name
        sourceType - Source file type
        Returns:
        Must return ConvertOptions to be used for conversion of FileType sourceType< document