Expose method for setting poppler-data location in C++ frontend
The R bindings are exclusively using the C++ frontend, except for the part below where we need to set the location of the poppler-data files (which we ship with the application):
#include <GlobalParams.h>
void find_poppler_data(){
static bool initiated = false;
if (!initiated && strlen(poppler_data)){
globalParams = new GlobalParams(poppler_data);
initiated = true;
}
}
It would be great if this can be exposed in the C++ API so we don't need the legacy API.