Class ColWrapper
java.lang.Object
com.itextpdf.html2pdf.attach.wrapelement.ColWrapper
- All Implemented Interfaces:
-
IWrapElement
Wrapper for the
col
element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the cell CSS properties.getLang()
Gets the language attribute.Gets the own CSS properties.int
getSpan()
Gets the span.com.itextpdf.layout.properties.UnitValue
getWidth()
Gets the width.setCellCssProps
(Map<String, String> cellCssProps) Sets the cell CSS properties.void
Sets the language attribute.setOwnCssProps
(Map<String, String> ownCssProps) Sets the own CSS properties.setWidth
(com.itextpdf.layout.properties.UnitValue width) Sets the width.
-
Constructor Details
-
ColWrapper
public ColWrapper(int span) Creates a newColWrapper
instance.- Parameters:
-
span
- the span
-
-
Method Details
-
getSpan
public int getSpan()Gets the span.- Returns:
- the span
-
getWidth
public com.itextpdf.layout.properties.UnitValue getWidth()Gets the width.- Returns:
- the width
-
setWidth
Sets the width.- Parameters:
-
width
- the width - Returns:
-
this
ColWrapper
instance
-
getCellCssProps
Gets the cell CSS properties.- Returns:
- the cell CSS properties
-
setCellCssProps
Sets the cell CSS properties.- Parameters:
-
cellCssProps
- the cell CSS properties - Returns:
-
this
ColWrapper
instance
-
getOwnCssProps
Gets the own CSS properties.- Returns:
- the own CSS properties
-
setOwnCssProps
Sets the own CSS properties.- Parameters:
-
ownCssProps
- the own CSS properties - Returns:
-
this
ColWrapper
instance
-
setLang
Sets the language attribute.- Parameters:
-
lang
- the lang attribute
-
getLang
Gets the language attribute.- Returns:
- the lang attribute
-