Class EmbedAttachmentsNode


  • public class EmbedAttachmentsNode
    extends Node
    This node embeds streams as attachments into a given PDF documents.

    In order to work correctly the PDF into which the streams shall be embedded must be provided as first stream.

    Since:
    jadice server 5.5.0.0
    • Field Detail

      • DEFAULT_FALLBACK_FILENAME

        public static final String DEFAULT_FALLBACK_FILENAME
        The default value that is used if a stream to be embedded has no file name
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmbedAttachmentsNode

        public EmbedAttachmentsNode()
    • Method Detail

      • getFallbackFilename

        public String getFallbackFilename()
        Returns:
        the value that shall be used if a stream to be embedded has no file name in its StreamDescriptor
      • setFallbackFilename

        public void setFallbackFilename​(String fallbackFilename)
      • setMissingAttachmentsHandlingMode

        public void setMissingAttachmentsHandlingMode​(EmbedAttachmentsNode.MissingAttachmentsHandlingMode missingAttachmentsHandlingMode)
        Set the attribute that determines which action shall be performed when there is no stream available that can be embedded.
        Parameters:
        missingAttachmentsHandlingMode - action that shall be performed when there is no stream available that can be embedded.