how to change the contents in text file to ppt file with bullets ...
My code for wat i tried to shift the contents to ppt from java is:
import java.io.*;
import java.util.*;
class Filereader
{
public static void main(String args[])throws Exception{
FileReader fr = new FileReader("E:\backup_javaprog\file.java");
BufferedReader br=new BufferedReader(fr);
SlideShow ppt = new SlideShow();
Slide s1 = ppt.createSlide();
FileOutputStream out = new FileOutputStream("slideshow.ppt");
ppt.write(br);
fr.close();
// out.close();
}
}
And am getting the error as:
D:\program files\Java\jdk1.5.0\bin>javac Filereader.java
Filereader.java:8: cannot find symbol
symbol : class SlideShow
location: class Filereader
SlideShow ppt = new SlideShow();
^
Filereader.java:8: cannot find symbol
symbol : class SlideShow
location: class Filereader
SlideShow ppt = new SlideShow();
^
Filereader.java:9: cannot find symbol
symbol : class Slide
location: class Filereader
Slide s1 = ppt.createSlide();
^
3 errors
Locate the error so tat i can try it out...