diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 16:05:51 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-11-19 16:05:51 +0000 |
| commit | 43169155e4e6f099a5c09e58a560f911d9250464 (patch) | |
| tree | fedab2008903617563de4e0622eb77cef45c87a0 /src/io/file-export-cmd.h | |
| parent | Rebase (diff) | |
| download | inkscape-43169155e4e6f099a5c09e58a560f911d9250464.tar.gz inkscape-43169155e4e6f099a5c09e58a560f911d9250464.zip | |
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.
Diffstat (limited to 'src/io/file-export-cmd.h')
| -rw-r--r-- | src/io/file-export-cmd.h | 10 |
1 files changed, 5 insertions, 5 deletions
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!). |
