groupdocs/viewer

By groupdocs

Updated 29 days ago

Image
1

1.7K

groupdocs/viewer repository overview

GroupDocs Document Viewer API

Nuget Nuget

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

GroupDocs.Viewer Demos are application that demonstrates powerful features of GroupDocs.Viewer for Java library distributed as a docker image. This application allows you to view DOCX, PDF, PPT, XLS, and over 170 document formats without any additional dependencies and provide the ability to search and select text from any document. Use this docker image as is or customize and integrate into your own project.

Note: without a license application will run in trial mode, purchase GroupDocs.Viewer license or request GroupDocs.Viewer temporary license.

Supported document Formats

FamilyFormats
Portable Document FormatPDF
Microsoft WordDOC, DOCM , DOCX, DOT, DOTM, DOTX
Microsoft ExcelXLS, XLSB, XLSM, XLSX, XLT, XLTM, XLTX
Microsoft PowerPointPPT, POT, POTM, POTX, PPS, PPSM, PPSX, PPTM, PPTX
Microsoft VisioVSD, VDW, VDX, VSDX, VSS, VST, VSX, VTX
Microsoft ProjectMPP, MPT
Microsoft OutlookEML, EMLX, MSG
OpenDocument FormatsODT, ODP, ODS, OTT
Plain Text FileTXT
Comma-Separated ValuesCSV
HyperText Markup LanguageHTML, MHT, MHTML, SVG
Extensible Markup LanguageXML,XML, XPS
AutoCAD Drawing File FormatDGN, DWG, DXF
Image filesBMP, CAL, DCX, DIB, EMF, GIF, JP2, JPG, MIL, MIL, PCD, PCT, PCX, PNG, PSD, RAS, TGA,TIFF,WMF
Electronic publicationEPUB
Windows IconICO
Medical image filesDCM

Full list of supported file formats and other information are available in documentation

Document Viewer Demos Features

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Mobile support (open application on any mobile device)
  • Support over 50 documents and image formats
  • HTML and image modes
  • Fully customizable navigation panel
  • Open password protected documents
  • Text searching & highlighting
  • Download documents
  • Upload documents
  • Print document
  • Rotate pages
  • Zoom in/out documents without quality loss in HTML mode
  • Thumbnails
  • Smooth page navigation
  • Smooth document scrolling
  • Preload pages for faster document rendering
  • Multi-language support for displaying errors
  • Display two or more pages side by side (when zooming out)
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

Available Docker Images of Viewer Demos

There are 6 Docker Images are published for each release of GroupDocs.Viewer for Java. Three of them are created using Spring Framework and three are created using Dropwizard Framework.

First two parts of a tag is GroupDocs.Viewer for Java version and language. Third part is jdk, that is used in Docker Image. Fourth part describes OS version that was used to create the image and the last part is framework.

Example: 22.12-java-openjdk8-bullseye-dropwizard - GroupDocs.Viewer for Java v22.12, Open JDK 8, Linux Debian Bullseye, Dropwizard Framework

  1. 22.12-java-openjdk8-bullseye-dropwizard
  2. 22.12-java-openjdk11-bullseye-dropwizard
  3. 22.12-java-openjdk18-bullseye-dropwizard
  4. 22.12-java-openjdk8-bullseye-spring
  5. 22.12-java-openjdk11-bullseye-spring
  6. 22.12-java-openjdk18-bullseye-spring

How to run

Use docker image.

docker run -p 8080:8080 --name viewer-openjdk8-bullseye --rm groupdocs/viewer:22.12-java-openjdk8-bullseye-dropwizard
## Open http://localhost:8080/viewer/ in your favorite browser.

You can bind volumes to files and license directories using next command:

docker run -p 8080:8080 --name viewer-openjdk8-bullseye -v "C:/DocumentSamples/:/home/groupdocs/app/DocumentSamples" -v "C:/Licenses/:/home/groupdocs/app/Licenses" --rm groupdocs/viewer:22.12-java-openjdk8-bullseye-dropwizard

This way the sample will search license files inside C:/Licenses/ directory of your PC and will show list of files which are placed to C:/DocumentSamples/ directory

Viewer configuration options

There are some environment variables available for configuration:

  • LIC_PATH - path to directory with license file, default is /home/groupdocs/app/Licenses
  • DOWNLOAD_ON - enables/disables download button in Viewer application UI
  • UPLOAD_ON - enables/disables button to upload files (the button is on the left of the open document dialog)
  • PRINT_ON - enables/disables button to print documents
  • BROWSE_ON - enables/disables document browse dialog
  • RIGHTCLICK_ON - enables/disables right click of mouse
  • FILES_DIR - path to the directory with uploaded files, default is /home/groupdocs/app/DocumentSamples
  • HOST_ADDRESS - host name or ip for server instance

See also

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Tag summary

Content type

Image

Digest

sha256:9c17f17c1

Size

404.3 MB

Last updated

29 days ago

docker pull groupdocs/viewer:25.12-java-openjdk11-bullseye-dropwizard