public class ColWrapper extends Object implements IWrapElement
col
element.
Constructor and Description |
---|
ColWrapper(int span)
Creates a new ColWrapper instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCellCssProps()
Gets the cell CSS properties.
|
Map<String,String> |
getOwnCssProps()
Gets the own CSS properties.
|
int |
getSpan()
Gets the span.
|
com.itextpdf.layout.property.UnitValue |
getWidth()
Gets the width.
|
ColWrapper |
setCellCssProps(Map<String,String> cellCssProps)
Sets the cell CSS properties.
|
ColWrapper |
setOwnCssProps(Map<String,String> ownCssProps)
Sets the own CSS properties.
|
ColWrapper |
setWidth(com.itextpdf.layout.property.UnitValue width)
Sets the width.
|
public ColWrapper(int span)
ColWrapper
instance.
span
- the span
public int getSpan()
public com.itextpdf.layout.property.UnitValue getWidth()
public ColWrapper setWidth(com.itextpdf.layout.property.UnitValue width)
width
- the width
ColWrapper
instance
public Map<String,String> getCellCssProps()
public ColWrapper setCellCssProps(Map<String,String> cellCssProps)
cellCssProps
- the cell CSS properties
ColWrapper
instance
public Map<String,String> getOwnCssProps()
public ColWrapper setOwnCssProps(Map<String,String> ownCssProps)
ownCssProps
- the own CSS properties
ColWrapper
instance
Copyright © 1998–2019 iText Group NV. All rights reserved.