Class ColWrapper
java.lang.Object
com.itextpdf.html2pdf.attach.wrapelement.ColWrapper
- All Implemented Interfaces:
-
IWrapElement
Wrapper for the
col element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the cell CSS properties.getLang()Gets the language attribute.Gets the own CSS properties.intgetSpan()Gets the span.com.itextpdf.layout.properties.UnitValuegetWidth()Gets the width.setCellCssProps(Map<String, String> cellCssProps) Sets the cell CSS properties.voidSets 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 newColWrapperinstance.- 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
ColWrapperinstance
-
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
ColWrapperinstance
-
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
ColWrapperinstance
-
setLang
Sets the language attribute.- Parameters:
-
lang- the lang attribute
-
getLang
Gets the language attribute.- Returns:
- the lang attribute
-