private static String getCellFontDecoration ( final Font font ) { StringBuilder decoration = new StringBuilder ( ) ; if ( font . getUnderline ( ) != 0 ) { decoration . append ( " underline" ) ; } if ( font . getStrikeout ( ) ) { decoration . append ( " line-through" ) ; } return decoration . toString ( ) ; }
Get font decoration .