From f290d901971e9e6a5422ca9b45d1cb86b707bd51 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 21:12:53 +0200 Subject: [PATCH] wip #5410 --- src/PDFTools.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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/'; -- 2.39.5