Example usage for org.apache.poi.xwpf.usermodel XWPFTable setColBandSize

List of usage examples for org.apache.poi.xwpf.usermodel XWPFTable setColBandSize

Introduction

In this page you can find the example usage for org.apache.poi.xwpf.usermodel XWPFTable setColBandSize.

Prototype

public void setColBandSize(int size) 

Source Link

Usage

From source file:com.siemens.sw360.licenseinfo.outputGenerators.DocxUtils.java

License:Open Source License

private static void styleTable(XWPFTable table) {
    table.setRowBandSize(1);/*from  ww w  . j  av a 2  s.  c o m*/
    table.setWidth(1);
    table.setColBandSize(1);
    table.setCellMargins(1, 1, 100, 30);
}