boomack-plugin-pdf
v0.2.0
Published
Boomack PlugIn for rendering PDFs
Readme
Boomack Plug-In PDF
Installation
If your using the Windows MSI installer for Boomack, this plug-in is installed by default. You can however, deselect it in the setup dialog during the installation.
The Docker image also contains this plug-in.
If you are using npm for installation, you can install this plug-in with:
==| TABS |== ::| Shell / Command Line
npm i -g boomack-plugin-pdf==|------|==
Features
Plug-In ID: pdf
Renderer pdf
Render a single PDF page from a PDF document, using the JavaScript library PDF.js.
Display Options
pageLabel
The label of the page to be displayed. Defaults tonull.pageNo
The numeric page number, starting with 1. Defaults tonull.
Takes precedence overpageLabel.scale
See Display Option on the concepts page for possible values. The value"auto"is interpreted as"scale-down".align
See Display Option on the concepts page for possible values.border
A boolean or the thickness in pixels of the border around the page. Defaults totrue.shadow
A switch to show or hide a shadow around the border. Default totrue.
Hint:
A PDF page has a numeric number, always starting with 1.
But it can have an additionally string as label:
E. g. a roman number for a page of the forword, like "IIX".
To distinguish these two alternatives of identifying a page,
the properties pageNo and pageLabel are supported.
Media Types
The plug-in provides the following media types:
application/pdf
