"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

Documents and Image Viewer API for Java Applications

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

GroupDocs.Viewer for Java

Supported Document and Image Formats

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

Supported Document and Image 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 Operating Systems and Frameworks

GroupDocs.Viewer for Java supports Mono Framework starting from V1.2 and Java run-time from version 6 or above.

Supported Operating Systems and Frameworks
  • Windows Server
  • Windows 8
  • Linux
  • Solaris
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 document viewer component 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:

Support