|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.conversion.OfdConverter
public class OfdConverter
This class provides support for converting ofd into pdf or image.
| Constructor Summary | |
|---|---|
OfdConverter(java.io.InputStream fileStream)
Initializes a new instance of the class. |
|
OfdConverter(java.lang.String filename)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
void |
dispose()
Releases all resources used. |
int |
getPageCount()
Gets the document page count. |
void |
toPdf(java.io.OutputStream stream)
Saves OFD document to PDF. |
void |
toPdf(java.lang.String filename)
Saves OFD document to PDF. |
| Constructor Detail |
|---|
public OfdConverter(java.lang.String filename)
filename - The path to source pdf file.public OfdConverter(java.io.InputStream fileStream)
fileStream - The ofd file stream.| Method Detail |
|---|
public int getPageCount()
public void toPdf(java.lang.String filename)
filename - A relative or absolute path for the file.public void toPdf(java.io.OutputStream stream)
stream - The pdf file stream.public void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||