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

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

Introduction

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

Prototype

public int getWidth() 

Source Link

Document

Get the width value as an integer.

Usage

From source file:apachepoitest.DocumentPropertyEnumerator.java

public static void showTableProperties(List<XWPFTable> lt) {
    for (XWPFTable t : lt) {
        System.out.println("TABLE: ");
        //Not yet needed
        //System.out.println("COL BAND SIZE: " + t.getColBandSize());
        //System.out.println("ROW BAND SIZE: " + t.getRowBandSize());
        System.out.println("NO. OF ROWS: " + t.getNumberOfRows());
        System.out.println("WIDTH: " + t.getWidth());
    }//from  ww w .  j av a 2 s.  c  o m
}