From: Vincent Vanwaelscappel Date: Mon, 3 Apr 2023 12:47:39 +0000 (+0200) Subject: wip #5844 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=336969ebc09d752aced30bffb8e96d96654d0576;p=fluidbook_tools.git wip #5844 @0.5 --- diff --git a/src/Links/Link.php b/src/Links/Link.php index 1e92693..c88b17c 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -215,8 +215,9 @@ class Link { } break; case 39: - return new LayerLink($id, $init, $compiler); + case 41: + return new PDFPopupLink($id, $init, $compiler); default: return null; } diff --git a/src/Links/PDFPopupLink.php b/src/Links/PDFPopupLink.php new file mode 100644 index 0000000..4f03f02 --- /dev/null +++ b/src/Links/PDFPopupLink.php @@ -0,0 +1,14 @@ +copyExternalFile($this->to); + return '#/pdf/' . $this->to; + } +}