Class MSExcelNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.msoffice.MSExcelNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MSExcelNode.EmptyWorkbookHandlingMode
The mode how empty excel files should be handled.-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description MSExcelNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MSExcelNode.EmptyWorkbookHandlingMode
getEmptyWorkbookHandlingMode()
PageRange
getExportRange()
String
getFilename()
String
getPassword()
String
getReplacementPageStyleSheetLocation()
String
getTargetMimeType()
String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.void
setEmptyWorkbookHandlingMode(MSExcelNode.EmptyWorkbookHandlingMode emptyWorkbookHandlingMode)
Set the empty workbook handling mode for conversions.void
setExportRange(PageRange exportRange)
Set the range of pages to export/convert.void
setFilename(String filename)
Set the fallback filename.void
setPassword(String password)
Set document passwordvoid
setReplacementPageStyleSheetLocation(String replacementPageStyleSheetLocation)
Set the replacement style sheet location on the server side.void
setTargetMimeType(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:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full 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:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
getPassword
public String getPassword()
- Returns:
- current document password.
-
setPassword
public void setPassword(String password)
Set document password- Parameters:
password
- the document password
-
getTargetMimeType
public String getTargetMimeType()
-
setTargetMimeType
public void setTargetMimeType(String targetMimeType)
Set the target MIME type.
Default value: application/pdf- Parameters:
targetMimeType
- the targetMimeType to set
-
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 theStreamDescriptor
.Default value:
worksheet.xls
- 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()
-
getReplacementPageStyleSheetLocation
public String getReplacementPageStyleSheetLocation()
-
setReplacementPageStyleSheetLocation
public void setReplacementPageStyleSheetLocation(String replacementPageStyleSheetLocation)
Set the replacement style sheet location on the server side. E.g. "resource:/ms-office/emptyExcelReplacementStylesheet.xsl"- Parameters:
replacementPageStyleSheetLocation
- the replacement style sheet location on the server side.- Since:
- jadice server 5.7.2.0
-
getEmptyWorkbookHandlingMode
public MSExcelNode.EmptyWorkbookHandlingMode getEmptyWorkbookHandlingMode()
-
setEmptyWorkbookHandlingMode
public void setEmptyWorkbookHandlingMode(MSExcelNode.EmptyWorkbookHandlingMode emptyWorkbookHandlingMode)
Set the empty workbook handling mode for conversions.- Parameters:
emptyWorkbookHandlingMode
- the empty workbook handling mode.
-
-