Package | Description |
---|---|
com.qoppa.office |
This package contains the main classes to load and convert MS Word documents.
|
Modifier and Type | Method and Description |
---|---|
WordDocument |
WordDocument.append(byte[] docByteArray)
Convert a Word document from a byte array and append it to this WordDocument object.
|
WordDocument |
WordDocument.append(InputStream inputStream)
Convert a Word document from an InputStream and append it to this WordDocument object.
|
WordDocument |
WordDocument.append(String fileName)
Convert a Word document from a file and append it to this WordDocument object.
|
WordDocument |
WordDocument.append(URL docURL)
Convert a Word document from a URL and append it to this WordDocument object.
|
void |
ExcelDocument.print(PrintOptions options)
Prints this Excel document.
|
void |
WordDocument.print(PrintOptions options)
Prints this Word document.
|
void |
ExcelDocument.print(String printerName,
PrintOptions options)
Prints this Excel document to the specified printer, by name.
|
void |
WordDocument.print(String printerName,
PrintOptions options)
Prints this Word document to the specified printer, by name.
|
void |
ExcelDocument.print(String printerName,
PrintOptions options,
PrintRequestAttributeSet printAttrSet)
Prints this Excel document to the specified printer, by name and passes the attribute set to the printer job.
|
void |
WordDocument.print(String printerName,
PrintOptions options,
PrintRequestAttributeSet printAttrSet)
Prints this Word document to the specified printer, by name and passes the attribute set to the printer job.
|
void |
ExcelDocument.printToDefaultPrinter(PrintOptions options)
Prints the Excel document to the default printer.
|
void |
WordDocument.printToDefaultPrinter(PrintOptions options)
Prints the Word document to the default printer.
|
void |
ExcelDocument.saveDocumentAsTIFF(OutputStream outStream,
TIFFOptions options)
Save the entire document as a multi-page TIFF image the given OutputStream.
|
void |
WordDocument.saveDocumentAsTIFF(OutputStream outStream,
TIFFOptions options)
Save the entire document as a multi-page TIFF image the given OutputStream.
|
void |
ExcelDocument.saveDocumentAsTIFF(String fileName,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to the given String Filename.
|
void |
PowerPointDocument.saveDocumentAsTIFF(String fileName,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to the given String Filename.
|
void |
WordDocument.saveDocumentAsTIFF(String fileName,
TIFFOptions options)
Save the entire document as a multi-page TIFF image to the given String Filename.
|
void |
ExcelDocument.savePageAsGIF(int pageIndex,
OutputStream outStream,
int dpi)
Save the rendered image of the page to the given OutputStream in GIF format.
|
void |
WordDocument.savePageAsGIF(int pageIndex,
OutputStream outStream,
int dpi)
Save the rendered image of the page to the given OutputStream in GIF format.
|
void |
ExcelDocument.savePageAsGIF(int pageIndex,
String fileName,
int dpi)
Save the rendered image of the page to the given String Filename in GIF format.
|
void |
WordDocument.savePageAsGIF(int pageIndex,
String fileName,
int dpi)
Save the rendered image of the page to the given String Filename in GIF format.
|
void |
ExcelDocument.savePageAsJPEG(int pageIndex,
OutputStream outStream,
int resDPI,
float quality)
Save the rendered image of the page to the given OutputStream in JPEG format.
|
void |
WordDocument.savePageAsJPEG(int pageIndex,
OutputStream outStream,
int resDPI,
float quality)
Save the rendered image of the page to the given OutputStream in JPEG format.
|
void |
ExcelDocument.savePageAsJPEG(int pageIndex,
String fileName,
int resDPI,
float quality)
Save the rendered image of the page to the given String Filename in JPEG format.
|
void |
WordDocument.savePageAsJPEG(int pageIndex,
String fileName,
int resDPI,
float quality)
Save the rendered image of the page to the given String Filename in JPEG format.
|
void |
ExcelDocument.savePageAsPNG(int pageIndex,
OutputStream outStream,
int dpi)
Save the rendered image of the page to the given OutputStream in PNG format.
|
void |
WordDocument.savePageAsPNG(int pageIndex,
OutputStream outStream,
int dpi)
Save the rendered image of the page to the given OutputStream in PNG format.
|
void |
ExcelDocument.savePageAsPNG(int pageIndex,
String fileName,
int dpi)
Save the rendered image of the page to the given String Filename in PNG format.
|
void |
WordDocument.savePageAsPNG(int pageIndex,
String fileName,
int dpi)
Save the rendered image of the page to the given String Filename in PNG format.
|
void |
ExcelDocument.savePageAsTIFF(int pageIndex,
OutputStream outStream,
TIFFOptions options)
Render a page to an image and save it in TIFF format.
|
void |
WordDocument.savePageAsTIFF(int pageIndex,
OutputStream outStream,
TIFFOptions options)
Render a page to an image and save it in TIFF format.
|
void |
ExcelDocument.savePageAsTIFF(int pageIndex,
String fileName,
TIFFOptions options)
Render a page to an image and save it in TIFF format.
|
void |
WordDocument.savePageAsTIFF(int pageIndex,
String fileName,
TIFFOptions options)
Render a page to an image and save it in TIFF format.
|
Constructor and Description |
---|
ExcelDocument(byte[] byteArray)
Load an Excel file from a byte array.
|
ExcelDocument(byte[] byteArray,
ExcelConvertOptions opts)
Load an Excel file from a byte array.
|
ExcelDocument(InputStream inputStream)
Load an Excel document from an input stream.
|
ExcelDocument(InputStream inputStream,
ExcelConvertOptions opts)
Load an Excel document from an input stream.
|
ExcelDocument(String filePath)
Load an Excel document from a file.
|
ExcelDocument(String filePath,
ExcelConvertOptions opts)
Load an Excel document from a file - with convert options
|
ExcelDocument(URL url)
Load an Excel file from a URL.
|
ExcelDocument(URL url,
ExcelConvertOptions opts)
Load an Excel file from a URL.
|
PowerPointDocument(InputStream inputStream,
PowerPointConvertOptions opts)
Load a PowerPoint document from a stream - with convert options.
|
PowerPointDocument(String filePath,
PowerPointConvertOptions opts)
Load a PowerPoint document from a file - with convert options.
|
WordDocument(byte[] docByteArray)
Load a Word file from a byte array.
|
WordDocument(byte[] docByteArray,
WordConvertOptions opts)
Load a Word file from a byte array.
|
WordDocument(InputStream docFileStream)
Load a Word document from an input stream.
|
WordDocument(InputStream docFileStream,
WordConvertOptions opts)
Load a Word document from an input stream.
|
WordDocument(String filePath)
Load a Word document from a file.
|
WordDocument(String filePath,
WordConvertOptions opts)
Load a Word document from a file - with convert options
|
WordDocument(URL docURL)
Load a Word file from a URL.
|
WordDocument(URL docURL,
WordConvertOptions opts)
Load a Word file from a URL.
|