Class GridApplierUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.GridApplierUtil
Utilities class to apply css grid properties and styles.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyGridContainerProperties
(Map<String, String> cssProps, com.itextpdf.layout.IPropertyContainer container, ProcessorContext context) Applies grid properties to a grid container.static void
applyGridItemProperties
(Map<String, String> cssProps, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer, com.itextpdf.layout.IPropertyContainer element) Applies grid properties to a grid item.
-
Method Details
-
applyGridItemProperties
public static void applyGridItemProperties(Map<String, String> cssProps, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer, com.itextpdf.layout.IPropertyContainer element) Applies grid properties to a grid item.- Parameters:
-
cssProps
- the CSS properties -
stylesContainer
- the styles container -
element
- the element
-
applyGridContainerProperties
public static void applyGridContainerProperties(Map<String, String> cssProps, com.itextpdf.layout.IPropertyContainer container, ProcessorContext context) Applies grid properties to a grid container.- Parameters:
-
cssProps
- the CSS properties -
container
- the grid container -
context
- the context
-