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.
-
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.
-
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.
-