public class PdfPipe extends FixedForwardPipe
Modifier and Type | Class and Description |
---|---|
protected static class |
PdfPipe.DocumentAction |
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
PdfPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message input,
PipeLineSession session)
This is where the action takes place.
|
void |
setAction(PdfPipe.DocumentAction action) |
void |
setCharset(String charset)
charset to be used to decode the given input message in case the input is not binary but character stream
|
void |
setFilenameToAttachSessionKey(String filenameToAttachSessionKey)
session key that contains the filename to be attached.
|
void |
setFileNameToAttachSessionKey(String fileNameToAttachSessionKey)
Deprecated.
|
void |
setFontsDirectory(String fontsDirectory)
fonts folder to load the fonts.
|
void |
setLicense(String license)
aspose license location including the file name.
|
void |
setLoadExternalResources(boolean loadExternalResources)
when set to true, external resources, such as stylesheets and images found in HTML pages, will be loaded from the internet
|
void |
setMainDocumentSessionKey(String mainDocumentSessionKey)
session key that contains the document that the attachments will be attached to.
|
void |
setPdfOutputLocation(String pdfOutputLocation)
directory to save resulting pdf files after conversion.
|
void |
setSaveSeparate(boolean saveSeparate)
when sets to false, converts the file including the attachments attached to the main file.
|
void |
setUnpackCommonFontsArchive(boolean unpackDefaultFonts) |
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class FixedForwardPipe
ConfigurationException
public PipeRunResult doPipe(Message input, PipeLineSession session) throws PipeRunException
AbstractPipe
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
public void setAction(PdfPipe.DocumentAction action)
public void setMainDocumentSessionKey(String mainDocumentSessionKey)
@Deprecated @ConfigurationWarning(value="attribute \'fileNameToAttachSessionKey\' is replaced with \'filenameToAttachSessionKey\'") public void setFileNameToAttachSessionKey(String fileNameToAttachSessionKey)
public void setFilenameToAttachSessionKey(String filenameToAttachSessionKey)
public void setFontsDirectory(String fontsDirectory)
public void setUnpackCommonFontsArchive(boolean unpackDefaultFonts)
public void setCharset(String charset)
public void setLicense(String license)
public void setSaveSeparate(boolean saveSeparate)
public void setPdfOutputLocation(String pdfOutputLocation)
public void setLoadExternalResources(boolean loadExternalResources)
Copyright © 2023 Frank!Framework. All rights reserved.