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.
|
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.
|
ColWrapper |
setCellCssProps(Map<String,String> cellCssProps)
Sets the cell CSS properties.
|
void |
setLang(String lang)
Sets the language attribute.
|
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
public void setLang(String lang)
lang
- the lang attribute
public String getLang()
Copyright © 1998–2020 iText Group NV. All rights reserved.