mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-20 01:21:06 +01:00
Document the Export… dialog's body function (#2019)
This commit is contained in:
1 parent
deb6e1707b
commit
2ca092c263
1 file changed
+3
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user