Skip to content

Built-in Document Converter plugins

Name Source MIME types Output Description
AutoCadToPdfConversion DXF, DWG, DWF Converter.TO_PDF Converts an AutoCAD drawing to PDF. When the drawing belongs to a document already stored in the repository, resolves its external references (XREFs) using the document’s own path.
CadviewerToSvgConversion DXF, DWG, DWF Converter.TO_SVG Converts an AutoCAD drawing to SVG using the CADViewer AutoXchange tool (cadviewer.autoxchange configuration parameter).
EpubToImageConversion EPUB Converter.TO_IMAGE Extracts an EPUB e-book’s cover image, falling back to rendering its cover HTML page if the book has no embedded cover image.
EpubToPdfConversion EPUB Converter.TO_PDF Converts an EPUB e-book to PDF.
HtmlToPdfConversion HTML Converter.TO_PDF Converts an HTML document to PDF, first rewriting its embedded image links so they remain resolvable during conversion.
ImageToPdfConversion JPEG, HEIC, PNG, GIF, TIFF, BMP, SVG, PSD Converter.TO_PDF Converts an image to PDF using ImageMagick.
LibreOfficeToPdfConversion Plain text, CSV, RTF, CGM, WordPerfect, Lotus 1-2-3, Gnumeric, AbiWord, FreeHand, plus LibreOffice’s own native formats Converter.TO_PDF Converts an office document to PDF using LibreOffice in headless mode.
MarkdownToPdfConversion Markdown Converter.TO_PDF Renders Markdown (with GitLab-flavored and tables extensions) to HTML, then converts that HTML to PDF.
MsOfficeToPdfConversion Microsoft Office - Word, Excel, PowerPoint, Works, Write, Visio, Publisher (legacy and 2007+ formats) Converter.TO_PDF Converts a Microsoft Office document to PDF using LibreOffice in headless mode.
Targets the same MIME types as RemoteMsOfficeToPdfConversion below - normally only one of the two should be enabled for a given deployment.
PdfToPdfAConversion PDF Converter.TO_PDFA Converts a PDF to the archival PDF/A format using OCRmyPDF (system.ocrmypdf configuration parameter).
PostscriptToPdfConversion PostScript Converter.TO_PDF Converts a PostScript file to PDF using Ghostscript (system.ghostscript configuration parameter).
RemoteMsOfficeToPdfConversion Microsoft Office - same MIME types as MsOfficeToPdfConversion above Converter.TO_PDF Sends the document to an external HTTP conversion service (remote.msoffice.conversion.service configuration parameter) instead of converting it locally. Does nothing (only logs a warning) while that parameter is left empty.
SourceCodeToPdfConversion Java, JSON, XML, SQL, Scala, Python, PHP, Bsh, Perl, JavaScript, Groovy, Diff, Pascal, CSS, and other source code formats Converter.TO_PDF Converts a source code file to a syntax-highlighted PDF, using the highlighting language that matches the file’s MIME type.
ZipToPdfConversion ZIP Converter.TO_PDF Generates a PDF listing the file names contained in a ZIP archive - not a preview of the archive’s actual content.