From 794aede27f1480e6474cc83a5074d85b5bba073c Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Mon, 17 Jul 2023 21:59:34 +0100 Subject: [PATCH] docs --- Endpoint-groups.md | 76 +++++++------ Version-groups.md | 102 +++++++++--------- .../controller/web/SecurityWebController.java | 2 +- 3 files changed, 96 insertions(+), 84 deletions(-) diff --git a/Endpoint-groups.md b/Endpoint-groups.md index 6692a9a2..e6401396 100644 --- a/Endpoint-groups.md +++ b/Endpoint-groups.md @@ -1,35 +1,41 @@ -| Operation | PageOps | Convert | Security | Other | CLI | Python | OpenCV | LibreOffice | OCRmyPDF | Java | Javascript | -|---------------------|---------|---------|----------|-------|------|--------|--------|-------------|----------|----------|------------| -| merge-pdfs | ✔️ | | | | | | | | | ✔️ | | -| multi-page-layout | ✔️ | | | | | | | | | ✔️ | | -| pdf-organizer | ✔️ | | | | | | | | | ✔️ | ✔️ | -| 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-presentation | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-text | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-word | | ✔️ | | | ✔️ | | | ✔️ | | | | -| pdf-to-xml | | ✔️ | | | ✔️ | | | ✔️ | | | | -| xlsx-to-pdf | | ✔️ | | | ✔️ | | | ✔️ | | | | -| add-password | | | ✔️ | | | | | | | ✔️ | | -| add-watermark | | | ✔️ | | | | | | | ✔️ | | -| cert-sign | | | ✔️ | | | | | | | ✔️ | | -| change-permissions | | | ✔️ | | | | | | | ✔️ | | -| remove-password | | | ✔️ | | | | | | | ✔️ | | -| add-image | | | | ✔️ | | | | | | ✔️ | | -| change-metadata | | | | ✔️ | | | | | | ✔️ | | -| compare | | | | ✔️ | | | | | | | ✔️ | -| compress-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | -| extract-image-scans | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| extract-images | | | | ✔️ | | | | | | ✔️ | | -| flatten | | | | ✔️ | | | | | | | | -| ocr-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | -| remove-blanks | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | -| repair | | | | ✔️ | ✔️ | | | ✔️ | | | | -| sign | | | | ✔️ | | | | | | | ✔️ | +| Operation | PageOps | Convert | Security | Other | CLI | Python | OpenCV | LibreOffice | OCRmyPDF | Java | Javascript | +|---------------------|---------|---------|----------|-------|------|--------|--------|-------------|----------|----------|------------| +| adjust-contrast | ✔️ | | | | | | | | | | ✔️ | +| auto-split-pdf | ✔️ | | | | | | | | | ✔️ | | +| crop | ✔️ | | | | | | | | | ✔️ | | +| merge-pdfs | ✔️ | | | | | | | | | ✔️ | | +| multi-page-layout | ✔️ | | | | | | | | | ✔️ | | +| pdf-organizer | ✔️ | | | | | | | | | ✔️ | ✔️ | +| 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-presentation | | ✔️ | | | ✔️ | | | ✔️ | | | | +| pdf-to-text | | ✔️ | | | ✔️ | | | ✔️ | | | | +| pdf-to-word | | ✔️ | | | ✔️ | | | ✔️ | | | | +| pdf-to-xml | | ✔️ | | | ✔️ | | | ✔️ | | | | +| xlsx-to-pdf | | ✔️ | | | ✔️ | | | ✔️ | | | | +| add-password | | | ✔️ | | | | | | | ✔️ | | +| add-watermark | | | ✔️ | | | | | | | ✔️ | | +| 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 | | | | ✔️ | | | | | | | | +| ocr-pdf | | | | ✔️ | ✔️ | | | | ✔️ | | | +| remove-blanks | | | | ✔️ | ✔️ | ✔️ | ✔️ | | | | | +| repair | | | | ✔️ | ✔️ | | | ✔️ | | | | +| sign | | | | ✔️ | | | | | | | ✔️ | \ No newline at end of file diff --git a/Version-groups.md b/Version-groups.md index 244284c7..557cadb2 100644 --- a/Version-groups.md +++ b/Version-groups.md @@ -1,48 +1,54 @@ -|Technology | Ultra-Lite | Lite | Full | -|----------------|:----------:|:----:|:----:| -| Java | ✔️ | ✔️ | ✔️ | -| JavaScript | ✔️ | ✔️ | ✔️ | -| Libre | | ✔️ | ✔️ | -| Python | | | ✔️ | -| OpenCV | | | ✔️ | -| OCRmyPDF | | | ✔️ | - - - - - -Operation | Ultra-Lite | Lite | Full ---------------------|------------|------|----- -add-password | ✔️ | ✔️ | ✔️ -add-watermark | ✔️ | ✔️ | ✔️ -cert-sign | ✔️ | ✔️ | ✔️ -change-metadata | ✔️ | ✔️ | ✔️ -change-permissions | ✔️ | ✔️ | ✔️ -compare | ✔️ | ✔️ | ✔️ -extract-images | ✔️ | ✔️ | ✔️ -flatten | ✔️ | ✔️ | ✔️ -img-to-pdf | ✔️ | ✔️ | ✔️ -merge-pdfs | ✔️ | ✔️ | ✔️ -multi-page-layout | ✔️ | ✔️ | ✔️ -pdf-organizer | ✔️ | ✔️ | ✔️ -pdf-to-img | ✔️ | ✔️ | ✔️ -remove-pages | ✔️ | ✔️ | ✔️ -remove-password | ✔️ | ✔️ | ✔️ -rotate-pdf | ✔️ | ✔️ | ✔️ -scale-pages | ✔️ | ✔️ | ✔️ -sign | ✔️ | ✔️ | ✔️ -split-pdfs | ✔️ | ✔️ | ✔️ -add-image | ✔️ | ✔️ | ✔️ -file-to-pdf | | ✔️ | ✔️ -pdf-to-html | | ✔️ | ✔️ -pdf-to-presentation | | ✔️ | ✔️ -pdf-to-text | | ✔️ | ✔️ -pdf-to-word | | ✔️ | ✔️ -pdf-to-xml | | ✔️ | ✔️ -repair | | ✔️ | ✔️ -xlsx-to-pdf | | ✔️ | ✔️ -compress-pdf | | | ✔️ -extract-image-scans | | | ✔️ -ocr-pdf | | | ✔️ -pdf-to-pdfa | | | ✔️ -remove-blanks | | | ✔️ +|Technology | Ultra-Lite | Lite | Full | +|----------------|:----------:|:----:|:----:| +| Java | ✔️ | ✔️ | ✔️ | +| JavaScript | ✔️ | ✔️ | ✔️ | +| Libre | | ✔️ | ✔️ | +| Python | | | ✔️ | +| OpenCV | | | ✔️ | +| OCRmyPDF | | | ✔️ | + + + + + +Operation | Ultra-Lite | Lite | Full +--------------------|------------|------|----- +add-page-numbers | ✔️ | ✔️ | ✔️ +add-password | ✔️ | ✔️ | ✔️ +add-watermark | ✔️ | ✔️ | ✔️ +adjust-contrast | ✔️ | ✔️ | ✔️ +auto-split-pdf | ✔️ | ✔️ | ✔️ +auto-rename | ✔️ | ✔️ | ✔️ +cert-sign | ✔️ | ✔️ | ✔️ +crop | ✔️ | ✔️ | ✔️ +change-metadata | ✔️ | ✔️ | ✔️ +change-permissions | ✔️ | ✔️ | ✔️ +compare | ✔️ | ✔️ | ✔️ +extract-images | ✔️ | ✔️ | ✔️ +flatten | ✔️ | ✔️ | ✔️ +img-to-pdf | ✔️ | ✔️ | ✔️ +merge-pdfs | ✔️ | ✔️ | ✔️ +multi-page-layout | ✔️ | ✔️ | ✔️ +pdf-organizer | ✔️ | ✔️ | ✔️ +pdf-to-img | ✔️ | ✔️ | ✔️ +remove-pages | ✔️ | ✔️ | ✔️ +remove-password | ✔️ | ✔️ | ✔️ +rotate-pdf | ✔️ | ✔️ | ✔️ +sanitize-pdf | ✔️ | ✔️ | ✔️ +scale-pages | ✔️ | ✔️ | ✔️ +sign | ✔️ | ✔️ | ✔️ +split-pdfs | ✔️ | ✔️ | ✔️ +add-image | ✔️ | ✔️ | ✔️ +file-to-pdf | | ✔️ | ✔️ +pdf-to-html | | ✔️ | ✔️ +pdf-to-presentation | | ✔️ | ✔️ +pdf-to-text | | ✔️ | ✔️ +pdf-to-word | | ✔️ | ✔️ +pdf-to-xml | | ✔️ | ✔️ +repair | | ✔️ | ✔️ +xlsx-to-pdf | | ✔️ | ✔️ +compress-pdf | | | ✔️ +extract-image-scans | | | ✔️ +ocr-pdf | | | ✔️ +pdf-to-pdfa | | | ✔️ +remove-blanks | | | ✔️ diff --git a/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java b/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java index 54f88618..fe176f62 100644 --- a/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java +++ b/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java @@ -47,7 +47,7 @@ public class SecurityWebController { @GetMapping("/sanitize-pdf") @Hidden public String sanitizeForm(Model model) { - model.addAttribute("currentPage", ""); + model.addAttribute("currentPage", "sanitize-pdf"); return "security/sanitize-pdf"; } }