org.jopendocument.dom.style.data
Class PercentStyle

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.PercentStyle

public class PercentStyle
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
PercentStyle(ODPackage pkg, org.jdom.Element elem)
           
 
Method Summary
 java.lang.String format(java.lang.Object o, CellStyle defaultStyle, boolean lenient)
           
 
Methods inherited from class org.jopendocument.dom.style.data.DataStyle
addStringLiteral, canFormat, convert, getDataType, getDecimalPlaces, getDesc, getEpoch, getTextProperties, getTitle, registerDesc
 
Methods inherited from class org.jopendocument.dom.Style
dup, equals, getFormattingProperties, getFormattingProperties, getFormattingProperties, getName, getNS, getReferencedStyle, getReferencedStyleElement, getReferences, 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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PercentStyle

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

format

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