Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

Integration: #1830 standards_remove_id is not the standards.pdfa command

aionggeb6a4a2d79f7
diff --git a/crates/automation/src/tools.rs b/crates/automation/src/tools.rs
index 73925ccb4..70f8bd6c8 100644
--- a/crates/automation/src/tools.rs
+++ b/crates/automation/src/tools.rs
@@ -1090,7 +1090,6 @@ pub fn tools() -> Vec<ToolDef> {
.cmd("standards.pdfa")
.with(schema(json!({ "doc": doc(), "level": { "type": "string", "enum": ["2b", "3b"] } }), &["doc"])),
t("standards_remove_id", "Remove PDF/A or PDF/X identification", "Remove what identifies the document as PDF/A (its pdfaid: XMP properties) or PDF/X (GTS_PDFXVersion and GTS_PDFXConformance, in the document information and as pdfxid: XMP properties), e.g. after edits it no longer meets. Output intents and other metadata stay. Fails when the document declares nothing of the kind. Undoable.")
- .cmd("standards.pdfa")
.with(schema(json!({ "doc": doc(), "standard": { "type": "string", "enum": ["pdfa", "pdfx"] } }), &["doc", "standard"])),
t("action_list", "List actions", "Action Wizard: the built-in actions (name, description, steps) and every step an action can use (id, label, whether it takes a text argument).")
.ro()