public function getQuality(): int;
public function addIssue($type, $data = []);
+
+ public function addPageBackgroundColor($page, $to);
}
// TODO: Implement addBookmarkGroup() method.
}
- public function getConfigZIP($d) {
+ public function getConfigZIP($d, $file = null, $uid = null, $page = null) {
// TODO: Implement getConfigZIP() method.
}
// TODO: Implement page_path() method.
}
- public function getWidth() {
+ public function getWidth($page = 1) {
// TODO: Implement getWidth() method.
}
- public function getHeight() {
+ public function getHeight($page = 1) {
// TODO: Implement getHeight() method.
}
{
// TODO: Implement addIssue() method.
}
+
+ public function addPageBackgroundColor($page, $to)
+ {
+ // TODO: Implement addPageBackgroundColor() method.
+ }
}
const LOTTIE = 44;
const COPY_TO_CLIPBOARD = 45;
const SLIDESHOW_INLINE = 46;
+ const PAGE_BACKGROUND_COLOR = 47;
protected static string|false|null $_linksKey = null;
return new PDFInlineLink($id, $init, $compiler);
case static::COPY_TO_CLIPBOARD:
return new CopyToClipboardLink($id, $init, $compiler);
+ case static::PAGE_BACKGROUND_COLOR:
+ $compiler->addPageBackgroundColor($init['page'], $init['to']);
+ break;
default:
return null;
}
$thumbnails = (count($slides) > 1);
}
+ if ($context === 'inline') {
+ $thumbnails = false;
+ }
+
$options = ['openIndex' => $this->extra,
'thumbnails' => $thumbnails,
'thumbnail_height' => $this->thumbnail_height,