Search in sources :

Example 1 with DfTableXlsWriter

use of org.dbflute.helper.io.xls.DfTableXlsWriter in project dbflute-core by dbflute.

the class DfLReverseOutputHandler method createTableXlsWriter.

protected DfTableXlsWriter createTableXlsWriter(File xlsFile) {
    // the XLS file should have all string cell type basically for replace-schema
    final DfTableXlsWriter writer = new DfTableXlsWriter(xlsFile);
    writer.stringCellType();
    if (!_suppressLargeDataHandling) {
        writer.largeDataHandling();
    }
    if (!_suppressQuoteEmptyString) {
        writer.quoteEmptyString();
    }
    if (_cellLengthLimit != null) {
        writer.cellLengthLimit(_cellLengthLimit);
    }
    return writer;
}
Also used : DfTableXlsWriter(org.dbflute.helper.io.xls.DfTableXlsWriter)

Example 2 with DfTableXlsWriter

use of org.dbflute.helper.io.xls.DfTableXlsWriter in project dbflute-core by dbflute.

the class DfLReverseOutputHandler method createTableXlsWriter.

protected DfTableXlsWriter createTableXlsWriter(File xlsFile) {
    // the XLS file should have all string cell type basically for replace-schema
    final DfTableXlsWriter writer = new DfTableXlsWriter(xlsFile);
    writer.stringCellType();
    if (!_suppressLargeDataHandling) {
        writer.largeDataHandling();
    }
    if (!_suppressQuoteEmptyString) {
        writer.quoteEmptyString();
    }
    if (_cellLengthLimit != null) {
        writer.cellLengthLimit(_cellLengthLimit);
    }
    return writer;
}
Also used : DfTableXlsWriter(org.dbflute.helper.io.xls.DfTableXlsWriter)

Aggregations

DfTableXlsWriter (org.dbflute.helper.io.xls.DfTableXlsWriter)2