Class SupportedColColgroupPropertiesUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.SupportedColColgroupPropertiesUtil
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCellProperties
(Map<String, String> resolvedCssProps) Gets the cell properties.getOwnProperties
(Map<String, String> resolvedCssProps) Gets the own properties.static com.itextpdf.layout.properties.UnitValue
getWidth
(Map<String, String> resolvedCssProps, ProcessorContext context) Gets the width.
-
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
Gets the cell properties.- Parameters:
-
resolvedCssProps
- the resolved CSS properties - Returns:
- the cell properties
-
getOwnProperties
Gets the own properties.- Parameters:
-
resolvedCssProps
- the resolved css props - Returns:
- the own properties
-