java.lang.Object
com.elpical.jclaro.admin.ws.server.PDF

public class PDF extends Object
Specific PDF processing parameters
  • Constructor Details

    • PDF

      public PDF()
      Empty constructor
    • PDF

      public PDF(HashMap<String,​String> theClaroChannelPreferences)
  • Method Details

    • getpDFCompression

      public String getpDFCompression()
      Returns the type of compression to use when storing images in PDF JPEG or ZIP
      Returns:
      The type of compression to use when storing images in PDF
    • setpDFCompression

      public void setpDFCompression(String pDFCompression)
      Sets the type of compression to use when storing images in PDF JPEG or ZIP
      Parameters:
      pDFCompression - The type of compression to use when storing images in PDF
    • ispDFSkipTooFewColors

      public boolean ispDFSkipTooFewColors()
      Returns whether to skip images in PDF with few images
      Returns:
      Skip images in PDF with few images
    • setpDFSkipTooFewColors

      public void setpDFSkipTooFewColors(boolean pDFSkipTooFewColors)
      Sets whether to skip images in PDF with few images
      Parameters:
      pDFSkipTooFewColors - Skip images in PDF with few images
    • getpDFOriginalLossyCompression

      public String getpDFOriginalLossyCompression()
      Returns the type of compression to use when storing images in PDF when the original was compressed using a lossy algorithm JPEG or ZIP
      Returns:
      The type of compression to use when storing images in PDF when the original was compressed using a lossy algorithm
    • setpDFOriginalLossyCompression

      public void setpDFOriginalLossyCompression(String pDFOriginalLossyCompression)
      Sets the type of compression to use when storing images in PDF when the original was compressed using a lossy algorithm JPEG or ZIP
      Parameters:
      pDFOriginalLossyCompression - The type of compression to use when storing images in PDF when the original was compressed using a lossy algorithm
    • getpDFJpegCompression

      public float getpDFJpegCompression()
      Returns the amount of jpeg compression applied to images stored in PDF if JPEG compression was chosen
      Returns:
      The amount of jpeg compression applied to images stored in PDF if JPEG compression was chosen
    • setpDFJpegCompression

      public void setpDFJpegCompression(float pDFJpegCompression)
      Sets the amount of jpeg compression applied to images stored in PDF if JPEG compression was chosen
      Parameters:
      pDFJpegCompression - The amount of jpeg compression applied to images stored in PDF if JPEG compression was chosen
    • ispDFSkipOverlappingImages

      public boolean ispDFSkipOverlappingImages()
      Returns whether to skip images in PDF which are overlapping or paced side-by-side
      Returns:
      Whether to skip images in PDF which are overlapping or paced side-by-side
    • setpDFSkipOverlappingImages

      public void setpDFSkipOverlappingImages(boolean pDFSkipOverlappingImages)
      Sets whether to skip images in PDF which are overlapping or paced side-by-side
      Parameters:
      pDFSkipOverlappingImages - Whether to skip images in PDF which are overlapping or paced side-by-side
    • ispDFExtractImages

      public boolean ispDFExtractImages()
      Returns whether to extract images from PDF and store them separately
      Returns:
      Whether to extract images from PDF and store them separately
    • setpDFExtractImages

      public void setpDFExtractImages(boolean pDFExtractImages)
      Sets whether to extract images from PDF and store them separately
      Parameters:
      pDFExtractImages - Whether to extract images from PDF and store them separately
    • ispDFExtractImagesWithoutPDFProcessing

      public boolean ispDFExtractImagesWithoutPDFProcessing()
      Returns whether to extract images from the PDF without actually processing the PDF itself
      Returns:
      Whether to extract images from the PDF without actually processing the PDF itself
    • setpDFExtractImagesWithoutPDFProcessing

      public void setpDFExtractImagesWithoutPDFProcessing(boolean pDFExtractImagesWithoutPDFProcessing)
      Sets whether to extract images from the PDF without actually processing the PDF itself
      Parameters:
      pDFExtractImagesWithoutPDFProcessing - Whether to extract images from the PDF without actually processing the PDF itself
    • getpDFExtractImagesFolder

      public String getpDFExtractImagesFolder()
      Returns the folder where to place extracted images from PDF
      Returns:
      The folder where to place extracted images from PDF
    • setpDFExtractImagesFolder

      public void setpDFExtractImagesFolder(String pDFExtractImagesFolder)
      Sets the folder where to place extracted images from PDF
      Parameters:
      pDFExtractImagesFolder - The folder where to place extracted images from PDF
    • save

      public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
    • ispDFSkipOverlappingImagesResolutionUseLimit

      public boolean ispDFSkipOverlappingImagesResolutionUseLimit()
      Returns if a limit on resolution should be used for skipping overlapping/adjacent images
      Returns:
      If a limit on resolution should be used for skipping overlapping/adjacent images
    • setpDFSkipOverlappingImagesResolutionUseLimit

      public void setpDFSkipOverlappingImagesResolutionUseLimit(boolean pDFSkipOverlappingImagesResolutionUseLimit)
      Sets if a limit on resolution should be used for skipping overlapping/adjacent images
      Parameters:
      pDFSkipOverlappingImagesResolutionUseLimit - If a limit on resolution should be used for skipping overlapping/adjacent images
    • getpDFSkipOverlappingImagesResolutionLimit

      public int getpDFSkipOverlappingImagesResolutionLimit()
      Returns the resolution limit on skipping overlapping/adjacent images
      Returns:
      The resolution limit on skipping overlapping/adjacent images
    • setpDFSkipOverlappingImagesResolutionLimit

      public void setpDFSkipOverlappingImagesResolutionLimit(int pDFSkipOverlappingImagesResolutionLimit)
      Sets the resolution limit on skipping overlapping/adjacent images
      Parameters:
      pDFSkipOverlappingImagesResolutionLimit - he resolution limit on skipping overlapping/adjacent images