From 43169155e4e6f099a5c09e58a560f911d9250464 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 19 Nov 2018 17:05:51 +0100 Subject: Allow multiple semi-colon separated entries in --export-id; each entry will be exported to its own file. Using a semi-colon allows the future possibility of allowing the user to use a comma separated entry to select more than one object to export at the same time. --- src/io/file-export-cmd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/io/file-export-cmd.h') diff --git a/src/io/file-export-cmd.h b/src/io/file-export-cmd.h index 0f7dd994b..0e8647db2 100644 --- a/src/io/file-export-cmd.h +++ b/src/io/file-export-cmd.h @@ -26,11 +26,11 @@ public: private: - std::string get_filename_out(std::string filename_in=""); - int do_export_svg( SPDocument* doc, std::string filename_out); - int do_export_png( SPDocument* doc, std::string filename_out); - int do_export_ps_pdf(SPDocument* doc, std::string filename_out, std::string mime_type); - int do_export_win_metafile(SPDocument* doc, std::string filename_out, std::string mime_type); + std::string get_filename_out(std::string filename_in="", std::string object_id=""); + int do_export_svg( SPDocument* doc, std::string filename_in); + int do_export_png( SPDocument* doc, std::string filename_in); + int do_export_ps_pdf(SPDocument* doc, std::string filename_in, std::string mime_type); + int do_export_win_metafile(SPDocument* doc, std::string filename_in, std::string mime_type); public: // Should be private, but this is just temporary code (I hope!). -- cgit v1.2.3