Examples of CTTableStyleInfo


Examples of org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyleInfo

        XSSFTable table = sheet.createTable();
        table.setDisplayName("Test");      
        CTTable cttable = table.getCTTable();
       
        //Style configurations
        CTTableStyleInfo style = cttable.addNewTableStyleInfo();
        style.setName("TableStyleMedium2");
        style.setShowColumnStripes(false);
        style.setShowRowStripes(true);
       
        //Set which area the table should be placed in
        AreaReference reference = new AreaReference(new CellReference(0, 0),
                new CellReference(2,2));
        cttable.setRef(reference.formatAsString());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.