Стили Нумерации PDF
Конвертирует HTML в PDF с римской, арабской или главной нумерацией
Создайте PDF из HTML и примените нужный стиль нумерации страниц.
**Стили:**
- Арабские или римские числа
- Префикс главы с шаблоном `{chapter}`
- Итоговое число страниц и префиксы/суффиксы
**Позиция:**
- Верхний или нижний колонтитул
- Отступ от края и размер шрифта
Документация API
Конечная точка запроса
POST /ru/api/tools/pdf-page-numbering-styles
Параметры запроса
| Имя параметра | Тип | Обязательно | Описание |
|---|---|---|---|
| htmlContent | textarea | Да | - |
| cssContent | textarea | Нет | - |
| pageSize | select | Нет | - |
| landscape | checkbox | Нет | - |
| printBackground | checkbox | Нет | - |
| marginTop | number | Нет | - |
| marginBottom | number | Нет | - |
| marginLeft | number | Нет | - |
| marginRight | number | Нет | - |
| numberingStyle | select | Нет | - |
| startPageNumber | number | Нет | - |
| includeTotalPages | checkbox | Нет | - |
| chapterPrefixTemplate | text | Нет | - |
| chapterNumber | number | Нет | - |
| labelPrefix | text | Нет | - |
| labelSuffix | text | Нет | - |
| numberPosition | select | Нет | - |
| edgeOffsetMm | number | Нет | - |
| fontSize | number | Нет | - |
| fontColor | color | Нет | - |
| waitUntil | select | Нет | - |
| waitTime | number | Нет | - |
Формат ответа
{
"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)"
}
Файл:
Файл
Документация MCP
Добавьте этот инструмент к конфигурации сервера MCP:
{
"mcpServers": {
"elysiatools-pdf-page-numbering-styles": {
"name": "pdf-page-numbering-styles",
"description": "Конвертирует HTML в PDF с римской, арабской или главной нумерацией",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-page-numbering-styles",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
Вы можете объединять несколько инструментов, например: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, максимум 20 инструментов.
Если вы столкнулись с проблемами, пожалуйста, свяжитесь с нами по адресу [email protected]