mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
All 181 docs markdown files translated into 20 languages (apps/docs/<locale>/**). Companion to the i18n code PR; admin-merged because the file count exceeds GitHub's per-PR CI trigger limit. Validated by pnpm i18n:check (all surfaces, 0 stale/missing) and a clean all-locale docs build.
1.4 KiB
1.4 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| Converti un PDF in un documento Word (DOCX). | be41b6b49f84 | human | 586b219dd3cd |
PDF in Word
Converti un PDF basato su testo in un documento Word (DOCX). Ideale per PDF con testo selezionabile; le pagine scansionate richiederanno prima l'OCR.
API Endpoint
POST /api/v1/tools/pdf/pdf-to-word
Accetta dati di form multipart con un file PDF.
Parameters
Questo strumento non ha parametri configurabili. Carica un PDF e verrà convertito in DOCX.
Example Request
curl -X POST http://localhost:1349/api/v1/tools/pdf/pdf-to-word \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@report.pdf"
Example Response
Restituisce 202 Accepted. Monitora l'avanzamento tramite SSE su /api/v1/jobs/{jobId}/progress.
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"async": true
}
Notes
- Formato di input accettato:
.pdf. - Funziona meglio con PDF basati su testo. Le pagine scansionate o solo immagine produrranno un output vuoto o minimo; usa OCR PDF per aggiungere prima un livello di testo.
- La conversione è gestita da LibreOffice in esecuzione headless sul server.
- I layout complessi (multi-colonna, elementi sovrapposti) potrebbero non convertirsi perfettamente.