public class ColgroupWrapper extends Object implements IWrapElement
colgroup
element.
Constructor and Description |
---|
ColgroupWrapper(int span)
Creates a new ColgroupWrapper instance.
|
Modifier and Type | Method and Description |
---|---|
ColgroupWrapper |
finalizeCols()
Finalize the columns.
|
Map<String,String> |
getCellCssProps()
Gets the cell CSS properties.
|
ColWrapper |
getColumnByIndex(int index)
Gets the column by index.
|
List<ColWrapper> |
getColumns()
Gets the columns.
|
String |
getLang()
Gets the language attribute.
|
Map<String,String> |
getOwnCssProps()
Gets the own CSS properties.
|
int |
getSpan()
Gets the span.
|
com.itextpdf.layout.property.UnitValue |
getWidth()
Gets the width.
|
ColgroupWrapper |
setCellCssProps(Map<String,String> cellCssProps)
Sets the cell CSS properties.
|
void |
setLang(String lang)
Sets the language attribute.
|
ColgroupWrapper |
setOwnCssProps(Map<String,String> ownCssProps)
Sets the own CSS properties.
|
ColgroupWrapper |
setWidth(com.itextpdf.layout.property.UnitValue width)
Sets the width.
|
public ColgroupWrapper(int span)
ColgroupWrapper
instance.
span
- the span
public int getSpan()
public com.itextpdf.layout.property.UnitValue getWidth()
public ColgroupWrapper setWidth(com.itextpdf.layout.property.UnitValue width)
width
- the width
ColgroupWrapper
instance
public Map<String,String> getCellCssProps()
public ColgroupWrapper setCellCssProps(Map<String,String> cellCssProps)
cellCssProps
- the cell CSS properties
ColgroupWrapper
instance
public Map<String,String> getOwnCssProps()
public ColgroupWrapper setOwnCssProps(Map<String,String> ownCssProps)
ownCssProps
- the own CSS properties
ColgroupWrapper
instance
public List<ColWrapper> getColumns()
public ColgroupWrapper finalizeCols()
ColgroupWrapper
instance
public ColWrapper getColumnByIndex(int index)
index
- the index
public void setLang(String lang)
lang
- the lang attribute
public String getLang()
Copyright © 1998–2020 iText Group NV. All rights reserved.