--- /dev/null
+<?php
+
+namespace Fluidbook\Tools\Links;
+
+class AltTextImageLink extends ContentLink
+{
+ public function getHTMLContent()
+ {
+ return '<div data-tooltip="'.$this->to.'"></div><img src="" style="' . $this->contentInlineStyles . '" />';
+ }
+}
const FLUIDBOOK_TOOLBOX_ELEARNING_CONTENT = 49;
const LAYER_MASK = 50;
const PDF_FORM = 51;
+ const ALT_TEXT_IMAGE = 52;
protected static string|false|null $_linksKey = null;
public $left;
case static::LAYER_MASK:
$compiler->addMask($init['to'], $init['page'], ['x' => $init['left'], 'y' => $init['top'], 'width' => $init['width'], 'height' => $init['height']]);
break;
+ case static::ALT_TEXT_IMAGE:
+ return new AltTextImageLink($id, $init, $compiler);
default:
return null;
}