Package net.sf.jpluck.plucker

Examples of net.sf.jpluck.plucker.TableRecord


    public TableRecord addTable(int border) {
        addParagraph();
        String uri = "table" + tableCount++;
        currentParagraph.addTable(uri);
        table = new TableRecord(uri, border);
        document.addRecord(table);
        return table;
    }
View Full Code Here


public class TableTest {
    public static void main(String[] args) throws Exception {
        TextRecord home = new TextRecord("home");
        home.addParagraph().addTable("table");

        TableRecord table = new TableRecord("table", 1, Color.GREEN);

        TableRow row = table.addRow();
        TableCell cell = row.addCell();
        cell.addText("nw");
        cell=row.addCell();
        cell.addText("ne");

        row = table.addRow();
    cell = row.addCell();
        cell.addText("sw");
        cell = row.addCell();
        cell.addText("se");
View Full Code Here

TOP

Related Classes of net.sf.jpluck.plucker.TableRecord

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.