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/inkscape-application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inkscape-application.cpp') diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 76f001a3d..cfb9654bc 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -105,8 +105,8 @@ InkscapeApplication::InkscapeApplication() // B = PNG, S = SVG, P = PS/EPS/PDF // Export - Geometry add_main_option_entry(OPTION_TYPE_STRING, "export-area", 'a', N_("Export: Area to export in SVG user units."), N_("x0:y0:x1:y1")); // BSP - add_main_option_entry(OPTION_TYPE_BOOL, "export-drawing", 'D', N_("Export: Area to export is drawing (not page)."), ""); // BSP - add_main_option_entry(OPTION_TYPE_BOOL, "export-page", 'C', N_("Export: Area to export is page."), ""); // BSP + add_main_option_entry(OPTION_TYPE_BOOL, "export-area-drawing", 'D', N_("Export: Area to export is drawing (not page)."), ""); // BSP + add_main_option_entry(OPTION_TYPE_BOOL, "export-area-page", 'C', N_("Export: Area to export is page."), ""); // BSP add_main_option_entry(OPTION_TYPE_INT, "export-margin", '\0', N_("Export: Margin around export area: units of page size for SVG, mm for PS/EPS/PDF."), ""); // xSP add_main_option_entry(OPTION_TYPE_BOOL, "export-area-snap", '\0', N_("Export: Snap the bitmap export area outwards to the nearest integer values."), ""); // Bxx add_main_option_entry(OPTION_TYPE_INT, "export-width", 'w', N_("Export: Bitmap width in pixels (overrides --export-dpi)."), N_("WIDTH")); // Bxx -- cgit v1.2.3