public class PDFConverter extends AbstractRemoteConverter
| Modifier and Type | Field and Description |
|---|---|
static int |
OPTION_AUTOROTATEPAGES_ALL |
static int |
OPTION_AUTOROTATEPAGES_NONE |
static int |
OPTION_AUTOROTATEPAGES_OFF |
static int |
OPTION_AUTOROTATEPAGES_PAGEBYPAGE |
static int |
OPTION_PDFSETTINGS_DEFAULT |
static int |
OPTION_PDFSETTINGS_EBOOK |
static int |
OPTION_PDFSETTINGS_PREPRESS |
static int |
OPTION_PDFSETTINGS_PRINTER |
static int |
OPTION_PDFSETTINGS_SCREEN |
static int |
OPTION_PROCESSCOLORMODEL_CMYK |
static int |
OPTION_PROCESSCOLORMODEL_GRAY |
static int |
OPTION_PROCESSCOLORMODEL_RGB |
maxProcessCount, processCountsupportedDocumentClasses| Constructor and Description |
|---|
PDFConverter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAutoRotatePages() |
String |
getCompatibilityLevel() |
PaperSize |
getPaperSize() |
int |
getPDFSettings() |
int |
getProcessColorModel() |
boolean |
isPDFX() |
static void |
main(String[] args)
Main method used to start the converter in standalone 'slave mode'.
|
void |
run(Document document,
OutputStream outputStream)
Run method called to perform the actual process of the converter.
|
void |
setAutoRotatePages(int autoRotatePages) |
void |
setCompatibilityLevel(String compatibilityLevel) |
void |
setPaperSize(PaperSize paperSize) |
void |
setPaperSize(String paperSizeName) |
void |
setPDFSettings(int PDFSettings) |
void |
setPDFX(boolean PDFX) |
void |
setProcessColorModel(int processColorModel) |
convert, remoteConvert, startRemoteConverterbuildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcessassertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMaxProcessCountcopySettings, extractSettingspublic static final int OPTION_AUTOROTATEPAGES_NONE
public static final int OPTION_AUTOROTATEPAGES_ALL
public static final int OPTION_AUTOROTATEPAGES_PAGEBYPAGE
public static final int OPTION_AUTOROTATEPAGES_OFF
public static final int OPTION_PROCESSCOLORMODEL_RGB
public static final int OPTION_PROCESSCOLORMODEL_GRAY
public static final int OPTION_PROCESSCOLORMODEL_CMYK
public static final int OPTION_PDFSETTINGS_DEFAULT
public static final int OPTION_PDFSETTINGS_SCREEN
public static final int OPTION_PDFSETTINGS_EBOOK
public static final int OPTION_PDFSETTINGS_PRINTER
public static final int OPTION_PDFSETTINGS_PREPRESS
public static void main(String[] args) throws ConverterException
args - ConverterExceptionpublic void run(Document document, OutputStream outputStream) throws IOException, ConverterException, DocumentException
run in class AbstractRemoteConverterdocument - outputStream - IOExceptionConverterExceptionDocumentExceptionpublic int getAutoRotatePages()
public void setAutoRotatePages(int autoRotatePages)
public int getProcessColorModel()
public void setProcessColorModel(int processColorModel)
public String getCompatibilityLevel()
public void setCompatibilityLevel(String compatibilityLevel)
public int getPDFSettings()
public void setPDFSettings(int PDFSettings)
public boolean isPDFX()
public void setPDFX(boolean PDFX)
public PaperSize getPaperSize()
public void setPaperSize(PaperSize paperSize)
public void setPaperSize(String paperSizeName)
Copyright © 2016. All Rights Reserved.