org.subtlelib.poi.api.style.StyleRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of poi.builder Show documentation
Show all versions of poi.builder Show documentation
Convenience library for apache poi-based xls documents creation
The newest version!
package org.subtlelib.poi.api.style;
import org.apache.poi.ss.usermodel.CellStyle;
/**
* Workbook style registry.
* Converts library's {@link Style} into POI style and registers it with the current workbook.
*
* @author i.voshkulat
*
*/
public interface StyleRegistry {
/**
* Convert provided {@link Style} into POI style and register it with current workbook.
* Resulting style can be assigned directly to a POI cell.
*
* @param style style to be converted and registered
* @return POI representation of the provided style
*/
public CellStyle registerStyle(Style style);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy