org.jopendocument.dom.style.data
Class TextStyle

java.lang.Object
  extended by org.jopendocument.dom.ODNode
      extended by org.jopendocument.dom.Style
          extended by org.jopendocument.dom.style.data.DataStyle
              extended by org.jopendocument.dom.style.data.TextStyle

public class TextStyle
extends DataStyle


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jopendocument.dom.style.data.DataStyle
DataStyle.DataStyleDesc<S extends DataStyle>
 
Field Summary
 
Fields inherited from class org.jopendocument.dom.style.data.DataStyle
DATA_STYLES, DEFAULT_DECIMAL_PLACES
 
Constructor Summary
TextStyle(ODPackage pkg, org.jdom.Element elem)
           
 
Method Summary
protected  String convertNonNull(Object o)
           
 String format(Object o, CellStyle defaultStyle, boolean lenient)
           
 
Methods inherited from class org.jopendocument.dom.style.data.DataStyle
addStringLiteral, canFormat, convert, formatNumberOrScientificNumber, formatNumberOrScientificNumber, getDataType, getDecimalPlaces, getDesc, getEpoch, getTextProperties, getTitle, registerDesc, reportError
 
Methods inherited from class org.jopendocument.dom.Style
checkElemName, dup, equals, getDesc, getFormattingProperties, getFormattingProperties, getFormattingProperties, getName, getNonNullStyleDesc, getNS, getPackage, getReferencedStyle, getReferencedStyleElement, getReferences, getSTYLE, getStyle, getStyleDesc, getStyleStyleDesc, hashCode, isReferencedAtMostOnce, isStandardStyleResolution, register, registerAllVersions, setStandardStyleResolution, warp
 
Methods inherited from class org.jopendocument.dom.ODNode
getElement, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextStyle

public TextStyle(ODPackage pkg,
                 org.jdom.Element elem)
Method Detail

convertNonNull

protected String convertNonNull(Object o)
Specified by:
convertNonNull in class DataStyle

format

public String format(Object o,
                     CellStyle defaultStyle,
                     boolean lenient)
Specified by:
format in class DataStyle


Copyright © 2010 jOpenDocument All Rights Reserved.