]> _ Git - fluidbook_tools.git/commitdiff
wait #5408 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 31 Aug 2022 09:49:48 +0000 (11:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 31 Aug 2022 09:49:48 +0000 (11:49 +0200)
src/Compiler/CompilerInterface.php
src/Links/IFramePopupLink.php

index 5f56b6696e977e49c1babd8d0e8ecda77b3e5b23..ee724e8e1136275dc7f5e1e774e046d0d2facd85 100644 (file)
@@ -40,4 +40,6 @@ interface CompilerInterface
     public function getHeight();
 
     public function virtualToPhysical($virtual);
+
+    public function getPagePDFSource($page): string;
 }
index 36ec39a788ea2cd91adba8ed705d2d040341f876..ad3dbf23103ae4ff50f0099b4fa87c68528de0e9 100644 (file)
@@ -18,7 +18,7 @@ class IFramePopupLink extends NormalLink
     {
         $res = parent::getAdditionnalContent();
         $markup = '<div class="iframeContainer" data-type="' . $this->iframeType . '">';
-        $markup .= '<iframe src="' . iframeLink::_handleFile($this) . '" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
+        $markup .= '<iframe src="' . IFrameLink::_handleFile($this) . '" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>';
         $markup .= '</div>';
         return $res . ' data-iframe="' . rawurlencode($markup) . '" ';
     }