diff --git a/Endpoint-groups.md b/Endpoint-groups.md index 1e8e755e..0c31c5da 100644 --- a/Endpoint-groups.md +++ b/Endpoint-groups.md @@ -1,46 +1,46 @@ -| Operation | PageOps | Convert | Security | Other | CLI | Python | OpenCV | LibreOffice | OCRmyPDF | Java | Javascript | -| ------------------- | ------- | ------- | -------- | ----- | --- | ------ | ------ | ----------- | -------- | ---- | ---------- | -| adjust-contrast | ✔️ | | | | | | | | | | ✔️ | -| auto-split-pdf | ✔️ | | | | | | | | | ✔️ | | -| crop | ✔️ | | | | | | | | | ✔️ | | -| extract-page | ✔️ | | | | | | | | | ✔️ | | -| merge-pdfs | ✔️ | | | | | | | | | ✔️ | | -| multi-page-layout | ✔️ | | | | | | | | | ✔️ | | -| pdf-organizer | ✔️ | | | | | | | | | ✔️ | ✔️ | -| pdf-to-single-page | ✔️ | | | | | | | | | ✔️ | | -| remove-pages | ✔️ | | | | | | | | | ✔️ | | -| rotate-pdf | ✔️ | | | | | | | | | ✔️ | | -| scale-pages | ✔️ | | | | | | | | | ✔️ | | -| split-pdfs | ✔️ | | | | | | | | | ✔️ | | -| file-to-pdf | | ✔️ | | | ✔️ | | | ✔️ | | | | -| img-to-pdf | | ✔️ | | | | | | | | ✔️ | | -| pdf-to-html | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-img | | ✔️ | | | | ✔️ | | | | ✔️ | | -| pdf-to-pdfa | | ✔️ | | | ✔️ | | | | ✔️ | | | -| pdf-to-markdown | | ✔️ | | | | | | | | ✔️ | | -| pdf-to-presentation | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-text | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-word | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-xml | | ✔️ | | | ✔️ | | | ✔️ | | | | -| add-password | | | ✔️ | | | | | | | ✔️ | | -| add-watermark | | | ✔️ | | | | | | | ✔️ | | -| cert-sign | | | ✔️ | | | | | | | ✔️ | | -| remove-cert-sign | | | ✔️ | | | | | | | ✔️ | | -| change-permissions | | | ✔️ | | | | | | | ✔️ | | -| remove-password | | | ✔️ | | | | | | | ✔️ | | -| sanitize-pdf | | | ✔️ | | | | | | | ✔️ | | -| add-image | | | | ✔️ | | | | | | ✔️ | | -| add-page-numbers | | | | ✔️ | | | | | | ✔️ | | -| auto-rename | | | | ✔️ | | | | | | ✔️ | | -| change-metadata | | | | ✔️ | | | | | | ✔️ | | -| compare | | | | ✔️ | | | | | | | ✔️ | -| compress-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | -| extract-image-scans | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| extract-images | | | | ✔️ | | | | | | ✔️ | | -| flatten | | | | ✔️ | | | | | | | ✔️ | -| get-info-on-pdf | | | | ✔️ | | | | | | ✔️ | | -| ocr-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | -| remove-blanks | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| repair | | | | ✔️ | ✔️ | | | ✔️ | | | | -| show-javascript | | | | ✔️ | | | | | | | ✔️ | -| sign | | | | ✔️ | | | | | | | ✔️ | +| Operation | PageOps | Convert | Security | Other | CLI | Python | OpenCV | LibreOffice | OCRmyPDF | Java | Javascript | Unoconv | Ghostscript | +| ------------------- | ------- | ------- | -------- | ----- | --- | ------ | ------ | ----------- | -------- | ---- | ---------- | ------- | ----------- | +| adjust-contrast | ✔️ | | | | | | | | | | ✔️ | | | +| auto-split-pdf | ✔️ | | | | | | | | | ✔️ | | | | +| crop | ✔️ | | | | | | | | | ✔️ | | | | +| extract-page | ✔️ | | | | | | | | | ✔️ | | | | +| merge-pdfs | ✔️ | | | | | | | | | ✔️ | | | | +| multi-page-layout | ✔️ | | | | | | | | | ✔️ | | | | +| pdf-organizer | ✔️ | | | | | | | | | ✔️ | ✔️ | | | +| pdf-to-single-page | ✔️ | | | | | | | | | ✔️ | | | | +| remove-pages | ✔️ | | | | | | | | | ✔️ | | | | +| rotate-pdf | ✔️ | | | | | | | | | ✔️ | | | | +| scale-pages | ✔️ | | | | | | | | | ✔️ | | | | +| split-pdfs | ✔️ | | | | | | | | | ✔️ | | | | +| file-to-pdf | | ✔️ | | | ✔️ | ✔️ | | ✔️ | | | | ✔️ | | +| img-to-pdf | | ✔️ | | | | | | | | ✔️ | | | | +| pdf-to-html | | ✔️ | | | ✔️ | | | ✔️ | | | | | | +| pdf-to-img | | ✔️ | | | | ✔️ | | | | ✔️ | | | | +| pdf-to-pdfa | | ✔️ | | | ✔️ | | | | ✔️ | | | | ✔️ | +| pdf-to-markdown | | ✔️ | | | | | | | | ✔️ | | | | +| pdf-to-presentation | | ✔️ | | | ✔️ | | | ✔️ | | | | | | +| pdf-to-text | | ✔️ | | | ✔️ | | | ✔️ | | | | | | +| pdf-to-word | | ✔️ | | | ✔️ | | | ✔️ | | | | | | +| pdf-to-xml | | ✔️ | | | ✔️ | | | ✔️ | | | | | | +| add-password | | | ✔️ | | | | | | | ✔️ | | | | +| add-watermark | | | ✔️ | | | | | | | ✔️ | | | | +| cert-sign | | | ✔️ | | | | | | | ✔️ | | | | +| remove-cert-sign | | | ✔️ | | | | | | | ✔️ | | | | +| change-permissions | | | ✔️ | | | | | | | ✔️ | | | | +| remove-password | | | ✔️ | | | | | | | ✔️ | | | | +| sanitize-pdf | | | ✔️ | | | | | | | ✔️ | | | | +| add-image | | | | ✔️ | | | | | | ✔️ | | | | +| add-page-numbers | | | | ✔️ | | | | | | ✔️ | | | | +| auto-rename | | | | ✔️ | | | | | | ✔️ | | | | +| change-metadata | | | | ✔️ | | | | | | ✔️ | | | | +| compare | | | | ✔️ | | | | | | | ✔️ | | | +| compress-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | | ✔️ | +| extract-image-scans | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | | | +| extract-images | | | | ✔️ | | | | | | ✔️ | | | | +| flatten | | | | ✔️ | | | | | | | ✔️ | | | +| get-info-on-pdf | | | | ✔️ | | | | | | ✔️ | | | | +| ocr-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | | | +| remove-blanks | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | | | +| repair | | | | ✔️ | ✔️ | | | ✔️ | | | | | ✔️ | +| show-javascript | | | | ✔️ | | | | | | | ✔️ | | | +| sign | | | | ✔️ | | | | | | | ✔️ | | | diff --git a/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java b/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java index f13b3676..64f56045 100644 --- a/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java +++ b/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java @@ -182,20 +182,23 @@ public class EndpointConfiguration { addEndpointToGroup("Python", "html-to-pdf"); addEndpointToGroup("Python", "url-to-pdf"); addEndpointToGroup("Python", "pdf-to-img"); + addEndpointToGroup("Python", "file-to-pdf"); // openCV addEndpointToGroup("OpenCV", "extract-image-scans"); // LibreOffice - addEndpointToGroup("LibreOffice", "repair"); // Ghostscript + addEndpointToGroup("LibreOffice", "repair"); addEndpointToGroup("LibreOffice", "file-to-pdf"); - addEndpointToGroup("Unoconv", "file-to-pdf"); addEndpointToGroup("LibreOffice", "pdf-to-word"); addEndpointToGroup("LibreOffice", "pdf-to-presentation"); addEndpointToGroup("LibreOffice", "pdf-to-rtf"); addEndpointToGroup("LibreOffice", "pdf-to-html"); addEndpointToGroup("LibreOffice", "pdf-to-xml"); + // Unoconv + addEndpointToGroup("Unoconv", "file-to-pdf"); + // OCRmyPDF addEndpointToGroup("OCRmyPDF", "compress-pdf"); addEndpointToGroup("OCRmyPDF", "pdf-to-pdfa"); @@ -248,6 +251,7 @@ public class EndpointConfiguration { // Ghostscript dependent endpoints addEndpointToGroup("Ghostscript", "compress-pdf"); addEndpointToGroup("Ghostscript", "pdf-to-pdfa"); + addEndpointToGroup("Ghostscript", "repair"); // Weasyprint dependent endpoints addEndpointToGroup("Weasyprint", "html-to-pdf");