Package com.brsanthu.dataexporter.model

Examples of com.brsanthu.dataexporter.model.AlignType


        }
       
        for (int i = 0; i < columns.size(); i++) {
           
            Column column = columns.get(i);
            AlignType align = getTextTableExportOptions().getHeaderAlignment();
            if (align == null) {
                align = column.getAlign();
            }

            List<String> cells = Column.align(column.getWidth(), maxHeaderHeight, align, column.getTitle());
View Full Code Here


    @Override
    public void beforeRowCell(CellDetails cellDetails) {
        prettyPrint(4);
       
        if (getHtmlExportOptions().isAlignCells()) {
          AlignType alignType = cellDetails.getColumn().getAlign();
         
          String style = "text-align:" + alignType.getHorizontalAlignment() + ";vertical-align:" + alignType.getVerticalAlignment();
          print("<td style=\""+ style + "\">");
        } else {
          print("<td>");
        }
    }
View Full Code Here

TOP

Related Classes of com.brsanthu.dataexporter.model.AlignType

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.