CPDFConverterRtf

class CPDFConverterRtf(context: Context, uri: Uri, userPwd: String = "") : CPDFConverter

PDF to Rtf conversion operation object (derived class of CPDFConverter)

Constructors

Link copied to clipboard
constructor(context: Context, uri: Uri, userPwd: String = "")

Properties

Link copied to clipboard

Returns a Boolean value indicating whether a conversion operation is in progress.

Functions

Link copied to clipboard
open override fun cancle(): ConvertError

Cancels the conversion task.

Link copied to clipboard
open override fun convert(outputDir: String, outputFilenameNoSuffix: String, options: CPDFConvertOptions, pageArrays: IntArray?, onHandle: (objptr: Long) -> Unit?, onProgress: (current: Int, total: Int) -> Unit?, onPost: (code: ConvertError, outFilePath: String?) -> Unit?): ConvertError

Starts the conversion.

Link copied to clipboard
fun getPagesCount(userPwd: String = ""): Int

Get the pages count of document.