Package org.eclipse.nebula.widgets.nattable.extension.poi

Examples of org.eclipse.nebula.widgets.nattable.extension.poi.PoiExcelExporter


        // adding this configuration adds the styles and the painters to use
        natTable.addConfiguration(new DefaultNatTableStyleConfiguration());
        natTable.addConfiguration(new AbstractRegistryConfiguration() {
            @Override
            public void configureRegistry(IConfigRegistry configRegistry) {
                PoiExcelExporter exporter = new HSSFExcelExporter();
                exporter.setApplyVerticalTextConfiguration(true);
                exporter.setApplyBackgroundColor(false);
                configRegistry.registerConfigAttribute(
                        ExportConfigAttributes.EXPORTER, exporter);

                configRegistry.registerConfigAttribute(
                        ExportConfigAttributes.DATE_FORMAT, "dd.MM.yyyy");
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.extension.poi.PoiExcelExporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.