Categories

LibreOffice XLSX to PDF Report

Convert Excel workbooks to multi-page PDF reports via LibreOffice and merge batch outputs

Convert spreadsheets to printable PDF reports using LibreOffice CLI. **Highlights:** - Supports \.xls and \.xlsx - Multi-page report output from workbook print layout - Batch conversion with merged PDF output

Example Results

2 examples

Batch Workbook Report PDF

Convert two XLSX files and merge into a single PDF report

libreoffice-xlsx-to-pdf-report-example1.pdf View File
View input parameters
{ "sourceFiles": [ "/Users/quyue/www/elysia-tools/public/samples/xlsx/basic.xlsx", "/Users/quyue/www/elysia-tools/public/samples/xlsx/data.xlsx" ], "singlePageSheets": false, "mergeReports": true }

Single Workbook One-Page Sheets

Export one workbook with SinglePageSheets enabled

libreoffice-xlsx-to-pdf-report-example2.pdf View File
View input parameters
{ "sourceFiles": [ "/Users/quyue/www/elysia-tools/public/samples/xlsx/financial.xlsx" ], "singlePageSheets": true, "mergeReports": false }

Click to upload files or drag and drop files here

Maximum file size: 300MB Maximum files: 30
Supported formats: application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

API Documentation

Request Endpoint

POST /en/api/tools/libreoffice-xlsx-to-pdf-report

Request Parameters

Parameter Name Type Required Description
sourceFiles file (Upload required) Yes -
singlePageSheets checkbox No -
mergeReports checkbox No -

File type parameters need to be uploaded first via POST /upload/libreoffice-xlsx-to-pdf-report to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-libreoffice-xlsx-to-pdf-report": {
      "name": "libreoffice-xlsx-to-pdf-report",
      "description": "Convert Excel workbooks to multi-page PDF reports via LibreOffice and merge batch outputs",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=libreoffice-xlsx-to-pdf-report",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]