/** * Merge given style attributes with cached style. * * @param currentStyle Current (cached) style index, 0 if none. * @param numberingFormat Numbering format. * @param font Font attributes. * @param fill Fill attributes. * @param border Border attributes. * @param alignment Alignment attributes. * @return Cached style index. */ int mergeAndCacheStyle( int currentStyle, String numberingFormat, Font font, Fill fill, Border border, Alignment alignment) { return styleCache.mergeAndCacheStyle( currentStyle, numberingFormat, font, fill, border, alignment); }