Modifier and Type | Class and Description |
---|---|
static class |
MSWordNode.WdOpenFormat
Specifies which file converter MS Word will use to open the document.
The enum constant names and their javadoc descriptions are as defined in the MS Word COM interface and the MSDN library. |
Node.Cardinality
Constructor and Description |
---|
MSWordNode() |
Modifier and Type | Method and Description |
---|---|
PageRange |
getExportRange() |
String |
getFilename() |
MSWordNode.WdOpenFormat |
getOpenFormat() |
String |
getPassword() |
String |
getTargetMimeType() |
String |
getWorkerClassName()
Return the node's associated
NodeWorker full qualified class's
name. |
boolean |
isExportWithMarkup() |
void |
setExportRange(PageRange exportRange)
Set the range of pages to export/convert.
|
void |
setExportWithMarkup(boolean exportMarkup)
Switch if MS Word shall export the document with or without markup.
|
void |
setFilename(String filename)
Set the fallback filename.
|
void |
setOpenFormat(MSWordNode.WdOpenFormat openFormat)
Set the format which converter will be used to open the document.
(Default: MSWordNode.WdOpenFormat.WD_OPEN_FORMAT_AUTO ) |
void |
setPassword(String password)
Set document password.
(Default value: node ) |
void |
setTargetMimeType(String mimeType)
Set the requested MIME type of the conversion result.
(Default: application/pdf ) |
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
public String getWorkerClassName()
Node
Return the node's associated
NodeWorker
full qualified class's
name. By default, the worker class name is
This behavior can be overridden in concrete subclasses.
getWorkerClassName
in class Node
public String getPassword()
public void setPassword(String password)
node
)password
- public String getTargetMimeType()
public void setTargetMimeType(String mimeType)
application/pdf
)mimeType
- public void setOpenFormat(MSWordNode.WdOpenFormat openFormat)
MSWordNode.WdOpenFormat.WD_OPEN_FORMAT_AUTO
)openFormat
- the openFormat to setpublic MSWordNode.WdOpenFormat getOpenFormat()
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: word.doc
filename
- public String getFilename()
public void setExportRange(PageRange exportRange)
exportRange
- range of pages (default: PageRange.ALL_PAGES
)public PageRange getExportRange()
public void setExportWithMarkup(boolean exportMarkup)
false
)exportMarkup
- markup with be exported iff set to true
.public boolean isExportWithMarkup()
Copyright © 2017 levigo holding gmbh. All rights reserved.