Class OdfNumberStyle

    • Constructor Detail

      • OdfNumberStyle

        public OdfNumberStyle​(OdfFileDom ownerDoc)
    • Method Detail

      • getFormat

        public String getFormat​(boolean caps)
        Get the format string that represents this style.
        Specified by:
        getFormat in class DataStyleElement
        Parameters:
        caps - use capitals
        Returns:
        the format string
      • setFormat

        public void setFormat​(String format)
        Creates a <number:number-style> element based upon format.
        Specified by:
        setFormat in class DataStyleElement
        Parameters:
        format - the number format string
      • setMapPositive

        public void setMapPositive​(String mapName)
        Set <style:map> for positive values to the given style name.
        Parameters:
        mapName - the style name to map to
      • setMapNegative

        public void setMapNegative​(String mapName)
        Set <style:map> for negative values to the given style name.
        Parameters:
        mapName - the style name to map to