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.
|
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.
|
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
Copyright © 1998–2019 iText Group NV. All rights reserved.