分类

LibreOffice PPT转PDF讲义

演示文稿转PDF并支持每页多张幻灯片讲义布局

先用LibreOffice转换,再按1/2/3/4/6/9张每页排版。

示例结果

2 个示例

A4每页4张讲义

将商务PPTX转换为A4每页4张的讲义PDF

libreoffice-ppt-to-pdf-handouts-example1.pdf 查看文件
查看输入参数
{ "sourceFile": "/Users/quyue/www/elysia-tools/public/samples/ppt/business.pptx", "slidesPerPage": "4", "pageSize": "A4", "orientation": "portrait", "margin": 28, "gap": 10, "drawFrame": true }

横向每页6张讲义

生成横向每页6张幻灯片的讲义PDF

libreoffice-ppt-to-pdf-handouts-example2.pdf 查看文件
查看输入参数
{ "sourceFile": "/Users/quyue/www/elysia-tools/public/samples/ppt/simple.pptx", "slidesPerPage": "6", "pageSize": "Letter", "orientation": "landscape", "margin": 24, "gap": 8, "drawFrame": true }

Click to upload file or drag and drop file here

Maximum file size: 300MB Supported formats: application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation

API 文档

请求端点

POST /zh/api/tools/libreoffice-ppt-to-pdf-handouts

请求参数

参数名 类型 必填 描述
sourceFile file (需要先上传) -
slidesPerPage select -
pageSize select -
orientation select -
margin number -
gap number -
drawFrame checkbox -

文件类型参数需要先通过 POST /upload/libreoffice-ppt-to-pdf-handouts 上传获取 filePath,然后将 filePath 传递给对应的文件字段。

响应格式

{
  "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)"
}
文件: 文件

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-libreoffice-ppt-to-pdf-handouts": {
      "name": "libreoffice-ppt-to-pdf-handouts",
      "description": "演示文稿转PDF并支持每页多张幻灯片讲义布局",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=libreoffice-ppt-to-pdf-handouts",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

支持 URL 文件链接或 Base64 编码作为文件参数。

如果遇见问题,请联系我们:[email protected]