Skip to main content

Nubexx UI5 PDF Viewer

The Nubexx PDF Viewer can be used on all device types (desktop, tablet and phone).

It extends the UI5 PDF Viewer (sap.m.PDFViewer), so this control can replace the SAP control transparently.
The PDF render engine is based on Mozilla's PDF.js with enhanced customizing features for this PDF viewer.

For more information about this control see the API Reference and the Examples.

Screenshots

Full control-set with watermarkMinimal control-set
PDF Viewer (full controls)PDF Viewer (minimal controls)

Advantages

  • Works in mobile browsers on phone and tablet
  • Extended PDF format compatibility
  • Visual appearance is almost identical in all browsers
  • Various options to manage the control via API
  • Client-side watermark option

Delta Chart

Nubexx PDF ViewerSAP PDF Viewer
Supported platforms
Desktop
Tablet
Phone
Elements or functions that can be activated or deactivated
Hide toolbar by viewport size
Hide toolbar by configuration
Print
Download / Save
Open files from Open-Dialog or STRG+O
Presentation mode
Text selection / copy
Client-side watermark on Display / Print
Ask for filename on save1
Supported PDF file formats
Standard PDF files
PDF XFA2
PDF portfolio32

Installation on SAP

  1. Import SAP transport request to target SAP Gateway/FES host
  2. Check transaction SMW0 for existing mime types .mjs and .wasm. See next section Prerequisites for SAP.

Prerequisites for SAP

The provided transport request can be installed on SAP systems 750++. Minimum sapui5 core release is 1.71

info

Some files of this library use ECMAScript modules that are delivered as .mjs files and also .wasm files. Therefore the SAP host system must support these mime-types

So the mime-types must be added in the SAP backend (should the SAP transport request not have created them automatically)

  • Run transaction SMW0

  • Select "Web-Object" HTML Patterns for WebRFC-Applications press F8.

  • In view "HTML templates for WebRFC" press F8 again.

  • In the next view (Object type) select the menu item Settings -> Maintain mime-types

  • In the Mime-Types Table create a new item F5 and enter the following data and save this values.

    • Type: application/javascript
    • Extension *.mjs
  • Repeat the creation of mime-Type for .wasm

    • Type: application/wasm
    • Extension *.wasm

Keyboard shortcuts

Modifier KeysKeyASCII-CodesFunctionNote
Ctrlf70Open Find bar
Ctrlg71Find again
Ctrl+61, 107, 187, 171Zoom in
Ctrl-173, 109, 189Zoom out
Ctrl048, 96Zoom reset
Ctrl38Go to first page
Ctrl40Go to last page
Ctrls83Save documentif allowed
Ctrlo79Open documentif allowed
Ctrl+Alt, +p89Start full screen / presentation modeif allowed
Ctrl+Alt, +g71Focus the page number input fieldif visible
38moveCaret upif caret browsing mode is supported
PgUp33Page back
8Page backif viewer is in presentation mode
37Page backif viewer is not in caret browsing mode
k75Page back
p80Page back
Esc27Close secondary toolbar, Close Find bar
40Next pageif not in caret browsing mode
PgDown34Next page
13Next page
Space32Next page
39Next page
j74Next page
n78Next page
Pos1, Home36Go to first page
End35Go to last page
s83Activate cursor tool
h72Activate hand tool
r82Rotate clockwise
F4115Toggle sidebar
Shift13Page back
ShiftSpace32Page backif in presentation mode and zoom = "page-fit"
Shift38moveCaret up
Shift40moveCaret down
Shiftr82Rotate anti-clockwise

Footnotes

  1. This function is provided by the file system access API (showSaveFilePicker()) and will not work in all browsers like Firefox, Safari, Samsung Internet, WebView on iOS, Deno etc. In unsupported browsers the default behavior is used.

  2. Usually also works in Firefox. 2

  3. Files of the portfolio will open in a new window.