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 watermark | Minimal control-set |
---|---|
![]() | ![]() |
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 Viewer | SAP 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 | ||
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 save | 1 | |
Supported PDF file formats | ||
Standard PDF files | ||
PDF XFA | 2 | |
PDF portfolio | 3 | 2 |
Installation on SAP
- Import SAP transport request to target SAP Gateway/FES host
- 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
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
- Type:
-
Repeat the creation of mime-Type for .wasm
- Type:
application/wasm
- Extension
*.wasm
- Type:
Keyboard shortcuts
Modifier Keys | Key | ASCII-Codes | Function | Note |
---|---|---|---|---|
Ctrl, ⌘ | f | 70 | Open Find bar | |
Ctrl, ⌘ | g | 71 | Find again | |
Ctrl, ⌘ | + | 61, 107, 187, 171 | Zoom in | |
Ctrl, ⌘ | - | 173, 109, 189 | Zoom out | |
Ctrl, ⌘ | 0 | 48, 96 | Zoom reset | |
Ctrl, ⌘ | ↑ | 38 | Go to first page | |
Ctrl, ⌘ | ↓ | 40 | Go to last page | |
Ctrl, ⌘ | s | 83 | Save document | if allowed |
Ctrl, ⌘ | o | 79 | Open document | if allowed |
Ctrl+Alt, ⌥+⌘ | p | 89 | Start full screen / presentation mode | if allowed |
Ctrl+Alt, ⌥+⌘ | g | 71 | Focus the page number input field | if visible |
↑ | 38 | moveCaret up | if caret browsing mode is supported | |
PgUp | 33 | Page back | ||
⌫ | 8 | Page back | if viewer is in presentation mode | |
← | 37 | Page back | if viewer is not in caret browsing mode | |
k | 75 | Page back | ||
p | 80 | Page back | ||
Esc | 27 | Close secondary toolbar, Close Find bar | ||
↓ | 40 | Next page | if not in caret browsing mode | |
PgDown | 34 | Next page | ||
↵ | 13 | Next page | ||
Space | 32 | Next page | ||
→ | 39 | Next page | ||
j | 74 | Next page | ||
n | 78 | Next page | ||
Pos1, Home | 36 | Go to first page | ||
End | 35 | Go to last page | ||
s | 83 | Activate cursor tool | ||
h | 72 | Activate hand tool | ||
r | 82 | Rotate clockwise | ||
F4 | 115 | Toggle sidebar | ||
Shift | ↵ | 13 | Page back | |
Shift | Space | 32 | Page back | if in presentation mode and zoom = "page-fit" |
Shift | ↑ | 38 | moveCaret up | |
Shift | ↓ | 40 | moveCaret down | |
Shift | r | 82 | Rotate anti-clockwise |