8 Star 15 Fork 6

Gitee 极速下载 / JODConverter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sbraconnier/jodconverter
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

  LibreOffice / Apache OpenOffice

Build Status Coverage Status Codacy Badge License Maven Central Javadocs Join the chat at https://gitter.im/jodconverter/Lobby Donate

What you want to know...

  • Documentation: The JODConverter documentation (work in progress) can be found here.
  • Examples: A dedicated repository with sample projects can be found here.
  • Dependencies:
  • Tests: JODConverter is supposed to work just fine on recent versions of Windows, MacOS and Unix/Linux. Any confirmation would be welcome, so we could build a list of official supported OS distributions.

Usage for local conversions

Build default, JODConverter is built using the OpenOffice libraries. See here to know why. But you can now decide whether you want to use JODConverter with the LibreOffice libraries or the OpenOffice libraries.

With LibreOffice libraries:

Gradle:

implementation 'org.jodconverter:jodconverter-local-lo:4.4.7'

Maven:

<dependency>
  <groupId>org.jodconverter</groupId>
  <artifactId>jodconverter-local-lo</artifactId>
  <version>4.4.7</version>
</dependency>

With OpenOffice libraries:

Gradle:

implementation 'org.jodconverter:jodconverter-local:4.4.7'

or

implementation 'org.jodconverter:jodconverter-local-oo:4.4.7'

Maven:

<dependency>
  <groupId>org.jodconverter</groupId>
  <artifactId>jodconverter-local</artifactId>
  <version>4.4.7</version>
</dependency>

or

<dependency>
  <groupId>org.jodconverter</groupId>
  <artifactId>jodconverter-local-oo</artifactId>
  <version>4.4.7</version>
</dependency>

Building the Project

gradlew clean build -x test

Building Cli Executable

gradlew clean build -x test distZip

Support :speech_balloon:

JODConverter Gitter Community Join the chat at https://gitter.im/jodconverter/Lobby, growing FAQ.

How to contribute

  1. Check for open issues, or open a new issue to start a discussion around a feature idea or a bug.
  2. If you feel uncomfortable or uncertain about an issue or your changes, feel free to contact me on Gitter using the link above.
  3. Fork this repository on GitHub to start making your changes.
  4. Write a test showing that the bug was fixed or that the feature works as expected.
  5. Note that the repository follows the Google Java style. You can format your code to this format by typing gradlew spotlessApply on the subproject you work on (e.g, gradlew :jodconverter-local:spotlessApply), by using the Eclipse plugin, or by using the Intellij plugin.
  6. Create a pull request, and wait until it gets merged and published.

Credits...

Here are my favorite/inspiration forks/projects:

  • documents4j project: Nice choice if you want 100% perfect conversion using MS Office. But work only on Windows out of the box (Local implementation) and not totally free (since MS Office is not free). The new "job" package is strongly inspired by this project.

Original JODConverter

JODConverter (Java OpenDocument Converter) automates document conversions using LibreOffice or OpenOffice.org.

The previous home for this project is at Google Code, including some wiki pages.

Donations

If this project helps you, please consider a cup of :coffee:. Thanks!! :heart:

paypal

/* * Copyright (c) 2004 - 2012; Mirko Nasato and contributors * 2016 - 2022; Simon Braconnier and contributors * 2022 - present; JODConverter * * This file is part of JODConverter - Java OpenDocument Converter. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */

简介

JODConverter 一个 Java 的 OpenDocument 文件轉換器,可以進行許多文件格式的轉換,它利用OpenOffice所提供的轉換介面來進行轉換工作 展开 收起
Java 等 3 种语言
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/mirrors/jodconverter.git
git@gitee.com:mirrors/jodconverter.git
mirrors
jodconverter
JODConverter
master

搜索帮助