com.aspose.cad.jasperreports.pdf

Class ASPdfExportConfigurationImpl

    • Constructor Detail

      • ASPdfExportConfigurationImpl

        public ASPdfExportConfigurationImpl()
    • 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.

      • setTextCompression

        public void setTextCompression(TextCompressionEnum textCompression)

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

      • setApplyImageTransparent

        public void setApplyImageTransparent(boolean applyImageTransparent)

        Applies the specified transparent color to an image if true.

      • 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.
        Specified by:
        getTabSize in interface ASPdfExportConfiguration
      • 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.

        Specified by:
        getBookmarksOutlineLevel in interface ASPdfExportConfiguration
      • 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.

        Specified by:
        getExpandedOutlineLevels in interface ASPdfExportConfiguration
      • 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.

      • setFontEmbeddingRuleEnum

        public void setFontEmbeddingRuleEnum(FontEmbeddingRuleEnum fontEmbeddingRuleEnum)

        Gets or sets the font embedding rule.

        Value: The font embedding rule.
      • 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.

        Specified by:
        getHeadingsOutlineLevels in interface ASPdfExportConfiguration
      • 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.

      • setImageTransparentColor

        public void setImageTransparentColor(Color imageTransparentColor)

        Gets or sets the image transparent color.

        Value: The color of the image transparent.
      • setEncryptionDetails

        public void setEncryptionDetails(EncryptionDetails encryptionDetails)

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

      • setKeywords

        public void setKeywords(String value)

        Sets keywords of the document.

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

        public void setTitle(String value)

        Sets title of the document.

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

        public void setAuthor(String value)

        Sets author of the document.

        Parameters:
        value - The author 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.

        Specified by:
        getJpegQuality in interface ASPdfExportConfiguration
      • setJpegQuality

        public void setJpegQuality(int value)

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