Class WarnFormfieldFlattener
- java.lang.Object
-
- com.itextpdf.kernel.utils.annotationsflattening.WarnFormfieldFlattener
-
- All Implemented Interfaces:
IAnnotationFlattener
public class WarnFormfieldFlattener extends java.lang.Object implements IAnnotationFlattener
This class is used to warn user that annotation will not be flattened.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description WarnFormfieldFlattener()
Creates a newWarnFormfieldFlattener
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
flatten(PdfAnnotation annotation, PdfPage page)
Flatten annotation.
-
-
-
Constructor Detail
-
WarnFormfieldFlattener
public WarnFormfieldFlattener()
Creates a newWarnFormfieldFlattener
instance.
-
-
Method Detail
-
flatten
public boolean flatten(PdfAnnotation annotation, PdfPage page)
Flatten annotation.- Specified by:
flatten
in interfaceIAnnotationFlattener
- Parameters:
annotation
- annotation to flattenpage
- page to flatten annotation on- Returns:
- true if annotation was flattened, false otherwise
-
-