diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-06-12 08:36:03 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-06-12 19:09:48 +0000 |
| commit | 8a172e97246fd6ca5f62fb568e28d0c0af0372d3 (patch) | |
| tree | 84ebf4b7972df09b76eb65d470ec416157ce31f3 /src | |
| parent | revert `--without-gui` shortcut to `-z` (diff) | |
| download | inkscape-8a172e97246fd6ca5f62fb568e28d0c0af0372d3.tar.gz inkscape-8a172e97246fd6ca5f62fb568e28d0c0af0372d3.zip | |
revert `export-pdf-level` to `export-pdf-version`
Was changed in 408cb49b5559
Diffstat (limited to 'src')
| -rw-r--r-- | src/actions/actions-output.cpp | 2 | ||||
| -rw-r--r-- | src/inkscape-application.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/actions/actions-output.cpp b/src/actions/actions-output.cpp index 96523f624..0c17ab1e2 100644 --- a/src/actions/actions-output.cpp +++ b/src/actions/actions-output.cpp @@ -243,7 +243,7 @@ add_actions_output(ConcreteInkscapeApplication<T>* app) app->add_action_with_parameter( "export-ignore-filters", Bool, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_plain_svg), app)); app->add_action_with_parameter( "export-text-to-path", Bool, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_text_to_path), app)); app->add_action_with_parameter( "export-ps-level", Int, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_ps_level), app)); - app->add_action_with_parameter( "export-pdf-level", String, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_pdf_level), app)); + app->add_action_with_parameter( "export-pdf-version", String, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_pdf_level), app)); app->add_action_with_parameter( "export-latex", Bool, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_latex), app)); app->add_action_with_parameter( "export-use-hints", Bool, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_use_hints), app)); app->add_action_with_parameter( "export-background", String, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&export_background), app)); diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index bce7beb26..6ea03779f 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -537,7 +537,7 @@ ConcreteInkscapeApplication<T>::ConcreteInkscapeApplication() this->add_main_option_entry(T::OPTION_TYPE_BOOL, "export-ignore-filters", '\0', N_("Export: Render objects without filters instead of rasterizing. (PS/EPS/PDF)"), ""); // xxP this->add_main_option_entry(T::OPTION_TYPE_BOOL, "export-text-to-path", 'T', N_("Export: Convert text to paths. (PS/EPS/PDF/SVG)."), ""); // xxP this->add_main_option_entry(T::OPTION_TYPE_INT, "export-ps-level", '\0', N_("Export: Postscript level (2 or 3). Default is 3."), N_("PS-Level")); // xxP - this->add_main_option_entry(T::OPTION_TYPE_STRING, "export-pdf-level", '\0', N_("Export: PDF level (1.4 or 1.5)"), N_("PDF-Level")); // xxP + this->add_main_option_entry(T::OPTION_TYPE_STRING, "export-pdf-version", '\0', N_("Export: PDF version (1.4 or 1.5)"), N_("PDF-VERSION")); // xxP this->add_main_option_entry(T::OPTION_TYPE_BOOL, "export-latex", '\0', N_("Export: Export text separately to LaTeX file (PS/EPS/PDF). Include via \\input{file.tex}"), ""); // xxP this->add_main_option_entry(T::OPTION_TYPE_BOOL, "export-use-hints", 't', N_("Export: Use stored filename and DPI hints when exporting object selected by --export-id."), ""); // Bxx this->add_main_option_entry(T::OPTION_TYPE_STRING, "export-background", 'b', N_("Export: Background color for exported bitmaps (any SVG color string)."), N_("COLOR")); // Bxx @@ -1289,8 +1289,8 @@ ConcreteInkscapeApplication<T>::on_handle_local_options(const Glib::RefPtr<Glib: options->lookup_value("export-ps-level", _file_export.export_ps_level); } - if (options->contains("export-pdf-level")) { - options->lookup_value("export-pdf-level", _file_export.export_pdf_level); + if (options->contains("export-pdf-version")) { + options->lookup_value("export-pdf-version", _file_export.export_pdf_level); } if (options->contains("export-latex")) _file_export.export_latex = true; |
