Class PDF
java.lang.Object
com.elpical.jclaro.admin.ws.server.PDF
Specific PDF processing parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of compression to use when storing images in PDF JPEG or ZIPReturns the folder where to place extracted images from PDFfloat
Returns the amount of jpeg compression applied to images stored in PDF if JPEG compression was chosenReturns the type of compression to use when storing images in PDF when the original was compressed using a lossy algorithm JPEG or ZIPint
Returns the resolution limit on skipping overlapping/adjacent imagesboolean
Returns whether to extract images from PDF and store them separatelyboolean
Returns whether to extract images from the PDF without actually processing the PDF itselfboolean
Returns whether to skip images in PDF which are overlapping or paced side-by-sideboolean
Returns if a limit on resolution should be used for skipping overlapping/adjacent imagesboolean
Returns whether to skip images in PDF with few imagesvoid
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
void
setpDFCompression(String pDFCompression)
Sets the type of compression to use when storing images in PDF JPEG or ZIPvoid
setpDFExtractImages(boolean pDFExtractImages)
Sets whether to extract images from PDF and store them separatelyvoid
setpDFExtractImagesFolder(String pDFExtractImagesFolder)
Sets the folder where to place extracted images from PDFvoid
setpDFExtractImagesWithoutPDFProcessing(boolean pDFExtractImagesWithoutPDFProcessing)
Sets whether to extract images from the PDF without actually processing the PDF itselfvoid
setpDFJpegCompression(float pDFJpegCompression)
Sets the amount of jpeg compression applied to images stored in PDF if JPEG compression was chosenvoid
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 ZIPvoid
setpDFSkipOverlappingImages(boolean pDFSkipOverlappingImages)
Sets whether to skip images in PDF which are overlapping or paced side-by-sidevoid
setpDFSkipOverlappingImagesResolutionLimit(int pDFSkipOverlappingImagesResolutionLimit)
Sets the resolution limit on skipping overlapping/adjacent imagesvoid
setpDFSkipOverlappingImagesResolutionUseLimit(boolean pDFSkipOverlappingImagesResolutionUseLimit)
Sets if a limit on resolution should be used for skipping overlapping/adjacent imagesvoid
setpDFSkipTooFewColors(boolean pDFSkipTooFewColors)
Sets whether to skip images in PDF with few images
-
Constructor Details
-
PDF
public PDF()Empty constructor -
PDF
-
-
Method Details
-
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
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
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
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
Returns the folder where to place extracted images from PDF- Returns:
- The folder where to place extracted images from PDF
-
setpDFExtractImagesFolder
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
-