Commit 8a172e97 authored by Thomas Holder's avatar Thomas Holder

revert `export-pdf-level` to `export-pdf-version`

Was changed in 408cb49b
parent 22b30cec
Pipeline #65932826 passed with stages
in 116 minutes and 20 seconds
......@@ -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));
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment