feat(plot): PUBLISH opens the batch plot of the drawing's layouts

PUBLISH now runs what PRINTALL does: pick the layouts, each plotted with
its own page setup, into one multi-page PDF or to the printer.

Refs #1124

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-13 14:24:34 +03:00
1 parent 0eec9c450f
commit 4518569b61
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -951,7 +951,9 @@ impl OpenCADStudio {
"PLOT" | "PRINT" => { "PLOT" | "PRINT" => {
return Some(Task::done(Message::PlotDialogOpen)); return Some(Task::done(Message::PlotDialogOpen));
} }
"PRINTALL" => { // PUBLISH: the layouts of the drawing, each with its own page
// setup, into one multi-page PDF or to the printer.
"PRINTALL" | "PUBLISH" => {
return Some(Task::done(Message::PrintAllOpen)); return Some(Task::done(Message::PrintAllOpen));
} }
// PRINTERS — what the system reports about printing, on the // PRINTERS — what the system reports about printing, on the
+1
View File
@@ -490,6 +490,7 @@ inventory::submit!(crate::command::CommandRegistration {
"EXPORTPDF", "EXPORTPDF",
"EXPORTSVG", "EXPORTSVG",
"PRINTALL", "PRINTALL",
"PUBLISH",
"DDIM", "DDIM",
// Inquiry: list the whole drawing database. // Inquiry: list the whole drawing database.
"DBLIST", "DBLIST",