From 4295abaacca1e21a049f9cb43f3bfc5404515ecb Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 10 May 2023 08:16:07 +0200 Subject: [PATCH] wait #5909 --- app/Fluidbook/Compiler/Compiler.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 76952ee81..760818baf 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -1576,6 +1576,16 @@ height="0" width="0" style="display:none;visibility:hidden"> return $this->_fluidbook->isOnePage(); } + public function isSinglePage(): bool + { + return $this->isOnePage(); + } + + public function isDoublePage(): bool + { + return !$this->isSinglePage(); + } + /** * @param $e \Exception * @param $link Link -- 2.39.5