Class ColgroupWrapper
java.lang.Object
com.itextpdf.html2pdf.attach.wrapelement.ColgroupWrapper
- All Implemented Interfaces:
-
IWrapElement
Wrapper for the
colgroup
element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFinalize the columns.Gets the cell CSS properties.getColumnByIndex
(int index) Gets the column by index.Gets the columns.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
-
ColgroupWrapper
public ColgroupWrapper(int span) Creates a newColgroupWrapper
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
ColgroupWrapper
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
ColgroupWrapper
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
ColgroupWrapper
instance
-
getColumns
Gets the columns.- Returns:
- the columns
-
finalizeCols
Finalize the columns.- Returns:
-
this
ColgroupWrapper
instance
-
getColumnByIndex
Gets the column by index.- Parameters:
-
index
- the index - Returns:
- the column corresponding with the index
-
setLang
Sets the language attribute.- Parameters:
-
lang
- the lang attribute
-
getLang
Gets the language attribute.- Returns:
- the lang attribute
-