This package contains Java Example Projects for GroupDocs.Viewer for Java and sample files.
GroupDocs.Viewer for Java is a powerful document viewer API which supports over 140 document types. View PDF, DOC, PPT, ODT, OTT, ODP among many other documents in HTML5, Image or PDF modes with fast and high quality rendering. Choose your own rendering strategy by processing document page-by-page, entire document at once or a custom pages range. Customize document appearance via additional rendering options by adding watermarks, rotating and reordering pages, extracting document text with coordinates and much more!
-
To run the examples with the Eclipse IDE follow this article.
-
To run the examples from a console it is required that maven is installed and configured in your system path. Uncomment the examples that you want to run in
RunExamples.javafile. Than navigate toExamplesfolder and run:mvn compile exec:java
The license is not included into this repository, so GroupDocs.Viewer will work in the evaluation mode. The evaluation limitations are described here. To test all the features you can request temporary license at https://purchase.groupdocs.com/temporary-license.
In case you have a license, put it into resources folder and adjust license file name in the Utils.java file.