"Integrating GroupDocs was simple. There aren't that many companies out there who are willing to work with us on what we want. It's a great partnership."

Margot Baill

Product Development Director
at Hireology

Have Questions?

  • Live Chat
  • +1 (214) 329-9760
  • Documentation
  • Forums

Images and Document Viewer API for Java Applications

GroupDocs.Viewer for Java is a compelling document viewer API. Use it within your Java applications for rendering 50+ documents and image formats . It rasterize both documents and images. This Java API renders text from documents and converts it to SVG, HTML and CSS – offering native document rendering with high fidelity true-text.

GroupDocs.Viewer for Java

Supported Image and Document Formats

Using native Java document viewer API – within Java applications developers can use set of predefined options for rendering documents as HTML or Image formats for whole document, custom range of pages or page by page. The supported document formats viewing are mentioned below:

Viewer API Supported Image and Document Formats
  • Excel Document Formats: XLS, XLSX, XLSM, XLSB
  • Word Document Formats: DOC, DOCM, DOCX, DOT, DOTX, DOTM
  • Presentation Document Formats: PPT, PPTX, PPS, PPSX
  • PDF Document Formats: PDF
  • Image File Formats: TIFF, JPEG, PNG, GIF, BMP
  • Microsoft Project Formats: MPT, MPP
  • Microsoft Visio Formats: VSD, VDX, VSDX, VSS, VSX, VST, VTX, VSDX, VDW
  • Outlook Email File Formats: MSG, EML, EMLX
  • OpenDocument Formats: ODT, OTT, ODS, ODP
  • Rich Text Format: RTF
  • Plain Text Format: TXT
  • Comma-Separated Values: CSV
  • HyperText Markup Language: HTML, MHT, MHTML
  • Extensible Markup Language: XML
  • XML Paper Specification: XPS
  • AutoCAD Drawing Formats: DXF, DWG
  • Electronic Publication: EPUB
  • Windows Icon: ICO

Supported Platform

GroupDocs.Viewer for Java supports Java run-time version 6 (1.6) and above. This means, you can use GroupDocs.Viewer for Java APIs on any Desktop/Server environment where Java run-time 6 (1.6) or above is installed.

Supported Platform
Installation and Usage

Installation and Usage

GroupDocs.Viewer for Java library files can be installed/downloaded directly as:

Fat version
  • Download the library from the download archive.
  • Extract the archive.
  • Open console and cd to lib directory of the extracted directory.
  • Run command mvn install:install-file -Dpackaging=jar -Dversion=3.0.0 -DgroupId=com.groupdocs -DartifactId=groupdocs-viewer -Dfile=GroupDocs.Viewer.jar or just run the install_library.bat to install library in maven
  • Note: version number and file name can be different from current documentation.

  • Add dependency to your pom.xml
    <dependency>
       <groupId>com.groupdocs</groupId>
       <artifactId>groupdocs-viewer</artifactId>
       <version>3.0.0</version>
       <type>jar</type>
    <dependency>
    
Slim version

This library is hosted in the Maven Central Repository, so if you use Maven in your projects just use the dependency declaration provided above.

The jar itself you can download from the Maven Central Repository.

Another way to use.

All it takes to start rolling with GroupDocs.Viewer is to reference a single GroupDocs.Viewer.jar file.

If you download the Zip Archive as discussed in the previous topic then you are required to add the external library by practicing the following steps in Eclipse:

  • Right click on Java project, and go to Properties.
  • Go to Java Build Path.
  • Open Libraries tab.
  • Press Add External JARs.., and load GroupDocs.Viewer Jar.

Get Started Now

Take advantage of our Java document viewer API to display documents within your Java or desktop applications. Native document rendering without a virtual printer driver or using an OpenOffice connector - try it now for free: