Class WholeStyleUtil


  • public class WholeStyleUtil
    extends Object
    A utility class to help spreadsheet set style of a row, column and cell
    Since:
    3.5.0
    Author:
    Dennis.Chen
    • Constructor Detail

      • WholeStyleUtil

        public WholeStyleUtil()
    • Method Detail

      • setFillColor

        public static void setFillColor​(SRange wholeRange,
                                        String htmlColor)
      • setBackColor

        public static void setBackColor​(SRange wholeRange,
                                        String htmlColor)
      • setTextWrap

        public static void setTextWrap​(SRange wholeRange,
                                       boolean wraptext)
      • setDataFormat

        public static void setDataFormat​(SRange wholeRange,
                                         String format)
      • setFontName

        public static void setFontName​(SRange wholeRange,
                                       String fontName)
      • setFontHeightPoints

        public static void setFontHeightPoints​(SRange wholeRange,
                                               int fontHeightPoints)
      • setFontBoldWeight

        public static void setFontBoldWeight​(SRange wholeRange,
                                             SFont.Boldweight fontBoldweight)
      • setFontItalic

        public static void setFontItalic​(SRange wholeRange,
                                         boolean italic)
      • setFontStrikethrough

        public static void setFontStrikethrough​(SRange wholeRange,
                                                boolean strikeout)
      • setFontUnderline

        public static void setFontUnderline​(SRange wholeRange,
                                            SFont.Underline fontUnderline)
      • setFontColor

        public static void setFontColor​(SRange wholeRange,
                                        String htmlColor)
      • setFontTypeOffset

        public static void setFontTypeOffset​(SRange wholeRange,
                                             SFont.TypeOffset fontTypeOffset)
      • setTextRotation

        public static void setTextRotation​(SRange wholeRange,
                                           int rotation)
      • setTextIndentionOffset

        public static void setTextIndentionOffset​(SRange wholeRange,
                                                  int offset)
      • setTextIndention

        public static void setTextIndention​(SRange wholeRange,
                                            int indention)
      • setLocked

        public static void setLocked​(SRange wholeRange,
                                     boolean locked)