Example usage for com.lowagie.text Table setLastHeaderRow

List of usage examples for com.lowagie.text Table setLastHeaderRow

Introduction

In this page you can find the example usage for com.lowagie.text Table setLastHeaderRow.

Prototype

public void setLastHeaderRow(int value) 

Source Link

Document

Sets the horizontal alignment.

Usage

From source file:ro.nextreports.engine.exporter.RtfExporter.java

License:Apache License

private void writeHeader(Table datatable) {
    if (bean.getReportLayout().isHeaderOnEveryPage()) {
        int headerNo = bean.getReportLayout().getHeaderBand().getRowCount();
        if (headerNo > 0) {
            datatable.setLastHeaderRow(headerNo);
        }//from  w  w  w. ja  v a 2 s.  c  o  m
    }
}