Class FlexApplierUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.FlexApplierUtil
Utilities class to apply flex properties.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyFlexContainerProperties(Map<String, String> cssProps, com.itextpdf.layout.IPropertyContainer element) Applies properties to a flex container.static voidapplyFlexItemProperties(Map<String, String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element) Applies properties to a flex item.
-
Method Details
-
applyFlexItemProperties
public static void applyFlexItemProperties(Map<String, String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element) Applies properties to a flex item.- Parameters:
-
cssProps- the map of the CSS properties -
context- the context of the converter processor -
element- the element to set the properties
-
applyFlexContainerProperties
public static void applyFlexContainerProperties(Map<String, String> cssProps, com.itextpdf.layout.IPropertyContainer element) Applies properties to a flex container.- Parameters:
-
cssProps- the CSS properties -
element- the element
-