From: Vincent Vanwaelscappel Date: Wed, 10 May 2023 06:16:07 +0000 (+0200) Subject: wait #5909 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4295abaacca1e21a049f9cb43f3bfc5404515ecb;p=fluidbook-toolbox.git wait #5909 --- 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