org.apache.cocoon.serialization.hssfhelpers.elementprocessors
public class: EPFont [javadoc |
source]
java.lang.Object
org.apache.cocoon.serialization.hssfhelpers.elementprocessors.BaseElementProcessor
org.apache.cocoon.serialization.hssfhelpers.elementprocessors.EPFont
All Implemented Interfaces:
ElementProcessor
No-op implementation of ElementProcessor to handle the "Font" tag
This element has five attributes and also holds the name of the
font as element content.
This element is not used in HSSFSerializer 1.0
- author:
Marc - Johnson (marc_johnson27591@hotmail.com)
| Methods from org.apache.cocoon.serialization.hssfhelpers.elementprocessors.BaseElementProcessor: |
|---|
|
acceptCharacters, acceptWhitespaceCharacters, endProcessing, getAttributes, getCell, getData, getFilesystem, getParent, getSheet, getValue, getWorkbook, initialize |
| Method from org.apache.cocoon.serialization.hssfhelpers.elementprocessors.EPFont Detail: |
public boolean getBold() throws IOException {
if (_bold == null)
{
_bold =
BooleanConverter.extractBoolean(getValue(_bold_attribute));
}
return _bold.booleanValue();
}
|
public String getFont() {
if (_font == null)
{
_font = getData();
}
return _font;
}
|
public boolean getItalic() throws IOException {
if (_italic == null)
{
_italic =
BooleanConverter.extractBoolean(getValue(_italic_attribute));
}
return _italic.booleanValue();
}
|
public boolean getStrikeThrough() throws IOException {
if (_strike_through == null)
{
_strike_through =
BooleanConverter
.extractBoolean(getValue(_strike_through_attribute));
}
return _strike_through.booleanValue();
}
|
public int getUnderline() throws IOException {
if (_underline == null)
{
_underline = NumericConverter.extractInteger(
getValue(_underline_attribute), _underline_type_validator);
}
return _underline.intValue();
}
|
public double getUnit() throws IOException {
if (_unit == null)
{
_unit = NumericConverter.extractDouble(getValue(_unit_attribute));
}
return _unit.doubleValue();
}
|