Let Nextcloud automatically convert documents to PDF
Перейти к файлу
dependabot[bot] 342843e9aa
Merge pull request #706 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-6.1.0
2024-09-18 01:20:54 +00:00
.github ci(github): update workflows 2024-09-11 18:23:24 +02:00
.tx
appinfo
composer
img
l10n
lib
screenshots
src
tests
.eslintrc.js
.gitignore
.l10nignore
.nextcloudignore
.php-cs-fixer.dist.php
COPYING
README.md
babel.config.js
composer.json
composer.lock chore(dev-deps): Bump nextcloud/ocp package 2024-09-15 03:03:50 +00:00
krankerl.toml
package-lock.json Merge pull request #706 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-6.1.0 2024-09-18 01:20:54 +00:00
package.json Merge pull request #706 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-6.1.0 2024-09-18 01:20:54 +00:00
psalm.xml
stylelint.config.js
webpack.js

README.md

Nextcloud PDF Converter app

This app lets Nextcloud automatically convert documents to PDF. By utilizing the workflow engine it allows Nextcloud administrators to define rules upon which various documents are enqueued to be converted to PDF. Eventually, the conversion happens in a background job by feeding the source file to the found or specific libreoffice or openoffice binary. Depending on the selected behaviour the source file can either be kept or deleted and the resulting PDFs can either be preserved by increasing a number added to the filename or overwritten.

The conversion job is being created when a file was created or updated and also when a system tag was assigned.

Learn more about workflows on https://nextcloud.com/workflow

Requirements

LibreOffice must be installed on the server and the binary must be either detectable by Nextcloud or specified in the config.php as preview_libreoffice_path (cf. the sample config).

Limitations

This app does not work with either encryption method.

Since LibreOffice is used for conversion, its import filters decide the possibility and quality of conversion. Essentially, Office formats, plain text documents, HTML files but also graphics can be converted. Due to a high number of very custom mime types, by default we feed anything to LibreOffice apart from Audio and Video files.