public abstract class AbstractCellMargin extends AbstractTableProperty
Modifier and Type | Field and Description |
---|---|
protected static String |
CSS_NAME_PREFIX |
protected String |
cssAttributeName |
protected static String |
FO_NAME_PREFIX |
protected String |
foAttributeName |
Modifier | Constructor and Description |
---|---|
|
AbstractCellMargin(org.w3c.dom.css.CSSValue value,
String suffix) |
protected |
AbstractCellMargin(TblWidth val,
String suffix) |
Modifier and Type | Method and Description |
---|---|
void |
ensureMargin(TblPr tblPr) |
protected void |
ensureMargin(TcPrInner tcPr) |
protected String |
formatTwips(int twips) |
String |
getCssName() |
String |
getCssProperty() |
protected int |
getTwips() |
protected void |
init(String suffix) |
abstract void |
set(TcPrInner tcPr) |
void |
setXslFO(Element foElement) |
protected int |
twipFromPercentage(float fVal) |
set
composeCss, debug, getObject, setObject
protected static final String CSS_NAME_PREFIX
protected static final String FO_NAME_PREFIX
protected String cssAttributeName
protected String foAttributeName
public AbstractCellMargin(org.w3c.dom.css.CSSValue value, String suffix)
protected int twipFromPercentage(float fVal)
protected void init(String suffix)
public String getCssProperty()
getCssProperty
in class Property
public String getCssName()
getCssName
in class Property
protected int getTwips()
protected String formatTwips(int twips)
protected void ensureMargin(TcPrInner tcPr)
public void ensureMargin(TblPr tblPr)
public abstract void set(TcPrInner tcPr)
Copyright © 2007-2018. All Rights Reserved.