com.spire.pdf.conversion
Class PdfToWordConverter

java.lang.Object
  extended by com.spire.pdf.conversion.PdfToWordConverter

public class PdfToWordConverter
extends java.lang.Object

This class provides support for converting a pdf document to a word document. This feature is incomplete currently and only supports paragraphs and tables, but will be improved in the future.


Constructor Summary
PdfToWordConverter(java.io.InputStream stream)
          Construct a new converter.
PdfToWordConverter(java.lang.String filePath)
          Construct a new converter.
 
Method Summary
 void dispose()
          Releases all resources used.
 void saveToDocx(java.io.OutputStream stream)
          Convert to word document,the extension is docx
 void saveToDocx(java.lang.String outfile)
          Convert to word document,the extension is docx
 

Constructor Detail

PdfToWordConverter

public PdfToWordConverter(java.lang.String filePath)
Construct a new converter.

Parameters:
filePath -

PdfToWordConverter

public PdfToWordConverter(java.io.InputStream stream)
Construct a new converter.

Parameters:
stream -
Method Detail

saveToDocx

public void saveToDocx(java.io.OutputStream stream)
Convert to word document,the extension is docx

Parameters:
stream -

saveToDocx

public void saveToDocx(java.lang.String outfile)
Convert to word document,the extension is docx

Parameters:
outfile -

dispose

public void dispose()
Releases all resources used.