use a modified version of xlhtml for ppt files

This commit is contained in:
SJ
2012-10-01 14:10:56 +02:00
parent 4fe041d552
commit ab29175975
4 changed files with 25 additions and 0 deletions

View File

@ -190,6 +190,10 @@ void extract_attachment_content(struct session_data *sdata, struct _state *state
if(strcmp(type, "xls") == 0) snprintf(cmd, sizeof(cmd)-1, "%s -d utf-8 %s", HAVE_XLS2CSV, filename);
#endif
#ifdef HAVE_PPTHTML
if(strcmp(type, "ppt") == 0) snprintf(cmd, sizeof(cmd)-1, "%s %s", HAVE_PPTHTML, filename);
#endif
#ifdef HAVE_UNRTF
if(strcmp(type, "rtf") == 0) snprintf(cmd, sizeof(cmd)-1, "%s --text %s", HAVE_UNRTF, filename);
#endif