From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 19:12:53 +0000 (+0200) Subject: wip #5410 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f290d901971e9e6a5422ca9b45d1cb86b707bd51;p=cubist_pdf.git wip #5410 --- diff --git a/src/PDFTools.php b/src/PDFTools.php index 8b92e67..fc0c1ff 100644 --- a/src/PDFTools.php +++ b/src/PDFTools.php @@ -409,11 +409,11 @@ class PDFTools $fwstk->execute(); } - public static function extractTexts($pdf, $out, $textExtraction, $ignoreSeparators = '') + public static function extractTexts($pdf, $out, $textExtraction = 'fluidbook', $ignoreSeparators = '') { - $out .= 'texts/'; + $out .= 'texts'; if ($ignoreSeparators) { - $out .= 'sep_' . md5($ignoreSeparators); + $out .= '/sep_' . md5($ignoreSeparators); } $out = Files::mkdir($out) . '/'; @@ -428,6 +428,7 @@ class PDFTools $fwstk->execute(); } + public static function extractHighlightsData($pdf, $out) { $out .= 'texts/';