com.aspose.cad.jasperreports.pdf

Class ASPdfExportParametersBean

  • All Implemented Interfaces:
    com.jaspersoft.jasperserver.api.engine.jasperreports.common.ExportParameters, Serializable


    public class ASPdfExportParametersBean
    extends BaseExportParameters

    The PDF file format export parameters.

    See Also:
    Serialized Form
    • Constructor Detail

      • ASPdfExportParametersBean

        public ASPdfExportParametersBean()
        Instantiates a new Pdf export parameters.
    • Method Detail

      • getPdfCompliance

        public PdfComplianceEnum getPdfCompliance()

        Desired conformance level for generated PDF document. Important note: This option should not be changed after PdfDocument object is constructed. Default is PdfComplianceEnum.Pdf15.

      • setPdfCompliance

        public void setPdfCompliance(PdfComplianceEnum pdfCompliance)

        Desired conformance level for generated PDF document. Important note: This option should not be changed after PdfDocument object is constructed. Default is PdfComplianceEnum.Pdf15.

      • getTextCompression

        public TextCompressionEnum getTextCompression()

        Specifies compression type to be used for all content streams except images. Default is TextCompressionEnum.Flate.

      • setTextCompression

        public void setTextCompression(TextCompressionEnum textCompression)

        Specifies compression type to be used for all content streams except images. Default is TextCompressionEnum.Flate.

      • getApplyImageTransparent

        public boolean getApplyImageTransparent()

        Applies the specified transparent color to an image if true.

      • setApplyImageTransparent

        public void setApplyImageTransparent(boolean applyImageTransparent)

        Applies the specified transparent color to an image if true.

      • getImageCompression

        public ImageCompressionEnum getImageCompression()

        Specifies compression type to be used for all images in the document. Default is ImageCompressionEnum.Auto.

      • setImageCompression

        public void setImageCompression(ImageCompressionEnum imageCompression)

        Specifies compression type to be used for all images in the document. Default is ImageCompressionEnum.Auto.

      • getTabSize

        public long getTabSize()

        The tab-size property is used to customize the width of a tab (U+0009) character.

        Value: The size of the tab.
      • setTabSize

        public void setTabSize(long tabSize)

        The tab-size property is used to customize the width of a tab (U+0009) character.

        Value: The size of the tab.
      • getBookmarksOutlineLevel

        public int getBookmarksOutlineLevel()

        Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

      • setBookmarksOutlineLevel

        public void setBookmarksOutlineLevel(int bookmarksOutlineLevel)

        Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

      • getExpandedOutlineLevels

        public int getExpandedOutlineLevels()

        Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

      • setExpandedOutlineLevels

        public void setExpandedOutlineLevels(int expandedOutlineLevels)

        Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

      • getFontEmbeddingRuleEnum

        public FontEmbeddingRuleEnum getFontEmbeddingRuleEnum()

        Gets or sets the font embedding rule.

        Value: The font embedding rule.
      • setFontEmbeddingRuleEnum

        public void setFontEmbeddingRuleEnum(FontEmbeddingRuleEnum fontEmbeddingRuleEnum)

        Gets or sets the font embedding rule.

        Value: The font embedding rule.
      • getRenderMetafileAsBitmap

        public Boolean getRenderMetafileAsBitmap()

        Gets or sets a value determining how metafile images should be rendered.

      • setRenderMetafileAsBitmap

        public void setRenderMetafileAsBitmap(Boolean renderMetafileAsBitmap)

        Gets or sets a value determining how metafile images should be rendered.

      • getHeadingsOutlineLevels

        public int getHeadingsOutlineLevels()

        Specifies how many levels of outline item to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

      • setHeadingsOutlineLevels

        public void setHeadingsOutlineLevels(int headingsOutlineLevels)

        Specifies how many levels of outline item to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

      • getImageTransparentColor

        public Color getImageTransparentColor()

        Gets or sets the image transparent color.

        Value: The color of the image transparent.
      • setImageTransparentColor

        public void setImageTransparentColor(Color imageTransparentColor)

        Gets or sets the image transparent color.

        Value: The color of the image transparent.
      • getEncryptionDetails

        public EncryptionDetails getEncryptionDetails()

        Gets or sets a encryption details. If not set, then no encryption will be performed.

      • setEncryptionDetails

        public void setEncryptionDetails(EncryptionDetails encryptionDetails)

        Gets or sets a encryption details. If not set, then no encryption will be performed.

      • getKeywords

        public String getKeywords()

        Gets keywords of the document.

        Returns:
        The keywords of the document.
      • setKeywords

        public void setKeywords(String value)

        Sets keywords of the document.

        Parameters:
        value - The keywords of the document.
      • getTitle

        public String getTitle()

        Gets title of the document.

        Returns:
        The title of the document.
      • setTitle

        public void setTitle(String value)

        Sets title of the document.

        Parameters:
        value - The title of the document.
      • getAuthor

        public String getAuthor()

        Gets author of the document.

        Returns:
        The author of the document.
      • setAuthor

        public void setAuthor(String value)

        Sets author of the document.

        Parameters:
        value - The author of the document.
      • getSubject

        public String getSubject()

        Gets subject of the document.

        Returns:
        The subject of the document.
      • setSubject

        public void setSubject(String value)

        Gets or sets subject of the document.

        Parameters:
        value - The subject of the document.
      • getJpegQuality

        public int getJpegQuality()

        Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

      • setJpegQuality

        public void setJpegQuality(int value)

        Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

      • setPropertyValues

        public void setPropertyValues(Object object)
        Specified by:
        setPropertyValues in interface com.jaspersoft.jasperserver.api.engine.jasperreports.common.ExportParameters
        Overrides:
        setPropertyValues in class BaseExportParameters