|
@@ -274,11 +274,11 @@ class KMPDFConvert: Operation {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if self.convertType == .csv && isExtractTable{
|
|
|
+ if self.convertType == .csv /*&& isExtractTable*/{
|
|
|
self.converter = CPDFConverterCsv.init(url: URL(fileURLWithPath: filePath), password: self.password)
|
|
|
self.converter.delegate = self
|
|
|
let options = CPDFConvertCsvOptions()
|
|
|
-
|
|
|
+ options.isAILayoutAnalysis = isExtractTable
|
|
|
self.converter.convert(toFilePath: self.outputFilePath, pageIndexs: self.pages, options: options)
|
|
|
return
|
|
|
}
|