Class SupportedColColgroupPropertiesUtil

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

public class SupportedColColgroupPropertiesUtil extends Object
Utilities class to get widths and mapping related to columns and column groups as stated in paragraph 17.3 of https://www.w3.org/TR/CSS21/tables.html#q4.
  • Constructor Details

    • SupportedColColgroupPropertiesUtil

      public SupportedColColgroupPropertiesUtil()
  • Method Details

    • getWidth

      public static com.itextpdf.layout.properties.UnitValue getWidth (Map<String,String> resolvedCssProps, ProcessorContext context)
      Gets the width.
      Parameters:
      resolvedCssProps - the resolved CSS properties
      context - the processor context
      Returns:
      the width
    • getCellProperties

      public static Map<String,String> getCellProperties (Map<String,String> resolvedCssProps)
      Gets the cell properties.
      Parameters:
      resolvedCssProps - the resolved CSS properties
      Returns:
      the cell properties
    • getOwnProperties

      public static Map<String,String> getOwnProperties (Map<String,String> resolvedCssProps)
      Gets the own properties.
      Parameters:
      resolvedCssProps - the resolved css props
      Returns:
      the own properties