GithubHelp home page GithubHelp logo

xqfz / groupdocs.viewer-for-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from groupdocs-viewer/groupdocs.viewer-for-java

0.0 0.0 0.0 73.71 MB

GroupDocs.Viewer for Java examples, plugins and showcase

Home Page: https://products.groupdocs.com/viewer/java

License: MIT License

Batchfile 100.00%

groupdocs.viewer-for-java's Introduction

Document Viewer Java Library

GroupDocs.Viewer for Java is a Document Viewer API for Java developers. It supports over 170 document types from popular categories such as Microsoft Office, OpenOffice, AutoCAD, Photoshop, Visio, images, metafiles, programming, archives, messages, PDF & more.

View PDF, DOC, PPT, ODT, OTT, ODP among many other documents in HTML5, PDF or image modes with fast and high quality rendering. You may also choose your own rendering strategy by processing the document page-by-page, entire document at once or a custom page range. API also provides the ability to customize document appearance via additional rendering options to add watermarks, rotate or reorder pages, extract document text and much more!

Directory Description
Docs Product documentation containing the Developer's Guide, Release Notes and more.
Examples Java examples and sample documents for you to get started quickly.
Showcases Build Document Viewer Applications using GroupDocs.Viewer for Java.

View Documents As HTML, PDF or Images

  • Display document content in any web-browser.
  • View document pages separately.
  • Rotate, reorder pages or add watermarks.
  • Customizable resource management options for CSS, fonts & images.
  • Render all pages of a document as a single PDF.
  • Boost document loading speed with configurable caching.
  • Extract document text along with words' coordinates.
  • Extract basic information about source documents such as file type, pages count and so on.
  • Auto-detect document type.
  • Replace missing font or use custom fonts for rendering.

Get Started with GroupDocs.Viewer for Java

GroupDocs.Viewer for Java requires J2SE 7.0 (1.7), J2SE 8.0 (1.8) or above. Please install Java first if you do not have it already.

GroupDocs hosts all Java APIs on GroupDocs Artifact Repository, so simply configure your Maven project to fetch the dependencies automatically.

Render DOCX As Responsive HTML

Viewer viewer = new Viewer("sample.docx");
HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();
viewOptions.setRenderResponsive(true);
viewer.view(viewOptions);
viewer.close();

View DOCX As Protected PDF

Viewer viewer = new Viewer("sample.docx");
Security security = new Security();
security.setDocumentOpenPassword("o123");
security.setPermissionsPassword("p123");
security.setPermissions(Permissions.ALLOW_ALL ^ Permissions.DENY_PRINTING);

PdfViewOptions viewOptions = new PdfViewOptions(filePath);
viewOptions.setSecurity(security);

viewer.view(viewOptions);
viewer.close();

How to run documentation

  1. Download and install hugo_extended
  2. Open condole and run
    call build_docs.cmd

Home | Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License

groupdocs.viewer-for-java's People

Contributors

atirtahirgroupdocs avatar saqibmasood avatar aamirwaseem avatar muhammadumargroupdocs avatar oleksii-unnamed avatar vladimir-litvinchik avatar amingroupdocs avatar yevgen-nykytenko avatar sabir-aspose avatar mzeeshanshafqat avatar atirtahir avatar babar-raza avatar zeeshanshafqat avatar mikhail-evgrafov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.