Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
将 Excel 文件的指定工作表转换为 PDF 格式
将 Excel 文件的指定工作表转换为 PDF 文件。
office/skills/excel/excel2pdf/
from skills.excel import excel2pdf
excel2pdf(
excel_path='./data.xlsx',
pdf_path='./data.pdf',
sheet_id=0
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
excel_path | str | 是 | - | Excel 文件的路径 |
pdf_path | str | 是 | - | 转换后生成的 PDF 文件的路径 |
sheet_id | int | 否 | 0 | 工作表的索引(默认第一个工作表) |
None
from skills.excel import excel2pdf
excel2pdf(excel_path='./report.xlsx', pdf_path='./report.pdf', sheet_id=0)
https://www.bilibili.com/video/BV1A84y1N7or/
office.api.excel.excel2pdf
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills181k1,119 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills181k1,119 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills181k1,119 new stars in the last 7 days