Class GhostscriptNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.ghostscript.GhostscriptNode
-
public class GhostscriptNode extends Node
This node uses Ghostscript for a conversion. As most parameters are directly forwarded to the command line utility, see ghostscript's documentation (gs --help
) for their respective semantic.- Since:
- jadice server version 4.2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GhostscriptNode.OutputMode
Enum controlling how output data streams are generated.static class
GhostscriptNode.PaperSize
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description GhostscriptNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillOptions(List<String> options)
Store the Ghostscript options into the given option list.List<String>
getAdditionalOptions()
int
getDeviceHeight()
int
getDeviceWidth()
int
getFirstPage()
int
getLastPage()
OutputDevice
getOutputDevice()
GhostscriptNode.OutputMode
getOutputMode()
String
getPdfPassword()
boolean
isEpsCrop()
boolean
isEpsFitPage()
boolean
isFixedmedia()
boolean
isPdfFitPage()
boolean
isPrinted()
boolean
isShowAcroForm()
boolean
isShowAnnots()
boolean
isUseCIEColor()
boolean
isUseCropBox()
void
setAdditionalOptions(List<String> additionalOptions)
void
setDeviceHeight(int deviceHeight)
void
setDeviceWidth(int deviceWidth)
void
setEpsCrop(boolean epsCrop)
void
setEpsFitPage(boolean epsFitPage)
void
setFirstPage(int firstPage)
void
setFixedmedia(boolean fixedmedia)
void
setLastPage(int lastPage)
void
setOutputDevice(OutputDevice outputDevice)
void
setOutputMode(GhostscriptNode.OutputMode outputMode)
void
setPdfFitPage(boolean pdfFitPage)
void
setPdfPassword(String pdfPassword)
void
setPrinted(boolean printed)
void
setShowAcroForm(boolean showAcroForm)
void
setShowAnnots(boolean showAnnots)
void
setUseCIEColor(boolean useCIEColor)
void
setUseCropBox(boolean useCropBox)
-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, getWorkerClassName, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getOutputDevice
public OutputDevice getOutputDevice()
-
setOutputDevice
public void setOutputDevice(OutputDevice outputDevice)
-
setOutputMode
public void setOutputMode(GhostscriptNode.OutputMode outputMode)
-
getOutputMode
public GhostscriptNode.OutputMode getOutputMode()
-
getDeviceWidth
public int getDeviceWidth()
-
setDeviceWidth
public void setDeviceWidth(int deviceWidth)
-
getDeviceHeight
public int getDeviceHeight()
-
setDeviceHeight
public void setDeviceHeight(int deviceHeight)
-
getFirstPage
public int getFirstPage()
-
setFirstPage
public void setFirstPage(int firstPage)
-
getLastPage
public int getLastPage()
-
setLastPage
public void setLastPage(int lastPage)
-
isPdfFitPage
public boolean isPdfFitPage()
-
setPdfFitPage
public void setPdfFitPage(boolean pdfFitPage)
-
isPrinted
public boolean isPrinted()
-
setPrinted
public void setPrinted(boolean printed)
-
isUseCropBox
public boolean isUseCropBox()
-
setUseCropBox
public void setUseCropBox(boolean useCropBox)
-
getPdfPassword
public String getPdfPassword()
-
setPdfPassword
public void setPdfPassword(String pdfPassword)
-
isShowAnnots
public boolean isShowAnnots()
-
setShowAnnots
public void setShowAnnots(boolean showAnnots)
-
isShowAcroForm
public boolean isShowAcroForm()
-
setShowAcroForm
public void setShowAcroForm(boolean showAcroForm)
-
isFixedmedia
public boolean isFixedmedia()
-
setFixedmedia
public void setFixedmedia(boolean fixedmedia)
-
isEpsCrop
public boolean isEpsCrop()
-
setEpsCrop
public void setEpsCrop(boolean epsCrop)
-
isEpsFitPage
public boolean isEpsFitPage()
-
setEpsFitPage
public void setEpsFitPage(boolean epsFitPage)
-
isUseCIEColor
public boolean isUseCIEColor()
-
setUseCIEColor
public void setUseCIEColor(boolean useCIEColor)
-
-