Class GridApplierUtil

java.lang.Object
com.itextpdf.html2pdf.css.apply.util.GridApplierUtil

public final class GridApplierUtil extends Object
Utilities class to apply css grid properties and styles.
  • 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