Skip to content

Latest commit

 

History

History

README.md

GroupDocs.Conversion

GroupDocs.Conversion for Java Ktor Example

New GroupDocs.Conversion for Java Ktor UI Example

version 23.6

GitHub license

System Requirements

  • Java 11+ (JDK 11+)

Document converter with Java API

GroupDocs.Conversion for Java API is a library that allows you to convert word to PDF, PNG, JPG and to many other document or image formats supported by the library. Using powerful and flexible GroupDocs.Conversion API you will be able to convert multitude document formats with a wide set of different options.

This web application allows you to convert documents between different formats using simple modern UI. While it can be used as a standalone application it also can be integrated as part of your project.

Note: without a license application will run in trial mode, purchase GroupDocs.Conversion for Java license or request GroupDocs.Conversion for Java temporary license.

Document family Supported formats Supported conversions
Microsoft Word Doc,Docm,Docx,Dot,Dotm,Dotx,Rtf,Txt,Odt,Ott Word to Rtf,Word to Txt,Word to Html,Word to Odt,Word to Ott,Word to Epub,Word to Pdf,Word to Image,Word to Cells,Word to Slides
Microsoft Excel Xls,Xls2003,Xlsb,Xlsm,Xlsx Excel to Word,Excel to Pdf,Excel to Epub,Excel to Html,Excel to Image,Excel to Slides
Portable Document Format Pdf Pdf to Word,Pdf to Epub,Pdf to Html,Pdf to Image,Pdf to Cells,Pdf to Slides
Microsoft PowerPoint Ppt,Pps,Pptx,Ppsx,Odp Slides to Word,Slides to Pdf,Slides to Epub,Slides to Html,Slides to Image,Slides to Excel
Microsoft Visio Vsd,Vsdx,Vss,Vst,Vsx,Vtx,Vdw,Vdx,Svg Visio to Word,Visio to Pdf,Visio to Epub,Visio to Html,Visio to Image,Visio to Excel,Visio to Slides
Microsoft Project Mpt,Mpp Tasks to Word,Tasks to Pdf,Tasks to Epub,Tasks to Html,Tasks to Image,Tasks to Excel,Tasks to Slides
HTML Html Html to Word,Html to Pdf,Html to Epub,Html to Cells,Html to Slides
Images Xps,Tiff,Tif,Jpeg,Jpg,Png,Gif,Bmp,Ico,Dxf,Dwg,Psd Image to Word,Image to Pdf,Image to Epub,Image to Html,Image to Image,Image to Cells,Image to Slides

Demo Video

Features

GroupDocs.Conversion

  • Clean, modern and intuitive design
  • Easily switchable colour theme (create your own colour theme in 5 minutes)
  • Responsive design
  • Convert individual documents
  • Batch convert multiple files
  • Mobile support (open application on any mobile device)
  • HTML and image modes
  • Drag and Drop support
  • Upload documents
  • Cross-browser support (Safari, Chrome, Opera, Firefox)
  • Cross-platform support (Windows, Linux, MacOS)

How to run

You can run this sample by one of following methods

Run using IDE

Download source code from github or clone this repository.

git clone https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java.git
cd GroupDocs.Conversion-for-Java/Demos/Ktor

Open project in IDE. Open Application.kt file and run main method inside it. Then open http://localhost:8080/Conversion/ in your favorite browser.

Run from command line

Download source code from github.

Alternatively you can clone this repository using next command

git clone https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java.git

Run sample from Windows PowerShell or Linux Terminal using next commands

cd GroupDocs.Conversion-for-Java/Demos/Ktor
.\gradlew.bat :run

Open http://localhost:8080/Conversion/ in your favorite browser.

Build distribution archive

Download source code from github.

Alternatively you can clone this repository using next command

git clone https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java.git

Run sample from Windows PowerShell or Linux Terminal using next commands

cd GroupDocs.Conversion-for-Java/Demos/Ktor
.\gradlew.bat :build

After that, go to .\build\distributions\ directory to get distribution files.

Configuration

You can adjust settings in /src/main/resources/application.conf. Specify relative/absolute path to license file by setting licensePath value in /src/main/resources/application.conf or by setting up LIC_PATH environment variable

Conversion configuration options

Option Type Default value Description
filesDirectory String DocumentSamples Files directory path. Indicates where uploaded and predefined files are stored. It can be absolute or relative path
resultDirectory String Absolute path to result files directory

License

The MIT License (MIT).

Please have a look at the LICENSE.md for more details

GroupDocs Conversion on other platforms & frameworks

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