Class MSPowerpointNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.msoffice.MSPowerpointNode
-
public class MSPowerpointNode extends Node
This
Nodeuses Microsoft Office PowerPoint to convert a presentation file with a virtual printer or by native file export (only MS Office 2007 and above).For further configuration details, have a look at the file
server-config/ms-office/export-configuration.xml- Since:
- jadice server 4.2.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description MSPowerpointNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageRangegetExportRange()StringgetFilename()StringgetTargetMimeType()StringgetWorkerClassName()Return the node's associatedcom.levigo.jadice.server.core.NodeWorkerfull qualified class's name.voidsetExportRange(PageRange exportRange)Set the range of pages to export/convert.voidsetFilename(String filename)Set the fallback filename.voidsetTargetMimeType(String targetMimeType)Set the target MIME type.
Default value:application/pdf-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:NodeReturn the node's associatedcom.levigo.jadice.server.core.NodeWorkerfull qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassNamein classNode- Returns:
- the full qualified class name of the worker of this node.
-
setTargetMimeType
public void setTargetMimeType(String targetMimeType)
Set the target MIME type.
Default value:application/pdf- Parameters:
targetMimeType- the targetMimeType to set
-
getTargetMimeType
public String getTargetMimeType()
- Returns:
- the targetMimeType
-
setFilename
public void setFilename(String filename)
Set the fallback filename. This value will be used to generate a temporary file when no filename is provided in the
StreamDescriptor.Default value:
presentation.ppt- Parameters:
filename- fallback filename
-
getFilename
public String getFilename()
-
setExportRange
public void setExportRange(PageRange exportRange)
Set the range of pages to export/convert. It must be ensured on client side that this range of pages is valid, else an error might occur and the job might fail.- Parameters:
exportRange- range of pages (default:PageRange.ALL_PAGES)- Since:
- jadice server 4.3.1.1
-
getExportRange
public PageRange getExportRange()
-
-