Hi dear Rupanu Ranjaneswar
u can use this piece of code also if required
by dude have a nice day
import java.io.*;
import org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor;
public class ppt1{
public ppt1(){
}
public static void main(String[] args){
try{
FileInputStream in = new FileInputStream("C:\\Log4J.ppt");
String str;
org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor ppe = new
org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor(in);
str=ppe. getTextAsString();
System.out.println(str);
FileWriter fw=new FileWriter("C:\\log4jjkda.txt");
fw.write(str);
fw.close();
ppe.close();
}
catch (Throwable t){
t.printStackTrace();
}
}
}