Package com.itextpdf.forms.util
Class FormFieldRendererUtil
java.lang.Object
com.itextpdf.forms.util.FormFieldRendererUtil
Utility class for centralized logic related to form field rendering.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
reapplyProperties
(IPropertyContainer modelElement, Map<Integer, Object> properties) Reapplies the propertiesIPropertyContainer
.removeProperties
(IPropertyContainer modelElement) Removes properties that impact the lay outing of interactive form fields.
-
Field Details
-
PROPERTIES_THAT_IMPACT_LAYOUT
private static final int[] PROPERTIES_THAT_IMPACT_LAYOUT
-
-
Constructor Details
-
FormFieldRendererUtil
private FormFieldRendererUtil()Creates a new instance ofFormFieldRendererUtil
.
-
-
Method Details
-
removeProperties
Removes properties that impact the lay outing of interactive form fields.- Parameters:
modelElement
- The model element to remove the properties from.- Returns:
- A map containing the removed properties.
-
reapplyProperties
public static void reapplyProperties(IPropertyContainer modelElement, Map<Integer, Object> properties) Reapplies the propertiesIPropertyContainer
.- Parameters:
modelElement
- The model element to reapply the properties to.properties
- The properties to reapply.
-