Class FlexApplierUtil

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

public final class FlexApplierUtil extends Object
Utilities class to apply flex properties.
  • 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