Methods Summary |
---|
public void | closeBody()
_out.write ("</body>\r\n");
|
public void | closeDocument()
_out.write ("</document>\r\n");
|
public void | closeParagraph()
_out.write ("</p>");
|
public void | closeSection()
_out.write ("</section>");
|
public void | closeSource()
_out.write ("]]></source>");
|
public void | closeTitle()
_out.write ("</title>");
|
public void | init()
_out.write ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n");
_out.write ("<!DOCTYPE document PUBLIC \"-//APACHE//DTD Documentation V1.1//EN\" \"./dtd/document-v11.dtd\">\r\n");
|
public static void | main(java.lang.String[] args)
try
{
OutputStream out = new FileOutputStream("c:\\test.xml");
new Word2Forrest(new HWPFDocument(new FileInputStream(args[0])), out);
out.close();
}
catch (Throwable t)
{
t.printStackTrace();
}
|
public void | openBody()
_out.write ("<body>\r\n");
|
public void | openDocument()
_out.write ("<document>\r\n");
|
public void | openParagraph()
_out.write ("<p>");
|
public void | openSection()
_out.write ("<section>");
|
public void | openSource()
_out.write ("<source><![CDATA[");
|
public void | openTitle()
_out.write ("<title>");
|
public void | writePlainText(java.lang.String text)
_out.write (text);
|