public function getContent($file)
    {
        /** @var \TeaminmediasPluswerk\KeSearch\Utility\OoxmlConversion $reader */
        $reader = GeneralUtility::makeInstance(\TeaminmediasPluswerk\KeSearch\Utility\OoxmlConversion::class, $file);

        try {
            return trim($reader->convertToText());
        } catch (\Exception $e) {
            $this->pObj->logger->error($e->getMessage());
        }
    }
public function getContent($file)
    {
        /** @var \TeaminmediasPluswerk\KeSearch\Utility\OoxmlConversion $reader */
        $reader = GeneralUtility::makeInstance(\TeaminmediasPluswerk\KeSearch\Utility\OoxmlConversion::class, $file);

        try {
            return trim($reader->convertToText());
        } catch (\Exception $e) {
            $this->pObj->logger->error($e->getMessage());
        }
    }
public function getContent ( $ file ) { /** @var \TeaminmediasPluswerk\KeSearch\Utility\OoxmlConversion $reader */ $ reader = GeneralUtility :: makeInstance ( \ TeaminmediasPluswerk \ KeSearch \ Utility \ OoxmlConversion :: class , $ file ) ; try { return trim ( $ reader -> convertToText ( ) ) ; } catch ( \ Exception $ e ) { $ this -> pObj -> logger -> error ( $ e -> getMessage ( ) ) ; } }
get Content of XLSX file
@param string $file
@return string The extracted content of the file
get Content of XLSX file