pub(crate) fn export_pdf_impl( title: String, headers: Vec<String>, rows: Vec<Vec<String>>, file_path: String, ) -> Result<(), String>