Skip to content

groupdocs-editor/GroupDocs.Editor-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit Documents as HTML via Java API

GroupDocs.Editor is a one-stop solution for Document Editing as HTML. The edited documents can be saved in original format as well as other formats including Microsoft Word documents (DOC, DOCX), Excel spreadsheets (XLS, XLSX), PDF & TXT.

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.
Demos Frontend examples to help you learn how to Implement product features in a Web-UI based application.

Document Editing as HTML

  • Convert documents to HTML DOM.
  • Convert HTML DOM to Office & OpenOffice formats.
  • Protect resultant documents.
  • Reply comments and statuses.
  • Optimize memory usage.
  • Paginal mode for the Words document.
  • Ability to open, view and edit XML document.

Get Started with GroupDocs.Editor for Java

GroupDocs.Editor for Java requires J2SE J2SE 6.0 (1.6), 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.

Convert Document to HTML DOM

InputStream inputStream = new FileInputStream(CommonUtilities.getStoragePath(fileName));
try {
    InputHtmlDocument htmlDoc = EditorHandler.toHtml(inputStream);
    String bodyContent = htmlDoc.getContent();
    System.out.println(bodyContent);
} catch (Exception ex){
     ex.getMessage();
}

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

About

GroupDocs.Editor for Java examples, plugins and showcase projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published