Change the version to PDF 1.4, if the user don't provide one. Something like this:
if((*i)->get_param_enum_contains("PDFversion", sp_export_pdf_version)) (*i)->set_param_enum(param_name, sp_export_pdf_version);
else { g_warning("Desired PDF export version \"%s\" not supported! Hint: input the exact string found in pdf export dialog in the command line.", sp_export_pdf_version); (*i)->set_param_enum(param_name, "PDF 1.4");
}
@schwieni:
Change the version to PDF 1.4, if the user don't provide one. Something like this:
if( (*i)->get_ param_enum_ contains( "PDFversion" , sp_export_ pdf_version) )
(*i)-> set_param_ enum(param_ name, sp_export_ pdf_version) ;
g_warning( "Desired PDF export version \"%s\" not supported! Hint: input the exact string found in pdf export dialog in the command line.", sp_export_ pdf_version) ;
(*i)-> set_param_ enum(param_ name, "PDF 1.4");
else {
}