Package org.openxml4j.document.wordprocessing.model.table

Examples of org.openxml4j.document.wordprocessing.model.table.TableCellSize


    // make a special configuration for a cell
    // set the size of the cell (not automatically computed by MS-Word
    tableDesc.getCellAt(1, 2)
        .setCellSize(
            new TableCellSize(TableWidthType.TABLE_WIDTH_DXA,
                (short) 4096));

    tableDesc.getCellAt(1, 2).setCellBackgroundColor("FA0000"); // set a red
                                  // background
    return tableDesc;
View Full Code Here

TOP

Related Classes of org.openxml4j.document.wordprocessing.model.table.TableCellSize

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.