Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
This is the abstract class for color space converters which are used to convert PDF objects in the original color space to PDF objects in target color space.
- AbstractCsConverter(CsConverterProperties) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Creates an
AbstractCsConverter
. - AbstractOptimizationHandler - Class in com.itextpdf.pdfoptimizer
-
This is the abstract class for optimization handlers which are used to cover a certain optimization of
PdfDocument
. - AbstractOptimizationHandler() - Constructor for class com.itextpdf.pdfoptimizer.AbstractOptimizationHandler
- add(long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Add a new array to the storage.
- addOptimizationHandler(AbstractOptimizationHandler) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Appends provided instance of
AbstractOptimizationHandler
to the current handler chain. - addProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.CombinedImageProcessor
-
Appends one more processor to the chain.
- aggregate(AbstractStatisticsEvent) - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsAggregator
-
Aggregates profile name from the provided event.
- ANY_ERRORS_OCCURRED_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- AP_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- areEqual(PdfDictionary, PdfDictionary) - Method in class com.itextpdf.pdfoptimizer.handlers.fontduplication.PdfDictionaryEqualityCalculator
-
Applies rules passed to constructor
PdfDictionaryEqualityCalculator(List)
to both provided dictionaries and then compares them usingEqualityUtils.areEqual(PdfObject, PdfObject)
method. - areEqual(PdfObject, PdfObject) - Static method in class com.itextpdf.pdfoptimizer.util.EqualityUtils
-
Checks the equality of two object.
- ArrayStorage - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
- ArrayStorage() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
- attemptToConvertTransparencyGroup(PdfObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
- attemptToConvertTransparencyGroup(PdfObject, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Attempt to converts transparency group dictionary which stored in passed groupEntryHolder PDF object, if this groupEntryHolder can store transparency group by PDF specification.
- AverageCalculationAlgorithm - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
-
Scaling algorithm which calculates average color of all pixels of the original image covered by the pixel of resulting image.
- AverageCalculationAlgorithm() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.AverageCalculationAlgorithm
B
- BitmapCmykToRgbConverter - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to change the color scheme of the bitmap image from CMYK to RGB.
- BitmapCmykToRgbConverter() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCmykToRgbConverter
-
Creates an instance of the color scheme converter.
- BitmapCompressor - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to optimize bitmap images.
- BitmapCompressor(double, double) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCompressor
-
Creates a new instance of processor.
- BitmapCompressor(double, IScalingAlgorithm, double) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCompressor
-
Creates a new instance of processor.
- BitmapDeindexer - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to replace Indexed colorspace with appropriate Device colorspace.
- BitmapDeindexer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapDeindexer
- BitmapImagePixels - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Class allows to process pixels of the bitmap image stored as byte array according to PDF specification.
- BitmapImagePixels(int, int, int, int) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Creates a representation of empty image.
- BitmapImagePixels(int, int, int, int, byte[]) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Creates a representation of an image presented as bytes array.
- BitmapImagePixels(PdfImageXObject) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Creates a representation of an image presented as
PdfImageXObject
. - BitmapIndexer - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to make the color space of the image indexed if possible.
- BitmapIndexer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapIndexer
- BitmapScalingProcessor - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to scale bitmap images.
- BitmapScalingProcessor(double) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapScalingProcessor
-
Creates an instance of bitmap image processor.
- BitmapScalingProcessor(double, IScalingAlgorithm) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapScalingProcessor
-
Creates an instance of bitmap image processor.
- BlankColorDecoder - Class in com.itextpdf.pdfoptimizer.handlers.util.decoders
-
Helper subclass of
ColorDecoder
which does nothing with the color. - BlankColorDecoder() - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.decoders.BlankColorDecoder
-
Creates an instance of blank color decoder.
- build() - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Builds a report based on messages logged with
DefaultReportBuilder.log(SeverityLevel, Date, LocationStack, String, Object...)
. - build() - Method in class com.itextpdf.pdfoptimizer.report.builder.FileReportBuilder
-
Generates a report using
IReportPublisher
.
C
- calculateImageStreamLengthInBytes(PdfImageXObject, PdfDocument) - Static method in class com.itextpdf.pdfoptimizer.util.PdfObjectSizeCalculationUtil
-
Calculates the length of an
PdfImageXObject
stream in bytes, which it will take in PDF. - CAN_NOT_CONVERT_DEVICE_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CAN_NOT_CONVERT_DEVICEN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CAN_NOT_CONVERT_INDEXED_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CAN_NOT_CONVERT_SEPARATION_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CAN_NOT_CONVERT_SHADING_PATTERN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CAN_NOT_CONVERT_TRANSPARENCY_XOBJECT_GROUP_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- CANVAS_PROCESSOR_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- CANVAS_PROCESSOR_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- CmykColorDecoder - Class in com.itextpdf.pdfoptimizer.handlers.util.decoders
-
Class for converting cmyk color in an image according to decode array in image stream.
- CmykColorDecoder(double[]) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.decoders.CmykColorDecoder
-
Creates an instance of cmyk color decoder.
- CmykToRgbColorConverter - Class in com.itextpdf.pdfoptimizer.handlers.util.pixel
-
Class representing logic for converting cmyk color to rgb color.
- CmykToRgbCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Class is used to convert color space of PDF objects from DeviceCmyk to DeviceRgb.
- CmykToRgbCsConverter(CsConverterProperties) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
-
Creates a
CmykToRgbCsConverter
. - COLOR_SPACE_CONVERTER_NOT_INSTALLED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- COLOR_SPACE_IS_NOT_SUPPORTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- ColorConversionMode - Enum in com.itextpdf.pdfoptimizer.handlers.converters
-
Enum is used to list available color conversion modes.
- ColorConverter - Interface in com.itextpdf.pdfoptimizer.handlers.util.pixel
-
The interface for converting a single color according to another one or to another representation of the same one.
- ColorDecoder - Class in com.itextpdf.pdfoptimizer.handlers.util.decoders
-
Class for converting color in an image according to decode array in image stream.
- ColorDecoder(double[], double) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.decoders.ColorDecoder
-
Creates an instance of color decoder.
- ColorSpaceConverter - Class in com.itextpdf.pdfoptimizer.handlers
-
This is the class is used to convert color space of objects located in the transferred
PdfDocument
. - ColorSpaceConverter() - Constructor for class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
- com.itextpdf.pdfoptimizer - package com.itextpdf.pdfoptimizer
- com.itextpdf.pdfoptimizer.actions.data - package com.itextpdf.pdfoptimizer.actions.data
- com.itextpdf.pdfoptimizer.actions.events - package com.itextpdf.pdfoptimizer.actions.events
- com.itextpdf.pdfoptimizer.exceptions - package com.itextpdf.pdfoptimizer.exceptions
- com.itextpdf.pdfoptimizer.handlers - package com.itextpdf.pdfoptimizer.handlers
- com.itextpdf.pdfoptimizer.handlers.converters - package com.itextpdf.pdfoptimizer.handlers.converters
- com.itextpdf.pdfoptimizer.handlers.fontduplication - package com.itextpdf.pdfoptimizer.handlers.fontduplication
- com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates - package com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates
- com.itextpdf.pdfoptimizer.handlers.fontduplication.rules - package com.itextpdf.pdfoptimizer.handlers.fontduplication.rules
- com.itextpdf.pdfoptimizer.handlers.fontsubsetting - package com.itextpdf.pdfoptimizer.handlers.fontsubsetting
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
- com.itextpdf.pdfoptimizer.handlers.util - package com.itextpdf.pdfoptimizer.handlers.util
- com.itextpdf.pdfoptimizer.handlers.util.decoders - package com.itextpdf.pdfoptimizer.handlers.util.decoders
- com.itextpdf.pdfoptimizer.handlers.util.pixel - package com.itextpdf.pdfoptimizer.handlers.util.pixel
- com.itextpdf.pdfoptimizer.logs - package com.itextpdf.pdfoptimizer.logs
- com.itextpdf.pdfoptimizer.report - package com.itextpdf.pdfoptimizer.report
- com.itextpdf.pdfoptimizer.report.builder - package com.itextpdf.pdfoptimizer.report.builder
- com.itextpdf.pdfoptimizer.report.decorator - package com.itextpdf.pdfoptimizer.report.decorator
- com.itextpdf.pdfoptimizer.report.location - package com.itextpdf.pdfoptimizer.report.location
- com.itextpdf.pdfoptimizer.report.message - package com.itextpdf.pdfoptimizer.report.message
- com.itextpdf.pdfoptimizer.report.publisher - package com.itextpdf.pdfoptimizer.report.publisher
- com.itextpdf.pdfoptimizer.statistics - package com.itextpdf.pdfoptimizer.statistics
- com.itextpdf.pdfoptimizer.util - package com.itextpdf.pdfoptimizer.util
- com.itextpdf.pdfoptimizer.util.traversing - package com.itextpdf.pdfoptimizer.util.traversing
- CombinedImageProcessor - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Allow to create complex
IImageProcessor
combined of several image processors called one by one. - CombinedImageProcessor() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.CombinedImageProcessor
-
Creates a new instance of the combined image processor.
- CompressionOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Performs maximal compression of every
PdfStream
and full compression of thePdfDocument
. - CompressionOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.CompressionOptimizer
- compressJpeg(byte[], double) - Static method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ImageProcessingUtil
-
Applies JPEG compression to the provided byte array with the provided compression level.
- convertAnnotationIcArray(PdfArray) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts annotation interior color array by using of current color converter.
- convertAnnotationIcArray(PdfArray) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts annotation interior color array.
- convertBitmapImage(BitmapImagePixels, ColorDecoder) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.CsConverterUtil
-
Converts passed bitmap image bytes from one color to another according to provided
ColorDecoder
. - convertBitmapImage(BitmapImagePixels, ColorConverter) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.CsConverterUtil
-
Converts passed bitmap image bytes from one color space to another according to provided
ColorConverter
. - convertBitmapImage(BitmapImagePixels, ColorConverter, ColorDecoder) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.CsConverterUtil
-
Converts passed bitmap image bytes from one color space to another according to provided
ColorConverter
andColorDecoder
. - convertColor(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
Performs a conversion of the provided array representing cmyk color components to the array representing rgb color component.
- convertColor(double[]) - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Converts provided color.
- convertColor(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
Performs a conversion of the provided array representing rgb color components to the array representing cmyk color component.
- convertContentStream(PdfStream, PdfResources, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts color space of the passed content stream.
- convertContentStream(PdfStream, PdfResources, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of the passed content stream.
- CONVERTED_CONTENT_STREAMS_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- CONVERTED_CONTENT_STREAMS_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- convertImageCs(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts passed image in original color space to image in target color space.
- convertImageCs(PdfImageXObject, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of passed image.
-
convertOperatorParameters(List
) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter -
Converts passed operator parameters color space.
- convertStoredResources(OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts color space of the stored content stream resources.
- convertStoredResources(OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of the stored content stream resources.
- create(PdfArray) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Creates an instance of MaskArray based on /Mask entry of the image dictionary.
- createColorDecoder(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Creates
ColorDecoder
. - createColorDecoder(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
-
Creates
ColorDecoder
. - createColorDecoder(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
-
Creates
ColorDecoder
. - createOptimizePdfEvent(SequenceId, IMetaInfo) - Static method in class com.itextpdf.pdfoptimizer.actions.events.PdfOptimizerProductEvent
-
Creates an optimize-pdf event which is associated with a general identifier and additional metadata.
- createStatisticsAggregatorFromName(String) - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsEvent
- CsConverterProperties - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Properties that will be used by the
ICsConverter
. - CsConverterProperties(ColorConversionMode) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Creates a
CsConverterProperties
to be used while converting color spaces. - CsConverterUtil - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Helper class which encapsulates util method for color space converting.
- CURRENT_RESOURCES_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- CURRENT_RESOURCES_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- CUSTOM - Enum constant in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Marker for a custom profile which is empty by default.
- customCondition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.handlers.util.PdfImageXObjectPredicate
-
When overridden allows to provide custom condition on images which match the predicate.
D
- decode(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.BlankColorDecoder
-
Returns the provided color as is.
- decode(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.ColorDecoder
-
Converts color according to decode array.
- decode(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.IndexedColorDecoder
-
Converts color according to decode array.
- decodeComponent(double, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.BlankColorDecoder
-
Returns the provided color component as is.
- decodeComponent(double, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.ColorDecoder
-
Converts one color component according to decode array.
- decodeComponent(double, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.decoders.IndexedColorDecoder
-
Converts one color component according to decode array.
- decorateMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultMessageDecorator
-
Displays severity of the message, its source and its content.
- decorateMessage(ReportMessage) - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IMessageDecorator
-
Converts
ReportMessage
into a string. - decorateMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.decorator.LogMessageDecorator
-
Displays source of the message (if it is not empty) and its content.
- DefaultMessageDecorator - Class in com.itextpdf.pdfoptimizer.report.decorator
-
The class is responsible for building string representation of the
ReportMessage
according to the following pattern:[SEVERITY] Location: Message
. - DefaultMessageDecorator() - Constructor for class com.itextpdf.pdfoptimizer.report.decorator.DefaultMessageDecorator
- DefaultReportBuilder - Class in com.itextpdf.pdfoptimizer.report.builder
-
The goal of the class is to generate an optimization report.
- DefaultReportBuilder(SeverityLevel) - Constructor for class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Creates an instance of default ReportBuilder with provided minimal severity level.
- DefaultReportDecorator - Class in com.itextpdf.pdfoptimizer.report.decorator
-
This is the default implementation of the
IReportDecorator
. - DefaultReportDecorator() - Constructor for class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
- DocumentStructureUtils - Class in com.itextpdf.pdfoptimizer.util
-
Util class for typical tasks across the whole structure of
PdfDocument
. - DroppingAlgorithm - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
-
Scaling algorithm which drops pixels.
- DroppingAlgorithm() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.DroppingAlgorithm
E
- enterLocation(String) - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Add a new location into location stack.
- EqualityUtils - Class in com.itextpdf.pdfoptimizer.util
-
Class is used to perform comparison by content between two instances of
PdfObject
avoiding infinity recursions in case when the same indirect objects stores itself as a part of internal state. - equals(Object) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.HashableArray
- equals(Object) - Method in class com.itextpdf.pdfoptimizer.util.SymmetricPair
-
Performs equality check for this and that pairs.
- ERROR - Enum constant in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Maximum severity level which marks messages and events with error level.
- EVENT_LISTENER_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- extractColorTableOfIndexedImage(PdfSpecialCs.Indexed) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.CsConverterUtil
-
Extracts color table from indexed color space instance.
F
- FileReportBuilder - Class in com.itextpdf.pdfoptimizer.report.builder
-
The goal of the class is to generate optimization report and store it as file.
- FileReportBuilder(SeverityLevel, IReportPublisher) - Constructor for class com.itextpdf.pdfoptimizer.report.builder.FileReportBuilder
-
Creates in an instance of the builder with the provided publisher.
- FileReportPublisher - Class in com.itextpdf.pdfoptimizer.report.publisher
-
Class is used to configure optimization report and save it to file.
- FileReportPublisher(IReportDecorator, File) - Constructor for class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Creates a new instance of ReportPublisher with provided
IReportDecorator
, a minimal severity level and a path to a file with the report. - FileReportPublisher(File) - Constructor for class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Creates a new instance of ReportPublisher with
DefaultReportDecorator
as a decorator and withSeverityLevel.INFO
as a minimal severity level. - FILTER_IS_NOT_SUPPORTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- findUsedGlyphsInFonts(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder
-
Process content streams to find glyphs used in document.
- FONT_DUPLICATIONS_FOUND - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- FONT_SUBSET_SKIPPED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- FONT_SUBSETTING_CANNOT_BE_USED_FOR_PDFA1 - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- FontDictionaryPredicate - Class in com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates
-
Checks if current
PdfObject
is a fontPdfDictionary
. - FontDictionaryPredicate() - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates.FontDictionaryPredicate
- FontDuplicationOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Looks for font dictionary duplications and merged them.
- FontDuplicationOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.FontDuplicationOptimizer
- FontGlyphs() - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder.FontGlyphs
-
Creates new instance.
- FontSubsetNameDetector - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Checks if font name follows the rule of naming defined for font subsets.
- FontSubsettingOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Makes a subset of the font glyphs used in document.
- FontSubsettingOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.FontSubsettingOptimizer
G
- get(long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets the value associated with the provided array.
- getAll() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets all stored arrays with its identifiers.
- getArray() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.HashableArray
-
Getter for a stored array.
- getBitsPerComponent() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for bits per component parameter of the image.
- getCanvas() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter
-
Gets resulting PDF canvas.
- getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Gets
ColorConverter
for appropriate convertion. - getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
- getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
- getConversionMode() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Gets the
ColorConversionMode
which is respected while converting color spaces using thisCsConverterProperties
instance. - getConvertedColorMask(long, ColorConverter) - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Converts maskArray from one color space to another according to provided
ColorConverter
. - getConvertedColorMask(long, ColorConverter, ColorDecoder) - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Converts maskArray from one color space to another according to provided
ColorConverter
andColorDecoder
. - getConverterProperties() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
- getConverterProperties() - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Gets current converter properties instance.
- getCsConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
Gets a current color space converter instance.
- getCurrentLocation() - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Gets string representation for top-level location which is consider as actual location.
- getData() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for byte representation of the image.
- getDecorator() - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Gets
IReportDecorator
of the publisher. - getEventType() - Method in class com.itextpdf.pdfoptimizer.actions.events.PdfOptimizerProductEvent
- getFile() - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Gets the file where report should be placed.
- getFooter() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Creates an empty footer.
- getFooter() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a footer of the optimization report.
- getFoundObjects() - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Retrieves objects found in structure of some
PdfDocument
with use ofDocumentStructureUtils.traverse(PdfDocument, IAction)
. - getFullStack() - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Gets string representation full location stack.
- getGlyphs() - Method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder.FontGlyphs
-
Gets font glyphs that were used in the PDF document.
- getHashCode(PdfDictionary) - Method in class com.itextpdf.pdfoptimizer.handlers.fontduplication.PdfDictionaryEqualityCalculator
-
Applies rules passed to constructor
PdfDictionaryEqualityCalculator(List)
to provided dictionary and then calculates its hash code usingEqualityUtils.getHashCode(PdfObject)
method. - getHashCode(PdfObject) - Static method in class com.itextpdf.pdfoptimizer.util.EqualityUtils
-
Calculates a hash for the object.
- getHeader() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Creates an empty header.
- getHeader() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a header of the optimization report.
- getHeight() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for a height of the image.
- getImageProcessors() - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Gets a copy of current configuration of the image processor.
- getInstance() - Static method in class com.itextpdf.pdfoptimizer.actions.data.PdfOptimizerProductData
-
Getter for an instance of
ProductData
related to pdfOptimizer module. - getInstance() - Static method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
Returns an instance of cmyk to rgb converter.
- getInstance() - Static method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
Returns an instance of rgb to cmyk converter.
- getLevel() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves current
SeverityLevel
. - getLocation() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves a location where message was generated.
- getMax() - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Gets maximum color to mask out which is defined by the elements at odd positions of the original array (considering the array as 0-indexed).
- getMaxComponentValue() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets the maximum value for the component.
- getMessage() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves content of the message.
- getMessages() - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Returns list of logged messages.
- getMessages() - Method in class com.itextpdf.pdfoptimizer.report.OptimizationResult
-
Gets the list of messages logged during the optimization process.
- getMin() - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Gets minimum color to mask out which is defined by the elements at even positions of the original array (considering the array as 0-indexed).
- getNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for number of components parameter of the image.
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Gets original color space class.
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
- getOutputIntent() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Gets output intent instance which will be used for replacing original PDF output intent when converting the color space.
- getPdfOptimizerByProfile(PdfOptimizerProfile) - Static method in class com.itextpdf.pdfoptimizer.PdfOptimizerFactory
-
Creates a new instance of PdfOptimizer with predefined
PdfOptimizerProfile
. - getPdfOptimizerProfile() - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsEvent
-
Gets name of profile used in PDF document during optimization of which these event was send.
- getPixel(int, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets pixel of the image.
- getPixelAsLongs(int, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets pixel of the image presented as long values.
- getPredicate() - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Gets current search predicate.
- getSeparator() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Uses \r\n as a separator.
- getSeparator() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a bunch of symbols used to separate different messages.
- getSourceColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
- getSourceColorspace() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Returns original color space of the color.
- getSourceColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
- getSourceNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
- getSourceNumberOfComponents() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Return number of components representing the original color space.
- getSourceNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
- getStatisticsNames() - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsEvent
- getStoredValue(String) - Method in class com.itextpdf.pdfoptimizer.OptimizationSession
-
Retrieves stored value associated with the provided key.
- getTargetColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
- getTargetColorspace() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Returns target color space of the color.
- getTargetColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
- getTargetNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
- getTargetNumberOfComponents() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Return number of components representing the target color space.
- getTargetNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
- getTime() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves the time when the message was generated.
- getWidth() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for a width of the image.
- GLYPHS_FOUND_SUCCESSFULLY - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
H
- HashableArray - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
- HashableArray(long[]) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.HashableArray
-
Wraps the provided array.
- hashCode() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.HashableArray
- hashCode() - Method in class com.itextpdf.pdfoptimizer.util.SymmetricPair
-
Performs a symmetrical hash calculation which depends on hashes of stored objects but does not depend on the order of objects.
- HIGH_COMPRESSION - Enum constant in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
High-level compression profile.
I
- IAction - Interface in com.itextpdf.pdfoptimizer.util.traversing
-
Defines an action performing during recursive traversing across
PdfDocument
structure. - ICsConverter - Interface in com.itextpdf.pdfoptimizer.handlers.converters
-
Interface for color space converting of PDF objects.
- IGNORE_PDF_A_CONFORMANCE - Enum constant in enum com.itextpdf.pdfoptimizer.handlers.converters.ColorConversionMode
-
Ignore PDF/A conformance mode.
- IImageProcessor - Interface in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Interface for processing of images stored as
PdfImageXObject
with a specifiedImageType
. - IMAGE_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- IMAGE_INCREASED_SIZE_AFTER_OPTIMIZATION - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- IMAGE_WAS_OPTIMIZED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- ImageProcessingUtil - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
-
Helper class which encapsulates util method for image processing.
- ImageQualityOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Looks for image streams and performs theirs optimization.
- ImageQualityOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Creates an empty image quality optimizer.
-
ImageQualityOptimizer(Map
) - Constructor for class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer -
Creates a new image quality optimizer with custom configuration of image processors.
- IMessageDecorator - Interface in com.itextpdf.pdfoptimizer.report.decorator
-
Used to create custom representations of
ReportMessage
as String. - IndexedColorDecoder - Class in com.itextpdf.pdfoptimizer.handlers.util.decoders
-
Class for converting indexed color in an image according to decode array in image stream.
- IndexedColorDecoder(double[], int) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.decoders.IndexedColorDecoder
-
Creates an instance of indexed color decoder.
- INFO - Enum constant in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Minimal severity level which marks messages and events with info level.
- INLINE_IMAGE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- INLINE_IMAGE_WAS_TRANSFORMED_TO_XOBJECT - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- INVALID_COLOR_TO_DECODE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- INVALID_COMPRESSION_PARAMETER - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that compression parameter is out of range [0., 1.].
- INVALID_DATA_LENGTH - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that the passed data length does not match the expected data length.
- INVALID_DECODE_ARRAY - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- INVALID_OUTPUT_INTENT_ICC_PROFILE_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that the passed output intent store incorrect Icc profile color space for current color space converter instance.
- INVALID_OUTPUT_INTENT_SUBTYPE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- INVALID_SCALING_PARAMETER - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that scaling parameter is out of range [0., 1.].
-
invokeOperator(PdfLiteral, List
) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter -
Process PDF content stream operators.
- IPdfObjectPredicate - Interface in com.itextpdf.pdfoptimizer.util.traversing
-
Representation of predicate for where
PdfObject
is used an argument. - IReportDecorator - Interface in com.itextpdf.pdfoptimizer.report.decorator
-
Used to create custom representations of optimization report.
- IReportPublisher - Interface in com.itextpdf.pdfoptimizer.report.publisher
-
Interface is used to configure and publish optimization report.
- IS_PDF_A_DOCUMENT_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- IS_PDF_A_DOCUMENT_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- isAccepted(SeverityLevel) - Method in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Checks if current severity level is not less then provided minimal severity level.
- isAnyGlyphsDecodingFailed() - Method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder.FontGlyphs
-
Gets a flag marking that at least one encountered glyph for the font was not recognized and decoded.
- IScalingAlgorithm - Interface in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
-
Defines an algorithm of bitmap image scaling.
- isColorMasked(long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Checks if provided color is masked by the current mask because all its components are in the range defined by the min and max arrays of the mask.
- isFontSubsetName(String) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.FontSubsetNameDetector
-
Checks if font name follows the rule of naming defined for font subsets.
- IValueUpdateRule - Interface in com.itextpdf.pdfoptimizer.handlers.fontduplication.rules
-
The interface is used to make hash calculating / equality check more flexible.
J
- JpegCompressor - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Class is used to compress images as JPEG.
- JpegCompressor(double) - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.JpegCompressor
-
Creates an instance of JPEG image processor.
L
- leaveLocation() - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Removes top-level location from location stack.
- LENGTH_OF_ARRAY_SHOULD_MATCH_NUMBER_OF_COMPONENTS - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that pixel representation doesn't match current color scheme presentation.
- LocationStack - Class in com.itextpdf.pdfoptimizer.report.location
-
The class allows to build custom analogue of the stacktrace which does not use reflection.
- LocationStack() - Constructor for class com.itextpdf.pdfoptimizer.report.location.LocationStack
- log(SeverityLevel, Date, LocationStack, String, Object...) - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Creates a message during PDF optimization process with provided severity level and message.
- LogMessageDecorator - Class in com.itextpdf.pdfoptimizer.report.decorator
-
THe class is responsible for building string representation of the
ReportMessage
according to the following pattern:Location: Message
if location is not empty andMessage
otherwise. - LogMessageDecorator() - Constructor for class com.itextpdf.pdfoptimizer.report.decorator.LogMessageDecorator
- LogReportBuilder - Class in com.itextpdf.pdfoptimizer.report.builder
-
The goal of the class is to log optimization messages using logging library.
- LogReportBuilder(SeverityLevel, IMessageDecorator) - Constructor for class com.itextpdf.pdfoptimizer.report.builder.LogReportBuilder
-
Creates a
LogReportBuilder
which will be used to log optimizations. - LOSSLESS_COMPRESSION - Enum constant in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Lossless compression profile.
- LOW_COMPRESSION - Enum constant in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Low-level compression profile.
M
- MASK_ARRAY_DOES_NOT_CORRESPOND_WITH_CONVERTER - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that /Mask array has unexpected length.
- MASK_ARRAY_SHOULD_HAVE_EVEN_POSITIVE_LENGTHS - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that /Mask array has unexpected length.
- MaskColors - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Wrapper class for an array presented as /Mask entry of the image.
- MASKED_COLORS_HAVE_DIFFERENT_LENGTHS - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies about attempt to create a
MaskColors
with range of colors defined by two colors with different number of components. - merge(AbstractStatisticsAggregator) - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsAggregator
-
Merges data about amounts of profile names from the provided aggregator into this aggregator.
- MID_COMPRESSION - Enum constant in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Mid-level compression profile.
N
- NO_FONT_DUPLICATION_FOUND - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- NORMAL - Enum constant in enum com.itextpdf.pdfoptimizer.handlers.converters.ColorConversionMode
-
Normal mode.
O
- OPTIMIZATION_REPORT_GENERATED - Static variable in class com.itextpdf.pdfoptimizer.logs.PdfOptimizerLogMessageConstants
- OptimizationResult - Class in com.itextpdf.pdfoptimizer.report
-
The class represents result of optimization process.
-
OptimizationResult(List
) - Constructor for class com.itextpdf.pdfoptimizer.report.OptimizationResult -
Creates a new instance of optimization result with provided list of messages.
- OptimizationSession - Class in com.itextpdf.pdfoptimizer
-
Class is used to handle auxiliary activities during the optimization processing (i.
- OptimizationSession(DefaultReportBuilder) - Constructor for class com.itextpdf.pdfoptimizer.OptimizationSession
-
Creates an instance of OptimizationSession with provided
DefaultReportBuilder
. - optimize(PdfReader, File) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Reads
PdfDocument
from providedPdfReader
and writes its optimized version in the new file. - optimize(PdfReader, OutputStream) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Reads
PdfDocument
from providedPdfReader
and writes its optimized version in the providedOutputStream
. - optimize(File, File) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Reads
PdfDocument
from providedFile
and writes its optimized version in the new file. - optimize(File, OutputStream) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
- optimize(InputStream, File) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Reads
PdfDocument
from providedInputStream
and writes its optimized version in the new file. - optimize(InputStream, OutputStream) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Reads
PdfDocument
from providedInputStream
and writes its optimized version in the providedOutputStream
. - OPTIMIZE_PDF - Static variable in class com.itextpdf.pdfoptimizer.actions.events.PdfOptimizerProductEvent
-
Optimize PDF event type.
- optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.AbstractOptimizationHandler
-
Performs an optimization of the document.
- optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
The method searches across all the document and for each found
PdfImageXObject
performs an color converting according with defined color space converter. - optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.CompressionOptimizer
- optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.FontDuplicationOptimizer
-
The method searches for font dictionaries in PdfDocuments and compare them.
- optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.FontSubsettingOptimizer
-
Performs an optimization of the document.
- optimizePdf(PdfDocument, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
The method searches across all the document and for each found
PdfImageXObject
performs an optimization according to its type. - OUTPUT_INTENT_WAS_NOT_SET - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- OUTPUT_INTENT_WAS_REPLACED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
P
- PDF_A_ID_SCHEMAS_WERE_REMOVED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- PDF_OPTIMIZER_IS_USED_WITHOUT_ANY_HANDLERS - Static variable in class com.itextpdf.pdfoptimizer.logs.PdfOptimizerLogMessageConstants
- PdfCanvasCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Processor for converting PDF content stream color space.
- PdfCanvasCsConverter(PdfDocument, AbstractCsConverter, OptimizationSession) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter
-
Instantiates a new
PdfCanvasCsConverter
instance based on PDF document and color space converter. - PdfDictionaryEqualityCalculator - Class in com.itextpdf.pdfoptimizer.handlers.fontduplication
-
Class is used for flexible comparison of two instances of
PdfDictionary
. -
PdfDictionaryEqualityCalculator(List
) - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontduplication.PdfDictionaryEqualityCalculator -
Creates a new instance of the class.
- PdfImageXObjectPredicate - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Checks if current
PdfObject
is aPdfImageXObject
. - PdfImageXObjectPredicate() - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.PdfImageXObjectPredicate
- PdfObjectSizeCalculationUtil - Class in com.itextpdf.pdfoptimizer.util
-
Util class for calculating the size of an
PdfObject
in bytes, which it will take in PDF. - PdfOptimizer - Class in com.itextpdf.pdfoptimizer
-
Entry point for Pdf Optimization process.
- PdfOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Creates a new instance of PdfOptimizer, the main entry point of the optimization process.
- PdfOptimizerException - Exception in com.itextpdf.pdfoptimizer.exceptions
-
Exception class for exceptions in pdfOptimizer module.
- PdfOptimizerException(String) - Constructor for exception com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerException
-
Creates a new instance of
PdfOptimizerException
message. - PdfOptimizerExceptionMessageConstant - Class in com.itextpdf.pdfoptimizer.exceptions
-
Class that bundles all the exception message templates as constants.
- PdfOptimizerFactory - Class in com.itextpdf.pdfoptimizer
-
Class is responsible for creating new instances of
PdfOptimizer
in accordance with predefinedPdfOptimizerProfile
. - PdfOptimizerLogMessageConstants - Class in com.itextpdf.pdfoptimizer.logs
-
Class that bundles all the message templates as constants.
- PdfOptimizerProductData - Class in com.itextpdf.pdfoptimizer.actions.data
-
Stores an instance of
ProductData
related to iText pdfOptimizer module. - PdfOptimizerProductEvent - Class in com.itextpdf.pdfoptimizer.actions.events
-
Class represents events registered in iText pdfOptimizer module.
- PdfOptimizerProfile - Enum in com.itextpdf.pdfoptimizer
-
Enum is used to list available PdfOptimizer profiles.
- PIXEL_OUT_OF_BORDERS - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies about access to a pixel which is out of borders of the image.
- PROCESSED_CONTENT_STREAMS_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- PROCESSED_CONTENT_STREAMS_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCmykToRgbConverter
-
If provided image is a bitmap image with DeviceCMYK color scheme then converts it to the image with DeviceRGB color scheme.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCompressor
-
Optimizes a bitmap image: scales it, changes color scheme from CMYK to RGB if necessary and then compressed it as JPEG.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapDeindexer
-
If bitmap image is in Indexed color space the Deindexer will create a representation of the same in based color space.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapIndexer
-
Calculates the number of colors used for the image and if it is not more than 256 builds an index for the image and change the color space to Indexed.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapScalingProcessor
-
Scales a bitmap image presented as
PdfImageXObject
. - processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.CombinedImageProcessor
-
Processes image by set processors one by one.
- processImage(PdfImageXObject, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.imagequality.processors.IImageProcessor
-
Processes an image.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.JpegCompressor
-
Compresses a JPEG image presented as
PdfImageXObject
with the configured compression level. - processIndirectObjectDefinition(PdfObject) - Method in interface com.itextpdf.pdfoptimizer.util.traversing.IAction
-
Performs a required action with each definition of indirect
PdfObject
of the document. - processIndirectObjectDefinition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.ReplaceObjectsAction
-
Does nothing as indirect object cannot be replaced.
- processIndirectObjectDefinition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Evaluates this predicate on the given indirect
PdfObject
definition and adds it to search results if object matches the condition. - processMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Allows to provide additional logic of message processing.
- processMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.builder.LogReportBuilder
-
Stores message and logs it using logger.
- processObject(PdfObject) - Method in interface com.itextpdf.pdfoptimizer.util.traversing.IAction
-
Performs a required action with the each
PdfObject
of the document. - processObject(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.ReplaceObjectsAction
-
Replaces object if necessary according to the provided schema.
- processObject(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Evaluates this predicate on the given
PdfObject
and adds it to search results if object matches the condition. - PROFILE_CANNOT_BE_NULL - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
- ProfileNameStatisticsAggregator - Class in com.itextpdf.pdfoptimizer.statistics
-
Statistics aggregator which aggregates profile names of optimize events.
- ProfileNameStatisticsAggregator() - Constructor for class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsAggregator
-
Creates a
ProfileNameStatisticsAggregator
to aggregate profile names of optimize events. - ProfileNameStatisticsEvent - Class in com.itextpdf.pdfoptimizer.statistics
-
Class which represents event for defining profile in PdfOptimizer.
- ProfileNameStatisticsEvent(PdfOptimizerProfile, ProductData) - Constructor for class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsEvent
-
Creates an instance of this class based on the
ProductData
and the profile name. -
publishReport(List
) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher -
Generates report based on
DefaultReportBuilder
and saves it to file. -
publishReport(List
) - Method in interface com.itextpdf.pdfoptimizer.report.publisher.IReportPublisher -
Generates report based on list of messages and saves it to file.
R
- registerEvent(SeverityLevel, String, Object...) - Method in class com.itextpdf.pdfoptimizer.OptimizationSession
-
Registers an event of optimization process.
- RemoveSubsetPrefixRule - Class in com.itextpdf.pdfoptimizer.handlers.fontduplication.rules
-
This rule removes prefix in AAAAAA+ format (six latin letters in upper case and plus sign) when performing equality check or hash calculation for font
PdfDictionary
. - RemoveSubsetPrefixRule() - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontduplication.rules.RemoveSubsetPrefixRule
- ReplaceObjectsAction - Class in com.itextpdf.pdfoptimizer.util.traversing
-
Replace objects in document structure according to provided rule.
-
ReplaceObjectsAction(Map
) - Constructor for class com.itextpdf.pdfoptimizer.util.traversing.ReplaceObjectsAction -
Performs objects replacement according to a provided schema.
- ReportMessage - Class in com.itextpdf.pdfoptimizer.report.message
-
The class is used to store single messages generated during PDF optimization process.
- ReportMessage(SeverityLevel, Date, String, String) - Constructor for class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Creates an instance of a optimization report message.
- ReportMessageConstants - Class in com.itextpdf.pdfoptimizer.report.message
-
A storage of message constants for optimization reports.
- RESOURCE_FOR_STREAM_PROCESSING_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- RESOURCES_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- RESOURCES_FOR_CONVERSION_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- RESOURCES_FOR_CONVERSION_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- RESOURCES_FOR_STREAM_PROCESSING_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
- retrieveAggregation() - Method in class com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsAggregator
-
Retrieves Map where keys are profile names and values are the amounts of such PDF documents.
- RgbColorDecoder - Class in com.itextpdf.pdfoptimizer.handlers.util.decoders
-
Class for converting rgb color in an image according to decode array in image stream.
- RgbColorDecoder(double[]) - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.decoders.RgbColorDecoder
-
Creates an instance of rgb color decoder.
- RgbToCmykColorConverter - Class in com.itextpdf.pdfoptimizer.handlers.util.pixel
-
Class representing logic for converting rgb color to cmyk color.
- RgbToCmykCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Class is used to convert color space of PDF objects from DeviceRgb to DeviceCmyk.
- RgbToCmykCsConverter(CsConverterProperties) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
-
Creates a
RgbToCmykCsConverter
.
S
- scale(BitmapImagePixels, double) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.AverageCalculationAlgorithm
-
Scales a bitmap image by calculating average color of all pixels of the original image covered by the pixel of resulting image.
- scale(BitmapImagePixels, double) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.DroppingAlgorithm
-
Scales a bitmap image by copying the nearest neighbor pixel of the original.
- scale(BitmapImagePixels, double) - Method in interface com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.IScalingAlgorithm
-
Scales a bitmap image.
- search(PdfDocument, IPdfObjectPredicate) - Static method in class com.itextpdf.pdfoptimizer.util.DocumentStructureUtils
-
Collects all objects matches the provided predicate.
- SearchAction - Class in com.itextpdf.pdfoptimizer.util.traversing
-
Collects all objects matches the provided predicate.
- SearchAction(IPdfObjectPredicate) - Constructor for class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Creates a new instance of searching action.
- setCsConverter(ICsConverter) - Method in class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
Sets a color space converter instance.
- setDecorator(IReportDecorator) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Sets
IReportDecorator
to the publisher. - setFile(File) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Sets the file where report should be placed.
- setJBig2Processor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for
ImageType.JBIG2
images. - setJpeg2000Processor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for
ImageType.JPEG2000
images. - setJpegProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for
ImageType.JPEG
images. - setOutputIntent(PdfOutputIntent) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Sets output intent instance which will be used for replacing original PDF output intent when converting the color space.
- setPixel(int, int, double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Updates a pixel of the image.
- setPixel(int, int, long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Updates a pixel of the image.
- setPngProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for
ImageType.PNG
images. - setPredicate(PdfImageXObjectPredicate) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a search predicate.
- setReportBuilder(DefaultReportBuilder) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Sets a custom instance of
DefaultReportBuilder
. - setTiffProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for
ImageType.TIFF
images. - SeverityLevel - Enum in com.itextpdf.pdfoptimizer.report.message
-
The enum is used to distinguish instances of
ReportMessage
according to their severity level. - size() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets size of the storage.
- storeValue(String, Object) - Method in class com.itextpdf.pdfoptimizer.OptimizationSession
-
Puts a value and a key associated with it into internal storage.
- STREAM_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
subset(PdfTrueTypeFont, Set
) - Static method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.TrueTypeSubsetter -
Subset true type font with provided set of glyphs.
-
subset(PdfType0Font, Set
) - Static method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.Type0Subsetter -
Subset type0 font with provided set of glyphs.
- SymmetricPair - Class in com.itextpdf.pdfoptimizer.util
-
Storage for two objects without strict order.
- SymmetricPair(Object, Object) - Constructor for class com.itextpdf.pdfoptimizer.util.SymmetricPair
-
Creates a new instance of the class with two provided objects.
T
- test(PdfObject) - Method in class com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates.FontDictionaryPredicate
-
Checks that current object is a
PdfDictionary
and has keyPdfName.Type
and it si associated with the valuePdfName.Font
. - test(PdfObject) - Method in class com.itextpdf.pdfoptimizer.handlers.util.PdfImageXObjectPredicate
-
Checks that current object is a
PdfStream
and has keyPdfName.Subtype
associated with valuePdfName.Image
. - test(PdfObject) - Method in interface com.itextpdf.pdfoptimizer.util.traversing.IPdfObjectPredicate
-
Evaluates this predicate on the given argument.
- toPdfArray() - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Creates a mask
PdfArray
from provided object. - toString() - Method in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
- traverse(PdfDocument, IAction) - Static method in class com.itextpdf.pdfoptimizer.util.DocumentStructureUtils
-
Goes across all the structure of the document starting from indirect objects definition and then through its children recursively.
- TrueTypeSubsetter - Class in com.itextpdf.pdfoptimizer.handlers.fontsubsetting
-
Class that can subset tru type fonts.
- Type0Subsetter - Class in com.itextpdf.pdfoptimizer.handlers.fontsubsetting
-
Class that can subset type0 fonts.
U
- UNABLE_SUBSET_FONT - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_SUBSET_FONT_DESCRIPTOR_SHARED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_SUBSET_FONT_NOT_USED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_SUBSET_FONT_UNKNOWN_GLYPHS - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_SUBSET_FONTS - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_AP_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_DEVICE_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_DEVICEN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_IMAGE_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_IMAGE_WITH_SMASK_WITH_MATTE_FIELD - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_INDEXED_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_INLINE_IMAGE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_RESOURCES_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_SEPARATION_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_SHADING_PATTERN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_STREAM_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_CONVERT_TRANSPARENCY_GROUP_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_GENERATE_REPORT - Static variable in class com.itextpdf.pdfoptimizer.logs.PdfOptimizerLogMessageConstants
- UNABLE_TO_OPTIMIZE_IMAGE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_PROCESS_PAGE_GLYPHS - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_PROCESS_RESOURCES_GLYPHS - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UNABLE_TO_REMOVE_PDF_A_ID_SCHEMAS - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- update(PdfDictionary) - Method in interface com.itextpdf.pdfoptimizer.handlers.fontduplication.rules.IValueUpdateRule
-
Change the
PdfDictionary
before hash calculating / equality check to allow more flexible comparison logic. - update(PdfDictionary) - Method in class com.itextpdf.pdfoptimizer.handlers.fontduplication.rules.RemoveSubsetPrefixRule
-
Modifies the dictionary to remove random prefix in AAAAAA+ format (six latin letters in upper case and plus sign) from name of the font.
- updateGlyphsDecodingFailedStatus(boolean) - Method in class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder.FontGlyphs
-
Updates glyphs failed decoding status with the latest chunk decoding value.
- USED_GLYPHS_EVENT_LISTENER_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- UsedGlyphsFinder - Class in com.itextpdf.pdfoptimizer.handlers.fontsubsetting
-
This class is used to find set of glyphs used in document for each font.
- UsedGlyphsFinder() - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontsubsetting.UsedGlyphsFinder
-
No param constructor.
- UsedGlyphsFinder.FontGlyphs - Class in com.itextpdf.pdfoptimizer.handlers.fontsubsetting
-
Stores set of font used glyphs and also auxilary data about extracted glyphs.
V
- valueOf(String) - Static method in enum com.itextpdf.pdfoptimizer.handlers.converters.ColorConversionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.itextpdf.pdfoptimizer.handlers.converters.ColorConversionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.itextpdf.pdfoptimizer.PdfOptimizerProfile
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WARNING - Enum constant in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Medium severity level which marks messages and events with warning level.
- WRITER_PROPERTIES_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
- WRITER_PROPERTIES_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form