mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-21 05:11:00 -06:00
Document the Export… dialog's body function (#2019)
This commit is contained in:
@@ -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