Package org.foray.fotree.fo.obj

Examples of org.foray.fotree.fo.obj.TableColumn


                    + " must be child of fo:table-row, fo:table-body, " +
                            "fo:table-header, or fo:table-footer.");
            return null;
        }
        case TABLE_COLUMN: {
            return new TableColumn(parent, propertyList);
        }
        case TABLE_FOOTER: {
            final Table table = parentTable(enumeration, parent, locator);
            return new TableFooter(table, propertyList);
        }
View Full Code Here


     * @return The initial value for this property.
     */
    public static int getValueNoInstance(final FoContext context,
            final FObj fobj) {
        if (fobj instanceof TableColumn) {
            final TableColumn thisColumn = (TableColumn) fobj;
            final TableColumn previousColumn = thisColumn.getPreviousColumn(
                    context);
            if (previousColumn == null) {
                // If no previous columns, then this is #1
                return 1;
            }
            return previousColumn.traitColumnNumber(context) + 1;
        }
        if (fobj instanceof TableCell) {
            final TableCell thisCell = (TableCell) fobj;
            final TableCell previousCell = thisCell.getPreviousCell();
            if (previousCell == null) {
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.obj.TableColumn

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.