com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class UnifiedSaveOptions

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.aspose.pdf.ConversionProgressEventsTranslator getProgressEventsRetranslator()
      Represents internal progress events processor that works during conversion and translates conversion events of internal conversion stages into external total progress events Also class broadcasts events that allow to free resources that not needed anymore This internal class handles events of PDF to APS and APS to [Other format] progress to calculate total progress and inform customer's code about that total progress events this class uses two types of events : ApsToExternal model conversion and events of conversion Pdf to APS to generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_ Aps export to target format Constructor allows tune how much pages are converted and what is approximmate part of this or that stage in total progress
      boolean isExtractOcrSublayerOnly()
      This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
      boolean isTryMergeAdjacentSameBackgroundImages()
      Sometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other.
      void setExtractOcrSublayerOnly(boolean value)
      This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
      void setProgressEventsRetranslator(com.aspose.pdf.ConversionProgressEventsTranslator progressEventsRetranslator)
      Represents internal progress events processor that works during conversion and translates conversion events of internal conversion stages into external total progress events Also class broadcasts events that allow to free resources that not needed anymore This internal class handles events of PDF to APS and APS to [Other format] progress to calculate total progress and inform customer's code about that total progress events this class uses two types of events : ApsToExternal model conversion and events of conversion Pdf to APS to generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_ Aps export to target format Constructor allows tune how much pages are converted and what is approximmate part of this or that stage in total progress
      void setTryMergeAdjacentSameBackgroundImages(boolean tryMergeAdjacentSameBackgroundImages)
      Sometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other.
    • Constructor Detail

      • UnifiedSaveOptions

        public UnifiedSaveOptions()
    • Method Detail

      • isTryMergeAdjacentSameBackgroundImages

        public boolean isTryMergeAdjacentSameBackgroundImages()

        Sometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other. In such case renderers of target formats (f.e MsWord for DOCS format) sometimes generates visible boundaries beetween parts of background images, cause their techniques of image edge smoothing (anti-aliasing) is different from Acrobat Reader. If it looks like exported document contains such visible boundaries between parts of same background images, please try use this setting to get rid of that unwanted effect. ATTENTION! This optimization of quality usually essentially slows down conversion, so, please, use this option only when it's really necessary.

        Returns:
        boolean value
      • setTryMergeAdjacentSameBackgroundImages

        public void setTryMergeAdjacentSameBackgroundImages(boolean tryMergeAdjacentSameBackgroundImages)

        Sometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other. In such case renderers of target formats (f.e MsWord for DOCS format) sometimes generates visible boundaries beetween parts of background images, cause their techniques of image edge smoothing (anti-aliasing) is different from Acrobat Reader. If it looks like exported document contains such visible boundaries between parts of same background images, please try use this setting to get rid of that unwanted effect. ATTENTION! This optimization of quality usually essentially slows down conversion, so, please, use this option only when it's really necessary.

        Parameters:
        tryMergeAdjacentSameBackgroundImages - boolean value
      • getProgressEventsRetranslator

        public com.aspose.pdf.ConversionProgressEventsTranslator getProgressEventsRetranslator()

        Represents internal progress events processor that works during conversion and translates conversion events of internal conversion stages into external total progress events Also class broadcasts events that allow to free resources that not needed anymore This internal class handles events of PDF to APS and APS to [Other format] progress to calculate total progress and inform customer's code about that total progress events this class uses two types of events : ApsToExternal model conversion and events of conversion Pdf to APS to generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_ Aps export to target format Constructor allows tune how much pages are converted and what is approximmate part of this or that stage in total progress

        Returns:
        ConversionProgressEventsTranslator instance
      • setProgressEventsRetranslator

        public void setProgressEventsRetranslator(com.aspose.pdf.ConversionProgressEventsTranslator progressEventsRetranslator)

        Represents internal progress events processor that works during conversion and translates conversion events of internal conversion stages into external total progress events Also class broadcasts events that allow to free resources that not needed anymore This internal class handles events of PDF to APS and APS to [Other format] progress to calculate total progress and inform customer's code about that total progress events this class uses two types of events : ApsToExternal model conversion and events of conversion Pdf to APS to generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_ Aps export to target format Constructor allows tune how much pages are converted and what is approximmate part of this or that stage in total progress

        Parameters:
        progressEventsRetranslator - ConversionProgressEventsTranslator instance
      • isExtractOcrSublayerOnly

        public boolean isExtractOcrSublayerOnly()

        This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.

        Value: true text will be extracted in result document; otherwise, false.
        Returns:
        boolean value
      • setExtractOcrSublayerOnly

        public void setExtractOcrSublayerOnly(boolean value)

        This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.

        Value: true text will be extracted in result document; otherwise, false.
        Default value == false
        Parameters:
        value - boolean value