Document the Export… dialog's body function (#2019)

This commit is contained in:
jgriggs-sluh committed 2026-11-10 16:12:52 -06:00
1 parent deb6e1707b
commit 2ca092c263
1 file changed
+3
+3
View File
@@ -707,6 +707,9 @@ fn dlg_rename_section(app: &mut SlideApp, ui: &mut Ui, d: &mut Dialog) -> bool {
ok || cancel
}
/// Export…: the format (PDF, PNG or JPEG of the current slide or of every slide, PowerPoint,
/// outline, animated GIF, RTF) and its options; Export hands them to [`SlideApp::export_as`].
/// Returns true when the dialog should close.
fn dlg_export(app: &mut SlideApp, ui: &mut Ui, d: &mut Dialog) -> bool {
ui.label("Export the presentation as:");
let fmt = d.get("fmt", "pdf");